/* ==========================================================
   HELLINCKX PROCESS SIMULATION – Design System
   ========================================================== */

/* ---------- Fonts ---------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/Inter-Variable.woff2') format('woff2-variations');
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Tokens ---------- */
:root {
    /* Brand */
    --color-primary: #0066CC;
    --color-primary-dark: #004C99;
    --color-accent: #00A3E0;

    /* Neutrals */
    --color-navy: #0B1B33;
    --color-navy-deep: #071224;
    --color-ink: #16273D;
    --color-muted: #55677E;
    --color-white: #FFFFFF;
    --color-surface: #F5F8FB;
    --color-border: #E3EAF2;

    /* Abschnittsflaechen: deutlich unterscheidbare Baender */
    --band-soft: #EBF1F8;
    --band-strong: #E1EAF6;
    --band-line: rgba(11, 27, 51, 0.09);
    --band-dot: rgba(11, 27, 51, 0.07);

    /* On-dark */
    --dark-text: rgba(255, 255, 255, 0.92);
    --dark-text-muted: rgba(255, 255, 255, 0.68);
    --dark-border: rgba(255, 255, 255, 0.14);
    --dark-card: rgba(255, 255, 255, 0.06);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.94rem + 0.3vw, 1.0625rem);
    --fs-md: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem);
    --fs-lg: clamp(1.2rem, 1.05rem + 0.65vw, 1.45rem);
    --fs-xl: clamp(1.45rem, 1.1rem + 1.3vw, 1.9rem);
    --fs-2xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
    --fs-3xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem);
    --fs-4xl: clamp(2.5rem, 1.7rem + 3.6vw, 4.1rem);

    /* Spacing */
    --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    --space-sm: clamp(0.875rem, 0.75rem + 0.6vw, 1.3rem);
    --space-md: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
    --space-lg: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
    --space-xl: clamp(3.5rem, 2.5rem + 3.5vw, 5.5rem);
    --page-padding: clamp(1.25rem, 4vw, 3.5rem);

    /* Shape & motion */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(11, 27, 51, 0.06);
    --shadow-md: 0 10px 30px rgba(11, 27, 51, 0.10);
    --shadow-lg: 0 24px 60px rgba(11, 27, 51, 0.16);
    --transition-fast: 0.18s ease;
    --transition-medium: 0.35s ease;
}

html {
    scroll-behavior: smooth;
    /* clip statt hidden: hidden erzeugt einen Scroll-Container und macht
       position: sticky bei allen Nachfahren wirkungslos (Nav, Inhaltsverzeichnis). */
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--color-ink);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- Utilities ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
}

.container-narrow {
    max-width: 860px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 200;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 12px;
}

.lucide-icon {
    width: 1.25em;
    height: 1.25em;
    stroke-width: 2;
    flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.7rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast),
        border-color var(--transition-fast), transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn-lg {
    padding: 0.95rem 2.1rem;
    font-size: var(--fs-base);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 102, 204, 0.45);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-link {
    background: none;
    border: none;
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 18, 36, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--dark-border);
    transition: box-shadow var(--transition-medium), background var(--transition-medium);
}

.nav.is-scrolled {
    background: rgba(7, 18, 36, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.7rem var(--page-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--color-white);
    font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text-sub {
    font-weight: 500;
    color: var(--dark-text-muted);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(1.1rem, 2.2vw, 2.2rem);
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text-muted);
    font-weight: 600;
    font-size: var(--fs-sm);
    letter-spacing: 0.01em;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link-cta {
    display: inline-block;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.4);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-link-cta:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
    color: var(--color-white);
}

/* Burger */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-right: -10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 45%, var(--color-navy) 100%);
    color: var(--color-white);
    overflow: hidden;
    padding: var(--space-lg) 0;
}

/* Hero + Trust-Strip füllen gemeinsam die Fensterhöhe */
.hero-shell {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - var(--nav-h, 66px));
}

.hero {
    flex: 1 1 auto;
}

section[id],
div[id="heroShell"] {
    scroll-margin-top: 76px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 78% 30%, rgba(0, 163, 224, 0.25), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(0, 0, 0, 0.35), transparent 55%),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: auto, auto, 56px 56px, 56px 56px;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--page-padding);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-md);
}

.hero-kicker {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    margin-bottom: var(--space-sm);
}

.hero-headline {
    font-size: clamp(1.62rem, 0.8rem + 3vw, 3.1rem);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-sm);
}

.hero-headline span {
    display: block;
    white-space: nowrap;
}

.hero-headline-line2 {
    color: #9BD1FF;
}

.hero-description {
    font-size: var(--fs-md);
    line-height: 1.7;
    color: var(--dark-text-muted);
    max-width: 34rem;
    margin-bottom: var(--space-md);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: var(--space-md);
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    list-style: none;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.hero-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 163, 224, 0.22);
    flex-shrink: 0;
}

/* Hero visual / 3D */
.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    max-height: 560px;
}

#heroCanvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
    cursor: grab;
}

#heroCanvas:active {
    cursor: grabbing;
}

.hero-visual-hint {
    position: absolute;
    left: 50%;
    bottom: -0.25rem;
    transform: translateX(-50%);
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.swipe-hint {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.swipe-hint.hidden {
    opacity: 0 !important;
}

.swipe-hint-hand {
    animation: swipeMove 2.4s ease-in-out infinite;
}

.swipe-hint-icon {
    width: 46px;
    height: 46px;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

@keyframes swipeMove {
    0%, 100% { transform: translateX(-22px) rotate(-8deg); }
    50% { transform: translateX(22px) rotate(8deg); }
}

.camera-reset-btn {
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(7, 18, 36, 0.55);
    color: var(--color-white);
    font-family: inherit;
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.camera-reset-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.camera-reset-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.camera-reset-btn:hover {
    background: rgba(7, 18, 36, 0.8);
}

/* ==========================================================
   TRUST STRIP
   ========================================================== */
.trust-strip {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: clamp(1.2rem, 2vw, 1.8rem) 0;
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(1.2rem, 4vw, 3.5rem);
}

.trust-strip-label {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted);
}

.trust-strip-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem clamp(1.5rem, 5vw, 4rem);
}

.trust-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: filter var(--transition-fast), opacity var(--transition-fast);
}

.trust-logo-wide {
    height: 28px;
}

.trust-logo:hover {
    filter: none;
    opacity: 1;
}

/* ==========================================================
   SECTIONS – shared
   ========================================================== */
.section {
    padding: var(--space-xl) 0;
    position: relative;
    isolation: isolate;
}

/* Inhalt bleibt ueber den dekorativen Hintergrundebenen */
.section > .container {
    position: relative;
    z-index: 1;
}

.section-header {
    max-width: 720px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-primary);
    margin-bottom: 0.9rem;
}

.section-label::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
}

.section-label-light {
    color: var(--color-accent);
}

.section-label-light::before {
    background: var(--color-accent);
}

.section-headline {
    font-size: var(--fs-2xl);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.section-description {
    font-size: var(--fs-md);
    color: var(--color-muted);
    line-height: 1.7;
}

/* ==========================================================
   WHY / PROBLEME + NUTZEN
   ========================================================== */
.section-why {
    background: var(--band-soft);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.why-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: clamp(1.4rem, 2vw, 2rem);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 204, 0.35);
}

.why-card-num {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-size: var(--fs-lg);
    font-weight: 800;
    color: #93A8C2;
    letter-spacing: 0.02em;
}

.why-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 102, 204, 0.09);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.why-card-icon .lucide-icon {
    width: 24px;
    height: 24px;
}

.why-card h3 {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

.benefit-band {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.benefit-item {
    background: var(--color-surface);
    padding: clamp(1.2rem, 1.8vw, 1.8rem);
    transition: background var(--transition-fast);
}

.benefit-item:hover {
    background: #EDF3FA;
}

.benefit-icon {
    display: inline-flex;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}

.benefit-icon .lucide-icon {
    width: 22px;
    height: 22px;
}

.benefit-item h3 {
    font-size: var(--fs-sm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

.benefit-item p {
    font-size: var(--fs-xs);
    line-height: 1.6;
    color: var(--color-muted);
}

/* ==========================================================
   LEISTUNGEN
   ========================================================== */
.section-services {
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.service-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: clamp(1.4rem, 2vw, 2rem);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 204, 0.35);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 102, 204, 0.09);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-icon .lucide-icon {
    width: 24px;
    height: 24px;
}

.service-title {
    font-size: var(--fs-md);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

.service-item-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    color: var(--color-white);
}

.service-item-cta .service-title {
    color: var(--color-white);
}

.service-item-cta .service-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.2rem;
}

.service-item-cta .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.service-item-cta .btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* ==========================================================
   SHOWCASE (Simulation live)
   ========================================================== */
.section-showcase {
    background: var(--band-soft);
}

.showcase {
    max-width: 980px;
    margin: 0 auto;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.35rem;
    width: fit-content;
    margin: 0 auto var(--space-sm);
}

.showcase-tab {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-muted);
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.showcase-tab:hover {
    color: var(--color-ink);
}

.showcase-tab.is-active {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
}

.showcase-panel {
    display: none;
}

.showcase-panel.is-active {
    display: block;
    animation: showcaseFade 0.35s ease;
}

@keyframes showcaseFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.showcase-figure {
    margin: 0;
}

.showcase-figure img {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--color-white);
}

.showcase-figure figcaption {
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--color-muted);
    margin-top: 0.8rem;
}

