/* Startseite, Konzept „Asphalt“. Unterseiten nutzen weiter /styles.css. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-condensed-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-800-latin.woff2") format("woff2"); }

:root {
  --asphalt: #1b1c1e;
  --asphalt-2: #2b2d31;
  --line-1: #2f3135;
  --line-2: #3a3d42;
  --line-3: #4a4d53;
  --white: #f4f2ea;
  --yellow: #f5c400;
  --yellow-hover: #ffd633;
  --mute-1: #d6d7d9;
  --mute-2: #a3a6ab;
  --mute-3: #8c9096;
  --ink-mute: #45474c;
  --ink-2: #2f3135;
  --rule-light: #c9c7bf;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --pad-x: clamp(20px, 4vw, 64px);
  --sec-y: clamp(72px, 9vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--asphalt); color: var(--white); font-family: "Barlow", system-ui, sans-serif; overflow-x: clip; text-wrap: pretty; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--yellow); }
::selection { background: var(--yellow); color: var(--asphalt); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
button { font: inherit; }

.cond { font-family: var(--cond); }
.up { text-transform: uppercase; }
.outline-light { color: transparent; -webkit-text-stroke: 2px var(--white); }
.outline-dark { color: transparent; -webkit-text-stroke: 2px var(--asphalt); }
.outline-yellow { color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.yellow { color: var(--yellow); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--yellow); color: var(--asphalt); padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--asphalt); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--cond); font-weight: 700; font-size: 21px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border-radius: 6px; }
.btn--yellow { color: var(--asphalt); background: var(--yellow); padding: 15px 28px; }
.btn--yellow:hover { background: var(--yellow-hover); color: var(--asphalt); }
.btn--ghost { color: var(--white); padding: 13px 26px; border: 2px solid var(--line-3); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--dark { color: var(--yellow); background: var(--asphalt); padding: 15px 28px; }
.btn--dark:hover { background: #000; color: var(--yellow); }
.btn--light-outline { font-size: 20px; color: var(--white); padding: 13px 24px; border: 2px solid var(--white); }
.btn--light-outline:hover { background: var(--white); color: var(--asphalt); }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding: 16px var(--pad-x); background: var(--asphalt); border-bottom: 1px solid var(--line-1); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo:hover { color: var(--white); }
.logo__mark { width: 14px; height: 14px; background: var(--yellow); border-radius: 3px; transform: rotate(45deg); }
.logo__name { font-family: var(--cond); font-weight: 800; font-size: 28px; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-family: var(--cond); font-weight: 600; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav > a { text-decoration: none; }
.dd { position: relative; }
.dd__btn { display: flex; align-items: center; gap: 6px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--white); background: transparent; border: 0; padding: 6px 0; cursor: pointer; }
.dd__btn:hover { color: var(--yellow); }
.dd__btn svg { transition: transform 0.2s; }
.dd.is-open .dd__btn svg { transform: rotate(180deg); }
.dd__panel { position: absolute; top: 100%; left: -20px; padding-top: 12px; z-index: 20; display: none; }
.dd.is-open .dd__panel { display: block; }
.dd__box { width: min(420px, 86vw); background: #26282b; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); text-transform: none; letter-spacing: 0; }
.dd__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 8px; text-decoration: none; color: var(--white); }
.dd__item:hover { background: var(--asphalt); color: var(--white); }
.dd__mark { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; font-family: var(--cond); font-weight: 800; font-size: 20px; }
.dd__mark--p { background: var(--yellow); color: var(--asphalt); }
.dd__mark--a { background: var(--white); color: var(--asphalt); }
.dd__mark--r { background: var(--line-2); color: var(--white); }
.dd__name { display: block; font-family: var(--cond); font-weight: 700; font-size: 21px; text-transform: uppercase; line-height: 1.05; }
.dd__sub { display: block; font-family: "Barlow", system-ui, sans-serif; font-weight: 500; font-size: 14.5px; color: var(--mute-2); margin-top: 2px; }
.hd__cta { margin-left: auto; font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--asphalt); background: var(--yellow); padding: 10px 20px; border-radius: 6px; }
.hd__cta:hover { background: var(--yellow-hover); color: var(--asphalt); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 40px clamp(24px, 4vw, 72px); align-items: center; padding: clamp(40px, 6vw, 88px) var(--pad-x) clamp(72px, 8vw, 120px); overflow: hidden; }
.hero hero-trails { position: absolute; inset: 0; z-index: 0; }
.hero__text, .hero__scene { position: relative; z-index: 1; }
.hero h1 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(52px, 6.6vw, 120px); line-height: 0.88; letter-spacing: -0.01em; margin: 0; }
.hero h1 > span:first-child { display: block; }
.sign { display: inline-block; margin-top: 0.14em; background: var(--yellow); color: var(--asphalt); border-radius: 0.1em; padding: 0.17em 0.3em; line-height: 1; text-box: trim-both cap alphabetic; box-shadow: inset 0 0 0 0.04em var(--yellow), inset 0 0 0 0.07em var(--asphalt); }
.hero__lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; margin: 32px 0 0; max-width: 34em; color: var(--mute-1); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__scene { justify-self: end; width: 100%; max-width: 720px; }
.stage { position: relative; aspect-ratio: 5 / 4; max-height: 580px; width: 100%; }
.stage fahrschul-flow { position: absolute; inset: 0; }
.tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.tab { text-align: left; background: transparent; color: var(--mute-3); border: 0; border-top: 4px solid var(--line-2); padding: 10px 0 0; cursor: pointer; min-width: 0; transition: color 0.2s, border-color 0.2s; }
.tab:hover { color: var(--white); }
.tab[aria-selected="true"] { color: var(--white); border-top-color: var(--yellow); }
.tab__n { display: block; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; }
.tab__label { display: block; font-family: var(--cond); font-weight: 600; font-size: clamp(15px, 1.3vw, 19px); text-transform: uppercase; letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; }
.hero__cur { font-size: 17px; line-height: 1.5; margin: 16px 0 0; min-height: 3em; color: var(--mute-1); }
.hint { font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute-3); margin: 6px 0 0; }

/* ---------- Gemeinsames ---------- */
.light { background: var(--white); color: var(--asphalt); }
.h2 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 6vw, 104px); line-height: 0.9; margin: 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 64px; }
.lede { font-size: 19px; line-height: 1.55; margin: 0; }
.mute-dark { color: var(--ink-mute); }
.mute-light { color: var(--mute-1); }

