/* ===========================================================================
   DFGP – Dartfreunde Geisling-Pfatter e.V.
   Zentrales Stylesheet (Plain CSS, kein Framework)
   ---------------------------------------------------------------------------
   Aufbau:
     1. Design-Tokens
     2. Reset & Grundlagen
     3. Hilfsklassen (Container, Buttons, Labels)
     4. Kopfbereich & Navigation
     5. Hero
     6. Abschnitte (Bänder), Karten, Fakten
     7. Anfahrt & Karte
     8. Abschluss-CTA
     9. Fußbereich
    10. Rechtsseiten (Impressum, Datenschutz)
    11. Bewegung & Scroll-Effekte
    12. Responsive
    13. Reduzierte Bewegung & Druck
   =========================================================================== */

/* ===========================================================================
   1. DESIGN-TOKENS
   Farbschema: strenges Schwarz-Weiß. Die Abschnittsbänder setzen die
   semantischen Tokens (--bg, --fg, --flaeche, --linie …) lokal neu und
   wechseln so zwischen dunklen und hellen Abschnitten.
   =========================================================================== */
:root {
    /* Reine Farbwerte */
    --schwarz:      #0d0d0d;
    --schwarz-2:    #121212;
    --schwarz-3:    #1a1a1a;
    --weiss:        #ffffff;
    --papier:       #f4f4f4;
    --linie-hell:   #e0e0e0;

    /* Semantische Tokens – Grundzustand ist die dunkle Variante */
    --bg:           var(--schwarz);
    --fg:           var(--weiss);      /* Überschriften, wichtiger Text */
    --fg-text:      #dcdcdc;           /* Fließtext */
    --fg-leise:     #a8a8a8;           /* Sekundärtext */
    --flaeche:      var(--schwarz-3);  /* Kartenflächen */
    --linie:        #2b2b2b;           /* Rahmen */
    --linie-hover:  #4d4d4d;

    /* Typografie */
    --schrift: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Helvetica, Arial, sans-serif;
    --t-h1:    clamp(2.3rem, 6vw, 4.6rem);
    --t-h2:    clamp(1.7rem, 3.3vw, 2.7rem);
    --t-h3:    clamp(1.12rem, 1.5vw, 1.4rem);
    --t-lead:  clamp(1.02rem, 1.4vw, 1.18rem);

    /* Maße */
    --inhalt:      1200px;
    --rand:        clamp(1rem, 4vw, 1.5rem);
    --abstand:     clamp(4rem, 8vw, 7.5rem);   /* vertikaler Abschnittsabstand */
    --radius:      16px;
    --radius-gross:22px;
    --kopf-hoehe:  88px;
}

/* Helle Bänder */
.band--hell,
.band--weiss {
    --fg:          var(--schwarz);
    --fg-text:     #1c1c1c;
    --fg-leise:    #5a5a5a;
    --linie:       var(--linie-hell);
    --linie-hover: #bdbdbd;
}
.band--hell  { --bg: var(--papier);  --flaeche: var(--weiss); }
.band--weiss { --bg: var(--weiss);   --flaeche: var(--papier); }

/* ===========================================================================
   2. RESET & GRUNDLAGEN
   =========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
    scroll-behavior: smooth;
    /* Sticky-Header bei Sprungmarken nicht überdecken */
    scroll-padding-top: calc(var(--kopf-hoehe) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--schwarz);
    color: var(--fg);
    font-family: var(--schrift);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.nav-offen { overflow: hidden; }   /* Scrollsperre bei offenem Mobilmenü */

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }

ul, ol { padding-left: 0; }

/* Sichtbarer Fokus für Tastaturnutzung */
:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===========================================================================
   3. HILFSKLASSEN
   =========================================================================== */
.container {
    width: 100%;
    max-width: var(--inhalt);
    margin-inline: auto;
    padding-inline: var(--rand);
}

.visuell-versteckt {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 0;
    left: -9999px;
    z-index: 200;
    padding: .8rem 1.3rem;
    background: var(--weiss);
    color: var(--schwarz);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.marke-klein {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--fg-leise);
}