.showcase-kpis {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--space-sm);
}

.kpi-chip {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.18);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}

.showcase-tech {
    max-width: 980px;
    margin: var(--space-lg) auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--space-md);
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
}

.showcase-tech-text h3 {
    font-size: var(--fs-lg);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.showcase-tech-text p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

.showcase-tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.showcase-tech-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.showcase-tech-list .lucide-icon {
    color: var(--color-primary);
    width: 20px;
    height: 20px;
}

.showcase-caption {
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--color-muted);
    margin-top: 0.9rem;
}

/* ----- Auswertungs-Dashboard (mock) ----- */
.dashboard {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: clamp(1rem, 1.6vw, 1.4rem) clamp(1.1rem, 2vw, 1.6rem);
    background: linear-gradient(150deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
    color: var(--color-white);
}

.dashboard-eyebrow {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 0.2rem;
}

.dashboard-title {
    font-size: var(--fs-md);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.dashboard-badge {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    white-space: nowrap;
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.dash-kpi {
    background: var(--color-white);
    padding: clamp(0.9rem, 1.6vw, 1.3rem);
}

.dash-kpi-label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin-bottom: 0.3rem;
}

.dash-kpi-value {
    display: block;
    font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem);
    font-weight: 850;
    letter-spacing: -0.02em;
    color: var(--color-ink);
    line-height: 1.1;
}

.dash-kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    margin-top: 0.3rem;
}

.dash-kpi-trend .lucide-icon {
    width: 14px;
    height: 14px;
}

.dash-kpi-trend.up {
    color: #1F8A54;
}

.dash-kpi-trend.down {
    color: var(--color-primary);
}

.dashboard-charts {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(1rem, 2vw, 1.8rem);
    padding: clamp(1.1rem, 2vw, 1.7rem);
}

.dash-chart {
    margin: 0;
    min-width: 0;
}

.dash-chart figcaption {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    margin-bottom: 0.7rem;
}

.dash-line {
    width: 100%;
    height: auto;
}

.dash-line .grid {
    stroke: var(--color-border);
    stroke-width: 1;
}

.dash-line .axis {
    stroke: #C7D3E0;
    stroke-width: 1;
}

.dash-line .axis-label {
    fill: var(--color-muted);
    font-size: 9px;
    font-family: var(--font-primary);
}

.dash-line polyline {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-line .line-opt {
    stroke: var(--color-primary);
}

.dash-line .line-ist {
    stroke: #9AA8B8;
    stroke-dasharray: 5 4;
}

.dash-line .dot-opt {
    fill: var(--color-primary);
}

.dash-line .dot-ist {
    fill: #9AA8B8;
}

.dash-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    margin-top: 0.6rem;
}

.dash-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-xs);
    color: var(--color-muted);
}

.dash-legend .dot,
.dash-bars .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dash-legend .dot-opt {
    background: var(--color-primary);
}

.dash-legend .dot-ist {
    background: #9AA8B8;
}

.dash-bars {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.dash-bars li {
    display: grid;
    grid-template-columns: 76px 1fr 44px;
    align-items: center;
    gap: 0.7rem;
}

.dash-bar-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-ink);
}

.dash-bar-track {
    height: 10px;
    background: var(--color-surface);
    border-radius: 999px;
    overflow: hidden;
}

.dash-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.dash-bar-val {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-muted);
    text-align: right;
}

/* ==========================================================
   USE CASES
   ========================================================== */
.section-usecases {
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(0, 102, 204, 0.13) 0%, rgba(0, 102, 204, 0) 62%),
        linear-gradient(180deg, var(--band-strong) 0%, #EEF3FA 100%);
    border-top: 1px solid rgba(0, 102, 204, 0.22);
    border-bottom: 1px solid rgba(0, 102, 204, 0.22);
}

/* Feines Raster als Traeger fuer den hervorgehobenen Abschnitt */
.section-usecases::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(11, 27, 51, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 27, 51, 0.055) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 0%, transparent 78%);
    mask-image: radial-gradient(120% 80% at 50% 30%, #000 0%, transparent 78%);
}

/* Akzentkante oben markiert den Abschnitt als Referenzbereich */
.section-usecases::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, 70%);
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0) 0%, var(--color-primary) 50%, rgba(0, 102, 204, 0) 100%);
    z-index: 0;
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    align-items: stretch;
}

.usecase-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: clamp(1.3rem, 2vw, 1.8rem);
    cursor: pointer;
    text-align: left;
    box-shadow: 0 6px 18px rgba(11, 27, 51, 0.07);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.35);
}

.usecase-card:focus-visible {
    outline: 3px solid rgba(0, 102, 204, 0.4);
    outline-offset: 2px;
}

.usecase-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1rem;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-primary);
}

.usecase-more .lucide-icon {
    width: 17px;
    height: 17px;
    transition: transform var(--transition-fast);
}

.usecase-card:hover .usecase-more .lucide-icon {
    transform: translateX(3px);
}

.usecase-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.usecase-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.usecase-logo-wide {
    height: 26px;
}

.usecase-tag {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(0, 102, 204, 0.08);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    white-space: nowrap;
}

.usecase-title {
    font-size: var(--fs-md);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.usecase-client {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    margin-bottom: 0.8rem;
}

.usecase-summary {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

.usecase-section {
    margin-top: 1.1rem;
}

.usecase-section h4 {
    font-size: var(--fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.usecase-section p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

.usecase-results {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.usecase-results li {
    position: relative;
    padding-left: 1.5rem;
    font-size: var(--fs-sm);
    color: var(--color-ink);
}

.usecase-results li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: 800;
}

.usecase-note {
    margin-top: 1.3rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--color-border);
    font-size: var(--fs-xs);
    line-height: 1.7;
    color: var(--color-muted);
}

/* Use-Case Modal (Popup) */
.usecase-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
}

.usecase-modal[hidden] {
    display: none;
}

.usecase-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 36, 0.65);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    animation: ucFade 0.2s ease;
}

.usecase-modal-card {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    animation: ucPop 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.usecase-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-muted);
    cursor: pointer;
    transition: color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.usecase-modal-close:hover {
    color: var(--color-ink);
    border-color: var(--color-primary);
    transform: rotate(90deg);
}

.usecase-modal-card .usecase-card-head {
    padding-right: 3rem;
}

@keyframes ucFade {
    from { opacity: 0; }
}

@keyframes ucPop {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
}

body.modal-open {
    overflow: hidden;
}

/* ==========================================================
   PROJEKTABLAUF
   ========================================================== */
.section-process {
    background: var(--color-white);
    border-top: 1px solid var(--band-line);
}

.process-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.process-step {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: clamp(1.4rem, 2vw, 1.9rem);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 204, 0.35);
}

.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: var(--fs-base);
    font-weight: 800;
    margin-bottom: 0.9rem;
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.35);
}

.process-step h3 {
    font-size: var(--fs-base);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

.process-step p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

/* ==========================================================
   ANWENDUNGSFELDER
   ========================================================== */
.section-fields {
    background: var(--band-soft);
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.field-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: clamp(1.2rem, 1.8vw, 1.7rem);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.field-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 204, 0.35);
}

.field-icon {
    display: inline-flex;
    color: var(--color-primary);
    margin-bottom: 0.7rem;
}

.field-icon .lucide-icon {
    width: 24px;
    height: 24px;
}

.field-card h3 {
    font-size: var(--fs-base);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.field-card p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

/* ==========================================================
   ÜBER MICH
   ========================================================== */
.section-profile {
    background: var(--color-white);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--space-lg);
    align-items: center;
}

.profile-image-wrap {
    position: relative;
    max-width: 460px;
    justify-self: center;
}

