/* ==========================================================================
   Wortmarke: Nunito Sans, selbst gehostet (SIL Open Font License).
   Kein externer Schrift-Dienst – die Content-Security-Policy erlaubt nur
   eigene Ressourcen. Lizenztext: /fonts/LICENSE-Nunito-Sans.txt
   ========================================================================== */

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/nunito-sans-800.woff2") format("woff2");
}

/* ==========================================================================
   KGV An der Rehlacke – Designsystem
   Keine externen Abhängigkeiten: Systemschriften, eigene Tokens, Dark Mode.
   ========================================================================== */

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;

  /* Markenfarben */
  --green-950: #0a2a20;
  --green-900: #0f3b2c;
  --green-800: #16543e;
  --green-700: #1d6b4f;
  --green-600: #268a63;
  --green-500: #34a97a;
  --green-300: #86d7b3;
  --green-100: #d9f0e4;
  --green-50:  #eff8f3;

  --clay-600: #b4552f;
  --clay-500: #d1703f;
  --clay-100: #fbe6da;

  --sand-50:  #fbf9f4;
  --sand-100: #f4f0e7;
  --sand-200: #e8e2d5;

  --ink-900: #16211d;
  --ink-700: #37473f;
  --ink-500: #5f7069;
  --ink-300: #93a19a;

  /* Semantische Rollen */
  --bg:           var(--sand-50);
  --bg-subtle:    var(--sand-100);
  --surface:      #ffffff;
  --surface-2:    var(--green-50);
  --border:       #e3ddd0;
  --border-strong:#cfc7b6;
  --text:         var(--ink-900);
  --text-muted:   var(--ink-500);
  --text-invert:  #f4fbf7;
  --brand:        var(--green-800);
  --brand-hover:  var(--green-700);
  --brand-soft:   var(--green-100);
  --accent:       var(--clay-600);
  --accent-soft:  var(--clay-100);
  --focus:        var(--green-500);

  /* Form & Tiefe */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 32, .06), 0 1px 3px rgba(16, 40, 32, .05);
  --shadow:    0 2px 4px rgba(16, 40, 32, .04), 0 8px 24px -8px rgba(16, 40, 32, .14);
  --shadow-lg: 0 4px 8px rgba(16, 40, 32, .04), 0 24px 48px -16px rgba(16, 40, 32, .22);

  /* Maße */
  --page:    1180px;
  --prose:   68ch;
  --gutter:  clamp(1.15rem, 4vw, 2.75rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);

  /* Schrift */
  /* Eine Schriftfamilie für alles – Überschriften, Text, Wortmarke. */
  --font-brand: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: var(--font-brand);

  /* Himmel und Sonne der Bildfläche im Titelbereich */
  --sun:        #e9bf51;
  --sky-top:    #e6f2ea;
  --sky-bottom: #f8f4ea;
  --mark:       color-mix(in oklab, #e9bf51 45%, transparent);
  --hero-glow:  color-mix(in oklab, #e9bf51 14%, transparent);

  /* Bildmarke – eigene Palette, damit die Illustration in beiden Designs trägt */
  --lg-mound:       #e7eedc;
  --lg-hill:        #cadcb7;
  --lg-sun:         #e9bf51;
  --lg-built:       #2c4f2f;
  --lg-door:        #7fa87a;
  --lg-canopy:      #4f8a4a;
  --lg-canopy-dark: #3c6d3a;
  --lg-shrub:       #93bb79;
  --lg-water:       #b9d3dc;
  --lg-water-line:  #dceaef;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

:root[data-theme="dark"],
html.theme-dark {
  color-scheme: dark;
  --bg:           #0c1512;
  --bg-subtle:    #111d18;
  --surface:      #14211c;
  --surface-2:    #172a22;
  --border:       #24352d;
  --border-strong:#33463c;
  --text:         #e9f2ec;
  --text-muted:   #9fb2a8;
  --text-invert:  #0c1512;
  --brand:        var(--green-300);
  --brand-hover:  #a5e5c8;
  --brand-soft:   #17352a;
  --accent:       #e79363;
  --accent-soft:  #35231a;
  --focus:        var(--green-300);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow:    0 2px 4px rgba(0, 0, 0, .3), 0 12px 28px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, .35), 0 28px 56px -18px rgba(0, 0, 0, .7);
  --lg-mound:       #1e3128;
  --lg-hill:        #2a4636;
  --lg-sun:         #e9bf51;
  --lg-built:       #d7ecdf;
  --lg-door:        #4f8a60;
  --lg-canopy:      #6fae7f;
  --lg-canopy-dark: #4f8a60;
  --lg-shrub:       #5d9a6d;
  --lg-water:       #3c6470;
  --lg-water-line:  #6f9aa6;
  --sky-top:    #15271f;
  --sky-bottom: #0f1a15;
  --mark:       color-mix(in oklab, #e9bf51 22%, transparent);
  --hero-glow:  color-mix(in oklab, #e9bf51 5%, transparent);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:           #0c1512;
    --bg-subtle:    #111d18;
    --surface:      #14211c;
    --surface-2:    #172a22;
    --border:       #24352d;
    --border-strong:#33463c;
    --text:         #e9f2ec;
    --text-muted:   #9fb2a8;
    --text-invert:  #0c1512;
    --brand:        var(--green-300);
    --brand-hover:  #a5e5c8;
    --brand-soft:   #17352a;
    --accent:       #e79363;
    --accent-soft:  #35231a;
    --focus:        var(--green-300);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow:    0 2px 4px rgba(0, 0, 0, .3), 0 12px 28px -10px rgba(0, 0, 0, .6);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, .35), 0 28px 56px -18px rgba(0, 0, 0, .7);
    --lg-mound:       #1e3128;
    --lg-hill:        #2a4636;
    --lg-sun:         #e9bf51;
    --lg-built:       #d7ecdf;
    --lg-door:        #4f8a60;
    --lg-canopy:      #6fae7f;
    --lg-canopy-dark: #4f8a60;
    --lg-shrub:       #5d9a6d;
    --lg-water:       #3c6470;
    --lg-water-line:  #6f9aa6;
    --sky-top:    #15271f;
    --sky-bottom: #0f1a15;
    --mark:       color-mix(in oklab, #e9bf51 22%, transparent);
    --hero-glow:  color-mix(in oklab, #e9bf51 5%, transparent);
  }
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-brand);
  font-weight: 800;
  line-height: 1.14;
  margin: 0 0 .6em;
  text-wrap: balance;
}

/* Je größer der Grad, desto enger die Laufweite – sonst fällt die Zeile auseinander. */
h1 { font-size: clamp(2.05rem, 1.35rem + 3.2vw, 3.4rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.7vw, 2.25rem); letter-spacing: -.026em; }
h3 { font-size: clamp(1.18rem, 1.06rem + .65vw, 1.45rem); letter-spacing: -.018em; }
h4 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.008em; }

p, ul, ol, table, blockquote, figure, pre { margin: 0 0 1.15em; }
img, svg, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--brand);
  text-decoration-color: color-mix(in oklab, var(--brand) 40%, transparent);
  text-underline-offset: .18em;
  transition: color .18s var(--ease);
}
a:hover { color: var(--brand-hover); text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--tinted { background: var(--bg-subtle); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section__head h2 { margin: 0; }
.section__head p { margin: .35rem 0 0; color: var(--text-muted); max-width: 52ch; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .775rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .9rem;
}
.kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: .75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--brand);
  color: var(--text-invert);
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: .75rem; color: var(--text-invert); }

