/* Journey of Money · Für Schulen (Grundlage: Testwochenende)
   Farben und Schriften nach C:\dev\brand\tokens\kern-tokens.css */

@font-face { font-family: "Inter"; src: url("medien/schrift/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("medien/schrift/inter-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF; }
@font-face { font-family: "Inter"; src: url("medien/schrift/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("medien/schrift/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("medien/schrift/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("medien/schrift/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --navy: #0C1A2C;
  --navy-tief: #070F1A;
  --gold: #C6A15B;
  --gold-hell: #E2C88F;
  --creme: #F7F1E6;
  --teal: #007C89;
  --text: #F7F1E6;
  --text-leise: rgba(247, 241, 230, 0.72);
  --linie: rgba(198, 161, 91, 0.35);
  --schrift-text: "Inter", system-ui, sans-serif;
  --schrift-titel: "Space Grotesk", "Inter", system-ui, sans-serif;
  --schrift-zahl: "IBM Plex Mono", ui-monospace, monospace;
  --rand: clamp(16px, 5vw, 64px);
  --weich: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-tief);
  color: var(--text);
  font: 400 clamp(1rem, .95rem + .25vw, 1.125rem)/1.65 var(--schrift-text);
  overflow-x: hidden;
}
body.ist-zu { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--gold-hell); }
.gold { color: var(--gold); }
em { font-style: normal; color: var(--gold-hell); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.kicker {
  font: 500 .78rem/1.2 var(--schrift-titel);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.zahl { font-family: var(--schrift-zahl); color: var(--gold-hell); white-space: nowrap; }

/* ───────── Knöpfe ───────── */
.knopf {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .9em 1.8em;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--schrift-text); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--weich), box-shadow .35s var(--weich), background .35s;
}
.knopf--gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-hell), var(--gold) 55%, #A9843F);
  box-shadow: 0 10px 30px -10px rgba(198, 161, 91, .7), inset 0 1px 0 rgba(255,255,255,.4);
}
.knopf--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(198, 161, 91, .9), inset 0 1px 0 rgba(255,255,255,.5); }
.knopf--hell { color: var(--text); background: rgba(247,241,230,.06); border-color: rgba(247,241,230,.3); backdrop-filter: blur(6px); }
.knopf--hell:hover { background: rgba(247,241,230,.14); }
.knopf--gross { font-size: 1.15rem; padding: 1.1em 2.4em; }
.knopf__puls { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(198,161,91,.6); animation: puls 2.4s infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(198,161,91,.55); } 70% { box-shadow: 0 0 0 22px rgba(198,161,91,0); } 100% { box-shadow: 0 0 0 0 rgba(198,161,91,0); } }

/* ───────── Platzhalterband ───────── */
.platzhalterband {
  position: fixed; z-index: 120; inset: 0 0 auto 0;
  padding: .45rem 1rem; text-align: center;
  font: 600 .8rem/1.3 var(--schrift-text);
  color: var(--navy); background: repeating-linear-gradient(-45deg, #E2C88F 0 14px, #d6b878 14px 28px);
}

/* ───────── Vorhang ───────── */
.vorhang {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  /* durchscheinend: hinter dem Vorhang liegt schon der Sternenhimmel */
  background: radial-gradient(ellipse at 50% 60%, rgba(18,38,63,.25) 0%, rgba(7,15,26,.6) 75%);
  transition: opacity 1.4s var(--weich) .6s, visibility 0s 2s;
}
.vorhang__balken { position: absolute; left: 0; right: 0; height: 11vh; background: #000; transition: transform 1.2s var(--weich); z-index: 2; }
.vorhang__balken--oben { top: 0; }
.vorhang__balken--unten { bottom: 0; }
.vorhang__inhalt { position: relative; z-index: 3; text-align: center; padding: 0 var(--rand); max-width: 900px; }
.vorhang__marke { margin: 0 auto 1.6rem; opacity: 0; animation: einblenden 1.6s .2s forwards; filter: drop-shadow(0 0 24px rgba(198,161,91,.5)); }
.vorhang__vorzeile { font: 500 .8rem/1 var(--schrift-titel); letter-spacing: .4em; text-transform: uppercase; color: var(--text-leise); opacity: 0; animation: einblenden 1.4s .6s forwards; }
.vorhang__titel { font: 700 min(clamp(2.2rem, 1.2rem + 5vw, 5rem), 8.5vh)/1.05 var(--schrift-titel); letter-spacing: -.02em; margin: 1.2rem 0 2.4rem; }
.vorhang__titel span { display: block; opacity: 0; transform: translateY(24px); filter: blur(8px); animation: auftauchen 1.3s var(--weich) forwards; }
.vorhang__titel span:nth-child(1) { animation-delay: 1s; }
.vorhang__titel span:nth-child(2) { animation-delay: 1.6s; }
.vorhang__titel span:nth-child(3) { animation-delay: 2.3s; }
.vorhang .knopf, .vorhang__leise, .vorhang__hinweis { opacity: 0; animation: einblenden 1.2s 3.1s forwards; }
.vorhang__leise { display: block; margin: 1.2rem auto 0; background: none; border: 0; color: var(--text-leise); font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.vorhang__hinweis { font-size: .8rem; color: rgba(247,241,230,.45); margin-top: 1.6rem; }
body.ist-offen .vorhang { opacity: 0; visibility: hidden; pointer-events: none; }
body.ist-offen .vorhang__balken--oben { transform: translateY(-100%); }
body.ist-offen .vorhang__balken--unten { transform: translateY(100%); }
body.ist-offen .vorhang__inhalt { transform: scale(1.08); opacity: 0; transition: transform 1.6s var(--weich), opacity 1s; }

@keyframes einblenden { to { opacity: 1; } }
@keyframes auftauchen { to { opacity: 1; transform: none; filter: none; } }

/* ───────── Atmosphäre ───────── */
.himmel { position: fixed; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }
main, .fuss { position: relative; z-index: 1; }
.staub { position: fixed; inset: 0; z-index: 50; pointer-events: none; width: 100%; height: 100%; }
.koernung {
  position: fixed; inset: -50%; z-index: 51; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: rauschen .9s steps(4) infinite;
}
@keyframes rauschen { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } }
.lichtkegel {
  position: fixed; z-index: 49; pointer-events: none; width: 60vmax; height: 60vmax; left: 0; top: 0;
  margin: -30vmax 0 0 -30vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,161,91,.10), transparent 60%);
  transform: translate(50vw, 50vh); transition: transform .5s ease-out; mix-blend-mode: screen;
}