.profile-image {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: 50% 22%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.profile-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    background: rgba(7, 18, 36, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    color: var(--color-white);
}

.profile-badge-name {
    font-weight: 800;
    font-size: var(--fs-sm);
}

.profile-badge-role {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.7);
}

.profile-content .section-label {
    margin-bottom: 0.7rem;
}

.profile-content .section-headline {
    margin-bottom: var(--space-sm);
}

.profile-text {
    color: var(--color-muted);
    margin-bottom: 0.7rem;
    max-width: 38rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin: var(--space-sm) 0;
    padding: var(--space-sm) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-number {
    font-size: var(--fs-xl);
    font-weight: 850;
    letter-spacing: -0.02em;
    color: var(--color-primary);
}

.stat-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-muted);
}

/* ==========================================================
   HUMANOID BAND
   ========================================================== */
.section-humanoid {
    background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
    color: var(--dark-text);
}

.humanoid-insight {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: center;
}

.humanoid-content .section-headline {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.humanoid-description {
    color: var(--dark-text-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: 0.9rem;
    max-width: 36rem;
}

.humanoid-decision-card {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--dark-border);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.humanoid-step {
    display: flex;
    gap: 1rem;
    padding: clamp(1.1rem, 1.6vw, 1.5rem);
    background: rgba(255, 255, 255, 0.04);
    transition: background var(--transition-fast);
}

.humanoid-step:hover {
    background: rgba(255, 255, 255, 0.08);
}

.humanoid-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(0, 163, 224, 0.16);
    color: var(--color-accent);
}

.humanoid-step-icon .lucide-icon {
    width: 22px;
    height: 22px;
}

.humanoid-step h3 {
    font-size: var(--fs-sm);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.humanoid-step p {
    font-size: var(--fs-xs);
    line-height: 1.6;
    color: var(--dark-text-muted);
}

/* ==========================================================
   FAQ
   ========================================================== */
.section-faq {
    background: var(--color-white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
    border-color: rgba(0, 102, 204, 0.35);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    font-size: var(--fs-base);
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    transition: transform var(--transition-fast);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.4rem 1.2rem;
    font-size: var(--fs-sm);
    color: var(--color-muted);
    max-width: 60rem;
}

/* ==========================================================
   KONTAKT
   ========================================================== */
.section-contact {
    background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
    color: var(--dark-text);
}

.section-contact .section-headline {
    color: var(--color-white);
}

.section-contact .section-description {
    color: var(--dark-text-muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: var(--space-md);
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.contact-aside-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 2vw, 2rem);
}

.contact-aside-card h3 {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--dark-text);
    text-decoration: none;
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: 0.45rem 0;
    transition: color var(--transition-fast);
}

.contact-line .lucide-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    margin-top: 0.2em;
}

a.contact-line:hover {
    color: var(--color-accent);
}

.contact-line-static {
    cursor: default;
}

.contact-aside-divider {
    border: none;
    border-top: 1px solid var(--dark-border);
    margin: 1rem 0;
}

.contact-aside-note {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: var(--fs-xs);
    color: var(--dark-text-muted);
    padding: 0.35rem 0;
}

.contact-aside-note .lucide-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    margin-top: 0.15em;
}

/* Form */
.contact-form {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 2.5vw, 2.4rem);
    box-shadow: var(--shadow-lg);
    color: var(--color-ink);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-ink);
    margin-bottom: 0.4rem;
}

.form-required {
    color: var(--color-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: inherit;
    font-size: var(--fs-sm);
    color: var(--color-ink);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9AA8B8;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
    border-color: #D64545;
    box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.12);
}

.form-error {
    display: none;
    font-size: var(--fs-xs);
    color: #C43C3C;
    margin-top: 0.35rem;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0.4rem 0 0.3rem;
}

.form-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    accent-color: var(--color-primary);
    flex-shrink: 0;
    cursor: pointer;
}

.form-checkbox-group label {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    cursor: pointer;
}

.form-link {
    color: var(--color-primary);
    font-weight: 700;
}

.contact-submit {
    width: 100%;
    margin-top: 1.1rem;
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.form-success-message {
    display: none;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    background: rgba(31, 158, 88, 0.1);
    color: #1F7A46;
    border: 1px solid rgba(31, 158, 88, 0.3);
}

.form-success-message.show {
    display: block;
}

.form-success-message.is-error {
    background: rgba(214, 69, 69, 0.08);
    color: #B03A3A;
    border-color: rgba(214, 69, 69, 0.3);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
    background: var(--color-navy-deep);
    color: var(--dark-text-muted);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: var(--space-md) clamp(2rem, 5vw, 4.5rem);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--dark-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-white);
    font-weight: 800;
    font-size: var(--fs-base);
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
}

.footer-logo-image {
    height: 34px;
    width: auto;
}

.footer-tagline {
    font-size: var(--fs-sm);
    max-width: 24rem;
}

.footer-col-title {
    font-size: var(--fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-white);
    margin-bottom: 0.9rem;
}

.footer-link {
    display: block;
    color: var(--dark-text-muted);
    text-decoration: none;
    font-size: var(--fs-sm);
    padding: 0.22rem 0;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-white);
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-width: 24rem;
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--dark-border);
    font-size: var(--fs-sm);
    font-style: normal;
    line-height: 1.85;
}

.footer-address-name {
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-top: var(--space-sm);
    font-size: var(--fs-xs);
}

/* ==========================================================
   COOKIE BANNER
   ========================================================== */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translate(-50%, 130%);
    width: min(720px, calc(100% - 2rem));
    z-index: 150;
    background: rgba(7, 18, 36, 0.97);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    color: var(--dark-text);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
    visibility: hidden;
}

.cookie-banner.is-visible {
    transform: translate(-50%, 0);
    visibility: visible;
}

.cookie-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.5rem;
    padding: 1.1rem 1.4rem;
}

.cookie-banner-text {
    flex: 1 1 320px;
}

.cookie-banner-title {
    font-size: var(--fs-sm);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.cookie-banner-message {
    font-size: var(--fs-xs);
    line-height: 1.55;
    color: var(--dark-text-muted);
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner-accept {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.55rem 1.4rem;
}

.cookie-banner-accept:hover {
    background: var(--color-primary-dark);
}

.cookie-banner-reject {
    color: var(--dark-text-muted);
}

.cookie-banner-reject:hover {
    color: var(--color-white);
}

.cookie-banner-link {
    font-size: var(--fs-xs);
    color: var(--dark-text-muted);
}

.cookie-banner-link:hover {
    color: var(--color-white);
}

/* ==========================================================
   LEGAL PAGES
   ========================================================== */
.legal-page {
    background: var(--color-surface);
    min-height: 100vh;
}

.legal-wrapper {
    max-width: 1060px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem) var(--page-padding) var(--space-xl);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--fs-sm);
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), color var(--transition-fast);
    margin-bottom: var(--space-md);
}

.legal-back:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.legal-header {
    margin-bottom: var(--space-md);
}

.legal-header .section-label {
    justify-content: flex-start;
}

.legal-header h1 {
    font-size: var(--fs-3xl);
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-top: 0.3rem;
}

.legal-header .legal-intro {
    margin-top: 0.8rem;
    max-width: 46rem;
    color: var(--color-muted);
    font-size: var(--fs-md);
}

