/* =========================================================
   Toms Micro Greens · Visual System
   Schrift: Manrope (lokal) · Abstände nur aus der Spacing Tabelle
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben aus dem Logo abgeleitet */
  --ink: #2b2b2b;          /* Anthrazit "TOMS" */
  --ink-soft: #57554f;     /* Fließtext, 7:1 auf --bg */
  --bg: #f7f5ef;           /* warmes Off White */
  --surface: #ffffff;
  --surface-2: #efece3;
  --line: #e2ddcf;
  --line-strong: #8a8678;  /* Rahmen von Eingabefeldern, 3,5:1 */
  --lime: #bac833;         /* Logo Hellgrün */
  --lime-soft: #eef1d4;
  --leaf: #4a5e12;         /* dunkles Blattgrün für Text, 6,7:1 */
  --magenta: #b12a53;      /* Logo Magenta, 5,8:1 auf --bg */
  --magenta-soft: #f6e3e9;
  --error: #a8243f;
  --dark: #181818;         /* erlaubte Dark Fläche */
  --dark-2: #272727;
  --on-dark: #f7f5ef;
  --on-dark-soft: #c9c6bc;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-move: 500ms;
  --t-color: 300ms;

  /* Spacing Tabelle */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px;
  --s-300: 24px; --s-400: 32px; --s-500: 40px; --s-600: 48px;
  --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* Tailwind Radien */
  --r-sm: 2px; --r: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px;
  --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  --gutter: 16px;
  color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Reset ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
em, i, cite { font-style: normal; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, dd, label, summary, figcaption { text-wrap: pretty; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- Benannte Textstile ---------- */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.015em; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.title-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.body-1 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.body-2 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
/* Body 7: Fließtext groß (text-lg), für Einleitungen */
.body-7 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 400; }
.button-lg { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.button-xsm { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }

/* Kleine Bildschirme: Überschriften rutschen eine Stufe der Skala tiefer */
@media (max-width: 639px) {
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }   /* = Heading 3 */
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; } /* = Heading 4 */
  .heading-3 { font-size: 1.875rem; line-height: 2.25rem; } /* = Heading 4 */
  .body-7 { font-size: 1rem; line-height: 1.5rem; }        /* = Body 3 */
}
@media (min-width: 640px) and (max-width: 1023px) {
  .heading-1 { font-size: 3rem; line-height: 1; }          /* = Heading 2 */
  .heading-2 { font-size: 2.25rem; line-height: 2.5rem; }  /* = Heading 3 */
}

.muted { color: var(--ink-soft); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-700); position: relative; }
@media (min-width: 1024px) { .section { padding-block: var(--s-900); } }
.section-head { max-width: 680px; display: grid; gap: var(--s-200); margin-bottom: var(--s-600); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--leaf); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--lime); }
.eyebrow.on-dark { color: var(--lime); }

.skip-link {
  position: fixed; left: var(--s-200); top: var(--s-200); z-index: 200;
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  background: var(--ink); color: var(--bg); text-decoration: none;
  transform: translateY(-160%); transition: transform var(--t-move) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--lime); }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon-lg { width: 24px; height: 24px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  border: 1px solid transparent;
  text-decoration: none; white-space: nowrap;
  transform: translate(var(--mx), var(--my));
  transition: transform var(--t-move) var(--ease), background-color var(--t-color) var(--ease),
              color var(--t-color) var(--ease), border-color var(--t-color) var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn.button-lg { padding: var(--s-75) var(--s-200); min-height: 48px; }
.btn .icon { transition: transform var(--t-move) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translate(var(--mx), var(--my)) scale(0.98); }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #000; }
.btn-primary .icon { color: var(--lime); }

.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--lime-soft); border-color: var(--leaf); }
.btn-secondary .icon { color: var(--leaf); }

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #cad84a; }

.btn-ghost-dark { background: transparent; color: var(--on-dark); border-color: #6b6960; }
.btn-ghost-dark:hover { background: var(--dark-2); border-color: var(--on-dark-soft); }
.btn-ghost-dark .icon { color: var(--lime); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.text-link {
  display: inline-flex; align-items: center; gap: var(--s-75);
  color: var(--leaf); text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px; transition: color var(--t-color) var(--ease);
}
.text-link:hover { color: var(--ink); }

/* ---------- Navigation ---------- */
.nav-wrap {
  position: fixed; top: var(--s-200); left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; padding-inline: var(--s-200);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border-radius: var(--r-full);
  background: rgba(247, 245, 239, 0.72);
  border: 1px solid rgba(43, 43, 43, 0.08);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 8px 32px rgba(43, 43, 43, 0.08);
  transition: transform var(--t-move) var(--ease), background-color var(--t-color) var(--ease);
  width: 100%; max-width: 680px; justify-content: space-between;
}
.nav-logo { display: block; border-radius: var(--r-lg); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: none; gap: var(--s-50); }
.nav-links a {
  position: relative; display: block; padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full); text-decoration: none; color: var(--ink-soft);
  transition: color var(--t-color) var(--ease), background-color var(--t-color) var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(43, 43, 43, 0.06); }
.nav-links a[aria-current="true"] { color: var(--ink); background: var(--lime-soft); }
.nav-links a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: var(--s-25); width: 4px; height: 4px;
  margin-left: -2px; border-radius: var(--r-full); background: var(--leaf);
}
.nav-actions { display: flex; align-items: center; gap: var(--s-75); }
.nav-actions .btn { padding: var(--s-75) var(--s-200); }

.menu-toggle {
  width: 40px; height: 40px; border-radius: var(--r-full); border: 0;
  background: rgba(43, 43, 43, 0.06); display: grid; place-items: center;
  transition: background-color var(--t-color) var(--ease), transform var(--t-move) var(--ease);
}
.menu-toggle:hover { background: rgba(43, 43, 43, 0.12); }
.menu-toggle:active { transform: scale(0.98); }
.menu-toggle .bars { position: relative; width: 20px; height: 12px; }
.menu-toggle .bars span {
  position: absolute; left: 0; width: 20px; height: 2px; border-radius: var(--r-full); background: var(--ink);
  transition: transform var(--t-move) var(--ease), opacity var(--t-color) var(--ease);
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5px; }
.menu-toggle .bars span:nth-child(3) { top: 10px; }
.menu-open .menu-toggle .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.menu-open .menu-toggle .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .nav { width: auto; max-width: none; }
}

