/* =========================================================================
   Komponenten (mobile first; Breakpoints 700 / 1000 / 1200 px)
   ========================================================================= */

/* ---------- Icons ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--klein { width: 1em; height: 1em; }
.ico--gross { width: 2.25rem; height: 2.25rem; }
.klein { font-size: var(--step--1); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white); --bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.85em 1.4em;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: var(--r-s);
  font-family: var(--font-display); font-weight: 750; font-stretch: 112%; font-size: 1.0625rem; letter-spacing: 0.005em;
  line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-xs) var(--ease-out), border-color var(--dur-xs) var(--ease-out), color var(--dur-xs), transform var(--dur-xs) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn .ico { transition: transform var(--dur-s) var(--ease-drive); }
.btn:hover .ico:last-child { transform: translateX(4px); }
.btn--rot { --bg: var(--max-red-cta); }
.btn--rot:hover { --bg: var(--max-red-strong); }
/* Lichtreflex, läuft beim Hover einmal über die Fläche */
.btn--rot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.28) 48%, transparent 66%);
  transform: translateX(-110%);
}
@media (hover: hover) { .btn--rot:hover::after { transform: translateX(110%); transition: transform 700ms var(--ease-drive); } }
.btn--hell { --bg: rgb(255 255 255 / 0.06); --fg: var(--white); --bd: rgb(255 255 255 / 0.34); }
.btn--hell:hover { --bg: rgb(255 255 255 / 0.14); --bd: var(--white); }
.btn--dunkel { --bg: var(--ink); --fg: var(--white); }
.btn--dunkel:hover { --bg: #2A2D34; }
.btn--weiss { --bg: var(--white); --fg: var(--ink); }
.btn--weiss:hover { --bg: var(--ink); --fg: var(--white); }
.btn--klein { min-height: 44px; padding: 0.6em 1.05em; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-s);
  color: inherit; transition: background-color var(--dur-xs);
}
.icon-btn:hover { background: rgb(255 255 255 / 0.1); }
.link-pfeil {
  display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; text-decoration: none;
  color: var(--max-red-strong); min-height: 44px;
}
.sektion--dunkel .link-pfeil { color: var(--max-red-bright); }
.link-pfeil:hover .ico { transform: translateX(4px); }
.link-pfeil .ico { transition: transform var(--dur-s) var(--ease-drive); }

/* ---------- Klassen-Badge (Kennzeichen-Feld) ---------- */
.kz {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.6em; height: 1.9em; padding: 0 0.45em;
  font-family: var(--font-mono); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--white), inset 0 0 0 2.5px rgb(14 15 18 / 0.18);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.kz--gross { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); height: 1.75em; border-width: 3px; }
.kz--mini { font-size: 0.72rem; height: 1.8em; min-width: 2.2em; border-width: 1.5px; }
.kz--wahl { cursor: pointer; font-size: 1rem; height: 44px; min-width: 64px; transition: background-color var(--dur-xs), color var(--dur-xs), transform var(--dur-xs) var(--ease-out); }
.kz--wahl:hover { transform: translateY(-2px); }
input:checked + .kz--wahl { background: var(--max-red-cta); color: var(--white); border-color: var(--max-red-cta); box-shadow: none; }
input:focus-visible + .kz--wahl { outline: 3px solid var(--max-red); outline-offset: 3px; }

/* ---------- Sprach-Chips ---------- */
.chips { display: inline-flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; vertical-align: middle; }
.chips li { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.2em 0.5em; border-radius: 4px; border: 1px solid currentColor; line-height: 1.4; }
.chips abbr { text-decoration: none; }
.chips--hell li { border-color: rgb(255 255 255 / 0.4); }

/* ---------- Silhouetten ---------- */
.sil { width: 100%; height: auto; aspect-ratio: 160 / 60; color: currentColor; }
.sil--anhaenger { aspect-ratio: 240 / 60; }
.sil--motorrad, .sil--roller { aspect-ratio: 160 / 70; }
.sil--klein { width: 64px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  color: var(--white); background: rgb(14 15 18 / 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  transition: transform var(--dur-s) var(--ease-out), background-color var(--dur-s) var(--ease-out);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--ink); } }
.site-header--transparent { margin-bottom: calc(-1 * var(--header-h)); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header--transparent.is-scrolled { background: rgb(14 15 18 / 0.82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: rgb(255 255 255 / 0.06); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-4); height: var(--header-h); }
.site-header__logo { display: block; flex: none; }
.logo { width: 92px; height: auto; }
.logo--gross { width: 180px; }
.site-header__aktionen { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-header__cta { display: none; margin-left: 8px; }
.site-header__aktionen .icon-btn { display: none; }
@media (min-width: 700px) { .site-header__aktionen .icon-btn, .site-header__cta { display: inline-flex; } }

.nav { display: none; margin-left: var(--space-5); }
@media (min-width: 1200px) { .nav { display: block; } .menu-btn { display: none !important; } }
.nav__liste { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 0.7em;
  background: none; border: 0; color: inherit; font-weight: 600; font-size: 0.98rem; text-decoration: none; white-space: nowrap; border-radius: var(--r-s);
}
.nav__link:hover { background: rgb(255 255 255 / 0.08); }
/* aktive Seite: rote Fahrspur-Unterstreichung, fährt ein */
.nav__link::after {
  content: ""; position: absolute; left: 0.7em; right: 0.7em; bottom: 6px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--max-red) 0 10px, transparent 10px 16px);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-m) var(--ease-drive);
}
.nav__link.is-aktiv::after { transform: scaleX(1); }
.nav__item--dd .ico { transition: transform var(--dur-s) var(--ease-out); }
.nav__item--dd:hover .ico, .nav__link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px; padding: 8px;
  background: var(--asphalt); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-xs) var(--ease-out), transform var(--dur-s) var(--ease-out), visibility 0s linear var(--dur-s);
}
.dd::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.dd ul { list-style: none; margin: 0; padding: 0; }
.dd a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--r-s); text-decoration: none; }
.dd a:hover, .dd a[aria-current] { background: rgb(255 255 255 / 0.06); }
.dd a span { font-weight: 700; }
.dd small { color: var(--fog); font-size: 0.85rem; }
.nav__item--dd:hover .dd, .nav__item--dd:focus-within .dd, .nav__link[aria-expanded="true"] + .dd {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.js .nav__item--dd:focus-within .dd { opacity: 0; visibility: hidden; }
.js .nav__item--dd:hover .dd, .js .nav__link[aria-expanded="true"] + .dd { opacity: 1; visibility: visible; transform: none; }

.menu-btn {
  position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; margin-left: 4px;
  background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16); border-radius: var(--r-s); color: inherit;
  z-index: calc(var(--z-menu) + 1);
}
.menu-btn__striche { display: grid; gap: 6px; width: 20px; }
.menu-btn__striche span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur-s) var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__striche span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__striche span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-btn--nojs { display: none; width: auto; padding: 0 14px; text-decoration: none; font-weight: 700; }
.no-js .menu-btn:not(.menu-btn--nojs) { display: none; }
.no-js .menu-btn--nojs { display: inline-grid; }
@media (min-width: 1200px) { .no-js .menu-btn--nojs { display: none; } }

