/* EVA — Website. Farben wie in lib/core/design/eva_tokens.dart: Peach Cream,
   Pastell ohne Weiß, Glas vor weichen Farbflächen. Dazu eine Serifenschrift
   für die großen Überschriften und echte Fotos aus dem Rezeptkatalog.
   Die Schriften liegen hier und nicht bei Google Fonts — so geht beim Aufruf
   keine IP-Adresse an Dritte. */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/fonts/Poppins-Regular.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/fonts/Poppins-Medium.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/fonts/Poppins-SemiBold.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/InstrumentSerif-Regular.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/InstrumentSerif-Italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg-1: #F9E6DB;
  --bg-2: #F7DFD2;
  --bg-3: #F4D8CA;
  --orb-1: #F0B39A;
  --orb-2: #F7E3A1;
  --orb-3: #CFE2C2;
  --glass: rgba(251, 237, 229, 0.62);
  --glass-edge: rgba(255, 248, 243, 0.6);
  --surface: #FBEDE5;
  --ink: #3B2820;
  --ink-muted: #735749;
  --accent: #A8553A;
  --on-accent: #FFF7F2;
  --peach: #F0B39A;
  --butter: #F7E3A1;
  --sage: #D3E3C7;
  --shadow: rgba(120, 70, 50, 0.12);
  --line: rgba(59, 40, 32, 0.14);
  /* Die dunkle Fläche (Datenschutz) und die Schrift auf Fotos. */
  --deep: #2B1F1B;
  --deep-ink: #FBEDE5;
  --deep-muted: #CDB3A6;
  --cream: #FFF7F2;
  --store-bg: #24180F;
  --store-ink: #FFF7F2;
  --frame: #2B1F1B;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --page: min(1180px, calc(100% - 32px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-1: #2B1F1B;
    --bg-2: #261B18;
    --bg-3: #221815;
    --orb-1: #7A4A38;
    --orb-2: #6B5A2E;
    --orb-3: #45563C;
    --glass: rgba(58, 42, 36, 0.62);
    --glass-edge: rgba(255, 233, 221, 0.2);
    --surface: #34261F;
    --ink: #F7E6DC;
    --ink-muted: #CDB3A6;
    --accent: #F0B39A;
    --on-accent: #2B1F1B;
    --shadow: rgba(0, 0, 0, 0.3);
    --line: rgba(247, 230, 220, 0.14);
    --deep: #160F0D;
    --store-bg: #FFF1E8;
    --store-ink: #2B1F1B;
    --frame: #0F0A08;
  }
}

/* --- Grundlagen ----------------------------------------------------------- */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(170deg, var(--bg-1), var(--bg-2) 50%, var(--bg-3));
  background-color: var(--bg-2);
}

/* Die Flächen hinter dem Glas. Ohne sie wäre der Blur unsichtbar. */
.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orbs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.75; }
.orbs span:nth-child(1) { width: 46vmax; height: 46vmax; background: var(--orb-1); top: -14vmax; right: -12vmax; }
.orbs span:nth-child(2) { width: 34vmax; height: 34vmax; background: var(--orb-2); top: 38vh; left: -14vmax; }
.orbs span:nth-child(3) { width: 30vmax; height: 30vmax; background: var(--orb-3); bottom: -12vmax; right: 8vw; }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: 28px;
  box-shadow: 0 10px 30px var(--shadow), inset 0 1px 0 var(--glass-edge);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .bar, .sticky-cta { background: var(--surface); }
}

a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 30; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.photo { display: block; width: 100%; height: 100%; object-fit: cover; }

/* --- Leiste: die schwebende Glas-Kapsel, wie in der App ------------------- */

.bar {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0 auto;
  width: min(1040px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 7px 7px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 8px 24px var(--shadow), inset 0 1px 0 var(--glass-edge);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 600; font-size: 18px; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }
.bar-links { display: flex; gap: 2px; }
.bar-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; transition: background-color 0.2s ease; }
.bar-links a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.cta-mini { padding: 9px 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform 0.2s ease; }
.cta-mini:hover { transform: translateY(-1px); }

