/* ═══════════════════════════════════════════════════════════════
   Akuma Media — Designsystem „Konzept 9 / MIX" (design-kit/)
   Edles Nachtblau · Elektro-Ultramarin · Glow statt Dekoration
   Teil A: bestehende Seitenstrukturen, auf Kit-Tokens umgestellt
   Teil B (am Dateiende): Kit-Komponenten für die Startseite
   ═══════════════════════════════════════════════════════════════ */

/* ————— Fonts (self-hosted, keine CDNs) ————— */
@font-face {
    font-family: "General Sans";
    src: url("fonts/GeneralSans-Variable.woff2") format("woff2");
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("fonts/PlayfairDisplay-Italic-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Kit-Tokens: dunkle Flächen */
    --night: #05070e;
    --night-2: #090d18;
    --night-card: #0c1120;
    --night-card-2: #10162a;
    --night-border: rgba(158, 178, 255, 0.16);
    --night-border-soft: rgba(158, 178, 255, 0.09);
    --night-text: #eef1f9;
    --night-text-2: #9aa3ba;

    /* Kit-Tokens: helle Flächen */
    --day: #f5f6fa;
    --day-card: #ffffff;
    --day-border: #e4e7f0;
    --ink: #0a0e1a;
    --day-text: #474e61;
    --day-text-2: #6b7288;

    /* Kit-Tokens: Akzent Elektro-Ultramarin */
    --accent-bright: #7b93ff;   /* Text-Akzent auf dunklen Karten (AA) */
    --accent-strong: #2b50ef;   /* Akzent auf hellen Flächen (AA) */
    --accent-ink: #1f3fd0;      /* Hover auf hell */
    --accent-soft: rgba(76, 111, 255, 0.13);
    --signal: #2fd08c;          /* NUR Verfügbar-Punkt + Checkmarks */

    /* Kit-Tokens: Verläufe */
    --grad-headline: linear-gradient(180deg, #ffffff 0%, #e6ebff 55%, #97acff 115%);
    --grad-accent-text: linear-gradient(115deg, #a9bbff 0%, #5b7bff 55%, #93a8ff 100%);
    --grad-btn: linear-gradient(135deg, #4462f0 0%, #2b48e0 100%);
    --grad-card: linear-gradient(145deg, rgba(120, 150, 255, 0.09) 0%, rgba(120, 150, 255, 0.02) 45%, transparent 100%);
    --shine: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);

    /* Legacy-Aliase (bestehende Seiten nutzen diese Namen) */
    --white: #FFFFFF;
    --off-white: var(--day);
    --gray-50: var(--day);
    --gray-100: var(--day-border);
    --gray-200: #d7dcec;
    --gray-300: #c2c9de;
    --gray-400: var(--day-text-2);
    --gray-500: var(--day-text-2);
    --gray-600: var(--day-text);
    --gray-700: #3c4356;
    --gray-800: #141a2e;
    --gray-900: #1a2033;
    --black: var(--ink);

    --accent: var(--accent-strong);
    --accent-light: var(--accent-bright);
    --accent-dark: var(--accent-ink);
    --accent-glow: var(--accent-soft);

    --purple: var(--accent-ink);
    --green: var(--accent-strong);
    --blue: var(--accent-strong);

    --font-sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
    --font-primary: var(--font-sans);
    --font-display: var(--font-sans);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

/* Lenis Smooth Scroll — required base styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-stopped { overflow: clip; }

body {
    font-family: var(--font-primary);
    background: var(--white);
    color: var(--gray-900);
    overflow-x: clip;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === Cursor Glow === */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 111, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--black);
}

.logo-icon {
    display: flex;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--black);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--black);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-cta:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s var(--ease-out-expo);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Mobile Menu === */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--black);
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: var(--accent);
}

.mobile-cta {
    margin-top: 16px;
    padding: 16px 32px;
    background: var(--black);
    color: var(--white);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
}

/* === Hero Section === */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-glow);
    top: -200px;
    right: -200px;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(76, 111, 255, 0.08);
    bottom: -100px;
    left: -100px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Animate-in classes – instant visibility, no fade/blur delay */
.animate-in {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
}

.animate-in[data-delay="1"] { animation-delay: 0s; }
.animate-in[data-delay="2"] { animation-delay: 0s; }
.animate-in[data-delay="3"] { animation-delay: 0s; }
.animate-in[data-delay="4"] { animation-delay: 0s; }

@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: none;
        filter: none;
    }
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-highlight {
    position: relative;
    display: inline-block;
    color: var(--accent);
}

.highlight-underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 12px;
    opacity: 0.5;
}

.highlight-underline path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLine 0.6s var(--ease-out-expo) 0.3s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-500);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(76, 111, 255, 0.35);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.btn-play-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === Hero Stats === */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-400);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* === Hero Visual (Workflow Preview) === */
.hero-visual {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.workflow-preview {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 8px 32px rgba(0,0,0,0.06),
        0 24px 60px rgba(0,0,0,0.04);
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}

.workflow-preview:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 12px 40px rgba(0,0,0,0.08),
        0 32px 80px rgba(0,0,0,0.06);
}

.workflow-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.workflow-dots {
    display: flex;
    gap: 6px;
}

.workflow-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
}

.workflow-dots span:first-child { background: #FF5F57; }
.workflow-dots span:nth-child(2) { background: #FFBD2E; }
.workflow-dots span:last-child { background: #28CA41; }

.workflow-title {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.workflow-canvas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 48px 32px;
    background: var(--white);
    background-image:
        radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
    background-size: 20px 20px;
}

.wf-node {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    position: relative;
    transition: all 0.3s var(--ease-out-expo);
    cursor: default;
    flex-shrink: 0;
}

.wf-node::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-400);
    white-space: nowrap;
}

.wf-node:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.wf-node-trigger { border-color: var(--accent); }
.wf-node-process { border-color: var(--purple); }
.wf-node-ai { border-color: var(--green); }
.wf-node-output { border-color: var(--blue); }

.wf-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-200);
    position: relative;
    flex-shrink: 0;
}

.wf-pulse {
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulseThroughConnector 2.5s var(--ease-out-quint) infinite;
}

.wf-c2 .wf-pulse { animation-delay: 0.4s; }
.wf-c3 .wf-pulse { animation-delay: 0.8s; }

@keyframes pulseThroughConnector {
    0% { left: -4px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% - 4px); opacity: 0; }
}

/* === Logos Marquee === */
.logos-section {
    padding: 60px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.logos-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logos-track {
    display: flex;
    gap: 60px;
    animation: marquee 90s linear infinite;
    width: max-content;
}

.logo-item {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-300);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.logo-item:hover {
    color: var(--gray-500);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* === Trust Section === */
.trust-section {
    padding: 100px 0;
    background: var(--white);
}

/* --- Trust Section --- */
.trust-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 64px;
    align-items: center;
}

.trust-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.trust-image-wrapper img {
    width: 100%;
    height: 520px;
    display: block;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
}

.trust-image-accent {
    position: absolute;
    bottom: -6px;
    left: -6px;
    width: 50%;
    height: 50%;
    border-radius: 0 16px 0 16px;
    background: var(--accent);
    opacity: 0.12;
    z-index: -1;
}

.trust-content .section-tag {
    margin-bottom: 20px;
}

.trust-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.trust-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.trust-text:last-of-type {
    margin-bottom: 32px;
}

.trust-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -10px;
    object-fit: cover;
}

.trust-avatar:first-child {
    margin-left: 0;
}

.trust-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-stars {
    display: flex;
    gap: 2px;
    color: #FBBC04;
}

.trust-star {
    width: 20px;
    height: 20px;
}

.trust-rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .trust-section {
        padding: 64px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-image-wrapper img {
        height: 400px;
    }

    .trust-heading {
        font-size: 1.5rem;
    }

    .trust-proof {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* === Section Shared Styles === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Scroll Reveal (instant visibility – no fade/blur delay) === */
.scroll-reveal {
    opacity: 1;
    transform: none;
    filter: none;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: none;
    filter: none;
}

.scroll-reveal[data-delay="1"] { transition-delay: 0s; }
.scroll-reveal[data-delay="2"] { transition-delay: 0s; }
.scroll-reveal[data-delay="3"] { transition-delay: 0s; }
.scroll-reveal[data-delay="4"] { transition-delay: 0s; }
.scroll-reveal[data-delay="5"] { transition-delay: 0s; }

/* === Services Section === */
.services-section {
    padding: 120px 0;
}

/* ================================================
   EDITORIAL SERVICE LIST
   ================================================ */

/* --- Top: Split header (title left, intro right) --- */
.sv-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 72px;
}

.sv-top-left .section-tag {
    margin-bottom: 20px;
}

.sv-top-left .section-title {
    text-align: left;
    margin-bottom: 0;
}

.sv-intro {
    font-size: 1.02rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 20px;
}

.sv-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.3s var(--ease-out-expo);
}