.mobilmenu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--ink); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0 at var(--mx, calc(100% - 40px)) var(--my, 36px));
}
.mobilmenu[hidden] { display: none; }
.mobilmenu.is-offen { clip-path: circle(150% at var(--mx, calc(100% - 40px)) var(--my, 36px)); }
.mobilmenu__nav > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mobilmenu__nav > ul > li > a {
  display: block; padding: 6px 0; font-family: var(--font-display); font-weight: 800; font-stretch: 120%;
  font-size: clamp(1.75rem, 1.2rem + 3vw, 2.6rem); text-decoration: none; letter-spacing: -0.02em; line-height: 1.15;
}
.mobilmenu__sub { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mobilmenu__sub a { display: inline-block; padding: 8px 0; color: var(--fog); text-decoration: none; font-weight: 600; }
.mobilmenu__aktionen { display: grid; gap: 10px; }
@media (min-width: 700px) { .mobilmenu__aktionen { grid-template-columns: repeat(3, 1fr); } }

/* Scroll-Fortschritt: rote Linie mit Fahrbahn-Strichen */
.spur-progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; pointer-events: none; overflow: hidden; }
.spur-progress span {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: repeating-linear-gradient(90deg, var(--max-red) 0 18px, rgb(228 50 43 / 0.35) 18px 26px);
}

/* ---------- Hinweis-Banner ---------- */
.hinweis-banner { position: relative; z-index: var(--z-banner); background: var(--max-red-strong); color: var(--white); }
.hinweis { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--dur-s) var(--ease-out), opacity var(--dur-s); }
.hinweis.is-zu { grid-template-rows: 0fr; opacity: 0; }
.hinweis.is-weg { display: none; }
.hinweis__inner { overflow: hidden; display: flex; align-items: center; gap: var(--space-4); min-height: 0; }
.hinweis p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-block: 10px; font-size: 0.95rem; font-weight: 600; flex: 1; }
.hinweis p .ico { width: 1.1em; height: 1.1em; }
.hinweis a { color: inherit; font-weight: 800; }
.hinweis__zu { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: inherit; border-radius: var(--r-s); }
.hinweis__zu:hover { background: rgb(255 255 255 / 0.14); }
.hinweis + .hinweis .hinweis__inner { border-top: 1px solid rgb(255 255 255 / 0.2); }

/* ---------- Video-Hintergrund ---------- */
.video-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.video-bg picture, .video-bg__poster, .video-bg__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-bg picture img { width: 100%; height: 100%; object-fit: cover; }
.video-bg__video { opacity: 0; transition: opacity var(--dur-m) var(--ease-out); }
.video-bg__video.is-bereit { opacity: 1; }
.video-bg__toggle {
  position: absolute; right: var(--gutter); bottom: 16px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.3); background: rgb(14 15 18 / 0.5); color: var(--white);
}
.reduce-motion .video-bg__video, .reduce-motion .video-bg__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; isolation: isolate; }
.hero__ebenen { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__video { z-index: 0; }
.hero__verlauf {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(14 15 18 / 0.88) 0%, rgb(14 15 18 / 0.55) 46%, rgb(14 15 18 / 0.1) 100%),
    linear-gradient(0deg, rgb(14 15 18 / 0.9) 0%, transparent 40%);
}
.hero__max {
  position: absolute; z-index: 3; left: 0; right: 0; top: 34%; translate: 0 -50%; text-align: center; opacity: 0.85;
  margin: 0; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; line-height: 0.8;
  font-size: clamp(9rem, 36vw, 40rem); letter-spacing: -0.05em; color: transparent;
  -webkit-text-stroke: clamp(2px, 0.25vw, 4px) rgb(228 50 43 / 0.9); pointer-events: none; user-select: none; white-space: nowrap;
}
.hero__grid {
  position: relative; flex: 1; display: grid; gap: var(--space-6);
  padding-top: calc(var(--header-h) + 28px); padding-bottom: var(--space-7);
  grid-template-columns: 1fr; align-content: end;
}
.hero__titel {
  font-size: clamp(3rem, 0.6rem + 6.4vw, 6.6rem); line-height: 0.92; letter-spacing: -0.045em; font-stretch: 125%; font-weight: 880;
}
.hero__zeile { display: block; white-space: nowrap; }
.hero__wort { display: inline-block; }
.hero__wort--rot { color: var(--max-red); }
.hero__sub { margin-top: var(--space-5); font-size: var(--step-1); line-height: 1.45; max-width: 34ch; color: rgb(255 255 255 / 0.86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
.hero__widget { min-width: 0; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: var(--space-7); }
  .hero__text { align-self: end; padding-bottom: var(--space-6); }
  .hero__widget { grid-column: 2; position: relative; z-index: 2; max-width: 460px; justify-self: end; width: 100%; }
}

.vertrauen { position: relative; z-index: 2; border-top: 1px solid rgb(255 255 255 / 0.12); background: rgb(14 15 18 / 0.72); }
.vertrauen__liste { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin-block: 0; padding-block: 14px; font-size: 0.95rem; color: rgb(255 255 255 / 0.82); }
.vertrauen__liste li { display: inline-flex; align-items: center; gap: 8px; }
.vertrauen__liste strong { color: var(--white); font-size: 1.05rem; }


/* ---------- Kennzahlen ---------- */
.kennzahlen { background: var(--paper); border-bottom: 1px solid var(--rule); }
.kennzahlen__reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
@media (min-width: 1000px) { .kennzahlen__reihe { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kennzahl { margin: 0; padding-top: 18px; position: relative; }
.kennzahl::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--max-red) 0 22px, transparent 22px 34px); }
.kennzahl figcaption { display: grid; gap: 6px; }
.kennzahl__zahl { font-family: var(--font-display); font-stretch: 125%; font-weight: 850; font-size: var(--step-4); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.kennzahl__label { font-weight: 600; color: var(--fog-ink); font-size: 0.98rem; }

/* ---------- Klassen-Garage ---------- */
.garage { position: relative; isolation: isolate; padding-top: var(--space-9); padding-bottom: var(--space-7); overflow: clip; }
.garage__glow { right: -8%; top: 10%; }
.garage__kopf { display: grid; gap: var(--space-3); margin-bottom: var(--space-7); }
.garage__kopf h2 { font-size: var(--step-5); }
.garage__intro { max-width: 40ch; }
.garage__viewport {
  scroll-padding-inline: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 8px;
}
.garage__viewport::-webkit-scrollbar { display: none; }
.garage__spur {
  display: flex; gap: 16px; list-style: none; margin: 0; padding: 4px var(--gutter);
  width: max-content;
}
.garage__welt, .garage__wechsel {
  flex: none; width: min(70vw, 300px); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 8px;
  scroll-snap-align: start;
}
.garage__welt { width: auto; min-width: min(70vw, 300px); }
.garage__welt h3 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); font-stretch: 125%; letter-spacing: -0.04em; color: var(--max-red); }
.garage__wechsel { justify-content: center; gap: 16px; width: min(60vw, 280px); }
.garage__wechsel p { font-family: var(--font-display); font-weight: 850; font-stretch: 125%; font-size: var(--step-3); }
.speedlines { display: grid; gap: 10px; }
.speedlines span { display: block; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--max-red)); transform-origin: right; }
.speedlines span:nth-child(2) { width: 70%; justify-self: end; }
.speedlines span:nth-child(3) { width: 90%; justify-self: end; opacity: 0.6; }
.speedlines span:nth-child(4) { width: 55%; justify-self: end; }
.speedlines span:nth-child(5) { width: 80%; justify-self: end; opacity: 0.5; }

