/* SV Riedmoos – Fotowand
   Leitidee: Der Verein sind seine Leute. Echte Mannschaftsfotos randlos unter einem nachtgrünen Schatten,
   weiße Barlow Condensed, Vereinsgrün für Flächen und genau ein Akzent: Limette, nur für das aktive Team,
   das gewählte Jahr und die Hauptaktion. Lesestrecken liegen auf blassem Grünweiß. */

/* ---------- Schriften (selbst gehostet) ---------- */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* feste Farben */
  --nacht: #071f0d;        /* Schatten über Fotos, dunkle Flächen */
  --nacht-2: #0d2c16;      /* Flächen auf Nacht */
  --gruen: #0a6716;        /* Vereinsgrün aus dem Wappen */
  --gruen-tief: #064a10;
  --lime: #c6f432;         /* der eine Akzent */
  --lime-tief: #a9d81a;
  --weiss: #ffffff;
  --nacht-text: #e9f1e7;   /* Fließtext auf Nacht */
  --nacht-leise: #a7bfaa;  /* Nebentext auf Nacht, 7:1 */

  /* Rollen (der Dunkelmodus tauscht nur diese) */
  --grund: #f2f5ef;        /* Seitengrund der Lesestrecken */
  --flaeche: #ffffff;      /* Karten, Felder, Menüs auf hellem Grund */
  --flaeche-2: #e6ede3;    /* ruhige Fläche, Platzhalter */
  --text: #11241a;
  --text-leise: #4a5d4f;
  --ueberschrift: #0b2a14;
  --akzent: #0a6716;       /* Links und grüne Schrift auf hellem Grund */
  --linie: #d2dccf;
  --rahmen: #6f8873;       /* Ränder von Bedienelementen, mind. 3:1 */
  --fokus: #0a6716;

  --schrift: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift-titel: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;

  --rand: clamp(1rem, 4vw, 3.5rem);
  --breite: 82rem;
  --abschnitt: clamp(4.5rem, 10vw, 8rem);
  --kopfhoehe: 4.5rem;
  --radius: 4px;

  --pfeil: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27%3E%3Cpath d=%27M3.5 2.5h6v6M9.5 2.5l-7 7%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
  --aus: cubic-bezier(0.16, 1, 0.3, 1);   /* sicheres Ankommen */
  --rein: cubic-bezier(0.7, 0, 0.84, 0);
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #08170d;
    --flaeche: #0f2416;
    --flaeche-2: #13301c;
    --text: #e6eee4;
    --text-leise: #a9bcaa;
    --ueberschrift: #f2f7ef;
    --akzent: #9fd88a;
    --linie: #1f3d28;
    --rahmen: #6f8f76;
    --fokus: #c6f432;
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopfhoehe) + 1rem); color-scheme: light dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--schrift);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--nacht); }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--akzent); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--schrift-titel);
  font-weight: 800;
  line-height: .95;
  color: var(--ueberschrift);
  text-wrap: balance;
}
h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.01em; text-transform: uppercase; }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.05; }
p { margin: 0 0 1em; max-width: 40em; }
input, button, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 2px; }
.dunkel :focus-visible, .skip:focus-visible { outline-color: var(--lime); }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { scrollbar-color: var(--rahmen) var(--grund); }

.skip { position: absolute; left: var(--rand); top: -4rem; z-index: 100; padding: .7rem 1.1rem; background: var(--lime); color: var(--nacht); font-weight: 600; border-radius: var(--radius); }
.skip:focus { top: .75rem; }

.rahmen { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
.abschnitt { padding-block: var(--abschnitt); }
.dunkel { background: var(--nacht); color: var(--nacht-text); }
.dunkel :is(h1, h2, h3) { color: var(--weiss); }
.dunkel a:not(.knopf) { color: var(--weiss); }
.dunkel a:not(.knopf):hover { color: var(--lime); }
.einleitung { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--text-leise); max-width: 34em; }
.dunkel .einleitung { color: var(--nacht-leise); }
.kleingedruckt { font-size: .9rem; color: var(--text-leise); }
.dunkel .kleingedruckt { color: var(--nacht-leise); }

/* Kopfzeile eines Abschnitts: Überschrift links, Link rechts auf derselben Grundlinie */
.abschnittskopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.abschnittskopf h2 { margin: 0; }
.abschnittskopf p { margin: .75rem 0 0; }

/* ---------- Knöpfe & Links ---------- */
.knopf {
  --k-grund: var(--gruen); --k-text: var(--weiss);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .7rem 1.5rem;
  border: 0; border-radius: 999px;
  background: var(--k-grund); color: var(--k-text);
  font: 700 1.2rem/1.1 var(--schrift-titel); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--aus), background-color .18s, box-shadow .18s;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(7, 31, 13, .55); }
