/* Schriften lokal (OFL) – kein Google-CDN */
@font-face {
  font-family: "Bungee";
  src: url("fonts/bungee.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-italic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Kategorie-Farben aus den Menü-Hintergründen der App */
  --lyoner: #E2AB90;
  --kaese:  #F1CD81;
  --tomate: #FF6B55;
  --fisch:  #73CDFF;
  --apfel:  #A3E988;

  --ink:    #3A2019;
  --ink-2:  #6B4A3F;
  --cream:  #FFF5EE;
  --night:  #2A1611;
  --gingham:#D7322F;

  --skew: -15deg;
  --radius: 28px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-pop: cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", ui-rounded, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* Schriftzug im Logo-Stil: Bungee, nach oben geschert wie im Original */
.bungee {
  font-family: "Bungee", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .92;
}
.sheared { display: inline-block; transform: skewY(var(--skew)); }
/* Überschriften: flacher geneigt, links unten verankert – steigen nach oben statt in den Text zu ragen */
h2 .sheared, h3 .sheared { --skew: -6deg; transform-origin: 0 100%; }

/* Karomuster der Metzger-Schürze */
.gingham {
  height: 24px;
  background:
    repeating-linear-gradient(90deg, rgba(215,50,47,.55) 0 8px, transparent 8px 16px),
    repeating-linear-gradient(0deg,  rgba(215,50,47,.55) 0 8px, transparent 8px 16px),
    #fff;
}

/* Pillen-Buttons wie in der App (PillButtonStyle) */
.pill {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.5em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.28);
  color: #fff;
  font: 700 1rem/1 "Nunito", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .25s var(--ease-pop), background .2s, box-shadow .2s;
}
.pill:hover { transform: translateY(-2px); background: rgba(255,255,255,.4); }
.hero .pill:not(.pill--solid) { color: var(--ink); border-color: rgba(58,32,25,.25); }
.pill:active { transform: translateY(0) scale(.98); }
.pill--solid {
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(58,32,25,.45);
}
.pill--solid:hover { background: #fff; }
.pill--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill--dark:hover { background: #000; }
.pill svg { width: 1.1em; height: 1.1em; flex: none; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

kbd {
  display: inline-grid; place-items: center;
  min-width: 2.1em; height: 2.1em; padding: 0 .45em;
  border-radius: .45em;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(58,32,25,.18);
  box-shadow: 0 3px 0 rgba(58,32,25,.22);
  font: 800 .95em/1 ui-rounded, "Nunito", system-ui, sans-serif;
  vertical-align: .1em;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  --bg: var(--lyoner);
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, rgba(255,255,255,.38), transparent 70%),
    var(--bg);
  transition: background-color .6s ease;
  color: #fff;
}
.hero__stage {
  position: relative;
  z-index: 1;
  pointer-events: none;   /* Figuren dahinter bleiben anklickbar */
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(.75rem, 2vh, 1.8rem);
  padding: clamp(1.5rem, 5vh, 4rem) 1.25rem clamp(1.5rem, 5vh, 3rem);
  text-align: center;
}
.logo {
  margin: 0;
  font-size: min(6.4vw, 9.5vh, 8rem);
  color: #fff;
  text-shadow: 0 .04em .08em rgba(58,32,25,.18);
  /* Platz für die Scherung oben/unten + Luft zum Claim */
  padding-block: .55em .75em;
}
.hero__actions a, .hero__meta a { pointer-events: auto; }
.hero__meta a { color: var(--ink); text-underline-offset: .18em; }
.logo .sheared { text-align: left; }
.logo__line { display: block; white-space: nowrap; }
.logo__line + .logo__line { margin-left: 5.6ch; }

.hero__claim {
  max-width: 42ch; text-wrap: balance;
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero__meta { margin: -.5rem 0 0; font-size: .9rem; color: var(--ink-2); font-weight: 600; }

/* Schwebende Figuren – Position setzt das Script */
.floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.figure {
  position: absolute; left: 0; top: 0;
  width: clamp(60px, 11.25vw, 188px);
  background: none; border: 0; padding: 0; cursor: pointer;
  pointer-events: auto;
  will-change: transform;
  filter: drop-shadow(0 18px 14px rgba(58,32,25,.22));
  opacity: 0;
  transition: opacity .8s ease;
}
.floaters.is-ready .figure { opacity: 1; }
.figure img { width: 100%; transition: transform .35s var(--ease-pop); }
.figure:hover img, .figure:focus-visible img { transform: scale(1.12) rotate(-6deg); }
.figure:focus-visible { outline-offset: 6px; border-radius: 20px; }

/* Die Theke als Abschluss unten */
.counter { position: relative; z-index: 1; }
.counter__top { height: 18px; background: #fff; box-shadow: 0 -1px 0 rgba(58,32,25,.06); }
.counter__front {
  height: clamp(36px, 7vh, 64px);
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), transparent 30%),
    repeating-linear-gradient(90deg, #8A5A44 0 3px, #7B4E3A 3px 120px);
}
.counter .gingham { height: 16px; }

/* ── STORY ────────────────────────────────────────────── */
.story {
  position: relative;
  padding: clamp(5rem, 14vh, 9rem) 0 clamp(4rem, 10vh, 7rem);
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 1.4rem;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  color: var(--tomate);
}
.story__text {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(1.35rem, 2.35vw, 2.05rem);
  line-height: 1.38;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.story__text + .story__text { margin-top: 1.1em; }
.story__text strong { font-weight: 900; }
.story__text--punch { color: var(--ink-2); font-style: italic; }
.story__hand {
  position: relative;
  width: min(1050px, 92vw);
  margin: clamp(2rem, 6vh, 4rem) 0 0 auto;
  transform: translateX(105%);
  transition: transform 1.3s var(--ease-pop);
}
.story.is-in .story__hand { transform: translateX(0); }
.story__hand img { width: 100%; filter: drop-shadow(0 24px 22px rgba(58,32,25,.18)); }
.story__note {
  position: absolute; left: 4%; top: -1.2rem;
  font: 400 1rem/1.2 "Nunito", sans-serif; font-style: italic; font-weight: 700;
  color: var(--ink-2);
  transform: rotate(-4deg);
}

@media (min-width: 980px) {
  .story__hand {
    position: absolute;
    right: 0; top: 50%;
    width: min(50vw, 820px);
    margin: 0;
    translate: 0 -40%;
  }
  .story__text { max-width: 24ch; }
}

/* ── PURPOSE ──────────────────────────────────────────── */
.purpose {
  background: var(--night);
  color: var(--cream);
  padding: clamp(5rem, 12vh, 8rem) 0;
}
.purpose__lead {
  max-width: 26ch;
  margin: 0 0 clamp(3rem, 7vh, 4.5rem);
  font-size: clamp(1.6rem, 3.3vw, 2.8rem);
  line-height: 1.22;
  font-weight: 800;
}
.purpose__lead em { font-style: normal; color: var(--lyoner); }
.cases {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}
.case {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 1.9rem 1.7rem 2.2rem;
  border-radius: var(--radius);
  background: rgba(255,245,238,.06);
  border: 1px solid rgba(255,245,238,.12);
  overflow: hidden;
  transition: transform .35s var(--ease-pop), background .3s;
}
.case:hover { transform: translateY(-6px) rotate(-.6deg); background: rgba(255,245,238,.1); }
.case__no { font-size: .95rem; color: rgba(255,245,238,.45); letter-spacing: .08em; }
.case p { margin: 0; font-size: 1.12rem; color: rgba(255,245,238,.88); }
.case__boost { margin-top: auto; }
.case__boost small {
  display: block; margin-bottom: .6rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,245,238,.55);
}
.case__boost .bungee { font-size: clamp(1.45rem, 2.3vw, 1.85rem); color: var(--lyoner); }
.case:nth-child(2) .case__boost .bungee { color: var(--kaese); }
.case:nth-child(3) .case__boost .bungee { color: var(--fisch); }

.try {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin-top: clamp(3rem, 7vh, 4.5rem);
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--lyoner);
  color: var(--ink);
}
.try p { flex: 1 1 28rem; margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-weight: 700; text-wrap: pretty; }
.try kbd { margin: 0 .1em; }

/* ── ERNÄHRUNGSWEISEN ────────────────────────────────── */
.diets-section { padding: clamp(5rem, 12vh, 8rem) 0 clamp(5rem, 12vh, 8rem); }
.diets-section h2 { margin: 0 0 1.4rem; font-size: clamp(1.9rem, 4.2vw, 3.4rem); color: var(--ink); }
.diets-intro { max-width: 60ch; margin: 0 0 clamp(2.5rem, 6vh, 3.5rem); font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.diets-intro strong { color: var(--ink); }

.diets {
  display: flex;
  gap: 12px;
  height: clamp(30rem, 78vh, 44rem);
}
.diet {
  --c: var(--lyoner);
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,255,255,.4), transparent 70%),
    var(--c);
  transition: flex-grow .7s var(--ease-out), box-shadow .4s;
  isolation: isolate;
}
.diet.is-open { flex-grow: 4.2; box-shadow: 0 30px 60px -30px rgba(58,32,25,.5); }

.diet__tab {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 2rem .5rem 1.6rem;
  width: 100%;
  background: none; border: 0; cursor: pointer;
  color: #fff;
  z-index: 2;
  transition: opacity .35s;
}
.diet__tab:focus-visible { outline-offset: -6px; border-radius: var(--radius); }
.diet__fig {
  width: min(78%, 150px);
  margin-top: 22%;
  filter: drop-shadow(0 14px 12px rgba(58,32,25,.2));
  transition: transform .5s var(--ease-pop);
}
.diet__tab:hover .diet__fig { transform: translateY(-8px) rotate(-5deg); }
.diet__vlabel {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  text-shadow: 0 2px 6px rgba(58,32,25,.18);
}
.diet.is-open .diet__tab { opacity: 0; pointer-events: none; }

.diet__panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s;
  z-index: 1;
}
.diet.is-open .diet__panel { opacity: 1; visibility: visible; transition: opacity .5s .25s, visibility 0s; }
.diet__name {
  margin: .3em 0 0;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  color: #fff;
  text-shadow: 0 .05em .1em rgba(58,32,25,.15);
  white-space: nowrap;
}
.diet__snack {
  margin: 1.6rem 0 0;
  font-size: .82rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(58,32,25,.6);
}
.diet__desc { margin: .35rem 0 0; max-width: 30ch; font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 700; color: var(--ink); }
.diet__hand {
  position: absolute;
  right: 0; bottom: 7%;
  width: min(105%, 980px);
  max-width: none;
  transform: translateX(100%);
  transition: transform .9s var(--ease-pop);
  filter: drop-shadow(0 20px 18px rgba(58,32,25,.2));
  pointer-events: none;
}
.diet.is-open .diet__hand { transform: translateX(18%); transition-delay: .25s; }
.diet--lyoner { --c: var(--lyoner); }
.diet--kaese  { --c: var(--kaese); }
.diet--tomate { --c: var(--tomate); }
.diet--fisch  { --c: var(--fisch); }
.diet--apfel  { --c: var(--apfel); }
.diet--fisch .diet__hand { width: min(62%, 600px); bottom: 2%; }
.diet--fisch.is-open .diet__hand { transform: translateX(14%); }

/* ── FOOTER ───────────────────────────────────────────── */
.footer { background: var(--night); color: var(--cream); }
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(3rem, 8vh, 5rem) 0;
}
.footer__logo { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; padding-block: .5em .2em; }
.footer__logo .logo__line + .logo__line { margin-left: 5.6ch; }
.footer__fine { padding: 1.2rem 0 2rem; border-top: 1px solid rgba(255,245,238,.1); font-size: .85rem; color: rgba(255,245,238,.45); }