/* --- Schaltflächen ------------------------------------------------------- */
.knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease,
                border-color .2s ease, transform .2s ease;
}
.knopf:hover { transform: translateY(-1px); }
.knopf:active { transform: translateY(0); }

.knopf--hell        { background: var(--weiss); color: var(--schwarz); }
.knopf--hell:hover  { background: var(--schwarz); color: var(--weiss);
                      border-color: var(--weiss); }

.knopf--dunkel        { background: var(--schwarz); color: var(--weiss); }
.knopf--dunkel:hover  { background: #2e2e2e; }

.knopf--rand          { border-color: rgba(255,255,255,.45); color: var(--weiss); }
.knopf--rand:hover    { border-color: var(--weiss); background: rgba(255,255,255,.08); }

.knopf--rand-dunkel       { border-color: rgba(13,13,13,.35); color: var(--schwarz); }
.knopf--rand-dunkel:hover { border-color: var(--schwarz); background: rgba(13,13,13,.05); }

.knopf--klein { padding: .68rem 1.2rem; font-size: .88rem; }

/* --- Listen mit Strichmarkern ------------------------------------------- */
.punkte { list-style: none; display: grid; gap: .6rem; margin-top: 1.25rem; }
.punkte li {
    position: relative;
    padding-left: 1.7rem;
    color: var(--fg-text);
    font-size: .96rem;
    line-height: 1.55;
}
.punkte li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .72em;
    width: .8rem;
    height: 2px;
    background: var(--fg);
}
.punkte--klein { font-size: .9rem; gap: .45rem; margin-top: 1rem; }

/* ===========================================================================
   4. KOPFBEREICH & NAVIGATION
   =========================================================================== */
.kopf {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,13,13,.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background-color .25s ease;
}
.kopf.ist-gescrollt {
    background: rgba(13,13,13,.96);
    border-bottom-color: #262626;
}

.kopf__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--kopf-hoehe);
}

/* --- Marke (Logo + Wortmarke) ------------------------------------------- */
.marke {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: var(--weiss);
    text-decoration: none;
    flex-shrink: 0;
}
.marke__logo {
    /* Das Logo ist quadratisch angelegt (232 × 180) und bringt einen
       schwarzen Hintergrund mit – es fügt sich also nahtlos in die
       dunkle Kopfzeile ein. Nur die Größe bestimmt, wie präsent es wirkt. */
    width: auto;
    height: 64px;
    /* Erzwingt den Schwarz-Weiß-Look, auch wenn das Logo farbig ist.
       Soll das Logo farbig erscheinen, die grayscale-Angabe entfernen. */
    filter: grayscale(1) brightness(1.08) contrast(1.05);
}
.marke__monogramm {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.marke__text { display: flex; flex-direction: column; line-height: 1.15; }
.marke__text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: .03em; }
.marke__text small {
    font-size: .68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #9d9d9d;
}

/* --- Navigation --------------------------------------------------------- */
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__liste {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    list-style: none;
}
/* Die Schaltfläche darf nicht mitschrumpfen, sonst bricht der Text um. */
.nav__cta { flex-shrink: 0; white-space: nowrap; }
.nav__link {
    position: relative;
    display: inline-block;
    padding-block: .35rem;
    color: #c9c9c9;
    font-size: .93rem;
    white-space: nowrap;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease;
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--weiss);
    transition: width .25s ease;
}
.nav__link:hover { color: var(--weiss); }
.nav__link:hover::after,
.nav__link.ist-aktiv::after { width: 100%; }
.nav__link.ist-aktiv { color: var(--weiss); }

