/* ============================================================
   IT-Benefits — Modern Tech / Mittelstand
   Light theme · primary #1787a4 dominant
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
    --bg:           #f4f7fb;
    --bg-tint:      #eef2f7;
    --surface:      #ffffff;
    --surface-2:    #f8fafc;
    --surface-deep: #0c1623;

    --line:         #e3e8ef;
    --line-strong:  #d0d7de;

    --ink:          #0c1623;
    --ink-2:        #1f2937;
    --muted:        #4a5568;
    --dim:          #6b7280;
    --faint:        #98a3b3;

    --primary:      #1787a4;
    --primary-700:  #115f74;
    --primary-800:  #0d4e60;
    --primary-300:  #5fb6cc;
    --primary-100:  #d5ebf2;
    --primary-50:   #ebf5f8;

    --accent:       #00aac8;
    --accent-glow:  #00d4ff;
    --success:      #16a34a;
    --warn:         #d97706;

    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    --sh-1: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.04);
    --sh-2: 0 4px 12px -2px rgba(15,23,42,.06), 0 10px 30px -10px rgba(15,23,42,.08);
    --sh-3: 0 20px 50px -20px rgba(15,23,42,.18), 0 4px 12px -2px rgba(15,23,42,.06);
    --sh-brand: 0 18px 40px -16px rgba(23,135,164,.42);

    --font:      "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --container-max: 1240px;
    --header-height: 72px;
    --transition: .25s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    line-height: 1.55;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
::selection { background: var(--primary); color: #fff; }

/* ── Ambient background ──────────────────────────────────── */
.ambient {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(60vmax 40vmax at 100% 0%, rgba(23,135,164,.08), transparent 60%),
        radial-gradient(60vmax 50vmax at 0% 30%, rgba(0,170,200,.05), transparent 60%);
}
.shell { position: relative; z-index: 2; }

/* ── Container ───────────────────────────────────────────── */
.container {
    width: min(var(--container-max), 92vw);
    margin-inline: auto;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(38px, 5.5vw, 64px); font-weight: 600; letter-spacing: -.025em; line-height: 1.04; }
h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
h3 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
p  { color: var(--muted); line-height: 1.6; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; }

/* ── Section ─────────────────────────────────────────────── */
.section { padding: 100px 0; position: relative; }
.section.tight { padding: 60px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { margin: 0 auto; }
.section-title {
    font-weight: 600;
    font-size: clamp(26px, 3.8vw, 46px);
    letter-spacing: -.02em;
    line-height: 1.08;
    margin-top: 14px;
    color: var(--ink);
    overflow-wrap: break-word;
}
@media (max-width: 640px) { .section-title { hyphens: auto; } }
.section-sub { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 60ch; }
.section-head.center .section-sub { margin-inline: auto; }
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
    margin: 0 auto;
    max-width: var(--container-max);
    width: 92vw;
}

/* ── Eyebrow pill ────────────────────────────────────────── */
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 5px 12px 5px 8px;
    border-radius: 999px;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 12px; font-weight: 500;
    border: 1px solid var(--primary-100);
    font-family: var(--font-mono);
    letter-spacing: .02em;
}
.eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,170,200,.2);
}

/* ── Reveal animation ────────────────────────────────────── */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
.reveal[data-d="5"] { transition-delay: .35s; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 9px; padding: 12px 22px;
    font-size: 14.5px; font-weight: 500; font-family: var(--font);
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--surface); color: var(--ink);
    transition: all .25s cubic-bezier(.2,.7,.2,1);
    white-space: nowrap; cursor: pointer;
    text-decoration: none;
}
.btn:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--sh-1); color: var(--ink); }
.btn--primary, .btn-primary {
    background: var(--primary); color: #fff; border-color: transparent;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, var(--sh-1);
}
.btn--primary:hover, .btn-primary:hover { background: var(--primary-700); box-shadow: var(--sh-brand); color: #fff; }
.btn--ghost, .btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn--ghost:hover, .btn-ghost:hover { background: var(--surface); }
.btn--lg, .btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }

/* ── Topbar ──────────────────────────────────────────────── */
.topbar {
    background: var(--surface-deep);
    color: rgba(255,255,255,.85);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 28px; padding: 10px 0;
}
.topbar a {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,.78); transition: color .2s;
}
.topbar a:hover { color: #fff; }
.topbar a svg { color: var(--accent-glow); }
.topbar-cta {
    background: var(--accent); color: #fff !important;
    padding: 6px 14px; border-radius: 999px;
    font-weight: 500; font-size: 12.5px;
    display: inline-flex; align-items: center; gap: 7px;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.topbar-cta:hover { background: var(--primary); transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(0,170,200,.5); }
.topbar-cta::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25);
    animation: liveDot 1.6s ease-in-out infinite;
}
@keyframes liveDot { 0%,100% { box-shadow: 0 0 0 3px rgba(255,255,255,.25); } 50% { box-shadow: 0 0 0 5px rgba(255,255,255,0); } }
@media (max-width: 640px) { .topbar { display: none; } }

/* ── Header ──────────────────────────────────────────────── */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(244,247,251,.88);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, background .25s, box-shadow .25s;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.header.scrolled {
    border-bottom-color: var(--line);
    background: rgba(255,255,255,.92);
    box-shadow: 0 1px 0 var(--line), 0 6px 20px -10px rgba(15,23,42,.08);
}
/* Chrome downsamples backdrop-filter compositing layers above ~4096 CSS px viewport
   width, causing visible blur artefacts on ultra-wide displays. Fall back to an
   opaque background where the frosted-glass effect is imperceptible anyway. */
@media (min-width: 3840px) {
    .header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(244,247,251,.97);
    }
    .header.scrolled {
        background: rgb(255,255,255);
    }
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; gap: 32px;
}
.header-logo { display: inline-flex; flex-shrink: 0; }
.header-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; white-space: nowrap; }
.nav-links a {
    font-size: 14.5px; color: var(--ink-2); font-weight: 500;
    position: relative; transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
    content: ""; position: absolute;
    left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--primary); border-radius: 2px;
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Dropdown */
.nav-item.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: calc(100% + 12px); left: 0;
    min-width: 200px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--sh-2); padding: 6px;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: all .2s; list-style: none;
}
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
    opacity: 1; visibility: visible; transform: none;
}
.dropdown-menu a {
    display: block; padding: 8px 12px; border-radius: var(--r-xs);
    font-size: 13.5px; color: var(--ink-2);
}
.dropdown-menu a:hover { background: var(--primary-50); color: var(--primary); }

