/* Führerscheinakademie – site.css
   Erscheinungsbild der App: "Nachtfahrt". Dunkle Asphaltflächen zuerst, ein einziger Akzent:
   Signal-Limette. Vorbild ist ein Kombiinstrument.
   - Limette ist Fläche und Markierung: Schaltflächen, Tacho-Bogen, Leitlinien, aktive Zustände.
     Schrift auf Limette ist immer Tinte (#0A0C10), nie Weiß.
   - Akzent als Schrift oder Icon ist ebenfalls Limette. Es gibt nur das dunkle Erscheinungsbild.
   - Karten mit 1px-Haarlinie, ohne Schlagschatten. Icons einfarbig, ohne Fläche dahinter.
   - Grün und Rot nur für richtig und falsch.
   Keine externen Schriften, keine data:-URLs, keine Inline-Styles (passt zur CSP in deploy/nginx.conf). */

/* ---------- Tokens ---------- */
/* Wie die App gibt es nur das dunkle Erscheinungsbild, unabhängig von der Systemeinstellung. */
:root {
  color-scheme: dark;

  --bg: #060709;
  --card: #111317;
  --fill: #1C1F25;
  --hairline: #24282F;
  --ink: #F4F5F7;
  --muted: #9AA1AD;
  --tertiary: #5A616D;

  --accent: #D8FF3E;        /* Signal-Limette als Fläche */
  --on-accent: #0A0C10;     /* Schrift auf Limette */
  --accent-ink: #D8FF3E;    /* Akzent als Schrift und Icon */
  --accent-soft: #222A0A;
  --marker: transparent;
  --focus: #D8FF3E;

  --right: #1FD08A;
  --right-soft: #0D2A1F;
  --wrong: #FF5D5D;
  --wrong-soft: #351416;
  --on-signal: #0A0C10;     /* Schrift auf sattem Grün oder Rot */

  --night-a: #1C2029;       /* Nachtfläche: Verlauf von oben nach unten */
  --night-b: #0B0D11;
  --night-edge: rgba(255, 255, 255, .08);

  --r-card: 20px;
  --r-hero: 24px;
  --r-row: 16px;
  --r-btn: 14px;

  --gutter: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 760px) {
  :root { --gutter: 40px; }
}

