/* ============================================================
   DigiAct – Design System
   Variant A v2 (Enterprise Trust Hybrid) — portiert aus
   mockups/variant-a2-hybrid.html. Brand: #143B69, Font: Ubuntu.
   ============================================================ */

/* Ubuntu, self-hosted. Latin + Latin-Ext (deckt DE + alle EU-Sprachen ab).
   font-display: swap = Text rendert sofort mit Fallback, tauscht nach Font-Load. */
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-300.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-300-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-400-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-500-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-700-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-400-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-400-italic-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-500-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-500-italic-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-700-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/ubuntu/ubuntu-700-italic-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Brand-Palette (exakt aus Logo: #143B69) */
    --color-brand: #143B69;
    --color-brand-hover: #1F5BA0;
    --color-deep-navy: #0A2240;
    --color-dark-mid: #0E2444;
    --color-mid-navy: #0F3A6B;
    --color-light-accent: #79B5F2;
    --color-gold: #C9A227;

    /* Säulen-Farben (1:1 aus Produktlogos) */
    --color-scan:  #143B69;
    --color-data:  #0FA3B1;
    --color-trust: #5BB04D;
    /* Aufgehellte Varianten für dunkle Hintergründe (Hero etc.) */
    --color-scan-light:  #A7C8F2;
    --color-data-light:  #7AD4DE;
    --color-trust-light: #A9DD9D;

    --color-text: #0F172A;
    --color-text-muted: #475569;
    --color-text-soft: #64748B;
    --color-text-on-dark: rgba(255, 255, 255, .92);
    --color-text-on-dark-muted: rgba(255, 255, 255, .72);
    --color-border: #E2E8F0;
    --color-border-strong: #CBD5E1;
    --color-bg: #FFFFFF;
    --color-bg-soft: #F1F5F9;
    --color-bg-softer: #F8FAFC;
    --color-success: #16A34A;

    --font-base: 'Ubuntu', 'Segoe UI', Roboto, system-ui, sans-serif;

    --container: 1240px;
    --container-wide: 1400px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow-md: 0 4px 16px rgba(14, 36, 68, .06);
    --shadow-lg: 0 16px 36px rgba(14, 36, 68, .08);
    --shadow-xl: 0 20px 48px rgba(14, 36, 68, .12);

    --t-fast: 150ms;
    --t-base: 220ms;
    --t-slow: 400ms;
    --ease: cubic-bezier(.16, 1, .3, 1);

    --z-header: 50;
    --z-modal: 100;
    --z-toast: 200;
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (max-width: 768px) { html { scroll-padding-top: 76px; } }
html, body { overflow-x: hidden; }
body {
    margin: 0;
    font-family: var(--font-base);
    font-size: 19px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-brand); text-decoration: none; transition: color var(--t-base) var(--ease); }