.sv-cta-link:hover {
    gap: 14px;
}

/* --- Service List --- */
.sv-list {
    display: flex;
    flex-direction: column;
}

/* --- Single Row --- */
.sv-row {
    border-top: 1px solid var(--gray-200);
    cursor: pointer;
    position: relative;
}

.sv-row:last-child {
    border-bottom: 1px solid var(--gray-200);
}

/* Active accent bar left */
.sv-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
    transition: height 0.4s var(--ease-out-expo);
}

.sv-row.is-open::before {
    height: 100%;
}

/* --- Main row (always visible) --- */
.sv-row-main {
    display: flex;
    align-items: center;
    padding: 28px 0;
    gap: 24px;
    transition: padding 0.3s var(--ease-out-expo);
}

.sv-row:hover .sv-row-main {
    padding-left: 12px;
}

.sv-row.is-open .sv-row-main {
    padding-left: 12px;
    padding-bottom: 12px;
}

/* Number */
.sv-num {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--gray-300);
    min-width: 32px;
    transition: color 0.3s ease;
}

.sv-row:hover .sv-num,
.sv-row.is-open .sv-num {
    color: var(--accent);
}

/* Center: title + tagline */
.sv-row-center {
    flex: 1;
    min-width: 0;
}

.sv-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--black);
    transition: color 0.3s ease;
    margin: 0;
}

.sv-tagline {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-top: 4px;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.sv-row:hover .sv-tagline {
    color: var(--gray-500);
}

/* Right: Metric */
.sv-metric {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
    text-align: right;
}

.sv-metric-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--black);
    line-height: 1;
    transition: color 0.4s ease;
}

.sv-row:hover .sv-metric-num,
.sv-row.is-open .sv-metric-num {
    color: var(--accent);
}

.sv-metric-unit {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-400);
    line-height: 1.3;
    text-align: left;
}

/* Chevron indicator */
.sv-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-50);
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-out-expo), background 0.2s ease, color 0.2s ease;
}

.sv-row:hover .sv-chevron {
    background: var(--gray-100);
    color: var(--gray-600);
}

.sv-row.is-open .sv-chevron {
    transform: rotate(180deg);
    background: rgba(76, 111, 255, 0.08);
    color: var(--accent);
}

/* --- Expandable detail area --- */
.sv-row-expand {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease-out-expo);
}

.sv-row.is-open .sv-row-expand {
    grid-template-rows: 1fr;
}

.sv-expand-inner {
    overflow: hidden;
}

.sv-expand-inner p {
    padding: 0 0 16px 56px;
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.75;
    max-width: 640px;
}

.sv-expand-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 24px 56px;
    gap: 24px;
}

/* Tool pills */
.sv-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sv-tools span {
    padding: 5px 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-500);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sv-row.is-open .sv-tools span {
    border-color: var(--gray-200);
}

/* Detail link */
.sv-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.25s ease;
    flex-shrink: 0;
}

.sv-detail-link:hover {
    gap: 10px;
}

/* === Process Section === */
.process-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}

.process-section > .container {
    position: relative;
    z-index: 1;
}

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.process-line-fill {
    width: 100%;
    height: 0;
    background: var(--accent);
    transition: height 0.1s linear;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 0;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-400);
    position: relative;
    z-index: 1;
    transition: all 0.4s var(--ease-out-expo);
}

.process-step.revealed .step-number {
    border-color: var(--accent);
    color: var(--accent);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
}

.step-duration {
    flex-shrink: 0;
    padding: 6px 14px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
}

/* === Cases Section === */
.cases-section {
    padding: 120px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.case-card {
    padding: 40px 36px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
}

.case-card:hover {
    border-color: var(--gray-200);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.case-card-large {
    grid-column: 1 / -1;
    background: var(--gray-50);
    border-color: var(--gray-100);
}

.case-quote {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 28px;
}

.case-card-large .case-quote {
    font-size: 1.35rem;
}

.case-result {
    display: flex;
    gap: 32px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--gray-100);
}

.result-metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 2px;
}

.case-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-500);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--black);
}

.author-role {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* === Pricing Section === */
.pricing-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}

.pricing-section > .container {
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.pricing-card-featured {
    border: 2px solid var(--accent);
    box-shadow: 0 8px 32px rgba(76, 111, 255, 0.1);
}

.pricing-card-featured:hover {
    box-shadow: 0 16px 48px rgba(76, 111, 255, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--accent);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.pricing-price {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-100);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
}

.price-period {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* === CTA Section === */
.cta-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}

.cta-section > .container {
    position: relative;
    z-index: 1;
}

.cta-card {
    position: relative;
    padding: 80px 60px;
    background: var(--black);
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(76, 111, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(76, 111, 255, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 480px;
    margin: 0 0 0;
    line-height: 1.7;
}

.cta-actions {
    margin-bottom: 24px;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* === Footer === */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--gray-100);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    padding: 4px 0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-100);
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .sv-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sv-top-left .section-title {
        text-align: left;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 48px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .workflow-canvas {
        padding: 32px 16px;
        gap: 0;
    }

    .wf-connector {
        width: 30px;
    }

    .wf-node {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .wf-node::after {
        font-size: 0.6rem;
        bottom: -18px;
    }

    .sv-row-main {
        flex-wrap: wrap;
        gap: 12px;
    }

    .sv-metric {
        width: 100%;
        padding-left: 56px;
    }

    .sv-expand-inner p {
        padding-left: 0;
    }

    .sv-expand-footer {
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .services-section,
    .process-section,
    .cases-section,
    .pricing-section,
    .cta-section {
        padding: 80px 0;
    }

    .process-step {
        flex-wrap: wrap;
        gap: 12px;
        padding-left: 0;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 0.8rem;
    }

    .process-line {
        left: 23px;
    }

    .step-content {
        flex: 1;
        min-width: 0;
    }

    .step-duration {
        margin-left: 60px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card:last-child {
        max-width: 100%;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .case-result {
        flex-direction: column;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* === Smooth scroll offset === */
section[id] {
    scroll-margin-top: 80px;
}


/* ============================================
   NEW FEATURE STYLES
   Appended for conversion optimization
   ============================================ */


/* ============================================
   1. FAQ SECTION — Accordion
   ============================================ */
.faq-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.45;
    pointer-events: none;
}

.faq-section .container {
    position: relative;
}

.faq-grid {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: visible;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: var(--gray-300);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 4px 24px rgba(76, 111, 255, 0.10);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-50);
    transition: transform 0.4s var(--ease-out-expo), background 0.3s ease;
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--gray-500);
    transition: stroke 0.3s ease;
}

.faq-icon span {
    position: absolute;
    width: 14px;
    height: 2px;
    background: var(--gray-500);
    border-radius: 1px;
    transition: background 0.3s ease;
}

.faq-icon span:last-child {
    transform: rotate(90deg);
}

.faq-item.active .faq-icon span {
    background: var(--accent);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--accent-glow);
}

.faq-item.active .faq-icon svg {
    stroke: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo);
}

.faq-answer p {
    padding: 0 28px 20px;
    padding-right: 76px;
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.75;
}

.faq-answer-inner {
    padding: 0 28px 20px;
    padding-right: 76px;
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.75;
}

.faq-question span {
    color: var(--gray-900);
}

.faq-section .section-title,
.faq-section .section-tag,
.faq-section .section-subtitle {
    color: var(--gray-900);
}

.faq-section .section-tag {
    color: var(--accent);
}

.faq-section .section-subtitle {
    color: var(--gray-500);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-bottom-cta {
    text-align: center;
    margin-top: 48px;
}

.faq-bottom-cta p {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 16px;
}



/* ============================================
   4. FLOATING CTA BUTTON (WhatsApp / Phone)
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 997;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.floating-cta-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(76, 111, 255, 0.35);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    animation: floatingPulse 2.5s ease-in-out infinite;
}

.floating-cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(76, 111, 255, 0.45);
}

.floating-cta-btn svg {
    width: 24px;
    height: 24px;
}

.floating-cta-label {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--black);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-cta-btn:hover .floating-cta-label {
    opacity: 1;
}

@keyframes floatingPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(76, 111, 255, 0.35);
    }
    50% {
        box-shadow: 0 4px 30px rgba(76, 111, 255, 0.55), 0 0 0 12px rgba(76, 111, 255, 0.08);
    }
}


/* ============================================
   5. STICKY TOP BAR
   ============================================ */
.sticky-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--black);
    color: var(--white);
    padding: 10px 24px;
    text-align: center;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease-out-expo);
}

.sticky-topbar.visible {
    transform: translateY(0);
}

.sticky-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sticky-topbar-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
}

