/* ==========================================================================
   Preisteller – Designsystem v2 ("Nightsky & Coin")
   Mobile-first, reine System-Schriften, keine externen Ressourcen.
   Palette: Tiefes Nachtblau (Vertrauen/Premium) + Münz-Gold (Sparen) –
   bewusst ohne Grün, klar abgegrenzt von bestehenden Rezept-Portalen.
   ========================================================================== */

:root {
  /* Farben – heller Modus */
  --color-bg: #f6f7fb;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-text: #101a30;
  --color-text-muted: #59647c;
  --color-border: #e5e9f2;

  --color-primary: #16294e;        /* Nachtblau */
  --color-primary-dark: #0c1526;
  --color-primary-contrast: #ffffff;

  --color-accent: #f0a31c;         /* Münz-Gold */
  --color-accent-strong: #e8960f;
  --color-accent-dark: #b87409;
  --color-accent-contrast: #1a1206;

  --color-success-bg: #eef3fd;
  --color-success-text: #1d3a75;

  --gradient-hero: radial-gradient(1100px 520px at 85% -10%, rgba(240, 163, 28, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(22, 41, 78, 0.10), transparent 55%);
  --gradient-panel: linear-gradient(135deg, #1b2c4f 0%, #0c1526 100%);
  --gradient-coin: linear-gradient(135deg, #ffc94d 0%, #e8960f 100%);

  --header-bg: rgba(255, 255, 255, 0.78);

  /* Radien & Schatten */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(16, 26, 48, 0.05), 0 4px 16px rgba(16, 26, 48, 0.06);
  --shadow-card-hover: 0 6px 14px rgba(16, 26, 48, 0.10), 0 16px 40px rgba(16, 26, 48, 0.12);
  --shadow-cta: 0 6px 18px rgba(232, 150, 15, 0.35);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";

  --max-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0b1120;
    --color-surface: #121b30;
    --color-surface-raised: #16203a;
    --color-text: #edf1f8;
    --color-text-muted: #9aa6bc;
    --color-border: #223050;

    --color-primary: #d9e4f8;
    --color-primary-dark: #ffffff;
    --color-primary-contrast: #0c1526;

    --color-success-bg: #16203a;
    --color-success-text: #a9c3f5;

    --gradient-hero: radial-gradient(1100px 520px at 85% -10%, rgba(240, 163, 28, 0.10), transparent 60%),
      radial-gradient(900px 500px at -10% 110%, rgba(90, 130, 220, 0.08), transparent 55%);
    --gradient-panel: linear-gradient(135deg, #1b2c4f 0%, #0a1220 100%);

    --header-bg: rgba(11, 17, 32, 0.72);

    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 20px rgba(0, 0, 0, 0.35);
    --shadow-card-hover: 0 8px 18px rgba(0, 0, 0, 0.45), 0 20px 48px rgba(0, 0, 0, 0.5);
    --shadow-cta: 0 6px 18px rgba(232, 150, 15, 0.25);
  }
}

/* --- Basis ------------------------------------------------------------- */

* { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Kopfzeile / Navigation (Glas-Effekt) ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 24px rgba(16, 26, 48, 0.07);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.22rem;
  text-decoration: none;
  color: var(--color-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-accent { color: var(--color-accent-strong); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.main-nav a:hover {
  color: var(--color-text);
  background: rgba(120, 135, 165, 0.12);
}

.main-nav a[aria-current="page"] {
  color: var(--color-text);
  font-weight: 700;
}

.main-nav a.nav-cta {
  color: var(--color-accent-contrast);
  background: var(--gradient-coin);
  font-weight: 700;
  padding: 8px 16px;
  margin-left: 6px;
  box-shadow: var(--shadow-cta);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.main-nav a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(232, 150, 15, 0.45);
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient-coin);
  color: var(--color-accent-contrast);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover { box-shadow: 0 10px 26px rgba(232, 150, 15, 0.45); }

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  box-shadow: inset 0 0 0 1.5px var(--color-border);
}

.btn-secondary:hover {
  box-shadow: inset 0 0 0 1.5px var(--color-text-muted);
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 84px 0 56px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-card);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-coin);
  flex: none;
}

.hero h1 {
  font-size: clamp(2.35rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 17ch;
  margin-bottom: 0.4em;
}

.hero h1 .headline-accent {
  background: linear-gradient(100deg, #e8960f, #ffc94d 60%, #e8960f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 40px;
}

/* Kennzahlen-Leiste */

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}

.stat .stat-value {
  display: block;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat .stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* --- Sektionen ----------------------------------------------------------- */

.section { padding: 84px 0; }

.section-alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

@media (prefers-color-scheme: dark) {
  .section-alt { background: rgba(18, 27, 48, 0.55); }
}

.kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 12px;
}

@media (prefers-color-scheme: dark) {
  .kicker { color: var(--color-accent); }
}

.section-header { max-width: 640px; margin-bottom: 44px; }

.section-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* --- Icon-Chips ---------------------------------------------------------- */

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  flex: none;
  margin-bottom: 16px;
  color: #fff;
  background: var(--gradient-panel);
  box-shadow: var(--shadow-card);
}

.icon-chip svg { width: 24px; height: 24px; }

.icon-chip.chip-gold {
  background: var(--gradient-coin);
  color: var(--color-accent-contrast);
}

.icon-chip.chip-soft {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-accent-dark);
}

/* --- Nutzenversprechen --------------------------------------------------- */

.value-props {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 54px;
}

.value-prop {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.value-prop:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.value-prop h3 { font-size: 1.15rem; margin-bottom: 6px; }

.value-prop p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

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

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: steps;
}

.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-panel);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 6px; }

