/* ============================================================
   will-mixen.de - Home + Archive Stylesheet
   Theme: willmixen2026-child (Astra Pro Child)
   Source: design_handoff_recipe_page (Claude Design)
   Implementation: WordPress + Astra (Header/Footer bleiben Astra)

   GREIFT NUR auf:
   - body.home (Startseite via is_front_page)
   - body.archive (Category/Tag/Author/Date Archive Pages)
   - body.search (Search results)

   CONTENT:
   1. Font-Face (self-hosted, gemeinsam mit recipe-template.css)
   2. Tokens (:root) - erweitert um rose, cream
   3. Resets / Brand strip (skip - Astra)
   4. Home: Hero, Hubs, Weekplan, Combo, Newsletter, SEO-Cluster
   5. Archive: Arc-Hero, Cat-Strip, Featured, Filterbar, Recipe-Grid
   6. Responsive
   ============================================================ */

/* ============================================================
   will-mixen.de — Recipe Archive (Rezeptübersicht)
   ============================================================ */

@font-face { font-family: 'Gilroy'; src: url("../fonts/Gilroy-Light.ttf") format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url("../fonts/Gilroy-Regular.ttf") format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url("../fonts/Gilroy-Medium.ttf") format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url("../fonts/Gilroy-SemiBold.ttf") format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url("../fonts/Gilroy-Bold.ttf") format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Perfectly Nineties'; src: url("../fonts/PerfectlyNineties-Regular.ttf") format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Perfectly Nineties'; src: url("../fonts/PerfectlyNineties-RegularItalic.ttf") format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Perfectly Nineties'; src: url("../fonts/PerfectlyNineties-Semibold.ttf") format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Perfectly Nineties'; src: url("../fonts/PerfectlyNineties-Bold.ttf") format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #fbf8f3;
  --bg-alt: #f3ecdf;
  --bg-cream: #faf3e6;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-2: #3d3d3d;
  --ink-3: #6b6b6b;
  --ink-4: #a8a8a8;
  --border: #ece5d6;
  --border-strong: #d8cdb5;
  --accent: #c2410c;
  --accent-fg: #ffffff;
  --accent-soft: #fdebe0;
  --accent-rose: #b85563;
  --accent-rose-soft: #f7e6e9;
  --accent-2: #65803a;
  --highlight: #f5d65a;
  --shadow-sm: 0 2px 8px rgba(26,26,26,0.05);
  --shadow-md: 0 10px 30px rgba(26,26,26,0.07);
  --shadow-lg: 0 24px 60px rgba(26,26,26,0.12);
  --font-serif: 'Perfectly Nineties', Georgia, serif;
  --font-sans: 'Gilroy', -apple-system, system-ui, sans-serif;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --maxw: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 16px; line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
img { max-width: 100%; display: block; }

/* Brand strip skipped - Astra header takes over */

/* ===== Hero ===== */
.arc-hero { padding: 64px 24px 48px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%); position: relative; overflow: hidden; }
.arc-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 85% 20%, rgba(184,85,99,0.08), transparent 60%),
    radial-gradient(500px 280px at 10% 90%, rgba(245,214,90,0.10), transparent 60%);
  pointer-events: none;
}
.arc-hero__inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-rose); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(184,85,99,0.6); } 50% { box-shadow: 0 0 0 8px rgba(184,85,99,0); } }
.arc-hero h1 { font-family: var(--font-serif); font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 24px; font-weight: 700; max-width: 14ch; text-wrap: balance; }
.arc-hero h1 em { font-style: italic; color: var(--accent-rose); font-weight: 400; }
.arc-hero__lede { font-family: var(--font-serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 52ch; margin: 0 0 36px; }
.arc-hero__lede strong { font-weight: 600; color: var(--ink); }
.arc-hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 720px; padding-top: 32px; border-top: 1px solid var(--border-strong); }
.arc-hero__stats > div { display: flex; flex-direction: column; gap: 4px; }
.arc-hero__stats strong { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.arc-hero__stats span { font-size: 12px; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== Category strip ===== */
.cat-strip { padding: 32px 24px 48px; }
.cat-strip__inner { max-width: var(--maxw); margin: 0 auto; }
.cat-strip__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; gap: 16px; flex-wrap: wrap; }
.cat-strip__head h2 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.cat-strip__all { font-size: 13px; font-weight: 600; color: var(--accent-rose); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.cat-strip__all:hover { gap: 10px; }
.cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.cat-row::-webkit-scrollbar { height: 6px; }
.cat-row::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.cat-pill { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: 0.18s; text-align: left; min-height: 168px; }
.cat-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.cat-pill.active { border: 2px solid var(--accent-rose); box-shadow: 0 0 0 4px var(--accent-rose-soft); }
.cat-pill__img { width: 100%; aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden; }
.cat-pill__img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.cat-pill:hover .cat-pill__img img { transform: scale(1.06); }
.cat-pill__label { display: block; padding: 12px 14px 4px; font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.cat-pill__count { display: block; padding: 0 14px 12px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat-pill__count::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-4); margin-right: 6px; vertical-align: middle; }

/* ===== Featured ===== */
.featured { padding: 16px 24px 64px; }
.featured__inner { max-width: var(--maxw); margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.section-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-rose); margin-bottom: 6px; }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--ink-4); padding-bottom: 2px; transition: 0.18s; }
.more-link:hover { color: var(--accent-rose); border-color: var(--accent-rose); gap: 10px; }

