/* Bottom-Sheet-Basis: nur noch test.html etc. — index lädt dieses File nicht (keine Sheet-Linie auf der Karte). */
:root {
  /* Design-Tokens (Mockup) */
  --ct24-primary: #1f2a44;
  --ct24-accent: #f5b300;
  --ct24-page-bg: #f4f6f9;
  /* Taxi-UI Referenz (grün / weiß — statisches HTML-Mockup) */
  --ct24-taxi-ui-green: #37a800;
  --ct24-taxi-ui-green-soft: #edf5eb;
  --ct24-taxi-ui-border: #ececec;
  --ct24-taxi-ui-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
  --ct24-taxi-ui-shadow-header: 0 8px 18px rgba(0, 0, 0, 0.15);
  /* Kopfzeile: Cashback/Burger + Gast-ID — gleiche Flächenfarbe wie aktiver „Jetzt buchen“-Tab */
  --ct24-header-cta-bg: var(--navy);
  /* Primärfarbe — an Mockup angeglichen */
  --navy: #1f2a44;
  --navy-dark: #121a2e;
  --surface: #ffffff;
  --muted: #6b7280;
  --muted-tab: #8b94a8;
  --border: #e8eaee;
  --green: #22c55e;
  --red: #ef4444;
  --sheet-bg: #ffffff;
  --shadow: 0 10px 36px rgba(21, 34, 56, 0.14);
  --shadow-soft: 0 4px 18px rgba(21, 34, 56, 0.08);
  /* Einheitliche Abstände (kompakt wie native Apps) */
  --gap-xs: 4px;
  --gap-sm: 6px;
  --gap-md: 10px;
  /* Abhol- ↔ Zielzeile (Adresskarte); auf dem Index ggf. überschrieben */
  --ct24-loc-abhol-ziel-pad: 16px;
  /* Burger neben weiteren Header-Icons (falls ergänzt) */
  --ct24-header-icon-inline-gap: 10px;
  /* „Jetzt buchen“ + Fahrpreis-Platzhalter + Kopfzeilen-Tabs (aktiv wie CTA) */
  --ct24-book-now-font-size: 16px;
  --ct24-book-now-font-size-active: 18px;
  --ct24-book-now-tab-min-h: 50px;
  --ct24-book-now-tab-pad-y: 14px;
  --ct24-book-now-tab-pad-x: 16px;
  /* Header responsive */
  --ct24-header-gap: 12px;
  --ct24-header-icon-size: 46px;
  --ct24-cashback-font-size: 13px;
  --ct24-cashback-pad-y: 10px;
  --ct24-cashback-pad-x: 14px;
  /* Header-Kacheln: wie flaches Wallet — ohne weißen Rand / Außenschatten */
  --ct24-header-chip-border: none;
  --ct24-header-chip-radius: 12px;
  --ct24-header-chip-bg: var(--ct24-header-cta-bg);
  --ct24-header-chip-shadow: none;
  --ct24-header-chip-font-size: var(--ct24-cashback-font-size);
  --ct24-header-chip-font-weight: 600;
  /* Index-Kopfzeile: eine Zeile Typo (wie Cashback-Betrag) */
  --ct24-header-text-line-height: 1.2;
  --ct24-header-text-tracking: -0.02em;
  /* Fahrzeug-Kategorien (Mockup: blau / grau / orange) */
  --recenter-above-sheet: 300px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
}
/* /test — gleiche App, nur markierte Buchungen */
body.ct24-booking-test-page::before {
  content: 'TEST · keine Live-Buchung';
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #f59e0b;
  color: #0f172a;
  padding: 5px 8px;
  position: relative;
  z-index: 25;
}
/* Standard: Browser-Zoom möglich. Index (body[data-index-nav-tab]): nur Karte zoombar — siehe unten. */
body {
  touch-action: auto;
}

/*
 * Index-Fahrgast: Viewport max-scale=1 — Pinch-Zoom nur in der Map (Mapbox fängt Gesten mit touch-action: none).
 * Body pan-x/pan-y: Scroll in Sheets/Listen ohne Seiten-Zoom; UI bleibt „fix“ skaliert.
 */
body[data-index-nav-tab] {
  touch-action: pan-x pan-y;
}
body[data-index-nav-tab] .ct24-map-shell #map {
  touch-action: none;
}
/* Index-Karte: dezenter Mint-Hintergrund wie statisches Taxi-Mockup (sichtbar bei Overscroll/Rändern) */
body[data-index-nav-tab]:not(.ct24-is-buchung-page) {
  background-color: #eef5ef;
}

/* Dev-Modus: IDs als Overlay anzeigen (nur per JS aktivierbar) */
.ct24-dev-ids-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.ct24-dev-ids-tag {
  position: fixed;
  max-width: 62vw;
  padding: 2px 6px;
  border-radius: 6px;
  font: 700 11px/1.25 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.01em;
  color: #0b1220;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.25);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translate3d(0, 0, 0);
}

