/* ==========================================================================
   SG Preußen Gladbeck – Stylesheet
   Farben und Schriften zentral in :root anpassbar.
   ========================================================================== */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Vereinsfarben (Gelb aus dem Wappen gemessen) */
  --schwarz: #000000;
  --kohle: #0b0c0e;
  --schiefer: #15161a;
  --tafel: #1c1d22;
  --gelb: #f9e241;
  --weiss: #ffffff;
  --kreide: #f3f3f1;
  --grau: #b4b5b0;
  --linie: rgba(255, 255, 255, 0.14);

  /* Glas und Licht von unten */
  --glas: rgba(255, 255, 255, 0.055);
  --glas-rand: rgba(255, 255, 255, 0.16);
  --licht: 249, 226, 65;
  --eck: 4px;
  --unschaerfe: blur(18px) saturate(145%);

  --schrift-titel: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --schrift-text: "Archivo", "Segoe UI", Roboto, Arial, sans-serif;

  --breite: 1200px;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(3.5rem, 8vw, 6.5rem);
  --kopf-hoehe: 4rem;
  --kopf-abstand: .6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #08090b; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 1.8rem); -webkit-text-size-adjust: 100%; }
html.menue-offen { overflow: hidden; }
body {
  margin: 0;
  background: transparent;
  color: var(--kreide);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
}
/* Das Platzfoto liegt fest hinter der ganzen Seite, damit das Glas etwas zum Verwischen hat */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 38% at 18% 26%, rgba(var(--licht), .13), transparent 72%),
    radial-gradient(50% 40% at 84% 72%, rgba(var(--licht), .10), transparent 72%),
    linear-gradient(rgba(8, 9, 11, .78), rgba(8, 9, 11, .86)),
    url("../img/hero-1400.webp") center / cover no-repeat;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gelb); outline-offset: 3px; }
