/* ========================================
   Enztal-Energie - CSS Styles
   Premium B2B Design
   ======================================== */

/* ========================================
   Local Font Loading (DSGVO-konform)
   ======================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/inter-v13-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-v13-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/inter-v13-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-v13-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/inter-v13-latin-700.woff2') format('woff2');
}

/* CSS Variables - Premium Design Tokens */
:root {
    /* Colors */
    --color-primary: #2B5AA6;
    --color-primary-dark: #1E4080;
    --color-accent: #F5B800;
    --color-accent-dark: #D9A300;
    --color-dark: #0F172A;
    --color-gray-900: #1E293B;
    --color-gray-700: #334155;
    --color-gray-500: #64748B;
    --color-gray-300: #94A3B8;
    --color-gray-100: #F1F5F9;
    --color-white: #FFFFFF;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-tracking-tight: -0.025em;
    --font-tracking-tighter: -0.04em;
    --font-tracking-normal: -0.011em;

    /* Premium Shadow System */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md:
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.04);
    --shadow-lg:
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 8px 16px rgba(0, 0, 0, 0.04),
        0 16px 32px rgba(0, 0, 0, 0.06);
    --shadow-xl:
        0 4px 8px rgba(0, 0, 0, 0.02),
        0 16px 32px rgba(0, 0, 0, 0.06),
        0 32px 64px rgba(0, 0, 0, 0.08);

    /* Card Shadows */
    --shadow-card:
        0 0 0 1px rgba(0, 0, 0, 0.03),
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 4px 8px rgba(0, 0, 0, 0.02);
    --shadow-card-hover:
        0 0 0 1px rgba(43, 90, 166, 0.08),
        0 4px 8px rgba(0, 0, 0, 0.03),
        0 12px 24px rgba(0, 0, 0, 0.06),
        0 24px 48px rgba(0, 0, 0, 0.06);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: var(--font-tracking-normal);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Premium Button System
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s var(--ease-out-back),
        box-shadow 0.25s ease,
        background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-dark);
    box-shadow:
        0 1px 2px rgba(245, 184, 0, 0.1),
        0 4px 12px rgba(245, 184, 0, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 4px 8px rgba(245, 184, 0, 0.2),
        0 12px 24px rgba(245, 184, 0, 0.25);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 1px 2px rgba(245, 184, 0, 0.1),
        0 2px 6px rgba(245, 184, 0, 0.15);
}

/* Shimmer effect on hover */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background-color: var(--color-gray-100);
    color: var(--color-gray-700);
}

.btn-secondary:hover {
    background-color: var(--color-gray-300);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ========================================
   Premium Typography
   ======================================== */
.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(43, 90, 166, 0.08) 0%, rgba(43, 90, 166, 0.12) 100%);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(43, 90, 166, 0.1);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: var(--font-tracking-tighter);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray-500);
    max-width: 560px;
    margin-bottom: 56px;
    line-height: 1.7;
    letter-spacing: var(--font-tracking-normal);
}

/* ========================================
   Modal Overlay (shared)
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Success Modal
   ======================================== */
.success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--color-white);
    padding: 48px 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    max-width: 420px;
    width: calc(100% - 48px);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s var(--ease-out-back);
}

.success-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: successPop 0.5s var(--ease-out-back);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-modal h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    letter-spacing: var(--font-tracking-tight);
}

.success-modal p {
    font-size: 15px;
    color: var(--color-gray-500);
    line-height: 1.6;
    margin-bottom: 28px;
}

.success-modal .btn {
    min-width: 160px;
}

/* ========================================
   Cookie Banner
   ======================================== */
.cookie-overlay {
    display: none;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 16px 24px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.cookie-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-icon svg {
    width: 18px;
    height: 18px;
    color: var(--color-white);
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-white);
    margin: 0;
}

.cookie-text p a {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text p a:hover {
    color: var(--color-white);
}

.cookie-buttons {
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-white);
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--color-white);
    color: var(--color-primary);
    white-space: nowrap;
}

.btn-cookie:hover {
    background-color: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-700);
    position: relative;
}

.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-menu a:not(.btn):hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(43, 90, 166, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    background-color: rgba(245, 184, 0, 0.15);
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 184, 0, 0.3);
    opacity: 0;
    animation: heroFadeIn 0.6s var(--ease-out-expo) 0.2s forwards;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: var(--font-tracking-tighter);
    opacity: 0;
    animation: heroFadeIn 0.6s var(--ease-out-expo) 0.35s forwards;
}

/* Premium Gradient Text Highlight */
.hero .highlight {
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFD54F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0;
    margin-bottom: 32px;
    line-height: 1.7;
    animation: heroFadeIn 0.6s var(--ease-out-expo) 0.5s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeIn 0.6s var(--ease-out-expo) 0.65s forwards;
}

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

/* ========================================
   Stats Section
   ======================================== */
.stats {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 56px 0;
}

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

.stat-item {
    color: var(--color-white);
    opacity: 0;
    transform: translateY(16px);
    animation: statFadeIn 0.5s var(--ease-out-expo) forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes statFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: var(--font-tracking-tight);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================
   Leistungen Section
   ======================================== */
.leistungen {
    padding: 100px 0;
    background-color: var(--color-white);
}

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

.leistung-card {
    padding: 36px 32px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-card);
    transition:
        transform 0.3s var(--ease-out-back),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
}