/* Vollbild Mobilmenü */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--s-900) var(--s-300) var(--s-400);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-move) var(--ease), visibility 0s var(--ease) var(--t-move);
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity var(--t-move) var(--ease), visibility 0s; }
.mobile-menu ul { display: grid; gap: var(--s-75); padding-top: var(--s-400); }
.mobile-menu li {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--t-move) var(--ease), transform var(--t-move) var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.mobile-menu a.menu-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-100) 0; text-decoration: none; border-radius: var(--r-lg);
}
.mobile-menu a.menu-link .icon-lg { color: var(--leaf); }
.mobile-menu .menu-foot { display: grid; gap: var(--s-100); }
.mobile-menu .menu-foot li { --i: 6; }
@media (min-width: 768px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: var(--s-900); padding-bottom: var(--s-700); position: relative; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding-bottom: var(--s-900); } }
.hero-grid { display: grid; gap: var(--s-500); }
.hero-top { display: grid; gap: var(--s-400); align-items: end; }
@media (min-width: 1024px) { .hero-grid { gap: var(--s-600); } .hero-top { grid-template-columns: minmax(0, 680px) 1fr; gap: var(--s-700); } }
.hero-title .line { display: block; }
.hero-aside {
  display: grid; gap: var(--s-100); align-content: end; justify-self: start; max-width: 320px;
  padding: var(--s-300); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line);
}
@media (min-width: 1024px) { .hero-aside { justify-self: end; } }
@media (max-width: 1023px) { .hero-aside { display: none; } }
.aside-num { color: var(--leaf); }
.aside-owner { display: flex; align-items: center; gap: var(--s-75); color: var(--ink-soft); padding-top: var(--s-100); border-top: 1px solid var(--line); }
.avatar { width: 32px; height: 32px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--magenta); color: #fff; font-size: 0.75rem; line-height: 1rem; font-weight: 600; flex: none; }
.hero-copy { display: grid; gap: var(--s-300); max-width: 680px; position: relative; z-index: 2; }
.hero-badge {
  justify-self: start; display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100) var(--s-50) var(--s-50);
  border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line);
}
.hero-badge .pill { padding: var(--s-25) var(--s-75); border-radius: var(--r-full); background: var(--lime); color: var(--ink); }
.hero-title {
  max-width: 680px;
  background: linear-gradient(90deg, #000000 0%, #666666 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #000;
  padding-bottom: var(--s-50);
}
.hero-sub { max-width: 680px; color: var(--ink-soft); }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); }
.hero-proof { display: flex; align-items: center; gap: var(--s-75); color: var(--ink-soft); flex-wrap: wrap; }
.hero-proof .icon { color: var(--leaf); }
.hero-proof .sep { width: 4px; height: 4px; border-radius: var(--r-full); background: var(--line-strong); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--r-3xl); overflow: hidden;
  aspect-ratio: 21 / 9; background: var(--surface-2);
  box-shadow: 0 32px 80px rgba(43, 43, 43, 0.16);
  transform: translateZ(0);
}
@media (min-width: 640px) and (max-width: 1023px) { .hero-frame { aspect-ratio: 3 / 2; } }
@media (max-width: 639px) { .hero-frame { aspect-ratio: 4 / 3; } }
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(var(--hero-scale, 1.12)) translateY(var(--hero-y, 0px));
  will-change: transform;
}

/* Hero Animation (Nudel Foto)
   Ebenen: .hn-tilt (Maus Parallax aus script.js: --mx/--my) > .hn-in (Zoom beim Laden) > .hn-kb (langsamer Zoom und Schwenk)
   > img (bestehendes Scroll Parallax). Nur transform und opacity. Startet erst, wenn das Foto geladen ist (.is-ready). */
.hero-frame { --mx: 0; --my: 0; }
.hn-tilt, .hn-in, .hn-kb { position: absolute; inset: 0; }
.hn-kb picture { display: block; width: 100%; height: 100%; }
.hn-tilt { transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -10px), 0); will-change: transform; }
.hn-kb { transform-origin: 50% 45%; animation: hn-kb 18s var(--ease) 1.8s infinite alternate; animation-play-state: paused; }
@keyframes hn-kb {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.5%, 1%, 0); }
}
.js .hero-frame.is-ready .hn-in { animation: hn-in 1800ms var(--ease) both; }
@keyframes hn-in { from { transform: scale(1.18); } to { transform: none; } }

/* Enthüllung: sieben Streifen in Logofarben fahren abwechselnd nach oben und unten weg */
.hn-reveal { display: none; }
.js .hn-reveal { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: repeat(7, 1fr); pointer-events: none; }
.hn-reveal span { background: var(--lime); margin-right: -1px; }
.hn-reveal span:nth-child(3n + 2) { background: var(--magenta); }
.hn-reveal span:nth-child(3n) { background: var(--leaf); }
.js .hero-frame.is-ready .hn-reveal span {
  animation: hn-strip-up 1000ms var(--ease) both; animation-delay: calc(var(--i) * 70ms + 150ms);
}
.js .hero-frame.is-ready .hn-reveal span:nth-child(even) { animation-name: hn-strip-down; }
@keyframes hn-strip-up { to { transform: translate3d(0, -102%, 0); } }
@keyframes hn-strip-down { to { transform: translate3d(0, 102%, 0); } }
.hero-frame.is-done .hn-reveal { display: none; }

/* Lichtstreif als halbtransparentes Overlay */
.hn-sheen {
  position: absolute; z-index: 1; top: -20%; bottom: -20%; left: 0; width: 16%; pointer-events: none;
  background: rgba(255, 255, 255, 0.2); filter: blur(32px);
  transform: translate3d(-160%, 0, 0) skewX(-18deg);
  animation: hn-sheen 9s var(--ease) 2.4s infinite; animation-play-state: paused;
}
@keyframes hn-sheen {
  0% { transform: translate3d(-160%, 0, 0) skewX(-18deg); }
  40%, 100% { transform: translate3d(760%, 0, 0) skewX(-18deg); }
}