.sticky-topbar-text strong {
    color: var(--white);
    font-weight: 700;
}

.sticky-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.sticky-topbar-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.sticky-topbar-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    transition: color 0.2s ease;
}

.sticky-topbar-close:hover {
    color: var(--white);
}

/* Push navbar down when topbar is visible */
.sticky-topbar.visible ~ .navbar,
body.topbar-visible .navbar {
    top: 42px;
}


/* ============================================
   6. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 92px;
    right: 28px;
    z-index: 996;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--gray-600);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
}


/* ============================================
   7. SOCIAL PROOF NOTIFICATION (Toast)
   ============================================ */
.social-proof-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 998;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 360px;
    transform: translateX(-120%);
    transition: transform 0.5s var(--ease-out-expo);
}

.social-proof-toast.visible {
    transform: translateX(0);
}

.social-proof-toast.dismissing {
    transform: translateX(-120%);
}

.toast-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
}

.toast-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.toast-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
}

.toast-action {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.toast-time {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: var(--black);
}


/* ============================================
   8. BLOG STYLES
   ============================================ */

/* --- Reading Progress Bar (thin at very top) --- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* --- Blog Grid (Index Page) --- */
.blog-section {
    padding: 120px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.blog-card:hover {
    border-color: var(--gray-200);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-50);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.blog-card-category {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.blog-card-title a {
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.blog-card-read-more {
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-card-read-more:hover {
    gap: 8px;
}

/* --- Breadcrumb Navigation --- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--gray-400);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb-separator {
    color: var(--gray-300);
}

.breadcrumb-current {
    color: var(--gray-600);
    font-weight: 500;
}

/* --- Article Layout --- */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    align-items: start;
}

.article-main {
    min-width: 0;
}

/* --- Article Header --- */
.article-header {
    margin-bottom: 40px;
}

.article-header .blog-card-category {
    margin-bottom: 16px;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--gray-400);
    flex-wrap: wrap;
}

.article-meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-300);
}

/* --- Article Typography --- */
.article-content {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--black);
    margin: 48px 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--black);
    margin: 36px 0 12px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.article-content h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin: 28px 0 10px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(76, 111, 255, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.article-content a:hover {
    text-decoration-color: var(--accent);
}

.article-content strong {
    font-weight: 700;
    color: var(--black);
}

.article-content ul,
.article-content ol {
    margin: 16px 0 24px;
    padding-left: 24px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.article-content li::marker {
    color: var(--accent);
}

.article-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--accent);
    background: var(--gray-50);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--gray-600);
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-content pre {
    margin: 24px 0;
    padding: 24px;
    background: var(--gray-900);
    border-radius: 12px;
    overflow-x: auto;
    border: 1px solid var(--gray-800);
}

.article-content code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
}

.article-content pre code {
    color: var(--gray-200);
    font-size: 0.875rem;
    line-height: 1.7;
}

.article-content p code,
.article-content li code {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.88em;
    color: var(--accent-dark);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.article-content hr {
    border: none;
    height: 1px;
    background: var(--gray-100);
    margin: 40px 0;
}

/* --- Article Tables (Comparison) --- */
.article-content table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.article-content thead {
    background: var(--gray-50);
}

.article-content th {
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--black);
    border-bottom: 2px solid var(--gray-100);
}

.article-content td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
    vertical-align: top;
}

.article-content tbody tr:last-child td {
    border-bottom: none;
}

.article-content tbody tr:hover {
    background: var(--gray-50);
}

/* --- Table of Contents Sidebar --- */
.toc-sidebar {
    position: sticky;
    top: 100px;
}

.toc-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 24px;
}

.toc-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toc-list a {
    display: block;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--gray-500);
    border-left: 2px solid var(--gray-200);
    transition: all 0.2s ease;
    line-height: 1.4;
}

.toc-list a:hover {
    color: var(--accent);
    border-left-color: var(--accent);
}

.toc-list a.active {
    color: var(--accent);
    border-left-color: var(--accent);
    font-weight: 600;
    background: var(--accent-glow);
    border-radius: 0 8px 8px 0;
}

.toc-list .toc-h3 {
    padding-left: 24px;
    font-size: 0.8rem;
}

/* --- Author Info Box --- */
.author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    margin: 48px 0;
}

.author-box-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
}

.author-box-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-box-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.author-box-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- CTA Banner within Articles --- */
.article-cta-banner {
    margin: 48px 0;
    padding: 36px 32px;
    background: var(--black);
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(76, 111, 255, 0.15) 0%, transparent 60%);
}

.article-cta-banner h3 {
    position: relative;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.article-cta-banner p {
    position: relative;
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-cta-banner .btn-primary {
    position: relative;
}

/* --- Category Tags / Badges --- */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.category-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.2s ease;
    cursor: pointer;
}

.category-tag:hover,
.category-tag.active {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
}

/* --- Related Articles Grid --- */
.related-articles {
    padding: 60px 0;
    border-top: 1px solid var(--gray-100);
}

.related-articles h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* ============================================
   9. LOCATION / STANDORT SECTION
   ============================================ */
.location-section {
    padding: 120px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.location-card {
    padding: 36px 32px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.location-card:hover {
    border-color: var(--gray-200);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.location-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.location-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

.location-icon svg {
    width: 24px;
    height: 24px;
}

.location-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
}

.location-card-header p {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.location-detail svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--gray-400);
    margin-top: 2px;
}

.location-map-placeholder {
    width: 100%;
    height: 200px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.85rem;
    overflow: hidden;
}

.location-map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}


/* ============================================
   10. SCROLL / READING PROGRESS BAR
   ============================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 10002;
    transition: width 0.05s linear;
    pointer-events: none;
}


/* ============================================
   11. PRINT STYLES
   ============================================ */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }

    a,
    a:visited {
        text-decoration: underline;
        color: #000;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-weight: normal;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    p {
        orphans: 3;
        widows: 3;
    }

    .navbar,
    .nav-toggle,
    .mobile-menu,
    .exit-overlay,
    .floating-cta,
    .sticky-topbar,
    .back-to-top,
    .social-proof-toast,
    .reading-progress,
    .scroll-progress-bar,
    .cursor-glow,
    .toc-sidebar,
    .article-cta-banner,
    footer,
    .footer {
        display: none !important;
    }

    .article-layout {
        display: block;
    }

    .article-content {
        max-width: 100%;
    }

    .article-content pre {
        border: 1px solid #ccc;
        page-break-inside: avoid;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    .article-content table {
        border-collapse: collapse;
    }

    .article-content th,
    .article-content td {
        border: 1px solid #ccc;
    }

    @page {
        margin: 2cm;
    }
}


/* ============================================
   12. RESPONSIVE BREAKPOINTS — New Elements
   ============================================ */