/* Dev-Guides: zeigt Boxen/Padding/Margins (nur wenn body Klasse gesetzt) */
body.ct24-dev-guides * {
  outline: 1px dashed rgba(244, 63, 94, 0.35);
  outline-offset: -1px;
}
body.ct24-dev-guides .bottom-sheet,
body.ct24-dev-guides .app-header,
body.ct24-dev-guides .location-card,
body.ct24-dev-guides .booking-driver-top-sheet,
body.ct24-dev-guides #sheetBody {
  outline: 2px solid rgba(59, 130, 246, 0.55);
  outline-offset: -2px;
}
body.ct24-dev-guides .ct24-dev-inspector {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 10000;
  pointer-events: none;
  display: none;
}
body.ct24-dev-guides .ct24-dev-inspector__panel {
  pointer-events: none;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font: 700 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
body.ct24-dev-guides .ct24-dev-inspector__k {
  opacity: 0.8;
  font-weight: 650;
}
body.ct24-dev-guides .ct24-dev-inspector.is-on {
  display: block;
}

/* Dev-Control Panel (toggles) */
.ct24-dev-ctrl {
  position: fixed;
  left: 10px;
  top: calc(10px + env(safe-area-inset-top));
  z-index: 10001;
  pointer-events: auto;
  display: none;
}
.ct24-dev-ctrl.is-on {
  display: block;
}
.ct24-dev-ctrl__panel {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ct24-dev-ctrl__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ct24-dev-ctrl__btn.is-active {
  background: rgba(59, 130, 246, 0.28);
  border-color: rgba(59, 130, 246, 0.55);
}
.ct24-dev-ctrl__btn:active {
  transform: scale(0.98);
}
/* Karten-Shell: Mapbox-Container + optionales Ambiente-Intro (nur über der Karte) */
.ct24-map-shell {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ct24-map-shell #map {
  touch-action: pan-x pan-y;
  background: #dce2e9;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--ct24-page-bg);
  color: #111827;
  -webkit-font-smoothing: antialiased;
}
/* Karten-Dimmung bei geöffnetem Sheet (Mockup: opacity skaliert mit Sheet-Höhe) */
.ct24-map-dim {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
/* Nur wenn Sheet merklich auf ist: antippen schließt (JS setzt Klasse) */
.ct24-map-dim.ct24-map-dim--sheet-open {
  pointer-events: none;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
body.ct24-is-buchung-page .ct24-map-dim {
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .ct24-map-dim {
    transition: none;
  }
}
/* Glass (Mockup: blur 18px, rgba 0.88) */
.ct24-glass {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
/* Leicht transparenteres Glas für eingebettete Ablauf-Karten (Fahrt-Stack) */
.ct24-glass--soft {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.09);
}
.service-tabs.ct24-glass {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
}
.location-card.ct24-glass {
  background: rgba(255, 255, 255, 0.88);
}
/* Buchungsleiste unten: gleicher Blur/Hintergrund wie .ct24-glass, Schatten nach oben */
.bottom-sheet.ct24-glass {
  transform: translate3d(-50%, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: none;
}
/* Karte (Mapbox) */
/* Top bar — Fahrtauswahl, Wallet/Cashback, Burger */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: #fff;
  padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 4px max(12px, env(safe-area-inset-left));
  /* Wichtig: Header muss klickbar sein (Cashback/Burger). */
  pointer-events: auto;
}
.app-header__shell {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  pointer-events: auto;
}
/* Header top-menu: 1:1 nach Nutzer-Snippet */
.app-header--index-top .top-menu {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
  padding: 0 0 2px;
}
.app-header--index-top .top-menu .menu-btn {
  height: 44px;
  border: none;
  border-radius: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(to bottom, #57b400, #3e9400);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
}
.app-header--index-top .top-menu .left-btn {
  min-width: 230px;
  flex: 1 1 auto;
  justify-content: space-between;
  padding-right: 12px;
}
.app-header--index-top .top-menu .index-trip-type-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
.app-header--index-top .top-menu .left-btn .index-trip-type-toggle__stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  min-width: 0;
  margin-right: auto;
}
.app-header--index-top .top-menu .left-btn .index-trip-type-toggle__primary,
.app-header--index-top .top-menu .left-btn .index-trip-type-toggle__secondary {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}
.app-header--index-top .top-menu .left-btn .index-trip-type-toggle__secondary {
  display: none !important;
}
.app-header--index-top .top-menu .center-btn {
  min-width: 176px;
  flex: 1.2 1 52%;
  justify-content: space-between;
  gap: 10px;
}
.app-header--index-top .top-menu .center-btn__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.app-header--index-top .top-menu .center-btn__left span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-header--index-top .top-menu .phone-btn {
  width: 44px;
  min-width: 44px;
  flex: 0 0 44px;
  padding: 0;
}
.app-header--index-top .top-menu .price-btn {
  min-width: 132px;
  flex: 0 1 32%;
  justify-content: space-between;
  padding: 0 0 0 12px;
}
.app-header--index-top .top-menu .menu-btn i {
  font-size: 18px;
}
.app-header--index-top .top-menu .price-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.app-header--index-top .top-menu .price-left span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-header--index-top .top-menu .price-right {
  background: rgba(0, 0, 0, 0.12);
  height: 100%;
  width: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .app-header--index-top .top-menu .menu-btn {
    height: 40px;
    font-size: 12px;
    border-radius: 14px;
  }
  .app-header--index-top .top-menu .left-btn {
    min-width: 180px;
  }
  .app-header--index-top .top-menu .center-btn {
    min-width: 140px;
  }
  .app-header--index-top .top-menu .price-btn {
    min-width: 108px;
  }
  .app-header--index-top .top-menu .phone-btn {
    width: 40px;
    min-width: 40px;
    flex-basis: 40px;
  }
  .app-header--index-top .top-menu .menu-btn i {
    font-size: 16px;
  }
  .app-header--index-top .top-menu .price-right {
    width: 40px;
    min-width: 40px;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
  }
}
.app-header__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--ct24-header-gap);
  margin-bottom: 2px;
  width: 100%;
}
/* Links: eine Zeile — Hinweis „Fahrtart“ + wählbare Modi (Taxi / Flughafen + Zum|Vom) */
.app-header__top-row-services {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.app-header__top-row-services .airport-switch {
  flex: 1 1 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.app-header__top-row-messages {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-header__messages-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  min-height: var(--ct24-header-icon-size);
  height: var(--ct24-header-icon-size);
  padding: 0 10px;
  border: var(--ct24-header-chip-border);
  border-radius: var(--ct24-header-chip-radius);
  background: var(--ct24-header-chip-bg);
  box-shadow: var(--ct24-header-chip-shadow);
  color: #fff;
  font-family: inherit;
  font-size: var(--ct24-header-chip-font-size);
  font-weight: var(--ct24-header-chip-font-weight);
  letter-spacing: var(--ct24-header-text-tracking);
  line-height: var(--ct24-header-text-line-height);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.app-header__messages-btn:active {
  filter: brightness(1.06);
}
.app-header__messages-btn__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-header__messages-btn__lbl {
  white-space: nowrap;
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 400px) {
  .app-header__messages-btn__lbl {
    display: none;
  }
  .app-header__messages-btn {
    width: var(--ct24-header-icon-size);
    padding: 0;
  }
}
/* Rechts: Telefon (Flex) + Wallet + Burger */
.app-header__top-row-end {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--ct24-header-gap);
  flex: 0 0 auto;
  min-width: 0;
}
.app-header__quick-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--ct24-header-icon-inline-gap);
  flex: 0 0 auto;
}
.app-header__icon-action {
  flex-shrink: 0;
  box-sizing: border-box;
  width: var(--ct24-header-icon-size);
  height: var(--ct24-header-icon-size);
  margin: 0;
  padding: 0;
  border: var(--ct24-header-chip-border);
  border-radius: var(--ct24-header-chip-radius);
  background: var(--ct24-header-chip-bg);
  box-shadow: var(--ct24-header-chip-shadow);
  color: #ffffff;
  font: inherit;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease, filter 0.12s ease;
}
.app-header__icon-action svg {
  width: 22px;
  height: 22px;
  display: block;
}
.app-header__icon-action:hover {
  filter: brightness(1.06);
}
.app-header__icon-action:active {
  filter: brightness(1.1);
}
.app-header__icon-action:focus-visible {
  outline: 2px solid var(--ct24-accent);
  outline-offset: 2px;
}
@media (max-width: 360px) {
  .app-header__quick-actions {
    gap: 6px;
  }
}
.app-header__top-row-cashback {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.app-header__cashback-box--index-header {
  margin-left: 0 !important;
  margin-right: 0;
  align-self: center;
  min-height: var(--ct24-header-icon-size);
  height: var(--ct24-header-icon-size);
  box-sizing: border-box;
  padding: 0 8px;
  border-radius: var(--ct24-header-chip-radius);
  border: var(--ct24-header-chip-border);
  gap: 4px;
  font-family: inherit;
  font-size: var(--ct24-header-chip-font-size);
  font-weight: var(--ct24-header-chip-font-weight);
  line-height: var(--ct24-header-text-line-height);
  letter-spacing: var(--ct24-header-text-tracking);
  color: #fff;
  background: var(--ct24-header-chip-bg);
  box-shadow: var(--ct24-header-chip-shadow);
}
/* Index: Betrag, Guthaben, Fahrtauswahl-Hinweis, Flughafen-Zweitzeile — gleiche Schrift wie Wallet-Betrag */
.app-header--index-top .app-header__cashback-box--index-header .app-header__cashback-box-balance,
.app-header--index-top .app-header__cashback-box--index-header .app-header__cashback-box-credit,
.app-header--index-top .index-trip-type-hint__kicker,
.app-header--index-top .index-trip-type-hint__arrow,
.app-header--index-top .index-trip-type-toggle__secondary {
  font-family: inherit;
  font-size: var(--ct24-header-chip-font-size);
  font-weight: var(--ct24-header-chip-font-weight);
  letter-spacing: var(--ct24-header-text-tracking);
  line-height: var(--ct24-header-text-line-height);
}
.app-header--index-top .app-header__cashback-box--index-header .app-header__cashback-box-balance,
.app-header--index-top .app-header__cashback-box--index-header .app-header__cashback-box-credit,
.app-header--index-top .index-trip-type-hint__kicker,
.app-header--index-top .index-trip-type-hint__arrow {
  color: #ffffff;
}
.app-header--index-top .app-header__cashback-box--index-header .app-header__cashback-box-balance {
  font-variant-numeric: tabular-nums;
  max-width: clamp(2.5rem, 10vw, 4.35rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-header--index-top .app-header__cashback-box--index-header .app-header__cashback-box-credit {
  /* Nur Icon + Betrag sichtbar — „Guthaben“ wirkte auf schmalen Höhen wie Text im Buchungs-/Nav-Bereich */
  display: none !important;
}
/* Burger: Balken weiß auf Navy; offen/gedrückt: grau, Balken Navy */
.app-header__burger {
  flex-shrink: 0;
  width: var(--ct24-header-icon-size);
  height: var(--ct24-header-icon-size);
  border-radius: var(--ct24-header-chip-radius);
  border: var(--ct24-header-chip-border);
  background: var(--ct24-header-chip-bg);
  box-shadow: var(--ct24-header-chip-shadow);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.app-header__burger-bar {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: #ffffff;
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.app-header__burger.is-open,
.app-header__burger:active {
  background: #e5e7eb;
  border-color: transparent;
}
.app-header__burger.is-open .app-header__burger-bar,
.app-header__burger:active .app-header__burger-bar {
  background: var(--navy);
}
.app-header__burger:focus-visible {
  outline: 2px solid var(--ct24-accent);
  outline-offset: 2px;
}

.app-header > * { pointer-events: auto; }

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-btn svg { width: 20px; height: 20px; }

.app-header__cashback-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  /* Rechts ausrichten bis zur Kante der Adressfelder */
  margin-left: auto;
  padding: var(--ct24-cashback-pad-y) var(--ct24-cashback-pad-x);
  min-height: 0;
  align-self: stretch;
  border: none;
  border-radius: 14px;
  background: var(--ct24-header-cta-bg);
  color: #fff;
  font-size: var(--ct24-cashback-font-size);
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
.booking-footer-cashback-wallet.app-header__cashback-box {
  margin-left: 6px;
  align-self: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  gap: 5px;
}
.booking-footer-cashback-wallet .app-header__cashback-box-balance {
  max-width: none;
}

.app-header__support-chat {
  margin-left: 0;
  flex-shrink: 0;
  width: var(--ct24-header-icon-size);
  height: var(--ct24-header-icon-size);
  border-radius: var(--ct24-header-chip-radius);
  border: var(--ct24-header-chip-border);
  background: var(--ct24-header-chip-bg);
  color: #ffffff;
  box-shadow: var(--ct24-header-chip-shadow);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.app-header__support-chat svg {
  width: 22px;
  height: 22px;
}
.app-header__support-chat:active {
  opacity: 0.92;
  transform: scale(0.98);
}
.app-header__support-chat:focus-visible {
  outline: 3px solid #22d3ee;
  outline-offset: 2px;
}
.app-header__cashback-box:active {
  opacity: 0.92;
  transform: scale(0.98);
}
.app-header__cashback-box--index-header:active {
  transform: none;
  opacity: 1;
  filter: brightness(1.06);
}
.app-header__cashback-box:focus-visible {
  outline: 2px solid var(--ct24-accent);
  outline-offset: 2px;
}
.app-header__cashback-box-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: inherit;
}
.app-header__cashback-box-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.app-header__cashback-box--index-header .app-header__cashback-box-icon {
  width: 24px;
  height: 24px;
}
.app-header__cashback-box-balance {
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--ct24-header-text-tracking);
  white-space: nowrap;
  max-width: clamp(3.75rem, 16vw, 6rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header: auf kleinen Geräten automatisch kompakter,
   damit Tabs + Cashback + Burger immer sichtbar bleiben */
@media (max-width: 420px) {
  :root {
    --ct24-header-gap: 8px;
    --ct24-header-icon-size: 42px;
    --ct24-cashback-font-size: 12px;
    --ct24-cashback-pad-y: 9px;
    --ct24-cashback-pad-x: 12px;
    --ct24-book-now-font-size: 14px;
    --ct24-book-now-font-size-active: 16px;
    --ct24-book-now-tab-min-h: 44px;
    --ct24-book-now-tab-pad-y: 12px;
    --ct24-book-now-tab-pad-x: 14px;
  }
  .airport-switch__taxi-track .tab,
  .airport-combo .airport-switch__air-mode-tabs .tab {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  :root {
    --ct24-header-gap: 5px;
    --ct24-header-icon-size: 40px;
    --ct24-cashback-font-size: 11px;
    --ct24-cashback-pad-y: 8px;
    --ct24-cashback-pad-x: 10px;
    --ct24-book-now-font-size: 13px;
    --ct24-book-now-font-size-active: 15px;
    --ct24-book-now-tab-min-h: 42px;
    --ct24-book-now-tab-pad-y: 11px;
    --ct24-book-now-tab-pad-x: 12px;
  }
  .app-header__cashback-box-icon {
    width: 21px;
    height: 21px;
  }
  .airport-switch__taxi-track .tab,
  .airport-combo .airport-switch__air-mode-tabs .tab {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 12px;
  }
}

.index-cashback-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.index-menu-drawer__panel .index-cashback-tabs {
  margin-top: 4px;
}
.index-cashback-tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f1f5f9;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.index-cashback-tab--active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.index-cashback-pane[hidden] {
  display: none !important;
}
.index-cashback-ledger-list--open {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}
.index-cashback-ledger-list--open li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.35;
  color: #334155;
}

/* Menü von links nach rechts einfahren; Sheet links, Scrim rechts */
.index-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
}
.index-menu-drawer:not([hidden]) {
  pointer-events: auto;
}
.index-menu-drawer[hidden] {
  display: none !important;
}
.index-menu-drawer__scrim {
  flex: 1;
  min-width: 0;
  order: 2;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.45);
  align-self: stretch;
}
.index-menu-drawer__sheet {
  flex: 0 0 auto;
  order: 1;
  height: 100%;
  max-height: 100dvh;
  width: auto;
  min-width: 0;
  max-width: min(100vw, 18.5rem);
  transition: max-width 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  background: var(--surface);
  box-shadow: 8px 0 28px rgba(15, 23, 42, 0.2);
  border-right: 1px solid var(--border);
  border-left: none;
  overflow: hidden;
  box-sizing: border-box;
}
@keyframes index-menu-sheet-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
.index-menu-drawer:not([hidden]) .index-menu-drawer__sheet {
  animation: index-menu-sheet-in 0.26s cubic-bezier(0.32, 0.72, 0, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .index-menu-drawer:not([hidden]) .index-menu-drawer__sheet {
    animation: none;
  }
}
.index-menu-drawer--has-panel .index-menu-drawer__sheet {
  max-width: min(100vw, 42rem);
}
.index-menu-drawer__inner {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  height: 100%;
  min-height: 0;
  width: max-content;
  max-width: min(100vw, 42rem);
  box-sizing: border-box;
}
.index-menu-drawer__nav {
  flex: 0 0 auto;
  width: clamp(10.5rem, 34vw, 17rem);
  min-width: 10.25rem;
  max-width: min(17rem, 46vw);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 22px 28px;
  background: linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14)),
    url('https://images.unsplash.com/photo-1569336415962-a4bd9f69cd83?auto=format&fit=crop&w=1600&q=60');
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.index-menu-drawer__nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.index-menu-drawer__title {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
}
.index-menu-drawer__nav-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: #e2e8f0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.index-menu-drawer__nav-close:active {
  opacity: 0.9;
}
.index-menu-push-row {
  margin: 0 0 6px;
  padding: 8px 8px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.index-menu-push-row__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.index-menu-push-row__label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.index-menu-push-row__status {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  word-break: break-word;
}
.index-menu-push-row__btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 28px;
  border: none;
  background: linear-gradient(180deg, #56b600, #3c9200);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(58, 130, 0, 0.22);
  -webkit-tap-highlight-color: transparent;
}
.index-menu-push-row__btn:hover {
  filter: brightness(1.05);
}
.index-menu-push-row__btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.index-fahrgast-push-alert-select {
  width: 100%;
  margin-top: 4px;
  margin-bottom: 2px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  background: #fff;
  box-sizing: border-box;
  cursor: pointer;
}
.index-fahrgast-push-alert-select:focus-visible {
  outline: 2px solid var(--ct24-accent);
  outline-offset: 2px;
}

/* Kurzer Hinweis bei Web-Push (Index), über Karte/Menü */
.ct24-fahrgast-push-overlay {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(76px, env(safe-area-inset-top)) 16px 24px;
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.42);
  box-sizing: border-box;
  animation: ct24-fahrgast-push-overlay-in 0.22s ease-out;
}
@keyframes ct24-fahrgast-push-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.ct24-fahrgast-push-overlay__card {
  position: relative;
  width: 100%;
  max-width: min(420px, calc(100vw - 32px));
  padding: 16px 40px 16px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  box-sizing: border-box;
}
.ct24-fahrgast-push-overlay__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(241, 245, 249, 0.95);
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.ct24-fahrgast-push-overlay__close:hover {
  background: #e2e8f0;
}
.ct24-fahrgast-push-overlay__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  padding-right: 4px;
}
.ct24-fahrgast-push-overlay__body {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
  word-break: break-word;
}

/* Menü-Nav: 1:1 Snippet-Button-Stil (nur auf bestehende Menüpunkte angewendet). */
.index-menu-drawer__nav .index-menu-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0;
  height: 82px !important;
  border: none !important;
  border-radius: 28px !important;
  color: #fff !important;
  background: linear-gradient(180deg, #56b600, #3c9200) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 20px rgba(58, 130, 0, 0.25) !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: Arial, Helvetica, sans-serif !important;
  line-height: 1.1 !important;
  text-align: left;
  padding: 0 8px 0 14px !important;
  gap: 0;
}
.index-menu-drawer__nav .index-menu-nav-btn:hover {
  filter: brightness(1.05);
}
.index-menu-drawer__nav .index-menu-nav-btn:active {
  filter: brightness(0.96);
}
.index-menu-drawer__nav .index-menu-nav-btn.is-active {
  filter: brightness(0.92);
}
.index-menu-drawer__nav .index-menu-nav-btn__icon {
  flex-shrink: 0;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px !important;
  line-height: 1;
  margin-right: 12px;
  opacity: 1;
}
.index-menu-drawer__nav .index-menu-nav-btn__icon i {
  pointer-events: none;
}
.index-menu-drawer__nav .index-menu-nav-btn__label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  font-weight: 700 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.index-menu-drawer__nav .index-menu-nav-btn__caret {
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 10px;
  font-size: 24px !important;
  line-height: 1;
  opacity: 0.9;
}
.index-menu-drawer__nav .index-menu-nav-btn__caret i {
  pointer-events: none;
}
.index-menu-drawer__nav .index-menu-nav-btn--danger {
  background: linear-gradient(180deg, #56b600, #3c9200);
  color: #fff;
  box-shadow: 0 10px 20px rgba(58, 130, 0, 0.25);
}
.index-menu-drawer__nav .index-menu-nav-btn--danger:hover {
  filter: brightness(1.05);
}
.index-menu-drawer__nav .index-menu-nav-btn--danger.is-active {
  background: linear-gradient(180deg, #56b600, #3c9200);
  box-shadow: 0 10px 20px rgba(58, 130, 0, 0.25);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .index-menu-drawer__nav .index-menu-nav-btn:active { filter: brightness(1); }
}
.index-menu-payment-methods {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  width: 100%;
  margin-top: 4px;
  box-sizing: border-box;
  background: #e5e7eb;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.index-menu-payment-methods .booking-payment-btn {
  width: 100%;
  min-width: 0;
  border-radius: 0;
}
.index-menu-payment-methods .booking-payment-btn:first-child {
  border-radius: 14px 0 0 14px;
}
.index-menu-payment-methods .booking-payment-btn:last-child {
  border-radius: 0 14px 14px 0;
}
.index-menu-item--logout {
  margin-top: 16px;
  background: #b91c1c;
  color: #fff;
}
.index-menu-item--logout:hover {
  filter: brightness(1.03);
}
.index-menu-item--logout:active {
  opacity: 0.94;
}
.index-menu-drawer__content {
  flex: 1 1 auto;
  min-width: min(13rem, 52vw);
  max-width: min(28rem, calc(100vw - 10.25rem));
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 14px 20px;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  border-left: 1px solid var(--border);
  border-right: none;
  background: var(--surface);
}
.index-menu-drawer--has-panel .index-menu-drawer__content {
  min-width: min(15rem, 58vw);
}
@media (max-width: 360px) {
  .index-menu-drawer__nav {
    min-width: 9rem;
    width: clamp(9rem, 40vw, 14rem);
    max-width: min(14rem, 48vw);
  }
  .index-menu-drawer__content {
    min-width: 0;
    max-width: none;
    flex: 1 1 0;
  }
}
.index-menu-drawer__content[hidden] {
  display: none !important;
}
.index-menu-drawer__panel-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
}
/* Alle rechten Inhalte (Cashback, Ticket, Profil, …) gleiche nutzbare Breite bis zur Panel-Kante */
.index-menu-drawer__panel {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.index-menu-panel-ticket .index-menu-ticket-lead {
  margin-top: 0;
}
.index-menu-drawer__panel .index-menu-item {
  margin-top: 12px;
}
.index-menu-static-panel .index-menu-static-block {
  font-size: 12px;
  line-height: 1.45;
  color: var(--navy);
}
.index-menu-static-panel .index-menu-static-block p {
  margin: 0 0 10px;
}
.index-menu-static-panel h4 {
  margin: 14px 0 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.index-menu-static-panel h4:first-of-type {
  margin-top: 4px;
}
.index-menu-contact-link {
  color: #0f766e;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.index-menu-contact-link:active {
  opacity: 0.88;
}
.index-menu-faq details {
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  background: #f8fafc;
  box-sizing: border-box;
}
.index-menu-faq summary {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  list-style-position: outside;
}
.index-menu-faq-a {
  margin: 8px 0 2px;
  font-size: 11px;
  line-height: 1.45;
  color: #334155;
}
.index-menu-item {
  width: 100%;
  margin-top: 14px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.index-menu-item:active { opacity: 0.92; }
.index-menu-item--secondary {
  margin-top: 10px;
  background: #334155;
  font-size: 13px;
  height: 44px;
}
.index-profile-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.index-profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8ecf3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.index-profile-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}
.index-profile-tagline {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.35;
}
.index-profile-dl {
  margin: 0;
  font-size: 12px;
}
.index-profile-dl-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.index-profile-dl-row:first-of-type {
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.index-profile-dl dt {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.index-profile-dl dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
  color: var(--navy);
}
.index-profile-code {
  font-size: 12px;
  background: #eef2f7;
  padding: 2px 6px;
  border-radius: 6px;
}
.index-profile-db-status {
  font-size: 11px;
  font-weight: 800;
}
.index-profile-push {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.index-fahrgast-push-status {
  min-height: 1.35em;
  font-weight: 700;
}
.index-profile-db-status.index-profile-db--warn {
  color: #b45309;
}
.index-profile-cashback-cta {
  margin-top: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.index-profile-cashback-teaser {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}
.index-menu-item--cashback {
  margin-top: 0;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
}
.index-cashback-hero--popup {
  font-size: clamp(28px, 8vw, 40px);
  margin-bottom: 16px;
}
.index-cashback-hero--drawer {
  font-size: clamp(24px, 7vw, 34px);
  margin-bottom: 14px;
}
.index-cashback-hero-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.index-cashback-hero {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.index-menu-hint--tight {
  margin-top: 0;
  margin-bottom: 10px;
}
.index-cashback-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}
.index-cashback-fare-apply {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.index-cashback-fare-breakdown {
  margin: 0 0 12px;
}
.index-cashback-fare-breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0;
  font-size: 14px;
}
.index-cashback-fare-breakdown__row dt {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}
.index-cashback-fare-breakdown__row dd {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.index-cashback-fare-breakdown__row--final {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}
.index-cashback-fare-breakdown__row--final dt {
  color: var(--navy);
}
.index-cashback-fare-apply .index-menu-item {
  margin-top: 8px;
}
.index-cashback-input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 12px;
  font-size: 16px;
  color: var(--navy);
}
.index-menu-hint {
  margin: 6px 0 8px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}
.index-cashback-ledger {
  margin-top: 10px;
  font-size: 12px;
  color: var(--navy);
}
.index-cashback-ledger-list {
  margin: 6px 0 0;
  padding-left: 1.1rem;
  max-height: 160px;
  overflow: auto;
}
.index-cashback-ledger-list li {
  margin: 4px 0;
}
/* Segment-Tabs: eine Zeile mit Wallet — grauer Track, innen abgerundete aktive Pill */
.service-tabs {
  flex: 1 1 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  background: #e5e7eb;
  border-radius: 14px;
  padding: 4px;
  overflow: hidden;
  box-shadow: none;
  margin-bottom: 0;
}
.service-tabs .tab {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: var(--ct24-book-now-font-size);
  font-weight: 700;
  line-height: 1.2;
  min-height: var(--ct24-book-now-tab-min-h);
  padding: var(--ct24-book-now-tab-pad-y) var(--ct24-book-now-tab-pad-x);
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-tabs .tab.active {
  background: #1f2a44;
  color: #fff;
  box-shadow: none;
  font-size: var(--ct24-book-now-font-size-active);
}
.service-tabs .tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Eine Zeile: [Fahrtauswahl-Hinweis] | ein Umschalter (wie Zahlungsart) — Zustand per Tap wechseln */
.airport-switch {
  flex: 1 1 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}
.index-trip-type-hint {
  flex: 0 1 auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  box-sizing: border-box;
  min-height: var(--ct24-header-icon-size);
  height: var(--ct24-header-icon-size);
  padding: 0 8px 0 9px;
  margin: 0;
  max-width: min(10.5rem, 48vw);
  min-width: 0;
  border: var(--ct24-header-chip-border);
  border-radius: var(--ct24-header-chip-radius);
  background: var(--ct24-header-chip-bg);
  box-shadow: var(--ct24-header-chip-shadow);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.index-trip-type-hint__kicker {
  flex: 1 1 auto;
  min-width: 0;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.index-trip-type-hint__arrow {
  flex: 0 0 auto;
  margin-top: -1px;
}
/* Kachel wie Wallet: füllt die freie Breite zwischen Hinweis „Fahrtauswahl“ und rechter Header-Gruppe */
.index-trip-type-picker {
  flex: 1 1 0;
  width: auto;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  box-sizing: border-box;
  min-height: var(--ct24-header-icon-size);
  height: var(--ct24-header-icon-size);
  padding: 0;
  border: var(--ct24-header-chip-border);
  border-radius: var(--ct24-header-chip-radius);
  background: var(--ct24-header-chip-bg);
  box-shadow: var(--ct24-header-chip-shadow);
  overflow: hidden;
}
.index-trip-type-toggle {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 0;
  align-self: stretch;
  height: auto;
  padding: 0 8px;
  border: none;
  border-radius: var(--ct24-header-chip-radius);
  cursor: pointer;
  font-family: inherit;
  font-size: var(--ct24-header-chip-font-size);
  font-weight: var(--ct24-header-chip-font-weight);
  line-height: var(--ct24-header-text-line-height);
  letter-spacing: var(--ct24-header-text-tracking);
  color: #fff;
  background: transparent;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease, filter 0.12s ease;
}
.index-trip-type-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.index-trip-type-toggle:active {
  filter: brightness(1.07);
}
.index-trip-type-toggle:focus-visible {
  outline: 2px solid var(--ct24-accent);
  outline-offset: 2px;
}
.index-trip-type-toggle span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.index-trip-type-toggle .index-trip-type-toggle__stack {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  line-height: 1.2;
}
/* Flughafen: waagrecht, Richtung vor „Flughafen“, kompakter Abstand */
.index-trip-type-toggle--airport .index-trip-type-toggle__stack {
  width: 100%;
}
.index-trip-type-toggle--airport .index-trip-type-toggle__secondary {
  order: 0;
  flex: 0 1 auto;
  max-width: none;
}
.index-trip-type-toggle--airport .index-trip-type-toggle__primary {
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.index-trip-type-toggle__primary {
  font-size: inherit;
  font-weight: inherit;
}
.index-trip-type-toggle__secondary {
  text-transform: none;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.95;
}
.index-trip-type-toggle--airport {
  padding-left: 7px;
  padding-right: 7px;
}
.index-trip-type-toggle--air-to .index-trip-type-toggle__secondary {
  color: #bae6fd;
}
.index-trip-type-toggle--air-from .index-trip-type-toggle__secondary {
  color: #bbf7d0;
}
.index-trip-type-toggle--air-to,
.index-trip-type-toggle--air-from {
  box-shadow: none;
}
/* Flughafen „Zum“: Zielzeile; „Vom“: Abholzeile — optisch zur Header-Richtung */
body[data-index-service-mode="airport"][data-air-dir="to"] .location-card .loc-row.drop .loc-field {
  border-radius: 10px;
  background: rgba(240, 249, 255, 0.65);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.28);
}
body[data-index-service-mode="airport"][data-air-dir="from"] .location-card .loc-row.pickup .loc-field {
  border-radius: 10px;
  background: rgba(240, 253, 244, 0.65);
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.28);
}
.loc-dest-switch__icon--plane {
  width: 20px;
  height: 20px;
  display: block;
}
@media (max-width: 360px) {
  .index-trip-type-hint {
    padding-left: 6px;
    padding-right: 6px;
    max-width: min(9.25rem, 88vw);
  }
  .index-trip-type-toggle {
    padding-left: 6px;
    padding-right: 6px;
  }
  .index-trip-type-toggle--airport {
    padding-left: 5px;
    padding-right: 5px;
  }
}
.airport-switch__taxi-track {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  margin-bottom: 0;
}
.airport-switch__taxi-track .tab {
  flex: 0 0 auto;
  min-width: 0;
}
.airport-switch__air-block {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  min-height: var(--ct24-header-icon-size);
  height: var(--ct24-header-icon-size);
  padding: 2px;
  gap: 2px;
  background: var(--ct24-header-chip-bg);
  border: var(--ct24-header-chip-border);
  border-radius: var(--ct24-header-chip-radius);
  box-shadow: var(--ct24-header-chip-shadow);
  overflow: hidden;
}
body[data-index-service-mode="taxi"] .airport-switch__air-block .airport-dir__btn,
body[data-index-service-mode="taxi"] .airport-switch__air-block .airport-combo__mid {
  display: none !important;
}
.airport-combo {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  gap: 0;
}
/* Flughafen-Zeile: keine grauen service-tabs mehr — gleiche Typo/Höhe wie Wallet-Zeile */
.airport-switch__air-block .airport-combo > .service-tabs {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  min-height: calc(var(--ct24-header-icon-size) - 8px);
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: none;
}
.airport-switch__air-block .airport-combo > .service-tabs .tab {
  flex: 0 1 auto;
  min-width: 0;
  min-height: calc(var(--ct24-header-icon-size) - 8px);
  padding: 4px 9px;
  font-family: inherit;
  font-size: var(--ct24-header-chip-font-size);
  font-weight: var(--ct24-header-chip-font-weight);
  letter-spacing: var(--ct24-header-text-tracking);
  line-height: var(--ct24-header-text-line-height);
  color: rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: transparent;
}
.airport-switch__air-block .airport-combo > .service-tabs .tab.active {
  background: #ffffff;
  color: var(--navy);
  font-size: var(--ct24-header-chip-font-size);
  box-shadow: none;
}
.airport-combo .airport-switch__air-mode-tabs {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  margin-bottom: 0;
  margin-left: -4px;
  flex-wrap: nowrap;
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.airport-combo .airport-switch__air-mode-tabs.ct24-glass {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.airport-combo .airport-switch__air-mode-tabs .tab {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  padding-left: 9px;
  padding-right: 9px;
}
.airport-combo .airport-switch__air-mode-tabs .tab.active {
  border-radius: 8px;
}
.airport-combo__mid {
  flex: 1 1 auto;
  min-width: 6px;
  min-height: 0;
  align-self: stretch;
  pointer-events: none;
}
.airport-dir__btn {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: var(--ct24-header-chip-font-size);
  font-weight: var(--ct24-header-chip-font-weight);
  line-height: var(--ct24-header-text-line-height);
  letter-spacing: var(--ct24-header-text-tracking);
  min-height: calc(var(--ct24-header-icon-size) - 8px);
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.airport-combo .airport-dir__btn {
  background: transparent;
  border-radius: 8px;
  padding-right: 8px;
  padding-left: 8px;
  align-self: stretch;
}
.airport-switch__air-block > .airport-dir__btn {
  border-radius: 8px;
  flex: 0 0 auto;
  width: auto;
  min-height: 0;
  align-self: stretch;
  padding-left: 10px;
  padding-right: 10px;
}
.airport-dir__btn.is-active {
  background: #ffffff;
  color: var(--navy);
  font-size: var(--ct24-header-chip-font-size);
}
.airport-dir__btn:focus-visible {
  outline: 2px solid var(--ct24-accent);
  outline-offset: 2px;
}

/* Ticket-UI: nur noch im Menü-Drawer (.index-menu-panel-ticket), nicht als Bottom-Sheet */
.ticket-sheet-lead {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0 0 10px;
}
.ticket-sheet-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  color: #0f172a;
  background: #f8fafc;
}
.ticket-sheet-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: normal;
}
.ticket-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.ticket-sheet-actions button {
  height: 46px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}
.ticket-sheet-load {
  background: var(--navy);
  color: #fff;
}
.ticket-sheet-share {
  background: #e2e8f0;
  color: #0f172a;
}
.ticket-sheet-msg {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
  min-height: 1.2em;
}

.index-ticket-history-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  max-height: min(42vh, 340px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.index-ticket-history-list li {
  margin: 0 0 8px;
}
.index-ticket-history-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  font: inherit;
  box-sizing: border-box;
}
.index-ticket-history-item:hover {
  background: #f1f5f9;
}
.index-ticket-history-item__code {
  font-weight: 800;
  color: var(--navy);
}
.index-ticket-history-item__meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.35;
}

/* Adressbereich: weiße Karte zentriert.
   Auf der Startseite: .index-loc-shell in #indexUiStack mit position: static (siehe #indexUiStack .index-loc-shell).
   Die feste top-Position gilt nur, wo die Shell nicht im Stack hängt. */
.index-loc-shell {
  position: fixed;
  top: calc(max(10px, env(safe-area-inset-top)) + 76px);
  left: 12px;
  right: 12px;
  z-index: 5;
  pointer-events: none;
}
.index-loc-shell > .location-card {
  pointer-events: auto;
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Index: Service-Leiste (Tabs/Burger) oben fix; darunter Adresskarte + #bottomSheet im Stack */
:root {
  /* Höhe unter .app-header padding-top bis untere Kante der Leiste (Tabs + unteres Padding) */
  --ct24-index-top-bar-inner-h: 56px;
  /* Unterer Bereich: nur Tabbar + kleiner Abstand — für #indexUiStack & Buchungs-Sheet */
  --ct24-fahrgast-tabbar-h: 54px;
  --ct24-index-bottom-tab-gap: 8px;
  /* Keine untere Tabbar mehr: nur Safe-Area + kleiner Rand */
  --ct24-index-bottom-reserve: calc(env(safe-area-inset-bottom) + 12px);
  --ct24-fahrgast-nav-dock-px: calc(12px + env(safe-area-inset-bottom));
  /* Hotline-Popup über der fixen Buchungsleiste — verhindert weiße Sheet-Kante „hinter“ dem Dialog */
}
.app-header.app-header--index-top {
  z-index: 14;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}
/* Taxi-Mockup: grüne CTA-Kacheln (#37a800), abgerundet, leichter Schlagschatten */
body:not(.ct24-is-buchung-page) .app-header.app-header--index-top {
  --ct24-header-cta-bg: var(--ct24-taxi-ui-green);
  --ct24-header-chip-bg: var(--ct24-taxi-ui-green);
  --ct24-header-chip-radius: 18px;
  --ct24-header-chip-shadow: var(--ct24-taxi-ui-shadow-header);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}
body:not(.ct24-is-buchung-page) .app-header.app-header--index-top .app-header__cashback-box {
  border-radius: 18px;
  box-shadow: var(--ct24-taxi-ui-shadow-header);
}
.app-header.app-header--index-top .app-header__top-row {
  margin-bottom: 0;
}
.app-header.app-header--index-top .app-header__shell {
  padding-bottom: 2px;
}
/* Fahrerkarte nicht im normalen Fluss unter dem fixen Header, bis sie in #indexFahrerkarteHome oder #indexSheetFahrerkartePlatz hängt */
body:not(.ct24-is-buchung-page):not(:has(#indexFahrerkarteHome #fahrerkarte)):not(:has(#indexSheetFahrerkartePlatz #fahrerkarte))
  #fahrerkarte {
  position: fixed !important;
  inset: 0 auto auto 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
}
#indexUiStack {
  position: fixed;
  z-index: 5;
  top: calc(max(10px, env(safe-area-inset-top)) + var(--ct24-index-top-bar-inner-h) - 8px);
  left: 0;
  right: 0;
  bottom: var(--ct24-index-bottom-reserve);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  min-height: 0;
  pointer-events: none;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}
#indexUiStack > * {
  pointer-events: auto;
}
/* Startseite: Adresse oben; Buchungsfuß fix unten — Padding verhindert Überdeckung der Karte */
body:not(.ct24-is-buchung-page) #indexUiStack {
  justify-content: flex-start;
  gap: 8px;
  /* Direkt am Header andocken */
  padding-top: 0;
  padding-bottom: min(168px, 34vh);
  --ct24-loc-abhol-ziel-pad: 3px;
}
body:not(.ct24-is-buchung-page).ct24-cal-open #indexUiStack {
  padding-bottom: min(300px, 52vh);
}
body:not(.ct24-is-buchung-page) #indexUiStack .index-loc-shell {
  /* Kein „Doppel-Offset“: nur Stack-Padding + Kartenabstand */
  margin-top: 0;
}
body:not(.ct24-is-buchung-page) #indexUiStack .location-card {
  --ct24-loc-pad-x: 10px;
  --ct24-loc-pad-y: 8px;
  padding: 8px var(--ct24-loc-pad-x);
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 24px 24px;
  box-shadow: var(--ct24-taxi-ui-shadow);
}
body:not(.ct24-is-buchung-page) #indexUiStack .loc-row {
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom-color: var(--ct24-taxi-ui-border);
}
body:not(.ct24-is-buchung-page) #indexUiStack .index-loc-price-grid {
  background: #fff;
  border-color: var(--ct24-taxi-ui-border);
  border-left: none;
  border-right: none;
}
body:not(.ct24-is-buchung-page) #indexUiStack .index-loc-price-col + .index-loc-price-col {
  border-left: 1px solid var(--ct24-taxi-ui-border);
}
body:not(.ct24-is-buchung-page) #indexUiStack .index-loc-price-col__label {
  font-size: 12px;
  color: #444;
}
body:not(.ct24-is-buchung-page) #indexUiStack .index-loc-price-col__value {
  font-size: 18px;
  color: #000;
}
body:not(.ct24-is-buchung-page) #indexUiStack .index-loc-price-col__sub {
  color: #64748b;
}
body:not(.ct24-is-buchung-page) #indexUiStack .location-card .loc-row.pickup,
body:not(.ct24-is-buchung-page) #indexUiStack .location-card .loc-row.drop {
  padding-top: 4px;
  padding-bottom: 4px;
  min-height: 42px;
}
body:not(.ct24-is-buchung-page) #indexUiStack .location-card .loc-row:first-child {
  padding-top: 0;
}
body:not(.ct24-is-buchung-page) #indexUiStack .location-card .loc-row:last-child {
  padding-bottom: 0;
}
body:not(.ct24-is-buchung-page) #indexUiStack .location-card .loc-row.pickup {
  padding-bottom: 0;
  border-bottom: none;
}
body:not(.ct24-is-buchung-page) #indexUiStack .location-card .loc-row.drop {
  padding-top: 0;
}
#indexUiStack .index-loc-shell {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  flex: 0 0 auto;
  width: 100%;
}
#indexBottomSheetMount {
  /* Fragment kurz im DOM, danach leer — Buchungs-UI liegt in Hosts */
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 100%;
}
/*
 * Ohne ct24-index-bottom-sheet.css am Index: kein fixes Sheet / Enter-Animation / Aufwärts-Schatten
 * (sonst kurz eine helle Kante über der Karte), bis ct24RelocateBookingChromeFromBottomSheet() #bottomSheet entfernt.
 */