a:hover { color: var(--color-brand-hover); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-base);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0;
}
h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
p { margin: 0 0 16px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.site-header .container { max-width: var(--container-wide); }

.visually-hidden-focusable {
    position: absolute; left: -9999px; top: 0;
    background: #fff; color: var(--color-dark-mid);
    padding: 8px 12px; z-index: 1000;
}
.visually-hidden-focusable:focus { left: 8px; }

.icon-sm { width: 18px; height: 18px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: var(--color-brand); color: #fff; }
.btn-primary:hover { background: var(--color-brand-hover); color: #fff; box-shadow: 0 8px 20px rgba(20, 59, 105, .32); }
.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn-outline:hover { background: var(--color-text); color: #fff; }
.btn-on-dark-primary { background: #fff; color: var(--color-deep-navy); }
.btn-on-dark-primary:hover { background: #EEF4FB; color: var(--color-deep-navy); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn-on-dark-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-on-dark-outline:hover { background: #fff; color: var(--color-dark-mid); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 18px; font-weight: 700; }

/* ============================================================
   Header — komplett brand-blau, weißes Logo prominent
   ============================================================ */
.site-header {
    position: sticky; top: 0; left: 0; right: 0;
    z-index: var(--z-header);
    background: var(--color-deep-navy);
    padding: 16px 0;
    border-bottom: none;
    transition: box-shadow var(--t-base) var(--ease), padding var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.site-header.is-scrolled {
    background: rgba(10, 34, 64, .96);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
    padding: 10px 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; transition: height var(--t-base) var(--ease); }
.is-scrolled .logo-img { height: 32px; }

.nav-primary {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0 0 0 auto;
    padding: 0;
    align-items: center;
}
.nav-primary li { position: relative; }
.nav-primary a {
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: -0.005em;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease);
    display: inline-block;
}
.nav-primary a:hover { color: #fff; background: rgba(255, 255, 255, .10); }
.nav-primary a.is-active { color: #fff; background: rgba(255, 255, 255, .16); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, .18);
}
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .85);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}
.header-phone:hover { color: #fff; background: rgba(255, 255, 255, .10); }
.header-phone svg { color: var(--color-light-accent); flex-shrink: 0; }
.header-actions .btn-primary { background: #fff; color: var(--color-deep-navy); }
.header-actions .btn-primary:hover { background: #EEF4FB; color: var(--color-deep-navy); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .nav-icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon-close { display: block; }
/* Toggle muss ueber dem offenen Mobile-Nav-Overlay bleiben */
.nav-toggle[aria-expanded="true"] { position: relative; z-index: 60; }

/* Dropdown */
.nav-primary .has-dropdown > a { padding-right: 28px; position: relative; }
.nav-primary .has-dropdown > a::after {
    content: ""; position: absolute; right: 12px; top: 50%;
    width: 6px; height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translate(0, -65%) rotate(45deg);
    transition: transform var(--t-base) var(--ease);
}
.nav-primary .has-dropdown:hover > a::after,
.nav-primary .has-dropdown:focus-within > a::after { transform: translate(0, -35%) rotate(225deg); }
.nav-primary .dropdown {
    position: absolute; top: calc(100% + 10px); left: 0;
    background: #fff;
    border: 1px solid #EEF1F5;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(14, 36, 68, .10);
    padding: 8px;
    min-width: 260px;
    list-style: none;
    margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
    z-index: 60;
}
.nav-primary .has-dropdown:hover .dropdown,
.nav-primary .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-primary .dropdown li { display: block; }
.nav-primary .dropdown a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    width: 100%;
    color: #1E293B;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
}
.nav-primary .dropdown a:hover { background: var(--color-bg-soft); color: var(--color-brand); }
.nav-primary .dropdown .di {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: #EEF4FB;
    color: var(--color-brand);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav-primary .dropdown .di svg { width: 18px; height: 18px; }
.nav-primary .dropdown .dt { display: flex; flex-direction: column; line-height: 1.3; }
.nav-primary .dropdown .dt strong { font-weight: 700; font-size: 14px; color: var(--color-text); }
.nav-primary .dropdown .dt span { font-size: 12px; color: var(--color-text-soft); font-weight: 400; }

/* ============================================================
   HERO — komplett dunkel-blau, weißes Querformat-Logo als Anker
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 48px 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-deep-navy) 0%, var(--color-brand) 55%, var(--color-brand-hover) 130%);
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(121, 181, 242, .16), transparent 55%);
    pointer-events: none;
}
.hero-grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-logo { height: 110px; width: auto; max-width: 520px; display: block; margin-bottom: 36px; }
.hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .14);
}
.hero-eyebrow-tri .eb-t1 { color: var(--color-scan-light); }
.hero-eyebrow-tri .eb-t2 { color: var(--color-data-light); }
.hero-eyebrow-tri .eb-t3 { color: var(--color-trust-light); }
.hero-eyebrow-tri .eb-sep { color: rgba(255, 255, 255, .45); margin: 0 6px; }

/* Brand-Thread — 3-Farb-Akzent zwischen Hero und Content */
.brand-thread { display: flex; height: 6px; width: 100%; position: relative; z-index: 2; }
.brand-thread span { flex: 1; display: block; height: 100%; }
.brand-thread span:nth-child(1) { background: var(--color-scan); }
.brand-thread span:nth-child(2) { background: var(--color-data); }
.brand-thread span:nth-child(3) { background: var(--color-trust); }
.hero h1 { color: #fff; margin-bottom: 28px; font-size: clamp(36px, 4.8vw, 60px); }
.hero h1 .accent { color: var(--color-light-accent); font-style: italic; font-weight: 500; }
.hero-body {
    color: rgba(255, 255, 255, .85);
    max-width: 580px;
    margin-bottom: 36px;
    font-size: 18px;
    line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right { position: relative; }
.hero-quote {
    background: rgba(255, 255, 255, .06);
    border-left: 3px solid var(--color-light-accent);
    padding: 32px;
    backdrop-filter: blur(8px);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    position: relative;
}
.hero-quote::before {
    content: "\201C";
    display: block;
    font-family: Georgia, serif;
    font-size: 96px;
    line-height: 0.4;
    color: var(--color-light-accent);
    margin-bottom: 26px;
}
.hero-quote p {
    color: rgba(255, 255, 255, .94);
    font-style: italic;
    font-size: 24px;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}
.hero-quote::after {
    content: "\201D";
    display: block;
    font-family: Georgia, serif;
    font-size: 96px;
    line-height: 0.4;
    color: var(--color-light-accent);
    margin-top: 48px;
    text-align: right;
}
.hero-quote .attribution {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ============================================================
   Section base
   ============================================================ */
section { padding: 112px 0; }
.section-soft { background: var(--color-bg-soft); }
.section-dark { background: var(--color-dark-mid); color: var(--color-text-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-eyebrow {
    display: inline-block;
    color: var(--color-brand);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-dark .section-eyebrow { color: var(--color-light-accent); }

.section-header { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.section-header h2 { margin-bottom: 18px; }
.section-header .lead { font-size: 22px; color: var(--color-text-muted); margin: 0; line-height: 1.5; }
p.lead { font-size: 22px; color: var(--color-text-muted); line-height: 1.5; }

/* ============================================================
   Drei Nutzen
   ============================================================ */
.tiles-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: box-shadow var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease);
}
.tile:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: var(--color-border-strong); }
.tile-icon {
    width: 64px; height: 64px;
    border-radius: var(--radius-lg);
    background: rgba(20, 59, 105, .08);
    color: var(--color-brand);
    display: inline-flex;
    align-items: center; justify-content: center;
    margin-bottom: 22px;
}
.tile-icon svg { width: 30px; height: 30px; }
.tile h3 { font-size: 22px; margin-bottom: 10px; }
.tile p { color: var(--color-text-muted); margin: 0; font-size: 18px; }

/* Coloured benefit tiles */
.tile-color { color: #fff; border-color: transparent; }
.tile-color h3 { color: #fff; }
.tile-color p { color: rgba(255, 255, 255, .88); }
.tile-color .tile-icon {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.tile-color-1 { background: var(--color-scan); }
.tile-color-2 { background: var(--color-data); }
.tile-color-3 { background: var(--color-trust); }

/* ============================================================
   Drei Lösungen
   ============================================================ */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease);
}
.solution-card:hover {
    box-shadow: 0 24px 48px rgba(14, 36, 68, .08);
    transform: translateY(-4px);
    border-color: var(--color-border-strong);
    color: inherit;
}
.sol-logo { margin: -44px -36px 22px; }
.sol-logo img { display: block; width: 100%; height: auto; max-width: none; }
.sol-subline { color: var(--color-mid-navy); font-weight: 700; font-size: 17px; line-height: 1.4; margin-bottom: 14px; }
.sol-body { color: var(--color-text-muted); flex: 1; margin-bottom: 24px; font-size: 18px; }
.sol-cta {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--color-brand);
    font-weight: 700;
    font-size: 15px;
}
.sol-cta svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease); }
.solution-card:hover .sol-cta svg { transform: translateX(4px); }

/* ============================================================
   Stats / Referenzen
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.stat-tile {
    background: #fff;
    border-left: 4px solid var(--color-brand);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
}
.stat-num {
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 60px;
    line-height: 1;
    color: var(--color-brand);
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}
/* Brand-Triade auf Stats spiegeln */
.stat-c1 .stat-num { color: var(--color-scan); }
.stat-c2 .stat-num { color: var(--color-data); }
.stat-c3 .stat-num { color: var(--color-trust); }
.stat-label {
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .08em;
    font-weight: 700;
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
}
.project-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    color: var(--color-text);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.project-list li:hover { box-shadow: 0 8px 20px rgba(14, 36, 68, .05); border-color: var(--color-border-strong); }
.project-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 20px) / 2);
}
.project-list li::before {
    content: "";
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--color-brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 20px 20px no-repeat;
}

/* ============================================================
   Logo-Grid nach Branche
   ============================================================ */
.logo-industry { margin-bottom: 56px; }
.logo-industry:last-child { margin-bottom: 0; }
.logo-industry-label {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-mid-navy);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 24px;
}
.logo-industry-label::after {
    content: "";
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        var(--color-scan) 0%,
        var(--color-data) 50%,
        var(--color-trust) 100%);
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
    align-items: center;
}
.logo-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.logo-grid img {
    height: 62px;
    width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(100%) contrast(1.05);
    opacity: .78;
    animation: logo-wash 16s infinite ease-in-out;
    animation-delay: var(--grp-delay, 0s);
}
/* Gruppen-Sequenz: Gemeinden -> Verwaltungen -> Unternehmen -> Banken
   Sibling-Kaskade weist jeder Gruppe ihre Phase zu */
.logo-industry { --grp-delay: 0s; }
.logo-industry ~ .logo-industry { --grp-delay: 4s; }
.logo-industry ~ .logo-industry ~ .logo-industry { --grp-delay: 8s; }
.logo-industry ~ .logo-industry ~ .logo-industry ~ .logo-industry { --grp-delay: 12s; }
@keyframes logo-wash {
    0%, 15%, 100% {
        filter: grayscale(100%) contrast(1.05);
        opacity: .78;
    }
    3%, 12% {
        filter: grayscale(0%) contrast(1.05);
        opacity: 1;
    }
}
.logo-item:hover img,
.logo-item:focus-visible img {
    filter: none !important;
    opacity: 1 !important;
}
@media (prefers-reduced-motion: reduce) {
    .logo-grid img { animation: none; }
}
.logo-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translate(-50%, 6px);
    background: var(--color-brand);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .01em;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(14, 36, 68, .18);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s linear var(--t-base);
    z-index: 5;
}
.logo-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-brand);
}
.logo-item:hover .logo-tooltip,
.logo-item:focus-visible .logo-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s;
}
.logo-empty {
    aspect-ratio: 2 / 1;
    border: 1px dashed var(--color-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ============================================================
   Zertifikate
   ============================================================ */
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cert-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    position: relative;
    transition: box-shadow var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease);
    display: flex;
    flex-direction: column;
}
.cert-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: var(--color-border-strong); }
.cert-logo-placeholder {
    width: 80px; height: 80px;
    border: 1px dashed var(--color-gold);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
    padding: 6px;
}
.cert-logo {
    width: 80px; height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cert-icon {
    width: auto; height: 72px;
    margin-bottom: 22px;
    color: var(--color-brand);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
.cert-icon svg { height: 100%; width: auto; max-width: 96px; }
.cert-icon img { height: 100%; width: auto; max-width: 110px; object-fit: contain; }
.cert-badge {
    display: inline-block;
    background: var(--color-brand);
    color: #fff;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    width: fit-content;
}
.cert-card h3 { font-size: 22px; margin-bottom: 12px; }
.cert-card p { color: var(--color-text-muted); font-size: 17px; margin: 0; flex: 1; }
/* Brand-Triade auf Zertifizierungen: Qualität→Scan/Navy, Gleichstellung→Data/Teal, Nachhaltigkeit→Trust/Grün */
.cert-c1 .cert-icon { color: var(--color-scan); }
.cert-c1 .cert-badge { background: var(--color-scan); }
.cert-c2 .cert-icon { color: var(--color-data); }
.cert-c2 .cert-badge { background: var(--color-data); }
.cert-c3 .cert-icon { color: var(--color-trust); }
.cert-c3 .cert-badge { background: var(--color-trust); }
.cert-doc-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 20px;
}
.cert-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(20, 59, 105, .06);
    color: var(--color-brand);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    border-radius: var(--radius-pill);
    width: fit-content;
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.cert-doc-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.cert-doc-link:hover { background: var(--color-brand); color: #fff; }

/* ============================================================
   Anspruch (4 Checks)
   ============================================================ */
.claim-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}
.claim-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.claim-item:hover { box-shadow: 0 8px 20px rgba(14, 36, 68, .05); border-color: var(--color-border-strong); }
.claim-check {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.claim-check svg { width: 18px; height: 18px; }
.claim-item-text { font-weight: 700; font-size: 19px; color: var(--color-text); }

/* ============================================================
   Warum DigiAct? — 2-spaltig
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.two-col .lead { font-size: 20px; color: var(--color-text-muted); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
    position: relative;
    padding: 18px 22px 18px 56px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 18px;
    transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.feature-list li:hover { box-shadow: 0 6px 16px rgba(14, 36, 68, .05); border-color: var(--color-border-strong); }
.feature-list li::before {
    content: "";
    position: absolute;
    left: 22px; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--color-brand);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================================
   Mehr als — Varied Bento
   ============================================================ */
.mehr-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}
.mehr-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: box-shadow var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease);
    position: relative;
    overflow: hidden;
}
.mehr-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--color-border-strong); }
.mehr-card .mc-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: rgba(20, 59, 105, .08);
    color: var(--color-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
}
.mehr-card .mc-icon svg { width: 24px; height: 24px; }
.mehr-card h4 {
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 17px;
    color: var(--color-text);
    margin: 18px 0 0;
    letter-spacing: -0.01em;
}
.mehr-card.featured {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-mid-navy) 100%);
    color: #fff;
    border-color: transparent;
    grid-column: span 2;
    grid-row: span 2;
}
.mehr-card.featured h4 { color: #fff; font-size: 24px; line-height: 1.2; margin-top: 24px; }
.mehr-card.featured p { color: rgba(255, 255, 255, .85); margin: 14px 0 0; font-size: 17px; line-height: 1.55; }
.mehr-card.featured .mc-icon { background: rgba(255, 255, 255, .14); color: #fff; width: 56px; height: 56px; }
.mehr-card.featured .mc-icon svg { width: 28px; height: 28px; }
.mehr-card.wide { grid-column: span 2; }

.mehr-graphic-wrap {
    display: flex;
    justify-content: center;
    margin: 80px auto 0;
}
.mehr-graphic {
    width: auto;
    max-width: 90%;
    max-height: 57.6vh;
    height: auto;
    display: block;
}

.mehr-cta {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

/* ============================================================
   Abschluss-CTA — 2-Karten-Split
   ============================================================ */
.cta-section { padding: 112px 0; background: var(--color-bg-soft); }
.cta-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.cta-main {
    background: linear-gradient(135deg, var(--color-dark-mid) 0%, var(--color-mid-navy) 100%);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    min-height: 460px;
}
.cta-main .section-eyebrow { color: var(--color-light-accent); }
.cta-main h2 { color: #fff; margin-bottom: 18px; }
.cta-main p {
    color: rgba(255, 255, 255, .85);
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 32px;
    max-width: 520px;
}
.cta-main .btn { margin-top: auto; align-self: flex-start; }
/* CTA-Splitkarte: zwei Buttons nebeneinander wie im Hero */
.cta-main > .hero-ctas { margin-top: auto; align-self: flex-start; }
.cta-main > .hero-ctas .btn { margin-top: 0; align-self: auto; }
.cta-side {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: 40px 36px 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    min-height: 460px;
    overflow: hidden;
}
.cta-side::before {
    content: "";
    position: absolute;
    left: 0;
    top: 32px;
    bottom: 32px;
    width: 4px;
    background: var(--color-brand);
    border-radius: 0 4px 4px 0;
}
.cta-side h4 {
    font-size: 13px;
    color: var(--color-brand);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0 0 28px;
}
.cta-contact-group + .cta-contact-group { margin-top: 24px; }
.cta-contact-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--color-text-soft);
    margin: 0 0 10px;
}
.cta-contact-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-bg-soft);
}
.cta-contact-rows { display: flex; flex-direction: column; gap: 6px; }
.cta-contact-rows a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 4px 0;
}
.cta-contact-rows a:hover { color: var(--color-brand); }
.cta-contact-rows svg { width: 16px; height: 16px; color: var(--color-brand); flex-shrink: 0; }
.hours-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    padding: 13px 0;
}
.hours-line svg { width: 16px; height: 16px; color: var(--color-brand); flex-shrink: 0; }
.hours-sep { color: var(--color-text-soft); margin: 0 2px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--color-dark-mid); color: rgba(255, 255, 255, .75); padding: 80px 0 28px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-grid h4 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-grid a {
    color: rgba(255, 255, 255, .7);
    display: block;
    padding: 6px 0;
    font-size: 15px;
}
.footer-grid a:hover { color: #fff; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-address {
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.7;
    margin-top: 18px;
}
.footer-address .company { color: #fff; font-weight: 700; display: block; margin-bottom: 6px; }
.footer-contact-inline {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
}
.footer-contact-inline a { padding: 2px 0; font-size: 14px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    flex-wrap: wrap;
    gap: 14px;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom .legal-links a { color: rgba(255, 255, 255, .55); }
.footer-bottom .legal-links a:hover { color: #fff; }
.footer-bottom .footer-legal { text-align: center; flex: 1; }
.footer-bottom .footer-legal a { color: rgba(255, 255, 255, .55); font-size: 13px; }
.footer-bottom .footer-legal a:hover { color: #fff; }

/* ============================================================
   PDF Viewer Modal — inline document preview
   ============================================================ */
.pdf-modal[hidden] { display: none; }
.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vh 24px;
}
.pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 38, .78);
    backdrop-filter: blur(2px);
}
.pdf-modal-frame {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: min(92vh, 1100px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.pdf-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #E5E7EB;
    background: #F8FAFC;
    gap: 16px;
}
.pdf-modal-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pdf-modal-actions { display: flex; gap: 4px; }
.pdf-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: #475569;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.pdf-modal-btn:hover { background: #E5E7EB; color: #0F172A; }
.pdf-modal-btn svg { width: 18px; height: 18px; }
.pdf-modal-pageinfo { display: none; }
.pdf-modal-viewport {
    flex: 1;
    overflow: auto;
    background: #2A2F3A;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.pdf-modal-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    min-height: 100%;
}
.pdf-modal-page {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    border-radius: 2px;
    max-width: 100%;
    height: auto;
    display: block;
}
.pdf-modal-status {
    color: #E5E7EB;
    font-size: 14px;
    padding: 24px;
    align-self: center;
    margin: auto;
}
@media (max-width: 600px) {
    .pdf-modal { padding: 0; }
    .pdf-modal-frame { border-radius: 0; height: 100vh; max-width: none; }
    .pdf-modal-pageinfo { display: none; }
    .pdf-modal-pages { padding: 12px; gap: 12px; }
}

/* ============================================================
   Scroll-to-top — minimalistisch, erscheint nach Scroll > 600px
   ============================================================ */
.scroll-top {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    border: 2px solid #fff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(20, 59, 105, .28);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
    z-index: 40;
}
.scroll-top svg { width: 20px; height: 20px; }
.scroll-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--color-brand-hover); box-shadow: 0 10px 24px rgba(20, 59, 105, .36); }
.scroll-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.scroll-top.is-over-dark {
    background: #fff;
    color: var(--color-brand);
    border-color: var(--color-brand);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.scroll-top.is-over-dark:hover { background: #F1F5F9; }
@media (min-width: 768px) {
    .scroll-top { width: 48px; height: 48px; right: 64px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    .scroll-top svg { width: 22px; height: 22px; }
}

/* ============================================================
   Modal (Erstberatung)
   ============================================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(14, 36, 68, .6);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base) var(--ease);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open[hidden] { display: flex; }
.modal {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 44px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 36px; height: 36px;
    border: none;
    background: var(--color-bg-soft);
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.modal-close svg { width: 18px; height: 18px; }
.modal h3 { font-size: 24px; margin-bottom: 8px; }
.modal-sub { color: var(--color-text-muted); margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text);
}
.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    background: var(--color-bg-softer);
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(20, 59, 105, .15);
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-hint { color: var(--color-text-soft); font-size: 13px; margin: 14px 0 0; }
.form-hint-inline { display: block; color: var(--color-text-soft); font-size: 12px; margin-top: 6px; }
.form-fieldset-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.modal.modal-wide { max-width: 520px; }

/* ===== Wizard-Step-Indicator: dezente Punkte auf einer Linie ===== */
.wizard-dots {
    list-style: none;
    margin: 18px auto 26px;
    padding: 0;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.wizard-dots::before {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    top: 50%;
    height: 1px;
    background: var(--color-border);
    transform: translateY(-50%);
    z-index: 0;
}
.wizard-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border-strong);
    position: relative;
    z-index: 1;
    transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.wizard-dot.is-current {
    background: var(--color-brand);
    transform: scale(1.25);
    box-shadow: 0 0 0 4px rgba(20, 59, 105, .12);
}
.wizard-dot.is-done { background: var(--color-brand); }
.form-row-grid { display: grid; gap: 12px; margin-bottom: 18px; }
.form-row-plz-city { grid-template-columns: 140px 1fr; }
.form-row-grid > div > label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text);
}
.form-row-grid input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    background: var(--color-bg-softer);
}
.form-row-grid input:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(20, 59, 105, .15);
}

