/* Einheitliche Spaltenbreiten für alle sg-table Tabellen */
.sg-table th:nth-child(1),
.sg-table td:nth-child(1) {
    width: 44%;
}
.sg-table th:nth-child(2),
.sg-table td:nth-child(2) {
    width: 28%;
}
.sg-table th:nth-child(3),
.sg-table td:nth-child(3) {
    width: 28%;
}
/* Footer-Logo immer weiß */
.footer-brand .logo-mark {
    color: #fff;
}

:root {
    --bg: #faf9f8;
    --bg-elevated: #f3f2f1;
    --bg-surface: #edebe9;
    --bg-dark: #2a363b;
    --bg-dark-elevated: #232d31;
    --border: rgba(42,54,59,0.08);
    --border-light: rgba(255,255,255,0.1);
    --border-strong: rgba(42,54,59,0.14);
    --text-primary: #2a363b;
    --text-secondary: rgba(42,54,59,0.62);
    --text-tertiary: rgba(42,54,59,0.4);
    --accent: #ec5f65;
    --accent-light: #ffffff;
    --accent-muted: rgba(236,95,101,0.08);
    --accent-glow: rgba(236,95,101,0.10);
    /* Semantic colors */
    --warning: #FF8A00;
    --info: #5B7C99;
    --success: #4F8A8B;
    --danger: #D84C4C;
}