/* --- Umschalter (nur mobil sichtbar) ------------------------------------ */
.nav-schalter {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 12px;
    cursor: pointer;
}
.nav-schalter__balken {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--weiss);
    transition: transform .25s ease, opacity .2s ease;
}
.nav-schalter[aria-expanded="true"] .nav-schalter__balken:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-schalter[aria-expanded="true"] .nav-schalter__balken:nth-child(2) { opacity: 0; }
.nav-schalter[aria-expanded="true"] .nav-schalter__balken:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================================================================
   5. HERO
   =========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--schwarz);
    padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
}
.hero::before {
    /* Dezenter Lichtschein hinter der Überschrift */
    content: '';
    position: absolute;
    inset: -20% -30% auto -10%;
    height: 120%;
    background: radial-gradient(circle at 72% 34%, rgba(255,255,255,.075), transparent 58%);
    pointer-events: none;
}
/* Kopfbild (optional)
   Wird nur gesetzt, wenn im Ordner "bilder/" eine Datei "hero.*" liegt.
   Das Foto liegt in einer eigenen Ebene unter dem Text. Darüber liegt ein
   fester Abdunklungsverlauf – nicht bloß eine Transparenz. So hängt die
   Lesbarkeit der Überschrift nicht davon ab, wie hell das Foto gerade ist. */
.hero--bild {
    background-color: var(--schwarz);
}
.hero--bild::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        /* Links steht der Text und wird stark abgedunkelt, nach rechts hin
           wird das Foto sichtbar. */
        linear-gradient(90deg,
            rgba(13,13,13,.88) 0%,
            rgba(13,13,13,.78) 40%,
            rgba(13,13,13,.52) 70%,
            rgba(13,13,13,.38) 100%),
        linear-gradient(180deg,
            rgba(13,13,13,.25) 0%,
            rgba(13,13,13,.38) 60%,
            rgba(13,13,13,.50) 100%),
        var(--hero-bild);
    background-size: cover;
    /* Drei Ebenen, drei Positionen. Das Foto sitzt auf 28 % Höhe, weil die
       Gesichter im oberen Drittel liegen – mittig zentriert schneidet
       "cover" sie auf breiten Bildschirmen ab. */
    background-position: center, center, center 28%;
    filter: grayscale(1) contrast(1.05);
    pointer-events: none;
}
/* Der Lichtschein darf beim Kopfbild über dem Foto liegen. */
.hero--bild::before { z-index: 1; }

.hero__muster {
    position: absolute;
    top: 50%;
    right: -14%;
    width: min(660px, 78vw);
    transform: translateY(-50%);
    color: var(--weiss);
    opacity: .07;
    pointer-events: none;
    z-index: 1;
}
.dartbrett__ringe circle { fill: none; stroke-width: 1.4; }
.dartbrett__speichen line { stroke-width: 1; }
.dartbrett__bull { stroke: none; fill: currentColor; }

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
}
.hero__text { min-width: 0; }

.hero__titel {
    margin-top: 1.1rem;
    font-size: var(--t-h1);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.025em;
}
.hero__titel-akzent {
    /* "GAME ON!" erscheint als konturierte Schrift.
       Grundzustand ist gefüllter Text – die Kontur wird nur gesetzt, wenn der
       Browser sie beherrscht. So ist die Zeile in keinem Fall unsichtbar. */
    color: var(--weiss);
    letter-spacing: .01em;
}
@supports ((-webkit-text-stroke: 1px white) or (text-stroke: 1px white)) {
    .hero__titel-akzent {
        color: transparent;
        -webkit-text-stroke: 2px var(--weiss);
    }
}

.hero__lead {
    margin-top: 1.5rem;
    max-width: 56ch;
    color: var(--fg-leise);
    font-size: var(--t-lead);
    line-height: 1.7;
}

.hero__aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2.25rem;
}

/* Kennzahlen-Kasten */
.kennzahlen {
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    background: rgba(26,26,26,.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 1.6rem 1.75rem;
}
.kennzahlen__kopf {
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--fg-leise);
}
.kennzahlen__liste { margin-top: 1rem; }
.kennzahlen__zeile {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .95rem;
    border-top: 1px solid var(--linie);
}
.kennzahlen__zeile:first-child { border-top: 0; }
.kennzahlen__zeile dt { color: var(--fg-leise); font-size: .92rem; }
.kennzahlen__zeile dd {
    color: var(--weiss);
    font-size: 1.35rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: right;
}
.kennzahlen__fuss {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--linie);
    font-size: .85rem;
    line-height: 1.55;
    color: var(--fg-leise);
}
.kennzahlen__fuss a { color: var(--weiss); text-underline-offset: .18em; }

