/* ============================================================
   ILLEK Internet — Dark Futuristic + Glassmorphism
   Internetagentur für Portfolio-Websites
   style.css — Extended stylesheet (loads AFTER critical CSS)
   ============================================================ */

/* === Font Faces === */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* === Design Tokens === */
:root {
    /* Core Colors */
    --color-primary: #7c3aed;
    --color-primary-dark: #6d28d9;
    --color-primary-light: #8b5cf6;
    --color-primary-ultra-light: #ede9fe;
    --color-primary-rgb: 124, 58, 237;
    --color-accent: #06b6d4;
    --color-accent-light: #22d3ee;
    --color-accent-dark: #0891b2;
    --color-accent-rgb: 6, 182, 212;

    /* Backgrounds */
    --color-bg: #0a0a0f;
    --color-bg-alt: #12121a;
    --color-bg-card: #1a1a2e;
    --color-bg-card-hover: #222240;

    /* Text */
    --color-text: #e4e4e7;
    --color-text-muted: #a1a1aa;
    --color-text-dim: #71717a;
    --color-text-heading: #fafafa;

    /* Borders */
    --color-border: #27272a;
    --color-border-light: #3f3f46;

    /* Grayscale */
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;

    /* Semantic */
    --color-success: #22c55e;
    --color-success-rgb: 34, 197, 94;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
    --text-base: clamp(0.925rem, 0.875rem + 0.25vw, 1rem);
    --text-lg: clamp(1.05rem, 1rem + 0.25vw, 1.125rem);
    --text-xl: clamp(1.15rem, 1rem + 0.75vw, 1.25rem);
    --text-2xl: clamp(1.35rem, 1.1rem + 1.25vw, 1.5rem);
    --text-3xl: clamp(1.6rem, 1.2rem + 2vw, 1.875rem);
    --text-4xl: clamp(1.9rem, 1.4rem + 2.5vw, 2.25rem);
    --text-5xl: clamp(2.2rem, 1.5rem + 3.5vw, 3rem);
    --text-6xl: clamp(2.8rem, 1.8rem + 5vw, 3.75rem);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-14: 3.5rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-28: 7rem;
    --space-32: 8rem;

    /* Shadows (dark theme) */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 64px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(var(--color-primary-rgb), 0.4);
    --shadow-glow-sm: 0 0 12px rgba(var(--color-primary-rgb), 0.25);
    --shadow-glow-accent: 0 0 20px rgba(var(--color-accent-rgb), 0.3);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-shine: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(var(--color-primary-rgb), 0.15) 0%, transparent 50%),
                     radial-gradient(ellipse at 80% 20%, rgba(var(--color-accent-rgb), 0.1) 0%, transparent 50%),
                     radial-gradient(ellipse at 50% 80%, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 50%);
    --gradient-card: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1) 0%, rgba(var(--color-accent-rgb), 0.05) 100%);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-spring: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 150ms var(--ease-smooth);
    --transition-normal: 300ms var(--ease-smooth);
    --transition-slow: 500ms var(--ease-smooth);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-strong: rgba(255, 255, 255, 0.08);
    --glass-bg-light: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-strong: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(20px);
    --glass-blur-strong: blur(40px);
    --glass-saturate: saturate(180%);

    /* Layout */
    --container-max: 1200px;
    --header-height: 76px;
}


/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    font-feature-settings: 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-accent-light);
}

p a, label a, .content a, .faq-answer a, .content-section a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
a.inline-link {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 200ms ease, text-decoration-color 200ms ease;
}
a.inline-link:hover {
    color: var(--color-accent-light);
    text-decoration-color: var(--color-accent-light);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

input, textarea, select {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-text-heading);
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

::selection {
    background: rgba(var(--color-primary-rgb), 0.4);
    color: var(--color-text);
}


/* === Scrollbar === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
    background: var(--color-border-light);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }


/* ============================================================
   UTILITIES
   ============================================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.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;
}

.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

.highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ============================================================
   SKIP LINK
   ============================================================ */

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-4);
    padding: var(--space-3) var(--space-6);
    background: var(--color-primary);
    color: #fff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top var(--transition-fast);
}
.skip-link:focus {
    top: 0;
    color: #fff;
}