body,
body * {
    font-family: 'Exo', sans-serif !important;
}

        * { scroll-behavior: smooth; box-sizing: border-box; }
        html, body {
            min-height: 100%;
        }
        body {
            font-family: 'Exo', sans-serif;
            font-size: 14px;
            background: var(--bg);
            color: var(--text-primary);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
            transition: opacity 0.6s ease;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .page-content {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .page-content > .site-footer {
            margin-top: auto;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Exo', sans-serif;
        }

/* Entfernt: Doppelte body-Regel mit opacity: 0, die Login/Admin blockiert hat */
        body.loaded { opacity: 1; }
        body.page-leaving { opacity: 0; transition: opacity 0.3s ease; }

        /* ---- Überschriften kräftiger ---- */
        h1 { font-weight: 800; letter-spacing: -0.02em; }
        h2 { font-weight: 700; letter-spacing: -0.02em; }
        h3, h4, h5, h6 { font-weight: 700; }

        /* Grain/Noise-Overlay */
        /* Claim: Stil für den wiederkehrenden Claim "next level krisenmanagement" */
        .claim-text {
            text-transform: lowercase;
            font-weight: 700; /* Bold */
            letter-spacing: 0.02em;
            display: inline-block;
        }
        .claim-text .claim-em {
            font-style: italic;
            font-weight: 700; /* Bold + Italic */
            display: inline-block;
            margin-right: 0.25ch;
        }

        a { color: var(--text-primary); text-decoration: none; }

        /* ---- ARIX-Link: Einheitlicher Content-Link (Accent + Unterstrich + Pfeil) ---- */
        .arix-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--accent);
            border: none;
            border-bottom: 1.5px solid var(--accent);
            background: none;
            padding: 0 0 2px 0;
            cursor: pointer;
            font-family: inherit;
            letter-spacing: 0.01em;
            text-decoration: none;
            transition: gap 0.25s cubic-bezier(0.16,1,0.3,1), color 0.2s ease;
        }
        .arix-link .arrow {
            display: inline-block;
            font-size: 1em;
            transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
        }
        .arix-link:hover {
            gap: 10px;
            color: var(--accent);
            border-color: var(--accent);
        }
        .arix-link:hover .arrow {
            transform: translateX(4px);
        }
        .arix-link:focus-visible {
            outline: 2px solid var(--accent-glow);
            outline-offset: 3px;
        }

        /* Inline-Links in Content-Bereichen erben ebenfalls Accent */
        .legal-content a,
        .article-body a {
            color: var(--accent);
            text-decoration: none;
            font-weight: inherit;
            border-bottom: 1px solid transparent;
            transition: border-color 0.25s ease, color 0.2s ease;
        }
        .article-body a {
            display: inline;
        }
        .article-body a::after {
            content: '\F470';
            font-family: 'bootstrap-icons';
            font-size: 0.7em;
            margin-left: 3px;
            vertical-align: 1px;
            opacity: 0.6;
            transition: opacity 0.2s ease;
        }
        .article-body a:hover {
            border-bottom-color: var(--accent);
        }
        .article-body a:hover::after {
            opacity: 1;
        }
        .legal-content a {
            text-decoration: underline;
            text-decoration-color: var(--accent);
            text-decoration-thickness: 1px;
            text-underline-offset: 3px;
        }
        .legal-content a:hover {
            color: var(--accent);
        }

        .section-padding { padding: 120px 0; }

        /* Fade-in on scroll */
        .fade-up {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
        }
        .fade-up.visible { opacity: 1; transform: translateY(0); }

        /* Overline */
        .overline {
            font-size: 0.7rem;
            font-weight: 500;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--text-secondary);
        }

        /* Accent line */
        .accent-line {
            width: 40px;
            height: 2px;
            background: var(--text-primary);
            border: none;
            margin-bottom: 24px;
        }

        /* ---- Navbar ---- */
        .site-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 200;
            padding: 18px 5vw;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: padding 0.5s cubic-bezier(0.16,1,0.3,1);
        }
        .site-nav::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(255,255,255,0.65);
            -webkit-backdrop-filter: blur(40px) saturate(200%);
            backdrop-filter: blur(40px) saturate(200%);
            border-bottom: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 1px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(255,255,255,0.5) inset;
            opacity: 0;
            transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1);
            z-index: -1;
        }
        body.scrolled .site-nav {
            padding: 14px 5vw;
        }
        body.scrolled .site-nav .logo-mark {
            height: 44px;
        }
        body.scrolled .site-nav::before {
            opacity: 1;
        }
        .site-nav .logo-mark {
            color: var(--text-primary);
            transition: color 0.3s cubic-bezier(0.16,1,0.3,1), height 0.5s cubic-bezier(0.16,1,0.3,1);
        }
        body:not(.scrolled):not(.page-sub) .site-nav .logo-mark {
            color: #fff;
        }
        .site-nav .burger span {
            background: #fff;
            transition: background 0.3s cubic-bezier(0.16,1,0.3,1), transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
        }
        body.scrolled .site-nav .logo-mark {
            color: var(--text-primary);
        }
        body.scrolled .site-nav .burger span {
            background: var(--text-primary);
        }
        body.scrolled .site-nav .burger {
            width: 40px;
            height: 40px;
        }
        body.scrolled .site-nav .burger span {
            width: 22px;
        }
        body.menu-open .site-nav::before {
            opacity: 0;
            transition: opacity 0.25s ease 0.18s;
        }

        /* Beim Öffnen: Logo/Burger-Farbwechsel verzögert bis Circle da ist */
        body.menu-open .site-nav .logo-mark {
            color: #fff !important;
            transition: color 0.4s cubic-bezier(0.16,1,0.3,1) 0.08s, height 0.6s cubic-bezier(0.16,1,0.3,1) 0.06s !important;
        }
        body.menu-open .site-nav {
            padding: 18px 5vw !important;
            transition: padding 0.6s cubic-bezier(0.16,1,0.3,1) 0.06s !important;
        }
        @media (min-width: 768px) {
            body.menu-open .site-nav .logo-mark {
                height: 72px !important;
            }
            body.menu-open .site-nav .burger {
                width: 48px !important;
                height: 48px !important;
                transition: width 0.6s cubic-bezier(0.16,1,0.3,1) 0.06s, height 0.6s cubic-bezier(0.16,1,0.3,1) 0.06s !important;
            }
            body.menu-open .site-nav .burger span {
                width: 28px !important;
            }
        }
        body.menu-open .site-nav .burger span {
            background: #fff !important;
            transition: background 0.4s cubic-bezier(0.16,1,0.3,1) 0.08s, transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), width 0.6s cubic-bezier(0.16,1,0.3,1) 0.06s !important;
        }

        /* Subpage: Nav immer dunkel auf weiß, immer kompakt */
        .page-sub .site-nav .logo-mark {
            color: var(--text-primary);
        }
        .page-sub .site-nav .burger span {
            background: var(--text-primary);
        }
        .page-sub .site-nav::before {
            opacity: 1;
        }
        .page-sub .site-nav {
            padding: 14px 5vw;
        }
        .page-sub .site-nav .logo-mark {
            height: 44px;
        }
        .page-sub .site-nav .burger {
            width: 40px;
            height: 40px;
        }
        .page-sub .site-nav .burger span {
            width: 22px;
        }

        .logo-mark {
            height: 72px;
            display: flex;
            align-items: center;
            transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
        }
        .logo-mark svg {
            height: 100%;
            width: auto;
            display: block;
            fill: currentColor;
        }

        /* Burger button */
        .burger {
            width: 48px;
            height: 48px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            z-index: 200;
            transition: width 0.5s cubic-bezier(0.16,1,0.3,1), height 0.5s cubic-bezier(0.16,1,0.3,1);
        }
        .burger span {
            display: block;
            width: 26px;
            height: 2px;
            background: #fff;
            border-radius: 1px;
            transition: background 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), width 0.5s cubic-bezier(0.16,1,0.3,1);
            transform-origin: center;
        }
        .burger.active span:nth-child(1) {
            transform: translateY(4px) rotate(45deg);
            background: #fff;
        }
        .burger.active span:nth-child(2) {
            transform: translateY(-4px) rotate(-45deg);
            background: #fff;
        }

        /* Fullscreen overlay */
        .menu-overlay {
            position: fixed;
            inset: 0;
            z-index: 150;
            background: var(--bg-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            clip-path: inset(0 0 100% 100%);
            transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1);
        }
        .menu-overlay.open {
            clip-path: inset(0 0 0 0);
            pointer-events: auto;
        }

        .menu-glow {
            position: absolute;
            inset: 0;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        .menu-overlay.open .menu-glow { opacity: 1; }

        .menu-overlay nav {
            text-align: left;
            position: relative;
        }

        .menu-overlay nav::before {
            content: '';
            position: absolute;
            left: -2px;
            top: 10%;
            width: 1px;
            height: 80%;
            background: rgba(255,255,255,0.06);
            transform: scaleY(0);
            transform-origin: top;
            transition: transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.25s;
        }
        .menu-overlay.open nav::before {
            transform: scaleY(1);
        }

        .menu-link {
            display: flex;
            align-items: baseline;
            gap: 20px;
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 500;
            color: rgba(255,255,255,0.55);
            letter-spacing: -0.02em;
            padding: 16px 0 16px 24px;
            transition: opacity 0.25s ease, transform 0.25s ease, color 0.35s ease, letter-spacing 0.35s ease;
            transform: translateY(30px);
            opacity: 0;
            position: relative;
            text-decoration: none;
        }
        .menu-link .menu-index {
            font-size: 0.7rem;
            font-weight: 400;
            letter-spacing: 0.06em;
            color: rgba(255,255,255,0.35);
            min-width: 24px;
            transition: color 0.35s ease, transform 0.35s ease;
            transform: translateX(-8px);
            font-variant-numeric: tabular-nums;
        }
        .menu-link .menu-label {
            position: relative;
        }
        .menu-link:hover {
            color: #ffffff;
            letter-spacing: 0;
        }
        .menu-link:hover .menu-index {
            color: rgba(255,255,255,0.8);
            transform: translateX(0);
        }
        .menu-link::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #fff;
            transform: translateY(-50%) scale(0);
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .menu-link:hover::before {
            transform: translateY(-50%) scale(1);
        }
        .menu-link::after {
            content: '';
            position: absolute;
            bottom: 12px;
            left: 24px;
            width: 0;
            height: 1px;
            background: rgba(255,255,255,0.35);
            transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
        }
        .menu-link:hover::after {
            width: 100%;
        }

        .menu-overlay.open .menu-link,
        .menu-overlay.open .menu-group > .menu-link {
            opacity: 1;
            transform: translateY(0);
        }
        .menu-overlay.open .menu-link:nth-child(1),
        .menu-overlay.open .menu-group:nth-child(1) > .menu-link { transition: opacity 0.5s ease 0.15s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.15s, color 0.35s ease, letter-spacing 0.35s ease; }
        .menu-overlay.open .menu-link:nth-child(2),
        .menu-overlay.open .menu-group:nth-child(2) > .menu-link { transition: opacity 0.5s ease 0.22s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.22s, color 0.35s ease, letter-spacing 0.35s ease; }
        .menu-overlay.open .menu-link:nth-child(3),
        .menu-overlay.open .menu-group:nth-child(3) > .menu-link { transition: opacity 0.5s ease 0.29s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.29s, color 0.35s ease, letter-spacing 0.35s ease; }
        .menu-overlay.open .menu-link:nth-child(4),
        .menu-overlay.open .menu-group:nth-child(4) > .menu-link { transition: opacity 0.5s ease 0.36s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.36s, color 0.35s ease, letter-spacing 0.35s ease; }
        .menu-overlay.open .menu-link:nth-child(5),
        .menu-overlay.open .menu-group:nth-child(5) > .menu-link { transition: opacity 0.5s ease 0.43s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.43s, color 0.35s ease, letter-spacing 0.35s ease; }
        .menu-overlay.open .menu-link:nth-child(6),
        .menu-overlay.open .menu-group:nth-child(6) > .menu-link { transition: opacity 0.5s ease 0.50s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.50s, color 0.35s ease, letter-spacing 0.35s ease; }

        .menu-group {
            position: relative;
        }
        .menu-group > .menu-link {
            cursor: pointer;
        }
        .menu-toggle-icon {
            display: inline-flex;
            align-items: center;
            margin-left: 12px;
            font-size: 0.5em;
            opacity: 0.3;
            transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
        }
        .menu-group.open > .menu-link .menu-toggle-icon {
            transform: rotate(180deg);
            opacity: 0.6;
        }
        .menu-group > .menu-link:hover .menu-toggle-icon {
            opacity: 0.6;
        }

        .menu-sub {
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1);
            padding-left: 44px;
        }
        .menu-group.open .menu-sub {
            max-height: 300px;
        }
        .menu-sub-link {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: clamp(0.85rem, 1.8vw, 1.1rem);
            font-weight: 400;
            color: rgba(255,255,255,0.45);
            letter-spacing: 0.02em;
            padding: 8px 0 8px 24px;
            text-decoration: none;
            position: relative;
            opacity: 0;
            transform: translateX(-10px);
            transition: opacity 0.3s ease, transform 0.3s ease, color 0.25s ease;
        }
        .menu-group.open .menu-sub-link {
            opacity: 1;
            transform: translateX(0);
        }
        .menu-group.open .menu-sub-link:nth-child(1) { transition-delay: 0.06s; }
        .menu-group.open .menu-sub-link:nth-child(2) { transition-delay: 0.12s; }
        .menu-group.open .menu-sub-link:nth-child(3) { transition-delay: 0.18s; }
        .menu-group.open .menu-sub-link:nth-child(4) { transition-delay: 0.24s; }
        .menu-group.open .menu-sub-link:nth-child(5) { transition-delay: 0.30s; }

        .menu-sub-link::before {
            content: '';
            width: 16px;
            height: 1px;
            background: rgba(255,255,255,0.25);
            flex-shrink: 0;
            transition: width 0.25s ease, background 0.25s ease;
        }
        .menu-sub-link:hover {
            color: rgba(255,255,255,0.95);
        }
        .menu-sub-link:hover::before {
            width: 24px;
            background: rgba(255,255,255,0.7);
        }

        .menu-claim {
            position: absolute;
            bottom: 48px;
            left: 0;
            right: 0;
            text-align: center;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
        }
        .menu-overlay.open .menu-claim { opacity: 1; transform: translateY(0); }
        .menu-claim .claim-text {
            font-weight: 600;
            letter-spacing: 0.12em;
            color: rgba(255,255,255,0.5);
        }
        .menu-claim .claim-text strong {
            font-weight: 600;
            color: rgba(255,255,255,0.75);
        }

        /* ---- Hero ---- */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding: 0 5vw;
            background: url('../media/ARIX-Gradient-Athrazit2Red.jpg') top center/cover no-repeat !important;
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 70vw;
            height: 70vw;
            max-width: 900px;
            max-height: 900px;
            background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
            pointer-events: none;
            animation: heroGlow 8s ease-in-out infinite alternate;
        }
        @keyframes heroGlow {
            0% { opacity: 0.3; transform: translate(0,0); }
            100% { opacity: 0.6; transform: translate(-40px, 30px); }
        }
        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15) 50%, transparent);
            opacity: 0.5;
            /* Animation-Keyframes entfernt, da sie hier nicht hingehören */
        }

        .hero h1 {
            font-size: clamp(2.8rem, 6vw, 5rem);
            font-weight: 800;
            line-height: 1.08;
            letter-spacing: 0.01em;
            max-width: 820px;
            color: #ffffff;
        }
        /* Make the hero overline slightly larger for emphasis */
        .hero .overline {
            font-size: clamp(1rem, 2.2vw, 1.25rem);
            font-weight: 600;
            color: rgba(255,255,255,0.85);
            margin-bottom: 0.75rem;
            letter-spacing: 0.06em;
            text-transform: none;
        }
        .hero h1 .hero-accent {
            color: rgba(255,255,255,0.6);
        }
        .hero p.lead {
            font-size: 1.15rem;
            font-weight: 400;
            color: rgba(255,255,255,0.5);
            max-width: 560px;
            line-height: 1.75;
        }
        .hero .overline { color: rgba(255,255,255,0.4); }

        .hero-cta {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-primary);
            background: #ffffff;
            padding: 14px 28px;
            border: none;
            transition: background 0.3s ease, gap 0.3s cubic-bezier(0.16,1,0.3,1);
            text-decoration: none;
        }
        .hero-cta span {
            display: inline-block;
            transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
        }
        .hero-cta:hover {
            background: rgba(255,255,255,0.88);
            color: var(--text-primary);
        }
        .hero-cta:hover span {
            transform: translateX(4px);
        }
        .hero-cta-ghost {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.15);
            color: rgba(255,255,255,0.7);
        }
        .hero-cta-ghost:hover {
            background: rgba(255,255,255,0.05);
            border-color: rgba(255,255,255,0.3);
            color: #fff;
            box-shadow: none;
        }

        /* .text-link → ersetzt durch .arix-link (Klasse in HTML austauschen) */
        .text-link { /* Fallback falls HTML noch nicht umgestellt */
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--accent);
            border-bottom: 1.5px solid var(--accent);
            padding-bottom: 2px;
            text-decoration: none;
            transition: gap 0.25s cubic-bezier(0.16,1,0.3,1), color 0.2s ease;
        }
        .text-link:hover { gap: 10px; }
        .text-link .arrow { transition: transform 0.25s cubic-bezier(0.16,1,0.3,1); }
        .text-link:hover .arrow { transform: translateX(4px); }

        .about-section { border-bottom: 1px solid var(--border); }

        .ecosystem-section {
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid var(--border);
            background: linear-gradient(180deg, #f9fafb 0%, #f1f4f6 100%);
            --motif-opacity: 0.009;
            --motif-scale: 210%;
            --motif-fade-x: 72%;
            --motif-fade-y: 56%;
            --motif-fade-rx: 90%;
            --motif-fade-ry: 82%;
        }
        .ecosystem-section--subtle {
            --motif-opacity: 0.006;
            --motif-scale: 230%;
            --motif-fade-rx: 76%;
            --motif-fade-ry: 70%;
        }
        .ecosystem-section--strong {
            --motif-opacity: 0.012;
            --motif-scale: 192%;
            --motif-fade-rx: 98%;
            --motif-fade-ry: 90%;
        }
        .ecosystem-section::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(560px circle at 8% 12%, rgba(255,255,255,0.55), transparent 60%),
                radial-gradient(520px circle at 92% 84%, rgba(42,54,59,0.07), transparent 62%);
        }
        .ecosystem-section::after {
            content: '';
            position: absolute;
            inset: -12%;
            pointer-events: none;
            background-color: rgba(42,54,59,0.9);
            -webkit-mask-image:
                url('../media/ARIX-Graphic-white.svg'),
                radial-gradient(ellipse var(--motif-fade-rx) var(--motif-fade-ry) at var(--motif-fade-x) var(--motif-fade-y), black 0%, transparent 100%);
            -webkit-mask-size: var(--motif-scale) auto, 100% 100%;
            -webkit-mask-position: center, center;
            -webkit-mask-composite: source-in;
            mask-image:
                url('../media/ARIX-Graphic-white.svg'),
                radial-gradient(ellipse var(--motif-fade-rx) var(--motif-fade-ry) at var(--motif-fade-x) var(--motif-fade-y), black 0%, transparent 100%);
            mask-size: var(--motif-scale) auto, 100% 100%;
            mask-position: center, center;
            mask-composite: intersect;
            opacity: var(--motif-opacity);
        }
        .ecosystem-section .container {
            position: relative;
            z-index: 1;
        }

        .product-card {
            background: #fff;
            border: none;
            box-shadow: inset 0 0 0 1px var(--border);
            padding: 0;
            height: 100%;
            transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
            position: relative;
            overflow: hidden;
        }
        .product-card:hover {
            background: var(--accent);
            box-shadow: 0 12px 40px rgba(236,95,101,0.18);
            transform: translateY(-2px);
        }
        .product-card:hover h4,
        .product-card:hover p,
        .product-card:hover .card-num {
            color: #fff;
        }
        .product-card:hover p {
            color: rgba(255,255,255,0.75);
        }
        .product-card:hover .card-num {
            color: rgba(255,255,255,0.55);
        }
        .product-card img {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            display: block;
        }
        .product-card-body {
            padding: 24px 32px 32px;
        }
        .product-card h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
            transition: color 0.35s ease;
        }
        .product-card p {
            font-size: 0.88rem;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 20px;
            transition: color 0.35s ease;
        }
        .product-card .card-num {
            font-size: 0.65rem;
            font-weight: 600;
            color: var(--text-tertiary);
            letter-spacing: 0.12em;
            margin-bottom: 20px;
            font-variant-numeric: tabular-nums;
            transition: color 0.35s ease;
        }
        .product-card .arix-link {
            font-size: 0.8rem;
            opacity: 0;
            transform: translateY(4px);
            transition: all 0.3s ease;
        }
        .product-card:hover .arix-link {
            opacity: 1;
            transform: translateY(0);
            color: #fff;
            border-color: #fff;
        }

        .stats-strip {
            background: #fff;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        .stat-item {
            text-align: center;
            padding: 48px 16px;
        }
        .stat-item + .stat-item {
            border-left: 1px solid var(--border);
        }
        .stat-value {
            font-size: 2.8rem;
            font-weight: 700;
            letter-spacing: -0.04em;
            color: var(--text-primary);
        }
        .stat-value .stat-accent {
            color: var(--text-tertiary);
        }
        .stat-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-tertiary);
            margin-top: 8px;
            font-weight: 500;
        }

        .cta-section {
            border-bottom: 1px solid var(--border);
            background:
                radial-gradient(560px circle at 18% 28%, rgba(255,255,255,0.06), transparent 58%),
                radial-gradient(640px circle at 80% 68%, rgba(255,255,255,0.04), transparent 64%),
                var(--bg-dark);
            color: #fff;
            position: relative;
            overflow: hidden;
            --cta-motif-opacity: 0.011;
            --cta-motif-scale: 205%;
            --cta-motif-fade-x: 62%;
            --cta-motif-fade-y: 54%;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(255,255,255,0.025), transparent 100%);
        }
        .cta-section::after {
            content: '';
            position: absolute;
            inset: -12%;
            pointer-events: none;
            background-color: rgba(255,255,255,0.88);
            -webkit-mask-image:
                url('../media/ARIX-Graphic-white.svg'),
                radial-gradient(ellipse 96% 88% at var(--cta-motif-fade-x) var(--cta-motif-fade-y), black 0%, transparent 100%);
            -webkit-mask-size: var(--cta-motif-scale) auto, 100% 100%;
            -webkit-mask-position: center, center;
            -webkit-mask-composite: source-in;
            mask-image:
                url('../media/ARIX-Graphic-white.svg'),
                radial-gradient(ellipse 96% 88% at var(--cta-motif-fade-x) var(--cta-motif-fade-y), black 0%, transparent 100%);
            mask-size: var(--cta-motif-scale) auto, 100% 100%;
            mask-position: center, center;
            mask-composite: intersect;
            opacity: var(--cta-motif-opacity);
        }
        .cta-section h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            color: #fff;
        }
        .cta-section p { color: rgba(255,255,255,0.5); }
        .cta-section .overline {
            color: rgba(255,255,255,0.45);
            font-size: clamp(0.9rem, 1.3vw, 1.05rem);
            letter-spacing: 0.08em;
            font-weight: 700;
        }

        /* ---- Styleguide ---- */
        #styleguide {
            border-bottom: 1px solid var(--border);
            background: #fff;
        }
        #styleguide code {
            color: var(--text-tertiary);
            font-size: 0.8rem;
        }
        .color-swatch {
            width: 56px;
            height: 56px;
            border: 1px solid var(--border);
            border-radius: 4px;
        }



