/* DM Sans (SIL Open Font License, fonts/LICENSE-DM-Sans.txt) – lokal ausgeliefert, keine Verbindung zu Google */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Thailand-Routenplaner · Design „Küstenblau“ (freigegeben 11.11.2026)
   Alle Design-Werte stehen hier in :root. Ein späterer Look-Wechsel (Travel Concierge) passiert nur in diesem Block. */
:root {
  --a: #1f6074;            /* Akzent / Hauptaktion */
  --a-ink: #ffffff;        /* Text auf Hauptaktion */
  --paper: #f5f8f7;        /* Hintergrund */
  --soft: #e4eff1;         /* helle Akzentfläche */
  --ink: #213a44;          /* Haupttext */
  --quiet: #5a6e74;        /* Sekundärtext */
  --line: #d9e3e4;         /* Linien */
  --surface: #ffffff;      /* Karten */
  --deco: #b8d7d9;         /* sekundärer dekorativer Akzent */
  --outside: #e6eeed;      /* Fläche neben dem Produktbereich (Desktop) */
  --warn-bg: #fff0cd; --warn-ink: #62450e;
  --round: 15px;           /* Karten und normale Aktionen */
  --round-pill: 40px;      /* Header-Pills, Zugang-Hauptaktion */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --app-max: 460px;
  --hero-h: 345px;
  --gutter: 23px;
  color-scheme: light;
}
@media (max-width: 380px) { :root { --hero-h: 300px; --gutter: 20px; } }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--outside); color: var(--ink); font: 14px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--a); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--a); outline-offset: 3px; }
svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Produktbereich: mobil volle Breite, auf großen Bildschirmen mittig */
.app { width: 100%; max-width: var(--app-max); min-height: 100vh; min-height: 100svh; margin: 0 auto; background: var(--paper); position: relative; overflow-x: clip; padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 520px) { .app { box-shadow: 0 12px 44px #182e3620; } }

h1 { font-weight: 600; font-size: 36px; line-height: 1.12; letter-spacing: -1.3px; text-wrap: balance; }
h2 { font-weight: 600; font-size: 29px; line-height: 1.18; letter-spacing: -1.1px; text-wrap: balance; }
h3 { font-weight: 600; font-size: 18px; line-height: 1.25; letter-spacing: -.4px; }
.small-h { font-size: 15px; font-weight: 500; letter-spacing: 0; }
small, .small { font-size: 12px; line-height: 1.5; }
.quiet { color: var(--quiet); }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--a); }

