/* ==========================================================================
   Kinderland Ringleben e.V. – Übergangsseite „Wichtel-Baustelle“ (Dezember 2026)
   SchubertMedia · statisch, ohne fremde Server, Schriften lokal
   ========================================================================== */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face { font-family: "Mali"; src: url("../fonts/mali-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Mali"; src: url("../fonts/mali-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Schoolbell"; src: url("../fonts/schoolbell-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-var.woff2") format("woff2-variations"), url("../fonts/nunito-var.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
}

/* ---------- Farben und Maße (wie die neue Website) ---------- */
:root {
  --creme: #fff9ee;
  --papier: #fffdf8;
  --wald: #22513a;
  --wald-dunkel: #173a29;
  --text: #2e3a32;
  --text-leise: #55635a;
  --koralle: #c4492d;
  --koralle-dunkel: #a83c22;
  --koralle-hell: #fde6dc;
  --sonne: #ffcf4d;
  --sonne-hell: #fff2c7;
  --wiese: #8dbf5a;
  --wiese-hell: #e9f3dd;
  --himmel: #7dbce3;
  --himmel-hell: #e4f1fa;
  --warn-schwarz: #2b2a26;
  --holz: #c98c55;
  --holz-dunkel: #8a5631;

  --schrift-hand: "Mali", "Comic Neue", "Segoe Print", cursive;
  --schrift-kritzel: "Schoolbell", "Mali", "Segoe Print", cursive;
  --schrift-text: "Nunito", "Segoe UI", system-ui, sans-serif;

  --schatten-weich: 0 1px 2px rgba(34, 81, 58, .06), 0 10px 28px rgba(34, 81, 58, .10);
  --radius: 22px;
  --rahmen-max: 1200px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(255, 207, 77, .22), transparent 70%),
    radial-gradient(900px 600px at -10% 30%, rgba(125, 188, 227, .16), transparent 70%),
    var(--creme);
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--wald); text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { color: var(--koralle-dunkel); }
:focus-visible { outline: 3px solid var(--koralle); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: var(--schrift-hand); color: var(--wald); line-height: 1.15; margin: 0 0 .6rem; }

.rahmen { width: min(100% - 2.5rem, var(--rahmen-max)); margin-inline: auto; }
.symbol { width: 1.15em; height: 1.15em; flex: none; }
.nur-vorleser {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprunglink {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--wald); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-weight: 700;
}
.sprunglink:focus { top: 1rem; color: #fff; }

/* ---------- Absperrband oben ---------- */
.absperrband-huelle { overflow: hidden; padding: .7rem 0 .5rem; margin-bottom: -.4rem; }
.absperrband {
  position: relative;
  z-index: 5;
  overflow: hidden;
  margin: 0 -1rem;
  rotate: -1.2deg;
  background: repeating-linear-gradient(-45deg, var(--koralle) 0 18px, #fff 18px 36px);
  border-block: 2px solid rgba(43, 42, 38, .18);
  box-shadow: 0 6px 14px rgba(43, 42, 38, .12);
  padding: .35rem 0;
}
.absperrband__lauf {
  display: flex;
  width: max-content;
  gap: 1.6rem;
  padding-left: 1.6rem;
}
.absperrband__lauf span {
  font-family: var(--schrift-hand);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--warn-schwarz);
  background: #fff;
  border-radius: 6px;
  padding: .05rem .7rem;
  white-space: nowrap;
}

/* ---------- Kopf ---------- */
.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.1rem .4rem;
}
.marke {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--wald);
  text-decoration: none;
}
.marke img { width: 64px; }
.marke__name { display: flex; flex-direction: column; font-family: var(--schrift-hand); line-height: 1.05; }
.marke__titel { font-size: 1.7rem; font-weight: 700; }
.marke__ort { font-size: 1rem; font-weight: 600; color: var(--koralle-dunkel); margin-top: .15rem; }

.kopf__schild {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: .45rem .95rem .45rem .8rem;
  font-family: var(--schrift-hand);
  font-weight: 700;
  font-size: .98rem;
  color: var(--warn-schwarz);
  background: var(--sonne);
  border: 3px solid var(--warn-schwarz);
  border-radius: 10px;
  box-shadow: 3px 4px 0 rgba(43, 42, 38, .85);
  rotate: 2deg;
  transform-origin: 50% -40%;
}

/* ---------- Bühne: Text und Szene ---------- */
.buehne {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem);
}
.buehne__kopf, .buehne__text { min-width: 0; }
.buehne__kopf { order: 0; }
.szene { order: 1; }
.buehne__text { order: 2; }
/* Handy: Überschrift, dann die Szene, dann Text und Knöpfe.
   Breit: links Überschrift und Text, rechts die Szene über beide Zeilen. */