/* ===========================================================================
   6. ABSCHNITTE, KARTEN, FAKTEN
   =========================================================================== */
.band {
    padding-block: var(--abstand);
    background: var(--bg);
    color: var(--fg);
}
.band--dunkel { --bg: var(--schwarz); }

.abschnitt__kopf { max-width: 66ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.abschnitt__titel {
    margin-top: .8rem;
    font-size: var(--t-h2);
    font-weight: 800;
    letter-spacing: -.02em;
}
.abschnitt__lead {
    margin-top: 1.1rem;
    color: var(--fg-leise);
    font-size: var(--t-lead);
    line-height: 1.7;
}
.abschnitt__lead code,
.prosa code {
    padding: .12em .4em;
    border: 1px solid var(--linie);
    border-radius: 5px;
    font-size: .88em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* --- Kartenraster ------------------------------------------------------- */
.karten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: clamp(1.25rem, 2vw, 2.1rem);
    list-style: none;
}
/* Mannschaften und Mitgliedschaftsmodelle: drei feste Spalten auf Desktop */
@media (min-width: 1000px) {
    .karten--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Die Mannschaftskarten bekommen deutlich mehr Abstand zueinander. */
.karten--luftig { gap: clamp(1.5rem, 3vw, 2.75rem); }
.karte { display: flex; }
.karte__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1.6rem;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    transition: transform .25s ease, border-color .25s ease;
}
.karte:hover .karte__inner {
    transform: translateY(-3px);
    border-color: var(--linie-hover);
}
.karte__titel { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.01em; }
.karte__text { color: var(--fg-leise); font-size: .96rem; line-height: 1.6; }
.karte__liga {
    font-size: .84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fg-leise);
}
.karte__preis { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.karte__preis-zusatz { font-size: .82rem; font-weight: 500; color: var(--fg-leise); }

/* Mitgliedschaft: eine Karte über die volle Breite */
.karte--breit { width: 100%; }
.karte--breit .karte__inner { padding: clamp(1.6rem, 3vw, 2.4rem); gap: 1rem; }

/* Zwei Blöcke: erst was für alle gilt, darunter die zwei Formen.
   Beide bekommen eine Trennlinie zur vorherigen Zeile. */
.karte--breit .modellgruppe,
.karte--breit .modellgruppen {
    padding-top: 1.5rem;
    border-top: 1px solid var(--linie);
}
.modellgruppen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
/* Die zwei Formen stehen nebeneinander – ohne eigene Trennlinie. */
.karte--breit .modellgruppen .modellgruppe {
    padding-top: 0;
    border-top: 0;
}
.modellgruppe__titel {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: .5rem;
}
.modellgruppe .punkte { margin-top: .8rem; }
.modellgruppe__beitrag {
    margin-top: .9rem;
    font-size: .93rem;
    font-weight: 700;
    color: var(--fg);
}
/* Die gemeinsamen Leistungen laufen auf breiten Bildschirmen mehrspaltig.
   Die Mindestbreite hält die Zeilen lang genug, dass sie nicht zerhackt
   umbrechen. */
.punkte--zwei {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: .5rem 2rem;
    align-content: start;
}
.karte__preis-zusatz { font-size: .82rem; font-weight: 500; color: var(--fg-leise); }

.karte__nummer {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.4px var(--fg-leise);
    opacity: .55;
}

.karte__link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--fg);
    font-size: .93rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--linie);
    transition: border-color .2s ease, gap .2s ease;
}
.karte__link:hover { border-color: var(--fg); gap: .7rem; }
/* Der Link sitzt in jeder Karte am unteren Rand – auch wenn Titel
   unterschiedlich lang umbrechen. */
.karte--team .karte__link,
.karte--modell .karte__link { margin-top: auto; }

