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

:root {
    --bg:       #070e1b;
    --surface:  #0c1828;
    --surface2: #102035;
    --border:   #1a2e46;
    --accent:   #00bfff;
    --accent2:  #38bdf8;
    --glow:     rgba(0,191,255,.15);
    --text:     #dde8f5;
    --muted:    #6b87a6;
    --radius:   14px;
    --nav-h:    70px;
    --max-w:    1140px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAVIGATION ────────────────────────────────────── */
.site-nav {
    position: sticky; top: 0; z-index: 999;
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-h);
    padding: 0 2.5rem;
    background: rgba(7,14,27,.9);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; flex-direction: column; }
.nav-brand .name { font-size: 1rem; font-weight: 700; letter-spacing: .01em; }
.nav-brand .role {
    font-size: .7rem; color: var(--accent);
    text-transform: uppercase; letter-spacing: .14em; font-weight: 500;
}

.nav-list {
    position: fixed; top: 0; right: 2.5rem;
    height: var(--nav-h);
    display: flex; gap: 2rem; list-style: none; align-items: center;
    z-index: 400;
}
.nav-list a {
    font-size: .875rem; font-weight: 500; color: var(--muted);
    transition: color .2s; padding: .3rem 0;
    position: relative;
}
.nav-list a::after {
    content: ''; position: absolute; left: 0; bottom: -1px;
    width: 100%; height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-list a:hover, .nav-list a.active { color: var(--text); }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.nav-list a.nav-cta::after { display: none; }

.nav-cta {
    padding: .45rem 1.2rem !important;
    border: 1px solid var(--accent);
    border-radius: 8px;
    color: var(--accent) !important;
    font-weight: 600 !important;
    transition: background .2s, color .2s !important;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: var(--bg) !important; }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
    position: relative; z-index: 1;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px; transition: .3s;
}

/* ── LAYOUT ────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }

.section-tag {
    display: inline-block;
    font-size: .73rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--accent); margin-bottom: .65rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700; line-height: 1.15; margin-bottom: 1rem;
}
.section-lead {
    color: var(--muted); font-size: 1.05rem;
    max-width: 580px; margin-bottom: 3rem;
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem; border-radius: 10px;
    font-size: .9rem; font-weight: 600; font-family: inherit;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    cursor: pointer; border: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent {
    background: var(--accent); color: var(--bg);
    box-shadow: 0 4px 22px var(--glow);
}
.btn-accent:hover { box-shadow: 0 6px 30px rgba(0,191,255,.3); }
.btn-outline {
    background: transparent; color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── CARDS ─────────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}
.card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 36px var(--glow);
}

/* ── HERO (full-width banner) ──────────────────────── */
.hero {
    position: relative; overflow: hidden;
    height: clamp(420px, 54vw, 560px);
    display: flex; align-items: center;
}
.hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(7,14,27,.95) 42%, rgba(7,14,27,.2) 100%);
}
.hero-body {
    position: relative; z-index: 1;
    padding: 0 clamp(1.5rem, 5vw, 4.5rem);
    max-width: 660px;
}
.hero-tag {
    font-size: .73rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .15em;
    color: var(--accent); margin-bottom: 1rem;
}
.hero-body h1 {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    line-height: 1.1; margin-bottom: 1.25rem; font-weight: 700;
}
.hero-body h1 em { font-style: normal; color: var(--accent); }
.hero-body p {
    color: var(--muted); font-size: clamp(.95rem, 2vw, 1.1rem);
    max-width: 460px; margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── STATS BAR ─────────────────────────────────────── */
.stats-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem; text-align: center;
}
.stat-num {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 700; color: var(--accent); line-height: 1;
}
.stat-label { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.stat-sub   { font-size: .72rem; color: var(--muted); opacity: .6; margin-top: .2rem; letter-spacing: .01em; }

/* ── PILLARS GRID ──────────────────────────────────── */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.pillar-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #005f8a);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.25rem;
    box-shadow: 0 4px 18px var(--glow);
}
.pillar-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.pillar-card p  { color: var(--muted); font-size: .9rem; }

