/* bbq-ratgeber.de — Design-System
   Grundsatz: weisser Seitenhintergrund fuer Lesbarkeit. Der Grill-Charakter
   kommt aus Bildern, Glut-Akzenten und markanter Typografie, nicht aus dunklen
   Flaechen im Fliesstext. Dunkel ist nur Akzent (Hero, Faktenkasten, Footer).
   Keine externen Fonts, keine CDN-Requests — die Site laedt ausschliesslich
   eigene Dateien. */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f5f2;         /* warmes Off-White fuer abgesetzte Sektionen */
  --bg-sand: #f1ece5;
  --ink: #1d1d1b;            /* Anthrazit statt reinem Schwarz */
  --ink-soft: #55524d;
  --ink-mute: #7a7671;
  --line: #e4dfd8;
  --ember: #e25822;          /* Glut-Orange: CTAs, Links, aktive Zustaende */
  --ember-dark: #c2461a;
  --ember-soft: #fdf1ea;
  --copper: #b5622d;
  --char: #232323;           /* dunkle Akzentflaechen */
  --char-soft: #33312e;

  --font-display: "Bahnschrift", "Avenir Next Condensed", "Arial Narrow",
    "Helvetica Neue", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 12px 32px rgba(35, 35, 35, .12);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ember-dark); text-underline-offset: .18em; }
a:hover { color: var(--ember); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .005em;
  color: var(--ink);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem); margin-top: 1.8em; }
h3 { font-size: 1.25rem; margin-top: 1.6em; }

p, ul, ol { margin: 0 0 1.1em; }

.container { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ember); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

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

/* ------------------------------------------------------------------ Header */
/* WICHTIG: hier kein backdrop-filter verwenden. Ein Filter macht den Header zum
   Bezugsrahmen fuer position:fixed-Kinder — das mobile Menue-Panel waere dann
   auf die Header-Hoehe zusammengestaucht statt bildschirmfuellend. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.site-logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  letter-spacing: .02em; text-transform: lowercase;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.site-logo .ico { color: var(--ember); width: 1.5em; height: 1.5em; }
.site-logo strong { color: var(--ember); font-weight: 700; }

.menu-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px; color: var(--ink); cursor: pointer;
}
.menu-icon-close { display: none; }

.site-nav { margin-left: auto; }

.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }

/* Mit neun Hubs (seit dem Outdoorkuechen-Hub) passt die Leiste nur noch in der
   kompakten Fassung in den 1180px-Container: 1.02rem und 10px Innenabstand
   ergaben 987px Menuebreite und damit 34px Ueberstand. Deshalb sind die engeren
   Werte hier der Normalfall, nicht mehr eine Ausnahme unterhalb von 1150px. */
.nav-top {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 8px; border-radius: var(--radius);
  font-family: var(--font-display); font-size: .96rem; font-weight: 700;
  letter-spacing: .02em; color: var(--ink); text-decoration: none;
  white-space: nowrap;
}
/* Auf dem Desktop bleibt die oberste Ebene rein typografisch: Mit acht Hubs
   kosten Icons rund 190 px und sprengen die Leiste. Das Hub-Icon steht gross im
   Mega-Panel, mobil sind die Icons in der Liste wieder sichtbar. */
.nav-top .ico { display: none; width: 1.15em; height: 1.15em; color: var(--ink-mute); }
.nav-caret .ico { width: .85em; height: .85em; }
.nav-top:hover, .nav-top:focus-visible { background: var(--bg-alt); color: var(--ink); }
.nav-top:hover .ico, .nav-top.is-active .ico { color: var(--ember); }
.nav-top.is-active { color: var(--ember-dark); }

/* Mega-Menue: oeffnet per Hover/Fokus, damit es ohne JavaScript funktioniert.
   main.js ergaenzt das Verhalten nur fuer Touch-Geraete und mobil. */
.nav-item { display: flex; align-items: center; }
.has-mega { position: static; }

