/* Lokal gehostete Inter Variable Fonts (DSGVO-konform, kein Google-CDN) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Grundkonfiguration */
:root {
    --primary-blue: #0071e3;
    --dark-blue: #1d1d1f;
    --light-bg: #f5f5f7;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --text-main: #1d1d1f;
    --text-gray: #86868b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    height: 60px;
    background: rgba(235, 244, 255, 0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 90, 200, 0.12);
    transition: border-color 0.2s;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    overflow: visible;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary-blue); }
.nav-links a.active { color: var(--primary-blue); font-weight: 600; }

/* Navbar Mega-Trigger */
.nav-item-mega { position: static; }

/* Navbar-Border ausblenden wenn Mega-Menu offen → nahtloser Übergang */
.navbar.mega-open {
    border-bottom-color: transparent;
}

.nav-chevron {
    display: inline-block;
    font-size: 0.75rem;
    margin-left: 3px;
    transition: transform 0.25s;
    color: #86868b;
    vertical-align: middle;
}

.nav-item-mega.is-open .nav-chevron {
    transform: rotate(90deg);
    color: var(--primary-blue);
}

.nav-item-mega.is-open > a {
    color: var(--primary-blue);
}

/* Mega Menu Panel */
.mega-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(235, 244, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(0, 90, 200, 0.08);
    border-bottom: 1px solid rgba(0, 90, 200, 0.12);
    z-index: 999;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;

    /* 0fr → 1fr animiert exakt auf die Inhaltshöhe – kein Leerlauf wie bei max-height */
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.26s cubic-bezier(.4,0,.2,1),
                opacity 0.18s ease-out;
}

.mega-menu.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: all;
    transition: grid-template-rows 0.42s cubic-bezier(.22,1,.36,1),
                opacity 0.2s ease-out;
}

/* Clip-Ebene für den Grid-Trick – Padding muss weiter innen liegen, sonst
   bliebe es bei 0fr als leerer Streifen stehen */
.mega-clip {
    overflow: hidden;
    min-height: 0;
}

.mega-inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 32px 0 36px;

    /* Inhalt zieht leicht nach, statt starr mitzufahren */
    transform: translateY(-10px);
    transition: transform 0.26s cubic-bezier(.4,0,.2,1);
}

.mega-menu.is-open .mega-inner {
    transform: translateY(0);
    transition: transform 0.42s cubic-bezier(.22,1,.36,1);
}

.mega-col {
    flex: 1;
    padding: 0 28px;
}

.mega-col-cta {
    flex: 0 0 220px;
    padding: 0 0 0 28px;
}

.mega-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(0,0,0,0.07);
    flex-shrink: 0;
    margin: 4px 0;
}

/* Produkt-Header im Mega-Menu */
.mega-product {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 18px;
    color: #1d1d1f;
    transition: opacity 0.15s;
}

.mega-product:hover { opacity: 0.7; }

.mega-product-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-product-icon.blue   { background: rgba(0,113,227,0.1); color: var(--primary-blue); }
.mega-product-icon.green  { background: rgba(34,197,94,0.1); color: #16a34a; }
.mega-product-icon.purple { background: rgba(139,92,246,0.1); color: #7c3aed; }

.mega-product strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1d1d1f;
}

.mega-product span {
    display: block;
    font-size: 0.78rem;
    color: #86868b;
    margin-top: 1px;
}

/* Sektion-Links */
.mega-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-links a {
    display: block;
    font-size: 0.85rem;
    color: #6e6e73;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.15s;
}

.mega-links a:hover { color: var(--primary-blue); }

/* CTA Spalte */
.mega-cta-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.mega-cta-text {
    font-size: 0.88rem;
    color: #1d1d1f;
    line-height: 1.5;
    margin-bottom: 20px;
}

.mega-cta-btn {
    display: inline-block;
    font-size: 0.88rem;
    padding: 10px 22px;
}

/* Backdrop */
.mega-backdrop {
    display: none;
    position: fixed;
    inset: 60px 0 0 0;
    background: rgba(0,0,0,0.25);
    z-index: 998;
    backdrop-filter: blur(2px);
}

.mega-backdrop.is-visible { display: block; }

.btn-nav {
    color: var(--text-main) !important;
}

/* =============================================
   HERO – Apple-Stil: hell, sauber
   ============================================= */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: #fff;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before { display: none; }

.hero-text {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.05;
    color: #1d1d1f;
    margin-top: 0;
    margin-bottom: 24px;
}

.blue-text { color: var(--primary-blue); }

.hero p {
    font-size: 1.2rem;
    color: #6e6e73;
    max-width: 480px;
    line-height: 1.7;
    margin: 0 0 36px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 13px 28px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
}

.btn-secondary {
    color: var(--primary-blue);
    background: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,113,227,0.4);
    background: #005bbf;
}

