/* ==========================================================================
   AI FEATURES — Eigenes Layer über styles.css
   - AI Atelier (Live-Brief-Generator)
   - AI Audit (Live-Website-Analyse)
   - AI Konzierge (Chat-Bubble)
   - Command Palette (⌘K)
   - 3D Hero Tilt + WebGL Starfield
   - AI Pulse / Status-Banner
   ========================================================================== */

/* ---------- Globale AI-Tokens ---------- */
:root {
    --ai-cyan-deep: oklch(0.65 0.14 230);
    --ai-cyan-soft: oklch(0.78 0.10 220);
    --ai-glow-cyan: 0 0 24px rgba(79, 195, 247, 0.55);
    --ai-glow-gold: 0 0 24px rgba(212, 175, 55, 0.45);
    --ai-surface: rgba(8, 18, 36, 0.82);
    --ai-surface-2: rgba(18, 34, 60, 0.85);
    --ai-border: rgba(212, 175, 55, 0.22);
    --ai-border-cyan: rgba(79, 195, 247, 0.28);
    --ai-mono: 'JetBrains Mono', 'SF Mono', 'Courier New', monospace;
}

/* ==========================================================================
   AI PULSE — Pulsierender Live-Indikator
   ========================================================================== */
.ai-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.95rem;
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cyan-bright);
    background: rgba(79, 195, 247, 0.06);
    border: 1px solid var(--ai-border-cyan);
    border-radius: 50px;
    backdrop-filter: blur(8px);
}
.ai-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan-bright);
    box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.7);
    animation: ai-pulse-anim 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    flex-shrink: 0;
}
@keyframes ai-pulse-anim {
    0%   { box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(79, 195, 247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 195, 247, 0); }
}

/* ==========================================================================
   HERO ERWEITERT — Floating AI-Status, Cursor Tilt
   ========================================================================== */
.hero-ai-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
}
.hero-ai-bar .ai-pulse { font-size: 0.65rem; }

/* Tilt-Wrapper für Logo */
.hero-logo-tilt {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1200px;
    transition: transform 0.35s ease;
}

/* Mini-Console im Hero — Block-Layout mit fixer Höhe.
   ▸ Pfeil links und blinkender Caret rechts sind absolut positioniert,
   damit der Text natürlich wrappen kann ohne Flex-Konflikte.
   Höhe ist fest auf N Zeilen, sodass die Box bei kurzen UND langen Texten
   gleich hoch bleibt → kein Layout-Sprung mehr. */
.hero-console {
    margin-top: 1.6rem;
    background: rgba(5, 11, 26, 0.55);
    border: 1px solid var(--ai-border-cyan);
    border-radius: 10px;
    padding: 0.6rem 2.4rem 0.6rem 2.4rem;
    font-family: var(--ai-mono);
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--color-cyan-bright);
    backdrop-filter: blur(6px);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    /* Höhe = 2 Zeilen × line-height × font-size + 2× vertikales padding */
    height: 3.4rem;
    min-height: 3.4rem;
    max-height: 3.4rem;
    contain: layout style;
}
.hero-text { min-width: 0; }

.hero-console::before {
    content: '▸';
    color: var(--color-gold);
    position: absolute;
    left: 1rem;
    top: 0.6rem;
    line-height: 1.4;
}
.hero-console-text {
    display: block;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    height: 100%;
}
.hero-console-caret {
    position: absolute;
    right: 1rem;
    top: 0.65rem;
    display: inline-block;
    width: 8px;
    height: 1em;
    background: var(--color-cyan-bright);
    animation: blink 1s step-end infinite;
}

@media (max-width: 768px) {
    .hero-console {
        font-size: 0.72rem;
        /* Mobile: 3 Zeilen Platz, damit lange Texte komplett reinpassen */
        height: 4.2rem;
        min-height: 4.2rem;
        max-height: 4.2rem;
    }
}
@keyframes blink {
    50% { opacity: 0; }
}

/* ==========================================================================
   AI ATELIER — Live-Brief-Generator (Hauptattraktion)
   ========================================================================== */
.atelier-section {
    padding: 7rem 0;
    position: relative;
}
.atelier-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(79, 195, 247, 0.08), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.06), transparent 50%);
    pointer-events: none;
}
.atelier {
    position: relative;
    border: 1px solid var(--ai-border);
    border-radius: 24px;
    background:
        linear-gradient(160deg, rgba(19, 36, 63, 0.92) 0%, rgba(10, 22, 40, 0.95) 100%);
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.atelier-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 620px;
}

/* Linke Seite — Input */
.atelier-input-panel {
    padding: 3rem 2.5rem;
    border-right: 1px solid var(--ai-border);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    background: rgba(5, 11, 26, 0.35);
}
.atelier-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-cyan-bright);
}
.atelier-eyebrow::before {
    content: '◉';
    color: var(--color-cyan);
    animation: blink 2s step-end infinite;
}
.atelier h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 0.4rem;
}
.atelier-sub {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.atelier-field label {
    display: block;
    font-family: var(--ai-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.55rem;
}
.atelier-field input,
.atelier-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(5, 11, 26, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    resize: none;
}
.atelier-field input:focus,
.atelier-field textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
    background: rgba(5, 11, 26, 0.9);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
}
.atelier-field textarea { min-height: 90px; }

/* Schnelle Stil-Chips */
.atelier-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.45rem;
}
.atelier-chip {
    padding: 0.4rem 0.85rem;
    background: rgba(79, 195, 247, 0.06);
    border: 1px solid var(--ai-border-cyan);
    border-radius: 50px;
    color: var(--color-cyan-bright);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}
