:root {
  color-scheme: light;
  --ink: #17324d;
  --ink-soft: #4a6076;
  --paper: #fff8ec;
  --paper-2: #fdeed5;
  --sun: #ffc93c;
  --pink: #e8437f;
  --blue: #2f7fc1;
  --green: #4f9a5b;
  --red: #e2574c;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sky-top: #ffd9b8;
  --sky-bot: #fff1d6;
  --sun-x: 8vw;
  --sun-y: 70vh;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
/* 3D-Karten ragen beim Aufklappen über den Rand. clip auf main verhindert,
   dass mobile Browser die Seite dafür breiter machen und herauszoomen. */
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--pink); }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* ---------- Kulisse ---------- */
.backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; overflow: hidden; pointer-events: none; }
.sky { position: absolute; inset: 0; background: linear-gradient(var(--sky-top), var(--sky-bot) 78%); }
.sun {
  position: absolute; left: 0; top: 0;
  width: clamp(84px, 11vw, 132px); aspect-ratio: 1;
  transform: translate(calc(var(--sun-x) - 50% + var(--mx, 0) * 5px), calc(var(--sun-y) - 50% + var(--my, 0) * 3px));
  pointer-events: auto; cursor: pointer;
  filter: drop-shadow(0 0 28px rgba(255, 201, 60, .65));
}
.sun svg { width: 100%; height: 100%; }
.sun .rays { transform-origin: 60px 60px; animation: spin 40s linear infinite; }
.sun.wow svg { animation: wow .9s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wow { 50% { transform: scale(1.25) rotate(180deg); } 100% { transform: scale(1) rotate(360deg); } }

.cloud {
  position: absolute; left: -220px;
  width: 170px; height: 46px; border-radius: 40px; background: #fff; opacity: .85;
  animation: drift 90s linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 70px; height: 70px; left: 26px; top: -34px; }
.cloud::after { width: 54px; height: 54px; left: 84px; top: -22px; }
.c1 { top: 14vh; }
.c2 { top: 30vh; scale: .7; animation-duration: 130s; animation-delay: -60s; opacity: .7; }
.c3 { top: 46vh; scale: .5; animation-duration: 160s; animation-delay: -110s; opacity: .6; }
@keyframes drift { to { transform: translateX(calc(100vw + 440px)); } }

.hill {
  position: absolute; left: -40px; bottom: -14px;
  height: clamp(140px, 25vh, 250px); width: calc(100vw * var(--w) + 80px);
  transform: translate3d(
    calc(var(--t, 0) * (100vw - 100% + 80px) + var(--mx, 0) * var(--d) * 1px),
    calc((1 - var(--hp, 1)) * var(--rise) + var(--my, 0) * var(--d) * .3px), 0);
  will-change: transform;
  max-width: none; /* sonst kappt img,svg{max-width:100%} die Breite: Streifen rechts */
}
.hill.far { --w: 1.12; --d: -6; --rise: 0px; }
.hill.mid { --w: 1.4; --d: -14; --rise: 30px; }
.hill.near { --w: 1.8; --d: -26; --rise: 70px; }

/* ---------- Kopfleiste ---------- */
.topbar {
  position: fixed; z-index: 20; top: 10px; left: 50%; translate: -50% 0;
  width: min(1120px, calc(100% - 20px));
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 6px 8px 6px 6px;
  background: rgba(255, 248, 236, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px; box-shadow: 0 6px 24px rgba(23, 50, 77, .14);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.05rem var(--serif); }
.brand img { width: 58px; height: 58px; margin: -12px 0 -12px -6px; border-radius: 50%; background: #fff; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(23, 50, 77, .22); object-fit: cover; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.clock, .found {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 4px; border-radius: 999px; background: #fff;
  font-variant-numeric: tabular-nums;
}
.clock svg { width: 34px; height: 34px; }
.clock span { display: grid; line-height: 1.1; }
.clock b { font-size: 1rem; }
.clock small { font-size: .7rem; color: var(--ink-soft); white-space: nowrap; }
.topbar .found svg { width: 30px; height: 30px; }
.topbar .found[hidden] { display: none; }
.topbar .found span { white-space: nowrap; }
.topbar .found b { font-size: 1rem; color: var(--ink); }
.topbar .found i, .found em { font-style: normal; }
.topbar .found small { font-size: .7rem; color: var(--ink-soft); white-space: nowrap; }
.topbar .found span { font-size: .9rem; color: var(--ink-soft); }
.topbar .found b { color: var(--ink); font-size: 1rem; }
.topbar .found { gap: 5px; padding: 3px 9px 3px 3px; }
.topbar .found svg { width: 24px; height: 24px; }
.topbar .found b { font-size: .86rem; }
.topbar .found small { font-size: .78rem; }
.found.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.25); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7em 1.3em; border-radius: 999px; border: 0;
  background: var(--pink); color: #fff; font: 700 1rem var(--sans); text-decoration: none;
  box-shadow: 0 4px 0 #b92c60; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #b92c60; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #b92c60; }
.btn-small { padding: .55em 1.1em; font-size: .92rem; box-shadow: none; white-space: nowrap; }
.btn .narrow { display: none; }
.btn-small:hover { box-shadow: none; }
.btn-big { font-size: 1.1rem; padding: .95em 1.6em; }
.btn-wa { background: #1fa855; box-shadow: 0 4px 0 #157a3d; }
.btn-wa:hover { box-shadow: 0 6px 0 #157a3d; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #d8c9ad; }
.btn-ghost:hover { box-shadow: 0 6px 0 #d8c9ad; }

/* ---------- Bausteine ---------- */
main { position: relative; z-index: 1; }
.eyebrow { font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .9em; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-soft); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: .45em 1.1em; border-radius: 999px; background: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 4px 16px rgba(23, 50, 77, .1);
}
.pill i { width: 10px; height: 10px; border-radius: 50%; background: #2fbf66; box-shadow: 0 0 0 4px rgba(47, 191, 102, .25); }

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

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; padding: 110px 20px clamp(150px, 28vh, 280px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.1rem;
}
.hero-in {
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  transform: translate3d(0, calc(var(--hp, 0) * -90px), 0) scale(calc(1 - var(--hp, 0) * .1));
  opacity: calc(1 - var(--hp, 0) * 1.25);
}
.hero h1 { text-shadow: 0 2px 0 #fff, 0 4px 0 #fff, 0 6px 0 rgba(255, 255, 255, .7), 0 14px 26px rgba(23, 50, 77, .28); }
.hero .eyebrow { margin: 0; }
.hero h1 { font-size: clamp(2.6rem, 8.5vw, 5.6rem); max-width: 11em; letter-spacing: -.02em; }
.hero .lead { max-width: 34em; margin: 0; color: var(--ink); }
.kidhint {
  display: flex; align-items: center; gap: 12px; text-align: left; margin: 0;
  max-width: 30em; padding: 10px 18px 10px 10px; border-radius: 18px;
  background: rgba(255, 255, 255, .7); border: 2px dashed var(--sun); font-size: .98rem; line-height: 1.4;
}
.kidhint svg { width: 46px; height: 46px; flex: none; animation: wiggle 3s ease-in-out infinite; }
.scrollcue {
  margin-top: .6rem; display: grid; justify-items: center; gap: 4px;
  font-weight: 700; text-decoration: none; font-size: .95rem;
}
.scrollcue svg { width: 30px; height: 30px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(7px); } }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-12deg); } 92% { transform: rotate(10deg); } }

/* ---------- Kapitel ---------- */
.chapter {
  position: relative; min-height: 100svh; padding: 14vh 20px 20vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px;
}
.scene {
  --e: 1; --p: 0; --dir: 1;
  position: relative; width: min(1000px, 100%); perspective: 1100px;
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr; align-items: center; gap: clamp(20px, 5vw, 56px);
}
.scene.flip { --dir: -1; grid-template-columns: 1fr minmax(200px, 300px); }
.scene.flip .vig { order: 2; }

/* Vignette: Scheibe hinten, Motiv schwebt davor */
.vig {
  position: relative; aspect-ratio: 1; transform-style: preserve-3d;
  transform:
    rotateY(calc(var(--p) * var(--dir) * -24deg + var(--mx, 0) * 7deg))
    rotateX(calc(var(--p) * 12deg + var(--my, 0) * -5deg))
    scale(calc(.72 + .28 * var(--e)));
}
.vig::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: var(--e);
  background:
    radial-gradient(120% 60% at 50% 112%, #6fb65a 0 60%, transparent 61%),
    linear-gradient(#aee0fb, #e6f6ff);
  border: 8px solid #fff; box-shadow: 0 18px 44px rgba(23, 50, 77, .24);
}
.vig svg {
  position: relative; width: 100%; height: 100%; opacity: var(--e);
  transform: translateZ(calc(20px + 60px * var(--e))) scale(.9);
  filter: drop-shadow(0 16px 10px rgba(23, 50, 77, .28));
}
.vig-night::before { background: radial-gradient(120% 60% at 50% 112%, #2c4a72 0 60%, transparent 61%), linear-gradient(#17284a, #2b4a7c); border-color: #3d5c8f; }
.steam { animation: steam 3s ease-in-out infinite; }
@keyframes steam { 50% { transform: translateY(-6px); opacity: .5; } }

/* Karte klappt auf wie eine Seite im Aufklapp-Buch */
.card {
  position: relative; background: var(--paper); border-radius: 28px;
  padding: clamp(34px, 5vw, 52px) clamp(22px, 4vw, 48px) clamp(26px, 4vw, 44px);
  box-shadow: 7px 9px 0 -1px var(--paper-2), 0 22px 54px rgba(23, 50, 77, .2);
  transform-origin: 50% 100%;
  transform:
    rotateX(calc((1 - var(--e)) * -62deg + var(--p) * -4deg))
    rotateY(calc(var(--p) * var(--dir) * 4deg + var(--mx, 0) * -1.5deg));
  opacity: calc(var(--e) * 1.6);
}
.card h2 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); margin-bottom: .55em; letter-spacing: -.01em; }
.card-hl { border: 4px solid var(--sun); }
.time {
  position: absolute; top: -20px; left: clamp(18px, 4vw, 44px);
  padding: .3em 1em; border-radius: 12px; rotate: -3deg;
  background: var(--pink); color: #fff; font: 700 1.05rem var(--sans); font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 0 #b92c60;
}
.tune {
  display: inline-block; vertical-align: middle; margin: -8px 0 -6px 2px; padding: 6px; border: 0; background: none;
  font-size: 1.45em; line-height: 1; cursor: pointer; border-radius: 50%;
  animation: tune-pulse 1.6s ease-in-out infinite; -webkit-tap-highlight-color: transparent;
}
.tune.playing { animation: tune-bounce .17s ease-in-out infinite alternate; }
@keyframes tune-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
@keyframes tune-bounce { from { transform: scale(1.05) rotate(-8deg); } to { transform: scale(1.3) rotate(8deg); } }
.chiphead { margin: 1.2em 0 0; font-weight: 700; font-size: .95rem; }
.chiphead + .chips { margin-top: .6em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 1.2em 0 0; }
.chips li { padding: .3em .9em; border-radius: 999px; background: #fff; border: 2px solid var(--paper-2); font-weight: 700; font-size: .9rem; }
.note { padding: .9em 1.1em; border-radius: 14px; background: #fff; font-size: .95rem; color: var(--ink-soft); }

/* Versteckte Tiere */
.critter {
  position: absolute; left: var(--x); top: var(--y); z-index: 3;
  width: 64px; height: 64px; padding: 6px; border: 0; border-radius: 50%; background: none; cursor: pointer;
  rotate: var(--r, 0deg); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
  animation: peek 5s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.critter svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 5px rgba(23, 50, 77, .3)); }
.critter:hover { transform: scale(1.15); }
.critter.found { animation: none; transform: scale(1.3); background: #fff; box-shadow: 0 0 0 4px var(--sun), 0 8px 20px rgba(23, 50, 77, .25); rotate: 0deg; }
@keyframes peek { 0%, 86%, 100% { translate: 0 0; } 90% { translate: 0 -8px; } 94% { translate: 0 0; } 97% { translate: 0 -4px; } }

/* Polaroids fächern aus der Tiefe auf */
.polaroids { --e: 1; width: min(1000px, 100%); perspective: 900px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2.4vw, 26px); }
.polaroids figure {
  margin: 0; padding: 10px 10px 0; background: #fff; border-radius: 6px;
  box-shadow: 0 12px 32px rgba(23, 50, 77, .24); rotate: var(--r);
  transform: translateZ(calc((1 - var(--e)) * -520px)) rotateY(calc((1 - var(--e)) * var(--fan, 0deg)));
  opacity: calc(var(--e) * 1.5); transition: rotate .3s, scale .3s;
}
.polaroids figure:hover { rotate: 0deg; scale: 1.06; z-index: 2; }
.polaroids img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.polaroids.duo { grid-template-columns: repeat(2, 1fr); width: min(720px, 100%); }
.polaroids.duo img { aspect-ratio: 4 / 3; }
.polaroids figcaption { padding: .6em 0 .7em; text-align: center; font: italic 700 .95rem var(--serif); }

/* Roter Faden durch den Tag */
.day { position: relative; }
.trail { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail path { stroke: var(--pink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.1 17; opacity: .6; }
.fly {
  position: absolute; left: 0; top: 0; z-index: 6; width: 44px; height: 36px; margin: -18px 0 0 -22px;
  pointer-events: none; filter: drop-shadow(0 8px 6px rgba(23, 50, 77, .25));
  animation: hover-bob 2.4s ease-in-out infinite; will-change: transform;
}
.fly svg { width: 100%; height: 100%; overflow: visible; }
.wing { transform-origin: 20px 16px; animation: flap .32s ease-in-out infinite alternate; }
.wr { animation-name: flap-r; }
@keyframes flap { to { transform: scaleX(.35); } }
@keyframes flap-r { to { transform: scaleX(.35); } }
@keyframes hover-bob { 50% { margin-top: -28px; } }

/* Jörgs Weg */
.story { padding-top: 10vh; }
.storywrap {
  --e: 1; width: min(820px, 100%); background: var(--paper); border-radius: 32px; padding: clamp(26px, 5vw, 60px);
  box-shadow: 9px 11px 0 -1px var(--paper-2), 0 22px 54px rgba(23, 50, 77, .2);
  transform-origin: 50% 0; transform: perspective(1300px) rotateX(calc((1 - var(--e)) * 38deg));
  opacity: calc(var(--e) * 1.6);
}
.storyfoot { margin-top: 1.6rem; color: var(--ink-soft); }
.storyhead { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 4vw, 36px); align-items: center; margin-bottom: 2.4rem; }
.storyhead img { width: clamp(90px, 16vw, 150px); border-radius: 50%; box-shadow: 0 6px 20px rgba(23, 50, 77, .15); }
.storyhead h2 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); margin-bottom: .5em; }
.path { --fill: 0; position: relative; list-style: none; margin: 0 0 2.4rem; padding: 0 0 0 68px; }
.path::before, .path::after { content: ""; position: absolute; left: 21px; top: 8px; width: 6px; border-radius: 3px; }
.path::before { bottom: 8px; background: repeating-linear-gradient(var(--paper-2) 0 10px, transparent 10px 18px); }
.path::after { height: calc((100% - 16px) * var(--fill)); background: var(--blue); }
.path li { position: relative; padding-bottom: 1.9rem; }
.path li:last-child { padding-bottom: 0; }
.path .dot {
  position: absolute; left: -68px; top: -4px; z-index: 1; width: 48px; height: 48px; padding: 10px;
  border-radius: 50%; background: var(--blue); border: 4px solid var(--paper);
}
.path li:nth-child(3) .dot { background: var(--pink); }
.path li:nth-child(4) .dot { background: var(--green); }
.path h3 { font-size: 1.35rem; margin-bottom: .3em; }
.path p { color: var(--ink-soft); }
blockquote { margin: 0; padding: 1.4em 1.5em; border-radius: 20px; background: #fff; font: italic 1.3rem/1.45 var(--serif); border-left: 6px solid var(--sun); }
blockquote cite { display: block; margin-top: .7em; font: 700 .9rem var(--sans); color: var(--ink-soft); }

/* Mittagsruhe */
.nap { background: linear-gradient(rgba(23, 40, 74, 0), #17284a 16vh, #223d6b calc(100% - 16vh), rgba(34, 61, 107, 0)); padding-top: 26vh; padding-bottom: 30vh; }
.stars { -webkit-mask-image: linear-gradient(transparent, #000 18vh, #000 calc(100% - 18vh), transparent); mask-image: linear-gradient(transparent, #000 18vh, #000 calc(100% - 18vh), transparent); }
.nap .card { background: #20365e; color: #f3f6fb; box-shadow: 7px 9px 0 -1px #182b4d, 0 22px 54px rgba(0, 0, 0, .4); }
.stars {
  position: absolute; inset: 0; opacity: .8;
  background-image:
    radial-gradient(2px 2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 32% 62%, #fff 50%, transparent 51%),
    radial-gradient(3px 3px at 58% 12%, #ffe08a 50%, transparent 51%), radial-gradient(2px 2px at 76% 44%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 90% 78%, #fff 50%, transparent 51%), radial-gradient(3px 3px at 22% 86%, #ffe08a 50%, transparent 51%),
    radial-gradient(2px 2px at 66% 84%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 46% 34%, #fff 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .35; } }

/* ---------- Für Eltern ---------- */
.paper { position: relative; background: var(--paper); padding: clamp(70px, 12vh, 130px) 20px; }
.paper::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.wrap { width: min(1000px, 100%); margin: 0 auto; }
.paper h2, .contact h2 { font-size: clamp(2rem, 5.4vw, 3.4rem); margin-bottom: .9em; letter-spacing: -.01em; }
.paper { perspective: 1200px; }
.js .paper .reveal { transform: translateY(28px) rotateX(-18deg); transform-origin: 50% 100%; }
.js .paper .reveal.in { transform: none; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts article { background: #fff; border-radius: 20px; padding: 24px; border: 2px solid var(--paper-2); }
.facts h3 { font-size: 1.25rem; margin-bottom: .45em; color: var(--blue); }
.facts p { font-size: .98rem; color: var(--ink-soft); }
.facts b { color: var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { text-align: center; padding: 0 10px; }
.steps b { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: var(--sun); font: 700 1.6rem var(--serif); }
.steps li:nth-child(2) b { background: var(--pink); color: #fff; }
.steps li:nth-child(3) b { background: var(--green); color: #fff; }
.steps li:nth-child(4) b { background: var(--blue); color: #fff; }
.steps-4 { grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(40px, 7vh, 72px); }
.steps-4 p { font-size: .95rem; }
.sub { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: clamp(44px, 8vh, 80px) 0 .5em; }
.paper h2 + .sub { margin-top: 0; }
.intro { max-width: 46em; color: var(--ink-soft); margin-bottom: 2rem; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.why li { padding: 16px 20px 16px 56px; background: #fff; border-radius: 16px; border: 2px solid var(--paper-2); color: var(--ink-soft); position: relative; }
.why li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.500l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.why b { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .3em; }
.steps p { color: var(--ink-soft); }

/* ---------- Kontakt ---------- */
.contact { position: relative; background: linear-gradient(#ffd9a8, #ffc38a); padding: clamp(70px, 12vh, 130px) 20px 0; }
.contact-head { text-align: center; }
.contact h2 { margin: .7em 0 .4em; }
.contact .lead { max-width: 32em; margin: 0 auto 2.6rem; color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
.contact h3 { font-size: 1.5rem; margin-bottom: .7em; }
.direct { display: grid; gap: 12px; }
.direct .btn { width: 100%; }
address { font-style: normal; line-height: 1.75; margin-top: 12px; }
.insta {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; text-decoration: none;
  color: #fff; font-weight: 700; line-height: 1.25;
  background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); box-shadow: 0 4px 0 #8f1568; transition: transform .15s;
}
.insta:hover { transform: translateY(-2px); }
.insta svg { width: 34px; height: 34px; flex: none; }
.insta small { display: block; font-weight: 400; opacity: .9; }

.ask { background: var(--paper); border-radius: 28px; padding: clamp(22px, 4vw, 38px); box-shadow: 7px 9px 0 -1px rgba(255, 255, 255, .55), 0 22px 54px rgba(23, 50, 77, .2); display: grid; gap: 16px; }
.ask h3 { margin: 0; }
.ask-intro { margin: -6px 0 0; color: var(--ink-soft); font-size: .98rem; }
.ask label, .ask legend { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.ask small { font-weight: 400; color: var(--ink-soft); }
.ask input[type="text"], .ask input[type="date"], .ask input[type="time"], .ask textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid #e7d6b8; border-radius: 12px; background: #fff;
  font: 400 1rem var(--sans); color: var(--ink);
}
.ask textarea { resize: vertical; }
.ask input:focus-visible, .ask textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.ask .bad { border-color: var(--red); background: #fff5f3; }
.ask .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.ask, .direct { min-width: 0; }
.ask input, .ask textarea { min-width: 0; }
.ask fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ask legend { padding: 0; margin-bottom: 6px; }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.days label { position: relative; display: block; cursor: pointer; }
.days input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.days span { display: grid; place-items: center; min-width: 52px; height: 48px; border-radius: 12px; border: 2px solid #e7d6b8; background: #fff; }
.days input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.days input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.ask .check { display: flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.ask .check input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }
.ask-error { margin: 0; padding: .7em 1em; border-radius: 12px; background: #fde4e0; color: #8f241b; font-weight: 700; font-size: .95rem; }
.ask-send { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ask-send .btn { cursor: pointer; padding: .85em 1em; }
.ask-note { margin: 0; font-size: .86rem; color: var(--ink-soft); }
.contact footer { margin-top: clamp(50px, 8vh, 90px); padding: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: .92rem; border-top: 2px solid rgba(23, 50, 77, .12); }

/* Foto groß ansehen */
.polaroids figure { cursor: zoom-in; }
.lightbox { border: 0; padding: 12px 12px 0; border-radius: 10px; background: #fff; max-width: min(94vw, 1000px); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox::backdrop { background: rgba(23, 40, 74, .78); }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 4px; margin: 0 auto; }
.lightbox p { margin: 0; padding: .7em 0 .8em; text-align: center; font: italic 700 1.1rem var(--serif); }
.lightbox button { position: absolute; top: -6px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pink); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.lightbox { overflow: visible; }

section[id] { scroll-margin-top: 76px; }

.toast {
  position: fixed; z-index: 30; left: 50%; bottom: 22px; translate: -50% 140%; visibility: hidden;
  width: max-content; max-width: calc(100% - 32px); padding: .8em 1.4em; border-radius: 22px;
  background: var(--ink); color: #fff; font-weight: 700; text-align: center;
  transition: translate .45s cubic-bezier(.3, 1.4, .5, 1), visibility .45s; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.toast.show { translate: -50% 0; visibility: visible; }

/* ---------- Rechtliches ---------- */
.legal { background: var(--paper); min-height: 100vh; }
.legal main { width: min(720px, 100%); margin: 0 auto; padding: 60px 20px 80px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); margin: .8em 0 .6em; }
.legal h2 { font-size: 1.4rem; margin: 1.6em 0 .4em; }
.legal a { color: var(--blue); }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .polaroids { grid-template-columns: repeat(2, 1fr); width: min(460px, 100%); }
}
@media (max-width: 720px) {
  .brand span, .clock small { display: none; }
  .topbar-right { gap: 6px; }
  .clock svg { width: 28px; height: 28px; }
  .topbar .found svg { width: 22px; height: 22px; }
  .clock { gap: 6px; padding-right: 9px; }
  .clock { padding-right: 10px; }
  .scene, .scene.flip { grid-template-columns: 1fr; gap: 0; perspective: 800px; }
  .scene .vig, .scene.flip .vig { order: 0; width: 180px; margin: 0 auto -48px; z-index: 2; }
  /* Hohe Karten: von oben aufklappen, sonst kippt der Text zu nah an die Kamera */
  .card {
    padding-top: 64px; transform-origin: 50% 0;
    transform: rotateX(calc((1 - var(--e)) * 28deg)) translateY(calc((1 - var(--e)) * 40px));
  }
  .time { position: static; display: inline-block; margin: 0 0 14px -4px; }
  .vig { transform: rotateY(calc(var(--p) * var(--dir) * -18deg)) rotateX(calc(var(--p) * 10deg)) scale(calc(.72 + .28 * var(--e))); }
  /* Schmetterling fliegt hinter den Karten und taucht in den Lücken auf */
  .fly { z-index: 0; width: 38px; height: 31px; }
  .chapter { padding: 12vh 16px 18vh; }
  .storyhead { grid-template-columns: 1fr; justify-items: start; }
  .path { padding-left: 58px; }
  .path .dot { left: -58px; width: 44px; height: 44px; }
  .path::before, .path::after { left: 19px; }
  .steps, .steps-4 { grid-template-columns: 1fr; gap: 28px; }
  .btn-big { width: 100%; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .ask-send { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .btn-small { padding: .55em .9em; }
  .btn .wide { display: none; }
  .btn .narrow { display: inline; }
  .critter { left: clamp(0px, var(--x), calc(100% - 64px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .paper .reveal { opacity: 1; transform: none; transition: none; }
  .fly { display: none; }
}