/* ── TECH BANNER ───────────────────────────────────── */
.tech-banner {
    position: relative; overflow: hidden;
    border-radius: var(--radius);
    min-height: 280px; display: flex; align-items: center;
    padding: 3rem 3.5rem;
    border: 1px solid var(--border);
}
.tech-banner img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.tech-banner::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(7,14,27,.88) 55%, rgba(7,14,27,.3) 100%);
}
.tech-banner-body { position: relative; z-index: 1; max-width: 560px; }
.tech-banner-body h2 {
    font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .75rem;
}
.tech-banner-body p { color: var(--muted); margin-bottom: 1.5rem; }

/* ── DIVIDER ───────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); }

/* ── FOOTER ────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}
.footer-inner {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-brand .fn { font-weight: 700; font-size: .95rem; }
.footer-brand .fr { font-size: .75rem; color: var(--muted); margin-top: .1rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .85rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: .8rem; color: var(--muted); }

/* ── ABOUT PAGE ────────────────────────────────────── */
.about-grid {
    display: grid; grid-template-columns: 320px 1fr;
    gap: 4rem; align-items: start;
}
.about-photo-wrap {
    position: sticky; top: calc(var(--nav-h) + 1.5rem);
}
.about-photo-wrap img {
    width: 100%; border-radius: var(--radius);
    border: 1px solid var(--border);
}
.about-values {
    display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem;
}
.value-tag {
    padding: .3rem .8rem;
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 999px; font-size: .78rem; color: var(--accent2);
    font-weight: 500;
}

/* ── TIMELINE ──────────────────────────────────────── */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before {
    content: ''; position: absolute; left: 0; top: 8px; bottom: 0;
    width: 2px; background: var(--border);
}
.tl-item { position: relative; margin-bottom: 2.25rem; }
.tl-item::before {
    content: ''; position: absolute; left: -1.75rem; top: 7px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--accent); border: 2px solid var(--bg);
    box-shadow: 0 0 0 3px var(--glow);
    margin-left: -5px;
}
.tl-year {
    font-size: .75rem; color: var(--accent); font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase; margin-bottom: .3rem;
}
.tl-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
.tl-item p  { color: var(--muted); font-size: .875rem; }

/* ── SKILLS PAGE ───────────────────────────────────── */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.skill-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.skill-icon {
    width: 46px; height: 46px; border-radius: 10px;
    background: var(--surface2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; flex-shrink: 0;
}
.skill-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .15rem; }
.skill-level   { font-size: .75rem; color: var(--accent); font-weight: 500; }
.skill-card p  { color: var(--muted); font-size: .875rem; margin-bottom: 1rem; }
.skill-bar-wrap {
    height: 4px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.skill-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.cert-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
.cert-badge { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.cert-card h4 { font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.cert-card p  { font-size: .8rem; color: var(--muted); }

/* ── CONTACT PAGE ──────────────────────────────────── */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.25fr;
    gap: 4rem; align-items: start;
}
.contact-info h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2.5rem; font-size: 1.05rem; }

.contact-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.ci-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--surface2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; flex-shrink: 0;
}
.ci-label { font-size: .72rem; color: var(--muted); margin-bottom: .15rem; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; }
.ci-value { font-size: .95rem; font-weight: 500; }
.ci-value a { transition: color .2s; }
.ci-value a:hover { color: var(--accent); }

.form-card { padding: 2.5rem; }
.form-card h2 { font-size: 1.25rem; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; font-size: .8rem; font-weight: 500;
    color: var(--muted); margin-bottom: .5rem; letter-spacing: .04em;
}
.form-group input,
.form-group textarea {
    width: 100%; padding: .8rem 1rem;
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text);
    font-family: inherit; font-size: .9rem;
    transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--glow);
}
.form-group textarea { resize: vertical; min-height: 130px; }
::placeholder { color: var(--muted); opacity: 1; }

