/* ═══════════════════════════════════════════════════════════════════════════
   bliescon – main.css
   Design-Tokens, Reset, Typografie, Nav, Footer, Utilities
   ═══════════════════════════════════════════════════════════════════════════ */



/* ─── Design Tokens (Light Mode) ─────────────────────────────────────────── */
:root {
    /* Markenfarben Consulting (Blau) */
    --b1: #0060ae;
    --b2: #00aeef;

    /* Markenfarben Software (Orange/Rot) */
    --o1: #ef1900;
    --o2: #ff6109;

    /* Markenfarben Netzwerk (Grün) */
    --g1: #60ae00;
    --g2: #aeef00;

    /* Hintergründe */
    --bg:  #ffffff;
    --bg2: #f6f8fa;
    --bg3: #edf2f7;

    /* Text
       --tx3 ist bewusst der "leiseste" Ton, muss aber WCAG-AA (4,5:1)
       auf Weiß und --bg2 bestehen — deshalb #5c7191 statt des früheren,
       zu hellen #9aafc8. */
    --tx1: #0d1a2e;
    --tx2: #4b6080;
    --tx3: #5c7191;

    /* Linien & Glaseffekte */
    --ln:  rgba(13, 26, 46, 0.09);
    --lna: rgba(0, 96, 174, 0.15);

    /* Card-Hintergrund */
    --cb:  #ffffff;
    --cbr: rgba(13, 26, 46, 0.09);

    /* Nav */
    --nav-h: 60px;
    --nav-bg: rgba(255, 255, 255, 0.92);

    /* Tech-Layer: Monospace-Metazeilen, Serif-Kursiv-Akzente, Rasterlinien */
    --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
    --serif: Georgia, 'Times New Roman', Times, serif;
    --scan-c: rgba(0, 174, 239, 0.09);

    /* Abstände */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 24px;
    --r-xl: 40px;

    /* Schatten */
    --sh-sm: 0 2px 8px rgba(13,26,46,0.07);
    --sh-md: 0 4px 24px rgba(13,26,46,0.10);
    --sh-lg: 0 8px 48px rgba(13,26,46,0.13);
}

/* ─── Design Tokens (Dark Mode) ──────────────────────────────────────────── */
html.dk {
    --bg:  #050d1a;
    --bg2: #0a1628;
    --bg3: #111d35;

    --tx1: #e8edf5;
    --tx2: #8a9ab8;
    --tx3: #7d90ae; /* AA-Kontrast auf --bg und Karten (--cb) */

    --ln:  rgba(255, 255, 255, 0.07);
    --lna: rgba(0, 174, 239, 0.18);

    --cb:  #111d35;
    --cbr: rgba(0, 174, 239, 0.12);

    --nav-bg: rgba(17, 29, 53, 0.97);

    --scan-c: rgba(0, 174, 239, 0.07);

    --sh-sm: 0 2px 8px rgba(0,0,0,0.28);
    --sh-md: 0 4px 24px rgba(0,0,0,0.38);
    --sh-lg: 0 8px 48px rgba(0,0,0,0.48);
}


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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--tx1);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

img, svg, video {
    max-width: 100%;
    display: block;
}

a {
    color: var(--b1);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--b2);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}


/* ─── Typografie ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    color: var(--tx1);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; }

p {
    color: var(--tx2);
    max-width: 65ch;
}


/* ─── Layout Utilities ───────────────────────────────────────────────────── */

/* Nur für Screenreader sichtbar (z. B. statischer Text hinter dem Scramble-Effekt) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip-Link: erster Tab-Stopp, sichtbar nur bei Fokus */
.skip-link {
    position: absolute;
    top: -48px;
    left: 12px;
    z-index: 300;
    padding: 10px 18px;
    background: var(--b1);
    color: #fff;
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: top 0.15s;
}
.skip-link:focus {
    top: 0;
    color: #fff;
}

/* Abstands-Utilities (ersetzen frühere Inline-Styles) */
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-28 { margin-top: 28px; }
.mb-24 { margin-bottom: 24px; }

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 60px);
}

.section {
    padding-block: clamp(48px, 6.5vw, 88px);
}


/* ─── Navigation ─────────────────────────────────────────────────────────── */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 0.5px solid var(--ln);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.25s;
}

#mainNav.at-top {
    box-shadow: 0 1px 18px rgba(13, 26, 46, 0.06);
}

html.dk #mainNav.at-top {
    box-shadow: 0 1px 18px rgba(0, 0, 0, 0.3);
}

html.dk #mainNav {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-inner {
    --nav-pad-l: clamp(8px, 1.5vw, 20px);
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    padding-left: var(--nav-pad-l);
    padding-right: clamp(20px, 4vw, 56px);
    gap: 28px;
}

/* Logo */
.nav-logo,
.footer-logo {
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    display: block;
    height: auto;
}

/* Dark-mode swap: light logo hidden in dk, dark logo hidden by default */
.logo-img--dk { display: none; }
html.dk .logo-img--light { display: none; }
html.dk .logo-img--dk   { display: block; }

/* Nav logo: bc wave + wordmark side by side. Wave bleeds flush to the viewport edge. */
.nav-bc-wave  {
    height: 46px;
    width: auto;
    flex-shrink: 0;
    margin-left: calc(-1 * var(--nav-pad-l, 0px));
    mix-blend-mode: multiply;
}
/* PNG hat echte Transparenz (kein weißer Kasten) — im Dark Mode reicht
   normal statt multiply, damit die beiden Markenfarben (Cyan/Blau) sichtbar
   bleiben, statt zu einer reinen weißen Silhouette zu verschmelzen. */
.dk .nav-bc-wave { mix-blend-mode: normal; filter: none; }
.nav-wordmark { height: 33px; width: auto; flex-shrink: 0; }

/* Auf schmalen Phones sprengt der volle Logo-Lockup (Welle + Wortmarke) die
   verfügbare Breite und schiebt den Dark-Mode-Button aus dem Sichtbereich —
   Logo hier gezielt verkleinern statt nur die Welle bleeden zu lassen. */
@media (max-width: 600px) {
    .nav-inner { gap: 16px; }
    .nav-logo { gap: 6px; }
    .nav-bc-wave { height: 30px; }
    .nav-wordmark { height: 24px; }
}

/* Footer glow wordmark */
.footer-glow-logo { height: 44px; width: auto; flex-shrink: 0; }

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tx2);
    padding: 6px 12px;
    border-radius: var(--r-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--tx1);
    background: var(--bg2);
}

.nav-links a.nav-cta {
    background: var(--b1);
    color: #fff;
    padding: 7px 16px;
}

.nav-links a.nav-cta:hover {
    background: var(--b2);
    color: #fff;
}

/* Aktiver Menüpunkt (serverseitig gesetzt bzw. per Scroll-Spy in main.js) */
.nav-links a.active {
    color: var(--b1);
    font-weight: 600;
}

/* Leistungen-Dropdown (nur Desktop; auf Mobile läuft die Tabbar) */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-caret {
    font-size: 0.7rem;
    margin-left: 2px;
    transition: transform 0.2s;
}

.nav-item-dropdown:hover .nav-dropdown-caret,
.nav-item-dropdown:focus-within .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--bg);
    border: 1px solid var(--ln);
    border-radius: var(--r-md);
    box-shadow: 0 12px 32px rgba(13, 26, 46, 0.14);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    white-space: nowrap;
}

html.dk .nav-dropdown-menu {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Untermenü (z. B. SuSenti unter Softwareentwicklung) */
.nav-dropdown-sub {
    list-style: none;
    margin: 0 0 4px 14px;
    padding-left: 8px;
    border-left: 2px solid var(--ln);
}
.nav-dropdown-menu .nav-dropdown-sub a {
    font-size: 0.8rem;
    padding: 4px 10px;
    color: var(--tx3);
}
.nav-dropdown-menu .nav-dropdown-sub a:hover { color: var(--tx1); }
.nav-dropdown-hint {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 7px;
    border-radius: 99px;
    background: var(--lna);
    color: var(--b1);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    vertical-align: 1px;
}
html.dk .nav-dropdown-hint { color: var(--b2); }

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Dark Mode Button */
.dk-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg2);
    color: var(--tx2);
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
}

.dk-btn:hover {
    background: var(--bg3);
    color: var(--tx1);
}

/* Icon zeigt den aktuellen Zustand: Sonne im Light Mode, Mond im Dark Mode.
   Zwei echte Icons statt Codepoint-Swap — kein Tabler-Unicode-Wert nötig. */
.dk-btn-icon--moon { display: none; }
html.dk .dk-btn-icon--sun { display: none; }
html.dk .dk-btn-icon--moon { display: inline; }

/* Sicherheitscheck Nav-Button */
.nav-check-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 99px;
    border: 1.5px solid var(--b1);
    color: var(--b1);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
    flex-shrink: 0;
}

.nav-check-btn:hover {
    background: var(--b1);
    color: #fff;
}

html.dk .nav-check-btn {
    border-color: var(--b2);
    color: var(--b2);
}

html.dk .nav-check-btn:hover {
    background: var(--b2);
    color: var(--tx1);
}

/* ─── Mobile Nav ─────────────────────────────────────────────────────────── */
/* Primäre Navigation läuft auf Mobile über die fixe Bottom-Tabbar (siehe unten).
   Dropdown und der separate Sicherheitscheck-Pill entfallen dort. */
@media (max-width: 768px) {
    .nav-links,
    .nav-check-btn {
        display: none !important;
    }

    /* Mobile-Kopf in drei Zonen aufteilen: Welle links, Wortmarke mittig,
       Dark-Mode-Sonne rechts (statt alles links gedrängt). */
    .nav-inner {
        position: relative;
        justify-content: space-between;
        gap: 8px;
    }
    .nav-wordmark {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}


/* ─── Mobile Bottom-Tabbar ───────────────────────────────────────────────── */
.mobile-tabbar { display: none; }

@media (max-width: 768px) {
    body { position: relative; }

    #colophon {
        padding-bottom: calc(32px + 96px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-tabbar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 200;
        justify-content: space-around;
        align-items: flex-start;
        background: var(--nav-bg);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 0.5px solid var(--ln);
        padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -2px 18px rgba(13,26,46,0.08);
    }

    html.dk .mobile-tabbar {
        box-shadow: 0 -2px 18px rgba(0,0,0,0.35);
    }

    .tabbar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        flex: 1;
        min-width: 0;
        padding: 4px 2px;
        font-size: 0.65rem;
        font-weight: 600;
        line-height: 1.2;
        color: var(--tx3);
        text-align: center;
    }

    .tabbar-item .ti {
        font-size: 1.3rem;
    }

    .tabbar-item.is-active {
        color: var(--b1);
    }

    .tabbar-item--cta {
        color: var(--tx2);
        transform: translateY(-16px);
    }

    .tabbar-item--cta.is-active { color: var(--b1); }

    .tabbar-cta-circle {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(145deg, var(--b1) 0%, var(--b2) 100%);
        color: #fff;
        font-size: 1.35rem;
        box-shadow: 0 6px 20px rgba(0,96,174,0.45);
        margin-bottom: 2px;
    }
}

/* Leistungen-Sheet: klappt über der Tabbar auf (Tab "Leistungen") */
.tabbar-sheet { display: none; }
@media (max-width: 768px) {
    button.tabbar-item {
        background: none;
        border: 0;
        font-family: inherit;
        cursor: pointer;
    }
    button.tabbar-item[aria-expanded="true"] { color: var(--b1); }

    .tabbar-sheet {
        display: block;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        z-index: 199;
        background: var(--bg);
        border: 1px solid var(--ln);
        border-radius: var(--r-lg);
        box-shadow: 0 -10px 40px rgba(13, 26, 46, 0.22);
        padding: 8px;
        animation: tabbarSheetIn 0.2s ease;
    }
    .tabbar-sheet[hidden] { display: none; }
    html.dk .tabbar-sheet { box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.55); }

    .tabbar-sheet-list,
    .tabbar-sheet-sub { list-style: none; margin: 0; padding: 0; }
    .tabbar-sheet-list a {
        display: block;
        padding: 13px 14px;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--tx1);
        border-radius: var(--r-sm);
    }
    .tabbar-sheet-list a:active { background: var(--bg2); }
    .tabbar-sheet-sub { margin: -4px 0 4px 18px; padding-left: 10px; border-left: 2px solid var(--ln); }
    .tabbar-sheet-sub a { padding: 9px 12px; font-size: 0.86rem; font-weight: 500; color: var(--tx2); }
    .tabbar-sheet-all { margin-top: 4px; border-top: 1px solid var(--ln); }
    .tabbar-sheet-all a { font-size: 0.82rem; font-weight: 500; color: var(--b1); }
}
@media (min-width: 769px) { .tabbar-sheet { display: none !important; } }
@keyframes tabbarSheetIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 380px) {
    .tabbar-item { font-size: 0.6rem; }
    .tabbar-item .ti { font-size: 1.2rem; }
    .tabbar-cta-circle { width: 44px; height: 44px; font-size: 1.2rem; }
}


/* ─── Footer ─────────────────────────────────────────────────────────────── */
#colophon {
    background: var(--bg2);
    border-top: 1px solid var(--ln);
    padding-block: 56px 32px;
}

.footer-inner {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 60px);
}

.footer-top {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-claim {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--b1);
    font-style: italic;
    max-width: none;
}
.dk .footer-claim { color: var(--b2); }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.footer-col .footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tx3);
    margin-bottom: 14px;
    max-width: none;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--tx2);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--b1);
}

.footer-bottom {
    border-top: 1px solid var(--ln);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--tx3);
}

.footer-legal a:hover {
    color: var(--tx2);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--tx3);
    max-width: none;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE SEKTIONEN
   ═══════════════════════════════════════════════════════════════════════════ */


/* ─── Gemeinsame Section-Elemente ────────────────────────────────────────── */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--b1);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 18px;
    line-height: 1.15;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--tx2);
    max-width: 54ch;
    margin-bottom: 48px;
}

/* Reveal-Animation (ausgelöst via IntersectionObserver) */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].visible {
    opacity: 1;
    transform: none;
}

/* Gestaffeltes Einblenden für Karten-Grids — Reihenfolge nach Spalte,
   damit Reihen beim Scrollen nacheinander "aufblättern" statt auf
   einmal zu poppen. */
.leistung-cards > [data-reveal]:nth-child(3n+1),
.erp-module-grid > [data-reveal]:nth-child(3n+1),
.leistung-usps > [data-reveal]:nth-child(3n+1) { transition-delay: 0s; }

.leistung-cards > [data-reveal]:nth-child(3n+2),
.erp-module-grid > [data-reveal]:nth-child(3n+2),
.leistung-usps > [data-reveal]:nth-child(3n+2) { transition-delay: 0.1s; }

.leistung-cards > [data-reveal]:nth-child(3n),
.erp-module-grid > [data-reveal]:nth-child(3n),
.leistung-usps > [data-reveal]:nth-child(3n) { transition-delay: 0.2s; }

.eigenmarken-grid > [data-reveal]:nth-child(2n+1) { transition-delay: 0s; }
.eigenmarken-grid > [data-reveal]:nth-child(2n)   { transition-delay: 0.12s; }

.raeume-grid > [data-reveal]:nth-child(3n+1) { transition-delay: 0s; }
.raeume-grid > [data-reveal]:nth-child(3n+2) { transition-delay: 0.1s; }
.raeume-grid > [data-reveal]:nth-child(3n)   { transition-delay: 0.2s; }

.stats-grid > [data-reveal]:nth-child(4n+1) { transition-delay: 0s; }
.stats-grid > [data-reveal]:nth-child(4n+2) { transition-delay: 0.08s; }
.stats-grid > [data-reveal]:nth-child(4n+3) { transition-delay: 0.16s; }
.stats-grid > [data-reveal]:nth-child(4n)   { transition-delay: 0.24s; }

.security-stats-grid > [data-reveal]:nth-child(3n+1) { transition-delay: 0s; }
.security-stats-grid > [data-reveal]:nth-child(3n+2) { transition-delay: 0.1s; }
.security-stats-grid > [data-reveal]:nth-child(3n)   { transition-delay: 0.2s; }

.wort-grid > [data-reveal]:nth-child(4n+1) { transition-delay: 0s; }
.wort-grid > [data-reveal]:nth-child(4n+2) { transition-delay: 0.08s; }
.wort-grid > [data-reveal]:nth-child(4n+3) { transition-delay: 0.16s; }
.wort-grid > [data-reveal]:nth-child(4n)   { transition-delay: 0.24s; }

