/* ---------- Fonts (self-hosted, no Google requests) ---------- */
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url(fonts/commissioner.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(fonts/caveat.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #f6eee1;
  --paper-2: #efe2cc;
  --card: #fffaf1;
  --ink: #221b17;
  --ink-soft: #5d5048;
  --line: #decdb2;
  --red: #c8102e;
  --red-deep: #9e0b23;
  --ochre: #e7a33e;
  --night: #121a2e;
  --night-2: #1d2742;
  --glow: #ffcf7a;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Commissioner", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .25 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; font-variation-settings: "SOFT" 50, "WONK" 1; hyphens: manual; }
p { margin: 0 0 1em; }
/* body text is justified everywhere; hyphenation keeps the word spacing even */
p, li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
em { font-style: italic; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.hand { font-family: var(--hand); font-weight: 500; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }

/* language swap: whole page text fades while it re-renders */
main, .bar .nav, .foot { transition: opacity .28s var(--ease-out), filter .28s var(--ease-out); }
body.swapping main, body.swapping .bar .nav, body.swapping .foot { opacity: 0; filter: blur(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out), background .25s;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(200, 16, 46, .7); }
.btn-red:hover { box-shadow: 0 16px 30px -12px rgba(200, 16, 46, .8); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-cream { background: var(--paper); color: var(--red-deep); }
.btn-outline-cream { color: var(--paper); box-shadow: inset 0 0 0 2px rgba(246, 238, 225, .7); }

/* ---------- Header ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.bar.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(34, 27, 23, .5); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 64px; height: 14px; fill: var(--red); }
.brand-name { font: 600 1.15rem/1 var(--serif); letter-spacing: -.01em; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-book { color: var(--red); }

.lang { position: relative; display: flex; padding: 4px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.lang button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  font: 700 .8rem/1 var(--sans); letter-spacing: .06em; color: var(--ink-soft);
  width: 40px; height: 32px; border-radius: 999px; transition: color .3s;
}
.lang button[aria-pressed="true"] { color: #fff; }
.lang-pill {
  position: absolute; top: 4px; left: 4px; width: 40px; height: 32px; border-radius: 999px; background: var(--red);
  transform: translateX(calc(var(--i, 0) * 40px)); transition: transform .5s var(--ease-spring);
  box-shadow: 0 6px 14px -6px rgba(200, 16, 46, .8);
}
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 5vw, 72px);
  width: min(1180px, 100%); margin: 0 auto;
  padding: clamp(32px, 7vw, 96px) var(--gutter) clamp(110px, 25vw, 260px);
  min-height: min(92vh, 900px);
}
.kicker { color: var(--red); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .4em; transform: rotate(-2deg); transform-origin: left; }
.hero-title { font-size: clamp(2.6rem, 7.2vw, 6.1rem); font-weight: 650; letter-spacing: -.025em; line-height: .98; }
.hero-title em { color: var(--red); font-weight: 400; }
.hero-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 1.6em 0 0; color: var(--ink-soft); font-size: .98rem; }
.hero-lang { display: flex; gap: 8px; }
.flagdot {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  font: 700 .74rem/1 var(--sans); letter-spacing: .05em; color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background .3s, color .3s, transform .45s var(--ease-spring);
}
.flagdot:hover { transform: translateY(-2px) rotate(-6deg); }
.flagdot[aria-pressed="true"] { background: var(--ink); color: var(--paper); transform: scale(1.08); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }

.postcard { position: relative; margin: 0; justify-self: center; width: min(420px, 100%); }
.postcard-inner {
  background: var(--card); padding: 14px 14px 58px; border-radius: 6px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(60, 20, 10, .55);
  transform: rotate(3deg);
  transition: transform .8s var(--ease-spring);
}
.postcard:hover .postcard-inner { transform: rotate(-1deg) scale(1.02); }
.postcard-inner img { width: 100%; height: auto; border-radius: 3px; }
.postcard figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 1.7rem; color: var(--ink); transform: rotate(3deg); pointer-events: none; }
.postcard::before { /* tape */
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; z-index: 2;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(231, 163, 62, .55); box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
.stamp { position: absolute; right: -28px; bottom: 34px; width: 112px; height: 112px; z-index: 3; }
.stamp circle { fill: none; stroke: var(--red); stroke-width: 2.5; }
.stamp circle:first-child { fill: rgba(246, 238, 225, .92); stroke-dasharray: 3 4; }
.stamp text { fill: var(--red); font: 700 10.5px var(--sans); letter-spacing: .12em; }
.stamp .stamp-mid { font: 600 italic 22px var(--serif); letter-spacing: 0; }

.hero-skyline { position: absolute; left: 50%; bottom: -1px; width: min(1000px, 100%); height: auto; transform: translateX(-50%); z-index: 0; }
.hero-text, .postcard { position: relative; z-index: 1; }
.hero-skyline use, .book-skyline use { fill: var(--red); stroke: var(--red); stroke-width: .8; }

/* hero entrance */
.hero .kicker, .hero-title, .hero-langs, .hero-cta { animation: rise 1s var(--ease-out) both; }
.hero .kicker { animation-delay: .1s; }
.hero-title { animation-delay: .22s; }
.hero-langs { animation-delay: .42s; }
.hero-cta { animation-delay: .54s; }
.postcard { animation: drop 1.3s var(--ease-spring) .35s both; }
.stamp { animation: stamp .6s var(--ease-spring) 1.3s both; }
.stamp text:first-of-type { animation: spin 40s linear infinite; transform-origin: 60px 60px; transform-box: view-box; }
.hero-skyline use { fill-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease-out) .2s forwards, fill .9s ease 1.9s forwards; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-60px) rotate(-14deg); } }
@keyframes stamp { from { opacity: 0; transform: scale(1.8) rotate(-30deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { fill-opacity: 1; } }

/* ---------- Intro (red band under the skyline) ---------- */
.intro { background: var(--red); color: #fff5ec; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); position: relative; }
.intro-title { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: .7em; }
.intro-text { columns: 2 320px; column-gap: 48px; font-size: 1.1rem; }
.intro-text p:first-child::first-letter { float: left; font: 600 4.2em/.8 var(--serif); margin: .08em .08em 0 0; color: var(--glow); }

/* ---------- Section heads ---------- */
.tours { padding: clamp(72px, 10vw, 130px) 0 clamp(24px, 4vw, 40px); }
.tours-themed { padding-top: clamp(40px, 6vw, 70px); }
.tours-land { background: var(--night); padding: 0 0 clamp(80px, 10vw, 130px); }
.section-head { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; margin-bottom: clamp(32px, 5vw, 56px); }
.section-no { grid-row: span 2; font: italic 400 clamp(3rem, 7vw, 5.5rem)/.8 var(--serif); color: var(--red); }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.section-head p { grid-column: 2; margin: .5em 0 0; color: var(--ink-soft); font-size: 1.12rem; }
.section-head-light h2 { color: var(--paper); }
.section-head-light p { color: #c9c3d6; }
.section-head-light .section-no { color: var(--glow); }

/* ---------- Tour cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.card {
  --mx: 50%; --my: 30%;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line), 0 24px 40px -34px rgba(60, 20, 10, .6);
  transition: transform .5s var(--ease-spring), box-shadow .4s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line), 0 34px 50px -30px rgba(60, 20, 10, .55); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.card-no { font: italic 500 1rem/1 var(--serif); color: var(--ink-soft); }
.motif { width: 64px; height: 64px; flex: none; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-spring); }
.card:hover .motif { transform: rotate(-8deg) scale(1.1); }
.motif * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out) .25s; }
.card.in .motif * { stroke-dashoffset: 0; }
.card h3 { font-size: clamp(1.35rem, 2.1vw, 1.62rem); margin-bottom: .55em; hyphens: auto; }
.card .lead { font-weight: 600; color: var(--red-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600; background: var(--paper-2); }
.chip-price { background: var(--red); color: #fff; }
.chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.card-preview { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-soft); }
.ticket {
  position: relative; margin: 6px 0 4px; padding: 14px 16px 14px 18px;
  border-radius: 10px; background: var(--paper); font-size: .95rem;
  border-left: 4px solid var(--ochre);
}
.ticket p { margin: 0; }
.ticket p + p { margin-top: .3em; }
.more {
  margin-top: auto; align-self: flex-start; border: 0; background: none; padding: 6px 0; cursor: pointer;
  font: 700 .95rem/1 var(--sans); color: var(--red); display: inline-flex; align-items: center; gap: 8px;
}
/* the whole card opens the details */
.card .more, .card.night .more { position: static; }
.more::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.more:focus-visible { outline: none; }
.more:focus-visible::after { outline: 3px solid var(--ochre); outline-offset: -3px; border-radius: var(--radius); }
.card { cursor: pointer; }
.more .arrow { display: inline-block; transition: transform .45s var(--ease-spring); }
.card:hover .more .arrow { transform: translateX(6px); }

/* night cards: lantern tour + Christmas tour. Light follows the pointer. */
.card.night { background: var(--night); color: #e9e3f2; box-shadow: 0 0 0 1px #2a3453, 0 30px 50px -30px rgba(10, 14, 30, .9); }
.card.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 207, 122, .32), rgba(255, 170, 60, .08) 45%, transparent 70%);
  transition: opacity .4s;
}
.card.night::after { /* stars */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: radial-gradient(1.3px 1.3px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 68% 9%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 88% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 42%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 78% 72%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 84%, #fff 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.card.night > * { position: relative; z-index: 1; }
.card.night .motif { stroke: var(--glow); filter: drop-shadow(0 0 8px rgba(255, 207, 122, .7)); animation: flicker 3.2s ease-in-out infinite; }
.card.night .card-no, .card.night .card-preview { color: #b8b2c8; }
.card.night .lead { color: var(--glow); }
.card.night .chip { background: var(--night-2); color: #e9e3f2; }
.card.night .chip-price { background: var(--glow); color: var(--night); }
.card.night .ticket { background: var(--night-2); border-left-color: var(--glow); }
.card.night .more { color: var(--glow); }
@keyframes twinkle { from { opacity: .35; } to { opacity: .85; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 42% { opacity: .82; } 46% { opacity: 1; } 71% { opacity: .9; } }

/* Sauerland cards sit on the night-blue band */
.tours-land .card { background: #1a233b; color: #ece6f4; box-shadow: 0 0 0 1px #2c3757; }
.tours-land .card .motif { stroke: var(--glow); }
.tours-land .card-no, .tours-land .card-preview { color: #aea8c0; }
.tours-land .chip { background: #26304d; }
.tours-land .chip-price { background: var(--glow); color: var(--night); }
.tours-land .ticket { background: #26304d; border-left-color: var(--glow); }
.tours-land .more { color: var(--glow); }

/* ---------- Sauerland band with parallax hills ---------- */
.land { --hills: clamp(160px, 24vw, 340px); position: relative; background: var(--night); color: var(--paper); padding: calc(var(--hills) + 24px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hills { position: absolute; inset: 0 0 auto 0; height: var(--hills); pointer-events: none; background: var(--paper); overflow: hidden; }
.hill { position: absolute; left: -5%; width: 110%; max-width: none; height: 100%; bottom: 0; will-change: transform; }
.hill-3 path { fill: #7d8a6a; }
.hill-2 path { fill: #3f5a4a; }
.hill-1 path { fill: var(--night); }
.land-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.peaks-no {
  display: block; font: italic 300 clamp(6rem, 17vw, 13rem)/.85 var(--serif); letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--glow), var(--ochre) 60%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; padding: 0 .15em .05em 0;
}
.themes-lead { color: #d6d0e2; font-size: 1.08rem; }
.route { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; counter-reset: r; }
.route::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; border-left: 2px dashed rgba(255, 207, 122, .45); }
.route li { position: relative; padding: 7px 0; font-family: var(--serif); font-size: 1.12rem; opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i) * 90ms); }
.route li::before { content: ""; position: absolute; left: -26px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 3px var(--glow); }
.themes.in .route li { opacity: 1; transform: none; }

/* ---------- Booking ---------- */
.book { position: relative; background: var(--red); color: var(--paper); padding: clamp(72px, 10vw, 130px) 0 clamp(110px, 14vw, 170px); text-align: center; overflow: hidden; }
.book h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); }
.book-text { margin: .8em auto 0; font-size: 1.12rem; color: #ffe6de; text-align: center; }
.book-phone { display: inline-block; margin: .35em 0 .5em; font: 600 clamp(2.4rem, 8vw, 5.6rem)/1 var(--serif); letter-spacing: -.02em; text-decoration: none; color: #fff; transition: transform .5s var(--ease-spring); }
.book-phone:hover { transform: scale(1.04) rotate(-1deg); }
.book-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.book-inner { position: relative; z-index: 1; }
.book-skyline { max-width: none; position: absolute; left: 50%; bottom: -2px; width: max(1180px, 100vw); transform: translateX(-50%); opacity: .22; pointer-events: none; }
.book-skyline use { fill: var(--red-deep); stroke: var(--red-deep); }

.foot { background: var(--ink); color: #cfc4b8; font-size: .95rem; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.foot p { margin: 0; }
.foot strong { color: var(--paper); }
.to-top { color: var(--glow); text-decoration: none; font-weight: 600; }
.noscript { padding: 16px var(--gutter); background: var(--ink); color: var(--paper); margin: 0; }

/* ---------- Tour details dialog ---------- */
html:has(.sheet[open]) { overflow: hidden; }
.sheet {
  --ox: 0px; --oy: 0px;
  width: min(760px, calc(100% - 32px)); max-width: none; max-height: min(88vh, 900px);
  margin: auto; padding: 0; border: 0; overflow: visible; background: transparent; color: var(--ink);
}
.sheet::backdrop { background: rgba(18, 26, 46, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet-panel {
  position: relative; display: flex; flex-direction: column; max-height: inherit; overflow: hidden;
  background: var(--card); border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -30px rgba(10, 14, 30, .7);
}
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 44px); }
.sheet h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 .5em; hyphens: auto; }
.sheet .card-top { margin-bottom: 10px; padding-right: 52px; }
.sheet .motif { width: 80px; height: 80px; }
.sheet .lead { font-weight: 600; color: var(--red-deep); font-size: 1.08rem; }
.sheet-text { font-size: 1.06rem; }
.sheet .ticket { margin-top: 8px; }
.sheet-book { margin-top: 24px; }
.sheet-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; padding: 0; color: var(--ink); background: var(--paper-2);
  transition: transform .45s var(--ease-spring), background .25s;
}
.sheet-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sheet-close:hover { transform: rotate(90deg); background: var(--line); }

/* entrance: grows out of the clicked card, content follows */
.sheet[open] .sheet-panel { animation: sheet-in .6s var(--ease-spring) both; }
.sheet[open]::backdrop { animation: fade-in .35s ease both; }
.sheet[open] #sheet-body > * { animation: rise .7s var(--ease-out) both; }
.sheet[open] #sheet-body > :nth-child(2) { animation-delay: .06s; }
.sheet[open] #sheet-body > :nth-child(3) { animation-delay: .12s; }
.sheet[open] #sheet-body > :nth-child(4) { animation-delay: .18s; }
.sheet[open] #sheet-body > :nth-child(n+5) { animation-delay: .24s; }
.sheet[open] .motif * { animation: draw 1.4s var(--ease-out) .25s forwards; }
.sheet.closing .sheet-panel { animation: sheet-out .28s var(--ease-out) forwards; }
.sheet.closing::backdrop { animation: fade-out .28s ease forwards; }
@keyframes sheet-in { from { opacity: 0; transform: translate(var(--ox), var(--oy)) scale(.4); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

/* night tours and Sauerland tours keep their look in the dialog */
.sheet.night .sheet-panel, .sheet.dark .sheet-panel { background: var(--night); color: #e9e3f2; box-shadow: 0 0 0 1px #2a3453, 0 40px 90px -30px rgba(0, 0, 0, .8); }
.sheet.night .sheet-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at 85% 10%, rgba(255, 207, 122, .22), transparent 70%);
}
.sheet.night .motif, .sheet.dark .motif { stroke: var(--glow); }
.sheet.night .motif { filter: drop-shadow(0 0 8px rgba(255, 207, 122, .7)); }
.sheet.night .card-no, .sheet.dark .card-no { color: #b8b2c8; }
.sheet.night .lead, .sheet.dark .lead { color: var(--glow); }
.sheet.night .chip, .sheet.dark .chip { background: var(--night-2); color: #e9e3f2; }
.sheet.night .chip-price, .sheet.dark .chip-price { background: var(--glow); color: var(--night); }
.sheet.night .ticket, .sheet.dark .ticket { background: var(--night-2); border-left-color: var(--glow); }
.sheet.night .sheet-close, .sheet.dark .sheet-close { background: var(--night-2); color: #e9e3f2; }
.sheet.night .sheet-scroll, .sheet.dark .sheet-scroll { position: relative; }

/* ---------- Scroll reveals ---------- */
.reveal, .card { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), box-shadow .4s var(--ease-out); }
.reveal.in, .card.in { opacity: 1; transform: none; }
.card.in:hover { transform: translateY(-6px); }
.card { transition-delay: calc(var(--d, 0) * 80ms); }
.card.in { transition-delay: 0s; transition: transform .5s var(--ease-spring), box-shadow .4s var(--ease-out), opacity .9s var(--ease-out); }
.no-js .reveal, .no-js .card { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .postcard { width: min(360px, 88%); margin-top: 8px; }
  .stamp { right: -12px; width: 92px; height: 92px; }
  .land-grid { grid-template-columns: 1fr; }
  .peaks-no { text-align: center; }
}
@media (max-width: 820px) {
  .bar { gap: 12px; }
  .burger {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--ink); cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--paper); transition: transform .4s var(--ease-spring); }
  .bar.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .bar.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 18px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .35);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .5s var(--ease-out), visibility 0s .5s;
  }
  .bar.menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease-out); }
  .nav a { font: 600 1.7rem/1.3 var(--serif); }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 44px; }
}
@media (max-width: 600px) {
  .sheet { width: 100%; max-height: 92vh; margin: auto 0 0; }
  .sheet-panel { border-radius: 24px 24px 0 0; }
  .sheet-panel::after { content: ""; position: absolute; top: 8px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: currentColor; opacity: .2; }
  .sheet[open] .sheet-panel { animation-name: sheet-up; animation-timing-function: var(--ease-out); }
  .sheet.closing .sheet-panel { animation-name: sheet-down; }
  .sheet-scroll { padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
  .sheet .motif { width: 64px; height: 64px; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@media (max-width: 420px) {
  .brand-name { display: none; }
  .lang button { width: 38px; }
  .lang-pill { width: 38px; transform: translateX(calc(var(--i, 0) * 38px)); }
}

/* ---------- Reduced motion: everything visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .card, .route li { opacity: 1 !important; transform: none !important; }
  .motif * { stroke-dashoffset: 0 !important; }
  .sheet[open] #sheet-body > *, .sheet[open] .sheet-panel { opacity: 1 !important; transform: none !important; }
  .hero-skyline use { stroke-dashoffset: 0; fill-opacity: 1; }
}