/* Mobile burger */
.mobile-menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; background: none; border: none; cursor: pointer;
}
.burger-line { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }
@media (max-width: 992px) {
    .mobile-menu-toggle { display: flex; }
    .nav-links, .nav-cta { display: none; }
    .main-nav.open .nav-links { display: flex; flex-direction: column; gap: 0; }
    .main-nav.open .nav-cta { display: flex; }
    .main-nav.open {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--surface); border-top: 1px solid var(--line);
        box-shadow: var(--sh-2); padding: 16px 24px;
        display: flex; flex-direction: column; gap: 12px;
    }
    .main-nav.open .nav-links { padding: 0; }
    .main-nav.open .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
}

/* ── Hero – Split Layout ─────────────────────────────────── */
.hero { padding: 60px 0 80px; position: relative; }
.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-title {
    font-size: clamp(32px, 5.5vw, 64px); font-weight: 600;
    line-height: 1.08; letter-spacing: -.025em;
    color: var(--ink); margin-top: 28px;
    overflow-wrap: break-word;
}
@media (max-width: 640px) { .hero-title { hyphens: auto; } }
.hero-title .accent-line { color: var(--primary); }
.hero-sub {
    margin-top: 24px; font-size: clamp(16px, 1.15vw, 18.5px);
    color: var(--muted); max-width: 52ch; line-height: 1.55;
}
.hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust {
    margin-top: 40px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 14px; padding-top: 24px;
    border-top: 1px solid var(--line);
}
@media (max-width: 560px) { .hero-trust { grid-template-columns: 1fr; } }
.hero-trust-item {
    display: flex; gap: 10px; align-items: center;
    font-size: 12.5px; color: var(--muted); min-width: 0;
}
.hero-trust-item span:last-child {
    display: flex; flex-direction: column; line-height: 1.25; min-width: 0;
}
.hero-trust-item b { color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.hero-trust-item .ico {
    width: 28px; height: 28px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 7px; display: grid; place-items: center;
    color: var(--primary); flex-shrink: 0;
}
.hero-trust-item .ico svg { width: 14px; height: 14px; }

/* ── Dashboard Mockup ────────────────────────────────────── */
.dashboard { position: relative; perspective: 1800px; }
.dashboard-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 22px;
    box-shadow: var(--sh-3);
    transform: rotateY(-4deg) rotateX(2deg);
    animation: floaty 8s ease-in-out infinite alternate;
}
@keyframes floaty {
    0%   { transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
    100% { transform: rotateY(-2deg) rotateX(1deg) translateY(-12px); }
}
.dash-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.dash-head .title { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.dash-head .sub { font-size: 11.5px; color: var(--dim); font-family: var(--font-mono); margin-top: 2px; }
.dash-head .live {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--success); font-family: var(--font-mono);
    padding: 4px 9px; border-radius: 999px;
    background: rgba(22,163,74,.08);
}
.dash-head .live::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--success); animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.45; transform:scale(.85); } }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 18px; }
.dash-stat {
    background: var(--surface-2); border: 1px solid var(--line);
    border-radius: var(--r-sm); padding: 12px 14px;
}
.dash-stat .lbl { font-size: 10.5px; color: var(--dim); font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.dash-stat .val { font-size: 20px; font-weight: 600; margin-top: 6px; letter-spacing: -.01em; color: var(--ink); }
.dash-stat .val .ok  { color: var(--success); font-size: 12px; font-weight: 500; margin-left: 4px; }
.dash-stat .val .acc { color: var(--primary); }

.dash-chart { margin-top: 18px; height: 130px; position: relative; }
.dash-chart svg { width: 100%; height: 100%; }
.chart-dot-pulse { animation: chartPulse 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes chartPulse { 0%,100% { r: 6; opacity: .18; } 50% { r: 9; opacity: 0; } }

.dash-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.dash-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; background: var(--surface-2);
    border-radius: var(--r-sm); border: 1px solid var(--line); font-size: 12.5px;
}
.dash-row .what { display: flex; gap: 10px; align-items: center; }
.dash-row .who  { font-weight: 500; color: var(--ink); }
.dash-row .when { color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.dash-row .pill { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: rgba(22,163,74,.1); color: var(--success); font-family: var(--font-mono); }
.dash-row .pill.warn { background: rgba(217,119,6,.1); color: var(--warn); }
.dash-icon-host {
    width: 26px; height: 26px; border-radius: 6px;
    background: var(--primary-50); display: grid; place-items: center;
    color: var(--primary); font-size: 10px; font-weight: 600; font-family: var(--font-mono);
}

.dash-float {
    position: absolute; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 11px 14px;
    box-shadow: var(--sh-2); display: flex; align-items: center; gap: 12px; font-size: 12.5px;
}
.dash-float .ico {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--primary-50); display: grid; place-items: center;
    color: var(--primary); flex-shrink: 0;
}
.dash-float .ico svg { width: 18px; height: 18px; }
.dash-float b { font-weight: 600; font-size: 13px; display: block; line-height: 1.2; color: var(--ink); }
.dash-float span { color: var(--dim); font-size: 11.5px; font-family: var(--font-mono); }
.dash-float.tl { top: -18px; left: -32px; animation: float1 7s ease-in-out infinite alternate; }
.dash-float.br { bottom: -22px; right: -22px; animation: float1 6s ease-in-out infinite alternate-reverse; }
@keyframes float1 { 0% { transform: translateY(0); } 100% { transform: translateY(-8px); } }
@media (max-width: 980px) { .dash-float { display: none !important; } }

/* ── Trust Strip ─────────────────────────────────────────── */
.trust-strip {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 24px 28px;
    display: flex; flex-direction: column; gap: 22px;
    box-shadow: var(--sh-1);
}
.trust-strip__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.trust-strip__label {
    font-family: var(--font-mono); font-size: 11.5px;
    text-transform: uppercase; color: var(--dim); letter-spacing: .1em;
}
.trust-badges {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center;
}
@media (max-width: 880px) { .trust-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
    .trust-badges { grid-template-columns: 1fr; }
    .trust-strip__head { flex-direction: column; align-items: flex-start; }
}
.trust-badge {
    display: flex; gap: 12px; align-items: center;
    font-size: 13.5px; font-weight: 500; color: var(--ink-2); min-width: 0;
}
.trust-badge > span:last-child { min-width: 0; line-height: 1.25; }
.trust-badge .b-ico {
    width: 36px; height: 36px; border-radius: 9px;
    display: grid; place-items: center;
    background: var(--primary-50); border: 1px solid var(--primary-100);
    color: var(--primary); flex-shrink: 0;
}
.trust-badge .b-ico svg { width: 16px; height: 16px; }
.trust-badge small { display: block; font-size: 11.5px; color: var(--dim); font-weight: 400; margin-top: 2px; }

/* ── Service Tabs ────────────────────────────────────────── */
.tabs-bar {
    display: flex; gap: 6px; padding: 6px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 999px; box-shadow: var(--sh-1);
    margin-bottom: 36px; overflow-x: auto; scrollbar-width: none;
}
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 18px; border-radius: 999px;
    font-size: 14px; font-weight: 500; color: var(--muted);
    white-space: nowrap; background: none; border: none; cursor: pointer;
    transition: all .25s cubic-bezier(.2,.7,.2,1);
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px -3px rgba(23,135,164,.45); }
.tab-btn .t-ic svg { width: 16px; height: 16px; display: block; }