.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { position: relative; display: block; width: 18px; height: 10px; }
.menu-icon span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.menu-icon span:first-child { top: 0; }
.menu-icon span:last-child { bottom: 0; }
.menu[open] .menu-icon span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] .menu-icon span:last-child { transform: translateY(-4px) rotate(-45deg); }
/* Deckend statt Glas: ein Blur in der schon geblurrten Leiste sähe nur sie. */
.menu-panel { position: absolute; right: -7px; top: calc(100% + 14px); width: min(330px, calc(100vw - 24px)); display: grid; padding: 10px; border-radius: 28px; background: var(--surface); border: 1px solid var(--glass-edge); box-shadow: 0 20px 50px var(--shadow); }
.menu-panel a { padding: 10px 16px; border-radius: 16px; font-family: var(--serif); font-size: 30px; line-height: 1.15; color: var(--ink); text-decoration: none; }
.menu-panel a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.menu-panel a:nth-child(n+5) { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink-muted); }
.menu-panel a:nth-child(5) { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; padding-top: 16px; }

@media (max-width: 760px) {
  .bar-links { display: none; }
  .menu { display: block; }
}

/* --- Seitenaufbau --------------------------------------------------------- */

/* Karussell und Farbflächen reichen bis an den Rand. clip statt hidden, damit
   position: sticky weiter funktioniert; am body ginge es nicht, dort wandert
   overflow an das Fenster weiter. */
main { flex: 1; padding: 112px 0 0; overflow-x: clip; }
.index main { padding-top: 0; }
main > section, main > article { width: var(--page); margin-inline: auto; }
main > * + * { margin-top: clamp(96px, 13vw, 176px); }
main > .full { width: 100%; }
section[id] { scroll-margin-top: 96px; }

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.6vw, 92px); line-height: 0.98; letter-spacing: -0.015em; margin: 0 0 clamp(32px, 4.5vw, 64px); max-width: 16ch; }
.section-title em, .display em { font-style: italic; }
.section-title em { color: var(--accent); }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--ink-muted); margin: 0; }
.more-link { margin: 24px 0 0; color: var(--ink-muted); }

/* --- Hero: Foto über die ganze Breite, Titel groß darauf ------------------ */

.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; overflow: hidden; color: var(--cream); }
.hero-media { position: absolute; inset: 0; z-index: -1; transform: translate3d(0, var(--hp, 0), 0); }
.hero-media .photo { object-position: 32% 60%; transform: scale(1.08); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 24, 18, 0.5) 0%, rgba(36, 24, 18, 0.08) 28%, rgba(36, 24, 18, 0.2) 52%, rgba(36, 24, 18, 0.84) 100%); }
.hero-inner { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 120px 0 clamp(20px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.hero .eyebrow { color: var(--cream); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9.6vw, 152px); line-height: 0.9; letter-spacing: -0.025em; margin: 0; text-shadow: 0 2px 30px rgba(36, 24, 18, 0.25); }
.display em { color: #F8C8B2; }
.hero-panel { padding: clamp(20px, 2.4vw, 28px); color: var(--ink); }
.hero-panel .lead { color: var(--ink); font-size: 17px; }
.hero .stores { margin-top: 20px; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--ink-muted); }
.fine strong { color: var(--ink); font-weight: 600; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 16px 0 0; }
.trust li { position: relative; padding: 5px 12px 5px 28px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: 13px; font-weight: 500; }
.trust li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(-45deg); }

/* Auf dem Handy steht der Titel auf dem Foto, die Glasfläche ragt über
   seinen unteren Rand — so bleibt vom Foto mehr als ein Streifen. */
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; overflow: visible; }
  .hero-media { bottom: auto; height: 74vh; height: 74svh; overflow: hidden; border-radius: 0 0 36px 36px; transform: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .hero-copy { display: flex; flex-direction: column; justify-content: flex-end; min-height: 74vh; min-height: 74svh; padding: 104px 0 76px; }
  .hero-panel { position: relative; margin-top: -48px; }
  .display { font-size: clamp(56px, 16.5vw, 96px); }
}

