/* Die Biene Maja – Der Kinofilm | Filmhomepage
   Statisch, ohne externe Abhängigkeiten. Schriften liegen lokal (SIL OFL). */

@font-face {
  font-family: "Lilita One";
  src: url("assets/fonts/lilita-one.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sky: #0a78c8;
  --sky-deep: #0b4f97;
  --sky-light: #63c3f5;
  --honey: #ffc81e;
  --honey-deep: #f39a00;
  --honey-light: #fff4c7;
  --cream: #fffaf0;
  --red: #e4261c;
  --grass: #4a9a1f;
  --grass-deep: #1e5214;
  --ink: #2b2116;
  --ink-soft: #5a4a36;
  --white: #fff;
  --radius: 26px;
  --shadow: 0 14px 34px rgb(28 40 10 / 18%);
  --font-display: "Lilita One", "Arial Rounded MT Bold", "Arial Black", sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw + 10px, 19px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--honey); color: var(--ink); padding: 10px 16px; border-radius: 12px;
  font-weight: 800; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 4px solid var(--honey-deep); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; z-index: 1; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, box-shadow .3s, transform .3s;
}
.site-header.is-solid {
  background: rgb(10 95 170 / 92%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgb(0 40 90 / 22%);
}
.brand { display: block; width: 104px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.site-header.is-solid .brand { opacity: 1; transform: none; pointer-events: auto; }
.brand img { filter: drop-shadow(0 2px 3px rgb(0 0 0 / 25%)); }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-display); font-size: 18px; letter-spacing: .02em; color: var(--white);
  text-decoration: none; text-shadow: 0 2px 4px rgb(0 40 90 / 45%);
  transition: background .2s, color .2s, transform .2s;
}
.main-nav a:hover, .main-nav a:focus-visible { background: var(--honey); color: var(--ink); text-shadow: none; transform: translateY(-2px); }
.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto;
    border: 0; border-radius: 50%; background: var(--honey); cursor: pointer;
    box-shadow: 0 4px 12px rgb(0 0 0 / 22%);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--ink); position: relative; transition: transform .25s, background .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); right: var(--gutter); left: var(--gutter);
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 10px; transform-origin: top right;
    opacity: 0; transform: scale(.92) translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { color: var(--sky-deep); text-shadow: none; font-size: 22px; padding: 12px 18px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 clamp(70px, 9vw, 130px);
  background: linear-gradient(#0a7fd0, #5ab8ef 60%, #64a72f);
  color: var(--white);
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero-bg img { object-fit: cover; object-position: 38% 40%; }
.hero::before { /* leichte Abdunklung oben (Navigation) und rechts (Text) */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(0 50 110 / 40%), transparent 22%),
    radial-gradient(ellipse 55% 70% at 74% 52%, rgb(0 70 140 / 32%), transparent 70%);
}
.hero-sun {
  position: absolute; z-index: -2; top: -12vw; right: -8vw; width: 36vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 230 / 75%), rgb(255 240 160 / 25%) 35%, transparent 65%);
  animation: pulse 6s ease-in-out infinite;
}

.cast {
  list-style: none; margin: 0; padding: 18px var(--gutter) 0;
  display: flex; justify-content: center; gap: clamp(18px, 4.5vw, 72px);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(14px, 1.35vw, 22px); line-height: 1.1; text-align: center;
  text-shadow: 0 2px 6px rgb(0 40 90 / 55%);
}
.cast-mobile { display: none; }