.tab-panel {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); overflow: hidden;
    box-shadow: var(--sh-2);
    display: none; grid-template-columns: 1fr 1fr;
}
.tab-panel.active { display: grid; }
@media (max-width: 880px) { .tab-panel.active { grid-template-columns: 1fr; } }
.tab-content {
    padding: 48px; display: flex; flex-direction: column;
    justify-content: center; gap: 18px; min-height: 380px;
}
.tab-content h3 { font-size: 28px; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; color: var(--ink); }
.tab-content p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 50ch; }
.tab-feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 12px; }
.tab-feat {
    display: flex; gap: 10px; align-items: start;
    font-size: 13.5px; color: var(--ink-2); font-weight: 500;
}
.tab-feat .fi {
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(22,163,74,.12); color: var(--success);
    display: grid; place-items: center; flex-shrink: 0;
}
.tab-feat .fi svg { width: 11px; height: 11px; }
.tab-aside {
    background: linear-gradient(160deg, var(--primary-50), var(--surface-2));
    border-left: 1px solid var(--line);
    padding: 48px; display: flex; flex-direction: column; gap: 16px;
    min-height: 380px;
}
@media (max-width: 880px) { .tab-aside { border-left: 0; border-top: 1px solid var(--line); } }
.tab-aside-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 16px;
    box-shadow: var(--sh-1); display: flex; gap: 14px; align-items: start;
}
.tab-aside-card .ai {
    width: 38px; height: 38px; background: var(--primary-50);
    border-radius: 9px; display: grid; place-items: center;
    color: var(--primary); flex-shrink: 0;
}
.tab-aside-card .ai svg { width: 18px; height: 18px; }
.tab-aside-card b { font-size: 14px; font-weight: 600; display: block; margin-bottom: 2px; color: var(--ink); }
.tab-aside-card span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.tab-fade { animation: tabIn .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Industries Grid ─────────────────────────────────────── */
.industries {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
@media (max-width: 980px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .industries { grid-template-columns: repeat(2, 1fr); } }
.industry {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 22px 18px;
    text-align: center; cursor: pointer;
    transition: all .3s cubic-bezier(.2,.7,.2,1);
}
.industry:hover {
    transform: translateY(-3px); border-color: var(--primary-300);
    box-shadow: var(--sh-2);
}
.industry .i-ic {
    width: 44px; height: 44px; margin: 0 auto 14px;
    background: var(--primary-50); border-radius: 11px;
    display: grid; place-items: center; color: var(--primary);
    transition: transform .3s, background .3s;
}
.industry .i-ic svg { width: 20px; height: 20px; }
.industry:hover .i-ic { transform: scale(1.08) rotate(-3deg); background: var(--primary-100); }
.industry h5 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.industry small { font-size: 11.5px; color: var(--dim); font-family: var(--font-mono); }

/* ── Highlight Box ───────────────────────────────────────── */
.highlight {
    background: var(--surface-deep); color: #fff;
    border-radius: var(--r-xl); padding: 56px;
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
    box-shadow: var(--sh-3);
}
@media (max-width: 880px) { .highlight { grid-template-columns: 1fr; padding: 40px 32px; } }
.highlight::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(50% 50% at 100% 0%, rgba(0,212,255,.18), transparent 60%),
        radial-gradient(50% 50% at 0% 100%, rgba(23,135,164,.16), transparent 60%);
}
.highlight-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, black, transparent 70%);
    pointer-events: none;
}
.highlight > *:not(.highlight-grid) { position: relative; z-index: 1; }
.highlight .eyebrow {
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.9);
    border-color: rgba(255,255,255,.15);
}
.highlight h2 {
    font-size: clamp(28px, 3.4vw, 40px); font-weight: 600;
    letter-spacing: -.02em; line-height: 1.1; margin-top: 16px; color: #fff;
}
.highlight p { margin-top: 16px; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.6; max-width: 50ch; }
.highlight-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.highlight-cta .btn {
    background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15);
    color: #fff; backdrop-filter: blur(6px);
}
.highlight-cta .btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.highlight-cta .btn--primary, .highlight-cta .btn-primary { background: #fff; color: var(--surface-deep); border-color: #fff; }
.highlight-cta .btn--primary:hover, .highlight-cta .btn-primary:hover { background: var(--primary-50); }
.highlight-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg); overflow: hidden;
    background: rgba(255,255,255,.02);
}
.h-stat {
    padding: 26px 22px;
    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.h-stat:nth-child(2n) { border-right: 0; }
.h-stat:nth-child(n+3) { border-bottom: 0; }
.h-stat .num { font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: #fff; line-height: 1; }
.h-stat .num .sym { color: var(--accent-glow); }
.h-stat .lbl { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 8px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }

/* ── About / Team Teaser ─────────────────────────────────── */
.about, .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) { .about, .about-grid { grid-template-columns: 1fr; } }
.about-img {
    background: linear-gradient(160deg, var(--primary-50), var(--surface-2));
    border: 1px solid var(--line); border-radius: var(--r-xl);
    aspect-ratio: 5/4; position: relative; overflow: hidden;
    box-shadow: var(--sh-2);
}
.about-img-grid {
    position: absolute; inset: 24px;
    display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr;
    gap: 12px;
}
.about-tile {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: var(--sh-1);
    display: grid; place-items: center;
    color: var(--primary); font-family: var(--font-mono);
    font-size: 11px; letter-spacing: .05em;
    text-align: center; padding: 12px; position: relative; overflow: hidden;
}
.about-tile.lg {
    grid-column: span 2; grid-row: span 2;
    background: var(--surface-deep); color: #fff;
}
.about-tile.lg::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(50% 80% at 50% 100%, rgba(0,212,255,.2), transparent 60%);
}
.about-tile.lg svg { width: 60px; height: 60px; color: var(--accent-glow); position: relative; }
.about-tile.lg .tile-label { font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 12px; }
.about-tile .ph { font-weight: 600; font-size: 13px; color: var(--ink); }
.about-tile .ph small { display: block; color: var(--dim); font-weight: 400; font-size: 10.5px; margin-top: 4px; }
.about-content h2 { margin-top: 14px; }
.about-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; list-style: none; padding: 0; }
.about-list li { display: flex; gap: 16px; align-items: start; }
.about-list .a-num {
    font-family: var(--font-mono); font-size: 11.5px;
    color: var(--primary); font-weight: 500;
    padding-top: 4px; flex-shrink: 0; width: 30px;
}
.about-list b { font-weight: 600; font-size: 16px; display: block; margin-bottom: 4px; color: var(--ink); }
.about-list span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section { padding: 80px 0; }
.testimonials-section .section-heading {
    font-size: clamp(26px, 3vw, 36px); font-weight: 700;
    letter-spacing: -.025em; color: var(--ink);
    margin-bottom: 48px;
}
.testimonials-slider { position: relative; }
.testimonials-track { min-height: 200px; }
.testimonial-card {
    display: none; margin: 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 48px 56px;
    box-shadow: var(--sh-2);
    position: relative;
}
.testimonial-card.active { display: block; animation: tabIn .4s cubic-bezier(.2,.7,.2,1) both; }
.testimonial-card::before {
    content: "\201C";
    position: absolute; top: 24px; left: 48px;
    font-size: 80px; line-height: 1; color: var(--primary);
    opacity: .25; font-family: Georgia, serif; pointer-events: none;
}
.testimonial-card__quote {
    font-size: 18px; line-height: 1.65; color: var(--ink-2);
    margin: 0 0 28px; padding-top: 24px;
    max-width: 72ch;
}
.testimonial-card__footer { border-top: 1px solid var(--line); padding-top: 20px; }
.testimonial-card__author { display: flex; flex-direction: column; gap: 3px; font-style: normal; }
.testimonial-card__author strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.testimonial-card__company { font-size: 13.5px; color: var(--muted); }
.testimonials-controls {
    display: flex; gap: 10px; margin-top: 20px;
    justify-content: flex-end;
}
.testimonials-prev,
.testimonials-next {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--line);
    color: var(--muted); cursor: pointer; font-size: 18px;
    display: grid; place-items: center;
    transition: all .2s;
}
.testimonials-prev:hover,
.testimonials-next:hover {
    background: var(--primary); border-color: var(--primary);
    color: #fff; box-shadow: 0 4px 12px -3px rgba(23,135,164,.4);
}
@media (max-width: 640px) {
    .testimonial-card { padding: 32px 28px; }
    .testimonial-card::before { left: 24px; }
    .testimonial-card__quote { font-size: 16px; }
}

