/*
Theme Name: Kind-Ratgeber Magazin
Theme URI: https://kind-ratgeber.org
Description: Magazin-Theme für Eltern-Ratgeber
Author: Kind-Ratgeber Redaktion
Version: 1.0
Text Domain: kind-ratgeber
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-bg: #FAF7F4;
    --color-bg-light: #F0ECE8;
    --color-bg-warm: #FAF7F4;
    --color-text: #1E2E3D;
    --color-text-light: #7A8490;
    --color-text-muted: #A0A9B3;
    --color-accent: #3D5A7A;
    --color-accent-light: #C5D4E3;
    --color-accent-bg: #F0ECE8;
    --color-accent-dark: #A84E3E;
    --color-border: #E0D9D3;
    --color-border-light: #F0ECE8;
    --color-link: #3D5A7A;
    --color-category: #C96B5A;
    --color-cta: #C96B5A;
    --color-cta-hover: #A84E3E;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
    --max-width: 1200px;
    --content-width: 780px;
    --radius: 8px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-light); }

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

/* ===== HEADER ===== */
.site-header {
    background: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* --- Shared nav styles --- */
.site-header ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.site-header nav a {
    color: var(--color-text-light);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.4rem 0;
    position: relative;
    transition: color var(--transition);
}

.site-header nav a:hover { color: var(--color-text); }

.site-header nav .current-cat a,
.site-header nav .current-menu-item a { color: var(--color-accent); }

/* --- EXPANDED STATE (scrolled to top) --- */
.header-expanded {
    max-width: var(--max-width);
    margin: 0 auto;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
}

.header-logo-row {
    padding: 1.5rem 1.5rem 0.75rem;
    text-align: center;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.site-logo span { color: var(--color-accent); }

.header-nav-row {
    padding: 0 0 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.header-nav-row::-webkit-scrollbar { display: none; }

.header-nav-row ul {
    justify-content: center;
    gap: 2rem;
    padding: 0 1.5rem;
}

/* --- COMPACT STATE (scrolled down) --- */
.header-compact {
    max-width: var(--max-width);
    margin: 0 auto;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.header-compact-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0.7rem 1.5rem;
}

.site-logo-compact {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.site-logo-compact span { color: var(--color-accent); }

.header-nav-compact {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
}

.header-nav-compact::-webkit-scrollbar { display: none; }

.header-nav-compact ul {
    gap: 1.75rem;
    padding: 0;
}

.header-nav-compact a {
    font-size: 0.75rem !important;
}

/* --- Toggle between states --- */
.site-header.is-shrunk .header-expanded {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.site-header.is-shrunk .header-compact {
    max-height: 80px;
    opacity: 1;
}

/* Divider line below nav */
.header-divider {
    border-bottom: 1px solid var(--color-border);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ===== BURGER TOGGLE BUTTON ===== */
.burger-toggle {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    z-index: 101;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.25rem;
    line-height: 1;
    transition: opacity var(--transition);
}

.burger-toggle:hover { opacity: 0.6; }

.site-header.is-shrunk .burger-toggle {
    top: 0.65rem;
}

/* ===== BURGER MENU OVERLAY ===== */
.burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.4s, opacity 0.4s ease;
}

.burger-overlay.is-open {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.4s ease;
}

.burger-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.burger-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 360px;
    height: 100%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.burger-overlay.is-open .burger-panel {
    transform: translateX(0);
}

.burger-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.burger-close:hover { opacity: 1; }

/* Burger Nav */
.burger-nav {
    padding: 4rem 1.5rem 2rem;
    flex: 1;
}

.burger-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.burger-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.burger-nav a {
    display: block;
    padding: 0.9rem 0;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity var(--transition);
}

.burger-nav a:hover {
    opacity: 0.7;
    color: #fff;
}

/* Burger Footer */
.burger-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.burger-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
}

.burger-footer-links a {
    color: #fff;
    font-size: 0.8rem;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.burger-footer-links a:hover { opacity: 1; color: #fff; }

/* ===== MOBILE: burger panel full width ===== */
@media (max-width: 768px) {
    .burger-panel { width: 100%; }
}

.nav-toggle {
    display: none;
}

/* ===== HERO SECTION (Homepage) ===== */
.hero-section {
    background: var(--color-bg);
    padding: 2rem 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* --- 3-column grid --- */
.hero-three-col {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

/* --- Side columns (left + right) --- */
.hero-side-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-side-item a {
    display: block;
    color: inherit;
}

.hero-side-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 0.6rem;
}

.hero-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-side-item:hover .hero-side-image img { transform: scale(1.03); }

.hero-side-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg-light);
}

.hero-side-text .card-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-category);
    margin-bottom: 0.25rem;
}

.hero-side-text .card-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--color-text);
}

/* --- Center: Featured article --- */
.hero-featured a {
    display: block;
    color: inherit;
    text-align: center;
}

.hero-featured-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.hero-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-featured:hover .hero-featured-image img { transform: scale(1.03); }

.hero-featured-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg-light);
    min-height: 280px;
}