/* --- Tablet & Small Desktop (1024px) --- */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .toc-sidebar {
        position: relative;
        top: auto;
        order: -1;
    }

    .toc-card {
        margin-bottom: 24px;
    }

    .toc-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }

    .toc-list a {
        border-left: none;
        border-bottom: 2px solid var(--gray-200);
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .toc-list a.active {
        border-bottom-color: var(--accent);
        border-radius: 8px 8px 0 0;
    }

    .toc-list .toc-h3 {
        padding-left: 12px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
    .container {
        padding: 0 28px;
    }

    .faq-section {
        padding: 80px 0;
    }

    .faq-question {
        font-size: 0.98rem;
        padding: 22px 24px;
    }

    .faq-answer p,
    .faq-answer-inner {
        padding: 0 24px 18px;
        padding-right: 50px;
        font-size: 0.9rem;
    }

    .faq-answer > a.faq-cta {
        margin-left: 24px;
    }

    .floating-cta {
        bottom: 16px;
        right: 16px;
    }

    .floating-cta-btn {
        width: 50px;
        height: 50px;
    }

    .floating-cta-label {
        display: none;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .social-proof-toast {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
    }

    .sticky-topbar-inner {
        gap: 10px;
    }

    .sticky-topbar-text {
        font-size: 0.8rem;
    }

    .blog-section {
        padding: 80px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 16px 60px;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
        margin-top: 36px;
    }

    .article-content h3 {
        font-size: 1.15rem;
        margin-top: 28px;
    }

    .article-content pre {
        padding: 16px;
        border-radius: 10px;
    }

    .article-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .article-cta-banner {
        padding: 28px 20px;
    }

    .article-cta-banner h3 {
        font-size: 1.15rem;
    }

    .location-section {
        padding: 80px 0;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-card {
        padding: 28px 24px;
    }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .faq-question {
        font-size: 0.92rem;
        padding: 20px 20px;
    }

    .faq-answer p,
    .faq-answer-inner {
        padding: 0 20px 16px;
        padding-right: 40px;
        font-size: 0.85rem;
    }

    .faq-answer > a.faq-cta {
        margin-left: 20px;
    }

    .sticky-topbar-btn {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .blog-card-body {
        padding: 16px;
    }

    .blog-card-title {
        font-size: 1.05rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        font-size: 0.8rem;
        gap: 8px;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .category-tags {
        gap: 6px;
    }

    .category-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .location-card-header {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===========================================
   DSGVO Trust Section
   =========================================== */

.dsgvo-trust-section {
    padding: 80px 0;
    background: var(--white);
}

.dsgvo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.dsgvo-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.dsgvo-card:hover {
    border-color: rgba(76, 111, 255, 0.3);
    background: rgba(76, 111, 255, 0.03);
    transform: translateY(-4px);
}

.dsgvo-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(76, 111, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.dsgvo-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.dsgvo-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===========================================
   Contact Form Section
   =========================================== */

.contact-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    padding: 56px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info .cta-title {
    margin-bottom: 0;
}

.contact-info .cta-desc {
    margin-bottom: 0;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.contact-direct {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contact-direct p {
    margin-bottom: 4px;
}

.contact-email {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.contact-email:hover {
    opacity: 0.8;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header .cta-title {
    margin-bottom: 16px;
}

.contact-header .cta-desc {
    max-width: 600px;
    margin: 0 auto;
}

.contact-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-photo {
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 20px;
}

.contact-benefits-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 36px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-100);
}

.contact-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--black);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(76, 111, 255, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2371717A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--white);
    color: var(--black);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-privacy {
    margin-top: -4px;
}

.checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #2b50ef;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-label a {
    color: #2b50ef;
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: -8px;
}

.contact-success {
    text-align: center;
    padding: 60px 20px;
}

.contact-success svg {
    margin-bottom: 20px;
}

.contact-success h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 12px;
}

.contact-success p {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.6;
}

/* Invalid form states */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #EF4444;
}

/* ===========================================
   Contact Form Responsive
   =========================================== */

@media (max-width: 1024px) {
    .dsgvo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-wrapper {
        padding: 40px;
        grid-template-columns: 1fr;
    }
    .contact-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-photo img {
        max-height: 400px;
    }
    .contact-benefits-row {
        gap: 16px 28px;
    }
}

@media (max-width: 640px) {
    .dsgvo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .dsgvo-card {
        padding: 24px 20px;
    }
    .contact-wrapper {
        padding: 24px;
    }
    .contact-header {
        margin-bottom: 32px;
    }
    .contact-photo img {
        max-height: 300px;
    }
    .contact-benefits-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 32px;
        padding-top: 28px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px; /* Prevents iOS zoom */
    }
}


/* ============================================
   Code Editor Animation Component
   ============================================ */
.code-anim-section {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.code-anim-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.code-anim-header {
    text-align: center;
    margin-bottom: 40px;
}

.code-anim-header .section-tag {
    display: inline-block;
    margin-bottom: 16px;
}

.code-anim-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.code-anim-header p {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

.code-editor-anim {
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow:
        0 1px 3px rgba(0,0,0,0.03),
        0 8px 32px rgba(0,0,0,0.05),
        0 24px 60px rgba(0,0,0,0.03);
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', monospace;
    position: relative;
    transition: box-shadow 0.4s var(--ease-out-expo);
}

.code-editor-anim:hover {
    box-shadow:
        0 1px 3px rgba(0,0,0,0.03),
        0 12px 40px rgba(0,0,0,0.07),
        0 32px 80px rgba(0,0,0,0.05);
}

.code-editor-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.code-editor-dots {
    display: flex;
    gap: 7px;
}

.code-editor-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.code-editor-dots span:nth-child(1) { background: #ff5f57; }
.code-editor-dots span:nth-child(2) { background: #ffbd2e; }
.code-editor-dots span:nth-child(3) { background: #28c840; }

.code-editor-filename {
    font-size: 0.78rem;
    color: var(--gray-400);
    letter-spacing: 0.03em;
    font-weight: 500;
}

.code-editor-body {
    position: relative;
    height: 360px;
    overflow: hidden;
    padding: 4px 0;
}

.code-editor-body::before,
.code-editor-body::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 2;
    pointer-events: none;
}

.code-editor-body::before {
    top: 0;
    background: linear-gradient(to bottom, var(--white) 0%, transparent 100%);
}

.code-editor-body::after {
    bottom: 0;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
}

.code-scroll-track {
    display: flex;
    flex-direction: column;
    animation: codeScrollUp 30s linear infinite;
}

@keyframes codeScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.code-editor-anim:hover .code-scroll-track {
    animation-play-state: paused;
}

.code-line {
    display: flex;
    align-items: flex-start;
    padding: 3px 24px 3px 0;
    font-size: 0.82rem;
    line-height: 1.75;
    white-space: pre;
}

.code-ln {
    display: inline-block;
    width: 44px;
    min-width: 44px;
    text-align: right;
    padding-right: 18px;
    color: var(--gray-300);
    user-select: none;
    font-size: 0.78rem;
}

/* All code text is black */
.code-content { color: var(--black); }
.code-kw { color: var(--black); font-weight: 600; }
.code-fn { color: var(--black); font-weight: 500; }
.code-str { color: var(--gray-600); }
.code-cm { color: var(--gray-400); font-style: italic; }
.code-var { color: var(--black); }
.code-op { color: var(--gray-500); }
.code-num { color: var(--black); font-weight: 500; }
.code-cls { color: var(--black); font-weight: 600; }
.code-dec { color: var(--black); font-weight: 600; }

@media (max-width: 768px) {
    .code-anim-section {
        padding: 60px 0 80px;
    }
    .code-editor-body {
        height: 260px;
    }
    .code-line {
        font-size: 0.7rem;
    }
    .code-ln {
        width: 36px;
        min-width: 36px;
        padding-right: 12px;
    }
}

/* ============================================
   Neuro Web Award Optimierungen
   Trust Topbar, Social Proof, Storytelling,
   Accessibility, Micro-Trust
   ============================================ */

/* === Hero Social Proof === */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-proof-avatars {
    display: flex;
    align-items: center;
}

.hero-proof-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--white);
    object-fit: cover;
}

.hero-proof-avatar + .hero-proof-avatar,
picture + picture .hero-proof-avatar {
    margin-left: -10px;
}

.hero-proof-avatars picture:not(:first-child) .hero-proof-avatar {
    margin-left: -10px;
}

.hero-proof-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-proof-stars {
    display: flex;
    gap: 2px;
}

.hero-proof-text > span {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
}

@media (max-width: 480px) {
    .hero-social-proof {
        flex-direction: column;
        gap: 8px;
    }
}

/* === Hero Review Badges (Google & Trustpilot) === */
.hero-review-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
    margin-top: -8px;
}

.review-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: border-color 0.2s;
}

.review-badge:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.review-badge-logo {
    flex-shrink: 0;
    height: 16px;
    width: auto;
}

.review-badge-stars {
    display: flex;
    gap: 1px;
}

.review-badge-stars svg {
    width: 12px;
    height: 12px;
}

.review-badge-text {
    color: var(--gray-500);
    font-size: 0.75rem;
}

@media (max-width: 480px) {
    .hero-review-badges {
        flex-direction: column;
        gap: 8px;
    }
}

/* === Case Study Storytelling === */
.case-story {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.3s ease;
}

.case-link:hover {
    gap: 10px;
}

/* === Cases CTA === */
.cases-cta {
    text-align: center;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.micro-trust {
    font-size: 0.82rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* === FAQ CTA Link (inside answer) === */
.faq-answer > a.faq-cta {
    display: inline-block;
    margin: 0 28px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    transition: opacity 0.2s ease;
}

.faq-answer > a.faq-cta:hover {
    opacity: 0.8;
}

/* === Accessibility: Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-in {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .hero-gradient-orb {
        animation: none;
    }

    .logos-track {
        animation: none;
    }

    .badge-dot {
        animation: none;
    }

    .highlight-underline path {
        stroke-dashoffset: 0;
    }

    .code-scroll-track {
        animation: none;
    }

    .cursor-glow {
        display: none;
    }
}

/* === Focus Visible for Keyboard Navigation === */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* === Skip to Content Link (Accessibility) === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}


/* ═══════════════════════════════════════════════════════════════
   TEIL B — Kit-Komponenten (design-kit: globals.css + konzept-9.css)
   Nacht-Header/-Footer, dunkle Sektionsmodi, Startseiten-Blaupause.
   Angehängt nach Teil A: gleichspezifische Regeln hier gewinnen.
   ═══════════════════════════════════════════════════════════════ */

/* ————— Base-Ergänzungen ————— */
::selection {
    background: #4c6fff;
    color: #ffffff;
}

:focus-visible {
    outline: 2px solid #4c6fff;
    outline-offset: 3px;
    border-radius: 4px;
}

[id] {
    scroll-margin-top: 6.5rem;
}

p {
    text-wrap: pretty;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ————— Sektionsmodi: dunkel / hell im Wechsel ————— */
.sec-dark {
    background: var(--night);
    color: var(--night-text-2);
}

.sec-dark-2 {
    background: var(--night-2);
    color: var(--night-text-2);
}

.sec-light {
    background:
        radial-gradient(85% 55% at 50% 0%, rgba(76, 111, 255, 0.07) 0%, transparent 70%),
        var(--day);
    color: var(--day-text);
}

.k9-light-zone {
    position: relative;
    background: var(--day);
    color: var(--day-text);
}

/* ————— Kit-Typografie ————— */
.display-2 {
    font-size: clamp(2.125rem, 4.2vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-wrap: balance;
}

.serif-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 540;
    letter-spacing: -0.01em;
}

.grad-text {
    background: var(--grad-headline);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.grad-text-accent {
    background: var(--grad-accent-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-bright);
}

.mono-meta {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Headline-Gewichte: General Sans wirkt bei 700/800 zu fett — Kit: 600 */
.hero-title,
.section-title,
.trust-heading,
.service-card-title,
.sv-title,
.step-content h3,
.why-card h3,
.problem-card h3,
.case-quote,
.cta-title,
.faq-question span {
    font-weight: 600;
}

/* Fließtext-Minimum 17px (Kit §3/§7) für Lese-Absätze */
.section-subtitle,
.case-story,
.sv-expand-inner p,
.faq-answer p,
.why-card p,
.problem-card p,
.service-card-desc,
.step-content p,
.trust-text {
    font-size: 1.0625rem;
    line-height: 1.65;
}

/* ————— Badges, Chips, Signal ————— */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    border-radius: 100px;
    border: 1px solid var(--night-border);
    background: rgba(158, 178, 255, 0.06);
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--night-text);
}

.signal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 0 rgba(47, 208, 140, 0.5);
    animation: pulse-dot 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 100px;
    border: 1px solid var(--night-border-soft);
    background: var(--night-card);
    padding: 0.5rem 1.125rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--night-text-2);
}

.tag-chip .chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4c6fff;
    flex-shrink: 0;
}

/* ————— Buttons: Kit-Pills (überschreibt Teil-A-Varianten) ————— */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 100px;
    font-size: 1.0625rem;
    font-weight: 560;
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    border: none;
    cursor: pointer;
    background: var(--grad-btn);
    color: #ffffff;
    box-shadow:
        0 8px 28px rgba(59, 92, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 250ms ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 36px rgba(59, 92, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--shine);
    transform: translateX(-120%);
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.btn-primary:hover::after {
    transform: translateX(120%);
}

a.btn-primary,
a.btn-primary:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 100px;
    font-size: 1.0625rem;
    font-weight: 560;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid var(--day-border);
    color: var(--ink);
    background: var(--day-card);
    transition:
        transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 200ms ease,
        color 200ms ease,
        background-color 200ms ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent-strong);
    color: var(--accent-strong);
}

.sec-dark .btn-secondary,
.sec-dark-2 .btn-secondary,
.k9-hero .btn-secondary {
    border: 1px solid var(--night-border);
    color: var(--night-text);
    background: rgba(158, 178, 255, 0.05);
}

.sec-dark .btn-secondary:hover,
.sec-dark-2 .btn-secondary:hover,
.k9-hero .btn-secondary:hover {
    border-color: rgba(158, 178, 255, 0.4);
    background: rgba(158, 178, 255, 0.1);
    color: var(--night-text);
}

.arrow {
    display: inline-block;
    transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover .arrow {
    transform: translateX(3px);
}

/* ————— Karten: Glow (dunkel) & Day (hell) ————— */
.glow-card {
    position: relative;
    border-radius: 20px;
    background:
        var(--grad-card) padding-box,
        linear-gradient(var(--night-card), var(--night-card)) padding-box,
        linear-gradient(150deg, rgba(158, 178, 255, 0.35), rgba(158, 178, 255, 0.06) 40%, rgba(158, 178, 255, 0.12)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 12px 36px rgba(3, 7, 22, 0.4);
    transition:
        transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 350ms ease;
}

.glow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(3, 7, 22, 0.5), 0 0 40px rgba(76, 111, 255, 0.14);
}

.day-card {
    border-radius: 20px;
    background: var(--day-card);
    border: 1px solid var(--day-border);
    box-shadow: 0 10px 30px rgba(23, 38, 105, 0.06);
    transition:
        transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 350ms ease,
        border-color 350ms ease;
}

.day-card:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 111, 255, 0.35);
    box-shadow: 0 20px 50px rgba(23, 38, 105, 0.1);
}

/* ————— Orbs ————— */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
}

.orb-accent {
    background: radial-gradient(circle, rgba(76, 111, 255, 0.32) 0%, transparent 68%);
    animation: orb-float 22s ease-in-out infinite;
}

.orb-cool {
    background: radial-gradient(circle, rgba(125, 160, 255, 0.18) 0%, transparent 70%);
    animation: orb-float 28s ease-in-out infinite reverse;
}

.orb-day {
    background: radial-gradient(circle, rgba(76, 111, 255, 0.11) 0%, transparent 70%);
    animation: orb-float 26s ease-in-out infinite;
}

/* ————— Header: Nacht-Glas (überschreibt Teil A) ————— */
.navbar {
    background: rgba(5, 7, 14, 0.88);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 7, 14, 0.94);
    border-bottom: 1px solid var(--night-border);
}

