/* ============================================================
   OPERATION::ZUKUNFT — style.css
   Relaunch 2026: Cinematisches Foresight-Angebot
   Dunkle, filmische Grundstimmung · Anthrazit/Blauschwarz
   Struktur:
     1. Design-Tokens & Reset
     2. Kino-Ebenen (Grain, Vignette, Glow)
     3. Navigation
     4. Hero
     5. Agenten-Cluster & Pipeline
     6. Leistungen
     7. Buch & Workbooks
     8. Über mich / Blog / Kontakt
     9. Sidebar (Blog-Leiste)
    10. Footer & Impressum
    11. Scroll-Reveal & Motion
    12. Responsive
   ============================================================ */

/* ---------- 1. Design-Tokens & Reset ---------- */
:root {
    /* Flächen: tiefes Anthrazit/Blauschwarz — bewusst kein reines Schwarz */
    --bg-0: #0b0e15;
    --bg-1: #0e1320;
    --bg-2: #121a2a;
    --bg-card: #131b2c;
    --bg-card-hover: #182238;

    /* Linien & Text */
    --border: #1d2739;
    --border-bright: #2a3a55;
    --text-primary: #e9edf6;
    --text-secondary: #93a0b6;
    --text-dim: #5c6880;

    /* Akzente: ein kühles Cyan als Leitlicht, Amber nur als Signalfarbe */
    --accent: #4fd8ff;
    --accent-dim: #2aa8cc;
    --accent-soft: rgba(79, 216, 255, 0.12);
    --amber: #ffb454;
    --red: #ff4d68;

    /* Leuchten */
    --glow: rgba(79, 216, 255, 0.16);
    --glow-strong: rgba(79, 216, 255, 0.35);

    /* Typo */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', var(--font-body);
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    /* Bewegung: weiche, filmische Kurven */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent-dim); color: var(--bg-0); }
img { max-width: 100%; display: block; }

/* Tastatur-Fokus deutlich sichtbar (Barrierearmut) */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ---------- 2. Kino-Ebenen: Grain, Vignette, Hintergrund ---------- */
/* Dezenter Film-Grain als SVG-Rauschen, fast unsichtbar, aber fühlbar */
.film-grain {
    position: fixed; inset: 0; z-index: 90;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 240px 240px;
}
/* Sanfte Vignettierung über der ganzen Seite */
.vignette {
    position: fixed; inset: 0; z-index: 89;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(4, 6, 11, 0.55) 100%);
}
/* Feine Rasterlinien im Hintergrund, kaum wahrnehmbar */
.grid-bg {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.09;
    mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}

/* ---------- 3. Navigation ---------- */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem;
    background: rgba(11, 14, 21, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.5s var(--ease-soft), background 0.5s var(--ease-soft);
}
nav.scrolled { border-bottom-color: var(--border); background: rgba(11, 14, 21, 0.88); }
.nav-logo {
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.05rem;
    color: var(--accent); text-decoration: none;
    letter-spacing: -0.01em;
}
.nav-logo span { color: var(--text-dim); font-weight: 400; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.88rem; font-weight: 500; letter-spacing: 0.02em;
    transition: color 0.3s var(--ease-soft);
}
.nav-links a:hover { color: var(--accent); }
.nav-toggle {
    display: none; background: none; border: none;
    color: var(--text-primary); font-size: 1.5rem; cursor: pointer;
}

/* ---------- 4. Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    isolation: isolate;
}
/* Video-Ebene: stummer Autoplay-Loop mit Poster-Fallback */
.hero-media {
    position: absolute; inset: 0; z-index: -2;
}
.hero-media video, .hero-media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.55) saturate(0.9);
}
/* Farbverlauf über dem Video, damit der Text immer lesbar bleibt */
.hero-scrim {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(11,14,21,0.55) 0%, rgba(11,14,21,0.25) 40%, var(--bg-0) 96%),
        radial-gradient(ellipse at 25% 40%, transparent 0%, rgba(11,14,21,0.4) 75%);
}
.hero-inner {
    max-width: 1200px; margin: 0 auto; width: 100%;
    padding: 9rem 2rem 6rem;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-mono); font-size: 0.72rem;
    color: var(--accent);
    border: 1px solid var(--accent-dim);
    background: rgba(11, 14, 21, 0.5);
    padding: 0.35rem 0.9rem; border-radius: 100px;
    margin-bottom: 2rem;
    letter-spacing: 0.1em; text-transform: uppercase;
}
/* pulsierender Status-Punkt: „System in Betrieb" */
.hero-badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--glow-strong);
    animation: pulse-dot 2.4s var(--ease-soft) infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 700; line-height: 1.06;
    letter-spacing: -0.035em;
    max-width: 16ch;
    margin-bottom: 1.8rem;
}
.hero h1 .highlight {
    background: linear-gradient(120deg, var(--accent) 20%, #9be8ff 60%, var(--accent-dim));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 2.6rem;
}
.hero-subtitle strong { color: var(--text-primary); font-weight: 600; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
    text-decoration: none; border-radius: 5px;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
                background 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft),
                color 0.35s var(--ease-soft);
    cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--bg-0); }