#indexBottomSheetMount .bottom-sheet:not(ion-modal) {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  max-height: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  overflow: visible !important;
  animation: none !important;
  box-shadow: none !important;
  border: none !important;
  z-index: auto !important;
}
/* Nach Entfernen von #bottomSheet: Mount nicht mehr im Layout; kein Sheet-Platzhalter */
body.ct24-index-no-ion-bottom-sheet #indexBottomSheetMount {
  display: none !important;
}
/*
 * Index ohne Bottom-Sheet: #sheetBody ist nur noch DOM-Wrapper; Inhalt ist per CSS auf Buchung ausgeblendet —
 * ohne display:none bleibt eine leere „Sheet“-Fläche (alte .sheet-body max-height/flex).
 */
body.ct24-is-buchung-page.ct24-index-no-ion-bottom-sheet #sheetBody {
  display: none !important;
}
body.ct24-index-no-ion-bottom-sheet #sheetBody.sheet-body {
  flex: none !important;
  max-height: none !important;
  min-height: 0;
  overflow: visible !important;
  -webkit-overflow-scrolling: auto;
  transition: none;
}
/* Index: fixierter Block unten — Content-Container (Hotline + Angebot/Fahrer) + Buchungsfuß; gleiche Position vor/nach Buchung */
.index-bottom-chrome-stack {
  --ct24-index-chrome-inner-max: 560px;
  position: fixed !important;
  bottom: max(10px, calc(var(--ct24-fahrgast-nav-dock-px, 72px) + 8px)) !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  z-index: 48;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  pointer-events: none;
  transform: none;
}
.index-bottom-chrome-stack > * {
  pointer-events: auto;
}
.index-booking-footer-host {
  width: 100%;
  max-width: var(--ct24-index-chrome-inner-max, 560px) !important;
  flex: 0 0 auto;
  align-self: center;
  pointer-events: auto;
  box-sizing: border-box;
  position: static !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Initial-load Flicker vermeiden: auf Index standardmäßig versteckt, JS blendet bei echtem Status ein. */
body:not(.ct24-is-buchung-page) .index-booking-footer-host {
  display: none;
}
body:not(.ct24-is-buchung-page) .index-booking-footer-host.index-booking-footer-host--show {
  display: block;
}
.index-booking-footer-host.index-booking-footer-host--ghost-hidden {
  display: none !important;
}
#indexBookingFooterHost {
  position: relative;
}
/* Griff auch ohne Status sichtbar lassen (Host kann trotzdem per JS ausgeblendet werden). */
/* ID nötig: globales .booking-footer (weiter unten) setzt border-top / margin-top — sonst bleibt die Sheet-Linie */
#indexBookingFooterHost .booking-footer {
  margin-top: 0 !important;
  padding: var(--ct24-sheet-pad-y, 8px) var(--ct24-sheet-pad-x, 12px) max(10px, env(safe-area-inset-bottom));
  border: none !important;
  outline: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
  position: relative;
  padding-bottom: calc(max(10px, env(safe-area-inset-bottom)) + 12px);
}
#indexBookingFooterHost .booking-tabs::after {
  content: none;
}
#indexBookingFooterHost .booking-footer::after { content: none; }
#indexBookingFooterHost #bookingBoxLater {
  border-top: none !important;
  box-shadow: none;
}
/* Index: Termin-Block sitzt in der Location-Card (#indexLocBookingToolbar), nicht im Footer */
body:not(.ct24-is-buchung-page) #indexLocBookingToolbar #bookingBoxLater.booking-box--footer {
  grid-area: auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
  background: #fff;
}
#indexBookingFooterHost .booking-tabs {
  row-gap: 6px;
  margin-top: 0 !important;
}
.index-buchung-fahrer-host {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* —— Fahrgast-Index: untere Tabbar, Preis unter Footer, Karte-only Fahrerzeile —— */
#indexFahrgastBottomNav.index-fahrgast-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* Über Ionic-Modal/Backdrop (typ. ~20xxx), damit Tabs beim offenen Sheet erreichbar bleiben */
  z-index: 25010;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 4px;
  min-height: var(--ct24-fahrgast-tabbar-h);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  max-width: none;
  margin: 0 auto;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.08);
  pointer-events: auto;
}
.index-fahrgast-tabbar__btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 4px 2px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, background 0.15s ease;
}
.index-fahrgast-tabbar__btn .index-fahrgast-tabbar__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
}
.index-fahrgast-tabbar__btn.is-active {
  color: #0f172a;
  background: rgba(59, 130, 246, 0.12);
}
.index-fahrgast-tabbar__btn.is-active .index-fahrgast-tabbar__ic {
  color: #2563eb;
  opacity: 1;
}
.index-fahrgast-tabbar__lbl {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.index-fahrgast-tabbar__lbl--twoline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  white-space: normal;
  line-height: 1.05;
  font-size: 9px;
  max-width: 4.8rem;
  text-align: center;
  overflow: visible;
  text-overflow: clip;
}
.index-fahrgast-tabbar__lbl-line {
  display: block;
  max-width: 100%;
}