.tonknopf {
  position: fixed; z-index: 90; right: var(--rand); bottom: 20px;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem; border-radius: 999px;
  color: var(--text); background: rgba(12,26,44,.6); border: 1px solid var(--linie); backdrop-filter: blur(10px);
  font: 500 .8rem/1 var(--schrift-titel); letter-spacing: .15em; text-transform: uppercase; cursor: pointer;
  opacity: 0; transform: translateY(12px); transition: opacity .8s, transform .8s;
}
body.ist-offen .tonknopf { opacity: 1; transform: none; }
.tonknopf__balken { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; }
.tonknopf__balken i { width: 3px; height: 4px; background: var(--gold); border-radius: 2px; }
.tonknopf[aria-pressed="true"] .tonknopf__balken i { animation: eq 1s ease-in-out infinite; }
.tonknopf[aria-pressed="true"] .tonknopf__balken i:nth-child(2) { animation-delay: .2s; }
.tonknopf[aria-pressed="true"] .tonknopf__balken i:nth-child(3) { animation-delay: .4s; }
.tonknopf[aria-pressed="true"] .tonknopf__balken i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 14px; } }

.leiste { position: fixed; z-index: 91; top: 0; left: 0; right: 0; height: 2px; }
.leiste span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--gold)); }

/* ───────── Auftritte ───────── */
.auftritt { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--weich) var(--verz, 0s), transform 1.1s var(--weich) var(--verz, 0s); }
.auftritt.ist-da { opacity: 1; transform: none; }
.worte .wort { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(6px); transition: opacity .9s var(--weich), transform .9s var(--weich), filter .9s; transition-delay: calc(var(--i) * 70ms + var(--verz, 0s)); }
.worte.ist-da .wort { opacity: 1; transform: none; filter: none; }
.worte--scroll .wort { transition-delay: 0s; opacity: .14; filter: none; transform: none; }
.worte--scroll .wort.leuchtet { opacity: 1; }

/* ───────── Bühne ───────── */
.buehne { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.buehne__bild { position: absolute; inset: 0; z-index: -2; }
.buehne__bild picture { display: block; height: 100%; }
.buehne__bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 14s cubic-bezier(.2,.6,.2,1); }
body.ist-offen .buehne__bild img { transform: scale(1.02); }
.buehne__schleier { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(7,15,26,.55) 0%, rgba(7,15,26,0) 30%, rgba(7,15,26,.35) 55%, var(--navy-tief) 100%),
  radial-gradient(ellipse at 20% 80%, rgba(7,15,26,.7), transparent 60%),
  linear-gradient(90deg, rgba(7,15,26,.6) 0%, rgba(7,15,26,.25) 45%, transparent 70%); }
.buehne .kicker { color: var(--gold-hell); text-shadow: 0 1px 12px rgba(0,0,0,.8); }
.buehne__inhalt { padding: 0 var(--rand) clamp(80px, 14vh, 140px); max-width: 1100px; }
.buehne__titel { font: 700 clamp(2.1rem, 1rem + 4.6vw, 4.8rem)/1.04 var(--schrift-titel); letter-spacing: -.025em; margin: 0 0 1.4rem; text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.buehne__unterzeile { max-width: 640px; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--text); text-shadow: 0 2px 20px rgba(0,0,0,.6); margin: 0 0 2rem; }
.buehne__knoepfe { display: flex; flex-wrap: wrap; gap: 1rem; }
.scrollhinweis { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(247,241,230,.5); border-radius: 14px; }
.scrollhinweis span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollen 2s infinite; }
@keyframes scrollen { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* KI-Hinweis wie auf journey-of-money.de: nur Bilder mit Menschen */
.ki-bild:not(.buehne__bild) { position: relative; }
.ki-bild::after {
  content: "KI-unterstützt"; position: absolute; right: 12px; bottom: 12px; z-index: 4; pointer-events: none;
  font: 500 .72rem/1 var(--schrift-text); letter-spacing: .04em; color: var(--creme);
  background: rgba(8,19,31,.72); border: 1px solid rgba(252,250,244,.28); border-radius: 50px; padding: .36em .7em;
}
.buehne__bild.ki-bild::after { bottom: auto; top: 44px; }

/* ───────── Prolog ───────── */
.prolog { padding: clamp(120px, 22vh, 240px) var(--rand); max-width: 1100px; margin: 0 auto; }
.prolog__satz { font: 700 clamp(1.9rem, 1rem + 3.8vw, 4rem)/1.1 var(--schrift-titel); letter-spacing: -.02em; margin: 0 0 .4em; }
.prolog__satz--gold { color: var(--gold); }
.prolog__text { max-width: 640px; margin-top: 3rem; color: var(--text-leise); font-size: 1.15rem; }

/* ───────── Welten ───────── */
.welten { position: relative; height: 320vh; }
.welten__weiter { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); margin: 0; padding-bottom: 22px; font: 500 .72rem/1 var(--schrift-titel); letter-spacing: .25em; text-transform: uppercase; color: var(--gold-hell); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.welten__weiter::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 10px; height: 10px; margin-left: -5px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); animation: pfeil 1.6s infinite; }
@keyframes pfeil { 0%,100% { transform: translateY(-4px) rotate(45deg); opacity: .4; } 50% { transform: translateY(2px) rotate(45deg); opacity: 1; } }
.welten__klebe { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.welten__bilder img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.15); transition: opacity .9s var(--weich), transform 8s linear;
}
.welten__bilder img.aktiv { opacity: 1; transform: scale(1.02); }
.welten__schleier { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(7,15,26,.88) 0%, rgba(7,15,26,.55) 45%, rgba(7,15,26,.05) 75%),
  linear-gradient(180deg, var(--navy-tief) 0%, transparent 18%, transparent 80%, var(--navy-tief) 100%); }
