/* =========================================================
   Spartopf – Design System v2
   System-Schriften (DSGVO-sicher). Farb-Codierung pro Kategorie.
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-warm: #f7f3ec;
  --bg-soft: #faf8f3;
  --surface: #ffffff;
  --ink: #1a1f1a;
  --ink-soft: #5f665f;
  --ink-faint: #9aa09a;
  --line: #ece7df;
  --line-strong: #ddd7cc;

  --brand: #1f9d57;
  --brand-dark: #137a40;
  --brand-tint: #eaf6ee;
  --accent: #d8602f;
  --accent-dark: #b34a20;
  --accent-tint: #fbefe8;

  /* Default category accent (overridden per element via --cat) */
  --cat: #1f9d57;

  --shadow-xs: 0 1px 2px rgba(26, 31, 26, 0.04), 0 2px 6px -3px rgba(26, 31, 26, 0.10);
  --shadow-sm: 0 4px 14px -8px rgba(26, 31, 26, 0.18);
  --shadow: 0 18px 44px -22px rgba(26, 31, 26, 0.26);
  --radius-xl: 22px;
  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.14; letter-spacing: -0.005em; color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.85);
  backdrop-filter: saturate(170%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 900; font-size: 1.32rem; letter-spacing: -0.03em;
  text-decoration: none; color: var(--ink);
}
.logo__mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; font-size: 1.2rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; box-shadow: var(--shadow-sm);
}
.logo__mark svg { display: block; }
.foot-brand { display: flex; align-items: center; gap: 0.5rem; margin-top: 0; }
.foot-brand svg { flex: 0 0 auto; display: block; }
.pop__emoji svg { display: inline-block; }
.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: none; color: var(--ink-soft); font-weight: 650;
  font-size: 0.94rem; padding: 0.5rem 0.75rem; border-radius: 999px;
}
.nav a .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cat); }
.nav a:hover { color: var(--ink); background: #fff; box-shadow: var(--shadow-xs); }
.nav__cta { background: var(--accent) !important; color: #fff !important; box-shadow: var(--shadow-sm); }
.nav__cta:hover { background: var(--accent-dark) !important; }
.nav-toggle {
  display: none; border: 1px solid var(--line-strong); background: var(--surface);
  border-radius: 11px; padding: 0.4rem 0.65rem; font-size: 1.2rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { padding: 3.2rem 0 1.4rem; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0.7rem 0 0.8rem; font-weight: 700; letter-spacing: -0.015em; }
.hero h1 .hl { color: var(--brand-dark); }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 600px; margin: 0 auto 1.5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--surface); color: var(--accent-dark);
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: 999px; box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
}
.hero__search {
  display: flex; max-width: 480px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 0.32rem 0.32rem 0.32rem 1.1rem; box-shadow: var(--shadow-sm);
}
.hero__search input { flex: 1; border: 0; outline: 0; font-size: 1rem; background: transparent; color: var(--ink); }
.hero__search button {
  border: 0; border-radius: 999px; background: var(--brand); color: #fff;
  font-weight: 800; padding: 0 1.3rem; cursor: pointer; font-size: 0.95rem;
}
.hero__search button:hover { background: var(--brand-dark); }

/* trust stats strip */
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem;
  margin: 1.5rem auto 0; color: var(--ink-soft); font-size: 0.9rem; font-weight: 650;
}
.trust b { color: var(--ink); }
.trust .sep { color: var(--line-strong); }

