@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/fraunces-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/worksans-variable.woff2') format('woff2');
}

:root{
  --navy:#233A4E;
  --navy-soft:#2E4A63;
  --orange:#E74011;
  --orange-bg:#FAECE7;
  --orange-text:#712B13;
  --amber-bg:#FAEEDA;
  --amber-text:#854F0B;
  --slate:#506C7C;
  --page-bg:#EFF2F1;
  --surface:#FFFFFF;
  --surface-alt:#F3F6F6;
  --border:#DFE5E5;
  --text-primary:#1B2733;
  --text-secondary:#5B6B76;
  --text-muted:#8B98A1;
  --orange-light:#E88A5C;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
/* Same surface color as #app/.bottom-nav, not --page-bg - on iOS, elastic
   overscroll or safe-area rendering can momentarily reveal a sliver of the
   html/body background past a position:fixed bottom:0 element; if that
   background differs from the nav's own, the sliver reads as a visible
   "dead strip" between the nav and the true screen edge. Matching colors
   makes any such sliver invisible regardless of the precise cause. */
html{ background:var(--surface); }
body{
  margin:0;
  background:var(--page-bg);
  font-family:'Work Sans', sans-serif;
  color:var(--text-primary);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{ font-family:'Fraunces', serif; margin:0; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }
.icon{ width:1em; height:1em; display:inline-block; fill:none; stroke:currentColor; vertical-align:-0.15em; }

/* ---------- app shell ---------- */
#app{ min-height:100%; display:flex; flex-direction:column; max-width:760px; margin:0 auto; background:var(--surface); position:relative; }
/* D3 (Matthias 02.11.): auf dem Telefon keine graue Flaeche unter kurzem Inhalt (Anlass: Leistung mit wenigen Zeilen) - die App
   fuellt immer die ganze Hoehe (dvh: sichtbare Hoehe auf iOS), und der Seitenhintergrund ist dort ohnehin die App-Flaeche.
   Ab 768px bleibt der graue Rand neben der zentrierten App. */
@media (max-width:767px){
  body{ background:var(--surface); }
  #app{ min-height:100vh; min-height:100dvh; }
}
@media (min-width:768px){ #app{ max-width:900px; box-shadow:0 0 0 1px var(--border); min-height:100vh; } }
/* D3 (Matthias 02.11.): Home-Bildschirm-App auf iOS 26/27 meldet sich um die Statusleiste zu kurz (innerHeight 894 statt 956),
   die festen Leisten sassen dadurch ueber dem Rand, darunter ein Streifen. Nur wenn das gemessen wird (js/ios-gap.js setzt
   html.ios-gap): Seite auf die volle Hoehe. Mehr braucht es nicht - am iPhone gemessen (Test 9): ist die Seite so hoch, setzt
   iOS alle festen Teile (Leisten, Wikipedia- und Voucher-Ansicht, Hinweis-Fenster) selbst an den echten Rand. Zusaetzlich
   verschieben schob sie unter den Rand (Test 8). Der Abstand fuer den Home-Balken (safe-area unten) bleibt in den Leisten und
   kommt im Hinweis-Fenster dazu, das dann bis an den Rand reicht. Ueberall sonst aendert sich nichts. */
html.ios-gap, html.ios-gap body{ height:100vh; height:100lvh; }
html.ios-gap #app{ min-height:100vh; min-height:100lvh; }
html.ios-gap .sheet{ padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px)); }

.app-header{ background:linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%); color:#fff; padding:calc(24px + env(safe-area-inset-top, 0px)) 20px 16px; }
.app-header.has-cover-image{ background-size:cover; background-position:center; transition:background-image 0.3s ease; }
.app-header .brand{ font-family:'Fraunces', serif; font-weight:600; font-size:18px; }
.app-header .meta{ font-size:14px; color:#B7C3CE; margin-top:3px; }
.app-header .header-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.header-actions{ display:flex; align-items:center; gap:8px; flex-shrink:0; }
.header-logout{ background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.25); border-radius:50%; width:32px; height:32px; display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0; }
.header-logout .icon{ font-size:15px; }
.header-messages-link{ background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.25); border-radius:50%; width:32px; height:32px; display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0; }
.header-messages-link .icon{ font-size:15px; }
.header-messages-link.unread .icon{ stroke-width:2.5; }
.header-info-link{ background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.25); border-radius:50%; width:32px; height:32px; display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0; }
.header-info-link .icon{ font-size:15px; }