/* ── Partners ────────────────────────────────────────────── */
.partners {
    display: flex; gap: 40px 56px; flex-wrap: wrap;
    align-items: center; justify-content: center;
    padding: 40px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-lg);
}
.partner {
    font-family: var(--font-mono); font-size: 20px; font-weight: 600;
    color: var(--faint); letter-spacing: -.01em;
    transition: color .2s; display: flex; align-items: center;
    filter: grayscale(1); opacity: .65; transition: all .25s;
}
.partner:hover { color: var(--primary); filter: none; opacity: 1; }
.partner img { height: 36px; width: auto; max-width: 140px; object-fit: contain; display: block; }
@media (max-width: 640px) { .partners { gap: 28px 36px; padding: 28px; } .partner img { height: 28px; } }

/* ── Final CTA Section ───────────────────────────────────── */
.cta-section {
    background: linear-gradient(160deg, var(--primary), var(--primary-700));
    color: #fff; border-radius: var(--r-xl); padding: 72px;
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
    box-shadow: var(--sh-brand);
}
@media (max-width: 880px) { .cta-section { grid-template-columns: 1fr; padding: 48px 36px; } }
.cta-section::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(40% 80% at 100% 50%, rgba(0,212,255,.25), transparent 60%),
        radial-gradient(60% 60% at 0% 0%, rgba(255,255,255,.08), transparent 60%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section .eyebrow {
    background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.18);
}
.cta-section h2 {
    font-size: clamp(28px, 3.4vw, 42px); font-weight: 600;
    letter-spacing: -.022em; line-height: 1.1; margin-top: 16px; color: #fff;
}
.cta-section p { margin-top: 16px; color: rgba(255,255,255,.85); font-size: 16.5px; max-width: 48ch; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-actions .btn { justify-content: flex-start; padding: 18px 24px; }
.cta-actions .btn--primary, .cta-actions .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta-actions .btn--primary:hover, .cta-actions .btn-primary:hover { background: var(--surface-2); color: var(--primary); }
.cta-actions .btn--ghost, .cta-actions .btn-ghost {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
}
.cta-actions .btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.cta-btn-meta { display: flex; flex-direction: column; }
.cta-btn-meta .meta, .cta-actions .btn .meta { display: block; font-size: 12px; font-weight: 400; font-family: var(--font-mono); opacity: .7; margin-top: 2px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    background: var(--surface-deep); color: rgba(255,255,255,.7);
    padding: 80px 0 32px; margin-top: 80px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.5); margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(255,255,255,.78); font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--accent-glow); }
