/*
Theme Name: Motor Kompakt
Theme URI: https://motor-kompakt.de
Author: Maik Möhring Media
Author URI: https://maik-moehring.media
Description: High-Performance-Cockpit-Design für motor-kompakt.de. Das unabhängige Motor-Portal mit interaktiven Tools, OBD2-Fehlercodes, Motoröl-Finder und Wallbox-Vergleich. Typografie: Unbounded + Instrument Sans + JetBrains Mono. Pure CSS, kein JS-Ballast, Sub-Sekunden-Ladezeit. SEO-optimiert mit Schema.org-Markup, semantischem HTML5 und vollständiger EEAT-Struktur.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: motor-kompakt
Tags: blog, news, magazine, custom-menu, featured-images, threaded-comments, translation-ready, seo-optimized
*/

/* ============================================================
   DESIGN TOKENS - Cockpit Color System
   ============================================================ */
:root {
    --bg-black: #0A0A0B;
    --bg-deep: #111114;
    --bg-card: #16161A;
    --bg-paper: #F5F3EC;
    --ink: #0A0A0B;
    --ink-soft: #3A3A3F;
    --ink-muted: #6B6B70;
    --line: #1F1F24;
    --line-paper: #D8D4C8;

    --signal: #FFB300;
    --signal-hot: #FF4D1A;
    --signal-ok: #00D084;
    --signal-cool: #4DB5FF;

    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Instrument Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --container: 1440px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-black);
    color: var(--bg-paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ============================================================
   TICKER BAR
   ============================================================ */
.ticker {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}
.ticker-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 48px;
    white-space: nowrap;
    animation: mk-ticker-scroll 60s linear infinite;
    width: max-content;
    will-change: transform;
}
.ticker span {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.ticker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.ticker .dot.green { background: var(--signal-ok); box-shadow: 0 0 8px var(--signal-ok); }
.ticker .dot.blue { background: var(--signal-cool); box-shadow: 0 0 8px var(--signal-cool); }
.ticker strong { color: var(--bg-paper); font-weight: 700; }
@keyframes mk-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,11,0.85);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--bg-paper);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    width: 28px; height: 28px;
    background: var(--signal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 13px;
    color: var(--bg-black);
    transform: skewX(-8deg);
}
.logo-mark span { transform: skewX(8deg); }
.logo em { font-style: normal; color: var(--signal); font-weight: 400; }

.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links li { position: relative; }
.nav-links a {
    color: var(--bg-paper);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.nav-links a:hover,
.nav-links .current-menu-item a { opacity: 1; color: var(--signal); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-paper);
    color: var(--bg-black);
    padding: 10px 18px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
    letter-spacing: -0.01em;
}
.nav-cta:hover { transform: translateY(-1px); }

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--bg-paper);
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px 32px 100px;
    position: relative;
}
.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--signal); }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    color: var(--bg-paper);
}
.hero-title em { font-style: normal; color: var(--signal); font-weight: 400; display: block; }
.hero-title .accent {
    font-style: italic;
    font-weight: 400;
    font-family: 'Instrument Sans', serif;
    letter-spacing: -0.02em;
    color: var(--ink-muted);
    font-size: 0.85em;
}

.hero-sub {
    font-size: 20px;
    line-height: 1.5;
    color: var(--ink-muted);
    max-width: 620px;
    margin-bottom: 48px;
    font-weight: 400;
}
.hero-sub strong { color: var(--bg-paper); font-weight: 500; }

.hero-search {
    max-width: 720px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 6px;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 24px;
    transition: border-color 0.2s;
    position: relative;
}
.hero-search:focus-within { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(255,179,0,0.08); }
.hero-search-label {
    background: var(--signal);
    color: var(--bg-black);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0 18px;
    display: flex;
    align-items: center;
    border-radius: 2px;
}
.hero-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--bg-paper);
    font-family: var(--font-mono);
    font-size: 17px;
    padding: 18px 20px;
    letter-spacing: 0.02em;
    min-width: 0;
}
.hero-search input::placeholder { color: var(--ink-muted); }
.hero-search button {
    background: var(--bg-paper);
    color: var(--bg-black);
    border: none;
    padding: 0 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
    letter-spacing: -0.01em;
}
.hero-search button:hover { background: var(--signal); }

.hero-hints { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 72px; }
.hero-hints a {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-muted);
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s;
}
.hero-hints a:hover { border-color: var(--signal); color: var(--signal); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 48px;
}
.stat { padding: 28px 24px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--bg-paper);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.stat-num sup { font-size: 18px; color: var(--signal); font-weight: 400; }
.stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: 10px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { max-width: var(--container); margin: 0 auto; padding: 120px 32px; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 40px;
    flex-wrap: wrap;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.95;
    max-width: 720px;
}
.section-head h2 em {
    font-style: italic;
    font-family: 'Instrument Sans', serif;
    color: var(--signal);
    font-weight: 400;
}
.section-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-align: right;
}
.section-meta div:first-child { color: var(--signal); margin-bottom: 4px; }

/* ============================================================
   TOOLS GRID
   ============================================================ */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
}
.tool {
    background: var(--bg-deep);
    padding: 40px 32px 32px;
    transition: all 0.3s;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--bg-paper);
}
.tool:hover { background: var(--bg-card); }
.tool-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--ink-muted);
    margin-bottom: 24px;
}
.tool-num .num { color: var(--signal); }
.tool-visual { height: 120px; margin-bottom: 28px; display: flex; align-items: center; justify-content: center; }
.tool h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.1;
}
.tool p { color: var(--ink-muted); font-size: 15px; margin-bottom: 24px; line-height: 1.55; flex: 1; }
.tool-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tool-tags span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    background: rgba(255,179,0,0.1);
    color: var(--signal);
    border-radius: 2px;
}
.tool-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bg-paper);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.tool-cta svg { transition: transform 0.3s; }
.tool:hover .tool-cta svg { transform: translateX(6px); }

/* ============================================================
   FEATURED BLOCK (Paper)
   ============================================================ */
.featured {
    background: var(--bg-paper);
    color: var(--ink);
    padding: 120px 32px;
    position: relative;
}
.featured-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.featured-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--signal-hot);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.featured-label::before {
    content: ''; width: 8px; height: 8px;
    background: var(--signal-hot); border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.featured h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.98;
    margin-bottom: 28px;
    color: var(--ink);
}
.featured h2 em { font-style: italic; font-family: 'Instrument Sans', serif; color: var(--ink-soft); font-weight: 400; }
.featured-text { color: var(--ink-soft); font-size: 17px; line-height: 1.6; margin-bottom: 32px; }
.featured-stats { display: flex; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.featured-stat { padding-left: 16px; border-left: 2px solid var(--signal); }
.featured-stat .n { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1; }
.featured-stat .l {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: 6px;
}
.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: var(--bg-paper);
    padding: 16px 28px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 2px;
    transition: transform 0.2s;
}
.featured-btn:hover { transform: translateY(-2px); }