.step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* --- Häkchen-Liste ------------------------------------------------------- */

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.97rem;
}

.check-list .check {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gradient-coin);
  color: var(--color-accent-contrast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.check-list .check svg { width: 11px; height: 11px; }

/* --- Karten (Plan-Vorschau) ---------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card h3 { font-size: 1.02rem; margin: 10px 0 6px; }

.card .meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Tags & Badges ------------------------------------------------------- */

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tag-example {
  background: rgba(240, 163, 28, 0.14);
  color: var(--color-accent-dark);
  border: 1px solid rgba(240, 163, 28, 0.35);
}

@media (prefers-color-scheme: dark) {
  .tag-example { color: #ffc94d; }
}

.source-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(120, 135, 165, 0.12);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  margin-left: 8px;
  vertical-align: middle;
}

.note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: var(--color-success-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

/* --- Formulare ----------------------------------------------------------- */

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.field { margin-bottom: 18px; }

.field label,
.field legend {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.field input,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-accent-strong);
  box-shadow: 0 0 0 4px rgba(240, 163, 28, 0.18);
}

.field fieldset,
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}

.radio-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  cursor: pointer;
}

.radio-group input { accent-color: var(--color-accent-strong); }

/* --- Rechner: Layout & Ergebnis ------------------------------------------ */

.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.calc-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.result-box {
  background: var(--gradient-panel);
  color: #edf1f8;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-top: 26px;
  opacity: 0.55;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.result-box.is-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.result-box > strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: #fff;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.result-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.result-stat .value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #ffc94d;
}

.result-stat .label {
  display: block;
  font-size: 0.8rem;
  color: #b9c6dc;
  margin-top: 2px;
}

.result-box .note {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #b9c6dc;
}

.result-box .note a { color: #ffc94d; }

/* --- Rezept-Details (Wochenplan) ----------------------------------------- */

.recipe-detail {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}

.recipe-detail h3 { font-size: 1.3rem; margin: 12px 0 4px; }

.recipe-detail .meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.recipe-detail .cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.recipe-detail h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.recipe-detail ul,
.recipe-detail ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  font-size: 0.96rem;
}

.storage-note {
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  background: rgba(120, 135, 165, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* --- Einkaufsliste & Gesamtpreis ----------------------------------------- */

.shopping-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.shopping-category {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.shopping-category h3 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.shopping-category ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.shopping-category li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 8px;
}

.shopping-category li:last-child { border-bottom: 0; padding-bottom: 0; }

.shopping-category li span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.plan-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--gradient-panel);
  color: #edf1f8;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-top: 22px;
  font-weight: 600;
}

.plan-total .amount {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #ffc94d;
}