.nav-logo,
.navbar .nav-logo span {
    color: var(--night-text);
}

.nav-link {
    color: var(--night-text-2);
}

.nav-link:hover,
.nav-link.active {
    color: var(--night-text);
}

.nav-link.active::after {
    background: var(--accent-bright);
}

.nav-link::after {
    background: var(--accent-bright);
}

.nav-cta {
    position: relative;
    overflow: hidden;
    background: var(--grad-btn);
    color: #ffffff;
    border-radius: 100px;
    box-shadow:
        0 8px 28px rgba(59, 92, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nav-cta:hover {
    background: var(--grad-btn);
    box-shadow:
        0 12px 36px rgba(59, 92, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nav-toggle span {
    background: var(--night-text);
}

.mobile-menu {
    background: rgba(5, 7, 14, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.mobile-link {
    color: var(--night-text);
    border-bottom: 1px solid var(--night-border-soft);
}

.mobile-cta {
    background: var(--grad-btn);
    color: #ffffff;
    border-radius: 100px;
    box-shadow: 0 8px 28px rgba(59, 92, 255, 0.35);
}

/* ————— Dunkle Sektionsköpfe (Bestandsklassen im Nacht-Kontext) ————— */
.sec-dark .section-title,
.sec-dark-2 .section-title {
    color: var(--night-text);
}

.sec-dark .section-subtitle,
.sec-dark-2 .section-subtitle {
    color: var(--night-text-2);
}

.sec-dark .section-tag,
.sec-dark-2 .section-tag {
    background: rgba(158, 178, 255, 0.06);
    border: 1px solid var(--night-border);
    color: var(--accent-bright);
}

/* Serif-Akzent im Sektions-Titel (genau ein Wort/Phrase pro Headline) */
.section-title .serif-accent {
    font-weight: 540;
}

.sec-dark .section-title .serif-accent,
.sec-dark-2 .section-title .serif-accent,
.k9-hero .serif-accent {
    background: var(--grad-accent-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.k9-light-zone .section-title .serif-accent {
    color: var(--accent-strong);
}

/* ————— Hero (Startseite, dunkel): .hero.k9-hero ————— */
.hero.k9-hero {
    background: var(--night);
    color: var(--night-text-2);
    padding: 172px 24px 96px;
}

@media (min-width: 1024px) {
    .hero.k9-hero {
        padding-top: 204px;
        padding-bottom: 128px;
    }
}

.k9-hero .hero-title {
    color: var(--night-text);
    font-weight: 600;
    font-size: clamp(2.875rem, 6.8vw, 5.5rem);
    letter-spacing: -0.03em;
    line-height: 1.04;
    text-wrap: balance;
}

.k9-hero .hero-description {
    color: var(--night-text-2);
    font-size: 1.1875rem;
    line-height: 1.7;
    max-width: 36em;
}

@media (min-width: 1024px) {
    .k9-hero .hero-description {
        font-size: 1.25rem;
    }
}

.k9-hero-halo {
    position: absolute;
    left: 50%;
    top: 4%;
    width: min(960px, 130vw);
    height: 560px;
    transform: translateX(-50%);
    background: radial-gradient(50% 50% at 50% 42%, rgba(104, 136, 255, 0.13) 0%, transparent 70%);
    pointer-events: none;
}

.k9-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(158, 178, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 178, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(90% 90% at 50% 30%, #000 0%, transparent 100%);
    mask-image: radial-gradient(90% 90% at 50% 30%, #000 0%, transparent 100%);
}

.k9-hero-word {
    display: block;
    min-height: 1.12em;
    font-size: clamp(2.25rem, 8vw, 5.5rem);
    line-height: 1.08;
}

.k9-caret {
    display: inline-block;
    width: 3px;
    height: 0.74em;
    margin-left: 0.1em;
    border-radius: 2px;
    background: var(--accent-bright);
    vertical-align: -0.04em;
}

.k9-caret-blink {
    animation: k9-blink 1.1s steps(1) infinite;
}

@keyframes k9-blink {
    50% {
        opacity: 0;
    }
}

.hero-trust {
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 28px;
    row-gap: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--night-text-2);
}

.hero-trust .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: var(--night-text-2);
}

.hero-trust a.trust-item:hover {
    color: var(--night-text);
}

.hero-trust .trust-item-star {
    color: #4c6fff;
    flex-shrink: 0;
}

.hero-trust .trust-item-check {
    color: var(--signal);
    flex-shrink: 0;
}

/* Hero-Einblend-Sequenz (CSS-only, < 1,6 s) */
.hero-in {
    opacity: 0;
    transform: translateY(22px);
    animation: fade-up 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-in-1 { animation-delay: 80ms; }
.hero-in-2 { animation-delay: 200ms; }
.hero-in-3 { animation-delay: 340ms; }
.hero-in-4 { animation-delay: 480ms; }
.hero-in-5 { animation-delay: 640ms; }
.hero-in-6 { animation-delay: 820ms; }

/* ————— Gradient-Wort-Marquee (Startseite) ————— */
.marquee-section {
    overflow: hidden;
    padding-top: 1rem;
    padding-bottom: 3.5rem;
}

@media (min-width: 1024px) {
    .marquee-section {
        padding-bottom: 5rem;
    }
}

.marquee-label {
    text-align: center;
    margin-bottom: 1.75rem;
    color: var(--night-text-2);
}

.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding-block: 4px;
    animation: marquee-scroll 36s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track > ul,
.marquee-copy {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.k9-word {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    font-size: clamp(2.5rem, 6.5vw, 4.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.k9-word-sep {
    margin-inline: clamp(20px, 3vw, 44px);
    font-size: 0.42em;
    color: #4c6fff;
    transform: translateY(-0.35em);
}

/* ————— Probleme als Glow-Karten (Startseite dunkel) ————— */
.sec-dark-2 .problem-card,
.sec-dark .problem-card {
    background:
        var(--grad-card) padding-box,
        linear-gradient(var(--night-card), var(--night-card)) padding-box,
        linear-gradient(150deg, rgba(158, 178, 255, 0.35), rgba(158, 178, 255, 0.06) 40%, rgba(158, 178, 255, 0.12)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 12px 36px rgba(3, 7, 22, 0.4);
}

.sec-dark-2 .problem-card:hover,
.sec-dark .problem-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 22px 60px rgba(3, 7, 22, 0.5), 0 0 40px rgba(76, 111, 255, 0.14);
}

.sec-dark-2 .problem-card::before,
.sec-dark .problem-card::before {
    display: none;
}

.sec-dark-2 .problem-card h3,
.sec-dark .problem-card h3 {
    color: var(--night-text);
}

.sec-dark-2 .problem-card p,
.sec-dark .problem-card p {
    color: var(--night-text-2);
}

.sec-dark-2 .problem-card-number,
.sec-dark .problem-card-number {
    background: rgba(76, 111, 255, 0.15);
    color: var(--accent-bright);
    font-weight: 600;
}

.sec-dark-2 .problem-card .solution,
.sec-dark .problem-card .solution {
    color: var(--accent-bright);
    font-weight: 600;
}

/* ————— Leistungen: Sticky-Stack (Startseite) ————— */
.k9-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 3.5rem;
}

.k9-stack-panel {
    padding: clamp(28px, 4.5vw, 56px);
}

.k9-stack-panel:hover {
    transform: none;
}

@media (min-width: 1024px) {
    .k9-stack {
        gap: 96px;
        padding-bottom: 40px;
    }

    .k9-stack-panel {
        position: sticky;
        min-height: 460px;
        display: flex;
        align-items: center;
        box-shadow:
            0 -28px 60px rgba(2, 5, 16, 0.55),
            0 12px 36px rgba(3, 7, 22, 0.4);
    }

    .k9-stack-panel:nth-child(1) { top: 100px; }
    .k9-stack-panel:nth-child(2) { top: 128px; }
    .k9-stack-panel:nth-child(3) { top: 156px; }
}

.panel-grid {
    display: grid;
    gap: 40px;
    width: 100%;
    align-items: center;
}

@media (min-width: 1024px) {
    .panel-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.panel-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.panel-nr {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--night-text-2);
}

.panel-pill {
    border-radius: 100px;
    border: 1px solid var(--night-border);
    background: rgba(76, 111, 255, 0.1);
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #a9bbff;
}

.panel-title {
    margin-top: 1.5rem;
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--night-text);
}

@media (min-width: 1024px) {
    .panel-title {
        font-size: 2rem;
    }
}

.panel-text {
    margin-top: 1rem;
    max-width: 34em;
    line-height: 1.65;
}

.panel-text a {
    color: var(--accent-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.panel-checklist {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--night-border-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--night-text);
    font-size: 1.0625rem;
}

.panel-checklist svg {
    flex-shrink: 0;
    margin-top: 6px;
}

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-bright);
}

.panel-link:hover {
    color: var(--night-text);
}

/* Cursor-Spotlight (JS setzt --mx/--my/--spot; nur pointer: fine) */
.k9-spot {
    position: relative;
}

.k9-spot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        240px circle at var(--mx, 50%) var(--my, 40%),
        rgba(133, 160, 255, 0.16),
        transparent 70%
    );
    opacity: var(--spot, 0);
    transition: opacity 400ms ease;
    pointer-events: none;
}

@media (pointer: coarse) {
    .k9-spot::after {
        display: none;
    }
}

/* Mini-Visuals in den Panels (reines CSS im Ultramarin-Stil) */
.k9-mini {
    border-radius: 18px;
    border: 1px solid var(--night-border);
    background: linear-gradient(180deg, var(--night-card-2), var(--night-2));
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(2, 5, 16, 0.45);
}

.k9-mini-pad {
    padding: 24px 28px;
}

.k9-mini-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--night-border-soft);
}

.k9-mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(158, 178, 255, 0.28);
    flex-shrink: 0;
}

.k9-mini-title {
    font-family: var(--font-mono);
    margin-left: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--night-text-2);
}

.k9-skel {
    height: 10px;
    border-radius: 100px;
    background: rgba(158, 178, 255, 0.16);
}

.k9-skel--bright {
    background: linear-gradient(90deg, rgba(120, 150, 255, 0.55), rgba(120, 150, 255, 0.2));
}

.k9-mini-node {
    display: grid;
    place-items: center;
    min-width: 72px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--night-border);
    background: var(--night-card-2);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--night-text);
}

.k9-flow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.k9-link {
    position: relative;
    flex: 1 1 24px;
    height: 2px;
    border-radius: 100px;
    background: rgba(108, 139, 255, 0.28);
}

.k9-link::after {
    content: "";
    position: absolute;
    top: -2.5px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4c6fff;
    box-shadow: 0 0 12px rgba(76, 111, 255, 0.95);
    animation: k9-link-run 2.8s ease-in-out infinite;
}

.k9-flow .k9-link:last-of-type::after {
    animation-delay: 1.4s;
}

@keyframes k9-link-run {
    0% {
        left: 0;
        opacity: 0;
    }

    14% {
        opacity: 1;
    }

    86% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 7px);
        opacity: 0;
    }
}