/* Layout: Inhaltsverzeichnis + Dokument */
.legal-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1.1rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.legal-toc-title {
    font-size: var(--fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-bottom: 0.6rem;
}

.legal-toc a {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    border-left: 2px solid transparent;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.legal-toc a:hover {
    color: var(--color-primary);
    background: rgba(0, 102, 204, 0.06);
    border-left-color: var(--color-primary);
}

/* Dokument-Panel: Sektionen mit Trennlinien statt Kästen */
.legal-doc {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 3vw, 2.8rem);
}

.legal-block {
    padding: clamp(1.4rem, 2.2vw, 1.9rem) 0;
    border-top: 1px solid var(--color-border);
    scroll-margin-top: 84px;
}

.legal-block:first-child {
    padding-top: 0;
    border-top: none;
}

.legal-block:last-child {
    padding-bottom: 0;
}

.legal-block h2 {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    font-size: var(--fs-lg);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.7rem;
}

.legal-num {
    font-size: var(--fs-sm);
    font-weight: 800;
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.legal-block p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block a {
    color: var(--color-primary);
    font-weight: 600;
    word-break: break-word;
}

.legal-block strong {
    color: var(--color-ink);
    font-weight: 700;
}

/* Hervorgehobene Visitenkarte (Impressum-Kopf) */
.legal-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    padding: clamp(1.4rem, 2.4vw, 2rem);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-md);
    background: linear-gradient(150deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
    color: var(--dark-text);
}

.legal-card h2 {
    color: var(--color-white);
    font-size: var(--fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.7rem;
}

.legal-card p {
    color: var(--dark-text-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin: 0;
}

.legal-card strong {
    color: var(--color-white);
    font-weight: 700;
}

.legal-card a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.legal-card a:hover {
    text-decoration: underline;
}

/* Definitionsliste (Impressum weitere Angaben) */
.legal-dl {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr;
    gap: 0.6rem 1.4rem;
    font-size: var(--fs-sm);
}

.legal-dl dt {
    font-weight: 700;
    color: var(--color-ink);
}

.legal-dl dd {
    color: var(--color-muted);
    line-height: 1.6;
}

.legal-actions {
    margin-top: 1rem;
}

@media (max-width: 860px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.3rem 0.5rem;
    }

    .legal-toc-title {
        width: 100%;
        margin-bottom: 0.3rem;
    }

    .legal-card {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .legal-dl {
        grid-template-columns: 1fr;
        gap: 0.15rem 0;
    }

    .legal-dl dd {
        margin-bottom: 0.7rem;
    }
}

/* ==========================================================
   SCROLL ANIMATIONS (hook for app.js)
   ========================================================== */
.no-scroll-animation {
    opacity: 1 !important;
    transform: none !important;
}

/* ==========================================================
   ABSCHNITTSFLAECHEN – Trennung der Sektionen
   ========================================================== */
.section-why,
.section-showcase,
.section-fields {
    border-top: 1px solid var(--band-line);
    border-bottom: 1px solid var(--band-line);
}

/* Feine Punktstruktur, damit sich die Baender vom Weiss abheben */
.section-why::before,
.section-showcase::before,
.section-fields::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, var(--band-dot) 1px, transparent 0);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

/* Uebergang von den dunklen Sektionen in die hellen Flaechen */
.section-humanoid,
.section-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-faq {
    border-bottom: 1px solid var(--band-line);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-visual {
        order: -1;
    }

    .hero-image {
        aspect-ratio: 16 / 10;
        max-height: 380px;
        margin: 0 auto;
        width: min(100%, 640px);
    }

    .why-grid,
    .services-grid,
    .process-grid,
    .fields-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-item:last-child {
        grid-column: 1 / -1;
    }

    .humanoid-insight {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .profile-layout {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .profile-image-wrap {
        max-width: 380px;
        justify-self: start;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        order: 2;
    }

    .showcase-tech {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .usecase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    /* Nav-Wrapper aus dem Flex-Fluss nehmen, damit der Burger bündig rechts sitzt */
    .nav-container > nav {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(280px, 78vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.4rem;
        background: var(--color-navy-deep);
        border-left: 1px solid var(--dark-border);
        padding: 5.5rem 1.8rem 2rem;
        transform: translateX(100%);
        transition: transform var(--transition-medium);
        box-shadow: var(--shadow-lg);
        z-index: 105;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.7rem 0;
        font-size: var(--fs-md);
        color: var(--dark-text);
    }

    .nav-item-cta {
        margin-top: 0.8rem;
    }

    .nav-link-cta {
        text-align: center;
        padding: 0.8rem 1.3rem;
    }

    .logo-text-sub {
        display: none;
    }

    .hero {
        padding: var(--space-sm) 0;
    }

    .hero-image {
        aspect-ratio: 4 / 3;
        max-height: 250px;
    }

    .hero-content {
        gap: var(--space-sm);
    }

    .usecase-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-charts {
        grid-template-columns: 1fr;
    }

    .trust-strip-inner {
        flex-direction: column;
        gap: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .why-grid,
    .services-grid,
    .process-grid,
    .fields-grid {
        grid-template-columns: 1fr;
    }

    .benefit-band {
        grid-template-columns: 1fr;
    }

    .benefit-item:last-child {
        grid-column: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .showcase-tabs {
        width: 100%;
    }

    .showcase-tab {
        flex: 1;
        padding: 0.55rem 0.5rem;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================
   PROZESSMANAGEMENT & AUTOMATISIERUNG
   ========================================================== */
.automation-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: clamp(3.5rem, 6vw, 5rem);
    padding: clamp(1.5rem, 3.5vw, 3.25rem);
    background: #F1F6FC;
    border: 1px solid rgba(0, 102, 204, 0.12);
    border-radius: var(--radius-lg);
}

.automation-panel-copy {
    max-width: 34rem;
}

.automation-panel-title {
    max-width: 13ch;
    margin: 0 0 1rem;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.automation-panel-description {
    color: var(--color-muted);
    font-size: var(--fs-sm);
    line-height: 1.75;
}

.automation-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.4rem;
    color: var(--color-primary);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-decoration: none;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.automation-panel-link:hover {
    gap: 0.8rem;
    color: var(--color-primary-dark);
}

.automation-panel-link:focus-visible {
    outline: 3px solid rgba(0, 102, 204, 0.28);
    outline-offset: 4px;
    border-radius: 3px;
}

.automation-panel-link .lucide-icon {
    width: 17px;
    height: 17px;
}

.automation-visual {
    min-width: 0;
}

.automation-canvas {
    padding: clamp(1rem, 2vw, 1.5rem);
    background-color: rgba(255, 255, 255, 0.92);
    background-image:
        linear-gradient(rgba(11, 27, 51, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 27, 51, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    border: 1px solid rgba(11, 27, 51, 0.09);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 38px rgba(11, 27, 51, 0.08);
}

.automation-canvas-head,
.automation-canvas-title,
.automation-canvas-state {
    display: flex;
    align-items: center;
}

.automation-canvas-head {
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(1.2rem, 3vw, 2.1rem);
}

.automation-canvas-title {
    gap: 0.65rem;
    color: var(--color-text);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.automation-canvas-mark {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--color-primary);
    background: rgba(0, 102, 204, 0.1);
    border-radius: 9px;
}

.automation-canvas-mark .lucide-icon {
    width: 16px;
    height: 16px;
}

.automation-canvas-state {
    gap: 0.4rem;
    padding: 0.35rem 0.55rem;
    color: var(--color-muted);
    background: #F5F8FC;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.65rem;
    white-space: nowrap;
}

.automation-canvas-state > span,
.automation-canvas-foot-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: #2B9A70;
    border-radius: 50%;
}

.automation-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1.2fr) 24px minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem;
}

.automation-node {
    display: flex;
    min-width: 0;
    min-height: 132px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.8rem;
    background: #FFFFFF;
    border: 1px solid rgba(11, 27, 51, 0.1);
    border-radius: 12px;
}

.automation-node-core {
    min-height: 158px;
    background: #F7FAFE;
    border-color: rgba(0, 102, 204, 0.28);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.08);
}

.automation-node-icon {
    display: grid;
    width: 31px;
    height: 31px;
    margin-bottom: 0.7rem;
    place-items: center;
    color: var(--color-primary);
    background: rgba(0, 102, 204, 0.09);
    border-radius: 9px;
}

.automation-node-icon .lucide-icon {
    width: 16px;
    height: 16px;
}

.automation-node-label {
    margin-bottom: 0.25rem;
    color: var(--color-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.automation-node strong {
    color: var(--color-text);
    font-size: clamp(0.7rem, 1vw, 0.82rem);
    line-height: 1.35;
}

.automation-brand {
    display: inline-flex;
    margin-bottom: 0.7rem;
    padding: 0.27rem 0.55rem;
    color: #FFFFFF;
    background: var(--color-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.automation-ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.65rem;
    padding: 0.3rem 0.45rem;
    color: var(--color-primary-dark);
    background: rgba(0, 102, 204, 0.08);
    border-radius: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    white-space: nowrap;
}

.automation-ai-chip .lucide-icon {
    width: 12px;
    height: 12px;
}

.automation-connector {
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    color: var(--color-primary);
    background: currentColor;
}

.automation-connector::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    content: '';
    transform: translateY(-50%) rotate(45deg);
}

.automation-canvas-foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.1rem;
    color: var(--color-muted);
    font-size: 0.68rem;
}

.automation-canvas-foot-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
}

@media (max-width: 1024px) {
    .automation-panel {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 560px) {
    .automation-panel {
        padding: 1.25rem;
    }

    .automation-flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.35rem;
    }

    .automation-node,
    .automation-node-core {
        min-height: 0;
        align-items: center;
        text-align: center;
    }

    .automation-node-icon {
        margin-bottom: 0.5rem;
    }

    .automation-brand {
        margin-bottom: 0.5rem;
    }

    .automation-connector {
        justify-self: center;
        width: 1px;
        height: 20px;
    }

    .automation-connector::after {
        display: none;
    }

    .automation-canvas-foot {
        align-items: flex-start;
        line-height: 1.45;
    }
}


/* ==========================================================
   Mehrseitiger Auftritt: Startseite und Leistungsseiten
   ========================================================== */
.nav-link[aria-current="page"] {
    color: var(--color-white);
}
.nav-link[aria-current="page"]::after {
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 0.3rem;
    background: var(--color-accent);
    content: "";
}
@media (max-width: 768px) {
    .nav-link[aria-current="page"]::after {
        width: 2.5rem;
        margin-top: 0.2rem;
    }
}

.home-hero .hero-headline {
    max-width: 17ch;
    font-size: clamp(2.1rem, 3.8vw, 3.45rem);
    line-height: 1.08;
    text-wrap: balance;
}
.home-hero .hero-headline span {
    white-space: normal;
}
.home-hero .hero-description {
    max-width: 38rem;
}
.home-hero .hero-cta .btn {
    letter-spacing: 0;
}
.home-hero .hero-chip {
    font-size: var(--fs-xs);
}

.home-offers {
    background: var(--color-surface);
}
.home-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(1.2rem, 3vw, 2.5rem);
}
.home-offer-card {
    min-width: 0;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-fast);
}
.home-offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: var(--shadow-md);
}
.home-offer-visual {
    position: relative;
    display: flex;
    min-height: 250px;
    aspect-ratio: 1.95 / 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(140deg, #0b1b33, #07569b);
    color: var(--color-white);
    text-decoration: none;
}
.home-offer-visual::after {
    position: absolute;
    inset: 30% 0 0;
    background: linear-gradient(transparent, rgba(7, 18, 36, 0.86));
    content: "";
    pointer-events: none;
}
.home-offer-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.home-offer-card:hover .home-offer-visual > img {
    transform: scale(1.035);
}
.home-offer-index,
.home-offer-visual-caption {
    position: absolute;
    z-index: 2;
    left: clamp(1rem, 2.3vw, 1.6rem);
    right: clamp(1rem, 2.3vw, 1.6rem);
}
.home-offer-index {
    top: 1.15rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}
.home-offer-visual-caption {
    bottom: 1rem;
    font-size: var(--fs-sm);
    font-weight: 700;
}
.home-offer-visual-flow {
    background:
        radial-gradient(ellipse at 50% 55%, rgba(0, 163, 224, 0.2), transparent 55%),
        linear-gradient(140deg, #0b1b33, #07569b);
}
.home-flow-preview {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(88%, 570px);
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1.2fr) 30px minmax(0, 1fr);
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.7rem;
}
.home-flow-node {
    display: flex;
    min-height: 90px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(7, 18, 36, 0.56);
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.62rem, 1vw, 0.8rem);
    text-align: center;
    backdrop-filter: blur(8px);
}
.home-flow-node > .lucide-icon {
    width: 21px;
    height: 21px;
    color: #9bd1ff;
}
.home-flow-node-main {
    min-height: 112px;
    border-color: rgba(155, 209, 255, 0.58);
    background: rgba(0, 76, 153, 0.72);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.home-flow-node-main strong {
    font-size: 1.2rem;
    line-height: 1;
}
.home-flow-node-main small {
    padding: 0.18rem 0.45rem;
    border-radius: 5px;
    background: rgba(155, 209, 255, 0.16);
    color: #d9eeff;
}
.home-flow-line {
    position: relative;
    height: 1px;
    background: #7fc9f4;
}
.home-flow-line::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #7fc9f4;
    border-right: 1.5px solid #7fc9f4;
    content: "";
    transform: translateY(-50%) rotate(45deg);
}
.home-offer-copy {
    padding: clamp(1.35rem, 2.4vw, 2rem);
}
.home-offer-copy .section-label {
    justify-content: flex-start;
    margin-bottom: 0.65rem;
}
.home-offer-copy h3 {
    max-width: 20ch;
    margin-bottom: 0.65rem;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.home-offer-copy p {
    max-width: 54ch;
    color: var(--color-muted);
    font-size: var(--fs-sm);
    line-height: 1.75;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    color: var(--color-primary);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-decoration: none;
    transition: gap var(--transition-fast), color var(--transition-fast);
}
.text-link:hover {
    gap: 0.7rem;
    color: var(--color-primary-dark);
}
.text-link:focus-visible,
.home-offer-visual:focus-visible {
    outline: 3px solid rgba(0, 102, 204, 0.42);
    outline-offset: 4px;
}

.home-approach {
    background: var(--color-white);
}
.home-approach-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(2rem, 7vw, 6.5rem);
    align-items: start;
}
.home-approach-intro .section-label {
    justify-content: flex-start;
}
.home-approach-intro .section-headline {
    margin-bottom: 1rem;
}
.home-approach-intro > p {
    max-width: 46ch;
    color: var(--color-muted);
}
.home-approach-list {
    border-top: 1px solid var(--color-border);
}
.home-approach-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--color-border);
}
.home-approach-number {
    color: var(--color-primary);
    font-size: var(--fs-sm);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.home-approach-item h3 {
    margin-bottom: 0.25rem;
    font-size: var(--fs-md);
}
.home-approach-item p {
    color: var(--color-muted);
    font-size: var(--fs-sm);
}

/* Leistungsseiten */
.service-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 7.5vw, 7rem) 0;
    background: linear-gradient(135deg, #071224 0%, #0b2a50 55%, #07569b 100%);
    color: var(--color-white);
}
.service-hero::after {
    position: absolute;
    top: -15rem;
    right: -9rem;
    width: 36rem;
    height: 36rem;
    border: 1px solid rgba(155, 209, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(155, 209, 255, 0.035), 0 0 0 96px rgba(155, 209, 255, 0.025);
    content: "";
    pointer-events: none;
}
.service-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}
.service-hero-copy {
    position: relative;
    z-index: 1;
}
.service-hero-copy .hero-kicker {
    margin-bottom: 1.2rem;
}
.service-hero-copy h1 {
    max-width: 15ch;
    margin-bottom: 1rem;
    font-size: clamp(2.55rem, 4.5vw, 4.45rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
}
.service-hero-lead {
    max-width: 56ch;
    margin-bottom: 1.65rem;
    color: var(--dark-text-muted);
    font-size: var(--fs-md);
    line-height: 1.75;
}
.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.service-hero-actions .btn {
    letter-spacing: 0;
}
.service-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.4rem;
    margin-top: 1.5rem;
    list-style: none;
}
.service-facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--fs-xs);
    font-weight: 600;
}
.service-facts .lucide-icon {
    width: 17px;
    height: 17px;
    color: #9bd1ff;
}
.service-hero-visual {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1.16 / 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.service-hero-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-hero-visual figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.4rem 1rem;
    padding: 1.1rem 1.3rem;
    background: linear-gradient(transparent, rgba(7, 18, 36, 0.9));
    color: var(--color-white);
    font-size: var(--fs-xs);
    font-weight: 600;
}
.service-hero-automation .service-hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}
.service-hero-automation .service-hero-copy h1 {
    max-width: 13ch;
}
.service-hero-automation .service-hero-visual {
    display: flex;
    align-items: center;
    padding: clamp(0.7rem, 1.5vw, 1.2rem);
    overflow: visible;
    aspect-ratio: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.service-hero-automation .automation-canvas {
    width: 100%;
    padding: clamp(1rem, 2vw, 1.5rem);
}
.service-hero-automation .automation-canvas-title,
.service-hero-automation .automation-node strong {
    color: var(--color-ink);
}

/* Simulation */
.sim-value-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: stretch;
}
.sim-value-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.6rem, 3vw, 2.6rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #0b1b33, #123e6d);
    color: var(--color-white);
}
.sim-value-mark {
    margin-bottom: 1.4rem;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(155, 209, 255, 0.4);
    border-radius: 6px;
    color: #b8e0ff;
    font-size: var(--fs-xs);
    font-weight: 700;
}
.sim-value-intro h3 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.45rem, 2.3vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}
.sim-value-intro p {
    color: var(--dark-text-muted);
    font-size: var(--fs-sm);
}
.sim-value-list {
    border-top: 1px solid var(--color-border);
}
.sim-value-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--color-border);
}
.sim-value-list article > span {
    padding-top: 0.1rem;
    color: var(--color-primary);
    font-size: var(--fs-xs);
    font-weight: 800;
}
.sim-value-list h3 {
    margin-bottom: 0.2rem;
    font-size: var(--fs-md);
}
.sim-value-list p {
    color: var(--color-muted);
    font-size: var(--fs-sm);
}