.btn-primary:active { transform: translateY(0); box-shadow: none; }

/* Hero auf hellem Hintergrund */
.hero .btn-secondary {
    color: var(--primary-blue);
    border: 1px solid rgba(0,113,227,0.3);
}
.hero .btn-secondary:hover {
    background: rgba(0,113,227,0.06);
    color: #005bbf;
}

/* Produkte Grid */
.products {
    background: #000;
    padding: 120px 0;
    position: relative;      /* fuer den Circuit-Motion-Background */
    overflow: hidden;
}

/* Inhalt ueber den Circuit-Background heben */
.products .container { position: relative; z-index: 1; }

.products .section-title {
    color: #fff;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 64px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #1d1d1f;
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s cubic-bezier(.22,1,.36,1), border-color 0.35s;
    border: 1px solid rgba(255,255,255,0.07);
    color: #fff;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,113,227,0.4);
    border-color: rgba(0,113,227,0.35);
}

.product-card p { color: rgba(255,255,255,0.5); }
.product-card h3 { color: #fff; margin-bottom: 10px; }

.card-product-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    margin: 16px 0 6px;
}

.product-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    color: var(--primary-blue);
}

.product-card .icon svg {
    width: 48px;
    height: 48px;
}

.product-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Mobil übernimmt das Slide-Down-Menü */
    .mega-menu, .mega-backdrop { display: none !important; }
}

/* =============================================
   FEATURE-NAV – Sprungleiste der Produktseiten
   Klebt unter der Navbar (60px), Buttons tragen
   data-target mit der Ziel-Sektion.
   ============================================= */
.feature-nav {
    position: sticky;
    top: 60px;
    z-index: 90;
    background: rgba(235, 244, 255, 0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 90, 200, 0.12);
}

.feature-nav-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.feature-nav-inner::-webkit-scrollbar { display: none; }

.feature-nav-btn {
    flex-shrink: 0;
    padding: 16px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6e6e73;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.feature-nav-btn:hover { color: #1d1d1f; }
.feature-nav-btn.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    font-weight: 600;
}

/* Produkt-Detailseiten */
.product-hero {
    min-height: 85svh;
    display: flex;
    align-items: center;
    text-align: center;
    background: #000 !important;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

.product-hero::before { display: none; }

.product-hero .container { position: relative; z-index: 1; }

.product-hero .badge {
    color: var(--primary-blue);
    background: rgba(0,113,227,0.12);
    border: 1px solid rgba(0,113,227,0.25);
    border-radius: 980px;
    padding: 5px 16px;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 24px;
}

.product-hero h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 700;
    letter-spacing: -2.5px;
    color: #fff;
    line-height: 1.0;
    margin: 0 0 20px;
}

.subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 36px;
    color: rgba(255,255,255,0.75);
}

.product-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-hero .btn-secondary {
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.2);
}
.product-hero .btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
}

.image-placeholder {
    background: #e8e8ed;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    display: flex;
    align-items: center;
}

.image-placeholder:has(img) {
    background: transparent;
    aspect-ratio: unset;
    display: block;
    justify-content: center;
    color: var(--text-gray);
    font-weight: 500;
    border: none;
    /* gleicher Radius wie das Bild (inline 8px) – sonst zeigt der eckige
       Schatten/Border des Wrappers an den runden Bildecken hervor */
    border-radius: 8px;
}