.knopf:active { transform: translateY(0) scale(.98); box-shadow: none; transition-duration: .06s; }
.knopf--lime { --k-grund: var(--lime); --k-text: var(--nacht); }
.knopf--lime:hover { --k-grund: #d4ff52; }
.knopf--hell { --k-grund: var(--weiss); --k-text: var(--gruen-tief); }
.knopf--umriss { --k-grund: transparent; --k-text: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.knopf--umriss:hover { box-shadow: inset 0 0 0 2px currentColor, 0 8px 18px -8px rgba(7, 31, 13, .4); }
.knopf--klein { min-height: 2.75rem; padding: .5rem 1.15rem; font-size: 1.05rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Links zu anderen Websites tragen einen kleinen Pfeil (so steht es auch in der Datenschutzerklärung) */
a[rel~="noopener"]:not(.spiele__liste a)::after { content: ""; display: inline-block; flex: none; width: .62em; height: .62em; margin-left: .3em; background: currentColor; -webkit-mask: var(--pfeil) center / contain no-repeat; mask: var(--pfeil) center / contain no-repeat; }
.knopf[rel~="noopener"]::after { margin-left: 0; }

/* Textlink: Unterstrich zeichnet sich beim Darüberfahren */
.textlink {
  color: var(--akzent); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size .3s var(--aus);
}
.textlink:hover { background-size: 0 1.5px; background-position: 100% 100%; }
@media (prefers-reduced-motion: reduce) { .knopf, .textlink { transition: none; } .knopf:hover { transform: none; } }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--nacht);
  color: var(--weiss);
  transition: background-color .3s, box-shadow .3s;
}
/* Auf Seiten mit Fotobühne liegt der Kopf über dem Foto und wird beim Scrollen fest */
.hat-buehne .kopf { position: fixed; inset: 0 0 auto; background: transparent; }
.hat-buehne .kopf::before { content: ""; position: absolute; inset: 0 0 -2.5rem; background: linear-gradient(rgba(4, 22, 9, .6), transparent); pointer-events: none; transition: opacity .3s; }
.hat-buehne .kopf.ist-fest { background: var(--nacht); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.hat-buehne .kopf.ist-fest::before { opacity: 0; }
.kopf__innen {
  position: relative;
  display: flex; align-items: center; gap: 1.5rem;
  width: min(var(--breite), 100% - 2 * var(--rand));
  min-height: var(--kopfhoehe);
  margin-inline: auto;
}
.kopf__marke {
  display: flex; align-items: center; gap: .7rem; margin-right: auto;
  color: var(--weiss); text-decoration: none;
  font: 800 1.55rem/1 var(--schrift-titel); text-transform: uppercase; letter-spacing: .02em;
}
.kopf__marke img { width: 40px; height: auto; transition: transform .5s var(--aus); }
.kopf__marke:hover img { transform: rotate(-8deg) scale(1.06); }

.kopf__menuknopf { display: none; }

.menue__liste { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.menue__link {
  position: relative; display: block;
  padding: .6rem .8rem; border: 0; background: none;
  color: var(--weiss); font: 600 1rem/1.2 var(--schrift); text-decoration: none; cursor: pointer;
}
.menue__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--aus);
}
.menue__link:hover::after, .menue__link[aria-current="page"]::after, .menue__link.ist-hier::after { transform: scaleX(1); }
.menue__aufklapp::after { display: none; }
.menue__aufklapp { display: inline-flex; align-items: center; gap: .4rem; }
.menue__aufklapp::before {
  content: ""; order: 2; width: .42em; height: .42em; margin-top: -.2em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform .2s var(--aus);
}
.menue__aufklapp[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: .2em; }
.menue__aufklapp.ist-hier { box-shadow: inset 0 -2px 0 var(--lime); }
.menue__gruppe { position: relative; }
.menue__panel {
  position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%);
  min-width: 15rem; padding: 1.25rem 1.5rem;
  background: var(--nacht-2); color: var(--weiss);
  border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.menue__panel[hidden] { display: none; }
.menue__panel--breit { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; min-width: 34rem; }
.menue__panel--breit[hidden] { display: none; }
.menue__panel ul { margin: 0; padding: 0; list-style: none; }
.menue__jugend { columns: 2; column-gap: 1.5rem; }
.menue__titel { margin: 0 0 .5rem; font: 700 1.15rem/1 var(--schrift-titel); color: var(--nacht-leise); }
.menue__panel a {
  display: flex; align-items: baseline; gap: .4rem; min-height: 2.5rem; padding: .45rem 0;
  color: var(--weiss); text-decoration: none; font-weight: 600; break-inside: avoid;
}
.menue__panel a span { color: var(--nacht-leise); font-weight: 400; font-size: .9rem; }
.menue__panel a:hover, .menue__panel a[aria-current="page"] { color: var(--lime); }
.menue__cta { margin-left: .75rem; }
.menue :focus-visible, .kopf :focus-visible { outline-color: var(--lime); }

@media (max-width: 960px) {
  .kopf__menuknopf {
    display: inline-flex; align-items: center; gap: .6rem;
    min-height: 2.75rem; padding: .4rem .9rem; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .12); color: var(--weiss); font-weight: 600; cursor: pointer;
  }
  .kopf__menuknopf-linien, .kopf__menuknopf-linien::before, .kopf__menuknopf-linien::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--aus), opacity .2s;
  }
  .kopf__menuknopf-linien { position: relative; }
  .kopf__menuknopf-linien::before, .kopf__menuknopf-linien::after { content: ""; position: absolute; left: 0; }
  .kopf__menuknopf-linien::before { top: -6px; }
  .kopf__menuknopf-linien::after { top: 6px; }
  .kopf__menuknopf[aria-expanded="true"] .kopf__menuknopf-linien { background: transparent; }
  .kopf__menuknopf[aria-expanded="true"] .kopf__menuknopf-linien::before { transform: translateY(6px) rotate(45deg); }
  .kopf__menuknopf[aria-expanded="true"] .kopf__menuknopf-linien::after { transform: translateY(-6px) rotate(-45deg); }

  .menue {
    position: fixed; inset: var(--kopfhoehe) 0 0; overflow-y: auto; overscroll-behavior: contain;
    padding: 1rem var(--rand) 3rem; background: var(--nacht);
  }
  .js .menue:not(.ist-offen) { display: none; }
  .menue.ist-offen { animation: menue-rein .35s var(--aus); }
  @keyframes menue-rein { from { opacity: 0; transform: translateY(-.75rem); } }
  .menue__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .menue__liste > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .menue__link { width: 100%; padding: 1rem 0; font: 800 1.9rem/1 var(--schrift-titel); text-transform: uppercase; text-align: left; }
  .menue__link::after { display: none; }
  .menue__aufklapp { justify-content: space-between; }
  .menue__panel, .menue__panel--breit { position: static; transform: none; min-width: 0; padding: 0 0 1rem; background: none; box-shadow: none; grid-template-columns: 1fr; gap: 1rem; }
  .menue__cta { margin: 1.5rem 0 0; border: 0 !important; }
  .menue__cta .knopf { width: 100%; }
  .menue-offen, .menue-offen body { overflow: hidden; }
  .hat-buehne .menue-offen .kopf, .menue-offen .hat-buehne .kopf { background: var(--nacht); }
}
@media (prefers-reduced-motion: reduce) { .menue.ist-offen { animation: none; } .kopf__marke img { transition: none; } }