.code-card {
    background: var(--bg-black);
    color: var(--bg-paper);
    padding: 36px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 13px;
    position: relative;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
}
.code-card::before {
    content: '';
    position: absolute;
    top: -12px; left: 36px; right: 36px;
    height: 24px;
    background: var(--signal);
    border-radius: 4px 4px 0 0;
    opacity: 0.2;
}
.code-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.code-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--signal); letter-spacing: -0.01em; }
.code-status { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--signal-hot); display: flex; align-items: center; gap: 6px; }
.code-status::before { content: ''; width: 6px; height: 6px; background: var(--signal-hot); border-radius: 50%; }
.code-body h4 { font-family: var(--font-body); font-size: 18px; font-weight: 600; color: var(--bg-paper); margin-bottom: 16px; letter-spacing: -0.01em; }
.code-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; gap: 14px; }
.code-row:last-child { border-bottom: none; }
.code-row .k { color: var(--ink-muted); letter-spacing: 0.05em; }
.code-row .v { color: var(--bg-paper); text-align: right; }
.code-row .v.warn { color: var(--signal); }
.code-row .v.hot { color: var(--signal-hot); }
.code-progress {
    margin-top: 20px;
    padding: 14px;
    background: rgba(255,179,0,0.06);
    border-left: 2px solid var(--signal);
    font-size: 11px;
    color: var(--bg-paper);
    line-height: 1.55;
}

/* ============================================================
   ARTICLE GRID
   ============================================================ */
.article-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.article {
    background: var(--bg-black);
    padding: 32px;
    transition: background 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    text-decoration: none;
    color: var(--bg-paper);
}
.article:hover { background: var(--bg-deep); }
.article.feature { grid-row: span 2; min-height: 840px; }
.article.feature .article-title { font-size: 40px; }
.article-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.article-cat { color: var(--signal); padding: 3px 8px; background: rgba(255,179,0,0.1); border-radius: 2px; }
.article-cat.green { color: var(--signal-ok); background: rgba(0,208,132,0.1); }
.article-cat.blue { color: var(--signal-cool); background: rgba(77,181,255,0.1); }
.article-cat.hot { color: var(--signal-hot); background: rgba(255,77,26,0.1); }
.article-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--bg-paper);
    flex: 1;
}
.article-excerpt { color: var(--ink-muted); font-size: 14px; line-height: 1.55; margin-bottom: 20px; }
.article-author { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.author-avatar {
    width: 28px; height: 28px;
    background: var(--signal);
    color: var(--bg-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}
.author-avatar.ok { background: var(--signal-ok); }
.author-avatar.cool { background: var(--signal-cool); color: var(--bg-black); }
.author-avatar.hot { background: var(--signal-hot); }
.author-info { font-size: 12px; line-height: 1.3; }
.author-info strong { display: block; color: var(--bg-paper); font-weight: 600; letter-spacing: -0.01em; }
.author-info span { color: var(--ink-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; }
.article-visual {
    height: 180px;
    margin: -32px -32px 24px;
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}
.article.feature .article-visual { height: 360px; margin-bottom: 32px; }
.article-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cats { background: var(--bg-deep); padding: 120px 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cats-inner { max-width: var(--container); margin: 0 auto; }
.cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.cat {
    background: var(--bg-black);
    border: 1px solid var(--line);
    padding: 32px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--bg-paper);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}
.cat:hover { border-color: var(--signal); transform: translateY(-4px); }
.cat::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100px; height: 100px;
    background: radial-gradient(circle at top right, rgba(255,179,0,0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}
.cat:hover::before { opacity: 1; }
.cat-count { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: var(--signal); margin-bottom: 16px; }
.cat-name { font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 14px; }
.cat-desc { color: var(--ink-muted); font-size: 14px; line-height: 1.5; flex: 1; }
.cat-arrow { margin-top: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--bg-paper); display: flex; align-items: center; gap: 8px; }

/* ============================================================
   TRUST / EEAT
   ============================================================ */
.trust { max-width: var(--container); margin: 0 auto; padding: 120px 32px; }
.trust-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.trust h2 { font-family: var(--font-display); font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 24px; }
.trust h2 em { font-style: italic; font-family: 'Instrument Sans', serif; color: var(--signal); font-weight: 400; }
.trust p { color: var(--ink-muted); font-size: 16px; line-height: 1.6; }
.editors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.editor { background: var(--bg-deep); padding: 28px; text-decoration: none; color: var(--bg-paper); transition: background 0.2s; }
.editor:hover { background: var(--bg-card); }
.editor-avatar {
    width: 52px; height: 52px;
    background: var(--signal);
    color: var(--bg-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 16px;
}
.editor-avatar.ok { background: var(--signal-ok); }
.editor-avatar.cool { background: var(--signal-cool); color: var(--bg-black); }
.editor-avatar.hot { background: var(--signal-hot); }
.editor-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.editor-role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--signal); text-transform: uppercase; margin-bottom: 12px; }
.editor-bio { color: var(--ink-muted); font-size: 13px; line-height: 1.5; }
.editor-quali { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 6px; flex-wrap: wrap; }
.editor-quali span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; padding: 3px 7px; background: var(--bg-black); color: var(--bg-paper); border-radius: 2px; }

/* ============================================================
   SINGLE POST (Blog)
   ============================================================ */
.post-hero {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 32px 40px;
}
.post-hero .post-meta {
    display: flex;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.post-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.0;
    margin-bottom: 28px;
    color: var(--bg-paper);
}
.post-hero .post-lead {
    font-size: 22px;
    line-height: 1.45;
    color: var(--ink-muted);
    max-width: 720px;
    margin-bottom: 40px;
    font-weight: 400;
}
.post-hero .post-lead strong { color: var(--bg-paper); font-weight: 500; }
.post-byline {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}
.byline-author { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bg-paper); }
.byline-author .author-avatar { width: 44px; height: 44px; font-size: 14px; }
.byline-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }
.byline-meta .checked { color: var(--signal-ok); display: flex; align-items: center; gap: 6px; }
.byline-meta .checked::before { content: '✓'; font-weight: 700; }

.post-featured-image {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 32px;
}
.post-featured-image img { width: 100%; border-radius: 4px; }