/* ── Rädchen-Demo (wie das Overlay der App) ───────────── */
.serve {
  position: fixed;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: end;
  pointer-events: none;
  overflow: hidden;
  visibility: hidden;
  z-index: 50;
}
.serve.is-in { visibility: visible; }
.serve img {
  width: min(1100px, 96vw);
  transform: translateX(105%);
  opacity: 1;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,.25));
}
.serve.is-in img  { transform: translateX(0); transition: transform .9s var(--ease-pop); }
.serve.is-out img { transform: translateX(0); opacity: 0; transition: opacity .55s ease; }

/* ── Mobil ────────────────────────────────────────────── */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .diets { flex-direction: column; height: auto; }
  .diet { flex: none; height: 5.5rem; transition: height .6s var(--ease-out), box-shadow .4s; }
  .diet.is-open { height: 25rem; }
  .diet__tab { flex-direction: row; justify-content: flex-start; gap: 1rem; padding: .6rem 1.2rem; }
  .diet__fig { width: 64px; margin: 0; }
  .diet__vlabel { writing-mode: horizontal-tb; transform: none; }
  .diet__hand { width: 115%; bottom: 4%; }
  .diet--fisch .diet__hand { width: 62%; }
  .diet.is-open .diet__hand { transform: translateX(25%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .story__hand { transform: none; }
}

.footer__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: rgba(255,245,238,.7); text-decoration: none; }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: var(--cream); text-decoration: underline; }
.footer__fine a:focus-visible, .legal a:focus-visible { outline-color: var(--lyoner); }