.alert {
    padding: 1rem 1.25rem; border-radius: 10px;
    margin-bottom: 1.5rem; font-size: .9rem;
}
.alert-success {
    background: rgba(0,191,255,.1);
    border: 1px solid var(--accent); color: var(--accent2);
}
.alert-error {
    background: rgba(255,80,80,.1);
    border: 1px solid rgba(255,80,80,.4); color: #ff8080;
}

/* ── PAGE INTRO ────────────────────────────────────── */
.page-intro {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4rem;
}

/* ── UTILITY ───────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.flex-gap { display: flex; gap: 1rem; flex-wrap: wrap; }
.text-center { text-align: center; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid    { grid-template-columns: 1fr; }
    .contact-grid  { grid-template-columns: 1fr; gap: 3rem; }
    .pillars-grid  { grid-template-columns: repeat(2, 1fr); }
    .about-photo-wrap { position: static; max-width: 100%; }
}

@media (max-width: 768px) {
    .site-nav {
        padding: 0 1.25rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--surface);
    }
    .hamburger { display: flex; }
    .nav-list {
        display: none; position: fixed;
        top: var(--nav-h); left: 0; right: 0; bottom: 0; height: auto;
        flex-direction: column; gap: 0;
        background: var(--surface);
        border-top: 1px solid var(--border);
        padding: 1rem 1.5rem 2rem;
        overflow-y: auto; z-index: 400;
    }
    .nav-list.open { display: flex; }
    .nav-list li { border-bottom: 1px solid var(--border); }
    .nav-list a { display: block; padding: 1rem .25rem; font-size: 1rem; color: var(--text); }
    .nav-list a.nav-cta { border: none; }
    .form-row { grid-template-columns: 1fr; }
    .tech-banner { padding: 2rem 1.75rem; }
}

@media (max-width: 640px) {
    .stats-grid   { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid { grid-template-columns: 1fr; }
    .hero { height: auto; padding: 5rem 0 3.5rem; }
    .hero-bg { opacity: .3; }
    .hero-overlay { background: rgba(7,14,27,.75); }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .two-paths    { grid-template-columns: 1fr !important; }
    .more-pages   { grid-template-columns: 1fr !important; }
    .quiz-teaser-card { grid-template-columns: 1fr !important; }
    .quiz-teaser-card img { max-height: 220px; }
}

/* ── FEATURE ROWS (text-dominant, photo as accent) ─── */
.feature-rows {
    display: flex; flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.feature-row {
    display: grid;
    grid-template-columns: 260px 1fr;   /* photo column narrow & fixed */
    border-bottom: 1px solid var(--border);
    align-items: stretch;
}
.feature-row:last-child { border-bottom: none; }

/* Photo: padded, rounded, accent-sized */
.feature-photo {
    padding: 2rem 1.5rem 2rem 2rem;
    background: var(--bg);
    display: flex; align-items: center;
    border-right: 1px solid var(--border);
}
.feature-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
    opacity: .85;
    display: block;
}

/* Flip: photo on right */
.feature-row.flip { grid-template-columns: 1fr 260px; }
.feature-row.flip .feature-photo {
    order: 1;
    padding: 2rem 2rem 2rem 1.5rem;
    border-right: none;
    border-left: 1px solid var(--border);
}
.feature-row.flip .feature-body { order: 0; }

.feature-body {
    padding: 2.5rem 3rem;
    background: var(--surface);
    display: flex; flex-direction: column; justify-content: center; gap: .75rem;
}

.feature-tag {
    font-size: .7rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .15em; color: var(--accent);
}
.feature-body h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 700; line-height: 1.2; margin-bottom: .75rem; }
.feature-body p  { color: var(--muted); line-height: 1.75; font-size: .9rem; margin-bottom: .25rem; }
.feature-bullets {
    list-style: none; display: flex; flex-direction: column; gap: .55rem; margin-top: 1rem;
}
.feature-bullets li {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: .855rem; color: var(--muted);
}
.feature-bullets li::before {
    content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: .05rem;
}
.feature-link {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--accent); font-size: .855rem; font-weight: 600;
    transition: gap .2s; margin-top: .2rem;
}
.feature-link:hover { gap: .75rem; }