.k9-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.k9-mini-card {
    border-radius: 10px;
    border: 1px solid var(--night-border-soft);
    background: rgba(158, 178, 255, 0.05);
    padding: 12px;
}

.k9-mini-split {
    display: flex;
}

.k9-mini-side {
    width: 26%;
    padding: 18px 16px;
    border-right: 1px solid var(--night-border-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.k9-mini-main {
    flex: 1;
    padding: 20px;
}

.k9-mini-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    border-radius: 100px;
    border: 1px solid var(--night-border);
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--night-text);
}

/* ————— sv-Rows im Nacht-Kontext (Startseite „So helfen wir konkret") ————— */
.sec-dark .sv-row,
.sec-dark-2 .sv-row {
    border-color: var(--night-border-soft);
}

.sec-dark .sv-title,
.sec-dark-2 .sv-title {
    color: var(--night-text);
}

.sec-dark .sv-tagline,
.sec-dark-2 .sv-tagline,
.sec-dark .sv-intro,
.sec-dark-2 .sv-intro,
.sec-dark .sv-num,
.sec-dark-2 .sv-num,
.sec-dark .sv-chevron,
.sec-dark-2 .sv-chevron {
    color: var(--night-text-2);
}

.sec-dark .sv-expand-inner p,
.sec-dark-2 .sv-expand-inner p {
    color: var(--night-text-2);
}