/* --- Telefon um das Bildschirmfoto ---------------------------------------- */

.phone { margin: 0; padding: 7px; border-radius: 40px; background: var(--frame); box-shadow: 0 30px 60px var(--shadow), 0 8px 18px var(--shadow); }
.phone img { display: block; width: 100%; height: auto; border-radius: 33px; }

/* --- Download-Knöpfe ------------------------------------------------------ */

.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; min-height: 54px; padding: 8px 20px; border-radius: 14px; background: var(--store-bg); color: var(--store-ink); text-decoration: none; line-height: 1.2; text-align: left; border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.store:hover { transform: translateY(-1px); box-shadow: 0 10px 22px var(--shadow); }
.store-small { font-size: 12px; font-weight: 500; opacity: 0.85; }
.store-big { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.store.official { padding: 0; min-width: 0; background: none; }
.store.official img { display: block; height: 54px; width: auto; }
.store.soon { background: transparent; color: var(--ink); border: 1.5px dashed var(--ink-muted); cursor: default; }
.store.soon:hover { transform: none; box-shadow: none; }
/* Das eigene Telefon zuerst — site.js setzt die Klasse. */
.is-ios .store-ios, .is-android .store-android { order: -1; }
@media (max-width: 420px) {
  .store { min-width: 0; flex: 1 1 130px; padding: 8px 14px; }
  .store-big { font-size: 17px; }
}

/* --- Zahlen --------------------------------------------------------------- */

main > .facts { margin-top: clamp(40px, 6vw, 72px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 24px); }
.facts div + div { border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.02em; }
.facts span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
@media (max-width: 700px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --- Geschichte: „Kennst du das?“ -----------------------------------------
   Ohne Skript eine Liste neben einem Foto. Mit Skript (.js-story) bleibt der
   Abschnitt stehen, während man scrollt: Linie, Nummer, Text und Foto
   wechseln, die Form des Fotos fließt mit. */

.story-pin { width: var(--page); margin: 0 auto; }
.story-bar { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.story-bar .line, .carousel-progress .line { position: relative; flex: 1; height: 1px; background: var(--line); }
.story-bar .line span, .carousel-progress .line span { position: absolute; left: 0; right: 0; top: -0.5px; height: 2px; background: var(--accent); transform-origin: left center; transform: scaleX(var(--p, 1)); }
.story-no, .carousel-count { font-family: var(--serif); font-size: 26px; line-height: 1; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }
.story-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.story-step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.015em; margin: 0 0 14px; }
.story-step p { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-muted); }
.story-step .bridge { max-width: 18ch; font-family: var(--serif); font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); }
.story-images { order: -1; position: relative; height: min(64vh, 620px); overflow: hidden; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: 0 30px 70px var(--shadow); transition: border-radius 1.4s var(--ease); }
.story-image { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease), transform 1.6s var(--ease); transform: scale(1.08); }
.story-image:first-child { opacity: 1; transform: none; }

.js-story .story { height: 400vh; height: 400svh; }
.js-story .story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 88px 0 24px; }
.js-story .story-steps { gap: 0; }
.js-story .story-step { grid-area: 1 / 1; opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.js-story .story-step.is-active { opacity: 1; transform: none; filter: none; }
.js-story .story-image:first-child { opacity: 0; transform: scale(1.08); }
.js-story .story-image.is-active { opacity: 1; transform: none; }
.story[data-step="1"] .story-images { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; }
.story[data-step="2"] .story-images { border-radius: 40% 60% 48% 52% / 60% 40% 60% 40%; }
.story[data-step="3"] .story-images { border-radius: 50%; }

@media (max-width: 820px) {
  .story-stage { grid-template-columns: 1fr; }
  .story-images { height: min(44vh, 92vw); height: min(42svh, 92vw); }
  .js-story .story-pin { justify-content: flex-start; padding-top: 84px; }
  .js-story .story-stage { gap: 24px; }
  .story-step h3, .story-step .bridge { font-size: clamp(32px, 9vw, 44px); }
}

/* --- Schritte ------------------------------------------------------------- */

.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { border-top: 1px solid var(--line); padding-top: 20px; }
.step-no { display: block; font-family: var(--serif); font-size: clamp(72px, 8vw, 120px); line-height: 0.9; letter-spacing: -0.03em; color: var(--accent); }
.steps h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 20px 0 8px; }
.steps p { margin: 0; color: var(--ink-muted); }
@media (max-width: 820px) { .steps ol { grid-template-columns: 1fr; } }