.featured-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.feat-card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; transition: 0.2s; display: flex; flex-direction: column; }
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-card--lg { grid-row: span 1; }
.feat-card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.feat-card--lg .feat-card__img { aspect-ratio: 4/3; }
.feat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.feat-card:hover .feat-card__img img { transform: scale(1.05); }
.feat-card__cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.feat-card__time { position: absolute; bottom: 14px; left: 14px; background: rgba(26,26,26,0.78); color: #fff; padding: 6px 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.feat-card__title { font-family: var(--font-serif); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 16px 18px 8px; letter-spacing: -0.015em; text-wrap: balance; }
.feat-card--lg .feat-card__title { font-size: 28px; margin: 20px 22px 10px; }
.feat-card__meta { display: flex; align-items: center; gap: 8px; padding: 0 18px 18px; font-size: 13px; color: var(--ink-3); }
.feat-card--lg .feat-card__meta { padding: 0 22px 22px; }
.rating { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-rose); font-weight: 600; }
.rating em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }

/* ===== Filterbar ===== */
.filterbar { background: var(--bg); border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border); position: sticky; top: 67px; z-index: 30; padding: 20px 24px 16px; backdrop-filter: blur(8px); background: rgba(251,248,243,0.92); }
.filterbar__inner { max-width: var(--maxw); margin: 0 auto; }
.filterbar__title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.filterbar__title h2 { font-family: var(--font-serif); font-size: 30px; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.filterbar__title .count { display: inline-flex; align-items: center; padding: 4px 12px; background: var(--accent-rose-soft); color: var(--accent-rose); border-radius: var(--r-pill); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }

.filterbar__controls { display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: 12px; align-items: center; }
.searchbox { position: relative; display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-pill); padding: 0 18px; height: 48px; transition: 0.15s; }
.searchbox:focus-within { border-color: var(--accent-rose); box-shadow: 0 0 0 4px var(--accent-rose-soft); }
.searchbox > svg { color: var(--ink-3); flex-shrink: 0; }
.searchbox input { flex: 1; border: 0; outline: 0; background: transparent; padding: 0 12px; font-size: 15px; font-family: inherit; color: var(--ink); height: 100%; }
.searchbox input::placeholder { color: var(--ink-4); }
.searchbox__clear { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; color: var(--ink-3); }
.searchbox__clear:hover { background: var(--ink-4); color: #fff; }

.filterbar__selects { display: flex; gap: 8px; }
.select { display: inline-flex; flex-direction: column; gap: 4px; }
.select__label { display: none; }
.select__wrap { position: relative; display: inline-flex; align-items: center; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-pill); height: 48px; padding: 0 12px 0 18px; transition: 0.15s; }
.select__wrap:hover { border-color: var(--border-strong); }
.select__wrap:focus-within { border-color: var(--accent-rose); }
.select__wrap select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: 0; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink); padding: 0 26px 0 0; height: 100%; cursor: pointer; min-width: 140px; }
.select__wrap > svg { position: absolute; right: 12px; pointer-events: none; color: var(--ink-3); }