/* Visual panel (image-free eyecatcher) */
.visual-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    box-shadow: 0 18px 48px rgba(0,0,0,0.08), inset 0 -6px 18px rgba(255,255,255,0.02);
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}
.visual-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at 20% 20%, rgba(255,255,255,0.03), transparent 20%);
    pointer-events: none;
    mix-blend-mode: overlay;
}
.visual-badge {
    color: var(--text-primary);
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06));
    padding: 18px 28px;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

/* (pinned-section styles removed) */

@media (max-width: 991px) {
    .visual-panel { min-height: 220px; }
}


        .sg-label {
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--text-tertiary);
            margin-bottom: 24px;
        }

        .sg-blockquote {
            border-left: 3px solid var(--text-primary);
            padding: 20px 0 20px 28px;
            margin: 0;
        }
        .sg-blockquote p {
            font-size: 1.15rem;
            font-weight: 400;
            color: var(--text-primary);
            line-height: 1.7;
            margin: 0;
        }
        .sg-blockquote cite {
            font-style: normal;
            font-size: 0.8rem;
            color: var(--text-tertiary);
            margin-top: 12px;
            display: block;
        }

        .sg-callout {
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            padding: 28px 32px;
        }
        .sg-callout-accent {
            background: var(--bg-dark);
            color: #fff;
            border: none;
            padding: 28px 32px;
        }
        .sg-callout-accent p,
        .sg-callout-accent .sg-callout-title { color: #fff; }
        .sg-callout-accent p { color: rgba(255,255,255,0.6); }
        .sg-callout-title {
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            margin-bottom: 8px;
            color: var(--text-primary);
        }
        .sg-callout p { font-size: 0.9rem; margin-bottom: 0; }

        .sg-badge {
            display: inline-block;
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 5px 14px;
            border: 1px solid var(--border);
            color: var(--text-secondary);
            border-radius: 2px;
        }

        .sg-badge-filled {
            background: var(--text-primary);
            color: #fff;
            border-color: var(--text-primary);
        }
        .sg-badge-muted {
            background: var(--bg-surface);
            border-color: transparent;
            color: var(--text-secondary);
        }
        /* Farbige Status-Badges im ARIX-Style */
        .sg-badge-success {
            background: var(--success);
            color: #fff;
            border-color: var(--success);
        }
        .sg-badge-info {
            background: var(--info);
            color: #fff;
            border-color: var(--info);
        }
        .sg-badge-warning {
            background: var(--warning);
            color: #111;
            border-color: var(--warning);
        }
        .sg-badge-danger {
            background: var(--danger);
            color: #fff;
            border-color: var(--danger);
        }

        .sg-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sg-list li {
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .sg-list li:last-child { border-bottom: none; }
        .sg-list .list-marker {
            width: 6px;
            height: 6px;
            background: var(--text-primary);
            border-radius: 50%;
            flex-shrink: 0;
        }

        .sg-list-numbered {
            list-style: none;
            padding: 0;
            margin: 0;
            counter-reset: sg-counter;
        }
        .sg-list-numbered li {
            counter-increment: sg-counter;
            padding: 14px 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
            color: var(--text-secondary);
            display: flex;
            align-items: baseline;
            gap: 16px;
        }
        .sg-list-numbered li:last-child { border-bottom: none; }
        .sg-list-numbered li::before {
            content: counter(sg-counter, decimal-leading-zero);
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--text-tertiary);
            letter-spacing: 0.06em;
            flex-shrink: 0;
        }

        .sg-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            font-weight: 500;
            font-family: 'Exo', sans-serif;
            padding: 12px 28px;
            border: 1.5px solid var(--text-primary);
            background: transparent;
            color: var(--text-primary);
            cursor: pointer;
            transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
            letter-spacing: 0.02em;
        }
        .sg-btn span {
            display: inline-block;
            transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
        }
        .sg-btn:hover {
            background: var(--text-primary);
            color: #fff;
        }
        .sg-btn:hover span {
            transform: translateX(4px);
        }
        .sg-btn-filled {
            background: var(--accent);
            color: #fff;
            border: none;
            font-family: 'Exo', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            padding: 12px 28px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            transition: background 0.3s cubic-bezier(0.16,1,0.3,1);
        }
        .sg-btn-filled:hover {
            background: #f86f74;
            color: #fff;
        }
        .sg-btn-ghost {
            border-color: var(--border);
            color: var(--text-secondary);
        }
        .sg-btn-ghost:hover {
            border-color: var(--text-primary);
            color: var(--text-primary);
            background: transparent;
        }

        .sg-table {
            width: 100%;
            border-collapse: collapse;
            table-layout: fixed;
            font-size: 0.8rem;
        }
        .sg-table th {
            text-align: left;
            font-weight: 600;
            font-size: 0.6rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--text-tertiary);
            padding: 10px 12px;
            border-bottom: 1px solid var(--border-strong);
            background: var(--bg-elevated);
        }
        .sg-table td {
            padding: 12px 12px;
            border-bottom: 1px solid var(--border);
            color: var(--text-secondary);
        }
        .sg-table td:first-child {
            color: var(--text-primary);
            font-weight: 500;
        }
        .sg-table tr:hover td {
            background: rgba(42,54,59,0.02);
        }

        .sg-separator {
            display: flex;
            align-items: center;
            gap: 16px;
            color: var(--text-tertiary);
            font-size: 0.7rem;
            font-weight: 500;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }
        .sg-separator::before,
        .sg-separator::after {
            content: '';
            flex: 1;
            border-top: 1px solid var(--border);
        }

        .sg-input {
            width: 100%;
            font-family: 'Exo', sans-serif;
            font-size: 0.9rem;
            padding: 14px 0;
            border: none;
            border-bottom: 1.5px solid var(--border);
            background: transparent;
            color: var(--text-primary);
            outline: none;
            transition: border-color 0.25s ease;
        }
        .sg-input:focus { border-color: var(--text-primary); }
        .sg-input::placeholder { color: var(--text-tertiary); }
        .sg-input-label {
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--text-tertiary);
            margin-bottom: 4px;
        }
        .required-asterisk {
            color: var(--accent);
            font-weight: 700;
        }
        .contact-required-note {
            margin: 6px 0 0;
            font-size: 0.76rem;
            letter-spacing: 0.04em;
            color: var(--text-tertiary);
        }

        .contact-modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(16, 20, 24, 0.72);
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
            z-index: 1200;
            padding: 20px;
        }
        .contact-modal.is-open {
            display: flex;
        }
        .contact-modal-card {
            position: relative;
            width: min(620px, 100%);
            border: 1px solid var(--border);
            border-radius: 2px;
            background: #ffffff;
            padding: 34px 36px;
            box-shadow: 0 18px 42px rgba(16, 20, 24, 0.2);
        }
        .contact-modal-kicker {
            margin: 0 0 10px;
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--text-tertiary);
        }
        .contact-modal-success {
            border-color: rgba(79, 138, 139, 0.3);
        }
        .contact-modal-error {
            border-color: rgba(236, 95, 101, 0.3);
        }
        .contact-modal-title {
            margin: 0 0 10px;
            font-family: 'Exo', sans-serif;
            font-size: 1.45rem;
            font-weight: 700;
            letter-spacing: 0.01em;
            color: var(--text-primary);
        }
        .contact-modal-message {
            margin: 0;
            font-size: 1.02rem;
            color: var(--text-secondary);
            line-height: 1.68;
        }
        .contact-modal-close {
            margin-top: 22px;
            font-size: 0.9rem;
            letter-spacing: 0.02em;
        }
        @media (max-width: 600px) {
            .contact-modal-card {
                width: min(620px, 100%);
                padding: 24px 20px;
            }
            .contact-modal-title {
                font-size: 1.2rem;
            }
            .contact-modal-message {
                font-size: 0.96rem;
            }
        }
        .contact-honeypot {
            position: absolute !important;
            left: -9999px !important;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }

        .sg-note {
            font-size: 0.8rem;
            color: var(--text-tertiary);
            font-style: italic;
            padding-left: 16px;
            border-left: 2px solid var(--text-primary);
        }

        .sg-kv {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            padding: 14px 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
        }
        .sg-kv-key { color: var(--text-tertiary); font-weight: 500; }
        .sg-kv-value { color: var(--text-primary); font-weight: 500; }

        .sg-progress {
            height: 3px;
            background: var(--bg-surface);
            position: relative;
            overflow: hidden;
            border-radius: 2px;
        }
        .sg-progress-bar {
            height: 100%;
            background: var(--text-primary);
            border-radius: 2px;
            transition: width 0.6s ease;
        }

        /* ---- Footer ---- */
        .site-footer {
            background: var(--bg-dark);
            position: relative;
        }
        .site-footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1) 50%, transparent);
        }
        .footer-top {
            padding: 48px 0 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .footer-brand__logo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
        }
        .footer-brand .logo-mark {
            height: 80px;
            color: rgba(255,255,255,0.85);
        }

        .footer-powered {
            font-size: 0.72rem;
            color: rgba(255,255,255,0.65);
            letter-spacing: 0.04em;
        }
        .footer-socials {
            display: flex;
            gap: 4px;
        }
        .footer-socials a {
            width: 34px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.45);
            font-size: 0.85rem;
            transition: color 0.25s ease;
            text-decoration: none;
        }
        .footer-socials a:hover {
            color: #fff;
        }
        .footer-bottom-bar {
            padding: 20px 0;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .footer-legal {
            display: flex;
            gap: 20px;
            font-size: 0.72rem;
        }
        .footer-legal a {
            color: rgba(255,255,255,0.45);
            text-decoration: none;
            transition: color 0.25s ease;
        }
        .footer-legal a:hover {
            color: rgba(255,255,255,0.85);
        }
        .footer-copy {
            font-size: 0.65rem;
            color: rgba(255,255,255,0.3);
            letter-spacing: 0.03em;
        }

        /* ---- Blog ---- */
        .blog-card {
            border: 1px solid var(--border);
            background: #fff;
            overflow: hidden;
            transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
        }
        .blog-card:hover {
            border-color: var(--text-primary);
            box-shadow: 0 12px 40px rgba(0,0,0,0.08);
            transform: translateY(-4px);
        }
        .blog-card-img {
            width: 100%;
            aspect-ratio: 16/9;
            background: var(--bg-elevated);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }
        .blog-card-img .blog-placeholder {
            font-size: 2.5rem;
            color: var(--text-tertiary);
            opacity: 0.3;
            transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
        }
        .blog-card:hover .blog-card-img .blog-placeholder {
            transform: scale(1.12);
        }
        .blog-card-body {
            padding: 24px;
        }
        .blog-card-date {
            font-size: 0.7rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-tertiary);
            margin-bottom: 10px;
        }
        .blog-card-title {
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: -0.01em;
            color: var(--text-primary);
            margin-bottom: 10px;
            line-height: 1.35;
        }
        .blog-card-excerpt {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.55;
            margin-bottom: 16px;
        }
        /* .blog-card-link → nutzt jetzt .arix-link im HTML */
        .blog-card-link {
            font-size: 0.8rem;
        }
        .blog-tag {
            display: inline-block;
            font-size: 0.65rem;
            font-weight: 500;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            padding: 3px 8px;
            border: 1px solid var(--border);
            color: var(--text-tertiary);
            margin-right: 6px;
        }

        /* ---- To-Top Button ---- */
        .to-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            z-index: 180;
            width: 36px;
            height: 36px;
            border: 1px solid rgba(0,0,0,0.15);
            border-radius: 0;
            background: rgba(255,255,255,0.7);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transform: translateY(20px);
            pointer-events: none;
            transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1),
                        transform 0.5s cubic-bezier(0.16,1,0.3,1),
                        border-color 0.3s ease,
                        background 0.3s ease;
            box-shadow: none;
            overflow: hidden;
        }
        .to-top.visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        body.menu-open .to-top {
            opacity: 0 !important;
            pointer-events: none !important;
        }
        .to-top:hover {
            border-color: rgba(0,0,0,0.3);
            background: rgba(255,255,255,0.9);
        }
        .to-top-icon {
            font-size: 13px;
            color: var(--text-primary);
            transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
            line-height: 1;
        }
        .to-top:hover .to-top-icon {
            transform: translateY(-2px);
        }

        /* ---- Subpage Content ---- */
        .subpage-header {
            padding: 140px 0 60px;
            border-bottom: 1px solid var(--border);
        }
        .subpage-header h1 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            letter-spacing: -0.04em;
        }
        .legal-content {
            padding: 60px 0 80px;
        }
        .legal-content h2 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-top: 40px;
            margin-bottom: 12px;
        }
        .legal-content h3 {
            font-size: 1rem;
            font-weight: 700;
            margin-top: 28px;
            margin-bottom: 8px;
        }
        .legal-content p {
            font-size: 0.9rem;
            line-height: 1.8;
            margin-bottom: 16px;
        }
        .legal-content ul {
            padding-left: 20px;
            margin-bottom: 16px;
        }
        .legal-content li {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 4px;
        }

        /* ---- Lageportal Product Page ---- */
        .lageportal-hero {
            background: #151c21;
            min-height: min(100vh, 940px);
            align-items: flex-end;
            padding-top: 88px;
            padding-bottom: 12vh;
            padding-left: 0 !important;
            padding-right: 0 !important;
            border-bottom: 1px solid rgba(255,255,255,0.16);
            z-index: 1;
        }
        .lageportal-hero-media {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
            transform: scale(1.12);
            transform-origin: center center;
            z-index: 0;
        }
        .lageportal-hero-overlay {
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            background:
                radial-gradient(120% 110% at 82% 92%, rgba(255,77,77,0.24) 0%, rgba(255,77,77,0.09) 34%, transparent 70%),
                linear-gradient(112deg, rgba(9,13,16,0.82) 0%, rgba(9,13,16,0.64) 52%, rgba(9,13,16,0.78) 100%);
        }
        .lageportal-hero::before {
            content: none;
            animation: none;
        }
        .lageportal-hero::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 2px;
            z-index: 4;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42) 50%, transparent);
        }
        .lageportal-grid-canvas {
            position: absolute;
            inset: 0;
            z-index: 2;
            width: 100%;
            height: 100%;
            pointer-events: none;
            opacity: 0.85;
            mix-blend-mode: normal;
        }
        .lageportal-hero-copy {
            max-width: min(980px, 100%);
            padding: clamp(8px, 1.4vw, 14px) 0;
        }
        .lageportal-hero-kicker {
            margin: 0 0 12px;
            font-size: 0.78rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            font-weight: 600;
            color: rgba(255,255,255,0.8);
        }
        .lageportal-hero-copy h1 {
            max-width: none;
            font-size: clamp(1.8rem, 5.1vw, 3.9rem);
            letter-spacing: -0.03em;
            line-height: 1.08;
            text-transform: uppercase;
            font-weight: 700;
            color: #ffffff;
            text-shadow: 0 12px 36px rgba(0,0,0,0.48);
            margin: 0;
        }
        .lageportal-hero-copy h1 span {
            display: block;
            white-space: nowrap;
        }

        /* ---- Blog Card Wrap (link) ---- */
        .blog-card-wrap {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .blog-card-wrap:hover { color: inherit; }

        /* ---- News Grid ---- */
        .news-grid { padding: 0 0 80px; }

        /* ---- Article Detail ---- */
        .article-page { padding-bottom: 80px; }

        .article-header {
            padding: 140px 0 40px;
        }
        /* .article-back → nutzt jetzt .arix-link im HTML */
        .article-back {
            font-size: 0.85rem;
        }

        .article-meta {
            display: flex;
            gap: 8px;
            margin: 28px 0 16px;
        }
        .article-title {
            font-size: clamp(1.6rem, 4vw, 2.4rem);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.02em;
            color: var(--text);
            margin: 0 0 12px;
        }
        .article-date {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .article-hero-img { margin-bottom: 48px; }
        .article-img-placeholder {
            width: 100%;
            aspect-ratio: 16/9;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--text-muted);
        }

        .article-body {
            font-size: 1.02rem;
            color: var(--text-secondary);
            line-height: 1.85;
        }
        .article-body h2 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text);
            margin: 40px 0 12px;
        }
        .article-body p {
            margin-bottom: 20px;
        }
        .article-body ul {
            padding-left: 20px;
            margin-bottom: 20px;
        }
        .article-body li {
            margin-bottom: 6px;
        }
        .article-lead {
            font-size: 1.15rem;
            color: var(--text);
            font-weight: 400;
            line-height: 1.75;
            margin-bottom: 32px;
        }

        .article-quote {
            border-left: 3px solid var(--border);
            margin: 32px 0;
            padding: 20px 24px;
            background: var(--surface);
            border-radius: 0 8px 8px 0;
        }
        .article-quote p {
            font-style: italic;
            color: var(--text);
            font-size: 1.05rem;
            margin-bottom: 8px;
        }
        .article-quote cite {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-style: normal;
        }

        .article-gallery-section {
            padding-top: 48px;
        }
        .article-gallery-title {
            font-size: 1.15rem;
            font-weight: 700;
            margin: 0 0 16px;
            letter-spacing: -0.02em;
            color: var(--text-primary);
        }
        .article-gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
        }
        .article-gallery-item {
            display: block;
            border: 1px solid var(--border);
            background: #fff;
            padding: 0;
            cursor: pointer;
            text-align: left;
            width: 100%;
            aspect-ratio: 1/1;
            overflow: hidden;
            transition: border-color 0.2s ease, transform 0.2s ease;
        }
        .article-gallery-item:hover {
            border-color: var(--border-strong);
            transform: translateY(-2px);
        }
        .article-gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .article-lightbox {
            position: fixed;
            inset: 0;
            background: rgba(17, 17, 17, 0.92);
            z-index: 1200;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }
        .article-lightbox.is-open {
            display: flex;
        }
        .article-lightbox-open {
            overflow: hidden;
        }
        .article-lightbox-figure {
            max-width: min(1080px, 94vw);
            margin: 0;
        }
        .article-lightbox-figure img {
            width: 100%;
            max-height: 78vh;
            object-fit: contain;
            display: block;
        }
        .article-lightbox-figure figcaption {
            color: rgba(255, 255, 255, 0.86);
            font-size: 0.85rem;
            margin-top: 10px;
            line-height: 1.45;
        }
        .article-lightbox-close,
        .article-lightbox-nav {
            border: 1px solid rgba(255, 255, 255, 0.24);
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s ease, border-color 0.2s ease;
        }
        .article-lightbox-close:hover,
        .article-lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.14);
            border-color: rgba(255, 255, 255, 0.42);
        }
        .article-lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
        }
        .article-lightbox-prev {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
        }
        .article-lightbox-next {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
        }

        .article-footer-nav { padding-top: 40px; }
        .article-share {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .article-share-label {
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted);
        }
        .article-share a {
            color: var(--text-secondary);
            font-size: 1.1rem;
            transition: color 0.25s;
            text-decoration: none;
        }
        .article-share a:hover { color: var(--accent); }

        /* ---- Responsive ---- */
        @media (max-width: 991px) {
            .section-padding { padding: 80px 0; }
            .stat-value { font-size: 2.2rem; }
            .stat-item { padding: 36px 12px; }
            .product-card-body { padding: 20px 24px 24px; }
        }

        @media (max-width: 767px) {
            .site-nav { padding: 14px 20px; }
            body.scrolled .site-nav { padding: 12px 20px; }
            .page-sub .site-nav { padding: 12px 20px; }

            .hero { min-height: 100svh; padding: 0 20px; }
            .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
            .hero p.lead { font-size: 1rem; }
            .hero-cta { padding: 12px 24px; font-size: 0.85rem; }

            .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border); }
            .stat-item { padding: 28px 16px; }
            .stat-value { font-size: 2rem; }

            .section-padding { padding: 60px 0; }
            h2 { font-size: clamp(1.6rem, 6vw, 2rem) !important; }

            .product-card-body { padding: 16px 20px 20px; }
            .product-card h4 { font-size: 1rem; }
            .product-card .arix-link { opacity: 1; transform: translateY(0); }

            .blog-card-title { font-size: 1rem; }
            .blog-card-body { padding: 18px; }

            .cta-section h2 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }

            .menu-overlay {
                clip-path: inset(0 0 100% 100%);
            }
            .menu-overlay.open {
                clip-path: inset(0 0 0 0);
            }
            .menu-link {
                font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
                padding: 12px 0 12px 18px;
                gap: 14px;
            }
            .menu-sub { padding-left: 32px; }
            .menu-sub-link { font-size: 0.85rem; padding: 7px 0 7px 18px; }
            .menu-index { font-size: 0.6rem; min-width: 20px; }

            .to-top {
                bottom: 20px;
                right: 20px;
                width: 32px;
                height: 32px;
            }
            .to-top-icon { font-size: 12px; }

            .contact-form input,
            .contact-form textarea {
                font-size: 16px;
            }

            .footer-top { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
            .footer-brand { flex-direction: column; gap: 10px; }
            .footer-brand .footer-divider { width: 20px; height: 1px; }
            .footer-brand .logo-mark { height: 48px; }
            .footer-bottom-bar { flex-direction: column; align-items: center; gap: 10px; }

            .accent-line { width: 28px; }
            .overline { font-size: 0.6rem; }

            .subpage-header { padding: 110px 0 40px; }
            .article-header { padding: 110px 0 32px; }
            .article-body { font-size: 0.95rem; }

            .lageportal-hero {
                min-height: 92svh;
                align-items: flex-end;
                padding-top: 84px;
                padding-bottom: 8svh;
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
            .lageportal-hero-kicker { margin-bottom: 10px; font-size: 0.72rem; }
            .lageportal-hero-copy h1 { font-size: clamp(1.55rem, 7.8vw, 2.6rem); }
            .lageportal-hero-copy h1 span { white-space: nowrap; }

            .article-gallery-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .article-lightbox {
                padding: 12px;
            }
            .article-lightbox-close {
                top: 12px;
                right: 12px;
            }
            .article-lightbox-prev,
            .article-lightbox-next {
                top: auto;
                bottom: 14px;
                transform: none;
            }
            .article-lightbox-prev {
                left: 12px;
            }
            .article-lightbox-next {
                right: 12px;
            }
        }

        @media (max-width: 991px) {
            .article-gallery-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 400px) {
            .site-nav { padding: 12px 16px; }
            body.scrolled .site-nav { padding: 10px 16px; }
            .page-sub .site-nav { padding: 10px 16px; }
            .hero { padding: 0 16px; }
            .hero h1 { font-size: 1.8rem; }
            .menu-link { font-size: 1.5rem !important; padding: 10px 0 10px 14px; }
            .stat-value { font-size: 1.7rem; }
            .blog-card-body { padding: 14px; }
            .blog-card-title { font-size: 0.9rem; }
        }

        @media (max-height: 500px) and (orientation: landscape) {
            .site-nav,
            body.scrolled .site-nav,
            .page-sub .site-nav {
                padding-top: 10px;
                padding-bottom: 10px;
            }
            .site-nav .logo-mark,
            body.scrolled .site-nav .logo-mark,
            .page-sub .site-nav .logo-mark {
                height: 44px;
            }
            .hero {
                min-height: 100svh;
                align-items: flex-start;
                padding-top: 88px;
                padding-bottom: 22px;
            }
            .hero h1 {
                font-size: clamp(1.7rem, 5.1vw, 2.7rem);
                line-height: 1.08;
                margin-bottom: 0.55rem !important;
            }
            .hero p.lead {
                font-size: 0.92rem;
                line-height: 1.5;
                margin-bottom: 0.9rem !important;
                max-width: 640px;
            }
            .hero .overline {
                margin-bottom: 0.45rem !important;
            }
            .lageportal-hero {
                min-height: 100svh;
                padding-top: 84px;
                padding-bottom: 20px;
                align-items: center;
            }
            .lageportal-hero-copy h1 {
                font-size: clamp(1.45rem, 5.3vw, 2.3rem);
                margin-bottom: 0.6rem !important;
            }
        }

        /* ---- FAQ ---- */
        .faq-category {
            margin-bottom: 56px;
        }
        .faq-category:last-child {
            margin-bottom: 0;
        }
        .faq-category-header {
            display: flex;
            align-items: baseline;
            gap: 16px;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 2px solid var(--text-primary);
        }
        .faq-category-num {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--text-tertiary);
            letter-spacing: 0.12em;
            font-variant-numeric: tabular-nums;
        }
        .faq-category-title {
            font-size: 1.15rem;
            font-weight: 700;
            letter-spacing: -0.01em;
            margin: 0;
        }

        .faq-item {
            border-bottom: 1px solid var(--border);
        }
        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 20px 0;
            background: none;
            border: none;
            cursor: pointer;
            font-family: inherit;
            font-size: 1.08rem;
            font-weight: 600;
            color: var(--text-primary);
            text-align: left;
            letter-spacing: 0.01em;
            transition: color 0.25s ease;
        }
        .faq-question:hover {
            color: var(--accent);
        }
        .faq-icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: var(--text-tertiary);
            transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), color 0.25s ease;
        }
        .faq-item.open .faq-icon {
            transform: rotate(45deg);
            color: var(--accent);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1), padding 0.35s ease;
            padding: 0 0 0 0;
        }
        .faq-item.open .faq-answer {
            max-height: 400px;
            padding: 0 0 24px 0;
        }
        .faq-answer p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.8;
            margin: 0;
            max-width: 720px;
        }

        @media (max-width: 767px) {
            .faq-category { margin-bottom: 40px; }
            .faq-question { font-size: 0.98rem; padding: 16px 0; }
            .faq-answer p { font-size: 0.85rem; }
        }

        /* ---- prefers-reduced-motion ---- */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
            .fade-up { opacity: 1; transform: none; }
            body { opacity: 1; }
            body::after { opacity: 0; }
        }

        /* ============================================
           COMING SOON PAGE
           ============================================ */
        body.coming-soon {
            min-height: 100vh;
            background: #232d31 url('../media/ARIX-Gradient-Athrazit2Red.jpg') top center/cover no-repeat !important;
            display: flex;
            flex-direction: column;
            margin: 0;
            opacity: 1;
        }

        .coming-grid-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
        }

        .coming-logo {
            position: fixed;
            top: 32px;
            left: 48px;
            z-index: 10;
            height: 64px;
            display: flex;
            align-items: center;
            will-change: transform, opacity;
            opacity: 0;
        }

        /* Phase 1: centered & small, fading in */
        .coming-logo.phase-center {
            opacity: 0;
            transform: translate(var(--logo-cx), var(--logo-cy)) scale(0.5);
        }

        /* Phase 2: centered & growing */
        .coming-logo.phase-grow {
            opacity: 1;
            transform: translate(var(--logo-cx), var(--logo-cy)) scale(3.8);
            transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
        }

        /* Phase 3: hold big */
        .coming-logo.phase-hold {
            opacity: 1;
            transform: translate(var(--logo-cx), var(--logo-cy)) scale(3.8);
        }

        /* Phase 4: move to corner */
        .coming-logo.phase-settle {
            opacity: 1;
            transform: translate(0, 0) scale(1);
            transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .coming-logo .logo-mark {
            height: 64px;
            width: auto;
            color: #fff;
            display: flex;
            align-items: center;
        }

        .coming-container {
            position: relative;
            z-index: 2;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            color: #fff;
            padding: 0 5vw 96px;
            max-width: 1100px;
        }

        /* Staggered reveal for content elements */
        .coming-reveal {
            opacity: 0;
            transform: translateY(28px);
            animation: comingFadeUp 1.2s cubic-bezier(0.16,1,0.3,1) both;
        }
        .coming-reveal-1 { animation-delay: 3.8s; }
        .coming-reveal-2 { animation-delay: 4.2s; }
        .coming-reveal-3 { animation-delay: 4.6s; }
        .coming-reveal-4 { animation-delay: 4.9s; }
        .coming-reveal-5 { animation-delay: 5.2s; }

        @keyframes comingFadeUp {
            to { opacity: 1; transform: translateY(0); }
        }

        .coming-overline {
            font-size: clamp(1rem, 2.5vw, 1.35rem);
            color: rgba(255,255,255,0.45);
            margin-bottom: 0.5rem;
            letter-spacing: 0.06em;
        }
        .coming-overline .claim-text {
            color: rgba(255,255,255,0.45);
        }
        .coming-overline .claim-em {
            color: rgba(255,255,255,0.6);
        }

        .coming-headline {
            font-size: clamp(2.2rem, 6vw, 4.2rem);
            font-weight: 800;
            letter-spacing: 0.01em;
            line-height: 1.18;
            margin-bottom: 0;
            max-width: 1000px;
        }
        .coming-accent {
            color: rgba(255,255,255,0.5);
        }

        .coming-footer {
            position: fixed;
            left: 50%;
            bottom: 22px;
            transform: translateX(-50%);
            z-index: 10;
            display: inline-flex;
            align-items: center;
            gap: 18px;
        }
        .coming-footer-link {
            position: relative;
            font-size: 0.72rem;
            font-weight: 500;
            color: rgba(255,255,255,0.34);
            letter-spacing: 0.06em;
            text-transform: uppercase;
            transition: color 0.2s ease;
        }
        .coming-footer-link::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -3px;
            height: 1px;
            background: rgba(255,255,255,0.16);
            transform: scaleX(0.35);
            transform-origin: center;
            transition: transform 0.2s ease, background-color 0.2s ease;
        }
        .coming-footer-link:hover,
        .coming-footer-link:focus-visible {
            color: rgba(255,255,255,0.62);
        }
        .coming-footer-link:hover::after,
        .coming-footer-link:focus-visible::after {
            transform: scaleX(1);
            background: rgba(255,255,255,0.3);
        }

        @media (max-width: 600px) {
            .coming-logo { left: 16px; top: 16px; height: 44px; }
            .coming-logo .logo-mark { height: 44px; }
            .coming-logo.phase-grow { transform: translate(var(--logo-cx), var(--logo-cy)) scale(2.5); }
            .coming-logo.phase-hold { transform: translate(var(--logo-cx), var(--logo-cy)) scale(2.5); }
            .coming-headline { font-size: 1.8rem; }
            .coming-footer {
                bottom: 14px;
                gap: 14px;
            }
            .coming-footer-link {
                font-size: 0.64rem;
                letter-spacing: 0.05em;
            }
        }

        @media (max-height: 500px) and (orientation: landscape) {
            .coming-logo { top: 14px; left: 16px; height: 42px; }
            .coming-logo .logo-mark { height: 42px; }
            .coming-container {
                justify-content: flex-start;
                padding-top: 94px;
                padding-bottom: 22px;
            }
            .coming-overline { margin-bottom: 0.2rem; }
            .coming-headline {
                font-size: clamp(1.55rem, 4.2vw, 2.55rem);
                line-height: 1.08;
                margin-bottom: 0;
            }
            .coming-footer { bottom: 12px; }
        }

        /* ============================================
           ADMIN AREA
           ============================================ */
        .admin-page .admin-bar {
            position: sticky;
            top: 0;
            z-index: 120;
            background: #ffffff;
            border-bottom: 1px solid var(--border-strong);
            padding: 0 32px;
            box-shadow: 0 1px 4px rgba(42,54,59,0.06);
        }
        .admin-page .admin-bar-shell {
            min-height: 48px;
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .admin-bar-brand {
            display: flex;
            align-items: center;
            flex: 0 0 auto;
        }
        .admin-brand-link {
            display: inline-flex;
            align-items: center;
            gap: 16px;
            color: inherit;
            text-decoration: none;
        }
        .admin-bar .brand-divider {
            width: 1px;
            height: 22px;
            background: var(--border-strong);
            flex-shrink: 0;
        }
        .admin-bar .logo-mark {
            height: 32px;
            color: var(--text-primary);
        }
        .admin-bar .logo-mark svg { height: 100%; width: auto; fill: currentColor; }
        .admin-bar .brand-sub {
            font-family: 'Exo', sans-serif;
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--text-secondary);
        }
        .admin-nav {
            display: flex;
            align-items: center;
        }
        .admin-nav-primary {
            gap: 18px;
            margin-right: auto;
        }
        .admin-nav-utility {
            gap: 8px;
            justify-content: flex-end;
            flex: 0 0 auto;
        }
        .admin-nav-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-height: 28px;
            padding: 0;
            border: none;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-secondary);
            text-decoration: none;
            white-space: nowrap;
            position: relative;
            transition: color 0.25s ease;
        }
            .admin-nav-link i {
                font-size: 0.92rem;
            }
        .admin-nav-link::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 2px;
            background: var(--accent);
            transform: scaleX(0);
            transform-origin: left center;
            transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
        }
        .admin-nav-link:hover {
            color: var(--text-primary);
        }
        .admin-nav-link:hover::after {
            transform: scaleX(1);
        }
        .admin-nav-link.is-active {
            color: var(--text-primary);
        }
        .admin-nav-link.is-active::after {
            transform: scaleX(1);
        }
        .admin-utility-link {
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--text-tertiary);
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.2s ease;
        }
        .admin-utility-link:hover {
            color: var(--text-primary);
        }
        .admin-user-chip {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            justify-content: center;
            min-height: 40px;
            padding: 0 0 0 6px;
            border: none;
            background: transparent;
            white-space: nowrap;
        }
        .admin-user-chip-name {
            font-size: 0.92rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            color: var(--text-primary);
            line-height: 1.2;
        }
        .admin-user-chip-role {
            font-size: 0.77rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-tertiary);
            line-height: 1.2;
            margin-top: 1px;
        }

        .admin-content {
            max-width: 1060px;
            margin: 0 auto;
            padding: 36px 40px 60px;
        }
        .admin-content--narrow {
            max-width: 1060px;
            padding: 36px 40px 60px;
        }

        .admin-page-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 32px;
        }
        .admin-page-title {
            font-family: 'Exo', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: -0.03em;
        }
        .admin-section-title {
            font-family: 'Exo', sans-serif;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--text-secondary);
            margin-bottom: 16px;
        }
        .admin-section {
            margin-bottom: 40px;
            background: #ffffff;
            border: 1px solid var(--border-strong);
            padding: 24px 28px;
            box-shadow: 0 2px 6px rgba(42,54,59,0.04);
        }
        .admin-page-note {
            font-size: 0.72rem;
            letter-spacing: 0.04em;
            color: var(--text-tertiary);
            white-space: nowrap;
            text-align: right;
        }

        .admin-msg {
            padding: 12px 16px;
            margin-bottom: 20px;
            font-size: 0.78rem;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            color: var(--text-primary);
        }

        .admin-empty {
            text-align: center;
            padding: 80px 20px;
            color: var(--text-tertiary);
            font-size: 0.85rem;
        }
        .admin-kpi-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
            margin-bottom: 32px;
        }
        .admin-kpi-card {
            background: #ffffff;
            border: 1px solid var(--border-strong);
            padding: 22px 24px;
            box-shadow: 0 2px 6px rgba(42,54,59,0.04);
        }
        .admin-kpi-value {
            font-size: 2rem;
            font-weight: 700;
            line-height: 1;
            color: var(--text-primary);
        }
        .admin-kpi-label {
            margin-top: 10px;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--text-tertiary);
        }
        .admin-kpi-meta {
            margin-top: 8px;
            font-size: 0.75rem;
            color: var(--text-secondary);
        }
        .admin-dashboard-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
        }
        .admin-hub-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }
        .admin-hub-card {
            display: block;
            padding: 20px 20px 18px;
            border: 1px solid var(--border-strong);
            background: var(--bg);
            color: inherit;
            text-decoration: none;
            transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
        }
        .admin-hub-card:hover {
            border-color: rgba(42,54,59,0.22);
            background: #ffffff;
            transform: translateY(-1px);
        }
        .admin-hub-eyebrow {
            font-size: 0.62rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--text-tertiary);
        }
        .admin-hub-title {
            margin-top: 8px;
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: -0.02em;
        }
        .admin-hub-copy {
            margin-top: 8px;
            font-size: 0.82rem;
            line-height: 1.6;
            color: var(--text-secondary);
        }
        .admin-hub-meta {
            margin-top: 14px;
            font-size: 0.72rem;
            color: var(--text-tertiary);
        }
        .admin-activity-list {
            display: grid;
            gap: 14px;
        }
        .admin-activity-item {
            padding-bottom: 14px;
            border-bottom: 1px solid var(--border);
        }
        .admin-activity-item:last-child {
            padding-bottom: 0;
            border-bottom: none;
        }
        .admin-activity-title {
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--text-primary);
        }
        .admin-activity-meta {
            margin-top: 4px;
            font-size: 0.72rem;
            color: var(--text-tertiary);
        }
        .admin-activity-copy {
            margin-top: 6px;
            font-size: 0.8rem;
            line-height: 1.55;
            color: var(--text-secondary);
        }
        .admin-pill-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }
        .admin-pill {
            display: inline-flex;
            align-items: center;
            padding: 5px 10px;
            border: 1px solid var(--border);
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-secondary);
            background: var(--bg);
        }
        .admin-crm-layout {
            display: grid;
            grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.95fr);
            gap: 24px;
        }
        .admin-crm-filterbar {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }
        .crm-table tbody tr {
            cursor: pointer;
        }
        .crm-row-selected td {
            background: rgba(236,95,101,0.06);
        }
        .crm-status-badge,
        .crm-priority-pill {
            display: inline-flex;
            align-items: center;
            padding: 4px 9px;
            border: 1px solid var(--border);
            font-size: 0.64rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            background: var(--bg);
            color: var(--text-secondary);
        }
        .crm-status-badge--neu { border-color: rgba(91,124,153,0.25); color: #5b7c99; background: rgba(91,124,153,0.08); }
        .crm-status-badge--in_arbeit { border-color: rgba(236,95,101,0.3); color: #c4393f; background: rgba(236,95,101,0.08); }
        .crm-status-badge--nachfassen { border-color: rgba(255,138,0,0.28); color: #b56b00; background: rgba(255,138,0,0.08); }
        .crm-status-badge--gewonnen { border-color: rgba(79,138,139,0.28); color: #2f7d6f; background: rgba(79,138,139,0.08); }
        .crm-status-badge--archiv { border-color: var(--border); color: var(--text-tertiary); background: var(--bg-elevated); }
        .crm-priority-pill--hoch { border-color: rgba(216,76,76,0.28); color: #b03030; background: rgba(216,76,76,0.08); }
        .crm-priority-pill--mittel { border-color: rgba(255,138,0,0.25); color: #a0670a; background: rgba(255,138,0,0.08); }
        .crm-priority-pill--niedrig { border-color: rgba(79,138,139,0.25); color: #2f7d6f; background: rgba(79,138,139,0.08); }
        .crm-detail-stack {
            display: grid;
            gap: 18px;
        }
        .crm-detail-card {
            border: 1px solid var(--border);
            background: var(--bg);
            padding: 20px 20px 18px;
        }
        .crm-detail-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px 18px;
        }
        .crm-detail-value {
            font-size: 0.84rem;
            color: var(--text-primary);
            line-height: 1.55;
        }
        .crm-detail-copy {
            font-size: 0.82rem;
            color: var(--text-secondary);
            line-height: 1.65;
        }
        .crm-source-note {
            margin-top: 18px;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }

        /* Admin table extends sg-table */
        .admin-table { table-layout: auto; }
        .admin-table th + th,
        .admin-table td + td { padding-left: 16px; }
        .admin-table td { vertical-align: top; }
        .admin-table tr:last-child td { border-bottom: none; }
        .admin-table .a-title { font-weight: 500; color: var(--text-primary); }
        .admin-table .a-date { color: var(--text-secondary); font-size: 0.8rem; white-space: nowrap; }
        .admin-table-group-row td {
            background: var(--bg-elevated);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            padding-top: 10px;
            padding-bottom: 10px;
            padding-left: 12px;
        }
        .admin-table-group-label {
            display: inline-block;
            font-size: 0.72rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-secondary);
            font-weight: 600;
        }
        .brand-folder-toggle {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: none;
            background: none;
            padding: 0;
            cursor: pointer;
            color: inherit;
            font: inherit;
        }
        .brand-folder-icon {
            width: 18px;
            height: 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            color: var(--text-secondary);
            font-size: 0.68rem;
            background: #fff;
        }
        .brand-folder-toggle:hover .brand-folder-icon {
            border-color: rgba(42,54,59,0.25);
            color: var(--text-primary);
            background: var(--bg-elevated);
        }
        .admin-social-cell {
            display: grid;
            gap: 4px;
            min-width: 170px;
        }
        .admin-social-line {
            color: var(--text-secondary);
            font-size: 0.8rem;
            white-space: nowrap;
        }
        .admin-social-meta {
            color: var(--text-tertiary);
            font-size: 0.72rem;
            white-space: normal;
            line-height: 1.35;
        }
        .admin-asset-preview {
            width: 42px;
            height: 42px;
            border: 1px solid var(--border);
            background: var(--bg-elevated);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            color: var(--text-tertiary);
        }
        .admin-asset-preview img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }
        .admin-asset-preview i {
            font-size: 0.95rem;
        }
        .admin-user-meta {
            font-size: 0.7rem;
            color: var(--text-tertiary);
            margin-top: 2px;
        }
        .admin-table .a-actions { display: flex; gap: 8px; }
        .admin-table .a-actions a,
        .admin-table .a-actions button {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            padding: 0 0 2px;
            cursor: pointer;
            text-decoration: none;
            font-family: 'Exo', sans-serif;
            border-bottom: 1.5px solid transparent;
            transition: color 0.25s ease, border-color 0.25s ease;
        }
        .admin-table .a-actions a:hover,
        .admin-table .a-actions button:hover {
            border-color: var(--accent);
            color: var(--text-primary);
        }
        .admin-icon-action {
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            background: #fff;
            color: var(--text-secondary);
            font-size: 0.8rem;
            text-decoration: none;
            cursor: pointer;
            transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
        }
        .admin-icon-action:hover {
            color: var(--text-primary);
            border-color: var(--border-strong);
            background: var(--bg-elevated);
        }
        .admin-icon-action--danger:hover {
            color: var(--danger);
            border-color: rgba(216,76,76,0.35);
            background: rgba(216,76,76,0.06);
        }

        .admin-link-action {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border: none;
            border-bottom: 1.5px solid var(--accent);
            background: none;
            padding: 0 0 2px;
            color: var(--accent);
            font-size: 0.86rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            text-decoration: none;
            cursor: pointer;
            font-family: inherit;
            transition: gap 0.25s cubic-bezier(0.16,1,0.3,1), color 0.2s ease, border-color 0.2s ease;
        }
        .admin-link-action .arrow {
            display: inline-block;
            transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
        }
        .admin-link-action:hover {
            gap: 10px;
            color: var(--accent);
            border-color: var(--accent);
        }
        .admin-link-action:hover .arrow {
            transform: translateX(4px);
        }
        .admin-link-action:focus-visible {
            outline: 2px solid var(--accent-glow);
            outline-offset: 2px;
        }
        .admin-link-action--subtle {
            color: var(--text-secondary);
            border-bottom-color: rgba(42,54,59,0.25);
        }
        .admin-link-action--subtle:hover {
            color: var(--text-primary);
            border-bottom-color: var(--text-primary);
        }

        /* Admin form */
        .admin-field {
            margin-bottom: 20px;
        }
        .admin-row {
            display: flex;
            gap: 20px;
        }
        .admin-row .admin-field { flex: 1; }

        .admin-hint {
            font-size: 0.7rem;
            color: var(--text-tertiary);
            margin-top: 6px;
        }

        .admin-checkbox {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }
        .admin-checkbox input[type="checkbox"] { width: auto; accent-color: var(--accent); }
        .admin-checkbox span { font-size: 0.85rem; color: var(--text-secondary); }

        .admin-form-actions {
            display: flex;
            gap: 10px;
            margin-top: 24px;
        }

        .admin-users-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr;
            gap: 24px;
            align-items: start;
        }
        .admin-users-list,
        .admin-users-form-box {
            border: 1px solid var(--border-strong);
            background: #ffffff;
            padding: 20px;
            box-shadow: 0 2px 6px rgba(42,54,59,0.04);
        }
        .admin-select {
            width: 100%;
            height: 44px;
            border: none;
            border-bottom: 1.5px solid var(--border);
            border-radius: 0;
            background-color: transparent;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23808b90' d='M1.4 1.2 6 5.8l4.6-4.6L12 2.6 6 8 0 2.6z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 2px center;
            background-size: 12px 8px;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            font-size: 0.85rem;
            color: var(--text-primary);
            padding: 0 24px 0 0;
            outline: none;
            transition: border-color 0.25s ease;
        }
        .admin-select:focus {
            border-bottom-color: var(--text-primary);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232a363b' d='M1.4 1.2 6 5.8l4.6-4.6L12 2.6 6 8 0 2.6z'/%3E%3C/svg%3E");
        }
        .admin-select option {
            color: var(--text-primary);
            background: #ffffff;
        }

        /* Admin textarea */
        .admin-textarea {
            display: block;
            width: 100%;
            background: #ffffff;
            border: 1px solid var(--border-strong);
            color: var(--text-primary);
            font-family: 'Exo', sans-serif;
            font-size: 0.85rem;
            padding: 20px;
            outline: none;
            resize: vertical;
            min-height: 300px;
            line-height: 1.7;
            transition: border-color 0.2s;
        }
        .admin-textarea:focus { border-color: var(--text-primary); }
        .admin-textarea::placeholder { color: var(--text-tertiary); }

        /* Admin toolbar */
        .admin-toolbar {
            display: flex;
            gap: 4px;
            margin-bottom: 8px;
            flex-wrap: wrap;
        }
        .admin-toolbar button {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-secondary);
            font-family: 'Exo', sans-serif;
            font-size: 0.72rem;
            font-weight: 500;
            padding: 5px 12px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .admin-toolbar button:hover {
            border-color: var(--text-primary);
            color: var(--text-primary);
        }

        /* Admin preview panel */
        .admin-preview-toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.7rem;
            font-weight: 500;
            letter-spacing: 0.06em;
            color: var(--text-secondary);
            cursor: pointer;
            margin-bottom: 16px;
            border: none;
            background: none;
            font-family: 'Exo', sans-serif;
            transition: color 0.2s;
        }
        .admin-preview-toggle:hover { color: var(--text-primary); }

        .admin-preview-panel {
            display: none;
            background: #ffffff;
            color: var(--text-primary);
            padding: 32px;
            margin-bottom: 24px;
            font-size: 0.9rem;
            line-height: 1.75;
            max-height: 500px;
            overflow-y: auto;
            border: 1px solid var(--border-strong);
            box-shadow: 0 2px 6px rgba(42,54,59,0.04);
        }
        .admin-preview-panel.visible { display: block; }
        .admin-preview-panel h2 { font-size: 1.3rem; margin: 24px 0 12px; font-weight: 600; letter-spacing: -0.03em; }
        .admin-preview-panel h3 { font-size: 1.1rem; margin: 20px 0 10px; font-weight: 600; letter-spacing: -0.03em; }
        .admin-preview-panel p { margin-bottom: 16px; color: var(--text-secondary); }
        .admin-preview-panel ul,
        .admin-preview-panel ol { margin: 0 0 16px 20px; color: var(--text-secondary); }
        .admin-preview-panel li { margin-bottom: 6px; }
        .admin-preview-panel blockquote {
            border-left: 3px solid var(--text-primary);
            padding-left: 28px;
            margin: 24px 0;
            font-style: italic;
            color: var(--text-secondary);
        }
        .admin-preview-panel .article-lead { font-size: 1.05rem; color: var(--text-primary); }

        /* Image upload area */
        .admin-upload-area {
            background: #ffffff;
            border: 1.5px dashed var(--border-strong);
            padding: 24px 12px;
            text-align: center;
            cursor: pointer;
            margin-bottom: 12px;
            transition: border-color 0.2s;
        }
        .admin-upload-area:hover,
        .admin-upload-area.dragover {
            border-color: var(--accent);
        }
        .admin-upload-area i {
            display: block;
            font-size: 1.6rem;
            color: var(--text-tertiary);
            margin-bottom: 6px;
        }
        .admin-upload-label {
            color: var(--text-tertiary);
            font-size: 0.85rem;
        }

        .admin-image-grid {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 8px;
        }
        .admin-image-item {
            position: relative;
            text-align: center;
            width: 180px;
        }
        .admin-image-item img {
            width: 180px;
            height: 112px;
            object-fit: cover;
            display: block;
            margin-bottom: 4px;
            border: 2px solid transparent;
            transition: border-color 0.2s;
        }
        .admin-image-item.is-cover img {
            border-color: var(--accent);
        }
        .admin-image-item .img-delete {
            position: absolute;
            top: 4px;
            right: 4px;
            background: rgba(255,255,255,0.9);
            border: none;
            width: 22px;
            height: 22px;
            font-size: 0.75rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            transition: color 0.2s;
        }
        .admin-image-item .img-delete:hover {
            color: var(--danger);
        }
        .admin-image-item .img-cover-radio {
            margin-top: 4px;
            accent-color: var(--accent);
        }
        .admin-image-item .img-name {
            font-size: 0.68rem;
            color: var(--text-tertiary);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 180px;
            margin-bottom: 6px;
        }
        .admin-image-item .img-meta {
            display: grid;
            gap: 6px;
            text-align: left;
        }
        .admin-image-item .img-meta-input {
            width: 100%;
            border: 1px solid var(--border);
            background: #fff;
            color: var(--text-primary);
            padding: 6px 8px;
            font-size: 0.72rem;
        }
        .admin-image-item .img-meta-input:focus {
            outline: 1px solid var(--accent);
            border-color: var(--accent);
        }

        /* Login page */
        .admin-login-wrap {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-elevated);
        }
        .admin-login-card {
            background: #ffffff;
            border: 1px solid var(--border-strong);
            padding: 48px 40px;
            width: 100%;
            max-width: 400px;
            box-shadow: 0 2px 6px rgba(42,54,59,0.04);
        }
        .admin-login-sub {
            font-family: 'Exo', sans-serif;
            font-size: 0.7rem;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--text-secondary);
            margin-bottom: 36px;
        }
        .admin-login-actions {
            margin-top: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
        }
        .admin-login-actions .admin-link-action {
            margin-left: auto;
        }
        .admin-back-link {
            display: block;
            text-align: center;
            margin-top: 28px;
            font-size: 0.7rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            color: var(--text-tertiary);
            text-decoration: none;
            transition: color 0.2s;
        }
        .admin-back-link:hover { color: var(--text-primary); }

        .admin-error {
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-left: 3px solid var(--danger);
            color: var(--text-primary);
            font-size: 0.78rem;
            padding: 12px 16px;
            margin-bottom: 20px;
        }

        /* Blog card cover image */
        .blog-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        @media (max-width: 960px) {
            .admin-page .admin-bar { padding: 0 20px; gap: 16px; }
            .admin-content { padding: 24px 20px; }
            .admin-content--narrow { padding: 24px 20px 60px; }
            .admin-row { flex-direction: column; gap: 0; }
            .admin-users-grid { grid-template-columns: 1fr; }
            .admin-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .admin-dashboard-grid { grid-template-columns: 1fr; }
            .admin-hub-grid { grid-template-columns: 1fr; }
            .admin-crm-layout { grid-template-columns: 1fr; }
            .crm-detail-grid { grid-template-columns: 1fr; }
            .admin-nav-primary { gap: 10px; }
            .hide-mobile { display: none; }
            .admin-page-head {
                align-items: flex-start;
                gap: 10px;
            }
            .admin-page-note {
                width: 100%;
                text-align: left;
                margin-top: 4px;
            }
        }
        @media (max-width: 600px) {
            .admin-page .admin-bar { height: 52px; gap: 10px; }
            .admin-kpi-grid { grid-template-columns: 1fr; }
            .admin-bar .brand-sub { display: none; }
            .admin-bar .brand-divider { display: none; }
            .admin-user-chip { display: none; }
        }
