/* SJ Automotive · Grammatik „Die Dialogannahme"
   Weißer Grund, der sich nie ändert. Dunkel ist nur ein Gegenstand: das
   Kombiinstrument. Bedeutungsfarben folgen der Farbregel der Kontrollleuchten
   (Rot = anhalten, Gelb = bald prüfen, Grün = in Ordnung); Kobalt ist die eine
   Handlungsfarbe. Eigene Regeln stehen hier, die Engine liegt unangetastet in
   vendor/. */

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

:root {
  --sc-canvas: #FFFFFF;
  --sc-surface: #F2F4F7;
  --sc-ink: #111620;
  --sc-ink-soft: #4A5567;
  --sc-accent: #1D4ED8;
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --sc-font-text: "Barlow", system-ui, sans-serif;
  --sc-shadow-color: 218 30% 30%;
  --sc-hairline: color-mix(in oklab, var(--sc-ink) 18%, transparent);
  --sc-hairline-strong: color-mix(in oklab, var(--sc-ink) 40%, transparent);

  /* Bedeutung. Die hellen Töne sind Leuchten auf dunklem Glas, die dunklen
     sind Schrift auf Weiß (je über 4,5:1). */
  --rot-leuchte: #FF4B36;
  --rot-schrift: #B42318;
  --gelb-leuchte: #FFB21A;
  --gelb-schrift: #8A5300;
  --gruen-schrift: #157A40;
  --gruen-leuchte: #3DDC84;

  --akzent-tief: #1741B5;
  --kombi-grund: #12161D;
  --kombi-flaeche: #1A1F28;
  --kombi-tinte: #E9EDF3;
  --kombi-weich: #8D97A8;
  --kombi-aus: #3B4352;

  --kopf-h: 68px;
  --daumen-h: 0px;
  --radius: 14px;
  --radius-klein: 8px;
}

body { -webkit-font-smoothing: auto; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem); }

/* ------------------------------------------------------------ Grundlagen */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nur-vorlesen { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--sc-ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-klein); }
.sprung:focus { top: 12px; }
.ohne-js { display: none; max-width: var(--sc-maxw); margin: 0 auto; padding: 32px var(--sc-gutter) 0; }
.ohne-js h3 { font-family: var(--sc-font-display); font-size: 1.6rem; margin: 0 0 12px; }
.ohne-js ul { margin: 0; padding-left: 1.2em; color: var(--sc-ink-soft); }

.titel {
  font-family: var(--sc-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: pretty;
  color: var(--sc-ink);
}
.titel--gross { font-size: clamp(2.9rem, 1.6rem + 5.2vw, 6rem); line-height: 0.96; letter-spacing: -0.022em; }
.titel--riesig { font-size: clamp(3.4rem, 1.4rem + 8.6vw, 9.5rem); line-height: 0.92; letter-spacing: -0.028em; }
.titel--mittel { font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.7rem); line-height: 1.06; font-weight: 600; }
.fliess { margin: 0; color: var(--sc-ink-soft); max-width: 52ch; line-height: 1.58; text-wrap: pretty; }
.gruen { color: var(--gruen-schrift); }

.bildzeile { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.84rem; color: var(--sc-ink-soft); }
.ki-hinweis { color: var(--sc-ink-soft); font-size: 0.84rem; }

/* Leistungsnamen als Zeile mit Haarstrich, keine Pillen. */
.leistungen { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 0; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.01em; color: var(--sc-ink); }
.leistungen span { padding-right: 14px; margin-right: 14px; border-right: 1.5px solid var(--sc-hairline-strong); }
.leistungen span:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