.simulation-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: var(--space-sm);
}
.simulation-case {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.simulation-case:hover,
.simulation-case[open] {
    border-color: rgba(0, 102, 204, 0.4);
    box-shadow: var(--shadow-md);
}
.simulation-case-summary {
    display: block;
    min-height: 230px;
    padding: clamp(1.2rem, 2vw, 1.7rem);
    cursor: pointer;
    list-style: none;
}
.simulation-case-summary::-webkit-details-marker {
    display: none;
}
.simulation-case-summary:focus-visible {
    outline: 3px solid rgba(0, 102, 204, 0.45);
    outline-offset: -4px;
}
.simulation-case-summary .usecase-card-head {
    margin-bottom: 1.2rem;
}
.simulation-case-summary h3 {
    margin: 0.95rem 0 0.35rem;
    font-size: var(--fs-md);
    line-height: 1.35;
}
.simulation-case-summary .usecase-client {
    margin: 0;
}
.simulation-case-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: var(--color-primary);
    font-size: var(--fs-xs);
    font-weight: 700;
}
.simulation-case-toggle .lucide-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}
.simulation-case[open] .simulation-case-toggle .lucide-icon {
    transform: rotate(180deg);
}
.simulation-case-content {
    padding: 0 clamp(1.2rem, 2vw, 1.7rem) 1.5rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: var(--fs-xs);
    line-height: 1.65;
}
.simulation-case-content h4 {
    margin: 1rem 0 0.2rem;
    color: var(--color-ink);
    font-size: var(--fs-xs);
}
.simulation-case-content ul {
    padding-left: 1.1rem;
}
.simulation-case-note {
    margin-top: 0.8rem;
    font-style: italic;
}