/* Inline-Bilder reservieren unten Platz für die Grundlinie → transparenter
   Wrapper zeigt dort einen hellen Balken. display:block entfernt das. */
.image-placeholder img {
    display: block;
}

/* Bilder, die schon einen eigenen Rahmen eingebacken haben (z. B. das
   Aufbau-Diagramm mit blauer Umrandung): KEIN Radius, sonst schneidet die
   Rundung die eckigen Rahmenecken ab und es sieht nach Doppelrahmen aus. */
.image-placeholder.image-hasframe,
.image-placeholder.image-hasframe img {
    border-radius: 0;
}

/* =============================================
   VIDEO-DEMO-SEKTION (infomonitor.html)
   preload="none" im Markup → 45MB laden erst bei
   Klick auf Play; das Poster zeigt vorab ein Bild.
   Design an die Seite angelehnt: Pill-Eyebrow,
   Blau-Akzent, weicher Glow, blau getoenter Rahmen.
   ============================================= */
.video-head { text-align: center; }

/* Pill-Eyebrow im Stil der Produkt-Hero-Badges */
.video-badge {
    display: inline-block;
    color: var(--primary-blue);
    background: rgba(0,113,227,0.10);
    border: 1px solid rgba(0,113,227,0.22);
    border-radius: 980px;
    padding: 6px 16px;
    margin-bottom: 18px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.video-title { margin-bottom: 16px; }

.video-intro {
    max-width: 620px;
    margin: 0 auto 48px;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Buehne mit weichem Blau-Glow hinter dem Video (wie hero-glow) */
.video-stage {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.video-stage::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88%;
    height: 82%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(0,113,227,0.22), transparent 70%);
    filter: blur(48px);
    z-index: 0;
    pointer-events: none;
}

.video-frame {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    /* blau getoenter Rahmen + kraeftigerer, markenfarbener Schatten */
    border: 1px solid rgba(0,90,200,0.18);
    box-shadow: 0 30px 70px rgba(0,80,180,0.22);
    transition: transform 0.5s cubic-bezier(.22,1,.36,1), box-shadow 0.5s;
}

.video-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 90px rgba(0,80,180,0.28);
}

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    color: var(--primary-blue);
    font-weight: 500;
}

/* Seitenheader (Datenschutz, Impressum etc.) */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Impressum */
.legal-page {
    padding: 150px 0;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.legal-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--light-bg);
    padding-bottom: 5px;
}

/* Anpassung für mobile Geräte */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
}


/* Footer Styling */
.footer {
    background: #f5f5f7;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid #d2d2d7;
    font-size: 13px;
    color: #6e6e73;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #6e6e73;
    line-height: 1.6;
    max-width: 220px;
}

.footer-nav h4 {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav ul a {
    text-decoration: none;
    color: #6e6e73;
    transition: color 0.2s;
}

.footer-nav ul a:hover {
    color: #0071e3;
}

.footer-socials {
    display: flex;
    gap: 14px;
}

.footer-social {
    display: flex;
    align-items: center;
    color: #6e6e73;
    transition: color 0.2s;
}

.footer-social--linkedin:hover {
    color: #0a66c2;
}

.footer-social--instagram:hover {
    color: #e1306c;
}

.footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding-top: 24px;
    text-align: center;
    color: #6e6e73;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* Abstand für den Inhalt, damit er nicht unter dem Header verschwindet */
main, header.hero, .product-hero, .legal-page {
    margin-top: 52px;
}

/* Spezifische Ergänzungen für Produktseiten */
.active {
    color: var(--primary-blue) !important;
    font-weight: 600;
}

.product-hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #eef6ff, #ffffff);
    text-align: center;
}