/* ============================================================
   FOCUS VISIBLE
   ============================================================ */

*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}


/* ============================================================
   HEADER
   ============================================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header--scrolled {
    background: rgba(10, 10, 15, 0.95);
    border-bottom-color: var(--glass-border-strong);
    box-shadow: var(--shadow-lg);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}


/* === Logo === */

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--color-text-heading);
    flex-shrink: 0;
}
.logo:hover { color: var(--color-text-heading); }

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    border-radius: var(--radius-md);
    color: #fff;
    font-weight: 800;
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.logo-tagline {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.2;
}


/* === Navigation (.nav) === */

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav a,
.nav-dropdown > button {
    color: var(--color-text-muted);
    text-decoration: none;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color var(--transition-fast), background var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.nav a:hover,
.nav a.active,
.nav-dropdown > button:hover,
.nav-dropdown > button.active {
    color: var(--color-text-heading);
    background: var(--color-bg-card);
}

.nav a.active {
    color: var(--color-primary-light);
}

.nav-dropdown > button.active {
    color: var(--color-primary-light);
}


/* === Nav Dropdown === */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > button {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-dropdown > button svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.nav-dropdown.open > button svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    padding: var(--space-2);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem var(--space-4);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    border-radius: calc(var(--radius-lg) - 4px);
    transition: color var(--transition-fast), background var(--transition-fast);
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    color: var(--color-text-heading);
    background: var(--glass-bg-strong);
}


/* === Hamburger === */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
    overflow: hidden;
}

/* Homepage hero — flatter, grid layout */
.hero--home {
    padding: calc(var(--header-height) + var(--space-14)) 0 var(--space-14);
}

/* Gradient mesh background — subtler */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
}

/* Floating gradient orb — top right, subtler */
.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

/* Canvas plexus animation */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* Animated dot-grid background */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    animation: hero-grid-drift 20s linear infinite;
    opacity: 0.5;
}

/* 2-column hero grid */
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

/* Hero visual (SVG illustration area) */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.hero-visual svg {
    width: 100%;
    height: auto;
    max-width: 480px;
}

/* Floating animation elements in hero SVG */
.hero-svg-float-1 {
    animation: hero-float-1 7s ease-in-out infinite;
    transform-origin: 26px 86px;
}

.hero-svg-float-2 {
    animation: hero-float-2 8s ease-in-out infinite 0.8s;
    transform-origin: 448px 207px;
}

.hero-svg-float-3 {
    animation: hero-float-3 9s ease-in-out infinite 1.5s;
    transform-origin: 440px 50px;
}

/* Subtle connecting particles */
.hero-svg-particle-1 {
    animation: hero-particle-drift 5s ease-in-out infinite;
}
.hero-svg-particle-2 {
    animation: hero-particle-drift 6s ease-in-out infinite 1s;
}
.hero-svg-particle-3 {
    animation: hero-particle-drift 4.5s ease-in-out infinite 0.5s;
}
.hero-svg-particle-4 {
    animation: hero-particle-drift 5.5s ease-in-out infinite 2s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.4rem var(--space-4);
    background: rgba(var(--color-primary-rgb), 0.12);
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: var(--space-6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

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

.hero h1,
.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--color-text-heading);
    margin-bottom: var(--space-6);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-10);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-buttons a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}


/* === Subpage Hero === */

.hero--sub {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
}

.hero--sub::after {
    display: none;
}

.hero--sub .hero-title,
.hero--sub h1 {
    font-size: var(--text-4xl);
}

/* Subpage hero 2-column layout (text + illustration) */
.hero--sub .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-8);
}

.hero--sub .hero-visual {
    min-height: 200px;
    overflow: visible;
}

.hero--sub .hero-visual .content-illustration {
    margin: 0;
    padding: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.5);
    transform-origin: center center;
}

.hero--sub .hero-visual .content-illustration img {
    width: 100%;
    max-width: none;
    height: auto;
    opacity: 1;
}


/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--color-primary-light);
}

.breadcrumb-sep {
    color: var(--color-text-dim);
}


/* ============================================================
   BUTTONS
   ============================================================ */

/* Base button shared properties */
.btn,
.btn-primary,
.btn-outline,
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}