/* Nachtflächen: Karten und Füllungen liegen als helle Schleier auf dem Verlauf. */
.night, .site-header, .site-footer, .dlbar {
  --card: rgba(255, 255, 255, .045);
  --fill: rgba(255, 255, 255, .09);
  --hairline: rgba(255, 255, 255, .08);
  --ink: #F4F5F7;
  --muted: #9AA1AD;
  --tertiary: #5A616D;
  --accent-ink: #D8FF3E;
  --accent-soft: #222A0A;
  --marker: transparent;
  --focus: #D8FF3E;
  --right: #1FD08A;
  --right-soft: #0D2A1F;
  --wrong: #FF5D5D;
  --wrong-soft: #351416;
  color: var(--ink);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

::selection { background: #D8FF3E; color: #0A0C10; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 12px;
  background: #D8FF3E; color: #0A0C10; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

/* ---------- Typografie ---------- */
.display {
  font-weight: 700;
  font-stretch: 125%;
  font-width: 125%;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.h1 { font-size: clamp(2.375rem, 1rem + 4.4vw, 4.5rem); }
.h1--page { font-size: clamp(2.125rem, 1.2rem + 3vw, 3.5rem); }
.h2 { font-size: clamp(1.75rem, 1.15rem + 2.3vw, 2.75rem); line-height: 1.08; }
.h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }

/* Vorzeile: ein Leitlinien-Strich in Limette als Marker, Schrift in der Akzent-Schriftfarbe */
.eyebrow {
  display: flex; align-items: center; gap: .65rem;
  font-size: 1rem; font-weight: 600;
  color: var(--accent-ink);
  margin-bottom: .7rem;
}
.eyebrow::before {
  content: ""; flex: none; width: 22px; height: 4px; border-radius: 2px; background: var(--accent);
}

.lead {
  font-size: clamp(1.125rem, 1rem + .55vw, 1.3125rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
}

.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* Hervorgehobener Link: auf Hell Tinte mit Limetten-Marker, auf Dunkel Limette */
.mark-link {
  color: var(--accent-ink); font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--marker), var(--marker)) 0 88% / 100% .42em no-repeat;
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--flush-top { padding-top: 0; }

.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.sec-head .lead { margin-top: 1rem; }

/* Leitlinie als Trenner zwischen Abschnitten */
.lane {
  height: 4px; border-radius: 2px;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  background: repeating-linear-gradient(to right, var(--accent) 0 40px, transparent 40px 68px);
}

/* Nachtflächen: Verlauf mit feiner heller Kante. Abschnitte bekommen die Kante oben und unten,
   Karten ringsum über ihren Rahmen. */
.night { background: linear-gradient(180deg, var(--night-a), var(--night-b)); }
section.night { border-block: 1px solid var(--night-edge); }
.night h2 + .lead, .night h1 + .lead { margin-top: 1rem; }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px; padding: 0 1.5rem;
  border: 0; border-radius: var(--r-btn);
  font-size: 1.0625rem; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .28s var(--spring), opacity .2s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--soft { background: var(--accent-soft); color: var(--accent-ink); }
.btn--sm { min-height: 42px; padding: 0 1.05rem; border-radius: 12px; font-size: .9375rem; }
.btn--block { display: flex; width: 100%; }
.btn:active { transform: scale(.975); opacity: .86; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
}

/* Schalter data-release auf <html>: soon oder live */
[data-release="soon"] .when-live,
[data-release="live"] .when-soon { display: none; }

.quiet { font-size: .9375rem; color: var(--muted); }

/* ---------- Karten und Icons ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: clamp(1.375rem, 2.6vw, 2rem);
}
.card.night { background: linear-gradient(180deg, var(--night-a), var(--night-b)); border-color: var(--night-edge); }

.lift { transition: transform .45s var(--spring), border-color .25s ease; }
@media (hover: hover) {
  .lift:hover { transform: translateY(-4px); border-color: var(--tertiary); }
}

/* Icons: Die Zeichnung steht einmal je Seite in einer Symboltafel, jedes Icon verweist darauf. */
.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Linien-Icon, einfarbig, ohne Fläche dahinter */
.ico { display: block; flex: none; width: 28px; height: 28px; color: var(--accent-ink); }
.ico svg { width: 100%; height: 100%; }

.chip {
  display: inline-block;
  padding: 5px 10px; border-radius: 8px;
  background: var(--accent); color: var(--on-accent);
  font-size: .8125rem; font-weight: 700; line-height: 1.2;
}

.ticks { display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.ticks svg { width: 22px; height: 22px; color: var(--accent-ink); margin-top: .12em; }

/* ---------- Tacho-Bogen ---------- */
.gauge { fill: none; stroke-linecap: round; }
.gauge__track { stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.gauge__value { stroke: var(--accent); stroke-width: 10; }
.gauge__ticks { stroke: rgba(255, 255, 255, .24); stroke-width: 2.5; }

/* ---------- Kopf ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--night-b);
  border-bottom: 1px solid var(--night-edge);
}

.site-header__in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  margin-right: auto;
  color: inherit; text-decoration: none;
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }

.nav { display: none; }
.nav__link {
  display: block; padding: .55rem .8rem; border-radius: 10px;
  color: var(--muted); text-decoration: none; font-size: .9375rem; font-weight: 500;
  transition: color .15s ease;
}
.nav__link:hover { color: #fff; }

.header-cta { display: none; flex: none; white-space: nowrap; }

.menu-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-right: -8px; border-radius: 12px;
  color: #fff;
}
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.nav.is-open {
  display: grid; gap: 2px;
  position: absolute; top: 100%; left: 12px; right: 12px;
  padding: 10px; border-radius: var(--r-card);
  background: #14171D;
  border: 1px solid var(--night-edge);
}
.nav.is-open .nav__link { padding: .8rem .9rem; font-size: 1.0625rem; color: #fff; }

.nav__link[aria-current="page"] { color: #fff; }

/* Ab Tablet steht der Laden-Knopf im Kopf, die Leiste unten entfällt. */
@media (min-width: 760px) {
  .header-cta { display: inline-flex; }
}

@media (min-width: 1140px) {
  .site-header__in { min-height: 72px; }
  .nav, .nav.is-open {
    display: flex; gap: .1rem; position: static;
    padding: 0; background: none; border: 0; border-radius: 0;
  }
  .nav.is-open .nav__link { padding: .55rem .6rem; font-size: .9375rem; color: var(--muted); }
  .nav__link { padding: .55rem .6rem; white-space: nowrap; }
  .nav__more, .nav__menu { display: none; }
  .header-cta { margin-left: .5rem; }
  .menu-btn { display: none; }
}
@media (min-width: 1360px) {
  .nav__more { display: block; }
}

/* ---------- Bühne der Startseite ---------- */
.hero { padding-top: clamp(1.75rem, 4.5vw, 3.5rem); overflow: hidden; }
section.hero.night, section.page-hero.night { border-top: 0; }

.hero__title { max-width: 17.5em; }
.hero__title span { display: block; }
.hero__title span + span { color: var(--muted); }

.hero__grid {
  display: grid; gap: 2.5rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__copy .lead { font-size: clamp(1.1875rem, 1rem + .9vw, 1.4375rem); line-height: 1.45; max-width: 37rem; }
.hero__actions { display: grid; gap: .75rem; margin-top: 1.75rem; }
.hero__actions + .quiet { margin-top: .9rem; }

/* Telefon im Tacho-Bogen. Die Fläche wird unten beschnitten. */
.hero__visual {
  position: relative; overflow: hidden;
  width: min(100%, 540px); margin-inline: auto;
  aspect-ratio: 540 / 500;
  padding-top: 19.3%;
  display: grid; justify-items: center; align-items: start;
}
.hero__visual .gauge { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; overflow: visible; }
.hero__visual .gauge__value {
  stroke-dasharray: 68 100; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 10px rgba(216, 255, 62, .5));
  animation: gauge-sweep 1.5s var(--ease) .15s both;
}
@keyframes gauge-sweep {
  from { stroke-dashoffset: 68; }
  to { stroke-dashoffset: 0; }
}
.hero__visual .phone { --pw: 196px; }
@media (min-width: 480px) { .hero__visual .phone { --pw: 250px; } }
@media (min-width: 900px) { .hero__visual .phone { --pw: 280px; } }
@supports (width: 1cqw) {
  .hero__visual { container-type: inline-size; }
  .hero__visual .phone { --pw: 53.7cqw; }
}

/* Telefonrahmen in CSS. --pw ist die Breite des Geräts. */
.phone {
  --pw: 250px;
  position: relative; z-index: 1; flex: none;
  width: var(--pw);
  padding: calc(var(--pw) * .034);
  border-radius: calc(var(--pw) * .17);
  background: #0B0D11;
  box-shadow: inset 0 0 0 1.5px #3A404B, 0 14px 30px rgba(10, 12, 16, .16);
}
.phone img {
  width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover;
  border-radius: calc(var(--pw) * .137);
  background: #1C1F25;
}
.phone::after {
  content: ""; position: absolute; left: 50%; top: calc(var(--pw) * .062);
  width: calc(var(--pw) * .29); height: calc(var(--pw) * .082);
  border-radius: 99px; background: #000;
  transform: translateX(-50%);
}
.night .phone { background: #14171D; box-shadow: inset 0 0 0 1.5px #4A5160, 0 24px 60px rgba(0, 0, 0, .5); }

/* Instrumentenband: große Zahlen, durch Haarlinien getrennt */
.band { border-top: 1px solid var(--hairline); margin-top: clamp(2rem, 4vw, 3rem); }
.band__item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 16px 0;
}
.band__item + .band__item { border-top: 1px solid var(--hairline); }
.band dt { order: 2; color: var(--muted); font-size: .9375rem; text-align: right; }
.band dd { font-size: 2rem; line-height: 1; }
.band small {
  margin-right: .45em;
  font-size: .9375rem; font-weight: 500; font-stretch: 100%; font-width: 100%; letter-spacing: 0;
  color: var(--muted);
}
.hero .band, .page-hero .band { margin-top: 0; }
.band-note { padding: 0 0 1.5rem; font-size: .875rem; color: var(--muted); max-width: 75ch; }

@media (min-width: 480px) {
  .hero__actions { grid-template-columns: repeat(2, max-content); }
}

@media (min-width: 620px) {
  .band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band__item {
    display: grid; gap: .5rem; align-content: start; justify-content: start;
    padding: clamp(1.5rem, 3vw, 2.25rem) 1rem clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem);
    border-left: 1px solid var(--hairline);
  }
  .band__item + .band__item { border-top: 0; }
  .band__item:first-child { padding-left: 0; border-left: 0; }
  .band--four .band__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .band--four .band__item:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
  .band dt { text-align: left; font-size: 1rem; }
  .band dd { font-size: clamp(2.25rem, 1rem + 4.2vw, 4.25rem); }
  .band small { font-size: 1rem; }
  .band--four dd { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .hero__copy { padding-top: .5rem; }
  .band--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .band--four .band__item:nth-child(odd) { padding-left: clamp(1.25rem, 3vw, 2.25rem); border-left: 1px solid var(--hairline); }
  .band--four .band__item:first-child { padding-left: 0; border-left: 0; }
  .band--four .band__item:nth-child(n + 3) { border-top: 0; }
}
/* Breit: Der Bogen rückt neben die zweite und dritte Zeile der Überschrift. */
@media (min-width: 1200px) {
  .hero__visual { margin-top: -150px; }
}

/* ---------- Funktionen (Bento) ---------- */
.bento { display: grid; gap: 16px; }

.feat { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.feat__body { padding: clamp(1.375rem, 2.6vw, 2rem); display: grid; gap: .75rem; align-content: start; }
.feat__body .ico { margin-bottom: .5rem; }
.feat__body p { color: var(--muted); max-width: 46ch; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .35rem; }
.tags li {
  padding: 6px 12px; border-radius: 8px;
  background: var(--fill); font-size: .875rem; font-weight: 600;
}

.feat__photo { margin-top: auto; position: relative; }
.feat__photo img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feat__photo figcaption, .split figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 5px 10px; border-radius: 8px;
  background: rgba(11, 13, 17, .82); color: #fff;
  font-size: .8125rem; font-weight: 600;
}

.feat__phone {
  margin-top: auto; height: 300px; overflow: hidden;
  display: grid; justify-items: center; padding-top: 8px;
}
.feat__phone .phone { --pw: 224px; }

.bignum { font-size: clamp(2.75rem, 2rem + 3vw, 4rem); line-height: 1; }
.feat__body .bignum { color: var(--ink); margin-block: .1rem .2rem; }

.feat--sim .feat__photo img { aspect-ratio: 3 / 2; }

.link-more {
  display: inline-flex; align-items: center; gap: .35rem; justify-self: start;
  margin-top: .35rem; text-decoration: none; color: var(--accent-ink); font-weight: 600;
}
.link-more svg { width: 18px; height: 18px; transition: transform .3s var(--spring); }
.link-more:hover svg { transform: translateX(3px); }

.feat--offline .ticks { margin-top: .5rem; font-size: 1rem; }

/* Kompakte Karte: Merkliste, Statistik, Prüfungstermin */
.feat--school { display: grid; gap: 1.5rem; padding: clamp(1.375rem, 2.6vw, 2rem); }
.feat--school .feat__body { padding: 0; }
.trio { display: grid; gap: 0; }
.trio li { display: grid; grid-template-columns: 28px 1fr; gap: .3rem .9rem; padding: 1rem 0; border-top: 1px solid var(--hairline); }
.trio strong { font-size: 1.0625rem; }
.trio span:last-child { grid-column: 2; color: var(--muted); font-size: 1rem; }

/* Schmal: Die Bildschirme stehen schon in der Bilderreihe darüber, hier bleibt der Text. */
@media (max-width: 619.98px) {
  .feat--practice .feat__phone, .feat--exam .feat__phone, .feat--signs .feat__phone { display: none; }
}
@media (min-width: 620px) {
  .feat--signs { flex-direction: row; }
  .feat--signs .feat__body { flex: 1; }
  .feat--signs .feat__phone { position: relative; margin-top: 0; height: auto; min-height: 340px; flex: 0 0 268px; padding: 0; align-self: stretch; }
  .feat--signs .feat__phone .phone { position: absolute; top: 32px; left: 0; }
  .feat--sim { flex-direction: row; }
  .feat--sim .feat__body { flex: 1; align-content: center; }
  .feat--sim .feat__photo { margin-top: 0; flex: 0 0 48%; }
  .feat--sim .feat__photo img { aspect-ratio: auto; position: absolute; inset: 0; }
}

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .feat--theory { grid-column: span 7; }
  .feat--practice { grid-column: span 5; }
  .feat--exam { grid-column: span 5; }
  .feat--signs { grid-column: span 7; }
  .feat--sim { grid-column: span 8; min-height: 340px; }
  .feat--offline { grid-column: span 4; }
  .feat--school { grid-column: span 12; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
  .feat__phone { height: 320px; }
  .feat__phone .phone { --pw: 240px; }
  .feat--signs .feat__phone { flex-basis: 312px; }
  .feat--signs .feat__phone .phone { --pw: 280px; top: 56px; }
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trio li { grid-template-columns: 1fr; gap: .45rem; padding: 0 0 0 1.75rem; border-top: 0; border-left: 1px solid var(--hairline); }
  .trio li:first-child { padding-left: 0; border-left: 0; }
  .trio span:last-child { grid-column: 1; }
}

/* ---------- Demo: Quiz im Antwortstil der App ---------- */
.demo__grid { display: grid; gap: 2rem; align-items: start; }

.legend { display: grid; gap: .7rem; margin-top: 1.75rem; font-size: 1rem; }
.legend li { display: flex; align-items: center; gap: .7rem; }
.dot {
  display: grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 7px; color: var(--on-signal);
}
.dot svg { width: 15px; height: 15px; }
.dot--right { background: var(--right); }
.dot--wrong { background: var(--wrong); }

.quiz { --qp: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-hero); padding: var(--qp); overflow: hidden; }
.quiz__top { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.quiz__count { font-size: .9375rem; font-weight: 600; color: var(--muted); }

/* Fortschritt: ein kurzer Strich je Frage. Grün richtig, Rot falsch, Limette aktuell, Grau offen. */
.quiz__dashes { display: flex; gap: 6px; }
.quiz__dashes li {
  flex: 0 1 34px; min-width: 4px; height: 5px; border-radius: 3px; background: var(--fill);
  transition: background-color .25s ease;
}
.quiz__dashes .is-current { background: var(--accent); box-shadow: inset 0 0 0 1px rgba(10, 12, 16, .22); }
.quiz__dashes .is-right { background: var(--right); }
.quiz__dashes .is-wrong { background: var(--wrong); }

.quiz__q legend { padding: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.quiz__opts { display: grid; gap: 10px; margin-top: 1.25rem; }

.quiz__hint { margin-top: .5rem; font-size: .9375rem; color: var(--muted); }
.opt {
  display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: .85rem;
  width: 100%; min-height: 56px; padding: 12px 16px;
  border: 0; border-radius: 14px;
  background: var(--fill); color: var(--ink); text-align: left; font-weight: 600; cursor: pointer;
  box-shadow: inset 0 0 0 1px transparent;
  transition: transform .28s var(--spring), background-color .2s ease, color .2s ease, opacity .2s ease, box-shadow .2s ease;
}
/* Ankreuzfeld wie in der App: leeres Kästchen, angekreuzt in Limette */
.opt__box {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  box-shadow: inset 0 0 0 2px var(--line-strong, rgba(255, 255, 255, .28));
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.opt__box svg { width: 18px; height: 18px; grid-area: 1 / 1; stroke-width: 3; opacity: 0; transform: scale(.5); transition: opacity .15s ease, transform .3s var(--spring); }
.opt__box .x { display: none; }
.opt__note { font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.opt__note:empty { display: none; }
.opt[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.opt[aria-pressed="true"] .opt__box { background: var(--accent); box-shadow: none; color: var(--on-signal); }
.opt[aria-pressed="true"] .opt__box .check { opacity: 1; transform: none; }
@media (hover: hover) {
  .opt:not([aria-disabled="true"]):hover { transform: translateY(-2px); }
}
.opt[aria-disabled="true"] { cursor: default; }
/* Nach dem Prüfen: richtig angekreuzt satt grün, falsch angekreuzt satt rot, verpasste richtige Antwort mit grünem Umriss */
.opt.is-correct, .opt.is-wrong { color: var(--on-signal); box-shadow: none; }
.opt.is-correct { background: var(--right); }
.opt.is-wrong { background: var(--wrong); }
.opt.is-correct .opt__box, .opt.is-wrong .opt__box { background: rgba(10, 12, 16, .16); box-shadow: none; color: var(--on-signal); }
.opt.is-correct .opt__box .check { opacity: 1; transform: none; }
.opt.is-wrong .opt__box .check { display: none; }
.opt.is-wrong .opt__box .x { display: block; opacity: 1; transform: none; }
.opt.is-missed { box-shadow: inset 0 0 0 2px var(--right); }
.opt.is-missed .opt__box { box-shadow: inset 0 0 0 2px var(--right); }
.opt.is-missed .opt__note { color: var(--right); }
.opt.is-dim { opacity: .45; }
.quiz__check { margin-top: 1.25rem; }
.quiz__check[disabled] { opacity: .4; cursor: default; }

/* Erklärung: getöntes Band, unten an der Karte angesetzt, mit Weiter in derselben Farbe */
.explain {
  display: grid; gap: .9rem;
  margin: 1.25rem calc(var(--qp) * -1) calc(var(--qp) * -1);
  padding: 1.1rem var(--qp) var(--qp);
}
.explain strong { display: block; margin-bottom: .2rem; }
.explain.is-right { background: var(--right-soft); }
.explain.is-wrong { background: var(--wrong-soft); }
.explain .btn { color: var(--on-signal); }
.explain.is-right .btn { background: var(--right); }
.explain.is-wrong .btn { background: var(--wrong); }

.quiz__result { display: grid; gap: 1rem; justify-items: start; }
.quiz__score { font-size: clamp(2.5rem, 2rem + 2.5vw, 3.5rem); line-height: 1; }
.quiz__result .btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

@media (min-width: 900px) {
  .demo__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5.5rem); }
  .demo .sec-head { margin-bottom: 0; position: sticky; top: 120px; }
}

/* ---------- Fahrsimulator (Nacht) ---------- */
.night__grid { display: grid; gap: 2.5rem; align-items: center; }
.night__phone { display: grid; justify-items: center; }
.night__phone .phone { --pw: 250px; }

.scenes { display: grid; gap: 10px; margin-top: 2rem; }
.scenes li {
  display: flex; align-items: center; gap: .9rem;
  padding: 14px 16px; border-radius: var(--r-row);
  background: var(--card); border: 1px solid var(--hairline);
  font-weight: 600; font-size: 1rem; line-height: 1.3;
}
.scenes .ico { width: 26px; height: 26px; }

.night__facts { display: grid; gap: 1.5rem; margin-top: 2rem; }
.night__facts h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .25rem; }
.night__facts p { color: var(--muted); font-size: 1rem; }


@media (min-width: 560px) {
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .night__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .night__grid { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
  .night__phone .phone { --pw: 300px; }
}

/* ---------- Anhalteweg-Rechner (Nachtkarte) ---------- */
.calc {
  --react: .05; --brake: .083333; --emerg: .041667; --p: .333333;
  border-radius: var(--r-hero); padding: clamp(1.25rem, 3.4vw, 2.75rem);
  display: grid; gap: clamp(2rem, 4vw, 3rem);
}

/* Tacho: der Bogen füllt sich mit der gewählten Geschwindigkeit */
.speedo { position: relative; width: min(100%, 300px); margin-inline: auto; }
.speedo .gauge { width: 100%; height: auto; overflow: visible; }
.speedo .gauge__track { stroke-width: 12; }
.speedo .gauge__value { stroke-width: 12; filter: drop-shadow(0 0 8px rgba(216, 255, 62, .4)); transition: stroke-dasharray .3s var(--ease); }
.speedo__read {
  position: absolute; left: 0; right: 0; top: 30%;
  display: grid; justify-items: center; gap: .1rem; text-align: center;
}
.speedo__read output { font-size: clamp(3.25rem, 2.5rem + 3vw, 4.25rem); line-height: 1; }
.speedo__read span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.calc__label { font-weight: 600; color: var(--muted); font-size: 1rem; display: block; text-align: center; margin-bottom: .75rem; }

.range {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 36px; margin: .75rem 0 .5rem; padding: 0;
  background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(to right, var(--accent) calc(var(--p) * 100%), var(--fill) calc(var(--p) * 100%));
}
.range::-moz-range-track { height: 8px; border-radius: 99px; background: var(--fill); }
.range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--accent); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; margin-top: -11px; border-radius: 50%;
  background: #0B0D11; border: 4px solid var(--accent);
}
.range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #0B0D11; border: 4px solid var(--accent);
}
.range:focus-visible { outline-offset: 6px; }

.range-scale { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); }

.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem; }
.preset {
  flex: 1 1 0; min-height: 40px; padding: 0 10px; border: 0; border-radius: 10px;
  background: var(--fill); color: var(--ink); font-size: .9375rem; font-weight: 600; cursor: pointer;
  transition: transform .28s var(--spring), background-color .2s ease, color .2s ease;
}
.preset[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.preset:active { transform: scale(.95); }

.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin-top: 1.5rem; padding: 4px; border-radius: 14px; background: var(--fill);
}
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: grid; place-items: center; min-height: 44px; padding: 0 .5rem; border-radius: 10px;
  font-size: .9375rem; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2;
  transition: background-color .2s ease, color .2s ease;
}
.seg input:checked + span { background: var(--accent); color: var(--on-accent); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.wetnote { margin-top: 1rem; font-size: .9375rem; color: var(--muted); }

/* Balken auf gemeinsamer Skala 0 bis 300 m, Leitpfosten alle 50 m */
.bars { display: grid; gap: 1.1rem; }
.barrow__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .45rem; font-weight: 600; font-size: 1rem; }
.barrow__head span:last-child { font-variant-numeric: tabular-nums; }
.bar { display: flex; height: 26px; border-radius: 6px; background: var(--fill); overflow: hidden; }
.bar i { display: block; height: 100%; transition: width .3s var(--ease); }
.bar .r { width: calc(var(--react) * 100%); background: var(--accent); }
.bar .b { width: calc(var(--brake) * 100%); background: var(--ink); }
.bar .e { width: calc(var(--emerg) * 100%); background: var(--ink); }