.footer-brand { color: #fff; margin-bottom: 22px; display: block; }
.footer-brand img { height: 28px; width: auto; }
.footer-addr { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.72); }
.footer-addr strong { color: #fff; font-weight: 600; display: block; }
.footer-teamviewer {
    margin-top: 22px;
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--accent); color: #fff;
    padding: 8px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 500;
    transition: background .2s, transform .2s;
}
.footer-teamviewer:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.footer-teamviewer::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25);
    animation: liveDot 1.6s ease-in-out infinite;
}
.footer-bottom {
    margin-top: 56px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; justify-content: space-between;
    font-size: 12px; color: rgba(255,255,255,.5);
    font-family: var(--font-mono);
}
@media (max-width: 560px) { .footer-bottom { flex-direction: column; gap: 8px; } }

/* ── Page content (non-homepage) ─────────────────────────── */
.page-content { min-height: 60vh; }
.page-content .container { max-width: var(--container-max); }
.typo3-content h1, .typo3-content h2, .typo3-content h3 { margin-bottom: 16px; }
.typo3-content p { margin-bottom: 16px; }
.typo3-content ul, .typo3-content ol { margin-bottom: 16px; }
.typo3-content a { color: var(--primary); text-decoration: underline; }
.typo3-content a:hover { color: var(--primary-700); }

/* ── Misc ────────────────────────────────────────────────── */
@media print {
    .ambient, .dash-float, .mobile-menu-toggle { display: none; }
}

/* ======================================================
   SUBPAGES — shared components
   ====================================================== */

/* ── Page section spacing ─────────────────────────────── */
.page-section { padding: 80px 0; }
.page-section.tight { padding: 56px 0; }
.page-section + .page-section { padding-top: 0; }

/* ── Page hero (subpages) ─────────────────────────────── */
.page-hero {
    position: relative; padding: 64px 0 80px;
    overflow: hidden; border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.page-hero.compact { padding: 48px 0 56px; }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(23,135,164,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,135,164,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 60% 80% at 70% 0%, black, transparent 70%);
}
.page-hero-glow {
    position: absolute; top: -50%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(closest-side, rgba(0,170,200,.12), transparent 70%);
    pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 880px; }
.breadcrumb {
    display: flex; gap: 8px; align-items: center;
    font-family: var(--font-mono); font-size: 12px;
    color: var(--dim); margin-bottom: 20px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--line-strong); margin: 0 6px; }
.page-hero-title {
    font-size: clamp(34px, 4.6vw, 56px); font-weight: 600;
    line-height: 1.06; letter-spacing: -.025em;
    color: var(--ink); margin-top: 18px;
}
.page-hero-title .accent { color: var(--primary); }
@media (max-width: 640px) { .page-hero-title { hyphens: auto; } }
.page-hero-sub {
    margin-top: 22px; font-size: clamp(16px, 1.15vw, 19px);
    color: var(--muted); max-width: 60ch; line-height: 1.55;
}
.page-hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Kicker & lede ────────────────────────────────────── */
.kicker {
    font-family: var(--font-mono); font-size: 11.5px;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--primary); font-weight: 500;
}
.lede { font-size: 17px; color: var(--muted); line-height: 1.65; }
.lede + .lede { margin-top: 16px; }

/* ── Split 2-column layout ────────────────────────────── */
.split {
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 56px; align-items: center;
}
.split.reverse > *:first-child { order: 2; }
@media (max-width: 880px) {
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split.reverse > *:first-child { order: 0; }
}

