/* Display-Schrift selbst gehostet (DSGVO: kein Google-Fonts-Request).
   Oswald ist eine Variable Font – eine Datei deckt 200–700 ab. */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/oswald.woff2") format("woff2");
}

:root {
  /* Palette: Industriekultur Ruhrgebiet */
  --bg: #16181c;            /* Anthrazit / Nahezu-Schwarz */
  --bg-elev: #1f2228;       /* leicht erhöhte Fläche */
  --bg-elev-2: #262a31;
  --steel: #3a3f48;         /* Stahlgrau (Linien, Rahmen) */
  --steel-light: #565d68;
  --text: #ecebe6;          /* gebrochenes Weiß */
  --text-dim: #9aa0a8;
  --text-faint: #6b7178;
  --accent: #d97a2b;        /* warmer Rost-/Bernsteinton – sparsam */
  --accent-glow: rgba(217, 122, 43, 0.35);
  --lock: #6b7178;

  --maxw: 720px;
  --radius: 10px;

  --font-head: "Oswald", "Bebas Neue", "Archivo Narrow", "Helvetica Neue Condensed", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

main { max-width: var(--maxw); margin: 0 auto; padding: 0 16px 48px; }

a { color: var(--accent); }

/* ---------- Live-Status-Leiste ---------- */
.status {
  position: sticky;
  top: 0;
  z-index: 1200; /* über Leaflet (Karten-Panes/Controls liegen global bei z-index 200–1000) */
  background: linear-gradient(180deg, #14161a 0%, #181b20 100%);
  border-bottom: 1px solid var(--steel);
  padding: 10px 16px calc(8px + env(safe-area-inset-top, 0px));
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
}
.status__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.status__kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.status__station {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.status__dist {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  padding: 4px 10px;
  border: 1px solid var(--steel);
  border-radius: 6px;
  background: #101216;
}
.status__dist-value { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.status__dist-unit { font-size: 12px; color: var(--text-faint); }
.status__hint {
  max-width: var(--maxw);
  margin: 6px auto 0;
  font-size: 11px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  padding-right: 120px; /* Platz für den Ton-Stopp-Knopf rechts */
}
/* Globaler „Ton stoppen"-Knopf – nur sichtbar, während Audio läuft */
.status__audiostop {
  position: absolute;
  right: 16px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  color: #fff;
  background: #d8412f;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.status__audiostop[hidden] { display: none; }
.status__audiostop:active { transform: scale(0.96); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 28px; }
.hero__logo { width: min(300px, 74vw); height: auto; display: block; margin: 0 0 16px; }
.hero__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
}
.hero__title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero__intro { margin: 0 0 18px; color: var(--text-dim); font-size: 16px; }
.hero__headline {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 7.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.hero__chip {
  font-size: 13px;
  background: var(--bg-elev-2);
  border: 1px solid var(--steel);
  border-radius: 20px;
  padding: 7px 13px;
  color: var(--text-dim);
}
.hero__cta { display: flex; width: 100%; justify-content: center; font-size: 15px; padding: 14px; }
.hero__values { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.hero__values li {
  padding-left: 22px;
  position: relative;
  color: var(--text-dim);
  font-size: 15px;
}
.hero__values li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
}
.hero__value-key { color: var(--text); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid var(--steel);
  background: var(--bg-elev);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--bg-elev-2); border-color: var(--steel-light); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #1a1206; }
.btn--primary:hover { background: #e8893a; border-color: #e8893a; }
.btn--ghost { background: transparent; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--sm { padding: 7px 14px; font-size: 14px; }

/* ---------- Liniendiagramm ---------- */
.tour { padding-top: 8px; }
.tour__loading, .tour__error { color: var(--text-dim); font-family: var(--font-mono); }
.tour__error { color: var(--accent); }

.area-head {
  margin: 28px 0 6px;
  padding-left: 44px;
  position: relative;
}
.area-head__name {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.stops { list-style: none; margin: 0; padding: 0; }

.stops > li {
  position: relative;
  padding: 14px 0 14px 44px;
}
/* durchgehende vertikale Linie durch die ganze Route */
.stops > li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--steel);
}
.stops > li:first-child::before { top: 22px; }
.stops > li:last-child::before { bottom: calc(100% - 22px); }

/* Marker mit Nummer */
.stop__marker {
  position: absolute;
  left: 4px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--steel-light);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
/* Ausstiegs-Station: gefüllter Marker */
.stop--alight .stop__marker {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  font-weight: 700;
}
/* Vorschau-Station: hervorgehoben */
.stop--preview .stop__marker {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1206;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.stop__card {
  background: var(--bg-elev);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.stop--locked .stop__card { opacity: 0.72; }
.stop--preview .stop__card { border-color: var(--accent); }

.stop__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.stop__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.stop__badges { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tag-preview {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 2px 6px;
}
.tag-lock { font-size: 16px; color: var(--lock); line-height: 1; }

/* Linien-Hinweis (Signet + Ausstieg) */
.stop__transit {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-dim);
}
.line-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 1px rgba(0,0,0,0.35);
}
.stop__alight strong { color: var(--text); }
.stop__transit-text {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

/* Vorschau: Text + Audio-Controls */
.stop__body { margin-top: 12px; }
.stop__text { margin: 0 0 12px; color: var(--text); font-size: 15px; line-height: 1.6; white-space: pre-line; }
.stop__controls { display: flex; gap: 8px; flex-wrap: wrap; }

/* Gesperrt: Hinweis + Kauf */
.stop__lock-row { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stop__lock-note { font-size: 13px; color: var(--text-faint); }

details.stop__details > summary {
  cursor: pointer;
  list-style: none;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
}
details.stop__details > summary::-webkit-details-marker { display: none; }
details.stop__details > summary::before { content: "▸ "; }
details.stop__details[open] > summary::before { content: "▾ "; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--steel);
  color: var(--text-faint);
  font-size: 12px;
}

/* ---------- A11y ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

/* ---------- Abschnittstitel ---------- */
.section-title {
  margin: 36px 0 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Übersicht / Ring ---------- */
.overview__lede { margin: 0 0 16px; color: var(--text-dim); font-size: 15px; }
.ring { display: flex; justify-content: center; position: relative; }
.ring__svg { width: 100%; max-width: 340px; height: auto; }

/* Octolinear-Übersichtskarte */
.octo__svg { width: 100%; max-width: 480px; height: auto; display: block; }
/* Klicks laufen über die unsichtbare .octo__hit-Fläche – Marker/Labels/Linien nicht abfangen */
.octo__line, .octo__dot, .octo__label { pointer-events: none; }
.octo__node { pointer-events: none; }
.octo__line { stroke-opacity: 0.95; }
.octo__dot { fill-opacity: 0.85; }
.octo__node { stroke: transparent; }
.octo__node.is-key { stroke: var(--text); stroke-width: 2.5; }
.octo__node--transfer { stroke: #0b3b35; stroke-width: 1.5; }
.octo__hit { cursor: pointer; }
.octo__node.is-start, .octo__dot.is-start {
  stroke: var(--accent) !important; stroke-width: 4 !important;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}
/* Auswahl-Halo um den gewählten Halt */
.octo__sel {
  stroke: var(--accent); stroke-width: 3.5; pointer-events: none;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
@media (prefers-reduced-motion: no-preference) {
  .octo__sel { animation: octoSelPulse 1.6s ease-in-out infinite; }
  @keyframes octoSelPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
}
/* Namens-Plakette der aktuellen Auswahl in der Kartenmitte */
.ring__selected {
  position: absolute; top: 0; left: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 5px 10px; border-radius: 10px; pointer-events: none; text-align: center; white-space: nowrap;
  background: rgba(16, 18, 22, 0.9); border: 1px solid var(--steel);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: top 0.16s ease, left 0.16s ease;
}
.ring__selected[hidden] { display: none; }
.ring__selected-kicker {
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.ring__selected-name {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head, inherit); font-weight: 700; font-size: 14px;
  color: var(--text); line-height: 1.1;
}
.ring__selected-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.octo__label {
  fill: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 42px;
  paint-order: stroke; stroke: #16181c; stroke-width: 9px; stroke-linejoin: round;
}
.octo__label--transfer { fill: #43d6c4; }
.ring__node { cursor: pointer; transition: r 0.12s ease; }
.ring__node:hover { stroke: var(--text); stroke-width: 2; }
.ring__node.is-start {
  stroke: var(--text);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 5px var(--accent-glow));
}
.ring__center-kicker {
  fill: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
}
.ring__center-name {
  fill: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
}

.ring__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  margin: 14px 0 22px;
}
.legend__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}
.legend__swatch { width: 14px; height: 6px; border-radius: 3px; display: inline-block; }
.legend__swatch--dashed {
  background: repeating-linear-gradient(90deg, var(--steel-light) 0 3px, transparent 3px 6px);
}

/* ---------- Einstieg-Auswahl ---------- */
.start-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
}
.start-picker label { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.start-picker select {
  flex: 1 1 200px;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--steel-light);
  border-radius: 8px;
  padding: 9px 12px;
}

/* ---------- Stop-Area-Tag ---------- */
.stop__area {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

/* ---------- Routen-Übergänge (Umsteigen / Wende / Anschluss) ---------- */
.route-break {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 13.5px;
}
.route-break__icon {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px dashed var(--steel-light);
  border-radius: 50%;
  font-size: 12px;
  z-index: 1;
}
.route-break__text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--text-dim);
}
.route-break--transfer .route-break__text { color: var(--text); font-weight: 600; }
.route-break--wrap { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.route-break--wrap .route-break__icon { border-color: var(--steel); }

.line-badge--sm { min-width: 26px; height: 18px; font-size: 11px; padding: 0 6px; }

/* ==========================================================
   HOP-ON HOP-OFF LAYOUT
   ========================================================== */

/* ---------- Halte-Liste ---------- */
.halts {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

/* ---------- Halt-Karte (kompakt, zum Erkunden) ---------- */
.halt {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--steel);
  margin-bottom: 0;
}

/* Bildfläche oben auf der Halt-Karte (Foto oder Platzhalter) */
.halt__media { position: relative; height: clamp(230px, 66vw, 340px); overflow: hidden; background: #14171c; }
.halt__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 62%;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.78), transparent);
  pointer-events: none;
}
.halt__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.halt__media--ph {
  display: flex; align-items: center; justify-content: center;
  background: #20242b;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ln) 40%, #1d2128), #14171c 82%);
}
.halt__media-ic { color: color-mix(in srgb, var(--ln) 65%, #ffffff); opacity: 0.5; }
.halt__media-cap {
  position: absolute; left: 13px; bottom: 12px; z-index: 1;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

/* Mini-Orientierungskarte je Halt (Leaflet) */
.halt__map { height: 220px; width: 100%; border-top: 1px solid var(--steel); background: #1b1f25; position: relative; z-index: 0; }
.halt__map .leaflet-container { background: #1b1f25; font: inherit; }
.halt__mapmarker span {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  color: #fff; border: 2px solid #fff; font-weight: 700; font-size: 13px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}

.halt__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-elev-2);
}

.halt__step {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1206;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.halt__info { flex: 1; min-width: 0; }

.halt__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.halt__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.halt__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

.halt__hopoff-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 2px 6px;
}

/* Toggle-Button für Sehenswürdigkeiten */
.halt__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  background: var(--bg-elev);
  border: none;
  border-top: 1px solid var(--steel);
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
}
.halt__toggle:hover { background: var(--bg-elev-2); }

.halt__toggle-label { flex: 1; }
.halt__toggle-arrow { font-size: 12px; margin-left: 8px; }

/* ---------- Sehenswürdigkeiten im Halt (kollabierbar) ---------- */
.halt__stops {
  list-style: none;
  margin: 0;
  padding: 0;
}

.attraction {
  position: relative;
  padding: 11px 14px 11px 46px;
  border-top: 1px solid var(--steel);
  background: var(--bg-elev);
}

/* #7: nummeriertes Marker-Badge (Linienfarbe) – deckungsgleich mit den Markern der Halt-Mini-Karte */
.attraction__num {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--steel-light);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  border: 2px solid var(--bg-elev);
  box-sizing: border-box;
}

.attraction--locked { opacity: 0.72; }
.attraction__card { width: 100%; }

/* Bildfläche je Sehenswürdigkeit (Foto oder Platzhalter) */
.attraction__media {
  position: relative; height: clamp(210px, 62vw, 300px); border-radius: 12px;
  overflow: hidden; margin-bottom: 10px; background: #14171c;
}
.attraction__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.attraction__media--ph {
  display: flex; align-items: center; justify-content: center;
  background: #20242b;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ln) 36%, #1d2128), #14171c 84%);
}
.attraction__media-ic { color: color-mix(in srgb, var(--ln) 60%, #ffffff); opacity: 0.45; }

.attraction__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.attraction__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
}

/* ==========================================================
   JOURNEY-CARD – Fahrtkommentar (primäres Element)
   ========================================================== */

.journey {
  display: flex;
  gap: 0;
  padding: 6px 0;
  position: relative;
}

/* Farbiger Linienstab links */
.journey__rail {
  flex-shrink: 0;
  width: 4px;
  border-radius: 2px;
  margin: 4px 14px 4px 13px;
  background: var(--steel);
  min-height: 60px;
}

.journey--wrap .journey__rail {
  background: var(--steel) !important;
  opacity: 0.4;
}

/* Karte */
.journey__card {
  flex: 1;
  background: #11131a;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 13px 15px 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.journey--wrap .journey__card {
  opacity: 0.5;
  border-style: dashed;
}

/* Header */
.journey__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.journey__heading { display: flex; flex-direction: column; gap: 5px; }

.journey__eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.journey__dest {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.journey__arrow {
  color: var(--text-faint);
  font-size: 13px;
}

.journey__dest-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
}

/* Fahrttext einklappbar – Toggle */
.journey__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.journey__toggle-arrow { font-size: 11px; }

/* Kommentar-Text */
.journey__text {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  font-style: italic;
}
.journey__text[hidden] { display: none; }

/* Fahrtkommentar-Zeile: Play-Knopf ins Label integriert (eine aufgeräumte Reihe) */
.journey__cmt { display: flex; align-items: center; gap: 8px; }
.journey__cmt-play {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--accent); background: rgba(217, 122, 43, 0.12); color: var(--accent);
  -webkit-tap-highlight-color: transparent;
}
.journey__cmt-play .ico { width: 15px; height: 15px; }
.journey__cmt-play:hover { background: rgba(217, 122, 43, 0.22); }
.journey__cmt-play.is-playing { background: var(--accent); color: #1a1206; }
.journey__cmt .journey__toggle { align-self: center; padding: 4px 0; }
/* Legacy (nicht mehr erzeugt) – zur Sicherheit ausblenden, falls im Cache */
.journey__controls { display: none; }

/* #5: Fußweg-Teilstück (kein gefahrenes Segment) – Männchen-Badge statt Linien-Badge */
.journey__walkbadge {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(21, 184, 166, 0.16); color: #15b8a6; border: 1px solid rgba(21, 184, 166, 0.5);
}
.journey__walkbadge .ico { width: 18px; height: 18px; }
.journey--walk .journey__rail-fill { background: repeating-linear-gradient(180deg, #15b8a6 0 5px, transparent 5px 11px); }
.journey--walk .journey__eyebrow { color: #15b8a6; }

/* #6: Sight-Karte aufgeräumt – Beschreibung einklappbar, Play immer sichtbar (analog journey__cmt) */
.stop__cmt { display: flex; align-items: center; gap: 8px; }
.stop__cmt-play {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--accent); background: rgba(217, 122, 43, 0.12); color: var(--accent);
  -webkit-tap-highlight-color: transparent;
}
.stop__cmt-play .ico { width: 15px; height: 15px; }
.stop__cmt-play:hover { background: rgba(217, 122, 43, 0.22); }
.stop__cmt-play.is-playing { background: var(--accent); color: #1a1206; }
.stop__toggle {
  display: inline-flex; align-items: center; gap: 6px; align-self: center; padding: 4px 0;
  background: none; border: none; cursor: pointer; color: var(--accent);
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.02em;
}
.stop__toggle-arrow { font-size: 11px; display: inline-flex; }
.stop__text[hidden] { display: none; }

/* Fahrtkommentar-Button – prominent */
.btn--journey {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1206;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 18px;
}
.btn--journey:hover { background: #e8893a; border-color: #e8893a; }
.btn--journey.is-playing {
  background: #b8621f;
  border-color: #b8621f;
}

/* ---------- Ring: Textklassen ---------- */
.ring__center-count {
  fill: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

/* ============================================================
   Live-Tour (Schritt A): GPS-Status, Ausstiegs-Banner, Demo
   ============================================================ */

/* robustes Verstecken (überschreibt display:flex/inline-flex) */
[hidden] { display: none !important; }

/* Statusleiste „aktiv“ (im Radius) – Glühen */
.status--active { border-bottom-color: var(--accent); }
.status--active .status__station { color: var(--accent); }
.status--active .status__dist {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

/* Antippbar (außerhalb der Mitfahrt): führt zur Übersichtskarte für die Einstiegswahl */
.status--tappable { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.status--tappable .status__hint { color: var(--accent); }
.status--tappable .status__hint::after { content: " ›"; font-weight: 700; }
.status--tappable:active { background: linear-gradient(180deg, #181b20 0%, #1f2329 100%); }

/* Ausstiegs-Banner: fest am unteren Rand, gut sichtbar */
.alight-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1100; /* über Leaflet, knapp unter der Status-Leiste */
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 24px);
  padding: 12px 18px;
  background: var(--accent);
  color: #1a1206;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.alight-banner__icon { font-size: 18px; line-height: 1; }
.alight-banner .line-badge { color: #fff; }

/* Live-Tour-Panel */
.livetour { margin-top: 8px; }
.livetour__lede { margin: 0 0 14px; color: var(--text-dim); font-size: 15px; }
.livetour__controls { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.livetour__state {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
}

/* Demo-Modus */
.demo {
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 12px 14px;
}
.demo__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
}
.demo__toggle input { width: 16px; height: 16px; accent-color: var(--accent); }
.demo__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.demo__jump { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.demo__jump select {
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--steel-light);
  border-radius: 8px;
  padding: 7px 10px;
  max-width: 220px;
}

/* per GPS ausgelöste Sehenswürdigkeit hervorheben */
.attraction--active .attraction__card {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--accent-glow), 0 0 18px var(--accent-glow);
}

/* ---------- Optionale Halte (Abstecher) ---------- */
.halt--optional .halt__hopoff-badge {
  background: transparent;
  border: 1px dashed var(--steel-light);
  color: var(--text-dim);
}
.halt__optional-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-faint);
  font-style: italic;
}
.halt--optional { opacity: 0.92; }

/* ---------- Umstiegs-Hinweis in der Fahrt-Karte ---------- */
.journey__transfer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(217, 122, 43, 0.12);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}
.journey__transfer-icon { font-size: 15px; line-height: 1; }

/* ---------- Umstiegspunkt-Knoten (eigene Station, Teal) ---------- */
.transfer { list-style: none; margin: 10px 0; }
/* Ein grüner Kasten fasst Umstieg + „Ab hier mitfahren" + Abfahrten zusammen */
.transfer__box {
  border: 1.5px solid #15b8a6;
  border-radius: var(--radius);
  background: rgba(20, 184, 166, 0.10);
  overflow: hidden;
}
.transfer__card {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
}
.transfer__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2dd4bf;
}
.transfer__at {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--text);
}
.transfer__lines {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.transfer__arrows { color: #2dd4bf; font-size: 16px; font-weight: 700; line-height: 1; }

/* Richtung der Anschlusslinie im Umstiegs-Knoten */
.transfer__dir {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
/* „Ab hier mitfahren" am Umstieg – Vollbreite-Sektion im grünen Kasten */
.transfer__ride {
  width: 100%;
  justify-content: center;
  border: none;
  border-top: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: 0;
  font-size: 14.5px;
}
/* Abfahrten als unterste Sektion im grünen Kasten */
.dep--transfer {
  margin: 0;
  border: none;
  border-top: 1px solid rgba(20, 184, 166, 0.30);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.18);
}

/* Umstieg INTEGRIERT in die Sight-Karte (ein gemeinsamer Kasten statt zwei) */
.halt--transfer { border-color: #15b8a6; }
.halt__transfer {
  border-top: 1.5px solid #15b8a6;
  background: rgba(20, 184, 166, 0.10);
}
.halt__transfer .transfer__card { padding: 11px 14px; }

/* Laufweg-Karte am Umstieg (Ankunfts-Steig → Abfahrts-Steig) */
.transfer__walkcap {
  padding: 0 14px 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  color: #2dd4bf; text-transform: uppercase;
}
.walkmap {
  height: 210px; width: 100%;
  border-top: 1px solid rgba(20, 184, 166, 0.30);
  background: #1b1f25;
  position: relative; z-index: 0; /* Leaflet-z-index kapseln, damit nichts über die Status-Leiste rutscht */
}
.walkmap .leaflet-container { background: #1b1f25; font: inherit; }
.walkmap__marker span {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
  color: #fff; border: 2px solid #fff; font-weight: 700; font-size: 11px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

/* ---------- Optionaler Abstecher: deutlich sichtbar ---------- */
.halt--optional {
  border-style: dashed !important;
  border-color: var(--accent) !important;
  opacity: 1;
}
.halt__abstecher {
  padding: 8px 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1206;
  background: repeating-linear-gradient(135deg,
    var(--accent) 0 14px, #b85f1f 14px 28px);
}
/* die Sehenswürdigkeiten optionaler Halte leicht zurücknehmen */
.halt--optional .halt__header { background: rgba(217, 122, 43, 0.08); }

/* ---------- Abfahrten (VRR-Abfahrtsmonitor) ---------- */
.dep {
  padding: 10px 14px;
  background: #101216;
  border-top: 1px solid var(--steel);
}
.dep__loading { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.dep__title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.dep__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.dep__dest {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dep__when {
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
  flex-shrink: 0;
}
/* „Deine Bahn" während einer Mitfahrt: Zeile hervorheben + Chip (gleicher tripCode wie die Fahrt) */
.dep__row--mine {
  background: color-mix(in srgb, var(--accent, #e8893a) 12%, transparent);
  border-radius: 8px;
  padding-left: 6px;
  padding-right: 6px;
}
.dep__mine {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent, #e8893a);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
}
/* Pflicht-Quellenhinweis (VRR-Nutzungsvereinbarung §4.3) – einmal im Seiten-Footer */
.footer__src {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-faint);
}
.footer__src a { color: var(--text-dim); text-decoration: underline; }
.dep__when--live { color: #2dd46a; }      /* Echtzeit = grün */
.dep__when--live::before {
  content: "● ";
  font-size: 9px;
  vertical-align: 1px;
}

/* ---------- Orientierungs-Halt (schlanke Durchfahrt) ---------- */
.orient { list-style: none; margin: 4px 0; padding-left: 14px; position: relative; }
.orient::before {
  content: "";
  position: absolute;
  left: 6px; top: 0; bottom: 0;
  width: 2px;
  background: var(--steel);
}
.orient__head {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font: inherit;
  padding: 5px 4px;
  cursor: pointer;
  text-align: left;
}
.orient__head::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--steel-light);
  margin-left: -1px;
  flex-shrink: 0;
}
.orient__name { font-size: 14px; flex: 1; min-width: 0; }
.orient__more { color: var(--text-faint); font-size: 13px; }
.orient__body {
  margin: 2px 0 8px 26px;
  padding: 10px 12px;
  background: var(--bg-elev);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
}
.orient__text { margin: 0 0 10px; font-size: 14px; color: var(--text); }

/* ---------- Ring: Schlüsselstationen & Umstiege ---------- */
.ring__node.is-key { stroke: var(--text); stroke-width: 1.5; }
.ring__node--transfer { stroke: #0b3b35; stroke-width: 1; }
/* Start = weißer „Ausgewählt"-Ring + dezenter Halo (kein orangefarbener Ring, der wie Linie 170 aussieht) */
.ring__node.is-start { stroke: var(--text); stroke-width: 3; filter: drop-shadow(0 0 4px var(--accent-glow)); }
.ring__label {
  fill: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 10px;
}
.ring__label--transfer { fill: #2dd4bf; }
.legend__swatch--transfer {
  width: 9px; height: 9px; border-radius: 2px;
  background: #15b8a6; transform: rotate(45deg);
}

/* ---------- „Ab hier mitfahren" + Bahn-Position ---------- */
.halt__ride {
  width: 100%;
  justify-content: center;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  font-size: 14.5px;
}
/* aktueller Standort der Bahn während der Mitfahrt */
.halt.is-riding,
.orient.is-riding {
  box-shadow: 0 0 0 2px #2dd46a, 0 0 16px rgba(45, 212, 106, 0.4);
  border-radius: var(--radius);
}
.orient.is-riding .orient__name { color: #2dd46a; font-weight: 700; }
.orient.is-riding .orient__name::after { content: " · hier"; font-weight: 700; }

/* ---------- Orientierungs-Halt: schlanke Stationszeile (neu) ---------- */
.orient {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0;
  padding: 7px 4px 7px 28px;
}
.orient::before { left: 6px; }            /* vertikale Linie behalten */
.orient .orient__name { color: var(--text-dim); font-size: 14px; }
.orient.is-riding .orient__name { color: #2dd46a; font-weight: 700; }

/* ====================================================================
   Startseite / Landingpage (full-bleed Sektionen um den Tour-Core)
   ==================================================================== */
.lp-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.lp-narrow { max-width: 720px; }

.eyebrow {
  margin: 0 0 10px; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.eyebrow--center { text-align: center; }

.lp-h1 {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  line-height: 1.02; letter-spacing: 0.005em;
  font-size: clamp(34px, 8.5vw, 62px); margin: 0 0 18px;
}
.lp-h1__accent { color: var(--accent); }
.lp-h2 {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  line-height: 1.06; letter-spacing: 0.01em;
  font-size: clamp(26px, 5vw, 40px); margin: 0 0 18px;
}
.lp-h2--xl { font-size: clamp(30px, 6vw, 52px); }
.lp-sub { color: var(--text-dim); font-size: clamp(16px, 2.2vw, 19px); line-height: 1.6; max-width: 620px; margin: 0 0 26px; }
.lp-sub--center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-lead { color: var(--text); font-size: clamp(16px, 2.1vw, 19px); line-height: 1.65; margin: 0 0 16px; }
.lp-lead--muted { color: var(--text-dim); }

.lp-section { padding: clamp(48px, 8vw, 88px) 0; border-top: 1px solid rgba(58, 63, 72, 0.5); }
.lp-position, .lp-features, .lp-trust { background: #13151a; }

/* ---- Hero ---- */
.lp-hero { position: relative; overflow: hidden; padding: clamp(46px, 10vw, 92px) 0 clamp(40px, 7vw, 70px); }
.lp-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(18,20,24,0.74), rgba(18,20,24,0.95)),
    radial-gradient(120% 80% at 82% 0%, rgba(217,122,43,0.16), transparent 60%),
    url("../img/halts/zollverein.jpg") center 30% / cover no-repeat;
}
.lp-hero__inner { position: relative; z-index: 1; }
.lp-hero__logo { width: min(240px, 58vw); height: auto; display: block; margin: 0 0 22px; }
.lp-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* Signatur: Rundkurs-Liniendiagramm im Hero */
.lp-hero__text { max-width: 640px; }
.lp-hero__route {
  margin-top: 30px; max-width: 340px;
  background: rgba(20, 22, 27, 0.72);
  border: 1px solid var(--steel); border-radius: 14px;
  padding: 20px 22px 16px;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.lp-hero__route-head {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--steel);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.route-head-ic { width: 15px; height: 15px; flex: none; }
.route-svg { width: 100%; height: auto; display: block; }
.route-svg text { font-family: var(--font-body); }
.route-stop { fill: var(--text); font-size: 12.5px; font-weight: 600; }
.route-role { fill: var(--accent); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-mono); }
.route-return { fill: #E8893A; font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-mono); }
.lp-hero__route-cap {
  margin: 14px 0 0; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim);
}
@media (min-width: 900px) {
  .lp-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 54px; align-items: center; }
  .lp-hero__route { margin-top: 0; justify-self: end; }
}
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px;
  background: rgba(31,34,40,0.7); border: 1px solid var(--steel); border-radius: 20px;
  padding: 7px 13px; color: var(--text-dim); backdrop-filter: blur(4px);
}
.chip__dot { width: 9px; height: 9px; border-radius: 50%; }

.btn--lg { padding: 15px 26px; font-size: 16px; border-radius: 10px; }
/* Hero: EIN Primär-Button + dezenter Text-Link (kein zweiter konkurrierender Button) */
.lp-hero__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lp-textlink {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none;
  border-bottom: 1px solid rgba(236, 235, 230, 0.35); padding-bottom: 2px;
}
.lp-textlink:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 520px) {
  .lp-hero__cta { gap: 16px; }
  .lp-hero__cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* Guide-Unterseite: schlanke Kopfzeile mit Rücklink zur Startseite */
.guide-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 12px 16px;
}
.guide-top__logo { width: 132px; height: auto; display: block; }
.guide-top__back { color: var(--text-dim); font-size: 13px; text-decoration: none; font-family: var(--font-mono); white-space: nowrap; }
.guide-top__back:hover { color: var(--accent); }

/* ---- So funktioniert's ---- */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.step { background: var(--bg-elev); border: 1px solid var(--steel); border-radius: var(--radius); padding: 24px 20px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--accent); color: #1a1206;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 14px;
}
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 8px; }
.step__text { color: var(--text-dim); font-size: 15px; margin: 0; }
@media (max-width: 680px) { .steps { grid-template-columns: 1fr; } }

/* ---- Vorteile ---- */
.benefits { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 13px 26px; grid-template-columns: repeat(2, 1fr); }
.benefit { display: flex; gap: 11px; align-items: flex-start; color: var(--text); font-size: 15.5px; line-height: 1.45; }
.benefit__mark {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(217,122,43,0.16); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-top: 1px;
}
@media (max-width: 680px) { .benefits { grid-template-columns: 1fr; } }

/* ---- Funktionen ---- */
.features { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.feature { background: var(--bg-elev); border: 1px solid var(--steel); border-radius: 14px; padding: 22px 20px; transition: transform 0.18s ease, border-color 0.18s ease; }
.feature:hover { transform: translateY(-3px); border-color: var(--steel-light); }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 14px;
  color: var(--accent); background: var(--bg-elev-2);
  border: 1px solid var(--steel); border-radius: 10px;
}
.feature__icon svg { width: 24px; height: 24px; display: block; }
.feature__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 7px; }
.feature__text { color: var(--text-dim); font-size: 14.5px; margin: 0; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---- Erlebnis (vertikale Route) ---- */
.exp-route { list-style: none; margin: 12px 0 0; padding: 0; }
.exp-stop { position: relative; padding: 0 0 26px 84px; }
.exp-stop:last-child { padding-bottom: 0; }
.exp-stop__time {
  position: absolute; left: 0; top: 2px; width: 52px; text-align: right;
  font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.exp-stop::before { content: ""; position: absolute; left: 68px; top: 8px; bottom: -4px; width: 2px; background: var(--steel); }
.exp-stop:last-child::before { display: none; }
.exp-stop::after {
  content: ""; position: absolute; left: 63px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
}
.exp-stop__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; margin: 0 0 5px; }
.exp-stop__text { color: var(--text-dim); font-size: 15px; margin: 0; }

/* ---- Vertrauen ---- */
.trust { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 8px; }
.trust__item { background: var(--bg-elev); border: 1px solid var(--steel); border-left: 3px solid var(--accent); border-radius: 10px; padding: 18px; }
.trust__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 6px; }
.trust__text { color: var(--text-dim); font-size: 14.5px; margin: 0; }
@media (max-width: 680px) { .trust { grid-template-columns: 1fr; } }

/* ---- Abschluss-CTA ---- */
.lp-final { text-align: center; background: radial-gradient(120% 120% at 50% 0%, rgba(217,122,43,0.18), transparent 62%), #14161a; }

/* ---- Wandernder CTA: gleitet von unten herein, sobald der Hero-Button rausscrollt ---- */
.lp-stickycta {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 40;
  max-width: 420px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 15px; border-radius: 12px; background: var(--accent); color: #1a1206;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
  text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,0.55);
  transform: translateY(165%); opacity: 0; pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.22, 0.8, 0.2, 1), opacity 0.3s ease;
}
.lp-stickycta.is-shown { transform: translateY(0); opacity: 1; pointer-events: auto; }
.lp-stickycta:hover { background: #e8893a; }

/* ---- Scroll-Reveal ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- Rechtsseiten (Impressum etc.) ---- */
.legal { max-width: 720px; margin: 0 auto; padding: 8px 18px 60px; }
.legal__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 7vw, 44px); letter-spacing: 0.01em; margin: 8px 0 20px; }
.legal h2 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: 0.02em; margin: 28px 0 8px; color: var(--text); }
.legal p { color: var(--text-dim); font-size: 15px; line-height: 1.65; margin: 0 0 8px; }
.legal a { color: var(--accent); }
.legal code { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.legal ul { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin: 4px 0 10px; padding-left: 20px; }
.legal li { margin: 3px 0; }
.legal__sep { border: none; border-top: 1px solid var(--steel); margin: 46px 0 8px; }
.legal__jump { margin: -8px 0 22px; font-size: 14px; }
.legal__notice {
  background: rgba(217, 122, 43, 0.12); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 14px 16px; margin: 0 0 26px;
  color: var(--text); font-size: 14px; line-height: 1.55;
}
.legal__back { margin-top: 30px; }

/* Footer-Navigation (Impressum etc.) */
.footer__nav { margin-top: 8px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer__nav a { color: var(--text-dim); font-size: 13px; text-decoration: none; }
.footer__nav a:hover { color: var(--accent); }

/* ---- ÖPNV-Ticket-Hinweis + Bestätigungs-Modal ---- */
.ticket-note {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 16px 0 0; max-width: 540px;
  font-size: 13.5px; line-height: 1.45; color: var(--text-dim);
  background: rgba(217, 122, 43, 0.10); border: 1px solid rgba(217, 122, 43, 0.45);
  border-radius: 10px; padding: 11px 14px;
}
.ticket-note strong { color: var(--text); }
.ticket-note__icon { flex: none; font-size: 16px; line-height: 1.3; }

.ticket-banner {
  display: flex; align-items: center; gap: 11px; text-align: left;
  margin: 6px 0 16px; padding: 11px 13px;
  font-size: 13px; line-height: 1.5; color: var(--text-dim, #b9bdc4);
  background: linear-gradient(180deg, rgba(217, 122, 43, 0.10), rgba(217, 122, 43, 0.05));
  border: 1px solid rgba(217, 122, 43, 0.26);
  border-radius: 12px;
}
.ticket-banner__ic {
  flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(217, 122, 43, 0.16); color: var(--accent);
}
.ticket-banner__txt strong { color: var(--text); font-weight: 600; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 9, 11, 0.72); backdrop-filter: blur(2px); }
.modal__card {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: var(--bg-elev); border: 1px solid var(--steel); border-radius: 16px;
  padding: 26px 22px 20px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.22s cubic-bezier(0.22, 0.8, 0.2, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__icon { font-size: 34px; margin-bottom: 10px; }
.modal__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 21px; letter-spacing: 0.01em; margin: 0 0 10px; }
.modal__text { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; }
.modal__text strong { color: var(--text); }
.modal__actions { display: flex; flex-direction: column-reverse; gap: 10px; }
.modal__actions .btn { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .modal__card { animation: none; } }

/* ---- Ticket-Callout (unter „Was dich erwartet") ---- */
.ticket-callout {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 28px auto 0; max-width: 720px;
  background: linear-gradient(180deg, rgba(217,122,43,0.14), rgba(217,122,43,0.06));
  border: 1px solid rgba(217,122,43,0.5); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 18px 20px;
}
.ticket-callout__icon { font-size: 26px; flex: none; line-height: 1.1; }
.ticket-callout__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: 0.01em; margin: 0 0 5px; }
.ticket-callout__text { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; margin: 0 0 10px; }
.ticket-callout__text strong { color: var(--text); }
.ticket-callout__link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.ticket-callout__link:hover { text-decoration: underline; }

/* ---- Modal: Ticketshop-Link ---- */
.modal__shop { display: inline-block; margin: -6px 0 18px; color: var(--accent); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.modal__shop:hover { text-decoration: underline; }

/* ---- Auszug: eine Station (iframe) ---- */
.station-embed {
  max-width: 420px; margin: 10px auto 0;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--steel); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  background: var(--bg);
}
.station-embed__frame { display: block; width: 100%; height: 560px; border: 0; background: var(--bg); }

/* ---- Embed-Modus auf der Guide-Seite (im iframe): nur die Station-Karte ---- */
body.is-embed .guide-top,
body.is-embed .status,
body.is-embed .alight-banner,
body.is-embed #overview,
body.is-embed #livetour,
body.is-embed .footer { display: none !important; }
body.is-embed { background: var(--bg); }
body.is-embed main { max-width: none; margin: 0; padding: 12px; }
body.is-embed #tour { padding: 0; }

/* Beschriftung der Orientierungskarte (unterscheidet sie von der Laufweg-Karte) */
.halt__mapcap {
  padding: 8px 14px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-faint);
  background: #1b1f25; border-top: 1px solid var(--steel);
}
.halt__map { border-top: none; }

/* ---------- Linien-Reiter (Tour nach Linien) ---------- */
.linetabs {
  position: sticky; z-index: 30;
  display: flex; gap: 6px;
  margin: 0 -16px 16px; padding: 8px 16px;
  background: rgba(20, 22, 26, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--steel);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.linetabs::-webkit-scrollbar { display: none; }
.linetab {
  --ln: #555; flex: 1 0 auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--steel); background: #181b20; color: #aab1b9;
  font: 600 13px/1 inherit; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.linetab__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ln); flex: none; }
.linetab__cnt {
  min-width: 18px; padding: 1px 5px; border-radius: 999px;
  background: #20242b; color: #aab1b9; font-size: 11px; text-align: center;
}
.linetab.is-active { color: var(--text); border-color: var(--ln); background: color-mix(in srgb, var(--ln) 20%, #181b20); }
.linetab.is-active .linetab__cnt { background: var(--ln); color: #fff; }
.linetab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Unter-Auswahl im Gruppen-Reiter (z. B. Schalke- vs. Zoo-Route) */
.subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 16px; }
.subtab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--steel); background: var(--bg-elev);
  color: var(--text-dim); font: 600 0.92rem/1 var(--font-body);
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.subtab__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ln, #555); flex: none; }
.subtab:hover { color: var(--text); border-color: var(--steel-light); }
.subtab.is-active { color: var(--text); border-color: var(--ln); background: color-mix(in srgb, var(--ln) 18%, var(--bg-elev)); }
.subtab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.linepanel[hidden] { display: none; }
/* Beim Hinspringen Platz für die klebende Status-Leiste + Linien-Reiter lassen */
.halts > li { scroll-margin-top: 120px; }
/* Trenner an der Rundkurs-Naht (Rückkehr-Abschnitt nach mittigem Einstieg) */
.wrap-divider {
  list-style: none; margin: 14px 0; padding: 11px 14px;
  border-radius: 10px; border: 1px dashed var(--steel);
  background: rgba(255, 255, 255, 0.02);
  color: #aab1b9; font-size: 12.5px; line-height: 1.45; text-align: center;
}
/* Umstiegs-Endkarte am Linien-Ende (führt in die Folgelinie; benennt den Umstiegshalt) */
.xfer-endcap {
  list-style: none; display: flex; align-items: center; gap: 10px;
  margin: 10px 0 4px; padding: 13px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--steel); background: rgba(21, 184, 166, 0.07);
  color: var(--text); font-size: 14px; line-height: 1.35;
  transition: background 0.15s, border-color 0.15s;
}
.xfer-endcap:hover { border-color: #15b8a6; background: rgba(21, 184, 166, 0.12); }
.xfer-endcap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.xfer-endcap__ic { color: #15b8a6; font-size: 18px; flex: none; }
.xfer-endcap__txt { flex: 1; }
.xfer-endcap__txt .line-badge { margin: 0 2px; }
.xfer-endcap__arrow { color: #15b8a6; flex: none; font-weight: 700; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .xfer-endcap { transition: none; } }
.linepanel__intro {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 12px;
  background: #16191e; border: 1px solid var(--steel);
  color: #c3c9d0; font-size: 14px; line-height: 1.5;
}
.linepanel__intro .line-badge { margin-right: 4px; }
.linepanel__next {
  display: block; width: 100%; margin-top: 10px; padding: 14px;
  border-radius: 12px; border: 1px dashed var(--steel); background: transparent;
  color: var(--text); font: 600 15px/1 inherit; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.linepanel__next:hover { background: #16191e; border-color: #6b7178; }
.linepanel__next:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .linetab, .linepanel__next { transition: none; } }

/* ---------- Highlights-Teaser (Startseite, stummer Auto-Loop) ---------- */
.lp-teaser .lp-wrap { text-align: center; }
.teaser-video {
  margin: 22px auto 0; width: min(340px, 78vw);
  aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden;
  background: #0d0f12; border: 1px solid var(--steel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.teaser-video__el { display: block; width: 100%; height: 100%; object-fit: cover; background: #0d0f12; }

/* ---------- Ansicht-Umschalter: Detail (Standard) ↔ Kompakt ---------- */
.view-toggle { display: flex; gap: 6px; justify-content: flex-end; margin: 0 0 12px; }
.view-toggle button {
  font: 600 12px/1 inherit; padding: 7px 13px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--steel); background: #181b20; color: #aab1b9;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.view-toggle button.is-active { color: var(--text); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, #181b20); }
.view-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Kompaktansicht: durchgehender Stationen-Strahl mit Punkten (wie die Übersichtskarte) – Foto/Details
   nur bei der GEÖFFNETEN Station. Additiv über die Body-Klasse; die Detail-Ansicht bleibt unverändert. */
body.view-compact .halts { position: relative; }
body.view-compact .halts > li { position: relative; padding-left: 28px; }
/* durchgehender Linien-Strahl (Farbe via --line-col, von JS je Linie gesetzt) */
body.view-compact .halts::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px;
  background: var(--line-col, var(--accent)); border-radius: 2px; opacity: 0.9;
}
/* Stationspunkt je Halt */
body.view-compact .halt { border: none; border-radius: 0; border-bottom: 1px solid var(--steel); overflow: visible; }
body.view-compact .halt::before {
  content: ""; position: absolute; left: 4.5px; top: 16px; z-index: 1;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--line-col, var(--accent)); border: 2px solid var(--bg);
}
/* kleiner Punkt für Durchfahrt-Halte */
body.view-compact .orient::before {
  content: ""; position: absolute; left: 7px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--line-col, var(--accent)); opacity: 0.65;
}
body.view-compact .halt__media { display: none; }
body.view-compact .halt__header { padding: 11px 12px 11px 2px; }
body.view-compact .halt__step { display: none; }
body.view-compact .halt__hopoff-badge { display: none; }
body.view-compact .halt__ride { display: none; }
body.view-compact .halt:has(.halt__body[hidden]) .halt__transfer { display: none; }
/* per-Journey-Stab weg – der durchgehende Strahl ersetzt ihn */
body.view-compact .journey__rail { display: none; }
body.view-compact .journey__card { padding: 8px 12px; }
body.view-compact .journey__eyebrow { display: none; }
/* wandernder Punkt auf dem Strahl (Phase 2) */
body.view-compact .rail-runner {
  position: absolute; left: 3px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--line-col, var(--accent)); border: 2px solid var(--bg);
  box-shadow: 0 0 9px 2px rgba(217, 122, 43, 0.55); z-index: 3; opacity: 0; pointer-events: none;
}

/* Phase 2: Linien-Strahl als Füll-Track. Fill = 100% → in der Detail-Ansicht optisch unverändert. */
.journey__rail { position: relative; overflow: hidden; }
.journey__rail-fill { position: absolute; left: 0; right: 0; top: 0; height: 100%; border-radius: 2px; }
.journey--wrap .journey__rail-fill { background: var(--steel) !important; }

/* Kompakt: Fahrtkommentar + Stopp in den „Fahrttext lesen"-Bereich (nur sichtbar, wenn aufgeklappt) */
body.view-compact .journey--has-toggle .journey__controls { display: none; }
body.view-compact .journey--has-toggle.journey--open .journey__controls { display: flex; }

/* Kompakt: Play-Button direkt im sichtbaren Halt-Header */
.halt__headplay { display: none; }
body.view-compact .halt__headplay {
  display: inline-flex; align-items: center; justify-content: center; flex: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 17px;
  border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 16%, #181b20); color: var(--accent);
}
body.view-compact .halt__headplay.is-playing,
body.view-compact .halt.is-riding .halt__headplay { background: var(--accent); color: #14171c; }
@media (prefers-reduced-motion: reduce) { .view-toggle button { transition: none; } .journey__rail-fill { transition: none !important; } }

/* ---------- Paywall / Kauf-Box (Bezahl-Touren, z. B. Gelsenkirchen) ---------- */
.buybox { background: linear-gradient(160deg, #23262c, #1b1e23); border: 1px solid #3a3f48; border-left: 4px solid var(--accent, #e8893a); border-radius: 14px; padding: 1.1rem 1.2rem; margin: 0.9rem 0 1.1rem; }
.buybox__head { font-weight: 800; font-size: 1.05rem; margin-bottom: 0.4rem; }
.buybox__lede { color: var(--text-muted, #b8bdc7); font-size: 0.92rem; line-height: 1.5; margin: 0 0 0.8rem; }
.buybox__buy { display: inline-block; text-decoration: none; }
/* Preisstufen-Karten (24 h / 3 Tage / 30 Tage) – 30 Tage hervorgehoben */
.buybox__tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0.4rem 0 0.9rem; }
@media (max-width: 420px) { .buybox__tiers { grid-template-columns: 1fr; } }
.buytier { position: relative; display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 12px 12px 10px; border-radius: 12px; border: 1px solid #3a3f48; background: #171a1f;
  color: var(--text, #e8eaed); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.buytier.is-sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: #1c1a15; }
.buytier--top { border-color: color-mix(in srgb, var(--accent) 55%, #3a3f48); }
.buytier__badge { position: absolute; top: -9px; left: 10px; background: var(--accent); color: #1a1206;
  font: 700 10px/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; }
.buytier__label { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-top: 2px; }
.buytier__dauer { font-size: 11.5px; color: #9aa0a8; }
.buytier__price { font-family: var(--font-head); font-weight: 700; font-size: 19px; margin-top: 4px; }
.buytier__perday { font-size: 11px; color: #9aa0a8; }
.buybox__redeem { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-muted, #b8bdc7); }
.buybox__redeem input { flex: 1; min-width: 11rem; padding: 0.55rem 0.7rem; background: #14161a; border: 1px solid #3a3f48; border-radius: 8px; color: var(--text, #e8eaed); font: inherit; letter-spacing: 0.06em; text-transform: uppercase; }
.buybox__state { margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--accent, #e8893a); }
.buybox--pulse { animation: buyboxPulse 0.8s ease-in-out 2; }
@keyframes buyboxPulse { 50% { border-color: var(--accent, #e8893a); box-shadow: 0 0 0 4px rgba(232, 137, 58, 0.25); } }
.stop__text--locked { color: var(--text-muted, #b8bdc7); font-style: italic; }

.buybox__hint { color: var(--text-muted, #b8bdc7); font-size: 0.8rem; margin: 0.5rem 0 0; opacity: 0.85; }

/* ---------- Gesperrter Sight-Teaser (verschwommene Andeutung + Freischalten) ---------- */
.stop__teaser { margin-top: 0.5rem; }
.stop__teaser-lines { margin-bottom: 0.6rem; }
.stop__teaser-lines span { display: block; height: 9px; border-radius: 5px; margin: 0 0 8px;
  background: linear-gradient(90deg, #434955 0%, #2b2f37 60%, #363b44 100%);
  filter: blur(2.6px); opacity: 0.6; }
.stop__teaser-cta { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.95rem;
  border-radius: 999px; border: 1px solid var(--accent, #e8893a);
  background: color-mix(in srgb, var(--accent, #e8893a) 14%, transparent);
  color: var(--text, #e8eaed); font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: background .15s ease; }
.stop__teaser-cta:hover { background: color-mix(in srgb, var(--accent, #e8893a) 26%, transparent); }

/* ── Kauf-Box: Rechtstexte & Widerrufs-Checkbox (Juli 2026) ─────────────── */
.buybox__facts { font-size: 0.85rem; color: var(--text-muted, #b8bdc7); margin: 0 0 0.8rem; }
.buybox__consent { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.83rem; line-height: 1.45; color: var(--text-muted, #b8bdc7); margin: 0 0 0.9rem; cursor: pointer; }
.buybox__consent input { margin-top: 0.15rem; flex: 0 0 auto; width: 1.05rem; height: 1.05rem; accent-color: var(--accent, #e8893a); cursor: pointer; }
.buybox__consent a { color: inherit; text-decoration: underline; }
.buybox__buy--disabled { opacity: 0.45; cursor: not-allowed; }
.buybox__legal { font-size: 0.78rem; color: var(--text-muted, #9aa0a6); line-height: 1.45; margin: 0.55rem 0 0; }
.buybox__legal a { color: inherit; text-decoration: underline; }

/* ── Widerrufsseite (§ 356a BGB) ────────────────────────────────────────── */
.revoke { max-width: 34rem; margin: 4vh auto; padding: 0 1.2rem; }
.revoke h1 { margin: 0 0 0.4rem; }
.revoke p { color: var(--text-muted, #b8bdc7); line-height: 1.55; }
.revoke__form { display: grid; gap: 0.7rem; margin: 1rem 0; }
.revoke__form label { display: grid; gap: 0.25rem; font-size: 0.9rem; font-weight: 600; }
.revoke__form input, .revoke__form textarea { background: #1e2126; border: 1px solid #3a3f48; border-radius: 10px; color: #e8eaed; padding: 0.7rem 0.8rem; font: inherit; }
.revoke__hint { font-size: 0.82rem; color: var(--text-muted, #9aa0a6); }
.revoke__confirm { background: #23262c; border: 1px solid #3a3f48; border-radius: 12px; padding: 1rem 1.1rem; margin: 1rem 0; }
.revoke__ok { background: color-mix(in srgb, #3a7d44 18%, #1b1e23); border: 1px solid #3a7d44; border-radius: 12px; padding: 1rem 1.1rem; margin: 1rem 0; color: #cfe9d4; }
.revoke__err { background: color-mix(in srgb, #b3432f 18%, #1b1e23); border: 1px solid #b3432f; border-radius: 12px; padding: 1rem 1.1rem; margin: 1rem 0; color: #f0d2cb; }

/* ── Sprachumschalter & EN-Modus (Juli 2026) ────────────────────────────── */
.guide-top__lang { margin-left: auto; border: 1px solid #3a3f48; border-radius: 8px; padding: 0.3rem 0.6rem; font-weight: 800; font-size: 0.85rem; color: #e8eaed; text-decoration: none; }
.guide-top__lang:hover { border-color: var(--accent, #e8893a); color: var(--accent, #e8893a); }
.guide-top .guide-top__back + .guide-top__lang { margin-left: 0.6rem; }
/* Mehrsprachen-Menü (ab 3 freigeschalteten Sprachen): Optionen mit Abstand nebeneinander. */
.guide-top__lang--menu { display: inline-flex; gap: 0.5rem; padding: 0.3rem 0.55rem; }
.guide-top__lang--menu .guide-top__lang-opt { color: #e8eaed; text-decoration: none; font-weight: 800; }
.guide-top__lang--menu .guide-top__lang-opt:hover { color: var(--accent, #e8893a); }
body.bg-noaudio .bg-audio { display: none !important; }
.langnote { background: color-mix(in srgb, #e8893a 14%, #1b1e23); border: 1px solid #e8893a; border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.88rem; color: #e8eaed; margin: 0.8rem 0; }
.lp-lang { position: absolute; top: 1rem; right: 1.1rem; z-index: 5; border: 1px solid #3a3f48; border-radius: 8px; padding: 0.3rem 0.65rem; font-weight: 800; font-size: 0.85rem; color: #e8eaed; text-decoration: none; background: rgba(22,24,28,0.6); backdrop-filter: blur(4px); }
.lp-lang:hover { border-color: var(--accent, #e8893a); color: var(--accent, #e8893a); }

/* Kampagnen-Co-Branding im Guide-Kopf: BringGuide × Partnerlogo (weißer Chip, da Partnerlogos
   meist für helle Untergründe gestaltet sind). Aktivierung per ?partner=<id>, s. app.js. */
.guide-top__partner{display:flex;align-items:center;gap:10px;min-width:0}
.guide-top__x{color:#9aa0a6;font-size:18px;font-weight:600}
.guide-top__partnerlogo{height:34px;max-width:38vw;object-fit:contain;background:#fff;border-radius:8px;padding:4px 9px;box-sizing:border-box}
@media(max-width:480px){.guide-top__partnerlogo{height:28px}}

/* ---------- Marken-Hub / Städte-Auswahl (generierte /-Seite, seit 2026-07-18) ---------- */
/* Vorher inline in staedte.html; jetzt geteilt, da der Hub generiert wird (build_landing.py). */
.picker { min-height: 100svh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2rem; padding: 2.5rem 1.25rem; box-sizing: border-box; text-align: center; }
.picker__logo { width: 220px; max-width: 70vw; height: auto; }
.picker__lede { max-width: 34rem; color: #9aa0a6; font-size: 1.05rem; line-height: 1.5; margin: 0; }
.picker__grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; width: 100%; max-width: 44rem; }
@media (min-width: 640px) { .picker__grid { grid-template-columns: 1fr 1fr; } }
.tourcard { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem 1.4rem; border-radius: 18px;
  background: #1e2126; border: 1px solid #2b2f36; text-decoration: none; color: #fff;
  transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.tourcard:hover { transform: translateY(-3px); border-color: #3a3f48; background: #232730; }
.tourcard__kicker { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #9aa0a6; }
.tourcard__title { font-size: 1.6rem; font-weight: 800; margin: 0; line-height: 1.1; }
.tourcard__sub { font-size: .95rem; color: #c3c8cf; margin: 0; }
.tourcard__lines { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.lnchip { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: #e6e8eb;
  background: #14161a; border: 1px solid #2b2f36; border-radius: 999px; padding: .22rem .6rem; }
.lnchip__dot { width: .6rem; height: .6rem; border-radius: 50%; }
.tourcard__go { margin-top: .4rem; font-weight: 700; color: #fff; }
.picker__foot { color: #6d737a; font-size: .85rem; }
.picker__foot a { color: #9aa0a6; }

/* ===== Fahrt-Dock (Mini-Player während der Mitfahrt) =========================
   Design-Handoff 23.07.2026 (INFOS/Design). Persistenter Player, der bei
   Ride-Start von unten einschwebt und Play/Pause, nächsten Halt und Beenden in
   die Daumenzone bringt. Markup wird in js/guide-core.js erzeugt (ensureDock),
   damit alle Städte es ohne HTML-Änderung bekommen. --line existiert im Projekt
   nicht → bewusst mit Fallback; Display-Schrift ist --font-head. */
.ride-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 0 10px calc(10px + env(safe-area-inset-bottom, 0px));
}
.ride-dock__card {
  max-width: 480px; margin: 0 auto; overflow: hidden;
  background: rgba(16, 18, 22, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line, #3a3f48); border-radius: 18px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.55);
  animation: dockIn 0.3s cubic-bezier(0.22, 0.8, 0.2, 1);
}
@keyframes dockIn { from { transform: translateY(110%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ride-dock__card { animation: none; } }
.ride-dock__progress { height: 3px; background: #262a31; }
.ride-dock__bar { height: 100%; width: 0%; background: var(--accent); transition: width 0.3s linear; }
.ride-dock__row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; }
.ride-dock__play {
  width: 54px; height: 54px; flex: none; border: none; border-radius: 50%; cursor: pointer;
  background: var(--accent); color: #1a1206; font-size: 23px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(217, 122, 43, 0.35);
  -webkit-tap-highlight-color: transparent;
}
.ride-dock__play:active { transform: scale(0.96); }
.ride-dock__info { flex: 1; min-width: 0; }
.ride-dock__info > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ride-dock__kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.ride-dock__title { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.15; color: #ecebe6; }
.ride-dock__sub { font-size: 13.5px; color: #aab0b8; }
.ride-dock__stop {
  width: 48px; height: 48px; flex: none; border: 1px solid var(--line, #3a3f48);
  border-radius: 12px; background: #1f2228; color: #9aa0a8; font-size: 19px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ride-dock__stop:active { transform: scale(0.96); }
/* Dock verdeckt sonst den Seitenfuß/letzten Halt */
body.has-ride-dock { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
/* Status-Leiste GANZ entfernt (Felix, 23.07.2026): Während der Fahrt trägt das
   Dock alles (Halt, Linie, Echtzeit-Minuten, Verfolgungs-Status, Play/Pause);
   davor war sie nur ein Hinweis, der auf der Seite ohnehin doppelt steht
   („Wähle deinen Einstiegshalt …“ direkt über der Karte). Kein Steuerverlust:
   jede Sehenswürdigkeit hat ihren eigenen ■-Stopp, die Halt-Kopfzeile ihr ▶/⏸.
   Nur visuell ausgeblendet – Markup/Logik bleiben, damit leicht umkehrbar. */
.status { display: none; }
/* Unterzeile des Docks ist während Abruf-Audio ein Rückweg zur Fahrt → als tippbar kennzeichnen */
.ride-dock__sub--action { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ===== Inline-SVG-Icons (statt Text-Glyphen/Emojis) =========================
   .ico erbt Farbe (currentColor) und Größe (1em) vom umgebenden Text/Button. */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }
.ico--lead { margin-right: 0.45em; }
.ico--trail { margin-left: 0.45em; }
/* Reine Icon-Buttons: SVG mittig, dvon der font-size skaliert */
.ride-dock__play .ico, .ride-dock__stop .ico, .halt__headplay .ico { vertical-align: middle; }
.ride-dock__sub .ico { vertical-align: -0.16em; margin-right: 0.3em; }
/* Aufklapp-Pfeile drehen sanft statt Glyphenwechsel */
.journey__toggle-arrow, .halt__toggle-arrow { display: inline-flex; }
.ico--xl { width: 2.75rem; height: 2.75rem; vertical-align: middle; }

/* ===== Kurz-Feedback-Popup (erscheint in einer Abspielpause) ================ */
.fb { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); animation: fbFade .2s ease; }
@keyframes fbFade { from { opacity: 0; } to { opacity: 1; } }
.fb__card { width: 100%; max-width: 460px; background: #1b1e24; border: 1px solid var(--line, #3a3f48);
  border-radius: 18px; box-shadow: 0 12px 48px rgba(0,0,0,0.6); padding: 18px 18px 16px;
  animation: fbUp .28s cubic-bezier(0.22,0.8,0.2,1); }
@keyframes fbUp { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) { .fb { align-items: center; } .fb__card { animation: fbFade .2s ease; } }
@media (prefers-reduced-motion: reduce) { .fb, .fb__card { animation: none; } }
.fb__top { display: flex; align-items: flex-start; gap: 10px; }
.fb__title { flex: 1; margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.2; color: #ecebe6; }
.fb__x { flex: none; width: 30px; height: 30px; border: none; background: none; color: #8b9099; cursor: pointer; font-size: 20px; line-height: 1; border-radius: 8px; }
.fb__x:hover { color: #ecebe6; }
.fb__thumbs { display: flex; gap: 12px; margin: 16px 0 2px; }
.fb__thumb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 8px; border: 1px solid var(--line, #3a3f48); border-radius: 14px; background: #23272e;
  color: #cdd2d8; font: 600 13px/1 inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fb__thumb .ico { width: 30px; height: 30px; }
.fb__thumb--up:hover, .fb__thumb--up.sel { border-color: #2dd46a; color: #7fe0a0; }
.fb__thumb--down:hover, .fb__thumb--down.sel { border-color: #e2604f; color: #f0a99f; }
.fb__thumb:active { transform: scale(0.97); }
.fb__q { margin: 6px 0 10px; font-size: 14px; color: #c3c8cf; }
.fb__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fb__chip { border: 1px solid var(--line, #3a3f48); background: #23272e; color: #cdd2d8;
  border-radius: 999px; padding: 8px 13px; font: 500 13px/1 inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fb__chip.sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, #23272e); color: #f2d9c2; }
.fb__actions { display: flex; gap: 10px; margin-top: 16px; }
.fb__send { flex: 1; border: none; border-radius: 10px; background: var(--accent); color: #1a1206;
  font: 700 14px/1 inherit; padding: 12px; cursor: pointer; }
.fb__skip { border: none; background: none; color: #8b9099; font: 500 13px/1 inherit; padding: 12px; cursor: pointer; }
.fb__thanks { text-align: center; padding: 14px 8px 6px; font-size: 16px; color: #7fe0a0; font-weight: 600; }
.fb__comment { width: 100%; margin-top: 12px; box-sizing: border-box; resize: none;
  background: #23272e; border: 1px solid var(--line, #3a3f48); border-radius: 10px;
  color: #ecebe6; font: 400 14px/1.4 inherit; padding: 10px 12px; }
.fb__comment:focus { outline: none; border-color: var(--accent); }
.fb__comment::placeholder { color: #7a8088; }
.fb__hint { margin-top: 6px; font-size: 11px; color: #7a8088; }

/* Fahrt-Dock: zweite Zeile – ±15 s springen / Halt wiederholen (Feature 1) */
.ride-dock__seek { display: flex; gap: 8px; padding: 0 12px 11px; }
/* Barrierefreiheit (Felix, 25.07.): Tap-Ziele ≥ 44px (Apple-Richtwert), Icons größer. */
.ride-dock__seekbtn { display: flex; align-items: center; justify-content: center; flex: 1;
  height: 44px; border: 1px solid var(--line, #3a3f48); border-radius: 10px; background: transparent;
  color: #c3c9d0; font: 600 14px/1 inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.ride-dock__seekbtn--rep { flex: 1.4; }
.ride-dock__seekbtn .ico { width: 20px; height: 20px; }
.ride-dock__seekbtn:active { transform: scale(0.97); }
.ride-dock__seekbtn:hover { border-color: #55606c; color: #ecebe6; }

/* ===== Onboarding (Feature 2) =============================================== */
.guide-top__help { flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line, #3a3f48); background: transparent; color: var(--accent);
  font: 700 17px/1 var(--font-head); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.guide-top__help:hover { border-color: var(--accent); }
/* Konto-Knopf (Anker im Help-Stil): Einstieg zu /konto, grüner Punkt = angemeldet */
.guide-top__konto { position: relative; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.guide-top__konto .ico { width: 21px; height: 21px; }
.guide-top__konto-dot { position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%;
  background: #4caf7d; border: 2px solid var(--bg, #14171c); }
.ob { position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(8,9,11,0.82); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); animation: fbFade .2s ease; }
@media (min-width: 640px) { .ob { align-items: center; } }
.ob__card { width: 100%; max-width: 460px; background: #1b1e24; border: 1px solid var(--line, #3a3f48);
  border-radius: 20px; box-shadow: 0 12px 48px rgba(0,0,0,0.6); padding: 16px 20px 20px;
  animation: fbUp .3s cubic-bezier(0.22,0.8,0.2,1); }
@media (prefers-reduced-motion: reduce) { .ob, .ob__card { animation: none; } }
.ob__top { display: flex; align-items: center; justify-content: space-between; }
.ob__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.ob__skip { border: none; background: none; color: #9aa0a8; font: 500 13px/1 inherit; padding: 10px; cursor: pointer; }
.ob__icon { width: 64px; height: 64px; margin: 18px 0 16px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; background: rgba(217,122,43,0.14); color: var(--accent); }
.ob__icon .ico { width: 32px; height: 32px; }
.ob__title { margin: 0 0 8px; font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: #ecebe6; }
.ob__text { margin: 0; font-size: 15px; line-height: 1.5; color: #9aa0a8; min-height: 72px; }
.ob__dots { display: flex; gap: 6px; margin: 18px 0; }
.ob__dot { width: 22px; height: 5px; border-radius: 3px; background: var(--line, #3a3f48); }
.ob__dot--on { background: var(--accent); }
.ob__cta { width: 100%; height: 52px; border: none; border-radius: 12px; background: var(--accent);
  color: #1a1206; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1;
  letter-spacing: .03em; text-transform: uppercase; }
/* #1: Geo-Modal – Text linksbündig, ohne feste Mindesthöhe, Abstand zum Knopf */
.geo-modal .ob__text { min-height: 0; margin-bottom: 16px; }
.geo-modal__retry { margin-top: 4px; }

/* ===== Karte als Picker – Info-Chip + gestrichelter Ring (Feature 3) ======== */
#ring { position: relative; flex-wrap: wrap; }
.ring__chip { flex: 0 0 100%; margin: 12px 0 0; background: #1b1e24; border: 1px solid var(--line, #3a3f48);
  border-radius: 14px; padding: 10px 12px; }  /* eigene Zeile UNTER der Karte – verdeckt keine Linie */
.ring__chip[hidden] { display: none; }
.ring__chip-main { display: flex; align-items: center; gap: 10px; }
.ring__chip-badge { flex: none; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 7px;
  color: #fff; font: 700 13px/24px var(--font-head); text-align: center; }
.ring__chip-txt { flex: 1; min-width: 0; }
.ring__chip-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.15;
  letter-spacing: .01em; color: #ecebe6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ring__chip-sub { display: block; margin-top: 1px; font-size: 12px; color: #9aa0a8; }
.ring__chip-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line, #3a3f48);
  background: transparent; color: #9aa0a8; font-size: 18px; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ring__chip-go { width: 100%; margin-top: 12px; height: 44px; border: none; border-radius: 10px;
  background: var(--accent); color: #1a1206; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: .02em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; }
.ring__chip-go .ico { width: .85em; height: .85em; }
.octo__sel2 { stroke: #fff; stroke-width: 2; stroke-dasharray: 5 6; opacity: .85; }
/* Richtungspfeile auf den Liniensegmenten (Feature 3) – weiß mit dunklem Rand für Kontrast auf jeder Linienfarbe */
.octo__dir { fill: #fff; stroke: rgba(0,0,0,.38); stroke-width: 1; pointer-events: none; }
/* Leuchtender Auswahl-Punkt auf dem Stadtplan (Leaflet divIcon) – Pendant zu .octo__sel */
.citymap-sel { pointer-events: none; }
.citymap-sel__dot, .citymap-sel__ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.citymap-sel__dot { width: 14px; height: 14px; background: var(--accent); border: 2px solid #fff;
  box-shadow: 0 0 8px var(--accent-glow, rgba(217,122,43,.9)); }
.citymap-sel__ring { width: 30px; height: 30px; border: 2px solid var(--accent); opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .citymap-sel__ring { animation: citymapSelPulse 1.6s ease-out infinite; }
  @keyframes citymapSelPulse {
    0%   { transform: translate(-50%, -50%) scale(.5); opacity: .9; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
  }
}
/* #4: eigener (Geo-)Standort auf dem Stadtplan – blauer, pulsierender Punkt (klar von der
   orangenen Halt-Auswahl unterscheidbar) */
.myloc { pointer-events: none; }
.myloc__dot, .myloc__ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.myloc__dot { width: 14px; height: 14px; background: #2f8dff; border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(47,141,255,.9); }
.myloc__ring { width: 26px; height: 26px; border: 2px solid #2f8dff; opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .myloc__ring { animation: citymapSelPulse 1.6s ease-out infinite; }
}

.start-picker { display: block; }
.start-picker__hint { display: block; text-align: center; color: #9aa0a8; font-size: 14px; }

/* ===== Folge-Modus: „Zum aktuellen Halt"-Pille (Feature 5) ================== */
.follow-pill { position: fixed; left: 50%; transform: translateX(-50%); z-index: 75;
  bottom: calc(150px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line, #3a3f48); background: rgba(16,18,22,0.95);
  color: var(--accent); font: 700 13px/1 inherit; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  -webkit-tap-highlight-color: transparent; animation: fbFade .2s ease; }
.follow-pill .ico { width: 15px; height: 15px; }
.ride-dock__title { cursor: pointer; }

/* ===== In der Nähe (Feature 6) ============================================== */
.map-tools { display: flex; gap: 8px; margin: 0 0 10px; }
.map-tools__geo { display: inline-flex; align-items: center; height: 44px; padding: 0 16px;
  border: 1px solid var(--line, #3a3f48); border-radius: 10px; background: #1f2228; color: var(--accent);
  font: 600 14px/1 inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.map-tools__geo[disabled] { opacity: .6; cursor: default; }
.map-status { margin: 10px 0 0; font-size: 14px; color: #2dd46a; }
.map-status--err { color: #f0a99f; }

/* ===== Netz/Stadtplan-Umschalter (Feature 4) =============================== */
.seg { display: inline-flex; padding: 3px; gap: 3px; border: 1px solid var(--line, #3a3f48); border-radius: 10px; background: #1f2228; }
.seg__btn { border: none; background: transparent; color: #9aa0a8; font: 600 13px/1 inherit; padding: 9px 14px; border-radius: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.seg__btn.is-active { background: var(--accent); color: #1a1206; }
.map-tools { align-items: center; }
.map-tools__geo { margin-left: auto; }
.city-map { height: 360px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line, #3a3f48); }
.city-map .leaflet-container { background: #101216; }