@media (max-width: 860px) {
    .feature-row,
    .feature-row.flip { grid-template-columns: 1fr; }

    .feature-photo,
    .feature-row.flip .feature-photo {
        order: 0 !important;
        display: block;               /* flex aufheben — sonst bricht aspect-ratio */
        padding: 1.25rem 1.25rem 0;
        border-right: none; border-left: none; border-bottom: none;
    }
    .feature-photo img {
        aspect-ratio: unset;          /* 3/4 aus Desktop-Stil überschreiben */
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center 20%;
        border-radius: 8px;
        opacity: .85;
    }
    .feature-body,
    .feature-row.flip .feature-body {
        order: 1 !important;
        padding: 1.5rem 1.25rem 2rem;
    }
}

/* ── WIRKUNG PAGE ───────────────────────────────────── */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.achievement-card { padding: 1.5rem; }
.ach-icon {
    font-size: 2rem; margin-bottom: 1rem; line-height: 1;
}
.achievement-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.achievement-card p  { color: var(--muted); font-size: .875rem; }

.agile-header-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.agile-header-grid img {
    width: 220px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    object-fit: cover;
    aspect-ratio: 3/4;
    display: block;
}
@media (max-width: 768px) {
    .agile-header-grid { grid-template-columns: 1fr; }
    .agile-header-grid img { width: 100%; aspect-ratio: 16/9; }
}

.big-quote {
    border-left: 3px solid var(--accent);
    padding: 1.5rem 2rem;
    background: var(--surface2);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    margin: 2.5rem 0;
}

.impact-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem; margin-top: 2rem;
}
.impact-item {
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.impact-num  { font-size: 2.2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.impact-desc { font-size: .8rem; color: var(--muted); margin-top: .4rem; }

/* ── GESCHICHTE / STORY PAGE ───────────────────────── */
.story-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.story-toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin-bottom: 4rem;
}
.story-toc h3 {
    font-size: .75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .12em; color: var(--accent); margin-bottom: 1rem;
}
.story-toc ol {
    list-style: none; counter-reset: toc-counter;
    display: flex; flex-direction: column; gap: .5rem;
}
.story-toc li {
    counter-increment: toc-counter;
    display: flex; align-items: baseline; gap: .75rem;
    font-size: .9rem;
}
.story-toc li::before {
    content: counter(toc-counter, decimal-leading-zero);
    color: var(--accent); font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; flex-shrink: 0;
}
.story-toc a { color: var(--muted); transition: color .2s; }
.story-toc a:hover { color: var(--text); }

.story-chapter {
    padding: 4.5rem 0 2rem;
    border-top: 1px solid var(--border);
}
.story-chapter:first-of-type { border-top: none; padding-top: 1rem; }

.chapter-eyebrow {
    display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem;
}
.chapter-num {
    font-size: 3.5rem; font-weight: 700; line-height: 1;
    color: var(--border); flex-shrink: 0; letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}
.chapter-label {
    font-size: .7rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .15em; color: var(--accent);
}

.story-chapter h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 700; line-height: 1.15; margin-bottom: 2rem;
}

.story-text p {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.85;
    margin-bottom: 1.1rem;
}
.story-text p.lead {
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 1.75;
}
.story-text strong { color: var(--text); font-weight: 600; }
.story-text em     { font-style: italic; color: var(--text); }

.story-photo-block {
    margin: 2.75rem -1rem;   /* slight bleed beyond text column */
}
.story-photo-block img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
}
.story-photo-block.old img {
    filter: sepia(.25) contrast(1.05) brightness(.95);
}
.photo-caption {
    font-size: .78rem; color: var(--muted);
    margin-top: .65rem; font-style: italic; text-align: center;
    padding: 0 1rem;
}