.posts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: .5rem; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.posts li { position: relative; padding-top: 12px; }
.posts li::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 8px; border-radius: 1px; background: var(--tertiary); }
.posts li:last-child::after { content: ""; position: absolute; right: 0; top: 0; width: 2px; height: 8px; border-radius: 1px; background: var(--tertiary); }
.posts li:last-child span { position: absolute; right: 0; top: 12px; }
.posts b { font-weight: 400; }
@media (max-width: 520px) { .posts li:last-child b { visibility: hidden; } }
.postnote { margin-top: 1.9rem; font-size: .875rem; color: var(--muted); }

.barkey { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .875rem; color: var(--muted); margin-bottom: 1.1rem; }
.barkey li { display: flex; align-items: center; gap: .45rem; }
.swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.swatch--r { background: var(--accent); }
.swatch--b { background: var(--ink); }

.figs { display: grid; gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--hairline); }
.fig dt { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1rem; }
.fig__num { font-size: 2.25rem; line-height: 1.1; margin-top: .3rem; }
.fig__formula { font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: .15rem; }
.fig__text { font-size: .9375rem; color: var(--muted); margin-top: .5rem; max-width: 38ch; }

.emerg-box { margin-top: 1.75rem; padding: 18px 20px; border-radius: var(--r-row); background: var(--card); border: 1px solid var(--hairline); font-size: 1rem; }
.emerg-box strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.emerg-box .num { white-space: nowrap; }
.emerg-box p + p { margin-top: .4rem; color: var(--muted); font-size: .9375rem; }

