/* ==========================================================================
   stuttgart.taxi – Design-System
   Sachlich, klar, viel Weißraum. Schrift: D-DIN-PRO (Datto, SIL OFL 1.1),
   lokal gehostet – keine Verbindung zu Google Fonts o. ä.
   ========================================================================== */

/* ---------- Schrift ---------- */
@font-face { font-family: "D-DIN-PRO"; src: url("../fonts/d-din-pro-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN-PRO"; src: url("../fonts/d-din-pro-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN-PRO"; src: url("../fonts/d-din-pro-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN-PRO"; src: url("../fonts/d-din-pro-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0E0E0E;
  --ink-2: #2A2A27;
  --muted: #62615B;        /* 5,9 : 1 auf Weiß */
  --line: #D9D7CF;
  --line-2: #ECEAE3;
  --paper: #FFFFFF;
  --paper-2: #F7F5EF;      /* Hauch Hellelfenbein */
  --ivory: #E9DCC0;        /* RAL 1015 Hellelfenbein – die deutsche Taxifarbe */
  --ivory-2: #F3ECDD;
  --ivory-ink: #5B4A28;
  --yellow: #FFD400;       /* Taxischild / Stuttgarter Wappengold – nur Fokus & kleine Akzente */
  --ok: #0B6B39;
  --ok-bg: #E7F2EA;
  --err: #B3261E;
  --err-bg: #FBECEA;
  --info-bg: #EEF1F4;

  --font: "D-DIN-PRO", "DIN Next LT Pro", "DIN Next", Bahnschrift, "Segoe UI", Roboto, Arial, sans-serif;

  --r: 4px;
  --r-lg: 8px;
  --max: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --shadow-1: 0 1px 2px rgba(14, 14, 14, .06), 0 2px 8px rgba(14, 14, 14, .04);
  --shadow-2: 0 2px 4px rgba(14, 14, 14, .06), 0 12px 32px rgba(14, 14, 14, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s5) 0; }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }

.i { width: 20px; height: 20px; flex: none; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }
.i-xl { width: 32px; height: 32px; }

/* Fokus nach Behörden-Vorbild: unübersehbar, gelb + schwarz */
:focus { outline: none; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 0; box-shadow: 0 0 0 5px var(--ink); border-radius: 2px; }
a:focus-visible { background: var(--yellow); color: var(--ink); box-shadow: 0 -2px var(--yellow), 0 3px var(--ink); outline: none; text-decoration: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 12px 16px; font-weight: 600; }
.skip-link:focus { top: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5); }
.section { padding: var(--s9) 0; }
.section + .section { padding-top: 0; }
.hero + .section { padding-top: 0; }
.section--tint { background: var(--paper-2); padding: var(--s9) 0; }
.section--tint + .section { padding-top: var(--s9); }

/* Abschnittskopf im Raster: Linie, Nummer links, Titel rechts */
.section-head { border-top: 2px solid var(--ink); padding-top: var(--s4); margin-bottom: var(--s7); }
.section-head .grid { row-gap: var(--s3); }
.section-head__no { grid-column: 1 / span 3; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding-top: 6px; }
.section-head__body { grid-column: 4 / span 9; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section-head p { margin-top: var(--s4); font-size: 19px; color: var(--muted); max-width: 62ch; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.tiny { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: var(--s4); }
.stack-sm > * + * { margin-top: var(--s2); }
.row { display: flex; align-items: center; gap: var(--s3); }
.row-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }

/* ---------- Kopfbereich ---------- */
.utility { background: var(--ink); color: #fff; font-size: 14px; }
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 36px; }
.utility a { color: #fff; text-decoration: none; font-weight: 600; }
.utility a:hover { text-decoration: underline; }
.utility__claim { display: flex; align-items: center; gap: var(--s2); }
.utility__claim .i { width: 16px; height: 16px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: var(--s6); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 26px; width: auto; }
.brand__word { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.brand__word span { font-weight: 400; }
.nav { display: flex; gap: var(--s5); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: var(--s4); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid var(--ink); border-radius: var(--r);
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 17px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .15s var(--ease), transform .1s var(--ease);
  box-shadow: 0 2px 0 #000;
}
.btn:hover { background: #2B2B29; text-decoration: none; }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #000; }
.btn--lg { min-height: 60px; font-size: 19px; padding: 0 28px; }
.btn--block { width: 100%; }
.btn--secondary { background: var(--paper); color: var(--ink); box-shadow: none; }
.btn--secondary:hover { background: var(--paper-2); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--ink); box-shadow: none; padding: 0 10px; }
.btn--ghost:hover { background: var(--paper-2); }
.btn--danger { background: var(--paper); color: var(--err); border-color: var(--err); box-shadow: none; }
.btn--danger:hover { background: var(--err-bg); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn .i { width: 20px; height: 20px; }

.link-btn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.label { font-weight: 600; color: var(--ink); font-size: 16px; }
.label .opt { font-weight: 400; color: var(--muted); }
.hint { font-size: 15px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: var(--r);
  background: var(--paper); color: var(--ink); font-size: 18px;
  appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #8A8981; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0E0E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible,
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; box-shadow: inset 0 0 0 2px var(--ink); border-radius: var(--r); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-weight: 600; font-size: 15px; display: flex; gap: 6px; align-items: flex-start; }
.field-error .i { width: 18px; height: 18px; margin-top: 2px; }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fieldset + .fieldset { margin-top: var(--s7); }
.legend { font-size: 22px; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: var(--s4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s4); }
.form-grid .span-2 { grid-column: 1 / -1; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 6px 0; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 26px; height: 26px; margin: 0; border: 2px solid var(--ink); border-radius: 3px; background: var(--paper); display: grid; place-content: center; cursor: pointer; }
.check input::after { content: ""; width: 14px; height: 8px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg) translate(1px, -2px); opacity: 0; }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 3px solid var(--yellow); box-shadow: 0 0 0 5px var(--ink); }
.check__text { padding-top: 1px; }
.check__text small { display: block; color: var(--muted); font-size: 15px; }

.reveal { margin-top: var(--s3); padding-left: 38px; border-left: 4px solid var(--line); margin-left: 11px; padding-top: 4px; padding-bottom: 4px; }

/* Stepper (Personen / Gepäck) */
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--r); height: 52px; }
.stepper button { width: 48px; height: 100%; border: 0; background: none; display: grid; place-content: center; font-size: 24px; font-weight: 500; line-height: 1; }
.stepper button:hover { background: var(--paper-2); }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 40px; text-align: center; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Buchungsbox ---------- */
.booker { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.booker__main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.booker__route { padding: var(--s6); border-right: 1px solid var(--line); }
.booker__when { padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.booker__when .form-grid { grid-template-columns: 1.25fr 1fr; }
.booker__submit { margin-top: auto; }
.booker__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); padding: var(--s4) var(--s6); border-top: 1px solid var(--line); background: var(--paper-2); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.booker__foot-label { font-size: 15px; color: var(--muted); margin-right: 4px; }
.booker__error { margin: 0 var(--s6) var(--s5); }

/* Start/Ziel: ein Block, zwei Zeilen fester Höhe (Uber-Muster) */
/* Start/Ziel: ein Block mit zwei Eingabezeilen und eigener Spalte für den Tausch-Button.
   Trennstrich und Zeilen-Hervorhebung enden vor der Button-Spalte. */
.routebox { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 64px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); }
.routebox::before { content: ""; position: absolute; left: 22px; top: 44px; height: 54px; width: 2px; background-image: linear-gradient(var(--ink) 55%, transparent 55%); background-size: 2px 6px; z-index: 1; pointer-events: none; }
/* Fokus wie bei allen Feldern: gelbe Kante außen um den ganzen Block – berührt den Button nicht */
.routebox:has(.rb-input:focus) { outline: 3px solid var(--yellow); outline-offset: 0; box-shadow: inset 0 0 0 1px var(--ink); }
.rb-rows { min-width: 0; }
.rb-side { display: grid; place-items: center; }
.rb-row { position: relative; height: 70px; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; }
.rb-row + .rb-row::before { content: ""; position: absolute; top: 0; left: 46px; right: 0; height: 1px; background: var(--line); } /* beginnt rechts der gestrichelten Linie */
.rb-mk { justify-self: center; width: 14px; height: 14px; border: 4px solid var(--ink); border-radius: 50%; background: var(--paper); }
.rb-row--to .rb-mk { border: 0; background: var(--ink); border-radius: 2px; }
.rb-field { display: flex; flex-direction: column; justify-content: center; min-width: 0; height: 100%; padding-right: 12px; }
.rb-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.rb-row:focus-within .rb-label { color: var(--ink); }
.rb-input { border: 0; background: none; padding: 6px 0 0; font-size: 19px; font-weight: 500; color: var(--ink); width: 100%; min-width: 0; text-overflow: ellipsis; }
.rb-input::placeholder { color: #8A8981; font-weight: 400; }
.rb-input:focus, .rb-input:focus-visible { outline: none; box-shadow: none; }
.routebox[aria-invalid="true"] { border-color: var(--err); }
.route__swap { width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); display: grid; place-content: center; transition: transform .25s var(--ease), background-color .15s; }
.route__swap:hover { background: var(--paper-2); }
.route__swap.spin { transform: rotate(180deg); }

/* Kalender (ersetzt das native Datums-Popup) */
.dp { position: relative; }
.dp-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; font-weight: 400; }
.dp-field .dp-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-field .i { flex: none; }
.dp-field[aria-expanded="true"] { outline: 3px solid var(--yellow); outline-offset: 0; box-shadow: inset 0 0 0 2px var(--ink); }
.dp-field[aria-invalid="true"] { border-color: var(--err); }
.dp-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 45; width: 336px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 14px 14px 12px; animation: dp-in .16s var(--ease); }
.dp-pop--right { left: auto; right: 0; }
@keyframes dp-in { from { opacity: 0; transform: translateY(-4px); } }
.dp-top { display: none; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.dp-title { font-weight: 700; font-size: 18px; color: var(--ink); }
.dp-nav { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); display: grid; place-content: center; color: var(--ink); }
.dp-nav:hover:not([disabled]) { border-color: var(--ink); background: var(--paper-2); }
.dp-nav[disabled] { opacity: .3; cursor: default; }
.dp-grid { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.dp-grid th { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 0 6px; }
.dp-grid td { padding: 0; text-align: center; }
.dp-day { position: relative; width: 100%; height: 40px; border: 0; border-radius: var(--r); background: none; font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink); }
.dp-day:hover:not([disabled]) { background: var(--ivory-2); }
.dp-day[aria-current="date"]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.dp-day[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.dp-day[disabled] { color: #C9C7C0; cursor: default; }
.dp-day:focus-visible { outline: 3px solid var(--yellow); outline-offset: 0; box-shadow: 0 0 0 5px var(--ink); z-index: 1; }
.dp-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.dp-foot .chip { min-height: 32px; font-size: 14px; padding: 0 12px; }
.dp-foot .chip[disabled] { opacity: .35; cursor: default; background: var(--paper); }
.dp-backdrop { display: none; }
@keyframes dp-up { from { transform: translateY(100%); } }
@keyframes dp-fade { from { opacity: 0; } }

/* Adressprüfung bei Freitext */
.addr-check { display: grid; gap: 8px; margin-top: 12px; }
.addr-check:empty { display: none; }
.addr-note { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; padding: 10px 12px; border-left: 4px solid var(--line); background: var(--paper-2); color: var(--ink-2); }
.addr-note .i { margin-top: 3px; }
.addr-note strong { color: var(--ink); }
.addr-note--ok { background: var(--ok-bg); border-color: var(--ok); }
.addr-note--ok .i { color: var(--ok); }
.addr-note--ask { background: var(--ivory-2); border-color: var(--ivory-ink); }
.addr-note--err { background: var(--err-bg); border-color: var(--err); }
.addr-note--err .i { color: var(--err); }
.addr-cands { display: grid; gap: 6px; margin: 8px 0 6px; }
.addr-cand { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--paper); font: inherit; font-size: 15px; line-height: 1.35; color: var(--ink); }
.addr-cand:hover { background: var(--paper-2); }
.addr-cand .i { margin-top: 2px; }
.addr-note .addr-fix { display: flex; width: fit-content; min-height: 40px; padding: 0 14px; font-size: 15px; margin-top: 10px; }

/* Preis direkt in der Buchungsbox */
.quote { border-top: 1px solid var(--line); padding-top: var(--s4); min-height: 112px; }
.quote__label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.quote__row { display: flex; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; min-height: 44px; }
.quote__amount { font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.quote__sub { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.quote--empty .quote__amount { color: #BEBCB4; }
.quote--empty .quote__sub { color: var(--muted); }
.quote .skeleton { height: 36px; width: 120px; }
.combo { position: static; }
.listbox { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-2); max-height: 360px; overflow-y: auto; padding: 6px 0; list-style: none; }
.listbox__group { padding: 10px 16px 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.option { display: flex; gap: 12px; align-items: flex-start; padding: 10px 16px; cursor: pointer; }
.option .i { margin-top: 2px; color: var(--ink); }
.option__name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.option__sub { font-size: 15px; color: var(--muted); line-height: 1.3; }
.option[aria-selected="true"], .option:hover { background: var(--ivory-2); }
.option[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--ink); }
.listbox__empty, .listbox__loading { padding: 12px 16px; color: var(--muted); font-size: 15px; }
.listbox__attr { padding: 8px 16px 4px; margin-top: 4px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted); text-align: right; }

.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 600; color: var(--ink); }
.chip:hover { background: var(--ivory-2); }
.chip .i { width: 16px; height: 16px; }

/* ---------- Hinweise ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: var(--s4); border-left: 4px solid var(--ink); background: var(--info-bg); }
.notice .i { margin-top: 2px; }
.notice--ok { background: var(--ok-bg); border-color: var(--ok); }
.notice--ok .i { color: var(--ok); }
.notice--err { background: var(--err-bg); border-color: var(--err); color: var(--ink); }
.notice--err .i { color: var(--err); }
.notice--ivory { background: var(--ivory-2); border-color: var(--ivory-ink); }
.notice strong { color: var(--ink); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.badge .i { width: 14px; height: 14px; }
.badge--ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge--ivory { background: var(--ivory); color: var(--ivory-ink); border-color: transparent; }
.badge--yellow { background: var(--yellow); color: var(--ink); border-color: transparent; }

/* ---------- Startseite ---------- */
.hero { padding: var(--s8) 0 var(--s9); }
.hero__intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5); margin-bottom: var(--s7); align-items: end; }
.hero__text { grid-column: 1 / span 9; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.022em; margin-top: var(--s4); }
.hero .lead { margin-top: var(--s5); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s6); }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.35; color: var(--ink-2); }
.facts .i { color: var(--ink); margin-top: 1px; }
.facts strong { display: block; color: var(--ink); }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { padding: var(--s6) var(--s5) var(--s6) 0; }
.pillar + .pillar { padding-left: var(--s5); border-left: 1px solid var(--line); }
.pillar__icon { width: 48px; height: 48px; display: grid; place-content: center; background: var(--ivory); border-radius: 2px; margin-bottom: var(--s4); color: var(--ink); }
.pillar h3 { font-size: 20px; margin-bottom: var(--s2); }
.pillar p { color: var(--muted); font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.step { padding: 0 var(--s6) 0 0; }
.step + .step { padding-left: var(--s6); border-left: 1px solid var(--line); }
.step__no { font-size: 64px; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 22px; margin: var(--s4) 0 var(--s2); }
.step p { color: var(--muted); }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5); row-gap: var(--s7); align-items: start; }
.split__a { grid-column: 1 / span 6; }
.split__b { grid-column: 8 / span 5; }
.checklist { list-style: none; display: grid; gap: var(--s4); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; }
.checklist .i { margin-top: 2px; }
.checklist strong { color: var(--ink); display: block; }
.checklist span { color: var(--muted); }