.post-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px 80px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--bg-paper);
}
.post-content > * { margin-bottom: 1.3em; }
.post-content p { color: #E0DDD3; }
.post-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-top: 2em;
    margin-bottom: 0.6em;
    color: var(--bg-paper);
}
.post-content h2::before {
    content: ''; display: inline-block; width: 24px; height: 2px;
    background: var(--signal); vertical-align: middle; margin-right: 14px;
    transform: translateY(-6px);
}
.post-content h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    color: var(--bg-paper);
}
.post-content a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-content a:hover { color: var(--bg-paper); background: var(--signal); text-decoration: none; padding: 1px 3px; }
.post-content strong { color: var(--bg-paper); font-weight: 600; }
.post-content ul, .post-content ol { padding-left: 1.4em; }
.post-content li { margin-bottom: 0.5em; color: #E0DDD3; }
.post-content ul li::marker { color: var(--signal); }
.post-content blockquote {
    border-left: 3px solid var(--signal);
    padding: 20px 28px;
    background: var(--bg-deep);
    margin: 2em 0;
    font-style: italic;
    color: var(--bg-paper);
    font-family: 'Instrument Sans', serif;
    font-size: 20px;
    line-height: 1.45;
}
.post-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    text-transform: uppercase;
}
.post-content code {
    font-family: var(--font-mono);
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 0.9em;
    color: var(--signal);
}
.post-content pre {
    background: var(--bg-deep);
    border: 1px solid var(--line);
    padding: 20px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 14px;
}
.post-content pre code { background: transparent; padding: 0; color: var(--bg-paper); }
.post-content img { border-radius: 4px; margin: 2em 0; }
/* Tabellen-Styles: siehe Design-System v2 weiter unten */

/* Info/Callout boxes */
.callout {
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-left: 3px solid var(--signal);
    padding: 24px 28px;
    margin: 2em 0;
    border-radius: 2px;
}
.callout-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 10px;
    display: block;
}
.callout p { margin-bottom: 0; font-size: 16px; }
.callout.warn { border-left-color: var(--signal-hot); }
.callout.warn .callout-label { color: var(--signal-hot); }
.callout.ok { border-left-color: var(--signal-ok); }
.callout.ok .callout-label { color: var(--signal-ok); }

/* Author box after post */
.post-author-box {
    max-width: 760px;
    margin: 0 auto 60px;
    padding: 32px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.post-author-box .author-avatar { width: 64px; height: 64px; font-size: 20px; flex-shrink: 0; }
.post-author-box-info h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.post-author-box-info .role {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--signal);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.post-author-box-info p { color: var(--ink-muted); font-size: 15px; line-height: 1.55; margin-bottom: 14px; }
.post-author-box .editor-quali { margin-top: 0; padding-top: 0; border-top: none; }
.post-author-box .view-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--signal);
    text-decoration: none;
    text-transform: uppercase;
}

/* ============================================================
   CONTENT-BLOCKS · Design-System v2 (Template-basiert)
   ============================================================ */

/* --- ANSWER BOX · Blau-Gradient für Featured Snippets --- */
.post-content .answer-box {
    background: linear-gradient(135deg, #1E3A5F 0%, #0F1E33 100%);
    border: 1px solid #2D4A6B;
    border-left: 4px solid var(--signal);
    padding: 24px 28px;
    margin: 0 0 32px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: #FFFFFF;
}
.post-content .answer-box-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--signal);
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}
.post-content .answer-box p {
    font-size: 17px;
    line-height: 1.6;
    color: #FFFFFF;
    margin: 0;
}

/* --- KEY TAKEAWAYS · "Das Wichtigste in Kürze" mit rotem Seitenrand --- */
.post-content .key-takeaways {
    background: #1A2332;
    border: 1px solid #2D3748;
    border-left: 5px solid #E63946;
    padding: 22px 28px;
    margin: 0 0 32px;
    border-radius: 6px;
}
.post-content .key-takeaways-title,
.post-content .key-takeaways h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--signal);
    margin: 0 0 16px;
    padding: 0;
    border: none;
    letter-spacing: -0.01em;
}
.post-content .key-takeaways h3::before { display: none; }
.post-content .key-takeaways ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}
.post-content .key-takeaways li {
    margin-bottom: 12px;
    color: #E8E8E8;
    line-height: 1.55;
}
.post-content .key-takeaways li:last-child { margin-bottom: 0; }
.post-content .key-takeaways li::marker { color: var(--signal); }
.post-content .key-takeaways li strong,
.post-content .key-takeaways .takeaway-label {
    color: var(--signal);
    font-weight: 700;
}