.filter-mobile { display: none; align-items: center; gap: 8px; height: 48px; padding: 0 18px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-pill); font-weight: 600; font-size: 14px; position: relative; }
.filter-mobile__badge { background: var(--accent-rose); color: #fff; min-width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; padding: 0 5px; }

.view-toggle { display: inline-flex; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-pill); height: 48px; padding: 4px; gap: 2px; }
.view-toggle button { width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--ink-3); transition: 0.15s; }
.view-toggle button.on { background: var(--ink); color: #fff; }

.active-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 16px; }
.active-filters__label { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-rose-soft); color: var(--accent-rose); padding: 6px 6px 6px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; }
.chip button { width: 20px; height: 20px; border-radius: 50%; background: rgba(184,85,99,0.18); display: grid; place-items: center; color: inherit; }
.chip button:hover { background: var(--accent-rose); color: #fff; }
.reset-link { font-size: 13px; font-weight: 600; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.reset-link:hover { color: var(--accent-rose); }

/* ===== Results ===== */
.results { padding: 40px 24px 80px; }
.results__inner { max-width: var(--maxw); margin: 0 auto; }

.recipe-grid { display: grid; gap: 28px 24px; }
.recipe-grid--magazine { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.recipe-grid--editorial { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.recipe-grid--compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px 16px; }

.rcard { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; transition: 0.2s; border: 1px solid var(--border); position: relative; }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.rcard__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.rcard:hover .rcard__img img { transform: scale(1.06); }
.rcard__new { position: absolute; top: 12px; left: 12px; background: var(--accent-rose); color: #fff; padding: 5px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.rcard__new--inline { position: static; padding: 3px 8px; font-size: 10px; }
.rcard__time { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.rcard__save { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); display: grid; place-items: center; color: var(--ink-2); transition: 0.15s; }
.rcard__save:hover { background: #fff; color: var(--accent-rose); transform: scale(1.08); }
.rcard__save.saved { background: var(--accent-rose); color: #fff; }
.rcard__save.saved svg { fill: currentColor; }
.rcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rcard__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-rose); }
.rcard__title { font-family: var(--font-serif); font-size: 19px; line-height: 1.22; font-weight: 700; margin: 0; letter-spacing: -0.01em; flex: 1; text-wrap: balance; }
.rcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 12px; color: var(--ink-3); }

.diff { display: inline-flex; align-items: center; gap: 4px; }
.diff-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border-strong); display: inline-block; }
.diff-dot.on { background: var(--accent-2); }
.diff__l { margin-left: 4px; font-weight: 500; color: var(--ink-2); }

/* Compact card */
.rcard--compact .rcard__title { font-size: 16px; }
.rcard--compact .rcard__body { padding: 12px 14px 14px; gap: 8px; }

/* Editorial card */
.rcard--editorial .rcard__img { aspect-ratio: 1/1; }
.rcard--editorial .rcard__title { font-size: 22px; }

/* List view */
.recipe-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.rrow { display: grid; grid-template-columns: 160px 1fr auto; gap: 20px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); align-items: center; transition: 0.15s; }
.rrow:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.rrow__img { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-md); }
.rrow__img img { width: 100%; height: 100%; object-fit: cover; }
.rrow__top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rrow__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-rose); }
.rrow h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin: 0 0 8px; line-height: 1.2; letter-spacing: -0.01em; }
.rrow__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.rrow__cta { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; color: var(--ink-2); transition: 0.18s; }
.rrow:hover .rrow__cta { background: var(--accent-rose); color: #fff; transform: translateX(2px); }

/* Empty state */
.empty { text-align: center; padding: 80px 20px; }
.empty__art { font-size: 64px; margin-bottom: 16px; }
.empty h3 { font-family: var(--font-serif); font-size: 28px; margin: 0 0 8px; }
.empty p { color: var(--ink-3); margin: 0 0 24px; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--accent-rose); color: #fff; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; transition: 0.15s; }
.btn-primary:hover { background: #a04553; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; background: transparent; color: var(--ink); border: 1.5px solid var(--border-strong); border-radius: var(--r-pill); font-weight: 600; font-size: 14px; }
.btn-ghost:hover { border-color: var(--ink); }

/* Load more */
.loadmore { padding-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loadmore__progress { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 320px; width: 100%; }
.loadmore__bar { width: 100%; height: 4px; background: var(--bg-alt); border-radius: 2px; overflow: hidden; }
.loadmore__fill { height: 100%; background: var(--accent-rose); border-radius: 2px; transition: width 0.4s; }
.loadmore__progress span { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.02em; }

/* ===== Mobile sheet ===== */
.sheet-overlay { position: fixed; inset: 0; background: rgba(26,26,26,0.5); backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: flex-end; animation: fade 0.2s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet { background: var(--bg); width: 100%; max-height: 85vh; border-radius: var(--r-xl) var(--r-xl) 0 0; display: flex; flex-direction: column; animation: slideUp 0.25s cubic-bezier(0.2, 0.7, 0.3, 1); }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet__handle { width: 40px; height: 4px; background: var(--border-strong); border-radius: 2px; margin: 12px auto 0; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 8px; }
.sheet__head h3 { font-family: var(--font-serif); font-size: 22px; margin: 0; font-weight: 700; }
.sheet__body { padding: 12px 20px; overflow-y: auto; flex: 1; }
.sheet-group { padding: 16px 0; border-bottom: 1px solid var(--border); }
.sheet-group:last-child { border-bottom: 0; }
.sheet-group__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.sheet-group__options { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-opt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sheet-opt.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sheet__foot { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--bg); }
.sheet__foot .btn-primary { justify-content: center; padding: 14px; }
.sheet__foot .btn-ghost { justify-content: center; padding: 14px; }

/* page-tabs skipped - dev-only Prototype navigation */

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .feat-card--lg { grid-column: span 2; }
  .arc-hero__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .brand-strip__inner { padding: 12px 16px; gap: 16px; }
  .brand-nav { display: none; }
  .arc-hero { padding: 40px 20px 32px; }
  .arc-hero__stats { padding-top: 24px; gap: 16px; }
  .cat-strip, .featured, .filterbar, .results { padding-left: 20px; padding-right: 20px; }
  .filterbar { top: 63px; padding: 16px 20px 12px; }
  .filterbar__controls { grid-template-columns: 1fr auto; }
  .filterbar__selects { display: none; }
  .filter-mobile { display: inline-flex; }
  .view-toggle { display: none; }
  .featured-grid { grid-template-columns: 1fr; }
  .feat-card--lg { grid-column: span 1; }
  .feat-card--lg .feat-card__img { aspect-ratio: 16/10; }
  .feat-card--lg .feat-card__title { font-size: 22px; }
  .recipe-grid--magazine, .recipe-grid--editorial { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .recipe-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .rcard__title { font-size: 15px; line-height: 1.25; }
  .rcard__body { padding: 12px 14px 14px; }
  .rcard__meta { font-size: 11px; padding-top: 8px; }
  .rcard__cat { font-size: 10px; }
  .rrow { grid-template-columns: 100px 1fr; gap: 12px; padding: 10px; }
  .rrow__cta { display: none; }
  .rrow h3 { font-size: 17px; margin-bottom: 4px; }
  .rrow__meta { font-size: 12px; gap: 6px; }
  .cat-row { grid-auto-columns: 130px; }
  .cat-pill { min-height: 150px; }
  .arc-hero h1 { max-width: 100%; }
  .page-tabs { top: auto; bottom: 14px; right: 14px; left: 14px; justify-content: center; }
}


/* ===== HOME HERO ===== */
.home-hero { position: relative; padding: 56px 24px 80px; overflow: hidden; }
.home-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.blob--1 { width: 520px; height: 520px; background: rgba(184,85,99,0.18); top: -100px; right: -120px; }
.blob--2 { width: 420px; height: 420px; background: rgba(245,214,90,0.22); bottom: -180px; left: -100px; }
.home-hero__inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.home-hero h1 { font-family: var(--font-serif); font-size: clamp(44px, 6.4vw, 86px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 24px; text-wrap: balance; }
.home-hero h1 em { font-style: italic; color: var(--accent-rose); font-weight: 400; }
.home-hero__lede { font-family: var(--font-serif); font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); max-width: 50ch; line-height: 1.5; margin: 0 0 36px; }

.bigsearch { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 22px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-pill); box-shadow: var(--shadow-md); transition: 0.15s; max-width: 600px; }
.bigsearch:focus-within { border-color: var(--accent-rose); box-shadow: 0 0 0 6px var(--accent-rose-soft), var(--shadow-md); }
.bigsearch > svg { color: var(--ink-3); flex-shrink: 0; }
.bigsearch input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; font-family: inherit; padding: 14px 4px; min-width: 0; }
.bigsearch__btn { display: inline-flex; align-items: center; gap: 6px; padding: 14px 24px; background: var(--ink); color: #fff; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; }
.bigsearch__btn:hover { background: var(--accent-rose); }

.bigsearch__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.bigsearch__hints > span { font-weight: 600; }
.bigsearch__hints button { padding: 5px 11px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.bigsearch__hints button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.home-hero__pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; max-width: 600px; }
.pill-cta { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: 0.18s; text-align: left; }
.pill-cta:hover { border-color: var(--accent-rose); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pill-cta strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.pill-cta em { font-style: normal; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.pill-cta > svg { color: var(--ink-3); flex-shrink: 0; }
.pill-cta--primary { background: var(--ink); border-color: var(--ink); }
.pill-cta--primary strong { color: #fff; }
.pill-cta--primary em { color: rgba(255,255,255,0.7); }
.pill-cta--primary > svg { color: var(--accent-rose); }
.pill-cta--primary:hover { background: var(--accent-rose); border-color: var(--accent-rose); }
.pill-cta--primary:hover > svg { color: #fff; }

/* Featured stack (right column) */
.feat-stack { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 18px; box-shadow: var(--shadow-md); }
.feat-stack__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-rose); padding-bottom: 4px; }
.feat-stack__card { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--bg); transition: 0.18s; }
.feat-stack__card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; transition: 0.5s; }
.feat-stack__card:hover img { transform: scale(1.04); }
.feat-stack__body { padding: 14px 16px 16px; }
.feat-stack__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.feat-stack__body h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin: 6px 0 10px; line-height: 1.18; letter-spacing: -0.015em; text-wrap: balance; }
.feat-stack__meta { display: flex; gap: 10px; font-size: 12px; color: var(--ink-3); align-items: center; }
.feat-stack__meta span:first-child { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-rose); font-weight: 700; }

.feat-stack__strip { display: flex; flex-direction: column; padding-top: 10px; border-top: 1px solid var(--border); }
.strip-row { display: grid; grid-template-columns: auto 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-radius: var(--r-md); transition: 0.15s; }
.strip-row:hover { background: var(--bg); }
.strip-row__rank { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--ink-4); font-variant-numeric: tabular-nums; line-height: 1; min-width: 28px; }
.strip-row img { width: 56px; height: 56px; border-radius: var(--r-md); object-fit: cover; }
.strip-row__cat { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-rose); }
.strip-row__body h4 { font-family: var(--font-serif); font-size: 14px; font-weight: 600; margin: 2px 0 0; line-height: 1.25; letter-spacing: -0.005em; }
.strip-row__time { font-size: 11px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 3px; font-weight: 600; }