.hero-inner {
  flex: 1; width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 2vw;
}
.hero-maja {
  position: relative; justify-self: center; width: min(100%, 31vw, 50vh);
  border: 0; padding: 0; background: none; cursor: pointer;
  animation: float 4.5s ease-in-out infinite;
  filter: drop-shadow(0 22px 26px rgb(0 40 20 / 30%));
}
.hero-maja img { width: 100%; }
.hero-maja.is-looping { animation: loop 1.1s cubic-bezier(.4, 0, .3, 1); }
.hero-copy { text-align: center; display: grid; justify-items: center; }
.hero-logo { width: min(100%, 640px); filter: drop-shadow(0 10px 18px rgb(0 40 90 / 35%)); animation: pop-in .9s cubic-bezier(.2, 1.4, .4, 1) both; }
.hero-badge { margin: 1.1em 0 .4em; }
.hero-badge span {
  display: inline-block; padding: 6px 18px 4px; border-radius: 999px; background: var(--red); color: var(--white);
  font-family: var(--font-display); font-size: clamp(17px, 1.5vw, 24px); letter-spacing: .03em;
  transform: rotate(-3deg); box-shadow: 0 6px 0 #a3150e, 0 10px 20px rgb(0 0 0 / 25%);
  animation: wiggle 5s ease-in-out 1.4s infinite;
}
.hero-date {
  margin: .25em 0 .7em; font-family: var(--font-display); text-transform: uppercase; line-height: 1;
  font-size: clamp(30px, 3.6vw, 64px); text-shadow: 0 3px 0 var(--sky-deep), 0 6px 16px rgb(0 30 70 / 55%);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .25em;
}
.hero-date time { color: var(--honey); white-space: nowrap; }
.hero-date-small { font-size: .7em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.4em .6em; border-radius: 999px; border: 0;
  font-family: var(--font-display); font-size: clamp(18px, 1.4vw, 23px); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(2px); }