/* --- CTA AFFILIATE · Dunkler Gradient, gelber 2px-Rand, roter Button --- */
.post-content .cta-affiliate {
    background: linear-gradient(135deg, #2A2416 0%, #1F1B11 100%);
    border: 2px solid var(--signal);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 32px 0;
    box-shadow: 0 2px 12px rgba(255,179,0,0.1);
    color: #E8E8E8;
}
.post-content .cta-affiliate-head {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.post-content .cta-affiliate-label {
    background: var(--signal);
    color: var(--bg-deep);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
}
.post-content .cta-affiliate-meta {
    font-size: 11px;
    color: #9CA3AF;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.post-content .cta-affiliate h3,
.post-content .cta-affiliate .cta-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--signal);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    padding: 0;
    border: none;
    letter-spacing: -0.01em;
}
.post-content .cta-affiliate h3::before { display: none; }
.post-content .cta-affiliate p {
    font-size: 15px;
    color: #E8E8E8;
    line-height: 1.6;
    margin: 0 0 16px;
}
.post-content .cta-affiliate .cta-button,
.post-content .cta-affiliate a.button {
    background: #E63946;
    color: #FFFFFF !important;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(230,57,70,0.4);
    display: inline-block;
    border: none;
    transition: background 0.15s, transform 0.1s;
}
.post-content .cta-affiliate .cta-button:hover,
.post-content .cta-affiliate a.button:hover {
    background: #D42F3B;
    color: #FFFFFF !important;
    padding: 14px 28px;
    transform: translateY(-1px);
}
.post-content .cta-affiliate .cta-disclaimer,
.post-content .cta-affiliate em {
    font-size: 12px;
    color: #9CA3AF;
    display: block;
    margin-top: 12px;
    font-style: italic;
}

/* --- CALLOUTS · Mit stärkeren Farben --- */
.post-content .callout {
    background: #1A2332;
    border: 1px solid #2D3748;
    border-left: 4px solid var(--signal);
    padding: 18px 24px;
    border-radius: 6px;
    margin: 24px 0;
    color: #E8E8E8;
}
.post-content .callout-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--signal);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}
.post-content .callout p {
    color: #E8E8E8;
    margin: 0;
    line-height: 1.6;
}
.post-content .callout p + p { margin-top: 10px; }
.post-content .callout.warn {
    background: rgba(230, 57, 70, 0.08);
    border-color: rgba(230, 57, 70, 0.25);
    border-left-color: #E63946;
}
.post-content .callout.warn .callout-label { color: #FF6B7A; }
.post-content .callout.ok {
    background: rgba(74, 222, 128, 0.06);
    border-color: rgba(74, 222, 128, 0.2);
    border-left-color: #4ADE80;
}
.post-content .callout.ok .callout-label { color: #4ADE80; }
.post-content .callout.tip {
    background: rgba(255, 179, 0, 0.08);
    border-color: rgba(255, 179, 0, 0.2);
    border-left-color: var(--signal);
}

/* --- CHECKLIST · Mit ✓/✗ Symbolen --- */
.post-content .checklist {
    background: #1A2332;
    border: 1px solid #2D3748;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 24px 0;
    color: #E8E8E8;
}
.post-content .checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.post-content .checklist-item:last-child { margin-bottom: 0; }
.post-content .checklist-item .check,
.post-content .checklist-item .cross {
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1.4;
}
.post-content .checklist-item .check { color: #4ADE80; }
.post-content .checklist-item .cross { color: #FF6B7A; }
.post-content .checklist-item p,
.post-content .checklist-item > span:last-child {
    margin: 0;
    color: #E8E8E8;
    line-height: 1.55;
    flex: 1;
}
.post-content .checklist-item strong,
.post-content .checklist-item .check-label {
    font-weight: 700;
}
.post-content .checklist-item .check ~ * strong,
.post-content .checklist-item:has(.check) strong { color: #4ADE80; }
.post-content .checklist-item .cross ~ * strong,
.post-content .checklist-item:has(.cross) strong { color: #FF6B7A; }

/* --- TABELLEN · Dark-Mode mit gelbem Header --- */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    background: #1A2332;
    border: 1px solid #2D3748;
    border-radius: 8px;
    overflow: hidden;
    margin: 2em 0;
    font-size: 15px;
    display: table;
}
.post-content table thead { background: #0F1E33; }
.post-content table th {
    padding: 14px 16px;
    text-align: left;
    background: #0F1E33;
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 2px solid #2D4A6B;
    border-top: none;
    border-right: none;
    border-left: none;
}
.post-content table td {
    padding: 14px 16px;
    color: #E8E8E8;
    border-bottom: 1px solid #2D3748;
    border-top: none;
    border-right: none;
    border-left: none;
    background: transparent;
    font-size: 15px;
}
.post-content table tr:nth-child(even) td {
    background: #16202E;
}
.post-content table tr:last-child td { border-bottom: none; }
.post-content table td a { color: #7FB3D5; }
.post-content table td a:hover { color: var(--signal); background: none; padding: 0; }

/* Tabellen auf Mobil scrollbar machen */
.post-content .table-wrap,
.post-content figure.wp-block-table {
    overflow-x: auto;
    margin: 2em 0;
}

/* --- TOC-BLOCK · Dark Mode klar --- */
.post-content .toc-block {
    background: #1A2332;
    border: 1px solid #2D3748;
    border-radius: 10px;
    padding: 0;
    margin: 0 0 32px;
    color: #E8E8E8;
}
.post-content .toc-block > summary {
    cursor: pointer;
    padding: 18px 24px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--signal);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}
.post-content .toc-block > summary::-webkit-details-marker { display: none; }
.post-content .toc-block > summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 20px;
    color: #9CA3AF;
    font-weight: 400;
    margin-left: auto;
    flex-shrink: 0;
}
.post-content .toc-block[open] > summary::after { content: '−'; }
.post-content .toc-block .toc-icon { margin-right: 4px; }
.post-content .toc-block .toc-hint {
    font-family: var(--font-sans);
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 400;
    margin-left: 8px;
}
.post-content .toc-block ol.toc-list {
    list-style: decimal;
    padding: 18px 24px 22px 44px;
    margin: 0;
    border-top: 1px solid #2D3748;
    line-height: 2;
    color: #E8E8E8;
}
.post-content .toc-block ol.toc-list li {
    color: #E8E8E8;
    margin-bottom: 2px;
}
.post-content .toc-block ol.toc-list li::marker { color: #9CA3AF; }
.post-content .toc-block ol.toc-list a {
    color: #7FB3D5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}
.post-content .toc-block ol.toc-list a:hover {
    color: var(--signal);
    background: none;
    padding: 0;
}

/* --- FAQ-BLOCK · Dark Mode mit + Toggle --- */
.post-content .faq-heading {
    margin-top: 3em;
}
.post-content .faq-block {
    margin: 1em 0 2em;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    border: none;
    overflow: visible;
}
.post-content .faq-item {
    background: #1A2332;
    border: 1px solid #2D3748;
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
    transition: border-color 0.15s;
}
.post-content .faq-item summary {
    cursor: pointer;
    padding: 16px 22px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: #E8E8E8;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: color 0.15s;
}
.post-content .faq-item summary::-webkit-details-marker { display: none; }
.post-content .faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 22px;
    color: var(--signal);
    font-weight: 400;
    transition: transform 0.2s;
    flex-shrink: 0;
    line-height: 1;
}
.post-content .faq-item[open] summary::after { content: '−'; }
.post-content .faq-item summary:hover { color: var(--signal); }
.post-content .faq-item[open] { border-color: rgba(255,179,0,0.3); }
.post-content .faq-item[open] summary { color: var(--signal); }
.post-content .faq-item .faq-answer {
    padding: 16px 22px 18px;
    border-top: 1px solid #2D3748;
    color: #E8E8E8;
    font-size: 15px;
    line-height: 1.65;
}
.post-content .faq-item .faq-answer p {
    margin: 0 0 1em;
    color: #E8E8E8;
}
.post-content .faq-item .faq-answer p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
    .post-content .answer-box,
    .post-content .key-takeaways,
    .post-content .cta-affiliate,
    .post-content .callout,
    .post-content .checklist,
    .post-content .toc-block > summary,
    .post-content .toc-block ol.toc-list { padding-left: 20px; padding-right: 20px; }
    .post-content .answer-box p,
    .post-content .key-takeaways li,
    .post-content .cta-affiliate p { font-size: 16px; }
    .post-content .cta-affiliate h3 { font-size: 19px; }
    .post-content .faq-item summary { padding: 14px 18px; font-size: 15px; }
    .post-content .faq-item .faq-answer { padding: 14px 18px 16px; }
    .post-content table { font-size: 14px; }
    .post-content table th,
    .post-content table td { padding: 11px 12px; }
}

/* ============================================================
   AFFILIATE-CTA-BLOCK
   ============================================================ */
.post-content .cta-affiliate {
    background: linear-gradient(135deg, rgba(255,179,0,0.06) 0%, rgba(255,77,26,0.04) 100%);
    border: 1px solid rgba(255,179,0,0.25);
    border-radius: 6px;
    padding: 28px 32px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}
.post-content .cta-affiliate::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--signal) 0%, var(--hot) 100%);
}
.post-content .cta-affiliate .cta-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--signal);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 4px;
}
.post-content .cta-affiliate .cta-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
    display: block;
}
.post-content .cta-affiliate .cta-title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.25;
    color: var(--bg-paper);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.post-content .cta-affiliate .cta-body {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.6;
    color: #E0DDD3;
}
.post-content .cta-affiliate .cta-button-wrap {
    margin: 0 0 18px;
}
.post-content .cta-affiliate .cta-button {
    display: inline-block;
    background: var(--signal);
    color: var(--bg-deep);
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 2px solid var(--signal);
    transition: all 0.15s;
}
.post-content .cta-affiliate .cta-button:hover {
    background: transparent;
    color: var(--signal);
    border-color: var(--signal);
}
.post-content .cta-affiliate .cta-disclaimer {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    line-height: 1.5;
}
.post-content .cta-affiliate .cta-disclaimer em {
    font-style: italic;
}