/* Desktop/wide counterpart to .bottom-nav, embedded directly in the header
   - see headerHtml/tabNavHtml in layout.js. Hidden narrow, shown from the
   same breakpoint .split-view switches on, so exactly one of the two nav
   styles is always visible, never both, never neither. */
.tab-nav{ display:none; }
@media (min-width:768px){
  .tab-nav{ display:flex; gap:6px; margin-top:16px; }
}
.tab-nav-item{ display:flex; align-items:center; gap:6px; padding:8px 14px; border-radius:100px; font-size:14px; font-weight:600; color:#B7C3CE; background:rgba(255,255,255,0.08); }
.tab-nav-item .icon{ font-size:16px; }
.tab-nav-item.active{ background:#fff; color:var(--navy); }

.detail-header{ background:linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%); color:#fff; padding:calc(16px + env(safe-area-inset-top, 0px)) 18px 16px; }
.back-row{ display:flex; align-items:center; gap:6px; font-size:14px; color:#B7C3CE; background:none; border:none; padding:11px 0; margin:-11px 0; min-height:44px; cursor:pointer; }
.back-row .icon{ font-size:15px; }
.detail-title{ font-family:'Fraunces', serif; font-weight:600; font-size:18px; margin-top:10px; }
.detail-sub{ font-size:14px; color:#B7C3CE; margin-top:3px; }
.detail-segment-hint{ display:inline-flex; align-items:center; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:#fff; background:rgba(255,255,255,0.16); border-radius:100px; padding:3px 10px; margin-top:6px; }

.offline-banner{ background:var(--amber-bg); color:var(--amber-text); font-size:14px; padding:8px 18px; display:flex; align-items:center; gap:7px; }
.offline-banner .icon{ font-size:14px; }

/* Programmtag-Detailseite: Zurück/vorheriger-Tag/nächster-Tag. D3 (Matthias 02.11.): auf dem Telefon nur
   noch unten als feste Leiste ("Zurück ist immer unten"). */
.day-nav-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:6px 18px; border-bottom:1px solid var(--border); }
.day-nav-pair{ display:flex; align-items:center; gap:4px; }
.day-nav-link{ display:flex; align-items:center; gap:4px; font-size:14px; font-weight:600; color:var(--navy); padding:11px 6px; min-height:44px; white-space:nowrap; }
.day-nav-link .icon{ font-size:15px; }
.day-nav-link.disabled{ color:var(--text-muted); opacity:0.5; pointer-events:none; }

/* Bottom copy of the day-nav row becomes a true fixed footer on phone/tablet
   (same breakpoint as .bottom-nav) so it stays reachable while scrolling
   through a long day's content, not just after reaching the end. The
   surrounding scroll area gets matching bottom padding so its last line of
   content never sits underneath the fixed bar. */
.day-nav-row-fixed{ position:fixed; left:0; right:0; bottom:0; max-width:760px; margin:0 auto; background:var(--surface); border-bottom:none; border-top:1px solid var(--border); padding-bottom:env(safe-area-inset-bottom, 0px); z-index:5; }
@media (min-width:768px){ .day-nav-row-fixed{ display:none; } }
.day-detail-scroll-area{ padding-bottom:calc(58px + env(safe-area-inset-bottom, 0px)); }
@media (min-width:768px){ .day-detail-scroll-area{ padding-bottom:0; } }

.page-body{ flex:1; padding-bottom:calc(80px + env(safe-area-inset-bottom, 0px)); }
@media (min-width:768px){ .page-body{ padding-bottom:20px; } }

/* ---------- bottom nav / tablet tabs ---------- */
.bottom-nav{ position:fixed; left:0; right:0; bottom:0; max-width:760px; margin:0 auto; display:flex; border-top:1px solid var(--border); background:var(--surface); padding-bottom:env(safe-area-inset-bottom, 0px); }
@media (min-width:768px){ .bottom-nav{ display:none; } }
.nav-item{ flex:1; padding:10px 4px 12px; display:flex; flex-direction:column; align-items:center; gap:3px; font-size:14px; color:var(--text-muted); background:none; border:none; cursor:pointer; }
.nav-item .icon{ font-size:19px; }
.nav-item.active{ color:var(--orange); }

/* ---------- services list ---------- */
.highlight-card{ display:block; border:1.5px dashed var(--orange); border-radius:14px; padding:14px 16px; margin:16px; cursor:pointer; }
.highlight-card .label{ font-size:14px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:var(--orange-text); }
.highlight-card .title{ font-size:16px; font-weight:600; margin-top:6px; }
.highlight-card .sub{ font-size:14px; color:var(--text-secondary); margin-top:3px; }

.list-label{ font-size:14px; color:var(--text-muted); padding:8px 16px 6px; }
.service-list{ display:flex; flex-direction:column; gap:8px; padding:0 16px 16px; }

/* ---------- messages.js (customer inbox) ---------- */
.message-flash{ animation:message-flash-anim 2.4s ease; }
@keyframes message-flash-anim{
  0%{ background:var(--amber-bg); }
  100%{ background:transparent; }
}
.tip-recommend-tag{ display:inline-block; background:var(--orange-bg); color:var(--orange-text); font-size:14px; font-weight:700; letter-spacing:0.03em; text-transform:uppercase; border-radius:100px; padding:3px 9px; }
.service-card{ display:flex; align-items:center; gap:12px; background:var(--surface-alt); border-radius:13px; padding:12px 13px; cursor:pointer; border:none; width:100%; text-align:left; }
.tip-pills-row{ display:flex; flex-wrap:wrap; gap:9px; padding:4px 16px 14px; }
.tip-pill{ display:inline-flex; align-items:center; background:var(--surface-alt); border:1.5px solid var(--border); border-radius:100px; padding:12px 18px; font-size:14.5px; font-weight:600; color:var(--text-primary); cursor:pointer; font-family:inherit; min-height:44px; }
.tip-pill.active{ background:var(--navy); border-color:var(--navy); color:#fff; }
.service-icon{ width:36px; height:36px; border-radius:50%; background:#EAF0F3; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.service-icon .icon{ font-size:17px; color:var(--navy); }
.service-text{ flex:1; min-width:0; }
.service-text .t{ font-size:16px; font-weight:600; }
.service-text .s{ font-size:16px; color:var(--text-secondary); margin-top:2px; }
.chev{ font-size:16px; color:var(--text-muted); flex-shrink:0; }
.empty-state{ padding:40px 24px; text-align:center; color:var(--text-secondary); font-size:15px; line-height:1.6; }

/* ---------- voucher / detail ---------- */
.voucher-body{ padding:18px; }
/* D3 (Matthias 02.11.): dieselbe Leiste auf allen Unterseiten (layout.js backFooterHtml) - Leistung, Wikipedia, Info, Nachrichten.
   Leistung detail's back button lives in a fixed footer (same convention as
   .day-nav-row-fixed/.bottom-nav) rather than the dark header, where it read
   as an odd, easy-to-miss top-left link rather than the page's primary way
   back. .back-row's light gray is tuned for that dark header background, so
   it's overridden here for contrast against the footer's light surface. */
.voucher-body-with-footer{ padding-bottom:calc(70px + env(safe-area-inset-bottom, 0px)); }
.detail-back-footer{ position:fixed; left:0; right:0; bottom:0; max-width:760px; margin:0 auto; background:var(--surface); border-top:1px solid var(--border); padding:6px 18px calc(6px + env(safe-area-inset-bottom, 0px)); z-index:5; }
.detail-back-footer .back-row{ color:var(--navy); font-weight:600; }
.voucher-row{ display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px solid var(--border); font-size:15px; }
.voucher-row:last-of-type{ border-bottom:none; }
.voucher-row .k{ color:var(--text-secondary); }
.voucher-row .v{ font-weight:600; text-align:right; }
/* Mandatory field (check-in/-out) that extraction never found a value for -
   surfaced as a visible gap instead of silently omitted like an optional
   field would be, so staff/traveler notice and can chase it down. */
.voucher-row-missing .v{ color:var(--orange-text); font-weight:600; }
.voucher-row .v a{ color:var(--navy); text-decoration:none; }
.voucher-link-hint{ display:block; font-weight:400; font-size:12.5px; color:var(--text-muted); margin-top:2px; }
.voucher-section{ margin-top:16px; }
.voucher-status{ display:flex; align-items:center; gap:8px; font-size:14px; color:var(--text-secondary); background:var(--surface-alt); border-radius:11px; padding:12px 14px; }
.voucher-status .icon{ font-size:16px; color:var(--slate); }
.btn{ display:flex; align-items:center; justify-content:center; gap:7px; border-radius:11px; padding:12px; font-size:15px; font-weight:600; border:none; cursor:pointer; width:100%; }
.btn-primary{ background:var(--navy); color:#fff; }
.btn-secondary{ background:var(--surface-alt); color:var(--navy); }
.btn .icon{ font-size:16px; }

/* Deploy 4: Voucher-Ansicht in der App (voucher-viewer.js) - Leiste unter der Statusleiste (safe-area), Seiten untereinander */
.vv-overlay{ position:fixed; inset:0; z-index:60; display:flex; flex-direction:column; background:#E9EEF0; }
.vv-bar{ display:flex; justify-content:space-between; gap:10px; padding:calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; background:var(--navy); }
.vv-btn{ display:inline-flex; align-items:center; gap:7px; border:none; border-radius:10px; padding:10px 14px; font-size:15px; font-weight:600; background:rgba(255,255,255,0.14); color:#fff; cursor:pointer; }
.vv-btn:disabled{ opacity:0.45; cursor:default; }
.vv-btn .icon{ font-size:17px; }
.vv-body{ flex:1; overflow:auto; -webkit-overflow-scrolling:touch; padding:12px 10px calc(16px + env(safe-area-inset-bottom, 0px)); }
.vv-page{ display:block; width:100%; max-width:900px; height:auto; margin:0 auto 12px; background:#fff; box-shadow:0 1px 4px rgba(20,30,40,0.18); }
.vv-zoomed .vv-page{ width:200%; max-width:none; }
.vv-empty, .vv-note{ display:flex; align-items:center; gap:8px; max-width:560px; margin:24px auto; padding:14px; border-radius:11px; background:#fff; color:var(--text-secondary); font-size:15px; }
.vv-note{ margin:4px auto 12px; }
/* H1: "Fuer den Taxifahrer" - Karte an der Hotel-Leistung, Vollbild zum Vorzeigen (Schliessen als feste Leiste unten) */
.taxi-card{ display:block; width:100%; text-align:left; margin:10px 0; padding:12px 14px; border:1.5px solid var(--border); border-radius:12px; background:#F7F9F9; color:var(--navy); font:inherit; cursor:pointer; }
.taxi-card-head{ display:flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:var(--text-secondary); margin-bottom:6px; }
.taxi-card-name{ display:block; font-size:20px; font-weight:700; line-height:1.35; }
.taxi-card-address{ display:block; font-size:17px; line-height:1.45; margin-top:4px; }
.taxi-card-hint{ display:block; font-size:13px; color:var(--text-secondary); margin-top:8px; }
.taxi-overlay{ position:fixed; top:0; left:0; right:0; bottom:0; z-index:60; display:flex; flex-direction:column; background:#fff; color:#111; }
.taxi-overlay-body{ flex:1; overflow:auto; -webkit-overflow-scrolling:touch; padding:calc(24px + env(safe-area-inset-top, 0px)) 20px 24px; display:flex; flex-direction:column; justify-content:center; gap:18px; }
.taxi-overlay-line{ font-size:22px; line-height:1.4; color:#333; }
.taxi-overlay-name{ font-size:34px; font-weight:700; line-height:1.3; word-break:break-word; }
.taxi-overlay-address{ font-size:28px; line-height:1.45; word-break:break-word; }
.taxi-overlay-footer{ background:var(--surface); border-top:1px solid var(--border); padding:6px 18px calc(6px + env(safe-area-inset-bottom, 0px)); }
.taxi-overlay-footer .back-row{ color:var(--navy); font-weight:600; }
.btn:disabled{ opacity:0.55; cursor:default; }

/* ---------- timeline (programm) ---------- */
.timeline{ padding:16px 18px 18px; }
.t-row{ display:flex; gap:11px; cursor:pointer; }
.t-rail{ display:flex; flex-direction:column; align-items:center; flex-shrink:0; width:9px; }
.t-dot{ width:9px; height:9px; border-radius:50%; background:var(--border); }
.t-dot.now{ background:var(--orange); }
.t-line{ width:1px; flex:1; background:var(--border); margin-top:3px; }
.t-body{ padding-bottom:20px; flex:1; min-width:0; }
.t-date{ font-size:14px; font-weight:600; color:var(--text-muted); letter-spacing:0.04em; text-transform:uppercase; }
.t-date.now{ color:var(--orange-text); }
.t-title{ font-size:16px; font-weight:600; margin-top:4px; }
.t-desc{ font-size:16px; color:var(--text-secondary); line-height:1.6; margin-top:5px; }

.day-strip{ padding:16px 18px 6px; }
.day-badge{ display:inline-flex; align-items:baseline; gap:7px; }
.day-badge .num{ font-family:'Fraunces', serif; font-size:30px; font-weight:600; color:var(--navy); }
.day-badge .rest{ font-size:14px; color:var(--text-secondary); }
.day-title{ font-size:16px; font-weight:600; margin-top:4px; }

.prose{ padding:14px 18px 18px; font-size:16px; line-height:1.85; color:var(--text-secondary); }
.wiki-pill{ display:inline; background:var(--orange-bg); color:var(--text-primary); border-radius:5px; padding:1px 4px; font-weight:600; cursor:pointer; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.wiki-pill .wsup{ font-size:9px; font-weight:700; color:var(--orange-text); vertical-align:super; line-height:0; margin-left:1px; }

/* A paragraph mentioning a service (check-in, transfer, flight, rental car,
   ...) gets its own highlighted block during import parsing, uniformly
   across types (see itineraryImport.js). checkin-block is kept as an alias
   purely so bookings imported before this feature (whose stored
   narrative_text still contains the old, hotel-only class name) keep
   rendering correctly without a re-import - new content always uses
   service-link-block. Once a service link was actually resolved (auto or
   manual), programm.js's renderDayLinks turns the whole block into an <a>
   itself - reset link defaults so it still just looks like this block. */
.checkin-block, .service-link-block{ display:block; background:var(--orange-bg); border-radius:10px; padding:12px 14px; margin:10px 0; font-size:17px; line-height:1.7; color:inherit; text-decoration:none; }

/* day_links: 'route'/'other' are real external links (Maps or otherwise),
   not an in-app panel like the Wikipedia pill - the "leaves the app"
   announcement lives directly in the chip's own visible text. 'service'
   links stay inside the app (internal router navigation to the matching
   Leistung), so neither a new tab nor that announcement text applies. */
.day-link-chip{ display:inline-flex; align-items:center; gap:5px; background:#E8EDF3; color:var(--navy); border-radius:8px; padding:5px 10px; font-size:14px; font-weight:600; text-decoration:none; margin:3px 2px; }
.day-link-chip-icon{ width:13px; height:13px; flex-shrink:0; }

.article-overlay{ position:fixed; inset:0; background:var(--surface); z-index:40; overflow-y:auto; max-width:760px; margin:0 auto; }
@media (min-width:768px){ .article-overlay{ display:none; } }
.article-body{ padding:18px 18px calc(70px + env(safe-area-inset-bottom, 0px)); }
.article-text{ font-size:16px; line-height:1.75; margin:0 0 14px; }
.article-title-row{ display:flex; align-items:center; gap:9px; }
.wmark-lg{ width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.3); color:#fff; font-size:13px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; flex-shrink:0; }
.article-title{ font-family:'Fraunces', serif; font-size:19px; font-weight:600; }
.article-sub{ font-size:14px; color:#B7C3CE; }
.attribution{ text-align:center; font-size:14px; color:var(--text-muted); margin-top:12px; }
.article-loading{ padding:32px 0; text-align:center; color:var(--text-muted); font-size:14px; }
.external-warning-link{ display:block; margin-top:16px; padding:13px 14px; background:var(--surface-alt); border-radius:11px; font-size:14px; color:var(--navy); font-weight:600; line-height:1.55; text-decoration:underline; text-decoration-color:var(--border); text-underline-offset:2px; }

/* ---------- tablet split views ---------- */
.split-view{ display:none; }
@media (min-width:768px){
  .stack-view{ display:none; }
  .split-view{ display:flex; height:calc(100vh - 0px); }
  .split-list{ width:260px; border-right:1px solid var(--border); overflow-y:auto; flex-shrink:0; }
  .split-main{ flex:1; overflow-y:auto; position:relative; }
  .split-panel{ width:340px; border-left:1px solid var(--border); background:var(--surface-alt); display:flex; flex-direction:column; flex-shrink:0; }
  .split-inline{ display:flex; height:100%; }
}
.pane-group{ font-size:14px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.05em; padding:14px 16px 6px; }
.pane-item{ padding:9px 16px; font-size:14px; color:var(--text-primary); cursor:pointer; border:none; background:none; width:100%; text-align:left; display:block; }
.pane-item.active{ background:var(--orange-bg); border-left:2.5px solid var(--orange); color:var(--orange-text); font-weight:600; padding-left:13.5px; }
.panel-top{ background:linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%); color:#fff; padding:calc(14px + env(safe-area-inset-top, 0px)) 16px 14px; display:flex; align-items:center; justify-content:space-between; }
.panel-close{ width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; border:none; color:#fff; cursor:pointer; flex-shrink:0; }
.panel-body{ padding:16px 18px; overflow-y:auto; }

/* ---------- login ---------- */
.login-bg{ background:radial-gradient(120% 90% at 50% -10%, var(--navy-soft) 0%, var(--navy) 55%, #182634 100%); color:#fff; min-height:100vh; display:flex; flex-direction:column; padding:calc(56px + env(safe-area-inset-top, 0px)) 24px 28px; }
.brand-mark{ text-align:center; margin-bottom:30px; }
.brand-mark .name{ font-family:'Fraunces', serif; font-size:22px; font-weight:600; }
.brand-mark .tagline{ font-size:14px; color:#B7C3CE; letter-spacing:0.04em; text-transform:uppercase; margin-top:5px; }
.brand-logo{ display:block; width:74px; height:auto; margin:28px auto 0; }
.brand-domain{ font-family:'Fraunces', serif; font-size:22px; font-weight:600; margin-top:10px; }
.login-card{ background:#fff; border-radius:18px; padding:26px 22px; color:var(--text-primary); margin-top:auto; max-width:360px; width:100%; align-self:center; }
.copyright-line{ font-size:11px; color:#506C7C; text-align:center; margin-top:22px; }
.copyright-line a{ text-decoration:underline; }
.login-title{ font-family:'Fraunces', serif; font-size:19px; font-weight:600; color:var(--navy); }
.login-sub{ font-size:14px; color:var(--text-secondary); margin-top:6px; line-height:1.5; }
.field-label{ font-size:14px; font-weight:600; color:var(--text-secondary); text-transform:uppercase; letter-spacing:0.04em; margin-top:18px; display:block; }
.field-input{ margin-top:7px; border:1.5px solid var(--border); border-radius:11px; padding:12px 13px; font-size:16px; color:var(--text-primary); background:var(--surface-alt); width:100%; font-family:inherit; }
.field-input:focus{ outline:none; border-color:var(--navy); }
.otp-row{ display:flex; gap:8px; margin-top:9px; }
.otp-box{ width:15%; aspect-ratio:1/1.2; border:1.5px solid var(--border); border-radius:9px; background:var(--surface-alt); text-align:center; font-size:20px; font-weight:600; color:var(--navy); font-family:inherit; }
.otp-box:focus{ outline:none; border-color:var(--orange); }
.btn-login{ margin-top:22px; background:var(--navy); color:#fff; text-align:center; border-radius:11px; padding:14px; font-size:16px; font-weight:600; border:none; width:100%; cursor:pointer; }
.btn-login:disabled{ opacity:0.5; cursor:default; }
.helper-text{ text-align:center; font-size:14px; color:var(--text-muted); margin-top:14px; line-height:1.5; }
.resend-row{ text-align:center; font-size:14px; color:var(--text-muted); margin-top:16px; }
.resend-row button{ background:none; border:none; color:var(--navy); font-weight:600; cursor:pointer; padding:0; font-size:inherit; font-family:inherit; }
.resend-row button:disabled{ color:var(--text-muted); cursor:default; }
.form-error{ margin-top:14px; background:var(--orange-bg); color:var(--orange-text); border-radius:10px; padding:11px 13px; font-size:14px; line-height:1.5; }
.back-to-step1{ text-align:center; margin-top:12px; font-size:14px; color:var(--navy); font-weight:600; cursor:pointer; background:none; border:none; }

/* ---------- home screen sheet ---------- */
.sheet-backdrop{ position:fixed; inset:0; background:rgba(20,30,40,0.45); display:flex; align-items:flex-end; justify-content:center; z-index:50; }
@media (min-width:768px){ .sheet-backdrop{ align-items:center; } }
.sheet{ background:#fff; border-radius:20px 20px 0 0; padding:18px 22px 24px; box-shadow:0 -8px 24px rgba(20,30,40,0.15); max-width:400px; width:100%; }
@media (min-width:768px){ .sheet{ border-radius:18px; } }
.sheet-handle{ width:36px; height:4px; background:var(--border); border-radius:100px; margin:0 auto 16px; }
@media (min-width:768px){ .sheet-handle{ display:none; } }
.sheet-title{ font-family:'Fraunces', serif; font-size:17px; font-weight:600; color:var(--navy); text-align:center; }
.sheet-sub{ font-size:14px; color:var(--text-secondary); text-align:center; margin-top:7px; line-height:1.5; }
.step-guide{ margin-top:18px; display:flex; flex-direction:column; gap:13px; }
.step-item{ display:flex; align-items:center; gap:11px; }
.step-num{ width:26px; height:26px; border-radius:50%; background:var(--orange-bg); color:var(--orange-text); font-size:14px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.step-text{ font-size:15px; color:var(--text-primary); line-height:1.4; }
.step-icon{ flex-shrink:0; font-size:20px; color:var(--navy); }
.btn-sheet{ margin-top:20px; background:var(--navy); color:#fff; text-align:center; border-radius:11px; padding:13px; font-size:15px; font-weight:600; border:none; width:100%; cursor:pointer; }
.link-later{ text-align:center; font-size:14px; color:var(--text-muted); margin-top:12px; cursor:pointer; background:none; border:none; width:100%; }

.loading-state{ padding:60px 24px; text-align:center; color:var(--text-muted); font-size:15px; }

/* "Ihr morgiger Tag auf einen Blick" card - see tomorrow-preview.js */
.tomorrow-preview{ display:flex; flex-direction:column; gap:16px; margin:16px 16px 4px; }
.tomorrow-hero{ background:linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%); border-radius:20px; padding:22px 22px 20px; display:flex; flex-direction:column; gap:16px; }
.tomorrow-heading-block{ display:flex; flex-direction:column; gap:6px; }
.tomorrow-heading{ font-family:'Fraunces', serif; font-weight:600; font-size:26px; line-height:1.15; color:#fff; }
.tomorrow-date{ font-size:13px; letter-spacing:0.02em; color:var(--orange-light); }
.tomorrow-weather{ display:flex; align-items:center; gap:14px; padding:12px 14px; background:rgba(255,255,255,0.08); border-radius:14px; }
.tomorrow-weather .icon{ font-size:32px; color:#F4F1EA; flex-shrink:0; }
.tomorrow-weather-temps{ display:flex; align-items:baseline; gap:6px; flex-shrink:0; }
.tomorrow-weather-temp-max{ font-family:'Fraunces', serif; font-weight:600; font-size:28px; color:#fff; line-height:1; }
.tomorrow-weather-temp-min{ font-size:14px; color:rgba(255,255,255,0.6); }
.tomorrow-weather-divider{ width:1px; align-self:stretch; background:rgba(255,255,255,0.18); }
.tomorrow-weather-desc{ font-size:13px; color:rgba(255,255,255,0.85); line-height:1.3; }
.tomorrow-summary{ background:var(--surface); border-radius:20px; padding:20px 22px; display:flex; flex-direction:column; gap:10px; }
.tomorrow-summary-headline{ font-weight:600; font-size:16px; line-height:1.45; color:var(--navy); white-space:pre-line; }
.tomorrow-summary-rest{ font-size:14px; line-height:1.55; color:var(--text-secondary); white-space:pre-line; } /* 144b: Absatz = Zeile */
.tomorrow-summary-link{ margin-top:4px; align-self:flex-start; font-weight:600; font-size:13px; color:var(--orange); text-decoration:none; }
@media (min-width:600px){
  .tomorrow-heading{ font-size:32px; }
  .tomorrow-hero{ padding:32px 34px 30px; border-radius:24px; }
  .tomorrow-summary{ padding:26px 30px; border-radius:24px; }
}

/* ---------- info.js ("Info & Rechtliches") ---------- */
.info-body{ padding:22px 16px 16px; display:flex; flex-direction:column; gap:10px; }
/* Content column caps at ~560px on iPad/wider screens instead of stretching
   full-width, matching the phone layout's proportions rather than just
   spreading the same rows thin across a much wider viewport. */
@media (min-width:768px){ .info-body{ max-width:560px; margin:0 auto; padding-top:36px; } }
.info-section-label{ padding:0 4px; font-size:11px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--text-secondary); }
.info-group{ background:var(--surface); border:1px solid var(--border); border-radius:14px; display:flex; flex-direction:column; overflow:hidden; }
.info-row{ display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--border); }
.info-group > *:last-child{ border-bottom:none; }
.info-contact-row{ padding:12px 12px 12px 16px; }
.info-contact-text{ flex-grow:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.info-contact-name{ font-size:15px; font-weight:600; }
.info-contact-number{ font-size:13px; color:var(--text-secondary); }
.info-icon-btn{ width:44px; height:44px; min-width:44px; border-radius:22px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-icon-btn .icon{ font-size:20px; }
.info-icon-btn-solid{ background:var(--orange); color:#fff; }
.info-icon-btn-outline{ background:none; border:1.5px solid var(--navy); box-sizing:border-box; color:var(--navy); }
.info-legal-row{ justify-content:space-between; min-height:48px; padding:0 16px; font-size:15px; font-weight:500; color:var(--text-primary); }
.info-legal-row span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.info-legal-row .icon{ font-size:16px; color:var(--text-muted); flex-shrink:0; }
.info-legal-row.disabled{ color:var(--text-muted); }
.info-note-row{ padding:12px 16px; font-size:15px; line-height:1.5; color:var(--text-primary); }
.info-offline-hint{ padding:6px 4px 0; font-size:12px; color:var(--text-muted); }
.info-disclaimer{ padding:10px 4px 0; display:flex; flex-direction:column; gap:4px; }
.info-disclaimer-title{ font-size:12px; font-weight:600; color:var(--text-secondary); }
.info-disclaimer-text{ font-size:12px; line-height:1.5; color:var(--text-secondary); white-space:pre-wrap; }
.info-disclaimer-toggle{ align-self:flex-start; font-size:12px; font-weight:600; color:var(--orange); background:none; border:none; padding:0; cursor:pointer; font-family:inherit; }