/* ---------- Plattform ---------- */
.plattform { padding: var(--sec-y) var(--pad-x); }
.plattform .h2 { max-width: 11em; }
.plattform .lede { max-width: 26em; }
.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 96px); }
.col { padding: 36px 0 8px; background: repeating-linear-gradient(90deg, var(--asphalt) 0 28px, transparent 28px 48px) left top / 100% 4px no-repeat; }
.col--solid { padding-top: 32px; background: none; border-top: 4px solid var(--asphalt); }
.col__n { font-family: var(--cond); font-weight: 800; font-size: clamp(72px, 8vw, 128px); line-height: 0.85; }
.col__n--fill { color: var(--yellow); -webkit-text-stroke: 2px var(--asphalt); }
.col h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 36px; line-height: 1; margin: 24px 0 0; }
.col p { font-size: 17.5px; line-height: 1.55; margin: 14px 0 0; max-width: 28em; color: var(--ink-mute); }

/* ---------- Versprechen ---------- */
.promise { background: var(--yellow); color: var(--asphalt); padding: clamp(64px, 8vw, 120px) var(--pad-x); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px clamp(32px, 5vw, 96px); align-items: end; }
.promise__big { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(48px, 7vw, 124px); line-height: 0.9; letter-spacing: -0.005em; margin: 0; }
.promise__big span { display: block; }
.promise__side { max-width: 30em; }
.badge { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; background: var(--asphalt); color: var(--yellow); display: inline-block; padding: 10px 16px 8px; border-radius: 6px; }
.promise__side p { font-size: 19px; line-height: 1.55; margin: 24px 0 0; }