/* ============================================================
   INHALTSVERZEICHNIS (auto, aufklappbar)
   ============================================================ */
.post-content .toc-block {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 6px;
    margin: 32px 0 40px;
    overflow: hidden;
}
.post-content .toc-block summary {
    cursor: pointer;
    padding: 18px 24px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--bg-paper);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s;
}
.post-content .toc-block summary::-webkit-details-marker { display: none; }
.post-content .toc-block summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 22px;
    color: var(--signal);
    margin-left: auto;
    line-height: 1;
    transition: transform 0.2s;
}
.post-content .toc-block[open] summary::after {
    content: '−';
}
.post-content .toc-block summary:hover {
    background: rgba(255,179,0,0.06);
}
.post-content .toc-block .toc-icon {
    font-size: 18px;
}
.post-content .toc-block .toc-hint {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 400;
    margin-left: 4px;
}
.post-content .toc-block[open] summary {
    border-bottom: 1px solid var(--line);
}
.post-content .toc-list {
    margin: 0;
    padding: 16px 24px 20px 48px;
    list-style: decimal;
    counter-reset: toc;
}
.post-content .toc-list li {
    margin: 6px 0;
    line-height: 1.5;
    color: var(--muted);
}
.post-content .toc-list li::marker {
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
}
.post-content .toc-list li a {
    color: #E0DDD3;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    transition: color 0.15s, border-color 0.15s;
}
.post-content .toc-list li a:hover {
    color: var(--signal);
    border-bottom-color: var(--signal);
}

/* Smooth-Scroll für Sprungmarken */
html { scroll-behavior: smooth; }

/* Offset damit H2-Sprungziel nicht unter sticky Header verschwindet */
.post-content h2[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 640px) {
    .post-content .cta-affiliate { padding: 22px 20px; }
    .post-content .cta-affiliate .cta-title { font-size: 19px; }
    .post-content .cta-affiliate .cta-button { padding: 12px 22px; font-size: 14px; }
    .post-content .toc-block summary { padding: 14px 18px; font-size: 15px; }
    .post-content .toc-list { padding: 14px 20px 16px 40px; }
}

/* ============================================================
   SINGLE-POST GRID + SIDEBAR (3-Spalten symmetrisch)
   ============================================================ */

/* Article-Wrapper zentrieren */
.post-single-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* 3-Spalten-Grid: kleine Gutter-Spalte links | viel Content | Sidebar rechts
   200px links reichen als optischer Anchor und geben dem Content deutlich mehr Platz */
.post-grid-symmetric {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.post-gutter-left {
    /* Leere Spalte als Gegengewicht zur Sidebar – sorgt für optische Balance */
}

/* Wrapper für Hero + Bild + Content in der mittleren Spalte */
.post-grid-symmetric .post-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
    grid-column: 2;
}

.post-grid-symmetric .post-sidebar {
    grid-column: 3;
}

/* Hero innerhalb der Content-Spalte */
.post-grid-symmetric .post-main .post-hero {
    margin: 0;
    padding: 0;
    max-width: none;
}
.post-grid-symmetric .post-main .post-hero h1 {
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 16px 0 20px;
}
.post-grid-symmetric .post-main .post-hero .post-lead {
    max-width: none;
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 28px;
}

/* Featured Image: Mittlere Spalte, gleich breit wie Content */
.post-grid-symmetric .post-featured-image {
    margin: 0;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
}
.post-grid-symmetric .post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-grid-symmetric .post-content {
    max-width: none !important;
    width: 100%;
    margin: 0;
}

/* Footer-Wrap: Newsletter, Author, Related starten an Content-Spalte */
.post-footer-wrap {
    margin-left: calc(200px + 40px);
    margin-right: calc(320px + 40px);
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 1200px) {
    .post-grid-symmetric {
        grid-template-columns: 160px minmax(0, 1fr) 300px;
        gap: 32px;
    }
    .post-footer-wrap {
        margin-left: calc(160px + 32px);
        margin-right: calc(300px + 32px);
    }
}
@media (max-width: 1100px) {
    .post-grid-symmetric {
        grid-template-columns: 120px minmax(0, 1fr) 300px;
        gap: 28px;
    }
    .post-footer-wrap {
        margin-left: calc(120px + 28px);
        margin-right: calc(300px + 28px);
    }
}
@media (max-width: 960px) {
    /* Unter 960 px: Gutter weg, Sidebar unten */
    .post-single-wrap { padding: 0 20px; }
    .post-grid-symmetric {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .post-grid-symmetric .post-gutter-left { display: none; }
    .post-grid-symmetric .post-main {
        grid-column: 1;
        max-width: 760px;
        margin: 0 auto;
    }
    .post-grid-symmetric .post-sidebar {
        grid-column: 1;
        position: static;
        max-height: none;
        overflow: visible;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 760px;
        margin: 0 auto;
    }
    .post-sidebar .sidebar-widget {
        flex: 1 1 calc(50% - 14px);
        min-width: 260px;
    }
    .post-sidebar .sidebar-ad + .sidebar-ad {
        display: none;
    }
    .post-footer-wrap {
        max-width: 760px;
        margin: 60px auto 0;
    }
}
@media (max-width: 640px) {
    .post-sidebar {
        flex-direction: column;
    }
    .post-sidebar .sidebar-widget {
        flex: 1 1 100%;
    }
}

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
.post-sidebar::-webkit-scrollbar {
    width: 6px;
}
.post-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.post-sidebar::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 3px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 22px 22px 24px;
}