/* ===== Phone-Input mit Country-Picker ===== */
.phone-input {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-softer);
    position: relative;
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.phone-input:focus-within {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(20, 59, 105, .15);
    background: #fff;
}
.phone-country {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: none;
    background: transparent;
    border-right: 1px solid var(--color-border);
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    color: var(--color-text);
    white-space: nowrap;
    line-height: 1;
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}
.phone-country:hover { background: rgba(20, 59, 105, .04); }
.phone-country .flag { font-size: 18px; line-height: 1; display: inline-block; white-space: nowrap; }
.phone-country .cc { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone-country .chevron { width: 14px; height: 14px; opacity: .55; transition: transform var(--t-base) var(--ease); }
.phone-country[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.form-row .phone-input input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    width: auto;
}
.form-row .phone-input input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}
.phone-country-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    margin: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 6px;
    min-width: 240px;
    z-index: 10;
}
.phone-country-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text);
    transition: background var(--t-fast) var(--ease);
}
.phone-country-list li:hover { background: var(--color-bg-soft); }
.phone-country-list li[aria-selected="true"] {
    background: rgba(20, 59, 105, .08);
    color: var(--color-brand);
    font-weight: 600;
}
.phone-country-list .flag { font-size: 20px; line-height: 1; }
.phone-country-list .cc-muted {
    margin-left: auto;
    color: var(--color-text-soft);
    font-variant-numeric: tabular-nums;
    font-size: 13px;
}
.phone-country-list li[aria-selected="true"] .cc-muted { color: var(--color-brand); }