/* Namensschild (Abholung am Flughafen) */
.namesign { background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 18px 22px 20px; box-shadow: var(--shadow-2); max-width: 360px; transform: rotate(-1.5deg); }
.namesign__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.namesign__top img { height: 18px; }
.namesign__top span { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.namesign__name { font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1.05; padding-top: 14px; letter-spacing: -0.01em; word-break: break-word; }
.namesign__flight { margin-top: 6px; font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }

.meet { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); background: var(--paper-2); }
.meet__steps { list-style: none; display: grid; gap: var(--s5); counter-reset: meet; }
.meet__steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; position: relative; }
.meet__steps li::before { counter-increment: meet; content: counter(meet); width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: grid; place-content: center; font-size: 16px; }
.meet__steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: calc(-1 * var(--s5) + 4px); width: 2px; background: var(--line); }
.meet__steps strong { display: block; color: var(--ink); }
.meet__steps span { color: var(--muted); font-size: 16px; }
.meet__sign { margin-top: var(--s5); padding-left: 50px; }

.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.place-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); background: var(--paper); display: flex; flex-direction: column; gap: var(--s2); }
.place-card h3 { font-size: 20px; }
.place-card p { color: var(--muted); font-size: 16px; flex: 1; }
.place-card .link-btn { align-self: flex-start; margin-top: var(--s2); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.fleet-card { border-top: 2px solid var(--ink); padding-top: var(--s5); }
.fleet-card .car { height: 88px; margin-bottom: var(--s4); }
.fleet-card h3 { font-size: 22px; }
.fleet-card p { color: var(--muted); margin-top: 6px; }
.specs { display: flex; gap: var(--s4); margin-top: var(--s4); flex-wrap: wrap; }
.spec { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); font-size: 16px; }
.spec .i { width: 18px; height: 18px; }