.story-pull {
    border-left: 3px solid var(--accent);
    padding: 1.1rem 1.6rem;
    margin: 2.25rem 0;
    font-size: 1.1rem;
    color: var(--text);
    font-style: italic;
    line-height: 1.65;
    background: var(--surface2);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.story-end {
    padding: 3.5rem 0 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
}
.story-end p {
    color: var(--muted); font-style: italic; font-size: 1.05rem;
    margin-bottom: 2rem;
}

.coming-chapters {
    display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
    margin-top: 1.5rem;
}
.coming-chip {
    padding: .4rem 1rem;
    border: 1px dashed var(--border);
    border-radius: 999px;
    font-size: .8rem; color: var(--muted);
}

@media (max-width: 640px) {
    .wl-split  { grid-template-columns: 1fr !important; }
    .wl-thirds { grid-template-columns: 1fr 1fr !important; }
    .story-photo-block { margin: 2rem 0; }
    .chapter-num { font-size: 2.5rem; }
    .projekt-item { grid-template-columns: 72px 1fr; }
    .projekt-thumb, .projekt-thumb-placeholder { width: 72px; height: 72px; }
    .projekt-arrow { display: none; }
}

/* ── MUSIK / SONG CARDS ─────────────────────────────── */
.song-card {
    margin-bottom: 2.5rem;
}
.song-card h3 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: .35rem;
}
.song-card .song-desc {
    color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 1.25rem;
}
.song-player {
    width: 100%; height: 44px;
    border-radius: 8px; outline: none;
    display: block; margin-bottom: 1rem;
    accent-color: var(--accent);
    filter: invert(0);
}
/* Chromium tint */
.song-player::-webkit-media-controls-panel { background: var(--surface2); }

.lyrics-block {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.lyrics-block summary {
    padding: .75rem 1.25rem;
    cursor: pointer;
    font-size: .82rem; font-weight: 600;
    color: var(--accent);
    text-transform: uppercase; letter-spacing: .1em;
    list-style: none;
    display: flex; align-items: center; gap: .5rem;
    user-select: none;
    transition: background .2s;
}
.lyrics-block summary::-webkit-details-marker { display: none; }
.lyrics-block summary::before {
    content: '▶'; font-size: .65rem; transition: transform .2s;
}
.lyrics-block[open] summary::before { transform: rotate(90deg); }
.lyrics-block summary:hover { background: var(--surface2); }

.lyrics-content {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--surface2);
}
.lyric-section { margin-bottom: 1.25rem; }
.lyric-section:last-child { margin-bottom: 0; }
.lyric-marker {
    display: inline-block;
    font-size: .72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--accent); margin-bottom: .4rem;
}
.lyric-section p {
    font-size: .875rem; color: var(--muted);
    line-height: 1.8; margin: 0;
    white-space: pre-line;
}

