/* Journey layout (draft 18.11.): the landscape is fixed behind the whole page, the fog clears while you scroll
   (buehne.js, data-reise). Content travels over it in glass panels. Colours and type only from tokens.css. */
.welt { position: fixed; inset: 0; height: 100lvh; min-height: 0; max-height: none; z-index: 0; }
.welt::before, .welt::after { display: none; }
.ueber { position: relative; z-index: 2; }
.ueber > .nav { position: sticky; top: 14px; z-index: 4; margin-top: 14px; }
.ueber .hero { min-height: calc(100svh - 80px); padding-bottom: 72px; }
.ueber .hero::before { content: ""; position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none; background: radial-gradient(62% 48% at 50% 38%, var(--veil), var(--veil-0)); }
.weiter { margin-top: 18px; font-size: 14px; color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.weiter:hover { background: var(--glass-strong); }

.tafel { width: min(920px, calc(100% - 28px)); margin: 0 auto 46vh; padding: 46px; border-radius: var(--r-l); background: var(--glass-strong); border: 1px solid var(--rim);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); box-shadow: 0 40px 90px -50px var(--shadow); scroll-margin-top: 96px; }
.tafel h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 12px 0 10px; max-width: 20ch; }
.tafel > .sub { color: var(--ink-soft); margin-bottom: 22px; }
.tafel .abschnitt { padding: 0; max-width: none; }

/* Setup check */
.punkt { display: grid; grid-template-columns: 34px 1fr 26px; gap: 14px; align-items: start; padding: 16px 6px; border-top: 1px solid var(--rim); cursor: pointer; border-radius: 6px; }
.punkt:hover { background: var(--chip); }
.punkt .nr { font-size: 12px; letter-spacing: 0.1em; color: var(--accent); padding-top: 5px; }
.punkt b { display: block; font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.punkt span.t { color: var(--ink-soft); font-size: 15px; }
.punkt input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--ink); cursor: pointer; }
.punkt:has(input:checked) b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ergebnis { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; padding: 16px 16px 16px 20px; border-radius: var(--r-m); background: var(--ink); color: var(--ink-invers); }
.ergebnis p { font-size: 17px; letter-spacing: -0.01em; }
.ergebnis .btn { background: var(--ink-invers); color: var(--ink); }

/* The way */
.weg { list-style: none; padding: 0; margin: 26px 0 0; position: relative; }
.weg::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 34px; width: 1px; background: var(--ink); opacity: .25; }
.weg li { position: relative; padding: 0 0 30px 56px; }
.weg li::before { content: ""; position: absolute; left: 9px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--ground); border: 1px solid var(--ink); }
.weg li:last-child::before { background: var(--ink); }
.weg .ober { display: block; margin-bottom: 4px; }
.weg b { display: block; font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.weg p { color: var(--ink-soft); max-width: 58ch; }
.tafel .rolle { margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--rim); }

/* Arrival */
.ziel { min-height: 92svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 22px; }
.ziel h2 { font-size: clamp(40px, 7vw, 96px); max-width: 12ch; text-shadow: 0 0 40px var(--veil), 0 0 12px var(--veil); }
.ueber .fuss { background: var(--ground); }

/* Sticky next free time */
.leiste { position: fixed; left: 50%; bottom: 16px; z-index: 5; transform: translate(-50%, 160%); transition: transform .4s cubic-bezier(.2, .7, .2, 1); display: flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 20px; border-radius: 999px; font-size: 14px; white-space: nowrap; background: var(--glass-strong); box-shadow: 0 18px 50px -24px var(--shadow); }
.leiste b { font-weight: 500; }
html.unterwegs .leiste.da { transform: translate(-50%, 0); }
.leiste .btn { border-radius: 999px; min-height: 40px; }

@media (max-width: 820px) { .tafel { padding: 26px 20px; margin-bottom: 38vh; } .ergebnis .btn { width: 100%; } }
@media (max-width: 520px) { .leiste { left: 12px; right: 12px; transform: translateY(160%); justify-content: space-between; } html.unterwegs .leiste.da { transform: none; } .leiste span i { display: none; } }
@media (prefers-reduced-motion: reduce) { .leiste { transition: none; } }