.sidebar-widget-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--signal);
    font-weight: 700;
    margin-bottom: 8px;
}

.sidebar-widget-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-paper);
    margin: 0 0 14px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* Tools-Box */
.sidebar-tools-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sidebar-tools-list li a {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--bg-paper);
    border-radius: 4px;
    transition: background 0.15s;
    border: 1px solid transparent;
}
.sidebar-tools-list li a:hover {
    background: rgba(255,179,0,0.07);
    border-color: rgba(255,179,0,0.2);
}
.sidebar-tools-list .tool-icon {
    grid-row: 1 / 3;
    align-self: center;
    font-size: 22px;
    text-align: center;
}
.sidebar-tools-list .tool-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-paper);
}
.sidebar-tools-list .tool-desc {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.02em;
    font-family: var(--font-mono);
}

/* Werbeplatz */
.sidebar-ad {
    padding: 14px;
    background: transparent;
    border: 1px dashed var(--line);
}
.sidebar-ad-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: right;
    margin-bottom: 8px;
}
.sidebar-ad-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}
.sidebar-ad-placeholder {
    width: 100%;
    height: 250px;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.02),
        rgba(255,255,255,0.02) 10px,
        rgba(255,255,255,0.04) 10px,
        rgba(255,255,255,0.04) 20px
    );
    border: 1px solid var(--line);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.8;
}
.sidebar-ad-placeholder.sidebar-ad-tall {
    height: 600px;
}
.sidebar-ad-placeholder small {
    font-size: 10px;
    opacity: 0.6;
    margin-top: 4px;
}

/* Sidebar Newsletter */
.sidebar-newsletter p {
    font-size: 13px;
    color: #C9C6BE;
    line-height: 1.55;
    margin: 0 0 14px;
}
.sidebar-nl-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-nl-form input[type="email"] {
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 10px 12px;
    color: var(--bg-paper);
    font-family: var(--font-sans);
    font-size: 14px;
}
.sidebar-nl-form input[type="email"]:focus {
    outline: none;
    border-color: var(--signal);
}
.sidebar-nl-form button {
    background: var(--signal);
    color: var(--bg-deep);
    border: none;
    padding: 11px 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
    letter-spacing: 0.01em;
}
.sidebar-nl-form button:hover {
    background: #E6A000;
}

/* ============================================================
   RATGEBER-ÜBERSICHTSSEITE
   ============================================================ */
.ratgeber-page {
    padding: 40px 0 80px;
}

.ratgeber-hero-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 60px;
    align-items: start;
    margin: 0 0 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line);
}

.ratgeber-hero {
    min-width: 0;
}

.ratgeber-hero-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--signal);
    font-weight: 700;
    margin-bottom: 16px;
}
.ratgeber-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--bg-paper);
    margin: 0 0 28px;
}
.ratgeber-intro {
    font-size: 17px;
    line-height: 1.65;
    color: #C9C6BE;
    max-width: 640px;
}
.ratgeber-intro p {
    margin: 0 0 1em;
    color: #C9C6BE;
}
.ratgeber-intro p:last-child { margin-bottom: 0; }

/* STATS-CARD rechts */
.ratgeber-stats {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}
.ratgeber-stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--signal) 0%, transparent 100%);
}
.stats-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
    text-align: right;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    margin-bottom: 24px;
}
.stat-item {
    position: relative;
}
.stat-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    color: var(--signal);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.stat-num.stat-num-date {
    font-size: 36px;
    color: var(--bg-paper);
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C9C6BE;
    line-height: 1.3;
}
.stats-footer {
    margin-top: 4px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stats-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00D084;
    box-shadow: 0 0 10px rgba(0, 208, 132, 0.5);
    animation: stats-pulse 2s ease-in-out infinite;
}
@keyframes stats-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* FILTER-BAR */
.ratgeber-filter {
    margin: 0 0 40px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ratgeber-filter .filter-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    flex-shrink: 0;
}
.ratgeber-filter .filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
.ratgeber-filter .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    background: var(--bg-card);
    color: var(--bg-paper);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.15s;
    white-space: nowrap;
}
.ratgeber-filter .filter-btn:hover {
    border-color: var(--signal);
    color: var(--signal);
}
.ratgeber-filter .filter-btn.is-active {
    background: var(--signal);
    color: var(--bg-deep);
    border-color: var(--signal);
}
.ratgeber-filter .filter-count {
    font-size: 10px;
    opacity: 0.7;
    padding: 1px 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    letter-spacing: 0;
}
.ratgeber-filter .filter-btn.is-active .filter-count {
    background: rgba(0,0,0,0.15);
    opacity: 1;
}
/* Kategorie-Farbige Akzente für nicht-aktive Buttons (optional, subtil) */
.ratgeber-filter .filter-btn.cat-obd2:hover { border-color: #4DB5FF; color: #4DB5FF; }
.ratgeber-filter .filter-btn.cat-motoroel:hover { border-color: #FFB300; color: #FFB300; }
.ratgeber-filter .filter-btn.cat-emobil:hover { border-color: #00D084; color: #00D084; }
.ratgeber-filter .filter-btn.cat-tuev:hover { border-color: #FF4D1A; color: #FF4D1A; }
.ratgeber-filter .filter-btn.cat-werkstatt:hover { border-color: #C9A961; color: #C9A961; }
.ratgeber-filter .filter-btn.cat-tools:hover { border-color: #8E7CC3; color: #8E7CC3; }

/* GRID */
.ratgeber-grid-wrap {
    margin: 0;
}
.ratgeber-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 32px 28px !important;
}

/* PAGINATION */
.ratgeber-pagination {
    margin: 60px 0 0;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.ratgeber-pagination .page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.ratgeber-pagination .page-numbers li a,
.ratgeber-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    color: var(--bg-paper);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.15s;
}
.ratgeber-pagination .page-numbers li a:hover {
    border-color: var(--signal);
    color: var(--signal);
}
.ratgeber-pagination .page-numbers li .current {
    background: var(--signal);
    color: var(--bg-deep);
    border-color: var(--signal);
}
.ratgeber-pagination .page-numbers li .dots {
    border-color: transparent;
}

.ratgeber-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}
.ratgeber-empty a { color: var(--signal); }

@media (max-width: 1100px) {
    .ratgeber-hero-wrap {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 40px;
    }
    .stat-num { font-size: 40px; }
    .stat-num.stat-num-date { font-size: 30px; }
}
@media (max-width: 900px) {
    .ratgeber-hero-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ratgeber-stats {
        max-width: 500px;
    }
}
@media (max-width: 768px) {
    .ratgeber-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .ratgeber-filter .filter-list {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }
    .ratgeber-grid {
        grid-template-columns: 1fr !important;
    }
    .stat-num { font-size: 36px; }
    .stat-num.stat-num-date { font-size: 26px; }
    .stats-grid { gap: 20px; }
    .ratgeber-stats { padding: 22px; }
}

/* Related posts */
.related {
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px 32px 120px;
    border-top: 1px solid var(--line);
}

/* ============================================================
   NEWSLETTER CTA (am Ende von Blog-Posts)
   ============================================================ */
.post-newsletter-cta {
    max-width: 760px;
    margin: 0 auto 60px;
    padding: 0 32px;
}
.post-newsletter-cta-inner {
    background: var(--bg-paper);
    color: var(--ink);
    padding: 48px 40px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.post-newsletter-cta-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--signal);
}
.post-newsletter-cta-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--signal-hot);
    margin-bottom: 16px;
}
.post-newsletter-cta h3 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: var(--ink);
}
.post-newsletter-cta h3 em {
    font-style: italic;
    font-family: 'Instrument Sans', serif;
    color: var(--ink-soft);
    font-weight: 400;
}
.post-newsletter-cta p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 24px;
}
.post-newsletter-cta-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.post-newsletter-cta-form input[type="email"] {
    flex: 1;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line-paper);
    padding: 14px 18px;
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--ink);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
}
.post-newsletter-cta-form input[type="email"]:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(10,10,11,0.08);
}
.post-newsletter-cta-form input[type="email"]::placeholder { color: var(--ink-muted); }
.post-newsletter-cta-form button {
    background: var(--ink);
    color: var(--bg-paper);
    border: none;
    padding: 14px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 2px;
    letter-spacing: -0.01em;
    transition: background 0.2s;
}
.post-newsletter-cta-form button:hover { background: var(--signal-hot); }
.post-newsletter-cta-legal {
    font-size: 12px;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.5;
}
.post-newsletter-cta-legal a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (max-width: 640px) {
    .post-newsletter-cta { padding: 0 20px; }
    .post-newsletter-cta-inner { padding: 32px 24px; }
    .post-newsletter-cta-form { flex-direction: column; }
    .post-newsletter-cta-form input[type="email"] { min-width: 0; width: 100%; }
    .post-newsletter-cta-form button { width: 100%; padding: 14px; }
}