.badge {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.grid-2.reverse {
    direction: ltr; /* Standard-Fluss */
}

/* Bild-Schatten wie bei Apple Hardware-Präsentationen */
.shadow-effect {
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

.light-bg {
    background-color: #f5f5f7;
}

.content-block {
    background: #fff;
}

.content-block.light-bg {
    background: #f5f5f7;
}

.quote-box {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-blue);
    font-style: italic;
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Feature Liste Icons */
.feature-list span {
    color: var(--primary-blue);
    margin-right: 10px;
    font-weight: bold;
}

/* Responsiv-Korrektur */
@media (max-width: 768px) {
    .grid-2.reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}   

/* Produkt-Detailseiten: Sections & Layout */
.content-block {
    padding: 80px 0;
}

.content-block .grid-2 {
    align-items: center;
    gap: 60px;
}

.text-side h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
    line-height: 1.15;
}

.text-side p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.image-side {
    width: 100%;
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

/* Stat-Karten */
.card-stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: -1px;
    margin-bottom: 10px;
}

/* CTA-Sektion */
.cta-section {
    padding: 120px 0;
    background: #000;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before { display: none; }

.cta-section .container { position: relative; z-index: 1; }

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.cta-section h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.55);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-secondary {
    color: rgba(255,255,255,0.8) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}
.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}

/* Kontaktseite Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    padding-top: 40px;
    align-items: start;
}

/* Info-Karten links */
.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.info-card:last-of-type {
    margin-bottom: 24px;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 113, 227, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-blue);
}

.info-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-card a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-promise {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(0, 113, 227, 0.05);
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 8px;
}

.contact-promise svg {
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Formular rechts */
.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.required {
    color: var(--primary-blue);
}

.apple-form input,
.apple-form select,
.apple-form textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid #e0e0e5;
    background: #fafafa;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.apple-form input:focus,
.apple-form select:focus,
.apple-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.apple-form input.invalid,
.apple-form select.invalid,
.apple-form textarea.invalid {
    border-color: #e03131;
    box-shadow: 0 0 0 3px rgba(224, 49, 49, 0.1);
}

/* Custom Select */
.custom-select {
    position: relative;
}

.custom-select-trigger {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid #e0e0e5;
    background: #fafafa;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-gray);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.custom-select-trigger.has-value {
    color: var(--text-main);
}

.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.custom-select-arrow {
    flex-shrink: 0;
    transition: transform 0.2s;
    color: var(--text-gray);
}

.custom-select.is-open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #e0e0e5;
    border-radius: 12px;
    padding: 6px;
    list-style: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 500;
    overflow: hidden;
}

.custom-select.is-open .custom-select-options {
    display: block;
}

.custom-select-options li {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.92rem;
    cursor: pointer;
    color: var(--text-main);
    transition: background 0.12s;
}

.custom-select-options li:hover {
    background: rgba(0, 113, 227, 0.07);
    color: var(--primary-blue);
}

.custom-select-options li.is-selected {
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary-blue);
    font-weight: 600;
}

.custom-select-options li.placeholder-option {
    color: var(--text-gray);
}

/* Checkbox */
.form-checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-box {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #c0c0c8;
    border-radius: 5px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    margin-top: 2px;
}

.checkbox-label input:checked + .checkbox-box {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-label input:checked + .checkbox-box::after {
    content: "";
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.checkbox-label input.invalid + .checkbox-box {
    border-color: #e03131;
}

.checkbox-text {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Feedback */
.form-feedback {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #166534;
}

.form-feedback.error {
    display: block;
    background: rgba(224, 49, 49, 0.08);
    border: 1px solid rgba(224, 49, 49, 0.25);
    color: #c0392b;
}

.full-width {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 14px;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }
}

/* Spezifisches Layout für Datenschutztexte */
.privacy-content {
    max-width: 800px; /* Schmalere Spalte für bessere Lesbarkeit */
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 50px;
}

.privacy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 10px;
}

.privacy-section h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.privacy-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 15px;
}

/* Stil für die Liste innerhalb der Rechtstexte */
.privacy-section .feature-list {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 18px;
    margin-top: 20px;
}

/* Produkt-Karten Verlinkung */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Apple-typischer Ease-Out */
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.learn-more {
    margin-top: auto;
    padding-top: 20px;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
}

.product-card-link:hover .learn-more {
    text-decoration: underline;
}

.nav-links a.active {
    color: var(--primary-blue) !important;
    font-weight: 600;
    opacity: 1;
}

