/* ═══════════════════════════════════════════════════════════
   Clevere Rezepte – Main Stylesheet
   Design: Warm, einladend, familiär. Mobile First.
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Basis ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --green:       #3a7d44;
    --green-light: #5aab64;
    --green-dark:  #2a5c31;
    --orange:      #e8722a;
    --orange-light:#f5a067;
    --cream:       #faf8f4;
    --white:       #ffffff;
    --gray-50:     #f8f8f8;
    --gray-100:    #f0efec;
    --gray-200:    #e0ddd7;
    --gray-400:    #9d9790;
    --gray-600:    #6b6560;
    --gray-800:    #2c2825;
    --shadow-sm:   0 1px 4px rgba(0,0,0,.07);
    --shadow:      0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:   0 8px 32px rgba(0,0,0,.14);
    --radius:      12px;
    --radius-sm:   8px;
    --radius-lg:   20px;
    --font-body:   'Lato', system-ui, sans-serif;
    --font-head:   'Playfair Display', Georgia, serif;
    --transition:  .2s ease;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--gray-800);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--orange); }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.25; }

/* ── Container ────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    background: var(--white);
    border-bottom: 2px solid var(--green);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    max-width: 1160px; margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex; align-items: center; gap: 32px;
}
.logo {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; flex-shrink: 0;
}
.logo-icon { font-size: 1.5rem; }
.logo-text {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--gray-800);
}
.logo-text strong { color: var(--green); }
.main-nav {
    display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.nav-link {
    padding: 8px 14px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: .9rem;
    color: var(--gray-600); background: none; border: none; cursor: pointer;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--green); background: var(--gray-100); }
.search-link { font-size: 1.1rem; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px; padding: 8px 0;
    z-index: 200;
    columns: 2; gap: 0;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
    display: block; padding: 8px 16px;
    font-size: .875rem; color: var(--gray-800);
    white-space: nowrap;
    break-inside: avoid;
}
.dropdown-item:hover { background: var(--gray-100); color: var(--green); }

/* Mobile nav toggle */
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 8px; margin-left: auto;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--gray-800); border-radius: 2px;
    transition: var(--transition);
}
.nav-overlay { display: none; }

/* ── Hero (Homepage) ──────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
    color: var(--white);
    padding: 64px 20px 48px;
    text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.hero p  { font-size: 1.15rem; opacity: .9; max-width: 560px; margin: 0 auto 32px; }
.hero-search {
    max-width: 540px; margin: 0 auto;
    display: flex; gap: 0;
    background: var(--white); border-radius: 50px; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-search input {
    flex: 1; border: none; padding: 14px 20px;
    font-size: 1rem; font-family: var(--font-body);
    background: transparent; color: var(--gray-800);
    outline: none;
}
.hero-search button {
    background: var(--orange); color: var(--white);
    border: none; padding: 14px 24px;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: var(--transition);
}
.hero-search button:hover { background: var(--orange-light); }

/* ── Kategorie-Pills ──────────────────────────────────────── */
.cat-pills {
    display: flex; flex-wrap: wrap; gap: 10px;
    padding: 24px 0;
    justify-content: center;
}
.cat-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 50px;
    background: var(--white); border: 2px solid var(--gray-200);
    font-size: .875rem; font-weight: 700; color: var(--gray-600);
    cursor: pointer; text-decoration: none;
    transition: var(--transition);
}
.cat-pill:hover, .cat-pill.active {
    background: var(--green); border-color: var(--green);
    color: var(--white);
}