/* ── Feature card grid ────────────────────────────────── */
.fcard-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 880px) { .fcard-grid { grid-template-columns: 1fr; } }
.fcard-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) { .fcard-grid.two { grid-template-columns: 1fr; } }
.fcard {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 28px;
    transition: all .3s cubic-bezier(.2,.7,.2,1);
    position: relative; overflow: hidden; text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
}
.fcard:hover {
    transform: translateY(-2px); border-color: var(--primary-300);
    box-shadow: var(--sh-2);
}
.fcard .fc-ico {
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--primary-50); border: 1px solid var(--primary-100);
    display: grid; place-items: center; color: var(--primary);
    margin-bottom: 18px; flex-shrink: 0;
}
.fcard .fc-ico svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; color: var(--ink); }
.fcard p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.fcard ul { margin-top: 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fcard ul li {
    display: flex; gap: 8px; align-items: start;
    font-size: 13.5px; color: var(--ink-2);
}
.fcard ul li::before {
    content: ""; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%;
    background: var(--primary); margin-top: 9px;
}
.fcard-link {
    margin-top: auto; padding-top: 18px;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13.5px; font-weight: 500; color: var(--primary);
}
.fcard-link svg { width: 13px; height: 13px; }
.fcard.fcard--featured {
    background: var(--surface-deep); color: #fff; border-color: transparent;
}
.fcard.fcard--featured:hover { border-color: rgba(0,212,255,.25); }
.fcard.fcard--featured .fc-ico--glow {
    background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); color: var(--accent-glow);
}
.fcard.fcard--featured h3 { color: #fff; }
.fcard.fcard--featured p { color: rgba(255,255,255,.7); }
.fc-cta {
    margin-top: auto; padding-top: 18px;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13.5px; font-weight: 500; color: var(--accent-glow);
}
.fc-cta svg { width: 13px; height: 13px; }

/* ── Process steps ────────────────────────────────────── */
.process {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; position: relative;
}
@media (max-width: 980px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process-step {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 24px 22px; position: relative;
}
.process-step .p-num {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: .1em; color: var(--primary); font-weight: 500;
}
.process-step h4 { font-size: 16px; font-weight: 600; margin: 12px 0 8px; letter-spacing: -.01em; color: var(--ink); }
.process-step p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.process-step::after {
    content: ""; position: absolute; right: -18px; top: 50%;
    width: 16px; height: 1px; background: var(--line-strong);
}
.process-step:last-child::after { display: none; }
@media (max-width: 980px) { .process-step::after { display: none; } }

/* ── Stack chips ──────────────────────────────────────── */
.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; background: var(--surface);
    border: 1px solid var(--line); border-radius: 999px;
    font-size: 13px; font-weight: 500; color: var(--ink-2);
    transition: all .2s;
}
.stack-chip:hover { border-color: var(--primary-300); color: var(--primary); }
.stack-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ── Value list (icon · title · text) ─────────────────── */
.value-list { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 780px) { .value-list { grid-template-columns: 1fr; } }
.value-item { display: flex; gap: 18px; align-items: start; }
.value-item .v-ic {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 11px; background: var(--primary-50);
    border: 1px solid var(--primary-100);
    display: grid; place-items: center; color: var(--primary);
}
.value-item .v-ic svg { width: 20px; height: 20px; }
.value-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.value-item p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── FAQ accordion ────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); overflow: hidden; transition: border-color .2s;
}
.faq-item[open] { border-color: var(--primary-300); }
.faq-q {
    padding: 22px 24px; font-size: 16px; font-weight: 600;
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; color: var(--ink); user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: ""; width: 12px; height: 12px;
    border-right: 1.6px solid var(--muted);
    border-bottom: 1.6px solid var(--muted);
    transform: rotate(45deg); transition: transform .25s; flex-shrink: 0;
}
.faq-item[open] .faq-q::after { transform: rotate(-135deg); }
.faq-a { padding: 0 24px 22px; font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.faq-a p + p { margin-top: 10px; }

/* ── Spec table ───────────────────────────────────────── */
.spec {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden;
}
.spec-row { display: grid; grid-template-columns: 1fr 1.6fr; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row > * { padding: 18px 22px; }
.spec-row > *:first-child {
    background: var(--surface-2);
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: .04em; text-transform: uppercase;
    color: var(--dim); border-right: 1px solid var(--line);
    display: flex; align-items: center;
}
.spec-row > *:last-child { font-size: 14.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
@media (max-width: 660px) {
    .spec-row { grid-template-columns: 1fr; }
    .spec-row > *:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ── Timeline ─────────────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
    content: ""; position: absolute;
    left: 6px; top: 8px; bottom: 8px; width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-100));
    border-radius: 2px;
}
.tl-item { position: relative; padding: 16px 0 16px 20px; }
.tl-item::before {
    content: ""; position: absolute;
    left: -28px; top: 22px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--surface); border: 2px solid var(--primary);
}
.tl-item .tl-year {
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: .05em; color: var(--primary); font-weight: 500;
}
.tl-item h4 { font-size: 16px; font-weight: 600; margin: 6px 0; letter-spacing: -.01em; color: var(--ink); }
.tl-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Team grid (subpage) ──────────────────────────────── */
.team-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 880px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .team-grid { grid-template-columns: 1fr; } }
.team-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden; transition: all .25s;
}
.team-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.team-photo {
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, var(--primary-50), var(--surface-2));
    overflow: hidden; position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-body { padding: 18px 20px; }
.team-body h4 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin-bottom: 3px; }
.team-body .team-role { font-size: 12.5px; color: var(--dim); font-family: var(--font-mono); display: block; }
.team-body .team-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-top: 10px; }
.team-body .team-contact { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.team-body .team-contact a { font-size: 12.5px; color: var(--primary); font-weight: 500; }
.team-body .team-contact a:hover { color: var(--primary-700); }

/* ── Contact form & aside ─────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-form {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 36px; box-shadow: var(--sh-2);
}
.contact-form h3 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 6px; color: var(--ink); }
.contact-form .form-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form-row.single { grid-template-columns: 1fr; }
.form-row + .form-row { margin-top: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
    font-size: 12.5px; font-weight: 500; color: var(--ink-2);
    font-family: var(--font-mono); letter-spacing: .04em;
}
.field input, .field textarea, .field select {
    font: inherit; font-size: 14.5px; padding: 12px 14px;
    background: var(--surface-2); border: 1px solid var(--line);
    border-radius: var(--r-sm); color: var(--ink); transition: all .2s;
    appearance: auto;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--primary);
    background: #fff; box-shadow: 0 0 0 4px rgba(23,135,164,.1);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-help { font-size: 12px; color: var(--dim); margin-top: 2px; }
.field-checkbox {
    display: flex; gap: 10px; align-items: start;
    font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer;
}
.field-checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--primary); }
.field-checkbox a { color: var(--primary); text-decoration: underline; }
.form-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-hint { font-size: 12.5px; color: var(--dim); font-family: var(--font-mono); }

.contact-aside { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 22px 24px;
    display: flex; gap: 16px; align-items: start;
}
.contact-card .cc-ic {
    width: 42px; height: 42px; border-radius: 11px;
    background: var(--primary-50); border: 1px solid var(--primary-100);
    display: grid; place-items: center; color: var(--primary); flex-shrink: 0;
}
.contact-card .cc-ic svg { width: 20px; height: 20px; }
.contact-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.contact-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.contact-card a { color: var(--primary); font-weight: 500; }
.contact-map {
    height: 260px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-lg);
    position: relative; overflow: hidden;
}
.contact-map svg { width: 100%; height: 100%; }

/* ── EXT:form styling overrides ──────────────────────── */
.contact-form .form-element { display: flex; flex-direction: column; gap: 6px; }
.contact-form .form-element label {
    font-size: 12.5px; font-weight: 500; color: var(--ink-2);
    font-family: var(--font-mono); letter-spacing: .04em;
}
.contact-form .form-element input,
.contact-form .form-element textarea,
.contact-form .form-element select {
    font: inherit; font-size: 14.5px; padding: 12px 14px;
    background: var(--surface-2); border: 1px solid var(--line);
    border-radius: var(--r-sm); color: var(--ink); transition: all .2s;
    appearance: auto; width: 100%;
}
.contact-form .form-element input:focus,
.contact-form .form-element textarea:focus,
.contact-form .form-element select:focus {
    outline: none; border-color: var(--primary);
    background: #fff; box-shadow: 0 0 0 4px rgba(23,135,164,.1);
}
.contact-form .form-element textarea { min-height: 120px; resize: vertical; }
.contact-form .form-element.mb-3 { margin-bottom: 14px; }
.contact-form .form-element-check label {
    display: flex; gap: 10px; align-items: start; font-family: inherit;
    font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer;
    letter-spacing: 0;
}
.contact-form .form-element-check input[type=checkbox] {
    width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
    accent-color: var(--primary); padding: 0;
}
.contact-form .form-element .required-asterisk { color: var(--primary); margin-left: 2px; }
.contact-form form > .btn,
.contact-form [type=submit] {
    margin-top: 10px; display: inline-flex; gap: 8px;
    align-items: center; padding: 14px 28px; background: var(--primary);
    color: #fff; border: none; border-radius: var(--r-md);
    font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
    transition: background .2s;
}
.contact-form [type=submit]:hover { background: var(--primary-700); }
/* hide empty EXT:form page heading */
.contact-form form > h2:empty,
.contact-form form > h2 { display: none; }
/* 2-column form grid: text/email/tel/select fields auto-pair */
.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
.contact-form form > div:first-child { display: none; }
.contact-form .form-element-textarea,
.contact-form .form-element-check,
.contact-form .form-navigation,
.contact-form form > .form-element-select ~ .form-element-select { grid-column: 1 / -1; }
.contact-form .form-element.mb-3 { margin-bottom: 0; }

/* ── Sidebar layout (legal / karriere) ───────────────── */
.with-sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .with-sidebar { grid-template-columns: 1fr; gap: 32px; } }
.sticky-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.sticky-nav a {
    padding: 9px 12px; font-size: 13.5px; color: var(--muted);
    border-radius: 8px; border-left: 2px solid transparent; transition: all .2s;
}
.sticky-nav a:hover { color: var(--ink); background: var(--surface); }
.sticky-nav a.active { color: var(--primary); border-left-color: var(--primary); background: var(--primary-50); font-weight: 500; }
.sticky-nav .group-label {
    font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--faint); padding: 14px 12px 6px;
}
@media (max-width: 880px) { .sticky-nav { display: none; } }