.hero-featured-body {
    padding: 0 0.5rem;
}

.hero-featured-body .card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-category);
    margin-bottom: 0.4rem;
}

.hero-featured-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.6rem;
}

.hero-featured-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --- Mobile list (hidden on desktop) --- */
.hero-mobile-list {
    display: none;
    padding: 0 1.5rem;
}

.hero-mobile-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-light);
    color: inherit;
}

.hero-mobile-item:last-child { border-bottom: none; }

.hero-mobile-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.hero-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-mobile-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg-light);
}

.hero-mobile-text .card-category {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-category);
    margin-bottom: 0.15rem;
}

.hero-mobile-text .card-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-text);
}

/* ===== CONTENT SECTIONS ===== */
.content-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3rem 0;
}

.section + .section { border-top: 1px solid var(--color-border-light); }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    position: relative;
    padding-left: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.section-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
}

.section-link:hover { text-decoration: underline; }

/* ===== ARTICLE GRID ===== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.article-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.article-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.article-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition), transform var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-card a { display: block; color: inherit; }

.article-card .card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-light);
}

.article-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .card-image img { transform: scale(1.05); }

.article-card .card-body { padding: 1.25rem; }

.article-card .card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-category);
    margin-bottom: 0.4rem;
}

.article-card .card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.article-card .card-excerpt {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.article-card .card-meta img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== SINGLE ARTICLE ===== */
.article-header {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 0;
}

.article-header .breadcrumb {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.article-header .breadcrumb a { color: var(--color-text-light); }
.article-header .breadcrumb a:hover { color: var(--color-accent); }
.article-header .breadcrumb .sep { margin: 0 0.4rem; }

.article-header .article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-category);
    margin-bottom: 0.75rem;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.article-header .article-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.article-meta .author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.article-meta .meta-text { font-size: 0.85rem; }
.article-meta .author-name { font-weight: 600; color: var(--color-text); }
.article-meta .meta-date { color: var(--color-text-muted); }
.article-meta .meta-reading-time { color: var(--color-text-muted); }

.article-hero-image {
    max-width: 960px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}

.article-hero-image img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Article Body */
.article-body {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--color-text);
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.article-body ul, .article-body ol {
    margin: 0 0 1.5rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body li { margin-bottom: 0.5rem; }

.article-body blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--color-accent-bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--color-text-light);
}

.article-body img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

/* Table of Contents */
.toc-box {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin: 0 0 2.5rem;
}

.toc-box .toc-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.toc-box ol {
    list-style: decimal;
    margin: 0 0 0 1.25rem;
    font-size: 0.9rem;
}

.toc-box li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.toc-box a { color: var(--color-accent); }
.toc-box a:hover { text-decoration: underline; }