.btn-honey { background: var(--honey); color: var(--ink); box-shadow: 0 6px 0 var(--honey-deep), 0 12px 24px rgb(0 0 0 / 22%); }
.btn-white { background: var(--white); color: var(--sky-deep); box-shadow: 0 6px 0 #b9d8ef, 0 12px 24px rgb(0 0 0 / 16%); }
.btn-play { width: 0; height: 0; border-style: solid; border-width: .45em 0 .45em .72em; border-color: transparent transparent transparent currentColor; }

.mini-bee { position: absolute; width: 44px; z-index: -1; pointer-events: none; }
.mini-bee-1 { top: 30%; left: -60px; animation: buzz-across 22s linear 3s infinite; }

.wave { position: absolute; left: 0; width: 100%; height: clamp(40px, 7vw, 110px); display: block; pointer-events: none; }
.wave-bottom { bottom: -1px; fill: var(--sky); z-index: 1; }
.wave-top { top: -1px; fill: var(--sky); }
.wave-top-meadow { fill: #d9efb7; }
.wave-top-sky { fill: var(--sky); }

/* Sprechblase */
.bubble {
  position: absolute; left: 50%; top: 2%; z-index: 3;
  padding: 10px 16px; border-radius: 22px; background: var(--white); color: var(--ink);
  font-family: var(--font-display); font-size: clamp(16px, 1.3vw, 21px); line-height: 1.15; white-space: nowrap;
  box-shadow: 0 8px 18px rgb(0 0 0 / 22%);
  opacity: 0; transform: translate(-50%, 10px) scale(.6); transition: opacity .2s, transform .3s cubic-bezier(.2, 1.6, .4, 1);
  pointer-events: none;
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -10px; border: 10px solid transparent; border-bottom: 0; border-top-color: var(--white); }
.talk.is-talking .bubble { opacity: 1; transform: translate(-50%, -30%) scale(1); }

/* ---------- Abschnitte ---------- */
.section { position: relative; overflow-x: clip; padding: clamp(80px, 10vw, 150px) 0 clamp(70px, 9vw, 130px); }
.section-sky {
  background-color: var(--sky); color: var(--white);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgb(255 255 255 / 18%), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 66 0 50V17L28 1l28 16v33L28 66zm0 31L0 81V66' fill='none' stroke='%23fff' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E");
}
.section-honey {
  background-color: var(--honey-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 66 0 50V17L28 1l28 16v33L28 66zm0 31L0 81V66' fill='none' stroke='%23f3a600' stroke-opacity='.16' stroke-width='2'/%3E%3C/svg%3E");
}
.section-meadow { background: linear-gradient(180deg, #eef8dd, #d9efb7); }
.section-honey .wave-top { fill: var(--sky); }
.section-meadow .wave-top { fill: var(--honey-light); }

.kicker {
  display: inline-block; margin: 0 0 .5em; padding: 4px 14px 2px; border-radius: 999px;
  font-family: var(--font-display); font-size: clamp(15px, 1.2vw, 19px); letter-spacing: .05em; text-transform: uppercase;
  background: var(--honey); color: var(--ink); transform: rotate(-2deg);
}
.section-title {
  font-size: clamp(36px, 5vw, 70px); margin-bottom: .45em; color: var(--sky-deep);
  text-shadow: 0 3px 0 rgb(255 255 255 / 70%);
}
.section-sky .section-title { color: var(--white); text-shadow: 0 4px 0 var(--sky-deep), 0 8px 20px rgb(0 30 70 / 35%); }
.section-intro { font-weight: 800; color: var(--ink-soft); margin-top: -.6em; }
#trailer .container, #figuren .container > .kicker, #figuren .section-title, #figuren .section-intro,
#bilder .container > .kicker, #bilder .section-title, #wissen .container > .kicker, #wissen .section-title { text-align: center; }
#trailer .container, #figuren .container, #bilder .container, #wissen .container { display: flex; flex-direction: column; align-items: center; }

/* ---------- Trailer ---------- */
#trailer { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.video {
  position: relative; width: min(100%, 980px); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #052a52; box-shadow: 0 0 0 8px var(--honey), 0 0 0 14px var(--white), 0 30px 60px rgb(0 20 50 / 45%);
  margin-top: 10px;
}
.video-poster, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 20px; text-align: center;
  background: radial-gradient(circle at 50% 45%, rgb(0 30 70 / 15%), rgb(0 25 60 / 62%));
}
.video-play { display: grid; justify-items: center; gap: 10px; border: 0; background: none; cursor: pointer; color: var(--white); }
.video-play-icon {
  position: relative; width: clamp(76px, 10vw, 112px); aspect-ratio: 1; border-radius: 50%;
  background: var(--honey); box-shadow: 0 7px 0 var(--honey-deep), 0 14px 30px rgb(0 0 0 / 40%);
  transition: transform .2s; animation: pulse-ring 2.4s ease-out infinite;
}
.video-play-icon::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 18px 0 18px 30px; border-color: transparent transparent transparent var(--ink);
}
.video-play:hover .video-play-icon { transform: scale(1.08); }
.video-play-label { font-family: var(--font-display); font-size: clamp(20px, 2vw, 30px); text-shadow: 0 2px 8px rgb(0 0 0 / 60%); }
.video-note { margin: 0; max-width: 560px; font-size: 13px; line-height: 1.45; font-weight: 600; text-shadow: 0 1px 4px rgb(0 0 0 / 70%); }
.video-direct { margin: 34px 0 0; font-weight: 800; }
.video-direct a { color: var(--white); text-underline-offset: 4px; }
.video.is-playing .video-consent, .video.is-playing .video-poster { display: none; }

.peek { position: absolute; z-index: 0; pointer-events: none; filter: drop-shadow(0 12px 18px rgb(0 0 0 / 25%)); }
.peek-flip { width: clamp(110px, 13vw, 210px); right: max(1vw, calc(50% - 760px)); bottom: -40px; transform: rotate(-6deg); }

/* ---------- Geschichte ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.lead { font-size: 1.2em; font-weight: 800; color: var(--sky-deep); }
.tagline {
  margin: 1.4em 0 0; padding: .6em 1em .5em; display: inline-block; border-radius: 18px;
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 34px); color: var(--white);
  background: var(--red); transform: rotate(-2deg); box-shadow: 0 6px 0 #a3150e;
}
.story-art { position: relative; min-height: 380px; }
.hex-frame {
  width: 100%; aspect-ratio: 1 / .9;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--honey); padding: 10px; transform: rotate(3deg);
}
.hex-frame img { width: 100%; height: 100%; object-fit: cover; clip-path: inherit; }
.story-maja { position: absolute; width: 46%; right: -6%; bottom: -14%; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 16px 18px rgb(0 0 0 / 25%)); }

/* ---------- Figuren ---------- */
.cards {
  list-style: none; padding: 0; margin: 30px 0 0; width: 100%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
}
.card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 0 22px 24px;
  box-shadow: var(--shadow); text-align: center; margin-top: 70px;
  border-bottom: 8px solid var(--c, var(--honey));
}
.card-maja { --c: var(--honey); }
.card-willi { --c: var(--honey-deep); }
.card-flip { --c: var(--grass); }
.card-ameisen { --c: var(--red); }
.card-figure {
  position: relative; display: block; width: 100%; height: 250px; margin: -70px 0 10px; border: 0; padding: 0; background: none; cursor: pointer;
}
.card-figure::before {
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 74%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, white), transparent 70%);
}
.card-figure img { position: relative; height: 100%; width: auto; margin-inline: auto; object-fit: contain; transition: transform .35s cubic-bezier(.2, 1.6, .4, 1); filter: drop-shadow(0 10px 12px rgb(0 0 0 / 20%)); }
.card-figure:hover img, .card-figure.is-talking img { transform: translateY(-10px) rotate(-4deg) scale(1.05); }
.card-figure .bubble { top: 0; }
.card h3 { font-size: clamp(26px, 2.4vw, 34px); color: var(--sky-deep); margin-bottom: .3em; }
.card p { font-size: .93em; margin: 0; color: var(--ink-soft); }

