/* =========================================================
   Fahrspur24 – Stylesheet
   ========================================================= */
:root {
  /* Rot: leicht entsättigt, damit es edel statt schreiend wirkt */
  --red: #bd1e36;
  --red-600: #a11a2f;
  --red-700: #761424;
  --red-glow: #ff8a99;
  --red-50: #fbf0f0;
  --red-100: #f5dcdf;

  /* Eine warme Grau-Familie, leicht rot getönt */
  --ink: #1a1314;
  --ink-2: #2c2224;
  --muted: #6f6264;
  --line: #ece2e1;
  --paper: #fcf8f6;
  --warm: #f6eeeb;
  --white: #fff;
  --wa: #1fa855;

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 12px;
  --r-xs: 8px;

  /* getönte Schatten, Licht kommt von oben */
  --shadow: 0 1px 2px rgba(74,20,30,.06), 0 14px 34px -14px rgba(74,20,30,.22);
  --shadow-lg: 0 2px 4px rgba(74,20,30,.05), 0 40px 70px -30px rgba(74,20,30,.38);
  --shadow-red: 0 14px 30px -12px rgba(189,30,54,.55);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --spring: cubic-bezier(.34,1.4,.64,1);

  --z-base: 1; --z-header: 50; --z-mobilebar: 60; --z-grain: 70; --z-skip: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.62;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* feine Körnung gegen sterile Flächen */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: var(--z-grain); opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.06; margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-xs); z-index: var(--z-skip); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--spring), background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .08s; }
.btn--lg { padding: 17px 28px; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { background: var(--red-600); box-shadow: 0 18px 34px -12px rgba(189,30,54,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary .ico { transition: transform .35s var(--spring); }
.btn--primary:hover .ico { transform: translateX(4px); }
.btn--ghost { background: rgba(255,255,255,.6); color: var(--ink); border-color: rgba(26,19,20,.18); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--red-700); }
.btn--light:hover { background: var(--red-50); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: #fff; color: var(--red-700); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178c46; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red); text-decoration: none; font-size: .95rem; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .35s var(--spring); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(252,248,246,.78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px -22px rgba(74,20,30,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark svg { width: 36px; height: 36px; transition: transform .5s var(--spring); }
.logo:hover .logo__mark svg { transform: rotate(-8deg); }
.logo__mark rect { fill: var(--red); }
.logo__mark path { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 4 3; animation: lane 1.2s linear infinite; }
.logo__text { font: 800 1.42rem/1 var(--font-display); letter-spacing: -.035em; }
.logo__text b { color: var(--red); }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text b { color: var(--red-glow); }
@keyframes lane { to { stroke-dashoffset: -14; } }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  position: relative; padding: 8px 13px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); border-radius: 999px;
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 10px);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--red); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; padding: 11px 18px; }
.nav__cta .ico { width: 17px; height: 17px; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--ink); border-radius: 14px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--spring), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(44px, 7vw, 100px) 0 0; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: -30% -20% auto 40%; height: 120%;
  background:
    radial-gradient(40% 45% at 60% 40%, rgba(189,30,54,.17), transparent 70%),
    radial-gradient(30% 30% at 20% 80%, rgba(255,138,153,.16), transparent 70%);
  filter: blur(10px);
}
.hero__road { position: absolute; right: -4%; top: 0; bottom: 0; width: min(46vw, 640px); z-index: -1; }
.hero__road svg { width: 100%; height: 100%; }
.road-edge { fill: none; stroke: var(--ink); stroke-width: 130; stroke-linecap: round; opacity: .055; }
.road-lane { fill: none; stroke: var(--red); stroke-width: 6; stroke-dasharray: 34 26; stroke-linecap: round; opacity: .5; animation: drive 2.4s linear infinite; }
@keyframes drive { to { stroke-dashoffset: -120; } }

.hero__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 11px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-2);
  box-shadow: inset 0 1px 0 #fff, var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-100); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(189,30,54,.07); } }