@media (min-width: 920px) {
  .buehne {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    grid-template-areas: "kopf szene" "text szene";
    grid-template-rows: auto auto;
    row-gap: 0;
    align-content: center;
  }
  .buehne__kopf { grid-area: kopf; align-self: end; }
  .buehne__text { grid-area: text; align-self: start; }
  .szene { grid-area: szene; }
}

.dachzeile {
  display: inline-block;
  margin: 0 0 .9rem;
  font-family: var(--schrift-kritzel);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--koralle-dunkel);
  rotate: -2deg;
}
.buehne h1 {
  font-size: clamp(1.85rem, 1.15rem + 2.5vw, 3.05rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
.kopfueber {
  display: inline-block;
  color: var(--koralle);
  white-space: nowrap;
}
.kopfueber > span {
  display: inline-block;
  transform-origin: 50% 52%;
}
.einleitung { font-size: 1.15rem; max-width: 36rem; color: var(--text); margin: 0 0 1.6rem; }

.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.knopf {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2.5px solid var(--warn-schwarz);
  transition: translate .15s ease, box-shadow .15s ease;
}
.knopf--sonne { background: var(--sonne); color: var(--warn-schwarz); box-shadow: 3px 4px 0 var(--warn-schwarz); }
.knopf--rand { background: var(--papier); color: var(--wald); border-color: var(--wald); box-shadow: 3px 4px 0 var(--wald); }
.knopf:hover { translate: -1px -2px; color: inherit; }
.knopf--sonne:hover { box-shadow: 4px 6px 0 var(--warn-schwarz); color: var(--warn-schwarz); }
.knopf--rand:hover { box-shadow: 4px 6px 0 var(--wald); color: var(--wald); }
.knopf:active { translate: 2px 2px; box-shadow: 1px 1px 0 currentColor; }

/* ---------- Szene: Wichteltür mit Baustelle ----------
   Alle Ebenen liegen in Prozent auf der Bühne, damit die Szene mit der Breite skaliert. */
.szene {
  --boden: 19%;          /* Höhe des Fußbodens */
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1 / .9;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  border: 5px solid #fff;
  box-shadow: var(--schatten-weich), 0 0 0 2px rgba(34, 81, 58, .08);
  background: #f6ead3;
}
.szene__wand {
  position: absolute;
  inset: 0 0 var(--boden) 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .55), transparent 62%),
    radial-gradient(circle, rgba(196, 73, 45, .16) 0 2.2px, transparent 2.6px) 0 0 / 34px 34px,
    repeating-linear-gradient(90deg, #f8eedb 0 46px, #f3e4c8 46px 50px);
}
.szene__leiste {
  position: absolute;
  left: 0; right: 0;
  bottom: var(--boden);
  height: 5.5%;
  background: linear-gradient(#e7c79e, #d2a777 55%, #b98a5c);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), 0 2px 0 rgba(90, 55, 30, .25);
}
.szene__boden {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--boden);
  background:
    linear-gradient(rgba(90, 55, 30, .22), transparent 30%),
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 2px), rgba(90, 55, 30, .18) calc(25% - 2px) 25%),
    repeating-linear-gradient(0deg, #d9a978 0 calc(33.33% - 2px), #c7935f calc(33.33% - 2px) 33.33%);
}