.teaser-duo-grid > [data-reveal]:nth-child(2n+1) { transition-delay: 0s; }
.teaser-duo-grid > [data-reveal]:nth-child(2n)   { transition-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-scroll { animation: none; }
    .bl-leistung-hero::before,
    .bl-leistung-hero::after {
        animation: none;
    }
    .leistung-hero-badge,
    .leistung-hero-title,
    .leistung-hero-sub,
    .leistung-hero-ctas {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .leistung-card:hover .leistung-card-icon {
        transform: none;
    }
    .bl-kontakt-hero::before {
        animation: none;
    }
    .bl-kontakt-hero .section-label,
    .bl-kontakt-hero .kontakt-hero-title,
    .bl-kontakt-hero .kontakt-hero-sub {
        animation: none;
        opacity: 1;
        transform: none;
    }
}


/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
    background: var(--b1);
    color: #fff;
    border-color: var(--b1);
}
.btn-primary:hover {
    background: var(--b2);
    border-color: var(--b2);
    color: #fff;
    box-shadow: 0 4px 18px rgba(0,96,174,0.28);
}

.btn-ghost {
    background: transparent;
    color: var(--tx1);
    border-color: var(--ln);
}
/* Nur Border anpassen, NICHT color erneut setzen: "html.dk" hat durch den
   zusätzlichen Typ-Selektor höhere Spezifität als z.B. ".cta-actions
   .btn-ghost" oder ".bl-hero .btn-ghost" und hat deren extra für die immer
   dunklen Sektionen gesetzte Textfarbe im Dark Mode überstimmt. */
html.dk .btn-ghost { border-color: rgba(255,255,255,0.15); }
.btn-ghost:hover {
    background: var(--bg2);
    color: var(--tx1);
    border-color: var(--tx3);
}

.btn-outline {
    background: transparent;
    color: var(--b1);
    border-color: var(--b1);
}
.btn-outline:hover {
    background: var(--b1);
    color: #fff;
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }


/* ─── Hero ───────────────────────────────────────────────────────────────── */
.bl-hero {
    position: relative;
    min-height: 100vh;
    background: #050d1a;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0,96,174,0.18);
    border: 1px solid rgba(0,174,239,0.3);
    color: var(--b2);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

.hero-headline {
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: #e8edf5;
    line-height: 1.06;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

#heroScramble {
    color: var(--b2);
    display: inline-block;
}

/* "Lösungshaus" in den beiden Bliescon-Markenblautönen — greift sowohl im
   fertigen Scramble-Ergebnis (main.js) als auch ohne JS/mit reduzierter
   Bewegung, da die Spans schon serverseitig im Markup stehen. */
.hs-loesung { color: var(--b1); }
.hs-haus    { color: var(--b2); }

/* Unter 480px reicht der clamp-Mindestwert nicht mehr — "Das Lösungshaus."
   bricht während des Scramble-Effekts sonst in eine zweite Zeile um. */
@media (max-width: 480px) {
    .hero-headline {
        font-size: clamp(1.7rem, 9vw, 2.3rem);
        letter-spacing: -0.02em;
    }
}

.hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: #8a9ab8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
    max-width: none;
}

.hero-desc {
    font-size: 1.05rem;
    color: #8a9ab8;
    margin-bottom: 36px;
    max-width: 52ch;
}

.hero-dog {
    font-style: italic;
    color: #4a5d7a;
    font-size: 0.9em;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #8a9ab8; /* AA-Kontrast auf #050d1a */
    max-width: none;
}

/* Hero-spezifische Button-Overrides (Hero ist immer dunkel) */
.bl-hero .btn-ghost {
    color: rgba(232, 237, 245, 0.88);
    border-color: rgba(255, 255, 255, 0.22);
}
.bl-hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: #4a5d7a;
    font-size: 1.4rem;
    animation: scrollBounce 2s ease infinite;
    z-index: 2;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}


/* ─── Stats ──────────────────────────────────────────────────────────────── */
.bl-stats {
    background: var(--bg2);
    border-top: 1px solid var(--ln);
    border-bottom: 1px solid var(--ln);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2px;
    background: var(--ln);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.stat-card {
    background: var(--bg2);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.2s;
}

.stat-card:hover { background: var(--bg3); }

.stat-num {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--b1);
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tx1);
    max-width: none;
}

.stat-sub {
    font-size: 0.78rem;
    color: var(--tx3);
    max-width: none;
}

.stat-dog .stat-num { color: #a9713c; } /* Kaffeebraun statt Netzwerk-Grün — kein Bezug zur Division */


/* ─── Lösungshaus ────────────────────────────────────────────────────────── */
.bl-loesungshaus { background: var(--bg); }

.raeume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.raum-card {
    position: relative;
    background: var(--cb);
    border: 1px solid var(--cbr);
    border-radius: var(--r-xl);
    padding: 36px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
    will-change: transform;
    transform-style: preserve-3d;
}

.raum-card:hover { box-shadow: var(--sh-lg); }

.raum-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.raum-consulting .raum-accent { background: linear-gradient(90deg, var(--b1), var(--b2)); }
.raum-software  .raum-accent { background: linear-gradient(90deg, var(--o1), var(--o2)); }
.raum-netzwerk  .raum-accent { background: linear-gradient(90deg, var(--g1), var(--g2)); }

.raum-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.raum-consulting .raum-icon { background: rgba(0,96,174,0.1); color: var(--b1); }
.raum-software  .raum-icon { background: rgba(239,25,0,0.1);  color: var(--o1); }
.raum-netzwerk  .raum-icon { background: rgba(96,174,0,0.1);  color: var(--g1); }

.raum-nr {
    position: absolute;
    top: 28px; right: 32px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--tx3);
}

.raum-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.raum-desc {
    font-size: 0.9rem;
    color: var(--tx2);
    line-height: 1.65;
    margin-bottom: 20px;
}

.raum-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 24px;
}

.raum-tags li {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
    border: 1px solid var(--ln);
    color: var(--tx2);
}

.raum-link {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.2s;
}

.raum-consulting .raum-link { color: var(--b1); }
.raum-software  .raum-link { color: var(--o1); }
.raum-netzwerk  .raum-link { color: var(--g1); }

.raum-link:hover { gap: 10px; text-decoration: none; }


/* ─── IT-Security DNA ────────────────────────────────────────────────────── */
/* War früher fest auf #060f22 verdrahtet ("immer dunkel — passend zur
   DNA-Visualisierung"). Jetzt Teil des Sektions-Rhythmus wie jede andere
   Sektion: section.sec-N liefert den Hintergrund, Text folgt den Tokens
   (--tx1/--tx2 über die globalen h2/p-Regeln), der DNA-Canvas wählt seine
   Palette selbst passend zum Hintergrund (siehe main.js). */
.bl-itsec { background: var(--bg); }

.bl-itsec .itsec-text em { color: var(--tx1); font-style: normal; font-weight: 500; }
.bl-itsec .itsec-badge {
    background: rgba(0, 96, 174, 0.18);
    border-color: rgba(0, 174, 239, 0.28);
    color: #00aeef;
}

.itsec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 900px) {
    .itsec-grid { grid-template-columns: 1fr; }
    .itsec-dna-wrap { margin-inline: auto; }
}

.itsec-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.itsec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 99px;
    background: var(--bg3);
    border: 1px solid var(--ln);
    color: var(--tx2);
}

/* DNA Canvas — Container bewusst fest weiß (nicht --cb-Token): die Helix
   soll als eigenständiges Signature-Visual immer auf klarem, ruhigem
   Untergrund stehen, unabhängig von der Rhythmus-Stufe der Sektion. Der
   Hover-Glow kommt von .glow-card (main.js setzt --mx/--my). */
.itsec-dna-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(13, 26, 46, 0.09);
    box-shadow: var(--sh-sm);
    aspect-ratio: 3 / 4;
    max-width: 380px;
    width: 100%;
}

.itsec-dna {
    width: 100%;
    height: 100%;
    display: block;
}

.dna-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    pointer-events: none;
}

.dna-label span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--tx3);
    max-width: none;
    line-height: 1;
}


/* ─── Prozess ────────────────────────────────────────────────────────────── */
.bl-prozess { background: var(--bg); }

.prozess-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    position: relative;
}

.prozess-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prozess-nr {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg3);
    line-height: 1;
    letter-spacing: -0.04em;
    transition: color 0.3s;
}

.prozess-step:hover .prozess-nr { color: var(--b1); }

.prozess-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.prozess-content p {
    font-size: 0.9rem;
    line-height: 1.65;
}


/* ─── Referenzen ─────────────────────────────────────────────────────────── */
.bl-referenzen { background: var(--bg2); }

/* Flexbox statt Grid — so zentriert sich eine unvollständige letzte Reihe
   (z.B. bei 4 Karten: 3 + 1) statt links mit Leerraum hängenzubleiben.
   Gleiches Muster wie .partner-logo-grid. */
.referenzen-grid {
    --rg-gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--rg-gap);
}

.referenz-card {
    position: relative;
    flex: 1 1 calc(33.333% - var(--rg-gap));
    max-width: calc(33.333% - var(--rg-gap));
    background: var(--cb);
    border: 1px solid var(--cbr);
    border-radius: var(--r-xl);
    padding: 36px 32px 32px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.25s, border-color 0.3s;
    will-change: transform;
    transform-style: preserve-3d;
}

@media (max-width: 860px) {
    .referenz-card { flex-basis: calc(50% - var(--rg-gap)); max-width: calc(50% - var(--rg-gap)); }
}

@media (max-width: 560px) {
    .referenz-card { flex-basis: 100%; max-width: 100%; }
}

.referenz-card:hover {
    box-shadow: var(--sh-lg);
}

.referenz-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.referenz-card--a .referenz-accent { background: linear-gradient(90deg, var(--b1), var(--b2)); }
.referenz-card--b .referenz-accent { background: linear-gradient(90deg, var(--o1), var(--o2)); }
.referenz-card--c .referenz-accent { background: linear-gradient(90deg, var(--g1), var(--g2)); }

.referenz-mark {
    position: absolute;
    top: -6px;
    right: 18px;
    font-size: 3.2rem;
    line-height: 1;
    opacity: 0.09;
    pointer-events: none;
}

.referenz-card--a .referenz-mark { color: var(--b1); }
.referenz-card--b .referenz-mark { color: var(--o1); }
.referenz-card--c .referenz-mark { color: var(--g1); }

.referenz-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.referenz-card--a .referenz-avatar { background: rgba(0,96,174,0.1); color: var(--b1); }
.referenz-card--b .referenz-avatar { background: rgba(239,25,0,0.1);  color: var(--o1); }
.referenz-card--c .referenz-avatar { background: rgba(96,174,0,0.1);  color: var(--g1); }

.referenz-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--tx2);
    font-style: italic;
    max-width: none;
}

.referenz-quote::before { content: '\201E'; }
.referenz-quote::after  { content: '\201C'; }

.referenz-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.referenz-footer-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.referenz-footer strong {
    font-size: 0.88rem;
    color: var(--tx1);
}

.referenz-footer span {
    font-size: 0.78rem;
    color: var(--tx3);
}


/* ─── Gründer / Über uns ─────────────────────────────────────────────────── */
.bl-gruender { background: var(--bg); }

.gruender-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 72px;
    align-items: start;
}

@media (max-width: 900px) {
    .gruender-grid { grid-template-columns: 1fr; gap: 40px; }
}

.gruender-img-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--bg3);
    aspect-ratio: 3/4;
}

.gruender-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gruender-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(5,13,26,0.82);
    backdrop-filter: blur(8px);
    color: var(--b2);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid rgba(0,174,239,0.25);
    white-space: nowrap;
}

.gruender-rolle {
    font-size: 0.85rem;
    color: var(--tx3);
    font-weight: 500;
    margin-bottom: 20px;
    max-width: none;
}

.gruender-werte {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-block: 28px;
}

.gruender-wert {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--tx2);
}

.gruender-wert i {
    color: var(--b1);
    font-size: 1rem;
    flex-shrink: 0;
}

.gruender-wert span { max-width: none; }


/* ─── Geschichte / Hochwasser ────────────────────────────────────────────── */
.bl-geschichte { background: var(--bg2); }

.geschichte-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

@media (max-width: 900px) {
    .geschichte-grid { grid-template-columns: 1fr; gap: 40px; }
}

.geschichte-photos {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 14px;
    align-items: start;
}

@media (max-width: 560px) {
    .geschichte-photos { grid-template-columns: 1fr; }
}

.geschichte-img-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--bg3);
}

.geschichte-photos-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}

@media (max-width: 560px) {
    .geschichte-photos-side { margin-top: 0; }
}

.geschichte-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.geschichte-img-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px 18px;
    background: linear-gradient(transparent, rgba(0,0,0,0.62));
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.geschichte-meta {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--ln);
}

.geschichte-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.geschichte-meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tx3);
}

.geschichte-meta-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--tx1);
}

.engagement-strip {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid var(--ln);
}

.engagement-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--cb);
    border-radius: var(--r-lg);
    border: 1px solid var(--ln);
    overflow: hidden;
    max-width: 700px;
}

.engagement-img img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

/* Brand/logo variant: contain instead of cover, on a neutral fill so flat logos don't get cropped */
.engagement-img--brand {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d1a2e;
    padding: 24px;
}

.engagement-img--brand img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 64px;
    min-height: 0;
    object-fit: contain;
}

.eigenmarken-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .eigenmarken-grid { grid-template-columns: 1fr; }
}

.eigenmarken-grid .engagement-card { max-width: none; }

.eigenmarken-behind-scenes {
    position: relative;
    margin-top: 24px;
    border-radius: var(--r-lg);
    overflow: hidden;
    max-height: 320px;
}

/* Quellbild ist Hochformat (900x1200), Banner sehr breit/flach — ein
   statischer Zuschnitt zeigt immer nur einen ca. 17% hohen Streifen.
   Deshalb hier scrollbar statt fest zugeschnitten: das Bild liegt in
   voller (skalierter) Höhe vor, der Rahmen ist ein vertikal scrollbarer
   Ausschnitt. JS setzt die Start-Scrollposition aufs Mainboard (main.js). */
.eigenmarken-bts-scroll {
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.5) transparent;
    cursor: ns-resize;
}

.eigenmarken-bts-scroll::-webkit-scrollbar { width: 6px; }
.eigenmarken-bts-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.5);
    border-radius: 99px;
}

.eigenmarken-behind-scenes img {
    width: 100%;
    height: auto;
    display: block;
}

.eigenmarken-bts-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: rgba(255,255,255,0.92);
    font-size: 0.8rem;
    font-weight: 500;
}

.engagement-info {
    padding: 28px 32px;
}

.engagement-tag {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tx3);
    margin-bottom: 8px;
}

.engagement-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tx1);
    margin-bottom: 10px;
}

.engagement-info p {
    font-size: 0.88rem;
    color: var(--tx2);
    max-width: none;
}

.engagement-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--b1);
}

.engagement-link i { font-size: 0.9rem; transition: transform 0.2s; }
.engagement-link:hover i { transform: translate(2px, -2px); }

@media (max-width: 600px) {
    .engagement-card { grid-template-columns: 1fr; }
    .engagement-img img { min-height: 180px; height: 180px; }
}


/* ─── Consulting – Speaker ───────────────────────────────────────────────── */
.bl-consulting-speaker { background: var(--bg2); }

.speaker-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
    align-items: center;
}

@media (max-width: 900px) {
    .speaker-grid { grid-template-columns: 1fr; gap: 40px; }
}

.speaker-img img {
    width: 100%;
    height: auto;
    border-radius: var(--r-xl);
    display: block;
    object-fit: cover;
}


/* ─── Security Stats (Brücke zwischen DNA und Check-CTA) ────────────────── */
.bl-security-stats {
    background: #fff;
    padding-block: clamp(56px, 8vw, 96px);
    border-top: 1px solid #edf2f7;
}
.dk .bl-security-stats {
    background: var(--bg2);
    border-top-color: var(--bg3);
}

.security-stats-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.security-stats-intro {
    max-width: 38ch;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.security-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2.5vw, 22px);
    margin-top: clamp(40px, 5vw, 60px);
}

.security-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 44px) clamp(22px, 3vw, 36px);
    gap: 10px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 60, 140, 0.07);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.security-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 60, 140, 0.14);
}

.dk .security-stat { background: var(--bg2); border-color: var(--bg3); }

