@font-face {
  font-family: 'Figtree';
  src: url('fonts/figtree-latin.woff2') format('woff2');
  font-weight: 500 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  src: url('fonts/figtree-latin-ext.woff2') format('woff2');
  font-weight: 500 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #2E2B25;
  --ink-2: #645C50;
  --cream: #FAF6F0;
  --sand: #F1E6D4;
  --terra: #C67139;
  --hero: #A85A27;
  --dark: #8C491A;
  --yel: #FFC857;
  --sport: #7A8A5E; --sport-bg: #E1EECC; --sport-ink: #272E1B;
  --wellness: #8A5A72; --wellness-bg: #F3E4EA; --wellness-ink: #4A2E3C;
  --erlebnis: #4E7F86; --erlebnis-bg: #DFEEEE; --erlebnis-ink: #25464A;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Figtree, system-ui, sans-serif; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--yel); color: var(--ink); padding: 8px 14px; border-radius: 12px; font-weight: 800; }
.skip:focus { left: 8px; }
em { font-style: normal; color: var(--terra); }

/* ------------------------------------------------ Reise */
#journey { position: relative; height: 1100vh; }
#stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
#world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hud { position: absolute; left: 0; right: 0; top: calc(12px + var(--safe-t)); padding: 0 16px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; z-index: 3; }
.hud-lv, .hud-things { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 14px 6px 6px; box-shadow: 0 4px 16px rgba(46, 43, 37, .12); }
.hud-lv img { width: 34px; height: 34px; border-radius: 50%; background: var(--sand); padding: 3px; }
.hud-meta { display: flex; flex-direction: column; gap: 4px; }
.hud-row { display: flex; gap: 10px; align-items: center; font-size: 13px; white-space: nowrap; }
.hud-row b { font-weight: 900; letter-spacing: -.01em; }
.fed { display: inline-flex; align-items: center; gap: 3px; font-weight: 900; color: var(--terra); }
.fed svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hud-bar { width: 120px; height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.hud-bar i { display: block; height: 100%; background: var(--terra); transform-origin: 0 50%; transform: scaleX(0); border-radius: 6px; }
.hud-things { padding: 11px 12px; gap: 7px; }
.hud-dot { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid currentColor; transition: background .3s, transform .3s; }
.hud-dot.sport { color: var(--sport); } .hud-dot.wellness { color: var(--wellness); } .hud-dot.erlebnis { color: var(--erlebnis); }
.hud-dot.on { background: currentColor; transform: scale(1.15); }
.night .hud-lv, .night .hud-things { background: #3A3630; color: var(--cream); box-shadow: none; }
.night .hud-bar { background: #4A443A; }

/* Textblöcke im Post-Stil */
.copy { color: var(--ink); }
.copy h1, .copy h2 { margin: 0; font-weight: 900; letter-spacing: -.045em; line-height: .98; font-size: clamp(38px, 10.5vw, 64px); }
.copy p { margin: 12px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink-2); max-width: 30em; }
.night .copy, .copy.light { color: var(--cream); }
.night .copy p { color: #C0B6A5; }
.night .copy em { color: var(--yel); }
.copy.light em { color: var(--yel); }
.copy.warm em { color: #FFFFFF; }
.copy.light h2, .copy.light h1 { text-shadow: 0 2px 0 rgba(140, 73, 26, .35); }
.copy.light p { color: #FFF1DF; }

.pill { display: inline-block; margin-bottom: 12px; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: .01em; }
.pill.sport { background: var(--sport); color: #fff; } .pill.wellness { background: var(--wellness); color: #fff; } .pill.erlebnis { background: var(--erlebnis); color: #fff; }
.night .pill { background: var(--yel); }

#title { position: absolute; left: 20px; right: 20px; top: calc(84px + var(--safe-t)); z-index: 2; pointer-events: none; }
.wm { font-size: 30px; font-weight: 900; letter-spacing: -.045em; line-height: 1; color: var(--cream); margin-bottom: 18px; display: inline-flex; }
.wm .i { position: relative; display: inline-block; }
.wm .i svg { position: absolute; left: 50%; top: -.04em; width: .3em; height: .36em; transform: translateX(-50%); }
#hint { position: absolute; left: 0; right: 0; bottom: calc(46px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; pointer-events: none; color: var(--yel); font-weight: 900; font-size: 14px; }
#hint i { width: 14px; height: 14px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px) rotate(45deg); } }

.beats { position: absolute; left: 20px; right: 20px; top: calc(84px + var(--safe-t)); z-index: 2; pointer-events: none; }
.beat { position: absolute; left: 0; right: 0; top: 0; }

/* ------------------------------------------------ Flash-Tweens */
:root { --boing: cubic-bezier(.34, 1.7, .5, 1); --soft: cubic-bezier(.2, .8, .2, 1); }
.beat, #title, #cta { visibility: hidden; transition: visibility 0s .35s; }
.beat.on, #title.on, #cta.on { visibility: visible; transition: none; }
/* Wörter */
.copy .w { display: inline-block; opacity: 0; transform: translateY(.45em) scale(.5) rotate(-6deg); transform-origin: 50% 90%;
  transition: transform .26s ease-in, opacity .2s ease-in; }
.copy.on .w { opacity: 1; transform: none; transition: transform .62s var(--boing), opacity .2s; transition-delay: calc(var(--i) * 70ms); }
/* Pille, Fließtext, Karte */
.copy .pill { transform: scale(0) rotate(-8deg); transition: transform .22s ease-in; }
.copy.on .pill { transform: none; transition: transform .55s var(--boing); }
.copy p, .copy .stores { opacity: 0; transform: translateY(14px); transition: opacity .2s, transform .2s ease-in; }
.copy.on p, .copy.on .stores { opacity: 1; transform: none; transition: opacity .4s, transform .6s var(--soft); transition-delay: calc(var(--n, 3) * 70ms + .1s); }
.copy .task { opacity: 0; transform: translateX(-60px) rotate(-3deg) scale(.9); transition: opacity .2s, transform .25s ease-in; }
.copy.on .task { opacity: 1; transform: none; transition: opacity .3s, transform .7s var(--boing); transition-delay: calc(var(--n, 3) * 70ms + .15s); }
.copy:not(.on) .w, .copy:not(.on) .pill, .copy:not(.on) p, .copy:not(.on) .task, .copy:not(.on) .stores { transition-delay: 0s; }

/* Level-up-Banner */
#toast { position: absolute; left: 50%; top: 46%; z-index: 4; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--yel); color: var(--ink); border-radius: 26px; padding: 12px 22px 14px; box-shadow: 0 10px 30px rgba(46, 43, 37, .25);
  transform: translate(-50%, -50%) scale(0); opacity: 0; }
#toast small { font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--hero); }
#toast b { font-size: 24px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
#toast span { font-size: 14px; font-weight: 800; color: var(--hero); }
#toast.show { animation: toast 1.9s var(--soft) forwards; }
@keyframes toast {
  0% { transform: translate(-50%, -50%) scale(0) rotate(-10deg); opacity: 1; }
  18% { transform: translate(-50%, -50%) scale(1.18) rotate(3deg); opacity: 1; }
  28% { transform: translate(-50%, -50%) scale(.94) rotate(-1deg); }
  36%, 72% { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }
  100% { transform: translate(-50%, -140%) scale(.7); opacity: 0; }
}
.hud-lv.bump { animation: bump .6s var(--boing); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.12, .9); } 60% { transform: scale(.96, 1.05); } 100% { transform: none; } }
.hud-dot { transition: background .3s, transform .45s var(--boing); }

/* Abschnitte unten */
.reveal > * { opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .4s, transform .8s var(--boing); }
.reveal.in > * { opacity: 1; transform: none; }
.reveal.in > :nth-child(2) { transition-delay: .08s; } .reveal.in > :nth-child(3) { transition-delay: .16s; }
.reveal.in > :nth-child(4) { transition-delay: .24s; } .reveal.in > :nth-child(5) { transition-delay: .32s; }
.reveal .task, .reveal li { opacity: 0; transform: translateX(-30px); transition: opacity .3s, transform .6s var(--boing); }
.reveal.in .task, .reveal.in li { opacity: 1; transform: none; }
.reveal.in .task:nth-child(2), .reveal.in li:nth-child(2) { transition-delay: .3s; } .reveal.in .task:nth-child(3), .reveal.in li:nth-child(3) { transition-delay: .38s; }
.reveal.in li:nth-child(4) { transition-delay: .46s; } .reveal.in li:nth-child(5) { transition-delay: .54s; } .reveal.in li:nth-child(6) { transition-delay: .62s; } .reveal.in li:nth-child(7) { transition-delay: .7s; }
.reveal.in .task, .reveal.in li:first-child { transition-delay: .22s; }

.task { display: flex; align-items: center; gap: 14px; margin-top: 16px; background: #fff; border-radius: 26px; padding: 12px 16px 12px 12px; box-shadow: 0 6px 22px rgba(46, 43, 37, .1); max-width: 440px; }
.task .tile { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; flex-shrink: 0; }
.task .tile svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.task b { display: block; font-size: 20px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.task small { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.3; margin-top: 2px; }
.task em { display: block; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.task.sport .tile { background: var(--sport); } .task.sport b, .task.sport em { color: var(--sport-ink); }
.task.wellness .tile { background: var(--wellness); } .task.wellness b, .task.wellness em { color: var(--wellness-ink); }
.task.erlebnis .tile { background: var(--erlebnis); } .task.erlebnis b, .task.erlebnis em { color: var(--erlebnis-ink); }
.task .ok { margin-left: auto; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 3px solid var(--sand); color: transparent; display: grid; place-items: center; font-weight: 900; font-size: 18px; transition: all .25s cubic-bezier(.3, 1.6, .5, 1); }
.done .task .ok { background: var(--terra); border-color: var(--terra); color: #fff; animation: check .55s var(--boing); }
@keyframes check { 0% { transform: scale(.3) rotate(-30deg); } 100% { transform: none; } }

#cta { position: absolute; left: 20px; right: 20px; top: calc(96px + var(--safe-t)); z-index: 3; }
#cta .pill { background: var(--yel); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 18px 8px 14px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store:focus-visible { outline: 3px solid var(--yel); outline-offset: 3px; }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; font-size: 18px; font-weight: 800; line-height: 1.05; }
.store small { font-size: 11px; font-weight: 700; opacity: .8; }

.foot { position: absolute; left: 20px; right: 20px; bottom: calc(14px + var(--safe-b)); display: flex; align-items: center; gap: 14px; z-index: 3; }
.prog { flex: 1; height: 5px; border-radius: 5px; background: rgba(46, 43, 37, .14); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.skipbtn { font-size: 13px; font-weight: 800; color: var(--ink); text-decoration: none; padding: 8px 4px; opacity: .7; }
.night .prog { background: rgba(250, 246, 240, .15); } .night .prog i { background: var(--yel); } .night .skipbtn { color: var(--cream); }

/* ------------------------------------------------ Inhalt */
.sec { padding: 64px 20px; }
.sec > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.sec h2 { margin-top: 0; margin-bottom: 24px; font-weight: 900; letter-spacing: -.045em; line-height: .98; font-size: clamp(36px, 9vw, 56px); }
.sec .pill { background: var(--sand); }
.sec > .pill { display: table; margin-left: max(0px, calc((100% - 760px) / 2)); }
.tasks { display: grid; gap: 12px; }
.tasks .task { margin: 0; max-width: none; }
.note { color: var(--ink-2); font-weight: 600; font-size: 16px; margin-top: 18px; }
.terra { background: var(--hero); color: var(--cream); }
.terra em { color: var(--yel); }
.terra .pill { background: rgba(255, 255, 255, .15); color: var(--cream); }
.terra .note { color: #F4D9C4; }
.ladder { list-style: none; padding: 0; display: grid; gap: 8px; }
.ladder li { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); font-size: 18px; }
.ladder b { font-weight: 900; }
.ladder span { font-weight: 900; color: var(--yel); }
.ladder span::after { content: ' Federn'; font-weight: 700; opacity: .7; font-size: 13px; }
.ladder li.top { background: var(--yel); color: var(--ink); }
.ladder li.top span { color: var(--hero); }
.cream { background: var(--sand); }
.cream .pill { background: #fff; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding: 16px 18px 16px 56px; border-radius: 20px; background: #fff; color: var(--ink-2); font-weight: 600; }
.checks li::before { content: '✓'; position: absolute; left: 16px; top: 15px; width: 26px; height: 26px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.checks b { color: var(--ink); font-weight: 900; }
.yel { background: var(--yel); }
.yel em { color: var(--hero); }
.final { text-align: center; padding-bottom: 80px; }
.final img { width: 150px; height: auto; }
.final .stores { justify-content: center; }
.footer { text-align: center; padding: 28px 16px calc(28px + var(--safe-b)); color: var(--ink-2); font-size: 14px; font-weight: 600; background: var(--cream); }
.footer p { margin: 4px 0; }

@media (min-width: 760px) {
  .tasks { grid-template-columns: repeat(3, 1fr); }
  .hud { padding: 0 28px; }
  #title, .beats, #cta { left: 8vw; right: auto; width: min(560px, 46vw); }
}
@media (prefers-reduced-motion: reduce) {
  #hint i, #toast.show, .hud-lv.bump { animation: none; }
  .copy .w, .copy .pill, .copy p, .copy .task, .copy .stores, .reveal > *, .reveal .task, .reveal li { transition: opacity .2s !important; transform: none !important; }
}