/* Expert Tip / Info Box */
.info-box {
    background: var(--color-accent-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box .info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.info-box p {
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.6 !important;
}

.info-box p:last-child { margin-bottom: 0 !important; }

/* sofatutor CTA Box */
.cta-box {
    background: linear-gradient(135deg, #F0ECE8 0%, #C5D4E3 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.cta-box .cta-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.cta-box .cta-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-box .cta-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .cta-button {
    display: inline-block;
    background: var(--color-cta);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background var(--transition), transform var(--transition);
}

.cta-box .cta-button:hover {
    background: var(--color-cta-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* Sidebar Banner */
.sidebar-banner {
    background: var(--color-accent-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.sidebar-banner .banner-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.sidebar-banner .banner-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sidebar-banner .banner-text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.sidebar-banner .banner-button {
    display: inline-block;
    background: var(--color-cta);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background var(--transition);
}

.sidebar-banner .banner-button:hover { background: var(--color-cta-hover); color: #fff; }

/* =====================================================
 * Pieter-Pattern-Library (sofatutor Advertorial DNA)
 * Aligned naming with sofatutor.com/magazin vocabulary.
 * ===================================================== */

/* --- Button-Basis --- */
.article-body .btn,
.sticky-cta .btn {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: var(--color-accent);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background var(--transition);
    box-shadow: 0 4px 14px rgba(30, 46, 61, 0.1);
    font-family: var(--font-body);
}

.article-body .btn:hover,
.sticky-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 46, 61, 0.15);
    color: var(--color-accent);
}

.article-body .btn-primary {
    background: var(--color-cta);
    color: #fff;
}

.article-body .btn-primary:hover {
    background: var(--color-cta-hover);
    color: #fff;
}

.article-body .btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Eyebrow (Label über Titel oder Section) --- */
.article-body .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-cta);
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

/* --- Takeaways Box (Das Wichtigste in Kürze) --- */
.article-body .takeaways {
    background: linear-gradient(135deg, rgba(61, 90, 122, 0.05) 0%, rgba(197, 212, 227, 0.25) 100%);
    border: 2px solid rgba(61, 90, 122, 0.2);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin: 2rem 0;
}

.article-body .takeaways h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    font-family: var(--font-body);
    font-weight: 700;
}

.article-body .takeaways ul {
    margin: 0;
    padding-left: 1.25rem;
}

.article-body .takeaways ul li { font-size: 1rem; margin-bottom: 0.5rem; }
.article-body .takeaways ul li:last-child { margin-bottom: 0; }

/* --- Checklist (mit ☐ Markern, für Self-Assessment) --- */
.article-body .checklist {
    background: var(--color-bg-light);
    padding: 1.25rem 1.5rem 0.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--color-accent);
    margin: 1.5rem 0;
}

.article-body .checklist ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.article-body .checklist li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.article-body .checklist li::before {
    content: "☐";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
}

/* --- Plan-Table (Multi-Wochen-Pläne, Roadmaps) --- */
.article-body .plan-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.95rem;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.article-body .plan-table thead { background: var(--color-accent); color: #fff; }

.article-body .plan-table th {
    padding: 0.9rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    font-family: var(--font-body);
}

.article-body .plan-table td {
    padding: 0.9rem 1rem;
    border-top: 1px solid var(--color-border);
    vertical-align: top;
}

.article-body .plan-table tbody tr:hover { background: rgba(61, 90, 122, 0.05); }

.article-body .plan-table tbody tr td:first-child {
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
}

/* --- Objection Box (Einwände adressieren) --- */
.article-body .objection {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--color-cta);
}

.article-body .objection strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-size: 1.05rem;
}

/* --- Testimonial (Zitat kurz, mit cite) --- */
.article-body .testimonial {
    font-style: italic;
    padding: 0.75rem 1.25rem;
    border-left: 3px solid var(--color-accent-light);
    margin: 1rem 0;
    color: var(--color-text-light);
    background: none;
}

.article-body .testimonial cite {
    display: block;
    font-style: normal;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    color: var(--color-text-light);
}

/* --- Social Proof Block --- */
.article-body .social-proof {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    border: 1px solid var(--color-border);
}

.article-body .social-proof ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.25rem;
    display: grid;
    gap: 0.6rem;
}

.article-body .social-proof ul li {
    padding-left: 1.75rem;
    position: relative;
}

.article-body .social-proof ul li::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-cta);
    font-weight: 700;
}