.leistung-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(43, 90, 166, 0.12);
}

.leistung-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: transform 0.3s var(--ease-out-back);
}

.leistung-card:hover .leistung-icon {
    transform: scale(1.05);
}

.leistung-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
    letter-spacing: var(--font-tracking-tight);
}

.leistung-card p {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.65;
}

/* ========================================
   Vorteile Section
   ======================================== */
.vorteile {
    padding: 100px 0;
    background-color: var(--color-gray-100);
}

.vorteile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.vorteile-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vorteile-list li {
    display: flex;
    gap: 16px;
}

.vorteil-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-dark);
    border-radius: 50%;
    transition: transform 0.3s var(--ease-out-back);
}

.vorteile-list li:hover .vorteil-icon {
    transform: scale(1.1);
}

.vorteile-list strong {
    display: block;
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 4px;
    letter-spacing: var(--font-tracking-tight);
}

.vorteile-list p {
    font-size: 14px;
    color: var(--color-gray-500);
    margin: 0;
    line-height: 1.6;
}

.vorteile-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform 0.4s var(--ease-out-expo);
}

.vorteile-image:hover {
    transform: scale(1.02);
}

.vorteile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Zielgruppen Section
   ======================================== */
.zielgruppen {
    padding: 100px 0;
    background-color: var(--color-white);
    text-align: center;
}

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

.zielgruppe-card {
    padding: 36px 28px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s var(--ease-out-back),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
}

.zielgruppe-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.zielgruppe-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
    letter-spacing: var(--font-tracking-tight);
    transition: color 0.3s ease;
}

.zielgruppe-card:hover h3 {
    color: var(--color-primary);
}

.zielgruppe-card p {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ========================================
   Referenzen Section
   ======================================== */
.referenzen {
    padding: 100px 0;
    background-color: var(--color-gray-100);
    text-align: center;
}

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

.referenz-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.4s ease;
}

.referenz-card:hover {
    box-shadow: var(--shadow-xl);
}

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

.referenz-card:hover img {
    transform: scale(1.08);
}

.referenz-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.referenz-overlay span {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: var(--font-tracking-tight);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    text-align: center;
    color: var(--color-white);
}

.cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: var(--font-tracking-tighter);
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ========================================
   Kontakt Section
   ======================================== */
.kontakt {
    padding: 100px 0;
    background-color: var(--color-white);
}

.kontakt-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.kontakt-simple {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.kontakt-simple .kontakt-details {
    justify-content: center;
    align-items: center;
}

.kontakt-simple .kontakt-item {
    justify-content: center;
}

.kontakt-info p {
    color: var(--color-gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.kontakt-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kontakt-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-gray-700);
    transition: color 0.3s ease;
}

.kontakt-item:hover {
    color: var(--color-primary);
}

.kontakt-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out-back);
}

.kontakt-item:hover svg {
    transform: scale(1.1);
}

/* Premium Form Container */
.kontakt-form {
    background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F7 100%);
    padding: 48px 44px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.02),
        0 4px 16px rgba(0, 0, 0, 0.04);
}

.form-group {
    margin-bottom: 20px;
}

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

/* Premium Form Labels */
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.form-group:focus-within label {
    color: var(--color-primary);
}

/* Premium Form Inputs */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    font-size: 15px;
    font-family: inherit;
    letter-spacing: var(--font-tracking-normal);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

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

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow:
        0 0 0 3px rgba(43, 90, 166, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.04);
    background-color: var(--color-white);
}

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

/* Premium Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    /* Reset all browser styles */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    /* Fixed size */
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    /* Styling */
    border: 2px solid var(--color-gray-300) !important;
    border-radius: 4px !important;
    background: var(--color-white) !important;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    flex-shrink: 0;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
}

.form-checkbox input[type="checkbox"]:hover {
    border-color: var(--color-primary) !important;
}

.form-checkbox input[type="checkbox"]:checked {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 90, 166, 0.15);
}

.form-checkbox label {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-bottom: 0;
    line-height: 1.6;
    cursor: pointer;
}

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

.form-privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--color-gray-700);
    line-height: 1.5;
    border-left: 3px solid var(--color-primary);
}

.form-privacy-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

.form-message {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.form-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.7;
    max-width: 300px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.5;
}

/* ========================================
   Scroll Animations with Stagger
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s var(--ease-out-expo),
        transform 0.6s var(--ease-out-expo);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
[data-animate-delay="1"] { transition-delay: 0.05s; }
[data-animate-delay="2"] { transition-delay: 0.1s; }
[data-animate-delay="3"] { transition-delay: 0.15s; }
[data-animate-delay="4"] { transition-delay: 0.2s; }

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .stats-grid,
    .leistungen-grid,
    .zielgruppen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vorteile-layout,
    .kontakt-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .vorteile-image {
        order: -1;
    }

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

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a:not(.btn)::after {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .stats-grid,
    .leistungen-grid,
    .zielgruppen-grid,
    .referenzen-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .cookie-banner {
        padding: 16px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .cookie-icon {
        display: none;
    }

    .cookie-text p {
        font-size: 13px;
    }

    .btn-cookie {
        width: 100%;
    }

    .kontakt-form {
        padding: 32px 24px;
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .stat-item,
    .hero-badge,
    .hero h1,
    .hero-subtitle,
    .hero-cta {
        opacity: 1;
        animation: none;
    }
}
