/* ═══════════════════════════════════════════════════════════════════════════
   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);

    /* 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);

    --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(64px, 9vw, 120px);
}


/* ─── 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;
}
.dk .nav-bc-wave { mix-blend-mode: normal; filter: brightness(0) invert(1); }
.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);
}

/* 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 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;
    }
}

@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: 0.9rem;
    color: var(--tx3);
    font-style: italic;
    max-width: none;
}

.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;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-scroll { animation: 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;
}

/* 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 ────────────────────────────────────────────────────── */
.bl-itsec {
    background: #060f22; /* immer dunkel — passend zur DNA-Visualisierung */
}

.bl-itsec .section-label { color: #00aeef; }
.bl-itsec .section-title { color: #dde5f0; }
.bl-itsec .itsec-text p  { color: #7a90b0; }
.bl-itsec .itsec-text em { color: #a0b8d0; 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-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 */
.itsec-dna-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(0, 174, 239, 0.12);
    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 CTA (Homepage) ───────────────────────────────────── */
.bl-check-cta {
    background: #050d1a;
    padding-block: clamp(60px, 9vw, 100px);
}

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

@media (max-width: 900px) {
    .check-cta-inner { grid-template-columns: 1fr; gap: 48px; }
}

.bl-check-cta .section-label {
    color: var(--b2);
    opacity: 0.8;
}

.check-cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: #e2eaf6;
    margin-bottom: 16px;
}

.check-cta-desc {
    color: #7a9cc0;
    font-size: 0.95rem;
    margin-bottom: 28px;
    max-width: none;
}

.check-cta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-cta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0c8e0;
    font-size: 0.9rem;
    max-width: none;
    /* Flex-Items in einem column-Container ignorieren per Default die
       Breiten-Beschränkung des Elternelements (min-width:auto) — lange
       Wörter wie "Mitarbeitersensibilisierung" sprengten dadurch auf
       schmalen Screens die Sektion horizontal über den Viewport hinaus. */
    min-width: 0;
    overflow-wrap: break-word;
}

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

.check-cta-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,174,239,0.2);
    border-radius: var(--r-xl);
    padding: 40px 32px;
    text-align: center;
}

.check-cta-score {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

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

.check-cta-score-q {
    font-size: 2rem;
    font-weight: 800;
    color: var(--b2);
    line-height: 1;
}

.check-cta-score-label span:last-child {
    font-size: 0.68rem;
    color: #4a6a8a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.check-cta-card-hint {
    color: #7a9cc0;
    font-size: 0.85rem;
    margin-bottom: 24px;
    max-width: none;
}

.check-cta-btn {
    width: 100%;
    justify-content: center;
}

.check-cta-note {
    margin-top: 12px;
    font-size: 0.75rem;
    color: #8a9ab8; /* AA-Kontrast auf dunkler Karte */
    max-width: none;
}


/* ─── 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: 12px;
    align-items: center;
}

.membership-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    text-decoration: none;
    transition: box-shadow .2s, border-color .2s;
}

.membership-card:hover {
    border-color: var(--b1);
    box-shadow: 0 4px 16px rgba(0, 96, 174, 0.1);
}

.membership-logo {
    height: 28px;
    width: auto;
    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: 40px;
    mix-blend-mode: normal;
}

.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 ─────────────────────────────────────────────────────────────────── */
.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;
}

.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%;
    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);
}

.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);
}


/* ─── 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;
}

.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;
}

.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;
}

.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;
}


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

.leistung-usps {
    display: grid;
    grid-template-columns: repeat(3, 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;
}


/* ─── 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; }


/* ─── 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%);
}

.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 */
.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;
}

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');
}

/* 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; }
}

.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); }
html.dk .haus-schatten { fill: rgba(0, 0, 0, 0.4); }

.haus-wand--front { fill: var(--bg2); stroke: var(--ln); stroke-width: 1; }
.haus-wand--top   { fill: var(--bg3); stroke: var(--ln); stroke-width: 1; }
.haus-wand--seite { fill: var(--bg3); stroke: var(--ln); stroke-width: 1; }
html.dk .haus-wand--front { fill: #101d33; }
html.dk .haus-wand--top   { fill: #16233c; }
html.dk .haus-wand--seite { fill: #0c1729; }

.haus-dach--front { fill: #12233f; }
.haus-dach--seite { fill: #0b1830; }
.haus-dach--top   { fill: #1a2f52; }

.haus-sprosse { stroke: var(--ln); 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: var(--tx3);
    transition: fill 0.6s ease;
}

/* Fenster: leuchten im aktivierten Zustand in der Divisionsfarbe */
.haus-fenster {
    stroke: var(--ln);
    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: var(--bg);
    filter: none;
    transition: none;
}
.haus-prep:not(.haus-on) .haus-nr {
    fill: var(--tx3);
    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;
}

.bl-wort .section-label { color: rgba(190, 226, 255, 0.85); }

.wort-title {
    color: #fff;
    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: #8fd8ff;
    line-height: 1;
}
.wort-item strong {
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.35;
}
.wort-item span {
    color: rgba(220, 236, 252, 0.75);
    font-size: 0.83rem;
    line-height: 1.5;
}

.wort-sig {
    margin-top: clamp(30px, 4vw, 44px);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #d8ecff;
    font-style: italic;
    font-size: 1rem;
    max-width: none;
}
.wort-sig span {
    font-style: normal;
    color: rgba(220, 236, 252, 0.65);
    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;
    }
}
