/* ==========================================================================
   Fahrschule Dovermann – Unterseiten (Redesign-Vorschau)
   Baut auf tokens.css und main.css auf. Mobile zuerst gedacht: 90 % der Nutzer.
   ========================================================================== */

/* ---------- Seitenkopf ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; background: #18181a; color: #fff; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/img/asphalt.webp") center/cover no-repeat; opacity: .5; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #18181a 30%, rgba(24,24,26,.72) 100%); }
.phero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 5.500vw, 84px) clamp(56px, 6.500vw, 96px); }
.phero-plain .phero-inner { grid-template-columns: minmax(0, 1fr); padding-block: clamp(48px, 6vw, 92px); }
.phero-plain .phero-copy { max-width: 780px; }
.phero-facts .phero-inner { padding-bottom: clamp(96px, 9vw, 136px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 22px; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.62); }
.crumbs a { color: rgba(255,255,255,.78); text-decoration: none; padding-block: 6px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }
.phero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.150rem, 1.300rem + 3.300vw, 4rem); line-height: 1.05; letter-spacing: -.022em; text-wrap: balance; }
.phero-lead { margin-top: 20px; max-width: 54ch; font-size: clamp(1.020rem, .960rem + .300vw, 1.180rem); line-height: 1.65; color: rgba(255,255,255,.86); }
.phero .hero-ctas { margin-top: 30px; }
.phero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: #222; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.klasse-tag { position: absolute; left: 0; bottom: 22px; padding: 9px 16px 9px 18px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .92rem; letter-spacing: .04em; border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* Kennzahlen unter dem Kopf */
.keyfacts { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: -56px; background: #fff; border-radius: var(--r-md); box-shadow: 0 24px 50px -24px rgba(20,20,24,.35), 0 0 0 1px rgba(20,20,24,.05); border-top: 4px solid var(--red); overflow: hidden; }
.keyfacts li { padding: 22px 26px; border-left: 1px solid var(--line); }
.keyfacts li:first-child { border-left: 0; }
.keyfacts b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.350rem, 1.100rem + .900vw, 1.850rem); line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
.keyfacts span { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.4; color: var(--ink-soft); }

