/* =========================================================================
   Steinmeer Trophy — Design System
   Umgesetzt nach dem Steinmeer Trophy Design System (siehe README.md).
   Navy #182D48 kommt ausschliesslich in den Marken vor — keine navyfarbenen
   Flaechen. Die Werte hier entsprechen 1:1 den Vorlagen im Uebergabepaket.
   ========================================================================= */

/* ---------- 1. Tokens ------------------------------------------------- */

:root {
  /* Typografie */
  --ink: #262B30;          /* Anthrazit — Headlines, Body-Stark, Standardfarbe */
  --body: #3D444C;         /* Lauftext */
  --muted: #5C646C;        /* Labels, sekundaerer Text */

  /* Signatur */
  --green: #92D050;
  --teal: #2B8080;
  --teal-dark: #1F6060;
  --ridge: linear-gradient(90deg, #92D050, #2B8080);

  /* Neutrals */
  --n-100: #E8ECF0;        /* Hairline, Cardborder */
  --n-200: #C0CCD8;        /* alle gestrichelten Raender */
  --n-300: #9DAFC2;
  --hairline: #DDE2E5;

  /* Flaechen — zwei Behandlungen im Wechsel */
  --white: #fff;
  --snow-1: #F7F9FA;
  --snow-2: #E8ECF0;
  --snow: linear-gradient(180deg, #F7F9FA, #E8ECF0);
  --wash: #F2F5F6;         /* nur Hover der Outline-Buttons */

  /* Radien */
  --r-badge: 3px;
  --r-btn: 6px;
  --r-panel: 10px;
  --r-card: 14px;
  --r-surface: 20px;

  /* Schrift */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Raster */
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --section-y: 96px;

  /* Tiefe — Schattentinte ist das Marken-Navy #182D48 */
  --shadow-card: 0 1px 2px rgba(24, 45, 72, .06);
  --shadow-lift: 0 4px 16px rgba(24, 45, 72, .08);
  --shadow-drawer: 0 18px 40px rgba(24, 45, 72, .16);
}

/* ---------- 2. Reset & Basis ------------------------------------------ */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: var(--teal);
  text-decoration: none;
  transition: color .15s ease, opacity .15s ease, background-color .15s ease;
}
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--r-badge);
}

::selection { background: rgba(146, 208, 80, .32); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Typografische Bausteine -------------------------------- */

.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* Labels durchgehend Uppercase, Poppins 600, weites Tracking */
.eyebrow {                      /* Sektionsebene */
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}
.label {                        /* Karten- und Stufenebene */
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}
.label--16 { letter-spacing: .16em; }
.label--20 { letter-spacing: .2em; }

.h1 {
  font-size: clamp(38px, 6vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(28px, 3.6vw, 42px); }
.h2--xl { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.03em; }
.h3 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.h3--26 { font-size: 26px; }
.h3--22 { font-size: 22px; }
.h3--20 { font-size: 20px; letter-spacing: -.02em; }
.h3--18 { font-size: 18px; letter-spacing: -.01em; }

.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 58ch;
  text-wrap: pretty;
}
.lead--tight { line-height: 1.5; max-width: 46ch; }
.lead--strong { color: var(--ink); font-weight: 600; }
.txt { font-size: 15px; line-height: 1.5; color: var(--body); }
.txt--sm { font-size: 14px; line-height: 1.5; color: var(--body); }
.txt--muted { color: var(--muted); }

/* ---------- 4. Layout ------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 960px; }

.section {
  padding-block: var(--section-y);
  scroll-margin-top: 100px;
}
.section--snow { background: var(--snow); }
.section--rule {
  padding-block: 56px;
  border-top: 1px solid var(--n-100);
  border-bottom: 1px solid var(--n-100);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 56px;
  align-items: start;
}

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--16 { gap: 16px; }
.stack--18 { gap: 18px; }
.stack--8 { gap: 8px; }

.grid { display: grid; gap: 32px; }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.grid--stats-lg { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--cards-sm { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--goods { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.grid--halves { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: start; }

.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.row--center { justify-content: center; }
.row--start { align-items: flex-start; flex-direction: column; gap: 12px; }
.row--10 { gap: 10px; }

/* ---------- 5. Buttons & Chips ---------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  padding: 17px 32px;
}
.btn--primary { background: var(--ridge); color: #fff; }
.btn--primary:hover { color: #fff; opacity: .88; }

/* 15/30 statt 17/32 — der 2px-Rahmen wird eingerechnet, beide Boxen matchen */
.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 15px 30px;
}
.btn--ghost:hover { background: var(--wash); color: var(--ink); }