.sec-dark .sv-tools span,
.sec-dark-2 .sv-tools span {
    border: 1px solid var(--night-border-soft);
    background: var(--night-card);
    color: var(--night-text-2);
}

.sec-dark .sv-detail-link,
.sec-dark-2 .sv-detail-link,
.sec-dark .sv-cta-link,
.sec-dark-2 .sv-cta-link {
    color: var(--accent-bright);
}

/* ————— Kennzahlen (Startseite dunkel, Count-up) ————— */
.k9-zahlen {
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(88, 120, 255, 0.09) 0%, transparent 70%),
        var(--night-2);
}

.k9-grid-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(158, 178, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 178, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(80% 75% at 50% 22%, #000 0%, transparent 100%);
    mask-image: radial-gradient(80% 75% at 50% 22%, #000 0%, transparent 100%);
}

.zahlen-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 3.5rem;
}

@media (min-width: 640px) {
    .zahlen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .zahlen-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.zahl-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    text-align: left;
}

.zahl-value {
    font-size: clamp(2.625rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.zahl-value .stat-number,
.zahl-value .stat-suffix {
    font-size: inherit;
    font-weight: inherit;
    background: var(--grad-accent-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.zahl-label {
    margin-top: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--night-text);
}

.zahl-source {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--night-text-2);
}

/* ————— Ablauf im Nacht-Kontext (Bestands-Timeline, Kit-Look) ————— */
.sec-dark.process-section,
.sec-dark .process-section {
    background: var(--night);
}

.sec-dark.process-section::before {
    background-image:
        linear-gradient(rgba(158, 178, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 178, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 1;
    -webkit-mask-image: radial-gradient(80% 75% at 50% 30%, #000 0%, transparent 100%);
    mask-image: radial-gradient(80% 75% at 50% 30%, #000 0%, transparent 100%);
}

.sec-dark .process-line {
    background: linear-gradient(
        180deg,
        transparent,
        rgba(108, 139, 255, 0.28) 7%,
        rgba(108, 139, 255, 0.28) 93%,
        transparent
    );
}

.sec-dark .process-line-fill {
    background: linear-gradient(
        180deg,
        rgba(108, 139, 255, 0.85),
        rgba(76, 111, 255, 0.55) 60%,
        rgba(76, 111, 255, 0.25)
    );
    box-shadow: 0 0 14px rgba(76, 111, 255, 0.5);
}

.sec-dark .step-number {
    background: transparent;
    border: none;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(158, 178, 255, 0.55);
    font-weight: 640;
    box-shadow: none;
}

.sec-dark .step-content h3 {
    color: var(--night-text);
}

.sec-dark .step-content p {
    color: var(--night-text-2);
}

.sec-dark .step-duration {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8125rem;
    border: 1px solid var(--night-border);
    background: transparent;
    color: var(--night-text-2);
    border-radius: 100px;
}

.k9-brush {
    position: absolute;
    pointer-events: none;
    filter: blur(46px);
    transform: rotate(-16deg);
    border-radius: 999px;
}

.k9-brush-1 {
    left: -12%;
    top: 22%;
    width: 56%;
    height: 220px;
    background: linear-gradient(
        100deg,
        rgba(76, 111, 255, 0.16) 0%,
        rgba(120, 150, 255, 0.05) 55%,
        transparent 100%
    );
}

.k9-brush-2 {
    right: -14%;
    bottom: 12%;
    width: 52%;
    height: 190px;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(120, 150, 255, 0.06) 45%,
        rgba(76, 111, 255, 0.14) 100%
    );
}

/* ————— HORIZONT: Übergang dunkel → hell (Morgendämmerung) ————— */
.k9-horizon {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        var(--night) 0%,
        #090d1f 10%,
        #131a3d 22%,
        #33418b 38%,
        #7386c9 52%,
        #a9b6e4 64%,
        #c9d2f1 74%,
        #e4e8f7 84%,
        #eff1f9 92%,
        var(--day) 100%
    );
}

.k9-horizon-scrim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: min(78%, 660px);
    background: linear-gradient(
        180deg,
        var(--night) 0%,
        rgba(5, 7, 14, 0.92) 45%,
        rgba(5, 7, 14, 0.55) 72%,
        transparent 100%
    );
    pointer-events: none;
}

.k9-horizon .mono-meta {
    color: #cdd6ee;
}

.k9-horizon-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(214, 226, 255, 0.7) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(158, 178, 255, 0.45) 1px, transparent 1.6px);
    background-size: 136px 136px, 88px 88px;
    background-position: 14px 22px, 58px 70px;
    -webkit-mask-image: linear-gradient(180deg, #000 18%, rgba(0, 0, 0, 0.55) 44%, transparent 66%);
    mask-image: linear-gradient(180deg, #000 18%, rgba(0, 0, 0, 0.55) 44%, transparent 66%);
}

.k9-horizon-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: max(68vh, 700px);
    padding-top: 96px;
    padding-bottom: clamp(220px, 30vh, 320px);
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.k9-horizon-inner .display-2 {
    color: var(--night-text);
    max-width: 18em;
    margin-inline: auto;
}

.k9-horizon-linewrap {
    position: relative;
    margin-top: auto;
    padding-top: 80px;
}

.k9-horizon-glow {
    position: absolute;
    left: 50%;
    bottom: -120px;
    width: min(1100px, 130%);
    height: 260px;
    transform: translateX(-50%);
    background: radial-gradient(50% 50% at 50% 50%, rgba(96, 128, 255, 0.28) 0%, transparent 68%);
    pointer-events: none;
    transition: opacity 900ms ease 150ms;
}

.k9-horizon-line {
    position: relative;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(122, 150, 255, 0.9) 28%,
        #cdd9ff 50%,
        rgba(122, 150, 255, 0.9) 72%,
        transparent 100%
    );
    box-shadow:
        0 0 18px rgba(76, 111, 255, 0.85),
        0 0 56px rgba(76, 111, 255, 0.45);
    transform-origin: center;
    transition:
        transform 1300ms cubic-bezier(0.16, 1, 0.3, 1) 150ms,
        opacity 700ms ease 150ms;
}

html.js .scroll-reveal:not(.revealed) .k9-horizon-line {
    transform: scaleX(0.12);
    opacity: 0;
}

html.js .scroll-reveal:not(.revealed) .k9-horizon-glow {
    opacity: 0;
}

/* ————— DÄMMERUNG: Rückweg ins Dunkel (spiegelgleich) ————— */
.k9-dusk {
    position: relative;
    overflow: hidden;
    min-height: max(68vh, 700px);
    background: linear-gradient(
        180deg,
        var(--day) 0%,
        #eff1f9 8%,
        #e4e8f7 16%,
        #c9d2f1 26%,
        #a9b6e4 36%,
        #7386c9 48%,
        #33418b 62%,
        #131a3d 78%,
        #090d1f 90%,
        var(--night-2) 100%
    );
}

.k9-dusk-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(214, 226, 255, 0.7) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(158, 178, 255, 0.45) 1px, transparent 1.6px);
    background-size: 136px 136px, 88px 88px;
    background-position: 14px 22px, 58px 70px;
    -webkit-mask-image: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.55) 56%, #000 82%);
    mask-image: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.55) 56%, #000 82%);
}