/* ===== Section heads (override for home) ===== */
.home .section-head { margin-bottom: 36px; }
.section-sub { font-family: var(--font-serif); font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; margin: 12px 0 0; }

/* ===== HUBS ===== */
.hubs { padding: 72px 24px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.hubs__inner { max-width: var(--maxw); margin: 0 auto; }
.hubs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; transition: 0.22s; border: 1px solid var(--border); position: relative; }
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--hub-color); }
.hub-card--lg { grid-column: span 2; grid-row: span 1; flex-direction: row; }
.hub-card--lg .hub-card__img { width: 50%; flex-shrink: 0; }
.hub-card--lg .hub-card__body { flex: 1; }
.hub-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.hub-card--lg .hub-card__img { aspect-ratio: auto; height: 100%; min-height: 280px; }
.hub-card__img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.hub-card:hover .hub-card__img img { transform: scale(1.05); }
.hub-card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(26,26,26,0.35) 100%); pointer-events: none; }
.hub-card__emoji { position: absolute; bottom: 16px; left: 16px; font-size: 32px; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2)); }
.hub-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.hub-card--lg .hub-card__body { padding: 36px 36px; justify-content: center; }
.hub-card__count { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hub-color); }
.hub-card h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 700; margin: 0; line-height: 1.1; letter-spacing: -0.015em; }
.hub-card--lg h3 { font-size: 40px; }
.hub-card p { font-family: var(--font-serif); font-size: 16px; color: var(--ink-3); margin: 0; }
.hub-card--lg p { font-size: 19px; }
.hub-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 6px; transition: gap 0.2s; }
.hub-card:hover .hub-card__cta { gap: 12px; color: var(--hub-color); }