/* ===== Testscan: Dokumenten-Typ-Chips ===== */
.doc-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.doc-type-chip {
    position: relative;
    cursor: pointer;
    user-select: none;
}
.doc-type-chip input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}
.doc-type-chip-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    min-height: 104px;
    height: 100%;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-softer);
    color: var(--color-text-muted);
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    transition: all var(--t-base) var(--ease);
}
.doc-type-chip-inner svg {
    width: 26px;
    height: 26px;
    color: var(--color-text-muted);
    transition: color var(--t-base) var(--ease);
}
.doc-type-chip:hover .doc-type-chip-inner {
    border-color: var(--color-brand);
    color: var(--color-text);
    background: #fff;
}
.doc-type-chip input:focus-visible + .doc-type-chip-inner {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(20, 59, 105, .15);
}
.doc-type-chip input:checked + .doc-type-chip-inner {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: #fff;
    box-shadow: 0 6px 14px rgba(20, 59, 105, .18);
}
.doc-type-chip input:checked + .doc-type-chip-inner svg { color: #fff; }

/* ===== Testscan: OTP-Eingabe ===== */
.otp-boxes {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin: 28px 0 8px;
}
.otp-boxes input {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    padding: 0;
    text-align: center;
    font-family: var(--font-base);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--color-text);
    background: var(--color-bg-softer);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.otp-boxes input:focus {
    outline: none;
    border-color: var(--color-brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(20, 59, 105, .18);
}
.otp-boxes input:not(:placeholder-shown),
.otp-boxes input:valid:not([value=""]) {
    border-color: var(--color-brand);
    background: #fff;
}
.otp-resend {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--color-text-soft);
    text-align: center;
}
.link-button {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-brand);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.link-button:hover { color: var(--color-brand-hover); }
.link-button:disabled { color: var(--color-text-soft); cursor: not-allowed; text-decoration: none; }
.ts-phone-masked { color: var(--color-text); font-weight: 600; }

/* ============================================================
   RichText (RTE) wrapper — neutralisiert TinyMCE-Output
   ============================================================ */
.rte > :first-child { margin-top: 0; }
.rte > :last-child { margin-bottom: 0; }
.rte p { margin: 0 0 12px; }
.rte p:last-child { margin-bottom: 0; }
.rte a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rte ul, .rte ol { margin: 0 0 12px 1.25em; padding: 0; }
.rte ul li, .rte ol li { margin-bottom: 6px; }
.rte strong, .rte b { font-weight: 700; }

/* RTE-Wrapper, die das Styling des alten <p>-Tags brauchen */
.sol-body.rte { color: var(--color-text-muted); flex: 1; margin-bottom: 24px; font-size: 18px; }
.sol-body.rte p { margin-bottom: 8px; }
.cert-body.rte { color: var(--color-text-muted); font-size: 17px; flex: 1; }
.cert-body.rte p { margin: 0 0 8px; }
.cert-body.rte p:last-child { margin-bottom: 0; }
.why-closing.rte { margin-top: 32px; font-weight: 700; color: var(--color-text); font-size: 19px; }
.why-closing.rte p { margin: 0; }
.claim-closing.rte { margin-top: 40px; text-align: center; font-weight: 700; color: var(--color-text); font-size: 19px; max-width: 760px; margin-left: auto; margin-right: auto; }
.claim-closing.rte p { margin: 0; }
.mehr-featured-body.rte { color: rgba(255, 255, 255, .85); margin: 14px 0 0; font-size: 17px; line-height: 1.55; }
.mehr-featured-body.rte p { margin: 0 0 10px; }
.mehr-featured-body.rte p:last-child { margin-bottom: 0; }
.cta-main-body.rte {
    color: rgba(255, 255, 255, .85);
    font-size: 19px;
    line-height: 1.55;
    margin-bottom: 32px;
    max-width: 520px;
}
.cta-main-body.rte p { margin: 0 0 14px; }
.cta-main-body.rte p:last-child { margin-bottom: 0; }
.cta-main-body.rte a { color: var(--color-light-accent); }
.hero-body.rte { color: rgba(255, 255, 255, .85); max-width: 580px; margin-bottom: 36px; font-size: 20px; line-height: 1.6; }
.hero-body.rte p { margin: 0 0 12px; }
.hero-body.rte p:last-child { margin-bottom: 0; }
.hero-body.rte a { color: var(--color-light-accent); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   Generische Inhaltsseiten (Contact / Legal / Solution)
   ============================================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-deep-navy) 0%, var(--color-brand) 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}