/* Scroll-to-Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 999;
}

#scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scroll-to-top:hover {
    background: #0056cc;
    transform: translateY(-2px);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 0;
    background: transparent;
}

/* Breadcrumb innerhalb eines dunklen Heroes: absolut oben links */
.product-hero > .breadcrumb-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: left;
}

.breadcrumb {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-gray);
    padding: 0;
}

.breadcrumb li + li::before {
    content: "›";
    margin-right: 8px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* Dark-Hero Breadcrumb */
.breadcrumb-dark .breadcrumb {
    color: rgba(255,255,255,0.35);
}

.breadcrumb-dark .breadcrumb li + li::before {
    color: rgba(255,255,255,0.2);
}

.breadcrumb-dark .breadcrumb a {
    color: rgba(255,255,255,0.5);
}

.breadcrumb-dark .breadcrumb a:hover {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 24px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--primary-blue);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.faq-item p {
    padding: 0 24px 18px;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =============================================
   HERO SPLIT LAYOUT
   ============================================= */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text { max-width: 520px; }

.hero-centered {
    text-align: center;
}

.hero-centered h1 { max-width: 760px; margin-left: auto; margin-right: auto; }
.hero-centered p  { margin-left: auto; margin-right: auto; }
.hero-centered .hero-btns { justify-content: center; }

.hero-visual {
    display: flex;
    justify-content: center;
}

/* Dashboard Mockup Window */
.mockup-window {
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.14);
    background: #1e1e2e;
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #16162a;
}

.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.mockup-title {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-left: 8px;
    font-family: monospace;
}

.mockup-body {
    display: flex;
    height: 280px;
}

.mockup-sidebar {
    width: 48px;
    background: #16162a;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-item {
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
}
.sidebar-item.active { background: var(--primary-blue); }

.mockup-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #1e1e2e;
}

.mockup-stat-row {
    display: flex;
    gap: 8px;
}

.mockup-stat {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}
.mockup-stat.blue   { background: rgba(0,113,227,0.2); }
.mockup-stat.green  { background: rgba(34,197,94,0.15); }
.mockup-stat.orange { background: rgba(251,146,60,0.15); }

.stat-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.stat-lbl {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 70px;
    padding: 0 4px;
}

.chart-bar {
    flex: 1;
    background: rgba(0,113,227,0.3);
    border-radius: 4px 4px 0 0;
    transition: background 0.2s;
}
.chart-bar.active { background: var(--primary-blue); }

.mockup-table {
    flex: 1;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 60px 60px;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
}

.table-row span {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    display: block;
}

.table-row.header span { background: rgba(255,255,255,0.05); height: 6px; }

.pill {
    height: 14px !important;
    border-radius: 10px !important;
}
.green-pill  { background: rgba(34,197,94,0.4) !important; }
.yellow-pill { background: rgba(251,146,60,0.4) !important; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
    padding: 56px 0;
    background: #f5f5f7;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-big {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -1px;
    line-height: 1;
}

.stat-desc {
    font-size: 0.78rem;
    color: #6e6e73;
    margin-top: 8px;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(0,0,0,0.1);
}

/* =============================================
   PRODUCT CARDS VISUAL
   ============================================= */
.product-card-visual {
    border-radius: 12px;
    height: 120px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}

.product-card:hover .product-card-visual {
    transform: scale(1.08);
}

/* Karten mit echtem Bild statt CSS-Grafik: alle Bildflaechen bekommen dasselbe
   Seitenverhaeltnis (das der beiden 1.77:1-Illustrationen), damit sie gleich hoch
   sind und der Text darunter auf einer Linie startet.
   contain statt cover: das breitere Infomonitor-Bild wird NICHT beschnitten (die
   Bedien-Buttons bleiben ganz). Der kleine Hoehenausgleich oben/unten ist weiss –
   auf der weissen Karte unsichtbar, also keine sichtbaren Balken. */
.product-card-visual.has-image {
    aspect-ratio: 2086 / 1177;
    height: auto;
    padding: 0;
    background: none;
    display: block;
}
.product-card-visual.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.blue-gradient   { background: linear-gradient(135deg, rgba(0,113,227,0.1) 0%, rgba(0,113,227,0.2) 100%); }
.green-gradient  { background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.18) 100%); }
.purple-gradient { background: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, rgba(139,92,246,0.18) 100%); }

