:root {
  --bg: #eef6ff;
  --bg-2: #f8fbff;
  --surface: rgba(255, 255, 255, .78);
  --surface-solid: #ffffff;
  --surface-2: #f1f6fb;
  --border: rgba(15, 40, 70, .08);
  --ink: #0f2438;
  --muted: #5d7085;
  --faint: #8a9bb0;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, .12);
  --good: #16a34a;
  --good-ink: #0f7a37;
  --good-soft: rgba(22, 163, 74, .12);
  --bad: #e11d48;
  --bad-ink: #be123c;
  --bad-soft: rgba(225, 29, 72, .11);
  --sun: #fbbf24;
  --shadow: 0 1px 2px rgba(15, 40, 70, .04), 0 18px 50px rgba(15, 40, 70, .09);
  --radius: 28px;
  --tire: #1b2733;
  --rim: #dce6ee;
  --metal: #3b4f60;
  --frame-a: #3b82f6;
  --frame-b: #1d4ed8;
  --sky-top: #bfe3ff;
  --sky-bottom: #f4faff;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1622;
    --bg-2: #0f1d2c;
    --surface: rgba(20, 34, 50, .78);
    --surface-solid: #142232;
    --surface-2: #1a2b3e;
    --border: rgba(180, 210, 240, .09);
    --ink: #eaf2fb;
    --muted: #9fb2c6;
    --faint: #6f8399;
    --accent: #60a5fa;
    --accent-soft: rgba(96, 165, 250, .16);
    --good: #22c55e;
    --good-ink: #4ade80;
    --good-soft: rgba(34, 197, 94, .15);
    --bad: #fb7185;
    --bad-ink: #fda4af;
    --bad-soft: rgba(251, 113, 133, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 18px 50px rgba(0, 0, 0, .35);
    --tire: #05090d;
    --rim: #6c8193;
    --metal: #9fb3c4;
    --sky-top: #0f2540;
    --sky-bottom: #0b1622;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }

/* ---------- Himmel ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 62%);
  transition: background .8s ease;
}
.sun {
  position: absolute; top: -90px; right: 8%; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 102, .95) 0 34%, rgba(255, 214, 102, .25) 35%, transparent 70%);
  transition: opacity .8s ease, transform .8s ease;
}
.cloud {
  position: absolute; height: 54px; border-radius: 999px; background: rgba(255, 255, 255, .7);
  filter: blur(.5px); opacity: .7; transition: opacity .8s ease, background .8s ease;
}
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud.c1 { width: 200px; top: 14%; left: -220px; animation: drift 70s linear infinite; }
.cloud.c1::before { width: 90px; height: 90px; top: -44px; left: 34px; }
.cloud.c1::after { width: 70px; height: 70px; top: -30px; left: 104px; }
.cloud.c2 { width: 150px; height: 42px; top: 34%; left: -170px; opacity: .5; animation: drift 95s linear -40s infinite; }
.cloud.c2::before { width: 64px; height: 64px; top: -30px; left: 26px; }
.cloud.c2::after { width: 50px; height: 50px; top: -20px; left: 76px; }
@keyframes drift { to { transform: translateX(calc(100vw + 460px)); } }

.drops { position: absolute; inset: -20% 0 0; opacity: 0; transition: opacity .8s ease;
  background-image: linear-gradient(to bottom, transparent 0 60%, rgba(90, 140, 200, .45) 60% 100%);
  background-size: 2px 38px; background-repeat: repeat;
  mask-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 46px);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 46px);
  animation: rain .7s linear infinite; }
@keyframes rain { to { transform: translateY(38px); } }

.sky[data-weather="cloudy"] .sun { opacity: .35; }
.sky[data-weather="cloudy"] .cloud { opacity: .95; }
.sky[data-weather="rain"], .sky[data-weather="storm"] { --sky-top: #9fb6cc; }
.sky[data-weather="rain"] .sun, .sky[data-weather="storm"] .sun, .sky[data-weather="snow"] .sun, .sky[data-weather="fog"] .sun { opacity: 0; }
.sky[data-weather="rain"] .cloud, .sky[data-weather="storm"] .cloud { background: rgba(200, 212, 226, .85); opacity: 1; }
.sky[data-weather="rain"] .drops, .sky[data-weather="storm"] .drops { opacity: 1; }
.sky[data-weather="snow"] { --sky-top: #dbe8f3; }
.sky[data-weather="snow"] .drops { opacity: .9; background-image: radial-gradient(circle, rgba(255,255,255,.95) 0 2.5px, transparent 3px); background-size: 46px 46px; mask-image: none; -webkit-mask-image: none; animation-duration: 3s; }
.sky[data-weather="fog"] { --sky-top: #d4dde6; }
.sky[data-weather="fog"] .cloud { opacity: 1; filter: blur(8px); }
.sky[data-weather="night"] { --sky-top: #1b2a4a; --sky-bottom: var(--bg); }
.sky[data-weather="night"] .sun { opacity: .9; background: radial-gradient(circle, rgba(226, 232, 255, .9) 0 22%, rgba(180, 190, 255, .12) 23%, transparent 60%); }
.sky[data-weather="night"] .cloud { opacity: .15; }
@media (prefers-color-scheme: dark) {
  .sun { opacity: .28; }
  .cloud { background: rgba(160, 190, 220, .14); }
  .sky[data-weather="rain"], .sky[data-weather="storm"] { --sky-top: #1a2a3c; }
  .sky[data-weather="snow"], .sky[data-weather="fog"] { --sky-top: #1e2c3b; }
  .sky[data-weather="rain"] .cloud, .sky[data-weather="storm"] .cloud { background: rgba(120, 140, 165, .25); }
}

/* ---------- Layout ---------- */
.app {
  width: min(1120px, 100%); margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px;
}
.panel, .hero { min-width: 0; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 15px;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8); box-shadow: 0 10px 24px rgba(37, 99, 235, .3);
}
.brand-mark svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { margin: 0; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.brand h1 { margin: 0; font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 900; letter-spacing: -.02em; }

.place-chip {
  display: inline-flex; align-items: center; gap: 8px; max-width: min(56vw, 360px); min-height: 46px;
  padding: 6px 8px 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .15s ease;
}
.place-chip:hover { transform: translateY(-1px); }
.place-chip:active { transform: scale(.98); }
.place-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 800; font-size: .92rem; }
.place-edit { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .76rem; font-weight: 900; }

/* ---------- Hauptkarte ---------- */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(12px, 3vw, 40px);
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px);
  background: var(--surface); box-shadow: var(--shadow);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 66%); pointer-events: none; transition: background .5s ease;
}
body[data-state="good"] .hero::before { background: radial-gradient(circle, var(--good-soft), transparent 66%); }
body[data-state="bad"] .hero::before { background: radial-gradient(circle, var(--bad-soft), transparent 66%); }