.security-stat--accent {
    background: linear-gradient(145deg, #0060ae 0%, #003f80 100%);
    border-color: transparent;
    box-shadow: 0 8px 36px rgba(0, 60, 140, 0.3);
}
.dk .security-stat--accent { background: linear-gradient(145deg, #0060ae 0%, #002a60 100%); }

.security-stat-icon {
    font-size: 1.7rem;
    color: var(--b1);
    margin-bottom: 6px;
}
.security-stat--accent .security-stat-icon { color: rgba(255,255,255,0.85); }

.security-stat-number {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    color: #0060ae;
    letter-spacing: -0.03em;
}
.security-stat--accent .security-stat-number { color: #fff; }

.security-stat-label {
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    color: #3d5068;
    line-height: 1.55;
}
.security-stat--accent .security-stat-label { color: rgba(255,255,255,0.88); }

.security-stat-source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6a86ac;
    letter-spacing: 0.02em;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #edf2f7;
    text-decoration: none;
    transition: color 0.2s;
}
.security-stat-source::before { content: "Quelle: "; color: #94a8c0; font-weight: 500; }
.security-stat-source i { font-size: 0.9rem; }
.security-stat-source:hover { color: var(--b1); }
.security-stat--accent .security-stat-source {
    color: rgba(255,255,255,0.75);
    border-top-color: rgba(255,255,255,0.15);
}
.security-stat--accent .security-stat-source::before { color: rgba(255,255,255,0.5); }
.security-stat--accent .security-stat-source:hover { color: #fff; }
.dk .security-stat-source { border-top-color: var(--bg3); color: #7c8fac; }

@media (max-width: 640px) {
    .security-stats-grid { grid-template-columns: 1fr; }
    .security-stats-head { align-items: flex-start; }
}


/* ─── Sicherheitscheck-Banner (Homepage) ─────────────────────────────────
   Volle Sektionsbreite statt zwei halbe Spalten: Score-Ring, Text+Checkliste
   und CTA-Button stehen als ein zusammenhängendes Banner nebeneinander,
   direkt unter den Bedrohungslage-Kennzahlen. Komplett Token-basiert
   (--tx1/--cb/--b1 …), passt sich also automatisch jeder Rhythmus-Stufe an. */
.check-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(28px, 4vw, 52px);
    margin-top: clamp(44px, 6vw, 64px);
    padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 48px);
    background: var(--cb);
    border: 1px solid var(--cbr);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-md);
}

.check-banner-score {
    position: relative;
    width: clamp(112px, 12vw, 140px);
    height: clamp(112px, 12vw, 140px);
    flex-shrink: 0;
}
.check-banner-score svg { width: 100%; height: 100%; }

.check-banner-score-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.check-banner-score-q {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--b2);
    line-height: 1;
}

.check-banner-score-label span:last-child {
    font-size: 0.7rem;
    color: var(--tx3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.check-banner-body { min-width: 0; }
.check-banner-body .tech-head { margin-bottom: 14px; }

.check-banner-title {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--tx1);
    margin: 2px 0 10px;
}

.check-banner-desc {
    color: var(--tx2);
    font-size: 0.92rem;
    max-width: 48ch;
    margin-bottom: 20px;
}

.check-banner-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
}

.check-banner-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--tx2);
    font-size: 0.86rem;
    min-width: 0;
    overflow-wrap: break-word;
}

.check-banner-list li .ti {
    color: var(--b1);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.check-banner-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.check-banner-btn { white-space: nowrap; }

.check-banner-note {
    font-size: 0.74rem;
    color: var(--tx3);
    max-width: none;
    text-align: center;
}

@media (max-width: 1000px) {
    .check-banner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .check-banner-desc { margin-left: auto; margin-right: auto; }
    .check-banner-list {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 320px;
    }
}


/* ─── Partner ────────────────────────────────────────────────────────────── */
.bl-partner { background: var(--bg2); }

.partner-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--cb);
    border: 1px solid var(--cbr);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tx2);
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: default;
}

.partner-chip:hover {
    border-color: var(--b1);
    color: var(--b1);
    box-shadow: 0 0 0 3px rgba(0,96,174,0.08);
}

.partner-chip img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.partner-chips--secondary { margin-top: 20px; }

/* Partner logo grid — flexbox so an incomplete last row centers instead of hugging the left edge */
.partner-logo-grid {
    --plg-gap: clamp(12px, 2vw, 18px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--plg-gap);
    margin-top: clamp(36px, 5vw, 56px);
}

.partner-logo-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 calc(25% - var(--plg-gap));
    max-width: calc(25% - var(--plg-gap));
    padding: 16px 24px;
    height: 108px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    text-decoration: none;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.partner-logo-card:hover {
    box-shadow: 0 6px 28px rgba(0, 60, 180, 0.12);
    border-color: rgba(0, 96, 174, 0.35);
    transform: translateY(-3px);
    z-index: 20;
}

/* Hover intro popover — only rendered for partners with an 'intro' text */
.partner-logo-intro {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    width: 280px;
    max-width: 80vw;
    padding: 20px 22px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 56px rgba(10, 30, 70, 0.22);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px) scale(0.96);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 30;
    pointer-events: none;
}

.partner-logo-intro::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 4px 4px 8px rgba(10, 30, 70, 0.06);
}

.partner-logo-card:hover .partner-logo-intro,
.partner-logo-card:focus-visible .partner-logo-intro {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}

.partner-logo-intro-tag {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #0060ae;
    margin-bottom: 6px;
}

.partner-logo-intro-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #10182b;
    margin-bottom: 8px;
}

.partner-logo-intro-text {
    display: block;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #4a5568;
}

@media (max-width: 640px) {
    .partner-logo-intro { display: none; }
}

.partner-logo-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Dark mode: white cards so logos render on white */
.dk .partner-logo-card {
    background: #fff;
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

@media (max-width: 860px) {
    .partner-logo-card { flex-basis: calc(33.333% - var(--plg-gap)); max-width: calc(33.333% - var(--plg-gap)); }
}

/* Memberships */
.bl-memberships {
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: clamp(32px, 4vw, 48px);
    border-top: 1px solid #e8edf5;
}

.dk .bl-memberships { border-top-color: var(--bg3); }

.memberships-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a9ab8;
    margin-bottom: 20px;
}

.memberships-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--plg-gap, 16px);
    align-items: stretch;
}

/* Nur zwei Mitgliedschaften, aber wichtige — jede Karte deckt bewusst so
   viel Fläche ab wie zwei Partner-Logo-Zellen aus dem Grid darüber (50%
   Breite, gleiche Höhe 108px), statt als kleine Nebensache zu wirken. */
.membership-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1 1 calc(50% - var(--plg-gap, 16px) / 2);
    max-width: calc(50% - var(--plg-gap, 16px) / 2);
    min-width: 220px;
    padding: 20px 28px;
    height: 108px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    text-decoration: none;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.membership-card:hover {
    border-color: var(--b1);
    box-shadow: 0 6px 28px rgba(0, 60, 180, 0.12);
    transform: translateY(-3px);
}

.membership-logo {
    height: 52px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Badge-Variante (z. B. Allianz-für-Cybersicherheit-Siegel): etwas größer,
   ohne Multiply-Blend, damit das farbige Siegel nicht verwaschen wirkt. */
.membership-logo--badge {
    height: 68px;
    mix-blend-mode: normal;
}

@media (max-width: 560px) {
    .membership-card { flex: 1 1 100%; max-width: 100%; }
}

.membership-card--text { gap: 10px; }

.membership-icon { font-size: 1.5rem; color: var(--b1); flex-shrink: 0; }

.membership-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a2a42;
    line-height: 1.35;
}

/* Logo-Karten brauchen immer eine helle Fläche (wie .partner-logo-card weiter
   oben) — sonst verschwindet die Karte im Dark Mode im gleich dunklen
   .bl-partner-Hintergrund (beide nutzten vorher var(--bg2)). Bleibt daher
   in beiden Modi weiß statt mit dem Theme zu wechseln. */
.dk .membership-card {
    background: #fff;
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}


/* ─── VIP ─────────────────────────────────────────────────────────────────── */
/* Kompakte Verweis-Kacheln auf /ueber-uns/ und /presse/ (volle Inhalte
   sind dorthin umgezogen, siehe Kommentar im HTML). */
.bl-teaser-duo { background: var(--bg); }

.teaser-duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 700px) {
    .teaser-duo-grid { grid-template-columns: 1fr; }
}

.teaser-card {
    padding: 40px 36px;
}

.teaser-card .section-title {
    margin-top: 8px;
    margin-bottom: 14px;
}

.teaser-card p {
    color: var(--tx2);
    margin-bottom: 22px;
    line-height: 1.65;
}

.bl-vip {
    background: #020d1e;
    padding-block: clamp(64px, 9vw, 112px);
}

.vip-inner {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 360px);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
}

.bl-vip .section-label { color: var(--b2); }
.vip-title { color: #e8edf5; }

.vip-intro {
    color: #8a9ab8;
    font-size: 1rem;
    line-height: 1.65;
    margin-top: 16px;
    margin-bottom: 36px;
    max-width: 44ch;
}

.vip-persons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.vip-person {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.vip-person strong {
    color: #d6e4f4;
    font-weight: 600;
    font-size: 0.95rem;
}

.vip-person span {
    color: #596880;
    font-size: 0.82rem;
    line-height: 1.45;
}

.vip-figure { margin: 0; }

.vip-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06);
}

.vip-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.vip-photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 18px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: rgba(255,255,255,0.92);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (max-width: 860px) {
    .vip-inner {
        grid-template-columns: 1fr;
    }
    .vip-figure { order: -1; }
    .vip-photo-wrap { max-width: 320px; margin-inline: auto; }
    .vip-intro { max-width: 100%; }
}

@media (max-width: 600px) {
    .partner-logo-card { flex-basis: calc(50% - var(--plg-gap)); max-width: calc(50% - var(--plg-gap)); }
}


/* ─── CTA ────────────────────────────────────────────────────────────────── */
.bl-cta {
    position: relative;
    background: #050d1a;
    padding-block: clamp(80px, 12vw, 140px);
    overflow: hidden;
    text-align: center;
}

.cta-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
}

.cta-inner {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0,96,174,0.15);
    border: 1px solid rgba(0,174,239,0.25);
    color: var(--b2);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 28px;
}

.cta-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #e8edf5;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 1.05rem;
    color: #8a9ab8;
    max-width: 52ch;
    margin-inline: auto;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-actions .btn-ghost {
    color: #8a9ab8;
    border-color: rgba(255,255,255,0.12);
}
.cta-actions .btn-ghost:hover {
    color: #e8edf5;
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.cta-meta {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.cta-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #4a5d7a;
    max-width: none;
}


/* ─── Responsive Tweaks ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .hero-ctas, .cta-actions { flex-direction: column; align-items: flex-start; }
    .cta-actions { align-items: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .gruender-werte { grid-template-columns: 1fr; }
    .prozess-steps { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   TEAM-SEITE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Team Hero ──────────────────────────────────────────────────────────── */
.bl-team-hero {
    background: #060f22;
    padding-top: calc(var(--nav-h) + 72px);
    padding-bottom: 72px;
}

.bl-team-hero .section-label { color: #00aeef; }

.team-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: #dde5f0;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.team-dog-hint {
    color: var(--b2);
    font-style: italic;
}

.team-hero-sub {
    font-size: 1.05rem;
    color: #7a90b0;
    max-width: 52ch;
}


/* ─── Team Grid ──────────────────────────────────────────────────────────── */
.bl-team-grid { background: var(--bg); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ─── Team Card ──────────────────────────────────────────────────────────── */
.team-card {
    position: relative;
    background: var(--cb);
    border: 1px solid var(--cbr);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.team-card:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-3px);
}

/* Featured-Card (David) — leicht hervorgehoben */
.team-card--featured {
    border-color: rgba(0, 96, 174, 0.25);
    box-shadow: 0 0 0 1px rgba(0,96,174,0.12), var(--sh-sm);
}

/* Farbiger Akzent-Streifen oben */
.team-card-accent {
    height: 4px;
    position: absolute;
    top: 0; left: 0; right: 0;
}

.team-card--consulting .team-card-accent { background: linear-gradient(90deg, var(--b1), var(--b2)); }
.team-card--software   .team-card-accent { background: linear-gradient(90deg, var(--o1), var(--o2)); }
.team-card--netzwerk   .team-card-accent { background: linear-gradient(90deg, var(--g1), var(--g2)); }
/* „Alle Bereiche" (Timon): Legendary-Loop — voll gesättigter Farbzyklus,
   nahtlos: der Verlauf endet in seiner Startfarbe und wandert pro Loop um
   exakt eine Kachel (background-position 200% bei background-size 200%),
   dadurch ist der Übergang mathematisch fugenlos. Dazu ein farblich
   mitwanderndes Glühen. */
.team-card--alle       .team-card-accent {
    height: 5px;
    background: linear-gradient(90deg,
        #0060ae, #00aeef, #00e5a0, #aeef00, #f0b429,
        #ff6109, #ef1900, #e332c8, #7a2ee6, #0060ae);
    background-size: 200% 100%;
    animation:
        legendaryShift 6s linear infinite,
        legendaryGlow  6s linear infinite;
}
.team-card--buerohund  .team-card-accent { background: linear-gradient(90deg, #c9950c, #f0b429); }
.team-card--intern     .team-card-accent {
    background: #0d1a2e;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.15); /* bleibt im Dark Mode sichtbar */
}


@keyframes legendaryShift {
    from { background-position: 0% 50%; }
    to   { background-position: 200% 50%; }
}

/* Glüh-Farbe läuft synchron zum sichtbaren Spektrum */
@keyframes legendaryGlow {
    0%   { box-shadow: 0 1px 12px 1px rgba(0, 150, 230, 0.55); }
    20%  { box-shadow: 0 1px 14px 2px rgba(140, 220, 40, 0.5); }
    40%  { box-shadow: 0 1px 14px 2px rgba(255, 130, 20, 0.55); }
    60%  { box-shadow: 0 1px 14px 2px rgba(230, 50, 190, 0.5); }
    80%  { box-shadow: 0 1px 14px 2px rgba(122, 46, 230, 0.55); }
    100% { box-shadow: 0 1px 12px 1px rgba(0, 150, 230, 0.55); }
}

@media (prefers-reduced-motion: reduce) {
    .team-card--alle .team-card-accent,
    .team-div--alle {
        animation: none;
    }
}

/* Foto */
.team-photo {
    aspect-ratio: 3 / 3.5;
    overflow: hidden;
    background: var(--bg3);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.04);
}

.team-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--tx3);
}

/* Teaser — pulsierender "Signal"-Effekt statt starrem Platzhalter-Icon */
.team-photo--teaser {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--bg3), var(--bg2));
}

.team-teaser-radar {
    position: relative;
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-teaser-radar .ti {
    position: relative;
    z-index: 2;
    font-size: 2.3rem;
    color: var(--tx3);
}

.team-teaser-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--tx3);
    opacity: 0;
    animation: teamTeaserPulse 2.6s ease-out infinite;
}
.team-teaser-ring:nth-child(2) { animation-delay: 1.3s; }