/* ===== WEEKPLAN ===== */
.weekplan { padding: 80px 24px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.weekplan::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 90% -10%, rgba(184,85,99,0.25), transparent 60%); pointer-events: none; }
.weekplan__inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.weekplan__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.weekplan h2 { font-family: var(--font-serif); font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0; }
.weekplan .section-eyebrow { color: #f5d65a; }
.weekplan .section-sub { color: rgba(255,255,255,0.7); }
.weekplan__cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.weekplan .more-link { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.weekplan .more-link:hover { color: #fff; border-color: #fff; }
.weekplan-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.day-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg); padding: 22px 22px 26px; position: relative; transition: 0.2s; backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.day-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(184,85,99,0.5); transform: translateY(-3px); }
.day-card__day { font-family: var(--font-serif); font-size: 56px; font-weight: 700; line-height: 0.9; color: var(--accent-rose); letter-spacing: -0.04em; }
.day-card__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.day-card h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 600; margin: 0; line-height: 1.22; letter-spacing: -0.01em; flex: 1; text-wrap: balance; }
.day-card__time { font-size: 12px; color: rgba(255,255,255,0.6); display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.day-card__link { position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; transition: 0.18s; }
.day-card:hover .day-card__link { background: var(--accent-rose); transform: rotate(-45deg); }

/* ===== COMBO ===== */
.combo { padding: 72px 24px; }
.combo__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 56px; }
.combo .section-head { margin-bottom: 24px; }
.combo h2 { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin: 0; }

