/* Startseite: Logo-Intro, Kundenweg und goldener Faden */
main { position: relative; }

/* Intro: Bühne bleibt stehen, das Logo setzt sich beim Scrollen zusammen.
   Jede Phase ist eine Variable von 0 bis 1 aus der Scrollposition; ohne Script stehen alle auf 1. */
.intro { --header: 72px; --cue: 0; --w: 1; --d: 1; --rule: 1; --word: 1; --digital: 1; --wave: 1; --mark: 1; --lift: 1; --svc: 1; --claim: 1; --shift: 0px;
  position: relative; height: 320vh; overflow-x: clip; }
.intro-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header)); height: calc(100vh - var(--header)); height: calc(100svh - var(--header)); overflow: hidden; display: grid; place-items: center; }
.intro-center { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(22px, 4vh, 40px); padding-left: var(--gutter); padding-right: var(--gutter-r); padding-bottom: clamp(40px, 8vh, 90px); }
.big-lockup { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); transform: translateY(calc(var(--shift) * (1 - var(--lift)))) scale(calc(1 + 0.18 * (1 - var(--lift)))); will-change: transform; }
.big-mono { position: relative; width: clamp(80px, 13vw, 156px); aspect-ratio: 128 / 100; }
.big-mono svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.big-mono .ghost path, .big-mono .ghost polyline { stroke: var(--line); opacity: .55; }
.big-mono .ink .w { stroke: var(--ink); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--w)); }
.big-mono .ink .d { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--d)); }
.big-rule { width: 1px; height: clamp(68px, 11vw, 116px); background: var(--line); transform: scaleY(var(--rule)); }
.big-word { display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 15px); text-align: left; }
.big-word .l1 { display: flex; font-weight: 600; font-size: clamp(34px, 6.2vw, 70px); line-height: 1; letter-spacing: 0.08em; margin-right: -0.08em; }
.big-word .l2 { display: flex; justify-content: space-between; font-weight: 300; font-size: clamp(11px, 1.8vw, 21px); line-height: 1; }
.big-word .l1 span { --t: clamp(0, calc(var(--word) * 6 - var(--i)), 1); display: inline-block; opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 0.35em)); }
.big-word .l2 span { --t: clamp(0, calc(var(--digital) * 7 - var(--i)), 1); display: inline-block; opacity: var(--t); }
.intro-rest { display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3vh, 30px); }
.intro-svc { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font-size: clamp(13px, 1.4vw, 16px); font-weight: 400; letter-spacing: 0.08em; color: var(--ink-soft); }
.intro-svc span { --t: clamp(0, calc(var(--svc) * 5 - var(--i)), 1); opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 10px)); }
.intro-svc .dot { color: var(--gold); }
.intro-claim { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.4vh, 22px); opacity: var(--claim); transform: translateY(calc((1 - var(--claim)) * 24px)); }
.intro-claim[aria-hidden="true"] { visibility: hidden; }
.intro-claim h1 { font-size: clamp(30px, 4.6vw, 56px); letter-spacing: -0.02em; }
.intro-claim h1 em { font-style: normal; color: var(--gold-text); }
.intro-claim p { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-soft); max-width: 36em; }
.intro-claim .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.intro .waves { height: clamp(110px, 22vh, 230px); }
.intro .waves path { vector-effect: none; stroke-width: 0.9; --s: clamp(0, calc(var(--wave) * 1.6 - var(--k) * 0.15), 1); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--s)); }
.intro-mark { position: absolute; right: -10vw; top: -8vh; width: min(58vw, 640px); height: auto; overflow: visible; pointer-events: none; opacity: calc(var(--mark) * 0.07); transform: translateY(calc((1 - var(--mark)) * 80px)) rotate(calc((1 - var(--mark)) * -8deg)); transform-origin: 70% 30%; }
.intro-mark .w, .intro-mark .d { stroke: var(--ink); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); opacity: var(--cue); pointer-events: none; }
.scroll-cue i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--gold), var(--gold)) no-repeat; background-size: 1px 40%; background-color: var(--line); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { background-position: 0 -40%; } 100% { background-position: 0 160%; } }
@media (max-width: 900px) { .intro { height: 260vh; } }
@media (max-width: 600px), (max-height: 680px) { .intro-claim p { display: none; } }
@media (max-width: 420px) { .intro-claim .actions .btn-ghost { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .intro { height: auto; }
  .intro-stage { position: relative; top: 0; height: auto; padding-block: 72px 160px; }
  .scroll-cue { display: none; }
}

/* Kundenweg: ein Handy erzählt in fünf Szenen, wie ein Gast den Betrieb findet.
   Ohne Script (oder bei reduzierter Bewegung) bleibt nur die Textliste stehen. */
.journey { --q: 0; --focus: 0; --sugg: 0; --res: 0; --tap: 0; --sb: 0; --wscroll: 0; --btap: 0; --sheet: 0; --ctap: 0; --sc: 0; --grid: 0; --ftap: 0; --post: 0; --heart: 0; --comment: 0;
  --d: 0; --fly: 0; --card: 0; --fade: 0; --map: 0; --river-d: 0; --route: 0; --pin: 0; --dx: -46%; position: relative; overflow-x: clip; }
.j-stage { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); padding-block: clamp(72px, 10vw, 120px); display: grid; gap: 32px; }
.j-top { grid-area: top; display: grid; gap: 14px; max-width: 520px; }
.j-top h2 { font-size: clamp(28px, 3.4vw, 42px); }
.j-visual, .j-rail { display: none; }
.j-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; max-width: 520px; }
.j-step { display: grid; gap: 8px; }
.j-step .lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
.j-step h3 { font-size: clamp(22px, 2.4vw, 30px); }
.j-step p { color: var(--ink-soft); font-size: 16px; }