/* Blattsymbole steigen aus der Mitte auf */
.hn-rise {
  position: absolute; z-index: 2; left: 50%; top: 48%; width: 0; height: 0; pointer-events: none;
  transform: translate3d(calc(var(--mx) * 22px), calc(var(--my) * 14px), 0);
}
.hn-rise span {
  position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); opacity: 0;
  animation: hn-rise 6s var(--ease) infinite; animation-delay: calc(var(--i) * 1s + 1.6s); animation-play-state: paused;
}
.hn-rise svg { width: 100%; height: 100%; }
@keyframes hn-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg) scale(0.4); }
  15% { opacity: 1; }
  70% { opacity: 0.9; }
  100% { opacity: 0; transform: translate3d(var(--dx), -200px, 0) rotate(var(--r)) scale(1); }
}
@media (max-width: 639px) {
  @keyframes hn-rise {
    0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg) scale(0.4); }
    15% { opacity: 1; }
    70% { opacity: 0.9; }
    100% { opacity: 0; transform: translate3d(calc(var(--dx) * 0.6), -120px, 0) rotate(var(--r)) scale(0.8); }
  }
}
.hero-frame.is-live .hn-kb, .hero-frame.is-live .hn-sheen, .hero-frame.is-live .hn-rise span { animation-play-state: running; }
.hero-card {
  position: absolute; left: var(--s-200); bottom: var(--s-200); right: var(--s-200);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-75);
  padding: var(--s-75); border-radius: var(--r-2xl);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
@media (min-width: 1024px) { .hero-card { left: var(--s-300); right: var(--s-300); bottom: var(--s-300); } }
.hero-card .slot {
  display: flex; gap: var(--s-75); align-items: center; padding: var(--s-75);
  border-radius: var(--r-lg); /* 16 minus 8 Abstand */
  background: var(--surface);
}
.hero-card .slot .ic { width: 32px; height: 32px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--lime-soft); color: var(--leaf); flex: none; }
.hero-card .slot.fri .ic { background: var(--lime); color: var(--ink); }
.hero-card .slot div { min-width: 0; }
@media (max-width: 639px) {
  .hero-card { position: static; margin-top: var(--s-75); background: var(--surface-2); border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 359px) { .hero-card { grid-template-columns: 1fr; } }

/* Schwebende Blätter */
.leaf-float { position: absolute; z-index: 1; pointer-events: none; }
.leaf-float svg { width: 100%; height: 100%; }
.leaf-float.l1 { width: 48px; height: 48px; top: 96px; right: 8%; animation: float-a 7s var(--ease) infinite alternate; }
.leaf-float.l2 { width: 32px; height: 32px; top: 46%; left: 48%; animation: float-b 9s var(--ease) infinite alternate; }
.leaf-float.l3 { width: 24px; height: 24px; bottom: 12%; left: 4%; animation: float-a 8s var(--ease) infinite alternate-reverse; }
@media (max-width: 1023px) { .leaf-float.l2 { display: none; } .leaf-float.l1 { top: 80px; right: 4%; width: 32px; height: 32px; } }
@keyframes float-a { from { transform: translate(0, 0) rotate(-8deg); } to { transform: translate(8px, -16px) rotate(12deg); } }
@keyframes float-b { from { transform: translate(0, 0) rotate(10deg); } to { transform: translate(-12px, 12px) rotate(-14deg); } }

/* ---------- Problem / Lösung ---------- */
/* Dekoratives Brot Foto neben „Frische, die wächst“ */
.problem-wrap { position: relative; }
.deco-photo { display: grid; gap: var(--s-100); justify-items: center; width: min(100%, 320px); margin: 0 auto var(--s-600); }
.deco-float {
  width: 100%; border-radius: var(--r-3xl); overflow: hidden; background: var(--surface-2);
  box-shadow: 0 24px 64px rgba(43, 43, 43, 0.18); transform: rotate(-3deg);
  animation: deco-float 8s var(--ease) infinite alternate; animation-play-state: paused;
}
.deco-photo.is-live .deco-float { animation-play-state: running; }
@keyframes deco-float {
  from { transform: rotate(-3deg) translate3d(0, 0, 0); }
  to { transform: rotate(-1.5deg) translate3d(0, -8px, 0); }
}
.deco-float img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.deco-photo figcaption { color: var(--ink-soft); }
@media (min-width: 1200px) {
  .deco-photo { position: absolute; top: calc(var(--s-600) * -1); right: var(--gutter); width: 260px; margin: 0; z-index: 1; }
}

.compare { display: grid; gap: var(--s-200); }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; gap: var(--s-300); } }
.compare-card { padding: var(--s-400) var(--s-300); border-radius: var(--r-3xl); display: grid; gap: var(--s-300); align-content: start; border: 1px solid var(--line); }
@media (min-width: 1024px) { .compare-card { padding: var(--s-500); } }
.compare-card.before { background: var(--surface-2); }
.compare-card.after { background: var(--surface); border-color: var(--lime); box-shadow: 0 24px 64px rgba(74, 94, 18, 0.12); }
.compare-card .tag { justify-self: start; padding: var(--s-50) var(--s-100); border-radius: var(--r-full); }
.compare-card.before .tag { background: var(--bg); color: var(--ink-soft); border: 1px solid var(--line); }
.compare-card.after .tag { background: var(--lime); color: var(--ink); }
.compare-list { display: grid; gap: var(--s-200); }
.compare-list li { display: flex; gap: var(--s-100); align-items: flex-start; }
.compare-list .icon { margin-top: var(--s-25); }
.compare-card.before .icon { color: var(--magenta); }
.compare-card.after .icon { color: var(--leaf); }