/* ---------- Ablauf ---------- */
.ablauf { padding: var(--sec-y) 0; }
.ablauf .sec-head { padding: 0 var(--pad-x); }
.ablauf .h2 { max-width: 10em; }
.ablauf .lede { max-width: 24em; }
.road-scroll { overflow-x: auto; overflow-y: hidden; margin-top: clamp(48px, 6vw, 88px); padding-bottom: 8px; }
.road-wrap { position: relative; min-width: 980px; padding: 0 var(--pad-x); }
.road-labels { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 16px; padding: 0 20px 28px; }
.road-labels--bottom { padding: 28px 20px 0; }
.road-label { min-height: 92px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; color: var(--white); transition: color 0.2s; }
.road-labels--bottom .road-label { justify-content: flex-start; }
.road-label:hover, .road-label.is-on { color: var(--yellow); }
.road-label.is-off { visibility: hidden; }
.road-label__n { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; color: var(--yellow); }
.road-label__name { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 34px); line-height: 1; }
.road { --stop: 0; --dir: 1; --p: calc(var(--stop) * ((100% - 136px) / 7 + 16px) + 18px); position: relative; height: 88px; background: var(--asphalt-2); border-radius: 8px; }
.road__dash { position: absolute; left: 20px; right: 20px; top: 50%; height: 5px; margin-top: -2.5px; background: repeating-linear-gradient(90deg, var(--white) 0 48px, transparent 48px 84px); }
.road__progress { position: absolute; left: 20px; top: 50%; height: 5px; margin-top: -2.5px; width: var(--p); background: var(--yellow); transition: width 0.6s cubic-bezier(.2, .8, .2, 1); }
.road__stops { position: absolute; inset: 0 20px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 16px; align-items: center; }
.road__stop { width: 36px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; display: grid; place-items: center; }
.road__stop span { width: 12px; height: 26px; border-radius: 3px; background: #55585e; transition: background 0.4s; }
.road__stop.is-done span { background: var(--yellow); }
.road__car { position: absolute; top: 50%; left: calc(20px + var(--p)); width: 96px; height: 34px; transform: translate(-32px, -50%) scaleX(var(--dir)); transform-origin: 32px 50%; transition: left 1.1s cubic-bezier(.45, 0, .2, 1); pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.road__car svg { display: block; overflow: visible; }
.stop-info { margin: 36px var(--pad-x) 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px clamp(24px, 3vw, 48px); align-items: center; padding-top: 28px; border-top: 2px solid var(--line-1); }
.stop-info__n { font-family: var(--cond); font-weight: 800; font-size: clamp(88px, 9vw, 150px); line-height: 0.95; padding-bottom: 4px; }
.stop-info__title { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 60px); line-height: 0.95; }
.stop-info p { font-size: 18px; line-height: 1.5; margin: 12px 0 0; max-width: 36em; color: var(--mute-1); }
.stop-info__nav { display: flex; gap: 10px; }
.sq { width: 52px; height: 52px; border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.sq--ghost { border: 2px solid var(--line-3); background: transparent; color: var(--white); }
.sq--ghost:hover { border-color: var(--white); }
.sq--yellow { border: 0; background: var(--yellow); color: var(--asphalt); }
.sq--yellow:hover { background: var(--yellow-hover); }
@media (max-width: 640px) {
  .stop-info { grid-template-columns: auto minmax(0, 1fr); }
  .stop-info__nav { grid-column: 1 / -1; }
}

/* ---------- Pilot ---------- */
.pilot { padding: var(--sec-y) var(--pad-x); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px clamp(32px, 5vw, 96px); align-items: start; }
.pilot .lede { margin-top: 24px; max-width: 28em; }
.pilot .btn { margin-top: 32px; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.steps li { display: grid; grid-template-columns: clamp(64px, 6vw, 96px) minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 22px 0; border-top: 3px solid var(--asphalt); }
.steps__n { font-family: var(--cond); font-weight: 800; font-size: clamp(44px, 4vw, 64px); line-height: 0.9; }
.steps__t { display: block; font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 28px; line-height: 1; }
.steps__d { display: block; font-size: 17px; line-height: 1.5; margin-top: 8px; color: var(--ink-mute); }

/* ---------- Für Fahrschüler ---------- */
.students { padding: clamp(72px, 9vw, 128px) var(--pad-x); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px clamp(32px, 5vw, 96px); align-items: start; }
.students h2 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 4.6vw, 76px); line-height: 0.92; margin: 0; }
.students__lead { font-size: 18px; line-height: 1.55; margin: 22px 0 0; max-width: 30em; color: var(--mute-1); }
.students .btn { margin-top: 28px; }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 32px 36px; }
.group { border-top: 3px solid var(--yellow); padding-top: 14px; }
.group__title { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); margin: 0 0 8px; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group a { display: block; padding: 6px 0; text-decoration: none; font-size: 17px; font-weight: 600; }

/* ---------- SEO-Text + FAQ ---------- */
.seo { padding: clamp(72px, 9vw, 128px) var(--pad-x); }
.seo__row { display: flex; flex-wrap: wrap; gap: 48px clamp(32px, 5vw, 96px); align-items: flex-start; }
.seo__text { flex: 1 1 360px; max-width: 640px; }
.seo__faq { flex: 999 1 420px; min-width: 0; }
.h2s { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 52px); line-height: 0.95; margin: 0; }
.seo__body { font-size: 16.5px; line-height: 1.65; margin-top: 24px; color: var(--ink-2); }
.seo__body p { margin: 0 0 16px; }
.seo__body p:last-child { margin: 0; }
.seo__faq .h2s { margin-bottom: 20px; }
.faq { border-top: 3px solid var(--asphalt); }
.faq details { border-bottom: 1px solid var(--rule-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 22px; font-size: 16.5px; line-height: 1.6; max-width: 62ch; color: var(--ink-2); }

/* ---------- Footer ---------- */
.ft { padding: clamp(56px, 6vw, 88px) var(--pad-x) 40px; font-size: 15.5px; }
.ft__big { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 11vw, 200px); line-height: 0.82; letter-spacing: -0.01em; color: var(--asphalt-2); }
.ft__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 32px 40px; margin-top: 48px; }
.ft__title { font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); margin: 0 0 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ft ul a { text-decoration: none; color: var(--mute-1); }
.ft ul a:hover { color: var(--yellow); }
.ft__dash { height: 4px; margin: 48px 0 20px; background: repeating-linear-gradient(90deg, var(--line-3) 0 40px, transparent 40px 68px); }
.ft__note { margin: 0; font-size: 14px; color: var(--mute-2); }