.klasse-karte { flex: none; width: min(84vw, 380px); scroll-snap-align: start; }
.klasse-karte__link {
  position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%;
  padding: 24px; border-radius: var(--r-l); background: var(--asphalt); border: 1px solid var(--line);
  text-decoration: none; transition: border-color var(--dur-s), background-color var(--dur-s);
}
.klasse-karte__link:hover { border-color: rgb(228 50 43 / 0.6); background: var(--asphalt-2); text-decoration: none; }
.klasse-karte__fahrzeug { color: var(--white); padding: 18px 6px 4px; transition: transform var(--dur-m) var(--ease-drive); }
.klasse-karte[data-welt="motorrad"] .klasse-karte__fahrzeug { color: var(--max-red-bright); }
.klasse-karte__link:hover .klasse-karte__fahrzeug { transform: translateX(10px); }
.klasse-karte__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.klasse-karte__alter { font-size: 0.9rem; color: var(--fog); margin-top: -8px; }
.klasse-karte__name { font-size: var(--step-2); font-stretch: 112%; }
.klasse-karte__fakten { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: rgb(255 255 255 / 0.82); font-size: 0.98rem; }
.klasse-karte__fakten li { padding-left: 18px; position: relative; }
.klasse-karte__fakten li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--max-red); }
.klasse-karte__preis { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 1.05rem; }
.klasse-karte__preis .num { font-weight: 700; color: var(--white); }
.klasse-karte__mehr { display: inline-flex; align-items: center; gap: 6px; color: var(--max-red-bright); font-weight: 700; }
.garage__fortschritt { margin-top: var(--space-6); }
.fahrbahn { position: relative; height: 6px; border-radius: 3px; background: var(--asphalt-2); overflow: hidden; }
.fahrbahn span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0.08); background: repeating-linear-gradient(90deg, var(--max-red) 0 28px, transparent 28px 42px); }
@media (min-width: 1000px) {
  .js:not(.reduce-motion) .garage.is-pinbar .garage__viewport { overflow: visible; scroll-snap-type: none; }
  .klasse-karte { width: 380px; }
}

/* ---------- Theorie-Story / Lektions-Ring ---------- */
.theorie-story { position: relative; isolation: isolate; padding-block: var(--space-10); overflow: clip; }
.theorie-story__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1000px) { .theorie-story__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.theorie-story h2 { font-size: var(--step-4); max-width: 12ch; }
@media (min-width: 1000px) { .theorie-story { padding-block: var(--space-8); } .theorie-story__grid { min-height: calc(100vh - 2 * var(--space-8)); } .woche { margin-block: var(--space-5); } .woche__tag { padding-block: 9px; } .theorie-story__ring { width: min(100%, 460px, 62vh); } }
.theorie-story .lead { margin-top: var(--space-5); }
.theorie-story .lead strong { color: var(--max-red-bright); }
.woche { list-style: none; margin: var(--space-6) 0; padding: 0; display: grid; gap: 6px; }
.woche__tag {
  display: grid; grid-template-columns: 7.2em 1fr auto; gap: 4px 14px; align-items: baseline;
  padding: 12px 14px; border-radius: var(--r-s); background: rgb(255 255 255 / 0.04); border: 1px solid transparent;
  transition: background-color var(--dur-s), border-color var(--dur-s);
}
.woche__tag.is-an { background: rgb(228 50 43 / 0.14); border-color: rgb(228 50 43 / 0.5); }
.woche__tag time { color: var(--fog); font-size: 0.92rem; }
.woche__ort { font-weight: 700; }
.woche__lek { font-weight: 700; color: var(--max-red-bright); }
.woche__art { grid-column: 2 / -1; color: var(--fog); font-size: 0.88rem; }
.theorie-story__fazit.is-an { color: var(--white); }
.js:not(.reduce-motion) .theorie-story__fazit { color: #C9CCD2; transition: color var(--dur-s); }
.theorie-story__fazit { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: var(--step-2); line-height: 1.15; margin-bottom: var(--space-5); max-width: 22ch; }
.theorie-story__ring { position: relative; width: min(100%, 520px); justify-self: center; }
.ring { width: 100%; height: auto; overflow: visible; }
.ring__seg { fill: none; stroke: rgb(255 255 255 / 0.12); stroke-width: 18; transition: stroke var(--dur-s) var(--ease-out); }
.ring__seg.is-an { stroke: var(--max-red); }
.ring--gross .ring__seg { stroke-width: 20; }
.ring__nr { fill: var(--fog); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.ring__mitte { fill: var(--white); font-family: var(--font-display); font-stretch: 125%; font-weight: 850; font-size: 46px; letter-spacing: -0.04em; }
.ring__unter { fill: var(--fog); font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.ring--mini .ring__seg { stroke-width: 26; }
.pillen { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pille { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 0.92rem; color: var(--fog); transition: background-color var(--dur-s) var(--ease-out), border-color var(--dur-s) var(--ease-out), color var(--dur-s) var(--ease-out), box-shadow var(--dur-s) var(--ease-out); }
.pille.is-an { background: var(--max-red-cta); border-color: var(--max-red-cta); color: var(--white); box-shadow: 0 0 24px var(--max-red-glow); }
/* ohne Animation: alle Pillen und Tage leicht hervorgehoben */
.no-js .woche__tag, .reduce-motion .woche__tag { border-color: rgb(228 50 43 / 0.3); }

/* ---------- Theorie-Widget ---------- */
.tw {
  position: relative; display: grid; gap: 14px; padding: 18px; border-radius: var(--r-m);
  background: var(--asphalt); border: 1px solid var(--line); color: var(--white);
}
.tw--glas {
  background: rgb(23 25 30 / 0.62); border-color: rgb(255 255 255 / 0.14);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .tw--glas { background: var(--asphalt); } }
@media (prefers-reduced-transparency: reduce) { .tw--glas { background: var(--asphalt); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.tw__kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tw__titel { font-size: 1.05rem; font-stretch: 112%; font-weight: 800; }
.tw__body { min-height: 8.6em; transition: opacity var(--dur-s) var(--ease-out); }
.tw__body.is-laden { opacity: 0.35; }
.tw__inhalt > * + * { margin-top: 4px; }
.tw__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fog); }
.tw__tag--heute { color: var(--go); }
.tw__tag--pause { color: var(--amber); }
.tw__punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 0 rgb(34 197 94 / 0.6); animation: puls 2s var(--ease-in-out) infinite; }
.tw__haupt time { font-family: inherit; font-variant-numeric: tabular-nums; }
.tw__haupt { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 1.4rem; line-height: 1.15; }
.tw__neben { color: rgb(255 255 255 / 0.8); font-size: 0.95rem; }
.tw__danach { color: var(--fog); font-size: 0.9rem; }
.tw__einstieg { margin-top: 10px !important; padding-top: 10px; border-top: 1px dashed rgb(255 255 255 / 0.16); font-size: 0.92rem; color: rgb(255 255 255 / 0.82); }
.tw__einstieg strong { color: var(--white); }
.tw__inhalt a { color: var(--max-red-bright); font-weight: 700; }
.tw__ringe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tw__ring { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--fog); }
.tw__ring span { display: grid; line-height: 1.25; }
.tw__ring b { color: var(--white); font-size: 0.85rem; }
.tw__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--white); min-height: 44px; }
.tw__link:hover .ico { transform: translateX(4px); }
.tw__link .ico { transition: transform var(--dur-s) var(--ease-drive); }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0.55); } 70% { box-shadow: 0 0 0 8px rgb(34 197 94 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); } }

/* Standort-Umschalter */
.toggle {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: auto; align-items: stretch;
  padding: 3px; border-radius: 10px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.1);
}
.toggle label { position: relative; z-index: 1; display: grid; place-items: center; min-height: 36px; padding: 0 10px; font-size: 0.84rem; font-weight: 700; color: var(--fog); cursor: pointer; border-radius: 7px; transition: color var(--dur-s); white-space: nowrap; }
.toggle input:checked + label { color: var(--white); background: var(--max-red-cta); }
.js .toggle input:checked + label { background: transparent; }
.toggle input:focus-visible + label { outline: 2px solid var(--max-red-bright); outline-offset: 1px; }
.toggle__marke { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 7px; background: var(--max-red-cta); transition: transform var(--dur-s) var(--ease-out), width var(--dur-s) var(--ease-out); display: none; }
.js .toggle__marke { display: block; }
.toggle--hell { background: var(--paper-2); border-color: var(--rule); }
.toggle--hell label { color: var(--fog-ink); }
.toggle--hell input:checked + label { color: var(--white); }
@media (max-width: 420px) { .toggle label { padding: 0 7px; font-size: 0.78rem; } }