.trend-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.trend-row { display: grid; grid-template-columns: auto 100px 1fr auto; gap: 18px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: 0.18s; }
.trend-row:hover { border-color: var(--accent-rose); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.trend-row__rank { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--ink-4); line-height: 1; font-variant-numeric: tabular-nums; min-width: 44px; }
.trend-row__img { width: 100px; height: 80px; border-radius: var(--r-md); overflow: hidden; }
.trend-row__img img { width: 100%; height: 100%; object-fit: cover; }
.trend-row__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-rose); }
.trend-row__body h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; margin: 4px 0 6px; letter-spacing: -0.01em; line-height: 1.2; }
.trend-row > svg { color: var(--ink-3); transition: 0.18s; }
.trend-row:hover > svg { color: var(--accent-rose); transform: translateX(2px); }

.article-stack { display: flex; flex-direction: column; gap: 14px; }
.article-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: 0.18s; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.article-card__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.article-card h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 600; margin: 0; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.article-card__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--accent-rose); }
.article-card--ghost { background: transparent; border-style: dashed; }
.article-card--ghost > svg { color: var(--accent-rose); }

/* ===== NEWSLETTER ===== */
.newsletter { padding: 72px 24px 96px; }
.newsletter__inner { max-width: 720px; margin: 0 auto; text-align: center; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 56px 40px; position: relative; overflow: hidden; }
.newsletter__art { position: absolute; inset: 0; pointer-events: none; opacity: 0.15; font-family: var(--font-serif); }
.newsletter__art span { position: absolute; font-size: 56px; }
.newsletter__art span:nth-child(1) { top: 24px; left: 30px; color: #f5d65a; }
.newsletter__art span:nth-child(2) { top: 30px; right: 60px; color: var(--accent-rose); font-size: 42px; }
.newsletter__art span:nth-child(3) { bottom: 24px; left: 80px; color: var(--accent-rose); font-size: 36px; }
.newsletter__eb { color: #f5d65a; }
.newsletter h2 { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 14px; line-height: 1.1; text-wrap: balance; }
.newsletter p { color: rgba(255,255,255,0.7); font-family: var(--font-serif); font-size: 17px; margin: 0 0 32px; }
.newsletter__form { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-pill); max-width: 520px; margin: 0 auto; }
.newsletter__form > svg { color: rgba(255,255,255,0.6); flex-shrink: 0; }
.newsletter__form input { flex: 1; border: 0; outline: 0; background: transparent; padding: 14px 8px; font-family: inherit; font-size: 15px; color: #fff; min-width: 0; }
.newsletter__form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter__ok { padding: 18px 24px; background: rgba(101,128,58,0.2); border: 1px solid var(--accent-2); border-radius: var(--r-pill); color: #fff; max-width: 520px; margin: 0 auto; font-weight: 600; }
.newsletter__trust { display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 28px; flex-wrap: wrap; }
.newsletter__trust strong { color: #fff; }
.newsletter__trust .dot { background: rgba(255,255,255,0.3); }

/* ===== SEO CLUSTER ===== */
.seo-cluster { padding: 64px 24px; background: var(--bg-alt); }
.seo-cluster__inner { max-width: var(--maxw); margin: 0 auto; }
.seo-cluster h2 { font-family: var(--font-serif); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 32px; }
.seo-cluster__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.seo-cluster h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-rose); margin: 0 0 14px; }
.seo-cluster ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.seo-cluster a { font-size: 14px; color: var(--ink-2); border-bottom: 1px solid transparent; padding-bottom: 1px; transition: 0.15s; }
.seo-cluster a:hover { color: var(--ink); border-color: var(--ink); }

/* Footer skipped - Astra footer takes over */

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .home-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hubs-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-card--lg { grid-column: span 2; }
  .weekplan-grid { grid-template-columns: repeat(3, 1fr); }
  .day-card:nth-child(n+4) { grid-column: span 1; }
  .combo__inner { grid-template-columns: 1fr; gap: 56px; }
  .seo-cluster__cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
  .home-hero { padding: 32px 20px 56px; }
  .home-hero__pills { grid-template-columns: 1fr; }
  .bigsearch__btn span { display: none; }
  .hubs, .weekplan, .combo, .seo-cluster { padding: 56px 20px; }
  .hubs-grid { grid-template-columns: 1fr; gap: 14px; }
  .hub-card--lg { grid-column: span 1; flex-direction: column; }
  .hub-card--lg .hub-card__img { width: 100%; aspect-ratio: 16/10; min-height: auto; }
  .hub-card--lg .hub-card__body { padding: 22px 24px 26px; }
  .hub-card--lg h3 { font-size: 28px; }
  .hub-card--lg p { font-size: 16px; }
  .weekplan-grid { grid-template-columns: 1fr; }
  .day-card { min-height: auto; flex-direction: row; align-items: center; gap: 16px; padding: 16px; }
  .day-card__day { font-size: 36px; min-width: 60px; }
  .day-card h3 { font-size: 16px; }
  .day-card__link { position: static; }
  .trend-row { grid-template-columns: auto 70px 1fr; gap: 12px; padding: 10px; }
  .trend-row > svg:last-child { display: none; }
  .trend-row__img { width: 70px; height: 70px; }
  .trend-row__rank { font-size: 22px; min-width: 30px; }
  .trend-row__body h3 { font-size: 15px; }
  .seo-cluster__cols { grid-template-columns: 1fr; gap: 28px; }
  .newsletter { padding: 40px 16px 64px; }
  .newsletter__inner { padding: 40px 24px; }
  .newsletter__form { flex-wrap: wrap; padding: 10px; }
  .newsletter__form input { width: 100%; padding: 10px; }
  .newsletter__form .btn-primary { width: 100%; justify-content: center; }
  .foot__inner { flex-direction: column; text-align: center; }
}


/* ============================================================
   ASTRA LAYOUT OVERRIDE (Home + Archive)
   ============================================================
   Damit Hero/Hubs/Recipe-Grid die volle 1280px-Breite nutzen,
   muessen wir Astra's Container-Constraints aufheben.
   ============================================================ */

body.wm-home-page #primary,
body.wm-archive-page #primary,
body.wm-home-page .content-area,
body.wm-archive-page .content-area,
body.wm-home-page .ast-no-sidebar #primary,
body.wm-archive-page .ast-no-sidebar #primary {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  flex: 1 0 100% !important;
}