.page-hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(121, 181, 242, .16), transparent 55%);
    pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1:not(.page-hero-logo) { color: #fff; margin-bottom: 18px; }
.page-hero p {
    color: rgba(255, 255, 255, .85);
    font-size: 21px;
    max-width: 720px;
    margin: 0 auto;
}

/* Lösungsseiten – Hero in der jeweiligen Brandfarbe */
.page-hero-scan,
.page-hero-data,
.page-hero-trust {
    padding: 72px 0;
}
.page-hero-scan  { background: linear-gradient(180deg, var(--color-deep-navy) 0%, var(--color-scan) 100%); }
.page-hero-data  { background: linear-gradient(180deg, #0B7A84 0%, var(--color-data) 100%); }
.page-hero-trust { background: linear-gradient(180deg, #448439 0%, var(--color-trust) 100%); }

/* Glow auf den helleren Brandfarben staerker, damit der Effekt sichtbar bleibt */
.page-hero-data::after {
    background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .22), transparent 55%);
}
.page-hero-trust::after {
    background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .20), transparent 55%);
}

/* Subline auf den drei Solution-Heroes einheitlich auf 2 Zeilen */
.page-hero-scan > .container > p,
.page-hero-data > .container > p,
.page-hero-trust > .container > p {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-hero-logo {
    display: block;
    margin: 0 auto 72px;
    padding: 0;
    max-width: none;
    text-align: center;
    line-height: 1;
}
.page-hero-logo img {
    display: block;
    margin: 0 auto;
    height: 80px;
    width: auto;
    max-width: 100%;
}
.page-hero-scan .hero-ctas,
.page-hero-data .hero-ctas,
.page-hero-trust .hero-ctas {
    margin-top: 72px !important;
}
@media (max-width: 768px) {
    .page-hero-scan,
    .page-hero-data,
    .page-hero-trust { padding: 48px 0; }
    .page-hero-logo { max-width: none; margin-bottom: 48px; }
    .page-hero-logo img { height: 60px; }
    .page-hero-scan .hero-ctas,
    .page-hero-data .hero-ctas,
    .page-hero-trust .hero-ctas { margin-top: 48px !important; }
}
.prose { max-width: 760px; margin: 0 auto; }
.prose-center, .prose-center p, .prose-center ul, .prose-center li { text-align: center; }
.prose-center ul { list-style-position: inside; padding-left: 0; }
.prose p { color: var(--color-text-muted); font-size: 19px; line-height: 1.7; margin-bottom: 18px; }
.prose h2 { margin: 48px 0 18px; }
.prose h3 { margin: 32px 0 12px; }
.prose ul { padding-left: 22px; margin-bottom: 18px; }
.prose ul li { margin-bottom: 8px; color: var(--color-text-muted); }
.prose a { color: var(--color-brand); }
.prose a:hover { color: var(--color-brand-hover); }

.page-hero-body { color: rgba(255, 255, 255, .85); font-size: 21px; max-width: 720px; margin: 0 auto; }
.page-hero-body p { margin: 0 0 12px; }
.page-hero-body p:last-child { margin-bottom: 0; }
.page-hero-body a { color: var(--color-light-accent); }

/* Kontakt-Seite (Contact Page) */
.contact-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 28px; margin: 8px 0 24px; }
.contact-form-wrap h2 { font-size: 28px; margin: 8px 0 24px; }
.contact-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 16px;
}
.contact-card h4 {
    font-size: 12px;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 12px;
    font-weight: 700;
}
.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--color-text);
    font-weight: 500;
}
.contact-link svg { width: 18px; height: 18px; color: var(--color-brand); flex-shrink: 0; }
.contact-link:hover { color: var(--color-brand); }
.contact-form-card { padding: 32px; }