/* ============================================================
   ARCHIVE / CATEGORY / AUTHOR
   ============================================================ */
.archive-header {
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px 32px 60px;
}
.archive-header .hero-eyebrow { animation: none; }
.archive-header h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 96px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 20px;
}
.archive-header h1 em { font-style: normal; color: var(--signal); font-weight: 400; display: block; }
.archive-header .archive-desc {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-muted);
}
.archive-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.archive-stats .s {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.archive-stats .s strong { display: block; font-family: var(--font-display); font-size: 22px; color: var(--signal); margin-bottom: 4px; letter-spacing: -0.01em; }

.archive-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px 32px 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

/* Author Page */
.author-hero {
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px 32px 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.author-hero-avatar {
    width: 100%;
    aspect-ratio: 1;
    max-width: 320px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(80px, 14vw, 140px);
    letter-spacing: -0.04em;
    color: var(--signal);
    position: relative;
    overflow: hidden;
}
.author-hero-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,179,0,0.1), transparent 60%);
}
.author-hero-info h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}
.author-hero-info .role {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--signal);
    text-transform: uppercase;
    margin-bottom: 24px;
}
.author-hero-info .bio { font-size: 18px; line-height: 1.6; color: var(--ink-muted); margin-bottom: 24px; max-width: 640px; }
.author-hero-info .quali {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.author-hero-info .quali span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 6px 10px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    color: var(--bg-paper);
    border-radius: 2px;
}
.author-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    max-width: 640px;
}
.author-meta-grid .m {
    background: var(--bg-deep);
    padding: 18px 20px;
}
.author-meta-grid .m .l {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.author-meta-grid .m .v {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px 100px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.pagination a, .pagination span {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--bg-paper);
    text-decoration: none;
    transition: all 0.2s;
    min-width: 44px;
    text-align: center;
}
.pagination a:hover { border-color: var(--signal); color: var(--signal); }
.pagination .current { background: var(--signal); color: var(--bg-black); border-color: var(--signal); font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
    padding: 80px 32px 40px;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.site-footer h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links a { display: block; color: var(--ink-muted); text-decoration: none; font-size: 14px; padding: 6px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--bg-paper); }
.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom a { color: var(--ink-muted); text-decoration: none; }
.footer-brand-line {
    font-family: var(--font-display);
    font-size: clamp(40px, 11vw, 150px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: rgba(245, 243, 237, 0.06);
    margin: 40px 0;
    text-align: center;
    user-select: none;
    transition: color 0.6s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    padding: 0 4px;
}
.footer-brand-line:hover {
    color: rgba(245, 243, 237, 0.12);
}
.footer-brand-line .brand-highlight {
    color: var(--signal);
    /* Leichter Glow als Akzent */
    text-shadow: 0 0 40px rgba(255, 179, 0, 0.25);
}

/* Auf sehr breiten Bildschirmen (>1800px) darf er größer werden, aber nie über den Container */
@media (min-width: 1800px) {
    .footer-brand-line { font-size: 180px; }
}

/* ============================================================
   FORMS / COMMENTS / 404
   ============================================================ */
.page-404 {
    max-width: 760px;
    margin: 0 auto;
    padding: 120px 32px;
    text-align: center;
}
.page-404 .code {
    font-family: var(--font-display);
    font-size: clamp(120px, 22vw, 280px);
    font-weight: 900;
    color: var(--signal);
    letter-spacing: -0.05em;
    line-height: 0.85;
    margin-bottom: 24px;
}
.page-404 h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.page-404 p { font-size: 18px; color: var(--ink-muted); margin-bottom: 32px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .tool-grid { grid-template-columns: 1fr; }
    .featured-inner { grid-template-columns: 1fr; gap: 48px; }
    .article-grid { grid-template-columns: 1fr 1fr; }
    .article.feature { grid-row: auto; grid-column: span 2; min-height: 500px; }
    .cats-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .archive-grid { grid-template-columns: 1fr 1fr; }
    .author-hero { grid-template-columns: 1fr; }
    .author-meta-grid { max-width: none; }
}
@media (max-width: 640px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-deep); flex-direction: column; padding: 24px; border-top: 1px solid var(--line); gap: 16px; }
    .nav-links.open { display: flex; }
    .menu-toggle { display: block; }
    .nav-cta { display: none; }
    .nav-inner { padding: 16px 20px; flex-wrap: wrap; }
    .hero { padding: 40px 20px 60px; }
    .hero-search { flex-direction: column; gap: 6px; padding: 0; border: none; background: transparent; }
    .hero-search-label { padding: 12px 16px; justify-content: center; }
    .hero-search input { border: 1px solid var(--line); background: var(--bg-card); padding: 16px; border-radius: 2px; }
    .hero-search button { padding: 16px; border-radius: 2px; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 20px 16px; }
    .section, .featured, .cats, .trust, .related { padding: 60px 20px; }
    .archive-header, .author-hero, .post-hero, .post-content, .post-featured-image, .archive-grid, .pagination { padding-left: 20px; padding-right: 20px; }
    .article-grid { grid-template-columns: 1fr; }
    .article.feature { grid-column: auto; min-height: 400px; }
    .article.feature .article-title { font-size: 28px; }
    .cats-grid { grid-template-columns: 1fr; }
    .editors { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .section-meta { text-align: left; }
    .archive-grid { grid-template-columns: 1fr; }
    .post-author-box { flex-direction: column; gap: 16px; }
}

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.fade-in { animation: fadeIn 0.8s ease-out backwards; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.d-1 { animation-delay: 0.1s; }
.d-2 { animation-delay: 0.2s; }
.d-3 { animation-delay: 0.35s; }
.d-4 { animation-delay: 0.5s; }
.d-5 { animation-delay: 0.6s; }
.d-6 { animation-delay: 0.75s; }

/* WP Admin bar fix */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .nav { top: 46px; }
}

/* Accessibility */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px,1px,1px,1px);
    width: 1px; height: 1px;
    overflow: hidden;
}
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