/* ---------- Vorteile (Bento) ---------- */
.bento { display: grid; gap: var(--s-200); }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); gap: var(--s-300); } }
.card {
  position: relative; padding: var(--s-300); border-radius: var(--r-3xl);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: var(--s-100); align-content: start;
  transition: transform var(--t-move) var(--ease), border-color var(--t-color) var(--ease);
}
@media (min-width: 1024px) { .card { padding: var(--s-400); } }
@media (hover: hover) {
  .card.lift:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(43, 43, 43, 0.1); border-color: var(--lime); }
}
.card .card-icon {
  width: 48px; height: 48px; border-radius: var(--r-2xl); display: grid; place-items: center;
  background: var(--lime-soft); color: var(--leaf); margin-bottom: var(--s-100);
}
.card .card-icon.magenta { background: var(--magenta-soft); color: var(--magenta); }
.card.feature { overflow: hidden; background: var(--lime-soft); border-color: transparent; }
.card.feature .card-icon { background: var(--surface); }
@media (min-width: 1024px) { .card.feature { grid-row: span 2; } }
.card.feature img { width: 100%; max-width: 320px; justify-self: center; margin-top: var(--s-300); transition: transform var(--t-move) var(--ease); }
@media (hover: hover) { .card.feature:hover img { transform: rotate(-4deg) scale(1.04); } }

/* ---------- Tagline Reveal ---------- */
.tagline { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.tagline .container { display: grid; gap: var(--s-400); }
.tagline-text { max-width: 1100px; }
.tagline-text .word {
  display: inline-block; color: var(--on-dark); opacity: 0.3;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transform: translateY(4px);
}
.tagline-text .word.on { opacity: 1; transform: none; }
.tagline-text .word.accent.on { color: var(--lime); }
.tagline-foot { display: flex; align-items: center; gap: var(--s-100); color: var(--on-dark-soft); }
.tagline-foot img { width: 48px; height: 48px; border-radius: var(--r-full); object-fit: cover; }

/* ---------- Sorten ---------- */
.marquees { display: grid; gap: var(--s-75); margin-bottom: var(--s-600); }
.marquee { position: relative; overflow: hidden; padding-block: var(--s-50); }
.marquee-track { display: flex; gap: var(--s-100); width: max-content; will-change: transform; }
.m-chip {
  display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-100) var(--s-300);
  border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line); white-space: nowrap;
}
.m-chip svg { width: 16px; height: 16px; color: var(--leaf); }
.m-chip.alt { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.m-chip.alt svg { color: var(--lime); }
.m-chip.mag svg { color: var(--magenta); }

.sorten-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-100); }
@media (min-width: 640px) { .sorten-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sorten-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-200); } }
.sorte {
  position: relative; text-align: left; display: grid; gap: var(--s-300); align-content: space-between;
  min-height: 128px; padding: var(--s-200); border-radius: var(--r-2xl);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--t-move) var(--ease), background-color var(--t-color) var(--ease),
              border-color var(--t-color) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .sorte:hover { transform: translateY(-4px); border-color: var(--leaf); box-shadow: 0 16px 32px rgba(43, 43, 43, 0.08); } }
.sorte:active { transform: scale(0.98); }
.sorte .num { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.sorte .row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-75); }
.sorte .add {
  width: 32px; height: 32px; border-radius: var(--r-full); display: grid; place-items: center; flex: none;
  background: var(--surface-2); color: var(--ink);
  transition: transform var(--t-move) var(--ease), background-color var(--t-color) var(--ease);
}
.sorte .add svg { width: 16px; height: 16px; }
.sorte .name { overflow-wrap: anywhere; hyphens: none; }
.sorte .sub { color: var(--ink-soft); }
.sorte[aria-pressed="true"] { background: var(--lime-soft); border-color: var(--leaf); }
.sorte[aria-pressed="true"] .add { background: var(--leaf); color: #fff; transform: rotate(45deg); }
.sorte.greenies { background: var(--ink); color: var(--bg); border-color: var(--ink); grid-column: span 2; }
.sorte.greenies .num, .sorte.greenies .sub { color: var(--on-dark-soft); }
.sorte.greenies .add { background: var(--lime); color: var(--ink); }
.sorte.greenies[aria-pressed="true"] { background: #000; border-color: var(--lime); }
.sorte.greenies[aria-pressed="true"] .add { background: var(--lime); color: var(--ink); }
.sorte.beraten { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.sorte.beraten[aria-pressed="true"] { background: var(--lime-soft); border-style: solid; }
.sorten-bar {
  margin-top: var(--s-300); display: flex; flex-wrap: wrap; gap: var(--s-100); align-items: center; justify-content: space-between;
  padding: var(--s-100) var(--s-100) var(--s-100) var(--s-300); border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--line);
}
.sorten-bar .count { font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .sorten-bar { border-radius: var(--r-3xl); padding: var(--s-200); } .sorten-bar .btn { width: 100%; } }

/* ---------- So funktioniert's ---------- */
.steps { display: grid; gap: var(--s-200); counter-reset: step; position: relative; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-300); } }
.step { display: grid; gap: var(--s-100); align-content: start; }
.step .badge {
  width: 48px; height: 48px; border-radius: var(--r-full); display: grid; place-items: center;
  background: var(--ink); color: var(--lime); margin-bottom: var(--s-100); position: relative; z-index: 1;
}
.steps-line {
  display: none; position: absolute; top: 24px; left: 24px; right: calc((100% - 48px) / 3 - 24px); height: 2px; background: var(--line);
  border-radius: var(--r-full); overflow: hidden;
}
.steps-line span { position: absolute; inset: 0; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 1600ms var(--ease) 300ms; }
.steps.is-visible .steps-line span { transform: scaleX(1); }
@media (min-width: 768px) { .steps-line { display: block; } }

/* ---------- Woche / Lieferung ---------- */
.week {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-50);
  padding: var(--s-75); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line);
  margin-bottom: var(--s-300);
}
@media (min-width: 768px) { .week { gap: var(--s-75); } }
.day {
  display: grid; gap: var(--s-50); justify-items: center; align-content: start; text-align: center;
  padding: var(--s-100) var(--s-25); border-radius: var(--r-2xl); /* 24 minus 8 */
  color: var(--ink-soft);
  opacity: 0.4; transform: translateY(8px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.week.is-visible .day { opacity: 1; transform: none; }
.day .dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--line); }
.day.pick { background: var(--lime-soft); color: var(--ink); }
.day.pick .dot { background: var(--leaf); }
.day.deliver { background: var(--ink); color: var(--bg); }
.day.deliver .dot { background: var(--lime); }
.day .what { display: none; }
.day { position: relative; }
.day.today { box-shadow: inset 0 0 0 2px var(--magenta); }
.today-tag { color: var(--magenta); }
.day.deliver .today-tag { color: #f3a9c0; }
@media (min-width: 640px) { .day .what { display: block; } }
.week-legend { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); margin-bottom: var(--s-600); color: var(--ink-soft); }
.week-legend span { display: inline-flex; align-items: center; gap: var(--s-75); }
.week-legend i { width: 12px; height: 12px; border-radius: var(--r-full); display: inline-block; }

