/* =====================================================================
   Relaunch 2026 — Stylesheet der neuen Startseite (Vorschau).
   Eigenes File, damit style.css (Impressum/Datenschutz/...) unberuehrt bleibt.
   Werte 1:1 aus dem Figma-Design "Relaunch 2026" uebernommen.
   ===================================================================== */

/* Geteilte Schriften + Design-Tokens (Single Source of Truth, siehe CLAUDE.md). */
@import url("tokens.css");

/* ---------- Reset / Basis ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Anker-Offset, damit die fixe Nav die Sektionsanfaenge nicht ueberdeckt */
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
:where(#main) { scroll-margin-top: var(--nav-h); }

/* Sichtbarer Tastatur-Fokus (WCAG 2.4.7 / 2.4.13) */
:focus-visible {
  outline: 3px solid var(--green-strong);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Auf dunklen Flaechen heller Fokusring fuer genug Kontrast */
.site-nav :focus-visible,
.hero :focus-visible,
.stats-card :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

/* Skip-Link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* Nur fuer Screenreader/Crawler sichtbar (visuell verborgen). */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduzierte Bewegung respektieren (WCAG 2.2.2 / 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Eyebrow-Label (gruener Strich + Großbuchstaben) ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--green);
}

/* ---------- Section-Titel (H2) ---------- */
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text);
}

.section { padding-top: 96px; }
.section:last-of-type { padding-bottom: 48px; }
.section-head { max-width: 672px; margin-bottom: 48px; }
.section-head .lead {
  margin-top: 24px;
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s, opacity 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 34px; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-sm { height: 48px; }

/* =====================================================================
   NAVIGATION (fix, ueber dem Hero transparent, beim Scrollen solide)
   ===================================================================== */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px;
}
/* Schwebende Nav-"Pille": abgesetzt vom Rand, abgerundet, mit Blur & Schatten */
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 9px 24px;
  /* Adaptiert von ttplay.app: rounded-full · bg-slate-950/20 · backdrop-blur-xl */
  background: rgba(2, 6, 23, 0.2);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-radius: 999px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: background 0.25s;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 40px; width: auto; }
.nav-brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-base);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: var(--text-sm);
  color: #fff;
  letter-spacing: -0.15px;
  opacity: 0.92;
  padding: 8px 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links .btn-nav {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: var(--green);
  border-radius: var(--radius-btn);
  color: #fff;
  opacity: 1;
}
.nav-links .btn-nav:hover { background: var(--green-hover); }

/* Beim Scrollen die schwebende Pille etwas kraeftiger (Lesbarkeit ueber hellem Inhalt). */
.site-nav.scrolled .container {
  background: rgba(2, 6, 23, 0.55);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin-inline: auto;
  transition: transform 0.2s, opacity 0.2s;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Einrückung von Absatz + Buttons, sodass sie unter dem Headline-Text
     starten (Logobreite 139px + Abstand 22px). Mobil = 0 (Logo steht oben). */
  --hero-indent: 161px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(145.76deg,
    rgba(34, 34, 34, 0.85) 0%,
    rgba(34, 34, 34, 0.55) 60%,
    rgba(0, 174, 38, 0.45) 100%);
}
.hero-content { max-width: 720px; padding-top: var(--nav-h); }
.hero-heading { display: flex; align-items: flex-start; gap: 22px; }
.hero-heading > img { width: 139px; height: auto; flex: none; }
.hero-heading h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.44px;
  color: #fff;
}
.hero-heading h1 .accent { color: var(--green); display: block; }
.hero p {
  margin-top: 24px;
  margin-left: var(--hero-indent);
  max-width: 512px;
  font-size: var(--text-md);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.hero-cta { margin-top: 32px; margin-left: var(--hero-indent); display: flex; flex-wrap: wrap; gap: 16px; }

/* Pause/Play fuer das Hero-Video (WCAG 2.2.2 Pause, Stop, Hide) */
.hero-mediatoggle {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 34, 34, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
}
.hero-mediatoggle:hover { background: rgba(34, 34, 34, 0.8); }
.hero-mediatoggle svg { width: 20px; height: 20px; }
.hero-mediatoggle .icon-play { display: none; }
.hero-mediatoggle[aria-pressed="true"] .icon-play { display: block; }
.hero-mediatoggle[aria-pressed="true"] .icon-pause { display: none; }

/* =====================================================================
   VEREIN / Timeline-Karten + volle Geschichte
   ===================================================================== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
}
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--green-tint);
  border-radius: 10px;
  color: var(--green);
  margin-bottom: 22px;
}
.icon-box svg { width: 20px; height: 20px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 12px;
}
/* Timeline-Karten: helles Markengrün mit weißer Schrift (markentreu;
   weiß-auf-grün liegt bewusst unter dem AA-Kontrast). */
.timeline-card {
  background: var(--green);
  border-color: var(--green);
  padding: 30px;
}
.timeline-card .icon-box {
  background: none;
  display: inline-flex;
  width: auto;
  height: auto;
  margin: 0;
  color: #fff;
  flex: none;
}
.timeline-card .icon-box svg { width: 1em; height: 1em; }
.timeline-card .badge {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17.5px;
  color: var(--text);
}
.timeline-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.5;
  color: #fff;
  margin: 6px 0 12px;
}
.timeline-card p { font-size: var(--text-body); line-height: 1.6; color: rgba(255, 255, 255, 0.85); }

