/* ==========================================================================
   VLYX – Design System (main.css)
   Marke: dunkles Teal + Mint (aus dem VLYX-Logo abgeleitet), Inter-Typografie.
   Aufbau: 1) Tokens  2) Reset/Base  3) Layout  4) Komponenten  5) Utilities
   ========================================================================== */

/* ---------- Fonts (lokal, selbst gehostet) ---------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-variable.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter Fallback';
    src: local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial');
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* ==========================================================================
   1) TOKENS
   ========================================================================== */
:root {
    /* Markenfarben (Teal-Familie + Mint-Akzent) */
    --brand-900: #062c30;
    --brand-800: #0b3b40;
    --brand-700: #0f5257;
    --brand-600: #0d7d80;
    --brand-500: #0ea5a4;   /* Primär */
    --brand-400: #22c1bd;
    --brand-300: #5ed9d2;
    --brand-100: #cbeeeb;
    --brand-50:  #eafaf8;

    --mint-500: #34d399;    /* Akzent (Signatur-Schrägstrich) */
    --mint-400: #4ade80;
    --mint-300: #86efac;

    /* Tiefes Ink / dunkle Flächen */
    --ink-900: #071a1f;
    --ink-800: #0b242b;
    --ink-700: #103038;

    /* Support-Blau (technische Akzente, sparsam) */
    --blue-600: #2563eb;

    /* Neutrale Skala */
    --gray-950: #0f172a;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-150: #eaeff5;
    --gray-100: #f1f5f9;
    --gray-50:  #f8fafc;
    --white: #ffffff;

    /* Semantisch */
    --success: #16a34a;
    --warning: #d97706;
    --danger:  #dc2626;
    --info:    #0891b2;

    /* Rollen */
    --bg: var(--white);
    --bg-subtle: var(--gray-50);
    --bg-muted: var(--gray-100);
    --surface: var(--white);
    --text: #0d1b2a;
    --text-muted: var(--gray-600);
    --text-soft: var(--gray-500);
    --border: var(--gray-200);
    --border-strong: var(--gray-300);
    --primary: var(--brand-600);
    --primary-strong: var(--brand-700);
    --link: var(--brand-700);
    --accent: var(--mint-500);
    --focus: #0ea5a4;

    /* Typografie */
    --font-sans: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --fs-xs: 0.78rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.075rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.95rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.15rem;
    --lh-tight: 1.15;
    --lh-snug: 1.3;
    --lh-normal: 1.65;

    /* Abstände (8px-Raster) */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 3rem;
    --sp-8: 4rem;
    --sp-9: 6rem;

    /* Radien */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 999px;

    /* Schatten */
    --shadow-xs: 0 1px 2px rgba(7, 26, 31, 0.06);
    --shadow-sm: 0 2px 8px rgba(7, 26, 31, 0.06);
    --shadow-md: 0 8px 24px rgba(7, 26, 31, 0.08);
    --shadow-lg: 0 20px 48px rgba(7, 26, 31, 0.12);
    --shadow-brand: 0 14px 34px rgba(14, 165, 164, 0.22);

    /* Layout */
    --container: 1200px;
    --container-narrow: 820px;
    --header-h: 72px;

    /* Motion */
    --t-fast: 140ms ease;
    --t: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2) RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* Klippt das horizontale Überragen des Off-Canvas-Mobilmenüs (translateX(100%)).
       Da html-overflow 'visible' bleibt, propagiert dies auf das Viewport, ohne body
       zu einem zweiten Scroll-Container zu machen (Anker-Scrollen bleibt intakt). */
    overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
img { border-style: none; }

h1, h2, h3, h4 {
    line-height: var(--lh-tight);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }
p { line-height: var(--lh-normal); }

a { color: var(--link); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-500); text-decoration: underline; }

ul, ol { padding-left: 1.25rem; }
strong { font-weight: 700; }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Skip-Link */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 1000;
    background: var(--ink-900);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   3) LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(2.75rem, 6vw, var(--sp-9)); }
