/* Walki's Inselguide · App-Version
   Palette: Atlantik-Nacht #0a1d33 · Kobalt #1f5af0 · Sonnenuntergang #ff8a3a · Dünengold #ffc455 · Salzweiß #f3f6fa
   Schrift: nur Systemschriften (keine externen Anfragen). */

:root {
  --bg: #f3f6fa;
  --surface: #ffffff;
  --surface-2: #e9eff6;
  --ink: #0d1f35;
  --ink-2: #435870;
  --line: #d6e0ec;
  --night: #0a1d33;
  --gold: #ffc455;
  --sun: #ff8a3a;
  --accent: #1f5af0;
  --accent-ink: #ffffff;
  --accent-soft: #e4ecff;
  --danger: #c0392b;
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
  --bar-h: 56px;
  --tab-h: 64px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-head: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Segoe UI Variable Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(10, 29, 51, .06), 0 8px 24px rgba(10, 29, 51, .07);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #071220;
  --surface: #0f2037;
  --surface-2: #152b47;
  --ink: #eaf1fa;
  --ink-2: #a3b5ca;
  --line: #23395a;
  --accent: #7ba2ff;
  --accent-ink: #071220;
  --accent-soft: #162a52;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071220;
    --surface: #0f2037;
    --surface-2: #152b47;
    --ink: #eaf1fa;
    --ink-2: #a3b5ca;
    --line: #23395a;
    --accent: #7ba2ff;
    --accent-ink: #071220;
    --accent-soft: #162a52;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

/* Kapitel-Farben (Orientierung statt Dekoration) */
.ch-unsere-reise { --accent: #1f5af0; --accent-soft: #e4ecff; --accent-ink: #fff; --tile: linear-gradient(150deg, #1f5af0, #0a2a78); }
.ch-insel-entdecken { --accent: #077489; --accent-soft: #dbf1f5; --accent-ink: #fff; --tile: linear-gradient(150deg, #0b9bb3, #064b5c); }
.ch-unsere-ideen { --accent: #c4511a; --accent-soft: #ffe9dc; --accent-ink: #fff; --tile: linear-gradient(150deg, #ff8a3a, #b8420f); }
.ch-gut-vorbereitet { --accent: #3d5169; --accent-soft: #e3e9f0; --accent-ink: #fff; --tile: linear-gradient(150deg, #526a86, #1d2c3f); }
:root[data-theme="dark"] .ch-unsere-reise { --accent: #7ba2ff; --accent-soft: #162a52; --accent-ink: #071220; }
:root[data-theme="dark"] .ch-insel-entdecken { --accent: #4fd0e6; --accent-soft: #0e3440; --accent-ink: #071220; }
:root[data-theme="dark"] .ch-unsere-ideen { --accent: #ff9d57; --accent-soft: #3d2415; --accent-ink: #071220; }
:root[data-theme="dark"] .ch-gut-vorbereitet { --accent: #a9bdd4; --accent-soft: #1d2d42; --accent-ink: #071220; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ch-unsere-reise { --accent: #7ba2ff; --accent-soft: #162a52; --accent-ink: #071220; }
  :root:not([data-theme="light"]) .ch-insel-entdecken { --accent: #4fd0e6; --accent-soft: #0e3440; --accent-ink: #071220; }
  :root:not([data-theme="light"]) .ch-unsere-ideen { --accent: #ff9d57; --accent-soft: #3d2415; --accent-ink: #071220; }
  :root:not([data-theme="light"]) .ch-gut-vorbereitet { --accent: #a9bdd4; --accent-soft: #1d2d42; --accent-ink: #071220; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 14px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
  overflow-wrap: break-word;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 750; }
h4 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--night); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 8px; }
.ic { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.fill { fill: currentColor; stroke: none; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }

/* ---------- Top-Leiste ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 6px; height: var(--bar-h); }
.brand { flex: none; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; font: 800 1.05rem/1 var(--font-head); }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-title { font: 800 1.05rem/1.1 var(--font-head); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#actions { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: none; }
.iconbtn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  border: 0; background: transparent; cursor: pointer; color: var(--ink); text-decoration: none;
}
.iconbtn:hover { background: var(--surface-2); }
.iconbtn[aria-pressed="true"] { color: #e0394f; }
.iconbtn[aria-pressed="true"] .ic { fill: currentColor; }
.iconbtn .badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--sun); color: #2b1200; font: 700 .7rem/18px var(--font-body); text-align: center;
}
.iconbtn .badge[hidden] { display: none; }
.dnav { display: none; }

/* ---------- Tab-Leiste (Handy) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px 2px; text-decoration: none;
  color: var(--ink-2); font: 600 .72rem/1.15 var(--font-body); min-height: 52px; border-radius: 14px; -webkit-tap-highlight-color: transparent;
}
.tab .pill { display: grid; place-items: center; width: 56px; height: 30px; border-radius: 15px; transition: background .2s, color .2s; }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"] .pill { background: var(--accent-soft); color: var(--accent); }
.tab[aria-current="page"] { font-weight: 750; }

/* ---------- Screens ---------- */
main { display: block; outline: none; }
.screen { padding-bottom: 32px; }
.back { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px 8px 4px; margin-left: -4px; border-radius: 12px; color: var(--accent); text-decoration: none; font-weight: 650; }
.back:hover { background: var(--accent-soft); }
.shead { padding-top: 14px; padding-bottom: 8px; }
.shead .kicker { color: var(--accent); font-weight: 700; margin: 0 0 4px; font-size: .95rem; }
.shead h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shead .lead { color: var(--ink-2); font-size: 1.1rem; max-width: 62ch; margin: 0; }
.ftr { text-align: center; padding: 28px 0 8px; color: var(--ink-2); font-size: .9rem; }
.ftr button { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; padding: 10px; }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); }
.hero img { width: 100%; aspect-ratio: 1 / .94; object-fit: cover; object-position: 50% 8%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hero-anim { animation: heroin .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heroin { from { transform: scale(1.06); filter: saturate(.8); } to { transform: none; filter: none; } }
.today {
  position: relative; z-index: 2; margin-top: -76px; background: var(--night); color: #eaf1fa; border-radius: var(--radius-l);
  padding: 22px 22px 20px; box-shadow: 0 18px 40px rgba(10, 29, 51, .28); overflow: hidden;
}
.today::before { content: ""; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ffd98a, var(--sun) 70%); opacity: .95; }
.today .big { display: flex; align-items: baseline; gap: 10px; position: relative; }
.today .num { font: 800 clamp(3.2rem, 14vw, 4.6rem)/1 var(--font-head); color: var(--gold); letter-spacing: -.03em; }
.today .unit { font: 700 1.2rem/1.2 var(--font-head); }
.today p { margin: 8px 0 0; color: #c9d7e8; position: relative; max-width: 46ch; }
.today .txt { display: none; }
.today .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; position: relative; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-weight: 650; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.primary:hover { filter: brightness(1.08); }
.today .btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.today .btn.gold { background: var(--gold); color: #2b1a00; border-color: transparent; }
.idea { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; margin-top: 14px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .08); text-decoration: none; color: #fff; position: relative; }
.idea img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; }
.idea strong { display: block; font: 750 1rem/1.2 var(--font-head); }
.idea small { color: #c9d7e8; }
.sect { margin-top: 30px; }
.sect > h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 6px; margin-inline: -16px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; cursor: pointer; scroll-snap-align: start;
}
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 10px; margin-inline: -16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rcard { flex: none; width: min(68vw, 250px); scroll-snap-align: start; border-radius: var(--radius-m); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: block; }
.rcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rcard div { padding: 10px 12px 12px; }
.rcard strong { display: block; font: 750 1rem/1.2 var(--font-head); }
.rcard small { color: var(--ink-2); }
.chtiles { display: grid; gap: 12px; }
.chtile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 168px; padding: 18px; border-radius: var(--radius-l);
  overflow: hidden; color: #fff; text-decoration: none; background: var(--tile); isolation: isolate;
}
.chtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.chtile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 18, 34, .88), rgba(6, 18, 34, .15) 70%); }
.chtile h3 { font-size: 1.4rem; margin: 0 0 4px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.chtile p { margin: 0; font-size: .95rem; color: #e6eef8; max-width: 44ch; }
.chtile .meta { margin-top: 8px; font-weight: 650; font-size: .88rem; color: var(--gold); }

/* ---------- Kapitel & Seiten ---------- */
.ptiles { display: grid; gap: 10px; margin-top: 8px; }
.ptile {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; border-radius: var(--radius-m);
  background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); min-height: 92px;
}
.ptile .cv { width: 92px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--accent-soft); display: grid; place-items: center; font-size: 1.8rem; }
.ptile .cv img { width: 100%; height: 100%; object-fit: cover; }
.ptile h3 { font-size: 1.05rem; margin: 0 0 2px; }
.ptile p { margin: 0; font-size: .9rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptile .cnt { color: var(--accent); font-weight: 700; font-size: .85rem; }
.ptile .ic { color: var(--ink-2); }
.extra { margin: 14px 0; }
.tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.tools .count { color: var(--ink-2); font-size: .92rem; margin-left: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr)); gap: 12px; margin: 14px 0 22px; }
.pc { position: relative; background: var(--surface); border-radius: var(--radius-m); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.pc[hidden] { display: none; }
.pc-link { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.pc-img { aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pc-link:hover .pc-img img { transform: scale(1.04); }
.pc-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-body h3 { font-size: 1rem; margin: 0; line-height: 1.22; }
.pc-meta { display: flex; align-items: flex-start; gap: 6px; font-size: .84rem; color: var(--ink-2); line-height: 1.3; margin: 0; }
.pc-meta .ic { width: 1.1em; height: 1.1em; margin-top: 1px; color: var(--accent); }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); color: #3a4a5e; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.fav[aria-pressed="true"] { color: #e0394f; }
.fav[aria-pressed="true"] .ic { fill: currentColor; }
.empty { text-align: center; padding: 40px 16px; color: var(--ink-2); }
.empty .ic { width: 2.2em; height: 2.2em; color: var(--accent); margin-bottom: 8px; }

/* ---------- Prosa (übernommene Originaltexte) ---------- */
.prose { max-width: none; }
.prose :is(p, ul, ol, h3, h4) { max-width: 72ch; }
.prose > * + * { margin-top: 0; }
.prose h3, .prose h4 { margin-top: 1.4em; }
.prose h3:first-child, .prose h4:first-child { margin-top: .4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius-m); }
.prose figure { margin: 0 0 1em; }
.prose figcaption { color: var(--ink-2); font-size: .88rem; margin-top: 6px; }
.prose small { color: var(--ink-2); }
.prose .eyebrow, .prose .food-spot-kicker { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .02em; margin: 0 0 4px; display: block; }
.prose .anchor-target { display: block; height: 0; scroll-margin-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 14px); }
.prose :is(h2, h3, h4, article, details, section)[id] { scroll-margin-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 14px); }
.prose p.route, .sheet p.route {
  background: var(--surface-2); border-radius: 14px; padding: 12px 14px; border-left: 4px solid var(--accent); font-size: .98rem;
}
.prose .photo-credit, .prose .sources, .sheet .photo-credit, .sheet .sources { font-size: .85rem; color: var(--ink-2); }
.prose .cluster-heading { margin-top: 1.6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose .cluster-heading h3 { margin-top: 0; }
.prose :is(.v170-subsection-jumps, .orientation-jumps) { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 1.2em; }
.prose .v170-subsection-label { font-weight: 700; color: var(--ink-2); }
.prose :is(.v170-subsection-jumps a, a.orientation-jump, a.food-spot-link, .local-idea-actions a) {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); text-decoration: none; font-weight: 650; font-size: .95rem;
}
/* Kacheln aus Originalartikeln */
.prose :is(article, .island-orientation-item, .downtime-idea, .culture-feature, .planning-panel, .compact-callout, .island-story, .destination-extra) {
  background: var(--surface); border-radius: var(--radius-m); box-shadow: var(--shadow); padding: 16px 18px; margin: 0 0 14px;
}
.prose :has(> article) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; align-items: start; }
.prose :has(> article) > :not(article) { grid-column: 1 / -1; }
.prose :has(> article) > article { margin: 0; }
.prose article > :last-child, .prose .downtime-idea > :last-child { margin-bottom: 0; }
.prose a.downtime-idea { display: grid; grid-template-columns: auto 1fr; gap: 12px; text-decoration: none; color: var(--ink); }
.prose .downtime-emoji, .prose .food-spot-emoji { font-size: 1.8rem; line-height: 1; }
.prose .downtime-idea-copy { display: flex; flex-direction: column; gap: 4px; }
.prose .downtime-idea-copy small { color: var(--accent); font-weight: 650; }
.prose .food-spot { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.prose .food-spot-body { display: flex; flex-direction: column; gap: 4px; }
.prose .food-spot-actions { margin-top: 6px; }
.prose .combo h3 { margin-top: 0; }
.prose .combo-mobility { color: var(--ink-2); font-size: .95rem; }
.prose details { background: var(--surface); border-radius: var(--radius-m); box-shadow: var(--shadow); margin: 0 0 12px; overflow: hidden; }
.prose details > summary, .sheet details > summary, .shead details > summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative; font-weight: 700; min-height: 48px; display: block;
}
.prose details > summary::-webkit-details-marker, .sheet details > summary::-webkit-details-marker { display: none; }
.prose details > summary::after, .sheet details > summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s;
}
.prose details[open] > summary::after, .sheet details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.prose details > summary small { display: block; font-weight: 400; color: var(--ink-2); font-size: .9rem; }
.prose details > :not(summary) { padding-inline: 16px; }
.prose details > :last-child { padding-bottom: 14px; }
.prose details details { box-shadow: none; border: 1px solid var(--line); }
.prose dl.quick-facts, .sheet dl.quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 16px; margin: 0 0 1em; }
.prose dl.quick-facts dt, .sheet dl.quick-facts dt { font-size: .82rem; color: var(--ink-2); }
.prose dl.quick-facts dd, .sheet dl.quick-facts dd { margin: 0; font-weight: 650; }
.prose .accommodation-photo, .prose .inspiration-photo { margin-bottom: 12px; }
.prose a.walki-highlight { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); background: var(--surface); box-shadow: var(--shadow); border-radius: var(--radius-m); padding: 12px 16px; margin-bottom: 10px; }
.prose a.walki-highlight small { display: block; color: var(--ink-2); }
.prose .walki-highlights-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.prose .walki-highlights-grid > a { margin: 0; }
.prose .travel-style-icon, .prose .guide-topic-chevron, .prose .accordion-chevron, .prose .walki-highlight-arrow { display: none; }