/* --- Zweispaltiger Textblock mit Fakten --------------------------------- */
.zweispaltig {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(2rem, 4.5vw, 4rem);
    align-items: start;
}
.fliesstext {
    margin-top: 1.15rem;
    max-width: 70ch;
    color: var(--fg-text);
    line-height: 1.78;
}
.fliesstext--klein { font-size: .9rem; color: var(--fg-leise); }

/* Logo im Abschnitt "Über uns" (ersetzt dort den Zahlenkasten).
   logo.png bringt einen eigenen, fast schwarzen Hintergrund mit und hat
   keine Transparenz. Es wird deshalb ohne eigene Fläche gezeigt: Der
   schwarze Bildgrund ist die Fläche, die abgerundeten Ecken kommen vom
   Bild selbst. Ein zusätzlicher Rahmen würde nur doppelt wirken. */
.markenbild {
    display: grid;
    place-items: center;
    align-self: center;
}
.markenbild__logo {
    display: block;
    width: min(100%, 320px);
    height: auto;
    border-radius: var(--radius-gross);
}
.markenbild__monogramm {
    display: grid;
    place-items: center;
    width: 220px;
    height: 220px;
    background: var(--schwarz);
    border-radius: var(--radius-gross);
    color: var(--weiss);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: .04em;
}

/* --- Hinweiskasten ------------------------------------------------------ */
.hinweiskasten {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
}
.hinweiskasten--hell { background: var(--weiss); }
.hinweiskasten__text { max-width: 62ch; }
.hinweiskasten__text h3 { font-size: 1.2rem; font-weight: 700; }
.hinweiskasten__text p {
    margin-top: .6rem;
    color: var(--fg-text);
    line-height: 1.68;
}
.hinweiskasten__text a { color: inherit; text-underline-offset: .18em; }

/* ===========================================================================
   7. ANFAHRT & KARTE
   =========================================================================== */
.anfahrt {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: stretch;
}
.anfahrt__daten { display: grid; gap: 1.25rem; align-content: start; }

.datenblock {
    padding: 1.5rem;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
}
.datenblock__titel {
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--fg-leise);
}
.datenblock__wert { margin-top: .8rem; line-height: 1.7; }
.datenblock__wert a { color: var(--fg); text-underline-offset: .18em; }
.datenblock__aktionen { margin-top: 1.1rem; }

.zeiten { list-style: none; margin-top: .8rem; }
.zeiten__eintrag {
    display: grid;
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: .15rem .8rem;
    padding-block: .7rem;
    border-top: 1px solid var(--linie);
}
.zeiten__eintrag:first-child { border-top: 0; padding-top: 0; }
.zeiten__tag { font-weight: 700; }
.zeiten__zeit { font-weight: 600; }
.zeiten__hinweis {
    grid-column: 2;
    font-size: .85rem;
    color: var(--fg-leise);
}

/* Externe Inhalte mit Zwei-Klick-Lösung (Karte und Facebook-Feed) */
.embed {
    position: relative;
    display: grid;
    place-items: center;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    overflow: hidden;
}
.embed::before {
    /* Angedeutetes Raster im Platzhalter */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--linie) 1px, transparent 1px),
        linear-gradient(90deg, var(--linie) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: .55;
    pointer-events: none;
}
.embed.ist-geladen::before { display: none; }

.embed--karte { min-height: 430px; }

.embed--feed {
    /* Feste Maße, weil das Facebook-Plugin keine flexible Höhe kennt. */
    width: 100%;
    max-width: 520px;
    min-height: 340px;
}

.embed__platzhalter {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}
.embed__text { color: var(--fg-leise); line-height: 1.65; }
.embed__text strong { color: var(--fg); }
.embed__hinweis {
    max-width: 42ch;
    font-size: .78rem;
    color: var(--fg-leise);
    opacity: .85;
}

/* Karte füllt ihren Behälter aus ... */
.embed--karte iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* ... der Facebook-Feed behält seine vorgegebenen Pixelmaße. */
.embed--feed iframe {
    display: block;
    max-width: 100%;
    border: 0;
}