/* Dezenter dritter Knopf — auf den Rechtsseiten der Rueckweg */
.btn--quiet {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--hairline);
  padding: 13px 22px;
  font-size: 12px;
}
.btn--quiet:hover { background: var(--wash); color: var(--ink); border-color: var(--n-200); }

.btn--md { padding: 16px 28px; }
.btn--ghost.btn--md { padding: 14px 26px; }
.btn--sm { padding: 12px 20px; font-size: 11px; }
.btn--xs { padding: 14px 22px; font-size: 12px; }
.btn--ghost.btn--xs { padding: 12px 20px; font-size: 12px; border-width: 2px; }

/* Gestrichelte Felder — alles Offene steht als Chip direkt im Layout */
.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--n-200);
  border-radius: var(--r-badge);
  padding: 5px 10px;
}
.chip--inline { font-size: 12px; letter-spacing: .06em; padding: 3px 8px; }
.chip--tight { padding: 4px 9px; }
.chip--xxs { padding: 3px 8px; }
.chip--md { padding: 6px 12px; }
.chip--lg { padding: 8px 12px; text-align: center; }
.chip--xs { font-size: 10px; padding: 3px 7px; }
.chip--wide { display: block; width: 100%; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* ---------- 6. Header ------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
}
.hdr__inner {
  position: relative;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}
.hdr__ridge { height: 4px; background: var(--ridge); }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand img { height: 36px; width: auto; }
.brand__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hdr__nav {
  display: flex;
  align-items: center;
  gap: 18px 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}
.hdr__nav--wide { gap: 18px 26px; }
.nav__link {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 4px;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: var(--r-badge);
  background: var(--ridge);
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--n-300);
}
.lang__on { color: var(--ink); font-weight: 500; }
.lang button { color: var(--muted); padding: 0; }
.lang button:hover { color: var(--ink); }
.lang button.lang__on { color: var(--ink); font-weight: 500; }
.lang button[disabled] { color: var(--n-300); cursor: not-allowed; }
.lang button[disabled]:hover { color: var(--n-300); }
.lang button[data-hint]::after {
  content: " — folgt";
  font-size: 10px;
  color: var(--muted);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-btn);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: var(--r-badge);
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero --------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background: var(--snow);
  scroll-margin-top: 100px;
}
/* Gipfel-Linie im Hero bei 13% Deckkraft hinter dem Inhalt */
.hero__ridgeline {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 8%;
  width: 108%;
  height: auto;
  aspect-ratio: 1908 / 378;
  opacity: .13;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.hero--left .hero__inner { align-items: flex-start; text-align: left; }
.hero--left .hero__ridgeline { bottom: 6%; }
.hero__badge { height: 96px; width: auto; }
.hero__claim {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.028em;
}
.hero__date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 40ch;
}
.hero__sub {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.5;
  color: var(--body);
  max-width: 46ch;
  text-wrap: pretty;
}
.hero__by {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 10px;
}
.hero h1 { max-width: 18ch; }
.hero--left h1 {
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.04;
  max-width: 24ch;
}
.hero--left .hero__sub { font-size: clamp(17px, 1.8vw, 20px); max-width: 60ch; }