.btn svg,
.btn-primary svg,
.btn-outline svg,
.btn-white svg {
    width: 18px;
    height: 18px;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: #fff;
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--color-text-heading);
    border-color: var(--color-border-light);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    background: rgba(var(--color-primary-rgb), 0.08);
}

/* White Button */
.btn-white {
    background: #fff;
    color: var(--color-bg);
    border-color: #fff;
    font-weight: 700;
}

.btn-white:hover {
    background: var(--gray-100);
    border-color: var(--gray-100);
    color: var(--color-bg);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Size Modifiers */
.btn-sm {
    padding: var(--space-2) var(--space-5);
    font-size: 0.85rem;
    border-radius: var(--radius-md);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
}

/* Icon Button */
.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* Ghost button for CTA pairings */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}


/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}

.trust-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    justify-content: center;
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(var(--color-primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary-light);
}

.trust-text {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-heading);
}


/* ============================================================
   SECTIONS
   ============================================================ */

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section--alt {
    padding: var(--space-24) 0;
    background: var(--color-bg-alt);
}

.section--surface {
    background: var(--gray-900);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-header h2,
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: var(--space-4);
    letter-spacing: -0.01em;
}

.section-header p,
.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}


/* ============================================================
   INTRO CONTENT
   ============================================================ */

.intro-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: var(--space-5);
    line-height: 1.7;
}

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


/* === Content Illustration (decorative SVGs) === */

.content-illustration {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.content-illustration img {
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
    opacity: 0.85;
    filter: drop-shadow(0 4px 20px rgba(var(--color-primary-rgb), 0.1));
}


/* ============================================================
   BENTO GRID — with Glassmorphism
   ============================================================ */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-6);
}

.bento-card {
    grid-column: span 2;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

/* Last 2 cards in a 5-item grid: span 3 each to fill the row */
.bento-card:nth-last-child(2):nth-child(4),
.bento-card:last-child:nth-child(5) {
    grid-column: span 3;
}

/* Glassmorphism shimmer overlay on hover */
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-shine);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.bento-card:hover {
    border-color: rgba(var(--color-primary-rgb), 0.4);
    box-shadow: 0 0 24px rgba(var(--color-primary-rgb), 0.12), var(--shadow-lg);
    transform: translateY(-3px);
}

.bento-card:hover::before {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

.bento-card > * {
    position: relative;
    z-index: 1;
}

/* .bento-card.large kept for compatibility but no longer needed */

.bento-card--tall {
    grid-row: span 2;
}

.bento-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.15), rgba(var(--color-accent-rgb), 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.bento-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary-light);
}

.bento-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: var(--space-2);
}

.bento-card p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.bento-card .card-link,
.card-link {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.card-link:hover {
    gap: 0.6rem;
    color: var(--color-accent-light);
}

.card-link svg {
    width: 16px;
    height: 16px;
}


/* ============================================================
   SERVICE CARDS
   ============================================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-card {
    padding: var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Glass overlay effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    border-color: rgba(var(--color-primary-rgb), 0.3);
    box-shadow: var(--shadow-glow-sm), var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-primary-rgb), 0.15);
    border-radius: var(--radius-lg);
    color: var(--color-primary-light);
    margin-bottom: var(--space-5);
}

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

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-5);
    flex-grow: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-light);
    text-decoration: none;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-card-link:hover {
    gap: var(--space-3);
    color: var(--color-accent-light);
}

.service-card-link svg {
    width: 16px;
    height: 16px;
}


/* ============================================================
   BENEFITS — with Glass Overlay
   ============================================================ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.benefit-card {
    padding: var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

/* Glass overlay effect */
.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.benefit-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.benefit-card h3 svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.benefit-card p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}


/* ============================================================
   PROCESS STEPS — Single Circle, Connecting Line
   ============================================================ */

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
}

/* Connecting line between steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: linear-gradient(90deg,
        var(--color-primary),
        var(--color-accent),
        var(--color-primary)
    );
    background-size: 200% 100%;
    animation: gradient-shift 4s ease infinite;
    z-index: 0;
    opacity: 0.4;
}

.process-step {
    text-align: center;
    position: relative;
}

/* Single circle — NO double rings */
.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 auto var(--space-5);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.3);
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: var(--space-2);
}