/* Cloud Portal (Solution Page, optional) — Halbkreis-Fächer */
.portal-arc-intro {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}
.portal-arc-intro h2 { margin-bottom: 18px; }
.portal-arc-intro .lead { font-size: 19px; color: var(--color-text-muted); margin: 0; }
.portal-arc {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.portal-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}
.portal-visual-bg {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(20, 59, 105, .10), rgba(20, 59, 105, 0) 65%);
}
.portal-visual-circle {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 86%; aspect-ratio: 1 / 1; border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-hover) 100%);
    box-shadow: 0 40px 80px -30px rgba(20, 59, 105, .5);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.portal-visual-circle::after {
    content: ''; position: absolute; inset: 14px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    pointer-events: none;
}
.portal-visual-circle img {
    width: 78%; height: auto; border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.portal-steps { position: relative; padding: 12px 0; }
.portal-steps-curve {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    pointer-events: none; overflow: visible;
}
.portal-steps-curve path {
    fill: none; stroke: var(--color-brand);
    stroke-opacity: .22; stroke-width: 2; stroke-dasharray: 4 7;
}
.portal-step {
    position: relative;
    padding: 16px 0 16px calc(76px + var(--fan, 0px));
    transition: padding var(--t-base) var(--ease);
}
.portal-step:not(:last-child) { border-bottom: 1px dashed var(--color-border); }
.portal-step-bubble {
    position: absolute; left: var(--fan, 0px); top: 16px;
    width: 56px; height: 56px; border-radius: 50%;
    background: #fff; border: 2px solid var(--color-brand);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-brand);
    box-shadow: 0 8px 20px -8px rgba(20, 59, 105, .3);
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease), left var(--t-base) var(--ease);
}
.portal-step:hover .portal-step-bubble {
    background: var(--color-brand); color: #fff; transform: scale(1.05);
}
.portal-step-bubble svg { width: 24px; height: 24px; }
.portal-step h4 {
    font-size: 17px; font-weight: 700; margin: 0;
    color: var(--color-brand); line-height: 1.3; padding-top: 16px;
}