/* ----------------------------------------------------------------- Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 999px;
  background: var(--sc-accent); color: var(--sc-accent-ink);
  font-family: var(--sc-font-text); font-weight: 600; font-size: 1.04rem; letter-spacing: 0;
  text-decoration: none; white-space: nowrap;
  border: 2px solid var(--sc-accent);
  box-shadow: 0 1px 1px hsl(var(--sc-shadow-color) / .18), 0 6px 16px -6px hsl(224 76% 40% / .45);
  transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.knopf:active { transform: translateY(1px) scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { background: var(--akzent-tief); border-color: var(--akzent-tief); }
  .knopf--linie:hover { background: var(--sc-surface); border-color: var(--sc-ink); }
}
.knopf--linie { background: transparent; color: var(--sc-ink); border-color: var(--sc-hairline-strong); box-shadow: none; }
.knopf--klein { min-height: 44px; padding: 0 18px; font-size: 0.98rem; }
.knopf--breit { width: 100%; }

/* ------------------------------------------------------------------ Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--kopf-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: var(--sc-gutter);
  background: #FFFFFF;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--sc-ease-out);
}
.kopf.ist-unterwegs { border-bottom-color: var(--sc-hairline); }
.marke { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--sc-ink); justify-self: start; }
.marke__sj {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: var(--sc-ink); color: #fff;
  font-family: var(--sc-font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: 0.02em;
}
.marke__text { display: grid; line-height: 1.05; }
.marke__name { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: 0.01em; }
.marke__zusatz { font-size: 0.8rem; color: var(--sc-ink-soft); letter-spacing: 0.02em; }
.kopf__rundgang { justify-self: center; position: relative; }
.sprungliste { position: absolute; top: 0; left: 50%; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; list-style: none; }
.sprungliste:focus-within {
  width: auto; height: auto; overflow: visible; clip-path: none; translate: -50% 0; top: calc(100% + 6px);
  display: grid; gap: 2px; padding: 8px; border-radius: 12px; background: #FFFFFF; box-shadow: var(--sc-e2), inset 0 0 0 1px var(--sc-hairline); z-index: 90;
}
.sprungliste a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--sc-ink); text-decoration: none; font-weight: 500; }
.sprungliste a:focus-visible { background: var(--sc-surface); }
.kopf__auto { display: block; width: 132px; height: 63px; }
.kopf__wege { justify-self: end; display: flex; align-items: center; gap: 18px; }
.kopf__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; min-height: 44px; }
.kopf__tel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .kopf__tel:hover span { text-decoration: underline; text-underline-offset: 0.2em; } }

/* Daumenleiste: nur am Telefon. */
.daumen { display: none; }

/* ------------------------------------------------------------ Das Auto
   Eine Zeichnung, zwei Orte: groß im Aufmacher, klein im Kopf. Die Linien
   sind auf Weiß gebaut: tragende Kontur 2px in voller Tinte. */
