/* foodiyama.com – Themenseiten (Wochenplan für Familien, Einkaufsliste,
   Essensplan ohne Kalorien, Vorrat). Grundgerüst (Tokens, Nav, Footer,
   Cookie-Banner) wie ueber-uns.html / impressum.html, Clean Glass.
   Farben nur über die Tokens unten. */

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

:root {
    color-scheme: dark;
    /* Clean Glass – dunkel (Default) */
    --ground: #121417;
    --ground-glow: #1A1D22;
    --text-primary: #F1F3F5;
    --text-body: #B6BBC2;
    --text-secondary: #7E848D;
    --text-tertiary: #4C5159;
    --accent: #74B4E0;
    --accent-text: #74B4E0;
    --accent-tint: rgba(116, 180, 224, 0.12);
    --accent-tint-border: rgba(116, 180, 224, 0.30);
    --on-accent: #121417;
    --glass-fill-top: rgba(255, 255, 255, 0.075);
    --glass-fill-bottom: rgba(255, 255, 255, 0.025);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-rim: linear-gradient(140deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.22));
    --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 10px 28px rgba(0, 0, 0, 0.30);
    --lens-fill: rgba(255, 255, 255, 0.07);
    --sheet-top: #242628;
    --sheet-bottom: #181A1D;
    --bar-bg: rgba(18, 20, 23, 0.74);
    --hairline: rgba(255, 255, 255, 0.08);
    --track: rgba(255, 255, 255, 0.08);
    --field-fill: rgba(255, 255, 255, 0.05);
    --field-border: rgba(255, 255, 255, 0.10);
    --image-ring: rgba(255, 255, 255, 0.14);
    --image-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    --danger: #EF8A80;
    --success: #7CC79A;
    --warning: #E9A765;
    --logo-filter: none;
}

@media (prefers-color-scheme: light) {
    :root {
        color-scheme: light;
        /* Clean Glass – hell; Schrift-Töne wie Startseite auf WCAG AA angehoben (Sekundär, Akzent-Schrift, Danger, Warning, dunkle Schrift auf Akzent) */
        --ground: #F2F3F5;
        --ground-glow: #FFFFFF;
        --text-primary: #1B1D21;
        --text-body: #4A4F57;
        --text-secondary: #666C75;
        --text-tertiary: #B4B9C0;
        --accent: #74B4E0;
        --accent-text: #2F6FA0;
        --accent-tint: rgba(166, 213, 241, 0.35);
        --accent-tint-border: rgba(116, 180, 224, 0.45);
        --on-accent: #1B1D21;
        --glass-fill-top: rgba(255, 255, 255, 0.72);
        --glass-fill-bottom: rgba(255, 255, 255, 0.42);
        --glass-border: rgba(200, 206, 214, 0.55);
        --glass-rim: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(200, 206, 214, 0.50) 55%, rgba(255, 255, 255, 0.85));
        --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.90);
        --glass-shadow: 0 10px 28px rgba(40, 52, 70, 0.07), 0 1px 3px rgba(40, 52, 70, 0.05);
        --lens-fill: rgba(255, 255, 255, 0.92);
        --sheet-top: #FBFBFC;
        --sheet-bottom: #F8F8F9;
        --bar-bg: rgba(242, 243, 245, 0.80);
        --hairline: rgba(27, 29, 33, 0.08);
        --track: rgba(27, 29, 33, 0.07);
        --field-fill: rgba(255, 255, 255, 0.60);
        --field-border: rgba(200, 206, 214, 0.55);
        --image-ring: rgba(255, 255, 255, 0.90);
        --image-shadow: 0 6px 20px rgba(40, 52, 70, 0.10);
        --danger: #C62828;
        --success: #2E7D32;
        --warning: #B54708;
        --logo-filter: brightness(0) opacity(0.88);
    }
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--ground);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: var(--bar-bg);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--hairline);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.nav-brand img { height: 32px; width: auto; filter: var(--logo-filter); }

.nav-brand span {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 200;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent-text); }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 7rem 2rem 4rem;
}

h1 {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 2.125rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 0.75rem;
}

.content h2 {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}














a.content-link {
    color: var(--accent-text);
    text-decoration: none;
}

a.content-link:hover { text-decoration: underline; }

footer {
    border-top: 1px solid var(--hairline);
    padding: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

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

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Cookie-Banner: deckendes Glas wie ein Sheet */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: linear-gradient(180deg, var(--sheet-top), var(--sheet-bottom));
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -1px 0 var(--glass-border), 0 -12px 40px rgba(0, 0, 0, 0.18);
    padding: 1.25rem 2rem calc(1.25rem + env(safe-area-inset-bottom));
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.cookie-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 240px;
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.6;
}

