@font-face { font-family: Fraunces; src: url(fonts/Fraunces-700.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: Fraunces; src: url(fonts/Fraunces-Italic-500.woff) format("woff"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: Garamond; src: url(fonts/Garamond-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: Garamond; src: url(fonts/Garamond-650.woff) format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: Garamond; src: url(fonts/Garamond-Italic-400.woff) format("woff"); font-style: italic; font-display: swap; }
@font-face { font-family: Caveat; src: url(fonts/Caveat-600.woff) format("woff"); font-display: swap; }

:root {
  --tanne: #192E19; --tanne-2: #1E4A37; --nacht: #0E1626; --rot: #A3222B; --rot-hell: #C4343C;
  --gold: #E2B867; --gold-tief: #C8913A; --creme: #FBF4E6; --papier: #F3E8D2; --tinte: #2A2018; --braun: #3E2614;
  --schrift: Garamond, Georgia, serif; --titel: Fraunces, Georgia, serif; --hand: Caveat, "Comic Sans MS", cursive;
  --rand: clamp(16px, 5vw, 64px); --breit: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tanne); color: #F6ECD8; font-family: var(--schrift); font-size: clamp(18px, 1.05rem + .25vw, 21px); line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { font-family: var(--titel); font-weight: 700; line-height: 1.06; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 2rem + 2.4vw, 64px); }
h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
p { margin: 0 0 1em; }
a { color: inherit; }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--tinte); padding: 8px 14px; z-index: 50; }
.sprung:focus { left: 8px; }
.kick { font-family: var(--titel); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 700; }
.kick.rot { color: var(--rot); }
.hand { font-family: var(--hand); font-size: 1.45em; color: var(--gold); line-height: 1.2; }
.hand.gross { font-size: 2em; }
.klein { font-size: .82em; opacity: .8; }
.lead { font-size: 1.15em; max-width: 36em; }
.innen { width: min(var(--breit), 100% - 2 * var(--rand)); margin: 0 auto; }
.innen.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
section.hell { background: var(--creme); color: var(--tinte); }
section.hell .hand { color: var(--rot); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(#C4343C, #A3222B); color: #fff; font-family: var(--titel); font-weight: 700; font-size: 19px; text-decoration: none; padding: 16px 30px; border-radius: 999px; box-shadow: 0 4px 0 #6E1219, 0 12px 28px rgba(0,0,0,.35); transition: transform .15s, box-shadow .15s; min-height: 48px; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #6E1219, 0 16px 34px rgba(0,0,0,.4); }
.knopf:active { transform: translateY(3px); box-shadow: 0 1px 0 #6E1219, 0 6px 14px rgba(0,0,0,.3); }
.knopf.klein { font-size: 16px; padding: 10px 20px; white-space: nowrap; flex: none; }
.text-link { color: var(--rot); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.sichtbar { opacity: 1; transform: none; }

/* ---------- 1 Bühne ---------- */
.buehne { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; padding: 0 var(--rand); overflow: hidden; background: radial-gradient(ellipse at 70% 40%, #24452A 0%, var(--tanne) 60%); }
.schnee { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.buehne-bild { grid-column: 2; grid-row: 1; height: 100svh; position: relative; z-index: 1; transform: translateY(calc(var(--p, 0) * 12%)) scale(calc(1 + var(--p, 0) * .12)); }
.buehne-bild img { height: 100%; width: auto; max-width: none; position: absolute; left: 50%; top: 0; transform: translateX(-50%); -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 55%, transparent 100%); }
.buehne-text { grid-column: 1; grid-row: 1; position: relative; z-index: 4; max-width: 600px; transform: translateY(calc(var(--p, 0) * -18%)); opacity: calc(1 - var(--p, 0) * 1.4); }
.buehne h1 { font-size: clamp(48px, 2rem + 5.4vw, 104px); color: #fff; background: linear-gradient(180deg, #FFF2C9 0%, #E2B867 55%, #B8822F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(0,0,0,.25)); }
.h1-klein { font-style: italic; font-weight: 500; font-size: .62em; color: #FFF4E4; -webkit-text-fill-color: #FFF4E4; }
.unterzeile { font-size: 1.3em; color: #F1E4CC; max-width: 24em; }
.fakten { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--titel); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.fakten li::before { content: "★ "; color: var(--rot-hell); }
.fakten li:first-child::before { content: ""; }
.kauf { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.preis { margin: 0; display: grid; }
.preis b { font-family: var(--titel); font-size: 34px; color: #fff; }
.preis span { font-size: 15px; opacity: .75; }
.scroll-hinweis { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4; font-family: var(--hand); font-size: 22px; color: var(--gold); margin: 0; animation: wippen 2.4s ease-in-out infinite; white-space: nowrap; }
@keyframes wippen { 50% { transform: translate(-50%, 6px); } }

/* ---------- 2 roter Knopf ---------- */
.knopf-akt { height: 260vh; padding: 0; background: linear-gradient(var(--tanne), #241016 40%, #2A0F14); }
.klebe { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.knopf-akt .klebe { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; padding: 0 var(--rand); max-width: 1300px; margin: 0 auto; }
.knopf-bild { height: 82svh; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.6); transform: rotate(calc(-2deg + var(--p, 0) * 2deg)) scale(calc(.94 + var(--p, 0) * .06)); position: relative; }
.knopf-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.knopf-bild::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 34% 62%, rgba(255,40,40,.0), rgba(255,40,40,0) 40%); animation: alarm 1.2s ease-in-out infinite; opacity: var(--alarm, 0); }
@keyframes alarm { 50% { background: radial-gradient(circle at 34% 62%, rgba(255,40,40,.35), rgba(255,40,40,0) 45%); } }
.knopf-text h2 { font-size: clamp(30px, 1.6rem + 2.2vw, 56px); }
.zeile { opacity: .12; transition: opacity .5s; font-size: 1.1em; }
.zeile.an { opacity: 1; }
.riegel { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin: 18px 0 8px; max-width: 460px; }
.riegel i { height: 34px; border-radius: 4px; background: #3A1A1E; border: 1px solid #5A2A2E; position: relative; overflow: hidden; }
.riegel i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 140%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #E2B867, #B8822F); transform: translate(-130%, -50%); transition: transform .35s cubic-bezier(.5,1.8,.5,1); }
.riegel i.zu::after { transform: translate(-50%, -50%); }
.riegel i.zu { background: #4A2026; }
.riegel-zahl { font-family: var(--titel); color: var(--gold); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.riegel-zahl b { font-size: 1.6em; color: #fff; }

/* ---------- 3 Dezembermorgen ---------- */
.morgen-vergleich { text-align: center; }
.morgen-vergleich .lead { margin: 0 auto 40px; }
.paar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; max-width: 980px; margin: 0 auto; }
.karte { margin: 0; background: #fff; padding: 14px 14px 22px; border-radius: 6px; box-shadow: 0 18px 40px rgba(60,30,10,.18); text-align: left; }
.karte figcaption { padding: 18px 8px 0; font-size: .98em; }
.karte figcaption b { font-family: var(--titel); display: block; font-size: 1.25em; margin-bottom: 4px; }
.karte.schoko { transform: rotate(-2deg); }
.karte.bild { transform: rotate(1.6deg); }
.karte.schoko.sichtbar { transform: rotate(-2deg); } .karte.bild.sichtbar { transform: rotate(1.6deg); }
.karte img { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: 3px; }
.schoko-tuer { aspect-ratio: 4/5; border-radius: 3px; background: repeating-linear-gradient(45deg, #2B5A3E 0 18px, #23503A 18px 36px); display: grid; place-items: center; position: relative; perspective: 600px; }
.schoko-tuer span { width: 46%; aspect-ratio: 1; background: #5A2E1C; border-radius: 6px; box-shadow: inset 0 0 0 6px #4A2414, inset 0 0 0 12px #6B3A24; display: grid; place-items: center; font-family: var(--titel); font-size: 0; }
.schoko-tuer i { position: absolute; width: 46%; aspect-ratio: 1; background: #E9D9B4; border: 3px dashed #B9A06C; border-radius: 6px; transform-origin: left center; transform: rotateY(-62deg); box-shadow: 8px 0 20px rgba(0,0,0,.25); }
.schoko-tuer i::after { content: "7"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--titel); font-size: 48px; color: var(--rot); }
.siegel { width: 96px; height: 96px; margin: 0 -26px; z-index: 2; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #D4434B, #8E1A22 70%); box-shadow: 0 6px 16px rgba(0,0,0,.35), inset 0 -4px 8px rgba(0,0,0,.3); display: grid; place-items: center; position: relative; }
.siegel::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid rgba(255,220,200,.35); }
.siegel span { font-family: var(--hand); color: #FFE9D6; font-size: 30px; transform: rotate(-8deg); }
.nachsatz { font-family: var(--hand); font-size: 2em; color: var(--rot); margin-top: 48px; }

/* ---------- 4 Tageslauf ---------- */
.tageslauf { height: 240vh; padding: 0; }
.tag-himmel { position: absolute; inset: 0; background: linear-gradient(180deg, #F6D9A6, #F3E8D2 60%); }
.tag-himmel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0B1428, #17233F 60%, #22305A); opacity: var(--nacht, 0); }
.tag-innen { position: relative; height: 100%; display: grid; grid-template-columns: 1.1fr 1fr; gap: 5vw; align-items: center; padding: 0 var(--rand); max-width: 1300px; margin: 0 auto; color: color-mix(in srgb, #F6ECD8 calc(var(--nacht, 0) * 100%), var(--tinte)); }
.tageslauf .kick { color: color-mix(in srgb, var(--gold) calc(var(--nacht, 0) * 100%), var(--rot)); }
.tageslauf h2 { font-size: clamp(30px, 1.6rem + 2.2vw, 58px); }
.tz-morgen, .tz-abend { transition: opacity .4s; }
.tz-abend { opacity: var(--nacht, 0); } .tz-morgen { opacity: calc(1 - var(--nacht, 0) * .7); }
.tag-wechsel { position: relative; min-height: 140px; }
.tw { position: absolute; inset: 0; transition: opacity .5s, transform .5s; }
.tw-kopf { font-family: var(--titel); font-weight: 700; font-size: 1.3em; margin-bottom: 6px; }
.tw.abend { opacity: 0; transform: translateY(14px); }
.tageslauf.ist-abend .tw.morgen { opacity: 0; transform: translateY(-14px); }
.tageslauf.ist-abend .tw.abend { opacity: 1; transform: none; }
.tag-regel { font-family: var(--hand); font-size: 1.5em; margin-top: 18px; color: color-mix(in srgb, var(--gold) calc(var(--nacht, 0) * 100%), var(--rot)); }
.tag-bilder { position: relative; height: 72svh; aspect-ratio: 4/5; max-width: 100%; justify-self: center; }
.tb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: 0 26px 60px rgba(0,0,0,.35); }
.tb.abend { opacity: var(--nacht, 0); transform: scale(calc(1.06 - var(--nacht, 0) * .06)); }
.tb.morgen { transform: scale(calc(1 + var(--nacht, 0) * .05)); }

/* ---------- 5 Blick ins Buch ---------- */
.blick { text-align: center; overflow: hidden; }
.blick .lead { margin: 0 auto; }
.faecher { display: flex; justify-content: center; gap: 0; margin-top: 50px; padding: 0 var(--rand) 30px; }
.seite { border: 0; padding: 0; background: none; cursor: zoom-in; width: clamp(150px, 20vw, 260px); margin: 0 -2.2vw; position: relative; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .8s; font: inherit; color: var(--tinte); }
.seite img { border-radius: 4px; box-shadow: 0 16px 40px rgba(60,30,10,.25); }
.seite span { display: block; font-family: var(--hand); font-size: 22px; margin-top: 10px; color: var(--rot); }
.seite:nth-child(1).sichtbar { transform: rotate(-9deg) translateY(30px); } .seite:nth-child(2).sichtbar { transform: rotate(-4deg) translateY(8px); }
.seite:nth-child(3).sichtbar { transform: rotate(0deg); z-index: 2; } .seite:nth-child(4).sichtbar { transform: rotate(4deg) translateY(8px); }
.seite:nth-child(5).sichtbar { transform: rotate(9deg) translateY(30px); }
.seite:hover, .seite:focus-visible { transform: translateY(-24px) rotate(0) scale(1.05) !important; z-index: 5; }
.seite:nth-child(2) { transition-delay: .08s; } .seite:nth-child(3) { transition-delay: .16s; } .seite:nth-child(4) { transition-delay: .24s; } .seite:nth-child(5) { transition-delay: .32s; }
.leuchtkasten { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96svh; overflow: visible; }
.leuchtkasten::backdrop { background: rgba(10,14,20,.86); }
.leuchtkasten img { max-height: 90svh; width: auto; border-radius: 4px; }
.leuchtkasten button { position: absolute; background: var(--creme); color: var(--tinte); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.lk-zu { top: -14px; right: -14px; } .lk-vor { left: -24px; top: 50%; } .lk-nach { right: -24px; top: 50%; }

/* ---------- 6 Lupe ---------- */
.lupen-akt { background: var(--papier) !important; }
.lupen-blatt { position: relative; box-shadow: 0 20px 50px rgba(60,30,10,.25); border-radius: 4px; overflow: hidden; touch-action: none; cursor: none; max-width: 520px; justify-self: center; }
.lupe { position: absolute; width: 190px; height: 190px; left: 0; top: 0; border-radius: 50%; border: 9px solid #C8913A; box-shadow: 0 0 0 3px #8A5E22, 0 14px 30px rgba(0,0,0,.4), inset 0 0 20px rgba(255,255,255,.4); background-repeat: no-repeat; pointer-events: none; transform: translate(-50%, -50%); }
.lupe .griff { position: absolute; width: 26px; height: 90px; background: linear-gradient(90deg, #5A3A22, #8A5E3A, #5A3A22); border-radius: 12px; left: 72%; top: 88%; transform: rotate(-42deg); transform-origin: top center; }

/* ---------- 7 Rätsel ---------- */
.raetsel-akt { background: radial-gradient(ellipse at 50% 0%, #2C5A3A, var(--tanne) 70%); text-align: center; }
.raetsel-akt .lead { margin: 0 auto 36px; color: #F1E4CC; }
.tafel-rahmen { position: relative; max-width: 940px; margin: 0 auto; padding: clamp(18px, 3vw, 34px); border-radius: 20px; background: linear-gradient(#6B4428, #4E3019); box-shadow: inset 0 0 0 6px #8A5E3A, inset 0 0 0 9px #3E2614, 0 30px 70px rgba(0,0,0,.5); }
.tafel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.klappe { font: inherit; font-size: 16px; line-height: 1.3; text-align: left; color: var(--tinte); background: linear-gradient(#F7EDD8, #E9D7B2); border: 0; border-radius: 10px; padding: 12px 12px 14px; min-height: 120px; cursor: pointer; box-shadow: 0 4px 0 #B49A68, 0 8px 16px rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s, background .3s; position: relative; transform-origin: top center; }
.klappe b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rot); color: #fff; font-family: var(--titel); font-size: 18px; margin-bottom: 8px; }
.klappe:hover { transform: translateY(-3px); }
.klappe.falsch { animation: wackeln .5s; background: linear-gradient(#EAD8D2, #D9BDB4); }
.klappe.falsch b { background: #6E5A50; }
@keyframes wackeln { 20%,60% { transform: translateX(-6px) rotate(-1deg); } 40%,80% { transform: translateX(6px) rotate(1deg); } }
.klappe.richtig { background: linear-gradient(#FFF2C9, #E2B867); animation: aufklappen 1s ease forwards; }
@keyframes aufklappen { 40% { transform: rotateX(-70deg); } 100% { transform: rotateX(0); } }
.regeln { margin-top: 18px; background: var(--creme); color: var(--tinte); border-radius: 10px; padding: 14px 20px; text-align: left; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.regeln .hand { color: var(--rot); margin: 0; font-size: 1.3em; }
.regeln ul { margin: 0; padding-left: 20px; }
.schloss { position: absolute; right: -34px; top: -56px; width: 96px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.schloss .buegel { transition: transform .6s cubic-bezier(.5,1.8,.5,1); transform-origin: 90px 70px; }
.schloss .buchstabe { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%) scale(0); font-family: var(--titel); font-size: 44px; color: #fff; text-shadow: 0 0 18px #FFD27A, 0 0 40px #FFB23A; transition: transform .6s .3s cubic-bezier(.5,1.8,.5,1); }
.raetsel-akt.offen .schloss .buegel { transform: translateY(-16px) rotate(28deg); }
.raetsel-akt.offen .schloss .buchstabe { transform: translate(-50%, -150%) scale(1); }
.rueckmeldung { min-height: 1.6em; margin: 22px auto 0; font-family: var(--hand); font-size: 1.6em; color: var(--gold); max-width: 30em; }
.tipps { max-width: 720px; margin: 30px auto 0; text-align: left; }
.tipps .hand { text-align: center; }
details { background: rgba(255,255,255,.06); border: 1px solid rgba(226,184,103,.35); border-radius: 12px; margin-bottom: 10px; }
details summary { cursor: pointer; padding: 14px 18px; font-family: var(--titel); font-weight: 700; list-style: none; min-height: 48px; display: flex; align-items: center; }
details summary::before { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--tinte); margin-right: 12px; flex: none; transition: transform .3s; }
details[open] summary::before { transform: rotate(45deg); }
details p { padding: 0 18px 16px 56px; margin: 0; }
.geschafft { max-width: 720px; margin: 40px auto 0; padding: 34px clamp(20px, 4vw, 44px); background: var(--creme); color: var(--tinte); border-radius: 16px; box-shadow: 0 0 0 3px var(--gold), 0 0 80px rgba(226,184,103,.45); animation: auftauchen .8s ease; }
.geschafft .kick { color: var(--rot); }
.geschafft h3 { font-size: clamp(28px, 1.4rem + 1.6vw, 44px); }
.geschafft h3 span { color: var(--gold-tief); font-size: 1.3em; }
.geschafft .hand { color: var(--rot); }
@keyframes auftauchen { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* ---------- 8 Figuren ---------- */
.figuren { text-align: center; }
.figuren .lead { margin: 0 auto 40px; }
.fig-reihe { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.fig { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; perspective: 900px; aspect-ratio: 3/4; position: relative; }
.fig .vorn, .fig .hinten { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; transition: transform .7s cubic-bezier(.2,.7,.2,1); box-shadow: 0 14px 34px rgba(60,30,10,.2); }
.fig .vorn { background: #fff; padding: 12px; display: flex; flex-direction: column; }
.fig .vorn img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.fig .vorn b { font-family: var(--titel); font-size: 1.15em; margin: auto 0; padding-top: 8px; }
.fig .hinten { background: var(--tanne-2); color: #F6ECD8; padding: 18px; transform: rotateY(180deg); text-align: left; font-size: .9em; line-height: 1.4; overflow: auto; }
.fig .hinten b { display: block; font-family: var(--titel); color: var(--gold); font-size: 1.2em; margin-bottom: 8px; }
.fig.um .vorn { transform: rotateY(-180deg); } .fig.um .hinten { transform: rotateY(0); }

/* ---------- 9 Für wen ---------- */
.fuer-wen { background: linear-gradient(var(--tanne), #142614); }
.wen-liste { list-style: none; padding: 0; margin: 0; }
.wen-liste li { padding: 16px 0 16px 40px; border-bottom: 1px dashed rgba(226,184,103,.3); position: relative; }
.wen-liste li::before { content: "★"; position: absolute; left: 4px; top: 16px; color: var(--gold); }
.wen-liste b { font-family: var(--titel); color: #fff; }
.geschenk { background: var(--creme); color: var(--tinte); padding: clamp(24px, 4vw, 44px); border-radius: 6px; transform: rotate(1.5deg); box-shadow: 0 24px 50px rgba(0,0,0,.4); position: relative; }
.geschenk.sichtbar { transform: rotate(1.5deg); }
.geschenk::before { content: ""; position: absolute; left: 50%; top: -18px; width: 120px; height: 36px; transform: translateX(-50%) rotate(-3deg); background: rgba(163,34,43,.85); }
.geschenk .hand { color: var(--rot); }

/* ---------- 10 Finale ---------- */
.finale { overflow: hidden; background: #0F1C10; }
.finale-bild { position: absolute; inset: -10% 0 0; background: url(img/finale-baum.webp) center 30% / cover; opacity: .28; transform: translateY(calc(var(--p, 0) * -6%)); }
.finale::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,28,16,.4), #0F1C10 85%); pointer-events: none; }
.finale .innen { position: relative; z-index: 2; }
.fin-text .hand { margin-top: 10px; }
.kaufkarte { background: var(--creme); color: var(--tinte); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 170px 1fr; gap: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.kaufkarte img { border-radius: 4px; box-shadow: 0 12px 26px rgba(0,0,0,.35); transform: rotate(-3deg); }
.kk-titel { font-family: var(--titel); font-weight: 700; font-size: 1.35em; margin: 0; line-height: 1.1; }
.kk-autor { font-style: italic; margin-bottom: 10px; }
.kaufkarte ul { padding-left: 18px; margin: 0 0 12px; font-size: .95em; }
.kk-preis { font-family: var(--titel); font-weight: 700; font-size: 34px; margin: 0 0 12px; }
.kaufkarte .klein { margin: 12px 0 0; }
.faq { margin-top: clamp(70px, 9vw, 120px); max-width: 820px; }
.faq-titel { font-size: clamp(30px, 1.6rem + 1.6vw, 46px); text-align: center; }
.fuss { background: #0A140B; color: #CFC3A8; text-align: center; padding: 40px var(--rand) 120px; font-size: 15px; }
.fuss a { color: var(--gold); }

/* ---------- Kaufleiste ---------- */
.leiste { position: fixed; left: 50%; bottom: 14px; z-index: 40; width: min(720px, calc(100% - 20px)); transform: translate(-50%, 140%); transition: transform .5s cubic-bezier(.2,.7,.2,1); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 14px; background: rgba(251,244,230,.96); color: var(--tinte); border-radius: 18px; box-shadow: 0 14px 40px rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.leiste.da { transform: translate(-50%, 0); }
.mini-baum { width: 40px; height: 46px; flex: none; }
.mini-baum .lichter circle { fill: #2E5A40; transition: fill .5s, filter .5s; }
.mini-baum .lichter circle.an { fill: #FFD27A; filter: drop-shadow(0 0 3px #FFB23A); }
.mini-baum .stern { fill: #5A6A50; transition: fill .6s; }
.mini-baum.voll .stern { fill: #FFD27A; filter: drop-shadow(0 0 4px #FFB23A); }
.leiste-text { display: grid; line-height: 1.2; min-width: 0; margin-right: auto; }
.leiste-text b { font-family: var(--titel); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leiste-text span { font-size: 14px; opacity: .75; }

/* ---------- schmal ---------- */
@media (max-width: 900px) {
  .buehne { grid-template-columns: 1fr; grid-template-rows: 52svh auto; padding-bottom: 70px; }
  .buehne-bild { grid-column: 1; height: 56svh; }
  .buehne-text { grid-column: 1; grid-row: 2; margin-top: -40px; }
  .scroll-hinweis { display: none; }
  .knopf-akt .klebe { grid-template-columns: 1fr; grid-template-rows: 24svh auto; gap: 12px; align-content: start; padding-top: 16px; padding-bottom: 86px; }
  .knopf-bild { height: 24svh; }
  .knopf-text .kick { margin-bottom: 6px; font-size: 12px; }
  .knopf-text h2 { font-size: 24px; margin-bottom: .35em; }
  .zeile { font-size: 16px; margin-bottom: .45em; line-height: 1.4; }
  .riegel { margin: 8px 0 4px; gap: 4px; }
  .riegel i { height: 18px; }
  .riegel-zahl { margin-bottom: .4em; font-size: 13px; }
  .tag-innen { grid-template-columns: 1fr; grid-template-rows: auto 30svh; gap: 10px; align-content: start; padding-top: 22px; padding-bottom: 86px; }
  .tag-bilder { height: 30svh; }
  .tageslauf h2 { font-size: 25px; }
  .tageslauf .kick { margin-bottom: 8px; font-size: 12px; }
  .tag-wechsel { min-height: 104px; font-size: 16px; }
  .tag-regel { font-size: 1.15em; margin-top: 4px; }
  .paar { grid-template-columns: 1fr; gap: 0; }
  .siegel { margin: -26px auto; }
  .faecher { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 20px; }
  .seite { margin: 0; flex: none; width: 62vw; scroll-snap-align: center; }
  .seite.sichtbar { transform: none !important; }
  .innen.zwei { grid-template-columns: 1fr; }
  .tafel { grid-template-columns: repeat(2, 1fr); }
  .klappe { min-height: 0; font-size: 15px; }
  .schloss { right: -6px; top: -64px; width: 74px; }
  .fig-reihe { grid-template-columns: repeat(2, 1fr); }
  .kaufkarte { grid-template-columns: 1fr; text-align: center; }
  .kaufkarte img { width: 160px; margin: 0 auto; }
  .kaufkarte ul { text-align: left; display: inline-block; }
  .lk-vor { left: 4px; } .lk-nach { right: 4px; } .lk-zu { right: 4px; top: 4px; }
}
@media (max-width: 420px) {
  .leiste-text b { font-size: 15px; }
  .leiste-text span { font-size: 13px; }
  .knopf.klein { padding: 10px 14px; }
  details p { padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .knopf-akt, .tageslauf { height: auto; }
  .klebe { position: relative; height: auto; padding: 80px var(--rand); }
  .knopf-bild, .tag-bilder { height: 60svh; }
  .zeile { opacity: 1; }
  .schnee { display: none; }
}

/* ================= Buch-Bühne (Hero, Fassung 2) ================= */
.buchbuehne { position: relative; height: 560vh; background: radial-gradient(ellipse at 50% 55%, #2A4F30 0%, var(--tanne) 62%, #0F1C10 100%); }
.bb-klebe { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: clamp(18px, 4vh, 44px) var(--rand) clamp(22px, 5vh, 54px);
  --h: min(54svh, 62vw, 540px); --w: calc(var(--h) * .7); }
.bb-titel { text-align: center; position: relative; z-index: 4; opacity: calc(1 - var(--auf, 0) * 1.2); transform: translateY(calc(var(--auf, 0) * -30px)); max-width: 900px; }
.bb-titel h1 { font-size: clamp(32px, 1.2rem + 3.6vw, 76px); margin-bottom: .2em; background: linear-gradient(180deg, #FFF2C9 0%, #E2B867 55%, #B8822F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-titel .unterzeile { margin: 0 auto; font-size: 1.15em; }
.bb-titel .kick { margin-bottom: 8px; }
.buch-ort { position: relative; width: 100%; display: grid; place-items: center; z-index: 2; }
.buch { position: relative; width: calc(var(--w) * 2); height: var(--h); perspective: 2400px; transform: translateX(calc((1 - var(--auf, 0)) * -25%)) scale(calc(.92 + var(--auf, 0) * .08)); }
.buch::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 70px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.28) 48%, rgba(0,0,0,.05) 52%, rgba(0,0,0,0)); opacity: var(--auf, 0); pointer-events: none; z-index: 60; }
.seite-basis, .blatt { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; }
.seite-basis { box-shadow: 0 30px 60px rgba(0,0,0,.5); opacity: var(--auf, 0); }
.blatt { transform-origin: left center; transform-style: preserve-3d; transform: rotateY(calc(var(--d, 0) * -180deg)); }
.blatt .vs, .blatt .rs { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: var(--creme); }
.blatt .rs { transform: rotateY(180deg); }
.buch img { width: 100%; height: 100%; object-fit: cover; }
.blatt .vs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 12%); pointer-events: none; }
.blatt .rs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.2), rgba(0,0,0,0) 14%); pointer-events: none; }
.deckel .vs { border-radius: 2px 6px 6px 2px; box-shadow: 0 34px 70px rgba(0,0,0,.6), inset 4px 0 0 rgba(255,255,255,.08); }
.deckel .vs::after { background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.08) 3%, rgba(0,0,0,0) 6%); }
.innendeckel img { object-position: 50% 60%; }

.pelle-ort { position: absolute; z-index: 5; bottom: 0; left: calc(50% - var(--w) - var(--h) * .42); height: calc(var(--h) * .86); aspect-ratio: 512 / 1346;
  opacity: var(--pelle-da, 0); transform: translateY(calc((1 - var(--pelle-da, 0)) * 40px)); transition: opacity .6s, transform .6s; }
.pelle { height: 100%; width: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.45)); transform-origin: 50% 100%; animation: pelle-wippen 2.6s ease-in-out infinite; }
@keyframes pelle-wippen { 50% { transform: rotate(-2.5deg) translateY(-4px); } }
.blase { position: absolute; left: 62%; bottom: 96%; width: max-content; max-width: min(300px, 46vw); margin: 0; background: var(--creme); color: var(--tinte); font-family: var(--hand); font-size: clamp(19px, 1rem + .6vw, 25px); line-height: 1.15; padding: 12px 16px; border-radius: 18px 18px 18px 4px; box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: transform .3s; }
.blase.neu { animation: blase-pop .45s cubic-bezier(.5,1.8,.5,1); }
@keyframes blase-pop { from { transform: scale(.6); opacity: 0; } }

.erklaer { position: relative; z-index: 4; width: min(680px, 100%); min-height: 150px; text-align: center; }
.ek { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; pointer-events: none; }
.ek.an { opacity: 1; transform: none; pointer-events: auto; }
.ek .kick { margin-bottom: 6px; }
.ek-satz { font-size: 1.12em; color: #F1E4CC; margin-bottom: 14px; }
.ek[data-ek="0"] .kick { animation: wippen-y 2.4s ease-in-out infinite; }
@keyframes wippen-y { 50% { transform: translateY(6px); } }
.bb-fortschritt { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(226,184,103,.15); }
.bb-fortschritt i { display: block; height: 100%; width: calc(var(--bp, 0) * 100%); background: var(--gold); }

@media (max-width: 900px) {
  .bb-klebe { --h: min(46svh, 64vw); padding-top: 14px; padding-bottom: 76px; }
  .bb-titel .unterzeile { font-size: 1em; }
  .pelle-ort { height: calc(var(--h) * .62); left: calc(50% - var(--w) * .98 - var(--h) * .12); }
  .blase { max-width: 52vw; font-size: 17px; padding: 8px 12px; left: 55%; }
  .erklaer { min-height: 170px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-klebe { position: sticky; height: 100svh; padding: clamp(18px, 4vh, 44px) var(--rand); }
}
@media (max-width: 480px) {
  .blase { max-width: 44vw; font-size: 15px; padding: 7px 10px; bottom: 100%; left: 40%; }
  .leiste-text span { display: none; }
  .leiste-text b { white-space: normal; font-size: 15px; line-height: 1.15; }
  .knopf.klein { font-size: 15px; padding: 10px 14px; }
}