.auto { width: 100%; height: auto; overflow: visible; }
.auto__koerper { fill: #FFFFFF; stroke: var(--sc-ink); stroke-width: 2.4; }
.auto__raeder rect { fill: var(--sc-ink); }
.auto__spiegel { fill: #FFFFFF; stroke: var(--sc-ink); stroke-width: 2; stroke-linejoin: round; }
.auto__linie { fill: none; stroke: color-mix(in oklab, var(--sc-ink) 38%, transparent); stroke-width: 1.5; stroke-linecap: round; }
.auto__licht { fill: color-mix(in oklab, var(--sc-ink) 16%, #fff); stroke: var(--sc-ink); stroke-width: 1.4; stroke-linejoin: round; }
.auto__glas { fill: #DCE6F5; stroke: var(--sc-ink); stroke-width: 1.6; }
.auto__dach { fill: #F2F4F7; stroke: var(--sc-ink); stroke-width: 1.6; }
.auto__weg { fill: none; stroke: color-mix(in oklab, var(--sc-ink) 26%, transparent); stroke-width: 1.6; stroke-dasharray: 3 7; stroke-linecap: round; }
.auto__spur { fill: none; stroke: var(--sc-accent); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 800; stroke-dashoffset: 800; }
.auto__geher { fill: var(--sc-accent); stroke: #fff; stroke-width: 2.5; opacity: 0; }
.auto__punkt { fill: #FFFFFF; stroke: var(--sc-accent); stroke-width: 3; transition: fill 200ms var(--sc-ease-out), r 200ms var(--sc-ease-out); }
.auto__treffer { fill: transparent; }
.auto__schild { font-family: var(--sc-font-display); font-weight: 600; font-size: 15px; fill: var(--sc-ink); letter-spacing: 0.02em; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.auto__stationen a { cursor: pointer; }
.auto__stationen a.ist-hier .auto__punkt { fill: var(--sc-accent); }
.auto__stationen a.war-da .auto__punkt { fill: color-mix(in oklab, var(--sc-accent) 30%, #fff); }
@media (hover: hover) and (pointer: fine) { .auto__stationen a:hover .auto__punkt { fill: var(--sc-accent); } }

/* Die reisende Fassung: fest positioniert, nur transform. */
.auto-reise { position: fixed; left: 0; top: 0; z-index: 70; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.auto-reise a[href] { pointer-events: auto; }
.ist-kopf .auto__schild { display: none; }
.auto-reise .auto__schild { transition: opacity 160ms linear; }
.auto-reise.ist-klein .auto__schild { opacity: 0; }
.auto-reise.ist-klein .auto__treffer { r: 34px; }

/* --------------------------------------------------------------- Annahme */
.annahme { padding-top: calc(var(--kopf-h) + clamp(28px, 6vh, 72px)); padding-bottom: clamp(56px, 10vh, 120px); }
.annahme__raster {
  max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
  min-height: calc(100svh - var(--kopf-h) - clamp(28px, 6vh, 72px) - clamp(56px, 10vh, 120px));
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 5vw, 80px);
}
.annahme__satz { display: grid; gap: 26px; justify-items: start; }
.annahme__satz .titel--gross { max-width: 11ch; }
.annahme__unter { margin: 0; font-size: clamp(1.14rem, 1rem + 0.5vw, 1.4rem); line-height: 1.45; color: var(--sc-ink-soft); max-width: 34ch; }
.annahme__ort { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--sc-ink); font-weight: 500; }
.annahme__ort span { display: inline-flex; align-items: center; gap: 8px; }
.annahme__ort svg { width: 20px; height: 20px; fill: none; stroke: var(--sc-accent); stroke-width: 1.8; }
.annahme__stellplatz {
  position: relative; padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px) clamp(20px, 3vw, 32px);
  border-radius: 28px;
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 1px), color-mix(in oklab, var(--sc-ink) 7%, transparent) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, transparent 0 47px, color-mix(in oklab, var(--sc-ink) 5%, transparent) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, color-mix(in oklab, var(--sc-ink) 5%, transparent) 47px 48px),
    var(--sc-surface);
  box-shadow: inset 0 0 0 1px var(--sc-hairline);
}
/* Die gelbe Stellplatzmarkierung am Boden: ein Rahmen, kein Deko-Streifen. */
.annahme__stellplatz::before {
  content: ""; position: absolute; inset: 14px; border-radius: 18px; pointer-events: none;
  border: 3px solid color-mix(in oklab, var(--gelb-leuchte) 70%, transparent);
  border-top-color: transparent;
}
.auto-platz { position: relative; aspect-ratio: 420 / 200; }
.annahme__legende { margin: 14px 0 0; font-size: 0.92rem; color: var(--sc-ink-soft); text-align: center; }

/* ------------------------------------------------------------- Scheibe */
.scheibe__buehne {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: calc(var(--kopf-h) + 24px) var(--sc-gutter) 32px;
  max-width: calc(var(--sc-maxw) + 2 * var(--sc-gutter)); margin-inline: auto;
}
.scheibe__text { display: grid; gap: 22px; }
.scheibe__bild { margin: 0; }
.scheibe__lagen { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--sc-e2); background: #CBD5E1; max-height: calc(100svh - var(--kopf-h) - 120px); margin-inline: auto; }
.scheibe__lagen img, .scheibe__klar { position: absolute; inset: 0; width: 100%; height: 100%; }
.scheibe__lagen img { object-fit: cover; }
.scheibe__klar { clip-path: inset(0 100% 0 0); }
/* Das Wischerblatt fährt mit der Kante der Blende. */
.scheibe__wischer {
  position: absolute; inset: -4% 0; pointer-events: none;
  transform: translate3d(calc(var(--wisch, 0) * 100%), 0, 0);
  opacity: calc(min(1, var(--wisch, 0) * 30) * min(1, (1 - var(--wisch, 0)) * 30));
}
.scheibe__wischer::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -3px; width: 7px;
  background: linear-gradient(180deg, #2A303B, #0F1217); border-radius: 4px;
  box-shadow: 2px 0 10px hsl(218 30% 10% / .35);
}
.scheibe__vorher, .scheibe__nachher { font-weight: 600; color: var(--sc-ink); }
.scheibe__vorher { color: var(--rot-schrift); }
.scheibe__nachher { color: var(--gruen-schrift); }

/* ------------------------------------------------------------ Motorraum */
.motorraum { padding-block: clamp(72px, 12vh, 150px); }
.motorraum__raster {
  max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center;
}
.motorraum__bilder { position: relative; padding-bottom: 12%; }
.motorraum__gross { margin: 0; width: 86%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--sc-e2); }
.motorraum__gross img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.motorraum__klein { margin: 0; position: absolute; right: 0; bottom: 0; width: 40%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--sc-e2); border: 6px solid #fff; }
.motorraum__klein img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.motorraum__gross { position: relative; }
/* KI-Kennzeichnung am Bild: ruhige, deckende Marke, kein Schmuck. */
.ki-marke { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 3px 8px; border-radius: 6px; background: #FFFFFF; color: #111620; font-size: 0.78rem; font-weight: 500; line-height: 1.3; box-shadow: 0 1px 2px hsl(218 30% 20% / .18); }
.motorraum__text { display: grid; gap: 22px; }
.liste { margin: 8px 0 0; display: grid; border-top: 2px solid var(--sc-ink); }
.liste > div { display: grid; grid-template-columns: 12.5rem 1fr; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--sc-hairline); }
.liste dt { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.24rem; line-height: 1.2; }
.liste dd { margin: 0; color: var(--sc-ink-soft); }

/* ------------------------------------------------------------------ Rad */
.rad__buehne { display: flex; align-items: center; padding-top: var(--kopf-h); background: var(--sc-surface); }
.schiene { gap: clamp(18px, 2vw, 28px); padding-inline: var(--sc-gutter); align-items: stretch; }
.rad__kopf-schmal { display: none; }
.schiene__kopf { flex: 0 0 clamp(260px, 26vw, 380px); display: grid; align-content: center; gap: 18px; padding-right: 12px; }
.schiene__kopf .titel { font-size: clamp(3rem, 2rem + 4vw, 5.6rem); line-height: 0.94; }
.teil {
  flex: 0 0 clamp(290px, 30vw, 420px);
  background: #FFFFFF; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--sc-e1), inset 0 0 0 1px var(--sc-hairline);
  display: flex; flex-direction: column;
}
.teil img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.teil h3 { margin: 20px 22px 6px; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.05; }
.teil p { margin: 0 22px 24px; color: var(--sc-ink-soft); line-height: 1.5; }
.teil__bild { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  /* Nur Bewegung, keine Deckkraft: der KI-Hinweis auf der Karte muss in
     jedem Bild voll lesbar sein. */
  .teil { transform: translate3d(0, calc((1 - var(--an, 1)) * 22px), 0); }
}

/* ------------------------------------------------------------------ Heck */
.heck { padding-top: clamp(40px, 6vh, 80px); padding-bottom: clamp(96px, 18vh, 200px); }
.heck__innen { max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); display: grid; gap: 28px; }
.heck .fliess { max-width: 60ch; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); }

/* ------------------------------------------------------------- Übergabe */
.uebergabe { padding-top: clamp(24px, 4vh, 48px); overflow-x: clip; }
.uebergabe__raster {
  max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start;
}
.uebergabe__text { display: grid; gap: 24px; }
.uebergabe__text .titel--gross { max-width: 12ch; font-size: clamp(2.7rem, 1.6rem + 4.2vw, 5.2rem); }
.wege { list-style: none; margin: 8px 0 0; padding: 0; border-top: 2px solid var(--sc-ink); }
.wege li { display: grid; grid-template-columns: 28px 1fr auto; gap: 4px 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--sc-hairline); }
.wege svg { width: 22px; height: 22px; fill: none; stroke: var(--sc-accent); stroke-width: 1.8; stroke-linejoin: round; }
.wege a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sc-ink); font-weight: 600; font-size: 1.2rem; text-decoration-color: var(--sc-hairline-strong); font-variant-numeric: tabular-nums; }
.wege li > span { color: var(--sc-ink-soft); }
.wege__ort, .wege__zeit { color: var(--sc-ink); font-weight: 500; line-height: 1.35; }
.wege__route { font-size: 1rem !important; color: var(--sc-accent) !important; white-space: nowrap; justify-self: start; }

.anhaenger__halter { position: relative; padding-top: 70px; justify-self: center; width: min(100%, 420px); }
.anhaenger__ring { position: absolute; top: -8px; left: 50%; width: 120px; translate: -50% 0; overflow: visible; }
.anhaenger__ring circle { fill: none; stroke: #9AA3B2; stroke-width: 5; }
.anhaenger__ring path { stroke: #7E6A4C; stroke-width: 2.2; }
.anhaenger {
  position: relative;
  padding: 44px 26px 26px;
  background: #FFFDF7;
  border-radius: 18px 18px 22px 22px;
  clip-path: polygon(22% 0, 78% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
  box-shadow: 0 2px 3px hsl(38 30% 30% / .16), 0 22px 44px -18px hsl(218 30% 20% / .38);
  border: 1px solid #E6DFCD;
  transform-origin: 50% -30px;
  transform: rotate(var(--kipp, -2.5deg));
  display: grid; gap: 16px;
}
/* clip-path schneidet auch den Schatten: der Schatten liegt deshalb auf dem Halter. */
.anhaenger__halter::after { content: ""; position: absolute; inset: 90px 8px 0; border-radius: 22px; box-shadow: 0 26px 50px -22px hsl(218 30% 20% / .42); z-index: -1; transform: rotate(var(--kipp, -2.5deg)); }
.anhaenger__loch { position: absolute; top: 14px; left: 50%; width: 18px; height: 18px; translate: -50% 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px #C9BFA6; }
.anhaenger__kopf { margin: 0; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 2px solid var(--sc-ink); font-family: var(--sc-font-display); font-weight: 700; font-size: 1.2rem; }
.anhaenger__kopf span:last-child { font-weight: 600; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sc-ink-soft); }
.anhaenger__feld { display: grid; gap: 4px; }
.anhaenger__etikett { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); font-weight: 600; }
.anhaenger__wert { margin: 0; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; min-height: 2.4em; }
.anhaenger__wert.ist-offen { font-family: var(--sc-font-text); font-weight: 400; font-size: 1rem; color: var(--sc-ink-soft); }
.anhaenger__wert .rot { color: var(--rot-schrift); }
.anhaenger__wert .gelb { color: var(--gelb-schrift); }
.anhaenger__eingabe {
  width: 100%; min-height: 46px; padding: 8px 2px;
  border: 0; border-bottom: 1.5px dashed #A99E86; background: transparent;
  font-family: "Barlow", system-ui, sans-serif; font-size: 1.12rem; color: var(--sc-ink);
}
.anhaenger__eingabe::placeholder { color: #6B6454; }
.anhaenger__eingabe:focus { outline: none; border-bottom: 2px solid var(--sc-accent); }
.anhaenger__klein { margin: 0; font-size: 0.84rem; color: var(--sc-ink-soft); line-height: 1.4; }

.fuss {
  max-width: var(--sc-maxw); margin: clamp(72px, 12vh, 140px) auto 0; padding: 28px var(--sc-gutter) calc(32px + var(--daumen-h));
  border-top: 1px solid var(--sc-hairline);
  display: grid; grid-template-columns: 1fr auto; gap: 12px 32px; font-size: 0.92rem; color: var(--sc-ink-soft);
}
.fuss p { margin: 0; }
.fuss__marke { color: var(--sc-ink); }
.fuss__recht { display: flex; gap: 20px; }
.fuss__recht a { color: var(--sc-ink); min-height: 44px; display: inline-flex; align-items: center; }
.fuss__demo { grid-column: 1 / -1; max-width: 90ch; line-height: 1.5; }
.fuss__demo a { color: inherit; }

/* ======================================================= Schmale Schirme */
@media (max-width: 1100px) {
  .kopf__tel span { display: none; }
  .kopf__tel { width: 44px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--sc-hairline-strong); }
}

@media (max-width: 860px) {
  :root { --kopf-h: 60px; --daumen-h: 68px; }
  .kopf { grid-template-columns: 1fr auto; }
  .kopf__wege { display: none; }
  .kopf__auto { width: 104px; height: 50px; }
  .marke__sj { width: 38px; height: 38px; font-size: 1.18rem; }
  .marke__zusatz { font-size: 0.74rem; }

  .daumen {
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #FFFFFF; border-top: 1px solid var(--sc-hairline);
  }
  .daumen__weg {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; border-radius: 999px; text-decoration: none; font-weight: 600;
    color: var(--sc-ink); box-shadow: inset 0 0 0 1.5px var(--sc-hairline-strong);
  }
  .daumen__weg--wa { background: var(--sc-accent); color: #fff; box-shadow: none; }
  .daumen__weg svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  .annahme { padding-top: calc(var(--kopf-h) + 24px); padding-bottom: 48px; }
  .annahme__raster { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .annahme__satz { gap: 20px; }
  .annahme__satz .titel--gross { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .knoepfe .knopf { flex: 1 1 100%; }

  .scheibe__buehne { grid-template-columns: 1fr; align-content: center; gap: 18px; padding-top: calc(var(--kopf-h) + 12px); padding-bottom: calc(var(--daumen-h) + 12px); }
  .scheibe__text { gap: 12px; }
  .scheibe__text .fliess { font-size: 1rem; }
  .scheibe__lagen { max-height: 40svh; width: 100%; }

  .motorraum__raster { grid-template-columns: 1fr; }
  .liste > div { grid-template-columns: 1fr; }

  /* Am Telefon steht die Überschrift fest über der Schiene; eine eigene
     Karte nur für den Titel wäre ein fast leerer Schirm. */
  .rad__buehne { flex-direction: column; align-items: stretch; justify-content: center; gap: 18px; padding-top: calc(var(--kopf-h) + 8px); padding-bottom: calc(var(--daumen-h) + 8px); }
  .rad__kopf-schmal { display: grid; gap: 6px; padding-inline: 16px; }
  .rad__kopf-schmal .titel { font-size: 2.6rem; line-height: 0.95; }
  .rad__kopf-schmal .fliess { font-size: 1rem; }
  .schiene { gap: 14px; padding-inline: 16px; }
  .schiene__kopf { display: none; }
  .teil { flex-basis: calc(100vw - 32px); }
  .teil img { aspect-ratio: 4 / 3; }

  .uebergabe__raster { grid-template-columns: 1fr; }
  .anhaenger__halter { width: calc(100% - 20px); }
  .wege li { grid-template-columns: 26px 1fr; }
  .wege li > :nth-child(n+3) { grid-column: 2; }
  .wege__route { grid-column: 2; }
  .fuss { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .marke__zusatz { display: none; }
  .kopf__auto { width: 92px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .anhaenger, .anhaenger__halter::after { transform: rotate(-2.5deg); }
}