/* --- Funktionen: Bild und Text im Wechsel --------------------------------- */

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 7vw, 112px); padding: clamp(40px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-media { order: 2; }
.feature-media { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 48px) 0; }
.feature-media .phone { position: relative; width: min(290px, 66vw); }
.blob { position: absolute; width: min(460px, 92%); aspect-ratio: 1; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: linear-gradient(140deg, var(--orb-1), var(--orb-2) 55%, var(--orb-3)); opacity: 0.8; animation: drift 26s linear infinite; }
.feature:nth-of-type(3n+2) .blob { background: linear-gradient(140deg, var(--orb-3), var(--orb-2) 60%, var(--orb-1)); animation-direction: reverse; }
.feature:nth-of-type(3n) .blob { background: linear-gradient(140deg, var(--orb-2), var(--orb-1)); }
@keyframes drift { to { transform: rotate(360deg); } }
.feature-tag { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.feature-tag span:first-child { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.feature-tag .line { width: 40px; height: 1px; background: currentColor; }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.015em; margin: 0 0 20px; }
.feature-text > p { color: var(--ink-muted); margin: 0 0 18px; max-width: 52ch; }
.feature .note { font-size: 14px; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature-media { order: 0; }
}

.checks { list-style: none; padding: 0; margin: 0 0 18px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 18px; height: 18px; border-radius: 50%; background: var(--sage); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(0.45em + 5px); width: 8px; height: 4px; border-left: 2px solid #2F5A2F; border-bottom: 2px solid #2F5A2F; transform: rotate(-45deg); }

/* --- Rezepte: Karussell, das bis an den Rand reicht ----------------------- */

.recipes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.recipes-head .section-title { margin-bottom: 0; }
.carousel-buttons { display: flex; gap: 10px; flex: none; }
.carousel-buttons[hidden] { display: none; }
.round { display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--ink); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.round:hover { background: var(--ink); color: var(--bg-1); }
.round svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.carousel { list-style: none; display: flex; gap: 18px; margin: 0 calc(50% - 50vw) 0 0; padding: 6px 16px 28px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.recipe { flex: 0 0 clamp(250px, 74vw, 340px); scroll-snap-align: start; padding: 10px 10px 20px; border-radius: 30px; }
.recipe-photo { aspect-ratio: 1 / 0.86; overflow: hidden; border-radius: 22px; }
.recipe-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.recipe:hover .recipe-photo img { transform: scale(1.05); }
.recipe h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.08; margin: 18px 10px 10px; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 10px; font-size: 14px; color: var(--ink-muted); }
.recipe-meta span { display: inline-flex; align-items: center; gap: 6px; }
.recipe-meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.carousel-progress { display: none; align-items: center; gap: 18px; }
.js .carousel-progress { display: flex; }
.carousel-progress .line span { transform: scaleX(var(--cp, 0.125)); transition: transform 0.3s var(--ease); }

/* --- Und noch mehr -------------------------------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tiles article { padding: 28px; }
.tile-icon { display: block; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tiles h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin: 22px 0 8px; }
.tiles p { margin: 0; color: var(--ink-muted); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } }

/* --- Datenschutz: die dunkle Fläche --------------------------------------- */

main > .privacy { width: calc(100% - 16px); }
.privacy { padding: clamp(72px, 11vw, 150px) 0; border-radius: clamp(28px, 4vw, 48px); color: var(--deep-ink); background: radial-gradient(circle at 88% 8%, rgba(240, 179, 154, 0.28), transparent 42%), radial-gradient(circle at 6% 94%, rgba(207, 226, 194, 0.16), transparent 46%), var(--deep); }
.privacy-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.privacy .eyebrow, .privacy .section-title em { color: var(--peach); }
.privacy .lead { color: var(--deep-muted); }
.privacy-head { position: sticky; top: 112px; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy .pillars li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px 26px; border-radius: 26px; background: rgba(255, 240, 232, 0.07); border-color: rgba(255, 240, 232, 0.14); box-shadow: inset 0 1px 0 rgba(255, 240, 232, 0.12); }
.pillar-no { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--peach); }
.pillars p { margin: 0; color: var(--deep-muted); }
.pillars strong { color: var(--deep-ink); font-weight: 600; }
.privacy .more-link { grid-column: 2; margin: 0; }
.privacy .more-link a { color: var(--peach); }
@media (max-width: 820px) {
  .privacy-inner { grid-template-columns: 1fr; }
  .privacy-head { position: static; }
  .privacy .more-link { grid-column: 1; }
}

/* --- Anspruch ------------------------------------------------------------- */

.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.columns article { border-top: 1px solid var(--line); padding-top: 24px; }
.columns h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.02; margin: 0 0 14px; }
.columns p { margin: 0; color: var(--ink-muted); }
@media (max-width: 820px) { .columns { grid-template-columns: 1fr; } }