/* Automatisierung */
.automation-capabilities {
    background: var(--color-surface);
}
.automation-capability-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    align-items: stretch;
    gap: clamp(1.2rem, 3vw, 2.5rem);
}
.automation-capability-lead {
    position: relative;
    display: flex;
    min-height: 360px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: hidden;
    padding: clamp(1.6rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #0b1b33, #07569b);
    color: var(--color-white);
}
.automation-capability-lead::after {
    position: absolute;
    top: -5rem;
    right: -4rem;
    width: 15rem;
    height: 15rem;
    border: 1px solid rgba(155, 209, 255, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(155, 209, 255, 0.04), 0 0 0 60px rgba(155, 209, 255, 0.035);
    content: "";
}
.automation-capability-index {
    position: absolute;
    top: 1.2rem;
    left: 1.35rem;
    color: var(--color-primary);
    font-size: var(--fs-xs);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.automation-capability-lead .automation-capability-index {
    color: #9bd1ff;
}
.automation-capability-lead .service-icon {
    margin-bottom: 1rem;
}
.automation-capability-lead h3 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.automation-capability-lead p {
    max-width: 42ch;
    color: var(--dark-text-muted);
    font-size: var(--fs-sm);
}
.automation-capability-note {
    margin-top: 1.1rem;
    color: #b8e0ff;
    font-size: var(--fs-xs);
    font-weight: 600;
}
.automation-capability-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid var(--color-border);
}
.automation-capability-row {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    align-items: start;
    gap: 0.7rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}
.automation-capability-row > div h3 {
    margin-bottom: 0.25rem;
    font-size: var(--fs-md);
}
.automation-capability-row > div p {
    color: var(--color-muted);
    font-size: var(--fs-sm);
}
.automation-capability-row > div > span {
    display: inline-block;
    margin-top: 0.45rem;
    color: var(--color-primary-dark);
    font-size: var(--fs-xs);
    font-weight: 600;
}
.automation-capability-row > .lucide-icon {
    margin-top: 0.35rem;
    color: var(--color-primary);
}
.automation-approach-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
}
.automation-approach-copy .section-label {
    justify-content: flex-start;
}
.automation-approach-copy .section-headline {
    margin-bottom: 1rem;
}
.automation-approach-copy > p {
    max-width: 52ch;
    color: var(--color-muted);
}
.automation-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.2rem;
    list-style: none;
}
.automation-steps li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 2px solid rgba(0, 102, 204, 0.32);
}
.automation-steps li > span {
    color: var(--color-primary);
    font-size: var(--fs-xs);
    font-weight: 800;
}
.automation-steps h3 {
    margin-bottom: 0.3rem;
    font-size: var(--fs-sm);
}
.automation-steps p {
    color: var(--color-muted);
    font-size: var(--fs-xs);
}

.automation-simulation-bridge {
    background: linear-gradient(135deg, #071224, #0b2a50);
    color: var(--color-white);
}
.automation-bridge-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}
.automation-bridge-layout .section-label {
    justify-content: flex-start;
}
.automation-bridge-layout h2 {
    max-width: 18ch;
    margin-bottom: 0.85rem;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-wrap: balance;
}
.automation-bridge-layout p {
    max-width: 58ch;
    color: var(--dark-text-muted);
}
.automation-bridge-links {
    border-top: 1px solid var(--dark-border);
}
.automation-bridge-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--dark-border);
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition-fast), padding var(--transition-fast);
}
.automation-bridge-links a:hover {
    padding-right: 0.3rem;
    color: #9bd1ff;
}
.automation-bridge-links a span {
    display: flex;
    flex-direction: column;
}
.automation-bridge-links small {
    color: #9bd1ff;
    font-size: var(--fs-xs);
    font-weight: 700;
}
.automation-bridge-links strong {
    font-size: var(--fs-sm);
}

.service-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
}
.service-steps li {
    padding: 1rem 1.1rem 0;
    border-top: 2px solid rgba(0, 102, 204, 0.3);
}
.service-steps li > span {
    color: var(--color-primary);
    font-size: var(--fs-xs);
    font-weight: 800;
}
.service-steps h3 {
    margin: 0.7rem 0 0.35rem;
    font-size: var(--fs-sm);
}
.service-steps p {
    color: var(--color-muted);
    font-size: var(--fs-xs);
}

.next-step-band {
    padding: clamp(2.8rem, 6vw, 5rem) 0;
    background: linear-gradient(135deg, #0b1b33, #123e6d);
    color: var(--color-white);
}
.next-step-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.next-step-content .section-label {
    justify-content: flex-start;
    margin-bottom: 0.75rem;
}
.next-step-content h2 {
    max-width: 24ch;
    margin-bottom: 0.5rem;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}
.next-step-content p {
    max-width: 58ch;
    color: var(--dark-text-muted);
}
.next-step-content > .btn {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .home-offer-grid,
    .home-approach-layout,
    .service-hero-grid,
    .service-hero-automation .service-hero-grid,
    .sim-value-layout,
    .automation-capability-layout,
    .automation-approach-layout,
    .automation-bridge-layout {
        grid-template-columns: 1fr;
    }
    .service-hero-visual {
        width: min(100%, 680px);
        justify-self: center;
    }
    .service-hero-automation .service-hero-visual {
        width: min(100%, 760px);
    }
    .home-approach-layout {
        gap: var(--space-md);
    }
    .automation-capability-lead {
        min-height: 280px;
    }
    .automation-bridge-layout {
        gap: var(--space-md);
    }
    .simulation-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-offer-visual {
        min-height: 210px;
    }
    .home-approach-layout {
        gap: 1.4rem;
    }
    .service-hero {
        padding: 3.8rem 0;
    }
    .service-hero-grid {
        gap: 2rem;
    }
    .service-hero-copy h1 {
        max-width: 16ch;
        font-size: clamp(2.35rem, 8vw, 3.5rem);
    }
    .service-hero-visual {
        aspect-ratio: 1.3 / 1;
    }
    .service-facts {
        flex-direction: column;
        gap: 0.55rem;
    }
    .automation-steps {
        gap: 1.1rem 0.8rem;
    }
    .next-step-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.4rem;
    }
}