/* Tür: Maße der Öffnung stammen aus _quelle/tuer-masse.json */
.tuer {
  --oeffnung-links: 16.65%;
  --oeffnung-oben: 14.56%;
  --oeffnung-breite: 60.61%;
  --oeffnung-hoehe: 75.6%;
  --bogen: 28.3%;          /* senkrechter Radius des Bogens in Prozent der Öffnungshöhe */
  position: absolute;
  left: 27%;
  bottom: calc(var(--boden) - 2.5%);
  width: 40%;
  aspect-ratio: 706 / 1000;
  perspective: 1100px;
  z-index: 2;
}
.tuer__rahmen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.tuer__innen {
  position: absolute;
  left: calc(var(--oeffnung-links) - 1%);
  top: calc(var(--oeffnung-oben) - 1%);
  width: calc(var(--oeffnung-breite) + 2%);
  height: calc(var(--oeffnung-hoehe) + 2%);
  border-radius: 50% 50% 0 0 / var(--bogen) var(--bogen) 0 0;
  overflow: hidden;
  z-index: 1;
  background: #3b2213;
}
.tuer__licht {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 88%, rgba(255, 214, 128, .95), rgba(243, 169, 75, .65) 45%, transparent 75%),
    linear-gradient(#4a2b17, #6d3f1f 60%, #8a5428);
}
.tuer__angel {
  position: absolute;
  left: calc(var(--oeffnung-links) - 1.5%);
  top: calc(var(--oeffnung-oben) - 1.5%);
  width: calc(var(--oeffnung-breite) + 3%);
  height: calc(var(--oeffnung-hoehe) + 3%);
  z-index: 3;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
  transform: rotateY(-108deg);     /* Endstellung: Tür steht weit offen */
}
/* Rückseite der Tür: schlichte Bretter, sichtbar sobald die Tür weiter als 90° aufgeht */
.tuer__angel::after {
  content: "";
  position: absolute;
  inset: 1% 1.5% 0 1.5%;
  border-radius: 50% 50% 3% 3% / 28% 28% 1.5% 1.5%;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(20% - 2px), rgba(30, 50, 15, .35) calc(20% - 2px) 20%),
    linear-gradient(90deg, #4f7a2c, #5f8c35 45%, #4a7229);
  box-shadow: inset 0 0 0 3px rgba(60, 40, 15, .45);
  transform: rotateY(180deg);
  backface-visibility: hidden;
}
.tuer__blatt {
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  filter: drop-shadow(-6px 4px 6px rgba(60, 35, 15, .25));
}

.wichtel { position: absolute; display: block; height: auto; }
.wichtel--maedchen {
  left: 50%;
  bottom: -2%;
  width: 78%;
  translate: -50% 0;
  transform-origin: 50% 100%;
}

.junge {
  position: absolute;
  left: 69%;
  bottom: 8%;
  width: 21%;
  z-index: 4;
  transform-origin: 50% 55%;
}
.wichtel--junge {
  position: relative;
  width: 100%;
  transform-origin: 50% 100%;
}
.schatten {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 40, 18, .35), transparent);
}
.schatten--junge { left: 69.5%; bottom: 6.5%; width: 20%; height: 4.5%; }

.requisite { position: absolute; display: block; height: auto; }
.absperrung {
  position: absolute;
  left: 0%;
  bottom: 4%;
  width: 33%;
  z-index: 5;
}
.requisite--absperrung { position: relative; width: 100%; }
.warnlicht {
  --x: 12.6%;
  --y: 20.2%;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 30%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 236, 140, .95), rgba(255, 176, 40, .55) 45%, transparent);
  mix-blend-mode: screen;
  pointer-events: none;
}
.requisite--kegel { left: 89.5%; bottom: 3%; width: 9%; z-index: 6; }
.requisite--kiste { left: 54%; bottom: 2%; width: 17%; z-index: 6; }

