/* Roadmaster – Website-Stil */

@font-face {
  font-family: "Anybody";
  src: url("../fonts/anybody-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-variable-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --yellow: #e2de00;
  --yellow-hi: #f0ec1a;
  --asphalt: #0d0e0f;
  --asphalt-2: #17191b;
  --asphalt-3: #24272a;
  --paper: #ffffff;
  --soft: #f4f4f3;
  --ink: #131415;
  --ink-2: #4a4d50;
  --line: rgba(19, 20, 21, .12);
  --line-dark: rgba(255, 255, 255, .12);
  --muted-dark: rgba(255, 255, 255, .62);
  --radius: 4px;
  --radius-sm: 3px;
  --stretch: 128%;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Anybody", "Arial Black", system-ui, sans-serif;
  --accent: "Syne", system-ui, sans-serif;
  --body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-2); }
.section-dark .muted, .hero .muted { color: var(--muted-dark); }

/* Typografie */
.h2, .hero-title, .cta-band h2 {
  font-family: var(--display);
  font-stretch: var(--stretch);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.02;
}
.h2 { font-size: clamp(28px, 3.9vw, 50px); text-wrap: balance; }
.h3 { font-family: var(--accent); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 46ch; margin-top: 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 18px;
}
.section-dark .eyebrow { color: var(--muted-dark); }

/* Markenmotiv: die drei Schrägstriche aus dem Logo */
.stripes { display: inline-flex; gap: 3px; }
.stripes i { width: 7px; height: 14px; background: var(--yellow); transform: skewX(-24deg); border-radius: 2px; }
.stripes i:nth-child(2) { opacity: .7; }
.stripes i:nth-child(3) { opacity: .4; }
.section:not(.section-dark) .stripes i { background: #b7b300; }

/* Buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 700 16px/1 var(--accent); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-hi); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background-color: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--asphalt); color: #fff; }
.btn-dark:hover { background: var(--asphalt-3); }
.btn-outline-dark { border-color: var(--asphalt); color: var(--asphalt); background-color: transparent; }
.btn-outline-dark:hover { background: rgba(0, 0, 0, .06); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background .3s, box-shadow .3s, transform .3s var(--ease);
}
.site-header.is-solid { background: rgba(13, 14, 15, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: block; color: var(--yellow); flex: none; }
.brand svg { display: block; width: 132px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: 15px; color: rgba(255, 255, 255, .82); transition: color .2s, background .2s; }
.main-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav ul a[aria-current="page"] { color: #fff; }
.main-nav ul a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 3px; background: var(--yellow); border-radius: 2px; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.header-phone svg { width: 18px; height: 18px; fill: var(--yellow); }
.menu-toggle {
  display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 999px;
  background: rgba(13, 14, 15, .82); color: #fff; cursor: pointer; font: 800 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  transition: background .3s, border-color .3s, color .3s;
}
.mt-stripes { position: relative; display: block; width: 24px; height: 16px; }
.mt-stripes i { position: absolute; top: 0; width: 5px; height: 16px; border-radius: 1.5px; background: var(--yellow); transform: skewX(-24deg); transition: transform .45s cubic-bezier(.6, 0, .2, 1), left .45s cubic-bezier(.6, 0, .2, 1), opacity .3s, background .3s; }
.mt-stripes i:nth-child(1) { left: 2px; }
.mt-stripes i:nth-child(2) { left: 10px; opacity: .7; }
.mt-stripes i:nth-child(3) { left: 18px; opacity: .45; }
.menu-toggle:hover .mt-stripes i:nth-child(2) { transform: skewX(-24deg) translateY(-2px); }
.menu-toggle:hover .mt-stripes i:nth-child(3) { transform: skewX(-24deg) translateY(-4px); }
.menu-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.menu-toggle[aria-expanded="true"] .mt-stripes i { left: 10px; opacity: 1; }
.menu-toggle[aria-expanded="true"] .mt-stripes i:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .mt-stripes i:nth-child(2) { transform: scaleY(0); opacity: 0; }
.menu-toggle[aria-expanded="true"] .mt-stripes i:nth-child(3) { transform: rotate(-45deg); }
.nav-no, .nav-sub { display: none; }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(640px, 100vh, 980px); background: var(--asphalt); color: #fff; overflow: hidden; isolation: isolate; }

/* Vollbild-Teamfoto: oben hell (Gesichter), unten dunkel (Text) */
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 48% 34% at 50% 64%, rgba(13, 14, 15, .62), rgba(13, 14, 15, 0) 100%),
    linear-gradient(180deg, rgba(13, 14, 15, .55) 0%, rgba(13, 14, 15, .05) 16%, rgba(13, 14, 15, .12) 40%, rgba(13, 14, 15, .8) 64%, rgba(13, 14, 15, .94) 100%); }