.calc-foot { margin-top: 1.25rem; font-size: .9375rem; color: var(--muted); max-width: 70ch; }

@media (min-width: 600px) {
  .figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fig + .fig { padding-left: 1.5rem; border-left: 1px solid var(--hairline); }
}
@media (min-width: 980px) {
  .calc { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
}

/* ---------- Länder ---------- */
.lands { display: grid; gap: 16px; }
.land { position: relative; display: grid; gap: .35rem; align-content: start; }
.oval {
  display: inline-grid; place-items: center; justify-self: start;
  min-width: 72px; height: 46px; padding: 0 16px; margin-bottom: 1rem;
  border: 2.5px solid var(--ink); border-radius: 50%;
  font-size: 1.25rem; font-weight: 700; font-stretch: 125%; font-width: 125%; line-height: 1;
}
.land__meta { color: var(--muted); font-size: 1rem; }
.land__fact { margin-top: .6rem; }
.land__link { margin-top: 1rem; justify-self: start; display: inline-flex; align-items: center; gap: .35rem; }
.land__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.land__link svg { width: 18px; height: 18px; transition: transform .3s var(--spring); }
.land:hover .land__link svg { transform: translateX(3px); }
.land__link:focus-visible { outline: none; }
.land__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (min-width: 620px) { .lands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 980px) { .lands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Fußnote unter Preisen ---------- */
.footnote { margin-top: 1.75rem; font-size: .9375rem; color: var(--muted); max-width: 78ch; }


/* ---------- Fragen ---------- */
.faq__grid { display: grid; gap: 2rem; }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-row); }
.faq__item summary {
  display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 1rem;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.35; border-radius: var(--r-row);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font: inherit; }
.faq__icon {
  display: grid; place-items: center; width: 24px; height: 24px; color: var(--accent-ink);
  transition: transform .35s var(--spring);
}
.faq__icon svg { width: 22px; height: 22px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 20px 20px; color: var(--muted); max-width: 68ch; }
.faq__a p + p { margin-top: .75rem; }

@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
  .faq .sec-head { margin-bottom: 0; position: sticky; top: 120px; }
}