.section-sm { padding-block: clamp(2rem, 4vw, var(--sp-7)); }
.section-tint { background: var(--bg-subtle); }
.section-muted { background: var(--bg-muted); }
.section-dark {
    background: radial-gradient(120% 140% at 15% 0%, var(--ink-700) 0%, var(--ink-900) 60%);
    color: #dbe7e7;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark a { color: var(--mint-300); }

.section-head { max-width: 760px; margin-bottom: clamp(1.5rem, 3vw, var(--sp-6)); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 0.75rem;
}
.section-dark .eyebrow { color: var(--mint-400); }
.lead { font-size: var(--fs-md); color: var(--text-muted); }
.section-dark .lead { color: #b6cccc; }

/* Grid-Helfer */
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   4) KOMPONENTEN
   ========================================================================== */

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font: inherit;
    font-weight: 600;
    font-size: var(--fs-base);
    line-height: 1;
    padding: 0.85rem 1.4rem;
    border-radius: var(--r-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }

.btn-accent { background: var(--mint-500); color: var(--ink-900); }
.btn-accent:hover { background: var(--mint-400); color: var(--ink-900); }

.btn-outline { background: transparent; color: var(--brand-700); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-700); background: var(--brand-50); }

.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--bg-muted); color: var(--text); }

.section-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.section-dark .btn-outline:hover { background: rgba(255,255,255,0.08); color:#fff; border-color: var(--mint-400); }

.btn-lg { padding: 1rem 1.75rem; font-size: var(--fs-md); }
.btn-block { width: 100%; }

/* ---- Cards ---- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--brand-300); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); }

/* ---- Icon-Badge ---- */
.icon-badge {
    display: inline-grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-600);
    margin-bottom: var(--sp-4);
    border: 1px solid var(--brand-100);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge[data-accent] { background: color-mix(in srgb, var(--pa) 12%, white); color: var(--pa); border-color: color-mix(in srgb, var(--pa) 24%, white); }

/* ---- Pills / Badges ---- */
.pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: var(--fs-xs); font-weight: 600;
    padding: 0.3rem 0.7rem; border-radius: var(--r-full);
    background: var(--brand-50); color: var(--brand-700);
    border: 1px solid var(--brand-100);
}
.tag {
    display: inline-block; font-size: var(--fs-xs); font-weight: 600;
    padding: 0.25rem 0.6rem; border-radius: var(--r-full);
    background: var(--bg-muted); color: var(--text-muted);
}

/* ---- Header / Navigation ---- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.86);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; gap: var(--sp-5);
    height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; }
.brand .wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; color: var(--ink-900); }

.main-nav { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.6rem 0.85rem; border-radius: var(--r-sm);
    color: var(--gray-700); font-weight: 500; font-size: var(--fs-sm);
    background: transparent; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link.is-active { color: var(--brand-700); background: var(--brand-50); text-decoration: none; }
.nav-link .chev { width: 14px; height: 14px; transition: transform var(--t-fast); }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }
.header-cta { margin-left: 0.5rem; }

/* Dropdown (einfache Untermenüs) */
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); padding: 0.5rem;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-item.open .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: block; padding: 0.6rem 0.75rem; border-radius: var(--r-sm);
    color: var(--gray-700); font-size: var(--fs-sm); font-weight: 500;
}
.dropdown a:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }

/* Megamenü */
.mega {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
    width: min(920px, calc(100vw - 2rem));
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); padding: var(--sp-5);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-item.open .mega, .nav-item.mega-parent:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
.mega-hub { grid-column: 1 / -1; }
.mega-link {
    display: flex; gap: 0.85rem; padding: 0.8rem; border-radius: var(--r-md);
    align-items: flex-start; border: 1px solid transparent;
}
.mega-link:hover { background: var(--brand-50); text-decoration: none; border-color: var(--brand-100); }
.mega-link .mega-ic {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r-sm);
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--pa, var(--brand-500)) 12%, white);
    color: var(--pa, var(--brand-600));
    border: 1px solid color-mix(in srgb, var(--pa, var(--brand-500)) 22%, white);
}
.mega-link .mega-ic svg { width: 22px; height: 22px; }
.mega-link .mega-name { font-weight: 700; color: var(--text); font-size: var(--fs-sm); display: block; }
.mega-link .mega-desc { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.45; margin-top: 2px; }
.mega-hub .mega-link { background: linear-gradient(100deg, var(--brand-50), #fff); border-color: var(--brand-100); }
.mega-foot { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mega-foot .lead { font-size: var(--fs-sm); margin: 0; }

/* Mobile Navigation */
.nav-toggle {
    display: none; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--border);
    border-radius: var(--r-sm); background: #fff; cursor: pointer;
    align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--ink-900); }
.mobile-nav { display: none; }

@media (max-width: 1024px) {
    .main-nav, .header-cta { display: none; }
    .nav-toggle { display: inline-flex; }

    .mobile-nav {
        display: flex; flex-direction: column;
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        /* Höhe an das SICHTBARE Viewport binden (nicht bottom:0), damit der untere
           Teil des Menüs nicht hinter der Browser-Leiste des Smartphones verschwindet. */
        height: calc(100vh - var(--header-h));            /* Fallback */
        height: calc(100dvh - var(--header-h));           /* moderne Browser: sichtbarer Bereich */
        z-index: 99;
        background: #fff;
        overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
        transform: translateX(100%); transition: transform var(--t);
        padding: 0 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
        visibility: hidden;
    }
    body.nav-open .mobile-nav { transform: translateX(0); visibility: visible; }
    body.nav-open { overflow: hidden; }

    .m-section { border-bottom: 1px solid var(--border); }
    .m-link, .m-acc-btn {
        display: flex; width: 100%; align-items: center; justify-content: space-between;
        gap: 0.5rem; padding: 0.7rem clamp(1rem, 4vw, 1.5rem);
        min-height: 48px;   /* gute Tap-Größe */
        font-size: var(--fs-base); font-weight: 600; color: var(--ink-900);
        background: none; border: 0; font-family: inherit; text-align: left; cursor: pointer;
    }
    .m-link:hover, .m-acc-btn:hover { background: var(--brand-50); text-decoration: none; }
    .m-acc-btn .chev { width: 18px; height: 18px; transition: transform var(--t); }
    .m-acc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
    .m-panel { display: none; padding-bottom: 0.5rem; background: var(--gray-50); }
    .m-panel.open { display: block; }
    .m-panel a { display: block; padding: 0.55rem clamp(1.75rem, 6vw, 2.5rem); color: var(--gray-700); font-size: var(--fs-sm); font-weight: 500; }
    .m-panel a:hover { color: var(--brand-700); text-decoration: none; }
    .m-panel .m-prod { display: flex; gap: 0.6rem; align-items: center; }
    .m-panel .m-prod .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pa, var(--brand-500)); flex-shrink: 0; }
    /* CTA nach unten schieben, wenn Platz ist; Button etwas kompakter */
    .m-cta { margin-top: auto; padding: var(--sp-4) clamp(1rem, 4vw, 1.5rem) 0; }
    .m-cta .btn { padding: 0.8rem 1.4rem; font-size: var(--fs-base); }
}

/* ---- Hero ---- */
.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(120% 130% at 12% -10%, var(--ink-700) 0%, var(--ink-900) 55%, #04141a 100%);
    color: #e6f1f0;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(38% 50% at 85% 20%, rgba(52,211,153,0.14), transparent 70%),
        radial-gradient(45% 55% at 70% 95%, rgba(14,165,164,0.20), transparent 70%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-7); align-items: center; padding-block: clamp(2.75rem, 6vw, 5.5rem); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }
.hero h1 { color: #fff; }
.hero .accent { color: var(--mint-400); }
.hero-sub { font-size: var(--fs-md); color: #bcd4d3; max-width: 40ch; margin-top: var(--sp-4); }
.hero-provoke {
    display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: var(--sp-5);
    padding: 0.55rem 1rem; border-radius: var(--r-full);
    background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3);
    color: #d7f8ea; font-weight: 600; font-size: var(--fs-sm);
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: var(--sp-6); }
.hero-trust { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: var(--sp-6); color: #9fbdbb; font-size: var(--fs-sm); }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--mint-400); }

/* ---- Trust-Leiste (ehrliche Vertrauenssignale) ---- */
.trust-bar { background: var(--bg-subtle); border-bottom: 1px solid var(--border); padding-block: 1.05rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: center; align-items: center; }
.trust-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
.trust-item svg { width: 18px; height: 18px; color: var(--brand-500); flex-shrink: 0; }

/* ---- Provokante Fragenliste ---- */
.q-list { display: grid; gap: 0.65rem; }
.q-item {
    display: flex; gap: 0.85rem; align-items: flex-start;
    padding: 1rem 1.15rem; border-radius: var(--r-md);
    background: var(--surface); border: 1px solid var(--border);
}
.q-item .q-ic { color: var(--brand-500); flex-shrink: 0; margin-top: 2px; }
.q-item .q-ic svg { width: 20px; height: 20px; }
.q-item p { margin: 0; font-weight: 500; }

/* ---- Feature-Liste mit Häkchen ---- */
.check-list { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-list li::before {
    content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
    background: var(--brand-50); border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d7d80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.section-dark .check-list li::before { background-color: rgba(52,211,153,0.15); }

/* ---- Produktkarten ---- */
.product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.product-card .icon-badge { --pa: var(--brand-500); }
.product-card .p-cat { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-soft); }
.product-card h3 { margin: 0.35rem 0 0.4rem; }
.product-card .p-tag { color: var(--text-muted); font-size: var(--fs-sm); flex: 1; }
.product-card .p-more { margin-top: var(--sp-4); font-weight: 600; color: var(--brand-700); font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 0.35rem; }
.product-card.is-hub { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.hub-flag {
    position: absolute; top: -11px; left: var(--sp-5);
    background: var(--ink-900); color: var(--mint-300);
    font-size: var(--fs-xs); font-weight: 700; padding: 0.25rem 0.7rem; border-radius: var(--r-full);
}

/* ---- Steps / Workflow ---- */
.steps { counter-reset: step; display: grid; gap: var(--sp-4); }
.step { display: flex; gap: var(--sp-4); align-items: flex-start; }
.step .step-n {
    counter-increment: step; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: var(--r-full);
    background: var(--brand-600); color: #fff; font-weight: 700;
    display: grid; place-items: center;
}
.step .step-n::before { content: counter(step); }
.step .step-body h4 { margin-bottom: 0.2rem; }
.step .step-body p { color: var(--text-muted); margin: 0; }

/* ---- Accordion / FAQ ---- */
.accordion { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--border); }
.acc-btn {
    display: flex; width: 100%; justify-content: space-between; gap: 1rem; align-items: center;
    padding: 1.15rem 1.35rem; background: none; border: 0; cursor: pointer;
    font: inherit; font-weight: 600; font-size: var(--fs-md); text-align: left; color: var(--text);
}
.acc-btn:hover { background: var(--bg-subtle); }
.acc-btn .acc-ic { flex-shrink: 0; width: 22px; height: 22px; transition: transform var(--t); color: var(--brand-600); }
.acc-btn[aria-expanded="true"] .acc-ic { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.acc-panel-inner { padding: 0 1.35rem 1.25rem; color: var(--text-muted); }

/* ---- Tabellen ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
thead th { background: var(--bg-subtle); font-weight: 700; color: var(--gray-800); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-subtle); }
.cmp-yes { color: var(--success); font-weight: 700; }
.cmp-no { color: var(--gray-400); }
.cmp-col-vlyx { background: var(--brand-50); }
th.cmp-col-vlyx { background: var(--brand-100); }

/* ---- Breadcrumbs ---- */
.breadcrumbs { padding-block: 0.9rem; font-size: var(--fs-sm); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; align-items: center; color: var(--text-soft); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--gray-300); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---- CTA-Band ---- */
.cta-band { background: linear-gradient(115deg, var(--brand-700), var(--brand-600) 55%, var(--brand-500)); color: #fff; border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, var(--sp-8)); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(52,211,153,0.35), transparent 70%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #d6f2f0; position: relative; max-width: 60ch; }
.cta-band .hero-actions { position: relative; }

/* ---- Transparenz-Banner ---- */
.transparency {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
    max-width: 640px; margin-inline: auto;
    background: var(--ink-900); color: #d7e6e5;
    border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); padding: 1.15rem 1.35rem;
    display: flex; gap: 1rem; align-items: flex-start;
}
.transparency[hidden] { display: none; }
.transparency p { font-size: var(--fs-sm); margin: 0; line-height: 1.5; }
.transparency a { color: var(--mint-300); }
.transparency .t-actions { margin-top: 0.75rem; display: flex; gap: 0.5rem; }
.transparency .btn { padding: 0.5rem 0.9rem; font-size: var(--fs-sm); }
.transparency .t-close { flex-shrink: 0; background: none; border: 0; color: #7fa3a1; cursor: pointer; padding: 0.25rem; }
.transparency .t-close:hover { color: #fff; }

/* ---- Formulare ---- */
.form-field { margin-bottom: var(--sp-4); }
.form-field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 0.35rem; }
.form-field .req { color: var(--danger); }
.form-field .hint { font-size: var(--fs-xs); color: var(--text-soft); margin-top: 0.3rem; }
.input, .textarea, .select {
    width: 100%; font: inherit; font-size: var(--fs-base);
    padding: 0.75rem 0.9rem; border: 1.5px solid var(--border-strong);
    border-radius: var(--r-md); background: #fff; color: var(--text);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(14,165,164,0.15); }
.textarea { min-height: 150px; resize: vertical; }
.input:user-invalid, .textarea:user-invalid { border-color: var(--danger); }
.checkbox-row { display: flex; gap: 0.6rem; align-items: flex-start; }
.checkbox-row input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--brand-600); }
.checkbox-row label { font-weight: 500; font-size: var(--fs-sm); margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.15rem; border-radius: var(--r-md); font-size: var(--fs-sm); margin-bottom: var(--sp-5); border: 1px solid transparent; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* ---- Footer ---- */
.site-footer { background: var(--ink-900); color: #a8c1c0; padding-block: var(--sp-8) var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--sp-6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .wordmark { color: #fff; font-weight: 800; font-size: 1.4rem; }
.footer-brand p { color: #86a5a4; font-size: var(--fs-sm); margin-top: 0.75rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: #a8c1c0; font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--mint-300); text-decoration: none; }
.footer-bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--fs-sm); color: #86a5a4; }
.footer-bottom a { color: #a8c1c0; }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---- Produkt-Mockups (illustrativ) ---- */
.mockup { margin: 0; }
.mk-frame { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(0,0,0,0.06); }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f1f5f9; border-bottom: 1px solid var(--border); }
.mk-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mk-dot:nth-child(1){ background:#f87171; } .mk-dot:nth-child(2){ background:#fbbf24; } .mk-dot:nth-child(3){ background:#34d399; }
.mk-url { margin-left: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #64748b; background: #fff; border: 1px solid var(--border); border-radius: var(--r-full); padding: 3px 10px; }
.mk-url svg { width: 11px; height: 11px; }
.mk-shot { display: block; width: 100%; height: auto; background: #f8fafc; }
.mk-app { display: grid; grid-template-columns: 56px 1fr; min-height: 300px; }
.mk-side { background: #0b242b; padding: 14px 10px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.mk-logo { width: 26px; height: 26px; border-radius: 7px; background: var(--pa); }
.mk-nav { width: 30px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); }
.mk-nav.is-on { background: var(--pa); opacity: 0.9; }
.mk-main { padding: 16px; background: #f8fafc; }
.mk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mk-title { width: 130px; height: 14px; border-radius: 5px; background: #cbd5e1; }
.mk-btn { width: 64px; height: 24px; border-radius: 6px; background: var(--pa); }
.mk-search { width: 120px; height: 22px; border-radius: var(--r-full); background: #e2e8f0; }
.mk-kanban { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mk-col { background: #eef2f6; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.mk-colh { height: 8px; width: 60%; border-radius: 4px; background: #cbd5e1; }
.mk-card { background: #fff; border-radius: 6px; padding: 8px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 5px; border-left: 3px solid var(--pa); }
.mk-card i { height: 6px; border-radius: 3px; background: #cbd5e1; display: block; }
.mk-card i.s { width: 55%; background: #e2e8f0; }
.mk-split { display: grid; grid-template-columns: 1fr 0.9fr; gap: 10px; }
.mk-list { display: flex; flex-direction: column; gap: 6px; }
.mk-row { display: flex; align-items: center; gap: 6px; padding: 8px; background: #fff; border-radius: 6px; border: 1px solid var(--border); }
.mk-row.is-on { border-color: var(--pa); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pa) 25%, transparent); }
.mk-row i { height: 7px; border-radius: 3px; background: #cbd5e1; flex: 1; }
.mk-row i.s { flex: 0 0 24px; background: #e2e8f0; }
.mk-row i.b { flex: 0 0 16px; background: var(--pa); opacity: 0.7; }
.mk-doc { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.mk-pdf { display: block; height: 100%; min-height: 150px; border-radius: 4px; background: repeating-linear-gradient(#f1f5f9, #f1f5f9 10px, #fff 10px, #fff 20px); border: 1px dashed #cbd5e1; }
.mk-tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.mk-tile { height: 46px; border-radius: 8px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--pa); }
.mk-tile.warn { border-top-color: var(--warning); }
.mk-listlines { display: flex; flex-direction: column; gap: 8px; }
.mk-listlines span { height: 30px; border-radius: 6px; background: #fff; border: 1px solid var(--border); }
.mk-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.mk-tabs span { width: 52px; height: 10px; border-radius: 4px; background: #e2e8f0; }
.mk-tabs span.is-on { background: var(--pa); }
.mk-chapters { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.mk-ch { height: 26px; border-radius: 6px; background: #fff; border: 1px solid var(--border); position: relative; }
.mk-ch.done { border-left: 4px solid var(--success); } .mk-ch.is-on { border-left: 4px solid var(--pa); box-shadow: var(--shadow-xs); }
.mk-sign { background: #fff; border: 1px dashed var(--border-strong); border-radius: 8px; height: 60px; display: grid; place-items: center; }
.mk-sig { width: 60%; height: 22px; background: linear-gradient(90deg, transparent, var(--pa) 30%, var(--pa) 60%, transparent); opacity: 0.5; border-radius: 4px; }
.mk-files { display: flex; flex-direction: column; gap: 8px; }
.mk-file { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 8px; }
.mk-file .fi { width: 22px; height: 22px; border-radius: 5px; background: color-mix(in srgb, var(--pa) 20%, white); flex-shrink: 0; }
.mk-file i { height: 7px; border-radius: 3px; background: #cbd5e1; flex: 1; }
.mk-file i.s { flex: 0 0 40px; background: #e2e8f0; }
.mk-timer { width: 70px; height: 24px; border-radius: 6px; background: color-mix(in srgb, var(--pa) 22%, white); border: 1px solid var(--pa); }
.mk-bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.mk-bars span { flex: 1; background: var(--pa); border-radius: 5px 5px 0 0; opacity: 0.85; }
.mk-cap { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--text-soft); display: inline-flex; align-items: center; gap: 5px; }
.mk-cap svg { width: 14px; height: 14px; }
.section-dark .mk-cap { color: #7fa3a1; }

/* ---- Architekturdiagramme ---- */
.vlyx-diagram { margin: 0; }
.vlyx-diagram svg { width: 100%; height: auto; }
.diag-cap { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); text-align: center; }
.section-dark .diag-cap { color: #9fbdbb; }
.section-dark .vlyx-diagram .diag-node circle[fill="#ffffff"] { fill: #0f2f38; }
.section-dark .vlyx-diagram text[fill="#0d1b2a"] { fill: #cfe3e2; }

.diag-flow { stroke-dasharray: 6 8; }
@media (prefers-reduced-motion: no-preference) {
    .diag-flow { animation: diag-dash 1.4s linear infinite; }
    .diag-node, .diag-hub { transform-box: fill-box; transform-origin: center; }
    .diag-hub { animation: diag-pulse 3.2s ease-in-out infinite; }
}
@keyframes diag-dash { to { stroke-dashoffset: -28; } }
@keyframes diag-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.82; } }

/* Technisches Architekturdiagramm (Schichten) */
.arch-tech { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.arch-layer { padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--border); background: #fff; }
.arch-layer:last-child { border-bottom: 0; }
.arch-layer .arch-label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-700); margin-bottom: 0.6rem; }
.arch-layer .arch-items { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.arch-chip { font-size: var(--fs-xs); font-weight: 600; padding: 0.4rem 0.75rem; border-radius: var(--r-sm); background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--border); }
.arch-layer.layer-security { background: var(--brand-50); }
.arch-layer.layer-data { background: #fbfdff; }
.arch-flow-note { font-size: var(--fs-sm); color: var(--text-muted); }

/* Lösungsfinder */
.finder { max-width: 760px; margin-inline: auto; }
.finder-step { display: none; }
.finder-step.active { display: block; animation: fade-in var(--t); }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.finder-progress { height: 8px; background: var(--gray-150); border-radius: var(--r-full); overflow: hidden; margin-bottom: var(--sp-6); }
.finder-progress span { display: block; height: 100%; background: var(--brand-500); transition: width var(--t); }
.finder-options { display: grid; gap: 0.75rem; margin-top: var(--sp-5); }
.finder-opt { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 1.15rem; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; background: #fff; transition: border-color var(--t-fast), background var(--t-fast); text-align: left; font: inherit; }
.finder-opt:hover { border-color: var(--brand-400); background: var(--brand-50); }
.finder-opt input { margin-top: 3px; accent-color: var(--brand-600); width: 18px; height: 18px; flex-shrink: 0; }
.finder-opt .fo-text strong { display: block; }
.finder-opt .fo-text span { font-size: var(--fs-sm); color: var(--text-muted); }
.finder-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: var(--sp-6); }
.finder-result-card { border-left: 4px solid var(--brand-500); }

/* Interaktive Produktmatrix */
.matrix-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--sp-5); }
.matrix-filter { font: inherit; font-size: var(--fs-sm); font-weight: 600; padding: 0.5rem 1rem; border-radius: var(--r-full); border: 1.5px solid var(--border-strong); background: #fff; color: var(--gray-700); cursor: pointer; transition: all var(--t-fast); }
.matrix-filter[aria-pressed="true"] { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.matrix-hidden { display: none !important; }

/* Responsive Zwei-Spalten-Layouts */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: start; }
.two-col.wide-left { grid-template-columns: 1.5fr 1fr; }
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--sp-7); align-items: start; max-width: 1000px; margin-inline: auto; }
@media (max-width: 900px) {
    .two-col, .two-col.wide-left { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-toc { display: none; }
}

/* Artikel-Typografie */
.article-body { font-size: var(--fs-md); line-height: 1.8; color: var(--gray-800); }
.article-body > * + * { margin-top: 1.25rem; }
.article-body h2 { margin-top: 2.5rem; padding-top: 0.5rem; }
.article-body h3 { margin-top: 1.75rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; }
.article-body li + li { margin-top: 0.4rem; }
.article-body blockquote { border-left: 4px solid var(--brand-400); padding: 0.5rem 0 0.5rem 1.25rem; color: var(--gray-700); font-style: italic; background: var(--brand-50); border-radius: 0 var(--r-md) var(--r-md) 0; }
.article-body code { background: var(--gray-100); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }
.article-body pre.code-block { background: var(--ink-900); color: #d7e6e5; padding: 1.1rem 1.25rem; border-radius: var(--r-md); overflow-x: auto; }
.article-body pre.code-block code { background: none; color: inherit; }
.article-toc { position: sticky; top: calc(var(--header-h) + 1rem); }
.article-toc ul { list-style: none; padding: 0; display: grid; gap: 0.4rem; border-left: 2px solid var(--border); }
.article-toc a { display: block; padding: 0.2rem 0 0.2rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-muted); font-size: var(--fs-sm); }
.article-toc a:hover, .article-toc a.active { color: var(--brand-700); border-color: var(--brand-500); text-decoration: none; }

/* ==========================================================================
   5) UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--sp-2); } .mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); } .mb-6 { margin-bottom: var(--sp-6); }
.maxw-narrow { max-width: var(--container-narrow); }
.flex { display: flex; } .items-center { align-items: center; } .gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); }
.flex-wrap { flex-wrap: wrap; }
.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; }
.muted { color: var(--text-muted); }
.stack > * + * { margin-top: var(--sp-4); }
.divider { height: 1px; background: var(--border); border: 0; margin-block: var(--sp-6); }
[data-accent-var] { --pa: var(--brand-500); }
.visually-hidden { position:absolute; clip: rect(0 0 0 0); width:1px; height:1px; overflow:hidden; }