.btn-primary:hover { box-shadow: 0 8px 34px var(--glow-strong); }
.btn-outline {
    background: rgba(11,14,21,0.4); color: var(--text-primary);
    border: 1px solid var(--border-bright);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
/* dezenter Scroll-Hinweis am unteren Hero-Rand */
.hero-scroll-hint {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    font-family: var(--font-mono); font-size: 0.65rem;
    color: var(--text-dim); letter-spacing: 0.25em; text-transform: uppercase;
    animation: hint-float 3s var(--ease-soft) infinite;
}
@keyframes hint-float {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
    50% { transform: translate(-50%, 8px); opacity: 0.3; }
}

/* ---------- 5. Agenten-Cluster & Pipeline ---------- */
section { position: relative; z-index: 1; padding: 6rem 0; }
.section-full { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-label {
    font-family: var(--font-mono); font-size: 0.7rem;
    color: var(--accent); letter-spacing: 0.18em;
    text-transform: uppercase; margin-bottom: 0.9rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 700; letter-spacing: -0.025em;
    line-height: 1.12; margin-bottom: 1.4rem;
}
.section-intro { color: var(--text-secondary); font-size: 1.05rem; max-width: 720px; }
.section-intro strong { color: var(--text-primary); }

#cluster {
    background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 18%, var(--bg-1) 82%, var(--bg-0) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
/* Video-Sequenz zum Cluster, filmisch gerahmt */
.cluster-film {
    position: relative;
    margin: 3rem 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-bright);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px var(--glow);
}
.cluster-film video, .cluster-film img { width: 100%; display: block; }
.cluster-film::after {
    /* leichte innere Vignette auf dem Filmfenster */
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(4,6,11,0.4) 100%);
    pointer-events: none;
}
.cluster-film-caption {
    position: absolute; left: 1.2rem; bottom: 1rem; z-index: 2;
    font-family: var(--font-mono); font-size: 0.68rem;
    color: rgba(233, 237, 246, 0.75);
    letter-spacing: 0.14em; text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

/* Die Pipeline: Yoko → John → George als fließender Ablauf */
.pipeline {
    margin: 3.5rem 0 1rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0; align-items: stretch;
}
.pipeline-node {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.8rem 1.6rem;
    position: relative;
    transition: border-color 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft),
                transform 0.5s var(--ease-out);
}
.pipeline-node:hover {
    border-color: var(--accent-dim);
    box-shadow: 0 0 40px var(--glow);
    transform: translateY(-4px);
}
/* Stilisierter Mac mini: flacher Aluminiumkörper mit atmender LED */
.mini {
    width: 74px; height: 26px;
    border-radius: 7px;
    background: linear-gradient(180deg, #3a4356 0%, #262e3f 55%, #1a2130 100%);
    border: 1px solid var(--border-bright);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.09);
    position: relative;
    margin-bottom: 1.3rem;
}
.mini::after {
    /* Status-LED */
    content: ''; position: absolute; right: 9px; top: 50%;
    width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--glow-strong);
    animation: pulse-dot 3s var(--ease-soft) infinite;
}
.pipeline-node[data-node="john"] .mini::after { animation-delay: 0.8s; }
.pipeline-node[data-node="george"] .mini::after { animation-delay: 1.6s; }
.pipeline-step {
    font-family: var(--font-mono); font-size: 0.62rem;
    color: var(--text-dim); letter-spacing: 0.2em; text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.pipeline-name {
    font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 700;
    margin-bottom: 0.15rem;
}
.pipeline-role { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.7rem; }
.pipeline-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* Animierte Verbindung zwischen den Pipeline-Knoten:
   eine feine Linie, auf der ein Lichtpunkt von links nach rechts wandert */
.pipeline-link {
    width: 64px; align-self: center;
    height: 2px; position: relative;
    background: linear-gradient(90deg, var(--border-bright), var(--accent-dim), var(--border-bright));
    overflow: visible;
}
.pipeline-link::before {
    content: ''; position: absolute; top: 50%; left: 0;
    width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--glow-strong), 0 0 22px var(--glow);
    animation: flow-dot 3.2s var(--ease-soft) infinite;
}
.pipeline-link[data-delay="2"]::before { animation-delay: 1.6s; }
@keyframes flow-dot {
    0%   { left: -4px; opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { left: calc(100% - 3px); opacity: 0; }
}

/* Weitere Cluster-Knoten: Paul & Ringo, bewusst dezenter gehalten */
.cluster-extra {
    margin-top: 1.6rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
.extra-node {
    display: flex; align-items: center; gap: 1.1rem;
    background: rgba(19, 27, 44, 0.55);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.4rem;
    transition: border-color 0.4s var(--ease-soft);
}
.extra-node:hover { border-color: var(--border-bright); }
.extra-node .mini { width: 52px; height: 19px; margin-bottom: 0; flex-shrink: 0; }
.extra-node .mini::after { animation-delay: 2.2s; }
.extra-node-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.extra-node-role { color: var(--text-secondary); font-size: 0.85rem; }

/* Kernaussage unter dem Cluster */
.cluster-claim {
    margin-top: 3rem;
    padding: 1.6rem 2rem;
    border-left: 2px solid var(--accent);
    background: linear-gradient(90deg, var(--accent-soft), transparent 65%);
    border-radius: 0 8px 8px 0;
}
.cluster-claim p { color: var(--text-secondary); font-size: 1.02rem; }
.cluster-claim strong { color: var(--text-primary); }

/* ---------- 6. Leistungen ---------- */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 3rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2.2rem 2rem;
    display: flex; flex-direction: column;
    transition: border-color 0.5s var(--ease-soft), transform 0.5s var(--ease-out),
                box-shadow 0.5s var(--ease-soft);
}
.service-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px var(--glow);
}
.service-icon {
    font-size: 1.6rem; color: var(--accent);
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-bright); border-radius: 10px;
    background: var(--accent-soft);
    margin-bottom: 1.4rem;
}
.service-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; }
.service-promise { color: var(--accent); font-size: 0.88rem; font-weight: 600; margin-bottom: 1rem; }
.service-card p.service-body { color: var(--text-secondary); font-size: 0.93rem; flex-grow: 1; }
.service-cta {
    margin-top: 1.6rem;
    font-size: 0.88rem; font-weight: 600;
    color: var(--accent); text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: gap 0.3s var(--ease-out);
}
.service-cta:hover { gap: 0.7rem; }
.prototype-banner {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    border: 1px solid var(--accent-dim);
    border-radius: 10px;
    padding: 1.6rem 2rem; margin-top: 2.2rem;
    display: flex; align-items: center; gap: 1.5rem;
}
.prototype-banner .proto-icon { font-size: 2rem; flex-shrink: 0; }
.prototype-banner p { color: var(--text-secondary); font-size: 0.95rem; }
.prototype-banner a { color: var(--accent); font-weight: 600; }