.atelier-chip:hover {
    background: rgba(79, 195, 247, 0.15);
    transform: translateY(-1px);
}
.atelier-chip.is-active {
    background: var(--grad-gold);
    color: #1A1405;
    border-color: var(--color-gold);
    font-weight: 600;
}

.atelier-generate {
    margin-top: auto;
    padding-top: 1rem;
}
.atelier-generate .btn {
    width: 100%;
    padding: 1.1rem;
    font-size: 0.9rem;
}
.atelier-generate .btn[disabled] {
    opacity: 0.55;
    cursor: progress;
}
.atelier-meta {
    margin-top: 0.7rem;
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    color: var(--color-text-dim);
    text-align: center;
    letter-spacing: 0.08em;
}

/* Rechte Seite — Output */
.atelier-output-panel {
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.atelier-output-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.6rem;
    border-bottom: 1px solid var(--ai-border-cyan);
    background: rgba(5, 11, 26, 0.5);
    font-family: var(--ai-mono);
    font-size: 0.72rem;
    color: var(--color-cyan-bright);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.atelier-output-head .dots {
    display: flex;
    gap: 6px;
}
.atelier-output-head .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}
.atelier-output-head .dot.is-on:nth-child(1) { background: #ff5f57; }
.atelier-output-head .dot.is-on:nth-child(2) { background: #febc2e; }
.atelier-output-head .dot.is-on:nth-child(3) { background: #28c840; }

.atelier-output {
    flex: 1;
    padding: 2rem 2.2rem;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* Leerer Zustand */
.atelier-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--color-text-dim);
    gap: 1rem;
    padding: 2rem;
}
.atelier-empty-orb {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(244, 225, 156, 0.4), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(79, 195, 247, 0.35), transparent 55%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.25), inset 0 0 30px rgba(79, 195, 247, 0.2);
    animation: orb-float 4s ease-in-out infinite;
}
@keyframes orb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.atelier-empty p {
    font-family: var(--ai-mono);
    font-size: 0.85rem;
    color: var(--color-text-dim);
    max-width: 280px;
    line-height: 1.6;
}

/* Streaming-Anzeige während Generierung */
.atelier-loading {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 0.5rem;
}
.atelier-loading-step {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--ai-mono);
    font-size: 0.82rem;
    color: var(--color-text-dim);
    opacity: 0.3;
    transition: all 0.4s;
}
.atelier-loading-step.is-active {
    color: var(--color-cyan-bright);
    opacity: 1;
}
.atelier-loading-step.is-done {
    color: var(--color-gold-light);
    opacity: 1;
}
.atelier-loading-step .spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(79, 195, 247, 0.2);
    border-top-color: var(--color-cyan-bright);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
.atelier-loading-step.is-done .spinner {
    border: 2px solid var(--color-gold-light);
    animation: none;
    position: relative;
}
.atelier-loading-step.is-done .spinner::after {
    content: '✓';
    position: absolute;
    inset: 0;
    color: var(--color-gold-light);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.atelier-loading-step.is-pending .spinner {
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: none;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ergebnis-Layout */
.atelier-result {
    display: grid;
    gap: 1.6rem;
    animation: result-in 0.5s ease-out;
}
@keyframes result-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.atelier-result h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-gold-light);
    line-height: 1.25;
    margin-bottom: 0.4rem;
}
.atelier-result .tagline {
    font-family: var(--ai-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--color-cyan);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: block;
}
.atelier-block-label {
    font-family: var(--ai-mono);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.atelier-block-label::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--color-gold);
}

/* Farbpalette */
.atelier-palette {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
}
.atelier-swatch {
    aspect-ratio: 1;
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}
.atelier-swatch:hover { transform: scale(1.05); }
.atelier-swatch::after {
    content: attr(data-hex);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-family: var(--ai-mono);
    font-size: 0.6rem;
    text-align: center;
    padding: 3px 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

/* Sitemap-Karten */
.atelier-sitemap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.atelier-page {
    padding: 0.5rem 0.9rem;
    background: rgba(79, 195, 247, 0.06);
    border: 1px solid var(--ai-border-cyan);
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
}
.atelier-page::before {
    content: '◇';
    color: var(--color-cyan);
    font-size: 0.7rem;
}

/* Paket-Empfehlung */
.atelier-pkg {
    margin-top: 0.5rem;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.03));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.atelier-pkg-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--grad-gold);
    color: #1A1405;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.atelier-pkg-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-gold-light);
    margin-bottom: 0.1rem;
}
.atelier-pkg-reason {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}
.atelier-pkg-price {
    margin-left: auto;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

/* Fehler-Zustand */
.atelier-error {
    color: #ff8a8a;
    padding: 1rem;
    background: rgba(255, 90, 90, 0.08);
    border: 1px solid rgba(255, 90, 90, 0.3);
    border-radius: 8px;
    font-family: var(--ai-mono);
    font-size: 0.85rem;
}

/* ==========================================================================
   AI AUDIT — Live Website Analyse
   ========================================================================== */
.audit-section { padding: 6rem 0; position: relative; }
.audit-card {
    border: 1px solid var(--ai-border);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(19, 36, 63, 0.85) 0%, rgba(10, 22, 40, 0.92) 100%);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.audit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
}
.audit-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.6rem;
}
.audit-form {
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
}
.audit-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.audit-input-wrap::before {
    content: 'https://';
    position: absolute;
    left: 1rem;
    color: var(--color-text-dim);
    font-family: var(--ai-mono);
    font-size: 0.9rem;
    pointer-events: none;
}
.audit-input {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 5.8rem;
    background: rgba(5, 11, 26, 0.7);
    border: 1px solid rgba(79, 195, 247, 0.25);
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--ai-mono);
    font-size: 0.95rem;
    transition: all 0.25s;
}
.audit-input:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
}
.audit-form .btn { white-space: nowrap; }