ion-modal.index-ion-nav-modal {
  --border-radius: 16px 16px 0 0;
  --box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
  --width: 100%;
  --max-width: 100%;
  /* Sheet darf nicht unter die Tabbar rutschen (Breakpoint-Höhen beziehen sich aufs Modal) */
  --height: calc(min(100vh, 100dvh) - var(--ct24-fahrgast-nav-dock-px, 72px));
  --max-height: calc(min(100vh, 100dvh) - var(--ct24-fahrgast-nav-dock-px, 72px));
  z-index: 20000;
}
/* Backdrop endet oberhalb der Tabbar — Bereich der Navigation bleibt sichtbar/tappbar */
ion-modal.index-ion-nav-modal::part(backdrop) {
  bottom: var(--ct24-fahrgast-nav-dock-px, 72px);
}
/* Scrollbereich nicht über die reservierte Tabbar hinaus (ohne extra margin-bottom — das erledigt --height) */
ion-modal.index-ion-nav-modal::part(content) {
  max-height: calc(min(100vh, 100dvh) - var(--ct24-fahrgast-nav-dock-px, 72px)) !important;
}
.index-ion-mount {
  min-height: 40vh;
}
.index-ion-mount--messages {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
}
.index-ion-mount--messages .index-messages-sheet-root {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 12px 12px;
  box-sizing: border-box;
}
.index-messages-sheet-root .index-messages-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.index-messages-sheet-root .index-messages-list {
  flex: 1 1 auto;
  min-height: 120px;
}

/* Location card — Mockup: weiße Karte, weicher Schatten */
.location-card {
  position: static;
  width: 100%;
  min-width: 0;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  /* Muss zu padding-left/right passen — für randbündige Kinder (Preiszeile, Toolbar) */
  --ct24-loc-pad-x: 12px;
  padding: 10px var(--ct24-loc-pad-x);
  overflow: visible;
}