/* ---------- Kopfbereich ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
}

/* ---------- Wortmarke ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand:hover .brand__mark { color: var(--brand-hover); }

.brand__mark {
  flex: none;
  display: block;
  color: var(--brand);
  transition: color .18s var(--ease);
}
.brand__text { display: grid; gap: .04rem; line-height: 1.1; }

/* Klein oben, groß darunter – wie in der Vorlage. */
.brand__pre {
  font-family: var(--font-brand);
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--text-muted);
}
.brand__name {
  font-family: var(--font-brand);
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

@media (max-width: 480px) {
  .brand__name { font-size: 1.08rem; }
  .brand__pre { font-size: .7rem; }
}

/* ---------- Bildmarke ---------- */

.logo-roundel { display: block; }

.logo-scene { display: block; width: 100%; height: auto; }
.lg-mound       { fill: var(--lg-mound); }
.lg-hill        { fill: var(--lg-hill); }
.lg-sun         { fill: var(--lg-sun); }
.lg-built       { fill: var(--lg-built); }
.lg-door        { fill: var(--lg-door); }
.lg-canopy      { fill: var(--lg-canopy); }
.lg-canopy-dark { fill: var(--lg-canopy-dark); }
.lg-shrub       { fill: var(--lg-shrub); }
.lg-water       { fill: var(--lg-water); }
.lg-water-line  { fill: none; stroke: var(--lg-water-line); stroke-width: 2; stroke-linecap: round; }

/* Gestapelte Marke: Szene über der Wortmarke, mit Claim. */
.logo-stack {
  display: grid;
  justify-items: center;
  gap: .9rem;
  text-align: center;
}
.logo-stack .logo-scene { max-width: 15rem; }
.logo-stack__pre {
  font-family: var(--font-brand);
  font-size: clamp(.95rem, .9rem + .2vw, 1.1rem);
  font-weight: 400;
  color: inherit;
  opacity: .85;
  margin: 0;
}
.logo-stack__name {
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: -.35rem 0 0;
}
.logo-stack__claim {
  display: grid;
  justify-items: center;
  gap: .7rem;
  margin: .35rem 0 0;
  font-family: var(--font-brand);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .75;
}
.logo-stack__claim::before {
  content: "";
  width: 3.5rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .5;
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative;
  padding: .55rem .7rem;
  border-radius: 10px;
  font-size: .925rem;
  font-weight: 550;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

.header__actions { display: flex; align-items: center; gap: .5rem; }

/* Navigationsgruppen: <details> funktioniert auch ohne JavaScript. */
.nav-group { position: relative; }
.nav-group > summary {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  font-size: .925rem;
  font-weight: 550;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover,
.nav-group[open] > summary { background: var(--brand-soft); color: var(--brand); }
.nav-group > summary.is-active { color: var(--brand); }
.nav-group__chevron {
  width: .85rem !important;
  height: .85rem !important;
  transform: rotate(90deg);
  transition: transform .2s var(--ease);
}
.nav-group[open] > summary .nav-group__chevron { transform: rotate(-90deg); }

.nav-group__panel {
  display: grid;
  gap: .1rem;
  padding: .4rem;
}

@media (min-width: 1081px) {
  .nav-group__panel {
    position: absolute;
    top: calc(100% + .45rem);
    left: 0;
    min-width: 14rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 10;
  }
  .nav-group__panel a { font-size: .9rem; }
}

@media (max-width: 1080px) {
  .nav-group > summary { padding: .75rem .85rem; font-size: 1rem; }
  .nav-group__panel {
    padding: .1rem 0 .35rem .85rem;
    margin-left: .35rem;
    border-left: 2px solid var(--border);
  }
}

.icon-btn {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }
.icon-btn .icon-sun { display: none; }
:root[data-theme="dark"] .icon-btn .icon-sun { display: block; }
:root[data-theme="dark"] .icon-btn .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-btn .icon-moon { display: none; }
}

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: 4.75rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 1rem var(--gutter) 1.6rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    max-height: calc(100dvh - 4.75rem);
    overflow-y: auto;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .75rem .85rem; font-size: 1rem; }
}