/* ── Long-form prose (legal pages) ───────────────────── */
.prose { max-width: 72ch; }
.prose h2 {
    font-size: 22px; font-weight: 600; letter-spacing: -.015em;
    margin-top: 48px; margin-bottom: 12px; color: var(--ink);
    scroll-margin-top: 100px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; font-weight: 600; margin-top: 28px; margin-bottom: 8px; color: var(--ink); }
.prose p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.prose ul { padding-left: 24px; margin-bottom: 14px; }
.prose ul li { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 6px; }
.prose a { color: var(--primary); border-bottom: 1px solid var(--primary-100); }
.prose a:hover { border-bottom-color: var(--primary); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

/* ── Pullquote ────────────────────────────────────────── */
.pullquote {
    background: var(--surface); border: 1px solid var(--line);
    border-left: 3px solid var(--primary); border-radius: var(--r-md);
    padding: 28px 32px; font-size: 18px; line-height: 1.6;
    color: var(--ink-2); letter-spacing: -.005em;
}
.pullquote cite {
    display: block; margin-top: 14px; font-size: 13px;
    color: var(--dim); font-style: normal; font-family: var(--font-mono);
}

/* ── Partner cards (deep page) ────────────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 26px; transition: all .25s;
    display: flex; flex-direction: column;
}
.partner-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--primary-300); }
.partner-card .pc-logo {
    font-family: var(--font); font-weight: 700; font-size: 22px;
    letter-spacing: -.01em; color: var(--primary);
    margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.partner-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.partner-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.partner-card .pc-tags { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.partner-card .pc-tags span {
    font-size: 11px; font-family: var(--font-mono); padding: 3px 8px;
    background: var(--surface-2); border: 1px solid var(--line);
    border-radius: 999px; color: var(--dim);
}

/* ── Job listings (Karriere) ──────────────────────────── */
.job {
    display: grid; grid-template-columns: 1.2fr 1fr auto;
    gap: 24px; padding: 24px 28px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-lg);
    align-items: center; transition: all .25s;
}
.job + .job { margin-top: 10px; }
.job:hover { border-color: var(--primary-300); box-shadow: var(--sh-2); }
.job h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.job h3 small { display: block; font-size: 12px; color: var(--dim); font-weight: 400; font-family: var(--font-mono); margin-top: 4px; }
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.job-meta span { display: inline-flex; gap: 6px; align-items: center; }
.job-meta svg { color: var(--primary); width: 14px; height: 14px; }
@media (max-width: 780px) { .job { grid-template-columns: 1fr; } .job .btn { justify-self: start; } }