/* Sprechblase */
.bubble {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; vertical-align: middle;
  background: var(--accent-soft); color: var(--accent); margin-left: 6px; flex: none;
}
.bubble:hover { filter: brightness(.96); }
.bubble .ic { width: 20px; height: 20px; }

/* ---------- Overlays ---------- */
dialog { border: 0; padding: 0; background: var(--surface); color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(5, 15, 30, .55); opacity: 0; transition: opacity .28s; }
dialog.open::backdrop { opacity: 1; }
#dlg-sheet {
  position: fixed; inset: auto 0 0 0; width: 100%; height: min(92dvh, 100% - 24px); margin: 0; border-radius: var(--radius-l) var(--radius-l) 0 0;
  overflow: hidden; transform: translateY(100%); transition: transform .34s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
}
#dlg-sheet.open { transform: none; }
#dlg-sheet.dragging { transition: none; }
.sheet-in { display: flex; flex-direction: column; height: 100%; }
.grab { flex: none; padding: 8px 8px 0; touch-action: none; cursor: grab; }
.sbar { touch-action: none; }
.grab i { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 4px; }
.sbar { display: flex; align-items: center; gap: 4px; padding: 0 8px 6px 14px; }
.sbar .t { flex: 1; font: 750 .95rem/1.2 var(--font-head); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px calc(28px + env(safe-area-inset-bottom, 0px)); -webkit-overflow-scrolling: touch; }
.sheet h2 { margin-bottom: .3em; }
.sheet .figure { margin: 4px -20px 14px; background: var(--surface-2); }
.sheet .figure img { width: 100%; max-height: 46vh; object-fit: cover; cursor: zoom-in; }
.sheet .stitle { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.sheet .stitle h2 { margin: 0; }
.sheet .skicker { color: var(--accent); font-weight: 700; margin: 0 0 2px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; padding: 0; }
.fact { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.fact .ic { color: var(--accent); margin-top: 2px; }
.fact dt { font-size: .78rem; color: var(--ink-2); line-height: 1.2; }
.fact dd { margin: 2px 0 0; font-weight: 650; line-height: 1.3; font-size: .95rem; }
.tip { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); margin: 0 0 1.2em; }
.tip .ic { color: var(--accent); margin-top: 2px; }
.tip strong { display: block; }
.lead-p { font-size: 1.1rem; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.pn a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); text-decoration: none; color: var(--ink); min-height: 64px; }
.pn a small { color: var(--ink-2); }
.pn a:last-child { text-align: right; }
.sheet-scroll .prose { max-width: none; }
.sheet .travel-grid { display: grid; gap: 12px; }
.sheet .v185-travel-grid { display: grid; gap: 10px; margin-bottom: 14px; }
.sheet .v185-travel-grid > div { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.sheet .v185-travel-grid h3 { font-size: 1rem; margin: 0 0 4px; }
.sheet .v185-travel-grid p { margin: 0; }
.sheet .v185-address-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.sheet .v185-address-line button { min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; cursor: pointer; }
.sheet .v185-travel-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet .v185-travel-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); text-decoration: none; font-weight: 650; }
.sheet .v185-copy-status { display: block; min-height: 1.2em; color: var(--ink-2); font-size: .9rem; }
.sheet .v185-travel-foot { color: var(--ink-2); font-size: .92rem; margin-top: 12px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 14px; }
.seg button { min-height: 40px; padding: 6px 14px; border-radius: 10px; border: 0; background: none; cursor: pointer; font-weight: 650; }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow); color: var(--accent); }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.setrow strong { display: block; }
.setrow small { color: var(--ink-2); }
.meter { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-top: 8px; width: 100%; }
.meter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.legal { color: var(--ink-2); font-size: .92rem; }
.legal h3, .legal h2 { color: var(--ink); }