.voices {
  margin-top: clamp(40px, 5vw, 70px); width: 100%; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius);
  background: var(--sky); color: var(--white); text-align: center; box-shadow: var(--shadow);
}
.voices h3 { font-size: clamp(22px, 2vw, 30px); color: var(--honey); margin-bottom: .7em; }
.voices ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.voices strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.15; }
.voices span { font-weight: 700; opacity: .85; font-size: .9em; }

/* ---------- Galerie ---------- */
.gallery {
  list-style: none; padding: 0; margin: 20px 0 0; width: 100%;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(10px, 1.4vw, 18px);
}
.gallery a {
  display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--sky-deep);
  border: 5px solid var(--white); box-shadow: 0 10px 22px rgb(0 30 70 / 30%);
  transition: transform .25s, box-shadow .25s;
}
.gallery li:nth-child(odd) a { transform: rotate(-1deg); }
.gallery li:nth-child(even) a { transform: rotate(1deg); }
.gallery a:hover, .gallery a:focus-visible { transform: rotate(0) scale(1.04); box-shadow: 0 16px 30px rgb(0 30 70 / 40%); z-index: 1; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .more { display: none; }
.gallery.show-all .more { display: block; }
.gallery-more-wrap { margin: 34px 0 0; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(4 30 64 / 94%); color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; padding: 70px 70px 20px; display: grid; justify-items: center; gap: 14px; max-width: 100%; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100dvh - 160px); width: auto; height: auto; border-radius: 16px; border: 5px solid var(--white); }
.lightbox figcaption { font-weight: 800; text-align: center; }
.lb-btn {
  position: fixed; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--honey); color: var(--ink); font-size: 30px; line-height: 1; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 5px 0 var(--honey-deep);
}
.lb-close { top: max(16px, env(safe-area-inset-top)); right: 16px; font-size: 22px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Wusstest du schon? ---------- */
.section-facts { overflow: hidden; }
.facts {
  list-style: none; padding: 0; margin: 20px 0 0; width: 100%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
}
.fact {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 26px 24px; box-shadow: var(--shadow);
  border: 4px solid var(--honey);
}
.fact:nth-child(3n+2) { transform: translateY(18px); }
.fact-icon {
  display: grid; place-items: center; width: 64px; height: 58px; margin-bottom: 14px; font-size: 30px;
  background: var(--honey); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.fact h3 { font-size: clamp(22px, 1.9vw, 27px); color: var(--sky-deep); margin-bottom: .35em; }
.fact p { margin: 0; color: var(--ink-soft); font-size: .95em; }
.peek-willi { width: clamp(120px, 14vw, 220px); left: max(-20px, calc(50% - 800px)); bottom: -30px; transform: scaleX(-1); }

/* ---------- Film-Infos ---------- */
.infos { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.facts-table { margin: 0; background: var(--white); border-radius: var(--radius); padding: 10px clamp(18px, 3vw, 34px); box-shadow: var(--shadow); }
.facts-table div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 12px 0; border-bottom: 2px dashed #e8dcbc; }
.facts-table div:last-child { border-bottom: 0; }
.facts-table dt { font-family: var(--font-display); color: var(--sky-deep); font-size: 1.05em; letter-spacing: .02em; }
.facts-table dd { margin: 0; font-weight: 700; }
.chip { display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: var(--red); color: var(--white); font-size: .8em; font-weight: 800; }
.infos-art img { width: min(100%, 380px); margin-inline: auto; animation: float 5.5s ease-in-out infinite; filter: drop-shadow(0 18px 20px rgb(0 0 0 / 22%)); }

/* ---------- Call to Action ---------- */
.cta {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(120deg, var(--sky-deep), var(--sky) 55%, var(--sky-light));
  padding: clamp(50px, 6vw, 80px) 0;
}
.cta-inner { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 60px); text-align: left; }
.cta-maja { width: clamp(110px, 13vw, 190px); animation: float 4s ease-in-out infinite; filter: drop-shadow(0 14px 16px rgb(0 0 0 / 30%)); }
.cta h2 { font-size: clamp(34px, 4.6vw, 66px); text-shadow: 0 4px 0 var(--sky-deep); }
.cta-date { margin: .4em 0 0; font-size: clamp(19px, 1.8vw, 26px); font-weight: 800; }
.cta-date time { color: var(--honey); font-family: var(--font-display); font-weight: 400; font-size: 1.15em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grass-deep); color: rgb(255 255 255 / 85%); padding: 50px 0 calc(40px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 14px; }
.billing { width: 100%; max-width: 1180px; margin: 0 auto 34px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-bottom: 18px; }
.footer-nav a { font-weight: 800; color: var(--white); text-underline-offset: 4px; }
.footer-nav a:hover { color: var(--honey); }
.copyright { margin: 0; opacity: .7; font-size: 12px; }

/* ---------- Bewegung ---------- */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-18px) rotate(1.5deg); } }
@keyframes loop {
  0% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-60px) rotate(-200deg) scale(.9); }
  100% { transform: translateY(0) rotate(-360deg); }
}
@keyframes pop-in { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }
@keyframes wiggle { 0%, 86%, 100% { transform: rotate(-3deg); } 90% { transform: rotate(3deg) scale(1.06); } 94% { transform: rotate(-5deg) scale(1.06); } }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .85; } }
@keyframes pulse-ring { 0% { box-shadow: 0 7px 0 var(--honey-deep), 0 0 0 0 rgb(255 200 30 / 60%); } 80%, 100% { box-shadow: 0 7px 0 var(--honey-deep), 0 0 0 26px rgb(255 200 30 / 0%); } }
@keyframes buzz-across {
  0% { transform: translate(0, 0) rotate(8deg) scaleX(-1); }
  25% { transform: translate(28vw, -60px) rotate(-6deg) scaleX(-1); }
  50% { transform: translate(55vw, 30px) rotate(8deg) scaleX(-1); }
  75% { transform: translate(82vw, -40px) rotate(-6deg) scaleX(-1); }
  100% { transform: translate(calc(100vw + 120px), 10px) rotate(8deg) scaleX(-1); }
}