body.wm-home-page .ast-container,
body.wm-archive-page .ast-container,
body.wm-home-page .site-content > .ast-container,
body.wm-archive-page .site-content > .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.wm-home-page.ast-separate-container .site-content,
body.wm-archive-page.ast-separate-container .site-content,
body.wm-home-page .ast-separate-container .ast-article-single,
body.wm-archive-page .ast-separate-container .ast-article-single {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.wm-home-page #secondary,
body.wm-archive-page #secondary {
  display: none !important;
}

body.wm-home-page .entry-header,
body.wm-archive-page .entry-header,
body.wm-archive-page .ast-archive-description,
body.wm-archive-page .ast-archive-title {
  display: none !important;
}


/* Hub-Card Image Sichtbarkeits-Schutz (gegen Astra/Plugin-Override) */
body.wm-home-page .hub-card__img,
body.wm-home-page .cat-pill__img {
  display: block !important;
}
body.wm-home-page .hub-card__img img,
body.wm-home-page .cat-pill__img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}


/* ============================================================
   ARCHIVE-PAGE: 2-SPALTEN-LAYOUT
   Sidebar (mit Ad-Placement) bleibt erhalten — daneben Recipe-Grid.
   Hero/Cat-Strip/Featured/Filterbar/Newsletter sind FullBleed.
   ============================================================ */