.welten__kopf { position: absolute; top: clamp(70px, 12vh, 120px); left: var(--rand); }
.welten__untertitel { margin: 0; font: 500 1rem/1 var(--schrift-titel); color: var(--text-leise); }
.welten__tafeln { position: absolute; left: var(--rand); right: var(--rand); top: 50%; transform: translateY(-58%); max-width: 600px; }
.welt { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; transform: translateY(40px); pointer-events: none; transition: opacity .6s var(--weich), transform .6s var(--weich); }
.welt.aktiv { opacity: 1; transform: none; pointer-events: auto; }
.welt.vorbei { transform: translateY(-40px); }
.welt__nummer { font: 500 .85rem/1 var(--schrift-zahl); color: var(--gold); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 .6rem; }
.welt__name {
  font: 700 clamp(3.2rem, 1.5rem + 8vw, 8rem)/.9 var(--schrift-titel); letter-spacing: -.04em; margin: 0 0 1.4rem;
  background: linear-gradient(180deg, #fff 20%, var(--gold-hell) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.4));
}
.welt__frage { font: 500 clamp(1.25rem, 1rem + 1vw, 1.8rem)/1.3 var(--schrift-titel); margin: 0 0 .8rem; }
.welt__text { color: var(--text-leise); margin: 0; max-width: 520px; }
.welten__punkte { padding: 14px 14px !important; border-radius: 18px; background: rgba(7,15,26,.55); backdrop-filter: blur(8px); position: absolute; right: var(--rand); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.welten__punkte li { position: relative; padding-right: 24px; text-align: right; font: 500 .75rem/1 var(--schrift-titel); letter-spacing: .15em; text-transform: uppercase; color: rgba(247,241,230,.4); transition: color .6s; }
.welten__punkte li::after { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; border: 1px solid rgba(247,241,230,.5); transition: background .6s, box-shadow .6s, border-color .6s; }
.welten__punkte li.aktiv { color: var(--gold-hell); }
.welten__punkte li.aktiv::after { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px var(--gold); }
.welten__punkte li.vorbei::after { background: rgba(198,161,91,.5); border-color: transparent; }

/* ───────── Was dich erwartet ───────── */
.erwartet { padding: clamp(100px, 16vh, 180px) var(--rand); max-width: 1240px; margin: 0 auto; }
.abschnittstitel { font: 700 clamp(1.9rem, 1rem + 3vw, 3.4rem)/1.08 var(--schrift-titel); letter-spacing: -.02em; margin: 0 0 3rem; max-width: 820px; }
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: rgba(7,15,26,.82); border: 1px solid var(--linie); border-radius: 20px; overflow: hidden; margin-bottom: 4rem; }
.zahlkachel { background: var(--navy-tief); padding: 2rem 1.6rem; display: grid; gap: .6rem; align-content: start; }
.zahlkachel__wert { font: 500 clamp(3rem, 2rem + 3vw, 4.6rem)/1 var(--schrift-zahl); color: var(--gold); text-shadow: 0 0 40px rgba(198,161,91,.35); }
.zahlkachel__text { color: var(--text-leise); font-size: .95rem; }
.raumbild { margin: 0 0 4rem; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.raumbild img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.raumbild figcaption { padding: 1rem 1.4rem; font-size: .9rem; color: var(--text-leise); background: rgba(12,26,44,.9); }
.versprechen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.versprechen li { padding-top: 1.4rem; border-top: 1px solid var(--linie); color: var(--text-leise); }
.versprechen strong { display: block; color: var(--text); font: 600 1.1rem/1.35 var(--schrift-titel); margin-bottom: .5rem; }

/* ───────── Warum ───────── */
.warum { position: relative; overflow: hidden; padding: clamp(120px, 20vh, 220px) var(--rand); text-align: center; }
.warum__glanz { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 50% at 50% 50%, rgba(198,161,91,.18), transparent 70%),
  conic-gradient(from 0deg at 50% 50%, transparent, rgba(0,124,137,.12), transparent 30%, rgba(198,161,91,.1), transparent 60%);
  animation: drehen 40s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg) scale(1.4); } }
.warum__titel { font: 700 clamp(2rem, 1rem + 4vw, 4.4rem)/1.05 var(--schrift-titel); letter-spacing: -.025em; max-width: 1000px; margin: 0 auto 2.6rem; }
.warum__text { max-width: 640px; margin: 0 auto; color: var(--text-leise); font-size: 1.12rem; }
.warum__unterschrift { margin-top: 2rem; color: var(--gold-hell); font: 500 1.4rem/1.3 var(--schrift-titel); }