/* ============================================================
   PILLAR-CLUSTER-SHORTCODES  [mk_cluster] + [mk_cluster_list]
   Wird auf handgebauten Pillar-Seiten (Pages) genutzt
   ============================================================ */

.mk-cluster-grid {
    margin: 40px 0;
    gap: 28px !important;
}

.mk-cluster-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    column-gap: 40px;
    column-rule: 1px solid var(--line);
}
.mk-cluster-list li {
    break-inside: avoid;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
}
.mk-cluster-list li:last-child { border-bottom: none; }

.mk-cluster-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px 14px 0;
    color: var(--bg-paper);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.005em;
    transition: color 0.15s, padding-left 0.15s;
}
.mk-cluster-list a::before {
    content: '→';
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s, transform 0.15s;
}
.mk-cluster-list a:hover {
    color: var(--signal);
    background: none;
    padding: 14px 4px 14px 8px;
}
.mk-cluster-list a:hover::before {
    opacity: 1;
    transform: translateX(2px);
}

@media (max-width: 900px) {
    .mk-cluster-list.mk-cluster-list-cols-3 {
        column-count: 2 !important;
    }
}
@media (max-width: 600px) {
    .mk-cluster-list,
    .mk-cluster-list.mk-cluster-list-cols-2,
    .mk-cluster-list.mk-cluster-list-cols-3 {
        column-count: 1 !important;
        column-rule: none;
    }
}

/* Pillar-Verweis-Block im Artikel hervorheben */
.post-content .callout.pillar-link {
    background: rgba(255, 179, 0, 0.05);
    border-color: rgba(255, 179, 0, 0.18);
    margin-top: 36px;
}
.post-content .callout.pillar-link a {
    color: var(--signal);
    font-weight: 600;
}

/* Pillar-Seiten brauchen auch Zugriff auf die Content-Styles (TOC, Callouts, Tabellen)
   auch wenn sie keinen .post-content Wrapper haben. Diese Regel extends alle
   Content-Block-Styles auch auf Pages. */
.page .entry-content .mk-cluster-grid,
.page .entry-content .mk-cluster-list {
    color: var(--bg-paper);
}

/* ============================================================
   PILLAR-PAGE-TEMPLATE
   Hub-Seiten für Ressort-Übersichten (page-pillar.php)
   ============================================================ */

.pillar-page {
    padding: 0 0 80px;
}

/* Wide Hero über volle Container-Breite */
.pillar-hero {
    background: linear-gradient(135deg, #1E1B13 0%, #0F0D08 100%);
    border-bottom: 1px solid var(--line);
    padding: 80px 0 70px;
    margin: -40px 0 0;
    position: relative;
    overflow: hidden;
}
.pillar-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--signal) 0%, transparent 70%);
}
.pillar-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}
.pillar-hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--signal);
    font-weight: 700;
    margin-bottom: 24px;
}
.pillar-hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 84px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--bg-paper);
    margin: 0 0 28px;
    max-width: 900px;
}
.pillar-hero-lead {
    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1.55;
    color: #C9C6BE;
    margin: 0 0 32px;
    max-width: 760px;
    font-weight: 400;
}
.pillar-hero-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    max-width: 760px;
}
.pillar-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}
.pillar-meta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00D084;
    box-shadow: 0 0 10px rgba(0,208,132,0.5);
    animation: pillar-pulse 2s ease-in-out infinite;
}
@keyframes pillar-pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Featured Image unter Hero, volle Breite */
.pillar-featured-image {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px 0;
    line-height: 0;
}
.pillar-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Content-Wrapper mit lese-optimaler Breite */
.pillar-content-wrap {
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 0 40px;
}
.pillar-content {
    max-width: none !important;
    width: 100%;
}

/* Typografie innerhalb Pillar leicht größer für besseren Lesefluss */
.pillar-content p {
    font-size: 18px;
    line-height: 1.7;
}
.pillar-content h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    margin-top: 2.5em;
    margin-bottom: 0.8em;
}
.pillar-content h3 {
    font-size: clamp(22px, 2.2vw, 28px);
    margin-top: 1.8em;
    margin-bottom: 0.6em;
}
.pillar-content > .answer-box {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Cluster-Grid in Pillars: mehr Breite nutzen */
.pillar-content .mk-cluster-grid {
    margin: 48px -20px;
    gap: 32px !important;
}

/* Mobile */
@media (max-width: 900px) {
    .pillar-hero {
        padding: 60px 0 50px;
    }
    .pillar-hero-inner,
    .pillar-content-wrap {
        padding-left: 24px;
        padding-right: 24px;
    }
    .pillar-featured-image {
        padding: 30px 20px 0;
    }
    .pillar-content p { font-size: 17px; }
    .pillar-content .mk-cluster-grid { margin: 32px 0; }
}