.delivery-grid { display: grid; gap: var(--s-200); }
@media (min-width: 1024px) { .delivery-grid { grid-template-columns: 3fr 2fr; gap: var(--s-300); } }
.facts { display: grid; gap: var(--s-100); margin-block: var(--s-100); }
.facts li { display: flex; gap: var(--s-100); align-items: flex-start; }
.facts .icon { color: var(--leaf); margin-top: var(--s-25); }
.place-groups { display: grid; gap: var(--s-200); margin-top: var(--s-100); }
@media (min-width: 640px) { .place-groups { grid-template-columns: 1fr 1fr; } }
.place-group { display: grid; gap: var(--s-75); align-content: start; }
.places { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.place {
  padding: var(--s-50) var(--s-100); border-radius: var(--r-full); background: var(--bg); border: 1px solid var(--line);
  transition: background-color var(--t-color) var(--ease), border-color var(--t-color) var(--ease);
}
.place:hover { background: var(--lime-soft); border-color: var(--leaf); }
.address { padding: var(--s-200); border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--line); font-style: normal; }

/* ---------- Gastronomie ---------- */
.gastro { background: var(--dark); color: var(--on-dark); }
.gastro-grid { display: grid; gap: var(--s-400); align-items: center; }
@media (min-width: 1024px) { .gastro-grid { grid-template-columns: 1fr 1fr; gap: var(--s-700); } }
.gastro-media { position: relative; border-radius: var(--r-3xl); overflow: hidden; aspect-ratio: 4 / 3; }
.gastro-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
@media (hover: hover) { .gastro-media:hover img { transform: scale(1.04); } }
.gastro-copy { display: grid; gap: var(--s-300); }
.gastro-copy p { color: var(--on-dark-soft); }
.probe {
  display: flex; gap: var(--s-200); align-items: center; padding: var(--s-200); border-radius: var(--r-2xl);
  background: var(--dark-2); border: 1px solid #3a3a3a;
}
.probe .ic { width: 48px; height: 48px; border-radius: var(--r-xl); display: grid; place-items: center; background: var(--lime); color: var(--ink); flex: none; }
.probe .price { color: var(--lime); }

/* ---------- Bestellung ---------- */
.order-grid { display: grid; gap: var(--s-300); align-items: start; }
@media (min-width: 1024px) { .order-grid { grid-template-columns: 7fr 4fr; gap: var(--s-400); } }
.form-card { padding: var(--s-300) var(--s-200); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 640px) { .form-card { padding: var(--s-500); } }
.form { display: grid; gap: var(--s-400); }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-200); min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: var(--s-200); display: flex; align-items: center; gap: var(--s-75); }
.fieldset legend .n {
  width: 24px; height: 24px; border-radius: var(--r-full); display: inline-grid; place-items: center;
  background: var(--ink); color: var(--lime);
}
.row-2 { display: grid; gap: var(--s-200); }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-75); min-width: 0; }
.field label, .field .label { color: var(--ink); }
.req { color: var(--magenta); }
.input {
  width: 100%; min-height: 48px; padding: var(--s-100) var(--s-200);
  border-radius: var(--r-xl); border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 1rem; line-height: 1.5rem; /* Body 3, verhindert Zoom auf iOS */
  transition: border-color var(--t-color) var(--ease), background-color var(--t-color) var(--ease);
  appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #8a8678; }
.input:hover { border-color: var(--ink); }
.input:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(186, 200, 51, 0.45); }
.input[aria-invalid="true"] { border-color: var(--error); background: #fdf6f8; }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(168, 36, 63, 0.2); }
textarea.input { min-height: 128px; resize: vertical; }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%232b2b2b'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: var(--s-500);
}
.hint { color: var(--ink-soft); }
.error-msg { display: none; align-items: flex-start; gap: var(--s-50); color: var(--error); }
.error-msg svg { width: 16px; height: 16px; margin-top: var(--s-25); flex: none; }
.field.has-error .error-msg, .fieldset.has-error > .error-msg { display: flex; }

/* Segment Umschalter */
.segment {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: var(--s-50); border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--line);
  isolation: isolate;
}
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment label {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: var(--s-75);
  min-height: 40px; padding: var(--s-75) var(--s-100); border-radius: var(--r-full); text-align: center;
  color: var(--ink-soft); cursor: pointer; transition: color var(--t-color) var(--ease);
}
.segment label:hover { color: var(--ink); }
.segment label .icon { width: 16px; height: 16px; }
.segment input:checked + label { color: var(--ink); }
.segment input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.segment .thumb {
  position: absolute; z-index: 0; top: var(--s-50); bottom: var(--s-50); left: var(--s-50);
  width: calc((100% - 8px) / var(--n, 2)); transform: translateX(calc(var(--idx, 0) * 100%));
  border-radius: var(--r-full); background: var(--lime);
  box-shadow: 0 4px 12px rgba(74, 94, 18, 0.25);
  transition: transform var(--t-move) var(--ease);
}