.funkeln {
  position: absolute;
  z-index: 7;
  width: 3.2%;
  aspect-ratio: 1;
  background: radial-gradient(circle, #fff 0 18%, #ffd65a 40%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 3px rgba(255, 190, 60, .95));
}
.funkeln--1 { left: 22%; top: 36%; }
.funkeln--2 { left: 67%; top: 27%; width: 2.6%; }
.funkeln--3 { left: 45%; top: 19%; width: 2.2%; }
.funkeln--4 { left: 91%; top: 50%; width: 2.6%; }

.sprechblase {
  position: absolute;
  z-index: 8;
  margin: 0;
  padding: .45em .8em .5em;
  font-family: var(--schrift-kritzel);
  font-size: clamp(.95rem, 4.6cqw, 1.6rem);
  line-height: 1.15;
  color: var(--wald-dunkel);
  background: #fff;
  border: 2.5px solid var(--wald-dunkel);
  border-radius: 1.2em;
  box-shadow: 3px 4px 0 rgba(23, 58, 41, .18);
  white-space: nowrap;
}
.sprechblase::after {
  content: "";
  position: absolute;
  width: .9em;
  height: .9em;
  background: #fff;
  border: 2.5px solid var(--wald-dunkel);
  border-top: 0;
  border-left: 0;
  bottom: -.5em;
  rotate: 45deg;
}
.sprechblase--junge { right: 2.5%; top: 26%; rotate: 3deg; transform-origin: 50% 110%; text-align: center; }
.sprechblase--junge::after { right: 44%; }
.sprechblase--maedchen { left: 3%; top: 17%; rotate: -4deg; transform-origin: 85% 110%; }
.sprechblase--maedchen::after { right: 14%; }

.lichterkette {
  position: absolute;
  left: 0;
  top: -1%;
  width: 100%;
  height: auto;
  z-index: 1;
  overflow: visible;
}
.birne__schein { opacity: .28; }

/* ---------- Schilder: Kontakt, Öffnungszeiten, Neues ---------- */
.schilder {
  display: grid;
  gap: 1.5rem;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
@media (min-width: 760px) {
  .schilder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.schild {
  --farbe: var(--sonne-hell);
  position: relative;
  padding: 2.1rem 1.6rem 1.5rem;
  background:
    radial-gradient(circle at 16px 26px, #b9ad94 0 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 16px) 26px, #b9ad94 0 4px, transparent 4.5px),
    var(--farbe);
  border-radius: var(--radius);
  box-shadow: var(--schatten-weich);
  overflow: hidden;
  transition: rotate .3s ease;
}
.schild::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--sonne) 0 12px, var(--warn-schwarz) 12px 24px);
}
.schild--sonne { --farbe: var(--sonne-hell); rotate: -1deg; }
.schild--wiese { --farbe: var(--wiese-hell); rotate: .8deg; }
.schild--himmel { --farbe: var(--himmel-hell); rotate: -.5deg; }
.schild:hover { rotate: 0deg; }
.schild h2 { font-size: 1.35rem; }
.schild p { margin: 0 0 .8rem; }
.schild p:last-child { margin-bottom: 0; }
.schild__gross { font-family: var(--schrift-hand); font-weight: 700; font-size: 1.25rem; color: var(--wald); line-height: 1.35; }
.schild__hinweis { font-size: .95rem; color: var(--text-leise); }
.schild__links { display: flex; flex-wrap: wrap; gap: .6rem; }
.schild__links a {
  padding: .35rem .9rem;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(34, 81, 58, .15);
}
.schild__links a:hover { background: var(--wald); color: #fff; }

/* ---------- Fuß ---------- */
.fuss { background: var(--wald-dunkel); color: #eef3ea; font-size: .95rem; }
.fuss__warnstreifen { height: 14px; background: repeating-linear-gradient(-45deg, var(--sonne) 0 14px, var(--warn-schwarz) 14px 28px); }
.fuss__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.6rem;
  padding-block: 1.3rem 1.6rem;
}
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 1.2rem; }
.fuss a { color: #fff; font-weight: 700; }
.fuss a:hover { color: var(--sonne); }
.bewegungsschalter {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .95rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  cursor: pointer;
}
.bewegungsschalter:hover { border-color: var(--sonne); color: var(--sonne); }
.bewegungsschalter .symbol { width: 1em; height: 1em; }
.bewegungsschalter .symbol--weiter { display: none; }
.bewegung-aus .bewegungsschalter .symbol--weiter { display: block; }
.bewegung-aus .bewegungsschalter .symbol--pause { display: none; }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.textseite { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem); }
.textseite__blatt {
  max-width: 50rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--papier);
  border-radius: var(--radius);
  box-shadow: var(--schatten-weich);
}
.textseite h1 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 1.2rem; }
.textseite h2 { font-size: 1.3rem; margin-top: 2rem; }
.textseite h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; color: var(--wald); }
.textseite p, .textseite ul { margin: 0 0 .9rem; }
.textseite ul { padding-left: 1.3rem; }
.textseite li::marker { color: var(--koralle); }
.zurueck { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.2rem; font-weight: 800; }
.hinweiskasten {
  padding: 1rem 1.2rem;
  border-left: 5px solid var(--koralle);
  background: var(--koralle-hell);
  border-radius: 0 12px 12px 0;
}
.stand { font-size: .9rem; color: var(--text-leise); margin-top: 2rem; }

/* ==========================================================================
   Bewegung
   Die Animationen laufen wie auf der neuen Website auch bei ausgeschalteten
   Animationseffekten im System. Der Knopf im Fuß hält alles an; dann zeigt
   die Szene ihr Schlussbild (Tür offen, Wichtel sichtbar).
   ========================================================================== */
.absperrband__lauf { animation: band-laufen 38s linear infinite; }
.kopf__schild { animation: schild-baumeln 3.6s ease-in-out infinite; }
.kopfueber > span { animation: kopf-stand 8s ease-in-out 1.2s infinite; }