.process-step p {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}


/* ============================================================
   STATS — Glass Containers + Gradient Shimmer
   ============================================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    text-align: center;
}

.stat {
    text-align: center;
    padding: var(--space-6);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.stat:hover {
    border-color: rgba(var(--color-primary-rgb), 0.3);
    transform: translateY(-2px);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-2);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}


/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item.active {
    border-color: rgba(var(--color-primary-rgb), 0.4);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-5) var(--space-6);
    text-align: left;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-heading);
    background: var(--color-bg-card);
    border: none;
    cursor: pointer;
    font-family: inherit;
    gap: var(--space-4);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-bg-card-hover);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.92rem;
}

.faq-answer-inner p {
    margin-bottom: var(--space-3);
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   CTA SECTION — Elaborate with Glass & Animated Orbs
   ============================================================ */

.cta-section {
    padding: var(--space-28) 0;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-accent-dark));
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Gradient mesh overlay */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(var(--color-accent-rgb), 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(var(--color-primary-rgb), 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Floating orb effect */
.cta-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

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

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

/* Glass container effect */
.cta-section .container::before {
    content: '';
    position: absolute;
    inset: -2rem -3rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
    pointer-events: none;
}

/* Decorative grid dots pattern */
.cta-section .container::after {
    content: '';
    position: absolute;
    top: -1rem;
    right: -2rem;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: var(--space-5);
    color: #fff;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-section .hero-buttons,
.cta-section .cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.cta-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-glass {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-2) var(--space-5);
    border-radius: 2rem;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cta-badge svg {
    width: 18px;
    height: 18px;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--text-sm);
    font-weight: 500;
}

.cta-trust span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.cta-trust svg {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 600;
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: background var(--transition-fast), border-color var(--transition-fast);
    cursor: pointer;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn-outline-white svg {
    width: 18px;
    height: 18px;
}


/* ============================================================
   FORMS
   ============================================================ */

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-dim);
}

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

/* Checkbox in contact form */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}

.form-checkbox a {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* Form Messages */
.form-message {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-top: var(--space-4);
}

.form-message--success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message--error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Honeypot */
.form-field-honeypot,
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}


/* ============================================================
   CONTACT GRID
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-primary-rgb), 0.15);
    border-radius: var(--radius-lg);
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
}

.contact-info-value {
    font-weight: 600;
}

.contact-info-value a {
    color: var(--color-text);
    text-decoration: none;
}

.contact-info-value a:hover {
    color: var(--color-primary-light);
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    position: relative;
    background: var(--color-bg-alt);
}

/* Decorative gradient line at top */
.footer-glow {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--color-primary-rgb), 0.4), rgba(var(--color-accent-rgb), 0.3), transparent);
}

/* 4-column footer layout */
.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: var(--space-14);
    padding: var(--space-16) 0 var(--space-12);
}

/* Footer brand column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.6;
}

/* Footer social buttons row */
.footer-social {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-primary-rgb), 0.1);
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.footer-social-btn:hover {
    background: rgba(var(--color-primary-rgb), 0.2);
    color: var(--color-primary-light);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.footer-social-btn svg {
    width: 16px;
    height: 16px;
}

/* Footer navigation columns */
.footer-nav-col {
    display: flex;
    flex-direction: column;
}

/* Footer contact list */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

/* Footer contact items */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary-light);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-contact-item a,
.footer-contact-item span {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--color-primary-light);
}

/* Footer headings — uses h3 tags */
.footer h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    padding: var(--space-1) 0;
    display: inline-block;
    transition: color var(--transition-fast);
}

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

/* Footer form */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-form .form-group {
    margin-bottom: 0;
}

.footer-form input:not([type="checkbox"]),
.footer-form textarea {
    width: 100%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius-lg) - 4px);
    padding: 0.6rem 0.875rem;
    color: var(--color-text);
    font-size: 0.85rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.footer-form input:not([type="checkbox"]):focus,
.footer-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.footer-form input:not([type="checkbox"])::placeholder,
.footer-form textarea::placeholder {
    color: var(--color-text-dim);
}

.footer-form textarea {
    resize: vertical;
    min-height: 70px;
}