.hero .hero-title, .hero .hero-text, .slide-eyebrow { text-shadow: 0 2px 22px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .4); }
.hero-center { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 140px; padding-bottom: 165px; }
.hero-center .hero-text { margin: 0 auto; }
.hero-top { position: absolute; top: 104px; left: 0; right: 0; }
.hero-top .badge { background: rgba(13, 14, 15, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-center .hero-cta { justify-content: center; align-items: center; }
.hero-center .hero-rotator { justify-content: center; }
.hero-center .rotator-words { flex: 0 0 auto; width: 18em; text-align: left; }
.hero-title .hl { color: var(--yellow); }
.play-btn { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; color: #fff; cursor: pointer; font: 700 15px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; }
.play-ring { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.play-ring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.play-ring svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.play-btn:hover .play-ring { transform: scale(1.08); }

/* Intro-Video */
.intro { padding: 0; border: 0; background: #000; width: min(1100px, 92vw); border-radius: 6px; overflow: visible; }
.intro::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(4px); }
.intro video { display: block; width: 100%; max-height: 80vh; background: #000; border-radius: 6px; }
.intro-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

/* Karten, die über den Hero-Rand ragen */
.hero-cards-wrap { position: relative; z-index: 3; background: var(--paper); padding-bottom: clamp(48px, 6vw, 80px); }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -130px; }
.hcard { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 36px 26px 30px; background: #fff; border-radius: 4px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .05); }
.hcard-ic svg { width: 52px; height: 52px; fill: none; stroke: #c9c500; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hcard h2 { font-family: var(--display); font-stretch: var(--stretch); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .01em; margin-top: 4px; }
.hcard p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.hcard-link { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--yellow); }
.hcard-link span { display: inline-block; transition: transform .2s var(--ease); }
.hcard:hover .hcard-link span { transform: translateX(4px); }
.hcard-yellow { background: var(--yellow); }
.hcard-yellow .hcard-ic svg { stroke: var(--ink); }
.hcard-yellow p { color: rgba(0, 0, 0, .72); }
.hcard-yellow .hcard-link { color: var(--ink); }
.hcard-photo { padding: 0; overflow: hidden; }
.hcard-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Kennzahlen + Fahrbahn auf hellem Grund */
.hero-cards-wrap .hero-road { margin-top: clamp(40px, 5vw, 64px); }
.hero-cards-wrap .hero-road .lane { background-image: repeating-linear-gradient(90deg, var(--ink) 0 34px, transparent 34px 70px); opacity: .18; }
.hero-cards-wrap .hero-facts { border-top: 1px solid var(--line); }
.hero-cards-wrap .hero-facts li + li { border-left-color: var(--line); }
.hero-cards-wrap .hero-facts strong { color: var(--ink); }
.hero-cards-wrap .hero-facts li > span { color: var(--ink-2); }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(226, 222, 0, .12); border: 1px solid rgba(226, 222, 0, .4);
  color: var(--yellow); font-size: 14px; font-weight: 600;
}
.hero-title { font-size: clamp(36px, 4.4vw, 66px); font-stretch: var(--stretch); max-width: 13ch; margin: 26px 0 24px; text-wrap: balance; }
.hero-text { font-size: clamp(17px, 1.5vw, 21px); color: rgba(255, 255, 255, .78); max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line-dark);
}
.hero-facts li { padding: 26px 24px 30px 0; display: flex; flex-direction: column; gap: 6px; }
.hero-facts li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-facts strong { font-family: var(--display); font-stretch: var(--stretch); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); color: var(--yellow); line-height: 1; }
.hero-facts li > span { color: var(--muted-dark); font-size: 15px; line-height: 1.4; }

/* Sektionen */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-dark { background: var(--asphalt); color: #fff; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-head.split > div:first-child { max-width: 760px; }

/* Kursleiste */
.courses-strip { padding: 0 0 clamp(64px, 8vw, 100px); }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: clamp(48px, 6vw, 72px); margin-bottom: 28px; }
.strip-head .eyebrow { margin-bottom: 10px; }
.course-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.course-card {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 22px; border-radius: var(--radius); background: var(--asphalt-2); border: 1px solid var(--line-dark);
  position: relative; transition: border-color .2s, transform .3s var(--ease);
}
.course-card:hover { border-color: rgba(226, 222, 0, .45); transform: translateY(-2px); }
.course-date { width: 64px; padding: 10px 0; border-radius: var(--radius); background: var(--yellow); color: var(--ink); text-align: center; line-height: 1; }
.course-date .day { display: block; font-family: var(--display); font-weight: 800; font-stretch: var(--stretch); font-size: 28px; }
.course-date .month { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.course-kind { font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); margin: 0 0 2px !important; padding-right: 84px; }
.course-body h3 { font-family: var(--display); font-stretch: var(--stretch); font-size: 21px; font-weight: 800; }
.course-body p { font-size: 15px; margin-top: 4px; }
.course-countdown { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 650; color: var(--yellow); background: rgba(226, 222, 0, .1); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }

/* Versprechen */
.promise-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.promise-intro { position: sticky; top: 110px; }
.promise-photo { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.promise-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.promise-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 32px 0; border-top: 1px solid var(--line); }
.promise-list li:last-child { border-bottom: 1px solid var(--line); }
.promise-list .num { font-family: var(--display); font-weight: 800; font-stretch: var(--stretch); font-size: 15px; color: #5f5d00; padding-top: 6px; }
.promise-list h3 { font-family: var(--display); font-stretch: var(--stretch); font-weight: 750; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.01em; margin-bottom: 8px; }
.promise-list p { color: var(--ink-2); max-width: 52ch; }

/* Leistungen */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.feature img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.feature:hover img { transform: scale(1.03); }
.feature-body { padding: 24px 26px 28px; }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 16px; }

/* Klassen */
.class-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.class-card {
  display: flex; flex-direction: column; gap: 6px; min-height: 230px;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
  text-decoration: none; background: var(--paper);
  transition: border-color .2s, background .2s, transform .3s var(--ease);
}
.class-card:hover { background: var(--asphalt); color: #fff; border-color: var(--asphalt); transform: translateY(-3px); }
.class-card:hover .class-teaser, .class-card:hover .class-meta { color: var(--muted-dark); }
.class-card:hover .class-code { color: var(--yellow); }
.class-code { font-family: var(--display); font-stretch: var(--stretch); font-weight: 800; font-size: 28px; letter-spacing: -.01em; line-height: 1.1; transition: color .2s; }
.class-name { font-weight: 700; font-size: 17px; }
.class-teaser { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.class-meta { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.class-meta span { padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .05); }
.class-card:hover .class-meta span { background: rgba(255, 255, 255, .1); }

/* Preise */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 22px; padding: 30px; border-radius: var(--radius); background: var(--asphalt-2); border: 1px solid var(--line-dark); }
.price-card.is-highlight { border-color: rgba(226, 222, 0, .55); background: linear-gradient(180deg, rgba(226, 222, 0, .08), rgba(226, 222, 0, 0) 40%), var(--asphalt-2); }
.price-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.price-card h3 { font-family: var(--display); font-stretch: var(--stretch); font-weight: 800; font-size: 26px; margin-bottom: 6px; }
.price-card header p { font-size: 15px; }
.price-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.price-label { width: 100%; font-size: 14px; color: var(--muted-dark); }
.price-value { font-family: var(--display); font-stretch: var(--stretch); font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.price-old { color: var(--muted-dark); text-decoration: line-through; }
.price-promo { font-size: 14px; font-weight: 600; color: var(--ink); background: var(--yellow); padding: 8px 12px; border-radius: var(--radius); }
.price-list { margin: 0; display: grid; gap: 0; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line-dark); font-size: 15px; }
.price-list dt { color: rgba(255, 255, 255, .85); }
.price-list dt small { display: block; color: var(--muted-dark); font-size: 13px; }
.price-list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-card .btn { margin-top: auto; }
.fineprint { margin-top: 22px; font-size: 14px; color: var(--muted-dark); }

/* Ablauf als Straße */
.road { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 46px; counter-reset: step; }
.road::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--asphalt) 0 26px, transparent 26px 44px);
  border-radius: 4px;
}
.road li { position: relative; }
.road li::before { content: ""; position: absolute; top: -46px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); border: 5px solid var(--paper); box-shadow: 0 0 0 1.5px var(--asphalt); }
.road-km { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5f5d00; margin-bottom: 10px; }
.road h3 { font-family: var(--display); font-stretch: var(--stretch); font-weight: 800; font-size: 26px; margin-bottom: 8px; }
.road p { color: var(--ink-2); font-size: 16px; }