/* Fahrerkarte: Dock direkt im Chrome-Stack (kein äußerer Content-Container) */
.index-fahrerkarte-dock:not(.index-fahrerkarte-dock--embedded) {
  position: fixed;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: max(10px, calc(var(--ct24-fahrgast-nav-dock-px, 72px) + 8px));
  width: min(560px, calc(100vw - 24px));
  max-width: 560px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  z-index: 24910;
  pointer-events: none;
}
.index-fahrerkarte-dock:not(:has(#fahrerkarte:not([hidden]))) {
  display: none;
}
body.ct24-is-buchung-page .index-fahrerkarte-dock {
  display: none !important;
}
.index-fahrerkarte-dock #fahrerkarte:not([hidden]) {
  pointer-events: auto;
}
.index-fahrerkarte-dock .fahrerkarte.fahrerkarte--haupt.fahrerkarte--leiste-kompakt.fahrerkarte--einzeile {
  margin: 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.14);
}
/* Index-Sheet: Fahrerzeile nur anzeigen, wenn Karte im Sheet hängt (bei Buchung) */
.index-sheet-fahrerkarte-leiste:not(:has(#fahrerkarte:not([hidden]))) {
  display: none !important;
  border-bottom: none !important;
}
/* map-error-banner entfernt */
.loc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  min-width: 0;
}
/* Erste/letzte Zeile direkt an den Card-Rand ziehen */
.location-card .loc-row:first-child { padding-top: 0; }
.location-card .loc-row:last-child { padding-bottom: 0; }
/* Sichtbarer Abstand zwischen Abhol- und Zielzeile (Zwischenstopps bleiben eigene Zeilen dazwischen) */
.location-card .loc-row.pickup { padding-bottom: var(--ct24-loc-abhol-ziel-pad); }
.location-card .loc-row.drop { padding-top: var(--ct24-loc-abhol-ziel-pad); }
/* Zwischenstopps: Zeilen werden per JS eingefügt, Wrapper soll das Karten-Layout nicht stören */
.index-waypoints-mount {
  display: block;
}
.index-waypoints-mount:empty {
  display: none;
}
.index-waypoints-mount .loc-row.waypoint {
  padding-top: 4px;
  padding-bottom: 4px;
  min-height: 42px;
  border-bottom: none;
}
/* Geschätzter Fahrpreis: Ionic/iOS-inspiriert (Inset-„Item“, Icon-Slot, Titel + Hint, Betrag rechts) */
.index-loc-price-row.index-loc-price-ion {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: auto;
  min-width: 0;
  margin-top: 0;
  margin-left: calc(-1 * var(--ct24-loc-pad-x, 12px));
  margin-right: calc(-1 * var(--ct24-loc-pad-x, 12px));
  padding: 0;
  box-sizing: border-box;
  min-height: 64px;
  border-radius: 0;
  background: transparent;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.index-loc-price-grid {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(31, 42, 68, 0.08);
  border-left: none;
  border-right: none;
  overflow: hidden;
}
.index-loc-price-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 8px 7px;
  box-sizing: border-box;
}
.index-loc-price-col + .index-loc-price-col {
  border-left: 1px solid rgba(31, 42, 68, 0.1);
}
.index-loc-price-col--guthaben {
  align-items: center;
  text-align: center;
}
.index-loc-price-col--end {
  align-items: center;
  text-align: center;
}
.index-loc-price-col__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #475569;
  line-height: 1.15;
}
.index-loc-price-col__value {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.08;
  color: #0f172a;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.index-loc-price-col__sub {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #64748b;
  max-width: 100%;
}
.index-loc-price-col--guthaben .index-loc-price-col__sub {
  color: #0f766e;
}
.index-loc-price-col--end .index-loc-price-col__sub {
  color: #475569;
}
.index-loc-price-col--end #indexPriceColMinusValue {
  color: #0f766e;
}
.index-loc-price-ion__toggle {
  display: none;
  align-items: center;
  gap: 0;
  margin-top: 1px;
  cursor: pointer;
  user-select: none;
}
.index-loc-price-ion__toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.index-loc-price-ion__toggle-track {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.18s ease;
  flex: 0 0 auto;
}
.index-loc-price-ion__toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.24);
  transition: transform 0.18s ease;
}
.index-loc-price-ion__toggle input:checked + .index-loc-price-ion__toggle-track {
  background: #10b981;
}
.index-loc-price-ion__toggle input:checked + .index-loc-price-ion__toggle-track::after {
  transform: translateX(14px);
}
.index-loc-price-ion__toggle.is-disabled {
  opacity: 0.55;
  cursor: default;
}
.index-loc-price-ion__hint {
  display: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #8e8e93;
  text-align: center;
  padding-left: 7px;
  padding-right: 7px;
  box-sizing: border-box;
}
.index-loc-price-row.index-loc-price-ion:has(#priceEstimate.price-val--placeholder) .index-loc-price-ion__hint { display: none; }
.index-loc-price-row.index-loc-price-ion:has(#indexLocCashbackToggleWrap:not([hidden])) .index-loc-price-ion__toggle {
  display: inline-flex;
}
.location-card .index-loc-price-ion .booking-footer-price-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.location-card .index-loc-price-ion .booking-footer-price-label[hidden] {
  display: none !important;
}
.location-card .price-val--loc-card {
  display: inline-block;
  font-size: clamp(19px, 5.1vw, 24px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.028em;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.location-card .price-val--loc-card.price-val--flash {
  animation: ct24-price-flash 0.22s ease;
}
.location-card .price-val--loc-card.price-val--placeholder {
  font-size: 15px;
  font-weight: 600;
  color: #aeaeb2;
  letter-spacing: -0.01em;
}
@keyframes ct24-price-flash {
  0% { transform: translateY(1px); opacity: 0.72; }
  100% { transform: translateY(0); opacity: 1; }
}
.loc-row:last-of-type { border-bottom: none; }
.loc-field {
  flex: 1 1 0;
  min-width: 0;
}
.loc-field input[type="text"] {
  width: 100%;
  height: 38px;
  margin-bottom: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: 15px;
  color: #111827;
}
.loc-gps {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.loc-gps svg { width: 20px; height: 20px; }
.loc-gps:active { opacity: 0.88; }
/* Ziel: Stadt / Flughafen — kompakte Icon-Buttons wie Mockup */
.loc-dest-switch {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  box-sizing: border-box;
}
.loc-pickup-actions {
  gap: 0;
}
.loc-dest-switch__btn {
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: #eef1f5;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background 0.15s ease, color 0.15s ease;
}
.loc-dest-switch__btn + .loc-dest-switch__btn {
  box-shadow: none;
}
.loc-dest-switch__btn:hover {
  background: #dde3ea;
}
.loc-dest-switch__btn:active {
  opacity: 0.88;
  transform: scale(0.97);
}
.loc-dest-switch__btn--active {
  background: #e2e8f0;
  color: var(--navy);
}
/* Abholung: dezentes GPS (Crosshair) — hebt sich leicht vom Plus/Löschen ab */
.loc-dest-switch__btn--gps-pickup {
  background: #e8f4fc;
  color: #0369a1;
}
.loc-dest-switch__btn--gps-pickup:hover {
  background: #d7eef9;
  color: #0c4a6e;
}
#pickupGpsBtn[aria-busy='true'] {
  opacity: 0.68;
  pointer-events: none;
}
.loc-dest-switch__icon {
  width: 20px;
  height: 20px;
  display: block;
}
.loc-dest-switch__btn:disabled,
.loc-dest-switch__btn.loc-dest-switch__btn--disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.loc-clear-hidden {
  display: none !important;
}
.loc-waypoint-row {
  margin: 0;
  padding: 0 0 0 0;
  height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  border-top: 1px solid #eee;
  border-bottom: none;
  position: relative;
}
.loc-waypoint-row--inline {
  border-top: 1px solid #eee !important;
  border-bottom: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
}
.loc-waypoint-add-btn {
  width: 14px;
  height: 14px;
  appearance: none;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -7px;
  transform: none;
}
.loc-waypoint-add-btn:hover {
  color: #334155;
}
.loc-waypoint-add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.loc-dest-switch--mode {
  gap: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f5;
}
.loc-dest-switch--mode .loc-dest-switch__btn {
  width: auto;
  min-width: 74px;
  height: 34px;
  padding: 0 10px;
  border-radius: 0;
  background: transparent;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}
.loc-dest-switch--mode .loc-dest-switch__btn + .loc-dest-switch__btn {
  border-left: 1px solid rgba(15, 23, 42, 0.1);
}
.loc-dest-switch--mode .loc-dest-switch__btn--active {
  background: #ffffff;
  color: #0f172a;
}
.location-card .loc-field input.loc-field-input--locked {
  background: #f8fafc;
  color: #334155;
  cursor: default;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
}
.dot.green { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.dot.red { background: var(--red); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2); }
.dot.orange { background: #f97316; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22); }
.loc-main {
  flex: 1;
  min-width: 0;
}
.loc-text {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
  word-break: break-word;
}
.loc-actions {
  margin-top: var(--gap-xs);
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  flex-wrap: wrap;
}
.link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.icon-x {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
input[type="text"], select {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
  margin-bottom: var(--gap-md);
}
select { cursor: pointer; }
.mini-row {
  display: flex;
  gap: var(--gap-md);
  flex-wrap: wrap;
}
.mini-row button {
  flex: 1;
  min-width: 120px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.mini-row .secondary {
  background: #f3f4f6;
  color: #374151;
}
.mini-row .primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Recenter */
/* recenter-btn entfernt (keine Karte) */

@keyframes ct24-bottom-sheet-enter {
  from {
    transform: translate3d(-50%, 60px, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(-50%, 0, 0);
    opacity: 1;
  }
}


/* Footer: Tabs unten fixiert */
.booking-footer{
  flex-shrink: 0;
  min-width: 0;
  padding: var(--ct24-sheet-pad-y) var(--ct24-sheet-pad-x) 8px;
  margin-top: var(--gap-xs);
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
}
/* Index: siehe #indexBookingFooterHost .booking-footer oben — überschreibt diese Zeile vollständig */
/* Fahrerkarte — Uber/Bolt: links Name+Status, Mitte Fahrzeug+Kennzeichen, rechts ETA + Aktionen */
.fahrerkarte {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  position: relative;
}
.fahrerkarte--haupt .fahrerkarte__rahmen {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  box-sizing: border-box;
}
.fahrerkarte--haupt .fahrerkarte__links {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.fahrerkarte--haupt .fahrerkarte__info {
  min-width: 0;
  flex: 1 1 auto;
}
.fahrerkarte__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fahrerkarte__badge-zeile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  min-width: 0;
}
.fahrerkarte__status-punkt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #94a3b8;
}
.fahrerkarte--mit-fahrer .fahrerkarte__status-punkt {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.22);
}
.fahrerkarte--haupt .fahrer-avatar {
  width: 48px;
  height: 48px;
  position: relative;
  overflow: hidden;
}
.fahrerkarte__avatar-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}
.fahrerkarte__avatar-bild[hidden] {
  display: none !important;
}
.fahrerkarte__avatar-initialen {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(145deg, #1e3a5f 0%, #0f172a 100%);
  border-radius: 50%;
  line-height: 1;
  pointer-events: none;
}
.fahrerkarte__avatar-initialen[hidden] {
  display: none !important;
}
.fahrer-avatar__ersatz {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fahrer-avatar--foto .fahrer-avatar__ersatz,
.fahrer-avatar--initialen .fahrer-avatar__ersatz {
  visibility: hidden;
}
.fahrerkarte--haupt .fahrer-avatar svg {
  width: 24px;
  height: 24px;
}
.fahrerkarte--haupt .fahrerkarte__mitte {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  max-width: 38%;
  text-align: center;
}
.fahrerkarte--haupt .fahrerkarte__rechts {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  min-width: 76px;
}
.fahrerkarte__eta {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
  line-height: 1.25;
  max-width: 104px;
  word-break: break-word;
}
.fahrerkarte__eta[hidden] {
  display: none !important;
}
.fahrerkarte__hinweis {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fahrerkarte__hinweis[hidden] {
  display: none !important;
}
.fahrerkarte__meta {
  margin: 0 12px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
}
.fahrerkarte__meta[hidden] {
  display: none !important;
}
.fahrerkarte__schnellaktionen {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.fahrerkarte__kreis-knopf {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  background: #eef1f5;
  user-select: none;
  border: none;
  padding: 0;
  color: var(--navy, #1a2744);
}
.fahrerkarte__kreis-knopf--aktion {
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.fahrerkarte__kreis-knopf--aktion:disabled {
  opacity: 0.42;
  cursor: default;
  pointer-events: none;
}
.fahrerkarte__kreis-knopf--aktion:not(:disabled):active {
  transform: scale(0.96);
}
.fahrerkarte__kreis-knopf--aktion:focus-visible {
  outline: 2px solid var(--navy, #1a2744);
  outline-offset: 2px;
}
.fahrerkarte__kennzeichen-box.fahrerkarte__kennzeichen-box {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  text-align: center;
  line-height: 1.15;
  margin-top: 0;
  padding: 5px 8px;
  border-radius: 8px;
  background: #1f2a44;
  border: none;
}
.fahrerkarte--haupt .fahrerkarte__kennzeichen-box {
  max-width: 120px;
}
.fahrerkarte__kennzeichen-beschriftung {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fahrerkarte__schild {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fahrer-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef2f8, #dbe4f0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(26, 39, 68, 0.08);
  position: relative;
  overflow: hidden;
}
.fahrer-avatar svg { width: 24px; height: 24px; }
.fahrerkarte-beschriftung {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #475569;
  margin-bottom: 0;
  line-height: 1.25;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* CT24_SYNC:FAHRERZEILE_CSS_START */
.fahrerkarte--leiste-kompakt {
  gap: 0;
  border-radius: 12px;
  box-shadow: none;
  border: none;
  background: transparent;
}
/* Karten-Look (Snippet-Vorschau / kompakte weiße Zeile im Sheet) */
.fahrerkarte.fahrerkarte--haupt.fahrerkarte--leiste-kompakt.fahrerkarte--einzeile {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 8px 14px 9px;
  border: none;
}
.fahrerkarte--leiste-kompakt .fahrerkarte__rahmen--kompakt {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  box-shadow: none;
  background: transparent;
}
/* Drei Spalten: Avatar | Kennzeichen + Status/ETA | Stornieren */
.fahrerkarte--einzeile .fahrerkarte__rahmen--kompakt {
  gap: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}
.fahrerkarte__einzeile-rechts {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.fahrerkarte__storno {
  margin: 0;
  padding: 8px 12px;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
  white-space: nowrap;
  max-width: 34vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fahrerkarte__storno:disabled,
.fahrerkarte__storno[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.fahrerkarte__storno[hidden] {
  display: none !important;
}
.fahrerkarte--einzeile .fahrerkarte__einzeile-links {
  flex-shrink: 0;
  min-width: 0;
}
.fahrerkarte--einzeile .fahrerkarte__einzeile-mitte {
  min-width: 0;
  text-align: center;
  padding: 0 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
/* Phasen-Badge: Fahrersuche → Fahrer gefunden (steuert JS #fahrerkartePhasePill + .fahrerkarte--phase-*) */
.fahrerkarte__phase-pill {
  display: inline-block;
  align-self: center;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
.fahrerkarte__phase-pill[hidden] {
  display: none !important;
}
.fahrerkarte--phase-idle .fahrerkarte__phase-pill {
  display: none !important;
}
.fahrerkarte--phase-suche .fahrerkarte__phase-pill {
  color: #9a3412;
  background: rgba(251, 191, 36, 0.35);
  border: 1px solid rgba(217, 119, 6, 0.35);
}
.fahrerkarte--phase-vorschau .fahrerkarte__phase-pill {
  color: #1e3a5f;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.28);
}
.fahrerkarte--phase-fahrer .fahrerkarte__phase-pill {
  color: #14532d;
  background: rgba(34, 197, 94, 0.22);
  border: 1px solid rgba(22, 163, 74, 0.35);
}
#indexFahrerkarteHome #fahrerkarte.driver.fahrerkarte--phase-suche #fahrerkarteKennzeichenCar,
#indexFahrerkarteHome #fahrerkarte.driver.fahrerkarte--phase-suche #fahrerkarteKennzeichenPhone,
#indexSheetFahrerkartePlatz #fahrerkarte.driver.fahrerkarte--phase-suche #fahrerkarteKennzeichenCar,
#indexSheetFahrerkartePlatz #fahrerkarte.driver.fahrerkarte--phase-suche #fahrerkarteKennzeichenPhone {
  color: #9a3412;
}
#indexFahrerkarteHome #fahrerkarte.driver.fahrerkarte--phase-fahrer #fahrerkarteKennzeichenCar,
#indexFahrerkarteHome #fahrerkarte.driver.fahrerkarte--phase-fahrer #fahrerkarteKennzeichenPhone,
#indexSheetFahrerkartePlatz #fahrerkarte.driver.fahrerkarte--phase-fahrer #fahrerkarteKennzeichenCar,
#indexSheetFahrerkartePlatz #fahrerkarte.driver.fahrerkarte--phase-fahrer #fahrerkarteKennzeichenPhone {
  color: #0f172a;
}
.fahrerkarte--einzeile .fahrerkarte__kennzeichen-zeile {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
  margin: 0;
}
.fahrerkarte--einzeile .fahrerkarte__eta-zeile {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  white-space: normal;
  line-height: 1.25;
  overflow: hidden;
  max-width: 100%;
  text-align: center;
  margin: 1px 0 0;
}
.fahrerkarte--leiste-kompakt .fahrerkarte__avatar-fach {
  flex-shrink: 0;
}
.fahrerkarte--leiste-kompakt .fahrer-avatar {
  width: 42px;
  height: 42px;
}
.fahrerkarte--leiste-kompakt .fahrer-avatar svg {
  width: 21px;
  height: 21px;
}
.fahrerkarte__nur-screenreader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fahrerkarte__nur-screenreader button {
  display: none;
}
.fahrerkarte--leiste-kompakt .fahrerkarte__nur-screenreader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fahrerkarte--leiste-kompakt .fahrerkarte__nur-screenreader button {
  display: none;
}
.fahrerkarte--einzeile.fahrerkarte--mit-fahrer .fahrerkarte__kennzeichen-zeile {
  color: #0f172a;
}
/* Aktive Buchung: Ticket, Detailblock und Hinweise im Sheet ausblenden — nur Fahrerkarte + Jetzt-Buchen-Leiste */
body.ct24-is-buchung-page #sheetBody #bookingTripHeroHead,
body.ct24-is-buchung-page #sheetBody #tripFlowDetails,
body.ct24-is-buchung-page #sheetBody #bookingSheetBlockHead,
body.ct24-is-buchung-page #sheetBody #indexSheetNeueAnfrage,
body.ct24-is-buchung-page #sheetBody #bookingSheetStatus {
  display: none !important;
}
/* Status/Storno nicht mehr in der unteren Tab-Zeile — Steuerung in der Fahrerkarte */
body.ct24-trip-storno-card #indexBookingFooterHost .booking-footer .booking-tabs {
  display: none !important;
}
/* CT24_SYNC:FAHRERZEILE_CSS_END */

/*
 * Taxi-UI-Mockup (vom Nutzer): #fahrerkarte.driver — nur im Index-Popup + Sheet-Slot.
 * Klassennamen: .driver-top .avatar .info .info-near-phone .near .car-stack … .phone.phone--inline .call.call--inline
 */
#indexFahrerkarteHome #fahrerkarte.driver.fahrerkarte,
#indexSheetFahrerkartePlatz #fahrerkarte.driver.fahrerkarte {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 8px 10px;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  border: 4px solid #37a800;
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
  position: relative;
}
#indexFahrerkarteHome #fahrerkarte.driver .driver__storno,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .driver__storno {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  margin: 0;
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 10px;
}
#indexFahrerkarteHome #fahrerkarte.driver .driver-top,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .driver-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 6px;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#indexFahrerkarteHome #fahrerkarte.driver .driver-top > .avatar,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .driver-top > .avatar {
  grid-column: 1;
  grid-row: 1;
}
#indexFahrerkarteHome #fahrerkarte.driver .driver-top > .info,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .driver-top > .info {
  grid-column: 2;
  grid-row: 1;
}
#indexFahrerkarteHome #fahrerkarte.driver .driver-top > .car-stack,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .driver-top > .car-stack {
  grid-column: 3;
  grid-row: 1;
}
#indexFahrerkarteHome #fahrerkarte.driver .avatar,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #eee;
  box-sizing: border-box;
  overflow: hidden;
  background: #f1f5f9 center / cover no-repeat;
}
#indexFahrerkarteHome #fahrerkarte.driver .avatar .fahrer-avatar,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .avatar .fahrer-avatar {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
}
#indexFahrerkarteHome #fahrerkarte.driver .fahrerkarte__avatar-bild,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .fahrerkarte__avatar-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}
#indexFahrerkarteHome #fahrerkarte.driver .fahrerkarte__avatar-initialen,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .fahrerkarte__avatar-initialen {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(145deg, #1e3a5f 0%, #0f172a 100%);
  border-radius: 50%;
}
#indexFahrerkarteHome #fahrerkarte.driver .fahrer-avatar__ersatz,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .fahrer-avatar__ersatz {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 50%;
  z-index: 0;
}
#indexFahrerkarteHome #fahrerkarte.driver .fahrer-avatar--foto .fahrer-avatar__ersatz,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .fahrer-avatar--foto .fahrer-avatar__ersatz {
  display: none;
}
#indexFahrerkarteHome #fahrerkarte.driver .fahrer-avatar svg,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .fahrer-avatar svg {
  width: 28px;
  height: 28px;
}
#indexFahrerkarteHome #fahrerkarte.driver .info,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .info {
  flex: 1;
  min-width: 0;
  text-align: left;
}
#indexFahrerkarteHome #fahrerkarte.driver .info-near-phone,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .info-near-phone {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin-top: 1px;
}
#indexFahrerkarteHome #fahrerkarte.driver .info-near-phone .near,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .info-near-phone .near {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
#indexFahrerkarteHome #fahrerkarte.driver .info-phone-inline,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .info-phone-inline {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 44%;
  min-width: 0;
}
#indexFahrerkarteHome #fahrerkarte.driver .fahrerkarte__phase-pill--mock,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .fahrerkarte__phase-pill--mock {
  display: inline-block;
  margin-bottom: 4px;
  max-width: 100%;
}
#indexFahrerkarteHome #fahrerkarte.driver .name#fahrerkarteName,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .name#fahrerkarteName {
  font-size: 18px;
  font-weight: 800;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.15;
}
#indexFahrerkarteHome #fahrerkarte.driver .rating,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .rating {
  font-size: 13px;
  color: #ffb800;
  font-weight: 700;
  margin-bottom: 4px;
}
#indexFahrerkarteHome #fahrerkarte.driver .near,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .near {
  font-size: 12px;
  color: #37a800;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}
#indexFahrerkarteHome #fahrerkarte.driver.fahrerkarte--phase-idle .near,
#indexSheetFahrerkartePlatz #fahrerkarte.driver.fahrerkarte--phase-idle .near {
  color: #475569;
  font-weight: 600;
  font-size: 11px;
}
#indexFahrerkarteHome #fahrerkarte.driver .car-stack,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .car-stack {
  flex-shrink: 0;
  width: 116px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  text-align: center;
}
#indexFahrerkarteHome #fahrerkarte.driver .car-stack .car,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .car-stack .car {
  width: 116px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#indexFahrerkarteHome #fahrerkarte.driver .car-under,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .car-under {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}