/* Footer form-privacy — checkbox with wrapping label */
.footer-form .form-privacy,
.form-privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.footer-form .form-privacy input[type="checkbox"],
.form-privacy-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 0.2rem;
    accent-color: var(--color-primary);
    flex-shrink: 0;
    cursor: pointer;
}

.footer-form .form-privacy label,
.form-privacy-label span {
    flex: 1;
    line-height: 1.4;
}

.footer-form .form-privacy a,
.form-privacy-label a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Footer form submit button */
.footer-form button[type="submit"] {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border: none;
    padding: 0.6rem var(--space-6);
    border-radius: calc(var(--radius-lg) - 4px);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.footer-form button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    box-shadow: var(--shadow-glow-sm);
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding: var(--space-8) 0;
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.footer-bottom-links a,
.footer-bottom-links button {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color var(--transition-fast);
    padding: 0;
}

.footer-bottom-links a:hover,
.footer-bottom-links button:hover {
    color: var(--color-primary-light);
}

/* Footer credit */
.footer-credit {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-align: center;
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.08);
}

.footer-credit a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-credit a:hover {
    color: var(--color-primary-light);
}


/* ============================================================
   COOKIE BANNER — 3-category toggle switches
   ============================================================ */

/* Cookie banner - full screen centered on mobile, bottom bar on desktop */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(18, 18, 26, 0.97);
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
}

.cookie-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.cookie-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--color-primary-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-header-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary-light);
}

.cookie-header-text strong {
    display: block;
    color: #fafafa;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.cookie-header-text p {
    color: #a1a1aa;
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0;
}

.cookie-header-text a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-header-text a:hover {
    color: var(--color-accent-light);
}

/* Cookie option rows with toggle switches */
.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: background 150ms ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cookie-option-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}

.cookie-option-info strong {
    color: #e4e4e7;
    font-size: 0.88rem;
    font-weight: 600;
}

.cookie-option-info span {
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Custom toggle switch */
.cookie-toggle {
    position: relative;
    flex-shrink: 0;
}

.cookie-toggle input {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 24px;
    background: #3f3f46;
    border-radius: 12px;
    cursor: pointer;
    transition: background 200ms ease;
    position: relative;
    border: none;
    outline: none;
}

.cookie-toggle input::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 200ms ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cookie-toggle input:checked {
    background: var(--color-primary);
}

.cookie-toggle input:checked::before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled {
    opacity: 0.7;
    cursor: default;
}

.cookie-toggle input:disabled:checked {
    background: var(--color-primary-dark);
    opacity: 0.8;
}

.cookie-toggle-slider {
    display: none;
}

/* Cookie action buttons */
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-actions-secondary {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.cookie-btn {
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
    white-space: nowrap;
    border: none;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn--reject {
    background: rgba(255, 255, 255, 0.06);
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn--reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
}

.cookie-btn--save {
    background: rgba(255, 255, 255, 0.06);
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn--save:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
}

.cookie-btn--accept {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    flex-shrink: 0;
}

.cookie-btn--accept:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    box-shadow: 0 0 16px rgba(var(--color-primary-rgb), 0.4);
}


/* ============================================================
   FLOATING BUTTONS
   ============================================================ */

.floating-buttons {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    z-index: 900;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* WhatsApp */
.floating-whatsapp {
    background: #25d366;
    color: #fff;
}

.floating-whatsapp svg {
    width: 26px;
    height: 26px;
}

.floating-whatsapp:hover {
    color: #fff;
    box-shadow: 0 0 24px rgba(37, 211, 102, 0.5);
}

/* Phone */
.floating-phone {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
}

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

.floating-phone:hover {
    color: #fff;
    box-shadow: 0 0 24px rgba(var(--color-primary-rgb), 0.5);
}

/* Scroll to Top */
.floating-top {
    background: var(--color-bg-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-fast), background var(--transition-fast);
}

.floating-top.visible {
    opacity: 1;
    visibility: visible;
}

.floating-top:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.floating-top svg {
    width: 20px;
    height: 20px;
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays via data-delay attribute */
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"] { transition-delay: 400ms; }
.reveal[data-delay="5"] { transition-delay: 500ms; }
.reveal[data-delay="6"] { transition-delay: 600ms; }

/* Stagger via nth-child for grids */
.bento-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.bento-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.bento-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.bento-grid .reveal:nth-child(4) { transition-delay: 240ms; }
.bento-grid .reveal:nth-child(5) { transition-delay: 320ms; }
.bento-grid .reveal:nth-child(6) { transition-delay: 400ms; }

.benefits-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.benefits-grid .reveal:nth-child(2) { transition-delay: 100ms; }
.benefits-grid .reveal:nth-child(3) { transition-delay: 200ms; }
.benefits-grid .reveal:nth-child(4) { transition-delay: 300ms; }

.process-steps .reveal:nth-child(1) { transition-delay: 0ms; }
.process-steps .reveal:nth-child(2) { transition-delay: 150ms; }
.process-steps .reveal:nth-child(3) { transition-delay: 300ms; }
.process-steps .reveal:nth-child(4) { transition-delay: 450ms; }

.stats-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.stats-grid .reveal:nth-child(2) { transition-delay: 100ms; }
.stats-grid .reveal:nth-child(3) { transition-delay: 200ms; }
.stats-grid .reveal:nth-child(4) { transition-delay: 300ms; }

/* Directional reveals */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}


/* ============================================================
   REGION CARDS
   ============================================================ */

.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.region-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--color-text);
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
    text-decoration: none;
}

.region-card:hover {
    border-color: rgba(var(--color-primary-rgb), 0.3);
    background: var(--glass-bg-strong);
    color: var(--color-text);
    transform: translateY(-2px);
}

.region-card svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary-light);
    flex-shrink: 0;
}