/* ---------- Abschluss (Nachtkarte) ---------- */
.cta {
  display: grid; gap: 2rem; justify-items: start;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: var(--r-hero);
  border: 1px solid var(--night-edge);
}
.cta .h2 { max-width: 18em; }
.cta p { max-width: 52ch; }
.cta__copy { display: grid; gap: 1.5rem; justify-items: start; }
.cta__copy > p { color: var(--muted); }
.cta__actions { display: grid; gap: .9rem; justify-items: start; }
.cta__app { display: flex; align-items: center; gap: 1rem; }
.cta__app img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.cta__app strong { display: block; font-size: 1.125rem; line-height: 1.25; }
.cta__app span { color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) {
  .cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; }
  .cta__app { flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; padding-inline: clamp(1rem, 3vw, 3rem); }
  .cta__app img { width: 132px; height: 132px; border-radius: 30px; }
}

/* ---------- Fuß (Nacht) ---------- */
.site-footer {
  padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; font-size: 1rem;
  background: var(--night-b); border-top: 1px solid var(--night-edge);
}
.footer__grid { display: grid; gap: 2.5rem; }
.footer__about p { color: var(--muted); max-width: 36ch; margin-top: 1rem; font-size: .9375rem; }
.footer__col h2 { font-size: .9375rem; font-weight: 600; color: var(--muted); margin-bottom: .75rem; }
.footer__col ul { display: grid; gap: .1rem; }
.footer__col a { display: inline-block; padding: .3rem 0; color: var(--ink); text-decoration: none; }
.footer__col a:hover { color: var(--accent); }
.footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); display: grid; gap: .5rem; color: var(--muted); font-size: .875rem; }

.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.25rem; }
.footer__about { grid-column: 1 / -1; }
.footer__col { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 619.98px) { .footer__col a { font-size: .9375rem; } }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1140px) {
  .footer__grid { grid-template-columns: minmax(0, 1.25fr) repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .footer__about { grid-column: auto; }
  .footer__col a { font-size: .9375rem; }
}

/* ---------- Leiste zum Laden, nur schmal ---------- */
.dlbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: .75rem;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--night-b); border-top: 1px solid var(--night-edge);
  transform: translateY(110%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.dlbar.is-on { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.dlbar__text { flex: 1 1 auto; min-width: 0; display: grid; gap: .1rem; line-height: 1.2; }
.dlbar__text strong { font-size: .875rem; }
.dlbar__text span { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlbar .btn { flex: none; padding-inline: .8rem; font-size: .8125rem; gap: .4rem; white-space: nowrap; }
.dlbar .btn svg { width: 18px; height: 18px; }
@media (min-width: 760px) { .dlbar { display: none; } }
@media (max-width: 759.98px) { .site-footer { padding-bottom: calc(2.5rem + 76px); } }

/* ---------- Unterseiten ---------- */
.crumbs { font-size: .9375rem; color: var(--muted); margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.page-hero { padding-top: clamp(1.25rem, 3vw, 2rem); }
.page-hero__in { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero .lead { max-width: 62ch; }
.page-hero .hero__actions { margin-top: 2rem; }

.facts { display: grid; gap: 16px; }
.fact { display: flex; flex-direction: column; gap: .6rem; }
.fact p, .fact li { color: var(--muted); }
.fact .big { color: var(--ink); font-size: 2rem; line-height: 1.1; }
.fact .source { margin-top: auto; padding-top: .9rem; }
/* Quellenangabe: klein und zurückhaltend */
.source { font-size: .8125rem; color: var(--muted); }
.source a { color: inherit; }
.fact table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.fact th, .fact td { text-align: left; padding: .5rem .5rem .5rem 0; border-top: 1px solid var(--hairline); font-weight: 400; color: var(--muted); }
.fact thead th { border-top: 0; font-size: .875rem; font-weight: 600; }
.fact tbody th { color: var(--ink); font-weight: 600; }
.authority { margin-top: 1.5rem; font-size: 1rem; color: var(--muted); max-width: 75ch; }

@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) {
  .facts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fact { grid-column: span 2; }
  .fact--wide { grid-column: span 3; }
}

.split { display: grid; gap: 2rem; align-items: start; }
.split figure { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--hairline); }
.split figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.topics { display: grid; gap: 10px; }
.topic { padding: 16px 20px; border-radius: var(--r-row); background: var(--card); border: 1px solid var(--hairline); }
.topic h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .2rem; }
.topic p { color: var(--muted); font-size: 1rem; }
.honest { margin-top: 1.5rem; padding: 18px 20px; border-radius: var(--r-row); background: var(--accent-soft); font-size: 1rem; max-width: 75ch; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 3.5rem); } .split figure { position: sticky; top: 104px; } }

.others { display: grid; gap: 10px; }
.others a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 16px 20px; border-radius: var(--r-row); background: var(--card); border: 1px solid var(--hairline);
  color: var(--ink); text-decoration: none; font-weight: 600;
  transition: border-color .25s ease;
}
.others li { min-width: 0; }
.others a, .locked { overflow-wrap: anywhere; hyphens: auto; }
.others a:hover { border-color: var(--tertiary); }
.others svg { width: 18px; height: 18px; color: var(--accent-ink); flex: none; transition: transform .3s var(--spring); }
.others a:hover svg { transform: translateX(3px); }
@media (min-width: 620px) { .others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .others { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Texte: Support, Datenschutz, Impressum.
   Die Textspalte beginnt an derselben linken Kante wie die Seitenüberschrift. */
.prose > * { max-width: 44rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-top: 2.75rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; font-weight: 700; margin-top: 1.75rem; }
.prose .faq__item h3 { margin-top: 0; font: inherit; }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .35rem; }
.prose address { font-style: normal; }
.prose .card { margin-top: 1.5rem; }
.prose .card > * + * { margin-top: .75rem; }
.open {
  background: var(--accent-soft); color: var(--ink);
  padding: .1em .4em; border-radius: 6px; font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.stand { color: var(--muted); font-size: .9375rem; }

.help { display: grid; gap: 10px; margin-top: 1.5rem; }

.notfound .btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ==========================================================================================
   Verkaufs- und Inhaltsseiten: Zusicherungen, Vergleich, Klassen, Lektionen, Verkehrszeichen
   ========================================================================================== */

/* ---------- Zusicherungen neben dem Knopf ---------- */
.assure { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; margin-top: 1rem; font-size: .9375rem; color: var(--muted); }
.assure li { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.assure svg { width: 16px; height: 16px; color: var(--accent-ink); stroke-width: 2.6; }
.cta__actions .assure { margin-top: 0; }

/* ---------- Drei Stufen ---------- */
.tiers { display: grid; gap: 16px; }
.tier { display: grid; gap: .75rem; align-content: start; }
.tier--pop { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tier__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 28px; }
.tier__head h3 { font-size: 1.125rem; font-weight: 700; }
.tier__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .6rem; }
.tier__price strong { font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); line-height: 1; }
.tier__price span, .tier__line { color: var(--muted); font-size: 1rem; }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ---------- Vergleich: Kostenlos, Vollzugang, Profi-Zugang ---------- */
.cmp { padding: 0; overflow: hidden; }
.cmp__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp__table th, .cmp__table td { padding: 12px 4px; border-top: 1px solid var(--hairline); text-align: center; vertical-align: middle; }
.cmp__table thead th, .cmp__table thead td { border-top: 0; padding-block: 18px 14px; vertical-align: bottom; }
.cmp__table tbody th { text-align: left; font-weight: 500; font-size: 1rem; line-height: 1.35; }
.cmp__name { display: block; font-size: .8125rem; font-weight: 700; line-height: 1.2; }
.cmp__price { display: block; margin-top: .35rem; font-size: 1.125rem; white-space: nowrap; }
.cmp__note { display: block; margin-top: .2rem; font-size: .75rem; font-weight: 500; color: var(--muted); }
.cmp__table td svg { width: 20px; height: 20px; margin-inline: auto; stroke-width: 2.6; }
.cmp .yes { color: var(--accent-ink); }
.cmp .no { color: var(--tertiary); }
.cmp .is-pop { background: rgba(216, 255, 62, .06); }
.cmp thead .is-pop { box-shadow: inset 0 3px 0 var(--accent); }
.cmp thead .is-pop .cmp__name { color: var(--accent-ink); }
.cmp__foot { padding: 14px 16px; border-top: 1px solid var(--hairline); font-size: .875rem; color: var(--muted); }
/* Schmal: Jede Zeile wird zum Raster. Die Bezeichnung steht über ihren drei Feldern. */
@media (max-width: 699.98px) {
  .cmp__table, .cmp__table thead, .cmp__table tbody { display: block; }
  .cmp__table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp__table thead td { display: none; }
  .cmp__table tbody th { grid-column: 1 / -1; padding: 14px 16px 4px; }
  .cmp__table tbody td { padding: 6px 4px 14px; border-top: 0; }
}
@media (min-width: 700px) {
  .cmp__table thead td { width: 40%; }
  .cmp__table th, .cmp__table td { padding: 15px 16px; }
  .cmp__table thead th { padding-block: 26px 20px; }
  .cmp__table tbody th { padding-left: 24px; font-size: 1.0625rem; }
  .cmp__name { font-size: 1rem; }
  .cmp__price { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.125rem); }
  .cmp__note { font-size: .875rem; }
  .cmp__table td svg { width: 24px; height: 24px; }
  .cmp__foot { padding: 18px 24px; font-size: .9375rem; }
}