.hero h1 { font-size: clamp(2.9rem, 7.6vw, 6.2rem); font-weight: 800; letter-spacing: -.05em; margin: 24px 0; line-height: .94; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } }
.accent { color: var(--red); position: relative; white-space: nowrap; }
.accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .09em; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--red) 0 22px, transparent 22px 34px); opacity: .35;
  transform-origin: left; animation: drawx 1.2s .6s var(--ease) both;
}
@keyframes drawx { from { transform: scaleX(0); } }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__facts { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, auto); gap: 32px; justify-content: start; }
.hero__facts li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px dashed var(--red); }
.hero__facts strong { font: 800 2.1rem/1 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.hero__facts strong small { color: var(--red); font-size: 1.2rem; margin-left: 2px; }
.hero__facts span { font-size: .85rem; color: var(--muted); max-width: 15ch; line-height: 1.35; margin-top: 7px; }

.hero__card {
  position: relative; display: grid; gap: 22px; padding: 28px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--line), var(--shadow-lg);
  transform: rotate(1.2deg); transition: transform .6s var(--spring);
  animation: cardin 1s .25s var(--ease) both;
}
.hero__card:hover { transform: rotate(0deg) translateY(-4px); }
@keyframes cardin { from { opacity: 0; transform: translateY(30px) rotate(4deg); } }
.hero__card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: repeating-linear-gradient(90deg, var(--red) 0 26px, transparent 26px 40px);
}
.status { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--red-50); border-radius: var(--r-sm); }
.status__pulse { width: 12px; height: 12px; border-radius: 50%; background: #bcadaf; flex: none; }
.status.is-live .status__pulse { background: var(--red); animation: pulse 1.6s infinite; box-shadow: 0 0 0 4px var(--red-100); }
.status__label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.status__text { font-weight: 600; }

.progress__top { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.progress__top b { color: var(--ink); }
.progress__bar { height: 8px; background: var(--red-50); border-radius: 99px; overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: var(--p, 0%); background: repeating-linear-gradient(90deg, var(--red) 0 14px, var(--red-600) 14px 20px); border-radius: inherit; transition: width 1.4s var(--ease) .3s; }
.progress__hint { font-size: .82rem; color: var(--muted); margin-top: 8px; }

.next { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.next li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; background: var(--paper); border-radius: var(--r-sm); }
.next__date { width: 48px; text-align: center; background: var(--ink); color: #fff; border-radius: 10px; padding: 7px 0; line-height: 1.1; flex: none; }
.next__date b { display: block; font: 800 1.15rem/1 var(--font-display); }
.next__date small { font-size: .72rem; opacity: .7; }
.next__info b { display: block; font-size: .95rem; }
.next__info small { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }

.ticker { margin-top: clamp(64px, 9vw, 110px); background: var(--ink); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.4deg) scale(1.04); }
.ticker__track { display: flex; align-items: center; gap: 38px; width: max-content; animation: ticker 34s linear infinite; }
.ticker span { font: 700 1.35rem/1 var(--font-display); letter-spacing: -.015em; }
.ticker i { width: 34px; height: 4px; background: var(--red); border-radius: 4px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 136px) 0 clamp(92px, 11.5vw, 156px); position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--tint { background: var(--red-50); }
.section--warm { background: var(--warm); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.section__sub { color: var(--muted); font-size: 1.08rem; margin-top: 18px; max-width: 58ch; }
.section__sub--side { margin: 0; max-width: 40ch; }
.section__sub a { color: var(--red); font-weight: 600; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 600; color: var(--red); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.kicker::before { content: ""; width: 28px; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px); }
.kicker--light { color: var(--red-glow); }

/* Spotlight-Rand unter dem Cursor */
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--red), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot:hover::before { opacity: 1; }

/* ---------- Klassen ---------- */
.classes { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; align-items: stretch; }
.class-feature {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px);
  background: radial-gradient(120% 80% at 100% 0%, #d23048 0%, var(--red) 40%, var(--red-700) 100%);
  color: #fff; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-red);
}
.class-feature::after {
  content: ""; position: absolute; right: -18%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.18); pointer-events: none;
}
.class-feature.spot::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.75), transparent 60%); }
.class-feature h3 { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; }
.class-feature p { color: rgba(255,255,255,.86); max-width: 44ch; }
.class-feature__flag { position: absolute; top: 0; right: 28px; background: #fff; color: var(--red-700); font-size: .78rem; font-weight: 600; padding: 14px 10px 10px; border-radius: 0 0 6px 6px; }
.class-feature__plate {
  display: inline-flex; align-items: stretch; align-self: flex-start; height: 64px; margin-bottom: 18px;
  background: #fff; color: var(--ink); border-radius: 10px; border: 3px solid var(--ink); overflow: hidden;
  font: 800 2.4rem/1 var(--font-display); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45);
}
.class-feature__plate span { display: grid; place-items: center; padding: 0 22px; }
.class-feature__plate .eu { background: #1f3fa8; color: #ffd84d; font-size: .9rem; padding: 0 9px; align-content: end; padding-bottom: 8px; }
.class-feature .meta { margin-top: auto; }
.class-feature .link-arrow { margin-top: 10px; }

.meta { list-style: none; padding: 0; margin: 8px 0 0; font-size: .92rem; font-weight: 600; }
.meta li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px dashed rgba(255,255,255,.25); }
.meta span { color: rgba(255,255,255,.7); font-weight: 400; }