.card-visual-screen {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.screen-bar {
    height: 8px;
    background: rgba(0,0,0,0.12);
    border-radius: 4px;
}
.screen-bar.short  { width: 55%; }
.screen-bar.medium { width: 75%; }

.screen-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.screen-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.screen-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 30px;
}
.step-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(0,0,0,0.12);
    flex-shrink: 0;
}
.step-dot.done   { background: rgba(139,92,246,0.6); }
.step-dot.active { background: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,0.2); }
.step-line {
    flex: 1;
    height: 2px;
    background: rgba(0,0,0,0.1);
}

.card-visual-icon {
    color: rgba(0,0,0,0.2);
    flex-shrink: 0;
    margin-left: 12px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works { padding: 120px 0 140px; background: #f5f5f7; overflow: visible; }

.steps-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 48px;
}

.step-card {
    flex: 1;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.5s cubic-bezier(.22,1,.36,1),
                box-shadow 0.5s cubic-bezier(.22,1,.36,1),
                border-color 0.5s;
    cursor: default;
    will-change: transform;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.1);
    border-color: rgba(0,113,227,0.2);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(0,113,227,0.15);
    line-height: 1;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.step-arrow {
    flex-shrink: 0;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { padding: 120px 0; background: #fff; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.88rem;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-gray);
}

/* =============================================
   UI MOCKUP (Produktseiten)
   ============================================= */
.ui-mockup {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 28px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-screen-preview {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.screen-header-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.screen-logo-dot {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--primary-blue);
}

.screen-title-bar {
    height: 10px;
    width: 120px;
    background: #eee;
    border-radius: 5px;
}

.screen-slide-area { margin-bottom: 16px; }

.slide { background: var(--light-bg); border-radius: 10px; padding: 16px; }

.slide-top-bar {
    height: 4px;
    border-radius: 2px;
    margin-bottom: 12px;
}
.slide-top-bar.blue { background: var(--primary-blue); width: 40%; }

.slide-content-line {
    height: 8px;
    background: #e0e0e5;
    border-radius: 4px;
    margin-bottom: 8px;
}
.slide-content-line.short { width: 60%; }

.slide-kpi-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.kpi-box {
    flex: 1;
    height: 36px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(0,113,227,0.15);
}

.screen-nav-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}
.nav-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ddd;
}
.nav-dot.active { background: var(--primary-blue); width: 20px; border-radius: 4px; }

.screen-remote {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.remote-btn {
    width: 36px; height: 20px;
    border-radius: 6px;
    background: #eee;
}
.remote-btn.active-btn { background: var(--primary-blue); }

/* Security Visual */
.security-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.network-diagram {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.network-node.server {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-gray);
    background: #fff;
    border: 1px solid rgba(0,113,227,0.2);
    border-radius: 12px;
    padding: 12px 16px;
}

.network-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.net-line {
    height: 2px;
    width: 48px;
    background: rgba(0,113,227,0.3);
    border-radius: 1px;
}
.net-line.secure { background: linear-gradient(90deg, var(--primary-blue), rgba(0,113,227,0.2)); }

.network-devices {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.net-device {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 6px 8px;
    color: var(--text-gray);
}

.shield-badge-large {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,113,227,0.07);
    border: 1px solid rgba(0,113,227,0.2);
    border-radius: 12px;
    padding: 12px 20px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Security Badges */
.security-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.sec-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0,113,227,0.07);
    border: 1px solid rgba(0,113,227,0.15);
    color: var(--primary-blue);
    border-radius: 20px;
    padding: 6px 14px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
    }
    .hero-visual { display: none; }

    .steps-grid {
        flex-direction: column;
    }
    .step-arrow { transform: rotate(90deg); }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .stat-divider { display: none; }
    .stats-grid { gap: 32px; }
}

/* =============================================
   MOBILE NAVIGATION
   ============================================= */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 10px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.8px;
    background: #1d1d1f;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(.22,1,.36,1), opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 997;
    background: rgba(245, 249, 255, 0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 28px 24px 40px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(.22,1,.36,1);
}

.mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

body.menu-open { overflow: hidden; }

.mobile-links {
    list-style: none;
    margin: 0 0 24px;
}

.mobile-links a {
    display: block;
    padding: 14px 4px;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1d1d1f;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-links a.active { color: var(--primary-blue); }

.mobile-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #86868b;
    margin: 0 0 12px;
    padding-left: 4px;
}

.mobile-products {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 28px;
}

.mobile-products a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    text-decoration: none;
    color: #1d1d1f;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mobile-products a:active {
    border-color: rgba(0,113,227,0.3);
    box-shadow: 0 4px 16px rgba(0,113,227,0.08);
}

.mobile-products strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.mobile-products small {
    display: block;
    font-size: 0.78rem;
    color: #86868b;
    margin-top: 1px;
}

.mobile-cta {
    display: block;
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
}

@media (min-width: 769px) {
    .mobile-menu { display: none; }
}

/* =============================================
   PRODUKT-HERO: KEYWORD-ZEILE UNTER DEM MARKENNAMEN
   ============================================= */
.h1-topic {
    display: block;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.3;
    color: #2997ff;
    margin-top: 18px;
}

/* =============================================
   MEDIEN-PLATZHALTER (Bilder folgen)
   ============================================= */
.media-placeholder {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #eef2f7 0%, #e8edf4 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.65) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: mp-shimmer 2.8s ease-in-out infinite;
}

@keyframes mp-shimmer {
    0%   { transform: translateX(-100%); }
    55%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.mp-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #a6adb8;
    text-align: center;
    padding: 24px;
}

.mp-inner svg { color: #b9c1cc; }

.mp-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #a6adb8;
}

/* =============================================
   DEZENTE EFFEKTE (im Apple-Stil der Seite)
   ============================================= */
/* Sanfter Lichtschein hinter dem Hero der Startseite */
.hero-centered::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -35%;
    width: min(1100px, 120vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,113,227,0.09) 0%, rgba(0,113,227,0.03) 40%, transparent 65%);
    pointer-events: none;
    animation: hero-glow 9s ease-in-out infinite alternate;
}

.hero-centered .container { position: relative; z-index: 1; }

@keyframes hero-glow {
    from { opacity: 0.7; transform: translateX(-50%) scale(0.96); }
    to   { opacity: 1;   transform: translateX(-50%) scale(1.04); }
}

/* Lichtschein im dunklen Produkt-Hero */
.product-hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -45%;
    width: min(1000px, 130vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,113,227,0.16) 0%, rgba(0,113,227,0.05) 45%, transparent 68%);
    pointer-events: none;
    animation: hero-glow-dark 10s ease-in-out infinite alternate;
}

@keyframes hero-glow-dark {
    from { opacity: 0.65; }
    to   { opacity: 1; }
}

/* =============================================
   MOTION-BACKGROUNDS im dunklen Produkt-Hero
   ---------------------------------------------
   Drei Varianten zum Vergleich, je eine pro
   Produktseite. Liegen auf ::before (der Glow
   auf ::after bleibt überall erhalten).
   Alle animieren nur transform/opacity, laufen
   also auf dem Compositor. prefers-reduced-motion
   killt sie über den globalen Block am Dateiende.
   ============================================= */

/* ── Variante 1: technisches Raster mit Drift ── */
.hero-bg-grid::before {
    content: "";
    display: block;
    position: absolute;
    inset: -10%;                       /* Puffer, damit die Drift keine Kante zeigt */
    /* Zwei Raster uebereinander wie auf Millimeterpapier: grobes Hauptraster
       (64px) ueber einem feinen Subraster (16px). 64 ist ein Vielfaches von 16,
       dadurch bleibt die Drift fuer beide Ebenen nahtlos. */
    background-image:
        linear-gradient(rgba(255,255,255,0.20) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.20) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.075) 1px, transparent 1px);
    background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 92%);
            mask-image: radial-gradient(ellipse at center, #000 45%, transparent 92%);
    /* zwei Animationen mit eigenen Laufzeiten: Drift auf transform,
       Atmen auf opacity – so ueberlagern sie sich, ohne sich zu stoeren */
    animation: hero-grid-drift 140s linear infinite,
               hero-grid-breathe 52s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes hero-grid-drift {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(64px, 64px, 0); }   /* genau eine Kachel = nahtlose Schleife */
}