/* --- Chart-Wrapper --- */
.article-body .chart {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.article-body .chart svg { width: 100%; height: auto; display: block; }

/* --- Disclaimer --- */
.article-body .disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
    line-height: 1.5;
}

.cta-product .disclaimer,
.cta-closer .disclaimer { color: rgba(255, 255, 255, 0.85); }

/* --- CTA Product (Produkt-Vorstellung mit Benefit-Liste, mid-article) --- */
.article-body .cta-product {
    margin: 3rem 0;
    padding: 2.25rem 2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--color-accent) 0%, #5A7A9A 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.article-body .cta-product h3 {
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.article-body .cta-product ul {
    color: #fff;
    line-height: 1.8;
    margin-left: 1.25rem;
}

.article-body .cta-product ul li { color: rgba(255, 255, 255, 0.96); margin-bottom: 0.35rem; }
.article-body .cta-product strong { color: #fff; }
.article-body .cta-product a { color: #fff; text-decoration: underline; }

/* --- CTA Inline (kleine Mid-Article-CTA) --- */
.article-body .cta-inline {
    margin: 2.5rem 0;
    padding: 1.5rem;
    border: 2px solid var(--color-accent-light);
    border-radius: var(--radius);
    text-align: center;
    background: var(--color-bg-light);
}

.article-body .cta-inline p {
    margin: 0 0 0.9rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text);
}

/* --- CTA Closer (finale CTA am Artikel-Ende) --- */
.article-body .cta-closer {
    margin: 3.5rem 0 1.5rem;
    padding: 2.75rem 2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--color-accent) 0%, #5A7A9A 100%);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.article-body .cta-closer h3 {
    color: #fff;
    margin: 0 0 0.9rem;
    font-size: 1.65rem;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.article-body .cta-closer p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Wenn Sticky-CTA aktiv ist, Body-Unterrand freihalten */
body.single-post { padding-bottom: 72px; }

/* --- Sticky CTA (Floating Bottom Bar) --- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(61, 90, 122, 0.98);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

.sticky-cta p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}

.sticky-cta .btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .sticky-cta p { font-size: 0.8rem; }
    .article-body .cta-product,
    .article-body .cta-closer { padding: 1.75rem 1.25rem; }
}

/* --- FAQ Accordion (Pieter-Naming: .faq + .faq-body) --- */
.article-body details.faq {
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.article-body details.faq:first-of-type {
    border-top: 1px solid var(--color-border);
}

.article-body details.faq > summary {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.4rem 2.25rem 0.4rem 0;
    list-style: none;
    position: relative;
    color: var(--color-text);
    transition: color var(--transition);
}

.article-body details.faq > summary::-webkit-details-marker { display: none; }

.article-body details.faq > summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-cta);
    font-weight: 300;
    line-height: 1;
    transition: transform 0.2s ease;
}

.article-body details.faq[open] > summary::after {
    content: "−";
}

.article-body details.faq > summary:hover { color: var(--color-cta); }

.article-body details.faq > .faq-body {
    padding-top: 0.75rem;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.7;
}

.article-body details.faq > .faq-body p {
    margin-bottom: 0.9rem;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

.article-body details.faq > .faq-body p:last-child { margin-bottom: 0; }

/* --- Banner Slot (Platzhalter für designte Banner) --- */
.article-body .banner-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--color-accent-bg) 0%, var(--color-accent-light) 100%);
    border: 1px dashed var(--color-accent);
    border-radius: var(--radius);
    padding: 2.25rem 1.5rem;
    margin: 2.5rem 0;
    text-align: center;
    min-height: 140px;
}

.article-body .banner-slot a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.article-body .banner-slot .slot-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    opacity: 0.7;
}

.article-body .banner-slot .slot-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0.3rem 0;
}

.article-body .banner-slot .slot-sub {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: italic;
}

.article-body .banner-slot .slot-cta {
    display: inline-block;
    margin-top: 0.75rem;
    background: var(--color-cta);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--transition);
}