/* ---------- Status-Leuchte ---------- */
.status { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; font-weight: 600; }
.status__lampe { flex: none; width: 10px; height: 10px; margin-top: 0.45em; border-radius: 50%; background: #9BA1AB; }
.status--offen .status__lampe { background: var(--go); animation: puls 2s var(--ease-in-out) infinite; }
.status--offen { color: var(--go-ink); }
.sektion--dunkel .status--offen { color: #4ADE80; }
.status--vereinbarung .status__lampe { background: var(--amber); }
.status--urlaub .status__lampe { background: var(--max-red); }
.reduce-motion .status__lampe, .reduce-motion .tw__punkt { animation: none !important; }

/* ---------- Preis-Moment ---------- */
.preis-moment { position: relative; padding-block: var(--space-9); overflow: clip; }
.preis-moment__inner { display: grid; gap: var(--space-6); align-items: end; }
@media (min-width: 1000px) { .preis-moment__inner { grid-template-columns: auto minmax(300px, 1fr); gap: var(--space-7); } }
.preis-moment__zahl {
  margin: 0; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; letter-spacing: -0.06em;
  font-size: clamp(6.5rem, 1rem + 19vw, 19rem); line-height: 0.78; display: flex; align-items: flex-start;
  font-variant-numeric: tabular-nums;
}
.preis-moment__euro { font-size: 0.38em; margin-left: 0.08em; margin-top: 0.08em; letter-spacing: 0; }
.preis-moment__text h2 { font-size: var(--step-3); }
.preis-moment__text .lead { margin: var(--space-4) 0 var(--space-6); color: rgb(255 255 255 / 0.92); }
.preis-moment mark.ph { font-size: 0.7em; }

/* ---------- Kostenrechner ---------- */
.rechner-sektion { background: var(--paper); }
.rechner__ui[hidden], .rechner__fallback[hidden] { display: none; }
.rechner__ui { display: grid; gap: var(--space-6); }
@media (min-width: 1000px) { .rechner__ui { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: start; } }
.rechner__eingaben { display: grid; gap: var(--space-6); }
.rechner fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rechner legend, .rechner__slider > label { display: block; font-weight: 800; font-family: var(--font-display); font-stretch: 112%; font-size: 1.15rem; margin-bottom: 12px; }
.rechner__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.slider { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.slider__wert { min-width: 3ch; font-size: 1.6rem; font-weight: 800; text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--max-red) 0 var(--p, 25%), var(--rule) var(--p, 25%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--rule); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--max-red); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); box-shadow: var(--shadow-1); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--max-red); outline-offset: 2px; }
.feld__hilfe { font-size: 0.9rem; color: var(--fog-ink); margin-top: 4px; }
.rechner__sonder { font-size: 0.98rem; }
.rechner__extras { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--max-red-cta); flex: none; }
.check small { color: var(--fog-ink); font-weight: 500; }
.rechner__ergebnis {
  position: relative; padding: 24px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow-2);
  display: grid; gap: 6px;
}
@media (min-width: 1000px) { .rechner__ergebnis { position: sticky; top: calc(var(--header-h) + 24px); } }
.rechner__summe-label { font-weight: 700; color: var(--fog-ink); font-size: 0.95rem; }
.rechner__summe { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.6rem, 2rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.04em; }
.rechner__posten { margin-top: 10px; }
.rechner__posten summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.rechner__posten dl { margin: 0; display: grid; }
.rechner__posten dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 0.95rem; }
.rechner__posten dd { margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rechner__hinweis { font-size: 0.86rem; color: var(--fog-ink); margin: 8px 0 12px; }

/* Preis-Karten */
.preis-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.preis { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-1); }
.sektion--dunkel .preis { background: var(--asphalt); box-shadow: none; border: 1px solid var(--line); }
.preis__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.preis__titel { font-size: 1.15rem; font-stretch: 112%; }
.preis__gross { display: grid; }
.preis__gross .num { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem); line-height: 1; letter-spacing: -0.04em; }
.preis__einheit { font-weight: 600; color: var(--fog-ink); font-size: 0.95rem; }
.sektion--dunkel .preis__einheit { color: var(--fog); }
.preis__liste { margin: 0; display: grid; }
.preis__liste div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
.sektion--dunkel .preis__liste div { border-color: var(--line); }
.preis__liste dt { font-size: 0.95rem; }
.preis__liste dd { margin: 0; text-align: right; font-weight: 600; }
.preis__fuss { font-size: 0.88rem; color: var(--fog-ink); }
.preis__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--max-red-strong); text-decoration: none; min-height: 44px; }
.hinweis-gebuehren { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--space-6); padding: 16px 18px; border-radius: var(--r-m); background: var(--paper-2); font-size: 0.95rem; max-width: 80ch; }
.hinweis-gebuehren .ico { margin-top: 2px; color: var(--max-red-strong); }
.sektion--dunkel .hinweis-gebuehren { background: var(--asphalt); }
.raten {
  display: grid; gap: 14px; align-items: center; margin-top: var(--space-7); padding: 24px; border-radius: var(--r-m);
  border: 2px solid var(--ink);
}
@media (min-width: 800px) { .raten { grid-template-columns: auto 1fr auto; gap: 24px; } }
.raten h3 { font-size: 1.3rem; margin-bottom: 4px; }

/* ---------- Kostenlos ---------- */
.kostenlos { background: var(--paper); }
.kostenlos__grid { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .kostenlos__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .gratis--gross { grid-column: 1 / span 6; grid-row: 1 / span 2; }
  .kostenlos__grid > .gratis:nth-child(2) { grid-column: 7 / span 6; }
  .extras { grid-column: 7 / span 6; grid-template-columns: 1fr 1fr; gap: 20px; }
}
.gratis { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow-1); }
.gratis--gross { background: var(--ink); color: var(--white); box-shadow: none; justify-content: flex-end; min-height: 340px; position: relative; overflow: hidden; }
.gratis--gross::before { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, var(--max-red-glow), transparent); }
.gratis--gross .link-pfeil { color: var(--max-red-bright); }
.gratis__preis { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: var(--step-4); line-height: 1; color: var(--max-red); letter-spacing: -0.04em; }
.gratis--offen .gratis__preis { font-size: var(--step-3); }
.gratis h3 { font-size: var(--step-2); }
.gratis--offen h3 { font-size: 1.3rem; }
.extras { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-l); border: 2px dashed var(--rule); align-content: start; }
.extras__item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.extras__item h3 { font-size: 1.05rem; margin-bottom: 2px; }
.extras__item p { font-size: 0.93rem; }
.extras__item > .ico { width: 28px; height: 28px; color: var(--max-red-strong); }