#dlg-aside { position: fixed; inset: 0; margin: auto; width: min(92vw, 460px); height: fit-content; max-height: 80dvh; border-radius: var(--radius-l); padding: 22px 22px 18px; overflow: auto; transform: scale(.94) translateY(8px); opacity: 0; transition: transform .26s cubic-bezier(.2, .9, .3, 1.2), opacity .2s; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
#dlg-aside.open { transform: none; opacity: 1; }
#dlg-aside h2 { font-size: 1.1rem; color: var(--accent); display: flex; align-items: center; gap: 8px; }
#dlg-aside p { font-size: 1.12rem; margin: 6px 0 16px; }
#dlg-aside .acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

#dlg-search { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; transform: translateY(14px); opacity: 0; transition: transform .24s, opacity .2s; }
#dlg-search.open { transform: none; opacity: 1; }
.search-in { display: flex; flex-direction: column; height: 100%; max-width: 720px; margin-inline: auto; }
.sfield { display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; border-bottom: 1px solid var(--line); }
.sfield input { flex: 1; min-width: 0; font: 600 1.1rem var(--font-body); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.sres { flex: 1; overflow-y: auto; padding: 8px 12px calc(20px + env(safe-area-inset-bottom, 0px)); }
.sres h3 { font-size: .95rem; color: var(--ink-2); margin: 16px 8px 6px; }
.sres a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); min-height: 56px; }
.sres a:hover, .sres a[aria-selected="true"] { background: var(--accent-soft); }
.sres a img { width: 52px; height: 42px; object-fit: cover; border-radius: 8px; flex: none; }
.sres a .ph { width: 52px; height: 42px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; flex: none; color: var(--accent); }
.sres a span { display: flex; flex-direction: column; min-width: 0; }
.sres a small { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hint { color: var(--ink-2); padding: 16px 12px; }
kbd { white-space: nowrap; font: 600 .8rem var(--font-body); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); }