/* --- Facebook-Feed im Abschnitt "Über uns" ------------------------------ */
.feed {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--linie);
}
.feed__kopf { max-width: 52ch; }
.feed__titel {
    margin-top: .5rem;
    font-size: var(--t-h3);
    font-weight: 800;
    letter-spacing: -.015em;
}
.feed__text {
    margin-top: .9rem;
    color: var(--fg-leise);
    font-size: var(--t-lead);
    line-height: 1.7;
}
.feed__fuss {
    grid-column: 1 / -1;
    font-size: .88rem;
    color: var(--fg-leise);
}
.feed__fuss a { color: var(--fg); text-underline-offset: .18em; }

@media (max-width: 900px) {
    .feed { grid-template-columns: minmax(0, 1fr); }
}

/* --- Mannschaftsdaten in den Liga-Karten -------------------------------- */
.teamdaten {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid var(--linie);
    display: grid;
    gap: .55rem;
}
/* Bezeichnung und Wert stehen untereinander. Nebeneinander passte die lange
   Bezeichnung nicht in die Karte und der Name lief über den Rand hinaus. */
.teamdaten__zeile {
    display: grid;
    gap: .2rem;
}
.teamdaten__zeile dt {
    font-size: .74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fg-leise);
}
.teamdaten__zeile dd { font-weight: 700; }

/* ===========================================================================
   8. GALERIE
   Der Abschnitt erscheint nur, wenn im Ordner "bilder/galerie/" Bilder liegen.
   =========================================================================== */
.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
    list-style: none;
}
.galerie__eintrag { display: flex; }

.galerie__link {
    display: block;
    flex: 1;
    overflow: hidden;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--flaeche);
    transition: border-color .25s ease, transform .25s ease;
}
.galerie__link:hover,
.galerie__link:focus-visible {
    border-color: var(--linie-hover);
    transform: translateY(-4px);
}

.galerie__bild {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: filter .35s ease, transform .35s ease;
}

/* Die Fotos bleiben in Farbe – der Schwarz-Weiß-Look gilt nur für die
   Gestaltung (Rahmen, Typografie), nicht für den Bildinhalt. */
.galerie__link:hover .galerie__bild,
.galerie__link:focus-visible .galerie__bild {
    transform: scale(1.03);
}

/* ===========================================================================
   9. ABSCHLUSS-CTA
   =========================================================================== */
.cta {
    display: grid;
    justify-items: center;
    gap: 1.25rem;
    max-width: 74ch;
    margin-inline: auto;
    text-align: center;
}
.cta__titel { font-size: var(--t-h2); font-weight: 900; letter-spacing: -.02em; }
.cta__text { color: var(--fg-leise); font-size: var(--t-lead); line-height: 1.65; }
.cta__aktionen {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    margin-top: .5rem;
}

/* ===========================================================================
   10. FUSSBEREICH
   =========================================================================== */
.fuss {
    padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
    background: var(--schwarz);
    border-top: 1px solid #242424;
    color: var(--weiss);
}
.fuss__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}
/* min-width verhindert, dass lange E-Mail-Adressen die Spalte sprengen */
.fuss__spalte { min-width: 0; }
.fuss__logo {
    display: block;
    width: auto;
    height: 96px;
    margin-bottom: 1rem;
    /* Wie in der Kopfzeile: monochrom und etwas heller gezeichnet. */
    filter: grayscale(1) brightness(1.08) contrast(1.05);
}
.fuss__marke { font-size: 1.55rem; font-weight: 900; letter-spacing: .05em; }
.fuss__claim {
    margin-top: .3rem;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: #9d9d9d;
}
.fuss__text {
    margin-top: 1.1rem;
    max-width: 40ch;
    color: var(--fg-leise);
    font-size: .92rem;
    line-height: 1.68;
}
.fuss__social {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.25rem;
    padding-bottom: .25rem;
    border-bottom: 1px solid #3a3a3a;
    color: var(--weiss);
    font-size: .9rem;
    text-decoration: none;
    transition: border-color .2s ease;
}
.fuss__social:hover { border-color: var(--weiss); }