/* ── Song Embed (inline auf anderen Seiten) ─────── */
.song-embed {
    display: flex; gap: 1.1rem; align-items: flex-start;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    padding: 1.1rem;
    margin: 2rem 0;
}
.song-embed-cover {
    width: 80px; height: 80px; object-fit: cover;
    border-radius: 6px; flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.45);
}
.song-embed-body { flex: 1; min-width: 0; }
.song-embed-label {
    font-size: .62rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: var(--accent); margin-bottom: .25rem;
}
.song-embed-title { font-size: 1rem; font-weight: 700; margin: 0 0 .3rem; line-height: 1.2; }
.song-embed-desc {
    font-size: .82rem; color: var(--muted); line-height: 1.55; margin: 0 0 .6rem;
}
.song-embed-links { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.song-embed-links a {
    font-size: .78rem; font-weight: 600; color: var(--accent); text-decoration: none;
}
.song-embed-links a:hover { text-decoration: underline; }
.song-embed-sep { color: var(--border); }
@media (max-width: 480px) {
    .song-embed { flex-direction: column; }
    .song-embed-cover { width: 60px; height: 60px; }
}

/* ── PROJEKT OVERVIEW ───────────────────────────────── */
.projekt-section-label { margin-bottom: 1.25rem; }
.projekt-section-title { font-size: 1.25rem; font-weight: 700; margin: .35rem 0 0; }
.projekt-list { display: flex; flex-direction: column; gap: .75rem; }

.projekt-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem 1.25rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.projekt-thumb {
    width: 90px; height: 90px;
    border-radius: 8px; overflow: hidden; flex-shrink: 0;
}
.projekt-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .35s;
}
.projekt-thumb-placeholder {
    width: 90px; height: 90px; border-radius: 8px; flex-shrink: 0;
    background: var(--surface2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.projekt-item:hover .projekt-thumb img { transform: scale(1.07); }

.projekt-info { min-width: 0; }
.projekt-status {
    font-size: .68rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .1em; color: var(--muted); margin-bottom: .3rem;
}
.projekt-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.projekt-item p  { color: var(--muted); font-size: .8rem; line-height: 1.5; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.projekt-arrow { color: var(--muted); font-size: 1rem; flex-shrink: 0; transition: color .2s, transform .2s; }
.projekt-item:hover .projekt-arrow { color: var(--accent); transform: translateX(3px); }

.projekt-placeholder { border-style: dashed !important; opacity: .5; cursor: default; }
.projekt-placeholder:hover { opacity: .65; transform: none !important; box-shadow: none !important; }
.projekt-placeholder:hover .projekt-arrow { transform: none; color: var(--muted); }

.breadcrumb {
    display: flex; align-items: center; gap: .5rem;
    font-size: .82rem; color: var(--muted); margin-bottom: 2.5rem;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { opacity: .4; }

/* ── PROJEKTE / PODCAST ─────────────────────────────── */
.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}
.episode-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .3s, transform .3s;
    display: flex; flex-direction: column;
}
.episode-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.episode-card.highlight { border-color: var(--accent); }

.episode-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; }
.episode-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.episode-num {
    position: absolute; top: .6rem; left: .6rem;
    background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
    color: var(--accent); font-size: .7rem; font-weight: 700;
    padding: .2rem .55rem; border-radius: 5px; letter-spacing: .05em;
}
.highlight-badge {
    position: absolute; top: .6rem; right: .6rem;
    background: var(--accent); color: var(--bg);
    font-size: .65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; padding: .2rem .55rem; border-radius: 5px;
}

.episode-body {
    padding: .9rem 1rem 1rem;
    display: flex; flex-direction: column; gap: .35rem; flex: 1;
}
.episode-guest { font-size: .88rem; font-weight: 600; line-height: 1.3; }
.episode-topic { font-size: .78rem; color: var(--muted); line-height: 1.4; }

.episode-body audio {
    width: 100%; margin-top: auto; padding-top: .65rem;
    height: 32px;
}
/* Tint the native audio control to fit dark theme */
audio { accent-color: var(--accent); }

.project-header {
    display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
    margin-bottom: 3rem;
}
.project-logo {
    width: 140px; height: 140px; border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border); flex-shrink: 0;
}
.project-logo img { width: 100%; height: 100%; object-fit: cover; }

.project-facts {
    display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem;
}
.project-fact {
    padding: .3rem .8rem;
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 999px; font-size: .78rem; color: var(--muted);
}
.project-fact strong { color: var(--accent); }

@media (max-width: 600px) {
    .project-header { grid-template-columns: 1fr; }
    .project-logo { width: 100px; height: 100px; }
}

/* ── HIGHLIGHT CARD GRID (Podcast Christine Hoffmann) ── */
.highlight-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    align-items: center;
}
@media (max-width: 600px) {
    .highlight-grid { grid-template-columns: 1fr; }
}

/* ── BLOG ARTICLES (Arbeitnehmerkanal) ──────────────── */
.blog-list { display: flex; flex-direction: column; gap: .5rem; }
.blog-article {
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; background: var(--surface);
}
.blog-summary {
    display: grid; grid-template-columns: 72px 1fr 1.25rem;
    gap: 1.25rem; align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer; list-style: none; user-select: none;
    transition: background .15s;
}
.blog-summary::-webkit-details-marker { display: none; }
.blog-summary:hover { background: var(--surface2); }
.blog-thumb { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-meta h3 { font-size: .95rem; font-weight: 600; line-height: 1.3; margin: 0 0 .25rem; }
.blog-teaser { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }
.blog-chevron { color: var(--accent); font-size: 1.1rem; font-weight: 700; transition: transform .2s; text-align: center; }
details[open] .blog-chevron { transform: rotate(90deg); }
.blog-body {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--surface2);
}
.blog-body p { color: var(--muted); font-size: .88rem; line-height: 1.8; margin-bottom: .85rem; }
.blog-body p:last-child { margin-bottom: 0; }
.blog-body strong { color: var(--text); }
.blog-body ul { padding-left: 1.5rem; margin-bottom: .85rem; }
.blog-body ul li { font-size: .88rem; color: var(--muted); line-height: 1.75; margin-bottom: .3rem; }
.blog-body ul li strong { color: var(--text); }
@media (max-width: 600px) {
    .blog-summary { grid-template-columns: 56px 1fr 1rem; gap: .9rem; padding: .9rem 1rem; }
    .blog-thumb { width: 56px; height: 56px; }
}

