/* ==========================================
   Go-FWD - Feldmann Web Design
   Modern CSS Framework with Animations
========================================== */

/* CSS Variables for consistent theming */
:root,
[data-theme="light"] {
    /* Colors */
    --primary-color: #6366f1;
    --primary-dark: #4338ca;
    --primary-light: #a5b4fc;
    --secondary-color: #f59e0b;
    --accent-color: #06b6d4;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --secondary-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    
    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-max-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Ausgelagerte Contact Benefits im Section Header */
.contact-benefits-header {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.contact-benefits-header .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-benefits-header .benefit-item i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.visible {
    transform: translateY(0);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
}

/* Zentriertes Logo */
.nav-logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.nav-logo-center a {
    display: inline-block;
    line-height: 0;
    transition: var(--transition-fast);
}

.nav-logo-center a:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    cursor: pointer;
}

/* Hamburger Menu links positionieren */
.hamburger {
    order: 1;
    z-index: 20;
}

/* Theme Toggle rechts positionieren */
.nav-controls {
    order: 3;
    z-index: 20;
}

.nav-logo h2 {
    font-size: 1.75rem;
    margin: 0;
}

/* Menu Overlay für dunklen Hintergrund */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Navigation Menu - von links einfahrend */
.nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    height: 100vh;
    width: 300px;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 100px 2rem 2rem;
    list-style: none;
    margin: 0;
    transition: var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.nav-menu.active {
    left: 0;
}

.nav-menu .nav-item {
    margin: 0.5rem 0;
}

.nav-menu .nav-link {
    display: block;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 999;
}

.hamburger:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .hamburger {
    background: rgba(30, 41, 59, 0.3);
    border-color: rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .hamburger:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-secondary);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--accent-primary);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--accent-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-part {
    display: block;
    animation: fadeInUp 1s ease-out backwards;
}

.title-part:nth-child(1) { animation-delay: 0.2s; }
.title-part:nth-child(2) { animation-delay: 0.4s; }
.title-part:nth-child(3) { animation-delay: 0.6s; }

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.hero-image {
    position: relative;
    height: 400px;
    animation: slideInRight 1s ease-out;
}

.floating-card {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
    font-size: 1.8rem;
    animation: digitalFloat 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 20%;
    color: #02569b;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    color: #61dafb;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 40%;
    color: var(--primary-color);
    animation-delay: 2s;
}

.card-4 {
    top: 10%;
    right: 30%;
    color: #3776ab;
    animation-delay: 0.5s;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.card-5 {
    top: 70%;
    right: 40%;
    color: #ff6b35;
    animation-delay: 1.5s;
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
}

.card-6 {
    bottom: 40%;
    left: 10%;
    color: #96bf48;
    animation-delay: 2.5s;
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
}

/* Digital grid background */
.digital-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridShift 20s linear infinite;
    opacity: 0.3;
}

/* Minimalist tech indicators */
.tech-indicator {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: digitalPulse 3s ease-in-out infinite;
}

.indicator-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.indicator-2 {
    top: 60%;
    right: 25%;
    animation-delay: 1s;
}

.indicator-3 {
    bottom: 30%;
    left: 70%;
    animation-delay: 2s;
}

/* Floating particles - minimal digital effect */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    opacity: 0.6;
    animation: digitalParticleFloat 10s linear infinite;
}

.particle-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.particle-2 {
    top: 45%;
    left: 80%;
    animation-delay: 1.2s;
}

.particle-3 {
    top: 75%;
    left: 20%;
    animation-delay: 2.4s;
}

.particle-4 {
    top: 25%;
    right: 10%;
    animation-delay: 3.6s;
}

.particle-5 {
    bottom: 15%;
    right: 30%;
    animation-delay: 4.8s;
}

.particle-6 {
    top: 60%;
    left: 5%;
    animation-delay: 6s;
}

.particle-7 {
    top: 35%;
    left: 95%;
    animation-delay: 7.2s;
}

.particle-8 {
    bottom: 40%;
    left: 70%;
    animation-delay: 8.4s;
}

.particle-9 {
    top: 80%;
    right: 15%;
    animation-delay: 9.6s;
}

.particle-10 {
    top: 10%;
    left: 40%;
    animation-delay: 1.8s;
}

/* Background bubbles for more noise */
.bg-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.05);
    animation: bubbleFloat 15s ease-in-out infinite;
    z-index: 0;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 120px;
    height: 120px;
    top: 70%;
    right: 10%;
    animation-delay: 2s;
}

.bubble-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.bubble-4 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 25%;
    animation-delay: 6s;
}

.bubble-5 {
    width: 40px;
    height: 40px;
    top: 25%;
    left: 60%;
    animation-delay: 1s;
}