.fuss__titel {
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #9d9d9d;
}
.fuss__liste {
    display: grid;
    gap: .6rem;
    margin-top: 1rem;
    list-style: none;
    font-size: .93rem;
}
.fuss__liste a {
    color: #e2e2e2;
    text-decoration: none;
    transition: color .2s ease;
}
.fuss__liste a:hover { color: var(--weiss); text-decoration: underline; }
.fuss__adresse { color: var(--fg-leise); line-height: 1.65; }

.fuss__schluss {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem 2rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #242424;
    color: var(--fg-leise);
    font-size: .85rem;
}
.fuss__hinweis { max-width: 62ch; }

/* Zurück-nach-oben */
.nach-oben {
    position: fixed;
    right: clamp(1rem, 3vw, 1.5rem);
    bottom: clamp(1rem, 3vw, 1.5rem);
    z-index: 90;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--weiss);
    color: var(--schwarz);
    border-radius: 50%;
    box-shadow: 0 8px 26px rgba(0,0,0,.4);
    transition: background-color .2s ease, transform .2s ease;
}
.nach-oben:hover { background: #dedede; transform: translateY(-2px); }
.nach-oben[hidden] { display: none; }

/* ===========================================================================
   11. RECHTSSEITEN (Impressum, Datenschutz)
   =========================================================================== */
.rechtsseite { padding-block: clamp(3rem, 6vw, 5rem); }
.rechtsseite__inner { max-width: 78ch; }
.rechtsseite__titel {
    margin-top: .6rem;
    font-size: clamp(1.95rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.02em;
}
.rechtsseite__lead {
    margin-top: 1.1rem;
    color: var(--fg-leise);
    font-size: var(--t-lead);
    line-height: 1.68;
}

.inhaltsverzeichnis {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
}
.inhaltsverzeichnis__titel {
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--fg-leise);
}
.inhaltsverzeichnis ol {
    margin-top: 1rem;
    padding-left: 1.3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem 2rem;
}
.inhaltsverzeichnis a {
    color: var(--fg);
    font-size: .93rem;
    text-decoration: none;
    border-bottom: 1px solid var(--linie);
}
.inhaltsverzeichnis a:hover { border-color: var(--fg); }

.prosa { margin-top: 2.5rem; max-width: 76ch; }
.prosa h2 {
    margin-top: 2.9rem;
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -.01em;
    scroll-margin-top: calc(var(--kopf-hoehe) + 1.5rem);
}
.prosa h2:first-child { margin-top: 0; }
/* Unterüberschriften innerhalb eines Haftungsabschnitts (z. B. Impressum) */
.prosa h3 {
    margin-top: 1.9rem;
    font-size: 1.02rem;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -.005em;
    scroll-margin-top: calc(var(--kopf-hoehe) + 1.5rem);
}
.prosa p {
    margin-top: .95rem;
    color: var(--fg-text);
    line-height: 1.78;
}
.prosa__liste {
    display: grid;
    gap: .5rem;
    margin-top: .95rem;
    padding-left: 1.35rem;
    color: var(--fg-text);
    line-height: 1.72;
}
.prosa a { color: inherit; text-underline-offset: .18em; }
.prosa a:hover { color: var(--fg); }
.prosa__hinweis {
    padding-left: 1.1rem;
    border-left: 2px solid var(--fg);
    color: var(--fg-leise);
    font-size: .93rem;
}
.prosa__stand {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--linie);
    font-size: .88rem;
    color: var(--fg-leise);
}

/* ===========================================================================
   12. BEWEGUNG & SCROLL-EFFEKTE
   Die Einblend-Animation greift nur, wenn JavaScript aktiv ist
   (html.js) – ohne JS bleibt der Inhalt vollständig sichtbar.
   =========================================================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(16px);
}
.js .reveal.ist-sichtbar {
    opacity: 1;
    transform: none;
    transition: opacity .6s cubic-bezier(.22,.61,.36,1),
                transform .6s cubic-bezier(.22,.61,.36,1);
}

/* ===========================================================================
   13. RESPONSIVE
   =========================================================================== */
@media (max-width: 1100px) {
    /* Die Wortmarke weicht, damit die Menüpunkte einzeilig bleiben.
       Das Logo allein kennzeichnet den Verein weiterhin eindeutig. */
    .marke__text { display: none; }
}