/* Prozess-Schritte (Solution Page, optional) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step-counter;
}
@media (max-width: 900px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .process-steps { grid-template-columns: 1fr; }
}
.process-step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    position: relative;
    transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.process-step:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--color-border-strong); }
.process-step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.process-step h4 { font-size: 17px; margin: 0 0 8px; }
.process-step p { color: var(--color-text-muted); font-size: 17px; margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .nav-primary { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-primary.is-open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0; right: 0; bottom: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--color-deep-navy);
        padding: 88px 24px 32px;
        gap: 4px;
        margin: 0;
        z-index: 49;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-primary.is-open li { width: 100%; }
    .nav-primary.is-open a {
        display: block;
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
    }
    .nav-primary.is-open .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, .04);
        margin: 4px 0 8px;
        padding: 8px;
    }
    .nav-primary.is-open .dropdown a { color: rgba(255, 255, 255, .82); }
    .nav-primary.is-open .dropdown a:hover { background: rgba(255, 255, 255, .10); color: #fff; }
    .nav-primary.is-open .dropdown .dt strong { color: #fff; }
    .nav-primary.is-open .dropdown .di { background: rgba(255, 255, 255, .14); color: #fff; }
    .nav-primary.is-open .has-dropdown > a::after { border-color: #fff; }
}
@media (max-width: 960px) {
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-logo { height: 60px; }
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .tiles-3col,
    .solutions-grid,
    .stats-grid,
    .certs-grid { grid-template-columns: 1fr; }
    .claim-grid { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .project-list { grid-template-columns: 1fr; }
    .project-list li:last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: stretch;
        width: auto;
        max-width: none;
    }
    .mehr-bento { grid-template-columns: repeat(2, 1fr); }
    .mehr-card.featured { grid-column: span 2; grid-row: span 1; }
    .mehr-card.wide { grid-column: span 2; }
    .cta-split { grid-template-columns: 1fr; }
    .cta-main { padding: 48px 32px; min-height: 0; }
    .cta-side { min-height: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 72px 0; }
    .header-actions .header-phone { display: none; }
    .contact-split { grid-template-columns: 1fr; gap: 32px; }
    .portal-arc { grid-template-columns: 1fr; gap: 32px; }
    .portal-visual { max-width: 360px; }
    .portal-step h4 { font-size: 16px; }
}
@media (max-width: 720px) {
    body { font-size: 17px; }
    .container { padding: 0 18px; }

    h1 { font-size: clamp(30px, 7vw, 42px); }
    h2 { font-size: clamp(24px, 5.5vw, 34px); }
    h3 { font-size: 19px; }

    section { padding: 56px 0; }
    .cta-section { padding: 56px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header .lead { font-size: 18px; line-height: 1.55; }
    p.lead { font-size: 18px; line-height: 1.55; }

    /* Header: shrink for small phones, drop big CTA (Kontakt liegt im Hamburger-Menu + Page-CTAs) */
    .site-header { padding: 12px 0; }
    .header-inner { gap: 12px; }
    .logo-img { height: 32px; }
    .is-scrolled .logo-img { height: 28px; }
    .header-actions {
        margin-left: auto;
        padding-left: 0;
        border-left: none;
        gap: 4px;
    }
    .header-actions .btn-primary { display: none; }
    .nav-toggle { padding: 10px; }

    /* Hero */
    .hero { padding: 18px 0 48px; }
    .hero-logo { height: 48px; margin-bottom: 24px; max-width: 100%; }
    .hero h1 { font-size: clamp(28px, 7.5vw, 40px); margin-bottom: 20px; }
    .hero-body,
    .hero-body.rte { font-size: 18px; line-height: 1.55; margin-bottom: 28px; }
    .hero-eyebrow { margin-bottom: 18px; font-size: 13px; }
    .hero-ctas { width: 100%; flex-direction: column; gap: 12px; }
    .hero-ctas .btn { width: 100%; }
    .hero-quote { padding: 24px 20px; }
    .hero-quote::before { font-size: 68px; margin-bottom: 16px; }
    .hero-quote::after { font-size: 68px; margin-top: 32px; }
    .hero-quote p { font-size: 19px; line-height: 1.5; }
    .hero-quote .attribution { margin-top: 18px; padding-top: 14px; font-size: 11px; }

    /* Cards / Tiles */
    .tile { padding: 28px 22px; border-radius: var(--radius-lg); }
    .tile-icon { width: 52px; height: 52px; margin-bottom: 18px; }
    .tile-icon svg { width: 24px; height: 24px; }
    .tile h3 { font-size: 20px; }

    .solution-card { padding: 32px 24px; border-radius: var(--radius-lg); }
    .sol-logo { margin: -32px -24px 18px; }

    .stat-tile { padding: 24px 22px; }
    .stat-num { font-size: 44px; }

    .cert-card { padding: 30px 24px; border-radius: var(--radius-lg); }
    .cert-card h3 { font-size: 20px; }
    .cert-logo-placeholder { width: 64px; height: 64px; }

    .claim-item { padding: 18px 20px; gap: 14px; }
    .claim-check { width: 32px; height: 32px; }
    .claim-check svg { width: 16px; height: 16px; }
    .claim-item-text { font-size: 18px; }

    .feature-list li { padding: 16px 18px 16px 52px; font-size: 17px; }
    .feature-list li::before { left: 18px; }

    .project-list li { padding: 18px 20px; font-size: 16px; gap: 14px; }
    .project-list li::before { width: 32px; height: 32px; background-size: 17px 17px; }

    /* Logo-Grid Referenzen / Banken */
    .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .logo-grid img { height: 54px; }
    .logo-industry { margin-bottom: 40px; }
    .logo-industry-label { font-size: 13px; margin-bottom: 18px; }

    /* Bento — alles 1-spaltig auf Mobile */
    .mehr-bento { grid-template-columns: 1fr; gap: 14px; grid-auto-rows: auto; }
    .mehr-card { padding: 24px; }
    .mehr-card.featured,
    .mehr-card.wide { grid-column: span 1; grid-row: span 1; }
    .mehr-card.featured h4 { font-size: 20px; margin-top: 18px; }

    /* Mehr-Graphic (Innovation Consulting) — auf Mobil kleiner */
    .mehr-graphic-wrap { margin-top: 40px; }
    .mehr-graphic { max-width: 70%; max-height: 36vh; }
    .mehr-cta { margin-top: 40px; }

    /* CTA Split */
    .cta-main { padding: 36px 24px; }
    .cta-side { padding: 28px 22px 32px 26px; }
    .cta-side::before { top: 24px; bottom: 24px; }
    .cta-contact-rows a { font-size: 17px; }
    .cta-main h2 { margin-bottom: 14px; }
    .cta-main p,
    .cta-main-body.rte { font-size: 18px; margin-bottom: 24px; }
    /* Lange CTA-Button-Texte duerfen auf Mobile umbrechen, sonst sprengt der Button die Karte */
    .cta-main .btn { white-space: normal; width: 100%; padding: 14px 20px; line-height: 1.3; }

    /* Generische Page-Hero */
    .page-hero { padding: 80px 0 56px; }
    .page-hero p,
    .page-hero-body { font-size: 18px; line-height: 1.55; }

    /* Prose */
    .prose p { font-size: 18px; line-height: 1.65; }
    .prose h2 { margin: 36px 0 14px; }
    .prose h3 { margin: 24px 0 10px; }

    /* Contact */
    .contact-info h2,
    .contact-form-wrap h2 { font-size: 24px; margin: 6px 0 18px; }
    .contact-form-card { padding: 24px 20px; }
    .contact-card { padding: 20px 22px; }

    /* Process steps */
    .process-step { padding: 26px 22px; }

    /* Modal — full-width-feeling auf Mobile */
    .modal-overlay { padding: 8px; }
    .modal { padding: 22px 18px; max-height: 96vh; border-radius: var(--radius-lg); }
    .modal-close { top: 10px; right: 10px; width: 30px; height: 30px; }
    .modal h3 { font-size: 20px; padding-right: 40px; margin-bottom: 4px; }
    .modal-sub { font-size: 14px; margin-bottom: 16px; }
    .form-row { margin-bottom: 12px; }
    .form-row label { font-size: 13px; margin-bottom: 4px; }
    .form-row input,
    .form-row textarea { padding: 10px 12px; font-size: 14px; }
    .form-row textarea { min-height: 72px; }
    .form-hint { font-size: 12px; margin: 10px 0 0; }
    .form-actions { flex-direction: column-reverse; gap: 8px; margin-top: 16px; }
    .form-actions .btn { width: 100%; padding: 12px 18px; }

    /* Testscan: Dokumenten-Chips + OTP-Boxen kompakter */
    .doc-types { grid-template-columns: 1fr; gap: 8px; }
    .doc-type-chip-inner { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px 14px; font-size: 14px; }
    .doc-type-chip-inner svg { width: 22px; height: 22px; }
    .otp-boxes { gap: 6px; }
    .otp-boxes input { font-size: 22px; }
    .form-row-plz-city { grid-template-columns: 110px 1fr; gap: 10px; }

    /* Footer */
    .site-footer { padding: 56px 0 24px; }
    .footer-grid { gap: 32px; margin-bottom: 32px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-grid > div { display: flex; flex-direction: column; align-items: center; }
    .footer-logo img { margin-left: auto; margin-right: auto; }
    .footer-address { text-align: center; }
    .footer-contact-inline { align-items: center; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .footer-bottom .footer-legal { text-align: center; }
    .two-col { gap: 24px; }
}
@media (max-width: 400px) {
    .container { padding: 0 14px; }
    .stat-num { font-size: 38px; }
    .logo-grid { grid-template-columns: 1fr; gap: 14px; }
    .logo-grid img { height: 60px; }
    .hero h1 { font-size: clamp(26px, 8vw, 34px); }
    .section-header { margin-bottom: 32px; }
    .modal { padding: 20px 16px; }
    .modal h3 { font-size: 19px; }
    .modal-sub { font-size: 13px; margin-bottom: 14px; }
}

/* ============================================================
   Services Grid — Was digitalisieren wir? (Brand-Blau + Teal)
   ============================================================ */
.services-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1180px;
    margin: 0 auto;
}
@media (max-width: 880px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
}
.service-card {
    position: relative;
    padding: 28px 26px 26px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .10);
}
.service-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #fff;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-deep-navy);
    line-height: 1.3;
}
.service-card p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-soft);
    line-height: 1.5;
}
.service-c1 { background: #E5ECF5; }
.service-c1 .service-icon { background: #0A2240; }
.service-c2 { background: #EEF4FB; }
.service-c2 .service-icon { background: #143B69; }
.service-c3 { background: #E3EEFA; }
.service-c3 .service-icon { background: #1F5BA0; }
.service-c4 { background: #DCEAF8; }
.service-c4 .service-icon { background: #2D7BC9; }
.service-c5 { background: #E1F1FB; }
.service-c5 .service-icon { background: #4A95DB; }
.service-c6 { background: #E0F4F6; }
.service-c6 .service-icon { background: #0FA3B1; }
.service-c7 { background: #D6EEF1; }
.service-c7 .service-icon { background: #0B7E89; }
.service-c8 { background: #DCF1F4; }
.service-c8 .service-icon { background: #14B8C7; }
.service-c9 { background: #E2EBF7; }
.service-c9 .service-icon { background: #3D6AB0; }
@media (max-width: 540px) {
    .service-card { padding: 22px 20px 20px; }
    .service-card h3 { font-size: 16px; }
}