/* Fahrzeug-Illustration */
.car { width: 100%; height: auto; }
.car .body { fill: var(--ivory); stroke: var(--ink); stroke-width: 1.75; stroke-linejoin: round; }
.car .win { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.car .detail { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.car .tyre { fill: var(--ink); }
.car .hub { fill: #CFCBC0; }
.car .sign { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.5; }
.car .ground { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }

/* Bewertungen */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s5); flex-wrap: wrap; }
.score { display: flex; align-items: center; gap: var(--s4); }
.score__num { font-size: 56px; font-weight: 700; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars .i { width: 18px; height: 18px; }
.stars .on { fill: currentColor; }
.stars .off { color: var(--line); fill: currentColor; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.review { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); background: var(--paper); }
.review__text { color: var(--ink); font-size: 18px; line-height: 1.5; flex: 1; }
.review__meta { display: flex; align-items: center; gap: 12px; padding-top: var(--s3); border-top: 1px solid var(--line-2); }
.review__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ivory); color: var(--ivory-ink); display: grid; place-content: center; font-weight: 700; font-size: 15px; flex: none; }
.review__who { font-weight: 600; color: var(--ink); line-height: 1.2; }
.review__trip { font-size: 14px; color: var(--muted); line-height: 1.3; }
.review-policy { margin-top: var(--s5); border-top: 1px solid var(--line); }
.review-policy summary { cursor: pointer; padding: var(--s4) 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 8px; }
.review-policy summary::-webkit-details-marker { display: none; }
.review-policy p { color: var(--muted); max-width: 75ch; padding-bottom: var(--s4); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s5) 48px var(--s5) 0; position: relative; font-size: 20px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background:
  linear-gradient(var(--ink), var(--ink)) center / 18px 2px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center / 2px 18px no-repeat; transition: transform .2s var(--ease); }