/* ============================================================
   TEAM CARD
   ============================================================ */

.team-card {
    display: flex;
    gap: var(--space-8);
    padding: var(--space-8);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    align-items: start;
}

.team-card-info { flex: 1; }
.team-card h3 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.team-card-role { color: var(--color-primary-light); font-weight: 600; margin-bottom: var(--space-4); }
.team-card p { color: var(--color-text-muted); line-height: 1.7; }


/* ============================================================
   CONTENT SECTIONS (Service/Region sub-pages)
   ============================================================ */

/* Section-level content-section (ueber-mich, kontakt) — simple wrapper */
section.content-section {
    padding: var(--space-16) 0;
}

/* Legal pages */
.legal-section {
    padding: var(--space-16) 0;
}

.legal-section h2 {
    margin-bottom: var(--space-6);
}

.legal-section p,
.legal-section li {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.legal-section p {
    margin-bottom: var(--space-4);
}

/* Div-level content-section — glass card with accent */
div.content-section {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Decorative accent bar on left */
div.content-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: var(--space-8);
    bottom: var(--space-8);
    width: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Subtle corner glow */
div.content-section::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(var(--color-primary-rgb), 0.08), transparent 70%);
    border-radius: 0 var(--radius-xl) 0 0;
    pointer-events: none;
}

.content-section h2 {
    margin-bottom: var(--space-6);
    font-size: var(--text-3xl);
}

/* Lead paragraph — first <p> gets larger treatment */
div.content-section > p:first-of-type,
div.content-section > .reveal > p:first-of-type {
    font-size: var(--text-lg);
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.content-section p {
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-4);
}

.content-section p:last-of-type {
    margin-bottom: 0;
}

.content-section ul {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.content-section li {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-3);
    position: relative;
    list-style: none;
    padding-left: var(--space-2);
}

.content-section li::before {
    content: '';
    position: absolute;
    left: calc(var(--space-6) * -1 + var(--space-1));
    top: 0.6em;
    width: 7px;
    height: 7px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(var(--color-primary-rgb), 0.3);
}

/* Content sub-components */
.content-text {
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 800px;
}

.content-text p {
    margin-bottom: var(--space-4);
}

.content-list {
    list-style: none;
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.content-list li {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-2);
    position: relative;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: calc(var(--space-6) * -1 + var(--space-1));
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}


/* ============================================================
   CTA BOX (Inline)
   ============================================================ */

.cta-box {
    padding: var(--space-12);
    background: var(--gradient-card);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle glass sheen */
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.cta-box h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.cta-box p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   ERROR PAGE
   ============================================================ */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-8);
}