.nav-sub-toggle {
  background: none; border: 0; margin-left: -8px; padding: 10px 6px;
  color: var(--ink-mute); cursor: pointer; display: inline-flex; align-items: center;
  border-radius: var(--radius);
}
.nav-sub-toggle:hover { color: var(--ember); }
.nav-sub-toggle .ico { width: .85em; height: .85em; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 3px solid var(--ember);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  /* Sicherheitsnetz: Die Eintragszahl ist in theme.py begrenzt, aber bei sehr
     flachen Fenstern muss das Panel trotzdem erreichbar bleiben. */
  max-height: calc(100vh - 80px); overflow-y: auto;
}
.has-mega:hover > .mega,
.has-mega:focus-within > .mega,
.has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; }

.mega-inner {
  width: min(100% - 40px, var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: 300px 1fr; gap: 44px;
  padding: 30px 0 34px;
}

/* Intro-Spalte: Bild plus Teaser. Ohne das Bild wirken die Panels wie reine
   Linklisten — mit ihm transportieren sie dasselbe Bildkonzept wie die Seiten. */
.mega-intro { position: relative; }
/* Die Panel-Bilder sind lazy — sonst laedt jede Seite sieben Hub-Bilder mit.
   Der Sandton verhindert das weisse Aufblitzen beim ersten Oeffnen. */
.mega-figure { margin: 0 0 16px; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-sand); }
.mega-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.mega-intro h2 {
  display: flex; align-items: center; gap: 9px;
  font-size: 1.35rem; margin: 0 0 .35em;
}
.mega-intro h2 .ico { color: var(--ember); width: 1.2em; height: 1.2em; }
.mega-intro p { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; margin-bottom: 1em; }
.mega-all {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .02em;
  font-size: .95rem; text-decoration: none; color: var(--ember-dark);
}
.mega-all .ico { width: 1.05em; height: 1.05em; transition: transform .15s; }
.mega-all:hover .ico { transform: translateX(3px); }

.mega-cols { display: flex; gap: 36px; align-content: start; }
.mega-cols ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.mega-cols li { margin-bottom: 1px; }
.mega-cols a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-size: .96rem;
  border-left: 2px solid transparent;
  transition: background .12s, border-color .12s, color .12s;
}
.mega-cols a .ico-go { width: .9em; height: .9em; color: var(--ember);
  opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.mega-cols a:hover { background: var(--ember-soft); border-left-color: var(--ember); color: var(--ember-dark); }
.mega-cols a:hover .ico-go { opacity: 1; transform: none; }
.mega-cols a.is-active { color: var(--ember-dark); font-weight: 600; border-left-color: var(--ember); }

/* -------------------------------------------------------------- Breadcrumb */
.breadcrumb { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 10px 0; font-size: .875rem;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; }
.breadcrumb a:hover { color: var(--ember-dark); }
.breadcrumb .ico { width: 1em; height: 1em; }
.crumb-sep { color: var(--ink-mute); }

/* -------------------------------------------------------------------- Hero */
.hero { padding: 48px 0 12px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--copper);
  margin-bottom: 14px;
}
.hero h1 { max-width: 20ch; }
.hero .answer {
  font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft);
  max-width: 62ch; border-left: 3px solid var(--ember); padding-left: 18px;
  margin-top: 22px;
}

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-media { margin: 0; }
.hero-media img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover;
}