/* ───────── Person ───────── */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(80px, 12vh, 140px) var(--rand); max-width: 1240px; margin: 0 auto; }
.person__bild { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--linie); }
.person__bild img { width: 100%; height: 100%; object-fit: cover; }
.person__zitat { font: 700 clamp(1.7rem, 1rem + 2.4vw, 3rem)/1.15 var(--schrift-titel); letter-spacing: -.02em; margin: 0 0 1.6rem; color: var(--creme); }
.person__text p { color: var(--text-leise); }

/* ───────── Umfrage ───────── */
.umfrage { position: relative; min-height: 100svh; display: grid; place-items: center; padding: clamp(80px, 14vh, 160px) var(--rand); isolation: isolate; }
.umfrage__hintergrund { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, var(--navy-tief) 0%, rgba(7,15,26,.55) 30%, rgba(7,15,26,.7) 100%),
  url("medien/bild/terrasse-1600.webp") center / cover no-repeat; }
.umfrage__karte {
  width: 100%; max-width: 760px; padding: clamp(1.6rem, 4vw, 3rem);
  background: rgba(12,26,44,.78); border: 1px solid var(--linie); border-radius: 28px;
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
}
.umfrage__titel { font: 700 clamp(2.2rem, 1.4rem + 3vw, 3.6rem)/1 var(--schrift-titel); margin: 0 0 .6rem; letter-spacing: -.02em; }
.umfrage__lead { color: var(--text-leise); margin: 0 0 1.6rem; }
.schritte { display: flex; gap: 6px; margin-bottom: 1.8rem; }
.schritte span { flex: 1; height: 3px; border-radius: 3px; background: rgba(247,241,230,.15); transition: background .5s; }
.schritte span.aktiv { background: var(--gold); }

.bogen fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.schritt { display: none; }
.schritt.aktiv { display: block; animation: schrittRein .6s var(--weich); }
@keyframes schrittRein { from { opacity: 0; transform: translateX(24px); } }
.schritt legend { font: 600 1.25rem/1.3 var(--schrift-titel); margin-bottom: 1.2rem; padding: 0; }
.schritt__hilfe { color: var(--text-leise); font-size: .95rem; margin: -.6rem 0 1.2rem; }

.wahl { display: grid; gap: 12px; }
.wahl--drei { grid-template-columns: repeat(3, 1fr); }
.wahlkarte { position: relative; display: grid; gap: .3rem; align-content: start; padding: 1.2rem; border-radius: 18px; border: 1px solid rgba(247,241,230,.18); background: rgba(247,241,230,.04); cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--weich); }
.wahlkarte:hover { transform: translateY(-2px); border-color: rgba(198,161,91,.6); }
.wahlkarte input { position: absolute; opacity: 0; pointer-events: none; }
.wahlkarte__symbol { font-size: 1.4rem; color: var(--gold); line-height: 1; margin-bottom: .4rem; }
.wahlkarte__titel { font: 600 1.05rem/1.25 var(--schrift-titel); }
.wahlkarte__text { font-size: .88rem; color: var(--text-leise); }
.wahlkarte:has(input:checked) { border-color: var(--gold); background: rgba(198,161,91,.14); box-shadow: 0 0 0 1px var(--gold), 0 14px 40px -18px rgba(198,161,91,.8); }
.wahlkarte:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.wahl--termine { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.wahl--termine .wahlkarte__titel { font-family: var(--schrift-zahl); font-weight: 500; font-size: 1rem; }

.haken { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.2rem; font-size: .95rem; color: var(--text-leise); cursor: pointer; }
.haken input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--gold); }
.haken--einwilligung { padding: 1rem; border-radius: 14px; background: rgba(198,161,91,.08); border: 1px solid var(--linie); }