/* Hero mit Foto — das Bild liegt im ::before, damit der CSS-Filter nur das
   Bild trifft und nicht die Schrift. Darueber ein anthrazitfarbener Schleier:
   das Foto bleibt klar erkennbar, die Typografie wird weiss. Der Hero setzt
   sich damit bewusst von den hellen Flaechen der uebrigen Seite ab. */
.hero--photo {
  /* Fallback, falls das Bild nicht laedt — weisse Schrift bleibt lesbar */
  background: var(--ink);
}
.hero--photo::before,
.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero--photo::before {
  background: url("../assets/hero.jpeg") center / cover no-repeat;
  filter: saturate(.85) brightness(.78);
  z-index: 0;
}
.hero--photo::after {
  background: linear-gradient(180deg, rgba(38, 43, 48, .62), rgba(38, 43, 48, .76));
  z-index: 1;
}
.hero--photo > .hero__ridgeline { z-index: 2; opacity: .28; }
.hero--photo > .hero__inner { position: relative; z-index: 3; }

/* Typografie auf dem dunklen Grund */
.hero--photo h1,
.hero--photo .hero__claim { color: #fff; }
.hero--photo .hero__sub,
.hero--photo .hero__date,
.hero--photo .cd__label,
.hero--photo .hero__by { color: #fff; }

/* Countdown als Glasflaechen statt weisser Karten */
.hero--photo .cd__cell {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero--photo .cd__num { color: #fff; }
.hero--photo .cd__unit { color: #fff; }

/* Gestrichelter Platzhalter und Outline-Knopf hell umgezeichnet */
.hero--photo .chip {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.hero--photo .btn--ghost {
  background: rgba(255, 255, 255, .10);
  border-color: #fff;
  color: #fff;
}
.hero--photo .btn--ghost:hover {
  background: rgba(255, 255, 255, .20);
  color: #fff;
}

/* Countdown */
.cd { display: none; flex-direction: column; align-items: center; gap: 14px; padding-top: 6px; }
.js .cd { display: flex; }
.cd__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.cd__grid { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cd__cell {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-panel);
  padding: 18px 22px;
  min-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cd__num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd__unit {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Grosser Countdown — im Teaser ist er das Hauptelement des Heros */
.cd--gross { gap: 20px; padding-top: 14px; }
.cd--gross .cd__label { font-size: 12px; letter-spacing: .24em; }
.cd--gross .cd__grid { gap: 16px; }
.cd--gross .cd__cell {
  min-width: 132px;
  padding: 26px 30px;
  gap: 10px;
  border-radius: var(--r-card);
}
.cd--gross .cd__num { font-size: clamp(44px, 5.4vw, 68px); }
.cd--gross .cd__unit { font-size: 11px; letter-spacing: .18em; }

/* Kompakter Header — ohne Sprungziele braucht die Kopfzeile keinen Burger,
   Umschalter und Knopf passen auch auf dem Handy direkt daneben. */
.hdr--kompakt .burger { display: none !important; }

/* ---------- 8. Kennzahlen --------------------------------------------- */

.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat--card {
  gap: 10px;
  border: 1px solid var(--n-100);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.stat--card .stat__num,
.stat__num--44 { font-size: 44px; }
.stat__note { font-size: 14px; line-height: 1.5; color: var(--body); }

/* ---------- 9. Cards -------------------------------------------------- */

.card {
  background: var(--white);
  border: 1px solid var(--n-100);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
}
.card--dashed { border: 1px dashed var(--n-200); box-shadow: none; }
.card--32 { padding: 32px; gap: 18px; }
.card--panel { border-radius: var(--r-panel); padding: 24px; gap: 10px; }

/* Karte mit 3px Ridge — die Karte, die zaehlt */
.card--ridge {
  padding: 0;
  gap: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.card--ridge > .card__ridge { height: 3px; background: var(--ridge); flex: none; }
.card--ridge > .card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.card--ridge.card--32 > .card__body { padding: 32px; gap: 18px; }
.card--ridge.card--soft { box-shadow: var(--shadow-card); }

/* Aufzaehlung mit Teal-Pfeil */
.arrows { display: flex; flex-direction: column; gap: 9px; }
.arrows--12 { gap: 12px; }
.arrows li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.45;
}
.arrows--12 li { line-height: 1.5; }
.arrows li::before {
  content: "\2192";
  color: var(--teal);
  font-weight: 600;
}
.arrows li.is-open::before { color: var(--n-300); }

.card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--n-100);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}
.card__price {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
}
.card__slots { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---------- 10. Programm ---------------------------------------------- */

.sched { display: flex; flex-direction: column; }
.sched__row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding-block: 13px;
  border-top: 1px solid var(--n-100);
  align-items: baseline;
}
.sched__time {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sched__what { font-size: 15px; line-height: 1.45; }
/* Rennstarts sind getoent hervorgehoben */
.sched__row--start { background: var(--snow-1); }
.sched__row--start .sched__time { font-weight: 700; color: var(--teal); }
.sched__row--start .sched__what { font-weight: 600; }

/* ---------- 11. Strecken ---------------------------------------------- */

/* Kartenplatzhalter */
.map-ph {
  border: 1px dashed var(--n-200);
  border-radius: var(--r-card);
  background: var(--snow-2);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.map-ph__title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.map-ph__note { font-size: 13px; line-height: 1.45; color: var(--muted); max-width: 34ch; }

/* Hoehenprofil */
.profile {
  border: 1px solid var(--n-100);
  border-radius: var(--r-card);
  background: var(--snow-1);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.profile > img { width: 100%; height: auto; aspect-ratio: 1908 / 378; }
.profile__marks {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* Liste "Beschreibung folgt" */
.tbd { display: flex; flex-direction: column; }
.tbd__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 12px;
}
.tbd__row + .tbd__row { border-top: 1px solid var(--n-100); }
.tbd__name { font-size: 16px; font-weight: 600; }

/* ---------- 12. Accordion (Gut zu wissen) ----------------------------- */

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--n-100);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.faq__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.faq__head::-webkit-details-marker { display: none; }
.faq__head:focus-visible { outline-offset: -3px; }
.faq__head::marker { content: ""; }
.faq__head:hover { background: var(--snow-1); }
.faq__sym {
  flex: none;
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
  color: var(--teal);
}
.faq__item:not([open]) .faq__sym::after { content: "+"; }
.faq__item[open] .faq__sym::after { content: "\2212"; }
.faq__panel {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  max-width: 60ch;
}

/* Wertepanel — weiss auf Snow, 10px Radius */
.panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--n-100);
  border-radius: var(--r-panel);
}
.panel__value { font-family: var(--mono); font-size: 14px; font-weight: 500; }

/* Startnummernausgabe unter dem Anmeldeblock */
.anmeldung__bib {
  width: 100%;
  max-width: 640px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--n-100);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 10px 24px;
}

/* Offen-/Hinweis-Panel — gestrichelt */
.panel--dashed {
  border: 1px dashed var(--n-200);
  padding: 20px 24px;
  gap: 12px;
}
.panel--snow { background: var(--snow-1); }
.panel__text { font-size: 15px; line-height: 1.5; color: var(--body); }

/* ---------- 13. Info-Karten (Vor Ort) --------------------------------- */

.card--info { gap: 12px; }

/* ---------- 14. Partner / Logos --------------------------------------- */

/* Partner-werden-Panel: Text links, Aktionen rechts */
.card--ridge > .card__body.cta-panel {
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 32px;
  align-items: center;
}

.tiers { display: flex; flex-direction: column; gap: 28px; }
.tier { display: flex; flex-direction: column; gap: 14px; }
.logo-grid { display: grid; }
.logo-grid--haupt  { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 220px)); gap: 20px; }
.logo-grid--gold   { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 20px; }
.logo-grid--silber { grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 18px; }
.logo-grid--bronze { grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); gap: 16px; }

.logo-slot {
  display: grid;
  place-items: center;
  border: 1px dashed var(--n-200);
  border-radius: var(--r-panel);
  background: var(--snow-1);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo-grid--haupt  .logo-slot { height: 104px; font-size: 11px; letter-spacing: .1em; }
.logo-grid--gold   .logo-slot { height: 84px; letter-spacing: .1em; }
.logo-grid--silber .logo-slot { height: 72px; }
.logo-grid--bronze .logo-slot { height: 60px; }

/* ---------- 15. Downloads / Presse ------------------------------------ */

.dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--n-100);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.dl__state { margin-top: auto; }
.dl__state .chip { align-self: flex-start; }

/* ---------- 16. Kontakt ----------------------------------------------- */

.people { display: flex; flex-direction: column; gap: 18px; }
.person { display: flex; flex-direction: column; gap: 4px; }
.person + .person { padding-top: 16px; border-top: 1px solid var(--n-100); }
.person__name { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }

.mailchip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-btn);
  padding: 10px 16px;
  word-break: break-word;
}
.mailchip:hover { background: var(--wash); }
.mail { font-family: var(--mono); font-size: 14px; word-break: break-word; }
.impressum { font-size: 13px; line-height: 1.6; color: var(--muted); }
.impressum .chip { color: inherit; }

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--n-100);
}
.contact-rows > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}
.contact-rows > div:first-child { padding-top: 14px; }
.contact-rows .label { min-width: 88px; }

