/* Now or now – Abflugtafel-Gelb auf kühlem Grau, Navy statt Schwarz, runde Systemschrift (keine externen Fonts) */
:root {
  --bg: #EEF0F4; --card: #FFFFFF; --ink: #13204A; --muted: #4F5870; --soft: #626A80;
  --line: #E1E4EB; --line2: #CDD2DD; --track: #E2E5EC;
  --now: #FFD23F; --now-hover: #FFC800;
  --blue: #2F4BE6; --blue-bg: #E9EDFF;
  --ok: #0B6B4B; --ok-bg: #DCF3E8;
  --warn: #9A3412; --warn-bg: #FFE8DA;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: #1D35B8; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 128px; }

/* Kopf mit Wortmarke */
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 2px 6px; }
.brand { font-family: var(--display); font-weight: 900; font-size: 21px; letter-spacing: -0.6px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--now); box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.35); }
.brand:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--display); margin: 0; color: inherit; }
h1 { font-size: 36px; line-height: 1.05; font-weight: 900; letter-spacing: -1.2px; }
h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.6px; }
h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
p { line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 13px; color: var(--soft); line-height: 1.45; }
.big { font-family: var(--display); font-weight: 800; letter-spacing: -0.4px; }
.section { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.label { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.1px; }

/* Flächen: weiße Gruppen auf Grau, ohne Rahmen und Schatten */
.card { background: var(--card); border: none; border-radius: 22px; padding: 18px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrapflex { flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* Formulare */
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 650; color: var(--ink); }
input, select { height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line2); background: #fff; font-size: 16px; font-family: inherit; color: var(--ink); width: 100%; }
input::placeholder { color: #8C93A6; }
input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-bg); }
.check { display: flex; align-items: center; gap: 12px; font-size: 15px; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); }

/* Buttons: dunkel als Standard, Gelb nur für die eine Hauptaktion pro Seite */
.btn { min-height: 52px; padding: 0 20px; border: none; border-radius: 16px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { color: #fff; background: #0B1533; }
.btn.full { width: 100%; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line2); }
.btn.ghost:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { background: #1D35B8; }
.btn.sm { min-height: 44px; font-size: 14px; padding: 0 14px; border-radius: 12px; }
.btn:disabled { opacity: 0.55; cursor: default; }
#go, .bottombar .btn { background: var(--now); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 17px; border-radius: 18px; min-height: 56px; }
#go:hover, .bottombar .btn:hover { background: var(--now-hover); color: var(--ink); }

/* Auswahl-Kacheln und Segmente */
.choice { min-height: 66px; padding: 12px 14px; text-align: left; border-radius: 16px; border: 2px solid transparent; background: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font-family: inherit; color: var(--ink); }
.choice b { font-size: 15px; }
.choice span { font-size: 12.5px; color: var(--soft); }
.choice[aria-pressed="true"] { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--track); padding: 4px; border-radius: 14px; }
.seg button { min-height: 44px; border: none; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 750; }

/* Personen, Preise, Hinweise */
.avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: var(--now); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }
.pill.ok { color: var(--ok); background: var(--ok-bg); }
.pill.warn { color: var(--warn); background: var(--warn-bg); }
.pill.gray { color: var(--muted); background: var(--bg); }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 6px; }
.chip { display: flex; flex-direction: column; align-items: center; padding: 7px 4px; border-radius: 12px; background: var(--bg); min-width: 0; }
.chip .n { font-size: 11.5px; color: var(--soft); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .p { font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.chip.over { background: var(--warn-bg); }
.chip.over .n, .chip.over .p { color: var(--warn); }
.result { cursor: pointer; text-align: left; width: 100%; font-family: inherit; color: var(--ink); }
.result .big { font-size: 21px; font-variant-numeric: tabular-nums; }
.legs { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.leg { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.leg:first-child { border-top: none; }
.leg .who { flex: 1; min-width: 0; }
.leg b { font-variant-numeric: tabular-nums; }
.notice { background: var(--warn-bg); color: #5A1F05; border-radius: 16px; padding: 14px 16px; font-size: 14.5px; line-height: 1.45; }
.info { background: var(--blue-bg); color: #1A2A80; border-radius: 16px; padding: 14px 16px; font-size: 14.5px; line-height: 1.45; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; z-index: 50; max-width: 90vw; }
.hidden { display: none !important; }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(19, 32, 74, 0.25); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
.votebar { height: 8px; background: var(--track); border-radius: 999px; overflow: hidden; }
.votebar > div { height: 8px; background: var(--ink); }

/* Festgelegtes Ziel: der eine große Moment */
.chosen { background: var(--ink); color: #fff; border-radius: 26px; padding: 22px; }
.chosen h2 { font-size: 34px !important; font-weight: 900; letter-spacing: -1px; }
.chosen .xs:first-child { color: var(--now) !important; font-weight: 700; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px; }
.chosen .sub { color: #D6DCF2; font-variant-numeric: tabular-nums; }

/* Kleine Auswahl-Chips (Flughäfen, Regionen) und Vorschläge */
.chipbtn { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-weight: 650; font-size: 14px; cursor: pointer; font-family: inherit; }
.chipbtn[aria-pressed="false"] { background: #fff !important; color: var(--ink) !important; border-color: var(--line2) !important; }
.sugg { min-height: 46px; padding: 8px 14px; text-align: left; border-radius: 12px; border: 1.5px solid var(--line2); background: #fff; color: var(--ink); font-size: 15px; cursor: pointer; font-family: inherit; }
.sugg:hover { border-color: var(--ink); }

/* Feste Leiste unten */
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(238, 240, 244, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.bottombar .inner { max-width: 560px; margin: 0 auto; }

@media (max-width: 380px) { h1 { font-size: 31px; } .chosen h2 { font-size: 29px !important; } }