@keyframes teamTeaserPulse {
    0%   { transform: scale(0.55); opacity: 0.55; }
    100% { transform: scale(1.7);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .team-teaser-ring { animation: none; display: none; }
}

/* Info */
.team-info {
    padding: 20px 24px 24px;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.team-rolle {
    font-size: 0.82rem;
    color: var(--tx3);
    line-height: 1.4;
    margin-bottom: 10px;
    max-width: none;
}

/* Division Badge */
.team-division-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 12px;
}

.team-div--consulting { background: rgba(0,96,174,0.1);   color: var(--b1); }
.team-div--software   { background: rgba(239,25,0,0.1);   color: var(--o1); }
.team-div--netzwerk   { background: rgba(96,174,0,0.1);   color: var(--g1); }
.team-div--buerohund  { background: rgba(201,149,12,0.12); color: #a3780a; }
/* Badge-Text: gleicher nahtloser Zyklus, aber mit abgedunkelten Hues,
   damit der 0.7rem-Text auf hellem Kartengrund lesbar bleibt. */
.team-div--alle {
    background: linear-gradient(90deg,
        #0060ae, #0077b6, #00875f, #5f8f00, #b06f00,
        #d1490a, #c81e00, #b3239a, #6d2bc9, #0060ae);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: legendaryShift 6s linear infinite;
    padding-left: 0; padding-right: 0;
}

/* Im Dark Mode dürfen die Hues wieder voll leuchten */
html.dk .team-div--alle {
    background-image: linear-gradient(90deg,
        #2fa8ff, #00e0ff, #00e5a0, #aeef00, #ffc233,
        #ff8a3d, #ff5a4e, #ff5ad6, #b07aff, #2fa8ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--tx2);
    line-height: 1.65;
    max-width: none;
}


/* ─── Team auf der Messe ─────────────────────────────────────────────────── */
.team-messe-wrap {
    max-width: 780px;
    margin-inline: auto;
    margin-top: clamp(28px, 4vw, 44px);
}


/* ─── Team CTA ───────────────────────────────────────────────────────────── */
.bl-team-cta {
    background: var(--bg2);
    border-top: 1px solid var(--ln);
}

.team-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.team-cta-inner h2 { margin-bottom: 8px; }
.team-cta-inner p  { max-width: 52ch; }
.team-cta-inner em { font-style: normal; font-weight: 600; color: var(--b1); }


/* ═══════════════════════════════════════════════════════════════════════════
   KONTAKT-SEITE
   ═══════════════════════════════════════════════════════════════════════════ */

.bl-kontakt-hero {
    background: #060f22;
    padding-top: calc(var(--nav-h) + 72px);
    padding-bottom: 72px;
    position: relative;
    overflow: hidden;
}

.bl-kontakt-hero::before {
    content: '';
    position: absolute;
    top: -110px;
    right: -60px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--b2) 0%, transparent 68%);
    opacity: 0.06;
    pointer-events: none;
    animation: heroBlobPulse 10s ease-in-out infinite;
}

.bl-kontakt-hero .section-label,
.bl-kontakt-hero .kontakt-hero-title,
.bl-kontakt-hero .kontakt-hero-sub {
    animation: heroContentIn 0.7s ease both;
}
.bl-kontakt-hero .section-label      { animation-delay: 0.05s; }
.bl-kontakt-hero .kontakt-hero-title { animation-delay: 0.16s; }
.bl-kontakt-hero .kontakt-hero-sub   { animation-delay: 0.3s; }

.bl-kontakt-hero .section-label { color: #00aeef; }

.kontakt-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: #dde5f0;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.kontakt-hero-sub {
    font-size: 1.05rem;
    color: #7a90b0;
    max-width: 48ch;
}

/* Grid */
.bl-kontakt-content { background: var(--bg); }

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: start;
}

@media (max-width: 900px) {
    .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Formular */
.kontakt-form-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
}

.check-result-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 96, 174, 0.07);
    border: 1px solid rgba(0, 96, 174, 0.22);
    border-radius: var(--r-md);
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--tx2);
    margin-bottom: 24px;
}

.check-result-banner .ti {
    color: var(--b1);
    font-size: 1.2rem;
    flex-shrink: 0;
}

html.dk .check-result-banner {
    background: rgba(0, 174, 239, 0.08);
    border-color: rgba(0, 174, 239, 0.22);
}

html.dk .check-result-banner .ti {
    color: var(--b2);
}

/* Status-Meldungen */
.form-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--r-md);
    margin-bottom: 28px;
    font-size: 0.9rem;
}

.form-message i { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.form-message p { margin-top: 4px; max-width: none; color: inherit; font-size: 0.85rem; }
.form-message strong { display: block; font-size: 0.95rem; }

.form-message--success {
    background: rgba(96,174,0,0.1);
    border: 1px solid rgba(96,174,0,0.3);
    color: var(--g1);
}

.form-message--error {
    background: rgba(239,25,0,0.08);
    border: 1px solid rgba(239,25,0,0.25);
    color: var(--o1);
}

/* Formular-Felder */
.bl-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: flex; gap: 16px; }
.form-row--2 > * { flex: 1; min-width: 0; }

@media (max-width: 600px) {
    .form-row--2 { flex-direction: column; }
}

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tx2);
}

.form-field label span[aria-hidden] { color: var(--o1); margin-left: 2px; }

.form-optional {
    font-weight: 400;
    color: var(--tx3);
    font-size: 0.78rem;
}

.bl-form input[type="text"],
.bl-form input[type="email"],
.bl-form input[type="tel"],
.bl-form select,
.bl-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--ln);
    border-radius: var(--r-md);
    background: var(--bg);
    color: var(--tx1);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.bl-form input:focus,
.bl-form select:focus,
.bl-form textarea:focus {
    border-color: var(--b1);
    box-shadow: 0 0 0 3px rgba(0,96,174,0.1);
}

.bl-form textarea { resize: vertical; min-height: 140px; }

.bl-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aafc8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

/* Honeypot-Feld: für Menschen unsichtbar (nicht display:none, damit
   simple Bots es weiterhin "sehen" und ausfüllen) */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Checkbox */
.form-field--checkbox { margin-top: 4px; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    color: var(--tx2) !important;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--b1);
    cursor: pointer;
}

.checkbox-label a { color: var(--b1); text-decoration: underline; text-underline-offset: 2px; }

.form-submit { align-self: flex-start; }

.form-hint {
    font-size: 0.75rem;
    color: var(--tx3);
    margin-top: -8px;
    max-width: none;
}

/* Kontakt-Info Sidebar */
.kontakt-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.kontakt-info-card {
    background: var(--bg2);
    border: 1px solid var(--ln);
    border-radius: var(--r-xl);
    padding: 24px;
}

.kontakt-info-card h3 {
    font-size: 0.88rem;
    color: var(--tx3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kontakt-info-card p {
    font-size: 0.9rem;
    color: var(--tx2);
    max-width: none;
    line-height: 1.6;
}

.kontakt-info-sub {
    margin-top: 8px;
    font-size: 0.8rem !important;
    color: var(--tx3) !important;
    font-style: italic;
}

.kontakt-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--b1);
}

.kontakt-link:hover { color: var(--b2); }

.oeffnungszeiten { display: flex; flex-direction: column; gap: 6px; }

.oz-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--tx2);
}

.oz-row span { max-width: none; }
.oz-row span:first-child { font-weight: 500; color: var(--tx1); }

.oz-row--note {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--ln);
}

.oz-row--note span {
    font-size: 0.78rem;
    color: var(--tx3);
    line-height: 1.5;
}

.kontakt-info-card--photo {
    padding: 0;
    overflow: hidden;
}

.kontakt-info-card--photo img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.kontakt-photo-caption {
    padding: 14px 20px;
    margin: 0;
    font-size: 0.82rem !important;
    color: var(--tx3);
    font-style: italic;
    line-height: 1.5;
}

.kontakt-info-card--cta {
    background: var(--bg3);
    text-align: center;
}

.kontakt-info-card--cta p {
    font-size: 0.85rem;
    color: var(--tx3);
    margin-bottom: 12px;
}


/* ─── Page Content (Impressum, Datenschutz & Co.) ────────────────────────── */
.page-content {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 80px;
}

.page-title {
    margin-bottom: 32px;
}

.entry-content {
    color: var(--tx2);
    line-height: 1.75;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.entry-content p {
    margin-bottom: 1em;
}

.entry-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   Sicherheitscheck Page
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.bl-sicherheitscheck-hero {
    min-height: 52vh;
    background: linear-gradient(135deg, #060f22 0%, #0a1a3d 100%);
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 64px) 0 56px;
    position: relative;
    overflow: hidden;
}

.check-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-end;
}

.bl-sicherheitscheck-hero .section-label { color: var(--b2); }

.check-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #e8edf5;
    line-height: 1.1;
    margin: 12px 0 20px;
    letter-spacing: -0.02em;
}

.check-hero-sub {
    font-size: 1.1rem;
    color: rgba(232,237,245,0.7);
    line-height: 1.65;
}

.check-hero-img {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.check-hero-laika {
    max-width: 440px;
    width: 100%;
    height: auto; /* sonst bleibt die Höhe am starren HTML-Attribut (631px)
                     hängen, während die Breite per CSS schrumpft — verzerrt */
    filter: drop-shadow(0 24px 64px rgba(0,174,239,0.25));
}

@media (max-width: 768px) {
    .check-hero-content { grid-template-columns: 1fr; }
    .check-hero-img     { display: none; }
}


/* ─── Wizard Container ───────────────────────────────────────────────────── */
.bl-check-content {
    background: var(--bg);
    padding: 80px 0 100px;
}

.check-container {
    max-width: 700px;
}

.check-app {
    background: var(--cb);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    border: 1px solid var(--ln);
    overflow: hidden;
    min-height: 420px;
}

.check-screen {
    padding: 48px;
}

/* Programmatisch fokussierter Wizard-Screen (Fokusmanagement in
   sicherheitscheck.js) braucht keinen sichtbaren Fokusring — der nächste
   Tab landet direkt auf den Antwort-Buttons. */
.check-screen[tabindex="-1"]:focus {
    outline: none;
}

@media (max-width: 560px) {
    .check-screen { padding: 28px 24px; }
}


/* ─── Welcome Screen ─────────────────────────────────────────────────────── */
.check-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
}

.check-welcome-icon {
    font-size: 3.5rem;
    color: var(--b1);
    margin-bottom: 24px;
    line-height: 1;
}

.check-welcome h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--tx1);
}

.check-welcome > p {
    color: var(--tx2);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 460px;
}

.check-info-list {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.check-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--tx2);
}

.check-info-list .ti {
    color: var(--g1);
    font-size: 1rem;
    flex-shrink: 0;
}

.check-hint {
    font-size: 0.78rem;
    color: var(--tx3);
    margin-top: 18px;
}


/* ─── Progress ───────────────────────────────────────────────────────────── */
.check-progress {
    height: 4px;
    background: var(--bg3);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.check-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--b1), var(--b2));
    border-radius: 2px;
    transition: width 0.45s cubic-bezier(0.16,1,0.3,1);
}

.check-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--tx3);
    margin-bottom: 28px;
}


/* ─── Category Badge ─────────────────────────────────────────────────────── */
.check-cat-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 40px;
    color: var(--cat-color);
    border: 1.5px solid var(--cat-color);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.9;
}


/* ─── Question ───────────────────────────────────────────────────────────── */
.check-q-text {
    margin-bottom: 32px;
}

.check-q-text p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--tx1);
    line-height: 1.5;
}


/* ─── Answer Buttons ─────────────────────────────────────────────────────── */
.check-answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.check-answer-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    border: 2px solid var(--ln);
    border-radius: var(--r-md);
    background: var(--bg);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--tx1);
    text-align: left;
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
    width: 100%;
}

.check-answer-btn:hover {
    border-color: var(--b2);
    background: var(--lna);
    transform: translateX(5px);
}

.answer-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.answer-yes     { background: rgba(96,174,0,0.13);  color: var(--g1); }
.answer-partial { background: rgba(255,97,9,0.13);   color: var(--o2); }
.answer-no      { background: rgba(239,25,0,0.13);   color: var(--o1); }

.check-back {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0.83rem;
    color: var(--tx3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.check-back:hover { color: var(--tx2); }


/* ─── Results ────────────────────────────────────────────────────────────── */
.check-results h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--tx1);
    margin-bottom: 36px;
    text-align: center;
}

.result-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 44px;
}

.result-ring-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.result-ring {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background: conic-gradient(
        var(--score-color) 0deg var(--score-deg),
        var(--bg3) var(--score-deg) 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.result-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--cb);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-score {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--tx1);
    line-height: 1;
}

.result-score-label {
    font-size: 0.78rem;
    color: var(--tx3);
}

.result-verdict {
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
}

.result-verdict-text p {
    color: var(--tx2);
    line-height: 1.65;
}

.result-cats {
    margin-bottom: 40px;
}

.result-cats h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tx1);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-cat-row {
    margin-bottom: 18px;
}

.result-cat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.87rem;
    color: var(--tx2);
}

.result-cat-label strong {
    margin-left: auto;
    color: var(--tx1);
    font-weight: 700;
}

.result-cat-bar {
    height: 8px;
    background: var(--bg3);
    border-radius: 4px;
    overflow: hidden;
}

.result-cat-fill {
    height: 100%;
    border-radius: 4px;
}

.result-cta-box {
    background: var(--bg2);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    border: 1px solid var(--ln);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.result-cta-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tx1);
    margin-bottom: 4px;
}

.result-cta-text p {
    font-size: 0.875rem;
    color: var(--tx2);
}

.result-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

@media (max-width: 600px) {
    .result-top         { grid-template-columns: 1fr; text-align: center; }
    .result-verdict-text { text-align: center; }
    .result-cta-box     { grid-template-columns: 1fr; }
    .result-cta-actions { align-items: stretch; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Laika Chat Widget
   ═══════════════════════════════════════════════════════════════════════════ */

.laika-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Auf Mobile übernimmt der "Laika"-Tab in der Bottom-Tabbar den Toggle
   (siehe inc/header.php) — nur der schwebende Rundbutton entfällt dort
   (sonst zwei Auslöser). Das Panel bleibt im DOM und wird über die Tabbar
   weiterhin geöffnet. */
@media (max-width: 768px) {
    .laika-toggle {
        display: none;
    }
}

/* ─── Toggle Button ──────────────────────────────────────────────────────── */
.laika-toggle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--b1);
    border: 3px solid var(--b2);
    box-shadow: 0 4px 24px rgba(0,96,174,0.45);
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.laika-toggle:hover {
    transform: scale(1.09);
    box-shadow: 0 6px 32px rgba(0,174,239,0.5);
}

.laika-toggle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    display: block;
}

/* Hint badge */
.laika-badge {
    position: absolute;
    bottom: 6px;
    right: 76px;
    background: var(--b1);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: var(--sh-sm);
    border: 1px solid rgba(0,174,239,0.4);
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.35s, transform 0.35s;
    pointer-events: none;
}

.laika-badge.badge-visible {
    opacity: 1;
    transform: none;
}

.laika-widget.widget-open .laika-badge {
    opacity: 0 !important;
    pointer-events: none;
}


/* ─── Chat Panel ─────────────────────────────────────────────────────────── */
.laika-panel {
    width: 340px;
    background: var(--cb);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    border: 1px solid var(--ln);
    overflow: hidden;
    display: none;
    flex-direction: column;
    max-height: 520px;
}

.laika-panel.open {
    display: flex;
    animation: laikaPanelIn 0.28s cubic-bezier(0.16,1,0.3,1);
}

@keyframes laikaPanelIn {
    from { opacity: 0; transform: scale(0.9) translateY(16px); transform-origin: bottom right; }
    to   { opacity: 1; transform: none; }
}

/* Header */
.laika-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--b1), #0084c7);
    flex-shrink: 0;
}

.laika-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}

.laika-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
    display: block;
}

.laika-header-text { flex: 1; }

.laika-header-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.laika-header-text span {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.75);
}

.laika-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.15s;
    display: flex;
    align-items: center;
}

.laika-close:hover { color: #fff; }

/* Messages area */
.laika-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.laika-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.laika-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg3);
}

.laika-msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    display: block;
}

.laika-msg-bubble {
    background: var(--bg2);
    border: 1px solid var(--ln);
    border-radius: 4px var(--r-md) var(--r-md) var(--r-md);
    padding: 10px 14px;
    font-size: 0.87rem;
    color: var(--tx1);
    line-height: 1.5;
    max-width: calc(100% - 40px);
}

/* Typing dots */
.laika-typing .laika-msg-bubble { padding: 12px 16px; }

.laika-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 16px;
}

.laika-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tx3);
    animation: laikaDot 1.2s ease-in-out infinite;
}

.laika-dots span:nth-child(2) { animation-delay: 0.18s; }
.laika-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes laikaDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%            { transform: scale(1.1); opacity: 1; }
}

/* Options */
.laika-options {
    padding: 10px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex-shrink: 0;
    border-top: 1px solid var(--ln);
}

.laika-opt-btn {
    text-align: left;
    padding: 9px 14px;
    border: 1.5px solid var(--ln);
    border-radius: var(--r-sm);
    background: var(--bg);
    color: var(--tx1);
    font-size: 0.83rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    line-height: 1.3;
    width: 100%;
}

.laika-opt-btn:hover {
    border-color: var(--b2);
    background: var(--lna);
    color: var(--b1);
}

/* Optionen mit eigenem Bild (SuSenti-Icon) statt Emoji */
.laika-opt-btn--icon {
    display: flex;
    align-items: center;
    gap: 9px;
}
.laika-opt-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.laika-opt-btn--back {
    color: var(--tx3);
    border-color: transparent;
    background: transparent;
}

.laika-opt-btn--back:hover {
    color: var(--tx2);
    border-color: var(--ln);
    background: var(--bg2);
}