/* Sprungmarken */
.jump { position: sticky; top: var(--jump-top, 64px); z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); margin-top: 28px; }
.jump-inner { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.jump-inner::-webkit-scrollbar { display: none; }
.jump a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.jump a:hover, .jump a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Grundraster ---------- */
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .lead { margin-top: 16px; }
.prose > .sec-head { margin-bottom: 22px; }
.section-dark .h2, .section-dark .h3, .section-dark .h4 { color: #fff; }
.section-dark .lead { color: var(--on-dark-soft); }
.cols { display: grid; grid-template-columns: minmax(0, 1.150fr) minmax(0, .850fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cols-flip > :first-child { order: 2; }
.cols-one { grid-template-columns: minmax(0, 1fr); }
.cols-one .prose { max-width: 820px; }
.cols-termine { grid-template-columns: minmax(0, .850fr) minmax(0, 1.150fr); }
.prose { font-size: 1.040rem; line-height: 1.75; color: var(--ink-soft); }
.prose-narrow { max-width: 780px; margin-inline: auto; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 16px; }
.prose h3 { margin: 34px 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.450rem; line-height: 1.25; color: var(--ink); }
.prose h4 { margin: 26px 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.120rem; color: var(--ink); }
.prose h3:first-child, .prose h4:first-child { margin-top: 0; }
.prose a { color: var(--red); font-weight: 600; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-hover); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .700em; width: 9px; height: 9px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.prose .note, .pv-note { margin-top: 18px; padding: 12px 16px; border: 1px dashed #b9bcc4; border-radius: var(--r-sm); background: rgba(255,255,255,.6); font-size: .840rem; line-height: 1.55; color: var(--ink-soft); }
.prose .note { border-style: solid; border-color: var(--line); background: var(--surface); }
.pv-note::before { content: "Vorschau"; display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 4px; background: var(--ink); color: #fff; font-size: .680rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.pv-note code { font-size: .800rem; background: #eceef1; padding: 1px 5px; border-radius: 4px; word-break: break-word; }
.pv-note-block { margin-block: 24px; }
.section-dark .pv-note { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: var(--on-dark-soft); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .860rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Bild und Infokarte neben Text */
.aside-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.400; background: #ddd; }
.aside-img img { width: 100%; height: 100%; object-fit: cover; }
.aside-img figcaption { position: absolute; left: 0; bottom: 20px; padding: 8px 14px 8px 16px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .860rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.infocard { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); box-shadow: var(--shadow-1); }
.section-grey .infocard { border-color: transparent; border-top-color: var(--red); }
.infocard-dark { background: var(--dark); border-color: var(--dark); border-top-color: var(--red); color: var(--on-dark-soft); }
.infocard-dark .h3 { color: #fff; }
.infocard-k { margin-bottom: 8px; font-size: .740rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.infocard .h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.400rem; line-height: 1.2; }
.infocard p { margin-top: 12px; font-size: .960rem; line-height: 1.65; }
.infocard .btn { margin-top: 22px; }
.ticks { display: grid; gap: 12px; margin-top: 18px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .960rem; line-height: 1.5; }
.ticks .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--red); }

/* ---------- Klassen im Detail ---------- */
.section-klassen { padding-bottom: clamp(40px, 5vw, 72px); }
.klasse { display: grid; grid-template-columns: minmax(0, .900fr) minmax(0, 1.100fr); gap: clamp(28px, 5.500vw, 80px); align-items: start; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 130px; }
.klasse:first-of-type { border-top: 0; padding-top: 0; }
.sec-head + .klasse { padding-top: 0; }
.klasse-flip .klasse-media { order: 2; }
.klasse-media { position: sticky; top: 140px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.300; background: #e4e5e8; }
.klasse-media img { width: 100%; height: 100%; object-fit: cover; }
.klasse-media--badge { display: grid; place-items: center; background: #1d1d1f url("../assets/img/asphalt.webp") center/cover no-repeat; aspect-ratio: 4 / 2.600; }
.klasse-badge { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2rem + 5vw, 6rem); line-height: 1; color: #fff; letter-spacing: -.03em; }
.klasse-badge::after { content: ""; display: block; height: 8px; margin-top: 10px; background: var(--red); border-radius: 2px; }
.klasse-copy .pill { margin-bottom: 14px; }
.klasse-copy .lead { margin-top: 14px; }
.klasse-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 28px; }
.klasse-points h4 { position: relative; padding-left: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.040rem; line-height: 1.3; color: var(--ink); }
.klasse-points h4::before { content: ""; position: absolute; left: 0; top: .300em; bottom: .250em; width: 4px; border-radius: 2px; background: var(--red); }
.klasse-points p { margin-top: 6px; padding-left: 16px; font-size: .940rem; line-height: 1.6; color: var(--ink-soft); }
.klasse-copy > p:not(.lead):not(.pill), .klasse-copy > ul:not(.klasse-points) { margin-top: 16px; color: var(--ink-soft); line-height: 1.7; }
.klasse-copy > ul:not(.klasse-points) { display: grid; gap: 8px; }
.klasse-copy > ul:not(.klasse-points) li { position: relative; padding-left: 24px; }
.klasse-copy > ul:not(.klasse-points) li::before { content: ""; position: absolute; left: 4px; top: .650em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.klasse-copy h3:not(.h2) { margin-top: 26px; font-family: var(--font-display); font-weight: 600; font-size: 1.150rem; color: var(--ink); }

/* ---------- Preisbeispiel ---------- */
.price { margin-top: 28px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.price + .price { margin-top: 12px; }
.price-stack .price:first-child { margin-top: 0; }
.price summary { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; min-height: 68px; padding: 12px 18px 12px 22px; cursor: pointer; list-style: none; border-left: 4px solid var(--red); }
.price summary::-webkit-details-marker { display: none; }
.price-k { font-weight: 650; color: var(--ink); line-height: 1.3; }
.price-k::after { content: "Gesamtkosten im Beispiel"; display: block; margin-top: 2px; font-size: .780rem; font-weight: 500; color: var(--ink-soft); }
.price-total { font-family: var(--font-display); font-weight: 700; font-size: 1.450rem; color: var(--ink); white-space: nowrap; }
.price-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--ink); transition: transform var(--t-fast), background-color var(--t-fast); }
.price-toggle .ico { width: 18px; height: 18px; }
.price[open] .price-toggle { transform: rotate(45deg); background: var(--red); color: #fff; }
.price summary:hover .price-toggle { background: var(--ink); color: #fff; }
.price-body { padding: 4px 22px 22px; border-top: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; font-size: .940rem; }
.price-table th { padding: 13px 12px 13px 0; text-align: left; font-weight: 600; color: var(--ink); vertical-align: top; }
.price-table th span { display: block; margin-top: 2px; font-size: .840rem; font-weight: 400; line-height: 1.5; color: var(--ink-soft); }
.price-table td { padding: 13px 0; text-align: right; font-weight: 650; color: var(--ink); white-space: nowrap; vertical-align: top; }
.price-table tbody tr + tr { border-top: 1px solid var(--line); }
.price-table tfoot th, .price-table tfoot td { padding-top: 16px; border-top: 2px solid var(--ink); font-family: var(--font-display); font-size: 1.120rem; font-weight: 700; }
.price-notes { display: grid; gap: 6px; margin-top: 16px; font-size: .800rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Merkmale, Karten, Zahlen ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat-grid li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.section-grey .feat-grid li { border-color: transparent; }
.section-dark .feat-grid li { background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.feat-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(198,38,47,.1); color: var(--red); }
.section-dark .feat-ic { background: var(--red); color: #fff; }
.feat-ic .ico { width: 24px; height: 24px; }
.feat-grid .h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.060rem; line-height: 1.3; }
.feat-grid p { margin-top: 6px; font-size: .920rem; line-height: 1.6; color: var(--ink-soft); }
.section-dark .feat-grid p { color: var(--on-dark-soft); }

.lcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lcards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lcards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lcard { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px 24px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), border-color var(--t-fast); }
.section-grey .lcard { border-color: transparent; }
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: transparent; }
.lcard-ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 14px; background: var(--dark); color: #fff; }
.lcard-ic img { width: 34px; height: 34px; object-fit: contain; }
.lcard-ic .ico { width: 26px; height: 26px; }
.lcard-tag { margin-bottom: 6px; font-size: .720rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.lcard-title { font-family: var(--font-display); font-weight: 600; font-size: 1.250rem; line-height: 1.25; }
.lcard-x { margin-top: 8px; font-size: .930rem; line-height: 1.6; color: var(--ink-soft); }
.lcard-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: .900rem; font-weight: 700; color: var(--red); }
.lcard-more .ico { width: 18px; height: 18px; transition: transform var(--t-fast); }
.lcard:hover .lcard-more .ico { transform: translateX(4px); }
.section-lcards-dark .lcard { background: rgba(255,255,255,.05); border-color: var(--line-dark); color: #fff; }
.section-lcards-dark .lcard-x { color: var(--on-dark-soft); }
.section-lcards-dark .lcard-ic { background: var(--red); }
.section-lcards-dark .lcard-more { color: #fff; }

.statband { background: var(--red); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 32px; padding-block: clamp(28px, 4vw, 44px); }
.stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.800rem, 1.300rem + 2vw, 2.800rem); line-height: 1.05; letter-spacing: -.02em; }
.stats span { display: block; margin-top: 6px; font-size: .900rem; line-height: 1.4; color: rgba(255,255,255,.88); }

/* Hinweisband */
.teaser { position: relative; }
.teaser-red { background: linear-gradient(100deg, #282829 0%, #5c1d21 55%, var(--red) 100%); color: #fff; }
.teaser-dark { background: var(--dark); color: #fff; }
.teaser-light { background: var(--surface); color: var(--ink); }
.teaser-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding-block: clamp(36px, 4.500vw, 56px); }
.teaser-k { margin-bottom: 8px; font-size: .740rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.teaser .h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.400rem, 1.150rem + 1vw, 1.900rem); line-height: 1.2; color: inherit; }
.teaser p:not(.teaser-k) { margin-top: 10px; max-width: 62ch; line-height: 1.65; opacity: .9; }
.teaser-media { display: none; }

/* ---------- Termine ---------- */
.termine { display: grid; gap: 10px; }
.termin { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.section-grey .termin { border-color: transparent; }
.termin-date { display: grid; place-items: center; align-content: center; width: 76px; height: 72px; border-radius: 10px; background: var(--dark); color: #fff; text-align: center; }
.termin-date b { font-family: var(--font-display); font-weight: 700; font-size: 1.500rem; line-height: 1; }
.termin-date i { margin-top: 4px; font-style: normal; font-size: .720rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }
.termin-body strong { display: block; font-weight: 650; color: var(--ink); line-height: 1.3; }
.termin-body span { display: block; margin-top: 3px; font-size: .880rem; color: var(--ink-soft); }
.termin-ph { opacity: .55; }

/* ---------- Voranmeldung auf Unterseiten ---------- */
.cta-sub { overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.cta-copy .lead { color: var(--on-dark-soft); }
.qs-sub { grid-template-columns: 1fr; gap: 16px; padding: clamp(22px, 3vw, 32px); background: #fff; border-radius: var(--r-md); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); color: var(--ink); }
.qs-sub .qs-btn { width: 100%; min-height: 54px; }
.qs-sub .qs-note a { color: var(--ink); font-weight: 700; }

/* ---------- FAQ-Seite ---------- */
.faq-side { position: sticky; top: 150px; }
.faq-list .pv-note { margin-top: 16px; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.dtable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .940rem; }
.dtable th { padding: 14px 18px; text-align: left; background: var(--dark); color: #fff; font-weight: 650; font-size: .840rem; letter-spacing: .03em; }
.dtable td { padding: 14px 18px; border-top: 1px solid var(--line); line-height: 1.5; color: var(--ink-soft); vertical-align: top; }
.dtable td:first-child { font-weight: 650; color: var(--ink); }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.person-ph { position: relative; aspect-ratio: 1 / 1.150; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(160deg, #ececef, #dcdde1); margin-bottom: 14px; }
.person-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person-ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 2.400rem; color: #b3b5bc; }
.person .h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.060rem; line-height: 1.25; }
.person p { margin-top: 3px; font-size: .880rem; line-height: 1.45; color: var(--ink-soft); }
.person-x { color: var(--red) !important; font-weight: 600; }

/* ---------- Navigation: aktive Seite ---------- */
.drop a[aria-current="page"] { color: var(--red); font-weight: 700; }
.mobile-menu a[aria-current="page"] { color: var(--red); font-weight: 700; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-foot { margin-top: 32px; font-size: .920rem; color: var(--on-dark-soft); }
.sub .journey { padding-block: clamp(64px, 7vw, 104px); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .lcards-4, .feat-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}
@media (max-width: 900px) {
  .phero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .phero-media { order: -1; margin-inline: calc(var(--gutter) * -1); border-radius: 0; aspect-ratio: 16 / 10; box-shadow: none; }
  .phero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, #18181a); }
  .phero-media .klasse-tag { bottom: auto; top: 18px; z-index: 2; }
  .phero-img .phero-copy { padding-top: 6px; margin-top: -18px; position: relative; z-index: 2; }
  .phero-plain .phero-inner { padding-top: 34px; }
  .cols, .cols-termine, .cta-grid, .klasse { grid-template-columns: minmax(0, 1fr); }
  .cols-flip > :first-child { order: 0; }
  .klasse-media { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .klasse-flip .klasse-media { order: 0; }
  .klasse-media--badge { aspect-ratio: 16 / 6; }
  .feat-grid, .lcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teaser-inner { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .steps-3 { grid-template-columns: 1fr; }
}

/* ---------- Mobil ---------- */
@media (max-width: 600px) {
  .crumbs { margin-bottom: 14px; font-size: .780rem; }
  .phero-title { font-size: clamp(1.950rem, 8.400vw, 2.500rem); }
  .phero-lead { margin-top: 14px; font-size: 1rem; line-height: 1.6; }
  .phero .hero-ctas { display: grid; gap: 10px; margin-top: 22px; }
  .phero .hero-ctas .btn { width: 100%; }
  .phero-inner { padding-bottom: 40px; }
  .phero-facts .phero-inner { padding-bottom: 84px; }
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -52px; }
  .keyfacts li { padding: 16px 16px 15px; border-left: 0; border-top: 1px solid var(--line); }
  .keyfacts li:nth-child(even) { border-left: 1px solid var(--line); }
  .keyfacts li:nth-child(-n+2) { border-top: 0; }
  .keyfacts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .keyfacts b { font-size: 1.300rem; }
  .keyfacts span { font-size: .800rem; }
  .jump { margin-top: 20px; }
  .jump a { min-height: 44px; }
  .prose { font-size: 1rem; line-height: 1.7; }
  .prose h3 { font-size: 1.280rem; }
  .klasse { padding-block: 32px; scroll-margin-top: 124px; }
  .klasse-media { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .klasse-points { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 22px; }
  .price summary { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 14px 14px 16px; }
  .price-total { grid-column: 1; grid-row: 2; font-size: 1.550rem; }
  .price-toggle { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; }
  .price-k::after { display: none; }
  .price-body { padding: 2px 16px 18px; }
  .price-table { font-size: .900rem; }
  .feat-grid, .lcards, .feat-2, .lcards-2, .lcards-4, .feat-4 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .feat-grid li { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
  .feat-ic { width: 44px; height: 44px; }
  .lcard { padding: 20px 18px 18px; }
  .lcard-ic { width: 48px; height: 48px; margin-bottom: 14px; }
  .termin { grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 12px 12px 10px; }
  .termin-date { width: 64px; height: 64px; }
  .termin .btn { grid-column: 1 / -1; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .aside-img { margin-inline: calc(var(--gutter) * -1); border-radius: 0; aspect-ratio: 16 / 10; }
  .btn-row .btn { width: 100%; }
  .sub .steps { grid-template-columns: 1fr; }
  .cta-copy .hero-micro { display: none; }
}

/* ---------- Korrekturen nach erstem Test ---------- */
.qs-sub > * { grid-column: 1 / -1; }
.qs-sub .qs-note { display: block; margin-top: 0; line-height: 1.5; }
.qs-sub .qs-note .ico { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.phero .hero-ctas .btn-lg { padding-inline: 22px; }
.feat-4 li { grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
.keyfacts b, .keyfacts span { overflow-wrap: anywhere; }
@media (max-width: 1100px) { .feat-4 li { grid-template-columns: 48px 1fr; gap: 16px; } }
@media (max-width: 600px) { .feat-4 li { grid-template-columns: 44px 1fr; gap: 14px; } }

/* ---------- Chronik ---------- */
.chronik { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; counter-reset: c; }
.chronik li { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 4px 18px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.chronik b { grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 700; font-size: 1.650rem; line-height: 1.1; color: #fff; }
.chronik b::after { content: ""; display: block; width: 28px; height: 4px; margin-top: 8px; background: var(--red); border-radius: 2px; }
.chronik h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.060rem; color: #fff; }
.chronik p { font-size: .930rem; line-height: 1.6; color: var(--on-dark-soft); }

/* ---------- Standort ---------- */
.loc-card .h3 { font-size: 1.300rem; }
.loc-addr { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 16px !important; color: var(--ink); font-weight: 600; }
.loc-addr .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--red); }
.hours { margin-top: 18px; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .930rem; }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { color: var(--ink-soft); text-align: right; }
.loc-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px !important; font-size: .900rem !important; }
.loc-rating .stars svg { width: 16px; height: 16px; color: var(--star); fill: var(--star); }
.loc-rating b { color: var(--ink); }
.loc-actions { display: grid; gap: 10px; margin-top: 20px; }
.loc-actions .btn { margin-top: 0; }
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.chips { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-top: 8px; }
.prose ul.chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font-size: .880rem; font-weight: 600; color: var(--ink); }
.prose ul.chips li::before { display: none; }

/* ---------- Theorieplan ---------- */
.tec { padding-top: clamp(32px, 4vw, 56px); }
.tec-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 14px 16px; align-items: end; padding: 20px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); box-shadow: var(--shadow-1); }
.tec-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 6px; }
.tec-count { font-size: .940rem; color: var(--ink-soft); }
.tec-count b { color: var(--ink); }
.tec-views { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--surface); }
.tec-views span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: .840rem; font-weight: 600; color: var(--ink-soft); }
.tec-views .is-on { background: var(--ink); color: #fff; }
.tec-views .ico { width: 16px; height: 16px; }
.tec-daygroup { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.tec-day { display: flex; align-items: center; gap: 12px; align-self: start; position: sticky; top: 150px; }
.tec-day b { font-family: var(--font-display); font-weight: 700; font-size: 2.300rem; line-height: 1; color: var(--ink); }
.tec-day span { font-weight: 650; color: var(--ink); line-height: 1.25; }
.tec-day i { display: block; font-style: normal; font-size: .800rem; font-weight: 500; color: var(--ink-soft); }
.tec-list { display: grid; gap: 8px; }
.tec-ev { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); }
.tec-ev[hidden] { display: none; }
.tec-time b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.150rem; color: var(--ink); }
.tec-time i { font-style: normal; font-size: .800rem; color: var(--ink-soft); }
.tec-body strong { display: block; font-weight: 650; color: var(--ink); }
.tec-body > span { display: block; margin-top: 2px; font-size: .880rem; line-height: 1.45; color: var(--ink-soft); }
.tec-chips { display: flex !important; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.tec-chips span { padding: 2px 9px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: .720rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.tec-venue { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); background: var(--dark); color: #fff; font-size: .820rem; font-weight: 600; white-space: nowrap; }
.tec-venue .ico { width: 14px; height: 14px; color: var(--red); }
.tec-empty { padding: 28px; border-radius: var(--r-md); background: var(--surface); text-align: center; color: var(--ink-soft); }

/* ---------- Voranmeldung (Seite) ---------- */
.fso-grid { display: grid; grid-template-columns: minmax(0, .800fr) minmax(0, 1.200fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.fso-next { display: grid; gap: 18px; margin: 28px 0 32px; }
.fso-next li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; color: var(--on-dark); line-height: 1.55; }
.fso-next b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); }
.fso-sub { margin: 22px 0 10px; font-weight: 650; color: var(--ink); }
.fso-prefill { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 10px 14px; border-radius: var(--r-sm); background: #eaf5ec; color: #1f6b2a; font-size: .880rem; font-weight: 600; }
.fso-prefill .ico { width: 18px; height: 18px; }
.opt-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
#fso-form select, .contact-form select, .contact-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.500px solid #c9cbd1; border-radius: var(--r-sm); background: #fff; font: inherit; color: var(--ink); }
.contact-form textarea { resize: vertical; }

/* ---------- Kontakt ---------- */
.contact-cols { grid-template-columns: minmax(0, .900fr) minmax(0, 1.100fr); }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.contact-card:hover { border-color: var(--red); box-shadow: var(--shadow-1); }
.contact-card b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.150rem; overflow-wrap: break-word; }
.contact-card i { display: block; margin-top: 2px; font-style: normal; font-size: .860rem; color: var(--ink-soft); }
.contact-h { margin: 36px 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.300rem; color: var(--ink); }
.contact-locs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-locs a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.contact-locs b { font-weight: 650; }
.contact-locs span { grid-column: 1; font-size: .880rem; color: var(--ink-soft); }
.contact-locs i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: .820rem; color: var(--ink-soft); text-align: right; }
.contact-locs a:hover b { color: var(--red); }
.contact-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-md); background: var(--surface); }
.contact-form .h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.450rem; color: var(--ink); }
.contact-form .field input { background: #fff; }

/* ---------- Blog ---------- */
.bcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bcard { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast); }
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.bcard-media { display: block; aspect-ratio: 16 / 10; background: var(--dark); overflow: hidden; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; }
.bcard-ph { display: grid; place-items: center; width: 100%; height: 100%; background: #1d1d1f url("../assets/img/asphalt.webp") center/cover no-repeat; }
.bcard-ph .logo { width: 130px; height: auto; opacity: .9; }
.bcard-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px 22px 20px; }
.bcard time, .side-posts time { font-size: .780rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.bcard-title { font-family: var(--font-display); font-weight: 600; font-size: 1.120rem; line-height: 1.35; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article { max-width: 760px; }
.article-img { margin: 0 0 32px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-side { position: sticky; top: 150px; }
.side-posts { display: grid; gap: 0; margin: 10px 0 20px; }
.side-posts a { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .930rem; line-height: 1.4; }
.side-posts a:hover { color: var(--red); }
.page-article .phero-title { font-size: clamp(1.700rem, 1.150rem + 2.200vw, 2.900rem); max-width: 22ch; }
.landing .jump { display: none; }

@media (max-width: 900px) {
  .chronik, .loc-grid, .fso-grid, .contact-cols, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .tec-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tec-daygroup { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tec-day { position: static; }
  .bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-side { position: static; }
}
@media (max-width: 600px) {
  .chronik li { grid-template-columns: 68px 1fr; gap: 2px 14px; padding: 14px 0; }
  .chronik b { font-size: 1.350rem; }
  .tec-bar { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 12px; }
  .tec-views span:not(.is-on) { display: none; }
  .tec-ev { grid-template-columns: 62px 1fr; gap: 12px; padding: 12px 14px; }
  .tec-venue { grid-column: 2; justify-self: start; }
  .tec-day b { font-size: 1.900rem; }
  .bcards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .contact-locs i { grid-column: 1; grid-row: auto; text-align: left; }
  .contact-locs a { grid-template-columns: 1fr; }
  .article-img { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .hours div { font-size: .900rem; }
}

/* ---------- Freigestellte Motive (Fahrzeuge, Personen) ---------- */
.media-cut-l { background: #e6e7ea !important; }
.media-cut-d { background: #1c1c1e !important; }
.media-cut-l img, .media-cut-d img { object-fit: contain !important; }
.phero-media.media-cut-d { box-shadow: none; outline: 1px solid rgba(255,255,255,.08); }
.phero-media.media-cut-d::after, .phero-media.media-cut-l::after { display: none; }
@media (max-width: 900px) { .phero-media.media-cut-d { outline: 0; } .phero-media.media-cut-l, .phero-media.media-cut-d { aspect-ratio: 16 / 11; } }
@media (max-width: 900px) {
  .phero-inner:has(.media-cut-d) .phero-copy, .phero-inner:has(.media-cut-l) .phero-copy { margin-top: 0; padding-top: 20px; }
}

/* ==========================================================================
   SYSTEM v6 – ein durchgängiges Gestaltungssystem für alle Unterseiten
   1 Kopf: Foto randlos mit Verlauf ODER Freisteller frei auf Dunkel. Kein Kasten.
   2 Hinterlegungen: Klassenkürzel als große Schrift hinter dem Fahrzeug, rote Marke im Titel.
   3 Kapitel: nummeriert, als Leiste (mobil) bzw. mitlaufende Schiene links (Desktop).
   ========================================================================== */

/* ---------- 1 Kopf ---------- */
.phero { display: flex; align-items: stretch; min-height: clamp(440px, 40vw, 580px); }
.phero > .container { width: 100%; }
.phero-inner { align-items: center; }
.phero-plain { min-height: 0; }
.phero-photo::after { display: none; }
.phero-photo .phero-inner, .phero-cut .phero-inner { grid-template-columns: minmax(0, 1.080fr) minmax(0, .920fr); }
.phero-bg { position: absolute; top: 0; bottom: 0; right: 0; width: min(66%, 1120px); z-index: -1; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.phero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #18181a 0%, rgba(24,24,26,.9) 13%, rgba(24,24,26,.48) 44%, rgba(24,24,26,.14) 100%), linear-gradient(0deg, rgba(24,24,26,.62) 0%, rgba(24,24,26,0) 40%); }
.phero-cut::after { background: linear-gradient(100deg, #18181a 36%, rgba(24,24,26,.5) 100%); }
.phero-cutout { position: relative; z-index: 0; display: grid; place-items: center; align-self: center; padding-block: 10px; }
.phero-cutout::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 56%; width: 124%; aspect-ratio: 1.550; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,255,255,.210), rgba(255,255,255,.070) 56%, rgba(255,255,255,0) 100%); pointer-events: none; }
.phero-cutout img { position: relative; width: auto; max-width: 100%; max-height: clamp(250px, 29vw, 410px); filter: drop-shadow(0 26px 26px rgba(0,0,0,.5)); }
.ghost { font-family: var(--font-display); font-weight: 800; line-height: .8; letter-spacing: -.045em; white-space: nowrap; pointer-events: none; user-select: none; }
.phero .ghost { position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -58%); font-size: clamp(8rem, 21vw, 19rem); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.110); }

/* ---------- 2 Hinterlegungen ---------- */
.hl { display: inline-block; padding: .050em .200em .090em; background: var(--red); color: #fff; border-radius: .140em; line-height: 1; }
.section-dark .hl, .section-signup .hl { box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.ktitle { display: flex; flex-wrap: wrap; align-items: center; gap: .280em; }
.pill b { font-family: var(--font-display); font-weight: 700; font-size: .820rem; letter-spacing: .040em; color: var(--red); }
.pill-dark b { color: #ff7a82; }
.kmedia { position: sticky; top: 150px; z-index: 0; display: grid; place-items: center; min-height: 290px; }
.kmedia .ghost { position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -62%); font-size: clamp(6.500rem, 14vw, 13rem); color: #edeff2; }
.kmedia.is-cut img { position: relative; width: auto; max-width: 100%; max-height: 340px; }
.kmedia.is-photo { min-height: 0; }
.kmedia.is-photo img { width: 100%; aspect-ratio: 4 / 3.200; object-fit: cover; border-radius: var(--r-lg); }
.kmedia.is-ghost { min-height: 210px; }
.kmedia.is-ghost .ghost { position: relative; left: auto; top: auto; transform: none; font-size: clamp(4.500rem, 10vw, 8.500rem); color: var(--ink); }
.kmedia.is-ghost .ghost::after { content: ""; display: block; height: 10px; margin-top: 16px; background: var(--red); border-radius: 3px; }
.klasse-flip .kmedia { order: 2; }
.aside-img.is-cut { background: none; border-radius: 0; aspect-ratio: auto; overflow: visible; }
.aside-img.is-cut img { height: auto; object-fit: contain; }
.aside-img.is-cut figcaption { position: static; display: inline-block; margin-top: 14px; border-radius: var(--r-sm); }
.termin-date { box-shadow: inset 0 4px 0 var(--red); }
.termin-date b { font-size: 1.700rem; }

/* ---------- 3 Kapitel: Leiste (Standard, bis 1359 px) ---------- */
.chap { position: sticky; top: var(--chap-top, 64px); z-index: 30; margin-top: 26px; background: rgba(255,255,255,.960); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.phero + .chap { margin-top: 0; }
.chap ol { display: flex; gap: 4px; overflow-x: auto; padding: 8px var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chap ol::-webkit-scrollbar { display: none; }
.chap li { flex: none; }
.chap a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); font-size: .860rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; text-decoration: none; transition: background-color var(--t-fast), color var(--t-fast); }
.chap a b { font-family: var(--font-display); font-weight: 700; font-size: .740rem; letter-spacing: .040em; color: var(--red); }
.chap a:hover { color: var(--ink); background: var(--surface); }
.chap a.is-current { background: var(--ink); color: #fff; }
.chap a.is-current b { color: #ff8a90; }
.chap-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.chap-bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--red); transition: width .12s linear; }

/* ---------- 3 Kapitel: mitlaufende Schiene links (ab 1360 px) ---------- */
@media (min-width: 1360px) {
  .chap { position: fixed; top: 50%; left: 14px; z-index: 40; width: 44px; margin: 0; padding: 12px 0; transform: translateY(-50%); background: #fff; border: 0; border-radius: var(--r-pill); box-shadow: 0 12px 30px -12px rgba(20,20,24,.4), 0 0 0 1px rgba(20,20,24,.07); backdrop-filter: none; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out); }
  .chap.is-on { opacity: 1; pointer-events: auto; }
  .chap ol { position: relative; flex-direction: column; gap: 0; padding: 0; overflow: visible; }
  .chap ol::before { content: ""; position: absolute; left: 50%; top: 15px; bottom: 15px; width: 2px; margin-left: -1px; background: var(--line); }
  .chap-bar { left: 50%; right: auto; top: 27px; bottom: auto; width: 2px; height: calc(100% - 54px); margin-left: -1px; }
  .chap-bar i { width: 100%; height: var(--q, 0%); transition: height .15s linear; }
  .chap li { position: relative; z-index: 1; display: grid; place-items: center; height: 30px; }
  .chap a { position: relative; justify-content: center; width: 12px; height: 12px; min-height: 0; padding: 0; border: 2px solid #c3c5cc; border-radius: 50%; background: #fff; transition: width var(--t-fast), height var(--t-fast), background-color var(--t-fast), border-color var(--t-fast); }
  .chap a::after { content: ""; position: absolute; inset: -10px -16px; }
  .chap a:hover { background: #fff; border-color: var(--ink); }
  .chap a b { display: none; font-size: .660rem; letter-spacing: 0; color: #fff; }
  .chap a.is-done { background: var(--red); border-color: var(--red); }
  .chap a.is-current { width: 28px; height: 28px; background: var(--red); border-color: var(--red); }
  .chap a.is-current b { display: block; color: #fff; }
  .chap a span { position: absolute; left: calc(100% + 18px); top: 50%; transform: translateY(-50%); padding: 7px 12px; border-radius: 6px; background: var(--ink); color: #fff; font-size: .800rem; font-weight: 600; line-height: 1; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--t-fast); box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
  .chap a.is-current span { left: calc(100% + 10px); }
  .chap:hover a span, .chap a:focus-visible span { opacity: 1; }
  .chap:hover a.is-current span { background: var(--red); }
}

/* ---------- Standorte: Karte + Detailkarte auf hellem Grund ---------- */
.locx-grid { display: grid; grid-template-columns: minmax(0, 1.120fr) minmax(0, .880fr); gap: 28px; align-items: start; }
.locx .map { box-shadow: 0 30px 60px -34px rgba(20,20,24,.55); }
.locx-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.locx-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; padding: 6px 4px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font: inherit; font-size: .860rem; font-weight: 650; color: var(--ink); cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.locx-tab b { font-family: var(--font-display); font-size: .720rem; color: var(--red); }
.locx-tab:hover { border-color: var(--ink); }
.locx-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.locx-tab.is-active b { color: #ff8a90; }
.locx-pane[hidden] { display: none; }
.locx-pane .infocard { border-color: transparent; border-top-color: var(--red); }
.locx-pane .reveal { opacity: 1; transform: none; }

/* ---------- Foto-Karten (Stellen, Simulator-Standorte) ---------- */
.bcards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bcards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard .bcard-media { aspect-ratio: 4 / 3; }
.pcard .bcard-title { font-size: 1.120rem; }
.bcards-4 .bcard-body { padding: 18px 18px 18px; }

@media (max-width: 1100px) { .bcards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .phero { display: block; min-height: 0; }
  .phero-photo .phero-inner, .phero-cut .phero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .phero-bg { position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .phero-bg::after { background: linear-gradient(180deg, rgba(24,24,26,0) 42%, #18181a 100%); }
  .phero-photo .phero-copy { position: relative; margin-top: -26px; }
  .phero-cutout { order: -1; padding: 30px 0 10px; }
  .phero-cutout img { max-height: 230px; }
  .phero-cut .phero-copy { padding-top: 6px; }
  .phero .ghost { font-size: clamp(7rem, 46vw, 12rem); }
  .kmedia { position: relative; top: 0; min-height: 0; padding-block: 18px 6px; }
  .klasse-flip .kmedia { order: 0; }
  .kmedia.is-cut img { max-height: 230px; }
  .kmedia .ghost { font-size: clamp(6rem, 38vw, 11rem); }
  .kmedia.is-ghost { min-height: 0; justify-items: start; padding-block: 0; }
  .kmedia.is-ghost .ghost { font-size: clamp(4rem, 22vw, 6.500rem); }
  .locx-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .chap { margin-top: 18px; }
  .chap a { padding: 0 12px; }
  .kmedia.is-photo img { border-radius: var(--r-md); }
  .aside-img.is-cut { margin-inline: 0; aspect-ratio: auto; }
  .locx-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcards-2, .bcards-4 { grid-template-columns: minmax(0, 1fr); }
  .pcard { flex-direction: row; }
  .pcard .bcard-media { flex: none; width: 112px; aspect-ratio: auto; }
  .pcard .bcard-body { padding: 14px 16px; gap: 6px; }
  .pcard .lcard-x { display: none; }
}

/* Feinschliff v6: Kürzel ragt über dem Fahrzeug heraus */
.kmedia { place-items: end center; min-height: 330px; }
.kmedia .ghost { top: 0; transform: translate(-50%, 0); font-size: clamp(7rem, 15vw, 14rem); color: #e9ebef; }
.kmedia.is-cut img { margin-top: clamp(64px, 7vw, 104px); }
.kmedia.is-ghost { place-items: center; }
.phero .ghost { top: 0; transform: translate(-50%, -4%); }
.phero-cutout { place-items: end center; }
.phero-cutout img { margin-top: clamp(40px, 5vw, 80px); }
@media (max-width: 900px) {
  .kmedia { min-height: 0; }
  .kmedia.is-cut img { margin-top: 54px; }
  .kmedia.is-ghost { place-items: center start; }
  .phero-cutout img { margin-top: 44px; }
}
.phero-title { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 600px) { .phero-title { font-size: clamp(1.800rem, 7.500vw, 2.400rem); } }

/* ==========================================================================
   SYSTEM v7 – Feedback 12.11. (2)
   Kopf: keine Schrift im Hintergrund, Fotos laufen per Transparenz aus.
   Typografie: keine automatische Silbentrennung, ausgeglichene Zeilen, Zusammengehöriges bleibt zusammen.
   Klassen: Kurzfakten + Aufklapper. Keine roten Hinterlegungen mehr.
   ========================================================================== */

/* ---------- Kopf ---------- */
.phero-bg::after { display: none; }
.phero-bg { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 30%, #000 70%), linear-gradient(0deg, rgba(0,0,0,0) 0%, #000 36%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 30%, #000 70%), linear-gradient(0deg, rgba(0,0,0,0) 0%, #000 36%); mask-composite: intersect; }
.phero-bg img { filter: brightness(.86); }
.phero-cutout.is-cropped img { -webkit-mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,0) 100%); filter: none; }
.phero-cutout img { margin-top: 0; }
.phero-cutout { place-items: center; }

/* ---------- Typografie ---------- */
.sub h1, .sub h2, .sub h3, .sub h4, .sub summary, .lcard-title, .bcard-title, .job-title { text-wrap: balance; hyphens: none; }
.sub p, .sub li, .sub dd, .sub figcaption { text-wrap: pretty; hyphens: none; }
.phero-title { hyphens: none; overflow-wrap: normal; font-size: clamp(2.100rem, 1.250rem + 2.900vw, 3.500rem); }
.keyfacts b, .keyfacts span { overflow-wrap: normal; }
.sub .journey-head { display: block; max-width: none; }
.faq-side .h2 { font-size: clamp(1.700rem, 1.250rem + 1.500vw, 2.400rem); }
.ktitle { display: block; }
.kcode { color: var(--red); }

/* ---------- Klassen: Kurzfakten und Aufklapper ---------- */
.kchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.kchips li { padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface); font-size: .860rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.acc { margin-top: 24px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary, .job summary { cursor: pointer; list-style: none; }
.acc-item summary::-webkit-details-marker, .job summary::-webkit-details-marker { display: none; }
.acc-item summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; min-height: 58px; padding: 10px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.060rem; line-height: 1.3; color: var(--ink); }
.acc-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--ink); transition: transform var(--t-fast), background-color var(--t-fast), color var(--t-fast); }
.acc-ic .ico { width: 16px; height: 16px; }
.acc-item summary:hover .acc-ic, .job summary:hover .acc-ic { background: var(--ink); color: #fff; }
.acc-item[open] .acc-ic, .job[open] .acc-ic { transform: rotate(45deg); background: var(--red); color: #fff; }
.acc-body { padding: 0 48px 22px 0; font-size: .980rem; line-height: 1.7; color: var(--ink-soft); }
.acc-body p + p, .acc-body ul + p, .acc-body p + ul { margin-top: 10px; }
.acc-body ul, .job-col ul { display: grid; gap: 8px; }
.acc-body li, .job-col li { position: relative; padding-left: 20px; }
.acc-body li::before, .job-col li::before { content: ""; position: absolute; left: 2px; top: .620em; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.acc-body strong { color: var(--ink); font-weight: 650; }
.acc + .price { margin-top: 20px; }

/* ---------- Stellen ---------- */
.jobs { display: grid; gap: 14px; }
.job { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.job summary { display: grid; grid-template-columns: 136px 1fr auto; gap: 22px; align-items: center; padding: 14px 20px 14px 14px; }
.job-media { width: 136px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface); }
.job-media img { width: 100%; height: 100%; object-fit: cover; }
.job-head { display: grid; gap: 4px; }
.job-title { font-family: var(--font-display); font-weight: 600; font-size: 1.300rem; line-height: 1.25; color: var(--ink); }
.job-teaser { font-size: .940rem; line-height: 1.55; color: var(--ink-soft); }
.job-body { padding: 4px 24px 26px; border-top: 1px solid var(--line); }
.job-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 20px; }
.job-col h3, .job-col h4 { display: inline-block; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--red); font-family: var(--font-display); font-weight: 600; font-size: 1.060rem; color: var(--ink); }
.job-col ul, .job-col p { font-size: .950rem; line-height: 1.6; color: var(--ink-soft); }
.job-col p + p { margin-top: 10px; }

@media (max-width: 900px) {
  .phero-bg { -webkit-mask-image: linear-gradient(180deg, #000 50%, rgba(0,0,0,0) 100%); -webkit-mask-composite: source-over; mask-image: linear-gradient(180deg, #000 50%, rgba(0,0,0,0) 100%); mask-composite: add; }
  .phero-cutout img { margin-top: 0; }
  .job-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 600px) {
  .phero-title { font-size: clamp(1.700rem, 7.300vw, 2.300rem); }
  .sub .h2 { font-size: clamp(1.550rem, 6.400vw, 1.950rem); }
  .acc-body { padding-right: 8px; }
  .job summary { grid-template-columns: 76px 1fr auto; gap: 14px; padding: 12px 14px 12px 12px; }
  .job-media { width: 76px; aspect-ratio: 1; }
  .job-title { font-size: 1.080rem; }
  .job-teaser { display: none; }
  .job-body { padding: 0 16px 20px; }
}
.klasse-copy > ul.kchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; line-height: 1.2; }
.klasse-copy > ul.kchips li { padding: 8px 14px; }
.klasse-copy > ul.kchips li::before { display: none; }

/* Titelgrößen: einheitlich, lange Wörter passen ohne Trennung in die Spalte */
.phero-title { font-size: clamp(1.900rem, 1.050rem + 2.300vw, 3rem); }
.phero-title.t-long { font-size: clamp(1.750rem, .950rem + 2.100vw, 2.750rem); }
.page-article .phero-copy { max-width: 920px; }
.page-article .phero-title, .page-article .phero-title.t-long { font-size: clamp(1.450rem, 1.050rem + 1.500vw, 2.250rem); max-width: none; line-height: 1.18; }
@media (max-width: 600px) {
  .phero-title { font-size: clamp(1.700rem, 7.300vw, 2.300rem); }
  .phero-title.t-long { font-size: clamp(1.550rem, 6.700vw, 2.100rem); }
  .page-article .phero-title, .page-article .phero-title.t-long { font-size: 1.400rem; }
}

/* Trennung nur an gesetzten Wortfugen (weiches Trennzeichen), nie automatisch */
.sub h1, .sub h2, .sub h3, .sub h4, .sub summary, .sub p, .sub li, .sub dd, .sub figcaption, .lcard-title, .bcard-title, .job-title, .phero-title { hyphens: manual; }
/* Überschriften in zweispaltigen Abschnitten etwas kleiner, damit lange Wörter passen */
.cols .h2, .cols-termine .h2, .faq-side .h2, .cta-grid .h2, .fso-grid .h2, .klasse-copy .h2 { font-size: clamp(1.650rem, 1.200rem + 1.500vw, 2.450rem); }
@media (max-width: 900px) {
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keyfacts li { border-left: 0; border-top: 1px solid var(--line); }
  .keyfacts li:nth-child(even) { border-left: 1px solid var(--line); }
  .keyfacts li:nth-child(-n+2) { border-top: 0; }
  .keyfacts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.aside-img.is-cropped img { -webkit-mask-image: linear-gradient(180deg, #000 68%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, #000 68%, rgba(0,0,0,0) 100%); }

/* ---------- Seitenübersicht ---------- */
.smap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.smap-group .h3 { padding-bottom: 12px; border-bottom: 2px solid var(--red); font-size: 1.300rem; }
.smap-group ul { display: grid; }
.smap-group a { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.smap-group a b { font-weight: 650; }
.smap-group a span { font-size: .780rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.smap-group a:hover b { color: var(--red); }
@media (max-width: 900px) { .smap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; } }
@media (max-width: 600px) { .smap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Barrierefreiheit ---------- */
/* Kennzeile auf dunklen Karten: Rot auf Dunkel war zu kontrastarm (2,6:1), jetzt 5,9:1 */
.infocard-dark .infocard-k, .section-dark .infocard-k { color: #ff7a82; }
/* Schmuck-Kürzel hinter den Fahrzeugen: als Schmuck gesetzt, nicht als Text */
.ghost::before { content: attr(data-g); }
.table-wrap:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
