/*
  style.css – Aussehen der Seite.
  Aufbau: 1) Schrift  2) Farben (Variablen)  3) Grundlagen  4) Bausteine (Knöpfe, Karten)  5) Abschnitte  6) Handy-Anpassung
*/

/* 1) Schrift: Poppins liegt lokal im Ordner assets/fonts (keine Verbindung zu Google nötig) */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("assets/fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("assets/fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("assets/fonts/poppins-700.woff") format("woff"); }

/* 2) Farben: einmal festlegen, überall mit var(--name) benutzen. Eine Änderung hier wirkt auf die ganze Seite. */
:root {
  --cream:  #FFF8E6;
  --white:  #FFFFFF;
  --tint:   #F1F8EC;
  --ink:    #2B2B2B;
  --muted:  #5C5C5C;
  --orange: #F5A623;
  --green:  #2EAD5B;
  --green-dark: #23924A;
  --teal:   #1FA9A0;
  --yellow: #FFD84D;
  --radius: 22px;
  --shadow: 0 8px 24px rgba(43, 43, 43, .10);
}

/* 3) Grundlagen */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-align: center;              /* Texte stehen mittig */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }   /* mittige Spalte mit 20px Rand links und rechts */
.center { text-align: center; }
.narrow { max-width: 42rem; margin-inline: auto; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1rem; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); }
.accent { color: var(--green); }
.small { font-size: .9rem; color: var(--muted); }

/* Tastatur-Fokus gut sichtbar */
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

/* 4) Bausteine */
.btn {
  display: inline-block;
  padding: .85em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { border-color: var(--orange); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--orange); }
.btn-small { padding: .5em 1.2em; font-size: .95rem; }
.btn-big { font-size: 1.2rem; padding: 1em 2.2em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 1.6rem; }

.badge { display: inline-block; padding: .3em 1em; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 1rem; }
.badge-green { background: var(--green); color: #fff; }

/* Wortmarke: Bee orange, Bright dunkel, Brain grün */
.wordmark { text-decoration: none; font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; }
.w-bee { color: var(--orange); }
.w-bright { color: var(--ink); }
.w-brain { color: var(--green); }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 248, 230, .92); backdrop-filter: blur(8px); border-bottom: 2px solid rgba(245, 166, 35, .25); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--green); }

/* 5) Abschnitte */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-tint { background: var(--tint); }