/* Team */
.team { overflow: hidden; }
.team-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 290px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 8px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.team-scroller::-webkit-scrollbar { display: none; }
.member { margin: 0; scroll-snap-align: start; }
.member img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); background: #ddd; }
.member figcaption { display: flex; flex-direction: column; padding: 14px 4px 0; }
.member strong { font-size: 18px; }
.member span { color: var(--ink-2); font-size: 15px; }
.member .member-classes { margin-top: 6px; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink); background: var(--yellow); padding: 3px 9px; border-radius: 999px; }
.scroller-nav { display: flex; gap: 8px; }
.scroller-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-size: 18px; cursor: pointer; transition: background .2s, color .2s; }
.scroller-nav button:hover { background: var(--ink); color: #fff; }

/* Standorte */
.location-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.location { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.location img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.location.is-main { grid-row: span 2; }
.location.is-main img { aspect-ratio: auto; flex: 1; min-height: 260px; }
.location-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.location-kind { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5f5d00; }
.location h3 { font-family: var(--display); font-stretch: var(--stretch); font-weight: 800; font-size: 24px; }
.location .link-arrow { align-self: flex-start; margin-top: 6px; font-size: 15px; }
.location:not(.is-main) { background: var(--soft); border-color: transparent; justify-content: flex-end; }
.location:not(.is-main) .location-body { padding: 30px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .btn { margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 10px; right: 10px; top: 15px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { padding: 0 52px 26px 0; color: var(--ink-2); }

/* Abschluss */
.cta-band { background: var(--yellow); color: var(--ink); padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
/* Die drei Logo-Streifen, groß und sauber – fahren nacheinander ins Bild */
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; pointer-events: none;
  transform: skewX(-24deg) translateX(var(--sx, 0)); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), opacity .8s;
}
.cta-band::before {
  right: 14%; width: clamp(150px, 19vw, 280px);
  background: linear-gradient(90deg, var(--asphalt) 0 26%, transparent 26% 37%, rgba(13, 14, 15, .55) 37% 63%, transparent 63% 74%, rgba(13, 14, 15, .22) 74% 100%);
}
.cta-band::after {
  right: -4%; width: clamp(40px, 5vw, 70px); background: rgba(13, 14, 15, .08);
}
.js .cta-band:not(.is-in)::before { --sx: 60vw; opacity: 0; }
.js .cta-band:not(.is-in)::after { --sx: 40vw; opacity: 0; }
.cta-inner { position: relative; }
.cta-band h2 { font-size: clamp(40px, 7vw, 96px); max-width: 12ch; }
.cta-band p { font-size: clamp(17px, 1.5vw, 21px); margin-top: 18px; max-width: 40ch; }

/* Footer */
.site-footer { background: var(--asphalt); color: #fff; padding: 80px 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1.2fr 1.1fr; gap: 36px; }
.footer-brand p { color: var(--muted-dark); margin-top: 20px; max-width: 36ch; font-size: 15px; }
.site-footer h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 16px; font-weight: 650; }
.footer-links { display: grid; gap: 8px; font-size: 15px; }
.footer-links a { text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--yellow); }
.site-footer .muted { color: var(--muted-dark); font-size: 15px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--muted-dark); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.powered { width: 100%; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255, 255, 255, .45); }
.powered b { font-weight: 700; color: rgba(255, 255, 255, .75); transition: color .2s; }
.powered:hover b { color: var(--yellow); }

/* Mobile Aktionsleiste */
.action-bar { display: none; }


/* ============ Bewegung ============ */

/* Text- und Karten-Einblendung (nur mit JS; ohne JS ist alles sofort sichtbar) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Überschriften: Wort für Wort aus einer Maske hochfahren */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(108%); transition: transform 1s cubic-bezier(.16, .84, .24, 1); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.js .split.is-in .w > span { transform: none; }
/* „Gas geben“: Überschriften ziehen beim Einblenden von schmal auf breit */
.js .split .w > span { font-stretch: 62%; transition-property: transform, font-stretch; transition-duration: 1s, 1.3s; }
.js .split.is-in .w > span { font-stretch: var(--stretch); }

/* Markenstreifen fahren nacheinander ein */
.js .eyebrow .stripes i { transform: skewX(-24deg) translateX(-14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.js .eyebrow.is-in .stripes i { transform: skewX(-24deg); opacity: 1; }
.js .eyebrow.is-in .stripes i:nth-child(2) { opacity: .7; transition-delay: .08s; }
.js .eyebrow.is-in .stripes i:nth-child(3) { opacity: .4; transition-delay: .16s; }

/* Hero: Ampel schaltet auf Grün, dann fährt alles los */
.ampel { display: inline-flex; gap: 3px; padding: 3px 5px; border-radius: 999px; background: rgba(0, 0, 0, .55); }
.ampel i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.ampel i:nth-child(1) { animation: ampel-rot 1.5s .2s both; }
.ampel i:nth-child(2) { animation: ampel-gelb 1.5s .2s both; }
.ampel i:nth-child(3) { animation: ampel-gruen 1.5s .2s both, gruen-glow 2.6s 1.7s infinite; }
@keyframes ampel-rot { 0%, 40% { background: #ff4b3e; box-shadow: 0 0 8px #ff4b3e; } 41%, 100% { background: rgba(255, 255, 255, .16); box-shadow: none; } }
@keyframes ampel-gelb { 0%, 26% { background: rgba(255, 255, 255, .16); } 27%, 64% { background: #ffb800; box-shadow: 0 0 8px #ffb800; } 65%, 100% { background: rgba(255, 255, 255, .16); box-shadow: none; } }
@keyframes ampel-gruen { 0%, 64% { background: rgba(255, 255, 255, .16); } 65%, 100% { background: #3ee07a; box-shadow: 0 0 8px #3ee07a; } }
@keyframes gruen-glow { 50% { box-shadow: 0 0 2px #3ee07a; } }

.js .hero-step { opacity: 0; transform: translateY(18px); }
.slide-text.is-anim .hero-step { animation: step-in .8s var(--ease) both; }
.slide-text.is-anim .hero-title { animation: step-in .8s var(--ease) .3s both, gas-geben 1.3s cubic-bezier(.16, .84, .24, 1) .3s both; }
@keyframes gas-geben { from { font-stretch: 62%; } to { font-stretch: var(--stretch); } }
.slide-text.is-anim .slide-eyebrow { animation-delay: .15s; }
.hero.is-go .hero-rotator { animation-delay: .75s; }
.slide-text.is-anim .hero-text { animation-delay: .55s; }
.slide-text.is-anim .hero-cta { animation-delay: .7s; }
@keyframes step-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-title.split .w > span { --d: 250ms; }

/* Scheibenwischer legt das Teamfoto frei */
@property --wipe { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.js .slide-img.is-on.is-wiping img { -webkit-mask: conic-gradient(from -90deg at 50% 100%, #000 var(--wipe), transparent 0); mask: conic-gradient(from -90deg at 50% 100%, #000 var(--wipe), transparent 0); }
.slide-img.is-on.is-wiping img { animation: wipe 1.3s .1s cubic-bezier(.55, .1, .35, 1) both, kenburns 9s ease-out both; }
@keyframes wipe { to { --wipe: 181deg; } }
.wiper { position: absolute; left: 50%; bottom: -6px; width: 0; height: 0; pointer-events: none; }
.wiper i { position: absolute; left: -3px; bottom: 0; width: 6px; height: 135vh; max-height: 1400px; border-radius: 6px; transform-origin: 50% 100%; transform: rotate(-90deg);
  background: linear-gradient(180deg, #111 0 70%, var(--yellow) 70% 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 6px 0 18px rgba(0, 0, 0, .35); opacity: 0; }
.hero.is-wipe .wiper i { animation: wiper 1.3s .1s cubic-bezier(.55, .1, .35, 1) forwards; }
@keyframes wiper { 0% { opacity: 1; transform: rotate(-90deg); } 92% { opacity: 1; } 100% { opacity: 0; transform: rotate(90deg); } }


/* Wechselnde Fahrzeugklasse */
.hero-rotator { display: flex; align-items: center; gap: 14px; margin: -6px 0 22px; height: 34px; font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); color: #fff; }
.rotator-icon { position: relative; width: 56px; height: 28px; flex: none; color: var(--yellow); }
.rotator-icon > span { position: absolute; inset: 0; opacity: 0; transform: translateX(-26px); transition: opacity .45s, transform .6s var(--ease); }
.rotator-icon > span.is-on { opacity: 1; transform: none; }
.rotator-icon > span.is-out { opacity: 0; transform: translateX(26px); }
.rotator-icon .veh { width: 56px; height: 28px; }
.rotator-icon .is-on .wheel { animation: spin .6s linear 1; }
.rotator-words { position: relative; display: block; height: 1.4em; flex: 1; overflow: hidden; }
.rotator-words > span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: transform .6s var(--ease), opacity .4s; }
.rotator-words > span.is-on { opacity: 1; transform: none; }
.rotator-words > span.is-out { opacity: 0; transform: translateY(-100%); }

/* Fahrbahn im Hero: Mittelstreifen laufen, ab und zu fährt ein Roadmaster-Auto durch */
.hero-road { position: relative; height: 54px; margin-top: clamp(48px, 7vw, 90px); overflow: hidden; }
.hero-road .lane { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, rgba(226, 222, 0, .85) 0 34px, transparent 34px 70px); background-size: 70px 3px; animation: lane 1.1s linear infinite; opacity: .55; }
@keyframes lane { to { background-position: -70px 0; } }
.road-runner { position: absolute; top: 4px; left: 0; width: 84px; color: var(--asphalt); animation: drive-by 9s 2.2s cubic-bezier(.45, .05, .55, .95) infinite; transform: translateX(-120px); }
.road-runner .veh { width: 84px; height: 42px; }
@keyframes drive-by { 0% { transform: translateX(-120px); } 45%, 100% { transform: translateX(calc(100vw + 40px)); } }
.hero-facts { margin-top: 0; }

/* Ausgefülltes Roadmaster-Auto */
.veh-solid .body { fill: var(--yellow); stroke: var(--asphalt); }
.veh-solid path:not(.body) { stroke: var(--asphalt); }
.veh-solid .wheel circle { fill: var(--asphalt); stroke: #555; }
.veh-solid .wheel path { stroke: #888; }
.veh .wheel { transform-box: fill-box; transform-origin: center; }
.road-runner .wheel, .road-car.is-moving .wheel { animation: spin .5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Klassen-Karten: Fahrzeug fährt beim Hover los */
.class-icon { display: block; width: 58px; height: 29px; margin-bottom: 10px; color: var(--ink); transition: transform .7s var(--ease), color .2s; }
.class-icon .veh { width: 58px; height: 29px; }
.class-icon .wheel circle { fill: var(--paper); transition: fill .2s; }
.class-card:hover .class-icon { color: var(--yellow); transform: translateX(10px); }
.class-card:hover .class-icon .wheel circle { fill: var(--asphalt); }
.class-card:hover .class-icon .wheel { animation: spin .7s linear infinite; }

/* Ablauf: Auto fährt beim Scrollen die Straße entlang */
.road-wrap { position: relative; }
.road-car { position: absolute; z-index: 2; top: -19px; left: calc(var(--p, 0) * (100% - 64px)); width: 64px; pointer-events: none; }
.road-car .veh { width: 64px; height: 32px; }
.road li::before { background: var(--paper); transition: background .4s, box-shadow .4s; }
.road li.is-passed::before { background: var(--yellow); box-shadow: 0 0 0 1.5px var(--asphalt), 0 0 0 8px rgba(226, 222, 0, .25); }
.road li h3, .road li p { transition: opacity .4s; }
.js .road li:not(.is-passed) h3, .js .road li:not(.is-passed) p { opacity: .45; }


/* Start-Button: kleiner Blinker-Effekt beim Hover */
.btn-go span { display: inline-block; transition: transform .25s var(--ease); }
.btn-go:hover span { animation: blink-arrow .7s steps(2) infinite; }
@keyframes blink-arrow { 50% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .split .w > span, .js .hero-step { opacity: 1 !important; transform: none !important; }
  .js .split .w > span { font-stretch: var(--stretch) !important; }
}

/* Tablet */
@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .main-nav ul a { padding: 10px 10px; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:last-child { grid-column: span 2; flex-direction: row; }
  .feature:last-child img { width: 50%; aspect-ratio: auto; }
  .price-card { padding: 24px; }
  .price-value { font-size: 44px; }
  .location-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .location.is-main { grid-column: span 2; grid-row: auto; }
  .location.is-main img { aspect-ratio: 16 / 8; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Navigation einklappen */
@media (max-width: 920px) {
  .hero-cards { grid-template-columns: 1fr 1fr; margin-top: -90px; }
  .hcard-yellow { grid-column: span 2; }
  .hero-title { font-size: clamp(32px, 7vw, 60px); }
  .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; overflow-y: auto; overscroll-behavior: contain;
    background: var(--yellow); color: var(--ink); padding: 96px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
    clip-path: circle(0 at calc(100% - 56px) 38px); visibility: hidden;
    transition: clip-path .65s cubic-bezier(.7, 0, .2, 1), visibility 0s .65s;
  }
  .main-nav.is-open { clip-path: circle(160% at calc(100% - 56px) 38px); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
  .main-nav::before { /* große Logo-Streifen als Wasserzeichen */
    content: ""; position: absolute; right: -60px; bottom: 120px; width: 260px; height: 340px; pointer-events: none; opacity: .08;
    background: linear-gradient(90deg, var(--ink) 0 26%, transparent 26% 37%, var(--ink) 37% 63%, transparent 63% 74%, var(--ink) 74%); transform: skewX(-24deg);
  }
  .main-nav ul { flex-direction: column; gap: 0; position: relative; }
  .main-nav ul li { border-bottom: 1.5px solid rgba(13, 14, 15, .14); }
  .main-nav ul a {
    display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; column-gap: 10px; padding: 13px 0; border-radius: 0; color: var(--ink);
    font-family: var(--display); font-stretch: var(--stretch); font-weight: 700; font-size: clamp(34px, 10vw, 46px); line-height: 1; text-transform: uppercase;
  }
  .nav-no { display: block; font: 800 12px/1 var(--body); letter-spacing: .08em; color: rgba(13, 14, 15, .55); align-self: center; }
  .nav-sub { display: block; font: 600 13px/1.2 var(--body); text-transform: none; color: rgba(13, 14, 15, .6); text-align: right; align-self: center; }
  .main-nav ul a:hover { background: none; color: var(--ink); }
  .main-nav ul a:hover .nav-t { transform: translateX(6px); }
  .nav-t { display: inline-block; transition: transform .3s var(--ease); }
  .main-nav ul a[aria-current="page"] { color: var(--ink); }
  .main-nav ul a[aria-current="page"] .nav-no { display: grid; place-items: center; width: 28px; height: 22px; border-radius: 3px; background: var(--ink); color: var(--yellow); }
  .main-nav ul a[aria-current="page"]::after { display: none; }
  .main-nav li { opacity: 0; transform: translateY(26px); transition: opacity .4s, transform .5s var(--ease); }
  .main-nav.is-open li { opacity: 1; transform: none; transition-delay: calc(var(--n) * 55ms + 200ms); }
  .nav-mobile-extra { display: grid; gap: 12px; position: relative; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
  .main-nav.is-open .nav-mobile-extra { opacity: 1; transform: none; transition-delay: .55s; }
  .nav-course { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; }
  .nav-course-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 3px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; text-transform: uppercase; line-height: 1; }
  .nav-course-date b { font-family: var(--display); font-size: 21px; }
  .nav-course small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
  .nav-course strong { font-size: 16px; }
  .nav-course-go { color: var(--yellow); font-size: 20px; }
  .nav-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .nav-quick a { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
  .nav-quick a:hover { background: rgba(13, 14, 15, .08); }
  .nav-cta { width: 100%; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .brand { color: var(--ink); }
  body.menu-open .header-phone { opacity: 0; pointer-events: none; }
  .promise-grid, .faq-grid { grid-template-columns: 1fr; }
  .promise-intro { position: static; }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; }
  .road { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .road::before { display: none; }
  .road li::before { top: -36px; }
  .road li { padding-top: 0; }
  .road { padding-top: 36px; }
}

/* Handy */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 64px; }
  .brand svg { width: 112px; }
  .hero { display: block; min-height: 0; }
  .hero-bg { position: relative; height: 72vw; min-height: 260px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(13, 14, 15, .6) 0%, rgba(13, 14, 15, 0) 26%, rgba(13, 14, 15, 0) 62%, var(--asphalt) 100%); }
  .hero-center { padding-top: 6px; padding-bottom: 110px; }
  .hero-top { top: 76px; }
  .hero-top .badge { font-size: 12px; padding: 5px 10px 5px 7px; }
  .hero-center .rotator-words { width: 15em; }
  .hero-cards { grid-template-columns: 1fr; margin-top: -70px; gap: 12px; }
  .hcard { flex-direction: row; flex-wrap: wrap; text-align: left; align-items: center; column-gap: 16px; row-gap: 4px; padding: 20px; }
  .hcard-ic svg { width: 40px; height: 40px; }
  .hcard h2 { font-size: 20px; margin: 0; flex: 1; }
  .hcard p, .hcard-link { width: 100%; }
  .hcard-yellow { grid-column: auto; }
  .hero-title { margin: 20px 0 16px; }
  .hero-cta { flex-direction: column; margin-top: 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .hero-facts li { padding: 20px 12px 22px 0; }
  .hero-facts li + li { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-dark); }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .strip-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .course-list { grid-template-columns: 1fr; }
  .promise-list li { grid-template-columns: 44px 1fr; padding: 26px 0; }
  .feature-grid, .price-grid, .location-grid { grid-template-columns: 1fr; }
  .class-grid { gap: 10px; }
  .class-card { padding: 18px 16px; gap: 4px; }
  .class-code { font-size: 22px; }
  .class-name { font-size: 15px; }
  .class-teaser { display: none; }
  .class-meta { padding-top: 10px; font-size: 12px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .class-meta span { padding: 3px 8px; white-space: nowrap; }
  .course-card { grid-template-columns: auto 1fr; }
  .course-kind { padding-right: 0; }
  .course-countdown { position: static; grid-column: 2; justify-self: start; margin-top: -6px; }
  .feature:last-child { grid-column: auto; flex-direction: column; }
  .feature:last-child img { width: 100%; aspect-ratio: 4 / 3; }
  .price-card { padding: 24px; }
  .class-card { min-height: 0; }
  .location.is-main { grid-column: auto; }
  .road { grid-template-columns: 1fr; row-gap: 0; padding-top: 0; padding-left: 40px; }
  .road::before { display: block; left: 10px; right: auto; top: 8px; bottom: 8px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--asphalt) 0 22px, transparent 22px 38px); }
  .road li { padding-bottom: 36px; }
  .road li::before { top: 0; left: -40px; }
  .road-car { left: -9px; top: calc(var(--p, 0) * (100% - 64px)); width: 42px; transform: rotate(90deg); transform-origin: 50% 50%; }
  .road-car .veh { width: 42px; height: 21px; }
  .hero-road { height: 46px; margin-top: 44px; }
  .road-runner, .road-runner .veh { width: 66px; }
  .road-runner .veh { height: 33px; }
  .hero-rotator { font-size: 15px; gap: 10px; }
  .rotator-icon, .rotator-icon .veh { width: 46px; height: 23px; }
  .scroller-nav { display: none; }
  .team-scroller { grid-auto-columns: 72%; }
  .faq details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-bottom: 120px; }
  .cta-band::before { top: auto; bottom: -4%; height: 26%; right: -10%; width: 130px; opacity: .7; }
  .cta-band { padding-bottom: 140px; }
  .cta-band::after { display: none; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13, 14, 15, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-dark);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; text-decoration: none; font-weight: 650; color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); }
  .action-bar a svg { width: 18px; height: 18px; fill: var(--yellow); }
  .action-bar a.is-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
  .action-bar { grid-template-columns: 1fr auto 1.5fr; }
  .action-bar a.is-wa { width: 50px; padding: 0; border-color: rgba(37, 211, 102, .6); }
  .action-bar a.is-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .action-bar a.is-wa svg { width: 22px; height: 22px; fill: #25d366; }
}


/* ============ Gestaltungssystem: schmale Versalien, klare Kanten ============ */
.h2, .h3, .hero-title, .page-title, .cta-band h2, .price-card h3, .road h3, .promise-list h3, .location h3, .class-code,
.feature h3, .course-body h3 {
  text-transform: uppercase; letter-spacing: .004em; font-weight: 700;
}
.h2 { font-size: clamp(36px, 5vw, 64px); line-height: .98; }
.hero-title { font-size: clamp(42px, 5.6vw, 84px); line-height: .95; max-width: 19ch; margin: 18px auto 16px; }
.cta-band h2 { line-height: .95; }
.promise-list h3 { font-size: clamp(24px, 2.4vw, 32px); }

/* Abschnitts-Kennung: gelber Strich statt Streifen-Logo */
.eyebrow .stripes { display: none; }
.eyebrow { gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--ink); }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--yellow); flex: none; }
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: rgba(255, 255, 255, .78); }
.js .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.js .eyebrow.is-in::before { transform: none; }
.h2, .h3, .hero-title, .cta-band h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 640px) {
  .h2 { font-size: clamp(30px, 9vw, 40px); }
  .cta-band h2 { font-size: clamp(36px, 11vw, 52px); }
}

/* ============ Cookie-Banner ============ */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(440px, calc(100vw - 40px)); padding: 22px 22px 18px; border-radius: var(--radius);
  background: var(--asphalt); color: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.consent.is-in { transform: none; opacity: 1; }
.consent-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-stretch: var(--stretch); font-weight: 700; text-transform: uppercase; font-size: 22px; margin-bottom: 8px; }
.consent-stripes { display: inline-flex; gap: 3px; }
.consent-stripes i { width: 6px; height: 14px; background: var(--yellow); transform: skewX(-24deg); border-radius: 1px; }
.consent-stripes i:nth-child(2) { opacity: .7; } .consent-stripes i:nth-child(3) { opacity: .45; }
.consent-text { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.consent-text a { color: var(--yellow); }
.consent-opts { display: grid; gap: 8px; margin-top: 14px; }
.consent-opt { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 3px; background: rgba(255, 255, 255, .05); cursor: pointer; font-size: 13px; color: rgba(255, 255, 255, .65); }
.consent-opt b { display: block; color: #fff; font-size: 14px; }
.consent-opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow); flex: none; }
.consent-opt.is-locked { cursor: default; opacity: .7; }
.consent-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.consent-link, .footer-link { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .7); font: inherit; text-decoration: underline; cursor: pointer; }
.consent-link { font-size: 13px; margin-left: 4px; }
.footer-link { color: inherit; text-decoration: none; }
.footer-link:hover { color: #fff; }
@media (max-width: 640px) {
  .consent { left: 10px; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); width: auto; padding: 18px; }
  .consent-btns .btn { flex: 1; }
}

/* ============ Startseiten-Slider ============ */
.slide-img { position: absolute; inset: 0; margin: 0; opacity: 0; }
.slide-img img { width: 100%; height: 100%; object-fit: cover; }
.slide-img.is-on { opacity: 1; z-index: 1; }
.slide-img.is-prev { opacity: 1; z-index: 0; }
.slide-img.is-on img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-bg::after { z-index: 2; }
.wiper { z-index: 3; }
.slide-texts { display: grid; width: 100%; }
.slide-text { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.slide-text.is-on { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.slide-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.slide-eyebrow::before, .slide-eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.slider-ui { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.slider-arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(13, 14, 15, .55); color: #fff; font-size: 18px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.slider-arrow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.slider-lanes { display: flex; gap: 8px; }
.lane-btn { position: relative; width: 44px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.lane-btn::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.lane-btn i { position: absolute; left: 0; top: 9px; height: 4px; width: 0; border-radius: 2px; background: var(--yellow); }
.lane-btn.is-done i { width: 100%; }
.lane-btn.is-on i { animation: lane-fill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .lane-btn.is-on i { animation-play-state: paused; }
@keyframes lane-fill { to { width: 100%; } }
.slider-count { font-family: var(--display); font-stretch: var(--stretch); font-weight: 700; font-size: 16px; color: rgba(255, 255, 255, .6); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.slider-count b { color: #fff; }
@media (max-width: 640px) {
  .slider-ui { gap: 10px; margin-top: 24px; }
  .slider-arrow { width: 40px; height: 40px; }
  .lane-btn { width: 30px; }
}
@media (prefers-reduced-motion: reduce) { .lane-btn.is-on i { width: 100%; } }

/* ============ Schriften: Anybody breit (Überschriften) + Syne (Zwischentitel, Labels, Buttons) ============ */
.h2 { font-size: clamp(28px, 3.7vw, 50px); line-height: 1; letter-spacing: -.01em; }
.hero-title { font-size: clamp(32px, 4.6vw, 68px); line-height: .98; letter-spacing: -.01em; max-width: 17ch; }
.h3, .price-card h3, .road h3, .promise-list h3, .location h3, .feature h3, .course-body h3 {
  font-family: var(--accent); font-stretch: normal; font-weight: 800; letter-spacing: -.005em;
}
.eyebrow, .slide-eyebrow, .nav-t, .main-nav ul a { font-family: var(--accent); }
@media (max-width: 560px) {
  .h2 { font-size: clamp(26px, 7.4vw, 36px); }
  .hero-title { font-size: clamp(28px, 8.6vw, 40px); }
}
/* Rasterspalten dürfen nie breiter werden als der Bildschirm (lange Wörter in breiter Schrift) */
.promise-grid > *, .page-hero-grid > *, .hero-cards > * { min-width: 0; }
.promise-grid img, .licence, .navi { max-width: 100%; }
.road > * { min-width: 0; }
.road h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 560px) { .road h3 { font-size: 21px; } }
.promise-list li > * { min-width: 0; }
.promise-list h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 560px) { .promise-list h3 { font-size: 21px; } }
.eyebrow { letter-spacing: .05em; font-weight: 700; flex-wrap: wrap; }
.h3, .price-card h3, .road h3, .promise-list h3, .location h3, .feature h3, .course-body h3 { line-height: 1.1; }
@media (max-width: 560px) { .eyebrow { font-size: 12px; } }

.footer-h-gap { margin-top: 26px; }
.footer-klassen { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.location h3 a, .station-body h3 a { color: inherit; text-decoration: none; }
.location h3 a:hover, .station-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