/* ---------- Category tiles ---------- */
.cat-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem;
}
.cat-tile {
  position: relative; overflow: hidden; min-height: 168px;
  border-radius: var(--radius-xl); padding: 1.4rem; color: #fff;
  text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease;
  isolation: isolate;
}
.cat-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, var(--c1), var(--c2));
}
.cat-tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background: radial-gradient(140px 140px at 88% 18%, rgba(255,255,255,0.28), transparent 70%);
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-tile .tile-emoji { position: absolute; top: 0.9rem; right: 1.1rem; font-size: 2.7rem; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.18)); }
.cat-tile .tile-kicker { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
.cat-tile h3 { font-size: 1.45rem; margin: 0.15rem 0 0.25rem; font-weight: 900; }
.cat-tile .tile-count {
  display: inline-flex; align-items: center; gap: 0.35rem; align-self: flex-start;
  background: rgba(255,255,255,0.22); backdrop-filter: blur(4px);
  padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
}

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section__head h2 { font-size: 1.9rem; margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.section__head .more {
  font-weight: 800; text-decoration: none; white-space: nowrap; color: var(--brand-dark);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.section__head .more:hover { gap: 0.55rem; }

/* ---------- Recipe grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.7rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-xs); transition: transform 0.16s ease, box-shadow 0.16s ease;
}
/* (Kategorie-Farbbalken entfernt – ruhigerer, editorialerer Look) */
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-warm); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.price-badge {
  position: absolute; left: 0.7rem; bottom: 0.7rem;
  background: rgba(255,255,255,0.96); color: var(--brand-dark);
  font-weight: 800; font-size: 0.95rem; letter-spacing: -0.01em;
  padding: 0.36rem 0.7rem; border-radius: 999px; box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}
.price-badge small { font-weight: 600; color: var(--ink-soft); }
.badge-new {
  position: absolute; right: 0.75rem; top: 0.95rem;
  background: var(--accent); color: #fff; font-weight: 900; font-size: 0.7rem;
  letter-spacing: 0.06em; padding: 0.28rem 0.6rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.card__body { padding: 0.85rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__cat { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.02em; color: var(--cat); display: inline-flex; align-items: center; gap: 0.3rem; }
.card__body h3 { margin: 0; font-size: 1.18rem; line-height: 1.2; }
.card__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.card__meta {
  margin-top: auto; padding-top: 0.5rem; border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: 0.85rem; color: var(--ink-soft); font-size: 0.83rem; font-weight: 650;
}

/* ---------- Tag chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--bg-warm); color: var(--ink-soft);
  font-size: 0.74rem; font-weight: 700; padding: 0.22rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--line);
}
.chip--airfryer { background: #f3eafe; color: #6a33b0; border-color: #e6d6fb; }
.chip--vegan, .chip--vegetarisch, .chip--gesund { background: var(--brand-tint); color: var(--brand-dark); border-color: #cdeedb; }

/* ---------- Ads ---------- */
.ad { margin: 1.8rem 0; text-align: center; }
.ad .label {
  display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-faint); font-weight: 800; margin-bottom: 0.35rem;
}
.ad__ph {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--ink-faint);
  background: repeating-linear-gradient(45deg, #faf6ee, #faf6ee 12px, #f4eee2 12px, #f4eee2 24px);
  display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; padding: 1rem;
}
.ad--leaderboard .ad__ph { min-height: 96px; }
.ad--inarticle .ad__ph, .ad--footer .ad__ph { min-height: 130px; }
.ad--infeed { margin: 0; }
.ad--infeed .ad__ph { min-height: 100%; border-radius: var(--radius); aspect-ratio: auto; }
.ad--infeed.card-slot { display: flex; flex-direction: column; }
.ad--sidebar { margin: 1.2rem 0 0; }
.ad--sidebar .ad__ph { min-height: 250px; }

/* ---------- Recipe detail ---------- */
.recipe-head { padding: 1.8rem 0 0.6rem; }
.breadcrumb { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 0.7rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.recipe-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.recipe-head h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin: 0.3rem 0 0.7rem; font-weight: 700; letter-spacing: -0.012em; }
.recipe-head p.lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 660px; }

.stats { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.3rem 0; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.6rem 0.95rem; min-width: 96px; box-shadow: var(--shadow-xs);
}
.stat .k { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); font-weight: 800; }
.stat .v { font-size: 1.15rem; font-weight: 800; }
.stat--price { background: var(--cat); border-color: var(--cat); }
.stat--price .k { color: rgba(255,255,255,0.85); }
.stat--price .v { color: #fff; }

.recipe-hero { position: relative; }
.recipe-hero img { width: 100%; border-radius: var(--radius-xl); aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow); }

.recipe-layout { display: grid; grid-template-columns: 330px 1fr; gap: 2.4rem; align-items: start; padding: 2rem 0 1rem; }
.col-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.2rem; }
.ingredients { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-xs); }
.ingredients h2 { margin: 0 0 0.3rem; font-size: 1.3rem; }
.servings-note { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 0.9rem; }
.ingredients ul { list-style: none; margin: 0; padding: 0; }
.ingredients li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0; border-bottom: 1px dashed var(--line); cursor: pointer; user-select: none;
}
.ingredients li::before {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 6px;
  border: 2px solid var(--line-strong); margin-right: -0.4rem; transition: 0.15s;
}
.ingredients li.done::before { background: var(--cat); border-color: var(--cat); }
.ingredients li.done { opacity: 0.5; text-decoration: line-through; }
.ingredients li .txt { flex: 1; }
.ingredients li:last-child { border-bottom: 0; }
.ingredients .amount { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ingredients li .cost { font-weight: 700; color: var(--brand-dark); white-space: nowrap; min-width: 3.6rem; text-align: right; font-variant-numeric: tabular-nums; }
.ing-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.9rem; padding-top: 0.8rem; border-top: 2px solid var(--line); font-weight: 800; font-size: 1.05rem; }
.ing-total .v { color: var(--brand-dark); font-variant-numeric: tabular-nums; }