/* ── Section ──────────────────────────────────────────────── */
.section { padding: 48px 0; }
.section-header {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.section-title { font-size: 1.75rem; color: var(--gray-800); }
.section-link  { font-size: .9rem; color: var(--green); font-weight: 700; }
.section-link:hover { color: var(--orange); }

/* ── Rezept-Grid ──────────────────────────────────────────── */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.recipe-grid.large { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

/* ── Rezept-Karte ─────────────────────────────────────────── */
.recipe-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex; flex-direction: column;
    text-decoration: none; color: inherit;
}
.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card-img-wrap {
    position: relative; overflow: hidden;
    padding-top: 66%; /* 3:2 ratio */
    background: var(--gray-100);
}
.card-img-wrap img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.recipe-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--orange); color: var(--white);
    font-size: .75rem; font-weight: 700;
    padding: 4px 10px; border-radius: 50px;
}
.card-tag {
    position: absolute; top: 12px; right: 12px;
    background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
    font-size: .8rem; font-weight: 700;
    padding: 4px 10px; border-radius: 50px;
    color: var(--green);
}
.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-cat  { font-size: .8rem; color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; line-height: 1.35; }
.card-desc  { font-size: .875rem; color: var(--gray-600); flex: 1; }
.card-meta  {
    display: flex; align-items: center; gap: 12px;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--gray-100);
    font-size: .8rem; color: var(--gray-400);
}
.card-meta span { display: flex; align-items: center; gap: 4px; }
.card-stars { margin-top: 8px; }
.star.full  { color: #f5a623; }
.star.half  { color: #f5a623; opacity: .6; }
.star.empty { color: var(--gray-200); }
.rating-count { font-size: .8rem; color: var(--gray-400); }

/* ── Featured / Hero-Karte ────────────────────────────────── */
.recipe-hero-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none; color: inherit;
}
.recipe-hero-card:hover { box-shadow: var(--shadow-lg); }
.recipe-hero-card .card-img-wrap { padding-top: 0; height: 100%; min-height: 320px; }
.recipe-hero-card .card-body { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.recipe-hero-card .card-title { font-size: 1.75rem; }

/* ── Einzelnes Rezept ─────────────────────────────────────── */
.recipe-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}
.recipe-header { margin-bottom: 32px; }
.recipe-title  { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 12px; }
.recipe-meta-bar {
    display: flex; flex-wrap: wrap; gap: 16px;
    margin-bottom: 20px;
}
.meta-item {
    display: flex; align-items: center; gap: 8px;
    background: var(--gray-50); border-radius: var(--radius-sm);
    padding: 8px 14px; font-size: .875rem;
}
.meta-item .meta-label { color: var(--gray-400); font-size: .8rem; }
.meta-item .meta-val   { font-weight: 700; color: var(--gray-800); }
.difficulty-dot {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; margin-right: 4px;
}
.diff-1 { background: #4caf50; }
.diff-2 { background: #ff9800; }
.diff-3 { background: #f44336; }

/* Bild */
.recipe-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}
.recipe-image-wrap img { width: 100%; max-height: 500px; object-fit: cover; }
.ai-badge {
    display: inline-block;
    font-size: .75rem; color: var(--gray-400);
    margin-top: 8px;
}

/* Tags */
.recipe-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.recipe-tag {
    background: var(--gray-100); color: var(--gray-600);
    padding: 4px 12px; border-radius: 50px;
    font-size: .8rem; font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}
.recipe-tag:hover { background: var(--green); color: var(--white); }

/* ── Blog-Content (vom BlogBuilder) ──────────────────────── */
.blog-content p              { margin-bottom: 1.15em; }
.blog-content h2             { font-size: 1.65rem; margin: 2em 0 .6em; color: var(--green); }
.blog-content h3             { font-size: 1.3rem;  margin: 1.6em 0 .5em; color: var(--gray-800); }
.blog-content h4             { font-size: 1.1rem;  margin: 1.3em 0 .4em; }
.blog-content ul,
.blog-content ol             { margin: .8em 0 1.2em 1.4em; }
.blog-content li             { margin-bottom: .4em; }
.blog-content img            { max-width: 100%; height: auto; border-radius: var(--radius-lg);
                               margin: 1.2em 0; box-shadow: var(--shadow); }
.blog-content blockquote     { border-left: 4px solid var(--green); padding: 12px 20px;
                               margin: 1.2em 0; background: var(--green-bg); border-radius: var(--radius); }
.blog-content a              { color: var(--green); text-decoration: underline; }
.blog-content a:hover        { color: var(--green-light); }
.blog-content strong         { color: var(--gray-800); }
.blog-content figcaption,
.blog-content .img-credit    { font-size: .8rem; color: var(--gray-400); margin-top: -8px; margin-bottom: 1em; }

/* Share-Buttons */
.share-bar {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 24px 0;
}
.share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px; border-radius: 50px; border: none; cursor: pointer;
    font-size: .85rem; font-weight: 700; font-family: var(--font-body);
    transition: var(--transition); text-decoration: none;
}
.share-btn.wa    { background: #25d366; color: #fff; }
.share-btn.mail  { background: var(--gray-800); color: #fff; }
.share-btn.copy  { background: var(--gray-100); color: var(--gray-800); border: 2px solid var(--gray-200); }
.share-btn.print { background: var(--gray-100); color: var(--gray-800); border: 2px solid var(--gray-200); }
.share-btn:hover { opacity: .85; }

/* Portionsrechner */
.servings-widget {
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 28px;
}
.servings-widget h3 { font-size: 1rem; margin-bottom: 12px; font-family: var(--font-body); }
.servings-control {
    display: flex; align-items: center; gap: 12px;
}
.servings-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.25); border: none; cursor: pointer;
    font-size: 1.2rem; font-weight: 700; color: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.servings-btn:hover { background: rgba(255,255,255,.4); }
#servings-display {
    font-size: 1.5rem; font-weight: 700;
    min-width: 48px; text-align: center;
}
.servings-label { font-size: .875rem; opacity: .85; }

/* Zutaten */
.recipe-section { margin-bottom: 40px; }
.recipe-section h2 { font-size: 1.4rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-200); }
.ingredients-list { display: flex; flex-direction: column; gap: 8px; }
.ingredient-item {
    display: grid; grid-template-columns: 110px 1fr;
    gap: 12px; padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .95rem;
}
.ingredient-amount { font-weight: 700; color: var(--green); }
.ingredient-name   { color: var(--gray-800); }

/* Zubereitung */
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step-item {
    display: flex; gap: 20px;
    padding: 20px; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.step-num {
    flex-shrink: 0; width: 40px; height: 40px;
    background: var(--green); color: var(--white);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 1rem;
}
.step-text p { font-size: .95rem; line-height: 1.7; }
.step-tip {
    margin-top: 8px; padding: 8px 12px;
    background: #fff8e1; border-left: 3px solid #ffc107;
    border-radius: var(--radius-sm); font-size: .875rem; color: #7d6400;
}

/* Nährwerte */
.nutrition-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.nutrition-item {
    background: var(--white); border-radius: var(--radius);
    padding: 16px 12px; text-align: center;
    box-shadow: var(--shadow-sm);
}
.nutrition-val  { font-size: 1.25rem; font-weight: 700; color: var(--green); }
.nutrition-unit { font-size: .7rem; color: var(--gray-400); }
.nutrition-name { font-size: .8rem; color: var(--gray-600); margin-top: 4px; }

/* Sidebar */
.recipe-sidebar { position: sticky; top: 80px; }
.sidebar-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 24px; margin-bottom: 24px;
}
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 16px; }