.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .fact.reveal.is-visible:nth-child(3n+2) { transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .mini-bee { display: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3n+2), .js .fact.reveal.is-visible:nth-child(3n+2) { transform: none; }
  .voices ul { grid-template-columns: repeat(2, 1fr); }
}

/* Hochformat (Smartphone, Tablet hochkant): Plakatmotiv als Hintergrund */
@media (max-aspect-ratio: 1/1) {
  .hero { justify-content: space-between; padding-bottom: clamp(60px, 12vw, 110px); }
  .hero-bg img { object-position: 50% 50%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgb(0 50 110 / 35%), transparent 18%),
      linear-gradient(0deg, rgb(10 40 70 / 72%), rgb(10 40 70 / 30%) 26%, transparent 42%);
  }
  .hero > .cast { display: none; }
  .cast-mobile {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; padding: 22px var(--gutter) 4px;
    background: var(--sky); color: var(--white); font-size: clamp(15px, 4vw, 20px);
    text-shadow: none; position: relative; z-index: 2; margin-top: -2px;
  }
  .hero-inner { grid-template-columns: 1fr; grid-template-rows: 1fr; align-items: stretch; }
  .hero-maja { display: none; }
  .hero-copy { grid-template-rows: auto 1fr auto auto auto; height: 100%; }
  .hero-logo { width: min(86vw, 520px, 42svh); margin-top: 1svh; }
  .hero-badge { grid-row: 3; margin-top: 0; }
  .hero-date { grid-row: 4; font-size: clamp(26px, 8vw, 52px); }
  .hero-actions { grid-row: 5; }
  .hero-sun { display: none; }
  .story, .infos { grid-template-columns: 1fr; }
  .story-art { max-width: 520px; margin-inline: auto; width: 100%; min-height: 0; }
  .infos-art { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; --radius: 20px; }
  .btn { font-size: 18px; padding: .65em 1.15em .55em; }
  .cards { grid-template-columns: 1fr; gap: 0; }
  .card { margin-top: 56px; }
  .card-figure { height: 200px; margin-top: -56px; }
  .facts { grid-template-columns: 1fr; }
  .voices ul { grid-template-columns: 1fr 1fr; }
  .facts-table div { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery a { border-width: 3px; border-radius: 12px; }
  .lightbox figure { padding: 70px 10px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: max(18px, env(safe-area-inset-bottom)); transform: none; }
  .lb-prev { left: calc(50% - 70px); }
  .lb-next { right: calc(50% - 70px); }
  .cta-inner { flex-direction: column; text-align: center; }
  .peek-flip { width: 90px; bottom: -22px; }
  .peek-willi { width: 100px; }
  .video { box-shadow: 0 0 0 5px var(--honey), 0 0 0 9px var(--white), 0 20px 40px rgb(0 20 50 / 45%); }
  .video-note { font-size: 11.5px; }
  .video-consent { gap: 8px; padding: 10px; }
  .video-play-icon::after { border-width: 14px 0 14px 23px; }
}

/* Kleine Handys: Hero kompakter, damit nichts Majas Gesicht verdeckt */
@media (max-aspect-ratio: 1/1) and (max-height: 720px) {
  .hero-badge { display: none; }
  .hero-logo { width: min(80vw, 40svh); }
  .hero-date { font-size: clamp(22px, 6.6vw, 40px); margin-bottom: .5em; }
  .hero-actions { gap: 10px; flex-wrap: nowrap; }
  .hero-actions .btn { font-size: 16px; padding: .6em .95em .5em; }
}
@media (max-aspect-ratio: 1/1) { .mini-bee { display: none; } }

/* Querformat mit wenig Höhe (Handy quer) */
@media (max-height: 520px) and (min-aspect-ratio: 1/1) {
  .hero-maja { width: min(28vw, 62vh); }
  .hero-logo { width: min(100%, 60vh + 120px); }
  .cast { font-size: 13px; padding-top: 8px; }
  .hero-date { font-size: clamp(24px, 3.4vw, 40px); }
}