/* ---------- 7. Buch & Workbooks (nachgeordnet) ---------- */
#publikationen { background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.book-grid { display: grid; grid-template-columns: 250px 1fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.book-cover { position: relative; }
.book-cover img {
    width: 100%; border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 40px var(--glow);
    transition: transform 0.6s var(--ease-out);
}
.book-cover:hover img { transform: translateY(-6px) rotate(-0.5deg); }
.book-cover .badge-new {
    position: absolute; top: -10px; right: -10px;
    background: var(--red); color: white;
    font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
    padding: 0.4rem 0.8rem; border-radius: 4px; text-transform: uppercase;
}
.book-content h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; margin-bottom: 0.3rem; }
.book-content .book-subtitle { font-size: 1.05rem; color: var(--accent); margin-bottom: 1.4rem; font-weight: 500; }
.book-content p { color: var(--text-secondary); margin-bottom: 1.2rem; font-size: 0.98rem; }
.book-meta {
    font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim);
    margin-bottom: 1.8rem; padding: 1rem 1.2rem;
    border: 1px solid var(--border); border-radius: 6px; background: var(--bg-0);
}
.book-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-amazon { background: #ff9900; color: #111; font-weight: 700; }
.btn-amazon:hover { box-shadow: 0 8px 26px rgba(255,153,0,0.3); }

.workbooks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 3rem; }
.wb-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 1.8rem;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    transition: border-color 0.5s var(--ease-soft), transform 0.5s var(--ease-out),
                box-shadow 0.5s var(--ease-soft);
}
.wb-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.4);
}
.wb-card-cover {
    aspect-ratio: 3 / 4.2;
    margin: -1.8rem -1.8rem 1.5rem;
    overflow: hidden; background: #f4ebd9;
    display: flex; align-items: center; justify-content: center;
}
.wb-card-cover img { width: 100%; height: 100%; object-fit: contain; }
.wb-card-number {
    font-family: var(--font-mono); font-size: 0.68rem; color: var(--accent);
    letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.4rem;
}
.wb-card h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.35rem; line-height: 1.25; }
.wb-card-subtitle { color: var(--amber); font-size: 0.86rem; font-weight: 500; margin-bottom: 1rem; }
.wb-card-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; flex-grow: 1; }
.wb-card-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: auto; }
.wb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.7rem 1rem;
    font-size: 0.87rem; font-weight: 600;
    text-decoration: none; border-radius: 5px;
    border: 1px solid transparent;
    transition: background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft),
                box-shadow 0.3s var(--ease-soft);
}
.wb-btn-basis { background: transparent; color: var(--accent); border-color: var(--accent-dim); }
.wb-btn-basis:hover { background: var(--accent-soft); border-color: var(--accent); }
.wb-btn-pro { background: var(--accent); color: var(--bg-0); }
.wb-btn-pro:hover { box-shadow: 0 0 24px var(--glow-strong); }
.wb-btn-disabled { background: transparent; color: var(--text-dim); border-color: var(--border); cursor: not-allowed; pointer-events: none; }
.wb-counter {
    font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim);
    text-align: center; margin-top: 0.4rem; letter-spacing: 0.05em; opacity: 0.75;
}
.wb-counter-num { color: var(--text-secondary); }
.badge-coming, .badge-planning, .badge-available {
    position: absolute; top: 1rem; right: 1rem; z-index: 2;
    font-family: var(--font-display); font-size: 0.68rem;
    padding: 0.25rem 0.6rem; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-available { background: var(--accent); color: var(--bg-0); font-weight: 700; }
.badge-coming { background: var(--amber); color: #111; font-weight: 700; }
.badge-planning { background: transparent; color: var(--amber); border: 1px solid var(--amber); font-weight: 600; }

/* ---------- 8. Über mich / Kontakt ---------- */
.about-content { max-width: 800px; }
.about-content p { color: var(--text-secondary); margin-bottom: 1.2rem; font-size: 1.02rem; }
.about-links { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.about-link {
    font-family: var(--font-mono); font-size: 0.85rem;
    color: var(--accent); text-decoration: none;
    border-bottom: 1px solid var(--accent-dim); padding-bottom: 2px;
    transition: color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}
.about-link:hover { color: #9be8ff; border-color: #9be8ff; }

#kontakt { border-top: 1px solid var(--border); }
.contact-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.contact-inner .section-label { text-align: center; }
.contact-inner p { color: var(--text-secondary); margin-bottom: 2.2rem; font-size: 1.05rem; }
.contact-email {
    font-family: var(--font-mono); font-size: 1.05rem;
    color: var(--accent); text-decoration: none;
    border: 1px solid var(--accent-dim);
    padding: 0.85rem 2.2rem; border-radius: 6px;
    display: inline-block;
    transition: background 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}
.contact-email:hover { background: var(--accent-soft); box-shadow: 0 0 34px var(--glow); }

/* ---------- 9. Layout mit Sidebar (Blog-Leiste) ---------- */
.page-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2.5rem;
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    position: relative; z-index: 1;
}
.main-content { min-width: 0; }
.sidebar {
    position: sticky; top: 5rem; align-self: start;
    max-height: calc(100vh - 6rem); overflow-y: auto;
    padding: 2rem 0;
}
.sidebar-title {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
    color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase;
    margin-bottom: 0.4rem; padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-note {
    font-size: 0.72rem; color: var(--text-dim);
    margin-bottom: 0.8rem; padding-top: 0.5rem;
}
.sidebar-post {
    display: block; padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: padding-left 0.3s var(--ease-out);
}
.sidebar-post:hover { padding-left: 0.5rem; }
.sidebar-post-title {
    font-size: 0.88rem; font-weight: 500;
    color: var(--text-primary); display: block; line-height: 1.45;
    transition: color 0.3s var(--ease-soft);
}
.sidebar-post:hover .sidebar-post-title { color: var(--accent); }
.sidebar-post-date {
    font-family: var(--font-mono); font-size: 0.64rem;
    color: var(--text-dim); margin-top: 0.25rem; display: block;
}
.sidebar-post-teaser {
    font-size: 0.78rem; color: var(--text-secondary);
    margin-top: 0.35rem; display: block; line-height: 1.5;
}
.sidebar-placeholder { font-size: 0.85rem; color: var(--text-dim); padding: 1rem 0; }
.sidebar-book {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 8px; padding: 1.2rem; margin-top: 1.8rem; text-align: center;
}
.sidebar-book img { width: 120px; border-radius: 4px; margin: 0 auto 0.8rem; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.sidebar-book-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; }
.sidebar-book a {
    display: inline-block; font-size: 0.8rem; color: var(--accent);
    text-decoration: none; border: 1px solid var(--accent-dim);
    padding: 0.3rem 0.8rem; border-radius: 4px;
    transition: background 0.3s var(--ease-soft);
}
.sidebar-book a:hover { background: var(--accent-soft); }

/* ---------- 10. Footer & Impressum ---------- */
footer {
    position: relative; z-index: 1;
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-0);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem;
}
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; transition: color 0.3s var(--ease-soft); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--text-dim); margin-top: 1rem; }
.impressum-toggle {
    background: none; border: 1px solid var(--border);
    color: var(--text-dim); font-family: var(--font-body);
    font-size: 0.85rem; padding: 0.4rem 1rem; border-radius: 4px;
    cursor: pointer; transition: border-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.impressum-toggle:hover { border-color: var(--accent); color: var(--accent); }
.impressum-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.6s var(--ease-out), padding 0.35s var(--ease-soft);
    background: var(--bg-1); border-radius: 8px; margin-top: 0;
}
.impressum-content.open {
    max-height: 700px; padding: 1.5rem 2rem; margin-top: 1rem;
    border: 1px solid var(--border);
}
.impressum-content h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.8rem; }
.impressum-content p { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0.6rem; line-height: 1.6; }
.impressum-content a { color: var(--accent); text-decoration: none; }