/* ---------- Motorrad ---------- */
.motorrad { position: relative; padding-block: var(--space-10); overflow: clip; isolation: isolate; }
.motorrad__verlauf { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(14 15 18 / 0.92) 0%, rgb(14 15 18 / 0.7) 55%, rgb(14 15 18 / 0.4)); }
.motorrad__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1000px) { .motorrad__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.motorrad h2 { font-size: var(--step-5); max-width: 9ch; }
.motorrad .lead { margin-top: var(--space-5); color: rgb(255 255 255 / 0.86); }
.moto-liste { list-style: none; margin: var(--space-7) 0 0; padding: 0; border-top: 1px solid var(--line); }
.moto-liste a { display: grid; grid-template-columns: 4.6em 1fr auto 24px; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color var(--dur-s); }
.moto-liste a:hover { background: rgb(255 255 255 / 0.04); }
.moto-liste a:hover .ico { transform: translateX(4px); color: var(--max-red-bright); }
.moto-liste .ico { transition: transform var(--dur-s) var(--ease-drive); }
.moto-liste__name { display: grid; font-weight: 700; }
.moto-liste__name small { font-weight: 500; font-size: 0.85rem; }
.moto-liste__preis { font-size: 0.92rem; text-align: right; }
@media (max-width: 599px) { .moto-liste a { grid-template-columns: 4.2em 1fr 20px; } .moto-liste__preis { grid-column: 2; grid-row: 2; text-align: left; } }
.bike2bike { justify-self: center; width: min(100%, 400px); }
.bike2bike__svg { width: 100%; height: auto; overflow: visible; }
.bike2bike__strasse { fill: none; stroke: rgb(255 255 255 / 0.08); stroke-width: 46; stroke-linecap: round; }
.bike2bike__linie { fill: none; stroke: var(--max-red); stroke-width: 2.5; stroke-dasharray: 8 7; stroke-linecap: round; }
.bike2bike__lehrer { color: var(--max-red); filter: drop-shadow(0 0 8px rgb(228 50 43 / 0.8)); }
.bike2bike__schueler { color: var(--white); }
.bike2bike__legende { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 12px; font-size: 0.9rem; color: var(--fog); }
.punkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: -8px; }
.punkt--rot { background: var(--max-red); } .punkt--weiss { background: var(--white); }

