/* ============================================
   CSS Variables & Theme Configuration
   ============================================ */
:root {
    --bg: #000000;
    --fg: #ffffff;
    --muted: #a0a0a0;
    --primary: #9b7fc4;
    --accent: #b89fdb;
    --border: #2a2a2a;
    --card-bg: #0a0a0a;
    --glow: rgba(155, 127, 196, 0.3);

    /* Fluid Typography */
    --step--2: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --step--1: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --step-0: clamp(1rem, 0.95rem + 0.5vw, 1.25rem);
    --step-1: clamp(1.125rem, 1.05rem + 0.7vw, 1.5rem);
    --step-2: clamp(1.5rem, 1.35rem + 1vw, 2rem);
    --step-3: clamp(2rem, 1.8rem + 1.5vw, 2.75rem);
    --step-4: clamp(2.5rem, 2.2rem + 2vw, 3.5rem);
}

[data-theme="light"] {
    --bg: #ffffff;
    --fg: #000000;
    --muted: #666666;
    --card-bg: #fafafa;
    --border: #e0e0e0;
    --primary: #9b7fc4;
    --accent: #b89fdb;
}

/* ============================================
   Base & Reset
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    font-size: var(--step-0);
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Header & Navigation
   ============================================ */
/* ============================================
   ERSETZE KOMPLETT den Header-Bereich (Zeilen 77-200)
   in deiner style.css mit diesem Code!
   ============================================ */

/* ============================================
   Scroll Progress Bar
   ============================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s ease;
    pointer-events: none;
}

/* ============================================
   Header & Navigation
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Container für max-width */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Content - LINKS vs RECHTS Layout */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    width: 100%;
    gap: 2rem;
}

/* ⭐ LOGO LINKS mit Bild */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: 1;
}

.logo img {
    height:50px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.logo:hover img {
    opacity: 0.8;
    transform: scale(1.05);
}

/* ⭐ MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    order: 2;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--fg);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ⭐ NAVIGATION RECHTS */
nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    order: 3;
    margin-left: auto;  /* ⭐ PUSH RECHTS! */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: var(--step--1);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Hover Effekt */
.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Unterstrich Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Aktiver Link */
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

/* ⭐ NAV ACTIONS (Theme + CTA) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0.5rem;
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 40px;
    height: 40px;
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

header.scrolled .theme-toggle {
    background: none;
    border-color: var(--border);
}

.theme-toggle:hover {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--glow);
    transform: rotate(180deg);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo img {
        height: 40px;
    }

    /* Mobile Nav - Full Screen */
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        transform: translateX(100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        overflow-y: auto;
        margin-left: 0;
    }

    nav.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1.3rem;
        display: block;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-actions .btn-primary {
        width: 100%;
        text-align: center;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 35px;
    }

    nav {
        top: 65px;
    }
}

/* ============================================
   Light Theme
   ============================================ */
[data-theme="light"] header {
    background: transparent;
}

[data-theme="light"] header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .logo img {
    filter: brightness(0) invert(0);
}

[data-theme="light"] .nav-links a {
    color: rgba(0, 0, 0, 0.85);
    text-shadow: none;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: var(--primary);
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] header.scrolled .theme-toggle {
    background: none;
    border-color: var(--border);
}

@media (max-width: 968px) {
    [data-theme="light"] nav {
        background: rgba(255, 255, 255, 0.98);
    }
}
/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: var(--step--1);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px var(--glow);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--glow);
}

.btn-secondary {
    background: transparent;
    color: var(--fg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

header.scrolled .btn-secondary {
    border-color: var(--border);
}

.btn-secondary:hover {
    background: rgba(155, 127, 196, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--glow);
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../images/madison-kuhn-Z7d-ozrWiQA-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease-out;
    height: 30vh;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: var(--step-4);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero h1 .highlight {
    color: var(--primary);
    text-shadow: 0 0 20px var(--glow), 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: var(--step-1);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--glow)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

/* ============================================
   Sections
   ============================================ */
section {
    padding: 8rem 0;
    position: relative;
}

.section-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: var(--step-3);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--glow);
}

.section-header p {
    font-size: var(--step-0);
    color: var(--muted);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* ============================================
   Trust Logos
   ============================================ */
.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 3rem 0;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.trust-logos:hover {
    opacity: 0.7;
}

.trust-logo {
    width: 120px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--step--1);
    color: var(--muted);
    font-weight: 600;
    transition: all 0.3s ease;
}

.trust-logo:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--glow);
    transform: translateY(-5px);
}