/* ---------- Bühne: die Fotowand ---------- */
.buehne {
  position: relative; isolation: isolate;
  min-height: max(40rem, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  padding: calc(var(--kopfhoehe) + 2rem) var(--rand) 0;
  background: var(--nacht);
  color: var(--weiss);
  overflow: hidden;
}
.buehne__fotos { position: absolute; inset: 0; z-index: -1; }
.buehne__bild { position: absolute; inset: 0; margin: 0; }
.buehne__bild[hidden] { display: none; }
.buehne__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* Teams ohne Foto: ein typografischer Abzug, kein Ersatzbild */
.buehne__bild--schrift { display: grid; place-items: center end; overflow: hidden; background: var(--gruen); }
.buehne__bild--schrift span {
  font: 800 clamp(9rem, 30vw, 30rem)/.8 var(--schrift-titel); text-transform: uppercase;
  color: var(--weiss); letter-spacing: -.03em; white-space: nowrap; margin-right: -.06em;
}
.buehne__fotos::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 22, 9, .86) 0, rgba(4, 22, 9, .5) 38%, rgba(4, 22, 9, .08) 60%, rgba(4, 22, 9, .3) 78%, rgba(4, 22, 9, .82) 100%),
    linear-gradient(0deg, rgba(4, 22, 9, .95) 0, rgba(4, 22, 9, .55) 26%, transparent 48%);
}
/* Wechsel: das neue Foto wird von unten freigelegt, eine Limettenlinie führt die Kante */
.buehne__bild.ist-neu { z-index: 1; clip-path: inset(100% 0 0 0); }
.buehne__bild.ist-neu.laeuft { clip-path: inset(0 0 0 0); transition: clip-path .75s var(--aus); }
.buehne__wischer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--lime); z-index: 2; transform: scaleX(0); opacity: 0; pointer-events: none; }
.buehne__wischer.laeuft { animation: wischer .75s var(--aus); }
@keyframes wischer { 0% { opacity: 1; transform: translateY(0) scaleX(1); } 100% { opacity: 0; transform: translateY(-100svh) scaleX(1); } }

.buehne__text { grid-column: 1; align-self: end; padding-bottom: clamp(1.5rem, 4vh, 3rem); max-width: 48rem; }
.buehne__titel {
  margin: 0; color: var(--weiss);
  font-size: clamp(3.4rem, min(8.4vw, 10.5vh), 6rem); line-height: .88; letter-spacing: -.015em; text-transform: uppercase;
}
.buehne__titel span { display: block; }
.buehne__intro { margin: 1.25rem 0 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--nacht-text); max-width: 32em; }
.buehne__aktuell { display: flex; align-items: baseline; gap: .75rem; margin: 1.5rem 0 0; font-weight: 600; color: var(--nacht-text); }
.buehne__aktuell b { font: 800 1.6rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--lime); }
.buehne__aktuell a { color: var(--weiss); }

/* Index der 17 Teams am rechten Rand */
.buehne__index { grid-column: 2; grid-row: 1; align-self: center; margin: 0; padding: 0; list-style: none; text-align: right; }
.buehne__index a {
  display: flex; align-items: center; justify-content: flex-end; gap: .7rem;
  min-height: 2rem; padding: .1rem 0;
  color: rgba(255, 255, 255, .82); text-decoration: none; font: 700 clamp(1.05rem, 1.4vw, 1.25rem)/1 var(--schrift-titel); text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  transition: color .2s, font-size .3s var(--aus);
}
.buehne__index a span { color: rgba(255, 255, 255, .66); font: 600 .8rem/1 var(--schrift); text-transform: none; }
.buehne__index a::before { content: ""; width: 0; height: 2px; background: var(--lime); transition: width .35s var(--aus); }
.buehne__index a:hover, .buehne__index a:focus-visible { color: var(--weiss); }
.buehne__index a.ist-aktiv { color: var(--lime); font-size: clamp(1.4rem, 2vw, 1.75rem); }
.buehne__index a.ist-aktiv span { color: var(--lime); }
.buehne__index a.ist-aktiv::before { width: 2rem; }
.buehne__index li.trenner { height: .6rem; }

/* Band unten: Team-Finder */
.finder {
  grid-column: 1 / -1; grid-row: 2;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem 2rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.finder__titel { margin: 0; font: 800 clamp(1.4rem, 2vw, 1.75rem)/1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); white-space: nowrap; }
.finder__ohnejs { margin: 0; }
.finder__jahre { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.finder__jahre[hidden] { display: none; }
.jahr { position: relative; }
.jahr input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.jahr span {
  display: grid; place-items: center; min-width: 2.9rem; min-height: 2.75rem; padding: 0 .5rem;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5);
  font: 700 1.15rem/1 var(--schrift-titel); color: var(--weiss);
  transition: background-color .18s, color .18s, box-shadow .18s, transform .18s var(--aus);
}
.jahr:hover span { box-shadow: inset 0 0 0 1.5px var(--weiss); transform: translateY(-2px); }
.jahr input:checked + span { background: var(--lime); color: var(--nacht); box-shadow: none; }
.jahr input:active + span { transform: scale(.95); }
.jahr input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }

/* Ergebnis-Platte über dem Foto */
.finder__ergebnis { margin-top: 1.5rem; }
.buehne.hat-treffer .buehne__intro, .buehne.hat-treffer .buehne__aktuell { display: none; }
.finder__ergebnis:empty, .finder__ergebnis[hidden] { display: none; }
.treffer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: .75rem; }
.treffer--viele { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
.treffer--viele .treffer__team { grid-template-columns: 1fr; padding: .9rem 1rem; }
.treffer--viele .treffer__team h3 { font-size: 1.3rem; }
.treffer--viele .treffer__team dl { display: none; }
.treffer--viele .treffer__team .knopf { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .5rem; }
.treffer__team {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.25rem; align-items: start;
  padding: 1.1rem 1.25rem; border-radius: 8px;
  background: var(--weiss); color: var(--text);
  animation: platte-rein .45s var(--aus) both;
}
.treffer__team:nth-child(2) { animation-delay: .06s; }
@keyframes platte-rein { from { opacity: 0; transform: translateY(1rem); } }
.treffer__team h3 { margin: 0; font-size: 1.6rem; color: var(--ueberschrift); text-transform: uppercase; font-weight: 800; }
.treffer__jahrgang { grid-column: 1; margin: 0; color: var(--text-leise); font-size: .95rem; }
.treffer__team dl { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; margin: .6rem 0 0; font-size: .95rem; }
.treffer__team dt { font-weight: 600; color: var(--text-leise); }
.treffer__team dd { margin: 0; }
.treffer__team .knopf { grid-column: 2; grid-row: 1 / span 2; }
.treffer__leer { padding: 1.1rem 1.25rem; border-radius: 8px; background: var(--weiss); color: var(--text); animation: platte-rein .45s var(--aus) both; }
.treffer__leer p { margin: 0 0 .4rem; }
.treffer__leer a { color: var(--akzent); }

@media (prefers-color-scheme: dark) {
  .treffer__team, .treffer__leer { background: var(--flaeche); }
}
@media (prefers-reduced-motion: reduce) {
  .buehne__bild.ist-neu { clip-path: none; opacity: 0; }
  .buehne__bild.ist-neu.laeuft { opacity: 1; clip-path: none; transition: opacity .25s linear; }
  .buehne__wischer { display: none; }
  .treffer__team, .treffer__leer { animation: none; }
  .jahr span, .buehne__index a::before { transition: none; }
}
/* Auftritt beim Laden: einmal, und nur mit JS ohne Wunsch nach weniger Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .js .buehne--start .buehne__fotos { animation: foto-auf 1.1s var(--aus) both; }
  .js .buehne--start .buehne__titel span { animation: zeile-auf .8s var(--aus) both; }
  .js .buehne--start .buehne__titel span:nth-child(2) { animation-delay: .08s; }
  .js .buehne--start .buehne__titel span:nth-child(3) { animation-delay: .16s; }
  .js .buehne--start :is(.buehne__intro, .buehne__index, .finder) { animation: leise-auf .8s .3s var(--aus) both; }
  @keyframes foto-auf { from { clip-path: inset(18% 0 0 0); transform: scale(1.06); } }
  @keyframes zeile-auf { from { opacity: 0; transform: translateY(.5em); } }
  @keyframes leise-auf { from { opacity: 0; } }
}

@media (max-width: 900px) {
  .buehne { display: flex; flex-direction: column; min-height: 0; padding: 0; }
  .buehne > nav { order: 4; }
  .buehne .finder { order: 3; }
  .buehne__fotos { position: relative; inset: auto; height: min(42svh, 24rem); }
  .buehne__fotos::after { background: linear-gradient(0deg, var(--nacht) 0, rgba(7, 31, 13, .4) 35%, transparent 60%), linear-gradient(rgba(4, 22, 9, .55), transparent 30%); }
  .buehne__bild--schrift { place-items: center; padding: 0; }
  .buehne__bild--schrift span { font-size: 42vw; }
  .buehne__text { position: relative; margin-top: -5rem; padding: 0 var(--rand) .5rem; }
  .buehne__titel { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .buehne__intro { display: none; }
  .buehne__aktuell { margin-top: .75rem; }
  .buehne__index { padding-top: 1rem; }
  .buehne__index { display: flex; gap: .4rem; overflow-x: auto; padding: .25rem var(--rand) 1rem; scroll-snap-type: x proximity; scrollbar-width: none; text-align: left; }
  .buehne__index::-webkit-scrollbar { display: none; }
  .buehne__index li { flex: none; scroll-snap-align: start; }
  .buehne__index li.trenner { display: none; }
  .buehne__index a { min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: rgba(255, 255, 255, .08); white-space: nowrap; }
  .buehne__index a::before { display: none; }
  .buehne__index a.ist-aktiv { background: var(--lime); color: var(--nacht); }
  .buehne__index a.ist-aktiv span { color: var(--nacht); }
  .finder { grid-template-columns: 1fr; gap: .75rem; margin: 0 var(--rand); padding: 1rem 0; }
  .finder__jahre { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr)); }
  .jahr--breit { grid-column: span 2; }
  .jahr span { min-width: 0; }
}

/* ---------- Kontaktabzug: alle Mannschaften ---------- */
.mannschaften__gruppe + .mannschaften__gruppe { margin-top: clamp(3rem, 6vw, 4.5rem); }
.mannschaften__titel { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--ueberschrift); font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; }
.mannschaften__titel small { font: 600 1rem/1 var(--schrift); color: var(--text-leise); text-transform: none; }
.abzuege { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: clamp(1rem, 2vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
@media (min-width: 1100px) {
  .abzuege > .abzug--gross { grid-column: span 2; grid-row: span 2; }
  .abzug--gross .abzug__bild { aspect-ratio: auto; flex: 1; min-height: 18rem; }
  .abzug--gross .abzug__name { font-size: 2.6rem; }
}
.abzug { position: relative; display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.abzug__bild { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--gruen); }
.abzug__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--aus); }
.abzug:hover .abzug__bild img { transform: scale(1.03); }
.abzug__bild--schrift { display: grid; place-items: end start; background: var(--gruen); }
.abzug__bild--schrift > span:first-child { margin: 0 0 -.1em -.04em; font: 800 clamp(6rem, 12vw, 9rem)/.8 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); white-space: nowrap; transform-origin: left bottom; transition: transform .6s var(--aus); }
.abzug:hover .abzug__bild--schrift > span:first-child { transform: scale(1.06); }
.abzug__alter { position: absolute; top: .75rem; left: .75rem; padding: .3rem .6rem; border-radius: 999px; background: var(--nacht); color: var(--weiss); font: 800 1rem/1 var(--schrift-titel); }
.abzug__name { margin: .9rem 0 .25rem; font: 800 1.75rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--ueberschrift); }
.abzug__name span { background: linear-gradient(var(--gruen), var(--gruen)) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--aus); }
.abzug:hover .abzug__name span { background-size: 100% 3px; }
.abzug__info { margin: 0; color: var(--text-leise); font-size: .95rem; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .abzug__bild img, .abzug__bild--schrift > span:first-child, .abzug__name span { transition: none; } .abzug:hover .abzug__bild img { transform: none; } }