/* ---------- Ablauf / vertikale Straße ---------- */
.ablauf { background: var(--paper); }
.strasse { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 0 clamp(16px, 4vw, 48px); max-width: 900px; }
.strasse__svg { grid-column: 1; grid-row: 1; width: 40px; height: 100%; }
.strasse__belag { fill: var(--ink); rx: 6; }
.strasse__mitte { stroke: rgb(255 255 255 / 0.25); stroke-width: 3; stroke-dasharray: 18 14; }
.strasse__mitte-an { stroke: var(--max-red); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; }
.strasse__schritte { grid-column: 2; grid-row: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-7); padding-block: 12px; }
.schritt { position: relative; display: grid; gap: 6px; }
.schritt__nr {
  position: absolute; left: calc(-1 * clamp(16px, 4vw, 48px) - 34px); top: 0; width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--max-red-cta); color: var(--white); border-radius: 50%; font-weight: 800; font-size: 0.85rem; box-shadow: 0 0 0 4px var(--paper);
}
.schritt h3 { font-size: var(--step-2); }
.schritt p { max-width: 58ch; }
.haken { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.haken li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; }
.haken__ico { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.haken__ico path { fill: none; stroke: var(--max-red-strong); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ablauf__mehr { margin-top: var(--space-6); }

/* ---------- Weitere Kurse (editoriale Liste) ---------- */
.kurse { background: var(--paper); border-top: 1px solid var(--rule); }
.kurse__grid { display: grid; gap: var(--space-6); }
@media (min-width: 1000px) { .kurse__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; column-gap: var(--space-8); } .kurse h2 { padding-top: 18px; position: sticky; top: calc(var(--header-h) + 24px); } }
.kurse h2 { font-size: var(--step-4); line-height: 1; max-width: 11ch; }
.kurs-liste { list-style: none; margin: 0; padding: 0; }
.kurs-liste a {
  display: grid; grid-template-columns: 1fr 28px; gap: 4px 16px; align-items: center; padding: 22px 4px;
  border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding var(--dur-s) var(--ease-out);
}
@media (min-width: 700px) { .kurs-liste a { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; gap: 4px 24px; } }
.kurs-liste li:first-child a { border-top: 1px solid var(--rule); }
.kurs-liste__titel { hyphens: auto; overflow-wrap: anywhere; font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.1; }
.kurs-liste__info { color: var(--fog-ink); grid-column: 1; }
@media (min-width: 700px) { .kurs-liste__info { grid-column: 2; } }
.kurs-liste .ico { grid-row: 1 / span 2; grid-column: -2; color: var(--max-red-strong); transition: transform var(--dur-s) var(--ease-drive); width: 28px; height: 28px; }
@media (min-width: 700px) { .kurs-liste .ico { grid-row: 1; } }
.kurs-liste a:hover .ico { transform: translateX(6px); }
.kurs-liste a:hover .kurs-liste__titel { color: var(--max-red-strong); }

/* ---------- Team ---------- */
.team-sektion__kopf { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.team-sektion h2 { font-size: var(--step-5); max-width: 12ch; }
.filter { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; margin-bottom: var(--space-6); }
.filter[hidden] { display: none; }
.filter__gruppe { display: grid; gap: 6px; }
.filter__gruppe label { font-weight: 700; font-size: 0.9rem; }
.filter select, .feld select {
  min-height: 48px; padding: 0 44px 0 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--asphalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239BA1AB' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none; appearance: none; font-weight: 600;
}
.filter__ergebnis { font-size: 0.92rem; color: var(--fog); min-height: 1.5em; }
.ausweise { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.ausweis.is-aus { display: none; }
.ausweis__karte {
  position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-m); overflow: hidden;
  background: linear-gradient(160deg, #1D2026, var(--asphalt) 60%); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform var(--dur-s) var(--ease-out), border-color var(--dur-s);
}
.ausweis__karte::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / 0.06), transparent 50%); }
.ausweis__karte:hover { border-color: rgb(228 50 43 / 0.5); }
.ausweis__foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #24272E; }
.ausweis__foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.95); transition: filter var(--dur-m) var(--ease-out), transform var(--dur-m) var(--ease-out); }
.ausweis__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(228 50 43 / 0.35)); mix-blend-mode: multiply; pointer-events: none; transition: opacity var(--dur-m); }
.ausweis__karte:hover .ausweis__foto img { filter: none; transform: scale(1.03); }
.ausweis__karte:hover .ausweis__foto::after { opacity: 0; }
.ausweis__leer { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; padding: 24px; text-align: center; color: var(--line); }
.ausweis__initialen { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 4.5rem; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgb(228 50 43 / 0.7); }
.ausweis__daten { display: grid; align-content: start; gap: 8px; padding: 18px 18px 22px; }
.ausweis__name { font-size: 1.45rem; font-stretch: 112%; }
.ausweis__rolle { color: var(--fog); font-size: 0.95rem; margin-top: -4px; }
.ausweis__orte { font-size: 0.88rem; color: rgb(255 255 255 / 0.8); }
.ausweis__klassen { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.ausweis__klassen-leer { font-size: 0.85rem; }

/* ---------- Standorte ---------- */
.standorte-sektion { background: var(--paper); }
.standorte-sektion__grid { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .standorte-sektion__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; } .standorte-sektion__karte { position: sticky; top: calc(var(--header-h) + 24px); } }
.standorte-sektion h2 { font-size: var(--step-4); max-width: 10ch; margin-bottom: var(--space-6); }
.karte { margin: 0; }
.karte__svg { width: 100%; height: auto; background: var(--ink); border-radius: var(--r-l); overflow: hidden; }
.karte__fluss path { fill: none; stroke: #3B6E9B; stroke-width: 5; stroke-linecap: round; opacity: 0.85; }
.karte__bahn path { fill: none; stroke: #5A5E68; stroke-width: 3; stroke-dasharray: 10 6; }
.karte__beschriftung text { fill: #8E949E; font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.karte__beschriftung .karte__ab { fill: #C7CAD0; font-weight: 800; }
.karte__route { fill: none; stroke: var(--max-red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.karte__auto { color: var(--white); }
.karte__pin path { fill: var(--max-red); stroke: var(--white); stroke-width: 2; }
.karte__pin-punkt { fill: var(--white); }
.karte__ort { fill: var(--white); font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 15px; }
.karte__pin a:focus-visible { outline: none; }
.karte__pin a:focus-visible path { stroke: var(--amber); stroke-width: 4; }
.standorte-sektion__orte { display: grid; gap: 16px; }
.ort { padding: 22px 24px; border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-1); display: grid; gap: 12px; }
.ort__name { font-size: var(--step-2); }
.ort__name a { text-decoration: none; }
.ort__name a:hover { color: var(--max-red-strong); }
.ort__adresse { font-style: normal; }
.ort__zeiten { margin: 0; display: grid; gap: 2px; font-size: 0.95rem; }
.ort__zeiten div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--rule); }
.ort__zeiten dt { font-weight: 700; }
.ort__zeiten dd { margin: 0; text-align: right; }
.ort__zeit--vb dd, .ort__zeit--zu dd { color: var(--fog-ink); font-family: var(--font-body); }
.ort__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ort__links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; min-height: 44px; text-decoration: none; color: var(--max-red-strong); }
.fassade { margin: 8px 0 0; }
.fassade img { border-radius: var(--r-m); width: 100%; }
.fassade figcaption { margin-top: 8px; font-size: 0.9rem; }

.zweiklick { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; background: var(--paper-2); border: 1px solid var(--rule); }
.zweiklick__inhalt { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; max-width: 46ch; margin: auto; }
.zweiklick__inhalt p { font-size: 0.93rem; }
.zweiklick__alt { font-weight: 700; font-size: 0.93rem; }
.zweiklick iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.zweiklick .btn--hell { --bg: var(--ink); --bd: var(--ink); }

/* ---------- Eltern ---------- */
.eltern { background: var(--paper); border-top: 1px solid var(--rule); }
.eltern__grid { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .eltern__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-8); } }
.eltern h2 { font-size: var(--step-4); }
.eltern .lead { margin: var(--space-4) 0 var(--space-6); }
.eltern__liste { margin: 0; display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 700px) { .eltern__liste { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); } }
.eltern__liste div { padding: 18px 0; border-top: 2px solid var(--ink); }
.eltern__liste dt { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 1.15rem; margin-bottom: 6px; }
.eltern__liste dd { margin: 0; color: #33363D; }

/* ---------- Folge MAX + Marquee ---------- */
.folge { position: relative; isolation: isolate; padding-bottom: var(--space-9); overflow: clip; }
.marquee { overflow: hidden; padding-block: var(--space-6) var(--space-7); }
.marquee__spur { display: flex; width: max-content; will-change: transform; }
.marquee__spur span {
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: var(--step-xxl); line-height: 0.85; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 2px rgb(255 255 255 / 0.22); white-space: nowrap;
}
.folge__grid { display: grid; gap: var(--space-7); align-items: end; }
@media (min-width: 900px) { .folge__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.folge h2 { font-size: var(--step-4); }
.folge__links { list-style: none; margin: var(--space-5) 0 var(--space-3); padding: 0; }
.folge__links a { display: grid; grid-template-columns: 1fr auto 24px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.folge__links .mono { color: var(--fog); font-weight: 500; font-size: 0.9rem; }
.folge__links a:hover .ico { color: var(--max-red-bright); transform: translate(2px, -2px); }
.folge__links .ico { transition: transform var(--dur-s) var(--ease-out); }
.folge__bilder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.folge__bilder li { aspect-ratio: 9 / 14; border-radius: var(--r-m); overflow: hidden; background: var(--asphalt); }
.folge__bilder li:nth-child(2) { transform: translateY(-28px); }
.folge__bilder picture { display: block; height: 100%; }
.folge__bilder img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bewertungen ---------- */
.bewertungen { background: var(--paper); }
.bewertungen__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: var(--space-6); }
.bewertungen h2 { font-size: var(--step-4); max-width: 14ch; }
.google-badge { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-1); }
.google-badge .ico { color: #E8A317; fill: #E8A317; }
.bewertung-liste { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.bewertung { padding: 22px; border-radius: var(--r-m); background: var(--white); display: grid; gap: 10px; }
.bewertung--platzhalter { background: transparent; border: 2px dashed var(--rule); }
.bewertung__name { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-sektion { background: var(--paper); border-top: 1px solid var(--rule); }
.faq-sektion__grid { display: grid; gap: var(--space-6); }
@media (min-width: 1000px) { .faq-sektion__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.faq-sektion h2 { font-size: var(--step-4); max-width: 11ch; }
.faq { border-top: 2px solid var(--ink); }
.sektion--dunkel .faq { border-color: var(--white); }
.faq__item { border-bottom: 1px solid var(--rule); }
.sektion--dunkel .faq__item { border-color: var(--line); }
.faq__item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; min-height: 44px; cursor: pointer;
  font-family: var(--font-display); font-weight: 750; font-stretch: 108%; font-size: var(--step-1); line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--max-red-strong); }
.sektion--dunkel .faq__item summary:hover { color: var(--max-red-bright); }
.faq__plus { position: relative; flex: none; width: 22px; height: 22px; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--dur-s) var(--ease-out); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__antwort { padding: 0 0 22px; max-width: 70ch; display: grid; gap: 8px; }
.faq__pruefen { font-size: 0.85rem; }
.faq__item::details-content { block-size: 0; overflow: clip; transition: block-size var(--dur-s) var(--ease-out), content-visibility var(--dur-s) allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* ---------- Finale ---------- */
.finale { position: relative; isolation: isolate; padding-block: var(--space-10); overflow: clip; }
.finale__grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .finale__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); } }
.finale__marke { justify-self: center; width: min(100%, 420px); }
.finale__logo { width: 100%; height: auto; filter: drop-shadow(0 20px 60px rgb(228 50 43 / 0.35)); }
.finale__titel { font-size: var(--step-5); max-width: 8ch; }
.finale .lead { margin-top: var(--space-4); }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--space-9) calc(var(--space-6) + 72px); }
@media (min-width: 900px) { .site-footer { padding-bottom: var(--space-6); } }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--max-red-bright); }
.site-footer__top { display: grid; gap: var(--space-7); margin-bottom: var(--space-7); }
@media (min-width: 1000px) { .site-footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.site-footer__slogan { font-family: var(--font-display); font-weight: 850; font-stretch: 125%; font-size: var(--step-2); margin: 14px 0 6px; }
.site-footer__kontakt { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: 4px; }
.site-footer__kontakt a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.site-footer__orte { display: grid; gap: var(--space-6); }
@media (min-width: 700px) { .site-footer__orte { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-footer__h { font-size: 1.1rem; font-stretch: 112%; margin-bottom: 10px; }
.site-footer address { font-style: normal; color: rgb(255 255 255 / 0.82); margin-bottom: 10px; }
.site-footer__zeiten { margin: 0; display: grid; gap: 4px; font-size: 0.9rem; }
.site-footer__zeiten div { display: flex; justify-content: space-between; gap: 8px; }
.site-footer__zeiten dt { color: var(--fog); }
.site-footer__zeiten dd { margin: 0; text-align: right; }
.site-footer .spur { color: var(--white); }
.site-footer__mitte { display: grid; gap: var(--space-6); margin-block: var(--space-7); }
@media (min-width: 900px) { .site-footer__mitte { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.site-footer__nav ul, .site-footer__social ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer__nav a, .site-footer__social a, .site-footer__social li > span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 600; }
.site-footer__unten { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: 0.92rem; }
.site-footer__unten ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.site-footer__unten ul a { display: inline-flex; min-height: 44px; align-items: center; }
.motion-schalter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; background: none; border: 0; color: inherit; font-weight: 600; padding: 0; }
.motion-schalter__spur { position: relative; width: 44px; height: 24px; border-radius: 12px; background: var(--line); transition: background-color var(--dur-s); }
.motion-schalter__spur span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform var(--dur-s) var(--ease-out); }
.motion-schalter[aria-pressed="true"] .motion-schalter__spur { background: var(--max-red-cta); }
.motion-schalter[aria-pressed="true"] .motion-schalter__spur span { transform: translateX(20px); }

/* Mobile Sticky-Bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line);
  transition: transform var(--dur-s) var(--ease-out);
}
.sticky-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.85rem; }
.sticky-bar a.sticky-bar__rot { background: var(--max-red-cta); }
.sticky-bar.is-versteckt { transform: translateY(110%); }
@media (min-width: 900px) { .sticky-bar { display: none; } }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: var(--z-sticky); display: none; place-items: center;
  width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: var(--white); border: 2px solid var(--max-red);
  box-shadow: 0 12px 30px -8px rgb(14 15 18 / 0.6); transition: transform var(--dur-s) var(--ease-out), background-color var(--dur-xs);
}
.wa-float .ico { width: 26px; height: 26px; }
.wa-float:hover { background: var(--max-red-cta); }
@media (min-width: 900px) { .wa-float { display: grid; } }
.js .wa-float:not(.is-da) { transform: translateY(140px) rotate(-90deg); }

/* =========================================================================
   Unterseiten
   ========================================================================= */
.seiten-hero { position: relative; padding: calc(var(--space-9) + 8px) 0 var(--space-9); overflow: clip; isolation: isolate; }
.seiten-hero__inner { position: relative; z-index: 1; display: grid; gap: var(--space-4); }
.seiten-hero__titel { font-size: var(--step-5); max-width: 16ch; }
.seiten-hero__lead { color: rgb(255 255 255 / 0.86); }
.seiten-hero__rechts { position: absolute; right: var(--gutter); bottom: 0; width: min(46vw, 560px); color: rgb(255 255 255 / 0.9); z-index: 0; pointer-events: none; }
@media (max-width: 899px) { .seiten-hero__rechts { position: relative; right: auto; width: 80%; margin: var(--space-6) var(--gutter) 0 auto; } }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--fog); }
.brotkrumen li + li::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { color: var(--white); }