/* Auswahl Chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip label {
  display: inline-flex; align-items: center; gap: var(--s-75); min-height: 40px;
  padding: var(--s-75) var(--s-200) var(--s-75) var(--s-100);
  border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line-strong);
  cursor: pointer; user-select: none;
  transition: background-color var(--t-color) var(--ease), border-color var(--t-color) var(--ease), transform var(--t-move) var(--ease);
}
.chip label:hover { border-color: var(--ink); }
.chip label:active { transform: scale(0.98); }
.chip .tick {
  width: 20px; height: 20px; border-radius: var(--r-full); border: 1px solid var(--line-strong);
  display: grid; place-items: center; background: var(--surface);
  transition: background-color var(--t-color) var(--ease), border-color var(--t-color) var(--ease);
}
.chip .tick svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(0.4); transition: opacity var(--t-color) var(--ease), transform var(--t-move) var(--ease); }
.chip input:checked + label { background: var(--lime-soft); border-color: var(--leaf); }
.chip input:checked + label .tick { background: var(--leaf); border-color: var(--leaf); }
.chip input:checked + label .tick svg { opacity: 1; transform: none; }
.chip input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip.special label { border-style: dashed; }
.chips-empty {
  display: flex; gap: var(--s-75); align-items: center; padding: var(--s-100) var(--s-200);
  border-radius: var(--r-xl); background: var(--bg); border: 1px dashed var(--line-strong); color: var(--ink-soft);
}
.chips-empty .icon { color: var(--leaf); }
.chips-empty[hidden] { display: none; }

.reveal-block { display: grid; gap: var(--s-200); }
.reveal-block[hidden] { display: none; }
.notice {
  display: flex; gap: var(--s-100); align-items: flex-start; padding: var(--s-100) var(--s-200);
  border-radius: var(--r-xl); background: var(--lime-soft); color: var(--ink);
}
.notice .icon { color: var(--leaf); margin-top: var(--s-25); }

.form-foot { display: grid; gap: var(--s-200); }
.form-foot .btn { width: 100%; }
@media (min-width: 640px) { .form-foot { grid-template-columns: auto 1fr; align-items: center; } .form-foot .btn { width: auto; } }
.form-summary-error {
  display: flex; gap: var(--s-100); align-items: flex-start; padding: var(--s-100) var(--s-200); border-radius: var(--r-xl);
  background: #fdf0f3; color: var(--error); border: 1px solid #f0c5d0;
}
.form-summary-error[hidden] { display: none; }

/* Ladezustand: Skelett in Form der Bestätigung */
.skeleton { display: grid; gap: var(--s-200); }
.skeleton[hidden] { display: none; }
.sk { height: 16px; border-radius: var(--r-full); background: var(--surface-2); animation: sk 1200ms var(--ease) infinite alternate; }
.sk.circle { width: 48px; height: 48px; }
.sk.w60 { width: 60%; } .sk.w80 { width: 80%; } .sk.w40 { width: 40%; height: 48px; border-radius: var(--r-full); }
@keyframes sk { from { opacity: 0.5; } to { opacity: 1; } }

/* Bestätigung */
.success { display: grid; gap: var(--s-300); }
.success[hidden] { display: none; }
.success .ok {
  width: 64px; height: 64px; border-radius: var(--r-full); display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
}
.success .ok svg { width: 32px; height: 32px; }
.success-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); }
.success pre {
  margin: 0; padding: var(--s-200); border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--line);
  white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; max-height: 320px; overflow: auto;
}