.hero { padding: clamp(36px, 7vw, 72px) 0 clamp(40px, 7vw, 72px); background: linear-gradient(180deg, var(--cream) 0%, #FFF3CC 100%); }
.hero-bodi { width: min(300px, 70vw); margin: 0 auto 1rem; border-radius: 50%; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.eyebrow { font-weight: 700; color: var(--orange); letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; margin-bottom: .8rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.perks { background: var(--green); color: #fff; }
.perks-list { list-style: none; padding: 14px 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font-weight: 700; }

.product { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 4vw, 36px); max-width: 720px; margin: 2rem auto 0; }
.product-img { border-radius: 16px; margin: 0 auto 1.4rem; }
.ticks { list-style: none; margin: 0 auto 1.2rem; padding: 0; display: inline-block; text-align: left; }
.ticks li { padding-left: 1.9em; position: relative; margin-bottom: .35rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price { font-size: 1.2rem; }
.price strong { font-size: 1.8rem; color: var(--green); }
.peek-title { margin-top: 3rem; }
.peek-img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; width: 100%; max-width: 900px; }

.lang-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.6rem; }
.lang { background: var(--white); border: 3px solid var(--orange); border-radius: 999px; padding: .6em 1.5em; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.lang:hover { background: var(--orange); transform: translateY(-2px); }

.soon-grid { list-style: none; padding: 0; margin: 2rem 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.soon { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 130px; padding: 16px; border-radius: var(--radius); font-weight: 500; border: 3px dashed; background: var(--white); }
.soon-title { font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.c-green  { border-color: var(--green); }  .c-green  .soon-title { color: var(--green); }
.c-orange { border-color: var(--orange); } .c-orange .soon-title { color: var(--orange); }
.c-teal   { border-color: var(--teal); }   .c-teal   .soon-title { color: var(--teal); }
.c-yellow { border-color: #E0B300; }       .c-yellow .soon-title { color: #B48A00; }
.soon-note { color: var(--muted); font-weight: 500; }

.quote { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; color: var(--orange); margin: 1.6rem 0 .6rem; }

.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.steps li { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-no { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 1.2rem; }

.cta { padding: clamp(56px, 9vw, 88px) 0; background: linear-gradient(180deg, #FFF3CC 0%, var(--cream) 100%); }

.site-footer { padding: 40px 0; background: var(--white); border-top: 2px solid rgba(245, 166, 35, .25); }
.wordmark-foot { margin: 0 0 .4rem; display: block; }
.foot-links { display: flex; gap: 22px; justify-content: center; font-weight: 500; }

/* 6) Handy: Menü-Links ausblenden, damit die Kopfzeile aufgeräumt bleibt */
@media (max-width: 720px) {
  .main-nav { display: none; }
  /* Feste Zeilenumbrüche im Fließtext entfallen auf dem Handy; der Browser bricht dann ausgewogen um */
  .lead br, .narrow br { display: none; }
  .lead, .narrow { text-wrap: balance; }
  .wordmark { font-size: 1.3rem; }
}

/* Bewegung reduzieren, wenn das Gerät es wünscht */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bodi { animation: none; }
  .btn, .lang { transition: none; }
}

/* ===================== Ergänzungen für die mehrseitige Website ===================== */

/* Sprach-Dropdown in der Kopfzeile (<details>, funktioniert ohne JavaScript) */
.main-nav { margin: 0 auto; }
.langmenu { position: relative; flex-shrink: 0; }
.langmenu summary { list-style: none; cursor: pointer; padding: .4em .95em; border: 2px solid var(--orange); border-radius: 999px; font-weight: 500; background: var(--white); white-space: nowrap; user-select: none; }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary::after { content: "▾"; margin-left: .45em; font-size: .8em; }
.langmenu[open] summary::after { content: "▴"; }
.langmenu summary:hover { background: var(--cream); }
.s-short { display: none; }
.flag { display: inline-block; width: 20px; height: 14px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.14); vertical-align: -2px; margin-right: .5em; }   /* Sprach-Flaggen als eigene SVG-Dateien (Emoji-Flaggen zeigt Windows nur als Buchstaben) */
.foot-langs .flag { width: 18px; height: 12px; margin-right: .35em; }
.lang .flag { width: 22px; height: 15px; }
.langmenu-list { list-style: none; margin: 8px 0 0; padding: 6px; position: absolute; right: 0; top: 100%; min-width: 170px; background: var(--white); border-radius: 16px; border: 2px solid rgba(245, 166, 35, .35); box-shadow: var(--shadow); z-index: 20; }
.langmenu-list a { display: block; padding: .5em .9em; border-radius: 10px; text-decoration: none; font-weight: 500; }
.langmenu-list a:hover { background: var(--cream); }
.langmenu-list a[aria-current] { background: var(--orange); color: #fff; font-weight: 700; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: .9rem; }
.foot-langs a { color: var(--muted); text-decoration: none; }
.foot-langs a:hover { color: var(--ink); text-decoration: underline; }
.foot-langs a[aria-current] { color: var(--ink); font-weight: 700; }
.main-nav a[aria-current] { color: var(--green); font-weight: 700; }
html { scroll-padding-top: 90px; }

/* Brotkrumen-Pfad */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: .8rem; }
.crumbs a { color: var(--muted); }

.hero-small { padding-bottom: clamp(32px, 6vw, 56px); }

/* Lernwelten (Kategorien) */
.worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 2rem; }
.world { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.world p { color: var(--muted); margin: 0 0 .6rem; }
.world h3 { margin: .4rem 0 0; }
.world-live { border: 3px solid var(--orange); transition: transform .15s ease; }
.world-live:hover { transform: translateY(-4px); }
.world-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: #fff; }
.c-orange-bg { background: #FFE7BF; } .c-green-bg { background: #D7F0DF; color: var(--green); } .c-teal-bg { background: #D3F1EE; }
.world-link { font-weight: 700; color: var(--green); margin-top: auto; }
.pill-soon { display: inline-block; margin-top: auto; padding: .2em .9em; border-radius: 999px; background: var(--cream); color: var(--muted); font-weight: 500; font-size: .9rem; }
.feature-img img { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 760px; width: 100%; margin: 1.6rem auto 0; }

/* Kategorie-Seite: Packs */
.packs { display: block; margin-top: 2rem; }
.pack { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 26px; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; border: 3px solid var(--green); }
.pack img { border-radius: 14px; margin-bottom: .4rem; }
.pack h3 { font-size: 1.5rem; margin: 0; }
.pack .badge { margin: 0; }
.pack-price { margin: 0 0 .4rem; } .pack-price strong { color: var(--green); font-size: 1.4rem; }
.packs .soon-grid { margin: 0; grid-template-columns: repeat(2, 1fr); }
.soon-label { grid-column: 1 / -1; color: var(--muted); font-weight: 500; }
.incl { list-style: none; padding: 0; margin: 1.6rem auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.incl li { background: var(--white); border: 2px solid var(--green); border-radius: 999px; padding: .4em 1.1em; font-weight: 500; }

/* Produkt-Seite: Einstieg */
.hero-product { text-align: left; }
.product-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
.product-hero-img { border-radius: var(--radius); box-shadow: var(--shadow); }
.note { margin-top: .8rem; }

/* Produkt-Seite: Zahl für Zahl */
.on-page { display: inline-block; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 28px; margin-top: 1rem; }
.on-page-title { font-weight: 700; margin-bottom: .4rem; }
.on-page .ticks { margin: 0; }
.numbers { list-style: none; padding: 0; margin: 2.6rem auto 0; display: flex; flex-direction: column; gap: 34px; }
.num { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 36px; align-items: center; justify-content: center; }
.num-flip { grid-template-columns: 1fr minmax(0, 420px); }
.num-flip img { order: 2; }
.num img { border-radius: 14px; box-shadow: var(--shadow); background: #fff; }
.num-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.num-big { font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; }
.num-word { font-size: 1.5rem; font-weight: 700; }
.num-motif { color: var(--muted); font-size: 1.1rem; }
.num-0 .num-big { color: var(--orange); } .num-1 .num-big { color: var(--green); } .num-2 .num-big { color: var(--teal); }
.num-3 .num-big { color: #E0B300; } .num-4 .num-big { color: #E8762B; }
.buy-band { background: linear-gradient(135deg, #FFF3CC, #E9F7EE); border: 3px dashed var(--orange); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.buy-band p { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }

/* Galerie Finale */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 1.8rem; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; box-shadow: var(--shadow); background: #fff; }
.gallery figcaption { font-weight: 700; margin-top: .6rem; font-size: .95rem; }

/* FAQ */
.faq { max-width: 720px; margin: 1.6rem auto 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 20px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: .6rem 0 0; color: var(--muted); }
.cta-bodi { width: 120px; border-radius: 50%; margin: 0 auto 1rem; box-shadow: var(--shadow); }

/* Kauf-Leiste unten (nur Produktseite) */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center; align-items: center; gap: 14px; padding: 10px 16px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-top: 2px solid rgba(46, 173, 91, .35); box-shadow: 0 -6px 18px rgba(43, 43, 43, .08); }
.sticky-name { font-weight: 500; }
.sticky-name strong { color: var(--green); }
.page-product .site-footer { padding-bottom: 96px; }

/* Startadresse: Sprachwahl */
.root-choose { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 20px; background: linear-gradient(180deg, var(--cream), #FFF3CC); }
.root-choose .wordmark { font-size: 2rem; margin: .4rem 0 0; }

@media (max-width: 860px) {
  .packs { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; text-align: center; }
  .product-hero-img { order: -1; }
  .num, .num-flip { grid-template-columns: 1fr; gap: 14px; }
  .num-flip img { order: 0; }
  .num img { max-width: 420px; margin: 0 auto; width: 100%; }
  .num-text { flex-direction: row; justify-content: center; gap: 12px; align-items: baseline; }
  .num-big { font-size: 3.4rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sticky-name { font-size: .9rem; }
  .langbar-row { gap: 4px 6px; font-size: .82rem; }
  html { scroll-padding-top: 150px; }
}


/* ===================== v1.1: Schritt 4, Über Bodi, fliegende Mini-Bodi ===================== */
.step-no-green { background: var(--green); }

/* Über Bodi */
.lead, .narrow { text-wrap: balance; }
.about-h { margin-top: 3.4rem; font-size: clamp(1.7rem, 3.6vw, 2.1rem); }
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 2rem; }
.about-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.about-card h4 { margin: .4rem 0 0; font-size: 1.2rem; }
.about-card p { margin: 0; color: var(--muted); }
.about-no { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; }

/* Fliegende Mini-Bodi */
.page-home .hero .btn-row { margin-top: 3.6rem; }
.bee-layer { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 40; }
.bee { font-family: inherit; color: var(--ink); position: absolute; width: 64px; height: 64px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; z-index: 30; line-height: 0; -webkit-tap-highlight-color: transparent; }
.bee svg { display: block; overflow: visible; }
.bee.is-flying { pointer-events: none; will-change: transform; }
.bee .wing { animation: flap .16s ease-in-out infinite alternate; }
.bee .wing-l { --a: -16deg; } .bee .wing-r { --a: 16deg; }
.bee.is-landed .wing { animation-duration: 1.1s; }
@keyframes flap { from { transform: rotate(0); } to { transform: rotate(var(--a)); } }
.bee.is-squash svg { animation: bee-land .5s ease-out; }
.bee.is-hop svg { animation: bee-hop .6s ease-out; }
@keyframes bee-land { 0% { transform: translateY(-8px); } 45% { transform: scale(1.14, .86); transform-origin: 50% 100%; } 70% { transform: scale(.95, 1.06); transform-origin: 50% 100%; } 100% { transform: none; } }
@keyframes bee-hop { 0% { transform: none; } 35% { transform: translateY(-22px) rotate(-8deg); } 70% { transform: scale(1.1, .9); transform-origin: 50% 100%; } 100% { transform: none; } }
.bee-bubble { position: absolute; left: calc(100% + 4px); top: 50%; transform: translateY(-50%) scale(.85); transform-origin: left center; background: var(--white); border: 2.5px solid var(--ink); border-radius: 14px; padding: .3em .8em; font-weight: 700; font-size: .9rem; line-height: 1.25; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.bee.is-talking .bee-bubble { opacity: 1; transform: translateY(-50%) scale(1); }
.bee-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #F7BC6A; animation: bee-dot 1.4s ease-out forwards; }
@keyframes bee-dot { to { opacity: 0; transform: scale(.4); } }

@media (min-width: 721px) and (max-height: 860px) {   /* kurze Bildschirme: Hero etwas kompakter, damit der Start-Knopf im Bild bleibt */
  .page-home .hero { padding-top: 24px; }
  .page-home .hero-bodi { width: 200px; margin-bottom: .6rem; }
}
@media (max-width: 720px) {
  .s-short { display: inline; }
  .s-full { display: none; }
  .langmenu summary { padding: .4em .8em; }
  .header-row { gap: 8px; }
  .site-header .btn-small { white-space: nowrap; padding: .55em 1em; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bee .wing, .bee.is-squash svg, .bee.is-hop svg { animation: none; }
  .bee-dot { display: none; }
}

/* Sehr schmale Handys (bis 380 px) */
@media (max-width: 380px) {
  .wordmark { font-size: 1.12rem; }
  .packs .soon-grid { grid-template-columns: 1fr; }
  .pack { padding-left: 12px; padding-right: 12px; }
}

/* ===================== v1.3: Bodi-Überraschungen ===================== */
.bee .heart { transform-box: view-box; }
.bee.is-pump .heart { animation: bee-pump .9s ease-in-out; }
@keyframes bee-pump { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.9); } 50% { transform: scale(1.1); } 75% { transform: scale(1.7); } }
.pollen { position: absolute; left: 50%; top: 62%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #FFC93C; pointer-events: none; opacity: 0; animation: pollen 1.3s ease-out forwards; }
@keyframes pollen { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4); } }
.bee-flower { position: absolute; left: 50%; top: 20%; line-height: 0; pointer-events: none; opacity: 0; animation: bee-flower 2s ease-in-out forwards; }
@keyframes bee-flower { 0% { opacity: 0; transform: translate(-170px, -50px) rotate(-220deg) scale(.3); } 35% { opacity: 1; } 65% { opacity: 1; transform: translate(30px, -16px) rotate(0) scale(1); } 100% { opacity: 0; transform: translate(30px, -22px) rotate(30deg) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .bee.is-pump .heart, .pollen, .bee-flower { animation: none; }
}

.bee-throw { position: absolute; left: 50%; top: 30%; margin: -15px 0 0 -15px; line-height: 0; pointer-events: none; opacity: 0; animation: bee-throw 1.6s ease-out forwards; }
@keyframes bee-throw { 0% { opacity: 0; transform: translate(0, 0) scale(.3) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 50px)) scale(1) rotate(var(--rot)); } }
@media (prefers-reduced-motion: reduce) { .bee-throw { animation: none; } }

/* ---------- v1.5 Spiel mit Bodi (Labyrinth) ---------- */
.section-game { background: #FFF1CF; }
.maze { max-width: 440px; margin: 1.6rem auto 0; }
.maze-bar { min-height: 1.8rem; font-weight: 700; margin-bottom: .5rem; }
.maze-board { position: relative; width: 100%; aspect-ratio: 1; user-select: none; -webkit-user-select: none; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); touch-action: none; outline-offset: 4px; overflow: hidden; }
.maze-walls, .maze-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.maze-walls { padding: 1.2%; box-sizing: border-box; }
.maze-item { position: absolute; display: grid; place-items: center; font-size: clamp(14px, 4.6vw, 26px); line-height: 1; padding: 6%; box-sizing: border-box; }
.maze-bee { transition: left .13s ease-out, top .13s ease-out; z-index: 2; padding: 0; }
.maze-grumbo { transition: left .25s linear, top .25s linear; z-index: 2; padding: 0; }
.maze-grumbo svg { width: 88%; height: 88%; }
.maze-oops { color: var(--ink) !important; font-size: clamp(1.6rem, 8vw, 3rem) !important; }
.maze-bee svg { width: 100%; height: 100%; overflow: visible; }
.maze-flower { transition: transform .3s, opacity .3s; }
.maze-flower.is-taken { transform: scale(1.8) translateY(-30%); opacity: 0; }
.maze-pot.is-dim { opacity: .45; filter: grayscale(.4); }
.maze-pot { transition: opacity .3s; }
.maze-over { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(255,248,230,.94); padding: 16px; }
.maze-over[hidden] { display: none; }
.maze-win { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.maze-win h3 { margin: 0; font-size: 1.5rem; }
.maze-win p { margin: 0; color: var(--muted); max-width: 30ch; }
.maze-win-bee { width: 96px; height: 96px; animation: maze-bob 1.6s ease-in-out infinite; }
@keyframes maze-bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.maze-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.maze-pad button { touch-action: none; user-select: none; -webkit-user-select: none; min-height: 52px; font-size: 1.2rem; border: 2px solid var(--orange); background: var(--white); border-radius: 14px; color: var(--ink); cursor: pointer; font-family: inherit; }
.maze-pad button:active { background: #FFE3A6; }
.maze-hint { margin: .7rem 0 0; font-size: .95rem; color: var(--muted); }
.maze-app { margin: 1.4rem auto 0; max-width: 40ch; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .maze-bee, .maze-flower, .maze-win-bee { transition: none; animation: none; } }

/* ---------- v1.6 Ausschnitte statt ganzer Seiten ---------- */
.peek-note { max-width: 46ch; margin: 1.2rem auto 0; color: var(--muted); }
.num img, .gallery img { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); box-shadow: none; background: transparent; }
.num-noimg { grid-template-columns: 1fr; }
.num-noimg .num-big { font-size: clamp(3.4rem, 9vw, 5.4rem); }

/* ---------- v1.6 Labyrinth: Ein-/Ausgang, Tor, Jubel ---------- */
.maze-board { container-type: inline-size; overflow: visible; }
.maze-item { font-size: clamp(12px, 4.6vw, 26px); font-size: calc(100cqw / var(--n, 9) * .62); }
.maze-over { border-radius: var(--radius); }
.maze-label { padding: 0; }
.maze-label span { font-size: calc(100cqw / var(--n, 9) * .34); font-weight: 700; background: #FFF3CC; border: 2px solid var(--orange); border-radius: 999px; padding: .1em .6em; white-space: nowrap; }
.maze-out span { background: #E9F7EE; border-color: var(--green); }
.maze-out { justify-content: end; padding-right: 0; }
.maze-pot { z-index: 3; transform: scale(1.25); }
.maze-pot.is-ready { animation: maze-pulse 1s ease-in-out infinite; filter: drop-shadow(0 0 8px #FFC83D); }
@keyframes maze-pulse { 50% { transform: scale(1.5); } }
.maze-out { z-index: 1; }
.maze-board.is-bump { animation: maze-shake .25s; }
@keyframes maze-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.maze-bit { position: absolute; z-index: 6; font-size: 22px; pointer-events: none; animation: maze-burst 1.4s ease-out forwards; }
@keyframes maze-burst { from { transform: translate(0,0) scale(.6); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(1.3) rotate(40deg); opacity: 0; } }
.maze-cheer { position: absolute; left: 50%; top: 42%; z-index: 7; transform: translate(-50%, -50%); font-size: clamp(2.4rem, 12vw, 4.4rem); font-weight: 700; color: var(--orange); text-shadow: 0 3px 0 #fff, 0 0 16px #fff; animation: maze-cheer 1.7s ease-out forwards; pointer-events: none; }
@keyframes maze-cheer { 0% { transform: translate(-50%,-50%) scale(.2); opacity: 0; } 25% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(-50%,-70%) scale(1); opacity: 0; } }
.maze-code { margin: 0; padding: .4rem .9rem; background: #FFF3CC; border: 2px dashed var(--orange); border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .maze-pot.is-ready, .maze-bit, .maze-cheer, .maze-board.is-bump { animation: none; } }
.section-game { overflow-x: clip; }

/* Beschriftung Ein-/Ausgang und größerer Honigtopf */
.maze-label { display: flex; align-items: center; }
.maze-in { justify-content: flex-start; }
.maze-out { justify-content: flex-end; }
.maze-pot { transform: none; font-size: calc(100cqw / var(--n, 9) * .9); }
@keyframes maze-pulse { 50% { transform: scale(1.2); } }
.maze-item { display: flex; align-items: center; justify-content: center; }
.maze-pot { font-size: calc(100cqw / var(--n, 9) * .78); }
.maze-label { justify-content: flex-start; }
.maze-out { justify-content: flex-end; }

/* ---------- v1.7 Video auf der Startseite ---------- */
.vid-frame { position: relative; width: min(100%, 300px); aspect-ratio: 432 / 768; margin: 1.6rem auto 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 5px solid var(--white); background: #BFE3FF; }
.vid-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-sound { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); border: 2px solid var(--orange); background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: .45em 1.1em; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap; }

/* v1.8 – Startseite: Video als Hintergrund (Handy: Vollbild; Desktop: unscharfer Hintergrund + scharfer Rahmen) */
.hero-film { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(560px, 88svh, 880px); background: #FFF3CC url("assets/video/bodi-hero-poster.jpg") center / cover no-repeat; }
.hero-media, .hero-veil { position: absolute; inset: 0; }
.hv-fill { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(26px) saturate(1.1); transform: scale(1.15); }
.hero-veil { background: linear-gradient(180deg, rgba(255,248,230,.55) 0%, rgba(255,248,230,.30) 50%, rgba(255,248,230,.50) 100%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(24px, 4vw, 48px); }
.hero-film h1 { text-shadow: 0 2px 14px rgba(255,248,230,.9); }
.hero-film .lead { color: var(--ink); font-weight: 600; text-shadow: 0 1px 10px rgba(255,248,230,.9); }
.hero-phone { position: relative; justify-self: center; height: min(74svh, 640px); aspect-ratio: 432 / 768; border-radius: 30px; overflow: hidden; border: 5px solid var(--white); box-shadow: 0 16px 40px rgba(43,43,43,.22); background: #BFE3FF; }
.hero-phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-film .vid-sound { position: absolute; z-index: 2; left: 50%; bottom: 12px; transform: translateX(-50%); }
@media (max-width: 899px) {
  .hero-film { min-height: clamp(520px, 84svh, 760px); }
  .hv-fill { display: none; }
  .hero-inner { display: block; position: static; padding-block: clamp(24px, 6vw, 48px); }
  .hero-phone { position: absolute; inset: 0; width: 100%; justify-self: stretch; height: auto; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; z-index: 0; }
  .hero-content { position: relative; z-index: 2; }
  .hero-phone video { object-position: 50% 35%; }
  .hero-film .vid-sound { left: auto; right: 14px; bottom: 14px; transform: none; z-index: 3; }
  .hero-veil { background: linear-gradient(180deg, rgba(255,248,230,.84) 0%, rgba(255,248,230,.62) 50%, rgba(255,248,230,.82) 100%); z-index: 1; }
}

/* v1.9 – kleine, leicht verschwommene Seiten-Vorschau; Rechtliches ganz klein im Fuß */
.pages-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 210px)); gap: 14px; justify-content: center; margin: 1.6rem auto 1rem; }
.pages-strip img, .gallery img { filter: blur(1.4px); border-radius: 12px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); box-shadow: none; background: transparent; width: 100%; height: auto; }
.gallery { grid-template-columns: repeat(auto-fit, minmax(140px, 210px)); justify-content: center; }
.foot-legal { font-size: .72rem; opacity: .8; }
.foot-legal a { color: inherit; text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }
.legal { max-width: 720px; text-align: left; }
.legal h1 { text-align: center; }
.legal h2 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.peek-note, .lead { text-wrap: balance; }

/* ---- Folge-Packs: Übersicht, Produktseiten ---- */
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2rem; align-items: stretch; }
.pack-grid .pack { height: 100%; justify-content: flex-start; text-align: center; }
.pack-grid .pack img { width: 100%; height: auto; }
.pack-grid .pack h3 { font-size: 1.3rem; }
.pack-grid .pack .btn { margin-top: auto; }
.pack-soon { border-style: dashed; justify-content: center; min-height: 220px; background: var(--white); }
.pack-soon .soon-title { font-size: 3rem; font-weight: 700; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0 auto 2rem; }
.shots .shot { margin: 0; }
.shots .shot:first-child { grid-column: 1 / -1; }
.shots img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); background: #fff; }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.detail-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; text-align: left; }
.detail-card h2 { font-size: 1.15rem; margin: 0 0 .8rem; letter-spacing: .02em; }
.detail-card ul { margin: 0; padding-left: 1.2em; }
.detail-card li { margin-bottom: .45rem; }
.detail-card p { margin: 0; }
.heart-note { max-width: 46rem; margin: 2.2rem auto 0; }
.heart-note h3 { margin-bottom: .5rem; }
@media (max-width: 900px) { .pack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pack-grid { grid-template-columns: 1fr; } .shots { grid-template-columns: 1fr; } }

/* v2.0 – Sortierschema (Kategorien auf der Printables-Seite) */
.cat { margin: 2.2rem auto 0; }
.cat-title { font-size: 1.35rem; margin: 0 0 .8rem; }
.cat-grid { align-items: start; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; justify-items: stretch; }
.cat-grid .pack-live { grid-column: span 2; }
.cat-grid .soon { align-items: center; text-align: center; min-height: 120px; }
.cat-grid .soon-title { font-size: 1.7rem; }
@media (max-width: 560px) { .cat-grid .pack-live { grid-column: auto; } }

/* v2.1 – Labyrinth: gleichmäßiges Durchfliegen */
.maze-board.is-gliding .maze-bee { transition: left .12s linear, top .12s linear; }

/* v2.2 – Kategorien: Karten mittig, Produktkarten gleich breit */
.cat-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.cat-grid .pack-live { grid-column: auto; flex: 0 1 380px; width: 380px; max-width: 100%; }
.cat-grid .soon { flex: 0 1 190px; }

/* Kleine Bodi: Rakete, Regenbogenspur, Sterne */
.bee.is-rocket svg { filter: drop-shadow(0 0 6px #FFD84D); }
.bee.is-rocket::after { content: ""; position: absolute; left: -26px; top: 50%; width: 30px; height: 14px; margin-top: -7px; border-radius: 50% 0 0 50%; background: linear-gradient(90deg, rgba(255,216,77,0), #F5A623 40%, #FF7A3D); filter: blur(1px); animation: bee-jet .12s ease-in-out infinite alternate; }
@keyframes bee-jet { from { transform: scaleX(.7); opacity: .8; } to { transform: scaleX(1.25); opacity: 1; } }
.bee.is-rainbow ~ .bee-dot, .bee-layer .bee.is-rainbow + .bee-dot { background: #F7BC6A; }
.bee-layer:has(.is-rainbow) .bee-dot:nth-child(5n+1) { background: #FF7A7A; } .bee-layer:has(.is-rainbow) .bee-dot:nth-child(5n+2) { background: #FFD84D; }
.bee-layer:has(.is-rainbow) .bee-dot:nth-child(5n+3) { background: #9EE3A0; } .bee-layer:has(.is-rainbow) .bee-dot:nth-child(5n+4) { background: #8FD3FF; } .bee-layer:has(.is-rainbow) .bee-dot:nth-child(5n) { background: #C9A6FF; }
.pollen-star { width: auto; height: auto; background: none; font-size: 15px; color: #F5A623; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .bee.is-rocket::after { animation: none; } }

/* ---------- Bilder aus beebrightbrain-assets: weiche Ränder, sanfte Bewegung ---------- */
.img-soft { -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 73%); mask-image: radial-gradient(ellipse at center, #000 50%, transparent 73%); }
.deco-float { animation: deco-float 7s ease-in-out infinite; }
.deco-float.d2 { animation-duration: 8.5s; animation-delay: -2s; } .deco-float.d3 { animation-duration: 9.5s; animation-delay: -4s; }
@keyframes deco-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
.hero-sky { background: url(assets/img/hintergrund/hg-himmel-regenbogen.webp) center / cover no-repeat; animation: hero-sky 60s ease-in-out infinite alternate; transform-origin: 50% 70%; }
@keyframes hero-sky { from { transform: scale(1.04) translateX(-1.5%); } to { transform: scale(1.1) translateX(1.5%); } }
.hero-fly { position: absolute; z-index: 1; left: clamp(4px, 3vw, 60px); bottom: 6%; width: clamp(140px, 22vw, 300px); height: auto; opacity: .92; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse at center, #000 48%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 48%, transparent 72%); }
.hero-film .hero-veil { background: linear-gradient(180deg, rgba(255,248,230,.35) 0%, rgba(255,248,230,.15) 50%, rgba(255,248,230,.6) 100%); }
@media (max-width: 899px) { .hero-film .hero-veil { background: linear-gradient(180deg, rgba(255,248,230,.86) 0%, rgba(255,248,230,.70) 55%, rgba(255,248,230,.86) 100%); } .hero-film .hero-phone { opacity: .5; } .hero-film .hero-phone video { object-position: 50% 62%; } }
.world-img { width: 150px; height: auto; margin: -8px auto 0; }
.bodi-intro { display: grid; grid-template-columns: minmax(220px, 420px) 1fr; gap: 28px; align-items: center; text-align: left; max-width: 980px; margin: 0 auto; }
.bodi-intro .lead { color: var(--muted); } .bodi-intro .quote { margin: 1rem 0 .4rem; }
.bodi-face { width: 100%; height: auto; }
.about-img { width: 140px; height: auto; margin: -6px auto 0; }
.section-game { background: linear-gradient(rgba(255,241,207,.84), rgba(255,241,207,.9)), url(assets/img/hintergrund/hg-spielzimmer.webp) center / cover no-repeat; }
.nap { margin: 1.4rem auto 0; max-width: 300px; } .nap img { width: 100%; height: auto; } .nap figcaption { color: var(--muted); font-weight: 600; margin-top: -4px; }
.cta-hive { background: linear-gradient(rgba(255,243,204,.72), rgba(255,248,230,.86)), url(assets/img/hintergrund/hg-bienenhaus-huegel.webp) center / cover no-repeat; }
.hero-room { background: linear-gradient(rgba(255,248,230,.86), rgba(255,243,204,.92)), url(assets/img/hintergrund/hg-spielzimmer.webp) center / cover no-repeat; }
.cat { position: relative; } .cat-img { width: 170px; height: auto; margin: 0 auto -10px; display: block; }
.sticker { width: 180px; height: auto; display: block; margin: -10px 0 -6px -20px; }
@media (max-width: 860px) { .bodi-intro { grid-template-columns: 1fr; text-align: center; } .bodi-face { max-width: 320px; margin: 0 auto; } .sticker { margin: -6px auto 0; } .hero-fly { width: 120px; bottom: 2%; opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .deco-float, .hero-sky { animation: none; } }

/* v2.0 – Druckvorlagen: Kategorie-Kacheln nebeneinander, kompakte Abschnitte darunter */
.cat-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; max-width: 1040px; margin: 1.6rem auto 2.6rem; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 16px; background: var(--white); border: 3px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .18s ease, border-color .18s ease; }
.cat-tile:hover, .cat-tile:focus-visible { transform: translateY(-3px); border-color: var(--green); outline: none; }
.cat-tile img { width: 100%; max-width: 150px; height: 105px; object-fit: contain; }
.cat-emoji { display: flex; align-items: center; justify-content: center; height: 105px; font-size: 3.2rem; }
.cat-tile h3 { font-size: 1.05rem; margin: 0; line-height: 1.25; }
.cat-count { font-size: .9rem; font-weight: 600; color: var(--green); }
.cat-tile-soon .cat-count { color: var(--muted); font-weight: 500; }
.cat { scroll-margin-top: 84px; margin-top: 0; }
.cat + .cat { margin-top: 2rem; padding-top: 2rem; border-top: 2px dashed rgba(245, 166, 35, .35); }
.cat-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 1.1rem; }
.cat .cat-img { width: 96px; height: auto; margin: 0; }
.cat .cat-title { margin: 0; font-size: 1.5rem; }
.cat-grid { gap: 18px; }
.cat-grid .pack-live { flex: 0 1 260px; width: 260px; }
.cat-grid .pack-live h3 { font-size: 1.15rem; }
.cat-grid .soon { flex: 0 1 220px; }
.cat-top { display: inline-block; margin-top: 1.1rem; font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.cat-top:hover { color: var(--green); }
@media (max-width: 560px) { .cat-nav { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cat-tile img, .cat-emoji { height: 84px; } .cat-grid .pack-live { flex-basis: 100%; width: 100%; max-width: 340px; } }
@media (prefers-reduced-motion: reduce) { .cat-tile { transition: none; } }

@media (max-width: 480px) {   /* Handy: Logo, Sprache (Flagge + Name) und Shop passen in eine Zeile */
  .header-row { gap: 6px; }
  .site-header .wordmark { font-size: 1.05rem; }
  .langmenu summary { font-size: .85rem; padding: .4em .65em; }
  .langmenu summary::after { margin-left: .3em; }
  .langmenu summary .flag { width: 18px; height: 12px; margin-right: .35em; }
}
@media (max-width: 359px) {   /* sehr kleine Handys: nur die Flagge, der Name steht im aufgeklappten Menü */
  .langmenu summary .lm-name { display: none; }
  .langmenu summary .flag { margin-right: 0; }
}