/* --- Preis ---------------------------------------------------------------- */

main > .pricing { width: min(880px, calc(100% - 32px)); }
.pricing { padding: clamp(32px, 6vw, 72px); border-radius: clamp(28px, 4vw, 44px); text-align: center; }
.pricing .eyebrow { justify-content: center; }
.pricing .eyebrow::after { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }
.pricing .section-title { margin-left: auto; margin-right: auto; }
.pricing .checks { display: inline-block; margin-bottom: 28px; text-align: left; }
.pricing .stores { justify-content: center; }

/* --- Fragen --------------------------------------------------------------- */

.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(32px, 6vw, 96px); }
.faq > .eyebrow, .faq > .section-title, .faq > .more-link { grid-column: 1; }
.faq > .section-title { margin-bottom: 0; }
.faq-list { grid-column: 2; grid-row: 1 / span 4; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 60px 22px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--sans); font-size: 20px; line-height: 1; color: var(--accent); transform: translateY(-50%); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 62ch; color: var(--ink-muted); }
@media (max-width: 820px) {
  .faq { display: block; }
  .faq > .section-title { margin-bottom: 32px; }
}

/* --- Schluss: Foto mit Glas darauf ---------------------------------------- */

main > .closing { width: calc(100% - 16px); }
.closing { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 92vh; min-height: 92svh; padding: 96px 16px; overflow: hidden; border-radius: clamp(28px, 4vw, 48px); }
.closing-media { position: absolute; inset: 0; z-index: -1; }
.closing-media .photo { object-position: 50% 60%; }
.closing-media::after { content: ""; position: absolute; inset: 0; background: rgba(36, 24, 18, 0.3); }
.closing-panel { width: min(640px, 100%); padding: clamp(28px, 5vw, 56px); border-radius: clamp(28px, 4vw, 44px); text-align: center; }
.closing .icon { display: block; margin: 0 auto; border-radius: 22px; box-shadow: 0 14px 40px var(--shadow); }
.closing .section-title { margin: 22px auto 14px; font-size: clamp(42px, 5.6vw, 72px); }
.closing .stores { justify-content: center; margin-top: 26px; }

/* --- Unten: Knopf, sobald die Knöpfe aus dem Bild sind -------------------- */

.sticky-cta { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 15; width: min(400px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: 0 12px 34px var(--shadow), inset 0 1px 0 var(--glass-edge); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); font-weight: 600; font-size: 15px; transform: translate(-50%, 160%); transition: transform 0.35s var(--ease); }
.sticky-cta.visible { transform: translate(-50%, 0); }
@media (min-width: 821px) { .sticky-cta { display: none; } }
.sticky-button { padding: 10px 18px; border-radius: 999px; background: var(--store-bg); color: var(--store-ink); text-decoration: none; white-space: nowrap; }
@media (max-width: 820px) { body.has-sticky .site-footer { padding-bottom: 96px; } }