/* Score-Anzeige */
.audit-result {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}
.audit-scoreboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.8rem;
    background: rgba(5, 11, 26, 0.55);
    border: 1px solid var(--ai-border);
    border-radius: 16px;
    min-width: 220px;
}
.audit-ring {
    width: 160px;
    height: 160px;
    position: relative;
}
.audit-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.audit-ring-bg { stroke: rgba(255,255,255,0.08); }
.audit-ring-fg {
    stroke: var(--color-gold);
    stroke-linecap: round;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.4s;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}
.audit-ring-score {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.audit-ring-score b {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.audit-ring-score span {
    font-family: var(--ai-mono);
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-top: 0.3rem;
}
.audit-sub-scores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}
.audit-sub-score {
    text-align: center;
    padding: 0.55rem 0.4rem;
    background: rgba(5, 11, 26, 0.45);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}
.audit-sub-score b {
    display: block;
    font-family: var(--ai-mono);
    font-size: 1rem;
    color: var(--color-gold-light);
}
.audit-sub-score span {
    display: block;
    font-size: 0.62rem;
    color: var(--color-text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
}

.audit-findings {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.audit-finding {
    display: flex;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    background: rgba(5, 11, 26, 0.4);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid var(--color-cyan);
    border-radius: 8px;
    animation: fade-up 0.4s ease-out backwards;
}
.audit-finding.is-warn { border-left-color: #ffba5a; }
.audit-finding.is-crit { border-left-color: #ff7a7a; }
.audit-finding.is-good { border-left-color: #6bdca5; }
.audit-finding-tag {
    font-family: var(--ai-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    background: rgba(79, 195, 247, 0.15);
    color: var(--color-cyan-bright);
    align-self: flex-start;
    flex-shrink: 0;
    height: fit-content;
}
.audit-finding.is-warn .audit-finding-tag { background: rgba(255, 186, 90, 0.15); color: #ffba5a; }
.audit-finding.is-crit .audit-finding-tag { background: rgba(255, 122, 122, 0.15); color: #ff7a7a; }
.audit-finding.is-good .audit-finding-tag { background: rgba(107, 220, 165, 0.15); color: #6bdca5; }
.audit-finding-body {
    flex: 1;
}
.audit-finding-body strong {
    color: var(--color-text);
    font-size: 0.92rem;
    display: block;
    margin-bottom: 0.2rem;
}
.audit-finding-body p {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   AI KONZIERGE — Floating Chat
   ========================================================================== */
.ai-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 216, 107, 0.95), rgba(212, 175, 55, 0.85) 60%);
    border: 2px solid rgba(244, 225, 156, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(212, 175, 55, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(80, 60, 10, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #1A1405;
}
.ai-fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 36px rgba(0, 0, 0, 0.55),
        0 0 36px rgba(212, 175, 55, 0.55);
}
.ai-fab svg { width: 28px; height: 28px; }
.ai-fab-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-cyan-bright);
    border: 2px solid var(--color-bg);
    box-shadow: 0 0 8px var(--color-cyan-bright);
    animation: ai-pulse-anim 2s infinite;
}

.ai-chat {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 1499;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 540px;
    max-height: calc(100vh - 140px);
    background: linear-gradient(160deg, rgba(15, 30, 54, 0.98), rgba(10, 22, 40, 0.98));
    border: 1px solid var(--ai-border);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 40px rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s, transform 0.3s;
}
.ai-chat.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.ai-chat-head {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--ai-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(5, 11, 26, 0.5);
}
.ai-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 216, 107, 0.95), rgba(212, 175, 55, 0.85) 60%);
    border: 1px solid rgba(244, 225, 156, 0.5);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #1A1405;
    font-size: 1rem;
    position: relative;
}
.ai-chat-avatar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6bdca5;
    border: 2px solid rgba(15, 30, 54, 1);
}
.ai-chat-title {
    flex: 1;
    line-height: 1.25;
}
.ai-chat-title b {
    font-family: var(--font-heading);
    color: var(--color-gold-light);
    font-size: 0.95rem;
    display: block;
}
.ai-chat-title span {
    font-family: var(--ai-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: #6bdca5;
}
.ai-chat-close,
.ai-chat-tts {
    background: none;
    border: none;
    color: var(--color-text-dim);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.ai-chat-close:hover,
.ai-chat-tts:hover { background: rgba(255,255,255,0.05); color: var(--color-text); }

/* TTS-Toggle: zwei Icons, je nach Zustand eines sichtbar */
.ai-chat-tts .ai-chat-tts-on  { display: none; }
.ai-chat-tts .ai-chat-tts-off { display: block; }
.ai-chat-tts.is-on .ai-chat-tts-on  { display: block; }
.ai-chat-tts.is-on .ai-chat-tts-off { display: none; }
.ai-chat-tts.is-on { color: var(--color-gold, #d4af37); }
.ai-chat-tts.is-speaking { animation: ttsPulse 1.1s ease-in-out infinite; }
@keyframes ttsPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}
.ai-chat-body::-webkit-scrollbar { width: 4px; }
.ai-chat-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 2px;
}

.ai-msg {
    max-width: 88%;
    padding: 0.7rem 0.95rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: msg-in 0.3s ease-out;
}
@keyframes msg-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-msg.is-bot {
    background: rgba(79, 195, 247, 0.08);
    border: 1px solid var(--ai-border-cyan);
    color: var(--color-text);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}
.ai-msg.is-user {
    background: var(--grad-gold);
    color: #1A1405;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}
.ai-msg.is-bot .ai-typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}
.ai-typing span {
    width: 6px;
    height: 6px;
    background: var(--color-cyan-bright);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

.ai-chat-suggest {
    padding: 0 1.2rem 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.ai-chat-suggest button {
    padding: 0.35rem 0.7rem;
    background: rgba(79, 195, 247, 0.06);
    border: 1px solid var(--ai-border-cyan);
    border-radius: 50px;
    color: var(--color-cyan-bright);
    font-size: 0.75rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
}
.ai-chat-suggest button:hover {
    background: rgba(79, 195, 247, 0.15);
}

.ai-chat-foot {
    padding: 0.8rem 1rem;
    border-top: 1px solid var(--ai-border);
    background: rgba(5, 11, 26, 0.5);
    display: flex;
    gap: 0.5rem;
}
.ai-chat-input {
    flex: 1;
    padding: 0.65rem 0.9rem;
    background: rgba(5, 11, 26, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border 0.2s;
}
.ai-chat-input:focus {
    outline: none;
    border-color: var(--color-cyan);
}
.ai-chat-send {
    width: 40px;
    background: var(--grad-gold);
    border: none;
    border-radius: 10px;
    color: #1A1405;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, filter 0.2s;
}
.ai-chat-send:hover { transform: translateY(-1px); filter: brightness(1.05); }
.ai-chat-send svg { width: 18px; height: 18px; }
.ai-chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==========================================================================
   COMMAND PALETTE (⌘K)
   ========================================================================== */
.cmd-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 11, 26, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.cmd-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.cmd {
    width: 92%;
    max-width: 600px;
    background: linear-gradient(160deg, rgba(19, 36, 63, 0.98), rgba(10, 22, 40, 0.98));
    border: 1px solid var(--ai-border);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 50px rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transform: translateY(-10px);
    transition: transform 0.25s;
}
.cmd-overlay.is-open .cmd { transform: translateY(0); }
.cmd-head {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--ai-border);
    gap: 0.6rem;
}
.cmd-head svg { width: 18px; height: 18px; color: var(--color-cyan); flex-shrink: 0; }
.cmd-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.05rem;
    outline: none;
}
.cmd-input::placeholder { color: var(--color-text-dim); }
.cmd-kbd {
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    color: var(--color-text-dim);
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
}

.cmd-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 0.5rem;
}
.cmd-group-label {
    font-family: var(--ai-mono);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    padding: 0.7rem 0.9rem 0.4rem;
}
.cmd-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}
.cmd-item:hover, .cmd-item.is-selected {
    background: rgba(79, 195, 247, 0.08);
}
.cmd-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--ai-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
    flex-shrink: 0;
}
.cmd-item-icon svg { width: 16px; height: 16px; }
.cmd-item-body { flex: 1; min-width: 0; }
.cmd-item-body b {
    display: block;
    font-size: 0.93rem;
    color: var(--color-text);
    font-weight: 500;
}
.cmd-item-body span {
    font-size: 0.77rem;
    color: var(--color-text-dim);
}
.cmd-item-shortcut {
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    color: var(--color-text-dim);
}
.cmd-ai-hint {
    padding: 0.7rem 1rem;
    border-top: 1px solid var(--ai-border);
    font-family: var(--ai-mono);
    font-size: 0.74rem;
    color: var(--color-text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(5, 11, 26, 0.5);
}
.cmd-ai-hint .ai-pulse-dot {
    width: 6px;
    height: 6px;
}

/* Trigger-Button in der Navbar */
.cmd-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.9rem;
    background: rgba(5, 11, 26, 0.55);
    border: 1px solid var(--ai-border-cyan);
    border-radius: 8px;
    color: var(--color-text-dim);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.82rem;
    transition: all 0.2s;
    margin-right: 1rem;
}
.cmd-trigger:hover {
    color: var(--color-cyan-bright);
    border-color: var(--color-cyan);
}
.cmd-trigger svg { width: 14px; height: 14px; }
.cmd-trigger .cmd-kbd { font-size: 0.65rem; padding: 1px 5px; }

/* ==========================================================================
   AI SHOWCASE SECTION — Bento Grid
   ========================================================================== */
.ai-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 1rem;
}
.bento {
    border: 1px solid var(--ai-border);
    border-radius: 18px;
    padding: 1.4rem;
    background: linear-gradient(160deg, rgba(19, 36, 63, 0.8), rgba(15, 30, 54, 0.9));
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}
.bento:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.5);
}
.bento::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 225, 156, 0.45), transparent);
}
.bento-tag {
    font-family: var(--ai-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-cyan-bright);
    margin-bottom: 0.5rem;
}
.bento h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}
.bento p {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

/* Visual elements within bento */
.bento-visual {
    margin-top: auto;
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 1rem;
}

/* Neural net visualisation */
.bento-neural {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
}

/* Bar chart */
.bento-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    width: 100%;
}
.bento-bar {
    flex: 1;
    background: linear-gradient(to top, var(--color-gold-dark), var(--color-gold-light));
    border-radius: 3px 3px 0 0;
    animation: bar-grow 1.5s ease-out backwards;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}