.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feld { display: grid; gap: .4rem; margin-bottom: 12px; font-size: .9rem; color: var(--text-leise); }
.feld em { color: rgba(247,241,230,.45); }
.feld input, .feld textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid rgba(247,241,230,.2); background: rgba(7,15,26,.6); color: var(--text);
  font: 400 1rem/1.4 var(--schrift-text); transition: border-color .3s, box-shadow .3s;
}
.feld textarea { resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,161,91,.25); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bogen__fehler { min-height: 1.4em; color: #F2A07B; font-size: .92rem; margin: 1rem 0 0; }
.bogen__knoepfe { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.bogen__knoepfe .knopf:last-child, .bogen__knoepfe #weiter, .bogen__knoepfe #absenden { margin-left: auto; }
.knopf[disabled] { opacity: .6; cursor: wait; }

.danke { text-align: center; padding: 1rem 0; animation: schrittRein .8s var(--weich); }
.danke:focus { outline: none; }
.danke__siegel { width: 96px; height: 96px; margin: 0 auto 1.4rem; display: grid; place-items: center; border-radius: 50%; font-size: 2.4rem; color: var(--navy); background: radial-gradient(circle at 35% 30%, #F5E3B5, var(--gold) 60%, #8E6C2F); box-shadow: 0 0 60px rgba(198,161,91,.6); animation: siegel 1.2s var(--weich); }
@keyframes siegel { from { transform: scale(0) rotate(-120deg); } }
.danke__titel { font: 700 clamp(1.8rem, 1.2rem + 2vw, 2.6rem)/1.1 var(--schrift-titel); margin: 0 0 1rem; }
.danke__text { color: var(--text-leise); max-width: 520px; margin: 0 auto; }

/* ───────── Fuß ───────── */
.fuss { padding: 3rem var(--rand) 5rem; text-align: center; font-size: .85rem; color: rgba(247,241,230,.5); border-top: 1px solid rgba(198,161,91,.15); }
.fuss p { margin: .3rem 0; }
.fuss__links { display: flex; gap: 1.6rem; justify-content: center; margin-top: 1rem !important; }
.fuss__links a { color: var(--text-leise); }
.fuss__klein { font-size: .75rem; margin-top: 1rem !important; }

/* ───────── Schmale Bildschirme ───────── */
@media (max-width: 860px) {
  .zahlen { grid-template-columns: repeat(2, 1fr); }
  .versprechen { grid-template-columns: 1fr; gap: 1.4rem; }
  .person { grid-template-columns: 1fr; }
  .person__bild { max-width: 380px; }
  .welten__punkte li { font-size: 0; padding-right: 0; width: 9px; height: 9px; }
  .welten__punkte { right: 16px; gap: 14px; }
  .welten__schleier { background: linear-gradient(180deg, var(--navy-tief) 0%, rgba(7,15,26,.35) 25%, rgba(7,15,26,.75) 60%, var(--navy-tief) 100%); }
  .welten__tafeln { top: auto; bottom: 12vh; transform: none; right: 44px; }
  .welt { inset: auto auto 0 0; }
}
@media (max-width: 640px) {
  .wahl--drei, .wahl--termine, .feldreihe { grid-template-columns: 1fr; }
  .wahlkarte { grid-template-columns: auto 1fr; column-gap: .9rem; padding: 1rem; }
  .wahlkarte__symbol { grid-row: span 2; margin: 0; align-self: center; }
  .zahlkachel { padding: 1.4rem 1.1rem; }
  .buehne__knoepfe .knopf { flex: 1 1 100%; }
  .tonknopf__text { display: none; }
  .tonknopf { bottom: 12px; right: 12px; }
}

/* Wer weniger Bewegung möchte, bekommt Ruhe. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; transition-delay: 0s !important; }
  .koernung, .lichtkegel, .staub { display: none; }
  html { scroll-behavior: auto; }
}

/* ───────── Datenschutzhinweis ───────── */
body.rechtstext { overflow: auto; }
.rechtstext__inhalt { max-width: 720px; margin: 0 auto; padding: 64px 16px 96px; }
.rechtstext h1 { font: 700 clamp(1.8rem, 1.2rem + 2vw, 2.6rem)/1.15 var(--schrift-titel); margin: 0 0 1.4rem; }
.rechtstext h2 { font: 600 1.15rem/1.3 var(--schrift-titel); color: var(--gold-hell); margin: 2rem 0 .5rem; }
.rechtstext p { color: var(--text-leise); }
.rechtstext code { font-family: var(--schrift-zahl); font-size: .9em; }

/* ───────── Eckdaten und Ort je Termin ───────── */
.eckdaten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0 0 4rem; padding: 1.6rem 1.8rem; border: 1px solid var(--linie); border-radius: 20px; background: rgba(198,161,91,.06); }
.eckdaten dt { font: 500 .75rem/1.2 var(--schrift-titel); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.eckdaten dd { margin: 0; color: var(--text); }
.wahlkarte__ort { font-size: .88rem; font-weight: 600; color: var(--gold-hell); }
@media (max-width: 860px) { .eckdaten { grid-template-columns: 1fr; gap: 1.2rem; } }
@media (max-width: 640px) { .wahlkarte__symbol { grid-row: span 3; } }
#eckdaten-wo { white-space: pre-line; }

/* Solange der Vorhang zu ist, steht dahinter nur der Sternenhimmel; das Bühnenfoto taucht beim Öffnen auf. */
.buehne__bild, .buehne__schleier { transition: opacity 2.2s var(--weich) .4s; }
body.ist-zu .buehne__bild, body.ist-zu .buehne__schleier { opacity: 0; }

/* ───────── Reisepass ───────── */
.pass {
  position: fixed; z-index: 90; left: var(--rand); bottom: 20px;
  padding: .7rem .8rem .8rem; border-radius: 16px;
  background: linear-gradient(160deg, rgba(20,40,64,.88), rgba(12,26,44,.9)); border: 1px solid var(--linie);
  backdrop-filter: blur(10px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .8s, transform .8s var(--weich), box-shadow .8s;
}
.pass.sichtbar { opacity: 1; transform: none; }
.pass__kopf { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .55rem; font: 500 .66rem/1 var(--schrift-titel); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.pass__zahl { font-family: var(--schrift-zahl); letter-spacing: .05em; color: var(--gold-hell); }
.pass__seiten { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.pass__seiten li { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px dashed rgba(247,241,230,.22); display: grid; place-items: center; }
.pass__seiten span { font: 600 .58rem/1 var(--schrift-zahl); letter-spacing: .04em; color: rgba(247,241,230,.25); }
.pass__seiten li.gestempelt {
  border: 2px solid var(--gold); background: radial-gradient(circle, rgba(198,161,91,.28), rgba(198,161,91,.06) 70%);
  box-shadow: inset 0 0 0 3px rgba(12,26,44,.9), inset 0 0 0 4px rgba(198,161,91,.6);
  transform: rotate(var(--dreh, -8deg)); animation: stempeln .55s cubic-bezier(.2,1.6,.4,1);
}
.pass__seiten li.gestempelt span { color: var(--gold-hell); }
@keyframes stempeln { 0% { transform: scale(2.6) rotate(-30deg); opacity: 0; } 60% { transform: scale(.88) rotate(var(--dreh, -8deg)); opacity: 1; } 100% { transform: scale(1) rotate(var(--dreh, -8deg)); } }
.pass.komplett { box-shadow: 0 0 0 1px var(--gold), 0 0 40px -6px rgba(198,161,91,.7); }
.pass__visum { margin: .55rem 0 0; text-align: center; font: 600 .7rem/1 var(--schrift-titel); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: linear-gradient(135deg, var(--gold-hell), var(--gold)); border-radius: 99px; padding: .4rem .6rem; }
.pass__meldung {
  position: fixed; z-index: 91; left: 50%; top: 18%; transform: translate(-50%, 0); margin: 0; pointer-events: none;
  padding: .7rem 1.2rem; border-radius: 99px; background: rgba(12,26,44,.85); border: 1px solid var(--linie); backdrop-filter: blur(8px);
  font: 600 .95rem/1.2 var(--schrift-titel); color: var(--gold-hell); opacity: 0; white-space: nowrap;
}
.pass__meldung.zeigt { animation: meldung var(--dauer, 4s) var(--weich); }
@keyframes meldung { 0% { opacity: 0; transform: translate(-50%, 12px); } 12%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -8px); } }
.umfrage__visum { margin-left: .8em; padding: .25em .7em; border-radius: 99px; background: rgba(198,161,91,.16); border: 1px solid var(--gold); letter-spacing: .12em; }
@media (max-width: 640px) {
  .pass { left: 12px; bottom: 12px; padding: .55rem .6rem .6rem; }
  .pass__seiten li { width: 30px; height: 30px; }
  .pass__seiten span { font-size: .5rem; }
  .pass__meldung { font-size: .82rem; white-space: normal; text-align: center; width: max-content; max-width: 86vw; }
}
@media (max-width: 640px) { body.in-umfrage .pass { opacity: 0; } }
.zahlkachel { box-shadow: 0 0 0 .5px var(--linie); background: transparent; }

/* ───────── Spielzug: eine Entscheidung zum Anspielen ───────── */
.spielzug { padding: clamp(60px, 10vh, 120px) var(--rand) clamp(100px, 16vh, 180px); max-width: 980px; margin: 0 auto; text-align: center; }
.spielzug > .kicker { margin-bottom: 84px; }
.spielzug__karte {
  position: relative; padding: clamp(2rem, 5vw, 3.4rem) clamp(1.2rem, 4vw, 3rem) clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 28px; border: 1px solid var(--linie);
  background: radial-gradient(ellipse at 50% 0%, rgba(198,161,91,.16), transparent 60%), rgba(12,26,44,.82);
  backdrop-filter: blur(8px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
}
.spielzug__mira { position: absolute; top: -64px; right: clamp(10px, 4vw, 40px); width: 128px; height: 128px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.6)); }
.spielzug__mira.hops { animation: hops .7s cubic-bezier(.3,1.6,.5,1); }
@keyframes hops { 0% { transform: translateY(0); } 35% { transform: translateY(-18px) rotate(-6deg); } 100% { transform: none; } }
.spielzug__anlass { color: var(--text-leise); margin: 0 auto .4rem; max-width: 560px; }
.spielzug__betrag { font: 500 clamp(3.2rem, 2rem + 6vw, 6rem)/1 var(--schrift-zahl); color: var(--gold); margin: 0 0 1rem; text-shadow: 0 0 50px rgba(198,161,91,.45); }
.spielzug__frage { font: 700 clamp(1.3rem, 1rem + 1.4vw, 2rem)/1.25 var(--schrift-titel); margin: 0 auto 2rem; max-width: 640px; }
.spielzug__wahl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zug {
  display: grid; gap: .35rem; justify-items: center; padding: 1.3rem 1rem; border-radius: 18px; cursor: pointer;
  border: 1px solid rgba(247,241,230,.18); background: rgba(247,241,230,.04); color: var(--text); font: inherit;
  transition: transform .35s var(--weich), border-color .35s, background .35s, opacity .4s, filter .4s;
}
.zug:hover { transform: translateY(-3px); border-color: rgba(198,161,91,.7); }
.zug__symbol { font-size: 1.6rem; color: var(--gold); line-height: 1; }
.zug__titel { font: 600 1.08rem/1.2 var(--schrift-titel); }
.zug__text { font-size: .88rem; color: var(--text-leise); }
.zug.gewaehlt { border-color: var(--gold); background: rgba(198,161,91,.16); box-shadow: 0 0 0 1px var(--gold), 0 16px 44px -18px rgba(198,161,91,.9); transform: translateY(-3px) scale(1.02); }
.zug.abgewaehlt { opacity: .4; filter: saturate(.4); }
.spielzug__folge { margin-top: 2rem; text-align: left; animation: schrittRein .7s var(--weich); }
.spielzug__mira-satz { font: 500 clamp(1.1rem, 1rem + .6vw, 1.4rem)/1.4 var(--schrift-titel); color: var(--gold-hell); margin: 0 0 .8rem; }
.spielzug__text { color: var(--text-leise); margin: 0 0 1.6rem; }
.muster { display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.muster__zeile { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 1rem; font: 500 .8rem/1 var(--schrift-titel); letter-spacing: .14em; text-transform: uppercase; color: var(--text-leise); }
.muster__zeile i { display: block; height: 10px; border-radius: 99px; background: rgba(247,241,230,.08); overflow: hidden; }
.muster__zeile b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.spielzug__schluss { margin: 0 0 1.2rem; color: var(--text); }
.spielzug__schluss strong { color: var(--gold-hell); }
.spielzug__nochmal { background: none; border: 0; padding: 0; color: var(--text-leise); font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 700px) {
  .spielzug__wahl { grid-template-columns: 1fr; }
  .zug { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: .9rem; }
  .zug__symbol { grid-row: span 2; align-self: center; }
  .spielzug__mira { width: 96px; height: 96px; top: -48px; }
  .muster__zeile { grid-template-columns: 96px 1fr; font-size: .7rem; }
}

/* ───────── Mira ───────── */
.mira {
  position: fixed; z-index: 92; right: var(--rand); bottom: 78px; display: flex; align-items: flex-end; gap: .4rem;
  max-width: min(380px, calc(100vw - 32px)); pointer-events: none; opacity: 0; transform: translateY(20px) scale(.96);
  transition: opacity .6s, transform .6s var(--weich);
}
.mira.da { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.mira__bild { width: 84px; height: 84px; flex: none; order: 2; filter: drop-shadow(0 8px 16px rgba(0,0,0,.6)); }
.mira.da .mira__bild { animation: hops .8s cubic-bezier(.3,1.6,.5,1); }
.mira__blase {
  order: 1; margin: 0 0 30px; padding: .8rem 1rem; border-radius: 16px 16px 4px 16px;
  background: rgba(247,241,230,.95); color: var(--navy); font-size: .92rem; line-height: 1.45; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
}
.mira__name { display: block; font: 600 .68rem/1 var(--schrift-titel); letter-spacing: .2em; text-transform: uppercase; color: #8E6C2F; margin-bottom: .3rem; }
@media (max-width: 640px) { .mira { bottom: 14px; right: 12px; } .mira__bild { width: 64px; height: 64px; } .mira__blase { font-size: .85rem; } }

/* Abstände: nichts Festes darf Text verdecken */
@media (max-width: 860px) {
  .welten__tafeln { bottom: 22vh; }
  .spielzug > .kicker { margin-bottom: 64px; }
}
@media (max-width: 640px) { .mira { bottom: auto; top: 64px; align-items: flex-start; } .mira__blase { margin: 24px 0 0; border-radius: 16px 4px 16px 16px; } }

/* Welt-Texte von unten verankert, immer mit Luft über dem Reisepass */
.welten__tafeln { top: auto; bottom: clamp(140px, 19vh, 210px); transform: none; }
.welt { inset: auto auto 0 0; }
@media (max-width: 860px) { .welten__tafeln { bottom: max(130px, 20vh); } }
.spielzug__karte { padding-top: 84px; }
.spielzug__anlass { max-width: 520px; }
@media (max-width: 700px) { .spielzug__karte { padding-top: 64px; } }

.mira__blase { position: relative; padding-right: 2rem; }
.mira__zu { position: absolute; top: .35rem; right: .45rem; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(12,26,44,.08); color: var(--navy); font: 600 1rem/1 var(--schrift-text); cursor: pointer; }
.mira__zu:hover { background: rgba(12,26,44,.16); }

@media (max-width: 960px) and (min-width: 701px) { .spielzug__wahl { grid-template-columns: repeat(2, 1fr); } }

/* Aufteilen: Regler zwischen gönnen und anlegen */
.teiler { margin: 0 0 1.6rem; padding: 1.2rem 1.2rem 1rem; border-radius: 16px; border: 1px solid var(--linie); background: rgba(198,161,91,.06); }
.teiler__betraege { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; color: var(--text-leise); font-size: .95rem; }
.teiler__betraege b { display: block; font: 500 clamp(1.3rem, 1rem + 1vw, 1.7rem)/1.1 var(--schrift-zahl); color: var(--gold-hell); }
.teiler__betraege span:last-child { text-align: right; }
#teiler-regler {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(90deg, var(--teal) 0 var(--anteil, 50%), var(--gold) var(--anteil, 50%) 100%);
}
#teiler-regler::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F5E3B5, var(--gold) 60%, #8E6C2F); border: 2px solid var(--navy); box-shadow: 0 0 18px rgba(198,161,91,.7); }
#teiler-regler::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F5E3B5, var(--gold) 60%, #8E6C2F); border: 2px solid var(--navy); box-shadow: 0 0 18px rgba(198,161,91,.7); }
.teiler__hilfe { margin: .8rem 0 0; font-size: .85rem; color: var(--text-leise); text-align: center; }

/* Nach der Wahl steht Mira neben ihrem Satz */
.spielzug__sagt { display: flex; align-items: center; gap: 1.1rem; margin: 0 0 .9rem; }
.spielzug__sagt .spielzug__mira-satz { margin: 0; }
.spielzug__mira.im-text { position: static; width: 104px; height: 104px; flex: none; }
@media (max-width: 700px) { .spielzug__mira.im-text { width: 76px; height: 76px; } .spielzug__sagt { gap: .7rem; } }
@media (max-width: 640px) {
  /* Auf dem Handy liegt nichts Festes länger über dem Text als nötig */
  body:not(.in-welten) .pass { opacity: 0; pointer-events: none; }
  body.in-umfrage .tonknopf { opacity: 0; pointer-events: none; }
}

/* Solange der Vorhang zu ist, ist vom Inhalt nichts zu sehen, egal wo die Seite steht. */
body.ist-zu main, body.ist-zu .fuss { visibility: hidden; }

/* Mira in jeder Station: ein Satz aus ihrer Sicht */
.welt__mira { display: flex; align-items: center; gap: .8rem; margin: 1.1rem 0 0; max-width: 520px; padding: .7rem .9rem .7rem .7rem; border-radius: 14px; background: rgba(7,15,26,.55); border: 1px solid var(--linie); backdrop-filter: blur(6px); }
.welt__mira img { width: 44px; height: 44px; flex: none; border-radius: 50%; }
.welt__mira span { font-size: .95rem; line-height: 1.45; color: var(--creme); }
.welt__mira b { display: block; font: 600 .66rem/1 var(--schrift-titel); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
@media (max-width: 640px) { .welt__mira { padding: .55rem .7rem .55rem .55rem; } .welt__mira img { width: 36px; height: 36px; } .welt__mira span { font-size: .85rem; } }

.mira-fest { margin: -1.6rem 0 2.6rem; }
.umfrage .mira-fest { margin: 0 0 1.6rem; background: rgba(198,161,91,.08); }

/* ───────── Mira fliegt herein (ersetzt die bisherige Blase) ───────── */
.mira { right: auto; bottom: auto; opacity: 0; transform: none; transition: none; max-width: min(460px, calc(100vw - 24px)); align-items: flex-end; gap: .2rem; }
.mira.rechts { right: var(--rand); bottom: 92px; flex-direction: row-reverse; }
.mira.links { left: var(--rand); top: 21vh; flex-direction: row; align-items: flex-start; }
.mira__bild { order: 0; width: 118px; height: 118px; }
.mira__blase { order: 0; margin: 0 0 54px; }
.mira.links .mira__blase { margin: 46px 0 0; border-radius: 4px 16px 16px 16px; }
.mira.rechts .mira__blase { border-radius: 16px 16px 4px 16px; }
.mira.da { opacity: 1; pointer-events: auto; }
.mira.da.rechts { animation: einflugRechts 1.05s cubic-bezier(.2,.8,.25,1) both; }
.mira.da.links { animation: einflugLinks 1.05s cubic-bezier(.2,.8,.25,1) both; }
.mira.da .mira__bild { animation: flattern .18s ease-in-out 5 alternate, landen .5s .9s cubic-bezier(.3,1.6,.5,1) both; }
.mira.da .mira__blase { animation: blaseAuf .45s .85s cubic-bezier(.3,1.5,.5,1) both; }
.mira.fort { opacity: 1; }
.mira.fort.rechts { animation: ausflugRechts .45s ease-in forwards; }
.mira.fort.links { animation: ausflugLinks .45s ease-in forwards; }
@keyframes einflugRechts { 0% { opacity: 0; transform: translate(70vw, -40vh) rotate(-18deg) scale(.6); } 55% { opacity: 1; transform: translate(-14px, 10px) rotate(6deg) scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes einflugLinks { 0% { opacity: 0; transform: translate(-70vw, -30vh) rotate(18deg) scale(.6); } 55% { opacity: 1; transform: translate(14px, 10px) rotate(-6deg) scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes ausflugRechts { to { opacity: 0; transform: translate(60vw, -35vh) rotate(14deg) scale(.6); } }
@keyframes ausflugLinks { to { opacity: 0; transform: translate(-60vw, -35vh) rotate(-14deg) scale(.6); } }
@keyframes flattern { from { transform: rotate(-7deg) scaleY(.94); } to { transform: rotate(7deg) scaleY(1.05); } }
@keyframes landen { 0% { transform: translateY(-6px); } 60% { transform: translateY(3px) scaleY(.94); } 100% { transform: none; } }
@keyframes blaseAuf { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.mira.rechts .mira__blase { transform-origin: 100% 100%; }
.mira.links .mira__blase { transform-origin: 0 0; }
@media (max-width: 640px) {
  .mira.rechts { right: 10px; bottom: 64px; top: auto; }
  .mira.links { left: 10px; top: 58px; }
  .mira__bild { width: 76px; height: 76px; }
  .mira.rechts .mira__blase { margin-bottom: 34px; }
  .mira.links .mira__blase { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { .mira.da.rechts, .mira.da.links, .mira.da .mira__bild, .mira.da .mira__blase, .mira.fort.rechts, .mira.fort.links { animation: none; } .mira.fort { opacity: 0; } }
.mira__blase { max-width: 330px; }
@media (max-width: 640px) { .mira__blase { max-width: 64vw; } }
@media (max-width: 640px) {
  /* Handy: Mira landet oben im freien Bildbereich, nie über dem Text unten */
  .mira.rechts, .mira.links { top: 150px; bottom: auto; align-items: flex-start; }
  .mira.rechts .mira__blase { margin: 30px 0 0; border-radius: 16px 4px 16px 16px; }
  .mira.links .mira__blase { margin: 30px 0 0; }
}

/* Mira verstummt: Blase klappt weg, die Eule bleibt sitzen; Klick auf die Eule holt den Satz zurück */
.mira__bild { cursor: pointer; }
.mira__bild:focus-visible { outline: 2px solid var(--gold, #C6A15B); outline-offset: 4px; border-radius: 50%; }
.mira__zu { width: 30px; height: 30px; font-size: 1.15rem; background: rgba(12,26,44,.12); }
.mira.still { pointer-events: none; }
.mira.still .mira__bild { pointer-events: auto; }
.mira.da.still .mira__blase { animation: blaseZu .35s ease-in forwards; pointer-events: none; }
.mira.da.wieder:not(.still) .mira__blase { animation: blaseAuf .4s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes blaseZu { to { opacity: 0; transform: scale(.6); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .mira.da.still .mira__blase { animation: none; opacity: 0; visibility: hidden; } .mira.da.wieder:not(.still) .mira__blase { animation: none; } }