/* --- Fußzeile ------------------------------------------------------------- */

.site-footer { margin-top: clamp(96px, 13vw, 176px); padding: 0 0 24px; }
.footer-inner { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-claim { margin: 0; max-width: 18ch; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.08; }
/* Die Verweise liegen über dem Schriftzug: dessen Zeilenhöhe ist kleiner als
   seine Buchstaben, sein Kasten ragt deshalb nach oben in die letzte Zeile
   der Verweise und fing dort die Tipps ab — Nutzungsbedingungen und
   Impressum ließen sich auf dem Telefon nicht öffnen. */
.site-footer nav { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 24px; max-width: 520px; }
.site-footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { color: var(--accent); }
.wordmark { margin: clamp(24px, 5vw, 64px) 0 0; font-family: var(--serif); font-size: clamp(150px, 70vw, 600px); line-height: 0.78; letter-spacing: -0.04em; text-align: center; color: var(--accent); background: linear-gradient(115deg, var(--orb-1), var(--accent) 50%, var(--orb-1)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; user-select: none; pointer-events: none; }
.footer-notes { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }
.footer-notes p { margin: 0; }

/* --- Textseiten: Hilfe, Ratgeber, Rechtstexte, 404 ------------------------ */

main > .text { width: min(780px, calc(100% - 32px)); }
.text { padding: clamp(24px, 5vw, 56px); background: var(--surface); }
.text h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 7vw, 72px); line-height: 1; letter-spacing: -0.015em; margin: 0 0 24px; overflow-wrap: break-word; hyphens: auto; }
.text h2 { font-size: 18px; font-weight: 600; margin: 30px 0 6px; line-height: 1.35; }
.text p, .text ul { margin: 0 0 12px; }
.text ul { padding-left: 20px; }
.text li { margin-bottom: 4px; }
.text p, .text li { overflow-wrap: anywhere; }
.guide .lead { margin-bottom: 24px; }
.guide h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.08; margin-top: 44px; scroll-margin-top: 96px; }
.toc { margin: 0 0 8px; padding: 16px 20px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 9%, transparent); }
.toc p { margin: 0 0 6px; font-weight: 600; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { color: var(--ink); }
.guide .note { font-size: 14px; color: var(--ink-muted); margin-top: 24px; }
.sources { font-size: 14px; color: var(--ink-muted); }
.guide .sources-title { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.updated { font-size: 14px; color: var(--ink-muted); }
.gap { padding: 12px 16px; border-radius: 16px; background: rgba(161, 33, 63, 0.1); margin-bottom: 20px; }

.final { padding: clamp(40px, 8vw, 96px) 0; text-align: center; }
.final .section-title { margin-left: auto; margin-right: auto; margin-bottom: 20px; }
.final .lead { max-width: 40ch; margin: 0 auto; }
.final .stores { justify-content: center; margin-top: 28px; }

/* --- Bewegung --------------------------------------------------------------
   Nur mit Skript (.js-reveal) und nur, wenn das System Bewegung zulässt:
   ohne beides steht alles sofort da. */

.js-reveal [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.js-reveal .tiles [data-reveal]:nth-child(3n+2), .js-reveal .columns [data-reveal]:nth-child(2), .js-reveal .steps [data-reveal]:nth-child(2), .js-reveal .facts [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.js-reveal .tiles [data-reveal]:nth-child(3n), .js-reveal .columns [data-reveal]:nth-child(3), .js-reveal .steps [data-reveal]:nth-child(3), .js-reveal .facts [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.js-reveal .facts [data-reveal]:nth-child(4) { transition-delay: 0.3s; }
.js-reveal [data-words] .w { opacity: 0.12; filter: blur(8px); transition: opacity 0.7s var(--ease), filter 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
.js-reveal [data-words].is-in .w { opacity: 1; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-media { transform: none; }
}