.journey.live { height: 680vh; }
.journey.live .j-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header, 72px)); height: calc(100vh - var(--header, 72px)); height: calc(100svh - var(--header, 72px)); padding-block: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". vis" "top vis" "text vis" ". vis"; column-gap: 56px; row-gap: 32px; }
.journey.live .j-visual { grid-area: vis; display: block; position: relative; height: 100%; min-height: 0; container-type: size; }
.journey.live .j-steps { grid-area: text; }
.journey.live .j-step { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.journey.live .j-step.on { opacity: 1; transform: none; }
.journey.live .j-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 10px 0 0; padding: 0; position: relative; }
.j-rail::before, .j-rail::after { content: ""; position: absolute; top: 4px; left: 10%; height: 1px; }
.j-rail::before { right: 10%; background: var(--line); }
.j-rail::after { width: calc(min(1, var(--q) * 1.25) * 80%); background: var(--gold); }
.j-rail li { position: relative; padding-top: 18px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.j-rail li::before { content: ""; position: absolute; top: 0; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--line); z-index: 1; transition: background .3s, transform .3s; }
.j-rail li.on { color: var(--ink); }
.j-rail li.on::before { background: var(--gold); transform: scale(1.25); }

/* Handy */
.phone { position: absolute; left: 50%; top: 50%; height: min(94cqh, 640px); aspect-ratio: 9 / 19; translate: -50% -50%; container-type: inline-size; border-radius: 15% / 7.2%; background: var(--dev-frame);
  box-shadow: 0 40px 70px -30px rgba(13,36,51,.55), inset 0 0 0 2px rgba(255,255,255,.08); opacity: calc(1 - var(--fade));
  transform: translateX(calc(var(--d) * var(--dx))) rotate(calc(var(--d) * -7deg)) scale(calc(1 - var(--d) * 0.1 - var(--fade) * 0.25)); }