/* ---------- Woche am Hirschdamm ---------- */
.woche__tage { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: 8px; overflow: hidden; }
.woche__tag { padding: 1.25rem 1.1rem 1.4rem; background: var(--nacht-2); }
.woche__tag h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 1rem; font-size: 1.6rem; text-transform: uppercase; }
.woche__tag h3 small { font: 600 .8rem/1 var(--schrift); color: var(--nacht); background: var(--lime); padding: .3rem .5rem; border-radius: 999px; text-transform: none; }
.woche__tag ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .1rem; }
.woche__tag li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .5rem; align-items: baseline; }
.woche__zeit { font: 700 1.1rem/1 var(--schrift-titel); color: var(--nacht-leise); }
.woche__tag a { display: inline-block; min-height: 2.25rem; padding: .35rem 0; color: var(--weiss) !important; text-decoration: none; font-weight: 600; }
.woche__tag a:hover { color: var(--lime) !important; }
.woche__tag.ist-heute { background: #164524; }
@media (max-width: 900px) { .woche__tage { grid-template-columns: 1fr; } }

/* ---------- Spiele beim BFV ---------- */
.spiele__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.spiele__liste a {
  display: flex; flex-direction: column; justify-content: space-between; gap: .75rem; height: 100%; min-height: 6.5rem;
  padding: 1.1rem 1.25rem; border-radius: 8px; background: var(--flaeche); color: var(--text); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--linie);
  transition: transform .2s var(--aus), box-shadow .2s;
}
.spiele__liste a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--gruen), 0 14px 26px -18px rgba(7, 31, 13, .6); }
.spiele__team { font: 800 1.5rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--ueberschrift); }
.spiele__was { font-size: .95rem; color: var(--text-leise); }
.spiele__was::after { content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .3em; background: currentColor; -webkit-mask: var(--pfeil) center / contain no-repeat; mask: var(--pfeil) center / contain no-repeat; }
.dunkel .spiele__liste a { background: var(--nacht-2); color: var(--nacht-text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.dunkel .spiele__liste a:hover { box-shadow: inset 0 0 0 2px var(--lime); }
.dunkel .spiele__team { color: var(--weiss); }
.dunkel .spiele__was { color: var(--nacht-leise); }

/* ---------- News ---------- */
.beitrag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.beitrag--gross { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.beitrag__medien:empty { display: none; }
.beitrag:has(.beitrag__medien:empty) { grid-template-columns: 1fr; }
.beitrag__bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.beitrag__meta { margin: 0 0 .6rem; font-weight: 600; color: var(--text-leise); font-size: .95rem; }
.beitrag__titel { font-size: clamp(1.8rem, 3.6vw, 2.8rem); text-transform: uppercase; font-weight: 800; line-height: .95; }
.beitrag--gross .beitrag__titel { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.beitrag__inhalt > :last-child { margin-bottom: 0; }
.beitrag__inhalt ul { padding-left: 1.2em; }
@media (max-width: 760px) { .beitrag, .beitrag--gross { grid-template-columns: 1fr; } }

.galerie { position: relative; }
.galerie__spur { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--flaeche-2); }
.galerie__spur::-webkit-scrollbar { display: none; }
.galerie__bild { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.galerie__bild img { width: 100%; height: 100%; object-fit: cover; }
.galerie__steuerung { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; }
.galerie__zahl { margin: 0; font: 700 1.2rem/1 var(--schrift-titel); }
.galerie__knopf {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
  background: var(--flaeche); color: var(--ueberschrift); box-shadow: inset 0 0 0 1.5px var(--rahmen); cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s var(--aus);
}
.galerie__knopf svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.galerie__knopf:hover:not(:disabled) { background: var(--gruen); color: var(--weiss); box-shadow: none; }
.galerie__knopf:active:not(:disabled) { transform: scale(.94); }
.galerie__knopf:disabled { opacity: .35; cursor: default; }
@media (prefers-reduced-motion: reduce) { .galerie__spur { scroll-behavior: auto; } }

.newsseite__jahr { display: flex; align-items: center; gap: 1rem; margin: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: clamp(3rem, 8vw, 6rem); color: var(--ueberschrift); }
.newsseite__jahr::after { content: ""; flex: 1; height: 2px; background: var(--ueberschrift); }
.newsseite__liste { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }

/* ---------- Gaststätte auf der Startseite ---------- */
.mooser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 38rem; }
.mooser__bild { position: relative; overflow: hidden; }
.mooser__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mooser__text { display: flex; flex-direction: column; justify-content: center; padding: var(--abschnitt) var(--rand); max-width: 40rem; }
.zeiten { display: grid; gap: 0; margin: 1.25rem 0 1rem; max-width: 22rem; }
.zeiten div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.zeiten dt { font-weight: 600; }
.zeiten dd { margin: 0; color: var(--weiss); }
@media (max-width: 860px) { .mooser { grid-template-columns: 1fr; } .mooser__bild { aspect-ratio: 4 / 3; } }

/* ---------- Seit 1959: Typo-Moment ---------- */
.seit__datum { margin: 0; font: 800 clamp(5rem, 17vw, 15rem)/.8 var(--schrift-titel); letter-spacing: -.03em; color: var(--ueberschrift); }
.seit__datum span { color: var(--akzent); }
.seit__raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); margin-top: clamp(2rem, 4vw, 3rem); align-items: start; }
.seit__text p { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; }
.vereinsliste { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ueberschrift); }
.vereinsliste li { border-bottom: 1px solid var(--linie); }
.vereinsliste a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem 1rem; padding: 1rem 0; color: var(--text); text-decoration: none; }
.vereinsliste a::after { content: ""; grid-row: 1 / span 2; grid-column: 2; width: .6rem; height: .6rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--aus); }
.vereinsliste a:hover::after { transform: translateX(4px) rotate(45deg); }
.vereinsliste__titel { font: 800 1.6rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--ueberschrift); }
.vereinsliste a span:not(.vereinsliste__titel) { color: var(--text-leise); font-size: .95rem; }
.vereinsliste a:hover .vereinsliste__titel { color: var(--akzent); }
.vereinsliste--drei { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); column-gap: 2rem; border-top: 0; }
.vereinsliste--drei li { border-top: 2px solid var(--ueberschrift); border-bottom: 0; }
@media (max-width: 860px) { .seit__raster { grid-template-columns: 1fr; } }