/* Anruf Block */
.call-card {
  position: sticky; top: 96px;
  padding: var(--s-400) var(--s-300); border-radius: var(--r-3xl); background: var(--ink); color: var(--on-dark);
  display: grid; gap: var(--s-300); overflow: hidden;
}
.call-card .ring {
  width: 64px; height: 64px; border-radius: var(--r-full); display: grid; place-items: center;
  background: var(--lime); color: var(--ink); position: relative;
}
.call-card .ring::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--lime);
  animation: ring 2400ms var(--ease) infinite;
}
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.6); opacity: 0; } }
.call-card .ring svg { width: 32px; height: 32px; }
.call-number { color: var(--on-dark); text-decoration: none; display: inline-block; transition: color var(--t-color) var(--ease); }
.call-number:hover { color: var(--lime); }
.call-card p { color: var(--on-dark-soft); }
.call-list { display: grid; gap: var(--s-75); }
.call-list a {
  display: flex; align-items: center; gap: var(--s-100); padding: var(--s-100); border-radius: var(--r-xl);
  background: var(--dark-2); text-decoration: none; color: var(--on-dark);
  transition: background-color var(--t-color) var(--ease), transform var(--t-move) var(--ease);
}
.call-list a:hover { background: #313131; transform: translateX(4px); }
.call-list a .icon { color: var(--lime); }
.call-list a span { min-width: 0; overflow-wrap: anywhere; }
.call-card .btn { width: 100%; }
@media (max-width: 1023px) { .call-card { position: relative; top: 0; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: var(--s-600); }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: 2fr 3fr; gap: var(--s-700); } .faq-wrap .section-head { position: sticky; top: 96px; align-self: start; } }
.faq { display: grid; gap: var(--s-75); }
.faq details {
  border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--t-color) var(--ease), background-color var(--t-color) var(--ease);
}
.faq details:hover { border-color: var(--line-strong); }
.faq details[open] { border-color: var(--leaf); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-200) var(--s-200) var(--s-200) var(--s-300); border-radius: var(--r-2xl);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  width: 32px; height: 32px; border-radius: var(--r-full); display: grid; place-items: center; flex: none;
  background: var(--surface-2); transition: transform var(--t-move) var(--ease), background-color var(--t-color) var(--ease);
}
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--lime); }
.faq .answer { padding: 0 var(--s-300) var(--s-300); color: var(--ink-soft); }
.faq details[open] .answer { animation: faq-in 500ms var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Schluss CTA ---------- */
.final { padding-block: var(--s-700); }
@media (min-width: 1024px) { .final { padding-block: var(--s-900); } }
.final-card {
  position: relative; overflow: hidden; border-radius: var(--r-3xl); background: var(--lime);
  padding: var(--s-600) var(--s-300); display: grid; gap: var(--s-300); justify-items: center; text-align: center;
}
@media (min-width: 768px) { .final-card { padding: var(--s-900) var(--s-700); } }
.final-card h2 { max-width: 680px; }
.final-card p { max-width: 680px; color: #2f3a0a; }
.final-card .leaf-float { opacity: 0.9; }
@media (min-width: 768px) { .final-card h2 .line { display: block; } }
@media (max-width: 767px) { .final-card .leaf-float { display: none; } }

/* Spamschutz Feld: unsichtbar, aber nicht display:none (manche Programme überspringen das) */
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Presse ---------- */
.press-grid { display: grid; gap: var(--s-200); }
@media (min-width: 768px) { .press-grid { grid-template-columns: 1fr 1fr; gap: var(--s-300); } }
.press-card {
  display: grid; align-content: start; overflow: hidden; border-radius: var(--r-3xl);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform var(--t-move) var(--ease), box-shadow var(--t-move) var(--ease), border-color var(--t-color) var(--ease);
}
.press-card:active { transform: scale(0.98); }
.press-card:focus-visible { outline: 3px solid var(--leaf); outline-offset: 4px; }
.press-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.press-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.press-play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: var(--r-full);
  display: grid; place-items: center; color: var(--ink); background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 16px 40px rgba(24, 24, 24, 0.3);
  transition: transform var(--t-move) var(--ease), background-color var(--t-color) var(--ease);
}
.press-play svg { width: 24px; height: 24px; transform: translateX(2px); }
.press-badge {
  position: absolute; top: var(--s-200); right: var(--s-200); display: inline-flex; align-items: center; gap: var(--s-50);
  padding: var(--s-50) var(--s-100); border-radius: var(--r-full); color: var(--on-dark);
  background: rgba(24, 24, 24, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.press-body { display: grid; gap: var(--s-75); padding: var(--s-300); }
@media (min-width: 1024px) { .press-body { padding: var(--s-400); } }
.press-meta { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--ink-soft); }
.press-meta .icon { color: var(--magenta); }
.press-title { display: block; text-wrap: balance; }
.press-link { display: inline-flex; align-items: center; gap: var(--s-50); margin-top: var(--s-75); color: var(--leaf); }
.press-link .icon { transition: transform var(--t-move) var(--ease); }
@media (hover: hover) {
  .press-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(43, 43, 43, 0.1); border-color: var(--lime); }
  .press-card:hover .press-media img { transform: scale(1.04); }
  .press-card:hover .press-play { transform: scale(1.08); background: var(--lime); }
  .press-card:hover .press-link .icon { transform: translate(2px, -2px); }
}
.press-note { max-width: 680px; margin-top: var(--s-300); text-wrap: pretty; }

/* Zeitungsartikel */
.press-feature {
  display: grid; gap: var(--s-500); align-items: center; margin-bottom: var(--s-200);
  padding: var(--s-400) var(--s-300); border-radius: var(--r-3xl); background: var(--lime-soft);
}
@media (min-width: 1024px) { .press-feature { grid-template-columns: 5fr 6fr; gap: var(--s-700); padding: var(--s-700); } }
.press-stack {
  position: relative; display: block; width: 100%; max-width: 420px; justify-self: center;
  aspect-ratio: 4 / 5; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-xl);
}
.press-stack:focus-visible { outline: 3px solid var(--leaf); outline-offset: 8px; }
.press-stack .sheet {
  position: absolute; top: 7%; left: 6%; height: 86%; width: auto; aspect-ratio: 710 / 1024;
  object-fit: cover; border-radius: var(--r-md); background: var(--surface);
  box-shadow: 0 16px 40px rgba(43, 43, 43, 0.18);
  transition: transform 700ms var(--ease);
}
.press-stack .s1 { transform: rotate(-4deg); z-index: 3; }
.press-stack .s2 { transform: translateX(12%) rotate(2deg); z-index: 2; }
.press-stack .s3 { transform: translateX(24%) rotate(8deg); z-index: 1; }
@media (hover: hover) {
  .press-stack:hover .s1 { transform: translateX(-8%) rotate(-8deg) translateY(-8px); }
  .press-stack:hover .s2 { transform: translateX(16%) rotate(1deg) translateY(-12px); }
  .press-stack:hover .s3 { transform: translateX(30%) rotate(10deg) translateY(-4px); }
  .press-stack:hover .press-zoom { transform: translate(-50%, -4px); background: var(--ink); }
}
.press-stack:active .s1 { transform: rotate(-4deg) scale(0.98); }
.press-zoom {
  position: absolute; left: 50%; bottom: var(--s-200); z-index: 4; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: var(--s-75); white-space: nowrap;
  padding: var(--s-75) var(--s-200); border-radius: var(--r-full); color: var(--bg);
  background: rgba(43, 43, 43, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform var(--t-move) var(--ease), background-color var(--t-color) var(--ease);
}
.press-zoom .icon { color: var(--lime); }
.press-feature-copy { display: grid; gap: var(--s-200); align-content: start; }
.press-feature-copy h3 { text-wrap: balance; }
.press-quote { margin: var(--s-100) 0 0; padding: var(--s-300); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); display: grid; gap: var(--s-100); }
.press-quote blockquote { margin: 0; }
.press-quote p { color: var(--ink); text-wrap: pretty; }
.press-feature-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-200) var(--s-300); margin-top: var(--s-100); }
.press-source { max-width: 680px; margin: 0 0 var(--s-700); padding-inline: var(--s-300); text-wrap: pretty; }
.viewer-source { padding: var(--s-100) var(--gutter) 0; text-align: center; color: var(--on-dark-soft); text-wrap: balance; }
.press-subhead { display: flex; align-items: center; gap: var(--s-75); margin-bottom: var(--s-300); color: var(--ink); }
.press-subhead .icon { color: var(--magenta); }