@media (max-width: 560px) {
    .home-hero .hero-headline {
        max-width: 18ch;
        font-size: clamp(2.05rem, 8.8vw, 2.65rem);
    }
    .home-offer-visual {
        min-height: 180px;
        aspect-ratio: 1.45 / 1;
    }
    .home-flow-preview {
        width: 94%;
        grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1.2fr) 14px minmax(0, 1fr);
        gap: 0.2rem;
    }
    .home-flow-node {
        min-height: 76px;
        padding: 0.45rem 0.2rem;
    }
    .home-flow-node-main {
        min-height: 94px;
    }
    .home-flow-node-main strong {
        font-size: 1rem;
    }
    .home-offer-copy {
        padding: 1.25rem;
    }
    .simulation-case-grid {
        grid-template-columns: 1fr;
    }
    .simulation-case-summary {
        min-height: 0;
    }
    .service-steps,
    .automation-steps {
        grid-template-columns: 1fr;
    }
    .automation-capability-row {
        grid-template-columns: 32px minmax(0, 1fr) 22px;
        gap: 0.4rem;
    }
    .automation-bridge-layout h2 {
        font-size: 1.9rem;
    }
    .next-step-content > .btn {
        width: 100%;
    }
    .service-hero-actions .btn {
        width: 100%;
    }
}

/* Feinschliff nach inhaltlicher Kürzung */
.home-hero .hero-headline {
    max-width: none;
    font-size: clamp(2rem, 3.1vw, 2.9rem);
}
.home-hero .hero-headline span {
    white-space: normal;
}
.home-offer-visual {
    aspect-ratio: 1.85 / 1;
}
.service-hero-simulation .service-hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(2.6rem, 4vw, 4rem);
}
.service-hero-simulation .service-hero-visual {
    aspect-ratio: 1.85 / 1;
    background: #dce2e7;
}
.service-hero-simulation .service-hero-visual > img {
    object-fit: contain;
}
.service-hero-automation .service-hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
}
.automation-capability-row > .automation-capability-index {
    position: static;
    top: auto;
    left: auto;
    align-self: start;
}

.legal-page-impressum .legal-doc {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.legal-page-impressum .legal-card {
    padding: 0 0 var(--space-md);
    margin-bottom: var(--space-md);
    border: 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.legal-page-impressum .legal-card h2,
.legal-page-impressum .legal-card strong {
    color: var(--color-ink);
}
.legal-page-impressum .legal-card p {
    color: var(--color-muted);
}

@media (max-width: 768px) {
    .home-hero .hero-headline {
        font-size: clamp(1.9rem, 7.3vw, 2.35rem);
    }
    .service-hero-simulation .service-hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2rem, 7.4vw, 3.2rem);
    }
    .service-hero-automation .service-hero-copy h1 {
        max-width: 100%;
        font-size: clamp(1.9rem, 7.1vw, 2.45rem);
    }
}


.simulation-mobile-flow {
    display: none;
}

/* Gemeinsame Hero-Darstellung */
.home-hero .hero-headline,
.service-hero-copy h1 {
    font-size: clamp(2rem, 3.1vw, 2.9rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}
.service-hero-copy h1 {
    max-width: 19ch;
}
.service-hero-actions {
    flex-wrap: nowrap;
}
.service-hero-actions .btn {
    flex: 0 0 auto;
    min-width: 0;
    padding-inline: 1.15rem;
    font-size: 0.92rem;
    white-space: nowrap;
}
.service-hero-simulation .service-hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

/* Offene Simulationsgrafik mit ausdrücklich beispielhaften Werten */
.service-hero-simulation .service-hero-visual.simulation-hero-visual {
    display: block;
    min-width: 0;
    overflow: visible;
    aspect-ratio: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.simulation-chart {
    width: 100%;
    color: #ffffff;
}
.simulation-chart-head {
    margin-bottom: 0.2rem;
}
.simulation-chart-eyebrow {
    display: block;
    margin-bottom: 0.65rem;
    color: #8dcaff;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.simulation-chart-head h2 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}
.simulation-chart-head p {
    max-width: 45ch;
    color: rgba(222, 238, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.55;
}
.simulation-chart-plot {
    margin: 0.65rem -0.2rem 0;
}
.simulation-chart-plot svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}
.simulation-chart-grid {
    fill: none;
    stroke: rgba(213, 231, 255, 0.16);
    stroke-width: 1;
}
.simulation-chart-axis {
    fill: rgba(219, 235, 255, 0.66);
    font: 600 12px system-ui, sans-serif;
}
.simulation-chart-fill {
    fill: url(#simulation-chart-fill);
    opacity: 0;
    animation: simulation-fill-in 0.7s ease-out 0.65s forwards;
}
.simulation-chart-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.simulation-chart-line-base {
    stroke: rgba(202, 223, 247, 0.68);
    stroke-width: 2.5;
    stroke-dasharray: 0.012 0.009;
    animation: simulation-line-draw 1.25s ease-out 0.1s forwards;
}
.simulation-chart-line-variant {
    stroke: #36c3ff;
    stroke-width: 3.5;
    animation: simulation-line-draw 1.6s cubic-bezier(0.22, 0.7, 0.16, 1) 0.42s forwards;
}
.simulation-chart-marker {
    fill: #0b1b33;
    stroke-width: 2.5;
    opacity: 0;
    animation: simulation-marker-in 0.28s ease-out 1.95s forwards;
}
.simulation-chart-marker-base {
    stroke: #cadff7;
}
.simulation-chart-marker-variant {
    fill: #36c3ff;
    stroke: #ffffff;
    animation-delay: 2.12s;
}
.simulation-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.2rem;
    margin: -0.1rem 0 0.95rem 3.6rem;
    color: rgba(224, 238, 255, 0.78);
    font-size: 0.68rem;
}
.simulation-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}
.simulation-chart-legend i {
    display: inline-block;
    width: 17px;
    height: 2px;
    border-radius: 999px;
}
.simulation-legend-base {
    background: rgba(202, 223, 247, 0.78);
}
.simulation-legend-variant {
    background: #36c3ff;
}
.simulation-chart-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}
.simulation-chart-kpi {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(219, 235, 255, 0.23);
    opacity: 0;
    animation: simulation-kpi-in 0.55s ease-out both;
}
.simulation-chart-kpi:nth-child(1) { animation-delay: 0.65s; }
.simulation-chart-kpi:nth-child(2) { animation-delay: 0.82s; }
.simulation-chart-kpi:nth-child(3) { animation-delay: 0.99s; }
.simulation-chart-kpi > span {
    color: rgba(224, 238, 255, 0.72);
    font-size: 0.65rem;
    font-weight: 650;
}
.simulation-chart-kpi strong {
    margin: 0.22rem 0 0.1rem;
    color: #ffffff;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1;
    letter-spacing: -0.025em;
}
.simulation-chart-kpi small {
    color: rgba(202, 223, 247, 0.66);
    font-size: 0.6rem;
    line-height: 1.35;
}
.simulation-chart-note {
    margin-top: 0.75rem;
    color: rgba(202, 223, 247, 0.64);
    font-size: 0.6rem;
    line-height: 1.45;
}
@keyframes simulation-line-draw {
    to { stroke-dashoffset: 0; }
}
@keyframes simulation-fill-in {
    to { opacity: 1; }
}
@keyframes simulation-marker-in {
    from { opacity: 0; transform: scale(0.65); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes simulation-kpi-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Klarer Workflow direkt auf dem Seitenhintergrund */
.service-hero-automation .service-hero-visual.automation-page-flow {
    display: block;
    width: 100%;
    padding: 0;
    overflow: visible;
    aspect-ratio: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.automation-flow-intro {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0 0 1.2rem 0.15rem;
}
.automation-flow-intro span {
    color: #8dcaff;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.automation-flow-intro strong {
    color: #ffffff;
    font-size: clamp(1.1rem, 1.9vw, 1.35rem);
    letter-spacing: -0.02em;
}
.service-hero-automation .automation-flow {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1.2fr) 20px minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem;
}
.service-hero-automation .automation-node {
    min-height: 164px;
    padding: 0.9rem 0.8rem;
    border: 1px solid rgba(221, 238, 255, 0.58);
    border-radius: 14px;
    background: rgba(250, 252, 255, 0.97);
    box-shadow: 0 14px 30px rgba(0, 10, 26, 0.17);
}
.service-hero-automation .automation-node-core {
    min-height: 214px;
    border-color: rgba(116, 192, 255, 0.84);
    background: #f7fbff;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.16);
    animation: workflow-node-state 8s ease-in-out infinite;
}
.service-hero-automation .automation-node-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.55rem;
}
.service-hero-automation .automation-node-label {
    margin-bottom: 0.3rem;
    color: #52708f;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
}
.service-hero-automation .automation-node strong {
    color: #0b1b33;
    font-size: 0.76rem;
    line-height: 1.32;
}
.service-hero-automation .automation-node-detail {
    display: block;
    margin-top: 0.42rem;
    color: #617b97;
    font-size: 0.64rem;
    line-height: 1.4;
}
.service-hero-automation .automation-brand {
    margin-bottom: 0.58rem;
}
.service-hero-automation .automation-ai-chip {
    margin-top: 0.5rem;
    padding: 0.28rem 0.4rem;
    font-size: 0.6rem;
}
.service-hero-automation .automation-connector.is-animated {
    overflow: visible;
    color: #8dcaff;
    background: currentColor;
}
.service-hero-automation .automation-flow-dot {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    border: 1.5px solid #0b1b33;
    border-radius: 50%;
    background: #36c3ff;
    box-shadow: 0 0 0 3px rgba(54, 195, 255, 0.2);
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: workflow-flow 8s ease-in-out infinite;
}
.service-hero-automation .automation-connector.is-animated:nth-of-type(2) .automation-flow-dot {
    animation-name: workflow-flow-second;
}
.service-hero-automation .automation-run-state {
    position: relative;
    width: 100%;
    height: 15px;
    margin-top: 0.5rem;
    color: #526d8b;
    font-size: 0.58rem;
    font-weight: 650;
}
.service-hero-automation .automation-run-loading,
.service-hero-automation .automation-run-done {
    position: absolute;
    inset: 0 auto auto 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}
.service-hero-automation .automation-run-loading {
    opacity: 0;
    animation: workflow-loading 8s linear infinite;
}
.service-hero-automation .automation-run-done {
    color: #21835f;
    opacity: 0;
    transform: translateY(3px);
    animation: workflow-done 8s ease-in-out infinite;
}
.service-hero-automation .automation-run-spinner {
    width: 10px;
    height: 10px;
    border: 1.5px solid #8bbbe1;
    border-top-color: #0066cc;
    border-radius: 50%;
    animation: workflow-spin 0.85s linear infinite;
}
.service-hero-automation .automation-run-check {
    display: grid;
    width: 13px;
    height: 13px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #21835f;
    font-size: 0.58rem;
    line-height: 1;
}
@keyframes workflow-flow {
    0%, 10% { left: 0; opacity: 0; }
    16% { opacity: 1; }
    43% { left: calc(100% - 2px); opacity: 1; }
    51%, 100% { left: calc(100% - 2px); opacity: 0; }
}
@keyframes workflow-flow-second {
    0%, 49% { left: 0; opacity: 0; }
    55% { opacity: 1; }
    90% { left: calc(100% - 2px); opacity: 1; }
    98%, 100% { left: calc(100% - 2px); opacity: 0; }
}
@keyframes workflow-loading {
    0%, 14% { opacity: 0; }
    20%, 47% { opacity: 1; }
    54%, 100% { opacity: 0; }
}
@keyframes workflow-done {
    0%, 54% { opacity: 0; transform: translateY(3px); }
    62%, 94% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(0); }
}
@keyframes workflow-spin {
    to { transform: rotate(360deg); }
}
@keyframes workflow-node-state {
    0%, 14%, 100% { box-shadow: 0 10px 30px rgba(0, 102, 204, 0.16); }
    20%, 48% { box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1), 0 12px 28px rgba(0, 102, 204, 0.2); }
    60%, 94% { box-shadow: 0 0 0 3px rgba(33, 131, 95, 0.1), 0 12px 28px rgba(33, 131, 95, 0.17); }
}