/* --- FAQ ------------------------------------------------------------------ */

.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0 22px;
  transition: box-shadow 0.2s ease;
}

.faq details[open] { box-shadow: var(--shadow-card-hover); }

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq .faq-q { flex: 1; }

.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-accent-dark);
  transition: transform 0.2s ease;
  flex: none;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- Newsletter (finaler CTA) --------------------------------------------- */

.newsletter-box {
  position: relative;
  background: var(--gradient-panel);
  color: #edf1f8;
  border-radius: 26px;
  padding: 52px 28px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(12, 21, 38, 0.35);
}

.newsletter-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 260px at 80% -20%, rgba(240, 163, 28, 0.22), transparent 65%);
  pointer-events: none;
}

.newsletter-box > * { position: relative; }

.newsletter-box h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
}

.newsletter-box > p {
  color: #b9c6dc;
  max-width: 46ch;
  margin: 0 auto 28px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: #edf1f8;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 15px 22px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.newsletter-form input::placeholder { color: #8fa0bd; }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent-strong);
  box-shadow: 0 0 0 4px rgba(240, 163, 28, 0.22);
}

/* Spam-Falle für Bots: für Menschen und Screenreader unsichtbar, aber im DOM
   vorhanden und ausfüllbar. Selektor mit zwei Klassen, damit die width:100%
   Regel von ".newsletter-form input" nicht durch höhere Spezifität gewinnt. */
.newsletter-form .hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter-form .btn {
  background: var(--gradient-coin);
  color: var(--color-accent-contrast);
  box-shadow: var(--shadow-cta);
}

.newsletter-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.newsletter-success {
  display: none;
  margin: 18px auto 0;
  max-width: 440px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffc94d;
}

.newsletter-success.is-visible { display: block; }

.newsletter-error {
  display: none;
  margin: 18px auto 0;
  max-width: 440px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ff9c9c;
}

.newsletter-error.is-visible { display: block; }

.newsletter-disclaimer {
  font-size: 0.78rem;
  color: #8fa0bd;
  max-width: 52ch;
  margin: 20px auto 0;
}

.newsletter-disclaimer a {
  color: #ffc94d;
  text-decoration: underline;
}

.newsletter-disclaimer a:hover,
.newsletter-disclaimer a:focus-visible {
  color: var(--color-accent-strong);
}

/* --- Stub-Seiten (Impressum/Datenschutz) ---------------------------------- */

.stub-page { padding: 84px 0; min-height: 40vh; }

.stub-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
}

.stub-page > .container > p { color: var(--color-text-muted); max-width: 60ch; }

/* --- Rechtstexte (Impressum/Datenschutz) --------------------------------- */

.legal-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: -0.6em 0 0;
}

.legal-content {
  max-width: 72ch;
  margin-top: 40px;
}

.legal-content h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 800;
  margin-top: 2.2em;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.6em;
}

.legal-content p { margin: 0 0 1em; }

.legal-content ul,
.legal-content ol {
  margin: 0 0 1em;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.legal-content a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--color-accent-strong); }

@media (prefers-color-scheme: dark) {
  .legal-content a { color: var(--color-accent); }
}

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

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0 48px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 68ch;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--color-text); text-decoration: underline; }

/* --- Scroll-Reveal ---------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card, .step, .value-prop, .btn, .main-nav a.nav-cta { transition: none; }
}

/* --- Breakpoints ------------------------------------------------------------ */

@media (max-width: 639px) {
  .site-header .container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .main-nav { justify-content: center; }
  .main-nav a { padding: 6px 10px; font-size: 0.9rem; }
  .main-nav a.nav-cta { margin-left: 2px; }
}

@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: row; }
  .newsletter-form input { flex: 1; }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 640px) {
  .value-props { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .shopping-list { grid-template-columns: repeat(2, 1fr); }
  .recipe-detail .cols { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .calc-layout { grid-template-columns: 1.05fr 0.95fr; }
  .result-box { margin-top: 0; }
  .hero { padding: 104px 0 72px; }
}

@media (min-width: 1024px) {
  .card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
  .shopping-list { grid-template-columns: repeat(3, 1fr); }
}