@keyframes bar-grow {
    from { transform: scaleY(0); transform-origin: bottom; }
}

/* Cursor demo */
.bento-cursor {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(5, 11, 26, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(79, 195, 247, 0.2);
    overflow: hidden;
}
.bento-cursor::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(79, 195, 247, 0.4), transparent 60%);
    transition: background 0.1s;
}

/* ==========================================================================
   VISUAL PREVIEW — kundenverständliches Mini-Website-Mockup
   (statt technischem Wireframe)
   ========================================================================== */
.preview-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.2);
    box-shadow: 0 14px 40px rgba(0,0,0,0.5);
    animation: result-in 0.5s ease-out;
}
.preview-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #1a1a1a;
}
.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.preview-url {
    flex: 1;
    text-align: center;
    font-family: var(--ai-mono);
    font-size: 0.66rem;
    color: #888;
    background: #0a0a0a;
    border-radius: 4px;
    padding: 3px 10px;
    margin-left: 8px;
}
.preview-stage {
    /* background is set inline via palette */
}
.preview-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    backdrop-filter: blur(8px);
}
.preview-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.preview-logo-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}
.preview-nav-links {
    display: flex;
    gap: 0.85rem;
    font-size: 0.7rem;
    font-weight: 500;
}
.preview-hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1rem;
    padding: 1.4rem 1rem 1.2rem;
    align-items: center;
}
.preview-eyebrow {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.preview-headline {
    font-size: 1.05rem;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 0.4rem;
    word-break: break-word;
    hyphens: auto;
}
.preview-tagline {
    font-size: 0.7rem;
    line-height: 1.45;
    margin: 0 0 0.7rem;
}
.preview-ctas {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.preview-btn-primary,
.preview-btn-outline {
    display: inline-block;
    padding: 0.32rem 0.7rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.preview-btn-outline {
    background: transparent;
    border: 1px solid;
}
.preview-hero-visual {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.preview-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem;
}
.preview-svc {
    padding: 0.65rem 0.6rem;
    border-radius: 6px;
}
.preview-svc-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
}
.preview-svc-name {
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.preview-svc-line {
    height: 3px;
    border-radius: 2px;
    margin-top: 3px;
}
.preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   BRANCHEN SECTION — Industry-tailored modules
   ========================================================================== */
.branchen-section {
    padding: 7rem 0;
    position: relative;
}
.branchen-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(212, 175, 55, 0.06), transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(79, 195, 247, 0.06), transparent 50%);
    pointer-events: none;
}
.branchen {
    position: relative;
}

/* Tabs */
.branchen-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: rgba(5, 11, 26, 0.55);
    border: 1px solid var(--ai-border);
    border-radius: 14px;
}
.branchen-tab {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.85rem 0.6rem;
    cursor: pointer;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    text-align: center;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
    min-width: 0;
}
.branchen-tab:hover {
    background: rgba(79, 195, 247, 0.06);
    color: var(--color-text);
}
.branchen-tab.is-active {
    background: linear-gradient(160deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.05));
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--color-gold-light);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(244, 225, 156, 0.15);
}
.branchen-tab-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.branchen-tab-sub {
    font-family: var(--ai-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    opacity: 0.7;
    text-transform: lowercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Stage */
.branchen-stage {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* Content (left column) */
.branchen-content {
    background: linear-gradient(160deg, rgba(19, 36, 63, 0.85), rgba(10, 22, 40, 0.92));
    border: 1px solid var(--ai-border);
    border-radius: 18px;
    padding: 2rem 2rem 1.6rem;
    min-height: 460px;
    box-shadow: var(--shadow-card);
}
.branchen-head {
    margin-bottom: 1.4rem;
}
.branchen-eyebrow {
    display: inline-block;
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-cyan-bright);
    margin-bottom: 0.6rem;
}
.branchen-pain {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.35;
    color: var(--color-gold-light);
    margin: 0;
    font-style: italic;
}

.branchen-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}
.branchen-module {
    padding: 1.1rem 1.1rem 1rem;
    background: rgba(5, 11, 26, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--color-gold);
    border-radius: 10px;
    animation: fade-up 0.5s ease-out backwards;
    transition: transform 0.25s, border-color 0.25s;
}
.branchen-module:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-gold-light);
}
.branchen-module-icon {
    font-size: 1.2rem;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
    line-height: 1;
}
.branchen-module h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
    margin: 0 0 0.35rem;
    font-weight: 600;
}
.branchen-module p {
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0;
}