/* Aktionen */
.primary, .secondary { border: 0; border-radius: var(--round); padding: 14px 17px; min-height: 49px; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; text-decoration: none; }
.primary { background: var(--a); color: var(--a-ink); width: 100%; }
.primary svg { width: 17px; height: 17px; opacity: .85; }
.primary[disabled] { opacity: .35; cursor: default; }
.primary.round { border-radius: var(--round-pill); font-size: 13.5px; padding-inline: 22px; }
.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); min-height: 44px; }
.bare { background: transparent; border: 0; padding: 7px 0; min-height: 40px; color: var(--a); font-size: 13px; text-align: left; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.pill { display: inline-block; background: var(--soft); color: var(--a); border-radius: 30px; padding: 5px 10px; font-size: 11px; font-weight: 600; }
.pill-k { background: transparent; color: var(--ink, #17313a); box-shadow: inset 0 0 0 1px var(--line, #d6e2e4); font-weight: 500; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.row { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.group { display: grid; gap: 10px; }
.notebox { background: var(--soft); color: var(--ink); padding: 14px; border-radius: var(--round); font-size: 12.5px; }
.warning { background: var(--warn-bg); color: var(--warn-ink); padding: 14px; border-radius: var(--round); font-size: 12.5px; }
.warning b { display: block; margin-bottom: 3px; }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 30px; font-size: 13px; z-index: 20; max-width: calc(100% - 32px); }

/* Großer Foto-Header mit weichem Übergang */
.hero-light { position: relative; height: var(--hero-h); isolation: isolate; }
.hero-light > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-light::after { content: ""; position: absolute; inset: 0 0 -2px 0; z-index: -1; background: linear-gradient(180deg, #f5f8f722 0%, #f5f8f700 38%, #f5f8f799 76%, var(--paper) 100%); }
.chrome { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: calc(22px + env(safe-area-inset-top, 0px)) 22px 18px; }
.glass-mark { background: #ffffffef; color: var(--ink); padding: 10px 14px; border-radius: var(--round-pill); box-shadow: 0 3px 18px #173b460a; }
.wordmark { font-weight: 700; font-size: 16px; letter-spacing: -.4px; }
.wordmark i { font-style: normal; color: var(--a); }
.pill-btn { min-height: 43px; padding: 10px 14px; border: 1px solid #ffffffad; background: #ffffffef; color: var(--ink); border-radius: var(--round-pill); display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; }
.photo-credit { position: absolute; bottom: 68px; right: 20px; font-size: 10px; background: #ffffffed; padding: 2px 6px; border-radius: 6px; color: var(--quiet); max-width: 70%; text-align: right; }
.photo-credit a { color: inherit; }
.chrome.plain { padding: calc(22px + env(safe-area-inset-top, 0px)) var(--gutter) 10px; }
.wordmark-row { display: flex; align-items: center; gap: 7px; }
.wordmark-row svg { width: 17px; height: 17px; }
.edition { font-size: 10px; font-weight: 500; letter-spacing: 1.1px; color: var(--quiet); }

/* Start */
.welcome-heading { position: relative; margin-top: -40px; padding: 0 26px 22px; display: grid; gap: 15px; text-align: center; }
.welcome-heading p { font-size: 14px; color: var(--quiet); }
.content { padding: 0 var(--gutter) 26px; display: grid; gap: 21px; }
.home-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: center; font-size: 11px; padding: 6px 0 4px; }
.home-list b { display: block; font-size: 20px; font-weight: 500; color: var(--a); margin-bottom: 4px; line-height: 1.2; }
.welcome-code { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 23px; box-shadow: 0 7px 24px #173b4604; }
.welcome-code label { font-size: 13px; font-weight: 500; }
.welcome-code input { border-radius: 18px; }
.code-ok { font-size: 13px; color: var(--quiet); }
.err { color: #9b3412; font-size: 13px; }
.guide-note { text-align: center; font-size: 11px; color: var(--quiet); margin-top: -8px; }

/* Formulare */
input[type=text], input[type=date], textarea { background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); padding: 13px 14px; width: 100%; min-height: 48px; font-size: 16px; }
textarea { resize: vertical; min-height: 135px; }
input[type=range] { width: 100%; accent-color: var(--a); min-height: 44px; }
label { font-weight: 500; }

/* Fragebogen */
.q-top { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.progress-track { height: 3px; background: var(--line); margin-top: -14px; }
.progress-track span { height: 100%; background: var(--a); display: block; }
.question-head { display: grid; gap: 12px; margin-top: 6px; }
.options { display: grid; gap: 10px; }
.option { display: flex; gap: 13px; align-items: center; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); padding: 14px; min-height: 59px; width: 100%; }
.option[aria-pressed="true"] { background: var(--soft); border-color: var(--a); }
.opt-icon { font-size: 20px; width: 30px; flex-shrink: 0; text-align: center; color: var(--ink); }
.opt-txt { display: grid; gap: 1px; min-width: 0; }
.opt-txt strong { font-size: 14px; font-weight: 600; }
.opt-txt small { font-size: 11px; color: var(--quiet); }
.option .check { margin-left: auto; color: var(--a); font-size: 15px; }
.month-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.option.month { justify-content: center; padding: 12px 6px; min-height: 52px; }
.range-box { display: grid; gap: 6px; }
.range-value { font-size: 62px; font-weight: 500; line-height: 1.2; letter-spacing: -4px; margin-top: 18px; }
.range-value small { font-size: 16px; letter-spacing: 0; color: var(--quiet); margin-left: 8px; }
.range-word { font-size: 28px; font-weight: 600; letter-spacing: -1px; margin-top: 18px; color: var(--a); }
.range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--quiet); }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 22px; }
.stepper b { font-size: 24px; font-weight: 600; min-width: 2ch; text-align: center; }
.mic { justify-self: start; display: inline-flex; gap: 8px; }
.mic.rec { background: var(--warn-bg); border-color: #e9c97a; }
.q-foot { position: sticky; bottom: 0; padding: 16px 0 calc(14px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, #f5f8f700, var(--paper) 30%); }

/* Laden */
.loading { text-align: center; justify-items: center; padding-top: 40px; }
.loader-ring { width: 80px; height: 80px; border: 2px solid var(--line); border-top: 3px solid var(--a); border-radius: 50%; display: grid; place-items: center; color: var(--a); animation: spin 1.4s linear infinite; }
.loader-ring svg { width: 26px; height: 26px; animation: spin 1.4s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ergebnis-Kopf */
.merged-route-heading { position: relative; margin-top: -43px; padding: 0 25px; text-align: center; display: grid; gap: 12px; }
.merged-route-heading h1 { font-size: 34px; line-height: 1.15; }
.merged-route-heading p { font-size: 13px; color: var(--quiet); }
.merged-route-heading .pill.type { justify-self: center; font-size: 10.5px; font-weight: 500; }
.ai-note { font-size: 10.5px; color: var(--quiet); }
.trip-summary { margin: 22px var(--gutter) 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.trip-summary span { display: grid; gap: 3px; font-size: 10px; color: var(--quiet); }
.trip-summary strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.section-picker { display: flex; gap: 7px; flex-wrap: wrap; padding: 0 var(--gutter) 18px; }
.section-picker button { border: 0; background: transparent; border-radius: 10px; padding: 11px 13px; color: var(--quiet); font-size: 12.5px; font-weight: 600; min-height: 43px; }
.section-picker button[aria-selected="true"] { background: var(--soft); color: var(--a); }
.plan-panel { padding: 0 var(--gutter) 23px; display: grid; gap: 21px; }

/* Reisefaden statt Karte */
.thread-head { display: flex; justify-content: space-between; align-items: baseline; }
.warning.season-hint { margin: 10px 0 14px; line-height: 1.5; }
.arrive-note { margin-top: -12px; }
.route-thread { display: grid; grid-template-columns: repeat(var(--n), minmax(64px, 1fr)); gap: 5px; overflow-x: auto; padding-bottom: 4px; margin-top: -6px; }
.thread-stop { position: relative; border: 0; background: transparent; padding: 0; color: var(--quiet); text-align: left; min-height: 62px; font-size: 10.5px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.thread-stop::before { content: ""; position: absolute; left: 29px; right: 0; top: 11px; height: 1px; background: var(--line); }
.thread-stop:last-child::before { display: none; }
.thread-stop > span { width: 24px; height: 24px; background: var(--paper); border: 1px solid var(--line); color: var(--quiet); border-radius: 50%; display: grid; place-items: center; font-size: 10px; position: relative; z-index: 1; }
.thread-stop[aria-pressed="true"] > span { background: var(--a); color: var(--a-ink); border-color: var(--a); }
.thread-stop[aria-pressed="true"] { color: var(--a); font-weight: 600; }

/* Etappen-Karte, Unterkünfte, Transfers */
.chapter { background: var(--surface); border: 1px solid var(--line); padding: 18px; border-radius: var(--round); display: grid; gap: 12px; box-shadow: 0 5px 15px #17313a03; }
.chapter-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 11px; color: var(--quiet); }
.chapter p { font-size: 13px; color: var(--quiet); }
.chapter .primary { font-size: 12.5px; min-height: 46px; padding: 12px 14px; }
.selected-chapter-photo { height: 145px; width: 100%; object-fit: cover; border-radius: 10px; }
.transfer-line { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--quiet); padding-top: 2px; }
.transfer-line.big { font-size: 13px; color: var(--ink); }
.tweaks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 10px 14px; font-size: 12px; border-radius: 13px; }
.hotel { padding: 18px; border: 1px solid var(--line); border-radius: var(--round); display: grid; gap: 10px; background: var(--surface); }
.hotel .hotel-price { font-size: 20px; font-weight: 600; }
.hotel .hotel-price small { font-size: 11px; font-weight: 500; color: var(--quiet); }
.hotel.transfer h3 { font-size: 17px; }
.leg-part { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.section-intro { display: grid; gap: 6px; }
.section-intro p { font-size: 12px; color: var(--quiet); }

/* Speichern, Kosten, Hinweise */
.save-row { display: flex; gap: 16px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 6px; flex-wrap: wrap; }
.save-row .bare { font-size: 12.5px; }
details { border-bottom: 1px solid var(--line); padding: 13px 0; }
summary { cursor: pointer; font-size: 13.5px; font-weight: 600; min-height: 35px; display: flex; align-items: center; }
details p, details .hl { font-size: 12.5px; color: var(--quiet); margin-top: 9px; }
details .hl { display: grid; gap: 3px; }
details .hl b { color: var(--ink); font-size: 13px; }
details .hl p { margin-top: 0; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 8px; }
td { padding: 9px 0; border-bottom: 1px solid var(--line); }
td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.total td { font-weight: 700; color: var(--ink); }

/* Etappe */
.stage-head { display: grid; gap: 10px; }
.dots { color: var(--a); letter-spacing: 1px; }
.dots i { font-style: normal; color: var(--deco); }
.photo { position: relative; overflow: hidden; border-radius: var(--round); }
.photo .cover { width: 100%; height: 285px; object-fit: cover; }
.photo .credit { position: absolute; bottom: 9px; right: 10px; color: #fff; background: #101a30c9; border-radius: 4px; padding: 2px 5px; font-size: 10px; max-width: 80%; }
.photo .credit a { color: #fff; }
.stage-nav { display: flex; justify-content: space-between; gap: 10px; }
.stage-nav .secondary { font-size: 12.5px; }

.footer { padding: 14px var(--gutter) 23px; color: var(--quiet); font-size: 10.5px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.footer a { color: var(--quiet); margin-right: 14px; display: inline-block; min-height: 30px; padding-top: 6px; }

@media (max-width: 380px) {
  h1, .welcome-heading h1 { font-size: 31px; }
  .merged-route-heading h1 { font-size: 30px; }
  .home-list b { font-size: 17px; }
  .welcome-code { padding: 18px; }
  .welcome-heading { padding-inline: 20px; }
  .section-picker { padding-inline: 16px; gap: 2px; }
  .trip-summary strong { font-size: 12px; }
  .photo .cover { height: 230px; }
}
@media (prefers-reduced-motion: reduce) { .loader-ring, .loader-ring svg { animation: none; } }

/* PDF-Ansicht */
.print-only { display: none; }
@media print {
  body { background: #fff; }
  .app { display: none !important; }
  .print-only { display: block; font-size: 11pt; color: #000; }
  .print-only h1 { font-size: 20pt; margin-bottom: 6pt; }
  .print-only h2 { font-size: 13pt; margin: 12pt 0 4pt; letter-spacing: 0; }
  .pv-stop { break-inside: avoid; }
  .pv-leg { color: #444; font-size: 10pt; margin-top: 6pt; }
}

/* Überschriften wachsen mit der Bildschirmbreite, damit die Zeilen wie in der Referenz stehen */
.welcome-heading h1 { font-size: clamp(28px, 8.6vw, 36px); }
.merged-route-heading h1 { font-size: clamp(27px, 8.2vw, 34px); }
.home-list b { font-size: clamp(15px, 4.4vw, 20px); }
.welcome-heading { padding-inline: clamp(16px, 5vw, 26px); }
summary { list-style: none; gap: 8px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "▸"; font-size: 12px; color: var(--a); transition: transform .15s; }
details[open] > summary::before { transform: rotate(90deg); }
.nw { white-space: nowrap; }

/* ===================== Runde 2: Navigation, Karte, Etappen, Aktivitäten, Tagesansicht ===================== */
body.noscroll { overflow: hidden; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 8px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--round-pill); color: var(--ink); font-size: 13.5px; font-weight: 600; }

/* Fest stehende Navigation: vier große Bereiche mit Symbol und Text */
.sticky-nav { position: sticky; top: 0; z-index: 30; background: var(--paper); padding: calc(8px + env(safe-area-inset-top, 0px)) var(--gutter) 10px; box-shadow: 0 6px 14px -12px #173b4640; }
.tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--soft); padding: 4px; border-radius: 16px; }
.tabbar button { border: 0; background: transparent; border-radius: 12px; min-height: 56px; display: grid; justify-items: center; align-content: center; gap: 3px; color: var(--quiet); font-size: 11.5px; font-weight: 600; padding: 6px 2px; }
.tabbar button svg { width: 20px; height: 20px; }
.tabbar button[aria-selected="true"] { background: var(--a); color: var(--a-ink); box-shadow: 0 3px 10px #1f607433; }

/* Deine Reiseroute: Leiste über die volle Breite, egal wie viele Stopps */
.route-strip { margin-top: 10px; }
.route-strip ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; }
.route-strip ol::before { content: ""; position: absolute; top: 14px; left: 14px; right: 14px; height: 2px; background: var(--line); }
.route-strip li { position: relative; flex: 0 0 auto; display: flex; }
.route-strip li:first-child button { align-items: flex-start; }
.route-strip li:last-child button { align-items: flex-end; }
.route-strip button { border: 0; background: transparent; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--quiet); font-size: 10.5px; font-weight: 600; min-height: 48px; max-width: 74px; }
.route-strip .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--deco); display: grid; place-items: center; font-size: 11px; color: var(--ink); position: relative; z-index: 1; }
.route-strip .nm { max-width: 74px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-strip button[aria-current="true"] { color: var(--a); }
.route-strip button[aria-current="true"] .dot { background: var(--a); border-color: var(--a); color: var(--a-ink); }

/* Karte */
.map-wrap { position: relative; }
.map-card { height: 300px; border-radius: 20px; overflow: hidden; background: #dfeaf0; box-shadow: 0 8px 22px #173b4614; }
.map-expand { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--round-pill); border: 0; background: #ffffffee; color: var(--ink); font-size: 12.5px; font-weight: 600; box-shadow: 0 2px 10px #0002; z-index: 2; }
.map-fail { padding: 120px 20px 0; text-align: center; color: var(--quiet); }
.map-pin { border: 0; padding: 0; background: transparent; display: grid; justify-items: center; cursor: pointer; }
.map-pin img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 3px 10px #0004; object-fit: cover; }
.map-pin .pin-num { position: absolute; top: -6px; left: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--a); color: #fff; font: 700 11px/22px var(--font); text-align: center; border: 2px solid #fff; }
.map-pin .pin-label { margin-top: 4px; background: #fff; color: var(--ink); font: 600 11.5px/1 var(--font); padding: 5px 8px; border-radius: 8px; box-shadow: 0 2px 8px #0002; white-space: nowrap; }
.map-pin.arrival .pin-label { background: var(--ink); color: #fff; }
.map-mode { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--a); display: grid; place-items: center; box-shadow: 0 2px 8px #0003; }
.map-mode svg { width: 14px; height: 14px; }
.map-overlay { position: fixed; inset: 0; z-index: 100; background: var(--paper); }
.map-full { position: absolute; inset: 0; }
.map-close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--round-pill); border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px #0004; }

/* Etappen-Kacheln: Bild als halbe Kachel, rechts Datum und Ort */
.stop-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px; display: grid; gap: 12px; scroll-margin-top: 150px; box-shadow: 0 5px 15px #17313a06; }
.stop-main { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 14px; align-items: center; }
.stop-info { display: grid; gap: 6px; min-width: 0; }
.stop-info h3 { font-size: 21px; }
.stop-why { font-size: 13px; color: var(--quiet); padding: 0 4px; }
.days-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 13.5px; font-weight: 600; }
.days-toggle svg { width: 18px; height: 18px; transition: transform .15s; }
.days-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.day-list { list-style: none; margin: -4px 0 0; padding: 0; display: grid; }
.day-list button { width: 100%; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto 16px; gap: 10px; align-items: center; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 4px; min-height: 56px; color: var(--ink); }
.dl-day { font-weight: 700; font-size: 13px; line-height: 1.2; }
.dl-day small { display: block; font-weight: 500; font-size: 11px; color: var(--quiet); }
.dl-txt { font-size: 13px; }
.dl-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.leg-row, .checkin { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 4px 6px; }
.leg-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--a); display: grid; place-items: center; }
.leg-ic svg { width: 18px; height: 18px; }
.leg-txt { display: grid; gap: 1px; font-size: 12px; color: var(--quiet); }
.leg-txt b { font-size: 13px; color: var(--ink); }
.leg-link { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--a); font-weight: 600; font-size: 12.5px; text-decoration: none; }
.checkin { background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); padding: 12px; }
.hotel-top { display: flex; gap: 12px; align-items: center; }
.hotel-thumb { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }

/* Aktivitäten mit Bildern */
.act-section { display: grid; gap: 12px; }
.act-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.act-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.act-card { display: grid; align-content: start; gap: 8px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.act-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.act-tile { display: grid; place-items: center; background: linear-gradient(140deg, var(--soft), var(--deco)); color: var(--a); }
.act-tile b { font-size: 30px; font-weight: 400; }
.act-body { display: grid; gap: 3px; padding: 0 12px 12px; }
.act-body b { font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.act-kind { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--a); }
.act-meta { font-size: 11.5px; color: var(--quiet); }
.act-cta { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--a); }
.act-cta.free { color: var(--quiet); font-weight: 500; }

/* Etappe: Kopfleiste mit Zurück, Brotkrumen, Karte und Tagesleiste */
.stage-bar { position: sticky; top: 0; z-index: 30; background: var(--paper); padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 8px; box-shadow: 0 6px 14px -12px #173b4640; display: grid; gap: 4px; }
.crumbs { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 8px #173b460d; }
.round-btn svg { width: 20px; height: 20px; }
.crumbs nav { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.crumbs nav svg { width: 13px; height: 13px; color: var(--quiet); }
.crumb { border: 0; background: transparent; padding: 8px 2px; color: var(--quiet); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.crumb.now { color: var(--ink); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.map-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--round-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600; }
.stage-bar .route-strip { margin-top: 4px; }
.day-chips { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 2px; scrollbar-width: none; }
.day-chips::-webkit-scrollbar { display: none; }
.day-chips button { flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; min-height: 52px; padding: 6px 14px; display: grid; justify-items: center; color: var(--ink); }
.day-chips b { font-size: 13px; }
.day-chips small { font-size: 10.5px; color: var(--quiet); }
.day-chips button[aria-selected="true"] { background: var(--a); border-color: var(--a); color: var(--a-ink); }
.day-chips button[aria-selected="true"] small { color: #d7e9ee; }
.stage-content { padding-top: 18px; }
.day-head { display: grid; gap: 8px; }
.day-head h2 { font-size: 25px; }
.free-day { background: var(--soft); border-radius: var(--round); padding: 14px; display: grid; gap: 4px; font-size: 13px; color: var(--quiet); }
.free-day b { color: var(--ink); }
.exp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.exp { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.exp-img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.exp-body { display: grid; gap: 4px; min-width: 0; align-content: start; }
.exp-body b { font-size: 15px; line-height: 1.25; }
.exp-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
.exp-actions .primary.small-btn { width: auto; flex: 1 1 auto; justify-content: space-between; }
.free-note { flex: 1 1 auto; }
.small-btn { min-height: 40px; padding: 0 12px; font-size: 12.5px; border-radius: 12px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.small-btn svg { width: 15px; height: 15px; }
.add-exp { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border: 2px dashed var(--deco); border-radius: 16px; background: transparent; color: var(--a); font-size: 14px; font-weight: 600; }
.add-exp svg { width: 18px; height: 18px; }
.picker { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-top: -8px; }
.pick { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.pick-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.pick-img.act-tile b { font-size: 22px; }
.exp-img.act-tile b { font-size: 34px; }
.dl-thumb.act-tile b { font-size: 18px; }
.pick-txt { display: grid; gap: 2px; min-width: 0; }
.pick-txt b { font-size: 13px; line-height: 1.3; }
.day-nav { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.nav-btn { min-height: 54px; justify-content: center; gap: 8px; }
.nav-btn svg { width: 18px; height: 18px; }
.credits { font-size: 11px; line-height: 1.7; }
@media (max-width: 380px) {
  .tabbar button { font-size: 10.5px; }
  .stop-info h3 { font-size: 18px; }
  .exp { grid-template-columns: 76px minmax(0, 1fr); }
  .exp-img { width: 76px; height: 76px; }
  .map-btn span { display: none; }
}
.map-pin .pin-label { display: none; }
.map-pin.labeled .pin-label, .map-pin.arrival .pin-label { display: block; }

/* Kompakte Leiste beim Scrollen */
.nav-sentinel { height: 1px; }
.tabbar button { transition: min-height .15s; }
.sticky-nav.stuck .tabbar button { min-height: 40px; }
.sticky-nav.stuck .tabbar button svg { display: none; }
.sticky-nav.stuck .tabbar button span { font-size: 12.5px; }
.sticky-nav.stuck .route-strip { margin-top: 8px; }
.sticky-nav.stuck .route-strip .dot { width: 24px; height: 24px; font-size: 10px; }
.sticky-nav.stuck .route-strip ol::before { top: 12px; }
@media (prefers-reduced-motion: reduce) { .tabbar button { transition: none; } }

/* Runde 3: durchlaufender Kalender, Fortschritt in der Reiseroute, Rückflug, Kacheln */
.route-strip ol::after { content: ""; position: absolute; top: 14px; left: 14px; height: 2px; width: calc((100% - 28px) * var(--prog, 0)); background: var(--a); transition: width .35s ease; }
.sticky-nav.stuck .route-strip ol::after { top: 12px; }
.day-chips { align-items: stretch; gap: 0; scroll-snap-type: x proximity; }
.chip-group { display: grid; gap: 4px; flex: 0 0 auto; scroll-snap-align: start; }
.chip-place { font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--a); padding-left: 2px; white-space: nowrap; }
.chip-row { display: flex; gap: 6px; }
.chip-sep { flex: 0 0 auto; width: 0; margin: 4px 12px 0; border-left: 2px dashed var(--deco); align-self: stretch; }
.return-note { display: flex; gap: 12px; align-items: flex-start; }
.return-note b { display: block; margin-bottom: 2px; color: var(--ink); }
.warning.return-note { display: block; }
.warning.return-note b { color: inherit; }
.before-fly { display: grid; gap: 12px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 6px; align-content: start; }
.tile.wide { grid-column: 1 / -1; }
.tile-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--soft); color: var(--a); display: grid; place-items: center; font-size: 16px; }
.tile-ic svg { width: 18px; height: 18px; }
.tile b { font-size: 14px; line-height: 1.25; }
.tile p { font-size: 12px; color: var(--quiet); }
.tile-cta { margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--a); text-decoration: none; align-self: end; min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 360px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .route-strip ol::after { transition: none; } }

/* Route aufs Handy */
.install { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: grid; gap: 14px; }
.install-head { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; }
.install-head b { display: block; font-size: 16px; margin-bottom: 2px; }
.os-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--soft); padding: 4px; border-radius: 14px; }
.os-tabs button { border: 0; background: transparent; border-radius: 10px; min-height: 44px; font-weight: 600; font-size: 13px; color: var(--quiet); }
.os-tabs button[aria-selected="true"] { background: var(--surface); color: var(--a); box-shadow: 0 2px 6px #173b4614; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--a); color: var(--a-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step-txt { font-size: 14px; line-height: 1.45; padding-top: 5px; }
.mock { grid-column: 2; display: flex; align-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 8px 12px; font-size: 12.5px; color: var(--quiet); }
.mock .hl { color: var(--a); outline: 2px solid var(--a); outline-offset: 3px; border-radius: 6px; background: var(--surface); }
.mock-bar { justify-content: space-between; }
.mock-bar i { width: 18px; height: 4px; border-radius: 2px; background: var(--line); }
.mock-bar .hl { display: grid; place-items: center; width: 32px; height: 32px; }
.mock-bar .hl svg { width: 20px; height: 20px; }
.mock-menu { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 12px; }
.mock-menu span { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; }
.mock-menu .hl { font-weight: 600; }
.mock-menu svg { width: 17px; height: 17px; }
.mock-head { justify-content: space-between; }
.mock-head .hl { padding: 4px 8px; font-weight: 700; }
.qr-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.qr { width: 184px; height: 184px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.qr img, .qr canvas { width: 168px !important; height: 168px !important; }
@media (max-width: 420px) { .qr-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }
.send-row { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.send-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-place { position: sticky; left: 0; justify-self: start; background: var(--paper); padding-right: 6px; z-index: 1; }

/* Kalender (statt Browser-Datumsfeld) */
.label { font-weight: 500; }
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: grid; gap: 10px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal-head b { font-size: 16px; font-weight: 600; }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.cal-nav svg { width: 18px; height: 18px; }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px 0; }
.cal-wd { text-align: center; font-size: 11px; font-weight: 600; color: var(--quiet); padding: 4px 0 6px; }
.cal-day { height: 44px; border: 0; background: transparent; font-size: 14.5px; font-weight: 500; color: var(--ink); border-radius: 0; position: relative; }
.cal-day:hover:not([disabled]):not(.in):not(.sel):not(.end) { background: var(--soft); border-radius: 12px; }
.cal-day[disabled] { color: #b9c6c8; cursor: default; }
.cal-day.in { background: var(--soft); color: var(--a); }
.cal-day.sel, .cal-day.end { background: var(--a); color: var(--a-ink); font-weight: 700; border-radius: 12px; }
.cal-day.sel { border-radius: 12px 0 0 12px; }
.cal-day.end { border-radius: 0 12px 12px 0; background: var(--deco); color: var(--ink); }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.cal-foot > span { display: grid; gap: 1px; }
.cal-hint { padding: 0 2px; }

/* Flug gebucht? Swipe-Karte und Flugdaten */
.swipe-wrap { display: grid; place-items: center; padding: 8px 0 4px; }
.swipe-card { position: relative; width: 100%; max-width: 340px; aspect-ratio: 4 / 4.2; border-radius: 26px; background: linear-gradient(160deg, var(--surface), var(--soft)); border: 1px solid var(--line); box-shadow: 0 14px 34px #173b4618; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 26px; text-align: center; touch-action: pan-y; user-select: none; cursor: grab; transition: transform .25s ease; }
.swipe-card.drag { transition: none; cursor: grabbing; }
.swipe-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--a); color: var(--a-ink); display: grid; place-items: center; }
.swipe-ic svg { width: 36px; height: 36px; }
.swipe-card b { font-size: 22px; font-weight: 600; letter-spacing: -.5px; }
.swipe-card p { font-size: 13.5px; color: var(--quiet); max-width: 26ch; }
.swipe-tag { position: absolute; top: 18px; padding: 6px 12px; border-radius: 10px; font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; opacity: 0; transition: opacity .15s; border: 2px solid; }
.swipe-tag.no { left: 18px; color: var(--quiet); border-color: var(--quiet); transform: rotate(-8deg); }
.swipe-tag.yes { right: 18px; color: var(--a); border-color: var(--a); transform: rotate(8deg); }
.swipe-card[data-dir="no"] .swipe-tag.no, .swipe-card[data-dir="yes"] .swipe-tag.yes { opacity: 1; }
.swipe-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.big-choice { min-height: 58px; justify-content: center; gap: 8px; font-size: 15px; }
.big-choice svg { width: 18px; height: 18px; }
.sub-l { font-size: 13px; color: var(--quiet); margin-top: 4px; }
.ap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.option.ap { display: grid; justify-items: start; gap: 1px; min-height: 54px; padding: 8px 10px; }
.option.ap strong { font-size: 13px; }
.option.ap small { font-size: 10.5px; color: var(--quiet); }
.time-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { min-height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--soft); border-color: var(--a); color: var(--a); }
@media (max-width: 360px) { .ap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .swipe-card { transition: none; } }
.big-choice { white-space: nowrap; padding: 0 14px; }
/* Touristisch-Bewertung 1–5 auf der Stopp-Karte */
.tour-rate { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--quiet); }
.tour-rate .dots { display: inline-flex; gap: 4px; }
.tour-rate i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.tour-rate i.on { background: var(--a); }
.tour-rate b { font-weight: 600; color: var(--ink); font-size: 12px; }
/* Anreise-Kachel über dem ersten Stopp, bewusst anders getönt als die Stopp-Karten */
.arrival-card { background: linear-gradient(160deg, var(--soft), #d5e7ea); border: 1px solid var(--deco); border-radius: 22px; padding: 18px; margin: 4px 0 16px; display: grid; gap: 12px; }
.arrival-card .ac-head { display: flex; gap: 12px; align-items: flex-start; }
.arrival-card .ac-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--a); color: #fff; display: grid; place-items: center; }
.arrival-card .ac-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.arrival-card .ac-txt { display: grid; gap: 2px; min-width: 0; }
.arrival-card .ac-txt b { font-size: 18px; font-weight: 600; color: var(--ink); }
.arrival-card .days-toggle { background: rgba(255, 255, 255, .7); }
.kiwi-box { background: var(--surface); border-radius: 16px; padding: 10px; min-height: 120px; overflow: hidden; }
.kiwi-box iframe { width: 100% !important; border: 0; }
.kiwi-box p { margin-top: 8px; }

/* ===== Schmaler Foto-Kopf für Fragen und Laden (Longtail mit Fade) ===== */
.hero-light.slim { height: 150px; }
.hero-light.slim::after { background: linear-gradient(180deg, #f5f8f700 0%, #f5f8f700 30%, #f5f8f7b3 72%, var(--paper) 100%); }
.hero-light.slim .photo-credit { bottom: 14px; }
.hero-light.slim + .content { margin-top: -26px; position: relative; }
.hero-light.slim + .content .q-top { margin-top: 0; }

/* ===== Landingpage nach dem Code ===== */
.howto { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.howto li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); padding: 15px 16px; }
.howto-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--a); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.howto b { display: block; font-size: 14.5px; font-weight: 600; }
.howto small { color: var(--quiet); font-size: 12.5px; }
.landing-cta { display: grid; gap: 10px; }
.landing-cta .code-ok { display: flex; align-items: center; gap: 7px; color: #2c7a59; font-weight: 500; }
.landing-cta .code-ok svg { width: 16px; height: 16px; stroke-width: 2.4; }
.landing-cta .bare { justify-self: center; }

/* Freischalt-Animation: Haken im Knopf, Karte faltet sich weg */
.welcome-code { transition: opacity .35s ease, transform .35s ease; }
.welcome-code.unlocking button { background: #2c7a59; }
.welcome-code.unlocking button svg { width: 18px; height: 18px; stroke-width: 2.6; opacity: 1; }
.welcome-code.unlocking label, .welcome-code.unlocking input, .welcome-code.unlocking .err { animation: fold-away .45s ease forwards; }
.welcome-code.unlocking { animation: card-away .4s ease .5s forwards; }
@keyframes fold-away { to { opacity: 0; transform: translateY(-6px); } }
@keyframes card-away { to { opacity: 0; transform: translateY(-10px) scale(.97); } }
/* Eintritt der Startseite nach dem Freischalten */
.app.entering .welcome-heading .eyebrow, .app.entering .howto li, .app.entering .landing-cta { animation: rise-in .55s cubic-bezier(.2, .7, .2, 1) both; }
.app.entering .howto li:nth-child(1) { animation-delay: .08s; }
.app.entering .howto li:nth-child(2) { animation-delay: .16s; }
.app.entering .howto li:nth-child(3) { animation-delay: .24s; }
.app.entering .landing-cta { animation-delay: .34s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .welcome-code.unlocking, .welcome-code.unlocking * , .app.entering * { animation: none !important; }
}

/* Route: auf dem Handy untereinander */
.route-split, .route-list, .route-map { display: grid; gap: 21px; min-width: 0; }

/* ===== Desktop (ab 1024 px) ===== */
@media (min-width: 1024px) {
  :root { --gutter: 40px; }
  .app { max-width: 1240px; }

  /* Start, Fragen, Laden: Foto links über die volle Höhe, Inhalt rechts */
  .app.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-content: start; min-height: 100vh; }
  .app.split > .hero-light { grid-column: 1; grid-row: 1 / span 6; position: sticky; top: 0; height: 100vh; height: 100svh; }
  .app.split > .hero-light::after { inset: 0 -2px 0 0; background: linear-gradient(90deg, #f5f8f700 0%, #f5f8f700 62%, #f5f8f7b8 88%, var(--paper) 100%); }
  .app.split > .hero-light .photo-credit { bottom: 20px; right: 40px; }
  .app.split > :not(.hero-light) { grid-column: 2; }
  .app.split > .welcome-heading { margin-top: 0; padding: max(9vh, 64px) 56px 26px; text-align: left; max-width: 620px; }
  .app.split > .welcome-heading h1 { font-size: 44px; }
  .app.split > .content { padding: 0 56px 40px; max-width: 620px; width: 100%; }
  .app.split > .hero-light.slim + .content { margin-top: 0; padding-top: max(7vh, 48px); }
  .app.split > .footer { padding-inline: 56px; align-self: end; }
  .app.split .home-list { text-align: left; }

  /* Ergebnis: breiter Kopf, Karte links, Route rechts */
  .app.result { --hero-h: 400px; }
  .app.result .merged-route-heading { max-width: 820px; margin-inline: auto; }
  .app.result .merged-route-heading h1 { font-size: 46px; }
  .app.result .trip-summary { max-width: 820px; margin-inline: auto; }
  .app.result .sticky-nav { padding-inline: max(var(--gutter), calc((100% - 1100px) / 2)); }
  .app.result .plan-panel { max-width: 1160px; margin-inline: auto; width: 100%; }
  .app.result .tab-route .route-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 36px; align-items: start; }
  .app.result .tab-route .route-map { position: sticky; top: 170px; }
  .app.result .tab-route .map-card { height: calc(100vh - 210px); min-height: 420px; }
  .app.result .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .app.result .act-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .app.result .tab-hotels, .app.result .tab-transfers { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .app.result .tab-hotels > :not(.hotel), .app.result .tab-transfers > :not(article) { grid-column: 1 / -1; }
  .app.result .footer { padding-inline: max(var(--gutter), calc((100% - 1100px) / 2)); }

  /* Tagesansicht: lesbar mittig */
  .app.stage { max-width: 820px; }
}
/* Handy: Start-Knopf der Landingpage bleibt unten sichtbar */
@media (max-width: 1023px) {
  .landing-cta { position: sticky; bottom: 0; z-index: 5; padding: 18px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, #f5f8f700, var(--paper) 26%); margin-top: -8px; }
}

/* ===== Voll responsiv: Tablet breiter, Desktop randlos ===== */
@media (min-width: 700px) and (max-width: 1023px) {
  :root { --app-max: 100%; --gutter: clamp(32px, 6vw, 64px); --hero-h: 420px; }
  .app { box-shadow: none; }
  .welcome-heading h1, .merged-route-heading h1 { font-size: 40px; }
}
@media (min-width: 1024px) {
  .app, .app.split, .app.result, .app.stage { max-width: none; box-shadow: none; }
  /* Start und Fragen: Foto bis zum linken Rand, Inhalt rechts in Lesebreite mittig */
  .app.split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .app.split > .hero-light > img { object-position: 30% center; }
  .app.split > .welcome-heading, .app.split > .content, .app.split > .footer { width: 100%; max-width: 700px; justify-self: center; padding-inline: clamp(40px, 3.5vw, 64px); }
  .app.split > .welcome-heading { padding-top: max(12vh, 72px); }
  .app.split > .welcome-heading h1 { font-size: clamp(38px, 2.7vw, 50px); text-wrap: initial; }
  .app.split > .footer { border-top: 0; }
  /* Ergebnis: Foto-Kopf randlos, Inhalt mittig */
  .app.result { --hero-h: clamp(380px, 42vh, 520px); }
  .app.result .merged-route-heading h1 { font-size: clamp(42px, 3.2vw, 56px); }
  /* Tagesansicht: Leiste randlos, Inhalt mittig */
  .app.stage .stage-bar { padding-inline: max(var(--gutter), calc((100% - 820px) / 2)); }
  .app.stage .stage-content { max-width: 820px; margin-inline: auto; width: 100%; }
  .app.stage .footer { padding-inline: max(var(--gutter), calc((100% - 820px) / 2)); }
}

/* ===== Desktop-Ergebnis breiter: Karte 40 %, Route 60 %, sauberer Abstand unter der Leiste ===== */
@media (min-width: 1024px) {
  .app.result .sticky-nav { box-shadow: none; border-bottom: 1px solid var(--line); padding-inline: max(var(--gutter), calc((100% - 1480px) / 2)); }
  .app.result .plan-panel { max-width: 1560px; padding-top: 28px; padding-inline: max(var(--gutter), 40px); }
  .app.result .tab-route .route-split { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 44px; }
  .app.result .tab-route .route-map { top: calc(var(--nav-h, 140px) + 24px); }
  .app.result .tab-route .map-card { height: calc(100vh - var(--nav-h, 140px) - 48px); min-height: 460px; border-radius: 22px; box-shadow: 0 10px 30px #173b4612; }
  .app.result .footer { padding-inline: max(var(--gutter), calc((100% - 1480px) / 2)); }
  .app.result .act-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .app.result .tab-hotels, .app.result .tab-transfers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-width: 1399px) {
  .app.result .tab-hotels, .app.result .tab-transfers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app.result .act-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .app.result .stop-main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
  .app.result .stop-card { padding: 16px; }
}
/* Angaben ändern direkt neben Reisezeit, Personen und Rhythmus */
.trip-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.edit-trip { grid-column: 1 / -1; justify-content: center; gap: 8px; min-height: 42px; font-size: 13px; border-radius: var(--round-pill); }
.edit-trip svg { width: 15px; height: 15px; }
@media (min-width: 700px) {
  .trip-summary { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .edit-trip { grid-column: auto; padding-inline: 18px; }
}
/* Viele Stopps auf dem Handy: nur Nummern, Name nur beim aktuellen Stopp (wandert beim Scrollen mit) */
@media (max-width: 699px) {
  .route-strip ol.many .nm { display: none; }
  .route-strip ol.many button[aria-current="true"] .nm { display: block; position: absolute; top: 33px; left: 50%; transform: translateX(-50%); max-width: none; color: var(--a); }
  .route-strip ol.many li:first-child button[aria-current="true"] .nm { left: 0; transform: none; }
  .route-strip ol.many li:last-child button[aria-current="true"] .nm { left: auto; right: 0; transform: none; }
}
/* Mehr Luft zwischen Stopp-Karten und Etappen-Zeilen */
.route-list { gap: 26px; }
.route-list > .leg-row { padding-block: 4px; }
@media (min-width: 1024px) {
  .app.result .route-list { gap: 36px; }
  .app.result .route-list > .leg-row { padding: 8px 12px; }
}
/* Stopp tauschen: Kreis-Pfeile oben rechts in der Karte */
.stop-card { position: relative; }
.stop-swap { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #ffffffee; color: var(--a); display: grid; place-items: center; box-shadow: 0 3px 10px #173b4614; transition: transform .25s ease, background .2s; }
.stop-swap svg { width: 18px; height: 18px; stroke-width: 2; }
.stop-swap:hover { background: var(--soft); }
.stop-swap:active { transform: rotate(-90deg); }
@media (max-width: 699px) { .stop-swap { top: 18px; right: 18px; } }
.stop-card .stop-info { padding-right: 44px; }

/* ===== Wetter unterwegs ===== */
.climate { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 12px; display: grid; gap: 4px; }
.climate-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.climate-head h3 { font-size: 16px; }
.climate-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.climate-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fbf1d9; color: #a0670f; }
.climate-ic svg { width: 18px; height: 18px; stroke-width: 1.9; }
.climate-row.wet .climate-ic { background: #e3eef8; color: #2b5f8f; }
.climate-txt { display: grid; gap: 2px; min-width: 0; }
.climate-txt b { font-size: 14px; font-weight: 600; }
.climate-txt b .quiet { font-weight: 500; }
.climate-txt small { font-size: 12px; color: var(--quiet); }
.climate-tag { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 30px; white-space: nowrap; }
.climate-row.good .climate-tag { background: #e6f2df; color: #2f5d18; }
.climate-row.ok .climate-tag { background: #fbf1d9; color: #6b4a0c; }
.climate-row.wet .climate-tag { background: #e3eef8; color: #22507a; }
.climate-note { grid-column: 2 / -1; font-size: 12px; color: var(--quiet); margin: 2px 0 0; }
.climate-foot { font-size: 11px; color: var(--quiet); margin-top: 4px; }
.climate.only-desk { display: none; }
@media (min-width: 1024px) {
  .climate.only-desk { display: grid; }
  .climate.only-mob { display: none; }
  /* Karte und Wetter teilen sich die stehende linke Spalte */
  .app.result .tab-route .map-card { height: calc(100vh - var(--nav-h, 140px) - 48px - var(--climate-h, 0px)); min-height: 340px; }
}
@media (max-width: 380px) { .climate-row { grid-template-columns: 30px minmax(0, 1fr); } .climate-tag { grid-column: 2; justify-self: start; } }

/* ===== Unterkünfte als Reiselinie ===== */
.stay-line { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.stay-stop { position: relative; padding-left: 46px; display: grid; gap: 14px; }
.stay-stop::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: -34px; width: 2px; background: var(--deco); }
.stay-stop:last-child::before { display: none; }
.stay-dot { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--a); color: var(--a-ink); display: grid; place-items: center; font-weight: 600; font-size: 13px; box-shadow: 0 0 0 5px var(--paper); }
.stay-stop.final .stay-dot { background: var(--surface); color: var(--a); border: 2px solid var(--a); }
.stay-head { display: grid; gap: 14px; }
.stay-photo { position: relative; border-radius: var(--round); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.stay-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stay-photo .credit { position: absolute; bottom: 8px; right: 8px; color: #fff; background: #101a30c9; border-radius: 4px; padding: 2px 5px; font-size: 10px; max-width: 80%; }
.stay-photo .credit a { color: #fff; }
.stay-info { display: grid; gap: 6px; align-content: center; }
.stay-info h3 { font-size: 22px; line-height: 1.2; }
.stay-info .primary { margin-top: 6px; }
.stay-price b { font-size: 18px; font-weight: 600; }
.stay-price small { font-size: 12px; color: var(--quiet); }
.stay-areas { display: grid; gap: 10px; }
.stay-area { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--round); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.stay-area:hover { border-color: var(--a); box-shadow: 0 4px 14px #1f607414; }
.stay-area.rec { border-color: var(--a); box-shadow: inset 0 0 0 1px var(--a); }
.stay-badge { justify-self: start; font-size: 11px; font-weight: 600; background: var(--soft); color: var(--a); padding: 3px 9px; border-radius: 30px; margin-bottom: 2px; }
.stay-area b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.stay-for { font-size: 13px; color: var(--quiet); }
.stay-cta { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--a); }
.stay-cta svg { width: 14px; height: 14px; }
@media (min-width: 700px) {
  .stay-head { grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: center; }
  .stay-photo { aspect-ratio: 3 / 2; }
  .stay-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .app.result .plan-panel.tab-hotels { grid-template-columns: minmax(0, 1fr); }
  .stay-line { max-width: 1200px; gap: 44px; }
  .stay-stop { padding-left: 70px; gap: 18px; }
  .stay-stop::before { left: 19px; top: 46px; bottom: -44px; }
  .stay-dot { width: 40px; height: 40px; font-size: 15px; }
  .stay-head { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; }
  .stay-info h3 { font-size: 26px; }
  .stay-info .primary { justify-self: start; min-width: 320px; }
  .stay-area { padding: 16px 18px; }
}
@media (min-width: 1280px) {
  .stay-line { max-width: none; }
  .stay-stop { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: center; }
  .stay-head { grid-template-columns: 210px minmax(0, 1fr); gap: 22px; }
  .stay-info h3 { font-size: 24px; }
  .stay-info .primary { min-width: 0; justify-self: stretch; }
  .stay-areas { align-self: center; }
  .stay-area { min-height: 100%; }
  .stay-stop.final { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* ===== Mini-Karten der Viertel ===== */
.stay-map { position: relative; border-radius: var(--round); overflow: hidden; aspect-ratio: 4 / 3; background: #d8ebef; border: 1px solid var(--line); }
.stay-map .maplibregl-ctrl-attrib { font-size: 9px; }
.area-pin { display: grid; justify-items: center; pointer-events: none; filter: drop-shadow(0 2px 4px #0003); }
.area-pin > span { order: -1; display: block; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--surface); color: var(--ink); font: 600 11.5px/1.2 var(--font); padding: 5px 9px; border-radius: 9px; position: relative; margin-bottom: 7px; }
.area-pin > span::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--surface); }
.area-pin > b { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); color: var(--a); border: 2px solid var(--a); display: grid; place-items: center; font: 700 11px/1 var(--font); }
.area-pin.rec > b, .area-pin.plane > b { background: var(--a); color: var(--a-ink); }
.area-pin.rec > span { background: var(--a); color: var(--a-ink); }
.area-pin.rec > span::after { border-top-color: var(--a); }
.area-pin.plane svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.stay-area-top { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.stay-area-top .stay-badge { margin-bottom: 0; }
.stay-letter { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--a); color: var(--a); display: grid; place-items: center; font-weight: 700; font-size: 11px; flex-shrink: 0; }
.stay-area.rec .stay-letter { background: var(--a); color: var(--a-ink); }
@media (min-width: 700px) { .stay-map { aspect-ratio: 4 / 3; } }
@media (min-width: 1280px) { .stay-head { grid-template-columns: 280px minmax(0, 1fr); } }
/* Buchstaben-Pins als Tropfen, Spitze zeigt auf das Viertel */
.area-pin > b { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin-bottom: 5px; }
.area-pin > b > i { transform: rotate(45deg); font-style: normal; font-size: 13px; line-height: 1; display: grid; place-items: center; }
.area-pin > b > i svg { width: 14px; height: 14px; }
.stay-map { aspect-ratio: 4 / 3; }
@media (min-width: 1280px) { .stay-head { grid-template-columns: 300px minmax(0, 1fr); } }
.area-pin.hidden { opacity: 0; }
.area-pin { transition: opacity .2s; }
.stay-attr { position: absolute; right: 6px; bottom: 5px; z-index: 2; font-size: 9.5px; color: var(--quiet); background: #ffffffd9; padding: 1px 5px; border-radius: 4px; text-decoration: none; }
/* Persönlicher Satz unter der Ortsbeschreibung */
.stop-fit { margin: 0; padding: 10px 14px; background: var(--soft); border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.stop-fit b { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a); margin-bottom: 2px; }
.stop-card .stop-why { font-size: 14.5px; line-height: 1.6; color: #3c535b; margin: 0; }
.stop-card .stop-fit { margin: 0 4px; }

/* ===== Reisewallet ===== */
.save-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--a); font: 600 13.5px/1 var(--font); cursor: pointer; transition: background .15s, border-color .15s; }
.save-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.save-btn:hover { border-color: var(--a); }
.save-btn.on { background: var(--soft); border-color: var(--a); }
.save-btn.on svg { fill: currentColor; }
.save-btn.wide { width: 100%; min-height: 46px; margin-top: 8px; }
.save-btn.icon { padding: 0; width: 40px; min-height: 40px; }
.save-btn.icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.save-btn.float { position: absolute; top: 10px; right: 10px; z-index: 2; border: 0; box-shadow: 0 2px 10px #0003; min-height: 36px; padding: 6px 12px; }
.act-wrap { position: relative; display: grid; }
.act-wrap > .act-card { height: 100%; }
.leg-acts { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.stay-actions { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.stay-actions .stay-cta { margin-top: 0; text-decoration: none; }
.stay-actions .save-btn { min-height: 36px; padding: 6px 12px; }
.stay-area { cursor: default; }
.wallet-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 9px; padding: 12px 14px 12px 16px; border: 0; border-radius: 40px; background: var(--a); color: var(--a-ink); font: 600 15px/1 var(--font); box-shadow: 0 8px 24px #1f607455; cursor: pointer; }
.wallet-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.wallet-fab b { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #fff; color: var(--a); display: grid; place-items: center; font-size: 13px; }
.wallet-overlay { position: fixed; inset: 0; z-index: 80; background: #10202680; display: flex; justify-content: flex-end; }
.wallet-panel { background: var(--paper); width: min(560px, 100%); height: 100%; overflow-y: auto; padding: 22px var(--gutter) 40px; display: grid; gap: 16px; align-content: start; box-shadow: -10px 0 40px #0003; }
.wallet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wallet-head h2 { font-size: 26px; margin-top: 4px; }
.wallet-close { position: static; }
.wallet-progress { background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); padding: 14px 16px; display: grid; gap: 10px; }
.wallet-progress > div { display: grid; gap: 2px; }
.wallet-progress b { font-size: 16px; }
.wp-bar { height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.wp-bar i { display: block; height: 100%; background: var(--a); border-radius: 8px; transition: width .3s; }
.wallet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.w-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--round); }
.w-item.opened { border-color: var(--a); }
.w-item.done { opacity: .62; }
.w-item.done .w-txt b { text-decoration: line-through; }
.w-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--a); display: grid; place-items: center; }
.w-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.w-txt { display: grid; gap: 3px; min-width: 0; }
.w-txt b { font-size: 15px; line-height: 1.3; }
.w-txt > span { font-size: 13px; color: var(--quiet); }
.w-txt .w-price { color: var(--ink); font-weight: 600; }
.w-txt .w-ask { color: var(--a); font-weight: 600; }
.w-act { grid-column: 2; display: flex; align-items: center; gap: 8px; }
.w-act .w-book { margin-right: auto; order: -1; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 12px; background: var(--a); color: var(--a-ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.w-done, .w-del { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--quiet); display: grid; place-items: center; cursor: pointer; }
.w-done svg, .w-del svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.w-done[aria-pressed="true"] { background: #2f7a4a; border-color: #2f7a4a; color: #fff; }
.w-item.done .w-act { justify-content: flex-start; }
.w-item.done .w-done { margin-right: auto; }
@media print { .wallet-fab, .save-btn { display: none !important; } }
body.has-wallet { padding-bottom: 84px; }
/* Reisewallet als Zeitstrahl über die ganze Reise */
.wallet-line { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.wl-day { position: relative; padding-left: 40px; display: grid; gap: 10px; }
.wl-day::before { content: ""; position: absolute; left: 12px; top: 28px; bottom: -22px; width: 2px; background: var(--deco); }
.wl-day:last-child::before { display: none; }
.wl-dot { position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 3px solid var(--a); display: grid; place-items: center; color: #fff; }
.wl-day.done .wl-dot { background: #2f7a4a; border-color: #2f7a4a; }
.wl-dot svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; }
.wl-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.wl-head b { font-size: 16px; }
.wl-head span { font-size: 14px; color: var(--quiet); }
.wl-items { display: grid; gap: 10px; }
.wallet-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet-out button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; }
.wallet-out svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 420px) { .wallet-out { grid-template-columns: 1fr; } }
.go-link { margin-top: 12px; font-weight: 600; }
@media print {
  .wallet-overlay { display: none !important; }
  .pv-wallet { margin-top: 18pt; }
  .pv-wallet h3 { font-size: 11pt; margin: 9pt 0 3pt; }
  .pv-wallet ul { margin: 0; padding-left: 14pt; }
  .pv-wallet li { margin: 2pt 0; break-inside: avoid; }
  .pv-wallet a { color: #1f6074; }
  .pv-note { font-size: 9pt; color: #555; margin-top: 8pt; }
}
.flight-later { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); font-size: 13.5px; line-height: 1.5; }

/* ===== Hotelkarte (Stay22 Maps, Pilot) ===== */
/* Viertel-Kacheln als Umschalter: Auswahl statt Empfehlung umrandet */
.stay-areas.pickable .stay-area.rec { border-color: var(--line); box-shadow: none; }
.stay-areas.pickable .stay-area.rec .stay-letter { background: none; color: var(--a); }
.stay-areas.pickable .stay-area.sel { border-color: var(--a); box-shadow: inset 0 0 0 1px var(--a); background: #f7fbfb; }
.stay-areas.pickable .stay-area.sel .stay-letter { background: var(--a); color: var(--a-ink); }
.stay-pick { display: grid; gap: 4px; align-content: start; text-align: left; background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; cursor: pointer; }
.stay-pick:focus-visible { outline: 2px solid var(--a); outline-offset: 4px; border-radius: 8px; }
.stay-areas.pickable .stay-area { cursor: pointer; }
.stay-onmap { display: none; margin-left: auto; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--a); }
.stay-onmap svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.stay-area.sel .stay-onmap { display: inline-flex; }
.hmap { display: grid; gap: 12px; }
.hmap-body { display: grid; gap: 10px; }
.hmap-body[hidden] { display: none; }
.hmap-cap { font-size: 13px; color: var(--quiet); margin: 0; }
.hmap-cap b { color: var(--ink); font-weight: 600; }
.hmap-frame { border-radius: var(--round); overflow: hidden; background: var(--soft); border: 1px solid var(--line); height: 520px; }
.hmap-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 700px) { .hmap-frame { height: 600px; } }
@media (min-width: 1280px) { .stay-stop .hmap { grid-column: 1 / -1; } }

/* ===== Unterkünfte je Stopp: Viertel links (40 %), Hotelkarte rechts (60 %) ===== */
.stay-alt { display: grid; gap: 14px; }
.alt-head { display: grid; gap: 4px; padding-top: 4px; }
.alt-head h3 { font-size: 22px; line-height: 1.25; }
.alt-price { font-weight: 500; color: var(--quiet); font-size: .8em; white-space: nowrap; }
.alt-grid { display: grid; gap: 14px; }
.alt-map .hmap-frame { height: 480px; }
@media (min-width: 900px) {
  .alt-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; }
  .stay-areas.alt-areas { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .stay-areas.alt-areas .stay-area { min-height: 0; }
  .alt-map, .alt-map .hmap-body { display: flex; flex-direction: column; min-height: 100%; }
  .alt-map .hmap-frame { flex: 1; min-height: 520px; height: auto; }
}
@media (min-width: 1024px) { .alt-head h3 { font-size: 26px; } }
@media (min-width: 1280px) { .stay-stop.stay-alt { grid-template-columns: minmax(0, 1fr); } }
/* die allgemeine Regel „Hotelkarte über volle Breite“ (ab 1280 px) gilt hier nicht: Karte bleibt rechts neben den Vierteln */
@media (min-width: 900px) { .stay-stop.stay-alt .alt-grid .hmap { grid-column: auto; } }

/* Bildergalerie je Stopp: wischbar (Handy), Pfeile (Desktop), Punkte zeigen die Position */
.stop-main { grid-template-columns: minmax(0, 1fr); }
.gal { position: relative; border-radius: 14px; overflow: hidden; background: #e6edef; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 16 / 10; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.gal-item figcaption { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; line-height: 1.4; color: #fff; background: #0a1e2466; padding: 2px 7px; border-radius: 6px; }
.gal-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gal-dots i { width: 7px; height: 7px; border-radius: 4px; background: #ffffffa6; box-shadow: 0 0 3px #0004; transition: width .2s, background .2s; }
.gal-dots i.on { width: 18px; background: #fff; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: #ffffffeb; color: var(--ink, #17313a); display: grid; place-items: center; box-shadow: 0 2px 10px #0003; cursor: pointer; transition: opacity .15s; }
.gal-nav svg { width: 18px; height: 18px; stroke-width: 2.2; }
.gal-nav.prev { left: 10px; }
.gal-nav.next { right: 10px; }
.gal-nav.off { opacity: 0; pointer-events: none; }
@media (hover: none) { .gal-nav { display: none; } }
@media (min-width: 700px) {
  .stop-main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
  .gal-item { aspect-ratio: 4 / 3; }
}

/* ===== Startseite Desktop: größer und besser lesbar (Jonathan 13.11.2026: „so mini klein“) ===== */
@media (min-width: 1024px) {
  .app.split > .welcome-heading, .app.split > .content, .app.split > .footer { max-width: 760px; }
  .app.split > .welcome-heading { gap: 20px; }
  .app.split > .welcome-heading .eyebrow { font-size: 13px; letter-spacing: 2px; }
  .app.split > .welcome-heading h1 { font-size: clamp(46px, 3.1vw, 58px); }
  .app.split > .welcome-heading p { font-size: clamp(17px, 1.2vw, 20px); line-height: 1.5; }
  .app.split .howto { gap: 14px; }
  .app.split .howto li { padding: 20px 22px; gap: 18px; }
  .app.split .howto-n { width: 38px; height: 38px; font-size: 16px; }
  .app.split .howto b { font-size: clamp(17px, 1.15vw, 19px); margin-bottom: 2px; }
  .app.split .howto small { font-size: clamp(14.5px, 1vw, 16px); line-height: 1.45; }
  .app.split .landing-cta .primary.round { font-size: 16px; min-height: 58px; padding-inline: 28px; }
  .app.split > .footer { font-size: 12.5px; }
  /* Länder mit Zugangscode (z. B. Thailand): Kurzüberblick und Code-Feld ebenso größer */
  .app.split .home-list { font-size: 15px; gap: 18px; padding: 8px 0 10px; }
  .app.split .home-list b { font-size: clamp(20px, 1.5vw, 24px); }
  .app.split .welcome-code { padding: 28px; gap: 14px; }
  .app.split .welcome-code label { font-size: 16px; }
  .app.split .welcome-code input { font-size: 17px; min-height: 56px; }
  .app.split .welcome-code .primary.round { font-size: 16px; min-height: 58px; }
  .app.split .guide-note { font-size: 14px; }
}
.warning.stop-safety { margin: 0 0 12px; line-height: 1.5; }
.notebox.stop-notice { margin: 0 0 12px; line-height: 1.5; }
.notebox.stop-notice b { display: block; margin-bottom: 3px; }