/* ---------- Titelbereich (Startseite) ---------- */

/*
 * Heller Grund, damit die farbige Szene nicht wie ein Aufkleber wirkt.
 * Die Tiefe kommt aus zwei weichen Lichtflecken und einem feinen Raster.
 */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 70% at 85% 10%, color-mix(in oklab, var(--green-500) 16%, transparent), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, var(--hero-glow), transparent 70%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(color-mix(in oklab, var(--text) 9%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem);
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.4rem;
  padding: .4rem .9rem .4rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  font-size: .84rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.eyebrow__dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--green-500) 22%, transparent);
}

.hero__title {
  font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin-bottom: 1.4rem;
  max-width: 13ch;
}
.accent {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(transparent 68%, var(--mark) 68% 92%, transparent 92%);
  padding-inline: .04em;
}
.hero__lead {
  font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 2.1rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin: 2.75rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.hero__stats dt {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__stats dd {
  margin: .15rem 0 0;
  font-family: var(--font-brand);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}

/* Bildfläche mit der Szene */
.hero__art { position: relative; }
.art-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  max-width: 100%;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 55% at 78% 22%, color-mix(in oklab, var(--sun) 32%, transparent), transparent 70%),
    linear-gradient(180deg, var(--sky-top), var(--sky-bottom));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.art-card__scene { position: relative; width: 78%; margin-top: 6%; }
.art-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-card__claim {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(1.1rem, 3vw, 1.75rem);
  margin: 0;
  text-align: center;
  font-family: var(--font-brand);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brand);
}
.art-card--photo .art-card__claim {
  top: auto;
  bottom: 1.25rem;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}

/* Die Sonne atmet, die Baumkronen wiegen sich – nur im Titelbereich. */
@media (prefers-reduced-motion: no-preference) {
  .art-card .lg-sun { transform-box: fill-box; transform-origin: center; animation: sun 7s var(--ease) infinite; }
  .art-card .lg-canopy, .art-card .lg-canopy-dark {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: sway 9s ease-in-out infinite;
  }
  .art-card .lg-water-line { animation: ripple 5s ease-in-out infinite; }
}
@keyframes sun { 50% { transform: scale(1.12); } }
@keyframes sway { 50% { transform: rotate(1.6deg); } }
@keyframes ripple { 50% { transform: translateX(3px); opacity: .6; } }

/* Ruhezeit „jetzt“ als schwebende Plakette über der Bildfläche */
.hero__status {
  position: absolute;
  left: clamp(-1.25rem, -2vw, -.5rem);
  bottom: clamp(-1.4rem, -2.5vw, -.75rem);
  max-width: min(21rem, 90%);
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  transition: transform .25s var(--ease-out);
}
.hero__status:hover { transform: translateY(-3px); color: inherit; }
@media (max-width: 959px) {
  .hero__status { left: 1rem; right: 1rem; bottom: -1.75rem; max-width: none; }
}

/* Einstieg: Elemente erscheinen nacheinander */
@media (prefers-reduced-motion: no-preference) {
  .hero__in { animation: rise .9s var(--ease-out) both; }
  .hero__in[data-step="2"] { animation-delay: .08s; }
  .hero__in[data-step="3"] { animation-delay: .16s; }
  .hero__in[data-step="4"] { animation-delay: .24s; }
  .hero__in[data-step="5"] { animation-delay: .32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Seitenkopf (Unterseiten) ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2rem, 4.5vw, 3.25rem);
  background:
    radial-gradient(60% 120% at 92% 0%, color-mix(in oklab, var(--green-500) 13%, transparent), transparent 65%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.page-head__mark {
  position: absolute;
  z-index: -1;
  right: clamp(-6rem, -4vw, -2rem);
  top: 50%;
  translate: 0 -50%;
  color: color-mix(in oklab, var(--brand) 6%, transparent);
  pointer-events: none;
}
.page-head__mark svg { width: clamp(12rem, 30vw, 20rem); height: auto; }
.page-head h1 {
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.75rem);
  letter-spacing: -.04em;
  margin-bottom: .75rem;
  max-width: 20ch;
}
.page-head__lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  max-width: 60ch;
  margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .page-head__inner > * { animation: rise .7s var(--ease-out) both; }
  .page-head__inner > :nth-child(2) { animation-delay: .05s; }
  .page-head__inner > :nth-child(3) { animation-delay: .1s; }
  .page-head__inner > :nth-child(4) { animation-delay: .15s; }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  font-size: .84rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  padding: 0;
  list-style: none;
}
.breadcrumb li { display: flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05rem; height: 1.05rem; }