/* Voice demo (right column) */
.voice-demo {
    background: linear-gradient(160deg, rgba(13, 28, 54, 0.92), rgba(8, 18, 36, 0.95));
    border: 1px solid var(--ai-border-cyan);
    border-radius: 18px;
    padding: 1.8rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.voice-demo h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 0.4rem 0 0.35rem;
    line-height: 1.25;
}
.voice-demo-sub {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    margin: 0 0 1.2rem;
    line-height: 1.5;
}
.voice-demo-btn {
    width: 100%;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.12), rgba(79, 195, 247, 0.04));
    border: 1px solid var(--ai-border-cyan);
    border-radius: 12px;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all 0.25s;
}
.voice-demo-btn:hover {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.18), rgba(79, 195, 247, 0.08));
    border-color: var(--color-cyan);
}
.voice-demo-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.voice-demo-btn.is-listening {
    border-color: #ff7a7a;
    background: linear-gradient(135deg, rgba(255, 122, 122, 0.18), rgba(255, 122, 122, 0.05));
    animation: pulse-mic 1.2s ease-in-out infinite;
}
.voice-demo-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.15);
    border: 1px solid var(--ai-border-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan-bright);
    flex-shrink: 0;
}
.voice-demo-icon svg { width: 18px; height: 18px; }
.voice-demo-btn.is-listening .voice-demo-icon {
    background: rgba(255, 122, 122, 0.2);
    border-color: #ff7a7a;
    color: #ff9a9a;
}
.voice-demo-label {
    font-weight: 500;
    flex: 1;
    text-align: left;
}