@keyframes hero-grid-breathe {
    from { opacity: 0.72; }
    to   { opacity: 1; }
}

/* Variante 2 (Signal-Sweep) wurde nach Sichtung verworfen. */

/* ── Variante 3: Leiterbahnen mit Signalimpuls ──
   Braucht das <svg class="hero-circuit"> im Hero-Markup.
   Alle Pfade tragen pathLength="100", dadurch laufen die
   Impulse unabhängig von der echten Pfadlänge gleich schnell. */
.hero-circuit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Umgekehrt zu den anderen Varianten: in der Mitte ausgeblendet, damit
       die Textzone frei bleibt, nach aussen hin voll sichtbar – dort liegen
       die Bahnen. Eine zentrierte Maske wuerde sie genau wegblenden. */
    -webkit-mask-image: radial-gradient(ellipse 58% 48% at center, transparent 35%, #000 78%);
            mask-image: radial-gradient(ellipse 58% 48% at center, transparent 35%, #000 78%);
}

.hero-circuit .trace {
    fill: none;
    stroke: rgba(255,255,255,0.13);
    stroke-width: 1;
}

.hero-circuit .node {
    fill: rgba(255,255,255,0.18);
    animation: hero-node-blink 7s ease-in-out infinite alternate;
}

/* vier Gruppen mit eigenem Versatz, damit die Knoten nicht im Gleichtakt atmen */
.hero-circuit .node:nth-child(4n+1) { animation-delay: -0.8s; }
.hero-circuit .node:nth-child(4n+2) { animation-delay: -2.9s; }
.hero-circuit .node:nth-child(4n+3) { animation-delay: -4.6s; }
.hero-circuit .node:nth-child(4n)   { animation-delay: -6.1s; }

@keyframes hero-node-blink {
    from { opacity: 0.35; }
    to   { opacity: 1; }
}

.hero-circuit .pulse {
    fill: none;
    stroke: rgba(120,185,255,0.65);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 8 92;
    /* laesst den Impuls als Licht lesen statt als Strichstueck */
    filter: drop-shadow(0 0 5px rgba(110,180,255,0.85));
    animation: hero-circuit-run 16s linear infinite;
}

.hero-circuit .pulse:nth-of-type(2) { animation-delay:  -2.6s; }
.hero-circuit .pulse:nth-of-type(3) { animation-delay:  -5.9s; }
.hero-circuit .pulse:nth-of-type(4) { animation-delay:  -8.4s; }
.hero-circuit .pulse:nth-of-type(5) { animation-delay: -11.7s; }
.hero-circuit .pulse:nth-of-type(6) { animation-delay: -14.1s; }

@keyframes hero-circuit-run {
    from { stroke-dashoffset: 100; }
    to   { stroke-dashoffset: 0; }
}

/* Spotlight-Hover auf den dunklen Produktkarten (Startseite) */
.products .product-card {
    position: relative;
    overflow: hidden;
}

.products .product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(0,113,227,0.14), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.products .product-card:hover::after { opacity: 1; }

/* Zahlen laufen hoch – stabile Ziffernbreite gegen Zittern */
.stat-big, .fms-stat-val, .stat-number {
    font-variant-numeric: tabular-nums;
}

/* =============================================
   BARRIEREFREIHEIT
   ============================================= */
:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.custom-select-options li:focus-visible {
    outline-offset: -2px;
    background: rgba(0, 113, 227, 0.07);
    color: var(--primary-blue);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =============================================
   404-SEITE
   ============================================= */
.error-page {
    min-height: 70svh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 140px 0 80px;
}

.error-code {
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 700;
    letter-spacing: -4px;
    line-height: 1;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.error-page h1 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}

.error-page p {
    color: var(--text-gray);
    font-size: 1.05rem;
    max-width: 440px;
    margin: 0 auto 32px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