.cookie-link { color: var(--accent-text); text-decoration: none; }

.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }

.cookie-btn {
    min-height: 44px;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s, background 0.2s;
}

.cookie-btn.primary { background: var(--accent); color: var(--on-accent); border: none; font-weight: 600; }
.cookie-btn.primary:hover { opacity: 0.9; }
.cookie-btn.secondary {
    background: linear-gradient(160deg, var(--glass-fill-top), var(--glass-fill-bottom));
    color: var(--accent-text);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-inner);
}

@media (max-width: 600px) {
    nav { padding: 0.75rem 1rem; }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.75rem; }
    .content { padding: 6rem 1.25rem 3rem; }
    .cookie-banner { padding: 1.1rem 1rem calc(1.1rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 400px) {
    .nav-brand { gap: 0.5rem; }
    .nav-brand img { height: 28px; }
    .nav-brand span { font-size: 1.15rem; }
    .nav-links { gap: 0.65rem; }
    .nav-links a { font-size: 0.72rem; }
}

@media (max-width: 345px) {
    .nav-brand span { display: none; }
}
    
/* ── Artikel ── */
.artikel { max-width: 760px; }

.artikel .overline {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 0.75rem;
}

.artikel .lead {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.7;
}

.artikel h2 {
    text-align: left;
    margin: 3rem 0 1rem;
    font-size: 1.5rem;
}

.artikel p { color: var(--text-body); font-size: 0.975rem; margin-bottom: 1rem; }
.artikel strong { color: var(--text-primary); font-weight: 500; }

/* Clean-Glass-Fläche: Füllverlauf, 1-px-Verlaufsrand 140°, obere Innenkante, weicher Schatten */
.glas {
    position: relative;
    background: linear-gradient(160deg, var(--glass-fill-top), var(--glass-fill-bottom));
    box-shadow: var(--glass-inner), var(--glass-shadow);
    border-radius: 24px;
}
.glas::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--glass-rim);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.punkte { list-style: none; padding: 0.4rem 0; margin: 1.25rem 0 1.5rem; }
.punkte li { position: relative; padding: 0.9rem 1.4rem; }
.punkte li + li::before {
    content: '';
    position: absolute;
    top: 0; left: 1.4rem; right: 1.4rem;
    height: 1px;
    background: var(--hairline);
}
.punkte strong { display: block; font-size: 0.975rem; line-height: 1.4; }
.punkte span { display: block; margin-top: 0.15rem; font-size: 0.925rem; line-height: 1.55; color: var(--text-body); }

.schritte { list-style: none; counter-reset: schritt; margin: 1.25rem 0 1.5rem; }
.schritte li {
    counter-increment: schritt;
    position: relative;
    padding: 0 0 1.1rem 2.75rem;
    color: var(--text-body);
    font-size: 0.975rem;
}
.schritte li::before {
    content: counter(schritt);
    position: absolute;
    left: 0; top: 0.05rem;
    width: 1.85rem; height: 1.85rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-text);
    background: var(--accent-tint);
    border: 1px solid var(--accent-tint-border);
}

.hinweis {
    padding: 1.1rem 1.4rem;
    margin: 1.5rem 0;
}
.artikel .hinweis p { font-size: 0.925rem; margin: 0; }

.cta {
    margin-top: 3.5rem;
    padding: 2rem 1.75rem;
    text-align: center;
}
.artikel .cta h2 { text-align: center; margin: 0 0 0.5rem; }
.artikel .cta p { margin-bottom: 1.25rem; }
.cta-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}
.cta-btn:hover { opacity: 0.9; }
.artikel .cta .cta-note { margin: 1rem 0 0; font-size: 0.825rem; color: var(--text-secondary); }

.weiter { margin-top: 3.5rem; }
.artikel .weiter h2 { text-align: center; margin-top: 0; }
.weiter-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}
.weiter-grid a {
    display: block;
    height: 100%;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s;
}
.weiter-grid a:hover { transform: translateY(-2px); }
.weiter-grid strong { display: block; font-weight: 500; font-size: 0.975rem; }
.weiter-grid span { display: block; margin-top: 0.2rem; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

@media (max-width: 600px) {
    .artikel .lead { font-size: 1rem; margin-bottom: 2.25rem; }
    .artikel h2 { font-size: 1.3rem; margin-top: 2.5rem; }
    .cta { padding: 1.6rem 1.1rem; }
    .nav-links { gap: 0.8rem; }
}

.footer-social { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text-secondary); transition: color .2s; }
.footer-social a:hover { color: var(--accent-text); }