#dlg-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; background: rgba(0, 0, 0, .92); display: none; }
#dlg-lightbox[open] { display: grid; place-items: center; }
#dlg-lightbox img { max-width: 100vw; max-height: 88dvh; object-fit: contain; border-radius: 0; }
#dlg-lightbox p { color: #dfe8f3; text-align: center; padding: 0 16px; margin: 10px 0 0; font-size: .92rem; }
#dlg-lightbox button { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; background: rgba(255, 255, 255, .15); color: #fff; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--night); color: #fff; padding: 12px 18px; border-radius: 14px; z-index: 90; opacity: 0; pointer-events: none; transition: .25s; max-width: 90vw; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
noscript .ns { padding: 24px; max-width: 60ch; margin: auto; }

/* View Transitions (nur als Antwort auf eine Navigation) */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: .14s ease-out both vt-out; }
  ::view-transition-new(root) { animation: .22s ease-out both vt-in; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Größere Bildschirme ---------- */
@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
  .pc-body h3 { font-size: 1.05rem; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .chtiles { grid-template-columns: 1fr 1fr; }
  .ptiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --bar-h: 64px; }
  body { padding-bottom: 0; font-size: 1.0625rem; }
  .tabbar { display: none; }
  .toast { bottom: 28px; }
  .dnav { display: flex; gap: 2px; margin-inline: auto; padding: 4px; background: var(--surface-2); border-radius: 16px; }
  .dnav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-weight: 650; min-height: 40px; }
  .dnav a:hover { color: var(--ink); }
  .dnav a[aria-current="page"] { background: var(--surface); color: var(--accent); box-shadow: var(--shadow); }
  .bar-title { display: none; }
  .searchbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; min-width: 190px; }
  .searchbtn:hover { background: var(--surface-2); }
  .searchbtn kbd { margin-left: auto; }
  .iconbtn.s-m { display: none; }
  .hero img { aspect-ratio: 1916 / 700; object-position: 50% 0%; max-height: 64vh; }
  .chips { flex-wrap: wrap; overflow: visible; }
  .today .txt { display: inline; }
  .dnav { margin-inline: auto; }
  .hero::after { height: 30%; }
  .today { margin-top: -90px; display: grid; grid-template-columns: auto 1fr; gap: 6px 36px; align-items: center; padding: 28px 36px; }
  .today .big { grid-row: span 2; }
  .today p { margin-top: 0; }
  .today .acts { margin-top: 0; }
  .today .idea { grid-column: 1 / -1; max-width: 520px; }
  .chips, .rail { margin-inline: 0; padding-inline: 0; }
  .rcard { width: 270px; }
  .chtiles { grid-template-columns: repeat(4, 1fr); }
  .chtile { min-height: 260px; }
  .ptiles { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
  .ptile { grid-template-columns: 1fr; padding: 0 0 14px; gap: 10px; align-items: start; }
  .ptile .cv { width: 100%; height: 170px; border-radius: var(--radius-m) var(--radius-m) 0 0; }
  .ptile > div:nth-child(2) { padding: 0 16px; }
  .ptile > .ic { display: none; }
  .layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
  .side { position: sticky; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 18px); max-height: calc(100dvh - var(--bar-h) - 48px); overflow-y: auto; padding-top: 14px; }
  .side h2 { font-size: 1rem; color: var(--accent); margin-bottom: 8px; }
  .side a { display: block; padding: 8px 12px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.3; }
  .side a:hover { background: var(--surface-2); color: var(--ink); }
  .side a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
  .cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
  .back.m-only { display: none; }
  #dlg-sheet {
    inset: 0 0 0 auto; width: min(700px, 94vw); height: 100dvh; border-radius: var(--radius-l) 0 0 var(--radius-l);
    transform: translateX(100%); box-shadow: -10px 0 40px rgba(0, 0, 0, .25);
  }
  #dlg-sheet.open { transform: none; }
  .grab { display: none; }
  .sbar { padding-top: 12px; }
  .sheet .figure { margin-inline: -20px; }
  #dlg-search { inset: 0; background: transparent; }
  #dlg-search::backdrop { background: rgba(5, 15, 30, .55); }
  .search-in { margin-top: 10vh; height: min(70vh, 640px); background: var(--surface); border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
  .sfield { padding-top: 12px; }
  .ftr { padding-top: 48px; }
}
@media (max-width: 899.98px) {
  .searchbtn, .dnav, .iconbtn.d-only { display: none; }
  .back.d-only { display: none; }
  .side { display: none; }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .facts { grid-template-columns: repeat(3, 1fr); }
}
@media print {
  .topbar, .tabbar, .toast, .bubble, .fav { display: none !important; }
  body { padding: 0; }
}

/* ---------- Feinschliff ---------- */
.chtile::before { background: linear-gradient(to top, rgba(6, 18, 34, .92), rgba(6, 18, 34, .5) 70%, rgba(6, 18, 34, .3)); }
.prose img { width: 100%; max-height: 520px; object-fit: cover; }
.prose .v185-food-choice { display: block; margin-top: 8px; }
.prose .v185-food-choice > b { display: block; }
.prose .food-spot-desc { display: block; }
.prose a.food-spot-route { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 650; font-size: .95rem; }
.prose .food-spot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 899.98px) {
  .tools, .prose .v170-subsection-jumps {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x proximity;
  }
  .tools::-webkit-scrollbar, .prose .v170-subsection-jumps::-webkit-scrollbar { display: none; }
  .tools .chip, .prose .v170-subsection-jumps > * { flex: none; white-space: nowrap; }
  .tools .count { flex: none; padding-right: 16px; }
  .prose img { max-height: 60vh; }
}