.inhalt { padding-block: var(--space-9); }
.inhalt--hell { background: var(--paper); }
.zwei-spalten { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .zwei-spalten { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); } .zwei-spalten--gegen { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.prosa > * + * { margin-top: 1em; }
.prosa h2 { font-size: var(--step-3); margin-top: 1.6em; }
.prosa h3 { font-size: var(--step-1); margin-top: 1.4em; }
.prosa ul, .prosa ol { padding-left: 1.2em; }
.prosa li + li { margin-top: 0.35em; }
.prosa li::marker { color: var(--max-red); }
.box { padding: 24px; border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-1); }
.box--dunkel { background: var(--ink); color: var(--white); box-shadow: none; }
.box h2, .box h3 { margin-bottom: 10px; }
.box h2 { font-size: var(--step-2); }
.aside-stack { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1000px) { .aside-stack { position: sticky; top: calc(var(--header-h) + 24px); } }
.liste-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.liste-check li { display: flex; gap: 10px; }
.liste-check li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23B3211B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.box--dunkel .liste-check li::before, .sektion--dunkel .liste-check li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23FF5A4F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Klassen-Übersicht */
.alter-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 20px; border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-1); margin-bottom: var(--space-7); }
.alter-filter[hidden] { display: none; }
.alter-filter label { font-weight: 800; font-family: var(--font-display); font-stretch: 112%; font-size: 1.15rem; }
.alter-filter input[type="number"] { width: 6em; min-height: 48px; padding: 0 12px; border: 2px solid var(--ink); border-radius: var(--r-s); font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; background: var(--white); }
.alter-filter output { font-size: 0.95rem; color: var(--fog-ink); }
.klassen-grid { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.klassen-grid .klasse-karte { width: auto; }
.klassen-grid .klasse-karte.is-aus { display: none; }
.welt-titel { font-size: var(--step-4); display: flex; align-items: baseline; gap: 16px; margin-bottom: var(--space-5); }
.welt-titel small { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--fog-ink); font-stretch: 100%; letter-spacing: 0; }

/* Klassenseite */
.klasse-hero__fahrzeug { width: 100%; color: var(--white); }
.klasse-hero__fahrzeug .sil { filter: drop-shadow(0 0 22px rgb(228 50 43 / 0.45)); }
.fakten-reihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-4); }
.fakt { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-s); background: rgb(255 255 255 / 0.08); font-weight: 600; font-size: 0.95rem; }

/* Stundenplan */
.plan-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: var(--space-6); }
.plan-grid { display: grid; gap: var(--space-6); }
@media (min-width: 1100px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.plan { border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-1); overflow: hidden; }
.plan.is-aus { display: none; }
.plan__kopf { display: grid; grid-template-columns: 1fr 72px; gap: 12px; align-items: center; padding: 20px 20px 12px; }
.plan__kopf h2 { font-size: var(--step-2); }
.plan__kopf .ring__seg { stroke: var(--rule); }
.plan__kopf .ring__seg.is-an { stroke: var(--max-red); }
.plan__kopf p { font-size: 0.9rem; color: var(--fog-ink); }
.tabelle { width: 100%; font-size: 0.95rem; }
.tabelle th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fog-ink); font-weight: 700; padding: 8px 20px; border-bottom: 2px solid var(--ink); }
.tabelle td { padding: 11px 20px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tabelle td.num, .tabelle th.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabelle tr.is-heute td { background: rgb(34 197 94 / 0.08); }
.tabelle tr.is-vorlaeufig td { color: #4A4E57; }
.tabelle__tag { display: block; font-weight: 700; }
.tabelle__klein { display: block; font-size: 0.82rem; color: var(--fog-ink); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: var(--paper-2); color: var(--fog-ink); }
.badge--heute { background: var(--go-ink); color: var(--white); }
.badge--rot { background: var(--max-red-cta); color: var(--white); }
.tabelle-wrap { overflow-x: auto; }
.pause-zeile td { background: repeating-linear-gradient(135deg, var(--paper) 0 10px, var(--paper-2) 10px 20px); font-weight: 700; text-align: center; }

/* ASF */
.asf-liste { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.asf { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: var(--r-m); background: var(--white); box-shadow: var(--shadow-1); border: 2px solid transparent; }
.asf--aktiv { border-color: var(--max-red); }
.sektion--dunkel .asf { background: var(--asphalt); box-shadow: none; border-color: var(--line); }
.sektion--dunkel .asf--aktiv { border-color: var(--max-red); }
.asf__kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.asf__kopf h3 { font-size: 1.35rem; }
.asf__badge { display: inline-flex; gap: 6px; align-items: baseline; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); font-weight: 700; font-size: 0.85rem; }
.asf__badge--laeuft { background: var(--go-ink); color: var(--white); }
.asf__zeitleiste { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 0; position: relative; }
.asf__zeitleiste::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 10px); opacity: 0.35; }
.asf__punkt { position: relative; display: grid; grid-template-columns: 7.4em 1fr; gap: 10px; padding: 7px 0; font-size: 0.95rem; }
.asf__punkt::before { content: ""; position: absolute; left: -18px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--max-red); }
.asf__punkt--fahrt::before { background: var(--white); border: 2px solid var(--ink); }
.asf__punkt.is-vorbei { opacity: 0.45; }
.asf__punkt.is-vorbei span { text-decoration: line-through; }
.asf__fuss { font-size: 0.88rem; color: var(--fog-ink); }