/* ————— Cases: micro-trust & Links im hellen Kontext ————— */
.k9-light-zone .case-link,
.k9-light-zone .cases-cta .micro-trust {
    color: var(--accent-strong);
}

.k9-light-zone .micro-trust {
    color: var(--day-text-2);
}

/* ————— FAQ im Nacht-Kontext (Bestands-Accordion, Kit-Look) ————— */
.sec-dark-2 .faq-item,
.sec-dark .faq-item {
    border-radius: 16px;
    border: 1px solid var(--night-border-soft);
    background:
        linear-gradient(160deg, rgba(120, 150, 255, 0.06), rgba(120, 150, 255, 0) 55%),
        var(--night-card);
}

.sec-dark-2 .faq-item:hover,
.sec-dark .faq-item:hover,
.sec-dark-2 .faq-item.active,
.sec-dark .faq-item.active {
    border-color: var(--night-border);
    box-shadow: none;
}

.sec-dark-2 .faq-question,
.sec-dark .faq-question {
    color: var(--night-text);
}

.sec-dark-2 .faq-question span,
.sec-dark .faq-question span {
    color: var(--night-text);
}

.sec-dark-2 .faq-icon,
.sec-dark .faq-icon {
    background: rgba(76, 111, 255, 0.15);
    border-radius: 50%;
}

.sec-dark-2 .faq-icon span,
.sec-dark .faq-icon span {
    background: var(--accent-bright);
}

.sec-dark-2 .faq-answer p,
.sec-dark .faq-answer p {
    color: var(--night-text-2);
}

.sec-dark-2 .faq-answer a,
.sec-dark .faq-answer a {
    color: var(--accent-bright);
}

/* Ohne JavaScript sind alle Antworten sichtbar (Kit §7) */
html:not(.js) .faq-answer {
    max-height: none !important;
}

html:not(.js) .sv-row-expand {
    max-height: none !important;
    opacity: 1 !important;
}

/* ————— Booking-Sektion im Nacht-Kontext ————— */
.sec-dark-2 .bk-form-header h2,
.sec-dark .bk-form-header h2 {
    color: var(--night-text);
}

.sec-dark-2 .bk-form-header p,
.sec-dark .bk-form-header p {
    color: var(--night-text-2);
}

.sec-dark-2 .bk-trust-bar-item,
.sec-dark .bk-trust-bar-item {
    color: var(--night-text-2);
}

/* ————— CTA-Box (statische Gradient-Hairline, KEINE Rotation) ————— */
.cta-box {
    position: relative;
    border-radius: 28px;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(76, 111, 255, 0.14) 0%, transparent 55%),
        var(--night-card);
    border: 1px solid transparent;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        120deg,
        rgba(108, 139, 255, 0.55) 0%,
        rgba(108, 139, 255, 0.1) 35%,
        rgba(108, 139, 255, 0.32) 65%,
        rgba(108, 139, 255, 0.08) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* ————— Footer: Nacht (überschreibt Teil A) ————— */
.footer {
    background: var(--night);
    color: var(--night-text-2);
    border-top: 1px solid var(--night-border-soft);
}

.footer .nav-logo span,
.footer-links h4 {
    color: var(--night-text);
}

.footer-links h4 {
    color: var(--night-text-2);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8125rem;
}

.footer-links a,
.footer-tagline,
.footer address,
.footer address a {
    color: var(--night-text-2) !important;
}

.footer-links a:hover {
    color: var(--night-text) !important;
}

.footer-bottom {
    border-top: 1px solid var(--night-border-soft);
    color: var(--night-text-2);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ————— Scroll-Reveals: nur unter html.js versteckt (Kit-Motion) ————— */
html.js .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ————— Kit-Keyframes ————— */
@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-dot {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(47, 208, 140, 0.45);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(47, 208, 140, 0);
    }
}

@keyframes orb-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -35px) scale(1.08);
    }

    66% {
        transform: translate(-35px, 25px) scale(0.95);
    }
}

@keyframes marquee-scroll {
    to {
        transform: translateX(calc(-50% - 7px));
    }
}

/* ————— Reduced Motion: alles steht, sofort sichtbar ————— */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-in {
        opacity: 1;
        transform: none;
        animation: none;
    }

    html.js .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .signal-dot,
    .orb-accent,
    .orb-cool,
    .orb-day,
    .marquee-track {
        animation: none;
    }

    .marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .marquee-track {
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
        padding-inline: 24px;
    }

    .marquee-track > ul {
        flex-wrap: wrap;
        justify-content: center;
        flex-shrink: 1;
        max-width: 100%;
    }

    .marquee-copy {
        display: none;
    }

    .btn-primary,
    .btn-primary::after,
    .btn-secondary,
    .glow-card,
    .day-card,
    .arrow,
    .nav-cta {
        transition: none;
    }

    .btn-primary:hover,
    .btn-secondary:hover,
    .glow-card:hover,
    .day-card:hover,
    .sec-dark-2 .problem-card:hover,
    .sec-dark .problem-card:hover {
        transform: none;
    }

    .k9-caret-blink,
    .k9-link::after,
    .k9-flow .k9-link:last-of-type::after {
        animation: none;
    }

    .k9-link::after {
        left: calc(50% - 3.5px);
        opacity: 1;
    }

    .k9-spot::after {
        transition: none;
    }

    .k9-horizon-line,
    .k9-horizon-glow {
        transition: none;
    }

    html.js .scroll-reveal:not(.revealed) .k9-horizon-line {
        transform: none;
        opacity: 1;
    }

    html.js .scroll-reveal:not(.revealed) .k9-horizon-glow {
        opacity: 1;
    }
}

/* ————— Nachträge: Booking-Sektion dunkel + sv-Chevrons im Nacht-Look ————— */
.bk-form-section.sec-dark {
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(88, 120, 255, 0.09) 0%, transparent 70%),
        var(--night);
}

.bk-form-section.sec-dark .bk-form-header h2 {
    color: var(--night-text);
}

.bk-form-section.sec-dark .bk-form-header p {
    color: var(--night-text-2);
}

.sec-dark .sv-chevron,
.sec-dark-2 .sv-chevron {
    background: rgba(76, 111, 255, 0.15);
    border: none;
    color: var(--accent-bright);
    box-shadow: none;
}

.sec-dark .sv-row:hover .sv-chevron,
.sec-dark-2 .sv-row:hover .sv-chevron {
    background: rgba(76, 111, 255, 0.28);
    color: var(--accent-bright);
}