body.wm-archive-page .wm-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  max-width: 1240px;
  margin: 32px auto 0;
  padding: 0 20px;
  align-items: start;
}

body.wm-archive-page .wm-content-grid #secondary {
  position: sticky;
  top: 24px;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  display: block !important;
}

body.wm-archive-page .wm-content-grid #secondary .widget {
  margin-bottom: 24px;
}
body.wm-archive-page .wm-content-grid #secondary .widget:last-child {
  margin-bottom: 0;
}
body.wm-archive-page .wm-content-grid #secondary .widget-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 980px) {
  body.wm-archive-page .wm-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }
  body.wm-archive-page .wm-content-grid #secondary {
    position: static;
  }
}

/* FullBleed: Sektionen die ueber die Sidebar drueber gehen */
body.wm-archive-page .arc-hero,
body.wm-archive-page .cat-strip,
body.wm-archive-page .featured,
body.wm-archive-page .filterbar {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  position: relative;
  left: 0;
}

/* Innere Container behalten 1280px max-width */
body.wm-archive-page .arc-hero__inner,
body.wm-archive-page .cat-strip__inner,
body.wm-archive-page .featured__inner,
body.wm-archive-page .filterbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Astra-Layout-Class neutralisieren auf Archive */
body.wm-archive-page.ast-right-sidebar #primary,
body.wm-archive-page.ast-left-sidebar #primary {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 0 100% !important;
}

/* Astra Standard-Sidebar (ausserhalb unseres .wm-content-grid) ausblenden */
body.wm-archive-page > .hfeed #content > .ast-container > #secondary,
body.wm-archive-page .site-content > .ast-container > #secondary {
  display: none !important;
}

/* HOMEPAGE: explizit KEINE Sidebar (Frontpage hat kein Ad-Placement im Design) */
body.wm-home-page #secondary {
  display: none !important;
}

/* Frontpage Sektionen: alle FullBleed */
body.wm-home-page .home-hero,
body.wm-home-page .hubs,
body.wm-home-page .weekplan,
body.wm-home-page .combo,
body.wm-home-page .newsletter,
body.wm-home-page .seo-cluster {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  position: relative;
  left: 0;
}
body.wm-home-page .home-hero__inner,
body.wm-home-page .hubs__inner,
body.wm-home-page .weekplan__inner,
body.wm-home-page .combo__inner,
body.wm-home-page .newsletter__inner,
body.wm-home-page .seo-cluster__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}


/* overflow-x Schutz und Astra-Header-Cleanup auf Home/Archive */
body.wm-home-page .ast-archive-description,
body.wm-archive-page .ast-archive-description,
body.wm-home-page .ast-archive-title,
body.wm-archive-page .ast-archive-title,
body.wm-home-page .ast-breadcrumbs,
body.wm-archive-page .ast-breadcrumbs {
  display: none !important;
}


/* MOBILE-POLISH Home + Archive ============================== */
@media (max-width: 760px) {
  body.wm-home-page .home-hero,
  body.wm-archive-page .arc-hero {
    padding: 32px 16px;
  }
  body.wm-home-page .home-hero h1,
  body.wm-archive-page .arc-hero h1 {
    font-size: clamp(32px, 9vw, 48px) !important;
  }
  body.wm-home-page .home-hero__pills {
    gap: 8px;
  }
  body.wm-home-page .pill-cta {
    padding: 12px 14px;
    font-size: 13px;
  }
  body.wm-home-page .hubs-grid {
    gap: 12px;
  }
  body.wm-home-page .hub-card--lg h3 {
    font-size: 24px !important;
  }
  body.wm-archive-page .arc-hero__stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
  body.wm-archive-page .arc-hero__stats strong {
    font-size: 22px !important;
  }
  /* Sidebar auf Mobile aus (Ad-Placement nur Desktop) */
  body.wm-archive-page .wm-content-grid #secondary {
    display: none !important;
  }
}

@media (max-width: 380px) {
  body.wm-home-page .bigsearch {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }
  body.wm-home-page .bigsearch input {
    width: 100%;
  }
  body.wm-home-page .bigsearch__btn {
    width: 100%;
    justify-content: center;
  }
}