/* ============================================
   Service Cards
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--primary));
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.5;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(155, 127, 196, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--glow));
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px var(--glow));
}

.service-card h3 {
    font-size: var(--step-1);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card .benefit {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: var(--step--1);
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    font-size: var(--step--1);
    color: var(--muted);
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover li {
    color: var(--fg);
}

.service-card:hover li::before {
    transform: translateX(5px);
    filter: drop-shadow(0 0 5px var(--glow));
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    transform: translateX(50px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 60px;
    bottom: -3rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    box-shadow: 0 0 8px var(--glow);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--step-1);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 25px var(--glow);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-number {
    transform: scale(1.15);
    box-shadow: 0 0 35px var(--glow);
}

.timeline-content h3 {
    font-size: var(--step-1);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-duration {
    color: var(--muted);
    font-size: var(--step--1);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: width 1s ease;
    box-shadow: 0 0 8px var(--glow);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ============================================
   Case Cards
   ============================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.case-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(155, 127, 196, 0.08), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.case-card:hover::after {
    width: 500px;
    height: 500px;
}

.case-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(155, 127, 196, 0.2);
    border-color: var(--primary);
}

.case-metric {
    font-size: var(--step-3);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--glow);
    transition: all 0.3s ease;
}

.case-card:hover .case-metric {
    transform: scale(1.1);
    text-shadow: 0 0 25px var(--glow);
}

.case-card h3 {
    font-size: var(--step-1);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.case-card p {
    color: var(--muted);
    font-size: var(--step--1);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.case-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--muted);
    text-decoration: none;
    font-size: var(--step--1);
    pointer-events: none;
    opacity: 0.5;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 200px 1fr;
    }
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--step-2);
    color: var(--muted);
    margin: 0 auto;
    box-shadow: 0 0 30px var(--glow);
    transition: all 0.4s ease;
}

.about-image:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 45px var(--glow);
}

.about-text h3 {
    font-size: var(--step-2);
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-values {
    list-style: none;
    margin: 2rem 0;
}

.about-values li {
    padding: 0.75rem 0;
    color: var(--muted);
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.about-values li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2em;
    filter: drop-shadow(0 0 5px var(--glow));
}

.about-values li:hover {
    color: var(--fg);
    padding-left: 2.5rem;
}

.about-cta {
    margin-top: 1.5rem;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.contact-form:hover {
    box-shadow: 0 10px 60px rgba(155, 127, 196, 0.15);
    border-color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: var(--step--1);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--bg);
    color: var(--fg);
    font-family: inherit;
    font-size: var(--step--1);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--glow);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--primary);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-message {
    color: var(--primary);
    font-size: var(--step--2);
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: var(--step--2);
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-alternative {
    text-align: center;
    color: var(--muted);
    font-size: var(--step--1);
}

.contact-alternative a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-alternative a:hover {
    text-shadow: 0 0 10px var(--glow);
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--primary);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 0 25px var(--glow);
    z-index: 1000;
    display: none;
    min-width: 300px;
}

.toast.show {
    display: block;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--primary);
    box-shadow: 0 -2px 15px var(--glow);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: var(--step-0);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--muted);
    text-decoration: none;
    font-size: var(--step--1);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--fg);
    text-shadow: 0 0 8px var(--glow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: var(--step--2);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .header-content {
        padding: 1.25rem 1.5rem;
    }

    nav {
        gap: 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: var(--step-3);
    }

    .hero-subtitle {
        font-size: var(--step-0);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    section {
        padding: 4rem 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .timeline-item::before {
        display: none;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 479px) {
    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FINAL FIX - Logo LINKS, Nav RECHTS an die Kanten!
   Füge ANS ENDE von style.css ein!
   ============================================ */

/* Container im Header auf volle Breite */
header .container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 2rem !important;
}

/* Header Content - Logo links raus, Nav rechts raus */
.header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 1rem 0 !important;
    gap: 2rem !important;
}

/* Logo komplett links */
.logo {
    order: 1 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
}

.logo img {
    height: 70px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    order: 2 !important;
}

/* Nav komplett rechts */
nav {
    order: 3 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 3rem !important;
}

.nav-links {
    display: flex !important;
    gap: 2.5rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    font-size: var(--step--1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.nav-links a:hover {
    color: var(--primary) !important;
    transform: translateY(-2px) !important;
}

.nav-links a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0% !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--primary), var(--accent)) !important;
    transition: width 0.3s ease !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100% !important;
}

.nav-links a.active {
    color: var(--primary) !important;
}

.nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

/* Header schwarz beim Scrollen */
header.scrolled {
    background: rgba(0, 0, 0, 0.95);   /* ← Schwarz! */
    backdrop-filter: blur(30px);        /* ← Blur! */
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10000; /* Über Header */
    transition: width 0.1s ease;
    pointer-events: none;
}


/* Mobile */
@media (max-width: 968px) {
    header .container {
        padding: 0 1.5rem !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    nav {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.98) !important;
        flex-direction: column !important;
        padding: 2rem !important;
        transform: translateX(100%) !important;
        margin-left: 0 !important;
    }

    nav.active {
        transform: translateX(0) !important;
    }

    .nav-links {
        flex-direction: column !important;
        width: 100% !important;
    }

    .nav-links li {
        width: 100% !important;
        text-align: center !important;
        padding: 1.5rem 0 !important;
    }
}



/* TEST */
.hero h1 {
    background: linear-gradient(
            90deg,
            var(--primary) 0%,
            var(--accent) 25%,
            #fff 50%,
            var(--accent) 75%,
            var(--primary) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    margin-bottom: 1rem;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Optional: Glowing border around hero content */
.hero-content {
    position: relative;
    padding: 3rem;
    border-radius: 2rem;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
            45deg,
            var(--primary),
            var(--accent),
            var(--primary)
    );
    background-size: 400% 400%;
    border-radius: 2rem;
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
    animation: gradientRotate 8s ease infinite;
}

@keyframes gradientRotate {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Optional: Typing effect for subtitle */
.hero-subtitle {
    overflow: hidden;
    border-right: 3px solid var(--primary);
    white-space: nowrap;
    animation: typing 3s steps(30) 1s forwards, blink 0.75s step-end infinite;
    max-width: 0;
}

@keyframes typing {
    from {
        max-width: 0;
    }
    to {
        max-width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Hover effect on hero content */
.hero-content {
    transition: transform 0.3s ease;
}

.hero:hover .hero-content {
    transform: translateY(-5px);
}


#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    background: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
}
.hero-content::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 130%;
    height: 130%;
    );
    z-index: -1;
    pointer-events: none;
    filter: blur(120px);
}


.hero {
    position: relative;
    cursor: pointer;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 127, 196, 0.5) 0%, transparent 70%);
    transform: scale(0);
    animation: rippleEffect 1.5s ease-out;
    pointer-events: none;
    z-index: 10;
}

@keyframes rippleEffect {
    to {
        transform: scale(5);
        opacity: 0;
    }
}