/* Checkliste */
.checkliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.checkliste label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; min-height: 48px; border-radius: var(--r-s); background: var(--white); cursor: pointer; border: 1px solid var(--rule); transition: background-color var(--dur-s), border-color var(--dur-s); }
.checkliste input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--max-red-cta); }
.checkliste input:checked + span { text-decoration: line-through; text-decoration-color: var(--max-red); color: var(--fog-ink); }
.checkliste label:has(input:checked) { background: var(--paper-2); }
.fortschritt-text { font-weight: 700; margin-bottom: 12px; }

/* Formulare */
.formular { display: grid; gap: var(--space-5); }
.feld { display: grid; gap: 6px; }
.feld label, .feld legend { font-weight: 700; font-size: 0.98rem; }
.feld .pflicht { color: var(--max-red-strong); }
.feld input:not([type="checkbox"]):not([type="radio"]), .feld textarea, .feld select {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-s); border: 1.5px solid #8C9099; background: var(--white); color: var(--ink);
  font-size: 1.0625rem; transition: border-color var(--dur-xs), box-shadow var(--dur-xs);
}
.feld select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230E0F12' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 44px; }
.feld textarea { min-height: 140px; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: #6B7079; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(228 50 43 / 0.35); }
.feld.is-fehler input, .feld.is-fehler textarea, .feld.is-fehler select { border-color: var(--max-red-strong); }
.feld__fehler { color: var(--max-red-strong); font-size: 0.92rem; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.feld__fehler:empty { display: none; }
.feld-reihe { display: grid; gap: var(--space-5); }
@media (min-width: 700px) { .feld-reihe { grid-template-columns: 1fr 1fr; } .feld-reihe--3 { grid-template-columns: 2fr 1fr 2fr; } }
.optionen { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; border-radius: var(--r-s); border: 1.5px solid #8C9099; background: var(--white);
  cursor: pointer; font-weight: 600; transition: border-color var(--dur-xs), background-color var(--dur-xs), color var(--dur-xs);
}
.option input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.option input:focus-visible + span { outline: 3px solid var(--max-red); outline-offset: 2px; }
.option--fahrzeug span { flex-direction: column; align-items: flex-start; min-width: 140px; padding: 12px 14px; }
.option--fahrzeug .sil { width: 96px; color: var(--fog-ink); }
.option--fahrzeug input:checked + span .sil { color: var(--max-red-bright); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 16px 18px; border-radius: var(--r-m); font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.meldung--fehler { background: #FDECEA; color: #7A1712; border: 1px solid #F3B8B3; }
.meldung--ok { background: #E8F6EC; color: #14532D; border: 1px solid #A7DDB5; }
.meldung--info { background: var(--paper-2); }

/* Anmelde-Wizard */
.wizard { display: grid; gap: var(--space-6); }
@media (min-width: 1000px) { .wizard { grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-8); align-items: start; } }
.wizard__seite { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
@media (max-width: 999px) { .wizard__seite { position: static; grid-template-columns: 110px 1fr; align-items: center; } }
.wizard__schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 0.95rem; }
.wizard__schritte li { padding: 6px 0 6px 14px; border-left: 3px solid var(--rule); color: var(--fog-ink); }
.wizard__schritte li.is-aktiv { border-color: var(--max-red); color: var(--ink); font-weight: 700; }
.wizard__schritte li.is-fertig { border-color: var(--ink); color: var(--ink); }
@media (max-width: 999px) { .wizard__schritte { display: none; } }
.wizard__stufe { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--space-5); }
.js .wizard__stufe[data-stufe]:not(.is-aktiv) { display: none; }
.wizard__stufe > legend { font-family: var(--font-display); font-weight: 850; font-stretch: 120%; font-size: var(--step-3); letter-spacing: -0.03em; margin-bottom: var(--space-4); padding: 0; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: var(--space-5); border-top: 1px solid var(--rule); }
.no-js .wizard__nav [data-weiter], .no-js .wizard__nav [data-zurueck] { display: none; }
.js .wizard__absenden:not(.is-sichtbar) { display: none; }
.zusammenfassung { display: grid; gap: 4px; margin: 0; }
.zusammenfassung div { display: grid; grid-template-columns: 12em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.zusammenfassung dt { font-weight: 700; }
.zusammenfassung dd { margin: 0; }
.erfolg { text-align: center; display: grid; justify-items: center; gap: 16px; padding: var(--space-8) 0; }
.erfolg__haken { width: 96px; height: 96px; }
.erfolg__haken circle { fill: none; stroke: var(--go-ink); stroke-width: 4; }
.erfolg__haken path { fill: none; stroke: var(--go-ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichnen 600ms var(--ease-out) 200ms forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
.reduce-motion .erfolg__haken path { animation: none; stroke-dashoffset: 0; }

/* Rechtstexte */
.recht { max-width: 78ch; }
.recht h2 { font-size: var(--step-2); margin-top: 2em; }
.recht h3 { font-size: 1.15rem; margin-top: 1.4em; }
.recht address { font-style: normal; }

/* Standortseite */
.ort-hero__status { margin-top: var(--space-4); }
.ort-hero__status .status { font-size: 1.05rem; }

/* 404 */
.leer-seite { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 20px; }

/* Anmelde-Fortschritt (ersetzt den Tacho) */
.wizard__fortschritt { display: grid; gap: 8px; }
.fahrbahn--hell { background: var(--rule); }
.fahrbahn--hell span { transform: scaleX(0.16); transition: transform var(--dur-m) var(--ease-drive); }
.option--fahrzeug strong { font-size: 1rem; }
.option--fahrzeug small { color: inherit; opacity: 0.75; font-weight: 500; font-size: 0.82rem; }
.leer-hinweis { padding: 20px; border-radius: var(--r-m); background: var(--white); }
.leer-hinweis[hidden] { display: none; }
@media (max-width: 999px) { .wizard__seite { grid-template-columns: 1fr; } }
.wizard__stufe > legend:focus { outline: none; }

/* Mobil: Banner und Hero kompakter, damit der Anmelde-Button im ersten Viewport liegt */
@media (max-width: 699px) {
  .hinweis p { font-size: 0.86rem; padding-block: 8px; gap: 2px 8px; line-height: 1.35; }
  .hinweis p > .ico { display: none; }
  .hero__grid { padding-top: calc(var(--header-h) + 8px); gap: var(--space-5); }
  .hero__sub { margin-top: var(--space-4); font-size: 1.08rem; }
  .hero__ctas { margin-top: var(--space-5); }
  .hero .hero__ctas .btn { min-height: 48px; }
}

/* Garage mobil: Weltlabel kompakt, nächste Karte schaut herein */
@media (max-width: 999px) {
  .garage__welt { min-width: 0; width: 7.5rem; padding: 24px 4px; justify-content: flex-end; }
  .garage__welt h3 { font-size: 1.9rem; }
  .garage__welt p { display: none; }
  .klasse-karte { width: 78vw; }
}
.tw__liste { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; font-size: 0.95rem; }
.tw__liste li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed rgb(255 255 255 / 0.12); }
.tw__liste .mono { color: rgb(255 255 255 / 0.8); }

@media (max-width: 999px) {
  .hero__max { top: calc(var(--header-h) + 6px); translate: 0 0; font-size: 40vw; opacity: 0.7; }
  .garage__welt, .garage__wechsel { display: none; }
  .garage__spur { gap: 12px; }
  .klasse-karte { width: calc(100vw - 2 * var(--gutter) - 56px); }
}