.btn--primary {
  background: var(--green-500);
  color: #06251a;
  box-shadow: 0 6px 18px -6px color-mix(in oklab, var(--green-500) 70%, transparent);
}
.btn--primary:hover { background: var(--green-300); color: #06251a; }

.btn--solid { background: var(--brand); color: var(--text-invert); }
.btn--solid:hover { background: var(--brand-hover); color: var(--text-invert); }

.btn--ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.btn--outline { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); background: var(--surface-2); }

.btn--sm { padding: .5rem .95rem; font-size: .875rem; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .93rem;
  text-decoration: none;
}
.link-more svg { width: 1rem; height: 1rem; transition: transform .2s var(--ease-out); }
.link-more:hover svg { transform: translateX(3px); }

/* ---------- Karten & Raster ---------- */

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease);
}
.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in oklab, var(--brand) 35%, var(--border));
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); margin-bottom: 1rem; }
.card > :last-child { margin-bottom: 0; margin-top: auto; }

/* Ganze Karte klickbar, Text bleibt selektierbar */
.card__link { position: static; text-decoration: none; color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.card__icon {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 1.4rem; height: 1.4rem; }

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .85rem;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .7rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag--accent { background: var(--accent-soft); color: var(--accent); }
.tag--muted { background: var(--bg-subtle); color: var(--text-muted); }

/* News */
.news-card__image {
  margin: calc(-1 * clamp(1.25rem, 2.5vw, 1.75rem)) calc(-1 * clamp(1.25rem, 2.5vw, 1.75rem)) 1.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg-subtle);
}
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.card--link:hover .news-card__image img { transform: scale(1.04); }

/* Termine */
.event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}
.event:last-child { border-bottom: 0; }
.event__date {
  flex: none;
  width: 4.05rem;
  padding: .55rem .3rem .6rem;
  text-align: center;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  line-height: 1.1;
}
.event__day {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--brand);
}
.event__month { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-top: .2rem; }
.event__body h3 { margin: 0 0 .3rem; font-size: 1.12rem; }
.event__when { font-size: .875rem; color: var(--text-muted); margin: 0 0 .4rem; }
.event__desc { margin: 0; color: var(--text-muted); font-size: .95rem; }
.event--past { opacity: .58; }

/* Vereinsleitung */

/*
 * Personenkarten: .card schiebt normalerweise das letzte Element nach unten.
 * Bei Funktionen ohne Kontaktdaten würde der Name dadurch in der Karte
 * absinken und die Zeile ungleichmäßig aussehen.
 */
.card--person { justify-content: flex-start; }
.card--person > :last-child { margin-top: 0; }

.person {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.person__avatar {
  flex: none;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--green-600), var(--green-800));
  color: #eafff4;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  overflow: hidden;
}
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person__role { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); font-weight: 650; }
.person__name {
  font-family: var(--font-brand);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: .1rem 0 0;
}
.person__contact { margin: .35rem 0 0; font-size: .9rem; display: grid; gap: .15rem; }
.person__contact a { text-decoration: none; }

/* Dokumente */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.doc {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s var(--ease), transform .2s var(--ease-out), box-shadow .2s var(--ease);
}
.doc:hover {
  border-color: color-mix(in oklab, var(--brand) 40%, var(--border));
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
.doc__icon {
  flex: none;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
}
.doc__icon svg { width: 1.2rem; height: 1.2rem; }
.doc__title { font-weight: 600; }
.doc__desc { font-size: .875rem; color: var(--text-muted); }
.doc__arrow { margin-left: auto; color: var(--text-muted); flex: none; }
.doc__arrow svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Textinhalt (Markdown) ---------- */

.prose { max-width: var(--prose); min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 1.9em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand); }
.prose strong { font-weight: 650; }

.prose blockquote {
  margin: 1.8em 0;
  padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
  color: var(--text);
}
.prose blockquote > :last-child { margin-bottom: 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}
.prose table th, .prose table td {
  text-align: left;
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--border);
}
.prose table th {
  background: var(--surface-2);
  font-weight: 650;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.prose table tr:last-child td { border-bottom: 0; }

.table-scroll {
  overflow-x: auto;
  min-width: 0;
  /* Ohne die Breitenbegrenzung dehnt eine breite Tabelle die ganze Spalte. */
  max-width: 100%;
}

.prose img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-block: 1.8em .6em;
  background: var(--bg-subtle);
}

/* Ein kursiver Absatz direkt nach einem Bild ist dessen Bildunterschrift. */
.prose p > img + em,
.prose p:has(> img) + p > em:only-child {
  display: block;
  font-size: .88rem;
  color: var(--text-muted);
  font-style: normal;
}
.prose p:has(> img) { margin-bottom: .4em; }
.prose p:has(> img) + p > em:only-child { margin-bottom: 2.2em; }

.prose code {
  background: var(--surface-2);
  padding: .12em .38em;
  border-radius: 5px;
  font-size: .9em;
}

/* ---------- Seitenlayout mit Sidebar ---------- */

.with-aside {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  /* minmax(0, …) verhindert, dass breite Inhalte wie Tabellen die Spalte aufziehen */
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 940px) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 18rem; }
}

.aside-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.aside-box + .aside-box { margin-top: 1rem; }
.aside-box h2, .aside-box h3 {
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .9rem;
}
.aside-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.aside-nav a {
  display: block;
  padding: .5rem .7rem;
  border-radius: 9px;
  text-decoration: none;
  color: var(--text);
  font-size: .93rem;
  font-weight: 550;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.aside-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.aside-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }

@media (min-width: 940px) {
  .aside--sticky { position: sticky; top: 6rem; }
}

/* ---------- Formulare ---------- */

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .4rem; }
.field > label { font-weight: 600; font-size: .9rem; }
.field__hint { font-size: .82rem; color: var(--text-muted); }
.field--required > label::after { content: " *"; color: var(--accent); }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="date"], input[type="datetime-local"], input[type="number"], input[type="url"],
select, textarea {
  width: 100%;
  padding: .7rem .85rem;
  font: inherit;
  font-size: .96rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--focus) 28%, transparent);
}
input::placeholder, textarea::placeholder { color: var(--ink-300); }

.radio-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-card {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 550;
  font-size: .93rem;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.radio-card:hover { border-color: var(--brand); }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.radio-card input { accent-color: var(--green-600); }

.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.checkbox input { margin-top: .28rem; accent-color: var(--green-600); }

/* ---------- Hinweise ---------- */

.notice {
  display: flex;
  gap: .8rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}
.notice svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .18rem; }
.notice > div > :last-child { margin-bottom: 0; }
.notice--success { border-color: color-mix(in oklab, var(--green-500) 45%, var(--border)); background: var(--brand-soft); color: var(--brand); }
.notice--error { border-color: color-mix(in oklab, var(--clay-500) 45%, var(--border)); background: var(--accent-soft); color: var(--accent); }
.notice--info { border-color: var(--border-strong); }
.notice ul { margin: .4rem 0 0; padding-left: 1.2em; }

/* Hinweis im statischen Export (siehe js/static.js) */
.static-note {
  display: block;
  margin-bottom: 1rem;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: .9rem;
}
.static-note strong { color: var(--text); font-weight: 650; }
.is-inert { opacity: .72; }

.empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

/* ---------- Seitennummerierung ---------- */

.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span {
  min-width: 2.5rem;
  padding: .5rem .75rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  font-size: .92rem;
  font-weight: 550;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination [aria-current="page"] { background: var(--brand); color: var(--text-invert); border-color: var(--brand); }

/* ---------- Kontaktblock ---------- */

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { flex: none; width: 1.3rem; height: 1.3rem; margin-top: .18rem; color: var(--brand); }
.contact-list dt, .contact-list strong { display: block; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); font-weight: 650; }
.contact-list a { text-decoration: none; }

/* ---------- Fußbereich ---------- */

.site-footer {
  margin-top: var(--section);
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in oklab, var(--green-500) 14%, transparent), transparent 70%),
    var(--green-950);
  color: #c9ded4;
  padding-block: clamp(2.75rem, 6vw, 4.5rem) 1.75rem;
}
.is-home .site-footer { margin-top: 0; }
:root[data-theme="dark"] .site-footer { background-color: #081210; }
.site-footer h2, .site-footer h3 {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-300);
  margin-bottom: 1rem;
}
.site-footer a { color: #e4f4ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

.footer__lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-bottom: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.is-home .footer__lead, .is-contact .footer__lead { display: none; }
.footer__claim {
  margin: 0 0 .35rem;
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: #fff;
}
.footer__lead-text { margin: 0; max-width: 48ch; color: #b8d0c5; }
.footer__lead .btn--primary:hover { text-decoration: none; }

.footer__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer__about { display: grid; justify-items: start; gap: .9rem; }
.footer__brandlink { display: inline-flex; align-items: center; gap: .75rem; }
.footer__brandlink:hover { text-decoration: none !important; }
.footer__mark { color: var(--green-300); display: block; }
.footer__pre { display: block; font-size: .78rem; color: #9fbcb0; }
.footer__brand {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}
.footer__about p { max-width: 34ch; font-size: .94rem; margin: 0; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .94rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem;
  color: #9fbcb0;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.footer__top { display: inline-flex; align-items: center; gap: .35rem; }
.footer__top svg { width: .9rem; height: .9rem; }

/* ---------- Hilfsklassen ---------- */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.5rem; }
.stack > * + * { margin-top: 1rem; }

/* Sanftes Einblenden beim Scrollen – nur wenn JavaScript aktiv ist. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero__leaves, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Kleine Hilfsklassen
   Die Content-Security-Policy erlaubt keine style-Attribute im HTML,
   daher stehen auch punktuelle Anpassungen hier.
   ========================================================================== */

.text-sm { font-size: .93rem; }
.text-xs { font-size: .88rem; }
.mt-1 { margin-top: 1rem; }
.mt-3 { margin-top: 2.5rem; }
.mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1.25rem; }
.ml-auto { margin-left: auto; }
.w-full { width: 100%; }
.stack-lg { display: grid; gap: 2.5rem; }
.center-narrow { max-width: 46ch; margin-inline: auto; }
.kicker--center { justify-content: center; }

/* Termin-Eintrag innerhalb einer Karte: die Karte liefert schon den Rahmen. */
.event--bare { padding: 0; border: 0; }

/* Überschrift, die nur eine Markierung trägt */
.head-tag { font-size: 1.55rem; }

/* Beitragsbild in der Detailansicht */
.article-image { border-radius: var(--radius-lg); margin-bottom: 2rem; }

/* Dokument ohne hinterlegte Datei */
.doc--pending { opacity: .65; cursor: default; }

/* ==========================================================================
   Redesign 2026 – Komponenten
   ========================================================================== */

/* ---------- Kopfbereich: Schaltfläche, Menüeinträge ---------- */

.site-header__inner { transition: min-height .25s var(--ease); }
@media (min-width: 1081px) {
  .site-header.is-stuck .site-header__inner { min-height: 4.1rem; }
  .nav { margin-right: .5rem; }
}

.header__cta svg { width: .95rem; height: .95rem; transition: transform .2s var(--ease-out); }
.header__cta:hover svg { transform: translateX(3px); }
.header__cta[aria-current="page"] { box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--text-invert) 35%, transparent); }
@media (max-width: 639px) { .header__cta { display: none; } }
@media (min-width: 1081px) { .nav__mobile-only { display: none; } }