/* ---------- Sponsoren ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.logo { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.25rem 1rem 1rem; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); text-align: center; transition: transform .25s var(--aus), box-shadow .25s; }
.logo:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--linie), 0 14px 26px -18px rgba(7, 31, 13, .5); }
.logo img { width: 100%; height: 5.5rem; object-fit: contain; }
.logo__name { font-size: .9rem; font-weight: 600; color: #3f5244; }
.logos--leiste { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
.logos--leiste .logo { padding: 1rem; }
.logos--leiste .logo img { height: 4rem; }

/* ---------- Mitglied werden (Abschluss) ---------- */
.mitglied { background: var(--gruen); color: var(--weiss); }
.mitglied__innen { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; align-items: end; gap: 1.5rem 3rem; }
.mitglied h2 { margin: 0 0 .75rem; color: var(--weiss); }
.mitglied p { margin: 0; color: #dcefdc; font-size: 1.15rem; }
.mitglied :focus-visible { outline-color: var(--lime); }
@media (max-width: 760px) { .mitglied__innen { grid-template-columns: 1fr; } }

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: var(--nacht-text); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.fuss a:not(.knopf) { color: var(--weiss); text-decoration: none; }
.fuss a:not(.knopf):hover { color: var(--lime); }
.fuss :focus-visible { outline-color: var(--lime); }
.fuss__wort { margin: 0 0 clamp(2.5rem, 5vw, 4rem); font: 800 clamp(4rem, 15vw, 13rem)/.8 var(--schrift-titel); text-transform: uppercase; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35); white-space: nowrap; overflow: hidden; }
.fuss__innen { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.fuss__verein img { width: 64px; margin-bottom: 1rem; }
.fuss__verein address { font-style: normal; line-height: 1.7; color: var(--nacht-leise); }
.fuss__slogan { font: 800 1.5rem/1.05 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.fuss__titel { margin: 0 0 .75rem; font: 700 1.2rem/1 var(--schrift-titel); color: var(--nacht-leise); }
.fuss__spalte ul { margin: 0; padding: 0; list-style: none; }
.fuss__spalte li a { display: inline-block; padding: .3rem 0; min-height: 2rem; }
.fuss__social { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.25rem !important; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: var(--nacht-leise); }
.fuss__unten p { margin: 0; }
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.fuss__unten a, .fuss__linkknopf { display: inline-block; min-height: 1.5rem; }
.fuss__linkknopf { padding: 0; border: 0; background: none; color: var(--weiss); font-size: .9rem; cursor: pointer; }
.fuss__linkknopf:hover { color: var(--lime); }
@media (max-width: 960px) { .fuss__innen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fuss__innen { grid-template-columns: 1fr; } }

/* ---------- Seitenköpfe der Unterseiten ---------- */
.seitenkopf { position: relative; isolation: isolate; background: var(--nacht); color: var(--weiss); overflow: hidden; }
.seitenkopf__innen { display: flex; flex-direction: column; justify-content: end; min-height: clamp(20rem, 42vw, 30rem); padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem); }
.seitenkopf--foto .seitenkopf__innen { min-height: min(78svh, 46rem); }
.seitenkopf__bild { position: absolute; inset: 0; z-index: -1; margin: 0; }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.seitenkopf__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 22, 9, .95) 0, rgba(4, 22, 9, .55) 35%, rgba(4, 22, 9, .15) 65%, rgba(4, 22, 9, .45) 100%), linear-gradient(90deg, rgba(4, 22, 9, .55), transparent 60%); }
.seitenkopf__titel { margin: 0; font-size: clamp(3.4rem, 10vw, 7.5rem); line-height: .86; letter-spacing: -.02em; text-transform: uppercase; color: var(--weiss); max-width: 14ch; }
.seitenkopf__titel small { display: inline-block; margin-left: .2em; padding: .12em .3em; border-radius: 6px; box-shadow: inset 0 0 0 2px currentColor; color: var(--weiss); font-size: .38em; letter-spacing: 0; vertical-align: .9em; }
.seitenkopf__intro { margin: 1.25rem 0 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--nacht-text); max-width: 34em; }
.seitenkopf__wasserzeichen { position: absolute; right: -2vw; bottom: -.12em; z-index: -1; font: 800 clamp(10rem, 34vw, 30rem)/.8 var(--schrift-titel); text-transform: uppercase; color: rgba(255, 255, 255, .05); white-space: nowrap; pointer-events: none; }
.pfad ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; font-weight: 600; color: var(--nacht-leise); }
.pfad li + li::before { content: "/"; margin-right: .4rem; }
.pfad a { color: var(--weiss); }
.seitenkopf .knopfreihe { margin-top: 1.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .seitenkopf__bild { animation: foto-auf 1.1s var(--aus) both; }
  .js .seitenkopf__titel { animation: zeile-auf .8s var(--aus) both; }
}

/* ---------- Eckdaten (Training, Ort, Jahrgang) ---------- */
.eckdaten { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.eckdaten__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.eckdaten__feld { padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--linie); }
.eckdaten__feld:first-child { border-left: 0; padding-left: 0; }
.eckdaten__titel { margin: 0 0 .6rem; font: 700 1.1rem/1 var(--schrift-titel); color: var(--text-leise); text-transform: none; }
.eckdaten__wert { margin: 0 0 .4rem; font: 800 clamp(2rem, 3.4vw, 2.6rem)/1 var(--schrift-titel); color: var(--ueberschrift); }
.eckdaten__feld p:not(.eckdaten__wert) { margin: 0; color: var(--text-leise); }
.trainingszeiten { margin: 0; display: grid; gap: .5rem; }
.trainingszeiten div { display: grid; }
.trainingszeiten dt { font-weight: 600; color: var(--text-leise); font-size: .95rem; }
.trainingszeiten dd { margin: 0; font: 800 clamp(1.7rem, 3vw, 2.2rem)/1.05 var(--schrift-titel); color: var(--ueberschrift); }
@media (max-width: 760px) { .eckdaten__feld { border-left: 0; border-top: 1px solid var(--linie); padding-left: 0; } .eckdaten__feld:first-child { border-top: 0; } }