/* ── INLINE BOOK LAYOUT (Finanzbildung) ─────────────── */
.inline-book {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0;
}
@media (max-width: 600px) {
    .inline-book { grid-template-columns: 1fr; }
}

/* ── PDF EMBED ──────────────────────────────────────── */
.pdf-embed {
    width: 100%; height: 680px; border: none; display: block;
}
@media (max-width: 640px) {
    .pdf-embed { height: 400px; }
}

/* ── QUIZ ───────────────────────────────────────────── */
.quiz-shell { max-width: 660px; margin: 0 auto; }

.quiz-meta {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: .75rem;
}
.quiz-counter { font-size: .8rem; color: var(--muted); font-weight: 500; }
.quiz-bar-wrap {
    height: 4px; background: var(--border); border-radius: 2px;
    overflow: hidden; margin-bottom: 2.5rem;
}
.quiz-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px; transition: width .4s ease;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeUp .25s ease; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.quiz-q {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 700; line-height: 1.3; margin-bottom: .5rem;
}
.quiz-hint {
    font-size: .85rem; color: var(--muted);
    font-style: italic; margin-bottom: 1.75rem;
}

.quiz-options { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.quiz-opt {
    display: flex; align-items: flex-start; gap: .9rem;
    padding: .9rem 1.1rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; cursor: pointer;
    transition: border-color .18s, background .18s, box-shadow .18s;
    text-align: left; width: 100%; font-family: inherit; color: var(--text);
}
.quiz-opt:hover { border-color: var(--accent2); background: var(--surface2); }
.quiz-opt.chosen {
    border-color: var(--accent);
    background: rgba(0,191,255,.07);
    box-shadow: 0 0 0 1px var(--accent);
}
.quiz-letter {
    width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
    background: var(--surface2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 700; color: var(--muted);
    transition: background .18s, color .18s, border-color .18s;
}
.quiz-opt.chosen .quiz-letter {
    background: var(--accent); color: var(--bg); border-color: var(--accent);
}
.quiz-opt-text { font-size: .9rem; line-height: 1.5; padding-top: .15rem; }

.quiz-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .72rem 1.6rem; border-radius: 10px;
    font-size: .9rem; font-weight: 600; font-family: inherit;
    background: var(--accent); color: var(--bg); border: none; cursor: pointer;
    box-shadow: 0 4px 18px var(--glow);
    transition: transform .2s, opacity .2s;
}
.quiz-btn:hover:not(:disabled) { transform: translateY(-2px); }
.quiz-btn:disabled { opacity: .3; cursor: not-allowed; }

/* Result */
.result-card { display: none; animation: fadeUp .35s ease; }
.result-card.show { display: block; }
.result-score-wrap { max-width: 340px; margin: 0 auto 2.5rem; }
.result-score-lbl {
    display: flex; justify-content: space-between;
    font-size: .78rem; color: var(--muted); margin-bottom: .5rem;
}
.result-bar-bg { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.result-bar-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 4px; transition: width 1s ease;
}
.result-icon  { font-size: 3rem; margin-bottom: 1.25rem; text-align: center; }
.result-title {
    font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700;
    margin-bottom: .75rem; text-align: center;
}
.result-text {
    color: var(--muted); font-size: 1rem; line-height: 1.75;
    max-width: 500px; margin: 0 auto 2rem; text-align: center;
}
.result-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