.nav a, .nav-group > summary { font-weight: 700; font-size: .92rem; }
@media (max-width: 1080px) {
  .nav a, .nav-group > summary { font-size: 1.02rem; }
  .nav .nav__mobile-only {
    margin-top: .75rem;
    text-align: center;
    background: var(--brand);
    color: var(--text-invert);
    border-radius: 999px;
  }
  .nav .nav__mobile-only:hover { background: var(--brand-hover); color: var(--text-invert); }
}

/* Menügruppen gleiten auf statt zu springen */
@media (min-width: 1081px) and (prefers-reduced-motion: no-preference) {
  .nav-group[open] > .nav-group__panel { animation: drop .22s var(--ease-out); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* ---------- Buttons: Ergänzungen ---------- */

.btn { font-weight: 700; }
.btn--lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn--quiet {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--quiet:hover { border-color: var(--brand); color: var(--brand); background: var(--surface); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--green-100); color: var(--green-950); }
.btn--solid { box-shadow: 0 8px 20px -10px color-mix(in oklab, var(--brand) 80%, transparent); }
.btn--solid:hover { transform: translateY(-1px); }
.btn svg { transition: transform .2s var(--ease-out); }
.btn:hover .icon-down { transform: translateY(2px) rotate(90deg); }
.icon-down { transform: rotate(90deg); }
.icon-up { transform: rotate(-90deg); }
.link-more--back svg { transform: rotate(180deg); }
.link-more--back:hover svg { transform: rotate(180deg) translateX(3px); }

.kicker { font-weight: 800; }
.kicker--light { color: var(--green-300); }

.badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: .12rem .5rem;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
}

/* ---------- Ruhezeit-Anzeige ---------- */

.quiet {
  --state: var(--green-500);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .15rem .8rem;
  align-items: center;
}
.quiet[data-state="quiet"] { --state: var(--clay-500); }
.quiet[data-state="limited"], .quiet[data-state="off"] { --state: var(--sun); }

.quiet__dot {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: var(--state);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--state) 22%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .quiet[data-state] .quiet__dot { animation: pulse 2.4s var(--ease) infinite; }
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--state) 0%, transparent); }
}
.quiet__text { display: grid; gap: .05rem; min-width: 0; }
.quiet__label { font-family: var(--font-brand); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.quiet__detail { font-size: .86rem; color: var(--text-muted); line-height: 1.4; }

.quiet--pill {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.quiet--card .quiet__label { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); letter-spacing: -.025em; }
.quiet--card .quiet__dot { width: .85rem; height: .85rem; }
.quiet__day { position: relative; grid-column: 1 / -1; margin-top: 1.1rem; }
.quiet__bar {
  position: relative;
  height: .7rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--green-500) 22%, var(--surface));
  overflow: hidden;
}
.quiet__seg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--from);
  width: var(--len);
  background: repeating-linear-gradient(-45deg,
    color-mix(in oklab, var(--clay-500) 75%, transparent) 0 4px,
    color-mix(in oklab, var(--clay-500) 50%, transparent) 4px 8px);
}
.quiet__seg--limited { background: color-mix(in oklab, var(--sun) 70%, transparent); }
.quiet__now {
  position: absolute;
  top: -.3rem;
  height: 1.3rem;
  left: var(--at);
  width: 3px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text);
  box-shadow: 0 0 0 2px var(--surface);
}
.quiet__scale {
  display: flex;
  justify-content: space-between;
  margin-top: .4rem;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}
.quiet__legend {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin-top: .6rem;
  font-size: .78rem;
  color: var(--text-muted);
}
.quiet__legend span::before {
  content: "";
  display: inline-block;
  width: .7rem;
  height: .7rem;
  margin-right: .35rem;
  vertical-align: -.08rem;
  border-radius: 3px;
  background: color-mix(in oklab, var(--green-500) 22%, var(--surface));
}
.quiet__legend .is-quiet::before { background: color-mix(in oklab, var(--clay-500) 65%, transparent); }
.quiet__legend .is-limited::before { background: color-mix(in oklab, var(--sun) 70%, transparent); }