.faq details.is-open summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink-2); }
.faq .answer { padding: 0 48px var(--s5) 0; color: var(--ink-2); max-width: 72ch; }
.faq .answer p + p { margin-top: var(--s3); }

.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: var(--s7); display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta-band p { color: #C9C7C0; margin-top: 8px; }
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: none; }
.cta-band .btn:hover { background: var(--ivory-2); }
.cta-band .btn--secondary { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn--secondary:hover { background: #222; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--ink); color: #C9C7C0; padding: var(--s8) 0 var(--s6); font-size: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: var(--s6); }
.footer-brand img { height: 32px; width: auto; margin-bottom: var(--s4); }
.footer-brand p { max-width: 36ch; }
.footer-col h3 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--s4); }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid #2E2E2B; display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; font-size: 14px; }
.footer-seal { display: inline-flex; gap: 10px; align-items: center; margin-top: var(--s5); padding: 10px 12px; border: 1px solid #3A3A36; border-radius: var(--r); color: #fff; font-size: 14px; line-height: 1.3; }

/* ---------- Buchungsstrecke ---------- */
.flow-header .container { gap: var(--s5); }
.progress { display: flex; align-items: center; gap: 4px; margin: 0 auto; list-style: none; counter-reset: p; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--muted); counter-increment: p; }
.progress li::before { content: counter(p); width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-content: center; font-size: 14px; }
.progress li + li::after { order: -1; content: ""; width: 32px; height: 2px; background: var(--line); margin-right: 4px; }
.progress li[aria-current="step"] { color: var(--ink); }
.progress li[aria-current="step"]::before { background: var(--ink); color: #fff; border-color: var(--ink); }
.progress li.done { color: var(--ink); }
.progress li.done::before { content: "✓"; content: ""; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--ink); }