/* ---------- Personen ---------- */
.personen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); margin: 0; padding: 0; list-style: none; }
.person { display: flex; flex-direction: column; }
.person__bild { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); background: var(--flaeche-2); }
.person__bild--leer { display: grid; place-items: center; font: 800 4rem/1 var(--schrift-titel); color: var(--akzent); background: var(--flaeche-2); }
.person__name { margin: .9rem 0 .15rem; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; }
.person__rolle { margin: 0 0 .75rem; color: var(--text-leise); }
.person__kontakt { display: flex; flex-wrap: wrap; gap: .5rem; margin: auto 0 0; }
.person__kontakt a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--rahmen); color: var(--ueberschrift); text-decoration: none; font-weight: 600;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.person__kontakt a:hover { background: var(--gruen); color: var(--weiss); box-shadow: none; }
.personengruppe + .personengruppe { margin-top: clamp(3rem, 6vw, 4.5rem); }
.personengruppe__titel { margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--ueberschrift); font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; }

/* ---------- Weitere Teams (Teamseite) ---------- */
.weitere ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.weitere a { display: inline-flex; align-items: baseline; gap: .4rem; min-height: 2.75rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--nacht-2); color: var(--weiss) !important; text-decoration: none; font-weight: 600; transition: background-color .15s, color .15s; }
.weitere a span { color: var(--nacht-leise); font-weight: 400; font-size: .9rem; }
.weitere a:hover { background: var(--lime); color: var(--nacht) !important; }
.weitere a:hover span { color: var(--nacht); }
.zweispalter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .zweispalter { grid-template-columns: 1fr; } }

/* ---------- Geschichte ---------- */
.chronik__abschnitt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 6vw, 5rem); border-top: 2px solid var(--ueberschrift); }
.chronik__abschnitt:first-child { border-top: 0; padding-top: 0; }
.chronik__kopf { position: sticky; top: calc(var(--kopfhoehe) + 1.5rem); align-self: start; }
.chronik__zeitraum { margin: 0 0 .5rem; font: 800 clamp(4.5rem, 11vw, 9rem)/.8 var(--schrift-titel); letter-spacing: -.03em; color: var(--akzent); }
.chronik__titel { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; }
.chronik__intro { color: var(--text-leise); }
.chronik__liste { margin: 0; padding: 0; list-style: none; }
.chronik__eintrag { position: relative; padding: 0 0 2rem 2rem; }
.chronik__eintrag::after { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--linie); }
.chronik__eintrag:last-child::after { bottom: auto; height: 1rem; }
.chronik__eintrag:last-child { padding-bottom: 0; }
.chronik__eintrag::before { content: ""; position: absolute; z-index: 1; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--grund); box-shadow: inset 0 0 0 3px var(--gruen); }
.chronik__zeit { margin: 0 0 .25rem; font-weight: 600; color: var(--akzent); }
.chronik__eintragtitel { margin: 0 0 .4rem; font-size: 1.6rem; }
.chronik__eintrag p:last-child { margin: 0; }
@media (max-width: 860px) { .chronik__abschnitt { grid-template-columns: 1fr; } .chronik__kopf { position: static; } }

/* ---------- Gelände ---------- */
.zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--linie); border-block: 1px solid var(--linie); }
.zahlen div { padding: 1.75rem 1rem 1.5rem; background: var(--flaeche); }
.zahlen b { display: block; font: 800 clamp(3rem, 7vw, 5.5rem)/.85 var(--schrift-titel); color: var(--ueberschrift); }
.zahlen span { color: var(--text-leise); font-weight: 600; }
@media (max-width: 700px) { .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lageplan { margin: 0; padding: clamp(1rem, 3vw, 2rem); border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); }
.lageplan img { width: 100%; }

/* ---------- Downloads ---------- */
.downloads { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ueberschrift); }
.downloads li { border-bottom: 1px solid var(--linie); }
.downloads a { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1rem; align-items: center; padding: 1rem 0; color: var(--text); text-decoration: none; }
.downloads a::before {
  content: "PDF"; grid-row: 1 / span 2; display: grid; place-items: center; width: 3rem; height: 3.5rem; border-radius: 4px;
  background: var(--flaeche-2); color: var(--akzent); font: 800 .95rem/1 var(--schrift-titel); letter-spacing: .04em;
  transition: background-color .2s, color .2s, transform .25s var(--aus);
}
.downloads a:hover::before { background: var(--gruen); color: var(--weiss); transform: translateY(-2px); }
.downloads__titel { font: 800 1.45rem/1.05 var(--schrift-titel); color: var(--ueberschrift); }
.downloads a span:not(.downloads__titel) { color: var(--text-leise); font-size: .95rem; }
.downloads a:hover .downloads__titel { color: var(--akzent); }
.dokumente { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 3rem clamp(2rem, 5vw, 4rem); }
.dokumente h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* ---------- Seitenleiste, Hinweise ---------- */
.seitenraster { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 3rem clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .seitenraster { grid-template-columns: 1fr; } }
.seitenleiste { display: grid; gap: 2rem; }
.seitenleiste__titel { margin: 0 0 .6rem; font: 700 1.35rem/1 var(--schrift-titel); color: var(--ueberschrift); text-transform: uppercase; }
.seitenleiste__block p { margin: 0 0 .5rem; }
.kasten { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 8px; background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--linie); }
.kasten > :last-child { margin-bottom: 0; }
.schlagworte { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.schlagworte li { padding: .45rem .9rem; border-radius: 999px; background: var(--flaeche-2); font-weight: 600; font-size: .95rem; }

/* Öffnungszeiten */
.zeitenliste { margin: 0 0 1rem; }
.zeitenliste div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--linie); }
.zeitenliste dt { font-weight: 600; }
.zeitenliste dd { margin: 0; font-variant-numeric: tabular-nums; }
.zeitenliste .ist-zu dd { color: var(--text-leise); }
.zeitenliste .ist-heute { margin-inline: -.75rem; padding-inline: .75rem; border-radius: 6px; border-bottom-color: transparent; background: var(--flaeche-2); font-weight: 600; }