/* ---------- 17. Footer ------------------------------------------------ */

.footer {
  border-top: 1px solid var(--n-100);
  background: var(--white);
  padding-block: 56px;
}
.footer__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer__brand img { height: 96px; width: auto; align-self: flex-start; }
.footer__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 2.1;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 40px;
  flex: 1;
  min-width: 280px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; color: var(--body); }
.footer__col a:hover { color: var(--ink); }
.footer__bar {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--n-100);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 18. Sponsoring-Seite -------------------------------------- */

.pkg__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--n-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pkg__foot .chip { align-self: flex-start; }

.goods__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ---------- 19. Rechtsseiten (Impressum, Datenschutz) ----------------- */

.legal-head {
  background: var(--snow);
  padding-block: 72px 56px;
}
.legal-head__inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.legal-head h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 24ch;
}
.legal-head__stand {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* Lesespalte — Rechtstexte brauchen eine ruhige Zeilenlaenge */
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 16px; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--body); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose a { word-break: break-word; }

/* Sprunganker fuer lange Erklaerungen */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--n-100);
  border-radius: var(--r-badge);
  padding: 6px 10px;
}
.toc a:hover { color: var(--ink); border-color: var(--n-200); }

/* Impressumsangaben als Label/Wert-Paare */
.facts { display: flex; flex-direction: column; }
.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 12px 32px;
  padding-block: 18px;
  border-top: 1px solid var(--n-100);
  align-items: baseline;
}
.facts > div:last-child { border-bottom: 1px solid var(--n-100); }
.facts dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd { font-size: 16px; line-height: 1.6; color: var(--ink); }
.facts dd .mono { font-size: 15px; }