@media (max-width: 420px) {
    .laika-panel  { width: calc(100vw - 32px); }
    .laika-widget { right: 16px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Leistungsseiten — Consulting · Software · Netzwerktechnik
   ═══════════════════════════════════════════════════════════════════════════ */

/* Division color tokens — set on <main data-division="…"> */
[data-division="consulting"] {
    --div-c1: var(--b1);
    --div-c2: var(--b2);
    --div-bg: rgba(0, 96, 174, 0.10);
}
[data-division="software"] {
    --div-c1: var(--o1);
    --div-c2: var(--o2);
    --div-bg: rgba(255, 97, 9, 0.10);
}
[data-division="netzwerk"] {
    --div-c1: var(--g1);
    --div-c2: var(--g2);
    --div-bg: rgba(96, 174, 0, 0.10);
}
/* Das helle Grün (#aeef00) ist auf weißen/hellen Flächen kaum lesbar — dort
   das kräftigere Corporate-Grün (#60ae00) als Akzent, auf dunklen Stufen
   bleibt das helle Neon-Grün. */
html:not(.dk) [data-division="netzwerk"] .sec-light {
    --div-c2: var(--g1);
}
/* Manufaktur ist keine der drei Kern-Divisionen (Beratung/Software/Netz),
   daher eigener Goldton statt Blau/Orange/Grün — passt zu "handgefertigt". */
[data-division="manufaktur"] {
    --div-c1: #c9950c;
    --div-c2: #f0b429;
    --div-bg: rgba(201, 149, 12, 0.10);
}


/* ─── Hero ───────────────────────────────────────────────────────────────── */
.bl-leistung-hero {
    background: linear-gradient(135deg, #060f22 0%, #0a1a3d 100%);
    min-height: 56vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 72px) 0 72px;
    position: relative;
    overflow: hidden;
}

/* Netzwerk-Canvas (main.js) liegt als erstes Kind im Hero — Content muss
   in einer eigenen Stacking-Ebene darüber liegen, sonst deckt der Canvas
   Titel/Buttons ab. */
.bl-leistung-hero > .container,
.bl-kontakt-hero > .container,
.bl-leistung-cta > .container,
.bl-check-cta > .container {
    position: relative;
    z-index: 1;
}

.bl-leistung-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--div-c2, var(--b2)) 0%, transparent 68%);
    opacity: 0.07;
    pointer-events: none;
    animation: heroBlobPulse 9s ease-in-out infinite;
}

.bl-leistung-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--div-c1, var(--b1)) 0%, transparent 70%);
    opacity: 0.05;
    pointer-events: none;
    animation: heroBlobPulse 11s ease-in-out infinite reverse;
}

@keyframes heroBlobPulse {
    0%, 100% { opacity: 0.05; transform: scale(1); }
    50%      { opacity: 0.13; transform: scale(1.18); }
}

/* Hero-Inhalt: gestaffeltes Einblenden beim Seitenaufruf */
.leistung-hero-badge,
.leistung-hero-title,
.leistung-hero-sub,
.leistung-hero-ctas {
    animation: heroContentIn 0.7s ease both;
}
.leistung-hero-badge { animation-delay: 0.05s; }
.leistung-hero-title { animation-delay: 0.16s; }
.leistung-hero-sub   { animation-delay: 0.30s; }
.leistung-hero-ctas  { animation-delay: 0.42s; }

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.leistung-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--div-c2, var(--b2));
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.leistung-hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    color: #e8edf5;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.leistung-hero-sub {
    font-size: 1.1rem;
    color: rgba(232, 237, 245, 0.68);
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 40px;
}

.leistung-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.bl-leistung-hero .btn-ghost {
    color: rgba(232, 237, 245, 0.88);
    border-color: rgba(255, 255, 255, 0.22);
}

.bl-leistung-hero .btn-primary {
    background: var(--div-c1, var(--b1));
    border-color: var(--div-c1, var(--b1));
}

.bl-leistung-hero .btn-primary:hover {
    background: var(--div-c2, var(--b2));
    border-color: var(--div-c2, var(--b2));
}


/* ─── Service Cards ──────────────────────────────────────────────────────── */
.bl-leistungen-cards {
    background: var(--bg);
}

.bl-leistungen-cards .section-title {
    margin-bottom: 48px;
}

.leistung-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) { .leistung-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leistung-cards { grid-template-columns: 1fr; } }

.leistung-card {
    background: var(--cb);
    border: 1px solid var(--ln);
    border-radius: var(--r-lg);
    padding: 28px 28px 32px;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.leistung-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-4px);
    border-color: var(--div-c2, var(--b2));
}

.leistung-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: var(--div-bg, var(--lna));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: var(--div-c1, var(--b1));
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.leistung-card:hover .leistung-card-icon {
    transform: scale(1.12) rotate(-6deg);
}

.leistung-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tx1);
    margin-bottom: 10px;
}

.leistung-card p {
    font-size: 0.9rem;
    color: var(--tx2);
    line-height: 1.65;
}

/* Presse-Karten: .leistung-card als <a> (verlinkter Artikel) ODER als <div>
   (reiner Print-Nachweis ohne Link). */
a.presse-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Nicht-verlinkte Presse-Karte: keinen Hover-Effekt vortäuschen. */
div.presse-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--ln);
}

.presse-meta {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--div-c1, var(--b1));
    margin-bottom: 8px;
}

.presse-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--div-c1, var(--b1));
}


/* ─── USP Section ────────────────────────────────────────────────────────── */
.bl-leistung-usp {
    background: var(--bg2);
    border-top: 1px solid var(--ln);
    border-bottom: 1px solid var(--ln);
}

.leistung-usps {
    display: grid;
    /* auto-fit statt fest repeat(3, ...): einzelne Leistungsseiten haben
       inzwischen mal 2, mal 3 USP-Karten (z. B. Netzwerktechnik seit dem
       Auslagern der Eigenmarken nach /manufaktur/) — bleibt so für beide
       Fälle ausgewogen statt mit leerer dritter Spalte. */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) { .leistung-usps { grid-template-columns: 1fr; gap: 28px; } }

.leistung-usp {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leistung-usp > .ti {
    font-size: 1.8rem;
    color: var(--div-c2, var(--b2));
    line-height: 1;
}

.leistung-usp h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tx1);
}

.leistung-usp p {
    font-size: 0.9rem;
    color: var(--tx2);
    line-height: 1.65;
}

/* Verweis-Zeile auf ausgelagerte Inhalte (z. B. Netzwerktechnik -> Manufaktur) */
.leistung-usp-pointer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding: 18px 22px;
    background: var(--bg2);
    border: 1px solid var(--ln);
    border-radius: var(--r-md);
    font-size: 0.92rem;
    color: var(--tx2);
    /* globale p{max-width:65ch} aufheben: Hinweis-Leiste zentriert über volle Breite */
    max-width: none;
    text-align: center;
}

.leistung-usp-pointer > .ti:first-child {
    font-size: 1.3rem;
    color: var(--div-c2, var(--b2));
    flex-shrink: 0;
}

/* Trenner zwischen den beiden inhaltlichen Blöcken einer zusammengelegten
   Sektion (z. B. Vorteile + Partner auf /netzwerktechnik/) — dezente Linie
   statt eigener Sektion, dort verwendet, wo zwei vormals separate
   Sektionen sonst als zwei gleichfarbige Flächen hintereinander gelegen
   hätten. */
.leistung-usp-partners {
    margin-top: clamp(40px, 6vw, 64px);
    padding-top: clamp(32px, 5vw, 48px);
    border-top: 1px solid var(--ln);
}
.leistung-usp-partners .tech-head { margin-bottom: 20px; }

.leistung-usp-pointer a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--div-c1, var(--b1));
    white-space: nowrap;
}


/* ─── Referenzprojekte / Portfolio ───────────────────────────────────────── */
.bl-portfolio { background: var(--bg2); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: clamp(32px, 4vw, 48px);
}

.portfolio-card {
    display: block;
    background: var(--cb);
    border: 1px solid var(--cbr);
    border-radius: var(--r-xl);
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.3s, transform 0.3s;
}

.portfolio-card:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-3px);
}

.portfolio-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg3);
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.04);
}

.portfolio-card-info {
    padding: 20px 24px 24px;
}

.portfolio-card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--tx1);
}

.portfolio-card-info p {
    font-size: 0.88rem;
    color: var(--tx2);
    line-height: 1.6;
    margin-bottom: 14px;
    max-width: none;
}

.portfolio-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--b1);
}

.portfolio-card-link i { font-size: 0.9rem; }


/* ─── Code-Terminal (Software-Seite: Spielerei zwischen Leistungen & USPs) ── */
.bl-code-strip {
    position: relative;
    background: var(--bg);
}

.code-strip-window {
    max-width: 640px;
    margin: 0 auto;
    background: #0b1220;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.code-strip-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #131b2c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-strip-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.code-strip-dot--red    { background: #ff5f57; }
.code-strip-dot--yellow { background: #febc2e; }
.code-strip-dot--green  { background: #28c840; }

.code-strip-bar-title {
    margin-left: 8px;
    font-size: 0.78rem;
    color: rgba(232, 237, 245, 0.4);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.code-strip-body {
    padding: 28px 26px 32px;
    /* Feste Mindesthöhe für den vollen 4-Schritte-Transkript (12 Zeilen à
       ~26px + Padding) PLUS den CTA-Button, der nach Abschluss erscheint
       (.code-strip-cta) — reserviert von Anfang an, damit das Terminal
       weder während des Tippens noch beim finalen CTA-Reveal wächst. */
    min-height: 462px;
}

.code-strip-typer {
    margin: 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e8edf5;
    white-space: pre-wrap;
    word-break: break-word;
}

.code-strip-typer .cst-prompt { color: var(--div-c2, var(--o2)); }
.code-strip-typer .cst-ok     { color: #4ade80; }
.code-strip-typer .cst-wait   { color: rgba(232, 237, 245, 0.45); font-style: italic; }

.code-strip-cta {
    margin-top: 18px;
    animation: cstCtaIn 0.5s ease both;
}
@keyframes cstCtaIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.code-strip-cursor {
    display: inline-block;
    width: 8px;
    height: 1.05em;
    margin-left: 2px;
    background: var(--div-c2, var(--o2));
    vertical-align: -0.15em;
    animation: cstBlink 0.9s step-end infinite;
}

@keyframes cstBlink {
    0%, 50%  { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .code-strip-cursor { animation: none; }
}


/* ─── Bedrohungsradar (Consulting: Spielerei zw. Leistungen & USPs) ───────── */
.bl-radar {
    position: relative;
    background: var(--bg2);
    overflow: hidden;
}

/* .bl-radar/.bl-code-strip/.bl-stack-orbit haben kein .bl-ambient/.tech-host,
   das sonst .container automatisch über die Deko-Ebene hebt (position:
   relative + z-index:1) — ohne das läge ein neu hinzugefügtes .sec-deco/
   .qscan (beides position:absolute, z-index:0) über dem statischen Inhalt,
   weil positionierte Geschwister-Elemente immer vor unpositionierten
   Inline-Inhalten gemalt werden, unabhängig von der DOM-Reihenfolge. */
.bl-radar > .container,
.bl-code-strip > .container,
.bl-stack-orbit > .container,
.bl-netviz > .container,
.bl-monitor > .container {
    position: relative;
    z-index: 1;
}

.radar-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 56px;
    align-items: center;
}

@media (max-width: 860px) {
    .radar-layout { grid-template-columns: 1fr; gap: 40px; }
}

.radar-text p { color: var(--tx2); max-width: 46ch; }

.radar-scope {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle, #060f22 0%, #0a1a3d 100%);
    box-shadow: var(--sh-lg);
    flex-shrink: 0;
}

.radar-rings {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle, transparent 0 36px, rgba(0, 174, 239, 0.14) 36px 37px);
}

.radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(0, 174, 239, 0.55), transparent 28%, transparent 100%);
    animation: radarSpin 4s linear infinite;
}

@keyframes radarSpin {
    to { transform: rotate(360deg); }
}

.radar-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    background: var(--div-c1, var(--b1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 0 0 6px rgba(0, 174, 239, 0.18);
    z-index: 2;
}

.radar-blip {
    position: absolute;
    top: var(--t, 50%);
    left: var(--l, 50%);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #bcd6f0;
    white-space: nowrap;
    z-index: 1;
}

.radar-blip::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b5e;
    box-shadow: 0 0 0 0 rgba(255, 107, 94, 0.55);
    animation: radarBlip 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes radarBlip {
    0%, 82%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 94, 0); transform: scale(1); }
    88% { box-shadow: 0 0 0 9px rgba(255, 107, 94, 0.28); transform: scale(1.3); }
    94% { box-shadow: 0 0 0 0 rgba(255, 107, 94, 0); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .radar-sweep { animation: none; }
    .radar-blip::before { animation: none; }
}

@media (max-width: 480px) {
    .radar-scope { width: 240px; height: 240px; }
}


/* ─── Netzwerk-Diagramm (Netzwerktechnik: Spielerei zw. Leistungen & USPs) ── */
.bl-netviz {
    position: relative;
    background: var(--bg2);
    overflow: hidden;
}

.netviz-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.netviz-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 96px;
    flex-shrink: 0;
}

.netviz-node i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--div-bg, var(--lna));
    color: var(--div-c1, var(--b1));
    font-size: 1.5rem;
}

.netviz-node span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--tx2);
    text-align: center;
}

.netviz-link {
    position: relative;
    flex: 1 1 60px;
    min-width: 40px;
    max-width: 90px;
    height: 2px;
    background: var(--ln);
    margin-bottom: 30px;
}

.netviz-packet {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--div-c2, var(--b2));
    box-shadow: 0 0 6px var(--div-c2, var(--b2));
    opacity: 0;
    animation: netvizPacket 2.6s linear infinite;
    animation-delay: var(--delay);
}

@keyframes netvizPacket {
    0%   { left: 0%;   opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.netviz-caption,
.spielerei-caption {
    text-align: center;
    color: var(--tx3);
    font-size: 0.88rem;
    max-width: 52ch;
    margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
    .netviz-packet { animation: none; opacity: 0; }
}

@media (max-width: 640px) {
    .netviz-diagram { flex-direction: column; gap: 0; }
    /* flex:1 1 60px + min-width:40px aus der Desktop-Regel würden die Linie
       in der Spalte aufblähen und seitlich verschieben — hier zurücksetzen,
       damit sie exakt mittig zwischen den Icons sitzt. */
    .netviz-link {
        flex: 0 0 34px;
        width: 2px;
        height: 34px;
        min-width: 0;
        max-width: none;
        margin: 0 auto;
    }
    .netviz-packet {
        top: 0;
        left: 50%;
        margin: 0 0 0 -3.5px;
        animation-name: netvizPacketV;
    }
    @keyframes netvizPacketV {
        0%   { top: 0%;   opacity: 0; }
        8%   { opacity: 1; }
        92%  { opacity: 1; }
        100% { top: 100%; opacity: 0; }
    }
}


/* ─── Bauteile-Fließband (Manufaktur: Spielerei zw. USPs & Eigenmarken) ───── */
.bl-buildline {
    background: var(--bg);
}

.buildline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.buildline-part,
.buildline-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 108px;
}

.buildline-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: var(--div-bg, rgba(201, 149, 12, 0.10));
    color: var(--div-c1, #c9950c);
}

.buildline-icon svg { width: 30px; height: 30px; }
.buildline-icon i { font-size: 1.7rem; }

.buildline-part span,
.buildline-result span.buildline-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tx2);
    text-align: center;
}

.buildline-op {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--tx3);
    flex-shrink: 0;
}

.buildline-result .buildline-icon {
    background: var(--div-c1, #c9950c);
    color: #fff;
}

.buildline-check {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1a9d5c;
}

@media (max-width: 640px) {
    .buildline-row { gap: 10px; }
    .buildline-part, .buildline-result { width: 78px; }
    .buildline-icon { width: 48px; height: 48px; }
    .buildline-icon svg { width: 24px; height: 24px; }
    .buildline-op { font-size: 1.2rem; }
}


/* ─── Presse-Ticker (Presse: Spielerei zw. Hero & Berichten) ──────────────── */
.bl-presse-ticker {
    background: #060f22;
    padding: 18px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.presse-ticker-track {
    display: flex;
    width: max-content;
    animation: presseTicker 32s linear infinite;
}

.presse-ticker-track:hover { animation-play-state: paused; }

.presse-ticker-set {
    display: flex;
    flex-shrink: 0;
}

.presse-ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    white-space: nowrap;
    color: rgba(232, 237, 245, 0.75);
    font-size: 0.88rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.presse-ticker-item i { color: #00aeef; }
.presse-ticker-item strong { color: #e8edf5; }

@keyframes presseTicker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .presse-ticker-track { animation: none; overflow-x: auto; }
}


/* ─── Meilensteine-Timeline (Über uns: Spielerei zw. Geschichte & Medien) ── */
.bl-meilensteine { background: var(--bg2); }

.meilenstein-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 56px;
}

.meilenstein-line {
    position: absolute;
    top: 22px;
    left: 22px;
    right: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--b1), var(--b2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease;
}
.meilenstein-line.visible { transform: scaleX(1); }

.meilenstein-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 190px;
}

.meilenstein-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--b2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--b1);
    font-size: 1.15rem;
    box-shadow: var(--sh-sm);
}