.tuer__angel { animation: tuer-auf 1.5s cubic-bezier(.3, .1, .25, 1) .6s both; }
.tuer__licht { animation: licht-flackern 4.2s ease-in-out infinite; }
.wichtel--maedchen {
  animation:
    maedchen-rein 1s cubic-bezier(.3, 1.35, .5, 1) 1.5s both,
    maedchen-winken 3.4s ease-in-out 2.8s infinite;
}
.junge { animation: junge-umdrehen 1.2s cubic-bezier(.35, 1.4, .5, 1) 2.2s both; }
.wichtel--junge { animation: junge-wackeln 2.8s ease-in-out 3.4s infinite; }
.schatten--junge { animation: schatten-wackeln 2.8s ease-in-out 3.4s infinite; }
.warnlicht { animation: warnlicht-blinken 1.1s steps(1, end) infinite; }
.birne { animation: birne-leuchten 2.4s ease-in-out infinite; }
.birne:nth-of-type(3n+2) { animation-delay: .8s; }
.birne:nth-of-type(3n) { animation-delay: 1.6s; }
.funkeln { animation: funkeln 2.6s ease-in-out infinite; }
.funkeln--2 { animation-delay: .7s; }
.funkeln--3 { animation-delay: 1.4s; }
.funkeln--4 { animation-delay: 2s; }
.sprechblase--junge { animation: blase-junge 10s ease-out 3.6s infinite both; }
.sprechblase--maedchen { animation: blase-maedchen 10s ease-out 3.6s infinite both; }

.bewegung-aus *,
.bewegung-aus *::before,
.bewegung-aus *::after { animation: none !important; transition: none !important; }

@keyframes band-laufen { to { translate: -50% 0; } }
@keyframes schild-baumeln {
  0%, 100% { rotate: 2deg; }
  50% { rotate: -2.5deg; }
}
/* Stellt sich auf der Stelle auf den Kopf (Spiegelung über beide Achsen = halbe Drehung),
   ohne über die Nachbarzeilen zu wischen */
@keyframes kopf-stand {
  0%, 44%   { scale: 1; }
  50%       { scale: -1.08; }
  54%, 84%  { scale: -1; }
  90%       { scale: 1.08; }
  94%, 100% { scale: 1; }
}
@keyframes tuer-auf {
  0%   { transform: rotateY(0deg); }
  12%  { transform: rotateY(-6deg); }
  20%  { transform: rotateY(-2deg); }
  70%  { transform: rotateY(-116deg); }
  85%  { transform: rotateY(-102deg); }
  100% { transform: rotateY(-108deg); }
}
@keyframes licht-flackern {
  0%, 100% { opacity: 1; }
  40% { opacity: .86; }
  55% { opacity: .97; }
  70% { opacity: .9; }
}
@keyframes maedchen-rein {
  from { translate: 40% 0; rotate: 12deg; }
  to { translate: -50% 0; rotate: 0deg; }
}
@keyframes maedchen-winken {
  0%, 60%, 100% { rotate: 0deg; }
  12% { rotate: -4deg; }
  24% { rotate: 3deg; }
  36% { rotate: -3deg; }
  48% { rotate: 2deg; }
}
@keyframes junge-umdrehen {
  0%   { rotate: 180deg; translate: 0 -8%; opacity: 0; }
  20%  { opacity: 1; }
  45%  { translate: 0 -30%; }
  100% { rotate: 0deg; translate: 0 0; opacity: 1; }
}
@keyframes junge-wackeln {
  0%, 100% { rotate: 0deg; }
  25% { rotate: -5deg; }
  75% { rotate: 5deg; }
}
@keyframes schatten-wackeln {
  0%, 100% { translate: 0 0; }
  25% { translate: -6% 0; }
  75% { translate: 6% 0; }
}
@keyframes warnlicht-blinken {
  0% { opacity: 1; }
  50% { opacity: .08; }
}
@keyframes birne-leuchten {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
@keyframes funkeln {
  0%, 100% { scale: .3; opacity: 0; rotate: 0deg; }
  50% { scale: 1; opacity: 1; rotate: 45deg; }
}
@keyframes blase-junge {
  0%, 4%   { opacity: 0; scale: .4; }
  9%, 38%  { opacity: 1; scale: 1; }
  44%, 100% { opacity: 0; scale: .6; }
}
@keyframes blase-maedchen {
  0%, 50%  { opacity: 0; scale: .4; }
  55%, 86% { opacity: 1; scale: 1; }
  92%, 100% { opacity: 0; scale: .6; }
}

/* ---------- Druck ---------- */
@media print {
  .absperrband, .szene, .bewegungsschalter, .fuss__warnstreifen { display: none; }
  body { background: #fff; }
}