.error-code {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
}

.error-page h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.error-page p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}


/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-20px, -15px);
    }
    66% {
        transform: translate(10px, -25px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 4px currentColor;
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 12px currentColor;
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(var(--color-primary-rgb), 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.5);
    }
}

@keyframes border-glow {
    0%, 100% {
        border-color: rgba(var(--color-primary-rgb), 0.2);
    }
    50% {
        border-color: rgba(var(--color-primary-rgb), 0.5);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -20px) rotate(1deg);
    }
    50% {
        transform: translate(-5px, -35px) rotate(-1deg);
    }
    75% {
        transform: translate(-15px, -15px) rotate(0.5deg);
    }
}

@keyframes line-fill {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes hero-grid-drift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 32px 32px;
    }
}

@keyframes hero-float-1 {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.85;
    }
    25% {
        transform: translateY(-8px) translateX(3px) scale(1.03);
        opacity: 1;
    }
    50% {
        transform: translateY(-14px) translateX(-2px) scale(1);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-6px) translateX(4px) scale(0.98);
        opacity: 0.95;
    }
}

@keyframes hero-float-2 {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.8;
    }
    20% {
        transform: translateY(-6px) translateX(-4px) scale(1.02);
        opacity: 1;
    }
    50% {
        transform: translateY(-12px) translateX(5px) scale(1);
        opacity: 0.85;
    }
    80% {
        transform: translateY(-4px) translateX(-3px) scale(0.97);
        opacity: 0.95;
    }
}

@keyframes hero-float-3 {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.85;
    }
    30% {
        transform: translateY(-10px) rotate(3deg) scale(1.04);
        opacity: 1;
    }
    60% {
        transform: translateY(-6px) rotate(-2deg) scale(0.98);
        opacity: 0.88;
    }
    80% {
        transform: translateY(-12px) rotate(1deg) scale(1.02);
        opacity: 0.95;
    }
}

@keyframes hero-particle-drift {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    25% {
        transform: translate(3px, -4px);
        opacity: 0.6;
    }
    50% {
        transform: translate(-2px, -6px);
        opacity: 0.2;
    }
    75% {
        transform: translate(4px, -2px);
        opacity: 0.5;
    }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
    .header,
    .footer,
    .nav,
    .hamburger,
    .cookie-banner,
    .floating-buttons,
    .floating-btn,
    .trust-bar,
    .cta-section,
    .skip-link {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
    }

    .hero-title,
    .hero h1,
    .text-gradient,
    .stat-number,
    .highlight {
        -webkit-text-fill-color: #000;
        background: none;
        color: #000;
    }

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

    .section,
    .section--alt {
        padding: var(--space-8) 0;
    }

    .bento-card,
    .benefit-card,
    .service-card,
    .stat,
    .faq-item {
        border-color: #ccc;
        background: transparent;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

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

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }

    .stat-number {
        animation: none;
    }

    .hero-canvas {
        display: none;
    }
}


/* ============================================================
   RESPONSIVE — 1440px (Wide Desktop)
   ============================================================ */

@media (max-width: 1440px) {
    .bento-grid {
        gap: var(--space-5);
    }

    .footer-top {
        gap: var(--space-10);
    }
}


/* ============================================================
   RESPONSIVE — 1024px (Desktop / Small Laptop)
   ============================================================ */