@media (max-width: 1024px) {
    .simulation-chart {
        max-width: 720px;
        margin: 0 auto;
    }
}
@media (max-width: 760px) {
    .home-hero .hero-headline,
    .service-hero-copy h1 {
        font-size: clamp(1.9rem, 7.3vw, 2.35rem);
    }
    .service-hero-copy h1 {
        max-width: 100%;
    }
    .simulation-chart-head h2 {
        font-size: 1.45rem;
    }
    .simulation-chart-plot {
        margin-right: -0.1rem;
        margin-left: -0.1rem;
    }
    .simulation-chart-kpis {
        gap: 0.5rem;
    }
    .simulation-chart-kpi strong {
        font-size: 1.2rem;
    }
    .service-hero-automation .automation-flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.4rem;
    }
    .service-hero-automation .automation-node,
    .service-hero-automation .automation-node-core {
        min-height: 0;
        align-items: flex-start;
        text-align: left;
    }
    .service-hero-automation .automation-node {
        padding: 0.85rem;
    }
    .service-hero-automation .automation-node-core {
        padding: 0.9rem;
    }
    .service-hero-automation .automation-connector {
        justify-self: center;
        width: 1px;
        height: 22px;
    }
    .service-hero-automation .automation-connector::after {
        display: none;
    }
    .service-hero-automation .automation-flow-dot {
        display: none;
    }
    .service-hero-automation .automation-run-state {
        max-width: 240px;
    }
    .service-hero-actions {
        flex-wrap: wrap;
    }
}
@media (max-width: 560px) {
    .service-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .service-hero-actions .btn {
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .simulation-chart-fill,
    .simulation-chart-line,
    .simulation-chart-marker,
    .simulation-chart-kpi,
    .service-hero-automation .automation-flow-dot,
    .service-hero-automation .automation-run-loading,
    .service-hero-automation .automation-run-done,
    .service-hero-automation .automation-run-spinner,
    .service-hero-automation .automation-node-core {
        animation: none;
    }
    .simulation-chart-fill,
    .simulation-chart-kpi,
    .service-hero-automation .automation-run-done {
        opacity: 1;
        transform: none;
    }
    .simulation-chart-line {
        stroke-dashoffset: 0;
    }
    .simulation-chart-marker {
        opacity: 1;
    }
    .service-hero-automation .automation-flow-dot,
    .service-hero-automation .automation-run-loading {
        display: none;
    }
    .service-hero-automation .automation-run-done {
        position: static;
    }
}
/* Kennzahlenhinweis lesbar halten und den Beispiel-Workflow einmal abspielen */
.simulation-chart-note {
    color: rgba(219, 235, 255, 0.8);
    font-size: 0.68rem;
}
.simulation-chart-kpi small {
    font-size: 0.64rem;
}
.service-hero-automation .automation-run-loading {
    animation: workflow-loading-once 4.4s ease-out 1 both;
}
.service-hero-automation .automation-run-done {
    animation: workflow-done-once 4.4s ease-out 1 both;
}
.service-hero-automation .automation-node-core {
    animation: workflow-node-once 4.4s ease-out 1 both;
}
@keyframes workflow-loading-once {
    0%, 8% { opacity: 0; }
    12%, 45% { opacity: 1; }
    54%, 100% { opacity: 0; }
}
@keyframes workflow-done-once {
    0%, 50% { opacity: 0; transform: translateY(3px); }
    60%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes workflow-node-once {
    0%, 10%, 48% { box-shadow: 0 10px 30px rgba(0, 102, 204, 0.16); }
    14%, 44% { box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12), 0 12px 28px rgba(0, 102, 204, 0.21); }
    60%, 100% { box-shadow: 0 0 0 3px rgba(33, 131, 95, 0.1), 0 12px 28px rgba(33, 131, 95, 0.17); }
}
@media (prefers-reduced-motion: reduce) {
    .service-hero-automation .automation-run-loading,
    .service-hero-automation .automation-run-done,
    .service-hero-automation .automation-node-core {
        animation: none;
    }
    .service-hero-automation .automation-run-loading {
        display: none;
    }
    .service-hero-automation .automation-run-done {
        position: static;
        opacity: 1;
        transform: none;
    }
}@media (max-width: 1024px) {
    .service-hero-simulation .service-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Keep the simulation chart readable without stacking a second grid behind it. */
.service-hero-simulation .hero-bg {
    background-image:
        radial-gradient(circle at 78% 30%, rgba(0, 163, 224, .25), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(0, 0, 0, .35), transparent 55%);
    background-size: auto;
}

.service-hero-automation .hero-bg {
    background-image:
        radial-gradient(circle at 78% 30%, rgba(0, 163, 224, .25), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(0, 0, 0, .35), transparent 55%);
    background-size: auto;
}

/* Match the three automation steps while keeping their content comfortably spaced. */
@media (min-width: 761px) {
    .service-hero-automation .automation-flow > .automation-node {
        height: 164px;
        min-height: 164px;
        padding-block: .52rem;
    }

    .service-hero-automation .automation-flow > .automation-node-core {
        height: 184px;
        min-height: 184px;
        padding-block: .52rem;
    }
}

@media (max-width: 760px) {
    .service-hero-automation .automation-flow > .automation-node,
    .service-hero-automation .automation-flow > .automation-node-core {
        height: auto;
        min-height: 0;
    }
}