@media (max-width: 1080px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr); }
    /* Einspaltig steht der Text über die volle Breite – der Verlauf nach
       rechts greift nicht mehr, deshalb hier gleichmäßig abdunkeln. */
    .hero--bild::after {
        background-image:
            linear-gradient(180deg,
                rgba(13,13,13,.82) 0%,
                rgba(13,13,13,.88) 50%,
                rgba(13,13,13,.92) 100%),
            var(--hero-bild);
        background-position: center, center 28%;
    }
    .hero__muster { opacity: .05; right: -30%; }
    .kennzahlen { max-width: 460px; }
    .zweispaltig { grid-template-columns: minmax(0, 1fr); }
    .anfahrt { grid-template-columns: minmax(0, 1fr); }
    .embed--karte { min-height: 360px; }
    .fuss__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    /* Umschalter einblenden, Navigation als Panel */
    .nav-schalter { display: flex; }

    .nav {
        position: fixed;
        inset-inline: 0;
        top: var(--kopf-hoehe);
        z-index: 99;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100dvh - var(--kopf-hoehe));
        overflow-y: auto;
        padding: 1rem var(--rand) 2rem;
        background: rgba(18,18,18,.985);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid #2b2b2b;

        /* Zustand "geschlossen" */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
    }
    .nav.ist-offen {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__punkt { border-bottom: 1px solid #262626; }
    .nav__link {
        display: block;
        padding-block: 1.05rem;
        font-size: 1.08rem;
        font-weight: 600;
        color: var(--weiss);
    }
    .nav__link::after { display: none; }
    .nav__cta { margin-top: 1.5rem; }

    .marke__text small { display: none; }
}

@media (max-width: 640px) {
    :root { --kopf-hoehe: 76px; }

    .marke__logo { height: 46px; }
    .marke__monogramm { width: 46px; height: 46px; }
    .marke__text strong { font-size: 1rem; }
    .fuss__logo { height: 72px; }

    .kennzahlen { padding: 1.35rem; }
    .karte__inner { padding: 1.35rem; }
    .inhaltsverzeichnis ol { grid-template-columns: minmax(0, 1fr); }
    .fuss__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .fuss__schluss { margin-top: 2.25rem; }
    .hero__aktionen .knopf { flex: 1 1 100%; }
    .cta__aktionen { width: 100%; }
    .cta__aktionen .knopf { flex: 1 1 100%; }
    .embed--karte { min-height: 300px; }
    .zeiten__eintrag { grid-template-columns: minmax(0, 1fr); }
    .zeiten__hinweis { grid-column: 1; }
}

/* ===========================================================================
   14. REDUZIERTE BEWEGUNG & DRUCK
   =========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
    .knopf:hover,
    .karte:hover .karte__inner,
    .nach-oben:hover { transform: none; }
}

@media print {
    /* Bedienelemente und Einbettungen gehören nicht aufs Papier. */
    .kopf, .fuss, .nach-oben, .embed, .hero__muster { display: none; }
    body { background: #fff; color: #000; }
    .band { padding-block: 1rem; background: #fff; color: #000; }
    a { text-decoration: underline; }
}

/* ---------------------------------------------------------------------------
   OPTIONAL: Schrift lokal hosten (DSGVO-freundlich, ohne Google-Server)
   ---------------------------------------------------------------------------
   1. Die Dateien inter-latin-400-normal.woff2, -500-, -600-, -700-, -800-, -900-
      herunterladen (z. B. von fontsource.org) und in einen Ordner "fonts/" legen.
   2. In header.php den <link> auf fonts.googleapis.com und die beiden
      preconnect-Zeilen entfernen.
   3. Die folgende Regel einkommentieren und den Pfad bei Bedarf anpassen:

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/inter-latin-variable.woff2') format('woff2');
}

   Danach in datenschutz.php den Abschnitt "Externe Schriftarten" entfernen
   bzw. anpassen – es findet dann keine Übertragung an Google mehr statt.
   --------------------------------------------------------------------------- */