.article-body .banner-slot:hover .slot-cta { background: var(--color-cta-hover); }

/* --- Inline Funnel-Link (sofatutor-Mention im Fließtext) --- */
.article-body a.funnel-link {
    background: linear-gradient(to bottom, transparent 62%, var(--color-accent-light) 62%);
    color: var(--color-text);
    font-weight: 600;
    padding: 0 2px;
    text-decoration: none;
    transition: background var(--transition);
}

.article-body a.funnel-link:hover {
    background: var(--color-accent-light);
    color: var(--color-text);
}

/* Related Articles (Article Bottom) */
.related-articles {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--color-border);
}

.related-articles .section-title { margin-bottom: 1.5rem; }

/* Author Box */
.author-box {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    border-top: 1px solid var(--color-border);
}

.author-box .author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box .author-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.author-box .author-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.author-box .author-bio {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== ARCHIVE / CATEGORY PAGE ===== */
.archive-header {
    background: var(--color-bg-light);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.archive-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.archive-header .breadcrumb {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.archive-header .breadcrumb a { color: var(--color-text-light); }

.archive-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.archive-header .archive-description {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 600px;
    line-height: 1.6;
}

.archive-body {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

/* ===== SIDEBAR ===== */
.sidebar {}

.sidebar-widget {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border-light);
}

.sidebar-widget:last-child { border-bottom: none; }

.sidebar-widget .widget-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--color-accent);
}

.sidebar-widget ul { list-style: none; }

.sidebar-widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.sidebar-widget li:last-child { border-bottom: none; }

.sidebar-widget li a {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.sidebar-widget li a:hover { color: var(--color-accent); }

.popular-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.popular-item:last-child { border-bottom: none; }

.popular-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.popular-item .popular-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
}

.popular-item .popular-category {
    font-size: 0.7rem;
    color: var(--color-category);
    text-transform: uppercase;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-text);
    color: var(--color-accent-light);
    margin-top: 3rem;
}

.footer-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-brand .footer-logo span { color: var(--color-cta); }

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

.footer-col .footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
    color: var(--color-text-light);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #2A3B50;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.footer-bottom a { color: var(--color-text-light); }

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    transition: all var(--transition);
}