/* Hero card as the entry: tap points → sentence → times or email only */
.tm-chips { margin-bottom: 10px; }
.tm-chips button { font-size: 13.5px; padding: 9px 13px; min-height: 38px; background: var(--glass-strong); transition: transform .12s ease; }
.tm-chips button:active { transform: scale(.97); }
.tm-satz { font-size: 15px; margin: 4px 0 12px; min-height: 1.6em; }
.tm-satz b { font-weight: 500; }
.tm-mail { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rim); }
.tm-mail label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.tm-mail div { display: flex; gap: 8px; }
.tm-mail input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--rim); border-radius: var(--r-s); background: var(--ground); color: var(--ink); font: 15px var(--sans); }
.tm-mail .btn { background: var(--glass-strong); color: var(--ink); border: 1px solid var(--ink); }
.tm-mail .danke { font-size: 15px; }
.termin.gebucht .tm-mail, .termin.gebucht .sq { display: none; }
.punkt { cursor: default; grid-template-columns: 34px 1fr; }
.punkt:hover { background: none; }
.ueber .hero h1 { font-size: clamp(32px, 4.6vw, 60px); }
@media (max-width: 520px) { .tm-mail div { flex-direction: column; } }
.ueber .hero { padding-top: 28px; padding-bottom: 40px; }
.ueber .hero h1 { font-size: clamp(30px, 4vw, 52px); margin-top: 18px; max-width: 22ch; }
.ueber .hero .lede { margin-top: 12px; }
.ueber .hero .termin { margin-top: 20px; }

/* Sequence in the hero card */
.sq .tm-kopf { align-items: center; margin-bottom: 14px; }
.sq .tm-kopf b { font-size: 19px; }
.sq-zahl { display: inline-flex; gap: 5px; }
.sq-zahl i { width: 18px; height: 3px; border-radius: 2px; background: var(--rim); }
.sq-zahl i.an { background: var(--ink); }
.sq-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sq-wahl button { text-align: left; border-radius: var(--r-s); padding: 13px 14px; min-height: 52px; font-size: 15px; animation: auftauchen .35s cubic-bezier(.2, .7, .2, 1) both; }
.sq-wahl button:nth-child(2) { animation-delay: .04s; } .sq-wahl button:nth-child(3) { animation-delay: .08s; } .sq-wahl button:nth-child(4) { animation-delay: .12s; }
.sq-wahl button:hover { background: var(--ground); transform: translateY(-1px); }
.sq-fuss { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; }
.sq-fuss .textlink { color: var(--ink-soft); }
.sq-lage { font-size: 18px; letter-spacing: -0.01em; line-height: 1.35; margin-bottom: 6px; }
.sq-lage i { font-style: normal; color: var(--ink-soft); }
.termin [hidden] { display: none; }
@media (max-width: 520px) { .sq-wahl { grid-template-columns: 1fr; } .sq-wahl button { min-height: 46px; padding: 10px 12px; } }
@media (prefers-reduced-motion: reduce) { .sq-wahl button { animation: none; } }

/* Sequence question: bold, on its own line above the options (Philipp, 18.11.) */
.sq .tm-kopf:has(.sq-zahl) { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
.sq .tm-kopf b { font-weight: 600; font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.02em; line-height: 1.15; }

/* Result line under the card, home tiles */
.ueber .hero .mikro { margin-top: 14px; font-size: 12.5px; background: var(--glass-strong); }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(820px, 100%); margin-top: 24px; text-align: left; }
.kachel { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; border-radius: var(--r-m); background: var(--glass-strong); border: 1px solid var(--rim); text-decoration: none; color: var(--ink);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: transform .15s ease, background .15s ease; }
.kachel:hover { transform: translateY(-2px); background: var(--ground); }
.kachel .ober { color: var(--accent); }
.kachel b { font-weight: 500; font-size: 19px; letter-spacing: -0.01em; line-height: 1.25; flex: 1; }
.kachel span.geh { font-size: 14px; font-weight: 500; }
@media (max-width: 640px) { .kacheln { grid-template-columns: 1fr; } .kachel b { font-size: 17px; } }

.nav .btn .kurz { display: none; }
@media (max-width: 640px) { .nav .btn .voll { display: none; } .nav .btn .kurz { display: inline; } }

.sq-lage { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.sq-bank { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 8px; }
.sq-bank .ober { display: block; color: var(--accent); margin-bottom: 4px; }
.tm-satz { font-size: 14px; }