#indexFahrerkarteHome #fahrerkarte.driver .car-model,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .car-model {
  font-size: 11px;
  font-weight: 700;
  color: #444;
  line-height: 1.2;
  max-width: 100%;
}
#indexFahrerkarteHome #fahrerkarte.driver .car-color,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .car-color {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}
#indexFahrerkarteHome #fahrerkarte.driver .car-plate,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .car-plate {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  margin-top: 1px;
}
#indexFahrerkarteHome #fahrerkarte.driver .car__img,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .car__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
/* Telefon kompakt in einer Zeile mit Status (.near), kein eigener Footer mehr */
#indexFahrerkarteHome #fahrerkarte.driver .phone.phone--inline,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .phone.phone--inline {
  font-size: 11px;
  font-weight: 700;
  color: #1f1f1f;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 6.8rem;
  min-width: 0;
  letter-spacing: 0.01em;
}
#indexFahrerkarteHome #fahrerkarte.driver .call.call--inline,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .call.call--inline {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #37a800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(55, 168, 0, 0.32);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
#indexFahrerkarteHome #fahrerkarte.driver .call.call--inline:active,
#indexSheetFahrerkartePlatz #fahrerkarte.driver .call.call--inline:active {
  filter: brightness(0.95);
  transform: scale(0.96);
}
@media (max-width: 400px) {
  #indexFahrerkarteHome #fahrerkarte.driver .driver-top,
  #indexSheetFahrerkartePlatz #fahrerkarte.driver .driver-top {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 6px;
    column-gap: 6px;
  }
  #indexFahrerkarteHome #fahrerkarte.driver .driver-top > .car-stack,
  #indexSheetFahrerkartePlatz #fahrerkarte.driver .driver-top > .car-stack {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
  #indexFahrerkarteHome #fahrerkarte.driver .info-phone-inline,
  #indexSheetFahrerkartePlatz #fahrerkarte.driver .info-phone-inline {
    max-width: 40%;
  }
  #indexFahrerkarteHome #fahrerkarte.driver .phone.phone--inline,
  #indexSheetFahrerkartePlatz #fahrerkarte.driver .phone.phone--inline {
    max-width: 5.4rem;
    font-size: 10px;
  }
}
/* Sheet: bündig — spezifischer als #indexSheetFahrerkartePlatz #fahrerkarte.driver (Parent #bottomSheet). */
#bottomSheet .index-sheet-fahrerkarte-leiste__platz #fahrerkarte.driver.fahrerkarte {
  margin: 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #ececec;
  box-shadow: none;
  padding: 10px 8px 12px;
}

.driver-meta-ioniq-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 0;
  min-width: 0;
}
.driver-ioniq-preview {
  flex-shrink: 0;
  width: auto;
  height: 48px;
  max-width: 78px;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  /*
   * i. V. m. JPEG (keine echte Transparenz im Asset) entfernen wir den weißen
   * Hintergrund visuell per Blend-Modus: Weiß wird mit dem Hintergrund „ausgemalt“.
   */
  mix-blend-mode: multiply;
}
.driver-ioniq-preview[hidden] {
  display: none !important;
}

.driver-ioniq-preview-wrap {
  flex-shrink: 0;
  height: 48px;
  width: auto;
  max-width: 78px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* #status / #routeStatus / #status2: Klassen am Element (Fahrerkarte v2) */
.fahrerkarte-seite {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--gap-sm);
  flex-shrink: 0;
}
/* Fahrzeug: PNG — kompakte Vorschau; in der Fahrerkarte heller Mockup-Look */
.booking-vehicle-graphic {
  width: 88px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #000;
  border-radius: 10px;
}
.fahrerkarte .booking-vehicle-graphic {
  width: 72px;
  height: 44px;
  background: transparent;
  border-radius: 8px;
}
.booking-vehicle-graphic__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}
.price-val { font-size: 15px; font-weight: 800; color: var(--navy); }
.info-i {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fahrt-Ablauf unter Ticket/Fahrer: gleiche Zeilenlogik wie Adresskarte (Meta | Adressen mit Punkten) */
.booking-trip-flow {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}
.booking-trip-flow[hidden] {
  display: none !important;
}
/* Auftragsblock: Meta + Adresszeilen wie Fahrer-Sheet (Punkte, Abholung inkl. geplant, Ziel) */
.booking-trip-flow .trip-context-summary.booking-trip-context-card {
  margin: 0;
  padding: 4px 12px 8px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-sizing: border-box;
}
.booking-trip-flow .booking-trip-context-card .trip-context-row--meta {
  padding-top: 8px;
}
.booking-trip-flow .booking-trip-context-card .trip-context-row--loc .dot.red {
  background: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
}
.trip-context-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}
.trip-context-row:last-child {
  border-bottom: none;
}
.trip-context-row--meta {
  align-items: baseline;
}
.trip-context-row__k {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  flex-shrink: 0;
}
.trip-context-row__v {
  font-size: 13px;
  font-weight: 650;
  color: #0f172a;
  text-align: right;
  word-break: break-word;
  min-width: 0;
  line-height: 1.35;
}
.trip-context-row--loc {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}
.trip-context-row--loc .dot {
  margin-top: 5px;
}
.trip-context-row__main {
  flex: 1;
  min-width: 0;
}
.trip-context-row__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 3px;
}
.trip-context-row__text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  word-break: break-word;
}
.trip-context-row__sched {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}
.trip-context-row__sched--planned {
  display: inline-block;
  margin-top: 6px;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #1e3a8a;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.28);
  line-height: 1.35;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.cancel-link--trip-flow {
  margin-top: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.4);
}