/* Cover-Hero (Startseite): dunkles Bild als Flaeche, Text darueber. */
.hero.cover { position: relative; padding: 0; color: #fff; isolation: isolate; }
.hero.cover .hero-bg { position: absolute; inset: 0; margin: 0; z-index: -2; }
.hero.cover .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero.cover::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20, 18, 16, .93) 0%,
    rgba(20, 18, 16, .8) 42%, rgba(20, 18, 16, .35) 100%);
}
.hero.cover .container { padding: 96px 0 88px; }
.hero.cover .hero-text { max-width: 46rem; }
.hero.cover h1 { color: #fff; max-width: 16ch; }
.hero.cover .eyebrow { color: #f6b98f; }
.hero.cover .answer { color: #ece7e1; border-left-color: var(--ember); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --------------------------------------------------------------- Sektionen */
.section { padding: 52px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--char); color: #f4f1ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: #f6b98f; }

.prose { max-width: 72ch; }
.prose.wide, .prose-wide { max-width: none; }
.prose > h2:first-child, .prose > h1:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.section-head { max-width: 62ch; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); }
.muted { color: var(--ink-mute); }
.lead { font-size: 1.13rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius);
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700;
  letter-spacing: .03em; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-dark); border-color: var(--ember-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero.cover .btn-ghost { color: #fff; }
.hero.cover .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.tag {
  display: inline-block; font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 2px;
  vertical-align: middle;
}
.tag-ad { background: var(--bg-sand); color: var(--ink-soft); }
.tag-ref { background: var(--bg-sand); color: var(--ink-soft); }
/* Sicherheitswerte (amtliche Empfehlung) muessen sich optisch klar von
   Genussangaben unterscheiden — sie duerfen nicht unterschritten werden. */
.tag-safe { background: var(--ember); color: #fff; }

/* ------------------------------------------------------------- Faktenkasten */
.factbox {
  background: var(--char); color: #f4f1ec; border-radius: var(--radius);
  padding: 26px 28px; margin: 32px 0;
}
.factbox-title {
  display: flex; align-items: center; gap: 9px; color: #fff;
  font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase;
  margin: 0 0 16px;
}
.factbox-title .ico { color: var(--ember); }
.factbox-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 32px; margin: 0; }
.fact { border-top: 1px solid rgba(255, 255, 255, .16); padding: 10px 0; }
.fact dt { font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; color: #b9b2a9; }
.fact dd { margin: 2px 0 0; font-size: 1.08rem; font-weight: 600; color: #fff; }

/* -------------------------------------------------------------- Schritte */
.howto { margin: 36px 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 22px 58px; border-left: 2px solid var(--line); margin-left: 17px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: -18px; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ember); color: #fff;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  display: grid; place-items: center;
}
.steps h3 { margin: 2px 0 .3em; font-size: 1.12rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ------------------------------------------------------------------- FAQ */
.faq { margin: 40px 0; }
.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 .4em; font-size: 1.1rem; }
.faq-item p { margin: 0; color: var(--ink-soft); }

/* --------------------------------------------------------------- Fehler */
.mistakes {
  background: var(--ember-soft); border-left: 3px solid var(--ember);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 32px 0;
}
.mistakes h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 .6em; font-size: 1.3rem; }
.mistakes h2 .ico { color: var(--ember); }
.mistakes ul { list-style: none; margin: 0; padding: 0; }
.mistakes li { padding: 8px 0; border-top: 1px solid rgba(226, 88, 34, .18); }
.mistakes li:first-child { border-top: 0; }
.mistakes strong { display: block; }
.mistakes span { color: var(--ink-soft); }

/* -------------------------------------------------------------- Hinweise */
.note {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin: 26px 0;
}
.note > :last-child { margin-bottom: 0; }
.note-title { display: flex; align-items: center; gap: 8px; font-weight: 700;
  font-family: var(--font-display); font-size: 1.08rem; margin-bottom: .4em; }
.note-title .ico { color: var(--copper); }
.note.warn { background: var(--ember-soft); border-color: #f3cdb8; }
.note.warn .note-title .ico { color: var(--ember); }

/* ------------------------------------------------------------- Equipment */
.equipment { margin: 40px 0; }
.equipment > h2 { display: flex; align-items: center; gap: 9px; }
.equipment > h2 .ico { color: var(--ember); }
.equip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.equip { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.equip h3 { margin: 0 0 .4em; font-size: 1.1rem; }
.equip p { color: var(--ink-soft); font-size: .96rem; }
.equip-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Aktions-Gutschein. Erscheint nur im Aktionszeitraum (siehe blocks._gutschein),
   deshalb darf er auffaelliger sein als ein Dauerbanner. */
.gutschein {
  margin: 36px 0; padding: 22px 24px;
  background: var(--ember-soft); border: 1px solid var(--ember);
  border-radius: var(--radius);
}
.gutschein-label {
  margin: 0 0 8px; font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-soft);
}
.gutschein-text { margin: 0 0 6px; font-weight: 600; font-size: 1.08rem; }
.gutschein-code {
  margin: 0 0 4px; font-size: 1rem;
}
.gutschein-code strong {
  display: inline-block; padding: 3px 10px; margin-left: 4px;
  background: #fff; border: 1px dashed var(--ember);
  border-radius: 3px; letter-spacing: .08em;
}
.gutschein-frist { margin: 0 0 14px; font-size: .9rem; color: var(--ink-soft); }

/* Partner-Banner: bewusst zurueckhaltend und immer unterhalb des Inhalts.
   Die Grafik liegt lokal (siehe _build/banner.py) — der ADCELL-Bildendpoint
   wuerde auf Fremd-CDNs weiterleiten und die Besucher-IP ohne Klick teilen. */
.partnerbanner {
  margin: 40px 0; padding: 18px 20px 20px;
  background: var(--bg-sand); border-radius: var(--radius);
  text-align: center;
}
.partnerbanner-label {
  margin: 0 0 10px; font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-soft);
}
.partnerbanner p { margin: 0 0 12px; font-size: .95rem; color: var(--ink-soft); }
/* margin-inline statt text-align: Der Reset setzt img auf display:block,
   damit greift die Textzentrierung des Elternelements nicht. */
.partnerbanner img {
  max-width: 100%; height: auto; margin-inline: auto; border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

/* Linkbox-Varianten: hell (Standard-Karte oben) und dunkel als Akzent fuer
   hervorgehobene Empfehlungen/Anzeigen — gleiche Sprache wie der Faktenkasten,
   dunkle Flaeche bleibt Akzent, nie Basis des Fliesstexts. */
.equipment-dunkel .equip { background: var(--char); border-color: var(--char); }
.equipment-dunkel .equip h3 { color: #fff; }
.equipment-dunkel .equip p { color: #d8d3cb; }
.equipment-dunkel .tag-ad,
.equipment-dunkel .tag-ref { background: rgba(255, 255, 255, .14); color: #d8d3cb; }
.equipment-dunkel .btn-ghost { color: #fff; }
.equipment-dunkel .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.cta-box {
  background: var(--bg-sand); border-radius: var(--radius);
  padding: 24px 26px; margin: 32px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.cta-box p { margin: 0; max-width: 48ch; font-weight: 600; }

/* --------------------------------------------------------------- Related */
.related { margin: 48px 0 0; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.rel-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; color: inherit; background: #fff;
  transition: border-color .15s, transform .15s;
}
.rel-card:hover { border-color: var(--ember); transform: translateY(-2px); }
.rel-card h3 { margin: 0 0 .35em; font-size: 1.1rem; }
.rel-card p { margin: 0 0 .6em; color: var(--ink-soft); font-size: .95rem; }
.rel-more .ico { color: var(--ember); }

/* --------------------------------------------------------------- Tabellen */
/* Breite Tabellen scrollen horizontal. Ohne sichtbaren Hinweis liest sich die
   abgeschnittene letzte Spalte auf dem Handy wie ein Layoutfehler.
   Der uebliche Trick mit background-attachment: local funktioniert hier NICHT,
   weil Kopfzeile und Zebrastreifen eigene Hintergruende haben und den Verlauf
   ueberdecken. Deshalb ein Overlay per Pseudoelement, das main.js ein- und
   ausblendet, sobald das Ende erreicht ist. */
.table-wrap { overflow-x: auto; margin: 28px 0; position: relative; }
.table-wrap::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 38px;
  background: linear-gradient(to left, rgba(29, 29, 27, .24), rgba(29, 29, 27, 0));
  pointer-events: none; opacity: 0; transition: opacity .15s ease;
}
.table-wrap.hat-mehr::after { opacity: 1; }
/* Wird von main.js nur eingesetzt, wenn die Tabelle tatsaechlich ueberlaeuft. */
.table-hinweis {
  margin: 28px 0 -18px; font-size: .86rem; color: var(--ink-mute);
}
.data-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.data-table caption { text-align: left; font-weight: 700; padding-bottom: 10px; }
.data-table th, .data-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th {
  background: var(--char); color: #fff; font-family: var(--font-display);
  letter-spacing: .04em; border-bottom: 0;
}
.data-table tbody tr:nth-child(even) { background: var(--bg-alt); }

.kerntabelle td.num { white-space: nowrap; }
.kerntabelle tbody tr:target { background: var(--ember-soft); }

/* --------------------------------------------------------- Datenseiten */
.databox {
  border: 1px solid var(--line); border-left: 3px solid var(--ember);
  border-radius: var(--radius); padding: 24px 26px; margin: 0 0 32px;
  background: var(--bg-alt);
}
.databox h2 { margin: 0 0 16px; font-size: 1.3rem; }
.databox dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px 24px; margin: 0 0 16px; }
.databox dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute); }
.databox dd { margin: 2px 0 0; font-weight: 600; }
.databox-note { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ----------------------------------------------------------------- Rezepte */
.rez-filter { margin: 0 0 32px; padding: 22px 24px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius); }
.filter-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin-bottom: 12px; }
.filter-label { flex: 0 0 90px; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font: inherit; font-size: .92rem; color: var(--ink);
  cursor: pointer; transition: background .12s, border-color .12s, color .12s;
}
.chip:hover { border-color: var(--ember); color: var(--ember-dark); }
.chip.is-active { background: var(--ember); border-color: var(--ember); color: #fff; }
.rez-count { margin: 14px 0 0; font-size: .9rem; color: var(--ink-mute); }
.rez-empty { margin: 10px 0 0; font-size: .95rem; }

/* --------------------------------------------------- Kerntemperatur-Rechner */
.rechner { margin: 0 0 32px; padding: 24px 26px 22px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius); }
.rechner > h2 { margin: 0 0 18px; font-size: 1.25rem; }
.rechner-felder { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.rechner .feld { flex: 1 1 240px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.rechner label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute); }
.rechner select {
  width: 100%; padding: 10px 12px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.rechner select:focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; }
.rechner-ergebnis { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.rechner-wert { margin: 0; font-size: 2rem; line-height: 1.2; font-family: var(--font-display);
  color: var(--ember-dark); }
.rechner-wert .tag { font-size: .7rem; vertical-align: middle; margin-left: 6px; }
.rechner-merkmal { margin: 8px 0 0; }
.rechner-hinweis { margin: 10px 0 0; padding: 10px 12px; background: var(--ember-soft);
  border-radius: var(--radius); font-size: .95rem; }
.rechner-quelle { margin: 12px 0 0; font-size: .88rem; color: var(--ink-mute); }
.hinweis-nojs { margin: 0 0 32px; padding: 16px 20px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius); }

/* ------------------------------------------- Anleitung → Kaufberatung (Umsatzweg) */
.kaufhinweis {
  margin: 36px 0; padding: 24px 26px; background: var(--bg-alt);
  border: 1px solid var(--line); border-left: 3px solid var(--ember);
  border-radius: var(--radius);
}
.kaufhinweis h2 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 10px; font-size: 1.18rem;
}
.kaufhinweis > p { margin: 0 0 14px; font-size: .97rem; color: var(--ink-soft); }
.kaufhinweis ul { margin: 0; padding: 0; list-style: none; }
.kaufhinweis li { margin: 0 0 10px; line-height: 1.45; }
.kaufhinweis li:last-child { margin-bottom: 0; }
.kaufhinweis li a { font-weight: 600; }
.kaufhinweis li span {
  display: block; font-size: .92rem; color: var(--ink-mute); margin-top: 2px;
}

/* ---------------------------------------------------------- Fragenverzeichnis */
.fi-summe { margin: 0 0 28px; font-size: .95rem; color: var(--ink-mute); }
.fi-hub { margin: 0 0 40px; }
.fi-hub > h2 {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ember);
}
.fi-zahl { margin-left: auto; font-family: var(--font-body); font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.fi-seite { margin: 0 0 22px; padding-left: 16px; border-left: 2px solid var(--line); }
.fi-seite > h3 { margin: 0 0 8px; font-size: 1.02rem; }
.fi-seite > h3 a { color: var(--ink); text-decoration: none; }
.fi-seite > h3 a:hover { color: var(--ember-dark); text-decoration: underline; }
.fi-seite ul { margin: 0; padding: 0; list-style: none; }
.fi-seite li { margin: 0 0 5px; }
.fi-seite li a { font-size: .95rem; text-decoration: none; }
.fi-seite li a:hover { text-decoration: underline; }
@media (min-width: 760px) {
  .fi-seite ul { columns: 2; column-gap: 32px; }
  .fi-seite li { break-inside: avoid; }
}

/* Ziel eines Fragen-Sprungs sichtbar machen — sonst landet man mitten in einer
   langen Seite, ohne zu erkennen, welche Frage gemeint war. */
.faq-item:target { background: var(--ember-soft); border-radius: var(--radius);
  box-shadow: 0 0 0 12px var(--ember-soft); }
.faq-item { scroll-margin-top: 90px; }
.rez-reset { background: none; border: 0; padding: 0; font: inherit;
  color: var(--ember-dark); text-decoration: underline; cursor: pointer; }

.rez-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.rez-grid-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rez-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.rez-card:hover { border-color: var(--ember); box-shadow: var(--shadow); transform: translateY(-2px); }
.rez-card > a { display: block; text-decoration: none; color: inherit; }
.rez-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rez-body { padding: 18px 20px 20px; }
.rez-body h3 { margin: 0 0 .35em; font-size: 1.15rem; }
.rez-body p { margin: 0 0 .8em; color: var(--ink-soft); font-size: .94rem; }
.rez-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; }
.rez-meta li { display: inline-flex; align-items: center; gap: 5px;
  font-size: .84rem; color: var(--ink-mute); }
.rez-meta .ico { width: 1em; height: 1em; color: var(--copper); }

.rez-box { margin: 44px 0 0; padding: 26px 28px; background: var(--bg-sand);
  border-radius: var(--radius); }
.rez-box > h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 1.35rem; }
.rez-box > h2 .ico { color: var(--ember); }
.rez-box .rez-card { border-color: transparent; }
.rez-box-more { margin: 18px 0 0; }
.rez-box-more a { display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; text-decoration: none; }

/* Zutatenkasten auf Rezeptseiten */
.zutaten { background: var(--char); color: #f4f1ec; border-radius: var(--radius);
  padding: 26px 28px; margin: 0 0 32px; }
.zutaten h2 { color: #fff; margin: 0 0 14px; font-size: 1.25rem;
  letter-spacing: .05em; text-transform: uppercase; }
.zutaten-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none;
  margin: 0 0 16px; padding: 0 0 14px; border-bottom: 1px solid rgba(255,255,255,.16); }