.voice-demo-transcript {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: rgba(5, 11, 26, 0.55);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    min-height: 60px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-text);
    transition: border-color 0.3s;
}
.voice-demo-transcript .voice-demo-hint {
    color: var(--color-text-dim);
    font-style: italic;
    font-size: 0.82rem;
}
.voice-demo-transcript .voice-demo-live {
    color: var(--color-cyan-bright);
    font-family: var(--font-body);
}
.voice-demo-transcript.is-visible {
    border-color: var(--ai-border-cyan);
    border-style: solid;
}

.voice-demo-result {
    margin-top: 0.9rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s, max-height 0.5s;
}
.voice-demo-result.is-visible {
    opacity: 1;
    max-height: 600px;
}
.voice-demo-thinking {
    padding: 0.9rem;
    text-align: center;
    color: var(--color-cyan-bright);
    font-family: var(--ai-mono);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.voice-demo-card {
    background: rgba(5, 11, 26, 0.55);
    border: 1px solid var(--ai-border);
    border-radius: 10px;
    padding: 0.4rem 1rem;
    animation: fade-up 0.4s ease-out;
}
.vd-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0.6rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: start;
}
.vd-row:last-child { border-bottom: none; }
.vd-row.vd-next {
    background: rgba(212, 175, 55, 0.06);
    margin: 0.4rem -1rem -0.4rem;
    padding: 0.7rem 1rem;
    border-radius: 0 0 10px 10px;
}
.vd-label {
    font-family: var(--ai-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    padding-top: 2px;
}
.vd-value {
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.5;
}
.vd-row.vd-next .vd-value strong {
    color: var(--color-gold-light);
    font-weight: 600;
}
.vd-list {
    margin: 0;
    padding-left: 1rem;
    font-size: 0.82rem;
}
.vd-list li {
    margin-bottom: 0.25rem;
    color: var(--color-text-muted);
}
.vd-tag {
    display: inline-block;
    padding: 0.18rem 0.6rem;
    border: 1px solid;
    border-radius: 4px;
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Foot pills */
.branchen-foot {
    margin-top: 1.5rem;
    padding: 1.2rem 1.6rem;
    background: rgba(5, 11, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.branchen-foot-label {
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-dim);
}
.branchen-foot-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    flex: 1;
}
.bf-pill {
    padding: 0.4rem 0.85rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--ai-border);
    border-radius: 50px;
    color: var(--color-gold-light);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

@media (max-width: 980px) {
    .branchen-stage { grid-template-columns: 1fr; }
    .branchen-tabs { grid-template-columns: repeat(3, 1fr); }
    .branchen-tab-sub { display: none; }
}
@media (max-width: 600px) {
    .branchen-section { padding: 4rem 0; }
    .branchen-tabs { grid-template-columns: repeat(2, 1fr); padding: 0.4rem; }
    .branchen-modules { grid-template-columns: 1fr; }
    .branchen-content { padding: 1.5rem 1.3rem; min-height: 0; }
    .voice-demo { padding: 1.4rem 1.2rem; }
    .vd-row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ==========================================================================
   LIVE MOCKUP MODAL
   ========================================================================== */
/* Anchor-Jumps Sticky-Header berücksichtigen */
html { scroll-padding-top: 100px; }
section[id] { scroll-margin-top: 100px; }
.section-heading h2 { line-height: 1.25; }
.mockup-overlay {
    position: fixed; inset: 0;
    background: rgba(5, 11, 26, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mockup-overlay.is-open { opacity: 1; pointer-events: auto; }
.mockup-modal {
    width: 100%;
    max-width: 1100px;
    height: 86vh;
    background: linear-gradient(160deg, rgba(19, 36, 63, 0.98), rgba(10, 22, 40, 0.98));
    border: 1px solid var(--ai-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7);
    transform: scale(0.96);
    transition: transform 0.3s;
}
.mockup-overlay.is-open .mockup-modal { transform: scale(1); }
.mockup-head {
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--ai-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mockup-head b {
    font-family: var(--font-heading);
    color: var(--color-gold-light);
    font-size: 1rem;
    display: block;
}
.mockup-head span {
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    color: var(--color-text-dim);
    letter-spacing: 0.1em;
}
.mockup-close {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s;
}
.mockup-close:hover { background: rgba(255,255,255,0.12); }
.mockup-stage {
    flex: 1;
    position: relative;
    background: white;
    overflow: hidden;
}
.mockup-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: linear-gradient(160deg, rgba(19, 36, 63, 0.98), rgba(10, 22, 40, 0.98));
    color: var(--color-text);
}
.mockup-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

/* ==========================================================================
   MIC BUTTON (used in atelier + chat)
   ========================================================================== */
.mic-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(79, 195, 247, 0.08);
    border: 1px solid var(--ai-border-cyan);
    color: var(--color-cyan-bright);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.mic-btn:hover {
    background: rgba(79, 195, 247, 0.15);
}
.mic-btn.is-listening {
    background: rgba(255, 122, 122, 0.15);
    border-color: #ff7a7a;
    color: #ff9a9a;
    animation: pulse-mic 1.2s ease-in-out infinite;
}
@keyframes pulse-mic {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 122, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255, 122, 122, 0); }
}
.mic-btn svg { width: 18px; height: 18px; }

/* Voice input row in atelier */
.atelier-field-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}
.atelier-field-row .atelier-field { flex: 1; }
.atelier-field-row .mic-btn { align-self: flex-end; height: 46px; width: 46px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
    .atelier-grid { grid-template-columns: 1fr; }
    .atelier-input-panel { border-right: none; border-bottom: 1px solid var(--ai-border); }
    .audit-result { grid-template-columns: 1fr; }
    .audit-scoreboard { min-width: 0; }
    .ai-bento { grid-template-columns: repeat(2, 1fr); }
    .bento-large { grid-column: span 2; }
    .cmd-trigger { display: none; }
}
@media (max-width: 600px) {
    .atelier-section { padding: 4rem 0; }
    .atelier-input-panel { padding: 2rem 1.4rem; }
    .atelier-output { padding: 1.5rem 1.4rem; }
    .audit-form { flex-direction: column; }
    .audit-head { grid-template-columns: 1fr; }
    .ai-chat { right: 12px; left: 12px; width: auto; bottom: 90px; height: 480px; }
    .ai-fab { right: 16px; bottom: 16px; }
    .ai-bento { grid-template-columns: 1fr; }
    .bento-large, .bento-wide, .bento-tall { grid-column: span 1; grid-row: span 1; }
    .atelier-pkg { flex-wrap: wrap; }
    .atelier-pkg-price { margin-left: 0; width: 100%; }
}


/* ==========================================================================
   SERVICES PAGE — additional components
   ========================================================================== */

/* Split columns */
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.split-col {
    padding: 2rem 2rem 1.6rem;
    background: linear-gradient(160deg, rgba(19, 36, 63, 0.85), rgba(10, 22, 40, 0.9));
    border: 1px solid var(--ai-border);
    border-radius: 16px;
}
.split-col--off {
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(5, 11, 26, 0.4);
}
.split-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-gold-light);
    margin: 0 0 1.1rem;
}
.split-col--off .split-title { color: var(--color-text-muted); }