.flow { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); padding: var(--s7) 0 var(--s9); align-items: start; }
.flow__main { min-width: 0; }
.flow__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.flow h1 { font-size: clamp(30px, 3.4vw, 42px); }
.flow__intro { margin: var(--s3) 0 var(--s6); color: var(--muted); font-size: 18px; }
.panel[hidden] { display: none; }
.panel-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }

.trip-bar { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: var(--s6); background: var(--paper-2); }
.trip-bar__route { flex: 1; min-width: 0; display: grid; gap: 2px; }
.trip-bar__route div { display: flex; gap: 10px; align-items: center; min-width: 0; font-weight: 600; color: var(--ink); }
.trip-bar__route span.t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-bar__when { font-size: 15px; color: var(--muted); }
.dot { width: 10px; height: 10px; border: 3px solid var(--ink); border-radius: 50%; flex: none; }
.sq { width: 10px; height: 10px; background: var(--ink); border-radius: 1px; flex: none; }

.pax { display: flex; gap: var(--s6); flex-wrap: wrap; margin-bottom: var(--s5); }
.pax .field { flex-direction: row; align-items: center; gap: var(--s3); }

.vehicles { display: grid; gap: var(--s3); }
.vehicle { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5) var(--s4) var(--s4); border: 2px solid var(--line); border-radius: var(--r-lg); cursor: pointer; background: var(--paper); transition: border-color .15s, background-color .15s; }
.vehicle:hover { border-color: #9C9A92; }
.vehicle input { position: absolute; opacity: 0; pointer-events: none; }
.vehicle:has(input:checked) { border-color: var(--ink); background: var(--ivory-2); box-shadow: inset 0 0 0 1px var(--ink); }
.vehicle:has(input:focus-visible) { outline: 3px solid var(--yellow); box-shadow: 0 0 0 5px var(--ink); }
.vehicle.is-disabled { cursor: not-allowed; opacity: .5; background: var(--paper-2); }
.vehicle__name { font-size: 20px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vehicle__desc { color: var(--muted); font-size: 15px; margin-top: 2px; }
.vehicle .specs { margin-top: 8px; gap: var(--s3); }
.vehicle .spec { font-size: 15px; }
.vehicle__price { text-align: right; }
.vehicle__amount { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vehicle__ptype { font-size: 13px; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.vehicle__why { font-size: 14px; color: var(--err); font-weight: 600; margin-top: 6px; }
.skeleton { display: inline-block; height: 1em; width: 72px; background: linear-gradient(90deg, var(--line-2), #F6F5F1, var(--line-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; border-radius: 3px; vertical-align: middle; }
@keyframes shimmer { to { background-position: -200% 0; } }

.price-note { margin-top: var(--s5); }

/* Zusammenfassung rechts */
.summary { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.summary__map { height: 260px; background: var(--line-2); position: relative; }
.summary__body { padding: var(--s5); display: grid; gap: var(--s4); }
.summary h2 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.legs { display: grid; gap: 0; position: relative; }
.leg { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; padding: 4px 0; }
.leg .dot, .leg .sq { margin-top: 7px; }
.leg__name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.leg__sub { font-size: 14px; color: var(--muted); line-height: 1.3; }
.legs::before { content: ""; position: absolute; left: 4px; top: 22px; bottom: 26px; width: 2px; background-image: linear-gradient(var(--ink) 50%, transparent 50%); background-size: 2px 5px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s4); font-size: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; }
.total { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); padding-top: var(--s4); border-top: 2px solid var(--ink); }
.total__label { font-weight: 600; color: var(--ink); }
.total__label small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.total__amount { font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-trust { list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.mini-trust li { display: flex; gap: 8px; align-items: flex-start; }
.mini-trust .i { width: 18px; height: 18px; margin-top: 2px; }

.mobile-bar { display: none; }

/* Bezahlen – reduziert nach Stripe-Checkout-Vorbild */
.pay { max-width: 520px; }
.express { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.xbtn { height: 52px; border-radius: 6px; border: 0; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.xbtn:hover { background: #262626; }
.xbtn svg { height: 22px; width: auto; }
.divider { display: flex; align-items: center; gap: var(--s3); color: var(--muted); font-size: 15px; margin: var(--s5) 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.methods { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.method { display: block; border-bottom: 1px solid var(--line); }
.method:last-child { border-bottom: 0; }
.method > label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
.method input[type="radio"] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; margin: 0; flex: none; display: grid; place-content: center; }
.method input[type="radio"]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); opacity: 0; }
.method input[type="radio"]:checked::after { opacity: 1; }
.method input[type="radio"]:focus-visible { outline: 3px solid var(--yellow); box-shadow: 0 0 0 5px var(--ink); }
.method__name { font-weight: 600; color: var(--ink); flex: 1; }
.method__logos { display: flex; gap: 6px; }
.cardmark { height: 22px; min-width: 34px; padding: 0 5px; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; font-weight: 700; display: grid; place-content: center; letter-spacing: .02em; color: var(--ink-2); background: var(--paper); }
.method__detail { padding: 0 18px 18px 54px; color: var(--muted); font-size: 15px; }
.method:has(input:checked) { background: var(--paper-2); }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; margin-top: var(--s4); }
.secure .i { width: 16px; height: 16px; }
.legal-small { font-size: 14px; color: var(--muted); margin-top: var(--s4); line-height: 1.45; }

/* ---------- Fahrt / Live-Tracking ---------- */
.ride { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: calc(100vh - var(--header-h)); }
.ride__panel { padding: var(--s6) var(--s6) var(--s8); border-right: 1px solid var(--line); min-width: 0; }
.ride__map { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); background: var(--line-2); }
.ride__map > div { position: absolute; inset: 0; }
.ride h1 { font-size: clamp(28px, 3vw, 38px); }
.ride-status { display: flex; gap: var(--s4); align-items: flex-start; }
.ride-status__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-content: center; background: var(--ok-bg); color: var(--ok); flex: none; }
.ride-status__icon .i { width: 26px; height: 26px; }
.booking-no { font-size: 15px; color: var(--muted); margin-top: 6px; }
.booking-no strong { color: var(--ink); letter-spacing: .06em; font-variant-numeric: tabular-nums; }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: var(--s6) 0 var(--s2); }
.timeline li { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 12px; position: relative; line-height: 1.25; }
.timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--line); }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--ink); }
.timeline li.now { color: var(--ink); }
.timeline li.now::before { background: linear-gradient(90deg, var(--ink) 50%, var(--line) 50%); background-size: 200% 100%; animation: tl 1.6s linear infinite; }
@keyframes tl { from { background-position: 100% 0; } to { background-position: 0 0; } }

.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); background: var(--paper); }
.card + .card { margin-top: var(--s4); }
.card__title { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: var(--s4); }
.eta { display: flex; align-items: baseline; gap: 10px; }
.eta__num { font-size: 64px; font-weight: 700; color: var(--ink); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.eta__unit { font-size: 22px; font-weight: 600; color: var(--ink); }
.eta__bar { height: 6px; background: var(--line-2); border-radius: 3px; margin-top: var(--s4); overflow: hidden; }
.eta__bar span { display: block; height: 100%; background: var(--ink); width: 0; transition: width .6s linear; }

.driver { display: grid; grid-template-columns: 88px 1fr; gap: var(--s4); align-items: center; }
.avatar { width: 88px; height: 88px; border-radius: 6px; overflow: hidden; background: var(--ivory); position: relative; }
.avatar img, .avatar svg { width: 100%; height: 100%; object-fit: cover; }
.driver__name { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.driver__meta { color: var(--muted); font-size: 15px; margin-top: 4px; }
.vehicle-line { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line-2); }
.vehicle-line__car { font-weight: 600; color: var(--ink); }
.vehicle-line__car small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-top: var(--s4); }
.actions .btn { min-height: 46px; padding: 0 10px; font-size: 16px; }

