:root {
  color-scheme: light dark;
  --bg: #f6f0e8;
  --surface: #fffaf3;
  --surface-strong: #ffffff;
  --text: #241b15;
  --muted: #6f6259;
  --line: #ded2c6;
  --accent: #9d4108;
  --accent-strong: #9d4108;
  --accent-text: #ffffff;
  --shadow: 0 18px 48px rgba(72, 42, 22, .13);
  --content: 1180px;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 20; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header { position: relative; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; width: min(calc(100% - 40px), var(--content)); margin: 18px auto 0; padding: 12px 14px 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); }
.brand { display: inline-flex; align-items: center; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.site-header nav { display: flex; justify-content: center; gap: 26px; }
.site-header nav a { color: var(--muted); font-weight: 650; text-decoration: none; }
.site-header nav a:hover { color: var(--text); }
.header-action, .primary-action, .secondary-action { display: inline-flex; min-width: 44px; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 999px; font-weight: 760; text-decoration: none; }
.header-action, .primary-action { background: var(--accent); color: var(--accent-text); }
.header-action:hover, .primary-action:hover { background: var(--accent-strong); }
.secondary-action { border: 1px solid var(--muted); background: var(--surface); }
.brand, .site-header nav a, footer a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; }

.hero, .product, .features, .install, .trust, footer { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: clamp(36px, 7vw, 92px); min-height: 690px; padding: 72px 0 88px; }
.eyebrow { margin: 0 0 12px; color: var(--accent-strong); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p, a { overflow-wrap: anywhere; hyphens: auto; }
h1, h2 { margin: 0; max-width: 18ch; font-weight: 830; line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 6.2vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.25; }
.hero-lead, .section-heading > p:last-child { max-width: 64ch; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.availability, .develop-notice { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.doughy-stage { position: relative; min-height: 500px; padding: 64px 24px 0; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 64%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 42%); }
.doughy-stage img { width: min(100%, 430px); margin: auto; filter: drop-shadow(0 24px 20px rgba(62, 36, 18, .18)); }
.doughy-bubble { position: absolute; z-index: 1; top: 30px; right: 24px; max-width: 230px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-strong); box-shadow: 0 10px 26px rgba(62, 36, 18, .1); }

.product, .features, .trust { padding: 96px 0; }
.section-heading { display: grid; gap: 12px; margin-bottom: 42px; }
.section-heading p { margin: 0; }
.feature-grid, .trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-grid article, .trust-grid article { padding: 26px; border-top: 1px solid var(--line); }
.feature-grid article > span { display: block; margin-bottom: 32px; color: var(--accent-strong); font-weight: 850; }
.feature-grid p, .trust-grid p { margin: 0; color: var(--muted); }
.trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-grid a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; margin-top: 16px; color: var(--accent-strong); font-weight: 700; }
.install { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 42px; border-radius: var(--radius-lg); background: var(--text); color: var(--surface); }
.install h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.install p:last-child { max-width: 68ch; margin-bottom: 0; color: color-mix(in srgb, var(--surface) 72%, transparent); }
.install .eyebrow { color: var(--surface); }
.install :focus-visible { outline-color: var(--surface); }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 36px 0 54px; border-top: 1px solid var(--line); color: var(--muted); }
footer > div:first-child { display: grid; margin-right: auto; }
footer [role] { display: flex; flex-wrap: wrap; gap: 0 16px; }
footer p { margin: 0; }

@media (prefers-color-scheme: dark) {
  :root { --bg: #12100e; --surface: #1b1815; --surface-strong: #24201c; --text: #f6eee5; --muted: #bdb0a4; --line: #3a322c; --accent: #dc742d; --accent-strong: #f09556; --accent-text: #1d1008; --shadow: 0 20px 54px rgba(0, 0, 0, .34); }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 60px; }
  .doughy-stage { min-height: 430px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header, .hero, .product, .features, .install, .trust, footer { width: min(calc(100% - 24px), var(--content)); }
  .site-header { margin-top: 10px; padding-left: 12px; }
  .header-action { min-height: 44px; padding-inline: 15px; font-size: .88rem; }
  .hero { gap: 28px; padding: 48px 0 68px; }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .hero-actions { display: grid; }
  .doughy-stage { min-height: 360px; padding-top: 78px; }
  .doughy-bubble { top: 20px; right: 16px; left: 16px; max-width: none; }
  .product, .features, .trust { padding: 68px 0; }
  .feature-grid, .trust-grid { grid-template-columns: 1fr; }
  .feature-grid article, .trust-grid article { padding: 22px 0; }
  .install { padding: 28px 22px; }
  footer { align-items: start; }
}


/* Bewegung ohne Skript: _headers setzt fuer diese Seite script-src none, IntersectionObserver
   faellt damit aus. Bewegt werden nur transform und opacity. Die Scroll-Effekte stehen in
   @supports - kennt ein Browser animation-timeline nicht, bleibt alles sichtbar und still. */
@keyframes nz-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > .eyebrow, .hero-copy > h1, .hero-copy > .hero-lead, .hero-copy > .hero-actions, .doughy-stage img, .doughy-bubble { animation: nz-in 420ms cubic-bezier(.22, 1, .36, 1) both; }
.hero-copy > h1 { animation-delay: 60ms; }
.hero-copy > .hero-lead { animation-delay: 120ms; }
.hero-copy > .hero-actions { animation-delay: 180ms; }
.doughy-stage img { animation-delay: 160ms; animation-duration: 520ms; }
.doughy-bubble { animation-delay: 420ms; }
.header-action, .primary-action, .secondary-action { transition: transform 150ms ease-out, background-color 150ms ease-out; }
.header-action:hover, .primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.header-action:active, .primary-action:active, .secondary-action:active { transform: translateY(0) scale(.985); transition-duration: 90ms; }

@supports (animation-timeline: view()) {
  .section-heading, .feature-grid article, .trust-grid article, .install { animation: nz-in 1ms linear both; animation-timeline: view(); animation-range: entry 8% cover 26%; }
  .feature-grid article:nth-child(2), .trust-grid article:nth-child(2) { animation-range: entry 12% cover 30%; }
  .feature-grid article:nth-child(3), .trust-grid article:nth-child(3) { animation-range: entry 16% cover 34%; }
  .feature-grid article:nth-child(4), .trust-grid article:nth-child(4) { animation-range: entry 20% cover 38%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  /* Dauer 0 stoppt scroll-getriebene Animationen nicht: Sie beziehen Fortschritt aus Strecke. */
  .hero-copy > *, .doughy-stage img, .doughy-bubble, .section-heading, .feature-grid article, .trust-grid article, .install { animation: none !important; opacity: 1 !important; transform: none !important; }
}