/* ---------- 11. Scroll-Reveal & Motion ---------- */
/* Elemente mit .reveal blenden sich beim Scrollen filmisch ein
   (Steuerung in main.js via IntersectionObserver) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* gestaffelte Verzögerung für Kartenreihen */
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* Parallax-Ebenen im Hero (Steuerung in main.js) */
.parallax-layer { will-change: transform; }

/* Reduzierte Bewegung: alles beruhigen, Videos pausiert main.js */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-scroll-hint { display: none; }
}

/* ---------- 12. Responsive ---------- */
@media (max-width: 1100px) and (min-width: 901px) {
    .workbooks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .page-layout { grid-template-columns: 1fr; }
    .sidebar {
        position: static; max-height: none;
        border-top: 1px solid var(--border);
        margin-top: 2rem; padding-top: 2rem;
    }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(11, 14, 21, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column; padding: 1.5rem 2rem; gap: 1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero-inner { padding: 8rem 1.5rem 5rem; }
    /* Pipeline vertikal stapeln, Verbindungen drehen sich mit */
    .pipeline { grid-template-columns: 1fr; gap: 0; }
    .pipeline-link {
        width: 2px; height: 44px; margin: 0 auto;
        background: linear-gradient(180deg, var(--border-bright), var(--accent-dim), var(--border-bright));
    }
    .pipeline-link::before { animation-name: flow-dot-v; left: 50%; margin-left: -3.5px; }
    @keyframes flow-dot-v {
        0%   { top: -4px; opacity: 0; }
        12%  { opacity: 1; }
        88%  { opacity: 1; }
        100% { top: calc(100% - 3px); opacity: 0; }
    }
    .cluster-extra { grid-template-columns: 1fr; }
    .services-grid, .workbooks-grid { grid-template-columns: 1fr; }
    .book-grid { grid-template-columns: 1fr; }
    .book-cover { max-width: 240px; }
    .prototype-banner { flex-direction: column; text-align: center; }
    .footer-top { flex-direction: column; text-align: center; }
    section { padding: 4.5rem 0; }
}