.hero-copy { position: relative; min-width: 0; }
.date { margin: 0 0 14px; color: var(--muted); font-size: .9rem; font-weight: 800; }
.verdict-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: .88rem; font-weight: 900;
}
.verdict-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
body[data-state="good"] .verdict-badge { background: var(--good-soft); color: var(--good-ink); }
body[data-state="bad"] .verdict-badge { background: var(--bad-soft); color: var(--bad-ink); }
body[data-state="good"] .verdict-badge .dot, body[data-state="bad"] .verdict-badge .dot { animation: none; }

.verdict {
  margin: 16px 0 0; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .95; letter-spacing: -.045em; font-weight: 900;
  text-wrap: balance;
}
body[data-state="good"] .verdict { color: var(--good-ink); }
body[data-state="bad"] .verdict { color: var(--bad-ink); }
.reason { max-width: 30em; margin: 16px 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.8vw, 1.22rem); line-height: 1.45; font-weight: 700; text-wrap: pretty; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.stat {
  position: relative; min-width: 0; padding: 14px 12px 12px; border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface-solid);
}
.stat-icon { font-size: 1.15rem; line-height: 1; }
.stat small { display: block; margin-top: 8px; color: var(--faint); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat b { display: block; margin-top: 2px; font-size: 1.12rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

/* ---------- Fahrrad ---------- */
.bike-stage { position: relative; display: grid; place-items: center; min-height: 240px; }
.bike { width: 100%; max-width: 520px; overflow: visible; }
.bike .frame-a { stop-color: var(--frame-a); transition: stop-color .5s ease; }
.bike .frame-b { stop-color: var(--frame-b); transition: stop-color .5s ease; }
body[data-state="bad"] .bike { --frame-a: #94a3b8; --frame-b: #64748b; }
.bike .ground { fill: rgba(15, 40, 70, .1); }
.bike .tire { fill: none; stroke: var(--tire); stroke-width: 16; }
.bike .rim { fill: none; stroke: var(--rim); stroke-width: 4; }
.bike .spokes { stroke: var(--rim); stroke-width: 2; opacity: .8; }
.bike .hub { fill: var(--metal); }
.bike .fender { fill: none; stroke: var(--metal); stroke-width: 7; stroke-linecap: round; opacity: .55; }
.bike .chain { stroke: var(--metal); stroke-width: 3; stroke-dasharray: 5 4; opacity: .7; }
.bike .frame { fill: none; stroke: url(#frameGrad); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.bike .fork, .bike .headtube { fill: none; stroke: url(#frameGrad); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.bike .ring { fill: var(--surface-solid); stroke: var(--metal); stroke-width: 6; }
.bike .crank path { stroke: var(--metal); stroke-width: 8; stroke-linecap: round; }
.bike .crank rect { fill: var(--tire); }
.bike .post { fill: none; stroke: var(--metal); stroke-width: 9; stroke-linecap: round; }
.bike .saddle { fill: var(--tire); }
.bike .bar { fill: none; stroke: var(--metal); stroke-width: 9; stroke-linecap: round; }
.bike .grip { fill: var(--tire); }
.bike .lamp { fill: #fff7c2; stroke: #eab308; stroke-width: 4; }
.bike .beam { fill: rgba(253, 224, 71, .35); opacity: 0; transition: opacity .5s ease; }
.bike .tail { fill: #ef4444; }
.bike .crank .reflector { fill: #f59e0b; }
.bike .speed { stroke: var(--accent); stroke-width: 6; stroke-linecap: round; opacity: 0; transition: opacity .5s ease; }
.bike .wheel { transform-box: fill-box; transform-origin: center; }
.bike .crank { transform-box: view-box; transform-origin: 270px 270px; }
.bike .no-sign { opacity: 0; transform: scale(.6); transform-origin: 280px 220px; transition: opacity .35s ease, transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.bike .no-sign circle { fill: none; stroke: var(--bad); stroke-width: 22; }
.bike .no-sign path { stroke: var(--bad); stroke-width: 22; stroke-linecap: round; }

body[data-state="good"] .bike-stage { animation: ride 2.4s ease-in-out infinite; }
body[data-state="good"] .bike .wheel, body[data-state="good"] .bike .crank { animation: spin 1.4s linear infinite; }
body[data-state="good"] .bike .speed { opacity: .35; }
body[data-state="good"] .bike .beam { opacity: 1; }
body[data-state="bad"] .bike .no-sign { opacity: .92; transform: scale(1); }
body[data-state="loading"] .bike .wheel { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ride { 50% { transform: translateY(-6px); } }

/* ---------- Panels ---------- */
.panel {
  padding: clamp(20px, 3.4vw, 36px); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.kicker { margin: 0 0 4px; color: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.panel-title { margin: 0; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 900; }
.panel-lead { margin: 6px 0 0; color: var(--muted); font-weight: 700; }

.hours-summary { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 800; font-size: .92rem; }
.hours-summary:empty { display: none; }
.hours {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(76px, 1fr); gap: 8px;
  margin: 20px -4px 0; padding: 4px 4px 10px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.hour {
  scroll-snap-align: start; display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px;
  border: 1px solid var(--border); border-radius: 20px; background: var(--surface-solid); text-align: center;
  font-variant-numeric: tabular-nums;
}
.hour.skeleton { height: 138px; background: linear-gradient(90deg, var(--surface-2), var(--surface-solid), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hour time { color: var(--muted); font-size: .8rem; font-weight: 900; }
.hour .h-icon { font-size: 1.5rem; line-height: 1; }
.hour .h-temp { font-size: 1.05rem; font-weight: 900; }
.hour .h-rain { color: var(--faint); font-size: .72rem; font-weight: 800; }
.hour .h-ok { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: .9rem; }
.hour.good .h-ok { background: var(--good-soft); color: var(--good-ink); }
.hour.bad .h-ok { background: var(--bad-soft); color: var(--bad-ink); }
.hour.now { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.tip { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--surface-2); }
.tip-icon { font-size: 1.5rem; line-height: 1; }
.tip b { display: block; font-size: .95rem; }
.tip small { display: block; color: var(--muted); font-size: .82rem; font-weight: 700; }

/* ---------- Checkliste ---------- */
.progress { position: relative; width: 64px; height: 64px; flex: 0 0 auto; }
.progress svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress circle { fill: none; stroke-width: 5; }
.progress .track { stroke: var(--surface-2); }
.progress .value { stroke: var(--good); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transition: stroke-dashoffset .4s ease; }
.progress span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .88rem; font-weight: 900; font-variant-numeric: tabular-nums; }

.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.check {
  width: 100%; min-height: 66px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-align: left;
  border: 1px solid var(--border); border-radius: 18px; background: var(--surface-solid);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.check:active { transform: scale(.98); }
.check-icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--surface-2); font-size: 1.2rem; }
.check b { display: block; font-size: .98rem; font-weight: 900; }
.check small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.check > span:nth-child(2) { flex: 1; min-width: 0; }
.tick { width: 28px; height: 28px; flex: 0 0 auto; border: 2px solid var(--border); border-radius: 50%; display: grid; place-items: center; transition: all .2s ease; }
.check[aria-pressed="true"] { background: var(--good-soft); border-color: transparent; }
.check[aria-pressed="true"] .tick { border-color: var(--good); background: var(--good); }
.check[aria-pressed="true"] .tick::after { content: ""; width: 7px; height: 12px; margin-top: -3px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.done-msg { margin: 14px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--good-soft); color: var(--good-ink); font-weight: 900; text-align: center; animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }

/* ---------- Footer ---------- */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.link-btn { padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--accent); font-weight: 900; }
.link-btn:hover { background: var(--accent-soft); }

/* ---------- Standort-Dialog ---------- */
.sheet {
  width: min(520px, calc(100% - 24px)); max-height: min(640px, calc(100svh - 40px)); padding: 0; margin: auto;
  border: 1px solid var(--border); border-radius: 28px; background: var(--surface-solid); color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
}
.sheet[open] { animation: sheet-in .28s cubic-bezier(.2, .9, .3, 1.1); }
.sheet::backdrop { background: rgba(8, 20, 34, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes sheet-in { from { transform: translateY(24px) scale(.98); opacity: 0; } }
.sheet-inner { display: grid; gap: 14px; padding: 22px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head h2 { margin: 0; font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.icon-btn { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); font-size: 1rem; font-weight: 900; }
.gps-btn {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left;
  border: 0; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 12px 26px rgba(37, 99, 235, .3); transition: transform .15s ease;
}
.gps-btn:active { transform: scale(.98); }
.gps-btn > span:first-child { font-size: 1.5rem; }
.gps-btn b { display: block; font-weight: 900; }
.gps-btn small { display: block; opacity: .85; font-size: .8rem; font-weight: 700; }
.gps-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.sheet input {
  width: 100%; padding: 15px 16px; border: 2px solid transparent; border-radius: 16px; background: var(--surface-2);
  font-weight: 800; font-size: 1.05rem; outline: 0;
}
.sheet input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.suggestions { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.suggestions:empty { display: none; }
.suggestion {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; cursor: pointer;
}
.suggestion:hover, .suggestion[aria-selected="true"] { background: var(--accent-soft); }
.suggestion .flag { font-size: 1.3rem; }
.suggestion b { display: block; font-weight: 900; }
.suggestion small { display: block; color: var(--muted); font-size: .8rem; }
.sheet-note { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 700; }
.sheet-note:empty { display: none; }

.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 10; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 800; font-size: .9rem; box-shadow: var(--shadow);
  animation: toast-in .25s ease;
}
@keyframes toast-in { from { transform: translate(-50%, 12px); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .bike-stage { order: -1; min-height: 0; margin: -6px auto -10px; width: min(380px, 100%); }
  .reason { margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
}
@media (max-width: 520px) {
  .sun { width: 170px; height: 170px; top: -70px; right: -30px; }
  .brand .eyebrow { display: none; }
  .brand-mark { width: 40px; height: 40px; border-radius: 13px; }
  .place-chip { padding-left: 10px; }
  .place-edit { display: none; }
  .foot { flex-direction: column; }
}
@media (orientation: landscape) and (max-height: 560px) {
  .hero { grid-template-columns: 1.1fr .9fr; text-align: left; }
  .bike-stage { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