.quiet-panel {
  margin-bottom: 2.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.quiet-panel__title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.quiet-panel__title svg { width: 1rem; height: 1rem; }

/* ---------- Mitgliederservice: Kachelraster ---------- */

.section--service { padding-top: calc(var(--section) + 1rem); }

.bento {
  display: grid;
  gap: clamp(.85rem, 1.8vw, 1.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile--feature { grid-column: span 2; grid-row: span 2; }
  .tile--docs { grid-column: span 2; }
}

.tile {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
  padding: clamp(1.25rem, 2.4vw, 1.6rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(22rem circle at var(--mx) var(--my), color-mix(in oklab, var(--green-500) 9%, transparent), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease);
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in oklab, var(--brand) 30%, var(--border));
}
.tile h3 { font-size: 1.18rem; margin: .5rem 0 0; letter-spacing: -.02em; }
.tile p { margin: 0; color: var(--text-muted); font-size: .94rem; }
.tile__icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.tile__icon svg { width: 1.25rem; height: 1.25rem; }
.tile__head { display: flex; align-items: center; gap: .85rem; margin-bottom: .6rem; }
.tile__head h3 { margin: 0; }
.tile__arrow {
  position: absolute;
  top: clamp(1.25rem, 2.4vw, 1.6rem);
  right: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--text-muted);
  opacity: .5;
  transform: rotate(-45deg);
  transition: transform .3s var(--ease-out), opacity .2s, color .2s;
}
.tile__arrow svg { width: 1.1rem; height: 1.1rem; }
.tile:hover .tile__arrow { opacity: 1; color: var(--brand); transform: rotate(-45deg) translateX(3px); }
.tile__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: 1.1rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand);
}
.tile__more svg { width: 1rem; height: 1rem; transition: transform .2s var(--ease-out); }
.tile:hover .tile__more svg, .tile__more--link:hover svg { transform: translateX(3px); }
.tile__more--link { position: relative; z-index: 1; text-decoration: none; }

.tile--feature {
  background:
    radial-gradient(26rem circle at var(--mx) var(--my), color-mix(in oklab, var(--green-500) 11%, transparent), transparent 60%),
    linear-gradient(160deg, var(--surface), var(--surface-2));
}
.tile--feature .quiet { margin-top: .6rem; }

.tile--accent .tile__icon { background: var(--accent-soft); color: var(--accent); }

.tile__docs { list-style: none; margin: 0; padding: 0; display: grid; }
.tile__docs li + li { border-top: 1px solid var(--border); }
.tile__docs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.tile__docs a:hover { color: var(--brand); }
.tile__docs a:hover .badge { border-color: var(--brand); color: var(--brand); }

/* ---------- Aktuell: Beitrag, Liste, Termine ---------- */

.current {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .current { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
}
.current__news { display: grid; gap: 1rem; min-width: 0; }

.story-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.story-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--green-500), var(--sun));
}
.story-card__image { aspect-ratio: 16 / 7; overflow: hidden; }
.story-card__image img { width: 100%; height: 100%; object-fit: cover; }
.story-card__body { padding: clamp(1.5rem, 3.2vw, 2.25rem); }
.story-card h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; margin-bottom: .6rem; }
.story-card p { color: var(--text-muted); max-width: 58ch; margin-bottom: 1.2rem; }
.story-card .link-more svg { transition: transform .2s var(--ease-out); }
.story-card:hover .link-more svg { transform: translateX(3px); }

.news-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.news-rows a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .15rem 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s var(--ease), transform .25s var(--ease-out);
}
.news-rows a:hover { border-color: color-mix(in oklab, var(--brand) 40%, var(--border)); transform: translateX(3px); color: var(--text); }
.news-rows__title { font-weight: 800; letter-spacing: -.01em; }
.news-rows__meta { grid-column: 1; font-size: .86rem; color: var(--text-muted); }
.news-rows__arrow { grid-row: 1 / span 2; grid-column: 2; width: 1rem; height: 1rem; color: var(--brand); }

.agenda {
  padding: clamp(1.25rem, 2.6vw, 1.6rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.agenda__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.agenda__head h3 { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 1.15rem; }
.agenda__head h3 svg { width: 1.15rem; height: 1.15rem; color: var(--brand); }
.agenda__list { list-style: none; margin: 0; padding: 0; display: grid; }
.agenda__item { display: flex; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--border); }
.agenda__date {
  flex: none;
  width: 3.4rem;
  padding: .4rem 0 .45rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  text-align: center;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.1;
}
.agenda__date span { display: block; font-family: var(--font-brand); font-size: 1.35rem; letter-spacing: -.03em; }
.agenda__body { display: grid; gap: .1rem; font-size: .9rem; color: var(--text-muted); }
.agenda__body strong { color: var(--text); font-size: 1rem; }
.agenda__rel:empty { display: none; }
.agenda__rel, .event__rel {
  justify-self: start;
  padding: .08rem .5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
}
.event__rel { display: inline-block; margin-left: .4rem; vertical-align: .15em; font-family: var(--font-sans); letter-spacing: 0; }
.event__rel:empty { display: none; }
.agenda__empty {
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  border: 1px dashed var(--border-strong);
  font-size: .93rem;
  color: var(--text-muted);
}
.agenda__empty p { margin: 0; }
.agenda__empty strong { display: block; color: var(--text); margin-bottom: .2rem; }
.agenda__last { margin-top: .75rem !important; font-size: .84rem; }
.agenda__foot {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .86rem;
  color: var(--text-muted);
}
.agenda__foot svg { flex: none; width: 1rem; height: 1rem; margin-top: .2rem; color: var(--brand); }

/* ---------- Geschichte ---------- */

.story {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #d5e8de;
  background:
    radial-gradient(60% 80% at 0% 0%, color-mix(in oklab, var(--green-500) 22%, transparent), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, color-mix(in oklab, var(--sun) 12%, transparent), transparent 70%),
    var(--green-900);
}
:root[data-theme="dark"] .story { background-color: #0d231a; }
.story h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); letter-spacing: -.04em; max-width: 14ch; }
.story p { max-width: 52ch; color: #c4dbd0; font-size: 1.05rem; margin-bottom: 1.8rem; }
.story__inner { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .story__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.story__inner--text { grid-template-columns: minmax(0, 1fr) !important; }

.print {
  margin: 0;
  padding: .7rem .7rem 0;
  background: #f5efe2;
  border-radius: 6px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .06);
  rotate: -2deg;
  transition: rotate .6s var(--ease-out), transform .6s var(--ease-out);
}
.print:hover { rotate: 0deg; transform: scale(1.015); }
.print img { width: 100%; border-radius: 2px; filter: sepia(.25) contrast(1.02); }
.print figcaption {
  padding: .7rem .2rem .85rem;
  font-size: .8rem;
  color: #5b5446;
  line-height: 1.4;
}
@media (prefers-reduced-motion: reduce) { .print, .print:hover { rotate: 0deg; transform: none; } }

/* ---------- Kontakt und Warteliste ---------- */

.duo { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (min-width: 860px) { .duo { grid-template-columns: 1.15fr .85fr; } }
.duo__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.duo__card h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem); letter-spacing: -.035em; margin-bottom: .6rem; }
.duo__card p { color: var(--text-muted); max-width: 48ch; }
.duo__card .link-more { margin-top: 1.2rem; }
.duo__card--contact {
  background:
    radial-gradient(60% 90% at 100% 0%, color-mix(in oklab, var(--green-500) 14%, transparent), transparent 70%),
    var(--surface-2);
}
.duo__card--wait { background: var(--surface); }
.duo__card--wait .btn { margin-top: auto; }
.duo__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }

/* ---------- Unterseiten: Inhaltsverzeichnis, Fortschritt ---------- */

.progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--sun));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.page-main { min-width: 0; }
.prose h2 { scroll-margin-top: 6rem; }

.toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: toc; }
.toc__list a {
  position: relative;
  display: block;
  padding: .42rem .7rem .42rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.toc__list a::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  border-radius: 2px;
  background: var(--border-strong);
  transition: background .2s var(--ease);
}
.toc__list a:hover { color: var(--brand); background: var(--brand-soft); }
.toc__list a.is-current { color: var(--brand); }
.toc__list a.is-current::before { background: var(--brand); }

.aside-box--brand { background: var(--surface-2); }

/* ---------- Kontaktformular ---------- */

.topics { border: 0; margin: 0; padding: 0; min-width: 0; }
.topics legend { font-weight: 700; font-size: .9rem; margin-bottom: .55rem; padding: 0; }
.topics__list { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease), transform .15s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--text-invert); }
.field__count { justify-self: end; font-variant-numeric: tabular-nums; }
.notice--wait { margin-bottom: 1rem; }
.notice--wait a { font-weight: 700; }

/* ---------- Downloads ---------- */

.doc-group__title { display: flex; align-items: center; gap: .6rem; }
.doc-group__count {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 800;
  padding: .1rem .55rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  letter-spacing: 0;
}
.doc__text { display: grid; min-width: 0; }
.doc .badge { margin-left: auto; }
.doc .badge + .doc__arrow { margin-left: .25rem; }
.doc:hover .badge { border-color: var(--brand); color: var(--brand); }

/* ---------- Fehlerseite ---------- */

.error-page { padding-block: clamp(3rem, 8vw, 6rem); }
.error-page__art { width: min(15rem, 70%); margin: 0 auto 2rem; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.4rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: .93rem;
}

/* ---------- Gewichte an die verfügbaren Schnitte anpassen ---------- */

/*
 * Nunito Sans liegt in 400, 700 und 800 vor. Zwischenwerte würde der Browser
 * unterschiedlich runden; hier wird entschieden, was fett ist.
 */
.field > label, .radio-card, .doc__title, .person__role, .tag, .pagination a,
.pagination span, .aside-nav a, .prose table th, .prose strong, .link-more,
.hero__fact dd, .skip-link, .card__meta { font-weight: 700; }
.aside-box h2, .aside-box h3 { font-weight: 800; }

@media print {
  .progress, .hero__status, .page-head__mark, .footer__lead { display: none !important; }
}

/* Regelübersicht in der Ruhezeiten-Kachel */
.rules {
  display: grid;
  gap: 0;
  margin: 1.4rem 0 0;
  border-top: 1px solid var(--border);
}
.rules > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.rules dt { font-weight: 700; color: var(--text); }
.rules dd { margin: 0; color: var(--text-muted); text-align: right; font-variant-numeric: tabular-nums; }
.rules__season { margin-top: .9rem !important; font-size: .84rem !important; }

/* Schmale Bildschirme: Kennzahlen in einer Zeile, Kurzwege als 2er-Raster */
@media (max-width: 560px) {
  .hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .hero__stats dd { font-size: 1.2rem; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--feature, .tile--docs { grid-column: 1 / -1; }
  .tile:not(.tile--feature):not(.tile--docs) { padding: 1.1rem; }
  .tile:not(.tile--feature):not(.tile--docs) p,
  .tile:not(.tile--feature):not(.tile--docs) .tile__arrow { display: none; }
  .tile:not(.tile--feature):not(.tile--docs) h3 { font-size: 1.02rem; hyphens: auto; overflow-wrap: normal; }
}

.contact-grid .contact-list { font-size: .95rem; }