.bubble-6 {
    width: 90px;
    height: 90px;
    bottom: 35%;
    right: 45%;
    animation-delay: 3s;
}

.bubble-7 {
    width: 70px;
    height: 70px;
    top: 85%;
    left: 75%;
    animation-delay: 5s;
}

.bubble-8 {
    width: 50px;
    height: 50px;
    top: 50%;
    left: 25%;
    animation-delay: 7s;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

/* Scroll-Indicator auf mobilen Geräten ausblenden */
@media (max-width: 768px) {
    .hero-scroll {
        display: none;
    }
}

/* Services Section */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Premium Service Grid - Option C */
.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ======================
   CUSTOM MOBILE CAROUSEL
   ====================== */

.mobile-carousel {
    position: relative;
    width: 100%;
    padding-bottom: 60px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex-shrink: 0;
}

/* Desktop: Grid-Layout (kein Carousel) */
@media (min-width: 769px) {
    .mobile-carousel {
        padding-bottom: 0;
    }
    
    .carousel-track.services-grid-premium {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        transform: none !important;
    }
    
    .carousel-track.testimonials-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        transform: none !important;
    }
    
    .carousel-btn,
    .carousel-dots {
        display: none !important;
    }
    
    .service-card.carousel-slide,
    .testimonial-card.carousel-slide {
        width: auto !important;
        margin: 0 !important;
    }
}

/* Mobile: Carousel aktiv */
@media (max-width: 768px) {
    .mobile-carousel {
        overflow: hidden;
        padding: 0 0 60px;
        position: relative;
    }
    
    .carousel-track {
        display: flex !important;
        gap: 20px;
        justify-content: flex-start;
        padding: 0;
        grid-template-columns: none !important;
    }
    
    .service-card.carousel-slide,
    .testimonial-card.carousel-slide {
        width: 340px !important;
        max-width: 340px;
        min-width: 340px;
        height: auto;
        flex-shrink: 0;
    }
}

/* Extra kleine Displays */
@media (max-width: 400px) {
    .service-card.carousel-slide,
    .testimonial-card.carousel-slide {
        width: 320px !important;
        max-width: 320px;
        min-width: 320px;
    }
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.4;
}

.carousel-btn:hover {
    background: rgba(99, 102, 241, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.3);
    opacity: 1;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
}

/* Dark Mode */
[data-theme="dark"] .carousel-btn {
    background: rgba(31, 41, 59, 0.15);
    border-color: rgba(99, 102, 241, 0.05);
    opacity: 0.4;
}

[data-theme="dark"] .carousel-btn:hover {
    background: rgba(99, 102, 241, 0.9);
    border-color: var(--primary-color);
    opacity: 1;
}

[data-theme="dark"] .carousel-dot {
    background: rgba(148, 163, 184, 0.3);
}

/* Mobile: Kleinere Buttons */
@media (max-width: 768px) {
    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
}

@media (min-width: 1024px) {
    .services-grid-premium {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.3rem;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Premium Minimalist Featured Card - Option C */
.service-card.featured-premium {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.03) 0%, 
        rgba(139, 92, 246, 0.02) 100%);
    position: relative;
}

.premium-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.premium-indicator i {
    font-size: 0.7rem;
}

.premium-indicator.invisible-placeholder {
    visibility: hidden;
    pointer-events: none;
}

.service-subtitle-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem !important;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    min-height: 3.4em; /* Stellt sicher, dass alle Descriptions die gleiche Höhe haben */
}

.service-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
    min-height: 160px; /* Sichert gleiche Höhe auch wenn unterschiedlich viele Benefits */
}

.service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-benefits li i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