.meilenstein-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--b1);
}

.meilenstein-item p {
    font-size: 0.85rem;
    color: var(--tx2);
    text-align: center;
    line-height: 1.5;
}

.meilenstein-row > [data-reveal]:nth-child(2) { transition-delay: 0.05s; }
.meilenstein-row > [data-reveal]:nth-child(3) { transition-delay: 0.15s; }
.meilenstein-row > [data-reveal]:nth-child(4) { transition-delay: 0.25s; }
.meilenstein-row > [data-reveal]:nth-child(5) { transition-delay: 0.35s; }
.meilenstein-row > [data-reveal]:nth-child(6) { transition-delay: 0.45s; }

@media (max-width: 780px) {
    .meilenstein-row { flex-direction: column; align-items: flex-start; gap: 32px; margin-left: 22px; }
    .meilenstein-line {
        top: 0;
        bottom: 0;
        left: -22px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--b1), var(--b2));
        transform: scaleY(0);
        transform-origin: top;
    }
    .meilenstein-line.visible { transform: scaleY(1); }
    .meilenstein-item { flex-direction: row; align-items: center; text-align: left; max-width: none; }
    .meilenstein-item p { text-align: left; }
    .meilenstein-dot { flex-shrink: 0; margin-left: -22px; }
}

/* Laika-Klickspiel: der "Immer"-Dot der Timeline wird zum Button */
.meilenstein-dot--laika {
    transition: transform 0.2s ease;
}
.meilenstein-dot--laika:hover,
.meilenstein-dot--laika:focus-visible {
    transform: scale(1.12);
    border-color: var(--b2);
}
.laika-pet-counter {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--b1);
}


/* ─── Tech-Stack-Orbit (Software: Spielerei zw. Trust & Referenzen) ──────── */
.bl-stack-orbit { position: relative; background: var(--bg2); }

.stack-orbit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 900px) {
    .stack-orbit-grid { grid-template-columns: 1fr; gap: 32px; }
}

.stack-orbit-categories {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 28px;
}
.stack-orbit-categories li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ln);
}
.stack-orbit-cat-label {
    flex-shrink: 0;
    min-width: 150px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--div-c2, var(--o2));
}
.stack-orbit-cat-items {
    font-size: 0.92rem;
    color: var(--tx2);
}

.orbit-scope {
    --orbit-r: 160px;
    position: relative;
    width: 340px;
    height: 340px;
    margin: 8px auto;
    justify-self: center;
}
@media (prefers-reduced-motion: reduce) { .orbit-scope { display: none; } }

.orbit-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 66px;
    height: 66px;
    margin: -33px 0 0 -33px;
    border-radius: 50%;
    background: var(--div-c1, var(--o1));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    box-shadow: var(--sh-md);
    z-index: 2;
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    animation: orbitSpin 28s linear infinite;
    /* 28s / 7 Orbit-Items = 4s Versatz — bei Änderung der Item-Anzahl anpassen,
       sonst verteilen sich die Items nicht mehr gleichmäßig auf dem Kreis. */
    animation-delay: calc(var(--i) * -4s);
}

.orbit-label {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 99px;
    background: var(--cb);
    border: 1px solid var(--cbr);
    box-shadow: var(--sh-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tx1);
    white-space: nowrap;
    animation: orbitCounterSpin 28s linear infinite;
    animation-delay: calc(var(--i) * -4s);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.orbit-label svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg) translateX(var(--orbit-r)); }
    to   { transform: rotate(360deg) translateX(var(--orbit-r)); }
}
@keyframes orbitCounterSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

.orbit-scope:hover .orbit-item { animation-play-state: paused; }
.orbit-scope:hover .orbit-label { animation-play-state: paused; }

/* Schmale Displays: Orbit mit kleinerem Radius und kompakteren Labels weiter
   animieren. Früher wurde die Animation hier abgeschaltet — dann lagen alle
   7 Labels ungeordnet übereinander in der Mitte. */
@media (max-width: 480px) {
    .orbit-scope { --orbit-r: 104px; width: 300px; height: 300px; }
    .orbit-label { padding: 5px 10px; font-size: 0.68rem; gap: 5px; }
    .orbit-label svg { width: 12px; height: 12px; }
    .orbit-hub { width: 54px; height: 54px; margin: -27px 0 0 -27px; font-size: 1.35rem; }
}


/* ─── Mini-Sicherheitscheck (Consulting: Spielerei vor der CTA) ───────────── */
.bl-mini-check { background: var(--bg2); }

.minicheck-box {
    max-width: 560px;
    margin: 32px auto 0;
    background: var(--cb);
    border: 1px solid var(--cbr);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    padding: 32px;
}

.minicheck-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.minicheck-progress {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tx3);
    background: var(--bg2);
    padding: 4px 12px;
    border-radius: 99px;
}

.minicheck-q {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tx1);
    margin-bottom: 22px;
    min-height: 2.6em;
}

.minicheck-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.minicheck-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--div-c1, var(--b1));
    margin-bottom: 8px;
}

.minicheck-msg {
    color: var(--tx2);
    margin-bottom: 22px;
}


/* ─── Live-Monitoring-Demo (Netzwerktechnik: Spielerei vor der CTA) ───────── */
.bl-monitor { position: relative; background: var(--bg2); }

.monitor-window { margin: 32px auto 0; }

.monitor-body {
    padding: 22px 26px;
    min-height: 234px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.monitor-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.88rem;
    color: rgba(232, 237, 245, 0.85);
    animation: monitorLineIn 0.4s ease both;
}

.monitor-line i { font-size: 1rem; flex-shrink: 0; }

.monitor-line--ok i   { color: #4ade80; }
.monitor-line--warn i { color: #facc15; }

@keyframes monitorLineIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ─── Mini-Konfigurator (Manufaktur: Spielerei vor der CTA) ───────────────── */
.bl-configurator { background: var(--bg2); }

.configurator-box {
    max-width: 640px;
    margin: 32px auto 0;
}

.configurator-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.configurator-tag {
    padding: 10px 18px;
    border-radius: 99px;
    border: 1.5px solid var(--cbr);
    background: var(--cb);
    color: var(--tx2);
    font-weight: 600;
    font-size: 0.88rem;
}
.configurator-tag.is-active {
    border-color: var(--div-c1, #c9950c);
    background: var(--div-c1, #c9950c);
    color: #fff;
}

.configurator-result {
    background: var(--cb);
    border: 1px solid var(--cbr);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    padding: 28px 32px;
}

.configurator-result h3 {
    margin-bottom: 16px;
    color: var(--div-c1, #c9950c);
}

.configurator-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
@media (max-width: 480px) { .configurator-specs { grid-template-columns: 1fr; } }

.configurator-specs dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tx3);
}
.configurator-specs dd {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tx1);
}

.configurator-note {
    color: var(--tx2);
    font-size: 0.9rem;
}


/* ─── Presse-Filter (Presse: Spielerei über den Berichten) ────────────────── */
.presse-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.presse-filter-chip {
    padding: 8px 16px;
    border-radius: 99px;
    border: 1.5px solid var(--cbr);
    background: var(--cb);
    color: var(--tx2);
    font-weight: 600;
    font-size: 0.84rem;
}
.presse-filter-chip.is-active {
    border-color: var(--b1);
    background: var(--b1);
    color: #fff;
}


/* ─── Trust Badges / Normen ──────────────────────────────────────────────── */
.bl-leistung-trust {
    background: var(--bg);
}

.bl-leistung-trust .section-label {
    margin-bottom: 24px;
    color: var(--div-c1, var(--b1));
}

.trust-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 40px;
    border: 1.5px solid var(--div-c1, var(--b1));
    color: var(--div-c1, var(--b1));
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--div-bg, var(--lna));
    white-space: nowrap;
}


/* ─── CTA Section ────────────────────────────────────────────────────────── */
.bl-leistung-cta {
    background: linear-gradient(135deg, #060f22 0%, #0a1a3d 100%);
    position: relative;
    overflow: hidden;
}

.leistung-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.leistung-cta-inner h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #e8edf5;
    line-height: 1.2;
    margin-bottom: 16px;
}

.leistung-cta-inner p {
    font-size: 1.05rem;
    color: rgba(232, 237, 245, 0.65);
    margin-bottom: 36px;
}

.leistung-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.bl-leistung-cta .btn-primary {
    background: var(--div-c1, var(--b1));
    border-color: var(--div-c1, var(--b1));
}

.bl-leistung-cta .btn-primary:hover {
    background: var(--div-c2, var(--b2));
    border-color: var(--div-c2, var(--b2));
}

.bl-leistung-cta .btn-outline {
    color: rgba(232, 237, 245, 0.88);
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
}

.bl-leistung-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
}

/* ─── BC Wave Animation ──────────────────────────────────────────────────── */
.bc-wave-animated {
    background: #050d1a;
    overflow: hidden;
    height: clamp(200px, 22vw, 340px);
    position: relative;
}
.bc-wave-svg {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}


/* ═══════════════════════════════════════════════════════════════════════════
   POLYGON-DESIGN (Corporate-Design-Element)
   Low-Poly-Facetten als Zitat des früheren bliescon-CDs. Die SVGs liegen in
   assets/img/ (poly-light/poly-dark/poly-hero) und werden von tools/
   bilder.py generiert (python bilder.py poly). Dezent auf hellen Sektionen, kräftiger auf
   dunklen Hero-Flächen (ERP).
   ═══════════════════════════════════════════════════════════════════════════ */

/* Helle Sektionen: sehr subtile weiße Facetten hinter den Karten — die
   Fläche driftet langsam, damit auch die "ruhigen" Sektionen nicht
   vollkommen statisch wirken. */
.bl-stats,
.bl-referenzen,
.bl-leistung-usp,
.bl-team-cta {
    background-image: url('../img/poly-light.svg');
    background-size: 1600px auto;
    background-position: center top;
    animation: polyDrift 50s ease-in-out infinite;
}

html.dk .bl-stats,
html.dk .bl-referenzen,
html.dk .bl-leistung-usp,
html.dk .bl-team-cta {
    background-image: url('../img/poly-dark.svg');
}

@keyframes polyDrift {
    0%, 100% { background-position: center top; }
    50%      { background-position: 52% 54px; }
}

/* Modifier: flache Sektion ohne Polygon-Textur — für Seiten mit mehreren
   .bl-leistung-usp-Sektionen hintereinander (z. B. /manufaktur/), damit die
   Facetten nicht monoton durchlaufen, sondern sich mit ruhigen Flächen abwechseln. */
.bl-leistung-usp--plain,
html.dk .bl-leistung-usp--plain {
    background-image: none;
    background-color: var(--bg);
    animation: none;
}
.bl-leistung-usp--tint,
html.dk .bl-leistung-usp--tint {
    background-image: none;
    background-color: var(--bg2);
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .bl-stats, .bl-referenzen, .bl-leistung-usp, .bl-team-cta { animation: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   AMBIENT-SYSTEM — Bewegung für „stille" Content-Sektionen
   ─────────────────────────────────────────────────────────────────────────
   Jede Sektion ohne eigene Bewegung (kein Canvas, kein Polygon, keine
   Spielerei) bekommt über .bl-ambient zwei sehr sanft driftende,
   divisionsfarbene Glow-Flächen. Macht reine Text-/Karten-Abschnitte
   lebendig, ohne vom Inhalt abzulenken — funktioniert in Light & Dark Mode,
   da --div-c1/--div-c2 (Fallback: --b1/--b2) themefest sind.
   ═══════════════════════════════════════════════════════════════════════════ */

.bl-ambient {
    position: relative;
    overflow: hidden;
}

.bl-ambient > .container {
    position: relative;
    z-index: 1;
}

.bl-ambient::before,
.bl-ambient::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(4px);
}

.bl-ambient::before {
    top: -12%;
    right: -8%;
    width: 34%;
    aspect-ratio: 1;
    max-width: 420px;
    min-width: 200px;
    background: radial-gradient(circle, var(--div-c2, var(--b2)) 0%, transparent 72%);
    opacity: 0.07;
    animation: ambientDriftA 19s ease-in-out infinite;
}

.bl-ambient::after {
    bottom: -14%;
    left: -8%;
    width: 30%;
    aspect-ratio: 1;
    max-width: 380px;
    min-width: 180px;
    background: radial-gradient(circle, var(--div-c1, var(--b1)) 0%, transparent 72%);
    opacity: 0.06;
    animation: ambientDriftB 23s ease-in-out infinite;
}

@keyframes ambientDriftA {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(-22px, 26px) scale(1.12); }
}
@keyframes ambientDriftB {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(24px, -18px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .bl-ambient::before, .bl-ambient::after { animation: none; }
}


/* ─── Zertifikats-Marquee (Ticker unter dem Hero) ───────────────────────── */
.bl-cert-marquee {
    position: relative;
    overflow: hidden;
    border-block: 1px solid var(--ln);
    background: var(--bg2);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.cert-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 56px;
    padding-block: 16px;
    animation: certMarquee 136s linear infinite;
}

.bl-cert-marquee:hover .cert-marquee-track {
    animation-play-state: paused;
}

.cert-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tx3);
    white-space: nowrap;
}

.cert-marquee-item i {
    color: var(--b2);
    font-size: 1.05rem;
}

@keyframes certMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .cert-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .cert-marquee-track > .cert-marquee-item:nth-child(n+7) { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   TECH-LAYER — Blueprint-Optik über der gesamten Seite
   ─────────────────────────────────────────────────────────────────────────
   Jede Sektion trägt eine monospace Kopfzeile mit laufender Nummer (links)
   und einer Meta-Angabe (rechts, läuft beim Einscrollen als Decode-Effekt
   durch). Dazu: feines Rasteroverlay, wandernde Scan-Linie in den dunklen
   Sektionen, Ghost-Ziffern, Eckwinkel an Karten und Serif-Kursiv-Akzente
   in den Überschriften.

   Alle Dekorations-Layer sind eigene Kind-Elemente (nicht ::before/::after
   der Sektion), damit sie nicht mit .bl-ambient kollidieren, das die
   Pseudo-Elemente der Sektion bereits belegt.
   ═══════════════════════════════════════════════════════════════════════════ */

.tech-host {
    position: relative;
    overflow: hidden;
}

.tech-host > .container {
    position: relative;
    z-index: 1;
}

/* ─── Meta-Kopfzeile ─────────────────────────────────────────────────────── */
.tech-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-bottom: 14px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

/* Trennlinie als fließende Welle statt als Strich — das Wellenmotiv aus
   dem bliescon-Logo. Als Maske umgesetzt, damit die Farbe aus
   --div-c2 kommt und in Light/Dark automatisch stimmt. */
.tech-head::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: var(--div-c2, var(--b2));
    opacity: 0.16;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='6' viewBox='0 0 80 6'%3E%3Cpath d='M0 3 Q 10 0.6 20 3 T 40 3 T 60 3 T 80 3' fill='none' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='6' viewBox='0 0 80 6'%3E%3Cpath d='M0 3 Q 10 0.6 20 3 T 40 3 T 60 3 T 80 3' fill='none' stroke='%23000' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: repeat-x;
            mask-repeat: repeat-x;
    -webkit-mask-size: 80px 6px;
            mask-size: 80px 6px;
    animation: waveFlow 6s linear infinite;
}

@keyframes waveFlow {
    from { -webkit-mask-position: 0 0;    mask-position: 0 0; }
    to   { -webkit-mask-position: 80px 0; mask-position: 80px 0; }
}

.tech-head-id {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--div-c2, var(--b2));
    font-weight: 700;
    white-space: nowrap;
}

.tech-head-meta {
    color: var(--tx3);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Während der Decode-Effekt läuft, glimmt die Zeile in Akzentfarbe auf. */
.tech-head-meta.decoding {
    color: var(--div-c2, var(--b2));
    animation: techFlicker 0.28s steps(2, end) infinite;
}

@keyframes techFlicker {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.62; }
}

/* Dunkle Sektionen: Welle minimal kräftiger, damit sie auf Dunkel trägt. */
.sec-dark .tech-head::after,
.bl-hero .tech-head::after,
.bl-wort .tech-head::after,
.bl-cta .tech-head::after {
    opacity: 0.26;
}