/* Affiliate-Produkte */
.affiliate-list { display: flex; flex-direction: column; gap: 12px; }
.affiliate-item {
    display: flex; gap: 12px; align-items: center;
    padding: 12px; background: var(--gray-50); border-radius: var(--radius-sm);
    text-decoration: none; color: inherit;
    transition: var(--transition);
}
.affiliate-item:hover { background: var(--gray-100); }
.affiliate-img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.affiliate-info { flex: 1; }
.affiliate-name { font-size: .85rem; font-weight: 700; color: var(--gray-800); }
.affiliate-price { font-size: .875rem; color: var(--orange); font-weight: 700; }
.affiliate-link { font-size: .75rem; color: var(--green); }
.amazon-badge { font-size: .7rem; color: var(--gray-400); margin-top: 4px; }

/* Rating Widget */
.rating-widget { text-align: center; }
.star-rating { display: flex; justify-content: center; gap: 8px; margin: 12px 0; }
.star-rating input { display: none; }
.star-rating label {
    font-size: 2rem; cursor: pointer; color: var(--gray-200);
    transition: var(--transition);
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: #f5a623; }
.star-rating { flex-direction: row-reverse; }
.star-rating label:hover, .star-rating label:hover ~ label { color: #f5a623; }

/* ── Bewertungs-Formular ──────────────────────────────────── */
.rating-form textarea {
    width: 100%; padding: 10px; border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm); font-family: var(--font-body);
    font-size: .9rem; resize: vertical; margin-bottom: 12px;
}
.rating-form textarea:focus { border-color: var(--green); outline: none; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 50px; border: none;
    font-family: var(--font-body); font-weight: 700; font-size: .95rem;
    cursor: pointer; text-decoration: none; transition: var(--transition);
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-orange  { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: #c85e1e; color: var(--white); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ── Filter-Bar ───────────────────────────────────────────── */
.filter-bar {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.filter-pill {
    padding: 6px 16px; border-radius: 50px;
    border: 2px solid var(--gray-200);
    background: var(--white); color: var(--gray-600);
    font-size: .85rem; font-weight: 700; cursor: pointer;
    text-decoration: none; transition: var(--transition);
}
.filter-pill:hover, .filter-pill.active {
    background: var(--green); border-color: var(--green); color: var(--white);
}

/* ── Pagination ───────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-link {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); border: 2px solid var(--gray-200);
    background: var(--white); color: var(--gray-800);
    font-weight: 700; text-decoration: none;
    transition: var(--transition);
}
.page-link:hover, .page-link.active {
    background: var(--green); border-color: var(--green); color: var(--white);
}

/* ── Blog ─────────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.blog-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    text-decoration: none; color: inherit;
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: .8rem; color: var(--gray-400); margin-bottom: 8px; }
.blog-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.blog-card-exc  { font-size: .875rem; color: var(--gray-600); }

/* ── Cookie Banner ────────────────────────────────────────── */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: var(--gray-800); color: var(--white);
    padding: 20px;
}
.cookie-inner {
    max-width: 900px; margin: 0 auto;
    display: flex; align-items: center; gap: 20px;
    flex-wrap: wrap;
}
.cookie-inner p { flex: 1; font-size: .9rem; min-width: 200px; }
.cookie-inner a { color: var(--orange-light); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Social Sidebar ───────────────────────────────────────── */
.social-links { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.social-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 50px; font-size: .85rem;
    font-weight: 700; text-decoration: none;
}
.social-btn.wa { background: #25d366; color: #fff; }
.social-btn.tg { background: #229ED9; color: #fff; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    background: var(--gray-800); color: #ccc;
    margin-top: 80px; padding: 60px 0 20px;
}
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px; margin-bottom: 48px;
}
.footer-logo { font-family: var(--font-head); font-size: 1.25rem; color: var(--white); }
.footer-col p { font-size: .875rem; margin-top: 12px; line-height: 1.7; }
.footer-col strong { color: var(--white); display: block; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #aaa; font-size: .875rem; }
.footer-col ul a:hover { color: var(--orange-light); }
.footer-note { font-size: .75rem; color: #888; margin-top: 16px; }
.footer-bottom {
    border-top: 1px solid #444; padding-top: 20px;
    font-size: .8rem; text-align: center; color: #888;
}
.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: var(--orange-light); }

/* ── Suche ────────────────────────────────────────────────── */
.search-wrap {
    max-width: 600px; margin: 0 auto 32px;
    display: flex; gap: 0;
    background: var(--white); border: 2px solid var(--gray-200);
    border-radius: 50px; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.search-wrap input {
    flex: 1; border: none; padding: 12px 20px;
    font-size: 1rem; font-family: var(--font-body); outline: none;
}
.search-wrap button {
    padding: 12px 20px; background: var(--green); color: var(--white);
    border: none; cursor: pointer; font-size: 1rem;
    transition: var(--transition);
}
.search-wrap button:hover { background: var(--green-dark); }

/* ── Kein Ergebnis ────────────────────────────────────────── */
.empty-state {
    text-align: center; padding: 80px 20px;
    color: var(--gray-400);
}
.empty-state .emoji { font-size: 4rem; display: block; margin-bottom: 16px; }
.empty-state h2 { font-size: 1.5rem; color: var(--gray-600); margin-bottom: 8px; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: .85rem; color: var(--gray-400);
    margin-bottom: 24px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--gray-200); }

/* ── Legal Pages ──────────────────────────────────────────── */
.legal-page { max-width: 800px; margin: 0 auto; }
.legal-page h1 { font-size: 2rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.3rem; margin: 28px 0 12px; }
.legal-page p, .legal-page li { font-size: .95rem; line-height: 1.8; color: var(--gray-600); margin-bottom: 12px; }
.legal-page ul { margin-left: 20px; list-style: disc; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .recipe-layout { grid-template-columns: 1fr; }
    .recipe-sidebar { position: static; }
    .nutrition-grid { grid-template-columns: repeat(3, 1fr); }
    .recipe-hero-card { grid-template-columns: 1fr; }
    .recipe-hero-card .card-img-wrap { min-height: 260px; }
}
@media (max-width: 768px) {
    .header-inner { gap: 16px; }
    .main-nav { display: none; }
    .main-nav.open {
        display: flex; flex-direction: column; position: fixed;
        top: 64px; right: 0; bottom: 0; width: 280px;
        background: var(--white); box-shadow: var(--shadow-lg);
        padding: 20px; z-index: 101; overflow-y: auto;
    }
    .nav-dropdown:hover .dropdown-menu { display: none; }
    .nav-toggle { display: flex; }
    .nav-overlay {
        display: block; position: fixed; inset: 0; z-index: 100;
        background: rgba(0,0,0,.4); opacity: 0; pointer-events: none;
        transition: opacity .2s;
    }
    body.nav-open .nav-overlay { opacity: 1; pointer-events: all; }
    body.nav-open .main-nav { display: flex; }
    .hero { padding: 40px 20px 32px; }
    .recipe-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .nutrition-grid { grid-template-columns: repeat(2, 1fr); }
    .dropdown-menu { position: static; box-shadow: none; columns: 1; background: var(--gray-50); border-radius: var(--radius-sm); margin-top: 4px; }
}
@media (max-width: 480px) {
    .recipe-grid { grid-template-columns: 1fr; }
    .ingredient-item { grid-template-columns: 90px 1fr; }
    .step-item { flex-direction: column; gap: 12px; }
    .nutrition-grid { grid-template-columns: 1fr 1fr; }
}