/* Stimmen (Google-Bewertungen) */
.stimmen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.stimme { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: 1.75rem; border-radius: 8px; background: var(--nacht-2); color: var(--nacht-text); }
.stimme blockquote { margin: 0; }
.stimme blockquote p { margin: 0; font: 700 1.45rem/1.3 var(--schrift-titel); color: var(--weiss); }
.stimme blockquote p::before { content: "„"; }
.stimme blockquote p::after { content: "“"; }
.stimme figcaption { font-size: .9rem; color: var(--nacht-leise); }

/* Bild neben Text */
.bildtext { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: center; }
.bildtext__bild { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .bildtext { grid-template-columns: 1fr; } .bildtext__bild { aspect-ratio: 4 / 3; } }

/* ---------- Schritte (Mitglied werden) ---------- */
.schritte__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0 auto; padding: 0; list-style: none; counter-reset: schritt; }
.schritt { position: relative; padding-top: 4.5rem; counter-increment: schritt; }
.schritt::before { content: counter(schritt); position: absolute; top: 0; left: 0; font: 800 4.5rem/.8 var(--schrift-titel); color: var(--weiss); }
.schritt__titel { font-size: 1.7rem; text-transform: uppercase; }
.schritt p { color: var(--nacht-text); }
@media (max-width: 760px) { .schritte__liste { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin-top: 1.5rem; }
@media (max-width: 600px) { .formular { grid-template-columns: 1fr; } }
.feld { display: grid; gap: .4rem; align-content: start; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-weight: 600; }
.feld__pflicht { margin-left: .35rem; font-size: .8rem; font-weight: 600; color: var(--text-leise); }
.feld input, .feld textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem;
  border: 1.5px solid var(--rahmen); border-radius: 6px; background: var(--flaeche); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.feld textarea { resize: vertical; min-height: 9rem; }
.feld input::placeholder, .feld textarea::placeholder { color: #6b7f6f; opacity: 1; }
.feld input:hover, .feld textarea:hover { border-color: var(--text-leise); }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(10, 103, 22, .25); }
@media (prefers-color-scheme: dark) { .feld input:focus, .feld textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 244, 50, .25); } .feld input::placeholder, .feld textarea::placeholder { color: #8ea592; } }
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .18); }
.feld__hilfe { margin: 0; font-size: .9rem; color: var(--text-leise); }
.feld__fehler { margin: 0; font-size: .9rem; font-weight: 600; color: #b3261e; }
@media (prefers-color-scheme: dark) { .feld__fehler { color: #ff8a80; } .feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: #ff8a80; } }
.formular__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.formular__fuss .kleingedruckt { flex: 1 1 18rem; margin: 0; }
.formular-knopf { position: relative; min-width: 12rem; }
.formular-knopf:disabled { cursor: wait; transform: none; }
.formular-knopf__punkte { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 7px; opacity: 0; pointer-events: none; }
.formular-knopf__punkte i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: formular-schweben 1s ease-in-out infinite; }
.formular-knopf__punkte i:nth-child(2) { animation-delay: .15s; }
.formular-knopf__punkte i:nth-child(3) { animation-delay: .3s; }
.formular-knopf.ist-am-senden .formular-knopf__text { opacity: 0; }
.formular-knopf.ist-am-senden .formular-knopf__punkte { opacity: 1; }
@keyframes formular-schweben { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .formular-knopf__punkte i { animation: none; opacity: 1; } }
.formular-falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular-hinweis { max-width: none; padding: 1rem 1.25rem; border-radius: 8px; background: var(--flaeche-2); }
.formular-erfolg { margin-top: 1.5rem; padding: 2rem; border-radius: 8px; background: var(--nacht); color: var(--nacht-text); }
.formular-erfolg h3 { color: var(--weiss); }
.formular-erfolg a:not(.knopf) { color: var(--lime); }
.formular-erfolg:focus { outline: none; }
.formular-erfolg[hidden], .formular-fehler[hidden] { display: none; }
.formular-fehler { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: 8px; background: #fdecea; color: #8c1d18; font-weight: 600; }
@media (prefers-color-scheme: dark) { .formular-fehler { background: #3a1412; color: #ffb4ab; } }

/* ---------- Rechtstexte ---------- */
.rechtstext__spalte { max-width: 46rem; }
.rechtstext h2 { margin: 2.5rem 0 .75rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { margin: 1.75rem 0 .5rem; font-size: 1.4rem; }
.rechtstext ul { padding-left: 1.2em; }

/* ---------- Zustimmung (eigener Cookie-Hinweis) ---------- */
.zustimmung {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90; width: min(30rem, calc(100% - 2rem));
  padding: 1.5rem; border-radius: 10px; background: var(--nacht); color: var(--nacht-text);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  animation: platte-rein .5s var(--aus) both;
}
.zustimmung[hidden] { display: none; }
.zustimmung__titel { margin: 0 0 .5rem; font-size: 1.5rem; color: var(--weiss); text-transform: uppercase; }
.zustimmung p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.zustimmung a { color: var(--lime); }
.zustimmung__stand:empty { display: none; }
.zustimmung__stand { font-weight: 600; }
.zustimmung .knopfreihe > * { flex: 1 1 12rem; }
.zustimmung [data-zustimmung="ja"] { --k-grund: var(--lime); --k-text: var(--nacht); }
.zustimmung [data-zustimmung="nein"] { --k-grund: transparent; --k-text: var(--weiss); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.zustimmung :focus-visible { outline-color: var(--lime); }
@media (max-width: 520px) { .zustimmung { right: .5rem; bottom: .5rem; width: calc(100% - 1rem); padding: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { .zustimmung { animation: none; } }
.extern__platzhalter { padding: 1.25rem; border: 1px dashed var(--rahmen); border-radius: 8px; background: var(--flaeche-2); }
.extern__platzhalter p { margin: 0 0 .75rem; }

@media print {
  .kopf, .zustimmung, .fuss, .buehne__index, .finder { display: none !important; }
  .buehne, .seitenkopf { min-height: 0; background: none; color: #000; }
}