.bl-hero .tech-head-meta,
.bl-check-cta .tech-head-meta,
.bl-vip .tech-head-meta,
.bl-wort .tech-head-meta,
.bl-cta .tech-head-meta {
    color: rgba(190, 215, 240, 0.58);
}

/* ─── Pulsierender Statuspunkt ───────────────────────────────────────────── */
.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--div-c2, var(--b2));
    flex: none;
    animation: techPulse 2.4s ease-out infinite;
}

@keyframes techPulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.5); }
    70%  { box-shadow: 0 0 0 7px rgba(0, 174, 239, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEKTIONS-RHYTHMUS — feste Abfolge der Hintergründe
   ─────────────────────────────────────────────────────────────────────────
   Ab der ersten Sektion unter dem Hero wiederholen sich vier Stufen:

     .sec-1  weiß, zartes Stealth-Mosaik (Pixel-Muster)
     .sec-2  dunkel, wandernde Scan-Linie
     .sec-3  hell, unsere 3D-Polygon-Facetten (poly-light/poly-dark)
     .sec-4  dunkel, Netzwerk-Muster (Canvas, wie im Sicherheitscheck)

   Die Dekoration liegt jeweils als <div class="sec-deco"> bzw. <canvas> in
   der Sektion — nie als ::before/::after, weil .bl-ambient die schon belegt.
   ═══════════════════════════════════════════════════════════════════════════ */

.sec-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ─── Hell/Dunkel fest verdrahtet — NUR im normalen Seiten-Theme ─────────────
   .sec-1/.sec-3 nutzten anfangs var(--bg)/var(--bg2) — das kippt aber im
   Dark-Mode-Toggle der Seite (html.dk setzt dieselben Tokens auf dunkel),
   wodurch die Stufen 1 und 3 mit den ohnehin schon dunklen Stufen 2 und 4
   verschmolzen: der ganze Rhythmus wurde unsichtbar.
   Wichtig: .sec-light gilt bewusst NUR, wenn der Dark-Mode-Button NICHT
   aktiv ist (html:not(.dk)). Der Rhythmus (helle/dunkle Sektionen im
   Wechsel) ist ein Merkmal des normalen Theme — sobald jemand den eigenen
   Dark-Mode-Toggle der Seite einschaltet, soll wirklich die GANZE Seite
   dunkel werden, wie es ein Dark Mode erwarten lässt, nicht nur die Hälfte.
   .sec-dark braucht dieses Gate nicht: dunkle Stufen bleiben in beiden
   Theme-Zuständen ohnehin dunkel, das kollidiert nie mit dem Toggle. */
html:not(.dk) .sec-light {
    --bg:  #ffffff;
    --bg2: #f6f8fa;
    --bg3: #edf2f7;

    --tx1: #0d1a2e;
    --tx2: #4b6080;
    --tx3: #5c7191;

    --ln:  rgba(13, 26, 46, 0.09);
    --lna: rgba(0, 96, 174, 0.15);

    --cb:  #ffffff;
    --cbr: rgba(13, 26, 46, 0.09);

    --sh-sm: 0 2px 8px rgba(13,26,46,0.07);
    --sh-md: 0 4px 24px rgba(13,26,46,0.10);
    --sh-lg: 0 8px 48px rgba(13,26,46,0.13);

    color: var(--tx1);
}

/* Die Stufen werden als section.sec-N notiert: Einzelne Sektionen (etwa
   .bl-wort) bringen eigene Hintergründe mit und stehen weiter unten im
   Stylesheet — der Rhythmus muss sie überschreiben. */
section.sec-1 { background: var(--bg); background-image: none; }

/* Stealth-Mosaik — ersetzt das frühere Drahtgitter-Mesh (Klasse heißt aus
   Kompatibilitätsgründen weiter .sec-deco--mesh). Zartes Pixel-Muster aus
   Kacheln in Grautönen (Vorlage: stealth-mode-Kopie-scaled-1.avif). Die
   Dunkel-Variante ist dieselbe Kachelstruktur, umgefärbt in die dunklen
   Marken-Töne (#06101e–#111d34) — sie greift auf dunklen Rhythmus-Stufen
   und im Dark-Mode-Toggle der Seite. Bilder sind 1280x461 (halbe
   Originalgröße) und werden mit pixelated hochskaliert, damit die Kanten
   scharf bleiben; das Muster ist horizontal nahtlos kachelbar. */
.sec-deco--mesh {
    background-image: url('../img/stealth-pattern-light.webp');
    background-size: 1920px auto;
    background-repeat: repeat;
    image-rendering: pixelated;
    animation: meshDrift 160s linear infinite;
}

.sec-dark .sec-deco--mesh,
html.dk .sec-deco--mesh {
    background-image: url('../img/stealth-pattern-dark.webp');
}

@keyframes meshDrift {
    from { background-position: 0 0; }
    to   { background-position: 1920px 0; }
}

/* Auf Phones/Tablets und bei reduzierter Bewegung statisch: spart dort
   Dauer-Repaints einer vollflächigen Textur. */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
    .sec-deco--mesh { animation: none; }
}

/* ─── Stufe 3: 3D-Polygon-Facetten ───────────────────────────────────────── */
section.sec-3 { background: var(--bg2); background-image: none; }

.sec-deco--poly {
    background-image: url('../img/poly-light.svg');
    background-size: 1200px auto;
    background-position: center top;
    opacity: 0.55;
    animation: facetDrift 64s ease-in-out infinite;
}

/* An .sec-dark UND html.dk koppeln: .sec-dark deckt die dunklen Rhythmus-
   Stufen im normalen Theme ab, html.dk deckt den Fall ab, dass jemand den
   Dark-Mode-Toggle der Seite einschaltet — dann soll wirklich jede Facette
   auf der Seite dunkel sein, auch in einer eigentlich hellen Rhythmus-
   Stufe (deren .sec-light-Regel dann ja selbst nicht mehr greift, siehe
   oben). */
.sec-dark .sec-deco--poly,
html.dk .sec-deco--poly,
.bl-cta .sec-deco--poly {
    background-image: url('../img/poly-dark.svg');
}

@keyframes facetDrift {
    0%, 100% { background-position: 48% top; }
    50%      { background-position: 52% 70px; }
}

/* ─── Stufen 2 & 4: dunkle Sektionen ─────────────────────────────────────────
   Die dunklen Stufen setzen dieselben Tokens neu, die auch html.dk setzt.
   Dadurch ziehen Karten, Text und Linien darin automatisch nach — ohne dass
   jede Komponente eine eigene Dunkel-Regel braucht. */
.sec-dark {
    --bg:  #050d1a;
    --bg2: #0a1628;
    --bg3: #111d35;

    --tx1: #e8edf5;
    --tx2: #8a9ab8;
    --tx3: #7d90ae;

    --ln:  rgba(255, 255, 255, 0.07);
    --lna: rgba(0, 174, 239, 0.18);

    --cb:  #111d35;
    --cbr: rgba(0, 174, 239, 0.12);

    --sh-sm: 0 2px 8px rgba(0,0,0,0.28);
    --sh-md: 0 4px 24px rgba(0,0,0,0.38);
    --sh-lg: 0 8px 48px rgba(0,0,0,0.48);

    background: var(--bg);
    color: var(--tx1);
}

section.sec-2 { background: var(--bg); background-image: none; }
section.sec-4 { background: #050d1a; background-image: none; }

/* Robuste Absicherung: Ältere, per-Sektion html.dk-Overrides (z. B. aus dem
   POLYGON-DESIGN-Block weiter oben, der .bl-stats/.bl-referenzen/
   .bl-vergleich direkt ein eigenes background-image verpasst) dürfen den
   Rhythmus nicht mehr durchbrechen — unabhängig davon, welche bl-*-Klasse
   künftig in welche Stufe wandert. Spezifität (0,2,2) schlägt jedes
   "html.dk .bl-xyz" (0,2,1). */
html.dk section.sec-1,
html.dk section.sec-2,
html.dk section.sec-3,
html.dk section.sec-4 {
    background-image: none;
}

/* Komponenten mit fest verdrahteten Hellfarben nachziehen. */
.sec-dark .security-stat {
    background: var(--cb);
    border-color: var(--cbr);
}

/* .security-stat-number/-label/-icon waren auf feste Hellmodus-Farben
   verdrahtet (#0060ae, #3d5068 — Letzteres wäre auf dunklem Kartenhintergrund
   praktisch unsichtbar). Jetzt Teil des Rhythmus, deshalb hier nachgezogen —
   die akzentuierte mittlere Karte (.security-stat--accent) hat ihren eigenen
   Blauverlauf und bleibt davon unberührt. */
.sec-dark .security-stat-number { color: var(--b2); }
.sec-dark .security-stat-label  { color: var(--tx2); }
.sec-dark .security-stat-icon   { color: var(--b2); }
.sec-dark .security-stat-source,
.sec-dark .security-stat-source::before {
    color: var(--tx3);
}
.sec-dark .security-stat-source { border-top-color: var(--bg3); }

.sec-dark .section-title,
.sec-dark .stat-num,
.sec-dark h2,
.sec-dark h3 {
    color: var(--tx1);
}

/* Die kleine Eyebrow-Zeile (.section-label) nutzt global var(--b1) —
   #0060ae hat auf dunklem Grund zu wenig Kontrast (unter 3:1). Auf
   dunklen Rhythmus-Stufen daher das hellere Marken-Cyan, genau wie es
   die dauerhaft dunklen Sektionen (VIP, Sicherheitscheck-CTA) schon
   immer taten. */
.sec-dark .section-label {
    color: var(--b2);
}

/* Partner-Logos und Mitgliedschafts-Siegel bewusst NICHT nachziehen: Die
   Seite hält deren Container immer weiß (siehe .dk .partner-logo-card /
   .dk .membership-card, "white cards so logos render on white") — die
   Logo-Dateien selbst sind für hellen Untergrund gezeichnet. Das gilt
   unabhängig vom Sektions-Rhythmus, deshalb hier keine .sec-dark-Regel. */


/* ─── Wandernde Scan-Linie (dunkle Sektionen) ────────────────────────────── */
.qscan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 26%;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--scan-c) 46%,
        var(--scan-c) 54%,
        transparent 100%);
    animation: qscanMove 9s linear infinite;
}

@keyframes qscanMove {
    0%   { transform: translateY(-110%); }
    100% { transform: translateY(460%); }
}

/* ─── Ghost-Ziffern ──────────────────────────────────────────────────────── */
.ghost-nr {
    font-family: var(--mono);
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--div-c1, var(--b1));
    opacity: 0.2;
    pointer-events: none;
    user-select: none;
}

/* ─── „b"-Kartenform ─────────────────────────────────────────────────────────
   Die Rundung des bliescon-„b": links unten und rechts oben rund, die beiden
   anderen Ecken spitz. Damit wird die Kartensilhouette selbst zum
   Corporate-Merkmal — statt einer aufgesetzten Dekoration. */
.raum-card,
.referenz-card,
.security-stat,
.leistung-card {
    border-radius: 0 var(--r-xl) 0 var(--r-xl);
}

/* Die farbige Akzentkante oben muss der neuen Silhouette folgen. */
.raum-accent,
.referenz-accent {
    border-radius: 0 var(--r-xl) 0 0;
}

/* ─── Hover-Glow in Bereichsfarbe ────────────────────────────────────────────
   Zwei Ebenen: ein Rand-/Schattenglow für die ganze Karte und ein weicher
   Lichtfleck, der dem Mauszeiger folgt (--mx/--my setzt main.js). */
.glow-card {
    position: relative;
    isolation: isolate;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.glow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: radial-gradient(
        260px circle at var(--mx, 50%) var(--my, 50%),
        color-mix(in srgb, var(--div-c2, var(--b2)) 22%, transparent) 0%,
        transparent 70%
    );
}

.glow-card:hover::after,
.glow-card:focus-within::after {
    opacity: 1;
}

.glow-card:hover,
.glow-card:focus-within {
    border-color: var(--div-c2, var(--b2));
    box-shadow: var(--sh-lg); /* Fallback ohne color-mix() */
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--div-c2, var(--b2)) 45%, transparent),
        0 10px 40px color-mix(in srgb, var(--div-c2, var(--b2)) 28%, transparent),
        var(--sh-md);
}

/* Bereichsfarben der drei Räume: der Glow übernimmt die Raumfarbe. */
.raum-consulting { --div-c2: var(--b2); }
.raum-software   { --div-c2: var(--o2); }
.raum-netzwerk   { --div-c2: var(--g1); }

/* ─── Serif-Kursiv-Akzent in Überschriften ───────────────────────────────── */
.ital {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

@media (max-width: 640px) {
    .tech-head { font-size: 0.6rem; letter-spacing: 0.1em; }
    .tech-head-meta { display: none; }
}

/* ─── Bereichsfarbe je Sektion ───────────────────────────────────────────────
   Die drei Hausfarben wandern durch die Seite, statt dass alles blau ist:
   Kopfzeile, Wellenlinie, Statuspunkt, Ambient-Flächen und Karten-Glow
   ziehen ihre Farbe aus --div-c1/--div-c2. Bewusst dort gesetzt, wo die
   Farbe auch inhaltlich passt — nicht als blinde Rotation. */
.bl-security-stats {              /* Bedrohungslage → Warnfarbe */
    --div-c1: var(--o1);
    --div-c2: var(--o2);
}

.bl-prozess,                      /* Arbeitsweise & Referenzen → Netzwerkgrün */
.bl-referenzen {
    --div-c1: var(--g1);
    --div-c2: var(--g1);
}

@media (prefers-reduced-motion: reduce) {
    .pulse-dot,
    .tech-head::after,
    .bl-facets,
    .tech-head-meta.decoding { animation: none; }
    .qscan { display: none; }
    .glow-card::after { display: none; }
}

/* Utility für weitere Flächen */
.poly-bg {
    background-image: url('../img/poly-light.svg');
    background-size: 1600px auto;
    background-position: center top;
}
html.dk .poly-bg { background-image: url('../img/poly-dark.svg'); }

/* Dunkle Polygon-Fläche (Heroes) */
.poly-bg--hero {
    background-color: #060f22;
    background-image: url('../img/poly-hero.svg');
    background-size: cover;
    background-position: center;
}


/* ═══════════════════════════════════════════════════════════════════════════
   ERP-SEITE
   ═══════════════════════════════════════════════════════════════════════════ */

.bl-erp-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 72px) 0 96px;
    overflow: hidden;
}

/* Facetten-Schleier, damit Text auf dem Polygon-Hintergrund ruhig bleibt */
.bl-erp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, rgba(4, 10, 22, 0.92) 0%, rgba(6, 15, 34, 0.72) 45%, rgba(6, 15, 34, 0.28) 100%);
    pointer-events: none;
}

.erp-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

@media (max-width: 960px) {
    .erp-hero-grid { grid-template-columns: 1fr; }
}

/* Der Hero ist immer dunkel — der Ghost-Button braucht dort helle Schrift
   (die globale .btn-ghost-Farbe folgt dem Theme und wäre unsichtbar). */
.erp-hero-ctas .btn-ghost {
    color: rgba(232, 237, 245, 0.92);
    border-color: rgba(255, 255, 255, 0.28);
}
.erp-hero-ctas .btn-ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

/* Hero-Bild (susenti-brand.webp): quadratisch, abgerundet, mit Cyan-Glow */
.erp-hero-brand {
    justify-self: center;
    width: 100%;
    max-width: 460px;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55),
                0 0 0 1px rgba(0, 174, 239, 0.28),
                0 0 60px rgba(0, 174, 239, 0.12);
}
.erp-hero-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.erp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--b2);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.erp-hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    color: #e8edf5;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}

.erp-hero-title em {
    font-style: normal;
    color: var(--b2);
}

.erp-hero-sub {
    font-size: 1.08rem;
    color: rgba(232, 237, 245, 0.72);
    line-height: 1.65;
    max-width: 54ch;
    margin-bottom: 36px;
}