@media (max-width: 1024px) {
    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Mobile nav: full-screen overlay with scroll */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: calc(var(--header-height) + var(--space-6)) var(--space-6) var(--space-10);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-normal), visibility var(--transition-normal);
        z-index: 999;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile nav links — large touch targets */
    .nav > a {
        font-size: 1.15rem;
        font-weight: 600;
        padding: var(--space-4) var(--space-4);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0;
        color: var(--color-text-heading);
        text-align: left;
    }

    .nav > a:hover,
    .nav > a.active {
        background: rgba(124, 58, 237, 0.08);
    }

    .nav > a.btn-primary {
        margin-top: var(--space-6);
        text-align: center;
        border-bottom: none;
        border-radius: var(--radius-lg);
    }

    /* Dropdown in mobile nav */
    .nav-dropdown {
        position: static;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-dropdown > button {
        width: 100%;
        font-size: 1.15rem;
        font-weight: 600;
        padding: var(--space-4) var(--space-4);
        justify-content: space-between;
        color: var(--color-text-heading);
        border-radius: 0;
        text-align: left;
    }

    .nav-dropdown > button:hover {
        background: rgba(124, 58, 237, 0.08);
    }

    .nav-dropdown > button svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        border-radius: var(--radius-md);
        box-shadow: none;
        padding: var(--space-2) var(--space-3) var(--space-4);
        opacity: 1;
        visibility: visible;
        display: none;
        min-width: auto;
        margin: 0 var(--space-2) var(--space-2);
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-1);
    }

    .nav-dropdown-menu a {
        text-align: center;
        padding: var(--space-3) var(--space-2);
        font-size: var(--text-sm);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
        white-space: normal;
        line-height: 1.3;
    }

    .nav-dropdown-menu a:hover {
        background: rgba(124, 58, 237, 0.12);
        border-color: rgba(124, 58, 237, 0.3);
    }

    /* Layout adjustments */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        grid-column: span 1;
        padding: var(--space-6);
    }

    .bento-card:nth-last-child(2):nth-child(4),
    .bento-card:last-child:nth-child(5),
    .bento-card:last-child:nth-child(odd) {
        grid-column: span 1;
    }

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

    /* Hide connecting line on 2-column layout */
    .process-steps::before {
        display: none;
    }

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

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }

    /* Hero grid single column at tablet/small laptop */
    .hero-grid,
    .hero--sub .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .hero-visual,
    .hero--sub .hero-visual {
        display: none;
    }

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

    /* CTA section smaller padding */
    .cta-section {
        padding: var(--space-20) 0;
    }

    .cta-section .container::before {
        inset: -1.5rem -1.5rem;
    }

    .cta-section .container::after {
        display: none;
    }
}


/* ============================================================
   RESPONSIVE — 768px (Tablet)
   ============================================================ */

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
    }

    .hero h1,
    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        max-width: none;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a,
    .hero-buttons .btn,
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }

    /* Trust bar 2 columns */
    .trust-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Content section glass card — reduce padding on mobile */
    div.content-section {
        padding: var(--space-8) var(--space-6);
    }

    div.content-section::after {
        width: 80px;
        height: 80px;
    }

    /* Single column grids */
    .bento-card {
        padding: var(--space-5);
    }

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

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    /* Footer 2-column on tablet */
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }

    /* Footer links 2-column grid */
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-1) var(--space-3);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Cookie banner stacks */
    .cookie-actions {
        flex-direction: column;
    }

    .cookie-actions-secondary {
        flex-wrap: wrap;
    }

    /* Team card stacks */
    .team-card {
        flex-direction: column;
    }

    /* Section spacing reduction */
    .section,
    .section--alt {
        padding: var(--space-16) 0;
    }

    .section-header {
        margin-bottom: var(--space-12);
    }

    /* CTA section */
    .cta-section {
        padding: var(--space-16) 0;
    }

    .cta-section .container::before {
        inset: -1rem -1rem;
    }

    .cta-section h2 {
        font-size: var(--text-3xl);
    }
}


/* ============================================================
   RESPONSIVE — 480px (Small Mobile)
   ============================================================ */

@media (max-width: 480px) {
    .trust-bar .container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

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

    .hero h1,
    .hero-title {
        font-size: var(--text-3xl);
    }

    .container {
        padding: 0 var(--space-4);
    }

    /* Floating buttons slightly smaller on mobile */
    .floating-btn {
        width: 48px;
        height: 48px;
    }

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

    .floating-phone svg {
        width: 22px;
        height: 22px;
    }

    /* CTA section */
    .cta-section {
        padding: var(--space-12) 0;
    }

    .cta-section .container::before {
        inset: -0.75rem -0.5rem;
        border-radius: var(--radius-xl);
    }

    /* Cookie banner smaller padding */
    .cookie-banner-inner {
        padding: 1.25rem 1rem;
    }

    /* Footer: brand full-width, Leistungen + Regionen nebeneinander, form full-width */
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
        padding-top: var(--space-12);
    }

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

    .footer-nav-col:last-child {
        grid-column: 1 / -1;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
    }
}