/* ── Industries deep row ──────────────────────────────── */
.ind-row {
    display: grid; grid-template-columns: 200px 1fr auto;
    gap: 32px; align-items: center; padding: 28px 30px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); transition: all .25s;
}
.ind-row + .ind-row { margin-top: 12px; }
.ind-row:hover { border-color: var(--primary-300); box-shadow: var(--sh-2); }
.ind-row .ind-head { display: flex; gap: 14px; align-items: center; }
.ind-row .ind-head .i-ic {
    width: 44px; height: 44px; background: var(--primary-50);
    border: 1px solid var(--primary-100); border-radius: 11px;
    display: grid; place-items: center; color: var(--primary); flex-shrink: 0;
}
.ind-row .ind-head .i-ic svg { width: 20px; height: 20px; }
.ind-row h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.ind-row h3 small { display: block; font-size: 11.5px; color: var(--dim); font-weight: 400; font-family: var(--font-mono); margin-top: 3px; }
.ind-row .ind-body { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ind-row .ind-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ind-row .ind-tags span {
    font-size: 11.5px; padding: 3px 9px; background: var(--primary-50);
    color: var(--primary-700); border-radius: 999px; font-family: var(--font-mono);
}
@media (max-width: 880px) { .ind-row { grid-template-columns: 1fr; gap: 16px; } .ind-row .btn { justify-self: start; } }

/* ── Nav dropdown (mega-menu) ─────────────────────────── */
.nav-item { position: relative; display: inline-flex; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { transition: transform .25s; color: var(--dim); width: 12px; height: 12px; }
.nav-item.has-children:hover > a .nav-caret,
.nav-item.has-children:focus-within > a .nav-caret { transform: rotate(180deg); color: var(--primary); }
.nav-dropdown {
    position: absolute; top: calc(100% + 8px); left: 0;
    transform: translateY(-8px) scale(.98); transform-origin: top left;
    min-width: 520px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: 0 28px 60px -20px rgba(15,23,42,.18), 0 6px 16px -4px rgba(15,23,42,.08);
    padding: 12px; opacity: 0; pointer-events: none;
    transition: opacity .22s cubic-bezier(.2,.7,.2,1), transform .22s cubic-bezier(.2,.7,.2,1);
    z-index: 60;
}
.nav-dropdown::before {
    content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px;
}
.nav-dropdown::after {
    content: ""; position: absolute; top: -6px; left: 30px;
    transform: rotate(45deg); width: 10px; height: 10px;
    background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.nav-item.has-children:hover > .nav-dropdown,
.nav-item.has-children:focus-within > .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.nav-dropdown-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-dropdown-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px; border-radius: 10px; transition: background .18s;
    color: inherit; text-decoration: none;
}
.nav-dropdown-item:hover { background: var(--primary-50); }
.nav-dropdown-item .nd-ico {
    width: 36px; height: 36px; background: var(--primary-50);
    border: 1px solid var(--primary-100); border-radius: 9px;
    display: grid; place-items: center; color: var(--primary); flex-shrink: 0;
    transition: background .18s, color .18s;
}
.nav-dropdown-item .nd-ico svg { width: 18px; height: 18px; }
.nav-dropdown-item:hover .nd-ico { background: var(--primary); color: #fff; border-color: var(--primary); }
.nav-dropdown-item .nd-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-dropdown-item .nd-text b { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.nav-dropdown-item .nd-text > span { font-size: 11.5px; color: var(--dim); font-family: var(--font-mono); letter-spacing: .01em; line-height: 1.35; }
.nav-dropdown-foot {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 8px; padding: 14px 16px; border-radius: 10px;
    background: var(--surface-deep); color: #fff; gap: 12px; transition: background .18s;
    text-decoration: none;
}
.nav-dropdown-foot:hover { background: var(--primary-800); }
.nav-dropdown-foot > span { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-foot b { font-size: 13.5px; font-weight: 600; color: #fff; }
.nav-dropdown-foot > span > span { font-size: 11.5px; color: rgba(255,255,255,.65); font-family: var(--font-mono); }
.nav-dropdown-foot svg { color: var(--accent-glow); flex-shrink: 0; width: 16px; height: 16px; }

/* ── Mobile nav (new design) ──────────────────────────── */
.nav-burger {
    display: none; width: 40px; height: 40px;
    flex-direction: column; gap: 5px; justify-content: center; align-items: center;
    border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
    cursor: pointer;
}
.nav-burger span { width: 18px; height: 1.7px; background: var(--ink); border-radius: 2px; }
.mobile-nav {
    display: none; border-top: 1px solid var(--line);
    background: var(--surface); padding: 16px 0 22px;
}
.mobile-nav .container { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
    font-size: 16px; font-weight: 500; padding: 12px 4px;
    border-bottom: 1px solid var(--line); color: var(--ink-2); display: block;
}
.mobile-nav a.active { color: var(--primary); }
.mobile-nav a.btn-primary { color: #fff; border-bottom: 0; padding: 14px 20px; text-align: center; }
.mnav-group { display: flex; flex-direction: column; }
.mnav-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mnav-row a { flex: 1; }
.mnav-toggle {
    width: 44px; height: 44px; display: grid; place-items: center;
    color: var(--muted); background: transparent; border: 0;
    border-bottom: 1px solid var(--line); cursor: pointer;
    transition: color .2s, transform .25s;
}
.mnav-toggle.open { color: var(--primary); transform: rotate(180deg); }
.mnav-children {
    display: flex; flex-direction: column;
    padding: 6px 0 10px 12px; margin-left: 4px;
    border-left: 2px solid var(--primary-100); margin-bottom: 6px;
}
.mnav-children a {
    display: inline-flex !important; align-items: center; gap: 10px;
    font-size: 14.5px; padding: 10px 8px; border-bottom: 0; color: var(--ink-2);
}
.mnav-children .mc-ico {
    width: 26px; height: 26px; background: var(--primary-50);
    border-radius: 7px; display: grid; place-items: center;
    color: var(--primary); flex-shrink: 0;
}
.mnav-children .mc-ico svg { width: 14px; height: 14px; }
@media (max-width: 980px) {
    .nav-links, .nav-cta { display: none !important; }
    .nav-burger { display: flex; }
    .mobile-nav.open { display: block; }
}

/* ── CTA Strip (Unterseiten-Footer) ─────────────────────── */
.cta-strip {
    background: var(--primary); padding: 56px 0;
}
.cta-strip__inner {
    display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-strip__text h2 {
    font-size: clamp(22px, 2.5vw, 30px); font-weight: 600;
    color: #fff; letter-spacing: -.02em; margin: 0;
}
.cta-strip__text p { color: rgba(255,255,255,.82); margin-top: 10px; font-size: 16px; max-width: 52ch; }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cta-strip .btn { border-color: rgba(255,255,255,.4); color: #fff; }
.cta-strip .btn:hover { background: rgba(255,255,255,.12); }
.cta-strip .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta-strip .btn-primary:hover { background: rgba(255,255,255,.9); }
@media (max-width: 760px) { .cta-strip__inner { flex-direction: column; align-items: flex-start; gap: 24px; } }

/* ── Checklist Box (Firmenbetreuung Idee) ───────────────── */
.checklist-box {
    position: relative; overflow: hidden;
    background: var(--ink); color: #fff;
    border-radius: var(--r-xl); padding: 36px;
}
.checklist-box__bg {
    position: absolute; inset: 0;
    background: radial-gradient(50% 80% at 100% 0%, rgba(0,170,200,.18), transparent 60%);
    pointer-events: none;
}
.checklist-box__inner { position: relative; z-index: 1; }
.checklist-box__label {
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: .08em; color: var(--accent);
}
.checklist-box__title {
    font-size: 24px; font-weight: 600;
    margin-top: 14px; margin-bottom: 18px;
    letter-spacing: -.015em; color: #fff;
}
.checklist-box__list {
    list-style: none; display: grid; gap: 12px; margin: 0; padding: 0;
}
.checklist-box__list li {
    display: flex; gap: 12px; align-items: center; font-size: 14.5px;
}
.checklist-box__check {
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(0,170,200,.16); color: var(--accent);
    display: grid; place-items: center; flex-shrink: 0;
}