.erp-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Screenshot im Browser-Rahmen */
.erp-shot {
    border-radius: 14px;
    overflow: hidden;
    background: #0d1a2e;
    border: 1px solid rgba(0, 174, 239, 0.22);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.erp-shot--tilt {
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

@media (max-width: 960px) {
    .erp-shot--tilt { transform: none; max-width: 640px; margin-inline: auto; }
}

.erp-shot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #0a1424;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.erp-shot-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.erp-shot-bar span:first-child { background: rgba(239, 25, 0, 0.55); }
.erp-shot-bar span:nth-child(2) { background: rgba(255, 97, 9, 0.55); }
.erp-shot-bar span:nth-child(3) { background: rgba(96, 174, 0, 0.55); }

.erp-shot img,
.erp-shot svg {
    display: block;
    width: 100%;
    height: auto;
}

.erp-shot-caption {
    font-size: 0.78rem;
    color: var(--tx3);
    margin-top: 12px;
    text-align: center;
    max-width: none;
}

/* Modul-Karten */
.erp-module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) { .erp-module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .erp-module-grid { grid-template-columns: 1fr; } }

.erp-module-card {
    position: relative;
    background: var(--cb);
    border: 1px solid var(--ln);
    border-radius: var(--r-lg);
    padding: 26px 26px 30px;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.erp-module-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-4px);
    border-color: var(--b2);
}

.erp-module-card .leistung-card-icon { margin-bottom: 16px; }

.erp-module-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tx1);
    margin-bottom: 8px;
    padding-right: 88px;
}

.erp-module-card p {
    font-size: 0.88rem;
    color: var(--tx2);
    line-height: 1.6;
    max-width: none;
}

/* Status-Chips (verfügbar / in Entwicklung / geplant) */
.status-chip {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 99px;
    white-space: nowrap;
}

.status-chip .ti { font-size: 0.85rem; }

/* Chip-Textfarben im Light Mode dunkler als die Markenfarben,
   damit auf den hellen Tints WCAG-AA (4,5:1) erreicht wird. */
.status-chip--live {
    background: rgba(96, 174, 0, 0.12);
    color: #3d7000;
    border: 1px solid rgba(96, 174, 0, 0.3);
}
html.dk .status-chip--live { color: var(--g1); }

.status-chip--dev {
    background: rgba(255, 97, 9, 0.1);
    color: #b34300;
    border: 1px solid rgba(255, 97, 9, 0.3);
}
html.dk .status-chip--dev { color: var(--o2); }

.status-chip--plan {
    background: rgba(0, 96, 174, 0.08);
    color: var(--b1);
    border: 1px solid rgba(0, 96, 174, 0.25);
}

html.dk .status-chip--plan { color: var(--b2); border-color: rgba(0, 174, 239, 0.3); }

/* Screenshot-Galerie */
.erp-shots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 40px);
    margin-top: clamp(32px, 4vw, 48px);
}

@media (max-width: 860px) { .erp-shots-grid { grid-template-columns: 1fr; } }

.erp-shots-grid .erp-shot {
    box-shadow: var(--sh-md);
}

/* Projektleitung */
.erp-lead-card {
    display: grid;
    grid-template-columns: 132px 1fr auto;
    gap: 28px;
    align-items: center;
    background: var(--cb);
    border: 1px solid var(--cbr);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    max-width: 780px;
    margin-top: clamp(32px, 4vw, 48px);
}

@media (max-width: 720px) {
    .erp-lead-card { grid-template-columns: 96px 1fr; }
    .erp-lead-card .btn { grid-column: 1 / -1; justify-content: center; }
}

.erp-lead-photo {
    width: 132px;
    height: 132px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg3);
}

@media (max-width: 720px) { .erp-lead-photo { width: 96px; height: 96px; } }

.erp-lead-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.erp-lead-info .section-label { margin-bottom: 4px; }

.erp-lead-info strong {
    display: block;
    font-size: 1.15rem;
    color: var(--tx1);
    margin-bottom: 2px;
}

.erp-lead-info span {
    font-size: 0.85rem;
    color: var(--tx3);
}

.erp-lead-info p {
    font-size: 0.88rem;
    color: var(--tx2);
    margin-top: 10px;
    max-width: 48ch;
}


/* ═══════════════════════════════════════════════════════════════════════════
   USP-PAKET & SIGNATURE-MOMENTE (Juli 2026)
   Lösungshaus-Isometrie · Vergleichssektion · „Unser Wort" · ERP-Tabs ·
   Radar-Chart · View Transitions · Mikro-Interaktionen
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Isometrisches Lösungshaus ──────────────────────────────────────────── */
.haus-wrap {
    max-width: 520px;
    margin: 0 auto clamp(32px, 4vw, 48px);
}

.haus-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.haus-schatten { fill: rgba(13, 26, 46, 0.08); }
.sec-dark .haus-schatten, html.dk .haus-schatten { fill: rgba(0, 0, 0, 0.4); }

/* Das Haus bleibt bewusst IMMER weiß/hell — unabhängig von der Sektions-
   Rhythmus-Stufe oder html.dk. Es ist das zentrale Signature-Visual der
   Sektion und soll nicht im dunklen Hintergrund verschwinden, deshalb
   fest verdrahtet statt --bg2/--bg3-Token (die mit .sec-dark kippen). */
.haus-wand--front { fill: #ffffff; stroke: rgba(13, 26, 46, 0.12); stroke-width: 1; }
.haus-wand--top   { fill: #eef2f7; stroke: rgba(13, 26, 46, 0.12); stroke-width: 1; }
.haus-wand--seite { fill: #dde4ec; stroke: rgba(13, 26, 46, 0.12); stroke-width: 1; }

.haus-dach--front { fill: #12233f; }
.haus-dach--seite { fill: #0b1830; }
.haus-dach--top   { fill: #1a2f52; }

.haus-sprosse { stroke: rgba(13, 26, 46, 0.12); stroke-width: 1; }
.haus-antenne { stroke: var(--tx3); stroke-width: 2; stroke-linecap: round; }
.haus-signal  { fill: var(--b2); }

@media (prefers-reduced-motion: no-preference) {
    .haus-signal { animation: hausSignal 2.2s ease-in-out infinite; }
}
@keyframes hausSignal {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.25; }
}

.haus-nr {
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    fill: #5c7191;
    transition: fill 0.6s ease;
}

/* Fenster: leuchten im aktivierten Zustand in der Divisionsfarbe */
.haus-fenster {
    stroke: rgba(13, 26, 46, 0.12);
    stroke-width: 1;
    transition: fill 0.7s ease, filter 0.7s ease;
}
.haus-raum--consulting .haus-fenster { fill: var(--b1); filter: drop-shadow(0 0 10px rgba(0, 120, 200, 0.55)); }
.haus-raum--software   .haus-fenster { fill: var(--o2); filter: drop-shadow(0 0 10px rgba(255, 97, 9, 0.5)); }
.haus-raum--netzwerk   .haus-fenster { fill: var(--g1); filter: drop-shadow(0 0 10px rgba(96, 174, 0, 0.5)); }
.haus-raum--consulting .haus-nr { fill: var(--b1); }
.haus-raum--software   .haus-nr { fill: var(--o2); }
.haus-raum--netzwerk   .haus-nr { fill: var(--g1); }

/* Gestaffelte Aktivierung: main.js setzt .haus-prep beim Laden (Räume aus)
   und .haus-on beim Scroll-Reveal (Räume gehen nacheinander an). Ohne JS
   oder mit prefers-reduced-motion bleibt das Haus dauerhaft "an". */
.haus-prep:not(.haus-on) .haus-fenster {
    fill: #eef2f7;
    filter: none;
    transition: none;
}
.haus-prep:not(.haus-on) .haus-nr {
    fill: #5c7191;
    transition: none;
}
.haus-on .haus-raum--consulting .haus-fenster,
.haus-on .haus-raum--consulting .haus-nr { transition-delay: 0.1s; }
.haus-on .haus-raum--software .haus-fenster,
.haus-on .haus-raum--software .haus-nr { transition-delay: 0.65s; }
.haus-on .haus-raum--netzwerk .haus-fenster,
.haus-on .haus-raum--netzwerk .haus-nr { transition-delay: 1.2s; }

/* Hover-Sync: Karte unter dem Haus hervorheben → zugehöriger Raum leuchtet,
   die anderen dimmen leicht ab */
.haus-wrap .haus-raum { transition: opacity 0.25s ease; }
.haus-wrap[data-hl="consulting"] .haus-raum--software,
.haus-wrap[data-hl="consulting"] .haus-raum--netzwerk,
.haus-wrap[data-hl="software"]   .haus-raum--consulting,
.haus-wrap[data-hl="software"]   .haus-raum--netzwerk,
.haus-wrap[data-hl="netzwerk"]   .haus-raum--consulting,
.haus-wrap[data-hl="netzwerk"]   .haus-raum--software { opacity: 0.4; }


/* ─── Vergleich: Systemhaus vs. Lösungshaus ──────────────────────────────── */
.bl-vergleich {
    background: var(--bg2);
    background-image: url('../img/poly-light.svg');
    background-size: 1600px auto;
    background-position: center top;
    border-top: 1px solid var(--ln);
}
html.dk .bl-vergleich { background-image: url('../img/poly-dark.svg'); }

.vergleich-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}
@media (max-width: 860px) { .vergleich-grid { grid-template-columns: 1fr; } }

.vergleich-col {
    border-radius: var(--r-lg);
    padding: 30px 32px;
}

.vergleich-col--system {
    background: var(--bg3);
    border: 1px dashed var(--ln);
}

.vergleich-col--bliescon {
    position: relative;
    background: var(--cb);
    border: 1px solid rgba(0, 96, 174, 0.28);
    box-shadow: 0 8px 32px rgba(0, 60, 140, 0.1);
    overflow: hidden;
}
.vergleich-col--bliescon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--b1), var(--b2));
}
html.dk .vergleich-col--bliescon { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); }

.vergleich-head {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--tx1);
    margin-bottom: 18px;
    max-width: none;
}
.vergleich-col--system .vergleich-head { color: var(--tx2); }
.vergleich-col--system .vergleich-head .ti { color: var(--tx3); }
.vergleich-col--bliescon .vergleich-head .ti { color: var(--b1); }
html.dk .vergleich-col--bliescon .vergleich-head .ti { color: var(--b2); }

.vergleich-col ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.vergleich-col li {
    display: flex;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--tx2);
    margin: 0;
}
.vergleich-col li .ti {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 1rem;
}
.vergleich-col--system li { color: var(--tx3); }
.vergleich-col--system li .ti-x { color: var(--o1); opacity: 0.55; }
.vergleich-col--bliescon li .ti-check { color: var(--g1); }


/* ─── „Unser Wort" ───────────────────────────────────────────────────────── */
.bl-wort {
    padding-block: clamp(56px, 8vw, 92px);
    background-color: #003f80;
    background-image:
        linear-gradient(135deg, rgba(0, 96, 174, 0.94) 0%, rgba(0, 46, 96, 0.96) 100%),
        url('../img/poly-hero.svg');
    background-size: cover;
}

.wort-title {
    color: var(--tx1);
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    margin-bottom: clamp(28px, 4vw, 44px);
    letter-spacing: -0.02em;
}

.wort-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 36px);
}
@media (max-width: 900px) { .wort-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .wort-grid { grid-template-columns: 1fr; } }

.wort-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.wort-item .ti {
    font-size: 1.65rem;
    color: var(--b1);
    line-height: 1;
}
.sec-dark .wort-item .ti { color: var(--b2); }
.wort-item strong {
    color: var(--tx1);
    font-size: 0.98rem;
    line-height: 1.35;
}
.wort-item span {
    color: var(--tx2);
    font-size: 0.83rem;
    line-height: 1.5;
}

.wort-sig {
    margin-top: clamp(30px, 4vw, 44px);
    padding-top: 22px;
    border-top: 1px solid var(--ln);
    color: var(--tx2);
    font-style: italic;
    font-size: 1rem;
    max-width: none;
}
.wort-sig span {
    font-style: normal;
    color: var(--tx3);
    font-size: 0.82rem;
    margin-left: 6px;
}


/* ─── ERP-Hero: Tab-Demo ─────────────────────────────────────────────────── */
.erp-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.erp-tab {
    padding: 7px 16px;
    border-radius: 99px;
    border: 1.5px solid rgba(0, 174, 239, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: #9fc6e8;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.erp-tab:hover { border-color: var(--b2); color: #d9f1ff; }

.erp-tab[aria-selected="true"] {
    background: var(--b2);
    border-color: var(--b2);
    color: #04121f;
}


/* ─── Sicherheitscheck: Radar-Chart ──────────────────────────────────────── */
.result-radar {
    display: flex;
    justify-content: center;
    margin: 4px 0 28px;
}
.result-radar svg {
    width: min(320px, 100%);
    height: auto;
    overflow: visible;
}
.radar-grid { fill: none; stroke: var(--ln); stroke-width: 1; }
.radar-achse { stroke: var(--ln); stroke-width: 1; }
.radar-flaeche {
    fill: rgba(0, 122, 204, 0.22);
    stroke: var(--b1);
    stroke-width: 2;
    stroke-linejoin: round;
}
html.dk .radar-flaeche { fill: rgba(0, 174, 239, 0.18); stroke: var(--b2); }
.radar-punkt { stroke: var(--bg); stroke-width: 1.5; }
.radar-label {
    font-size: 11px;
    font-weight: 600;
    fill: var(--tx2);
}


/* ─── Mikro-Interaktionen ────────────────────────────────────────────────── */

/* Glanz-Sweep auf Karten (nur Zeigegeräte, nur ohne reduced motion) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .raum-card,
    .leistung-card,
    .erp-module-card,
    .referenz-card,
    .vergleich-col--bliescon {
        overflow: hidden;
    }
    .raum-card::after,
    .leistung-card::after,
    .erp-module-card::after,
    .referenz-card::after,
    .vergleich-col--bliescon::after {
        content: '';
        position: absolute;
        top: 0;
        left: -85%;
        width: 45%;
        height: 100%;
        background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.14), transparent);
        transform: skewX(-18deg);
        transition: left 0.55s ease;
        pointer-events: none;
    }
    html.dk .raum-card::after,
    html.dk .leistung-card::after,
    html.dk .erp-module-card::after,
    html.dk .referenz-card::after,
    html.dk .vergleich-col--bliescon::after {
        background: linear-gradient(105deg, transparent, rgba(160, 210, 255, 0.08), transparent);
    }
    .raum-card { position: relative; }
    .leistung-card { position: relative; }
    .referenz-card { position: relative; }
    .raum-card:hover::after,
    .leistung-card:hover::after,
    .erp-module-card:hover::after,
    .referenz-card:hover::after,
    .vergleich-col--bliescon:hover::after {
        left: 135%;
    }
}

/* Dark-Mode-Umschalter: kurze Dreh-Animation beim Wechsel.
   (Kein display:inline-block-Override hier — das würde die Sonne/Mond-
   Umschaltung .dk-btn-icon--sun/--moon überstimmen; .ti ist bereits inline-block.) */
@media (prefers-reduced-motion: no-preference) {
    .dk-btn.dk-anim .ti { animation: dkSpin 0.5s ease; }
}
@keyframes dkSpin {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(0.55); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Laika-Pfoten-Easteregg (Doppelklick aufs Logo) */
.laika-paw {
    position: fixed;
    z-index: 9999;
    font-size: 24px;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    animation: pawStep 2.4s ease forwards;
}
@keyframes pawStep {
    0%   { opacity: 0; }
    12%  { opacity: 0.9; }
    70%  { opacity: 0.9; }
    100% { opacity: 0; }
}

/* ─── View Transitions (Progressive Enhancement) ─────────────────────────── */
@view-transition {
    navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.22s;
}
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}


/* ─── Aktions-Pop-up (Bild aus assets/popup/, Aufbau: assets/js/popup.js) ─── */
.bl-popup {
    position: fixed;
    inset: 0;
    z-index: 10000; /* über Laika-Widget (9998) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(5, 13, 26, 0.62);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    animation: bl-popup-fade 0.25s ease-out;
}
.bl-popup[hidden] { display: none; }
html.bl-popup-open { overflow: hidden; }

.bl-popup-card {
    position: relative;
    max-width: min(92vw, 560px);
    animation: bl-popup-rise 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bl-popup-link { display: block; line-height: 0; border-radius: var(--r-md); }
.bl-popup-link:focus-visible,
.bl-popup-close:focus-visible { outline: 3px solid var(--b2); outline-offset: 3px; }
.bl-popup-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 82vh;
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
}
.bl-popup-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--ln);
    border-radius: 50%;
    background: var(--bg);
    color: var(--tx1);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--sh-md);
    transition: transform 0.15s ease;
}
.bl-popup-close:hover { transform: scale(1.08); }

@media (max-width: 600px) {
    .bl-popup-close { top: -10px; right: -6px; }
}
@keyframes bl-popup-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bl-popup-rise { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .bl-popup, .bl-popup-card { animation: none; }
    .bl-popup-close { transition: none; }
}