.cmp + .duo { margin-top: 20px; }
.offer__action { margin-top: 2rem; }
.offer__action .hero__actions { margin-top: 0; }

/* ---------- Seitenkopf mit Bild oder Schleife ---------- */
.page-hero__in--media { display: grid; gap: 2rem; }
.hero-media { align-self: start; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--night-edge); }
.hero-media__item { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--fill); }
@media (min-width: 980px) {
  .page-hero__in--media { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 3rem; align-items: center; }
}
.media-fig { max-width: 760px; margin-top: 2rem; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--night-edge); }
.media-fig img { display: block; width: 100%; height: auto; }
.duo__fig { margin: calc(clamp(1.375rem, 2.6vw, 2rem) * -1) calc(clamp(1.375rem, 2.6vw, 2rem) * -1) .75rem; border-radius: calc(var(--r-card) - 1px) calc(var(--r-card) - 1px) 0 0; overflow: hidden; }
.duo__fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Prüfungsformat: was nicht belegt ist ---------- */
.unverified {
  margin-top: 16px; padding: 16px 20px; border-radius: var(--r-row);
  border: 1px dashed var(--tertiary); font-size: 1rem; color: var(--muted); max-width: 75ch;
}
.unverified h3 { margin-bottom: .3rem; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.unverified ul { display: grid; gap: .3rem; padding-left: 1.1rem; list-style: disc; }
.topics--gap { margin-top: 16px; }
@media (min-width: 700px) { .topics--gap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Kapitel und Lektionen ---------- */
.chip--free { flex: none; background: var(--accent-soft); color: var(--accent-ink); }
.chip--web { background: var(--fill); color: var(--muted); }
.lock { display: inline-flex; flex: none; color: var(--tertiary); }
.lock svg { width: 18px; height: 18px; }

.chaps { display: grid; gap: 10px; }
.chap { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-row); }
.chap summary {
  display: grid; grid-template-columns: 1fr auto 24px; align-items: center; gap: .2rem .9rem;
  grid-template-areas: "label label label" "title count icon" "kind kind kind";
  padding: 16px 20px; border-radius: var(--r-row); cursor: pointer; list-style: none;
}
.chap summary::-webkit-details-marker { display: none; }
.chap summary h2, .chap summary h3 { grid-area: title; min-width: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; overflow-wrap: anywhere; hyphens: auto; }
.chap__label { grid-area: label; font-size: .8125rem; font-weight: 600; color: var(--accent-ink); }
.chap__kind { grid-area: kind; font-size: .8125rem; color: var(--muted); }
.chap__count {
  grid-area: count; padding: 3px 9px; border-radius: 8px; background: var(--fill);
  font-size: .875rem; font-weight: 700; color: var(--muted);
}
.chap .faq__icon { grid-area: icon; }
.chap[open] .faq__icon { transform: rotate(45deg); }

.chap__list { display: grid; padding: 0 20px 8px; }
.chap__list li { padding: 12px 0; border-top: 1px solid var(--hairline); }
.chap__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; line-height: 1.35; }
.chap__row > :first-child { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.chap__row a, .chap__list--plain a {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: .24em;
}
.chap__row a:hover, .chap__list--plain a:hover { color: var(--accent-ink); }
.chap__list p { margin-top: .3rem; max-width: 70ch; font-size: .9375rem; color: var(--muted); }
.chap__list--plain li { padding: 9px 0; font-size: 1rem; }
.chap__list--next { max-width: 46rem; padding: 0; margin-bottom: 2rem; }

@media (min-width: 900px) { .chaps--two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px 20px; } }

/* Lesetext einer Lektion: an der linken Kante der Überschrift, in Lesebreite */
.reading > * { max-width: 44rem; }
.lesson > * + * { margin-top: 1.1rem; }
.lesson p { font-size: 1.125rem; line-height: 1.65; }
.lesson h2 { margin-top: 2.5rem; font-size: 1.5rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.lesson > h2:first-child { margin-top: 0; }
.lesson .source, .lesson .honest { font-size: .9375rem; }
.callout { margin-top: 1.75rem; padding: 18px 20px; border-radius: var(--r-row); background: var(--card); border: 1px solid var(--hairline); }
.callout h2, .callout h3 {
  display: flex; align-items: center; gap: .6rem; margin: 0 0 .4rem;
  font-size: .9375rem; font-weight: 700; letter-spacing: 0; color: var(--accent-ink);
}
.callout p { font-size: 1.0625rem; line-height: 1.55; }
.callout--key { background: var(--accent-soft); border-color: transparent; }
.callout--key h2::before, .callout--key h3::before { content: ""; flex: none; width: 18px; height: 4px; border-radius: 2px; background: var(--accent); }

/* ---------- Beispielfragen mit Lösung ---------- */
.samples { display: grid; gap: 16px; }
.sample { display: grid; gap: 1rem; align-content: start; }
.sample h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.sample__opts { display: grid; gap: 8px; }
.sample__opts li {
  display: grid; grid-template-columns: 20px 1fr auto; gap: .7rem; align-items: start;
  padding: 10px 14px; border-radius: 12px; background: var(--fill);
  font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--muted);
}
.sample__opts svg { width: 20px; height: 20px; margin-top: .1em; color: var(--tertiary); }
.sample__opts .is-right { color: var(--ink); box-shadow: inset 0 0 0 2px var(--right); }
.sample__opts .is-right svg { color: var(--right); stroke-width: 2.6; }
.sample__opts em { font-style: normal; font-size: .8125rem; font-weight: 700; color: var(--right); }
.sample__why { font-size: .9375rem; color: var(--muted); }
.sample__why strong { color: var(--ink); }
@media (min-width: 900px) { .samples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }

/* ---------- Klassen nach Fahrzeug und Land ---------- */
.matrix { display: grid; gap: 10px; }
.matrix__row { display: grid; gap: .75rem; padding: 16px 20px; border-radius: var(--r-row); background: var(--card); border: 1px solid var(--hairline); }
.matrix__row h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; font-size: 1.0625rem; font-weight: 700; }
.matrix__row h3 a, .grouphead a { color: var(--ink); text-decoration: none; }
.matrix__row h3 a:hover, .grouphead a:hover { color: var(--accent-ink); }
.matrix__cells { display: grid; gap: 8px; }
.matrix__cells li { position: relative; display: grid; gap: .15rem; padding: 10px 14px; border-radius: 12px; background: var(--fill); transition: box-shadow .2s ease; }
.matrix__cells li:hover { box-shadow: inset 0 0 0 1px var(--tertiary); }
.matrix__cells a { font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.matrix__cells a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.matrix__cells span { font-size: .875rem; line-height: 1.35; color: var(--muted); }
.grouphead { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; margin: 2.5rem 0 .9rem; }
.sec-head + .grouphead { margin-top: 0; }
@media (min-width: 620px) { .matrix__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) {
  .matrix__row { grid-template-columns: 200px minmax(0, 1fr); align-items: start; gap: 1.5rem; }
  .matrix__row h3 { padding-top: .55rem; }
  .matrix__cells { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.duo { display: grid; gap: 16px; }
.duo__card { display: grid; gap: .75rem; align-content: start; }
.duo__card p { color: var(--muted); }
.duo__card .ticks { margin-top: .25rem; font-size: 1rem; }
.duo__card .honest { margin-top: .5rem; }
@media (min-width: 760px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }

.sub { margin: 2.25rem 0 1rem; font-size: 1.125rem; }
/* Kurze Verweise, zum Beispiel alle Klassen eines Landes: schon auf dem Telefon zweispaltig */
.others--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.others--compact a { padding: 12px 14px; font-size: .9375rem; }
@media (min-width: 620px) { .others--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .others--compact { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.others--gap { margin-top: 10px; }
@media (min-width: 980px) { .others--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.locked {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 16px 20px; border-radius: var(--r-row); background: var(--card); border: 1px solid var(--hairline);
  font-weight: 600; color: var(--muted);
}

/* ---------- Wege je Fahrzeug und Berufsklassen (Startseite) ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.path { position: relative; display: grid; gap: .4rem; align-content: start; }
.path__head { display: flex; align-items: center; justify-content: space-between; gap: .4rem; min-height: 28px; margin-bottom: .75rem; }
.path__classes { font-size: 1rem; font-weight: 700; font-stretch: 125%; font-width: 125%; }
.path__meta { font-size: 1rem; color: var(--muted); }
/* Schmal: zwei kompakte Karten nebeneinander, die Zahl der Lektionen steht auf der Zielseite. */
@media (max-width: 619.98px) {
  .path { padding: 16px; }
  .path .h3 { font-size: 1.0625rem; hyphens: auto; }
  .path__classes { font-size: .875rem; }
  .path__meta { display: none; }
  .path .land__link { font-size: .9375rem; }
  .path .chip { font-size: .6875rem; padding: 4px 7px; }
}
@media (min-width: 620px) { .paths { gap: 20px; } }
@media (min-width: 980px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.probox { display: grid; gap: 2rem; padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: var(--r-hero); border: 1px solid var(--night-edge); }
.probox__copy { display: grid; gap: 1.25rem; justify-items: start; }
.probox__copy .h2 + .lead { margin-top: -.25rem; }
.probox .ticks { font-size: 1rem; }
.probox__links { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; margin-top: .5rem; }
.probox__link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.probox__link svg { width: 22px; height: 22px; }
.probox__link:hover { text-decoration: underline; }
.probox__price {
  align-self: start; display: grid; gap: .35rem; padding: 1.5rem; border-radius: var(--r-card);
  background: var(--card); border: 1px solid var(--accent); box-shadow: inset 0 0 0 1px var(--accent);
}
.probox__name { font-size: 1.125rem; font-weight: 700; }
.probox__num { font-size: clamp(2.75rem, 2rem + 3vw, 4rem); line-height: 1; }
.probox__note { font-size: 1rem; color: var(--muted); }
.probox__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--hairline); }
.probox__stats div { display: flex; flex-direction: column-reverse; gap: .2rem; }
.probox__stats dt { font-size: .875rem; color: var(--muted); }
.probox__stats dd { font-size: 1.75rem; line-height: 1.1; }
@media (min-width: 900px) { .probox { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 3rem; align-items: center; } }

/* ---------- Bilderreihe zum Blättern ---------- */
.carousel { --edge: max(var(--gutter), calc((100vw - 1200px) / 2)); }
.carousel__track {
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--edge) 12px; scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -4px; }
.carousel__item { flex: none; width: min(64vw, 250px); scroll-snap-align: start; }
.carousel__item figure { display: grid; gap: .9rem; justify-items: center; }
.carousel__item .phone { --pw: min(64vw, 250px); }
.carousel__item figcaption { font-size: 1rem; font-weight: 600; color: var(--muted); }
.carousel--store .carousel__track { gap: 0; }
.carousel--store .carousel__item { width: min(72vw, 300px); }
.carousel--store img { display: block; width: 100%; height: auto; }
.carousel--store .carousel__item:first-child img { border-radius: 20px 0 0 20px; }
.carousel--store .carousel__item:last-child img { border-radius: 0 20px 20px 0; }
.carousel__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.carousel__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 14px;
  background: var(--fill); color: var(--ink); cursor: pointer; transition: opacity .2s ease, transform .28s var(--spring);
}
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn[data-carousel-prev] svg { transform: rotate(180deg); }
.carousel__btn[disabled] { opacity: .35; cursor: default; }
.carousel__btn:not([disabled]):active { transform: scale(.94); }

/* ---------- Verkehrszeichen ---------- */
/* Die Zeichen stehen auf einer hellen Tafel, weil viele Vorlagen einen weißen Grund haben. */
.signfig, .signhero, .quiz__sign { display: grid; place-items: center; flex: none; border-radius: 12px; background: #F4F5F7; }
.signfig img, .signhero img, .quiz__sign img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.signfig { width: 72px; height: 72px; padding: 8px; }
.quiz__sign { width: 132px; height: 132px; padding: 14px; margin-top: 1rem; }
.signhero { width: 220px; height: 220px; padding: 24px; border-radius: var(--r-card); }

.signcards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 620px) { .signcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .signcards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.signcard { position: relative; display: grid; gap: .55rem; align-content: start; min-width: 0; padding: 16px; overflow-wrap: anywhere; hyphens: auto; transition: border-color .25s ease; }
.signcard:hover { border-color: var(--tertiary); }
.signcard a { font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; }
.signcard a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.signcard > span:last-child { font-size: .8125rem; color: var(--muted); }

.signgroup { margin-top: 2.75rem; }
.authority + .source { margin-top: .5rem; }
.signgroup h2 { margin-bottom: 1rem; }
.signgroup h2 .num { margin-left: .35rem; font-size: .9375rem; font-weight: 600; }
.signs { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 520px) {
  .signs { grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); }
  .signs--text { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
.sign {
  position: relative; display: grid; gap: .45rem; align-content: start;
  padding: 12px; border-radius: var(--r-row); background: var(--card); border: 1px solid var(--hairline);
  min-width: 0; font-size: .875rem; line-height: 1.3; color: var(--muted);
  overflow-wrap: anywhere; hyphens: auto;
}
.sign .signfig { width: 100%; height: 88px; }
.sign__code { font-size: .75rem; font-weight: 600; color: var(--tertiary); }
.sign a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .24em; }
.sign a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-row); }
.sign--link:hover { border-color: var(--tertiary); }

.signdetail { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .signdetail { grid-template-columns: 220px minmax(0, 1fr); gap: 3.5rem; } }

/* ---------- Ratgeber und Tabellen ---------- */
.guidecards { display: grid; gap: 16px; }
.guidecard { display: grid; gap: .6rem; align-content: start; }
.guidecard p { color: var(--muted); }
.guidecard .callout { margin-top: .5rem; }
@media (min-width: 700px) { .guidecards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .guidecards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tablecard { padding: 0; overflow: hidden; }
.datatable { width: 100%; border-collapse: collapse; font-size: 1rem; }
.datatable th, .datatable td { padding: 12px 14px; border-top: 1px solid var(--hairline); text-align: left; vertical-align: top; line-height: 1.4; }
@media (max-width: 699.98px) {
  .datatable { table-layout: fixed; font-size: .9375rem; }
  .datatable th, .datatable td { padding: 11px 8px; overflow-wrap: anywhere; hyphens: auto; }
  .datatable th:first-child { width: 35%; padding-left: 12px; hyphens: manual; }
}
.datatable thead th { border-top: 0; font-size: .875rem; font-weight: 600; color: var(--muted); }
.datatable tbody th { font-weight: 700; }
.datatable tbody th a { color: var(--accent-ink); text-decoration: none; }
.datatable td { color: var(--muted); }
@media (min-width: 700px) { .datatable th, .datatable td { padding: 14px 24px; } }

/* ==========================================================================================
   Profi-Zugang, Berufsseiten, Belege und Handlungsbänder
   ========================================================================================== */

/* Preiszeile unter dem Knopf: der Preis steht immer mit „einmalig, kein Abo“ da */
.priceline { margin-top: 1rem; font-size: 1rem; color: var(--muted); max-width: 46ch; }
.priceline strong { color: var(--ink); font-weight: 600; }
.priceline + .quiet { margin-top: .35rem; }
.cta__actions .priceline { margin-top: 0; }

/* Handlungsband mitten in langen Seiten */
.section--band { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.section--slim { padding-block: 1.25rem 0; }
.actband {
  display: grid; gap: 1.25rem; align-items: center;
  padding: clamp(1.25rem, 3.5vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--r-card); border: 1px solid var(--night-edge);
  box-shadow: inset 4px 0 0 var(--accent);
}
.actband__title { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); line-height: 1.15; }
.actband__text { margin-top: .4rem; color: var(--muted); font-size: 1rem; max-width: 60ch; }
.actband__btns { display: grid; gap: .6rem; }
@media (min-width: 560px) { .actband__btns { grid-template-columns: repeat(2, max-content); } }
@media (min-width: 980px) {
  .actband { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; }
  .actband__btns { grid-template-columns: 1fr; justify-items: stretch; }
}

/* Aussage zum Selbststudium oder der neutrale Satz */
.claim--neutral { font-size: .9375rem; color: var(--muted); max-width: 75ch; }
.lands + .claim--neutral { margin-top: 1.25rem; }
.claim--on, .claim--part { display: grid; gap: .5rem; padding: 18px 20px; border-radius: var(--r-row); max-width: 46rem; }
.claim--on { background: var(--accent-soft); }
.claim--part { background: var(--card); border: 1px solid var(--hairline); }
.claim__more:empty { display: none; }
.claim--neutral .mark-link { white-space: normal; }
.selfstudy { margin-top: 2rem; }
.selfstudy .sub { margin-top: 0; }
.selfstudy .claim--neutral { margin-bottom: 1rem; }
.duo--gap { margin-top: 20px; }
.sourcelist { display: grid; gap: .5rem; max-width: 46rem; padding-left: 1.1rem; list-style: disc; color: var(--muted); }
.sourcelist a { color: var(--ink); }
.jobpath__label { justify-self: start; padding: 4px 9px; border-radius: 8px; background: var(--accent); color: var(--on-accent) !important; font-size: .8125rem; font-weight: 700; }
.claim__head { font-size: 1.375rem; line-height: 1.15; }
.land__claim { margin-top: .5rem; font-size: .9375rem; font-weight: 700; color: var(--accent-ink); }

/* Belege: Kacheln mit gezählten Angaben */
.why { display: grid; gap: 16px; }
.why__tile { display: grid; gap: .5rem; align-content: start; }
.why__tile .ico { margin-bottom: .35rem; }
.why__tile p { color: var(--muted); font-size: 1rem; }
@media (min-width: 620px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 980px) { .why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Schritte je Land: nummeriert, jede Angabe mit Lektion und Rechtsquelle */
.steps { counter-reset: step; display: grid; gap: 0; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.chaps > details { min-width: 0; }
.land-steps summary h3 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 619.98px) {
  .chap .land-steps__body { padding: .5rem 14px 16px; }
  .steps .step { padding-left: 2.6rem; }
  .steps .factlist li { padding: 10px 12px; }
}
.step { counter-increment: step; position: relative; padding: 0 0 1.5rem 3rem; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem;
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-stretch: 125%; font-width: 125%; font-size: 1rem;
}
.step:not(:last-child)::after { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.2rem; bottom: .3rem; width: 2px; background: var(--hairline); }
.step h3, .step h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; margin-bottom: .35rem; }
.step > p { color: var(--muted); max-width: 70ch; }
.step > p a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.factlist { display: grid; gap: .75rem; margin-top: .5rem; }
.factlist li { padding: 12px 16px; border-radius: 12px; background: var(--fill); max-width: 46rem; }
.factlist .source { margin-top: .35rem; }
.steps__gap { margin-top: .25rem; padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--tertiary); font-size: .9375rem; color: var(--muted); max-width: 46rem; }
.land-steps__body { min-width: 0; padding: .5rem 20px 20px; }
.land-steps summary { grid-template-areas: "title title icon"; }
.chap summary h4 { grid-area: title; min-width: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; hyphens: auto; }

.jobpaths { display: grid; gap: 16px; }
.jobpath { display: grid; gap: .5rem; align-content: start; }
.jobpath > p { color: var(--muted); }
.jobpath__count { font-size: .9375rem; font-weight: 600; color: var(--ink) !important; margin-top: .25rem; }
.jobpath .chap__list { padding: 0; }
.jobpath .factlist li { background: transparent; padding: 0 0 .75rem; border-bottom: 1px solid var(--hairline); border-radius: 0; }
.jobpath .factlist li:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 700px) { .jobpaths { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .jobpaths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .paths--jobs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.paths--jobs .path__meta { display: block; }

.namelist { display: grid; gap: 10px; max-width: 46rem; }
.namelist li { padding: 14px 18px; border-radius: var(--r-row); background: var(--card); border: 1px solid var(--hairline); color: var(--muted); }
.namelist strong { color: var(--ink); }
.ticks--no svg { color: var(--tertiary); }
.chips { display: inline-flex; align-items: center; gap: .4rem; flex: none; }

/* Startseite: Kasten für Profis mit Bild und Preis */
.probox__side { display: grid; gap: 16px; align-self: start; }
.probox__fig { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--night-edge); }
.probox__fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.probox__links .btn { flex: none; }

/* Tabellen mit Zahlen */
.datatable--num .num { white-space: nowrap; }
.chap__table { padding: 0 8px 12px; overflow-x: auto; }
.tablecard--wide { overflow-x: auto; }
.tablecard--wide .datatable { min-width: 680px; table-layout: auto; }
.tablecard--wide .datatable th, .tablecard--wide .datatable td { overflow-wrap: normal; hyphens: manual; }
.tablecard--wide .datatable th:first-child { width: auto; }
.chap__table .datatable th, .chap__table .datatable td { overflow-wrap: normal; hyphens: manual; }

/* ---------- Bewegung ---------- */
.js .rv { opacity: 0; transform: translateY(14px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity .5s ease-out, transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.lift.is-done { transition: transform .45s var(--spring), border-color .25s ease; transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .lift:hover, .btn:hover, .opt:hover { transform: none !important; }
}

@media print {
  .site-header, .dlbar, .menu-btn { display: none; }
  .js .rv { opacity: 1; transform: none; }
}