.payment-row {
  margin-top: var(--gap-sm);
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.booking-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: var(--gap-md);
  padding: 10px 12px;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: 14px;
}
.booking-ticket-row[hidden] {
  display: none !important;
}
.booking-ticket-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  line-height: 1.3;
}
.booking-ticket-k {
  font-weight: 600;
  color: #64748b;
}
.booking-ticket-num {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.booking-ticket-share {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(29, 78, 216, 0.25);
  background: #fff;
  color: #1d4ed8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.booking-ticket-share:active {
  opacity: 0.88;
}
.booking-ticket-share svg {
  width: 22px;
  height: 22px;
}
.booking-footer .booking-ticket-row {
  margin-top: 6px;
  margin-bottom: var(--gap-sm);
}
/* Footer: Grid Bar | Karte (gleiche Spaltenbreite) | Fahrpreis/Cashback */
#bookingFooterPayRow.booking-footer-pay-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}
#bookingFooterPayRow[hidden],
body.ct24-is-buchung-page #bookingFooterPayRow {
  display: none !important;
}
.booking-footer-payment-title {
  font-size: 13px;
  font-weight: 600;
  color: #888888;
  margin: 0;
  padding: 0 2px;
  line-height: 1.2;
}
.booking-footer-payment-methods {
  display: grid;
  grid-template-columns: auto minmax(0, 1.2fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 2px;
}
.booking-footer-payment-methods > .booking-payment-btn {
  width: 100%;
  min-width: 0;
  flex: none;
}
.booking-payment-segment {
  display: grid;
  grid-template-columns: auto auto;
  background: #e5e7eb;
  border-radius: 14px;
  padding: 0;
  gap: 0;
  overflow: hidden;
  width: fit-content;
  justify-self: start;
}
/* Zahlungs-Umschalter in der Modus-Leiste (vor Jetzt/Später), optisch mit Tabs verbunden */
.booking-payment-single-wrap {
  width: 100%;
  min-width: 0;
}
.booking-mode-toolbar__pay {
  display: flex;
  align-items: stretch;
  min-width: 0;
  box-sizing: border-box;
}
/* [hidden] muss gewinnen: sonst überschreibt display:flex die Sichtbarkeit (Karte/Bar bleibt im Sheet). */
.booking-mode-toolbar__pay[hidden],
#bookingFooterPayMethodWrap[hidden] {
  display: none !important;
}
body.ct24-is-buchung-page #bookingFooterPayMethodWrap,
body.ct24-is-buchung-page .booking-mode-toolbar__pay {
  display: none !important;
}
.booking-payment-btn.booking-payment-btn--toolbar {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  height: 100%;
  padding: 8px 8px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: #e5e7eb;
  color: #475569;
  font-size: var(--ct24-book-now-font-size);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 0 rgba(31, 42, 68, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease, color 0.18s ease;
}
.booking-payment-btn.booking-payment-btn--toolbar:hover {
  background: #eceef2;
  color: #1f2a44;
}
.booking-payment-btn.booking-payment-btn--toolbar:active {
  opacity: 0.94;
}
.booking-payment-segment .booking-payment-btn {
  border-radius: 0;
}
.booking-payment-segment .booking-payment-btn:first-child {
  border-radius: 14px 0 0 14px;
}
.booking-payment-segment .booking-payment-btn:last-child {
  border-radius: 0 14px 14px 0;
}
.booking-footer-payment-methods .booking-footer-price-hero.booking-footer-price--beside-card {
  margin: 0;
  min-width: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-footer-payment-methods .booking-footer-price--beside-card .booking-footer-price-hero-line {
  justify-content: center;
  width: 100%;
}
.booking-footer-payment-methods .booking-footer-price--beside-card .booking-footer-price-main {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.booking-footer-payment-methods .booking-footer-price--beside-card .booking-footer-cashback-inline {
  display: block;
  width: auto;
  max-width: 100%;
  text-align: center;
  line-height: 1.25;
}
.booking-footer-payment-methods .booking-footer-price--beside-card .price-val--hero {
  font-size: clamp(17px, 4.2vw, 22px);
  line-height: 1.1;
}
/* Platzhalter „Fahrpreis ab …“: gleiche Schriftgröße wie aktiver „Jetzt buchen“-Tab */
.bottom-sheet .price-val--hero.price-val--placeholder {
  font-size: var(--ct24-book-now-font-size);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2;
}
.bottom-sheet .booking-footer-payment-methods {
  margin: 4px 0;
}
.booking-payment-btn {
  flex: 0 0 auto;
  min-width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 0;
  border: none;
  background: #e5e7eb;
  font-size: var(--ct24-book-now-font-size);
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.booking-payment-btn > span:last-child {
  display: inline-block;
  line-height: 1;
  font-size: 15px;
  font-weight: 700;
}
.booking-payment-btn[aria-pressed="true"] {
  background: #1f2a44;
  color: #fff;
  font-size: var(--ct24-book-now-font-size-active);
}
.booking-payment-btn:hover {
  background: #e8eaee;
}
.booking-payment-btn[aria-pressed="true"]:hover {
  background: #1f2a44;
}
.booking-payment-btn:active {
  opacity: 0.94;
  transform: scale(0.99);
}
.booking-payment-btn-emoji {
  font-size: 20px;
  line-height: 1;
  transform: translateY(-3px);
}
.booking-payment-btn-emoji--cash {
  font-size: 20px;
}
.booking-footer-price-hero {
  text-align: center;
  margin: 10px 0 6px;
}
.booking-footer-price-row.booking-footer-price-hero {
  margin-top: 4px;
  margin-bottom: 4px;
}
.booking-footer-price-hero-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
}
.booking-footer-price-main {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 8px;
  text-align: center;
}
.booking-footer-price-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.price-val--hero {
  font-size: clamp(22px, 6.5vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.booking-footer-cashback-inline {
  font-size: 13px;
  font-weight: 500;
  color: #16a34a;
  max-width: 100%;
}
.booking-footer-cashback-inline[hidden] {
  display: none !important;
}

.cta-row {
  display: flex;
  gap: var(--gap-md);
  margin-top: var(--gap-sm);
}
.cta-row button {
  flex: 1;
  height: 50px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}
.booking-footer-leading {
  grid-area: lead;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.booking-tabs:not(.booking-tabs--has-status) .booking-footer-leading {
  display: none;
}
.booking-footer-leading .booking-footer-status {
  text-align: left;
  padding: 0 2px;
}
/* Footer: Zeile 1 = Bar | Fahrpreis | Karte; Modus-Zeile = Jetzt | Später (Index außerhalb .booking-tabs) */
.booking-tabs {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: var(--gap-sm);
  row-gap: var(--gap-md);
  margin-top: var(--gap-sm);
  align-items: stretch;
  min-width: 0;
}
.booking-tabs:not(.booking-tabs--has-status) {
  grid-template-areas:
    "tablater"
    "box"
    "tabnow";
}
.booking-tabs.booking-tabs--has-status {
  grid-template-areas:
    "lead"
    "tablater"
    "box"
    "tabnow";
}
.booking-tabs #bookingTabLater {
  grid-area: tablater;
  width: 100%;
  align-self: stretch;
}
.booking-tabs #bookingTabNow {
  grid-area: tabnow;
  width: 100%;
  align-self: stretch;
}
#bookingBoxLater {
  grid-area: box;
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Später planen: kompakte Zeile (native date/time + Schnellwahlen), kein Monats-Kalender */
.ct24-later-compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.ct24-later-compact__fields {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}
.ct24-later-compact__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
}
.ct24-later-compact__input {
  min-width: 0;
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: #f8fafc;
  font: 600 16px/1.25 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #0f172a;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  accent-color: #1d4ed8;
  color-scheme: light;
}
.ct24-later-compact__input:focus {
  outline: none;
  border-color: rgba(29, 78, 216, 0.65);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}
@media (max-width: 380px) {
  .ct24-later-compact__fields {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'ld ld'
      'd d'
      'lt lt'
      't t';
  }
  .ct24-later-compact__lbl--date {
    grid-area: ld;
  }
  .ct24-later-compact__date {
    grid-area: d;
  }
  .ct24-later-compact__lbl--time {
    grid-area: lt;
  }
  .ct24-later-compact__time {
    grid-area: t;
  }
}

/* Wenn Kalender offen: Fokus auf Reservierung (nur Datum/Uhrzeit + Kalender + Button) */
body.ct24-cal-open #bookingFooterPayRow,
body.ct24-cal-open #bookingTabLater,
body.ct24-cal-open .booking-footer-leading {
  display: none !important;
}
body.ct24-cal-open #indexBookingFooterHost .booking-footer {
  order: 1;
}
body.ct24-cal-open .booking-tabs {
  grid-template-areas:
    "box" !important;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tabs .booking-footer-leading {
  justify-content: center;
}
/* Aktive Fahrt mit Storno: eine Zeile = #bookingModeSegmentWrap (Tabs sind darin verschachtelt, nicht direkte Grid-Kinder). */
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tabs {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tabs.booking-tabs--has-status {
  grid-template-areas:
    "lead"
    "modeseg";
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tabs:not(.booking-tabs--has-status) {
  grid-template-areas:
    "modeseg";
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tabs #bookingModeSegmentWrap {
  grid-area: modeseg;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger #bookingTabNow {
  width: auto;
  min-width: 112px;
  align-self: center;
}
.booking-tab {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid #e5e7eb;
  background: var(--surface);
  color: var(--navy);
}
.booking-tab--later {
  border: none;
  background: transparent;
  color: #666666;
  font-size: 14px;
  font-weight: 600;
  min-height: 0;
  padding: 10px 8px;
  margin-bottom: 4px;
  border-radius: 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.bottom-sheet .booking-tab--later {
  color: #777777;
  font-weight: 500;
  text-align: center;
}
/* „Warte auf Annahme“: wie ein eigener Status-Button (Rand + Fläche), gut von Storno unterscheidbar */
.booking-tab--later.booking-tab--waiting-accept {
  border: 2px solid rgba(29, 78, 216, 0.42) !important;
  background: linear-gradient(
    180deg,
    rgba(29, 78, 216, 0.14) 0%,
    rgba(29, 78, 216, 0.07) 100%
  ) !important;
  color: #1e3a8a !important;
  font-weight: 750 !important;
  font-size: 14px !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  margin-bottom: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 1px 2px rgba(15, 23, 42, 0.06);
  text-align: center;
}
.booking-tab--later.booking-tab--waiting-accept:hover {
  color: #172554 !important;
  border-color: rgba(29, 78, 216, 0.55) !important;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tab--later.booking-tab--waiting-accept {
  justify-self: stretch;
}
/* Aktive Fahrt: Status-Kachel links (nicht nur „Warte auf Annahme“) — einheitlich lesbar, nicht mit Storno überlappend. */
.booking-tab--later.booking-tab--footer-trip:not(.booking-tab--waiting-accept) {
  border: 2px solid rgba(15, 23, 42, 0.12) !important;
  background: rgba(248, 250, 252, 0.98) !important;
  color: #0f172a !important;
  font-weight: 650 !important;
  font-size: 14px !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  margin-bottom: 0 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  text-align: left !important;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tab--later.booking-tab--footer-trip .booking-tab-inner {
  justify-content: flex-start;
  width: 100%;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tab--later.booking-tab--waiting-accept {
  text-align: left !important;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tab--later.booking-tab--waiting-accept .booking-tab-inner {
  justify-content: flex-start;
}
.booking-tab--later.booking-tab--footer-trip .booking-tab-emoji {
  display: none;
}
.booking-tab--later:hover {
  color: #334155;
}
.booking-tab--later.active {
  border: none;
  background: transparent;
  color: #1f2a44;
  opacity: 1;
}
.booking-tab--now {
  border-width: 2px;
}
.booking-tab--now:not(.active) {
  background: #fff;
  color: var(--navy);
  border-color: #e5e7eb;
}
.booking-tab--now.active {
  border: none;
  background: var(--ct24-primary);
  color: #fff;
  font-size: var(--ct24-book-now-font-size-active);
  font-weight: 700;
  min-height: 52px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.bottom-sheet .booking-tab--now.active {
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 44px;
  height: auto;
}
.booking-tab--now.active:active {
  transform: scale(0.96);
}
.booking-tab--now.booking-tab--danger.active {
  background: #b91c1c !important;
  color: #fff !important;
}
.booking-tab-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.booking-tab--with-sub .booking-tab-inner {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.1;
}
.booking-tab-emoji {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}
.booking-tab-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking-tab-sub-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}
.booking-tab-sub-label[hidden] {
  display: none !important;
}
.booking-tab--with-sub.active {
  padding-top: 6px;
  padding-bottom: 6px;
  height: 52px;
}
.bottom-sheet .booking-tab--now.booking-tab--with-sub.active {
  min-height: 44px;
  height: 44px;
}
.booking-tab.active:not(.booking-tab--now):not(.booking-tab--later) {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.booking-tab--danger {
  background: #b91c1c !important;
  color: #fff !important;
  border-color: #991b1b !important;
}
.booking-tab:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.booking-tab.booking-tab--readonly:disabled {
  opacity: 1;
  cursor: default;
  pointer-events: none;
  background: #f1f5f9;
  color: #0f172a;
  border-color: #e2e8f0;
  font-weight: 750;
}
.booking-footer-status {
  font-size: 12px;
  font-weight: 750;
  color: #0f172a;
  text-align: left;
  padding: 0 2px 0;
  line-height: 1.3;
  min-height: 1.15em;
}
.booking-footer-status[hidden] {
  display: none !important;
}
.rating-modal-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
}
.rating-star-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #cbd5e1;
}
.rating-star-btn.is-on {
  color: #f59e0b;
  border-color: #fbbf24;
  background: #fffbeb;
}
.rating-star-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.rating-comment {
  width: 100%;
  min-height: 88px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}
.booking-box { margin-top: var(--gap-sm); }
.booking-box--footer {
  margin-top: 0;
}
/* Kompakte Datum/Uhrzeit-Auswahlzeile unter Modus „Später“ */
.when-pill {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 2px solid #ffffff;
  background: #ffffff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.when-pill:active { opacity: 0.92; }
.when-pill:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.when-pill .muted {
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.when-pill .when-sep {
  margin: 0 10px;
  color: #94a3b8;
  font-weight: 800;
}
/* Kalender (Monat) – kompakt, klar, mobile-friendly */
.ct24-cal {
  width: 100%;
  margin-top: 10px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}
/* Inline (im Footer-Grid) statt Popup */
.ct24-cal-inline[hidden] { display: none !important; }
.ct24-cal-inline {
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
}
/* Im Popup soll der Kalender bündig sein (keine doppelte Kante / kein Versatz) */
.ct24-cal-modal-panel .ct24-cal {
  margin-top: 0;
  border: 0;
  border-radius: 18px;
}
/* Calendar Popup */
.ct24-cal-modal {
  position: fixed;
  inset: 0;
  z-index: 56;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  background: rgba(15, 23, 42, 0.45);
}
.ct24-cal-modal[hidden] { display: none !important; }
.ct24-cal-modal-panel {
  width: min(520px, 96vw);
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(26, 39, 68, 0.12);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.28);
  overflow: hidden;
  position: relative;
}
.ct24-cal-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ct24-cal-modal-title {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.02em;
}
.ct24-cal-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(26,39,68,0.12);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}
.ct24-cal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.ct24-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ct24-cal-head .m {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.02em;
}
.ct24-cal-nav {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(26,39,68,0.12);
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  font-size: 18px;
}
.ct24-cal-nav:active { opacity: 0.9; }
.ct24-cal-wd, .ct24-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 8px 10px;
}
.ct24-cal-wd {
  padding-bottom: 6px;
}
.ct24-cal-wd div {
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.ct24-day {
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(26,39,68,0.10);
  background: #fff;
  color: #0f172a;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.ct24-day.is-off { opacity: 0.35; }
.ct24-day.is-today { border-color: rgba(29, 78, 216, 0.35); }
.ct24-day.is-sel {
  background: rgba(29, 78, 216, 0.12);
  border-color: rgba(29, 78, 216, 0.28);
  color: #1d4ed8;
}
.ct24-cal-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.ct24-cal-footer {
  padding: 0 10px 12px;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.ct24-cal-apply {
  width: 100%;
  margin-top: 10px;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(29, 78, 216, 0.35);
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.14), rgba(29, 78, 216, 0.08));
  color: #1d4ed8;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ct24-cal-apply:active {
  opacity: 0.92;
}
.ct24-time-input {
  flex: 0 0 auto;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(26,39,68,0.14);
  background: #fff;
  padding: 0 12px;
  font-weight: 900;
  font-size: 14px;
  color: #0f172a;
}
.ct24-time-chips {
  display: flex;
  gap: 6px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.ct24-chip {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(26,39,68,0.14);
  background: #fff;
  font-weight: 900;
  font-size: 12px;
  color: #0f172a;
  cursor: pointer;
}
.ct24-chip:active { opacity: 0.9; }
.res-datetime {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
}
.plan-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 0;
  margin-bottom: var(--gap-xs);
}
.plan-title { font-weight: 900; color: #0f172a; font-size: 15px; letter-spacing: -0.01em; }
.plan-sub { font-weight: 650; color: var(--muted); font-size: 12px; }
.plan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-top: var(--gap-sm);
}
.plan-dt-card{
  margin-top: var(--gap-xs);
  padding: 8px 10px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}
.plan-dt-card .res-datetime{
  border: 0;
  border-radius: 10px;
  padding: 0;
  height: 46px;
  margin: 0;
}
.plan-inline{
  margin-top: var(--gap-md);
  display: grid;
  gap: var(--gap-xs);
}
.plan-inline-row{
  display:flex;
  justify-content: space-between;
  gap: var(--gap-md);
  font-size: 12px;
  line-height: 1.35;
}
.plan-inline-row .k{ color: #64748b; font-weight: 850; }
.plan-inline-row .v{ color: #0f172a; font-weight: 850; text-align: right; max-width: 68%; }
.chip-btn{
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
.chip-btn:active{ opacity: .9; }
/* (Summary wurde in den Kalender-Bereich integriert) */
.btn-later-primary{
  background: var(--navy);
  color: #fff;
  border: 0;
  height: 50px;
  border-radius: 14px;
  font-weight: 900;
  width: 100%;
  cursor: pointer;
}
.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border: 2px solid #e5e7eb !important;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:disabled, .btn-outline:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cancel-link {
  display: block;
  width: 100%;
  margin-top: var(--gap-md);
  padding: 8px;
  background: none;
  border: none;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.cancel-link:disabled {
  color: #9ca3af;
  cursor: not-allowed;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 57;
  background: rgba(15, 22, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop[hidden] { display: none !important; }

.modal-panel {
  background: var(--surface);
  border-radius: 18px;
  max-width: 360px;
  width: 100%;
  padding: 22px 20px 18px;
  box-shadow: var(--shadow);
}
.modal-panel h2 {
  margin: 0 0 16px;
  font-size: 18px;
  text-align: center;
  color: #111827;
}
.fare-lines { list-style: none; margin: 0; padding: 0; }
.fare-lines li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}
.fare-lines li:last-child { border-bottom: none; }
.fare-disclaimer {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 14px 0 16px;
}
.modal-gotit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: var(--navy-dark);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
/* pay-icon Styles sind weiter oben zentral definiert */

/* Web-Karte Mapbox (interaktiv) */
.ct24-map-shell #map {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #dce2e9;
  pointer-events: auto;
}

/* Keine leere Ticket-Zeile im Auftrags-Block */
#bookingTripHeroHead:not(:has(#bookingTicketRow:not([hidden]))) {
  display: none !important;
}
/* Breite: min(560px, 100vw - 24px) — bereits in .bottom-sheet; kein extra Breakpoint nötig */

/* ---- Aktive Fahrt (body.ct24-is-buchung-page, gesetzt per JS bei laufender Buchung) ---- */
body.ct24-is-buchung-page .location-card,
body.ct24-is-buchung-page .index-loc-shell {
  display: none !important;
}
/* Nach „Jetzt buchen“: links Status, rechts „Stornieren“ */
body.ct24-is-buchung-page #bookingTabNow:not(.booking-tab--danger) {
  display: none !important;
}
/* Vor Storno-Button: Statuszeile, darunter linker Tab (Status) — Pay-Zeile ausgeblendet */
body.ct24-is-buchung-page #indexBookingFooterHost:not(.index-booking-footer-host--danger) .booking-tabs.booking-tabs--has-status {
  grid-template-columns: 1fr;
  grid-template-areas:
    "lead"
    "tablater";
}
body.ct24-is-buchung-page #indexBookingFooterHost:not(.index-booking-footer-host--danger) .booking-tabs:not(.booking-tabs--has-status) {
  grid-template-columns: 1fr;
  grid-template-areas:
    "tablater";
}
/* Während aktiver Buchung: Menüleiste (Burger, Tabs, Cashback) aus — mehr Karte sichtbar */
body.ct24-is-buchung-page .app-header {
  display: none !important;
}

/* Nach Buchung: nur Fahrer-Top-Sheet (Auftrag unten im Bottom-Sheet) */
.booking-top-stack {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 6;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  pointer-events: none;
}
.booking-top-stack > * { pointer-events: auto; }
.booking-top-stack[hidden] { display: none !important; }
body.ct24-is-buchung-page .booking-top-stack {
  display: flex;
  top: 0;
  padding-top: max(8px, env(safe-area-inset-top, 0px));
  gap: 0;
}

/* Fahrer-Panel: Inhalt oben, Griff unten (nach unten aufklappbar) */
.booking-driver-top-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  pointer-events: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.22s ease, opacity 0.22s ease;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.ct24-is-buchung-page .booking-driver-top-sheet.ct24-glass {
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.11);
}
.booking-driver-top-sheet.is-collapsed .booking-driver-top-sheet__inner {
  display: none !important;
}
.booking-driver-top-sheet.is-collapsed .booking-driver-top-sheet__chrome {
  border-top: none;
  border-radius: 18px;
}
.booking-driver-top-sheet__chrome {
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 0 16px 16px;
}
.booking-driver-top-sheet__drag {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 6px;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.booking-driver-top-sheet__drag:active {
  cursor: grabbing;
}
.booking-driver-top-sheet__handle-bar {
  width: 40px;
  height: 5px;
  background: #bbbbbb;
  border-radius: 10px;
}
.booking-driver-top-sheet__hit {
  position: absolute;
  inset: 0;
  margin: 0;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.booking-driver-top-sheet__hit:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.booking-driver-top-sheet__inner {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(46vh, 380px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.booking-trip-hero--driver-only {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.booking-trip-hero--driver-only .booking-trip-hero__driver-slot .fahrerkarte {
  margin: 0;
}
.booking-trip-hero--driver-only .booking-trip-hero__driver-slot .fahrerkarte--haupt {
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

/* ——— Bottom-Sheet „Auftrag“ während Fahrt (Status + Ticket + Details) ——— */
.booking-sheet-block-head {
  display: none;
  margin: 0;
  padding: 0;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast:not(.is-collapsed) #sheetBody .booking-sheet-block-head {
  display: block;
}
.booking-sheet-block-title {
  margin: 0 0 2px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.booking-sheet-status-banner {
  display: block;
  margin: 0 0 2px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #0f172a;
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.1) 0%, rgba(29, 78, 216, 0.04) 100%);
  border: 1px solid rgba(29, 78, 216, 0.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}
.booking-sheet-status-banner[hidden] {
  display: none !important;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast:not(.is-collapsed) #sheetBody.sheet-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--ct24-sheet-pad-y) var(--ct24-sheet-pad-x);
  box-sizing: border-box;
  background: rgba(248, 250, 252, 0.65);
}
body.ct24-is-buchung-page #sheetBody .booking-trip-hero__head {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
#sheetBody .booking-trip-hero__head {
  border-radius: 14px;
  overflow: hidden;
}
body.ct24-is-buchung-page #sheetBody .booking-trip-flow {
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
}
body.ct24-is-buchung-page #sheetBody .booking-trip-flow .booking-trip-context-card {
  padding: 8px 12px 10px;
}
body.ct24-is-buchung-page #sheetBody .cancel-link--trip-flow {
  margin: 0;
  padding: 10px 12px 12px;
  border-radius: 0 0 12px 12px;
  background: rgba(248, 250, 252, 0.9);
}
#sheetBody .booking-trip-flow {
  margin-top: 0;
  border-radius: 14px;
}

/* Eine Karte: Ticket-Zeile + Fahrer (Uber-/Bolt-ähnlich) */
.booking-trip-hero {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.booking-trip-hero__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
/* Aktive Fahrt: volle Helden-Karte; Ausnahme: nur-Fahrer-Karte im Top-Sheet (Glas am äußeren Top-Sheet) */
body.ct24-is-buchung-page .booking-trip-hero:not(.booking-trip-hero--driver-only) {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.11);
}
body.ct24-is-buchung-page .booking-trip-hero__head {
  background: rgba(241, 245, 249, 0.55);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
body.ct24-is-buchung-page .booking-trip-hero--driver-only .fahrerkarte--haupt {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.75);
}
.booking-trip-hero__ticket {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.booking-trip-hero__ticket[hidden] {
  display: none !important;
}
.booking-trip-hero__ticket-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.booking-trip-hero__ticket-num {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.booking-trip-hero__share {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  box-shadow: var(--shadow-soft);
}
.booking-trip-hero__share[hidden] {
  display: none !important;
}
.booking-trip-hero__share:active {
  opacity: 0.9;
}
.booking-trip-hero__share svg {
  width: 22px;
  height: 22px;
}
.booking-trip-hero__driver-slot .fahrerkarte {
  margin: 0;
}
.booking-trip-hero__driver-slot .fahrerkarte--haupt {
  border-radius: 16px;
}
body.ct24-is-buchung-page .booking-trip-hero__driver-slot .booking-vehicle-graphic {
  width: 100px;
  height: 50px;
}
body.ct24-is-buchung-page .booking-trip-hero__driver-slot .fahrerkarte--haupt .booking-vehicle-graphic {
  width: 72px;
  height: 40px;
}

/* Sheet-Body nur im echten Bottom-Sheet (z. B. test.html); nicht für losgelöstes #sheetBody am Index */
.bottom-sheet .sheet-body.sheet-body--booking-only {
  min-height: 0;
}
/* Während Fahrt: Höhe am Inhalt orientiert (kein leerer Glas-Block bis zum Footer) */
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast .sheet-body.sheet-body--booking-only {
  flex: 0 1 auto;
  flex-grow: 0;
  min-height: 0;
  max-height: min(52vh, calc(100vh - 140px));
  max-height: min(52vh, calc(100dvh - 140px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Nach Buchung: volle Viewport-Breite wie Index-Stack / Ionic-Nav — kein schmales „Schwimmkarten“-Sheet */
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet {
  max-height: none;
  padding-top: 0;
  padding-bottom: env(safe-area-inset-bottom);
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 16px 16px 0 0;
  border-bottom: none;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.1);
  transform: none;
}
/* Buchungsfuß: fixed unten (früher #bottomSheet) */
body.ct24-is-buchung-page #indexUiStack {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: auto;
  max-width: none;
  margin: 0;
  display: block;
  pointer-events: none;
}
body.ct24-is-buchung-page #indexBottomSheetMount {
  display: contents;
}
/*
 * Alt: reine Buchungsseite ohne Fahrgast-Bottom-Sheet — Griff + Sheet-Inhalt aus.
 * Index mit aktiver Fahrt: .ct24-sheet--fahrgast braucht Griff und #sheetBody sichtbar.
 */
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet:not(.ct24-sheet--fahrgast) .sheet-toggle {
  display: none !important;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet:not(.ct24-sheet--fahrgast) .sheet-body {
  display: none !important;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast .sheet-toggle {
  display: flex !important;
  flex-direction: column;
  min-height: 14px;
  padding-top: 0;
  gap: 0;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast .ct24-sheet-drag-handle {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 14px;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast .sheet-toggle__hint {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast:not(.is-collapsed) .sheet-body.sheet-body--booking-only {
  display: flex !important;
  flex-direction: column;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast .booking-footer {
  margin-top: 0 !important;
  padding: var(--ct24-sheet-pad-y) var(--ct24-sheet-pad-x) max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast .booking-tabs {
  row-gap: 6px;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast.is-collapsed .sheet-body,
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast.is-collapsed #sheetBody.sheet-body {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  background: transparent !important;
  border: none !important;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast:not(.is-collapsed) #sheetBody.sheet-body {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast.is-collapsed .ct24-sheet-drag-handle {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 14px;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast.is-collapsed .sheet-handle {
  opacity: 1;
  background: #94a3b8;
}
body.ct24-is-buchung-page:not(.ct24-index-no-ion-bottom-sheet) .bottom-sheet.ct24-sheet--fahrgast.is-collapsed {
  overflow: hidden !important;
}
.ct24-buchung-neu-wrap {
  padding: 10px 14px 12px;
  border-top: 1px solid var(--border);
}
a.ct24-buchung-neu-fahrt {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
a.ct24-buchung-neu-fahrt:active {
  opacity: 0.92;
}

/* Cashback-Popup (💰 Kopfzeile): zentriert, über dem Menü-Drawer */
.index-cashback-popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  pointer-events: none;
}
.index-cashback-popup:not([hidden]) {
  pointer-events: auto;
}
.index-cashback-popup[hidden] {
  display: none !important;
}
.index-cashback-popup__scrim {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(26, 39, 68, 0.45);
  backdrop-filter: blur(4px);
}
.index-cashback-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  max-height: min(88vh, 580px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(21, 34, 56, 0.22);
  border: 1px solid rgba(26, 39, 68, 0.08);
  box-sizing: border-box;
}
.index-cashback-popup__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border);
}
.index-cashback-popup__title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}
.index-cashback-popup__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #e2e8f0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.index-cashback-popup__close:active {
  opacity: 0.9;
}
.index-cashback-popup__mount {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px 18px;
  box-sizing: border-box;
}
.index-cashback-popup__mount .index-menu-drawer__panel {
  margin: 0;
  padding: 0;
}
.index-cashback-popup__mount .index-menu-drawer__panel-title {
  display: none;
}
.index-cashback-popup__mount .index-cashback-ledger-list {
  max-height: min(240px, 38vh);
}

/* Cashback-QR: Erfolgs-Popup über Menü/Karte */
.index-cbqr-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  pointer-events: none;
}
.index-cbqr-overlay:not([hidden]) {
  pointer-events: auto;
}
.index-cbqr-overlay[hidden] {
  display: none !important;
}
.index-cbqr-scrim {
  position: absolute;
  inset: 0;
  background: rgba(26, 39, 68, 0.45);
  backdrop-filter: blur(4px);
}
.index-cbqr-dialog {
  position: relative;
  width: min(360px, 100%);
  max-height: min(85vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(21, 34, 56, 0.22);
  border: 1px solid rgba(26, 39, 68, 0.08);
  padding: 22px 20px 18px;
  text-align: center;
}
.index-cbqr-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.index-cbqr-icon--success {
  background: linear-gradient(145deg, #dcfce7 0%, #bbf7d0 100%);
  color: #15803d;
  border: 2px solid rgba(34, 197, 94, 0.35);
}
.index-cbqr-icon--warn {
  background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  border: 2px solid rgba(245, 158, 11, 0.4);
}
.index-cbqr-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
}
.index-cbqr-body {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 650;
  color: #374151;
  line-height: 1.45;
}
.index-cbqr-sub {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}
.index-cbqr-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.index-cbqr-btn:active {
  opacity: 0.92;
  transform: scale(0.99);
}

/* Mapbox: Geocoding-Vorschläge unter Adressfeldern */
.ct24-mbx-ac-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  margin: 4px 0 0;
  max-height: 220px;
  overflow-y: auto;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.ct24-mbx-ac-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  font: 600 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  cursor: pointer;
}
.ct24-mbx-ac-item:last-child {
  border-bottom: none;
}
.ct24-mbx-ac-item:active,
.ct24-mbx-ac-item:hover {
  background: rgba(15, 118, 110, 0.08);
}


/* Index: Termin (#bookingBoxLater) in Toolbar; Footer-.booking-tabs nur bei sichtbarem Status */
body:not(.ct24-is-buchung-page) .booking-tabs:not(.booking-tabs--has-status) {
  display: none;
}
body:not(.ct24-is-buchung-page) #indexBookingFooterHost:not(.index-booking-footer-host--has-status) .booking-footer {
  display: none;
}
body:not(.ct24-is-buchung-page) .booking-tabs.booking-tabs--has-status {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "lead";
  column-gap: 0;
  row-gap: 0;
  margin-top: 0;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) .booking-cashback-minus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #475569;
  line-height: 1;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingModeSegmentWrap.booking-mode-toolbar {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding: 0;
  border-top: none;
  background: var(--ct24-taxi-ui-green-soft);
  border-radius: 0;
  overflow: hidden;
  align-self: stretch;
  isolation: isolate;
}
/* Zahlung + Jetzt/Später unter Zieladresse (eine Zeile, grauer Track wie zuvor im Dock) */
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) .index-loc-booking-toolbar {
  display: flex;
  flex-direction: column;
  width: auto;
  margin-left: calc(-1 * var(--ct24-loc-pad-x, 12px));
  margin-right: calc(-1 * var(--ct24-loc-pad-x, 12px));
  margin-top: 0;
  margin-bottom: calc(-1 * var(--ct24-loc-pad-y, 8px));
  padding: 0;
  box-sizing: border-box;
  border-top: none;
  flex-shrink: 0;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  overflow: hidden;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) .index-loc-booking-toolbar #bookingModeSegmentWrap.booking-mode-toolbar {
  border-top: none;
  border-radius: 0 0 24px 24px;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingModeSegmentWrap .booking-mode-toolbar__pay:not([hidden]) {
  flex: 0 0 clamp(5.5rem, 27vw, 8.75rem);
  max-width: 100%;
  border-right: none;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingModeSegmentWrap .booking-payment-btn.booking-payment-btn--toolbar {
  background: var(--ct24-taxi-ui-green-soft);
  color: #333;
  box-shadow: none;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingModeSegmentWrap .booking-payment-btn.booking-payment-btn--toolbar:hover {
  background: #e2eee2;
  color: #1f2937;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingModeSegmentWrap .booking-tab--now:not(.active) {
  background: var(--ct24-taxi-ui-green-soft);
  color: #333;
  border: none;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingModeSegmentWrap .booking-tab--now.active {
  background: var(--ct24-taxi-ui-green);
  color: #fff;
  border: none;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingModeSegmentWrap .booking-tab--later:not(.active) {
  background: transparent;
  color: #333;
  font-weight: 700;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingModeSegmentWrap .booking-tab--later.active {
  background: var(--ct24-taxi-ui-green);
  color: #fff !important;
  font-weight: 700;
  opacity: 1;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingModeSegmentWrap .booking-mode-toolbar__tabs {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open)
  #bookingModeSegmentWrap:has(#bookingFooterPayMethodWrap[hidden])
  .booking-mode-toolbar__tabs {
  grid-column: 1 / -1;
}
body.ct24-is-buchung-page #bookingModeSegmentWrap.booking-mode-toolbar {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  background: #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}
/* Buchung: #bookingModeSegmentWrap und #bookingBoxLater hängen im Sheet-Footer — Toolbar in der Card hat keine Kinder mehr */
body.ct24-is-buchung-page .location-card .index-loc-booking-toolbar:not(:has(> *)) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  min-height: 0 !important;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger #bookingModeSegmentWrap.booking-mode-toolbar {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
body.ct24-is-buchung-page #bookingModeSegmentWrap .booking-mode-toolbar__tabs {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
/* Aktive Buchung: nur Status (links) + Stornieren (rechts), kein Zahlungsblock im Flex.
 * Flex statt Grid: sonst wirkt grid-area: tablater/tabnow von .booking-tabs #bookingTab* im inneren Grid
 * falsch → „Warte auf Annahme“ und Storno überlappen sich vertikal. */
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger #bookingModeSegmentWrap .booking-mode-toolbar__tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger #bookingModeSegmentWrap #bookingTabLater {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  grid-area: unset;
  align-self: center;
  margin-bottom: 0;
  order: 1;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger #bookingModeSegmentWrap #bookingTabNow {
  flex: 0 0 auto;
  grid-area: unset;
  align-self: center;
  margin-bottom: 0;
  order: 2;
}
body.ct24-is-buchung-page #indexBookingFooterHost.index-booking-footer-host--danger .booking-tab--later.booking-tab--waiting-accept {
  margin-bottom: 0;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabNow {
  width: 100%;
  min-width: 0;
  justify-self: stretch;
  align-self: stretch;
  grid-area: auto;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabLater {
  width: 100%;
  min-width: 0;
  justify-self: stretch;
  align-self: stretch;
  grid-area: auto;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabNow,
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabLater {
  border: none;
  border-radius: 0;
  min-height: 44px !important;
  height: 44px;
  padding: 8px 8px !important;
  margin: 0;
  background: #e5e7eb;
  color: #6b7280;
  font-size: var(--ct24-book-now-font-size);
  font-weight: 700;
  box-sizing: border-box;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabNow {
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid rgba(15, 23, 42, 0.1);
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabLater {
  border-radius: 0;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabNow.active,
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabLater.active {
  background: #1f2a44;
  color: #fff;
  font-size: var(--ct24-book-now-font-size-active);
  box-shadow: none;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabNow.active {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 44px !important;
  height: 44px;
  font-weight: 800;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabLater.active {
  border-right: none;
}
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabNow .booking-tab-inner,
body:not(.ct24-is-buchung-page):not(.ct24-cal-open) #bookingTabLater .booking-tab-inner {
  height: 100%;
  align-items: center;
}

/* Index: Nachrichten-Popup (Support / Fahrer mit Dispatcher- und Fahrer-Tab) */
.index-messages-modal {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: max(8px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  pointer-events: none;
}
.index-messages-modal:not([hidden]) {
  pointer-events: auto;
}
.index-messages-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}
.index-messages-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: min(82vh, 580px);
  background: #fff;
  border-radius: 16px 16px 12px 12px;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.index-messages-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 8px;
  border-bottom: 1px solid var(--border);
}
.index-messages-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.index-messages-modal__close {
  border: none;
  background: #f1f5f9;
  color: var(--navy);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.index-messages-tabs,
.index-messages-subtabs {
  display: flex;
  flex-direction: row;
  gap: 6px;
  padding: 8px 10px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.index-messages-tab,
.index-messages-subtab {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #e2e8f0;
  color: #475569;
}
.index-messages-tab.is-active,
.index-messages-subtab.is-active {
  background: var(--navy);
  color: #fff;
}
.index-messages-panel {
  padding: 10px 12px 14px;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.index-messages-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}
.index-messages-list {
  max-height: 200px;
  overflow: auto;
  margin-bottom: 8px;
  padding: 8px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
}
.index-msg-line {
  margin-bottom: 8px;
}
.index-msg-line:last-child {
  margin-bottom: 0;
}
.index-msg-line__meta {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}
.index-msg-line__body {
  white-space: pre-wrap;
  word-break: break-word;
  color: #0f172a;
}
.index-messages-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  resize: vertical;
  min-height: 72px;
  font-family: inherit;
}
.index-messages-err {
  min-height: 1.2em;
  margin: 6px 0 0;
  font-size: 12px;
  color: #b91c1c;
}
.index-messages-send {
  margin-top: 10px;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
}
.index-messages-subpanel {
  margin-top: 4px;
}

/* WhatsApp-ähnlicher Chat (Index Nachrichten) */
.ct24-wa-presencebar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.ct24-wa-presence-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ct24-wa-presence-dot--on {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}
.ct24-wa-presence-dot--off {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.ct24-wa-typingline {
  font-size: 12px;
  font-style: italic;
  color: #64748b;
  margin: 0 0 6px;
  min-height: 1.2em;
}
.index-messages-list.ct24-wa-scroll {
  max-height: min(38vh, 320px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  background: #ece5dd;
  border: 1px solid #d6d0c8;
}
.ct24-wa-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 100%;
}
.ct24-wa-row--in {
  justify-content: flex-start;
}
.ct24-wa-row--out {
  justify-content: flex-end;
}
.ct24-wa-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.ct24-wa-avatar--rider {
  background: linear-gradient(145deg, #0ea5e9, #0369a1);
}
.ct24-wa-avatar--disp {
  background: linear-gradient(145deg, #6366f1, #4338ca);
}
.ct24-wa-avatar--drv {
  background: linear-gradient(145deg, #16a34a, #14532d);
}
.ct24-wa-bubble {
  max-width: calc(100% - 44px);
  border-radius: 12px;
  padding: 8px 10px 6px;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.08);
}
.ct24-wa-bubble--in {
  background: #fff;
  border-top-left-radius: 4px;
}
.ct24-wa-bubble--out {
  background: #dcf8c6;
  border-top-right-radius: 4px;
}
.ct24-wa-bubble__body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  line-height: 1.35;
  color: #0f172a;
}
.ct24-wa-bubble__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
}
.ct24-wa-bubble--in .ct24-wa-bubble__meta {
  justify-content: space-between;
}
.ct24-wa-bubble__who {
  font-weight: 700;
  color: #475569;
}
.ct24-wa-ticks {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 4px;
  font-size: 12px;
  line-height: 1;
  color: #94a3b8;
}
.ct24-wa-ticks--delivered {
  color: #94a3b8;
}
.ct24-wa-ticks--read {
  color: #34b7f1;
}
.ct24-wa-ticks--sent .ct24-wa-tick:last-child {
  display: none;
}
.ct24-wa-tick {
  display: inline-block;
  transform: translateY(0.5px);
}