/* Nummerierte Abschnitte */
.clauses { display: flex; flex-direction: column; }
.clause {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding-block: 32px;
  border-top: 1px solid var(--n-100);
  align-items: start;
  scroll-margin-top: 100px;
}
.clause__num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--teal);
  padding-top: 4px;
}
.clause__body { display: flex; flex-direction: column; gap: 14px; }
.clause h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  max-width: 30ch;
}

/* Hinweis, dass die Rechtstexte nur auf Deutsch vorliegen —
   auf der deutschen Fassung ueberfluessig, deshalb nur bei lang="en". */
.lang-note[data-legal-note] { display: none; }
html[lang="en"] .lang-note[data-legal-note] { display: flex; }

.lang-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  border: 1px solid var(--n-100);
  border-left: 3px solid var(--teal);
  border-radius: var(--r-panel);
  background: var(--snow-1);
  padding: 16px 20px;
  max-width: 72ch;
}
.lang-note__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.lang-note__text { font-size: 14px; line-height: 1.55; color: var(--body); }

/* ---------- 20. Responsive -------------------------------------------- */

@media (max-width: 1080px) {
  .hdr__nav { gap: 14px 16px; }
  .nav__link { letter-spacing: .1em; }
}

@media (max-width: 1000px) {
  :root { --section-y: 72px; --gutter: 20px; }

  .burger { display: flex; }

  .hdr__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    /* 4px tiefer, damit die Gipfel-Linie des Headers sichtbar bleibt */
    top: calc(100% + 4px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--n-100);
    box-shadow: var(--shadow-drawer);
    /* Auf niedrigen Viewports (Handy im Querformat) scrollen statt abschneiden */
    max-height: calc(100vh - var(--header-h) - 4px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .hdr__nav.is-open { display: flex; }
  /* kompakte Kopfzeile: Navigation bleibt in der Zeile stehen */
  .hdr--kompakt .hdr__nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  /* Der Knopf darf hier nicht die volle Breite erben, sonst rutscht der
     Sprachumschalter in eine zweite Zeile und die Kopfzeile waechst. */
  .hdr--kompakt .hdr__nav .btn { margin-top: 0; width: auto; }
  .hdr--kompakt .hdr__nav .lang { padding-top: 0; }
  .nav__link { padding: 15px 2px; border-bottom: 1px solid var(--n-100); font-size: 12px; }
  .nav__link::after { display: none !important; }
  .nav__link.is-active { color: var(--teal); }
  .hdr__nav .btn { margin-top: 16px; }
  .hdr__nav .lang { padding-top: 16px; }

  .split { gap: 32px; }
  .legal-head { padding-block: 56px 40px; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .grid { gap: 24px; }
  /* Programm und Strecken untereinander — sonst wird die 104px-Zeitspalte
     im zweispaltigen Raster zu eng. */
  .grid--halves { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
}

@media (max-width: 620px) {
  .hero { padding: 64px 0; }
  .hero__badge { height: 76px; }
  /* .card--ridge traegt sein Padding im .card__body, nicht auf der Karte —
     die Ausnahmen hier muessen das respektieren, sonst doppeltes Padding. */
  .card:not(.card--ridge), .dl, .stat--card { padding: 22px; }
  .card--32:not(.card--ridge) { padding: 24px; }
  .card--ridge > .card__body { padding: 22px; }
  .card--ridge.card--32 > .card__body { padding: 24px; }
  .card--ridge > .card__body.cta-panel { padding: 24px; gap: 24px; }
  .profile { padding: 20px; }
  .cd__cell { padding: 14px 16px; min-width: 72px; }
  .cd--gross .cd__cell { padding: 18px 14px; min-width: 0; }
  .cd--gross .cd__grid { gap: 10px; }
  .cd__num { font-size: 26px; }
  .cd__grid { gap: 8px; }
  .sched__row { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
  .stat__num { font-size: 32px; }
  .stat--card .stat__num,
  .stat__num--44 { font-size: 36px; }
  .faq__head { padding: 16px 18px; font-size: 15px; }
  .faq__panel { padding: 0 18px 18px; }
  .footer__bar { flex-direction: column; }
  .footer__brand img { height: 76px; }
  .clause { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 26px; }
  .clause__num { padding-top: 0; }
  .btn { width: 100%; }
  .row .btn { width: auto; }
}

@media (max-width: 420px) {
  .sched__row { grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
  .sched__time { font-size: 12px; }
  .cd__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .cd__cell { min-width: 0; }
  .btn { width: 100%; }
}

/* ---------- 21. Motion & Print ---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .hdr, .burger, .skip-link, .cd { display: none !important; }
  body { color: #000; }
  .section, .hero { padding-block: 24px; background: #fff !important; }
  .card, .dl, .faq__item, .stat--card { box-shadow: none; break-inside: avoid; }
  .faq__panel { display: block !important; }
  a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; }
}