/* Leseansicht */
.viewer {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: rgba(24, 24, 24, 0.94); color: var(--on-dark);
  display: none; grid-template-rows: auto 1fr auto auto;
}
.viewer[open] { display: grid; animation: viewer-in 400ms var(--ease); }
.viewer::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
.viewer-open, .viewer-open body { overflow: hidden; }
.viewer-bar, .viewer-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); padding: var(--s-200) var(--gutter); }
.viewer-bar .caption-2 { color: var(--on-dark-soft); }
.viewer-tools { display: flex; gap: var(--s-75); }
.viewer-nav { justify-content: center; gap: var(--s-300); padding-bottom: max(var(--s-200), env(safe-area-inset-bottom)); }
.viewer-btn {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-full);
  border: 1px solid #3a3a3a; background: var(--dark-2); color: var(--on-dark); cursor: pointer;
  transition: background-color var(--t-color) var(--ease), transform var(--t-move) var(--ease);
}
.viewer-btn svg { width: 20px; height: 20px; }
.viewer-btn:hover { background: #313131; }
.viewer-btn:active { transform: scale(0.98); }
.viewer-btn:focus-visible, .viewer-dots button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.viewer-dots { display: flex; gap: var(--s-75); }
.viewer-dots button {
  width: 12px; height: 12px; padding: 0; border-radius: var(--r-full); border: 0; cursor: pointer;
  background: #6b6960; transition: background-color var(--t-color) var(--ease), transform var(--t-move) var(--ease);
}
.viewer-dots button[aria-current="true"] { background: var(--lime); transform: scale(1.3); }
.viewer-stage { overflow: auto; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; overscroll-behavior: contain; }
.viewer-stage img {
  max-width: 100%; max-height: calc(100vh - 224px); max-height: calc(100dvh - 224px); width: auto; height: auto; border-radius: var(--r-md); cursor: zoom-in;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.viewer-stage img.in { opacity: 1; transform: none; }
.viewer.zoomed .viewer-stage { place-items: start; }
.viewer.zoomed .viewer-stage img { max-width: none; max-height: none; width: min(1200px, 200%); margin-inline: auto; cursor: zoom-out; }
@media (prefers-reduced-motion: reduce) {
  .press-stack .sheet, .press-zoom { transition: none; }
  .viewer[open] { animation: none; }
  .viewer-stage img { transform: none !important; transition: opacity 300ms var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  .press-card, .press-media img, .press-play, .press-link .icon { transform: none !important; }
}

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-soft); padding-block: var(--s-700) var(--s-400); }
.footer-grid { display: grid; gap: var(--s-500); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-400); } }
.footer-brand { display: grid; gap: var(--s-200); align-content: start; }
.footer-logo { justify-self: start; background: var(--bg); border-radius: var(--r-2xl); padding: var(--s-100) var(--s-200); }
.footer-logo img { height: 48px; width: auto; }
.footer h3 { color: var(--on-dark); margin-bottom: var(--s-100); }
.footer ul { display: grid; gap: var(--s-75); }
.footer a { color: var(--on-dark-soft); text-decoration: none; transition: color var(--t-color) var(--ease); border-radius: var(--r); }
.footer a:hover { color: var(--lime); }
.footer address { font-style: normal; }
.social { display: flex; gap: var(--s-75); }
.social a {
  width: 40px; height: 40px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--dark-2);
  transition: background-color var(--t-color) var(--ease), transform var(--t-move) var(--ease);
}
.social a:hover { background: #313131; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: var(--s-600); padding-top: var(--s-300); border-top: 1px solid #313131;
  display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); justify-content: space-between;
}
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); }

/* ---------- Mobile Aktionsleiste ---------- */
.action-bar {
  position: fixed; left: var(--s-100); right: var(--s-100); bottom: var(--s-100); z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-75); padding: var(--s-75);
  border-radius: var(--r-full); background: rgba(247, 245, 239, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(43, 43, 43, 0.08); box-shadow: 0 16px 40px rgba(43, 43, 43, 0.18);
  transform: translateY(160%); opacity: 0;
  transition: transform var(--t-move) var(--ease), opacity var(--t-move) var(--ease);
  padding-bottom: max(var(--s-75), env(safe-area-inset-bottom));
}
.action-bar.show { transform: none; opacity: 1; }
.action-bar .btn { min-height: 48px; }
.menu-open .action-bar { transform: translateY(160%); opacity: 0; }
@media (min-width: 768px) { .action-bar { display: none; } }
@media (max-width: 767px) { .footer { padding-bottom: var(--s-900); } }

/* ---------- Scroll Reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero Eintritt beim Laden */
.js .intro { opacity: 0; transform: translateY(24px); animation: intro 800ms var(--ease) forwards; animation-delay: calc(var(--d, 0) * 80ms + 100ms); }
@keyframes intro { to { opacity: 1; transform: none; } }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .leaf-float, .call-card .ring::after { animation: none !important; }
  .js .reveal, .js .intro { transform: none !important; transition: opacity 400ms var(--ease); animation: none !important; opacity: 1; }
  .js .reveal:not(.is-visible) { opacity: 0; }
  .mobile-menu li { transform: none !important; }
  .tagline-text .word { opacity: 1 !important; transform: none !important; transition: none; }
  .day { transform: none !important; }
  .hero-frame img { transform: none !important; }
  .hn-in, .hn-kb, .hn-sheen, .hn-rise span, .deco-float { animation: none !important; }
  .js .hn-reveal, .hn-sheen, .hn-rise { display: none !important; }
  .hn-tilt { transform: none !important; }
  .btn, .card, .sorte { transform: none !important; }
  .steps-line span { transition: none; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: var(--s-900) var(--gutter) var(--s-700); position: relative; overflow: hidden; }
.nf-inner { display: grid; gap: var(--s-300); justify-items: center; text-align: center; max-width: 680px; position: relative; z-index: 2; }
.nf-code { color: var(--lime); -webkit-text-stroke: 0; }

/* ---------- Rechtliche Unterseiten ---------- */
.legal-head { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 239, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.legal-head-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); padding-block: var(--s-100); }
.legal-main { padding-block: var(--s-700) var(--s-900); }
.legal { max-width: 720px; margin-inline: auto; display: grid; gap: var(--s-200); color: var(--ink-soft); overflow-wrap: anywhere; }
.legal h1 { color: var(--ink); margin-bottom: var(--s-300); text-wrap: balance; }
.legal h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--ink); margin-top: var(--s-400); text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; }   /* = Heading 6 */
.legal h3 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: var(--ink); margin-top: var(--s-200); }   /* = Body 1 */
.legal h4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--ink); }   /* = Body 4 */
.legal p, .legal li { font-size: 1rem; line-height: 1.5rem; font-weight: 400; text-wrap: pretty; }   /* = Body 3 */
.legal ul { display: grid; gap: var(--s-75); padding-left: var(--s-300); list-style: disc; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; border-radius: var(--r); transition: color var(--t-color) var(--ease); }
.legal a:hover { color: var(--magenta); }
.legal-footer { padding-block: var(--s-200) var(--s-400); }
.legal-footer .footer-bottom { margin-top: 0; }
.footer-bottom a[aria-current="page"] { color: var(--lime); }
@media (max-width: 767px) { .legal-footer { padding-bottom: var(--s-400); } }