.history {
  max-width: 760px;
  margin-top: 48px;
}
.history p { font-size: var(--text-body); line-height: 1.75; color: var(--muted); }
.history p + p { margin-top: 18px; }

/* Kopf der Verein-Sektion: links Text, rechts Partner/Werbetraeger */
.about-top {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
}
.about-top .section-head { margin-bottom: 0; }

.partners .eyebrow { margin-bottom: 16px; }
.partner-list { display: flex; flex-direction: column; gap: 12px; }
.partner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.partner-card:hover { border-color: var(--green); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06); }
.partner-card img { max-height: 134px; width: auto; object-fit: contain; }
.partner-caption { font-size: var(--text-sm); color: var(--muted); }
.partners-intro { margin-top: 16px; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-2); }

/* =====================================================================
   MANNSCHAFTEN — schlanke Karten mit aufklappbarer Spielerliste
   ===================================================================== */
.teams-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.season-badge {
  font-size: 17.5px;
  font-weight: 700;
  color: #fff;
  background: var(--surface-dark);
  border: 1px solid var(--surface-dark);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.team-card > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 25px;
  background: var(--surface-gray);
}
.team-card > summary::-webkit-details-marker { display: none; }
.team-card .league {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.team-card .name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text);
  margin-top: 5px;
}
.team-card .chevron {
  flex: none;
  width: 30px; height: 30px;
  stroke-width: 3;
  color: var(--muted-2);
  transition: transform 0.2s;
}
.team-card[open] .chevron { transform: rotate(90deg); }
.team-roster {
  padding: 8px 25px 25px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.team-roster ol {
  list-style: none;
  margin: 8px 0 0;
  display: grid;
  gap: 2px;
}
.team-roster li {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.team-roster li:last-child { border-bottom: 0; }
.team-roster li span { color: var(--muted-2); min-width: 22px; }
.team-roster .schedule-link {
  display: flex;
  width: fit-content;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  height: 40px;
  padding: 0 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  transition: background 0.2s;
}
.team-roster .schedule-link:hover { background: var(--green-hover); }
.team-roster .schedule-link svg { width: 14px; height: 14px; }

/* =====================================================================
   SPIELBETRIEB — dunkle Karte mit Stats + Heimspieltermine
   ===================================================================== */
.stats-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 64px;
  color: #fff;
}
.stats-card .eyebrow { color: var(--green); }
.stats-card .section-title { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.stats-card .lead {
  max-width: 840px;
  margin: 24px 0 0;
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.stat .value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: var(--green);
}
.stat .label {
  margin-top: 8px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}
.stats-card .btn-clicktt {
  background: var(--green);
  color: #fff;
  height: 48px;
}

/* Mannschaften flach im dunklen Spielbetrieb-Block, abgetrennt per Divider. */
.teams-flat {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  scroll-margin-top: calc(var(--nav-h) + 16px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.teams-flat-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.teams-flat-head h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
}
.teams-flat .season-inline {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.team-row {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-card);
}
.team-row .name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-md);
  color: #fff;
}
.team-row .league {
  display: block;
  margin-top: 4px;
  font-size: var(--text-sm);
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.team-row .players {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 6px;
}
.team-row .players li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.78);
}
.team-row .players .pos {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--green);
}
.team-row .schedule-link {
  display: flex;
  width: fit-content;
  margin-right: auto;
  margin-top: 24px;
  align-items: center;
  gap: 8px;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--green);
  transition: opacity 0.2s;
}
.team-row .schedule-link:hover { opacity: 0.8; }
.team-row .schedule-link svg { width: 16px; height: 16px; }

/* Heimspieltermine-Block: Raster aus Karten, passend zu den Mannschafts-Boxen.
   Horizontales Padding wie die dunkle Box darueber, damit beides fluchtet. */
.fixtures { margin-top: 56px; padding-inline: 32px; }
.fixtures h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--text);
}
.fixtures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fixture-card {
  background: var(--surface-gray);
  border-radius: var(--radius-card);
  padding: 24px;
}
.fixture-card .team {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--text);
}
.fixture-card .when {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: var(--text-body);
  color: var(--muted);
}
.fixture-card .when svg { width: 16px; height: 16px; flex: none; color: var(--text); }

/* =====================================================================
   TRAINING — Wochenplan + Bild + Gastspieler-Karte
   ===================================================================== */