.dashed-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.6rem;
}
.dashed-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--color-text);
    font-size: 0.95rem; line-height: 1.5;
}
.dashed-list li::before {
    content: '+';
    position: absolute; left: 0; top: 0;
    color: var(--color-gold);
    font-family: var(--ai-mono); font-weight: 700;
}
.dashed-list--off li { color: var(--color-text-muted); }
.dashed-list--off li::before { content: '−'; color: rgba(255, 122, 122, 0.6); }

/* Tools grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}
.tool-card {
    padding: 1.4rem 1.3rem 1.3rem;
    background: linear-gradient(160deg, rgba(19, 36, 63, 0.7), rgba(10, 22, 40, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.tool-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.tool-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.tool-card:hover::before { opacity: 1; }
.tool-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-gold-light);
    margin-bottom: 0.9rem;
}
.tool-icon svg { width: 20px; height: 20px; }
.tool-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-text);
    margin: 0 0 0.4rem;
    font-weight: 600;
}
.tool-card p {
    font-size: 0.84rem; line-height: 1.5;
    color: var(--color-text-muted); margin: 0;
}

/* Tool foundations */
.tool-foundations {
    margin-top: 2rem; padding: 2.2rem 2rem;
    background: rgba(5, 11, 26, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 16px;
}
.tool-foundations h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem; color: var(--color-gold-light);
    margin: 0 0 1.3rem; text-align: center;
}
.foundation-grid {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem 1.6rem;
}
.foundation-grid li {
    padding: 0.9rem 1rem;
    background: rgba(19, 36, 63, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex; flex-direction: column; gap: 0.25rem;
}
.foundation-grid strong {
    color: var(--color-gold-light);
    font-family: var(--font-heading);
    font-size: 0.95rem; font-weight: 600;
}
.foundation-grid span {
    color: var(--color-text-muted);
    font-size: 0.8rem; line-height: 1.4;
}

/* Concept blocks */
.concept-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.concept-block {
    padding: 1.8rem 1.6rem 1.5rem;
    background: linear-gradient(160deg, rgba(19, 36, 63, 0.85), rgba(10, 22, 40, 0.92));
    border: 1px solid var(--ai-border);
    border-radius: 14px;
    position: relative;
}
.concept-num {
    position: absolute; top: 1.2rem; right: 1.4rem;
    font-family: var(--font-heading);
    font-size: 2.2rem; color: var(--color-gold);
    opacity: 0.4; line-height: 1;
}
.concept-block h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem; color: var(--color-text);
    margin: 0 0 0.5rem; padding-right: 2.5rem;
}
.concept-block p {
    font-size: 0.88rem; line-height: 1.55;
    color: var(--color-text-muted); margin: 0;
}