::selection { background: var(--gelb); color: #000; }

.skip { position: fixed; top: -4rem; left: 1rem; z-index: 90; padding: .6rem 1rem; background: var(--gelb); color: #000; font-weight: 700; }
.skip:focus { top: 1rem; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.noscript, .konfig-fehler { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 95; padding: 1rem; background: #b3261e; color: #fff; }

.rahmen { width: 100%; max-width: calc(var(--breite) + var(--rand) * 2); margin-inline: auto; padding-inline: var(--rand); }

/* ---------- Schrift ----------------------------------------------------- */
.titel {
  font: 800 clamp(2.6rem, 6vw, 4.4rem)/1 var(--schrift-titel);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--weiss);
  margin-bottom: 1.2rem;
}
.titel::after { content: ""; display: block; width: 4rem; height: 4px; margin-top: .7rem; background: var(--gelb); }
.titel--klein { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.einleitung { max-width: 62ch; margin-bottom: 1.6rem; font-size: clamp(1.06rem, 1.4vw, 1.2rem); }
.textlink { color: var(--gelb); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.textlink:hover { color: var(--weiss); }

/* ---------- Tafel: Glas, von unten angeleuchtet --------------------------- */
.tafel, .recht__text {
  position: relative; isolation: isolate;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), var(--glas) 55%, rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: var(--unschaerfe); backdrop-filter: var(--unschaerfe);
  border: 1px solid var(--glas-rand);
  border-bottom-color: rgba(var(--licht), .6);
  border-radius: var(--eck);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 12px 30px rgba(0, 0, 0, .34), 0 22px 44px -20px rgba(var(--licht), .42);
}
/* LED-Feld: feine Leuchtpunkte hinter dem Glas, die von unten aufsteigen und langsam atmen */
.tafel::before, .recht__text::before {
  content: ""; position: absolute; inset: 30% 0 0; z-index: -1; pointer-events: none;
  border-radius: inherit; border-top-left-radius: 0; border-top-right-radius: 0;
  background:
    radial-gradient(circle, rgba(var(--licht), .42) 0 .9px, transparent 1.4px) 0 100% / 9px 9px,
    radial-gradient(95% 100% at 50% 100%, rgba(var(--licht), .26), rgba(var(--licht), .07) 46%, transparent 74%);
  -webkit-mask-image: linear-gradient(to top, #000, rgba(0, 0, 0, .45) 45%, transparent 92%);
  mask-image: linear-gradient(to top, #000, rgba(0, 0, 0, .45) 45%, transparent 92%);
  animation: led-atmen 7s ease-in-out infinite;
}
/* LED-Leiste an der Unterkante mit ruhigem Lauflicht */
.tafel1::after, .recht__text::after {
  content: ""; position: absolute; left: 7%; right: 7%; bottom: -2px; height: 3px; pointer-events: none;
  border-radius: 2px;
  background:
    linear-gradient(90deg, rgba(20, 20, 18, .95), transparent 14%, transparent 86%, rgba(20, 20, 18, .95)),
    linear-gradient(90deg, transparent 44%, #fffbe0 50%, transparent 56%) 150% 0 / 40% 100% no-repeat,
    repeating-linear-gradient(90deg, rgb(var(--licht)) 0 3px, rgba(var(--licht), .55) 3px 5px);
  box-shadow: 0 0 16px 3px rgba(var(--licht), .55);
  animation: led-lauf 9s linear infinite;
}
.tafel:nth-child(2n)::before, .tafel:nth-child(2n)::after { animation-delay: -3s; }
.tafel:nth-child(3n)::before, .tafel:nth-child(3n)::after { animation-delay: -6s; }
@keyframes led-atmen { 0%, 100% { opacity: .72; } 50% { opacity: 1; } }
@keyframes led-lauf { from { background-position: 0 0, 170% 0, 0 0; } to { background-position: 0 0, -70% 0, 0 0; } }

/* ---------- Ruhiges Einblenden ------------------------------------------ */
.auf { opacity: 0; transition: opacity .6s ease; }
.auf.ist-da { opacity: 1; }

/* ---------- Knöpfe ------------------------------------------------------ */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .6rem 1.4rem;
  border: 0; border-radius: 2px; cursor: pointer;
  font: 700 1.2rem/1.1 var(--schrift-titel);
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.knopf svg { width: 1em; height: 1em; flex: none; }
.knopf--gelb { background: var(--gelb); color: #000; box-shadow: 0 10px 26px -10px rgba(var(--licht), .75); }
.knopf--gelb:hover { background: var(--weiss); }
.knopf--rand { background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: var(--unschaerfe); backdrop-filter: var(--unschaerfe); color: var(--gelb); box-shadow: inset 0 0 0 1px rgba(var(--licht), .7); }
.knopf--rand:hover { background: var(--gelb); color: #000; }
.knopf--schwarz { background: #000; color: var(--gelb); }
.knopf--schwarz:hover { background: #2a2b30; }

/* ---------- Kopf und Menü: schwebende Glasleiste -------------------------- */
.kopf { position: fixed; inset: var(--kopf-abstand) var(--rand) auto; z-index: 60; max-width: var(--breite); margin-inline: auto; }
/* Das Glas liegt auf einem Pseudoelement, sonst wäre der Kopf der Rahmen des festen Menüs */
.kopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 9, 11, .5);
  -webkit-backdrop-filter: var(--unschaerfe); backdrop-filter: var(--unschaerfe);
  border: 1px solid var(--glas-rand); border-bottom-color: rgba(var(--licht), .55); border-radius: 0px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 26px rgba(0, 0, 0, .4), 0 18px 36px -18px rgba(var(--licht), .45);
  transition: background-color .25s;
}
.kopf.ist-gescrollt::before { background: rgba(8, 9, 11, .74); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; height: var(--kopf-hoehe); padding-inline: .9rem; }
.marke { position: relative; z-index: 2; display: flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.marke img { width: 42px; height: 42px; }
.marke__name { font: 700 1.24rem/1 var(--schrift-titel); letter-spacing: .04em; text-transform: uppercase; color: var(--weiss); }
.menue-knopf {
  position: relative; z-index: 2; display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .3rem .85rem;
  border: 1px solid var(--glas-rand); border-radius: 2px; background: rgba(255, 255, 255, .07); cursor: pointer;
}
.menue-knopf__text { font-weight: 600; font-size: .95rem; color: var(--weiss); }
.menue-knopf__striche, .menue-knopf__striche::before { display: block; width: 24px; height: 2px; background: var(--gelb); box-shadow: 0 0 8px rgba(var(--licht), .8); transition: transform .25s; }
.menue-knopf__striche { position: relative; transform: translateY(-4px); }
.menue-knopf__striche::before { content: ""; position: absolute; top: 8px; }
.kopf.ist-offen .menue-knopf__striche { transform: rotate(45deg); }
.kopf.ist-offen .menue-knopf__striche::before { top: 0; transform: rotate(90deg); }

/* Menü auf Handy und Tablet: öffnet sich aus dem Knopf heraus, Einträge als Glaskacheln */
.navigation {
  position: fixed; inset: 0; z-index: 1;
  padding: calc(var(--kopf-hoehe) + 1.6rem) var(--rand) 1.6rem;
  background: rgba(8, 9, 11, .74);
  -webkit-backdrop-filter: var(--unschaerfe); backdrop-filter: var(--unschaerfe);
  overflow-y: auto;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 3.4rem) 2.6rem);
  transition: clip-path .45s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .45s;
}
.kopf.ist-offen .navigation { visibility: visible; clip-path: circle(150vmax at calc(100% - 3.4rem) 2.6rem); transition: clip-path .45s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
.navigation ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: .55rem; max-width: 46rem; margin-inline: auto; }
.navigation a {
  position: relative; display: block; padding: .6rem 1rem .7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid var(--glas-rand); border-bottom-color: rgba(var(--licht), .6); border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 26px -16px rgba(var(--licht), .5);
  font: 700 1.5rem/1.1 var(--schrift-titel); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; color: var(--weiss);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background-color .15s;
  transition-delay: calc(var(--i, 0) * 34ms);
}
.navigation a small { display: block; margin-top: .1rem; font: 500 .84rem/1.25 var(--schrift-text); letter-spacing: 0; text-transform: none; color: var(--grau); }
.kopf.ist-offen .navigation a { opacity: 1; transform: none; }
.navigation a:hover, .navigation a[aria-current] { color: var(--gelb); }
.navigation__licht { display: none; }
.navigation .navigation__social { max-width: 46rem; margin: .55rem auto 0; }
.navigation .navigation__social a { display: inline-flex; flex: 1 1 9rem; gap: .55rem; padding: .6rem 1rem; font-size: 1.2rem; }
.navigation__social svg { width: 1em; height: 1em; flex: none; }

@media (min-width: 1180px) {
  .menue-knopf { display: none; }
  .navigation { position: relative; inset: auto; visibility: visible; clip-path: none; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; transition: none; }
  .navigation ul { display: flex; gap: .1rem; max-width: none; margin: 0; }
  .navigation a {
    padding: .42rem .68rem; background: none; border: 0; border-radius: 2px; box-shadow: none;
    font-family: var(--schrift-text); font-size: .95rem; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap;
    opacity: 1; transform: none; transition: color .15s, background-color .15s;
  }
  .navigation a small { display: none; }
  .navigation a:hover { background: rgba(255, 255, 255, .08); }
  .navigation { display: flex; align-items: center; gap: .3rem; }
  .navigation .navigation__social { flex: none; flex-wrap: nowrap; gap: 0; margin: 0; }
  .navigation .navigation__social a { flex: none; width: 2.3rem; min-height: 2.3rem; padding: 0; font-size: 0; color: var(--gelb); }
  .navigation__social svg { width: 1.1rem; height: 1.1rem; }
  /* LED-Balken: gleitet unter den Eintrag, auf dem die Maus steht, sonst unter den aktuellen Abschnitt */
  .navigation__licht {
    display: block; position: absolute; left: 0; bottom: -.32rem; width: 0; height: 3px; border-radius: 2px; pointer-events: none;
    background: repeating-linear-gradient(90deg, rgb(var(--licht)) 0 3px, rgba(var(--licht), .55) 3px 5px);
    box-shadow: 0 0 14px 3px rgba(var(--licht), .7);
    opacity: 0;
    transition: transform .35s cubic-bezier(.3, .9, .3, 1), width .35s cubic-bezier(.3, .9, .3, 1), opacity .2s;
  }
}
@media (min-width: 1180px) and (max-width: 1299px) { .navigation a { padding-inline: .45rem; font-size: .9rem; } }
/* Offenes Menü: Beim Rollen laufen die Kacheln unter dem Kopf durch, nicht durch Name und Wappen */
@media (max-width: 1179px) {
  .kopf.ist-offen::after { content: ""; position: fixed; inset: 0 0 auto; z-index: 1; height: calc(var(--kopf-abstand) + var(--kopf-hoehe) + .5rem); background: linear-gradient(#08090b 84%, transparent); pointer-events: none; }
}

/* ---------- Start ------------------------------------------------------- */
.start { position: relative; display: flex; align-items: flex-end; min-height: 86vh; min-height: 86svh; padding: calc(var(--kopf-hoehe) + 2rem) 0 clamp(5.4rem, 11vh, 7rem); }
.start__bild { position: absolute; inset: 0; background: url("../img/hero-1400.webp") center 60% / cover; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.start__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, .9) 100%); }
.start__inhalt { position: relative; }
.start__wappen img { width: clamp(96px, 13vw, 148px); height: auto; margin-bottom: 1.1rem; }
.start__titel { font-family: var(--schrift-titel); text-transform: uppercase; }
.start__zeile { display: block; font-size: clamp(3.6rem, 10.5vw, 8.4rem); font-weight: 800; line-height: .92; letter-spacing: .005em; color: var(--weiss); }
.start__unterzeile { display: block; margin-top: .22em; font-size: clamp(1.6rem, 3.8vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: .03em; color: var(--gelb); }
.start__text { max-width: 44ch; margin-top: .9rem; font-size: clamp(1.06rem, 1.4vw, 1.22rem); }
.start__knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

.kurzinfo { position: relative; z-index: 2; margin-top: -3.6rem; }
.kurzinfo__raster { display: grid; gap: .8rem; }
.kurzinfo__feld { display: block; padding: .8rem 1.2rem; text-decoration: none; }
.kurzinfo__feld span { display: block; font-size: .86rem; font-weight: 600; color: var(--gelb); }
.kurzinfo__feld strong { display: block; font: 700 1.3rem/1.2 var(--schrift-titel); letter-spacing: .01em; color: var(--weiss); }
.kurzinfo__feld:hover strong { text-decoration: underline; }
@media (min-width: 800px) { .kurzinfo__raster { grid-template-columns: 1fr 1fr; } }

/* ---------- Bereiche ---------------------------------------------------- */
.bereich { padding-block: var(--abstand); }

/* ---------- Spielplan --------------------------------------------------- */
.filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.filter__knopf {
  min-height: 2.5rem; padding: .3rem 1rem; border: 1px solid var(--glas-rand); border-radius: 2px; cursor: pointer;
  background: var(--glas);
  -webkit-backdrop-filter: var(--unschaerfe); backdrop-filter: var(--unschaerfe);
  font-size: .92rem; font-weight: 600; color: var(--kreide);
  transition: background-color .15s, color .15s;
}
.filter__knopf:hover { background: rgba(255, 255, 255, .14); }
.filter__knopf[aria-pressed="true"] { background: var(--gelb); border-color: var(--gelb); color: #000; box-shadow: 0 8px 22px -8px rgba(var(--licht), .8); }
.spieltag__raster { display: grid; gap: 1.2rem; }
.anstoss { display: flex; flex-direction: column; justify-content: center; }
.anstoss__kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; }
.anstoss__wb { margin-right: auto; font-weight: 600; }
.anstoss__ort, .anstoss__hinweis { padding: .1rem .65rem; border-radius: 0px; font-size: .84rem; font-weight: 600; background: var(--linie); }
.anstoss__ort--heim, .anstoss__hinweis { background: var(--gelb); color: #000; }
.anstoss__paarung { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(.5rem, 2vw, 1.4rem); margin-block: clamp(1rem, 3vw, 2rem); }
.verein { display: flex; flex-direction: column; align-items: center; gap: .6rem; min-width: 0; text-align: center; font: 700 clamp(1.5rem, 3.2vw, 2.5rem)/1.05 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); overflow-wrap: anywhere; }
.verein--wir { color: var(--gelb); }
.gegen { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--schrift-titel); color: var(--grau); }
.anstoss__zeit { text-align: center; font-size: 1.1rem; font-weight: 600; }
.anstoss__leer { font-size: 1.1rem; }
.folge h3 { margin-bottom: .6rem; font: 700 1.5rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.folge__liste li { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .7rem; padding: .5rem 0; border-top: 1px solid var(--linie); }
.folge__liste li.folge__leer { display: block; color: var(--grau); }
.folge__datum { font-size: .9rem; line-height: 1.35; color: var(--grau); }
.folge__datum b { display: block; font-weight: 600; color: var(--gelb); }
.folge__paar { min-width: 0; }
.folge__paar strong { display: block; font-weight: 700; line-height: 1.25; color: var(--weiss); overflow-wrap: anywhere; }
.folge__paar span { font-size: .88rem; color: var(--grau); }
.tabellen { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: .8rem; margin-top: 1.2rem; }
.kennzahl { padding: 1rem 1.2rem; }
.kennzahl__team { font: 700 1.25rem/1.1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.kennzahl__liga { font-size: .86rem; color: var(--grau); }
.kennzahl__platz { margin-top: .3rem; font: 800 2rem/1.1 var(--schrift-titel); color: var(--gelb); }
.kennzahl__rest { font-size: .88rem; }
.ergebnisse { margin-top: 1.2rem; }
.ergebnisse h3 { margin-bottom: .4rem; font: 700 1.5rem/1 var(--schrift-titel); text-transform: uppercase; }
.ergebnis { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; padding: .4rem 0; border-top: 1px solid var(--linie); }
.ergebnis b { color: var(--gelb); }
.spieltag__quelle { margin-top: 1rem; font-size: .9rem; color: var(--grau); }
@media (min-width: 900px) { .spieltag__raster { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }

/* ---------- Mannschaften ------------------------------------------------ */
.teambloecke { display: grid; gap: 1.6rem; margin-bottom: 1.8rem; }
.teamblock h3 { font: 800 clamp(1.9rem, 3.4vw, 2.5rem)/1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.teamblock > p { margin-bottom: .7rem; color: var(--grau); }
.teamliste { margin-bottom: 1rem; border-top: 1px solid var(--linie); }
.teamliste a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; min-height: 2.9rem; padding: .55rem 0; border-bottom: 1px solid var(--linie); text-decoration: none; }
.teamliste strong { font: 700 1.3rem/1.2 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.teamliste span { font-size: .92rem; color: var(--grau); text-align: right; }
.teamliste a:hover strong { color: var(--gelb); }
@media (min-width: 900px) { .teambloecke { grid-template-columns: 1fr 1fr; gap: 2.4rem; } }

/* ---------- Team-Finder ------------------------------------------------- */
.finder { display: grid; gap: 1.4rem; }
.finder h3 { font: 800 clamp(1.8rem, 3.2vw, 2.4rem)/1.05 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.finder__felder { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .9rem; }
.feld { display: grid; gap: .25rem; }
.feld span, .finder__wahl legend { font-size: .86rem; font-weight: 600; color: var(--grau); }
.feld input {
  width: 10.5rem; min-height: 3rem; padding: .4rem .8rem; border: 1px solid var(--glas-rand); border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  font: 700 1.5rem/1 var(--schrift-titel); color: var(--weiss);
  -moz-appearance: textfield; appearance: textfield;
}
.feld input::-webkit-outer-spin-button, .feld input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.feld input::placeholder { color: #8a8b86; font-weight: 500; font-size: 1.1rem; }
.finder__wahl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .3rem; }
.finder__wahl legend { padding: 0 0 .25rem; }
.finder__wahl label { position: relative; cursor: pointer; }
.finder__wahl input { position: absolute; opacity: 0; }
.finder__wahl span { display: flex; align-items: center; min-height: 3rem; padding: 0 1rem; border: 1px solid var(--glas-rand); border-radius: 10px; background: var(--glas); font-size: .95rem; font-weight: 600; }
.finder__wahl input:checked + span { background: var(--gelb); color: #000; }
.finder__wahl input:focus-visible + span { outline: 2px solid var(--gelb); outline-offset: 2px; }
.finder__antwort { display: grid; gap: .5rem; align-content: start; }
.finder__treffer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 .8rem; padding: .6rem .9rem; border: 1px solid var(--glas-rand); border-radius: 10px; background: rgba(0, 0, 0, .3); text-decoration: none; }
.finder__treffer:hover { background: rgba(255, 255, 255, .1); }
.finder__treffer strong { font: 700 1.3rem/1.15 var(--schrift-titel); text-transform: uppercase; color: var(--gelb); }
.finder__liga { font-size: .86rem; color: var(--grau); align-self: center; }
.finder__zeiten { grid-column: 1 / -1; font-size: .92rem; }
.finder__person { grid-column: 1 / -1; font-size: .88rem; color: var(--grau); }
.finder__hinweis { font-size: .88rem; color: var(--grau); }
@media (min-width: 900px) { .finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; } }

/* ---------- Training ---------------------------------------------------- */
.heute { margin-bottom: 1.2rem; }
.heute__titel { font: 700 1.5rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.heute__raster { display: grid; gap: 1rem; margin-top: .8rem; }
.heute__marke { font-size: .88rem; font-weight: 600; color: var(--gelb); }
.heute__spalte li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .8rem; padding: .2rem 0; }
.heute__spalte strong { font: 700 1.3rem/1.25 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.heute__nichts { color: var(--grau); }
@media (min-width: 700px) { .heute__raster { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.plan-tafel__titel { margin-bottom: .7rem; font: 700 1.5rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.training__hinweis { margin-top: 1rem; font-weight: 600; color: var(--gelb); }

.plan { display: none; grid-template-columns: 3.1rem repeat(var(--tage), minmax(0, 1fr)); grid-template-rows: auto 36rem; gap: 0 3px; }
.plan__tag { padding: .2rem 0 .5rem; text-align: center; font: 700 1.3rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--kreide); }
.plan__tag.ist-heute { color: var(--gelb); }
.plan__achse { position: relative; }
.plan__uhr { position: absolute; right: .5rem; transform: translateY(-50%); font-size: .74rem; color: var(--grau); }
.plan__spalte {
  position: relative; display: grid;
  grid-template-rows: repeat(var(--slots), minmax(0, 1fr));
  grid-template-columns: repeat(var(--bahnen), minmax(0, 1fr));
  gap: 2px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px calc(100% / var(--slots) * 4));
}
.plan__block { display: flex; flex-direction: column; gap: .05rem; min-width: 0; padding: .24rem .3rem; border-radius: 6px; overflow: hidden; line-height: 1.12; }
.plan__block strong { font: 700 .98rem/1.04 var(--schrift-titel); letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; }
.plan__block span { font-size: .74rem; }
.plan__spalte--eng .plan__block strong { font-size: .84rem; }
.plan__spalte--eng .plan__block span { display: none; }
.plan__block--senioren { background: var(--gelb); color: #000; }
.plan__block--damen { background: #fff; color: #000; }
.plan__block--altherren { background: #9b9c97; color: #000; }
.plan__block--jugend { background: rgba(0, 0, 0, .5); color: var(--gelb); box-shadow: inset 0 0 0 1px rgba(249, 226, 65, .6); }
.plan__block--extern { background-image: repeating-linear-gradient(135deg, transparent 0 7px, rgba(0, 0, 0, .14) 7px 14px); }
.plan__ort { font-size: .74rem; font-style: normal; }
.plan__legende { display: none; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; font-size: .86rem; }
.plan__legende span { display: inline-flex; align-items: center; gap: .4rem; }
.plan__legende span::before { content: ""; width: .8rem; height: .8rem; background: var(--gelb); }
.plan__legende .l-damen::before { background: #fff; }
.plan__legende .l-altherren::before { background: #9b9c97; }
.plan__legende .l-jugend::before { background: #000; box-shadow: inset 0 0 0 1px rgba(249, 226, 65, .7); }
.liste-tage { display: grid; gap: .1rem; }
.liste-tage__tag { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--linie); }
.liste-tage__name { font: 800 1.5rem/1.05 var(--schrift-titel); text-transform: uppercase; color: var(--kreide); }
.liste-tage__tag.ist-heute .liste-tage__name { color: var(--gelb); }
.liste-tage li { display: flex; justify-content: space-between; gap: .6rem; font-size: .95rem; padding: .08rem 0; }
.liste-tage__team { font-weight: 700; color: var(--weiss); }
.liste-tage__ort { display: block; font-size: .84rem; font-weight: 400; font-style: normal; color: var(--grau); }
.liste-tage li > span:last-child { white-space: nowrap; }
.liste-tage p { color: var(--grau); }
@media (min-width: 1040px) {
  .plan { display: grid; }
  .plan__legende { display: flex; }
  .liste-tage { display: none; }
}

/* ---------- Mitglied werden --------------------------------------------- */
.mitglied__raster { display: grid; gap: 1.2rem; }
.beitraege { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: .8rem; align-content: start; }
.beitrag { padding: 1.1rem 1.2rem; }
.beitrag__gruppe { font: 700 1.26rem/1.1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); overflow-wrap: anywhere; }
.beitrag__betrag { margin-top: .2rem; font: 800 3rem/1 var(--schrift-titel); color: var(--gelb); }
.beitrag__zeitraum { font-size: .9rem; }
.beitrag__hinweis { margin-top: .4rem; font-size: .88rem; line-height: 1.35; color: var(--grau); }
.schritte { counter-reset: s; display: grid; gap: .9rem; margin-bottom: 1.2rem; }
.schritte li { counter-increment: s; position: relative; padding-left: 2.6rem; }
.schritte li::before { content: counter(s); position: absolute; left: 0; top: -.05rem; font: 800 2.2rem/1 var(--schrift-titel); color: var(--gelb); }
.schritte strong { font: 700 1.3rem/1.1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.schritte p { font-size: .98rem; }
.antrag .knopf { white-space: normal; text-align: center; }
.antrag__hinweis { margin-top: .6rem; font-size: .88rem; color: var(--grau); }
@media (min-width: 900px) { .mitglied__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.schiri { padding-block: 0 var(--abstand); }
.schiri .titel { margin-bottom: .6rem; }
.schiri__raster { display: grid; gap: 1.2rem; align-items: center; }
.schiri__pfeife { width: clamp(5.4rem, 10vw, 8rem); height: auto; color: var(--gelb); }
.schiri__text { margin-bottom: 1rem; max-width: 62ch; }
.schiri__aktion .knopf { font-size: 1.02rem; text-transform: none; letter-spacing: .02em; overflow-wrap: anywhere; }
@media (min-width: 700px) { .schiri__raster { grid-template-columns: auto minmax(0, 1fr); gap: 2rem; } }

/* ---------- Jahnplatz --------------------------------------------------- */
.platz__raster { display: grid; gap: 1.6rem; align-items: start; }
.merkmale { display: grid; margin-top: .4rem; }
.merkmale li { display: grid; padding: .55rem 0; border-top: 1px solid var(--linie); }
.merkmale strong { font: 700 1.26rem/1.2 var(--schrift-titel); text-transform: uppercase; color: var(--gelb); }
.merkmale span { font-size: .98rem; }
.platz__adresse { margin-top: 1rem; color: var(--grau); font-size: .98rem; }
.platz__links { margin-top: 1rem; }
.platz__foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--glas-rand); border-radius: var(--eck); box-shadow: 0 12px 30px rgba(0, 0, 0, .34), 0 22px 44px -20px rgba(var(--licht), .42); }
@media (min-width: 900px) { .platz__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; } }

/* ---------- Vorstand, Kontakt ------------------------------------------- */
.personen { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .8rem; }
.person { padding: .9rem 1rem 1.1rem; }
.person__bild { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: .6rem; border-radius: 10px; }
.person__name { font: 700 1.3rem/1.15 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.person__amt { font-size: .94rem; color: var(--grau); }
@media (max-width: 599px) { .personen { grid-template-columns: repeat(2, minmax(0, 1fr)); } .person { padding: .7rem .7rem .9rem; } .person__name { font-size: 1.14rem; overflow-wrap: anywhere; } .person__amt { font-size: .84rem; overflow-wrap: anywhere; } }
.kontakt__raster { display: grid; gap: .8rem; }
.kontakt__raster h3 { margin-bottom: .5rem; font: 700 1.4rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.kontakt__mail { display: block; margin-bottom: .7rem; font: 700 clamp(1.1rem, 2vw, 1.4rem)/1.2 var(--schrift-titel); color: var(--gelb); overflow-wrap: anywhere; }
.kontakt__haupt p { margin-bottom: .5rem; font-size: .98rem; }
.kontakt__haupt a.tel, .kontakt__personen a { color: var(--gelb); }
.social { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.social:empty { display: none; }
.kontakt__personen li { padding: .4rem 0; border-top: 1px solid var(--linie); font-size: .98rem; }
.kontakt__personen li > span { display: block; font-size: .84rem; color: var(--grau); }
.kontakt__personen strong { color: var(--weiss); }
.kontakt__zeiten dl { display: grid; grid-template-columns: auto 1fr; gap: .1rem .8rem; }
.kontakt__zeiten dt { font-weight: 700; color: var(--weiss); }
.kontakt__zeiten p { margin-top: .6rem; font-size: .88rem; color: var(--grau); }
@media (min-width: 900px) { .kontakt__raster { grid-template-columns: 1.2fr 1fr 1fr; } }

/* ---------- Geschichte -------------------------------------------------- */
.zeitleiste { display: grid; }
.schicht { display: grid; gap: .1rem; padding: 1rem 0; }
.schicht + .schicht { border-top: 1px solid var(--linie); }
.schicht__jahr { font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--schrift-titel); color: var(--gelb); }
.schicht__text { max-width: 58ch; }
.schicht__text h3 { font: 700 1.36rem/1.15 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
@media (min-width: 700px) { .schicht { grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr); gap: 1.6rem; align-items: baseline; } }

/* ---------- Fuß ----------------------------------------------------------- */
.fuss { padding-block: 2rem; background: rgba(8, 9, 11, .6); -webkit-backdrop-filter: var(--unschaerfe); backdrop-filter: var(--unschaerfe); border-top: 1px solid rgba(var(--licht), .6); }
.fuss__raster { display: grid; gap: 1rem; }
.fuss__marke { display: flex; align-items: center; gap: .8rem; }
.fuss__marke picture { flex: none; }
.fuss__marke img { width: 56px; height: 56px; }
.fuss__marke strong { display: block; color: var(--weiss); }
.fuss__marke span { font-size: .92rem; color: var(--grau); }
.fuss__links { display: flex; gap: 1.2rem; }
.fuss__links a { display: inline-block; padding-block: .4rem; color: var(--gelb); }
.fuss__copy { font-size: .86rem; color: var(--grau); }
.fuss .social { margin-top: 0; }
@media (min-width: 800px) { .fuss__raster { grid-template-columns: 1fr auto; align-items: center; } .fuss__copy { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .fuss__raster { grid-template-columns: 1fr auto auto; gap: 1rem 1.6rem; } .fuss .social { grid-row: 1; grid-column: 2; } }

/* ---------- Bereichsseiten ------------------------------------------------ */
.seitenkopf { position: relative; display: flex; align-items: flex-end; min-height: 48vh; padding: calc(var(--kopf-hoehe) + 2.6rem) 0 2rem; }
.seitenkopf__bild { position: absolute; inset: 0; background: url("../img/hero-1400.webp") center 60% / cover; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.seitenkopf__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .86)); }
.seitenkopf .rahmen { position: relative; }
.seitenkopf__zurueck { display: inline-block; margin-bottom: .8rem; padding-block: .3rem; }
.seitenkopf__titel { font: 800 clamp(3.4rem, 10vw, 7rem)/.95 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.seitenkopf__text { max-width: 58ch; margin-top: .8rem; font-size: clamp(1.06rem, 1.4vw, 1.2rem); }
.sprungmarken { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.sprungmarken a { display: flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border: 1px solid var(--glas-rand); border-radius: 2px; background: var(--glas); -webkit-backdrop-filter: var(--unschaerfe); backdrop-filter: var(--unschaerfe); font-size: .92rem; font-weight: 600; text-decoration: none; }
.sprungmarken a:hover { background: var(--gelb); color: #000; }
.gruppe { scroll-margin-top: calc(var(--kopf-hoehe) + 1.8rem); }
.gruppe + .gruppe { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.gruppe--sg { position: relative; }
.gruppe__wasserzeichen { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; width: clamp(10rem, 22vw, 18rem); height: auto; opacity: .1; filter: grayscale(1); pointer-events: none; }
.gruppe__titel { margin-bottom: .9rem; font: 800 clamp(2.2rem, 4.6vw, 3.4rem)/1 var(--schrift-titel); text-transform: uppercase; color: var(--gelb); }
.gruppe__teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: .8rem; }
.team { scroll-margin-top: calc(var(--kopf-hoehe) + 1.8rem); }
.team:target { box-shadow: 0 0 0 2px var(--gelb); }
.team__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .8rem; }
.team__sg-logo { width: 56px; height: 56px; }
.team__name { font: 800 2rem/1 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.team__liga { font-size: .92rem; font-weight: 600; color: var(--gelb); }
.team__sg-text { width: 100%; font-size: .96rem; }
.team__personen { margin-top: .7rem; }
.team__personen li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .8rem; padding: .28rem 0; border-top: 1px solid var(--linie); }
.team__personen strong { color: var(--weiss); }
.team__personen span { font-size: .9rem; color: var(--grau); }
.team__zeiten { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .7rem; }
.team__zeiten li { padding: .16rem .6rem; border-radius: 2px; background: rgba(0, 0, 0, .35); font-size: .9rem; }
.team__zeiten b { margin-right: .4rem; color: var(--gelb); }
.team__ort { display: block; color: var(--grau); font-size: .84rem; }
.team__link { display: inline-block; margin-top: .8rem; padding-block: .2rem; font-size: .94rem; }
.team__hinweis { margin-top: .6rem; color: var(--grau); }
.bereich-spiele .folge__liste { display: grid; gap: 0 2rem; }
@media (min-width: 900px) { .bereich-spiele .folge__liste { grid-template-columns: 1fr 1fr; } }
.bereich-kontakt__raster { display: grid; gap: 1.2rem; align-items: start; }
.bereich-kontakt__intro { max-width: 50ch; }
.bereich-kontakt__weiter { margin-top: .7rem; }
.bereich-kontakt__thema { font-size: .92rem; font-weight: 600; color: var(--gelb); }
.bereich-kontakt__name { font: 800 clamp(2rem, 4vw, 2.8rem)/1.05 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.bereich-kontakt__aktion { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.quer { padding-block: 0 2.4rem; }
.quer__link { display: inline-block; font: 800 clamp(2rem, 5vw, 3.2rem)/1.1 var(--schrift-titel); text-transform: uppercase; color: var(--gelb); text-decoration: none; }
.quer__link::after { content: " →"; }
.quer__link:hover { color: var(--weiss); }
@media (min-width: 900px) { .bereich-kontakt__raster { grid-template-columns: 1fr 1fr; } }

/* ---------- Rechtstexte --------------------------------------------------- */
.recht { padding-block: calc(var(--kopf-hoehe) + 2rem) 3rem; }
.recht .zurueck { display: inline-block; padding-block: .3rem; }
.recht .titel { margin-block: .6rem 1.4rem; }
.recht__text { max-width: 74ch; }
.recht__text h2 { margin-block: 1.8rem .5rem; font: 700 1.8rem/1.1 var(--schrift-titel); text-transform: uppercase; color: var(--gelb); }
.recht__text h3 { margin-block: 1.1rem .3rem; font: 700 1.3rem/1.15 var(--schrift-titel); text-transform: uppercase; color: var(--weiss); }
.recht__text p, .recht__text ul { margin-bottom: .7rem; }
.recht__text ul { list-style: disc; padding-left: 1.2rem; }
.recht__text a { color: var(--gelb); overflow-wrap: anywhere; }
.recht__stand { color: var(--grau); font-size: .9rem; }

/* ---------- Handy und kleine Tablets --------------------------------------- */
@media (max-width: 899px) {
  /* Die Leiste liegt bündig oben, sonst schaut Text durch die Lücke darüber */
  :root { --kopf-hoehe: 3.7rem; --kopf-abstand: 0rem; --eck: 14px; }
  .kopf { inset: 0 0 auto; max-width: none; }
  .kopf::before { border-width: 0 0 1px; border-radius: 0; background: rgba(8, 9, 11, .84); }
  .kopf.ist-gescrollt::before { background: rgba(8, 9, 11, .92); }
  .kopf__innen { gap: .6rem; padding-inline: var(--rand); }
  .marke { min-width: 0; min-height: 44px; flex: 0 1 auto; }
  .marke img { width: 38px; height: 38px; }
  .marke__name { overflow: hidden; font-size: clamp(1rem, 4.7vw, 1.24rem); white-space: nowrap; text-overflow: ellipsis; }
  .menue-knopf { flex: none; }
}
@media (max-width: 400px) {
  /* Auf schmalen Handys reicht das Zeichen, das Wort bleibt für Vorlese-Programme */
  .menue-knopf { padding-inline: .7rem; }
  .menue-knopf__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .folge__liste li { grid-template-columns: 4.9rem minmax(0, 1fr); gap: .5rem; }
}
/* Handy quer: wenig Höhe */
@media (max-height: 500px) {
  .start { min-height: 0; }
  .start__wappen img { width: 72px; margin-bottom: .6rem; }
}
/* Tablets mit großem Bildschirm zeigen das Menü in der Leiste, auch das muss gut zu treffen sein */
@media (min-width: 1180px) and (pointer: coarse) {
  .navigation a { padding-block: .85rem; }
  .navigation .navigation__social a { width: 44px; min-height: 44px; padding: 0; }
}

/* ---------- Finger: Links brauchen genug Fläche ---------------------------- */
@media (pointer: coarse) {
  .textlink, .kontakt__mail, .kontakt__haupt a.tel, .kontakt__personen a, .fuss__links a, .seitenkopf__zurueck, .recht .zurueck, .team__link {
    display: inline-block; padding-block: .6rem;
  }
  .kontakt__mail { display: block; }
  .quer__link { padding-block: .5rem; }
  .recht__text a { display: inline-block; padding-block: .35rem; }
}

/* ---------- Ohne Glas: Browser ohne Unschärfe oder Wunsch nach weniger Transparenz ---- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tafel, .recht__text { background: var(--tafel); }
  .kopf::before, .navigation, .fuss { background: rgba(8, 9, 11, .96); }
}
@media (prefers-reduced-transparency: reduce) {
  .tafel, .recht__text { background: var(--tafel); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .kopf::before, .navigation, .fuss { background: #08090b; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Bewegung reduzieren ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .auf { opacity: 1; }
}