.training-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.training-intro { max-width: 760px; margin-bottom: 28px; }
.training-intro p { font-size: var(--text-body); line-height: 1.7; color: var(--muted); }
.training-intro p + p { margin-top: 14px; }

/* Trainingszeiten als dunkles Info-Feld (gleiches Grau wie die Spielbetrieb-Box). */
.training-times {
  background: var(--dark);
  border: 1px solid var(--dark);
  border-radius: var(--radius-card);
  padding: 36px;
  color: #fff;
}
.training-times .times-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.9);
}
.training-times .times-label svg { width: 18px; height: 18px; flex: none; color: #fff; }
.training-times .times-main {
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  color: #fff;
}

.training-aside { display: flex; flex-direction: column; gap: 24px; }
.guest-card { background: var(--green); border: 1px solid var(--green); border-radius: var(--radius-card); padding: 28px; }
.guest-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-md);
  color: #fff;
  margin-bottom: 8px;
}
.guest-card p { font-size: var(--text-body); line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.guest-card p:not(.training-closing) { max-width: 75%; }
.guest-card .training-closing { margin-top: 20px; text-align: right; font-style: italic; color: rgba(255, 255, 255, 0.8); }

/* =====================================================================
   KONTAKT — zwei Karten
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* Style wie die Trainingskarte: hellgraue Flaeche, dunkle Schrift, kein Border. */
.contact-card {
  display: block;
  background: var(--surface-gray);
  border-radius: var(--radius-card);
  padding: 33px;
  color: var(--text);
}
.contact-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.contact-card .badge-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
}
.contact-card .badge-icon svg { width: 28px; height: 28px; }
.contact-card .arrow { width: 20px; height: 20px; color: var(--muted-2); }
.contact-card .label { font-size: var(--text-sm); color: var(--muted); margin-bottom: 6px; }
.contact-card .value {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  color: var(--text);
  line-height: 1.4;
}
.contact-card .map-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--green);
}
.contact-card .map-link svg { width: 14px; height: 14px; }

.assoc {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  margin-top: 40px;
  font-size: var(--text-sm); color: var(--muted-2);
}
.assoc img { height: 132px; width: auto; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--dark);
  color: #fff;
  margin-top: 48px;
  padding: 40px 0;
}
.site-footer .container { display: flex; flex-direction: column; gap: 20px; }
/* Vereinsname links, Links auf derselben Ebene ganz rechts. */
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { height: 36px; width: auto; }
.footer-brand span { font-family: var(--display); font-weight: 500; font-size: var(--text-base); }
/* Eine Link-Zeile mit "|"-Trennern unter dem Vereinsnamen. */
.footer-links { display: flex; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: var(--text-sm); color: rgba(255, 255, 255, 0.7); padding: 6px 0; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-links a + a { margin-left: 16px; }
.footer-links a + a::before {
  content: "|";
  margin-right: 16px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-copy { font-size: var(--text-sm); color: rgba(255, 255, 255, 0.4); }

/* =====================================================================
   RESPONSIVE  (Breakpoints wie Projekt)
   ===================================================================== */
@media (max-width: 1199px) {
  .section { padding-top: 80px; }
  .stats-card { padding: 48px; }
  .fixtures { padding-inline: 24px; }
}

@media (max-width: 959px) {
  .nav-links {
    position: fixed;
    inset: calc(var(--nav-h) + 18px) 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(26, 26, 26, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 8px 18px 18px;
    /* Voll ausserhalb des Bildschirms parken: eigene Hoehe + fixer Abstand,
       damit das Panel unabhaengig von der Link-Anzahl nie oben herausschaut. */
    transform: translateY(calc(-100% - 96px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-links .btn-nav { margin-top: 12px; height: 44px; justify-content: center; }
  .site-nav.scrolled .nav-links,
  .nav-links { } /* Panel ist immer dunkel */
  .nav-toggle { display: flex; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .training-grid { grid-template-columns: 1fr; }
  .guest-card p:not(.training-closing) { max-width: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .teams-flat { grid-template-columns: 1fr; column-gap: 0; }
  .fixtures-grid { grid-template-columns: 1fr 1fr; }
  .about-top { grid-template-columns: 1fr; gap: 32px; }
  .partner-list { flex-direction: row; flex-wrap: wrap; }
  .partner-card { flex: 1 1 220px; }
}

@media (max-width: 767px) {
  .section { padding-top: 64px; }
  .section-head { margin-bottom: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .teams-head { flex-direction: column; align-items: flex-start; }
  .hero { --hero-indent: 0px; }
  .hero-heading { flex-direction: column; gap: 16px; }
  .hero-heading > img { width: 96px; }
  .stats-card { padding: 32px; }
  .fixtures { padding-inline: 16px; }
  .fixtures-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .container { padding-inline: 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat .value { font-size: 40px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