/* Process steps */
.process-steps {
    list-style: none; padding: 0; margin: 0 auto;
    max-width: 760px;
    display: flex; flex-direction: column; gap: 0.8rem;
}
.process-steps li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.2rem; align-items: start;
    padding: 1.2rem 1.6rem;
    background: linear-gradient(135deg, rgba(19, 36, 63, 0.7), rgba(10, 22, 40, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--color-gold);
    border-radius: 12px;
    transition: transform 0.25s, border-color 0.25s;
}
.process-steps li:hover {
    transform: translateX(4px);
    border-left-color: var(--color-gold-light);
}
.process-num {
    font-family: var(--font-heading);
    font-size: 2rem; color: var(--color-gold);
    font-weight: 600; line-height: 1;
    align-self: center;
}
.process-steps h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem; color: var(--color-text);
    margin: 0 0 0.3rem; font-weight: 600;
}
.process-steps p {
    font-size: 0.9rem; line-height: 1.55;
    color: var(--color-text-muted); margin: 0;
}

/* FAQ */
.faq-list {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.faq-item {
    background: rgba(19, 36, 63, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s;
}
.faq-item[open] { border-color: rgba(212, 175, 55, 0.35); }
.faq-item summary {
    padding: 1rem 1.3rem;
    cursor: pointer; list-style: none;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.02rem; font-weight: 500;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--ai-mono);
    font-size: 1.4rem; color: var(--color-gold);
    transition: transform 0.25s; line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--color-gold-light); }
.faq-item p {
    padding: 0 1.3rem 1.1rem; margin: 0;
    color: var(--color-text-muted);
    font-size: 0.93rem; line-height: 1.6;
}

@media (max-width: 980px) {
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .foundation-grid { grid-template-columns: repeat(2, 1fr); }
    .concept-blocks { grid-template-columns: 1fr; }
    .split-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .tools-grid { grid-template-columns: 1fr; }
    .foundation-grid { grid-template-columns: 1fr; }
    .split-col { padding: 1.6rem 1.4rem; }
    .process-steps li { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.1rem 1.3rem; }
    .process-num { font-size: 1.6rem; }
}


/* ==========================================================================
   ABOUT — Portrait Placeholder
   ========================================================================== */
.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.portrait-placeholder {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.10), transparent 55%),
        radial-gradient(ellipse at 50% 80%, rgba(79, 195, 247, 0.10), transparent 55%),
        linear-gradient(160deg, rgba(13, 28, 54, 0.95), rgba(8, 17, 35, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(244, 225, 156, 0.08);
}
.portrait-silhouette {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
    opacity: 0.55;
}
.portrait-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.6rem;
    text-align: center;
    gap: 0.8rem;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(5, 11, 26, 0.45) 50%,
        rgba(5, 11, 26, 0.85) 100%);
}
.portrait-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50px;
    font-family: var(--ai-mono);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold-light);
}
.portrait-quip {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--color-text);
    margin: 0;
    max-width: 280px;
    font-style: italic;
}
.portrait-name {
    font-family: var(--ai-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--color-gold);
    margin-top: 0.4rem;
}

/* Corner brackets */
.portrait-corners {
    position: absolute;
    inset: 12px;
    pointer-events: none;
    background:
        linear-gradient(90deg, var(--color-gold) 0, var(--color-gold) 18px, transparent 18px) top left / 18px 1px no-repeat,
        linear-gradient(0deg, var(--color-gold) 0, var(--color-gold) 18px, transparent 18px) top left / 1px 18px no-repeat,
        linear-gradient(270deg, var(--color-gold) 0, var(--color-gold) 18px, transparent 18px) top right / 18px 1px no-repeat,
        linear-gradient(0deg, var(--color-gold) 0, var(--color-gold) 18px, transparent 18px) top right / 1px 18px no-repeat,
        linear-gradient(90deg, var(--color-gold) 0, var(--color-gold) 18px, transparent 18px) bottom left / 18px 1px no-repeat,
        linear-gradient(180deg, var(--color-gold) 0, var(--color-gold) 18px, transparent 18px) bottom left / 1px 18px no-repeat,
        linear-gradient(270deg, var(--color-gold) 0, var(--color-gold) 18px, transparent 18px) bottom right / 18px 1px no-repeat,
        linear-gradient(180deg, var(--color-gold) 0, var(--color-gold) 18px, transparent 18px) bottom right / 1px 18px no-repeat;
    opacity: 0.7;
}


/* ==========================================================================
   ABOUT — Real Portrait (replaces placeholder)
   ========================================================================== */
/* ==========================================================================
   ABOUT — Real Portrait (replaces placeholder)
   Override für .about-visual aus styles.css (war 1:1 Quadrat mit 65% img)
   ========================================================================== */
.about-visual {
    aspect-ratio: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.about-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: none;
}
.portrait-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 2 / 3;
    background: #0B182F;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(244, 225, 156, 0.08);
}
.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    /* Klares Schwarzweiß — pixelscharf */
    filter: grayscale(100%) contrast(1.05) brightness(0.98) !important;
}
/* Dezenter goldener Glanz von rechts entlang der Kante */
.portrait-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(270deg,
            rgba(244, 225, 156, 0.35) 0%,
            rgba(212, 175, 55, 0.18) 6%,
            rgba(212, 175, 55, 0.05) 18%,
            transparent 35%);
    mix-blend-mode: screen;
}
/* Entfernte Stack-/Tint-Regeln */
.portrait-img-stack,
.portrait-tint,
.portrait-tint-shadow,
.portrait-tint-highlight { display: none; }
.portrait-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.4rem 1.4rem 1.2rem;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(5, 11, 26, 0.4) 30%,
        rgba(5, 11, 26, 0.92) 100%);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.portrait-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-gold-light);
    font-weight: 600;
    letter-spacing: 0.01em;
}
.portrait-role {
    font-family: var(--ai-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