.service-card.featured-premium .btn-primary {
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.service-card.featured-premium .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

.trust-item:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.trust-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-rating i {
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.author-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.author-info a:hover {
    text-decoration: underline;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, 
        #f9fafb 0%, 
        #ffffff 50%, 
        #f0f4f8 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at top right,
        rgba(99, 102, 241, 0.03) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    line-height: 1.1;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.5rem;
}

.about-visual {
    position: relative;
    height: auto;
    min-height: 400px;
}

.tech-stack {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
}

.stack-header {
    text-align: center;
    margin-bottom: 2rem;
}

.stack-header h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.stack-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.company-showcase {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.showcase-header {
    text-align: center;
    margin-bottom: 2rem;
}

.showcase-header h4 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.company-features {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.location-card::before { background: linear-gradient(135deg, #10b981, #059669); }
.philosophy-card::before { background: linear-gradient(135deg, #f59e0b, #d97706); }
.approach-card::before { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.location-card .feature-icon { color: #10b981; }
.philosophy-card .feature-icon { color: #f59e0b; }
.approach-card .feature-icon { color: #8b5cf6; }

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-content h5 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.company-values {
    display: grid;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition-normal);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.value-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.value-text {
    display: flex;
    flex-direction: column;
}

.value-text strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.value-text span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.expertise-highlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.highlight-item i {
    color: var(--accent-color);
    width: 16px;
}

.tech-badge {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    color: var(--text-primary);
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.badge-2 {
    top: 40%;
    right: -10%;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 40%;
    left: -10%;
    animation-delay: 2s;
}

.badge-4 {
    bottom: 20%;
    right: -10%;
    animation-delay: 3s;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    position: relative;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transition: var(--transition-normal);
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Floating CTA Card */
.floating-cta-card {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 1001;
    opacity: 0;
    transform: translateY(100%) translateX(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.floating-cta-card.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
    pointer-events: auto;
    animation: slideInRight 0.8s ease-out;
}

.floating-cta-card.hidden {
    opacity: 0;
    transform: translateY(100%) translateX(100%);
    pointer-events: none;
}

.close-cta {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    background: rgba(107, 114, 128, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.close-cta:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.1);
}

.floating-cta-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-right: 1rem;
}

.floating-cta-content p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.floating-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.floating-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Form Styles */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: transparent;
}

/* Select-spezifische Styles mit Pfeil-Entfernung */
.form-group select {
    width: 100%;
    padding: 1rem;
    padding-right: 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: transparent;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
}

.form-group textarea {
    resize: none;
    min-height: 120px;
    overflow-y: hidden;
    font-family: inherit;
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group label {
    position: absolute;
    left: 0.5rem;
    top: -0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    background: var(--bg-primary);
    padding: 0 0.5rem;
    transition: var(--transition-fast);
    pointer-events: none;
}

/* Label Farbe bei Focus */
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label {
    color: var(--primary-color);
}

/* JavaScript-gesteuerte aktive Label */
.form-group label.active {
    color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0.1rem 0 0 0;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.checkbox-group label {
    position: static;
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.checkbox-group a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Cookie Notice Section */
.cookie-notice-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    padding: 3rem 0;
}

.cookie-notice-banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 2rem;
    border-left: 4px solid var(--primary-color);
}

[data-theme="dark"] .cookie-notice-section {
    background: var(--bg-secondary);
}

[data-theme="dark"] .cookie-notice-banner {
    background: #1e1e2e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cookie-content h3 {
    color: white;
}

[data-theme="dark"] .cookie-content p {
    color: #9ca3af;
}

.cookie-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.cookie-content {
    flex: 1;
}

.cookie-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-size: 1.5rem;
}

.cookie-content p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.cookie-content strong {
    color: var(--primary-color);
}

.cookie-details-link {
    flex-shrink: 0;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-details-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.cookie-details-link i {
    transition: transform 0.3s ease;
}

.cookie-details-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .cookie-notice-section {
        padding: 2rem 1rem;
    }
    
    .cookie-notice-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .cookie-content h3 {
        font-size: 1.25rem;
    }
    
    .cookie-details-link {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 0 1rem;
}

[data-theme="light"] .footer {
    background: var(--bg-light);
    color: var(--text-color);
}

[data-theme="dark"] .footer {
    background: #1a1a2e;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer Logo Styling */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: brightness(0.9);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: white;
}

[data-theme="light"] .footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

.footer-cookie-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.footer-cookie-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.footer-cookie-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
    line-height: 1.5;
}

.footer-cookie-card .cookie-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-cookie-card .cookie-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

.footer-cookie-card .cookie-link i {
    transition: transform 0.3s ease;
}

.footer-cookie-card .cookie-link:hover i {
    transform: translateX(3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes digitalFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes gridShift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes digitalPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.5);
    }
}

@keyframes digitalParticleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(10px);
        opacity: 0;
    }
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) scale(1.05);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) scale(0.95);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .hero-image {
        height: 300px;
        order: -1;
    }
    
    .floating-card {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(145deg, 
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.98) 100%);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 3rem 1.5rem 2rem;
        gap: 0.5rem;
        z-index: 1001;
        border-top: 1px solid rgba(99, 102, 241, 0.1);
        overflow-y: auto;
    }
    
    /* Dark theme mobile menu */
    [data-theme="dark"] .nav-menu {
        background: linear-gradient(145deg, 
            rgba(30, 41, 59, 0.95) 0%,
            rgba(15, 23, 42, 0.98) 100%);
        border-top: 1px solid rgba(139, 92, 246, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
        transform: translateX(0);
    }
    
    .nav-menu.active .nav-item {
        animation: slideInFromRight 0.5s ease-out forwards;
    }
    
    .nav-menu.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active .nav-item:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active .nav-item:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(6) { animation-delay: 0.35s; }
    
    @keyframes slideInFromRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1.2rem 2rem;
        margin: 0.3rem 0;
        border-radius: 16px;
        font-weight: 500;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.1);
        backdrop-filter: blur(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: var(--text-primary);
        text-decoration: none;
        position: relative;
        overflow: hidden;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(99, 102, 241, 0.1), 
            transparent);
        transition: left 0.5s;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: rgba(99, 102, 241, 0.1);
        border-color: var(--accent-primary);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
        color: var(--accent-primary);
    }
    
    .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-link:active {
        transform: translateY(0);
    }
    
    /* Dark theme nav links */
    [data-theme="dark"] .nav-link {
        background: rgba(30, 41, 59, 0.3);
        border-color: rgba(139, 92, 246, 0.2);
    }
    
    [data-theme="dark"] .nav-link:hover {
        background: rgba(139, 92, 246, 0.15);
        border-color: var(--accent-secondary);
        color: var(--accent-secondary);
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    }
    
    .nav-controls {
        gap: 0.75rem;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .hamburger {
        display: flex;
    }
    

    
    /* Hero Section Mobile */
    .hero {
        min-height: 90vh;
        padding-top: 80px;
        background: linear-gradient(135deg, 
            var(--bg-primary) 0%, 
            var(--bg-secondary) 50%, 
            rgba(99, 102, 241, 0.05) 100%);
    }
    
    .hero::before {
        background: radial-gradient(
            ellipse at center,
            rgba(99, 102, 241, 0.15) 0%,
            rgba(99, 102, 241, 0.05) 40%,
            transparent 70%
        );
        animation: float 8s ease-in-out infinite;
    }
    
    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            45deg,
            rgba(99, 102, 241, 0.02) 0%,
            transparent 50%,
            rgba(139, 92, 246, 0.02) 100%
        );
        pointer-events: none;
        z-index: 1;
    }
    
    .hero-container {
        gap: 2rem;
        padding: 0 1rem;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        max-width: 320px;
        margin: 0 auto;
        min-height: 48px; /* Touch-friendly minimum */
        border-radius: 12px;
    }
    
    .hero-image {
        height: 250px;
        margin-top: 1rem;
    }
    
    .floating-card {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .card-4, .card-5, .card-6 {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Enhanced mobile effects */
    .digital-grid {
        opacity: 0.2;
        background-size: 40px 40px;
        background-image: 
            linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    }
    
    .tech-indicator {
        width: 8px;
        height: 8px;
        opacity: 0.6;
    }
    
    .particle {
        width: 4px;
        height: 4px;
        opacity: 0.4;
    }
    
    /* Mobile Bubble Animations */
    .bg-bubble {
        display: block;
        opacity: 0.3;
    }
    
    .bubble-1, .bubble-3, .bubble-5, .bubble-7 {
        width: 30px;
        height: 30px;
        opacity: 0.2;
    }
    
    .bubble-2, .bubble-4, .bubble-6, .bubble-8 {
        width: 45px;
        height: 45px;
        opacity: 0.15;
    }
    
    /* Services Section Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-top: 2rem;
    }
    
    .trust-item {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* About Section Mobile */
    .about-content {
        gap: 2rem;
        text-align: center;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tech-badge {
        position: relative;
        display: inline-block;
        margin: 0.5rem 0.25rem;
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }
    
    .about-visual {
        height: auto;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .company-showcase {
        padding: 1.5rem;
    }
    
    .showcase-header h4 {
        font-size: 1.2rem;
    }
    
    .company-features {
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        margin: 0 auto 1rem;
    }
    
    .company-values {
        gap: 0.75rem;
    }
    
    .value-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .value-icon {
        margin: 0 auto;
    }
    
    .stack-header h4 {
        font-size: 1.3rem;
    }
    
    /* Contact Section Mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact Info auf Mobile ausblenden */
    .contact-info {
        display: none;
    }

    .contact-item {
        padding: 1.25rem;
        flex-direction: row;
        align-items: center;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Floating CTA Mobile */
    .floating-cta-card {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        padding: 1.25rem;
    }
    
    .floating-cta-content h3 {
        font-size: 1rem;
    }
    
    .floating-cta-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .floating-cta-button {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .contact-cta h3 {
        font-size: 1.1rem;
    }
    
    .benefit-item {
        font-size: 0.85rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem 0.875rem;
    }
    
    .checkbox-group {
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom {
        text-align: center;
        font-size: 0.875rem;
        padding-top: 1.5rem;
    }
    
    /* Back to top button */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2.5rem 0;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    /* Typography Mobile */
    h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
    h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    h3 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
    
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }
    
    /* Benefits Extra Small */
    .contact-benefits-header {
        padding: 1rem;
        margin-top: 1.25rem;
        gap: 0.75rem;
    }
    
    .contact-benefits-header .benefit-item {
        font-size: 0.8rem;
    }
    
    .contact-benefits-header .benefit-item i {
        font-size: 0.9rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Ausgelagerte Benefits Mobile */
    .contact-benefits-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        margin-top: 1.5rem;
    }
    
    .contact-benefits-header .benefit-item {
        justify-content: center;
        font-size: 0.85rem;
    }
    
    /* Hero Section Extra Small */
    .hero {
        min-height: 85vh;
        padding-top: 70px;
    }
    
    .hero-container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-image {
        height: 200px;
    }
    
    .floating-card {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Services Section Extra Small */
    .services-grid {
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
        margin: 0 0.25rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .service-features {
        gap: 0.25rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
    
    /* About Section Extra Small */
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 250px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .tech-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        margin: 0.25rem;
    }
    
    .image-container {
        height: 150px;
    }
    
    /* Contact Section Extra Small */
    .contact-info {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 auto;
    }

    .contact-item h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }

    /* Floating CTA Extra Small */
    .floating-cta-card {
        bottom: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
        padding: 1rem;
    }

    .floating-cta-content h3 {
        font-size: 0.95rem;
    }
    
    .floating-cta-content p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .floating-cta-button {
        padding: 0.675rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .close-cta {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        top: 0.5rem;
        right: 0.5rem;
    }    .contact-form {
        padding: 1.25rem 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem 0.75rem;
        font-size: 16px;
    }
    
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-right: 0.5rem;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
    }
    
    /* Footer Extra Small */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        padding: 0 0.5rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.85rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Back to top button */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 0.75rem;
        right: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-container {
        gap: 1.5rem;
    }
    
    .hero-image {
        height: 200px;
    }
    
    .floating-card {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-icon,
    .contact-icon,
    .floating-card {
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
    .nav-link,
    .btn,
    .contact-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 44px;
    }
    
    .checkbox-group input[type="checkbox"] {
        min-width: 20px;
        min-height: 20px;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Reduce motion for performance */
    .floating-card,
    .tech-badge {
        animation: none;
    }
    
    /* Optimize scrolling */
    body.scrolling * {
        pointer-events: none;
    }
    
    body.scrolling .floating-card,
    body.scrolling .service-card::before,
    body.scrolling .btn::before {
        animation-play-state: paused;
    }
    
    /* Improve touch targets */
    .service-card,
    .contact-item {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.1);
    }
    
    /* Optimize gradients for mobile */
    .highlight,
    .btn-primary,
    .service-icon,
    .contact-icon,
    .stat-number {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
    
    /* Smooth scrolling optimization */
    html {
        -webkit-overflow-scrolling: touch;
    }
}

/* iOS specific fixes */
@supports (-webkit-overflow-scrolling: touch) {
    .nav-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        border-radius: 0;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .btn {
        -webkit-appearance: none;
        appearance: none;
        border-radius: var(--border-radius);
    }
}

/* Android specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /* Select styling inherited from main rule */
}

/* Dark mode styles */
[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-dark: #030712;
}

/* Flutter Icon Styling */
.flutter-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition-normal);
}

/* Flutter Icon in floating cards */
.floating-card.flutter-icon svg {
    width: 2rem;
    height: 2rem;
    color: #02569B;
}

/* Service Icon Animation (including Flutter SVG) */
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

/* Flutter Icon - nur in Service Cards weiß machen */
.service-card .service-icon svg,
.service-card .flutter-icon svg {
    filter: brightness(0) invert(1);
}

/* Hero Flutter Icon - original Farbe behalten */
.hero .flutter-icon svg,
.hero .floating-card svg {
    filter: none;
}

/* Dark Theme Flutter Icon - nur in Service Cards weiß */
[data-theme="dark"] .service-card .service-icon svg,
[data-theme="dark"] .service-card .flutter-icon svg {
    filter: brightness(0) invert(1);
}

/* Dark Theme Hero Flutter Icon - original Farbe */
[data-theme="dark"] .hero .flutter-icon svg,
[data-theme="dark"] .hero .floating-card svg {
    filter: none;
}

[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.85);
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
    backdrop-filter: blur(20px);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(17, 24, 39, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(75, 85, 99, 0.2);
}

[data-theme="dark"] .nav-menu {
    background: rgba(17, 24, 39, 0.95);
    border-right: 1px solid rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] .nav-menu .nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

[data-theme="dark"] .services {
    background: #1f2937;
}

[data-theme="dark"] .testimonials {
    background: #111827;
}

[data-theme="dark"] .about {
    background: linear-gradient(135deg, 
        #1f2937 0%, 
        #111827 50%, 
        #1a2332 100%);
}

[data-theme="dark"] .about::before {
    background: radial-gradient(
        ellipse at top right,
        rgba(99, 102, 241, 0.08) 0%,
        transparent 50%
    );
}

[data-theme="dark"] .contact {
    background: #1f2937;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .floating-card {
    background: #1f2937;
    border: 1px solid #374151;
}

[data-theme="dark"] .service-card.featured-premium {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.08) 0%, 
        rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .premium-indicator {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .tech-tag {
    background: #374151;
    border-color: #4b5563;
}

[data-theme="dark"] .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .contact-item {
    background: #374151;
    border-color: #4b5563;
}

[data-theme="dark"] .contact-item:hover {
    background: #4b5563;
    border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .contact-info {
    background: #1f2937;
    border: 1px solid #374151;
}

[data-theme="dark"] .floating-cta-card {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(75, 85, 99, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

[data-theme="dark"] .floating-cta-content h3 {
    color: #f9fafb;
}

[data-theme="dark"] .floating-cta-content p {
    color: #d1d5db;
}

[data-theme="dark"] .close-cta {
    color: #9ca3af;
    background: rgba(75, 85, 99, 0.1);
    border: 1px solid rgba(75, 85, 99, 0.2);
}

[data-theme="dark"] .close-cta:hover {
    color: #f9fafb;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .floating-cta-button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .floating-cta-button:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 8px 25px 0 rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
    background: #374151;
    border-color: #4b5563;
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
    border-color: var(--primary-color);
    background: #374151;
}

/* Dark Mode Select Pfeil */
[data-theme="dark"] .form-group select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}


[data-theme="dark"] .feature-tag {
    background: #4b5563;
    color: #e5e7eb;
}

[data-theme="dark"] .tech-badge {
    background: #374151;
    color: var(--text-primary);
}

[data-theme="dark"] .scroll-indicator {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .back-to-top {
    background: var(--primary-gradient);
}

[data-theme="dark"] .highlight-box {
    background: rgba(99, 102, 241, 0.2);
    border-left-color: var(--primary-color);
    color: white;
}

[data-theme="dark"] .toc {
    background: #374151;
}

[data-theme="dark"] .legal-container {
    background: #1f2937;
    border: 1px solid #374151;
}

/* Dark mode form label fixes */
[data-theme="dark"] .form-group input:focus + label,
[data-theme="dark"] .form-group textarea:focus + label,
[data-theme="dark"] .form-group select:focus + label,
[data-theme="dark"] .form-group input:not(:placeholder-shown) + label,
[data-theme="dark"] .form-group textarea:not(:placeholder-shown) + label,
[data-theme="dark"] .form-group select:not([value=""]) + label,
[data-theme="dark"] .form-group label.active {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* Dark mode checkbox group */
[data-theme="dark"] .checkbox-group label {
    color: var(--text-secondary);
}

[data-theme="dark"] .checkbox-group input[type="checkbox"] {
    accent-color: var(--primary-color);
}

[data-theme="dark"] .checkbox-group a {
    color: var(--primary-light);
}

[data-theme="dark"] .checkbox-group a:hover {
    color: var(--primary-color);
}

/* Checkbox error states */
.checkbox-group input[type="checkbox"].error {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

.checkbox-group.error label {
    color: #ef4444;
}

/* Dark mode contact info cards */
[data-theme="dark"] .contact-info {
    background: var(--bg-secondary);
    border: 1px solid #374151;
}

/* Dark mode form labels */
[data-theme="dark"] .form-group label {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

[data-theme="dark"] .form-group label.active,
[data-theme="dark"] .form-group input:focus + label,
[data-theme="dark"] .form-group textarea:focus + label {
    color: var(--primary-light);
}

/* Dark mode theme toggle button */
[data-theme="dark"] .theme-toggle {
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(75, 85, 99, 0.3);
    color: var(--text-primary);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

/* Dark mode company showcase features */
[data-theme="dark"] .feature-card {
    background: var(--bg-secondary);
    border-color: #374151;
}

[data-theme="dark"] .feature-card:hover {
    background: #374151;
}

/* Dark mode trust indicators */
[data-theme="dark"] .trust-item {
    background: var(--bg-secondary);
    border-color: #374151;
}

[data-theme="dark"] .trust-item:hover {
    background: #374151;
}

/* Dark mode floating CTA handled above */

/* Dark mode ausgelagerte Benefits */
[data-theme="dark"] .contact-benefits-header {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .contact-benefits-header .benefit-item {
    color: var(--text-primary);
}

[data-theme="dark"] .contact-benefits-header .benefit-item i {
    color: var(--primary-light);
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.theme-toggle i {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Theme Transition Animation */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *:before,
html.theme-transitioning *:after {
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Auto dark mode detection */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-light: #9ca3af;
        --bg-primary: #111827;
        --bg-secondary: #1f2937;
        --bg-dark: #030712;
    }
    
    :root:not([data-theme]) .navbar {
        background: rgba(17, 24, 39, 0.95);
        border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    }
    
    :root:not([data-theme]) .navbar.scrolled {
        background: rgba(17, 24, 39, 0.98);
    }
    
    :root:not([data-theme]) .hero {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    }
    
    :root:not([data-theme]) .service-card,
    :root:not([data-theme]) .contact-form,
    :root:not([data-theme]) .floating-card {
        background: #1f2937;
        border: 1px solid #374151;
    }
    
    :root:not([data-theme]) .contact-item {
        background: #1f2937;
    }
    
    :root:not([data-theme]) .contact-info {
        background: #374151;
    }
    
    :root:not([data-theme]) .form-group input,
    :root:not([data-theme]) .form-group textarea,
    :root:not([data-theme]) .form-group select {
        background: #374151;
        border-color: #4b5563;
        color: #f9fafb;
    }
    
    :root:not([data-theme]) .form-group input:focus,
    :root:not([data-theme]) .form-group textarea:focus,
    :root:not([data-theme]) .form-group select:focus {
        border-color: #6366f1;
        background: #374151;
    }
    
    :root:not([data-theme]) .feature-tag {
        background: #4b5563;
        color: #e5e7eb;
    }
    
    :root:not([data-theme]) .tech-badge {
        background: #374151;
        color: #f9fafb;
    }
    
    :root:not([data-theme]) .highlight-box {
        background: rgba(99, 102, 241, 0.2);
        border-left-color: #6366f1;
    }
    
    :root:not([data-theme]) .toc {
        background: #374151;
    }
    
    :root:not([data-theme]) .legal-container {
        background: #1f2937;
        border: 1px solid #374151;
    }
    
    /* Auto dark mode form label fixes */
    :root:not([data-theme]) .form-group input:focus + label,
    :root:not([data-theme]) .form-group textarea:focus + label,
    :root:not([data-theme]) .form-group select:focus + label,
    :root:not([data-theme]) .form-group input:valid + label,
    :root:not([data-theme]) .form-group textarea:valid + label,
    :root:not([data-theme]) .form-group select:valid + label {
        background: #1f2937;
        color: #6366f1;
    }
    
    :root:not([data-theme]) .checkbox-group label {
        color: #d1d5db;
    }
    
    :root:not([data-theme]) .checkbox-group input[type="checkbox"] {
        accent-color: #6366f1;
    }
    
    :root:not([data-theme]) .form-group label {
        color: #9ca3af;
    }
    
    /* Auto dark mode contact CTA */
    :root:not([data-theme]) .contact-cta {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    }
    
    :root:not([data-theme]) .benefit-item i {
        color: #34d399;
    }
}

/* Dark Mode Styles for Career Pages */
[data-theme="dark"] .career-header-section,
[data-theme="dark"] .job-header-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
}

[data-theme="dark"] .career-values-grid {
    background: var(--bg-primary);
}

[data-theme="dark"] .value-card,
[data-theme="dark"] .job-card,
[data-theme="dark"] .benefit-card,
[data-theme="dark"] .job-details,
[data-theme="dark"] .job-sidebar {
    background: var(--bg-secondary);
    border: 1px solid #374151;
    color: var(--text-primary);
}

[data-theme="dark"] .value-card:hover,
[data-theme="dark"] .job-card:hover,
[data-theme="dark"] .benefit-card:hover {
    background: #374151;
    border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .value-card h3,
[data-theme="dark"] .job-card h3,
[data-theme="dark"] .benefit-card h3,
[data-theme="dark"] .job-details h2,
[data-theme="dark"] .job-details h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .value-card p,
[data-theme="dark"] .job-card p,
[data-theme="dark"] .benefit-card p,
[data-theme="dark"] .job-details p,
[data-theme="dark"] .job-details li {
    color: var(--text-secondary);
}

[data-theme="dark"] .job-meta-item,
[data-theme="dark"] .job-meta-item-header {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid #374151;
    color: var(--text-primary);
}

[data-theme="dark"] .job-tag,
[data-theme="dark"] .job-tag-detail {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

[data-theme="dark"] .salary-highlight {
    background: linear-gradient(135deg, #059669 0%, #065f46 100%);
}

[data-theme="dark"] .info-item {
    background: #374151;
    color: var(--text-primary);
}

[data-theme="dark"] .info-label {
    color: var(--text-light);
}

[data-theme="dark"] .info-value {
    color: var(--text-primary);
}

[data-theme="dark"] .contact-card {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .contact-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .contact-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .perks-list li {
    background: #374151;
    color: var(--text-primary);
}

[data-theme="dark"] .process-step {
    background: #374151;
    color: var(--text-primary);
}

[data-theme="dark"] .perk-icon,
[data-theme="dark"] .step-number {
    background: var(--primary-color);
}

[data-theme="dark"] .floating-apply {
    background: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .floating-apply:hover {
    background: var(--primary-dark);
}

[data-theme="dark"] .job-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .job-breadcrumb a:hover {
    color: white;
}

[data-theme="dark"] .career-page,
[data-theme="dark"] .job-detail-page {
    background: var(--bg-primary);
}

/* Coming Soon Overlay Styles */
.coming-soon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-out;
    overflow: hidden;
}

.coming-soon-content {
    text-align: center;
    color: white;
    max-width: 500px;
    padding: 3rem 2rem;
    background: rgba(17, 24, 39, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.coming-soon-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #d1d5db;
    line-height: 1.6;
}

.coming-soon-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.coming-soon-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coming-soon-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.coming-soon-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.coming-soon-btn.secondary {
    background: transparent;
    color: #d1d5db;
    border: 1px solid rgba(209, 213, 219, 0.3);
}

.coming-soon-btn.secondary:hover {
    background: rgba(209, 213, 219, 0.1);
    border-color: #667eea;
    color: #667eea;
}

@keyframes fadeIn {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to { opacity: 1; backdrop-filter: blur(20px); }
}

/* Light Theme Coming Soon Styles */
[data-theme="light"] .coming-soon-overlay {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .coming-soon-content {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #1f2937;
}

[data-theme="light"] .coming-soon-content p {
    color: #6b7280;
}

[data-theme="light"] .coming-soon-btn.secondary {
    color: #6b7280;
    border-color: rgba(107, 114, 128, 0.3);
}

[data-theme="light"] .coming-soon-btn.secondary:hover {
    background: rgba(107, 114, 128, 0.1);
    border-color: #667eea;
    color: #667eea;
}

/* Dark Theme Coming Soon Styles */
[data-theme="dark"] .coming-soon-overlay {
    background: rgba(0, 0, 0, 0.98);
}

[data-theme="dark"] .coming-soon-content {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #f9fafb;
}

[data-theme="dark"] .coming-soon-content h1 {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .coming-soon-content p {
    color: #e5e7eb;
}

[data-theme="dark"] .coming-soon-btn.secondary {
    color: #e5e7eb;
    border-color: rgba(229, 231, 235, 0.3);
}

[data-theme="dark"] .coming-soon-btn.secondary:hover {
    background: rgba(229, 231, 235, 0.1);
    border-color: #818cf8;
    color: #818cf8;
}

/* Font Awesome Path Fixes - Override Original Fonts */
@font-face {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-display: block !important;
    src: url("./webfonts/fa-solid-900.woff2") format("woff2"),
         url("./webfonts/fa-solid-900.ttf") format("truetype") !important;
}

@font-face {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-display: block !important;
    src: url("./webfonts/fa-regular-400.woff2") format("woff2"),
         url("./webfonts/fa-regular-400.ttf") format("truetype") !important;
}

@font-face {
    font-family: "Font Awesome 6 Brands" !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-display: block !important;
    src: url("./webfonts/fa-brands-400.woff2") format("woff2"),
         url("./webfonts/fa-brands-400.ttf") format("truetype") !important;
}

/* Font Awesome 5 Compatibility Overrides */
@font-face {
    font-family: "Font Awesome 5 Free" !important;
    font-display: block !important;
    font-weight: 900 !important;
    src: url("./webfonts/fa-solid-900.woff2") format("woff2"),
         url("./webfonts/fa-solid-900.ttf") format("truetype") !important;
}

@font-face {
    font-family: "Font Awesome 5 Brands" !important;
    font-display: block !important;
    font-weight: 400 !important;
    src: url("./webfonts/fa-brands-400.woff2") format("woff2"),
         url("./webfonts/fa-brands-400.ttf") format("truetype") !important;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-card,
    .tech-badge {
        animation: none !important;
    }
    
    .coming-soon-overlay {
        animation: none !important;
    }
}

/* Dark Theme Footer Logo */
[data-theme="dark"] .footer-logo-image {
    filter: brightness(1.1) contrast(1.1);
}