.screen { position: absolute; inset: 2.2% 4.4%; border-radius: 12% / 5.6%; overflow: hidden; background: #FFFFFF; color: #202124; font-family: Roboto, Arial, system-ui, sans-serif; font-size: 4cqw; line-height: 1.35; font-weight: 400; }
.screen::after { content: ""; position: absolute; top: 2.4cqw; left: 50%; width: 22cqw; height: 6cqw; translate: -50% 0; border-radius: 99px; background: #0D2433; z-index: 20; }
.scr { position: absolute; inset: 0; background: #FFFFFF; overflow: hidden; }
#scr-a { transform: translateX(calc(var(--sb) * -25%)); }
#scr-b { transform: translateX(calc((1 - var(--sb)) * 102%)); box-shadow: -8px 0 24px rgba(13,36,51,.14); }
#scr-c { transform: translateX(calc((1 - var(--sc)) * 102%)); box-shadow: -8px 0 24px rgba(13,36,51,.14); }
.tap { position: absolute; width: 11cqw; height: 11cqw; border-radius: 50%; background: rgba(66,133,244,.22); border: 1.5px solid rgba(66,133,244,.7); pointer-events: none; z-index: 15; }

/* Browser-Adressleiste */
.urlbar { position: absolute; left: 0; right: 0; top: 0; z-index: 10; padding: 10.5cqw 4cqw 2.4cqw; background: #FFFFFF; border-bottom: 1px solid #E8EAED; }
.urlbar div { display: flex; align-items: center; gap: 2cqw; height: 8.4cqw; padding: 0 3.6cqw; border-radius: 99px; background: #F1F3F4; font-size: 3.4cqw; color: #3C4043; white-space: nowrap; overflow: hidden; }
.urlbar svg { width: 3.4cqw; height: 3.4cqw; flex: none; fill: none; stroke: #5F6368; stroke-width: 2.4; }

/* Szene 1: Google */
.g-home { position: absolute; left: 0; right: 0; top: 24cqw; padding: 0 5cqw; display: flex; flex-direction: column; align-items: center; opacity: calc(1 - var(--res)); transform: translateY(calc(var(--focus) * -18cqw)); }
.g-logo { font-family: 'Product Sans', 'Google Sans', Arial, sans-serif; font-weight: 500; font-size: 15cqw; letter-spacing: -0.04em; line-height: 1; margin: 6cqw 0 7cqw; opacity: calc(1 - var(--focus)); }
.g-logo .b { color: #4285F4; } .g-logo .r { color: #EA4335; } .g-logo .y { color: #FBBC05; } .g-logo .g { color: #34A853; }
.g-box { width: 100%; display: flex; align-items: center; gap: 2.6cqw; height: 11.5cqw; padding: 0 4cqw; border-radius: 99px; background: #FFFFFF; box-shadow: 0 1px 6px rgba(32,33,36,.28); font-size: 4cqw; color: #202124; white-space: nowrap; overflow: hidden; }
.g-box svg { width: 4.6cqw; height: 4.6cqw; flex: none; }
.g-box .mag { fill: none; stroke: #9AA0A6; stroke-width: 2.4; }
.g-box .mic { margin-left: auto; }
.g-box .ph { color: #70757A; }
.caret { width: 1.5px; height: 5cqw; background: #1A73E8; animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.g-sugg { list-style: none; margin: 2cqw 0 0; padding: 0; width: 100%; opacity: var(--sugg); }
.g-sugg li { --t: clamp(0, calc(var(--sugg) * 5 - var(--n)), 1); display: flex; align-items: center; gap: 4cqw; padding: 2.8cqw 2cqw; font-size: 3.9cqw; color: #202124; opacity: var(--t); }
.g-sugg li svg { width: 4.2cqw; height: 4.2cqw; flex: none; fill: none; stroke: #9AA0A6; stroke-width: 2.4; }
.g-sugg li b { font-weight: 700; }
.g-res { position: absolute; inset: 0; padding-top: 23cqw; opacity: var(--res); transform: translateY(calc((1 - var(--res)) * 6cqw)); }
.g-head { display: flex; align-items: center; gap: 3cqw; padding: 0 4cqw; }
.g-head .g-logo { font-size: 6.4cqw; margin: 0; opacity: 1; }
.g-head .g-box { height: 9.6cqw; font-size: 3.6cqw; box-shadow: none; border: 1px solid #DFE1E5; }
.g-head .g-box .x { margin-left: auto; color: #70757A; font-size: 4.4cqw; }
.g-tabs { display: flex; gap: 5cqw; padding: 3.4cqw 5cqw 0; border-bottom: 1px solid #E8EAED; font-size: 3.5cqw; color: #5F6368; white-space: nowrap; overflow: hidden; }
.g-tabs span { padding-bottom: 2.4cqw; }
.g-tabs .on { color: #1A73E8; font-weight: 500; border-bottom: 2.5px solid #1A73E8; }
.g-card { padding: 4cqw 5cqw; border-bottom: 6px solid #F1F3F4; position: relative; }
.g-sp { font-size: 3.3cqw; font-weight: 700; color: #202124; margin-bottom: 2.4cqw; }
.g-site { display: flex; align-items: center; gap: 2.6cqw; }
.g-fav { width: 7cqw; height: 7cqw; flex: none; border-radius: 50%; background: #F3E9DC; border: 1px solid #E8EAED; display: grid; place-items: center; }
.g-fav svg { width: 4.2cqw; height: 4.2cqw; fill: none; stroke: #6B4A32; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.g-site b { display: block; font-size: 3.5cqw; font-weight: 400; color: #202124; line-height: 1.2; }
.g-site small { display: block; font-size: 3cqw; color: #4D5156; line-height: 1.3; }
.g-body { display: grid; grid-template-columns: minmax(0, 1fr) 20cqw; gap: 3cqw; margin-top: 2.4cqw; }
.g-title { display: block; color: #1A0DAB; font-size: 4.6cqw; line-height: 1.25; }
.g-desc { margin-top: 1.4cqw; font-size: 3.3cqw; color: #4D5156; line-height: 1.4; }
.g-body img { width: 20cqw; height: 20cqw; object-fit: cover; border-radius: 2.4cqw; }
.g-chips { display: flex; gap: 2cqw; margin-top: 3cqw; white-space: nowrap; overflow: hidden; }
.g-chips span { padding: 1.6cqw 3.4cqw; border: 1px solid #DADCE0; border-radius: 99px; font-size: 3.2cqw; color: #1A0DAB; }
.g-card .tap { left: 22cqw; top: 26cqw; opacity: calc(min(1, var(--tap) * 4) * (1 - var(--sb))); transform: scale(calc(0.5 + var(--tap) * 0.7)); }
.g-org .g-fav { background: #F1F3F4; }
.ln { display: block; height: 2.4cqw; border-radius: 99px; background: #E8EAED; }
.ln.blue { background: #D2DCF7; height: 3.2cqw; }
.g-org .lines { display: grid; gap: 1.8cqw; margin-top: 2.6cqw; }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w40 { width: 40%; } .w30 { width: 30%; }

/* Szene 2: Webseite des Cafés */
.web-view { position: absolute; inset: 0; padding-top: 23cqw; overflow: hidden; }
.web-in { display: flex; flex-direction: column; gap: 5cqw; padding-bottom: 8cqw; transform: translateY(calc(var(--wscroll) * -26cqw)); font-family: var(--font); color: #3B2A1E; }
.w-nav { display: flex; justify-content: space-between; align-items: center; gap: 3cqw; padding: 4cqw 6cqw; }
.w-brand { display: flex; align-items: center; gap: 2.4cqw; font-size: 4.2cqw; font-weight: 600; color: #6B4A32; white-space: nowrap; }
.w-brand svg { width: 6cqw; height: 6cqw; fill: none; stroke: #6B4A32; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.w-nav i { width: 5.4cqw; height: 2px; background: #6B4A32; box-shadow: 0 1.5cqw 0 #6B4A32, 0 -1.5cqw 0 #6B4A32; flex: none; }
.w-hero { position: relative; margin: 0 4cqw; border-radius: 4cqw; overflow: hidden; }
.w-hero img { display: block; width: 100%; height: 62cqw; object-fit: cover; }
.w-hero-txt { position: absolute; inset: auto 0 0 0; padding: 14cqw 5cqw 5cqw; background: linear-gradient(transparent, rgba(30,20,12,.82)); color: #FFFFFF; display: grid; gap: 1.6cqw; }
.w-hero-txt b { font-size: 6cqw; line-height: 1.15; font-weight: 600; }
.w-hero-txt span { font-size: 3.2cqw; opacity: .9; }
.w-btn { position: relative; justify-self: start; margin-top: 2cqw; display: inline-flex; align-items: center; gap: 1.6cqw; background: #B8945A; color: #1E140C; font-size: 3.6cqw; font-weight: 600; padding: 2.8cqw 5cqw; border-radius: 99px; }
.w-btn .tap { left: 50%; top: 50%; margin: -5.5cqw 0 0 -5.5cqw; opacity: calc(var(--btap) * (1 - var(--btap)) * 4); transform: scale(calc(0.5 + var(--btap))); }
.w-h { padding: 0 6cqw; font-size: 4.6cqw; font-weight: 600; }
.w-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3cqw; padding: 0 4cqw; }
.w-cards figure { margin: 0; display: grid; gap: 1.6cqw; }
.w-cards img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3cqw; display: block; }
.w-cards figcaption { font-size: 3.2cqw; font-weight: 600; padding-left: 1cqw; }
.w-info { margin: 0 4cqw; padding: 4.5cqw 5cqw; border-radius: 3cqw; background: #F3E9DC; display: grid; gap: 1.4cqw; font-size: 3.4cqw; }
.w-info b { font-weight: 600; font-size: 3.8cqw; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 12; background: #FFFFFF; border-radius: 6cqw 6cqw 0 0; box-shadow: 0 -10px 30px rgba(13,36,51,.22); padding: 3cqw 6cqw 9cqw; font-family: var(--font); color: #3B2A1E; transform: translateY(calc((1 - var(--sheet)) * 110%)); }
.sheet::before { content: ""; display: block; width: 12cqw; height: 1.2cqw; border-radius: 99px; background: #DADCE0; margin: 0 auto 4cqw; }
.sheet h4 { margin: 0 0 3.5cqw; font-size: 4.8cqw; font-weight: 600; }
.sheet .opt { display: flex; justify-content: space-between; gap: 3cqw; padding: 3.2cqw 0; border-bottom: 1px solid #EFE7DC; font-size: 3.6cqw; }
.sheet .opt span:last-child { font-weight: 600; }
.sheet .go { position: relative; margin-top: 5cqw; display: flex; justify-content: center; align-items: center; gap: 2cqw; padding: 3.6cqw; border-radius: 99px; background: #6B4A32; color: #FFFFFF; font-size: 4cqw; font-weight: 600; transition: background .3s; }
.sheet .go svg { width: 4.4cqw; height: 4.4cqw; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sheet .go .t2 { display: none; }
.reserved .sheet .go { background: #2F6B4A; }
.reserved .sheet .go .t1 { display: none; }
.reserved .sheet .go .t2 { display: inline-flex; align-items: center; gap: 2cqw; }
.sheet .go .tap { left: 50%; top: 50%; margin: -5.5cqw 0 0 -5.5cqw; opacity: calc(var(--ctap) * (1 - var(--ctap)) * 4); transform: scale(calc(0.5 + var(--ctap))); }

/* Szene 3: Instagram */
.ig { font-family: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color: #000000; }
.ig-top { display: flex; align-items: center; justify-content: space-between; padding: 11cqw 4.5cqw 2.6cqw; }
.ig-top b { display: flex; align-items: center; gap: 1.4cqw; font-size: 5cqw; font-weight: 700; }
.ig-top svg { width: 6cqw; height: 6cqw; fill: none; stroke: #000; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ig-prof { display: flex; align-items: center; gap: 5cqw; padding: 2cqw 4.5cqw; }
.ig-av { width: 21cqw; height: 21cqw; flex: none; border-radius: 50%; padding: 0.8cqw; background: conic-gradient(from 200deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); }
.ig-av img { width: 100%; height: 100%; border-radius: 50%; border: 0.9cqw solid #fff; object-fit: cover; display: block; }
.ig-stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.ig-stats b { display: block; font-size: 4.2cqw; font-weight: 700; }
.ig-stats span { font-size: 3.1cqw; }
.ig-bio { padding: 1cqw 4.5cqw 3cqw; font-size: 3.4cqw; line-height: 1.35; }
.ig-bio b { display: block; font-weight: 600; }
.ig-bio span { color: #737373; }
.ig-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8cqw; padding: 0 4.5cqw 3.6cqw; }
.ig-btns span { position: relative; display: grid; place-items: center; height: 8.4cqw; border-radius: 2cqw; font-size: 3.5cqw; font-weight: 600; background: #EFEFEF; }
.ig-btns .follow { background: #0095F6; color: #FFFFFF; transition: background .3s, color .3s; }
.ig-btns .follow .t2 { display: none; }
.followed .ig-btns .follow { background: #EFEFEF; color: #000; }
.followed .ig-btns .follow .t1 { display: none; }
.followed .ig-btns .follow .t2 { display: inline; }
.ig-btns .tap { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.8); left: 50%; top: 50%; margin: -5.5cqw 0 0 -5.5cqw; opacity: calc(var(--ftap) * (1 - var(--ftap)) * 4); transform: scale(calc(0.5 + var(--ftap))); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6cqw; }
.ig-grid img { --t: clamp(0, calc(var(--grid) * 10 - var(--n)), 1); width: 100%; aspect-ratio: 1; object-fit: cover; display: block; opacity: var(--t); transform: scale(calc(0.8 + 0.2 * var(--t))); }
.ig-post { position: absolute; inset: 0; z-index: 12; background: #FFFFFF; padding-top: 11cqw; opacity: min(1, calc(var(--post) * 3)); transform: translateY(calc((1 - var(--post)) * 30cqw)); }
.ig-post .hd { display: flex; align-items: center; gap: 2.6cqw; padding: 2.6cqw 4cqw; font-size: 3.6cqw; font-weight: 600; }
.ig-post .hd img { width: 8.4cqw; height: 8.4cqw; border-radius: 50%; object-fit: cover; }
.ig-post .hd small { display: block; font-weight: 400; font-size: 3cqw; color: #737373; }
.ig-post .pic { position: relative; }
.ig-post .pic img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ig-post .big-heart { position: absolute; left: 50%; top: 50%; width: 26cqw; height: 26cqw; margin: -13cqw 0 0 -13cqw; fill: #FFFFFF; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); opacity: clamp(0, calc(var(--heart) * (1 - var(--heart)) * 6), 1); transform: scale(calc(0.4 + var(--heart) * 0.8)); }
.ig-post .act { display: flex; align-items: center; gap: 4cqw; padding: 3cqw 4cqw 1.4cqw; }
.ig-post .act svg { width: 6.6cqw; height: 6.6cqw; fill: none; stroke: #000; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.ig-post .act .save { margin-left: auto; }
.ig-post .heart { transform: scale(calc(1 + var(--heart) * (1 - var(--heart)) * 1.6)); }
.ig-post .heart path { fill: #FF3040; fill-opacity: var(--heart); stroke: #000; }
.liked .ig-post .heart path { stroke: #FF3040; }
.ig-post .likes { padding: 0 4cqw; font-size: 3.5cqw; font-weight: 600; }
.ig-post .cap { padding: 1cqw 4cqw; font-size: 3.4cqw; line-height: 1.4; }
.ig-post .cap b, .ig-post .cm b { font-weight: 600; }
.ig-post .cm { padding: 1cqw 4cqw; font-size: 3.4cqw; opacity: var(--comment); transform: translateY(calc((1 - var(--comment)) * 3cqw)); }

/* Szene 4: Druck */
.flyer { position: absolute; left: 53%; top: 50%; width: min(42cqw, 250px); aspect-ratio: 1 / 1.414; container-type: inline-size; background: #F3E9DC; color: #3B2A1E; border-radius: 3px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 30px 60px -24px rgba(13,36,51,.55);
  opacity: calc(min(1, var(--fly) * 3) * (1 - var(--fade))); transform: translate(calc((1 - var(--fly)) * 130%), -50%) rotate(calc(6deg + (1 - var(--fly)) * 16deg)) scale(calc(1 - var(--fade) * 0.25)); }
.flyer img { display: block; width: 100%; height: 34%; object-fit: cover; }
.flyer .fl-in { flex: 1; padding: 7cqw 8cqw; display: flex; flex-direction: column; gap: 3.6cqw; font-family: var(--font); }
.flyer b { font-size: 9.6cqw; font-weight: 600; line-height: 1.05; }
.flyer .sub { font-size: 4.4cqw; letter-spacing: .24em; text-transform: uppercase; color: #6B4A32; padding-bottom: 3cqw; border-bottom: 1.5px solid var(--gold); }
.flyer .item { display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; font-size: 5cqw; }
.flyer .item::after { content: ""; flex: 1; order: 1; border-bottom: 1.5px dotted #B9A58C; }
.flyer .item i { order: 2; width: 9cqw; height: 2.4cqw; border-radius: 99px; background: #D9C3A5; }
.flyer .foot { margin-top: auto; font-size: 4.2cqw; color: #6B4A32; }
.bcard { position: absolute; left: 22%; top: 70%; width: min(36cqw, 210px); aspect-ratio: 85 / 55; container-type: inline-size; background: #6B4A32; color: #F3E9DC; border-radius: 4px; padding: 7% 8%;
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 40px -18px rgba(13,36,51,.6); font-family: var(--font);
  opacity: calc(min(1, var(--card) * 3) * (1 - var(--fade))); transform: translateY(calc((1 - var(--card)) * 180%)) rotate(-5deg) scale(calc(1 - var(--fade) * 0.25)); }
.bcard svg { width: 12cqw; height: 12cqw; stroke: #F3E9DC; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bcard b { font-size: 8.6cqw; font-weight: 600; }
.bcard span { font-size: 5.6cqw; opacity: .85; }

/* Szene 5: Karte */
.map { position: absolute; left: 50%; top: 50%; width: min(96cqw, 96cqh, 580px); aspect-ratio: 1; translate: -50% -50%; opacity: var(--map); transform: scale(calc(0.9 + 0.1 * var(--map))); overflow: visible; }
.map .street { stroke: var(--line); stroke-width: 1.2; fill: none; opacity: .8; }
.map .river { stroke: var(--river); stroke-width: 34; fill: none; stroke-linecap: round; }
.map .river-line { stroke: var(--gold); stroke-width: 1.6; fill: none; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--river-d)); }
.map .river-name { fill: var(--muted); font: italic 300 13px var(--font); letter-spacing: .2em; }
.map .route { stroke: var(--gold); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--route)); }
.map .walker { fill: var(--ink); opacity: calc(min(1, var(--route) * 30) * (1 - var(--pin))); }
.map .pin { transform-box: fill-box; transform-origin: 50% 100%; opacity: var(--pin); transform: translateY(calc((1 - var(--pin)) * -40px)) scale(calc(0.6 + 0.4 * var(--pin))); }
.map .pin path { fill: var(--ink); }
.map .pin circle { fill: var(--gold); }
.map .pin-label { opacity: clamp(0, calc(var(--pin) * 2 - 1), 1); }
.map .pin-label rect { fill: var(--paper); stroke: var(--line); }
.map .pin-label text { fill: var(--ink); font: 600 13px var(--font); }
.map .pin-label .small { font: 300 11px var(--font); fill: var(--muted); }

@media (max-width: 900px) {
  .journey { --dx: -32%; }
  .journey.live { height: 600vh; }
  .journey.live .j-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "top" "vis" "text"; row-gap: 16px; padding-block: 14px 22px; }
  .journey.live .j-top h2 { display: none; }
  .journey.live .j-top { gap: 4px; max-width: none; }
  .journey.live .j-step { gap: 4px; }
  .journey.live .j-step h3 { font-size: 20px; }
  .journey.live .j-step p { font-size: 14.5px; line-height: 1.5; }
  .j-rail li { font-size: 9.5px; letter-spacing: .04em; }
  .flyer { left: 50%; }
  .bcard { left: 14%; top: 66%; }
}
@media (max-width: 900px) and (max-height: 700px) { .journey.live .j-step p { display: none; } }

/* Goldener Faden durch die restliche Seite */
#thread { position: absolute; left: 0; top: 0; width: 100%; height: 0; pointer-events: none; z-index: 3; overflow: visible; }
#thread-path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; opacity: .8; }
#thread-end, #thread-ring { opacity: 0; transition: opacity .4s; }
#thread-end { fill: var(--gold); }
#thread-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
#thread.done #thread-end { opacity: 1; }
#thread.done #thread-ring { opacity: 1; animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