/* Portionsrechner */
.portion { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem 0.9rem; margin: 0.1rem 0 0.9rem; }
.portion__label { font-weight: 800; font-size: 0.9rem; }
.stepper { display: inline-flex; align-items: center; gap: 0.25rem; background: var(--bg-warm); border: 1px solid var(--line); border-radius: 999px; padding: 0.18rem; }
.stepper__btn { width: 30px; height: 30px; border: 0; background: var(--surface); border-radius: 50%; font-size: 1.25rem; font-weight: 800; cursor: pointer; color: var(--ink); box-shadow: var(--shadow-xs); line-height: 1; display: grid; place-items: center; }
.stepper__btn:hover { background: var(--brand); color: #fff; }
.stepper__val { min-width: 1.7rem; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.portion__hint { color: var(--ink-soft); font-size: 0.86rem; }
.portion__hint b { color: var(--ink); }

/* Auto-Labels */
.labels { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.2rem 0 0.3rem; }
.label-pill { font-size: 0.76rem; font-weight: 700; padding: 0.3rem 0.72rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-warm); color: var(--ink-soft); }
.label-pill--diet { background: var(--brand-tint); color: var(--brand-dark); border-color: #cdeedb; }
.label-pill--value { background: #fdf3e0; color: #97600f; border-color: #f1ddb8; }
.label-pill--health { background: #eef5ff; color: #245c93; border-color: #d6e6f6; }
.label-pill--speed { background: var(--accent-tint); color: var(--accent-dark); border-color: #f4d7c8; }
.label-pill--method { background: #f3eafe; color: #6a33b0; border-color: #e6d6fb; }

/* Nährwerte */
.nutrition { display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; align-items: baseline; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.95rem 1.15rem; box-shadow: var(--shadow-xs); }
.nutri { display: flex; flex-direction: column; }
.nutri .nv { font-size: 1.22rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.nutri .nk { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 700; }
.nutrition__note { margin-left: auto; color: var(--ink-faint); font-size: 0.78rem; align-self: center; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 1.4rem 3.4rem; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cat), var(--cat)); filter: brightness(1.02);
  color: #fff; font-weight: 900; border-radius: 50%; box-shadow: var(--shadow-sm);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.18rem; top: 2.6rem; bottom: 0.3rem; width: 2px; background: var(--line); }

.tips { background: var(--accent-tint); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.6rem 0; }
.tips strong { color: var(--accent-dark); }

h2.block-title { font-size: 1.55rem; margin: 1.9rem 0 0.9rem; }

/* ---------- Affiliate ---------- */
.affiliate { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; background: var(--surface); box-shadow: var(--shadow-xs); margin: 1.6rem 0; }
.affiliate .label { display: inline-block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; color: var(--ink-faint); background: var(--bg-warm); border-radius: 6px; padding: 0.18rem 0.55rem; margin-bottom: 0.7rem; }
.affiliate h3 { margin: 0 0 0.6rem; }
.affiliate ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.affiliate li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.affiliate li:first-child { border-top: 0; }
.affiliate .btn { background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; font-size: 0.84rem; padding: 0.45rem 0.9rem; border-radius: 999px; white-space: nowrap; }
.affiliate .btn:hover { background: var(--accent-dark); }

/* ---------- Category hero ---------- */
.cat-hero {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  padding: 2.8rem 1.8rem; color: #fff; margin: 1.4rem 0 0.5rem; box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--c1), var(--c2));
}
.cat-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(220px 220px at 90% 10%, rgba(255,255,255,0.25), transparent 70%); }
.cat-hero .inner { position: relative; z-index: 1; }
.cat-hero .tile-emoji { font-size: 3rem; }
.cat-hero h1 { margin: 0.4rem 0 0.3rem; font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 900; }
.cat-hero p { margin: 0; opacity: 0.94; font-size: 1.12rem; max-width: 540px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.4rem 0 0.4rem; }
.cat-chips a { text-decoration: none; }
.cat-chips .chip { background: var(--surface); box-shadow: var(--shadow-xs); padding: 0.4rem 0.8rem; font-size: 0.82rem; }
.cat-chips .chip[aria-current="true"] { background: var(--cat); color: #fff; border-color: var(--cat); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 3.5rem; border-top: 1px solid var(--line); background: var(--bg-warm); padding: 2.6rem 0 3rem; color: var(--ink-soft); font-size: 0.93rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-between; }
.site-footer h4 { color: var(--ink); margin: 0 0 0.7rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; display: flex; align-items: center; gap: 0.45rem; padding: 0.22rem 0; }
.site-footer a .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cat); }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal-note { margin-top: 1.8rem; font-size: 0.82rem; opacity: 0.85; max-width: 760px; }

/* ---------- Static / legal ---------- */
.prose { max-width: 720px; padding: 2rem 0 1rem; }
.prose h2 { margin-top: 1.9rem; }
.prose .placeholder { background: #fff2c2; padding: 0.05rem 0.35rem; border-radius: 4px; }

/* ---------- Cookie consent ---------- */
.consent { position: fixed; inset: auto 1rem 1rem 1rem; max-width: 470px; margin-inline: auto; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5); z-index: 100; }
.consent.hidden { display: none; }
.consent p { margin: 0 0 0.9rem; font-size: 0.9rem; line-height: 1.5; }
.consent a { color: #8fe7b6; }
.consent__row { display: flex; gap: 0.6rem; }
.consent button { flex: 1; border: 0; border-radius: 999px; padding: 0.65rem 1rem; font-weight: 800; cursor: pointer; }
.consent .accept { background: var(--brand); color: #fff; }
.consent .reject { background: #353c36; color: #fff; }

/* ---------- Consent v2 (Banner-Buttons + Modal + Cookie-Button) ---------- */
.consent__row { flex-wrap: wrap; }
.consent .settings { background: #4b524c; color: #fff; }
.cmp-fab {
  position: fixed; left: 14px; bottom: 14px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; font-size: 1.3rem;
  transition: transform 0.15s ease;
}
.cmp-fab:hover { transform: translateY(-2px); }
.ads-ok .cmp-fab { bottom: 86px; }
.cmp-modal { position: fixed; inset: 0; z-index: 110; background: rgba(20,24,20,0.55); display: grid; place-items: center; padding: 1rem; }
.cmp-modal.hidden, .pop.hidden { display: none; }
.cmp-box { position: relative; background: var(--surface); border-radius: var(--radius); padding: 1.7rem; max-width: 470px; width: 100%; box-shadow: var(--shadow); }
.cmp-box h3 { margin: 0 0 0.35rem; font-size: 1.4rem; }
.cmp-intro { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 1rem; }
.cmp-x, .pop__x { position: absolute; top: 0.7rem; right: 0.8rem; border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; color: var(--ink-soft); line-height: 1; }
.cmp-opt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cmp-opt:last-of-type { border-bottom: 0; }
.cmp-opt small { color: var(--ink-soft); font-weight: 400; }
.cmp-opt input { width: 20px; height: 20px; accent-color: var(--brand); flex: 0 0 auto; }
.cmp-actions { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.cmp-actions button { flex: 1; border: 0; border-radius: 999px; padding: 0.7rem 1rem; font-weight: 800; cursor: pointer; }
.cmp-actions .reject { background: #eee; color: var(--ink); }
.cmp-actions .accept { background: var(--brand); color: #fff; }

/* ---------- Skyscraper side rails (nur breite Screens, nach Consent) ---------- */
.ad-rail { display: none; }
.ad-rail .label { display: block; font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; margin-bottom: 0.3rem; text-align: center; }
.ad-rail .ad__ph { min-height: 600px; display: grid; place-items: center; border-radius: var(--radius-sm); }
@media (min-width: 1500px) {
  .ads-ok .ad-rail { display: block; position: fixed; top: 92px; width: 160px; z-index: 30; }
  .ad-rail--left { left: 24px; }
  .ad-rail--right { right: 24px; }
}

/* ---------- Anchor-Leiste unten (dismissbar) ---------- */
.ad-anchor { display: none; }
.ads-ok .ad-anchor:not(.dismissed) {
  display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255,253,249,0.98); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(0,0,0,0.4); padding: 0.45rem 1rem 0.55rem;
}
.ad-anchor__inner { max-width: 970px; margin: 0 auto; text-align: center; }
.ad-anchor__inner .label { display: block; font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; }
.ad-anchor__inner .ad__ph { min-height: 66px; border-radius: var(--radius-sm); }
.ad-anchor__x { position: absolute; top: -14px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; box-shadow: var(--shadow-sm); font-size: 0.85rem; }

/* ---------- Popup-Hinweis ---------- */
.pop { position: fixed; inset: 0; z-index: 100; background: rgba(20,24,20,0.6); display: grid; place-items: center; padding: 1rem; }
.pop__box { position: relative; background: var(--surface); border-radius: var(--radius-xl); padding: 2.1rem 1.8rem; max-width: 380px; text-align: center; box-shadow: var(--shadow); }
.pop__emoji { font-size: 2.9rem; }
.pop__box h3 { margin: 0.4rem 0; font-size: 1.42rem; }
.pop__box p { color: var(--ink-soft); margin: 0 0 1.3rem; }
.pop__cta { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; padding: 0.72rem 1.5rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.pop__cta:hover { background: var(--accent-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .recipe-layout { grid-template-columns: 1fr; }
  .col-side { position: static; }
  .ad--sidebar { display: none; }
}
@media (max-width: 640px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem; gap: 0.15rem; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0.6rem; }
  .nav-toggle { display: block; }
  .site-header__inner { position: relative; }
  .hero { padding: 2.2rem 0 1rem; }
}

/* ---------- Teilen ---------- */
.share {
  margin: 1.6rem 0; padding: 1rem 1.2rem; background: var(--bg-warm);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.share__label { display: block; font-weight: 800; margin-bottom: 0.65rem; font-size: 0.95rem; }
.share__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share__btn {
  border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 0.86rem;
  color: #fff; padding: 0.5rem 0.95rem; border-radius: 999px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.share__btn--wa { background: #25d366; }
.share__btn--tg { background: #2aabee; }
.share__btn--pin { background: #e60023; }
.share__btn--copy { background: #353c36; }
.share__btn:hover { filter: brightness(1.07); }
.share__btn--copy.copied { background: var(--brand); }

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid; gap: 1.1rem 2rem; grid-template-columns: 1fr; padding: 1.8rem;
  border-radius: var(--radius-xl); color: #fff;
  background: linear-gradient(135deg, var(--c1, #1fAA59), var(--c2, #0c8043));
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) { .newsletter { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.newsletter__txt h2 { margin: 0 0 0.4rem; color: #fff; }
.newsletter__txt p { margin: 0; color: rgba(255, 255, 255, 0.92); }
.newsletter__form { display: flex; flex-direction: column; gap: 0.6rem; }
.newsletter__email { border: 0; border-radius: 999px; padding: 0.8rem 1.1rem; font: inherit; }
.newsletter__consent {
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.92);
  display: flex; gap: 0.5rem; align-items: flex-start; line-height: 1.4;
}
.newsletter__consent a { color: #fff; text-decoration: underline; }
.newsletter__consent input { margin-top: 0.15rem; accent-color: #fff; }
.newsletter__btn {
  border: 0; cursor: pointer; font: inherit; font-weight: 800;
  background: #fff; color: var(--brand-dark); padding: 0.78rem 1.1rem; border-radius: 999px;
}
.newsletter__btn:hover { background: #f3f3f3; }

/* ---------- Nach Mahlzeit ---------- */
.meal-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.meal-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.98rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 0.55rem; box-shadow: var(--shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.meal-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.meal-chip__ico {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c1, #1f9d57), var(--c2, #137a40)); font-size: 0.95rem;
}
.meal-chip__n { color: var(--ink-faint); font-weight: 700; font-size: 0.85rem; }
.label-pill--meal { background: #eef0fb; color: #47559e; border-color: #dde1f5; }