/* ── Rechtsseiten ─────────────────────────────────────── */
.legal-top {
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(255,255,255,.35), transparent 70%),
    var(--lyoner);
}
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem 1.4rem; }
.legal-top__logo { font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: #fff; text-decoration: none; padding-block: .45em .15em; text-shadow: 0 .04em .08em rgba(58,32,25,.18); }
.legal-top__logo .logo__line + .logo__line { margin-left: 5.6ch; }
.legal-top .pill { color: var(--ink); border-color: rgba(58,32,25,.25); }

.legal { padding: clamp(3rem, 8vh, 5rem) 0 clamp(4rem, 10vh, 6rem); }
.legal .wrap { max-width: 760px; }
.legal h1 { margin: 0 0 2rem; padding-top: .6em; font-size: clamp(2rem, 5vw, 3.2rem); }
.legal h1 .sheared { --skew: -6deg; transform-origin: 0 100%; }
.legal h2 { margin: 2.6rem 0 .6rem; font-size: 1.25rem; font-weight: 900; color: var(--ink); }
.legal h3 { margin: 1.6rem 0 .4rem; font-size: 1.05rem; font-weight: 800; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin: 0 0 .9rem; }
.legal ul { margin: 0 0 .9rem; padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.legal strong { color: var(--ink); }
.legal a { color: var(--ink); text-decoration-color: var(--tomate); text-underline-offset: .18em; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.55; margin-bottom: .9rem; }
.legal__stand { margin-top: 2.6rem; font-size: .9rem; }

.footer__dl { display: grid; justify-items: end; gap: .6rem; }
.footer__dl p { margin: 0; font-size: .85rem; color: rgba(255,245,238,.6); }
.footer__dl p a { color: rgba(255,245,238,.85); text-underline-offset: .18em; }
@media (max-width: 820px) { .footer__dl { justify-items: start; } }

/* Die Oma steht fest unter dem Text (schwebt nicht mit) */
.hero__oma {
  width: min(14vh, 150px, 36vw);
  margin-top: -.4rem;
}
.hero__oma img { width: 100%; filter: drop-shadow(0 22px 22px rgba(58,32,25,.3)); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { padding: 0 0 clamp(5rem, 12vh, 8rem); }
.faq h2 { margin: 0 0 2rem; font-size: clamp(1.9rem, 4.2vw, 3.4rem); padding-top: .4em; }
.faq__list { display: grid; gap: .75rem; max-width: 860px; }
.faq__item {
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(58,32,25,.08);
  box-shadow: 0 12px 30px -24px rgba(58,32,25,.5);
  transition: box-shadow .3s;
}
.faq__item[open] { box-shadow: 0 18px 40px -24px rgba(58,32,25,.55); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--lyoner);
  color: #fff;
  font: 900 1.25rem/1 "Nunito", sans-serif;
  transition: transform .3s var(--ease-pop), background .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--tomate); }
.faq__item summary:focus-visible { outline-offset: -3px; border-radius: 20px; }
.faq__item h3 { margin: 0; font-size: clamp(1.02rem, 1.4vw, 1.15rem); font-weight: 800; color: var(--ink); }
.faq__item p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--ink-2); max-width: 70ch; }
.faq__more { margin: 1.6rem 0 0; color: var(--ink-2); }
.faq__more a { color: var(--ink); text-decoration-color: var(--tomate); text-underline-offset: .18em; }

/* Download-Zähler im Header */
.hero__count {
  display: inline-flex; align-items: baseline; gap: .55em;
  margin: -.2rem 0 0;
  padding: .45em 1.1em .5em;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.7);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(.9rem, 1.2vw, 1rem);
  transition: opacity .5s ease;
}
.hero__count.is-loading { visibility: hidden; opacity: 0; }
.hero__count-num { font-size: 1.45em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