.class-list { display: grid; gap: 14px; }
.class-row {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; padding: 26px; border-radius: var(--r);
  background: #fff; box-shadow: var(--shadow); transition: transform .45s var(--spring), box-shadow .3s;
}
.class-row:hover { transform: translateX(6px); }
.class-row__badge {
  grid-row: span 2; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  font: 800 1.35rem/1 var(--font-display); color: var(--red); background: var(--red-50); border: 2px dashed var(--red-100);
  transition: background .3s, color .3s;
}
.class-row:hover .class-row__badge { background: var(--red); color: #fff; border-color: var(--red); }
.class-row__body p { color: var(--muted); font-size: .96rem; margin-top: 6px; }
.chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; grid-column: 2; }
.chips li { font-size: .8rem; font-weight: 500; padding: 5px 10px; border-radius: 6px; background: var(--warm); color: var(--ink-2); }

.helper {
  margin-top: 18px; padding: 28px 32px; border-radius: var(--r); background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background-image: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.035) 46px 48px);
}
.helper p { color: #c8bbbd; margin-top: 8px; max-width: 70ch; font-size: .97rem; }

/* ---------- Ablauf: Straße mit Scroll-Fortschritt ---------- */
.journey { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.journey__intro { position: sticky; top: 120px; }
.journey__meter { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.journey__now { font: 800 clamp(4.5rem, 9vw, 7rem)/.85 var(--font-display); color: var(--red); letter-spacing: -.06em; font-variant-numeric: tabular-nums; min-width: 2ch; }
.journey__of { font-weight: 600; color: var(--muted); line-height: 1.3; }
.journey__of small { display: block; font-size: 1rem; color: var(--ink); font-weight: 600; margin-top: 4px; transition: opacity .25s; }

.road { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; display: grid; gap: 22px; }
.road::before { /* Asphalt */
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 10px; margin-left: -5px; border-radius: 10px; background: var(--ink); opacity: .9;
}
.road__fill { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; overflow: hidden; }
.road__fill span {
  display: block; height: 100%; transform-origin: top; transform: scaleY(var(--road, 0));
  background: repeating-linear-gradient(180deg, #fff 0 12px, transparent 12px 22px);
}
.stop { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 24px; align-items: start; }
.stop__pin {
  position: relative; z-index: var(--z-base); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.15rem/1 var(--font-display); background: var(--warm); color: var(--muted); border: 3px solid var(--ink);
  transition: background .4s, color .4s, border-color .4s, transform .5s var(--spring);
}
.stop__body {
  background: #fff; border-radius: var(--r); padding: 24px 26px; box-shadow: var(--shadow);
  opacity: .55; transform: translateX(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.stop__body p { color: var(--muted); margin-top: 8px; font-size: .97rem; }
.stop__meta { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--red); background: var(--red-50); padding: 4px 9px; border-radius: 6px; margin-bottom: 10px; }
.stop.is-passed .stop__pin { background: var(--red); color: #fff; border-color: var(--red); transform: scale(1.06); }
.stop.is-passed .stop__body { opacity: 1; transform: none; }
.stop--goal .stop__body { background: var(--red); color: #fff; }
.stop--goal .stop__body p { color: rgba(255,255,255,.85); }
.stop--goal .stop__meta { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Preisrechner ---------- */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.calc__form { padding: clamp(26px, 4vw, 48px); display: grid; gap: 32px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend, .range__top label { font-weight: 600; margin-bottom: 12px; display: block; }
.seg { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--warm); padding: 5px; border-radius: 14px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px 6px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, transform .3s var(--spring); }
.seg span:hover { background: rgba(255,255,255,.7); }
.seg input:checked + span { background: var(--red); color: #fff; box-shadow: 0 6px 16px -8px rgba(189,30,54,.7); }
.seg input:active + span { transform: scale(.96); }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; }
.range__top label { margin: 0; }
.range output { font: 800 2rem/1 var(--font-display); color: var(--red); font-variant-numeric: tabular-nums; }
.range__hint { font-size: .86rem; color: var(--muted); margin-top: 10px; }
input[type=range] { width: 100%; margin-top: 18px; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--red) var(--fill, 30%), var(--red-100) var(--fill, 30%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--red); box-shadow: 0 4px 12px rgba(74,20,30,.25); transition: transform .3s var(--spring); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 2px; flex: none; }
.check--small { font-size: .84rem; font-weight: 400; color: var(--muted); }
.check--small a { color: var(--red); }

.calc__result { background: var(--ink); color: #fff; padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; position: relative; }
.calc__result::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: repeating-linear-gradient(180deg, var(--red) 0 22px, transparent 22px 36px); }
.calc__label { color: #b6a8aa; font-size: .9rem; font-weight: 500; }
.calc__total { font: 800 clamp(3rem, 5.4vw, 4.2rem)/1 var(--font-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc__lines { list-style: none; padding: 0; margin: 0; display: grid; font-size: .92rem; }
.calc__lines li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.12); color: #d6cbcc; font-variant-numeric: tabular-nums; }
.calc__lines b { color: #fff; font-weight: 600; }
.calc__note { font-size: .78rem; color: #9a8c8e; margin-top: auto; }

/* ---------- Theorie ---------- */
.theory { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.theory .btn { margin-top: 30px; }
.timetable { background: #fff; border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow-lg); display: grid; gap: 6px; transform: rotate(-.8deg); }
.tt-row { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 8px; align-items: center; padding: 14px; border-radius: 18px; transition: background .2s; }
.tt-row.is-today { background: var(--red-50); box-shadow: inset 0 0 0 2px var(--red); }
.tt-row.is-today .tt-day::after { content: "Heute"; display: inline-block; margin-left: 8px; font: 600 .72rem/1 var(--font); background: var(--red); color: #fff; padding: 4px 7px; border-radius: 5px; vertical-align: middle; }
.tt-day { font: 700 1.12rem/1.2 var(--font-display); }
.tt-slot { background: var(--paper); border-radius: var(--r-sm); padding: 10px 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tt-slot em { display: block; font-style: normal; font-size: .78rem; color: var(--muted); font-weight: 500; }
.tt-slot--red { background: var(--red); color: #fff; }
.tt-slot--red em { color: rgba(255,255,255,.75); }
.tt-slot--wide { grid-column: span 2; font-weight: 500; color: var(--muted); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.tile { background: #fff; border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform .45s var(--spring), box-shadow .3s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tile p { color: var(--muted); font-size: .96rem; }
.tile__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--red-50); color: var(--red); display: grid; place-items: center; margin-bottom: 12px; transition: transform .5s var(--spring); }
.tile:hover .tile__icon { transform: rotate(-8deg) scale(1.06); }
.tile__icon .ico { width: 24px; height: 24px; }
.tile--big { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff; overflow: hidden; }
.tile--big::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 280px; height: 280px; border-radius: 50%; border: 32px solid var(--red); pointer-events: none; }
.tile--big h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); max-width: 16ch; }
.tile--big p { color: #c8bbbd; max-width: 44ch; font-size: 1.02rem; }
.tile--big .tile__icon { background: var(--red); color: #fff; }
.tile__quote { margin-top: auto; font: 500 1.2rem/1.4 var(--font-display); max-width: 30ch; padding-left: 18px; border-left: 2px dashed var(--red-glow); position: relative; z-index: var(--z-base); }
.tile--red { grid-column: span 2; background: var(--red); color: #fff; }
.tile--red p { color: rgba(255,255,255,.88); }
.tile--red .tile__icon { background: rgba(255,255,255,.18); color: #fff; }
.tile--big.spot::before, .tile--red.spot::before { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.7), transparent 60%); }

/* ---------- Erste Hilfe ---------- */
.firstaid {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(30px, 5vw, 60px);
  background: radial-gradient(90% 120% at 0% 100%, var(--red-700), var(--red) 65%, #cf3149); color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.firstaid__cross { position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; opacity: .1; }
.firstaid__cross::before, .firstaid__cross::after { content: ""; position: absolute; background: #fff; border-radius: 12px; }
.firstaid__cross::before { left: 80px; top: 0; width: 80px; height: 240px; }
.firstaid__cross::after { top: 80px; left: 0; height: 80px; width: 240px; }
.firstaid h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.firstaid__body p { margin-top: 14px; color: rgba(255,255,255,.88); max-width: 56ch; }
.firstaid__facts { display: grid; gap: 10px; position: relative; }
.firstaid__facts div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.firstaid__facts strong { font: 800 1.4rem/1 var(--font-display); }
.firstaid__facts span { font-size: .88rem; color: rgba(255,255,255,.8); }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow); }
.rating__stars { color: var(--red); letter-spacing: 2px; font-size: 1.1rem; }
.reviews { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.review { margin: 0; background: #fff; border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 24px; position: relative; box-shadow: var(--shadow); }
.review blockquote { margin: 0; font-size: 1.04rem; position: relative; }
.review--feature { grid-row: span 2; background: var(--red-50); box-shadow: none; padding: clamp(30px, 4vw, 48px); justify-content: space-between; }
.review--feature::before { content: "“"; font: 800 9rem/.6 var(--font-display); color: var(--red); height: .4em; }
.review--feature blockquote { font: 500 clamp(1.35rem, 2.3vw, 1.85rem)/1.35 var(--font-display); letter-spacing: -.015em; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review figcaption small { display: block; color: var(--muted); font-size: .84rem; }
.avatar { width: 44px; height: 44px; border-radius: 13px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .85rem; letter-spacing: .02em; }
.review--feature .avatar { background: var(--red); width: 52px; height: 52px; border-radius: 15px; }

/* ---------- FAQ (offen, kein Akkordeon) ---------- */
.qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qa__item { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.qa__item:nth-child(3n+2) { transform: translateY(28px); }
.qa__num { font: 800 .95rem/1 var(--font-display); color: var(--red); font-variant-numeric: tabular-nums; }
.qa__item h3 { font-size: 1.18rem; }
.qa__item p { color: var(--muted); font-size: .96rem; }
.qa__item--cta { background: var(--ink); color: #fff; box-shadow: none; }
.qa__item--cta p { color: #c8bbbd; }
.qa__item--cta .link-arrow { color: var(--red-glow); margin-top: auto; padding-top: 8px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list small { display: block; color: var(--muted); font-size: .84rem; font-weight: 500; }
.contact__list a { text-decoration: none; font-weight: 600; transition: color .2s; }
.contact__list a:hover { color: var(--red); }
.ci { width: 46px; height: 46px; border-radius: 14px; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex: none; }
.contact__quick { display: flex; gap: 10px; flex-wrap: wrap; }

.form { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.form h3 { font-size: 1.55rem; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .86rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d9cbca; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px var(--red-100); }
.field.is-invalid input { border-color: var(--red); background: var(--red-50); }
.field__err { font-size: .8rem; color: var(--red); font-weight: 500; }
.form__msg { font-size: .92rem; font-weight: 500; min-height: 1.4em; }
.form__msg.ok { color: #157a3e; }
.form__msg.err { color: var(--red); }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--red); color: #fff; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.14), transparent 60%); }
.cta__lane { position: absolute; left: 0; right: 0; top: 50%; height: 8px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 70px, transparent 70px 120px); animation: road 1.6s linear infinite; }
@keyframes road { to { background-position: 120px 0; } }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 14ch; background: var(--red); padding-right: 16px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; background: var(--red); padding-left: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c8bbbd; padding: 72px 0 0; font-size: .95rem; overflow: hidden; }
.footer__grid { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__claim { margin-top: 16px; max-width: 34ch; }
.footer__contact { text-align: right; display: grid; gap: 4px; }
.footer__word {
  font: 800 clamp(4rem, 17vw, 15rem)/.8 var(--font-display); letter-spacing: -.06em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); margin: 48px 0 -0.08em; user-select: none;
}
.footer__bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; font-size: .86rem; }
.footer__bottom nav { display: flex; gap: 22px; }

.mobilebar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- 404 / Rechtliches ---------- */
.page-simple { min-height: 70dvh; display: grid; align-content: center; }
.wrap--narrow { max-width: 760px; }
.big-404 { font: 800 clamp(7rem, 22vw, 14rem)/.85 var(--font-display); letter-spacing: -.06em; color: var(--red); }
.page-simple .btn { margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .qa { grid-template-columns: repeat(2, 1fr); }
  .qa__item:nth-child(3n+2) { transform: none; }
  .qa__item:nth-child(2n) { transform: translateY(24px); }
}

@media (max-width: 920px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); padding: 12px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.08rem; border-radius: 12px; }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn):hover, .nav a.is-active { background: var(--red-50); }
  .nav__cta { margin: 10px 0 0; padding: 15px; }

  .hero__grid, .theory, .contact, .calc, .firstaid, .classes, .journey { grid-template-columns: 1fr; }
  .hero__card, .timetable { transform: none; }
  .hero__road { width: 90vw; right: -40vw; opacity: .5; }
  .journey__intro { position: static; }
  .journey__meter { display: none; }
  .helper { flex-direction: column; align-items: flex-start; }
  .tile--big { grid-row: span 1; }
  .reviews { grid-template-columns: 1fr; }
  .review--feature { grid-row: auto; }
  .footer__contact { text-align: left; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .hero__facts { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .hero__facts li { padding-left: 10px; }
  .hero__facts strong { font-size: 1.6rem; }
  .hero__facts span { font-size: .76rem; }
  .hero__actions .btn { width: 100%; }
  .bento, .qa { grid-template-columns: 1fr; }
  .qa__item:nth-child(n) { transform: none; }
  .tile--big, .tile--red { grid-column: auto; }
  .class-row { grid-template-columns: 1fr; padding: 22px; }
  .class-row__badge { grid-row: auto; width: 54px; height: 54px; }
  .chips { grid-column: 1; }
  .class-row:hover { transform: none; }
  .form__row { grid-template-columns: 1fr; }
  .seg span { padding: 11px 2px; font-size: .92rem; }
  .tt-row { grid-template-columns: 1fr 1fr; }
  .tt-day, .tt-slot--wide { grid-column: 1 / -1; }
  .stop { grid-template-columns: 44px 1fr; gap: 14px; }
  .stop__pin { width: 44px; height: 44px; font-size: 1rem; }
  .road::before, .road__fill { left: 22px; }
  .stop__body { padding: 20px; }
  .cta h2, .cta__actions { padding: 0; }
  .cta__actions .btn { flex: 1; }

  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: var(--z-mobilebar);
    background: rgba(26,19,20,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 6px; border-radius: 18px;
    box-shadow: 0 14px 30px -10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  }
  .mobilebar a { text-align: center; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 13px 4px; border-radius: 13px; transition: transform .2s; }
  .mobilebar a:active { transform: scale(.96); }
  .mobilebar__main { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
  .stop__body { opacity: 1; transform: none; }
}