/* Deutsches Kfz-Kennzeichen (DIN-Schrift passt hier historisch) */
.plate { display: inline-flex; align-items: stretch; height: 34px; border: 2px solid var(--ink); border-radius: 4px; background: #fff; overflow: hidden; font-weight: 700; color: var(--ink); }
.plate__eu { width: 18px; background: #0B3D91; color: #fff; font-size: 10px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 3px; }
.plate__eu::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px dotted #FFD400; margin-bottom: 3px; }
.plate__txt { padding: 0 10px; display: flex; align-items: center; gap: 6px; font-size: 22px; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.plate__seal { width: 9px; height: 18px; display: flex; flex-direction: column; gap: 2px; }
.plate__seal::before, .plate__seal::after { content: ""; width: 9px; height: 8px; border-radius: 50%; border: 1px solid #999; }

.meet-card .meet__steps li span { font-size: 15px; }
.meet-card .namesign { transform: none; max-width: 100%; margin: var(--s3) 0 0; box-shadow: var(--shadow-1); }
.meet-card .namesign__name { font-size: 34px; }

.demo-ctrl { margin-top: var(--s6); padding: var(--s4); border: 1px dashed #A8A69E; border-radius: var(--r-lg); background: var(--paper); }
.demo-ctrl__title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3); display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; flex-wrap: wrap; }
.seg button { border: 0; background: var(--paper); padding: 8px 14px; font-weight: 600; font-size: 15px; }
.seg button + button { border-left: 2px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Kartenmarker (Leaflet) */
.leaflet-container { font-family: var(--font); background: #ECEBE7; }
.leaflet-tile-pane { filter: grayscale(1) contrast(.9) brightness(1.06); }
.leaflet-control-attribution { font-size: 11px; }
.mk { display: grid; place-content: center; }
.mk-from { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.mk-to { width: 20px; height: 20px; background: var(--ink); border: 3px solid #fff; border-radius: 2px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.mk-car { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); display: grid; place-content: center; }
.mk-car .i { width: 20px; height: 20px; }
.mk-label { background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; padding: 6px 10px; border-radius: 4px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--muted); font-size: 15px; padding: var(--s5); }

/* ---------- Rechtstexte ---------- */
.legal { padding: var(--s8) 0 var(--s9); }
.legal .grid > aside { grid-column: 1 / span 3; }
.legal .grid > article { grid-column: 4 / span 8; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: var(--s5); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; margin: var(--s7) 0 var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.prose h3 { font-size: 19px; margin: var(--s5) 0 var(--s2); }
.prose p, .prose ul, .prose address { margin: 0 0 var(--s3); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 4px; }
.prose address { font-style: normal; }
.ph { background: #FFF3B0; padding: 0 3px; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); list-style: none; display: grid; gap: 8px; font-size: 15px; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); text-decoration: underline; }

/* Bewertung abgeben */
.rate { display: flex; gap: 6px; }
.rate button { width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); display: grid; place-content: center; color: var(--ink); }
.rate button .i { width: 26px; height: 26px; }
.rate button[aria-checked="true"], .rate button.lit { background: var(--ink); color: #fff; }
.rate button[aria-checked="true"] .i, .rate button.lit .i { fill: currentColor; }

/* Vorschau-Hinweis (nur im Demo-Modus) – schmaler Streifen, verdeckt nichts */
.demo-strip { background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-align: center; padding: 6px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 1px solid var(--ink); }
.demo-strip .i { width: 15px; height: 15px; }

/* Cookie-Banner – ruhig, nicht blockierend; beide Entscheidungen gleich gewichtet */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--paper); border-top: 2px solid var(--ink); box-shadow: 0 -10px 32px rgba(14, 14, 14, .12); padding: var(--s5) 0; animation: consent-in .3s var(--ease); }
@keyframes consent-in { from { transform: translateY(16px); opacity: 0; } }
.consent__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4) var(--s7); align-items: center; }
.consent h2 { font-size: 20px; margin-bottom: 6px; }
.consent p { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 82ch; }
.consent__prefs { border: 0; padding: 0; margin: var(--s4) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2) var(--s5); }
.consent__prefs .check__text { font-weight: 600; color: var(--ink); }
.consent__prefs .check__text small { font-weight: 400; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 360px; }
.consent__actions .link-btn { grid-column: 1 / -1; justify-self: center; padding-top: 4px; }
.consent__actions [data-choice="save"] { grid-column: 1 / -1; }
.check input:disabled { opacity: .45; cursor: not-allowed; }
.site-footer .footer-link { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; text-align: left; }
.site-footer .footer-link:hover { text-decoration: underline; }

/* Dialog */
dialog { border: 2px solid var(--ink); border-radius: var(--r-lg); padding: var(--s6); max-width: 480px; width: calc(100% - 32px); box-shadow: var(--shadow-2); }
dialog::backdrop { background: rgba(14, 14, 14, .45); }
dialog h2 { font-size: 24px; margin-bottom: var(--s3); }
dialog .row { margin-top: var(--s5); justify-content: flex-end; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 600; z-index: 80; transition: opacity .2s, transform .2s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .consent__inner { grid-template-columns: 1fr; }
  .consent__actions { min-width: 0; }
  :root { --gutter: 20px; }
  .section, .section--tint { padding: var(--s8) 0; }
  .section--tint + .section { padding-top: var(--s8); }
  .hero { padding: var(--s6) 0 var(--s8); }
  .hero__text { grid-column: 1 / -1; }
  .booker__main { grid-template-columns: 1fr; }
  .booker__route { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head__no, .section-head__body { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: var(--s6); }
  .step, .step + .step { padding: 0; border-left: 0; }
  .step + .step { padding-top: var(--s6); border-top: 1px solid var(--line); }
  .split__a, .split__b { grid-column: 1 / -1; }
  .places, .fleet, .reviews { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: var(--s5); padding-top: var(--s5); padding-bottom: 140px; }
  .flow__aside { position: static; order: -1; }
  .summary__map { height: 170px; }
  .summary [data-desktop] { display: none; }
  .summary__body { padding: var(--s4) var(--s4) var(--s3); gap: var(--s3); }
  body:not([data-step="3"]) .summary [data-kv], body:not([data-step="3"]) .summary [data-total] { display: none; }
  .progress li span { display: none; }
  .progress li + li::after { width: 16px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--paper); border-top: 1px solid var(--ink); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); align-items: center; gap: var(--s4); }
  .mobile-bar__price { flex: 1; min-width: 0; }
  .mobile-bar__amount { font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
  .mobile-bar__label { font-size: 13px; color: var(--muted); }
  .panel-actions .btn-next { display: none; }
  .ride { grid-template-columns: 1fr; }
  .ride__map { position: relative; top: 0; height: 46vh; order: -1; }
  .ride__panel { border-right: 0; padding: var(--s5) var(--gutter) var(--s8); }
  .legal .grid > aside { display: none; }
  .legal .grid > article { grid-column: 1 / -1; }
  .header-phone span { display: none; }
}

@media (max-width: 640px) {
  /* Kalender als Blatt von unten */
  .dp-backdrop { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(14, 14, 14, .42); animation: dp-fade .2s ease; }
  .dp-pop { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; z-index: 95; border-width: 2px 0 0; border-radius: 16px 16px 0 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); animation: dp-up .24s var(--ease); }
  .dp-top { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: 17px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line-2); }
  .dp-close { width: 36px; height: 36px; border: 0; background: var(--paper-2); border-radius: 50%; display: grid; place-content: center; color: var(--ink); }
  .dp-day { height: 46px; font-size: 17px; }
  .dp-foot .chip { flex: 1; justify-content: center; min-height: 40px; }
  .consent { padding: var(--s4) 0 calc(var(--s4) + env(safe-area-inset-bottom)); max-height: 85vh; overflow-y: auto; }
  .consent__inner { grid-template-columns: 1fr; }
  .consent__prefs { grid-template-columns: 1fr; }
  .consent__actions { min-width: 0; }
  :root { --gutter: 16px; --header-h: 64px; }
  body { font-size: 16px; }
  .utility__claim span.long { display: none; }
  .brand__word { font-size: 19px; }
  .brand img { height: 22px; }
  .hero h1 { font-size: 36px; }
  .hero__intro { margin-bottom: var(--s5); }
  .lead { font-size: 18px; }
  .booker__route, .booker__when { padding: var(--s5) var(--s4); }
  .booker__foot { padding: var(--s3) var(--s4); }
  .booker__error { margin: 0 var(--s4) var(--s4); }
  .booker__when .form-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; gap: var(--s3); }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: var(--s5) 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .vehicle { grid-template-columns: 76px minmax(0, 1fr); padding: var(--s3); gap: var(--s3); }
  .vehicle__price { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .vehicle__amount { font-size: 22px; }
  .vehicle .specs { display: none; }
  .express { grid-template-columns: 1fr; }
  .cta-band { padding: var(--s6) var(--s5); }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline li { font-size: 12px; }
  .eta__num { font-size: 52px; }
  .namesign__name { font-size: 32px; }
  .header-cta .btn { display: none; }
  .flow-header .brand__word { display: none; }
  .flow-header .container { gap: var(--s3); }
  .routebox { grid-template-columns: minmax(0, 1fr) 54px; }
  .route__swap { width: 40px; height: 40px; }
  .quote__amount { font-size: 34px; }
  .rb-input { font-size: 18px; }
  .input, .select { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===== Unterseiten (SEO) =====
   Flughafen, Messe, Fernfahrten: Brotkrümel, Preistabellen, Weiter-Links. */
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

.crumbs { margin-bottom: var(--s5); font-size: 15px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

.hero__switch { margin-top: var(--s4); color: var(--muted); }
.hero__switch .link-btn { font-weight: 600; margin-left: 4px; }

.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.more-link .i { transition: transform .2s var(--ease); }
.more-link:hover .i { transform: translateX(3px); }

.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 18px; border-top: 2px solid var(--ink); }
.price-table th, .price-table td { text-align: left; padding: var(--s4) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: var(--s3); padding-bottom: var(--s3); }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table .num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table td.num { font-weight: 700; color: var(--ink); }
.price-table small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }

.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s7); }

@media (max-width: 960px) {
  .checklist--cols { grid-template-columns: 1fr; gap: var(--s4); }
  .table-wrap { grid-column: 1 / -1 !important; }
}
@media (max-width: 640px) {
  .price-table { font-size: 16px; }
  .price-table td:not(.num) { font-size: 15px; color: var(--muted); }
}