.zutaten-meta li { display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem; color: #cfc9c1; }
.zutaten-meta .ico { color: var(--ember); }
.zutaten-liste { list-style: none; margin: 0; padding: 0; column-width: 260px; column-gap: 32px; }
.zutaten-liste li { padding: 7px 0 7px 20px; position: relative; break-inside: avoid;
  border-bottom: 1px solid rgba(255,255,255,.1); }
.zutaten-liste li::before { content: ""; position: absolute; left: 0; top: 15px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }

/* ------------------------------------------------- Startseite: Hub-Kacheln */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.hub-card {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.hub-card:hover { border-color: var(--ember); box-shadow: var(--shadow); transform: translateY(-2px); }
.hub-card .ico { width: 2rem; height: 2rem; color: var(--ember); margin-bottom: 8px; }
.hub-card h3 { margin: 0; font-size: 1.3rem; }
.hub-card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.hub-card .hub-count { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }
/* Hub ohne eigene Seiten: sichtbar, aber nicht verlinkt — kein Klick ins Leere. */
.hub-card.is-planned { background: var(--bg-alt); border-style: dashed; }
.hub-card.is-planned:hover { border-color: var(--line); box-shadow: none; transform: none; }
.hub-card.is-planned .ico, .hub-card.is-planned h3 { color: var(--ink-mute); }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.quick {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px; text-decoration: none; color: inherit; font-weight: 600;
}
.quick:hover { border-color: var(--ember); color: var(--ember-dark); }
.quick .ico { color: var(--ember); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--char); color: #cfc9c1; margin-top: 64px; font-size: .95rem; }
.site-footer a { color: #cfc9c1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px;
  padding: 48px 0 32px;
}
.footer-about p { max-width: 40ch; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 8px; color: #fff;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 12px;
}
.footer-logo .ico { color: var(--ember); }
.footer-stand { color: #8f8a83; font-size: .85rem; }
.footer-nav h2 { color: #fff; font-size: 1rem; letter-spacing: .06em;
  text-transform: uppercase; margin: 0 0 12px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 6px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0;
  font-size: .87rem; color: #9a948c;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-affiliate { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-affiliate p { margin: 0; padding: 16px 0; font-size: .82rem; color: #8f8a83; max-width: 90ch; }

/* ------------------------------------------------------------- Responsive */
/* Die kompakte Fassung ist inzwischen der Normalfall (siehe .nav-top oben).
   Die neun Hubs brauchen rund 1180px Fensterbreite; darunter uebernimmt das
   Burger-Menue. */

/* Layout-Umbruch bewusst frueher als die Navigation: Hero und Faktenkasten
   vertragen zwei Spalten bis etwa 900px. */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .factbox-list { grid-template-columns: 1fr; }
  .mega-inner { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 1200px) {
  /* Ohne JavaScript bleibt die Navigation eine sichtbare Liste (kein Burger,
     der nichts oeffnen wuerde). main.js setzt .js auf <html>. */
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; inset: 68px 0 0; z-index: 60; background: #fff;
    overflow-y: auto; overscroll-behavior: contain;
    padding: 8px 0 48px; transform: translateX(100%); transition: transform .2s ease;
    visibility: hidden; box-shadow: var(--shadow);
  }
  .js .site-nav.is-open { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0;
    width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-top { flex: 1; padding: 15px 4px; font-size: 1.15rem; }
  .nav-top .ico { display: inline-block; }
  .nav-sub-toggle { margin: 0; padding: 15px 10px; }
  .nav-sub-toggle .ico { width: 1.2em; height: 1.2em; transition: transform .15s; }
  .is-open .nav-sub-toggle .ico { transform: rotate(180deg); }
  .mega { flex-basis: 100%; }

  .mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-bottom: 0; display: none;
  }
  .js .has-mega.is-open > .mega { display: block; }
  .js .has-mega:hover > .mega { display: none; }
  .js .has-mega.is-open:hover > .mega { display: block; }
  .mega-inner { width: 100%; padding: 4px 0 18px; display: block; }
  /* Bild und Teaser sind auf dem Handy nur Ballast im aufgeklappten Panel. */
  .mega-figure, .mega-intro h2, .mega-intro p { display: none; }
  .mega-all { padding: 10px 12px; font-size: .95rem; }
  .mega-cols { flex-direction: column; gap: 0; }
  .mega-cols a { padding: 11px 12px; font-size: 1rem; border-left: 2px solid var(--line); }
  .mega-cols a .ico-go { opacity: 1; transform: none; color: var(--line); }

  .menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-icon-close { display: inline-block; }

  .hero.cover .container { padding: 64px 0 56px; }
  .hero .answer { font-size: 1.08rem; }
}

@media (max-width: 560px) {
  body { font-size: 1.02rem; }
  .section { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .factbox { padding: 22px 20px; }

  /* Umbrechende Chips machten die Filterleiste bei neun Kategorien 686 px hoch —
     fast ein ganzer Handy-Bildschirm, bevor das erste Rezept sichtbar wird.
     Deshalb scrollt jede Gruppe hier waagerecht statt umzubrechen. */
  .filter-group { flex-wrap: nowrap; align-items: center; }
  .filter-label { flex: 0 0 68px; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .chips .chip { flex: 0 0 auto; scroll-snap-align: start; }

  /* Fragenverzeichnis: 20 px hohe Links sind zum Antippen zu knapp. Die Liste
     ist der eigentliche Zweck der Seite, deshalb hier groessere Trefferflaeche. */
  .fi-seite li { margin-bottom: 0; }
  .fi-seite li a { display: block; padding: 7px 0; }
  .fi-seite > h3 a { display: inline-block; padding: 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* Quellenblock. Bewusst schlicht — er soll belegen, nicht werben. */
.quellen {
  margin: 40px 0 0; padding: 22px 24px;
  background: var(--bg-sand); border-radius: var(--radius);
  font-size: .95rem;
}
.quellen h2 { margin: 0 0 12px; font-size: 1.05rem; }
.quellen ul { margin: 0; padding-left: 1.1em; }
.quellen li { margin-bottom: 8px; color: var(--ink-soft); }
.quellen a { word-break: break-word; }
.q-zusatz { color: var(--ink-soft); }
.q-regel {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--ink-soft);
}