.pagination a:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.pagination .current {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .archive-body { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-three-col { display: block; }
    .hero-side-col { display: none; }
    .hero-mobile-list { display: block; margin-top: 1rem; }
    .hero-featured-title { font-size: 1.2rem; }
    .article-grid { grid-template-columns: 1fr; }
    .article-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .article-grid.cols-2 { grid-template-columns: 1fr; }
    .header-logo-row { padding: 1rem 1.5rem 0.5rem; }
    .site-logo { font-size: 1.5rem; }
    .header-nav-row ul,
    .header-nav-compact ul {
        justify-content: flex-start;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .header-compact-inner { gap: 1.5rem; padding: 0.5rem 1rem; }
    .site-logo-compact { font-size: 1.1rem; }
    .article-header h1 { font-size: 1.6rem; }
    .footer-main { grid-template-columns: 1fr; }
}

/* =========================================================
   NEW INGREDIENTS (2026-04-22, mobile-first magazine)
   ========================================================= */

/* Pull-Quote (GEO-Magazin-Stil) — Schlüsselzitat aus nächstem Absatz */
.pullquote {
    margin: 2rem 0;
    padding: 1.5rem 1rem 1.5rem 1.5rem;
    border-left: 4px solid var(--color-cta);
    font-size: 1.4rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--color-accent);
    font-style: italic;
    letter-spacing: -0.01em;
}
.pullquote::before { content: "„"; font-size: 1.6em; line-height: 0; vertical-align: -0.1em; margin-right: 0.1em; color: var(--color-cta); }
.pullquote::after { content: "\201C"; }
@media (min-width: 768px) {
    .pullquote {
        font-size: 1.7rem;
        padding: 2rem 2rem 2rem 2.5rem;
    }
}

/* Highlight-Boxen: Tip / Warning / Info / Pro */
.highlight {
    margin: 1.5rem 0;
    padding: 1.1rem 1.25rem;
    border-radius: 8px;
    border-left: 4px solid;
    font-size: 0.98rem;
    line-height: 1.55;
}
.highlight strong.highlight-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}
.highlight p:last-child { margin-bottom: 0; }
.highlight.tip { background: #EAF4E8; border-left-color: #4A7F3A; }
.highlight.tip strong.highlight-label { color: #4A7F3A; }
.highlight.warning { background: #FBEDE4; border-left-color: #C96B5A; }
.highlight.warning strong.highlight-label { color: #A84E3E; }
.highlight.info { background: #E8EEF5; border-left-color: #3D5A7A; }
.highlight.info strong.highlight-label { color: #3D5A7A; }
.highlight.pro { background: #F4EDE1; border-left-color: #B8873D; }
.highlight.pro strong.highlight-label { color: #8C6729; }

/* Image-Placeholder (für ChatGPT-Grafik-Prompts + Platzhalter-Fotos) */
.image-placeholder {
    margin: 1.75rem 0;
    padding: 2rem 1.25rem;
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    background: var(--color-bg-light);
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.88rem;
    line-height: 1.5;
}
.image-placeholder .ph-icon {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    opacity: 0.55;
}
.image-placeholder .ph-label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}
.image-placeholder .ph-prompt {
    display: block;
    font-style: italic;
    max-width: 540px;
    margin: 0 auto;
    color: var(--color-text);
}

/* Aktion-CTA (4. Stufe Sonderpreis / Urgency) */
.cta-aktion {
    margin: 2rem 0;
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #FBEDE4 0%, #F4E0D1 100%);
    border: 2px solid var(--color-cta);
    text-align: center;
    position: relative;
}
.cta-aktion .aktion-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-cta);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}
.cta-aktion .aktion-headline {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0.5rem 0 0.5rem;
    line-height: 1.25;
}
.cta-aktion p { margin: 0 0 0.8rem; font-size: 0.95rem; }
.cta-aktion .btn { margin-top: 0.4rem; }
.cta-aktion .aktion-fine { font-size: 0.78rem; color: var(--color-text-light); margin-top: 0.6rem; }

/* Quiz-Curiosity-CTA (1. Stufe soft) */
.cta-quiz {
    margin: 1.75rem 0;
    padding: 1.25rem 1.25rem;
    border-radius: 10px;
    background: var(--color-accent-bg);
    border-left: 4px solid var(--color-accent);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.cta-quiz .quiz-headline {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.02rem;
}
.cta-quiz p { margin: 0; font-size: 0.95rem; }
.cta-quiz a.funnel-link { align-self: flex-start; }

/* Author-Footer (Persona + Redaktion) */
.author-footer {
    margin: 2.5rem 0 1.5rem;
    padding: 1.5rem 1.25rem;
    background: var(--color-bg-light);
    border-radius: 12px;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.author-footer .author-img {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.author-footer .author-body { flex: 1; min-width: 0; }
.author-footer .author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0 0 0.15rem;
}
.author-footer .author-role {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin: 0 0 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.author-footer .author-bio {
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0 0 0.5rem;
    color: var(--color-text);
}
.author-footer .author-more,
.author-footer .author-more a {
    font-size: 0.88rem;
    color: var(--color-accent);
    font-weight: 600;
    margin: 0;
}
.author-footer .author-disclaimer {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .author-footer { flex-direction: column; align-items: flex-start; padding: 1.25rem 1rem; }
    .author-footer .author-img { width: 72px; height: 72px; flex-basis: auto; }
}

/* Jump-Navigation (inhaltsverzeichnis bei langen Artikeln) */
.jumpnav {
    margin: 1.5rem 0 2rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg-light);
    border-radius: 8px;
    font-size: 0.92rem;
}
.jumpnav strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-light); margin-bottom: 0.4rem; }
.jumpnav ol { margin: 0; padding-left: 1.25rem; }
.jumpnav li { margin: 0.2rem 0; }
.jumpnav a { color: var(--color-accent); }

