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

html {
    width: 100%;
    overflow-x: hidden;
}

:root {
    /* Blue Color Palette - Modern & Clean */
    --primary-blue: #3b82f6;
    --primary-blue-light: #60a5fa;
    --primary-blue-dark: #2563eb;
    --primary-blue-darker: #1d4ed8;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-secondary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Theme Variables */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-light: var(--gray-400);
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --bg-tertiary: var(--gray-100);

/* Login Button Styles - Minimal Design */
.login-button-white {
    background: transparent;
    color: var(--gray-600);
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    position: relative;
}

.login-button-white:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--primary-blue);
    border-color: rgba(59, 130, 246, 0.15);
}

.login-button-white:active {
    background: rgba(59, 130, 246, 0.08);
}

/* Fahrschule Cooperation Section - Minimal */
.fahrschule-cooperation-section {
    margin: 2rem 0;
    padding: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cooperation-content {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.08);
    text-align: center;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.cooperation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(59, 130, 246, 0.06);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.cooperation-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.cooperation-content p {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cooperation-features {
    display: none;
}

.mehr-erfahren-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    position: relative;
}

.mehr-erfahren-button:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.mehr-erfahren-button:active {
    transform: translateY(0);
}

.button-icon {
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.mehr-erfahren-button:hover .button-icon {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .cooperation-content {
        padding: 0.875rem 1rem;
    }
    
    .cooperation-content h3 {
        font-size: 1.1rem;
    }
    
    .fahrschule-cooperation-section {
        max-width: 95%;
    }
}
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 10px 30px rgba(59, 130, 246, 0.25);
    --shadow-blue-lg: 0 20px 40px rgba(59, 130, 246, 0.35);
    
    /* Transitions */
    --transition-base: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dark theme styles removed */

html {
    scroll-behavior: smooth;
}

/* Enhanced smooth scrolling with momentum */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px; /* Account for fixed navbar */
    }
}

/* Safe Area Support for Modern Devices */
:root {
    --safe-area-inset-top: env(safe-area-inset-top);
    --safe-area-inset-right: env(safe-area-inset-right);
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
    --safe-area-inset-left: env(safe-area-inset-left);
}

/* Responsive Container System */
.container {
    width: 100%;
    margin: 0 auto;
    padding-left: max(20px, var(--safe-area-inset-left));
    padding-right: max(20px, var(--safe-area-inset-right));
}

@media (min-width: 320px) {
    .container { max-width: 100%; padding: 0 16px; }
}

@media (min-width: 375px) {
    .container { max-width: 100%; padding: 0 20px; }
}

@media (min-width: 414px) {
    .container { max-width: 100%; padding: 0 24px; }
}

@media (min-width: 768px) {
    .container { max-width: 768px; padding: 0 32px; }
}

@media (min-width: 1024px) {
    .container { max-width: 1024px; padding: 0 40px; }
}

@media (min-width: 1200px) {
    .container { max-width: 1200px; padding: 0 40px; }
}

@media (min-width: 1440px) {
    .container { max-width: 1400px; padding: 0 40px; }
}

@media (min-width: 1920px) {
    .container { max-width: 1800px; padding: 0 60px; }
}

/* Add breathing room and softer spacing */
* {
    transition: var(--transition-base);
}

/* Touch-Optimized Interactions */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .service-card-modern:hover,
    .team-member:hover {
        transform: none;
    }
    
    .service-card-modern:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .btn-card:active,
    .btn-primary-blue:active,
    .cta-button:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }
    
    /* Larger touch targets */
    .hamburger {
        padding: 15px;
        min-width: 48px;
        min-height: 48px;
    }
    
    .nav-menu a {
        padding: 16px 0;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .faq-question {
        min-height: 56px;
        padding: 16px 20px;
    }
    
    /* Improved form controls for touch */
    input, select, textarea, button {
        min-height: 48px;
        border-radius: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn-card, .btn-primary-blue {
        min-height: 48px;
        padding: 14px 28px;
    }
}

/* Softer shadows and borders */
.service-card-modern, .team-member, .faq-item {
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-form-modern {
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
}

.hero-card, .visual-card {
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

html, 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;
    width: 100%;
    max-width: 100vw;
}

/* Header and Title Styles with rounded font */
h1, h2, h3, .hero-title, .section-title, .logo {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Seamless section transitions with flowing backgrounds */
section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* Flowing background system with parallax */
body {
    background: 
        radial-gradient(ellipse 800px 600px at 20% 10%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 1200px 800px at 80% 30%, rgba(96, 165, 250, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse 1000px 700px at 40% 60%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse 900px 500px at 70% 80%, rgba(29, 78, 216, 0.02) 0%, transparent 50%),
        var(--white);
    background-attachment: fixed;
}

/* Parallax elements */
.parallax-element {
    will-change: transform;
    transform: translateZ(0); /* Hardware acceleration */
}

.parallax-slow {
    transform: translate3d(0, var(--parallax-slow, 0), 0);
}

.parallax-medium {
    transform: translate3d(0, var(--parallax-medium, 0), 0);
}

.parallax-fast {
    transform: translate3d(0, var(--parallax-fast, 0), 0);
}

/* Unified background for all sections */
.hero-modern,
.services-modern,
.about-modern,
.team-section,
.faq-section,
.contact-modern {
    background: transparent;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--primary-blue-light) 25%, 
        var(--primary-blue) 50%, 
        var(--primary-blue-dark) 75%, 
        var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
    white-space: nowrap;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.section-header.centered {
    text-align: center;
    margin-bottom: 80px;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: var(--safe-area-inset-top);
    padding-left: var(--safe-area-inset-left);
    padding-right: var(--safe-area-inset-right);
}

[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 16px rgba(59, 130, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-base);
}

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

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition-base);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
}

.logo-accent {
    color: var(--primary-blue);
}

.brand-accent {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-base);
    position: relative;
}

/* Removed hover color */

/* Removed underline animation */

/* Removed hover underline */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ultra Modern Glass Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    min-width: 280px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px) scale(0.9);
    transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.2s ease;
    z-index: 1000;
    list-style: none;
    overflow: hidden;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(147, 197, 253, 0.2) 50%, 
        rgba(59, 130, 246, 0.3) 100%);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown:hover .dropdown-menu::before {
    opacity: 1;
}

.dropdown-menu li {
    margin: 0 0 8px 0;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 16px;
    transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.2s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s ease;
}

.dropdown-menu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--primary-blue-light) 100%);
    opacity: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
    border-radius: 16px;
    z-index: -1;
}

.dropdown-menu a:hover {
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        0 4px 15px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.dropdown-menu a:hover::before {
    left: 100%;
}

.dropdown-menu a:hover::after {
    opacity: 1;
}


.dropdown-menu a .menu-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-menu a .menu-title {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.2;
    color: var(--gray-700);
}

.dropdown-menu a .menu-subtitle {
    font-weight: 400;
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.2;
}

.dropdown-arrow {
    font-size: 14px;
    margin-left: 8px;
    transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.2s ease;
    display: inline-block;
    color: var(--gray-600);
    transform-origin: center;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg) scale(1.1);
    color: var(--primary-blue);
}

/* Theme toggle removed */

.login-button {
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 18px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.login-button:hover {
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(59, 130, 246, 0.2);
    opacity: 1;
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.cta-button {
    padding: 12px 24px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 8px 0 rgba(59, 130, 246, 0.15);
    transition: var(--transition-base);
    border: 1px solid rgba(59, 130, 246, 0.2);
    background-clip: padding-box;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-blue-dark);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px 0 rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-base);
}

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

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

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

/* Hero Section */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    padding: 80px 0 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160vh;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: transparent;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background: transparent;
}

/* Animated Blob */
.hero-background::before {
    content: '';
    position: absolute;
    right: -30%;
    top: 0%;
    width: 80%;
    height: 150vh;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 1) 0%, 
        rgba(96, 165, 250, 0.9) 20%, 
        rgba(59, 130, 246, 0.7) 40%, 
        rgba(96, 165, 250, 0.5) 60%,
        rgba(37, 99, 235, 0.3) 75%,
        rgba(37, 99, 235, 0.15) 85%,
        rgba(37, 99, 235, 0.05) 95%,
        rgba(37, 99, 235, 0) 100%);
    border-radius: 45% 55% 60% 40% / 35% 65% 55% 45%;
    animation: blobMoveFluid 30s linear infinite;
    will-change: transform;
    will-change: transform, border-radius;
    z-index: 1;
}

@keyframes blobMoveFluid {
    0%, 100% {
        transform: translateY(0);
        border-radius: 30% 70% 40% 60% / 60% 30% 70% 40%;
    }
    14% {
        transform: translateY(-6vh);
        border-radius: 20% 80% 35% 65% / 70% 25% 75% 30%;
    }
    28% {
        transform: translateY(-12vh);
        border-radius: 35% 65% 25% 75% / 80% 20% 60% 40%;
    }
    42% {
        transform: translateY(-18vh);
        border-radius: 25% 75% 30% 70% / 40% 80% 35% 65%;
    }
    56% {
        transform: translateY(-22vh);
        border-radius: 40% 60% 20% 80% / 65% 35% 25% 75%;
    }
    70% {
        transform: translateY(-15vh);
        border-radius: 75% 25% 60% 40% / 30% 70% 80% 20%;
    }
    84% {
        transform: translateY(-8vh);
        border-radius: 15% 85% 50% 50% / 75% 25% 45% 55%;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 0;
    margin-left: 0;
}

.hero-content .hero-title {
    margin-bottom: 60px;
}

.hero-content .hero-actions {
    margin-top: 60px;
}

.btn-primary-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
}

.btn-primary-blue::after {
    content: '↓';
    font-size: 18px;
    animation: bounceDown 3s ease-in-out infinite;
    margin-left: 4px;
}

.btn-primary-blue:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary-blue:hover::after {
    animation: bounceDownFast 1s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

@keyframes bounceDownFast {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: slideInUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInSoft 0.8s ease-out 0.1s both;
}

.hero-title .gradient-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typewriter-smooth 3s cubic-bezier(0.25, 0.1, 0.25, 1) 1s both, gradientShift 8s linear 4s infinite;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--primary-blue-light) 25%, 
        var(--primary-blue) 50%, 
        var(--primary-blue-dark) 75%, 
        var(--primary-blue) 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}


@keyframes fadeInSoft {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes typewriter {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes typewriter-smooth {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes typewriter-realistic {
    0% { width: 0; }
    9% { width: 8.33%; }
    18% { width: 16.66%; }
    27% { width: 25%; }
    36% { width: 33.33%; }
    45% { width: 41.66%; }
    54% { width: 50%; }
    63% { width: 58.33%; }
    72% { width: 66.66%; }
    81% { width: 75%; }
    90% { width: 83.33%; }
    100% { width: 100%; }
}

@keyframes typewriter-overlay {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
        border-right: 3px solid transparent;
    }
}

@keyframes blink-caret {
    0%, 50% {
        border-color: var(--primary-blue);
    }
    51%, 100% {
        border-color: transparent;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
}

@keyframes smoothFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spinIn {
    0% {
        opacity: 0;
        transform: rotate(-360deg);
    }
    25% {
        opacity: 0.3;
        transform: rotate(-270deg);
    }
    50% {
        opacity: 0.6;
        transform: rotate(-180deg);
    }
    75% {
        opacity: 0.8;
        transform: rotate(-90deg);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg);
    }
}

@keyframes rollUpReveal {
    0% {
        height: 0;
        transform: translateY(20px);
    }
    30% {
        height: 30%;
        transform: translateY(15px);
    }
    60% {
        height: 70%;
        transform: translateY(8px);
    }
    80% {
        height: 90%;
        transform: translateY(3px);
    }
    100% {
        height: auto;
        transform: translateY(0);
    }
}


@keyframes shimmer {
    0%, 100% {
        background-position: -100% 0;
        opacity: 1;
    }
    50% {
        background-position: 100% 0;
        opacity: 0.95;
    }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.highlight-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-text {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.btn-gradient-primary {
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--shadow-blue);
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-gradient-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue-lg);
}

.btn-outline {
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.btn-outline:hover {
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

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

.btn-outline span {
    position: relative;
    z-index: 1;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: slideInRight 0.8s ease-out 0.5s both;
}

.hero-card {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    transition: var(--transition-base);
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.card-badge {
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    font-size: 16px;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(20px);
    animation: floatCards 8s linear infinite;
    will-change: transform;
}

.card-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: -20px;
    left: 15%;
    animation-delay: 2s;
}

.card-3 {
    bottom: -40px;
    right: 10%;
    animation-delay: 4s;
}

@keyframes floatCards {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(0.5deg); }
}

.mini-icon {
    font-size: 18px;
}

/* Services Section */
.services-modern {
    padding: 80px 0;
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.service-card-modern {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 520px;
}

.service-card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-blue);
}

/* Middle card positioned higher */
.service-card-modern.featured {
    transform: translateY(-2cm);
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}

.service-card-modern.featured {
    border: 2px solid var(--primary-blue);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.02), transparent);
}

.service-card-modern.featured::before {
    transform: scaleX(1);
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.service-icon-modern {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition-base);
}

.service-card-modern:hover .service-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.service-badge {
    padding: 6px 16px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-badge.popular {
    background: var(--gradient-primary);
    color: white;
}

.service-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    min-height: 48px;
}

.service-features {
    margin-bottom: 24px;
    flex-grow: 1;
}

.feature-item {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.service-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.service-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
    margin-top: 4px;
}

.btn-card {
    padding: 14px 32px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
    width: 100%;
    text-align: center;
    display: inline-block;
}

.btn-card:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.btn-card.gradient {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-blue);
    width: 100%;
    text-align: center;
}

.btn-card.gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue-lg);
}

/* Fahrschule CTA Button - Website Style */
.fahrschule-cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px 0 80px 0;
    padding: 0 20px;
    position: relative;
}

.fahrschule-cta-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
}

.fahrschule-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 24px;
    font-weight: 700;
    font-size: 19px;
    font-family: 'Nunito', sans-serif;
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.15),
        0 2px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.fahrschule-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fahrschule-cta-button::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fahrschule-cta-button:hover::before {
    left: 100%;
}

.fahrschule-cta-button:hover::after {
    opacity: 1;
}

.fahrschule-cta-button:hover {
    transform: translateY(-8px) scale(1.03);
    color: white;
    background: rgba(59, 130, 246, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        0 20px 60px rgba(59, 130, 246, 0.25),
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.fahrschule-cta-button .cta-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

.fahrschule-cta-button:hover .cta-icon {
    transform: scale(1.1) rotate(5deg);
    animation-play-state: paused;
}

.fahrschule-cta-button .cta-text {
    font-size: 19px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.fahrschule-cta-button .cta-arrow {
    font-size: 22px;
    font-weight: bold;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 0.8;
}

.fahrschule-cta-button:hover .cta-arrow {
    transform: translateX(8px) scale(1.2);
    opacity: 1;
}

/* Floating animation for icon */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-4px) rotate(2deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fahrschule-cta-section {
        margin: 80px 0 60px 0;
    }
    
    .fahrschule-cta-button {
        padding: 20px 36px;
        font-size: 17px;
        gap: 14px;
        border-radius: 20px;
    }
    
    .fahrschule-cta-button .cta-icon {
        font-size: 24px;
    }
    
    .fahrschule-cta-button .cta-text {
        font-size: 17px;
    }
    
    .fahrschule-cta-button .cta-arrow {
        font-size: 20px;
    }
    
    .fahrschule-cta-section::before {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .fahrschule-cta-section {
        margin: 60px 0 40px 0;
    }
    
    .fahrschule-cta-button {
        padding: 18px 28px;
        font-size: 16px;
        gap: 12px;
        border-radius: 18px;
        flex-direction: row;
        text-align: center;
    }
    
    .fahrschule-cta-button .cta-text {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .fahrschule-cta-button .cta-icon {
        font-size: 22px;
    }
    
    .fahrschule-cta-button .cta-arrow {
        font-size: 18px;
    }
    
    .fahrschule-cta-section::before {
        width: 120px;
        height: 120px;
    }
}

/* Fahrschulen Section */
.fahrschulen-section {
    padding: 120px 0;
    background: transparent;
    position: relative;
}

.fahrschul-hero {
    margin: 60px 0;
}

.fahrschul-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: var(--transition-base);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-blue);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    border-color: var(--primary-blue);
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.benefit-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.fahrschul-cta {
    background: var(--gradient-primary);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
    position: relative;
    overflow: hidden;
}

.fahrschul-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

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

.cta-content h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-buttons .btn-gradient-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-buttons .btn-gradient-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

/* Fahrschulen Page Specific Styles */
.fahrschul-hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 160px 0 80px;
    background: transparent;
}

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

.hero-content-center .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

.hero-content-center .hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-content-center .hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.stats-section {
    padding: 80px 0;
    background: transparent;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.benefits-section {
    padding: 100px 0;
    background: transparent;
}

.benefit-list {
    list-style: none;
    margin-top: 16px;
    padding-left: 0;
}

.benefit-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    padding-left: 24px;
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.process-section {
    padding: 100px 0;
    background: transparent;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 250px;
    margin: 0 auto;
}

.process-connector {
    position: absolute;
    top: 40px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    z-index: 1;
}


.final-cta-section {
    padding: 80px 0;
    background: transparent;
}

/* Removed active link styling */

.stat-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Responsive adjustments for Fahrschulen page */
@media (max-width: 1024px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .fahrschul-stats {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }
}

/* About Section */
.about-modern {
    padding: 80px 0;
    background: transparent;
}

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 48px;
}

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

.feature-modern {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon-modern {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.feature-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.feature-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.about-visual {
    position: relative;
}

.visual-card {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    backdrop-filter: blur(20px);
}

.visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.visual-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto;
}

.visual-badge {
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.big-number {
    font-size: 64px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 16px;
}

.visual-content p {
    color: var(--text-secondary);
    font-size: 16px;
}

.floating-stats {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stat-bubble {
    position: absolute;
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(20px);
    animation: floatBubbles 8s ease-in-out infinite;
}

.bubble-1 {
    top: -30px;
    right: -60px;
    animation-delay: 0s;
}

.bubble-2 {
    bottom: 30%;
    left: -80px;
    animation-delay: 3s;
}

.bubble-3 {
    bottom: -30px;
    right: 10px;
    animation-delay: 6s;
}

@keyframes floatBubbles {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(-8px) rotate(-1deg); }
}

.bubble-icon {
    font-size: 20px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: transparent;
}

.team-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    width: 280px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.team-member:hover::before {
    transform: scaleX(1);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.team-member:hover .member-photo {
    transform: scale(1.1);
    box-shadow: var(--shadow-blue);
}

.photo-placeholder {
    font-size: 48px;
}

.member-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.member-role {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.member-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: transparent;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-base);
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition-base);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
}

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

.faq-answer p {
    padding: 0 32px 24px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* Contact Section */
.contact-modern {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.contact-form-wrapper {
    display: flex;
    justify-content: center;
}

.contact-form-wrapper .contact-form-container {
    width: 100%;
    max-width: 800px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    border: none;
}

.contact-form-wrapper .contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    animation: shimmerLine 3s ease-in-out infinite;
}

.contact-form-wrapper .contact-form-modern {
    position: relative;
    z-index: 1;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
}

.contact-form-wrapper .form-header h3 {
    color: var(--text-primary);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-wrapper .form-header p {
    color: var(--text-secondary);
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

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

.contact-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-feature:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.feature-icon-small {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-form-container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.contact-form-container::before {
    display: none;
}

@keyframes shimmerLine {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 16px;
    opacity: 0.9;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 4px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    color: var(--text-primary);
    transition: var(--transition-base);
    outline: none;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 48px;
    background-color: var(--white);
}

.form-group select option {
    background: var(--white);
    color: var(--text-primary);
    padding: 12px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
}

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

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: rgba(107, 114, 128, 0.5);
    font-weight: 400;
}

.btn-form-submit {
    padding: 18px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-form-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-form-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-form-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-form-submit:active {
    transform: translateY(-1px) scale(1);
}

/* Footer */
.footer-modern {
    background: var(--gray-900);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px !important;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-base);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 32px;
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet and Desktop Adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 0 24px;
    }
    
    .hero-container {
        padding: 0 24px;
    }
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        padding-left: 0;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-left: 0;
        text-align: center;
        align-items: center;
    }
    
    .about-hero {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .contact-form-container {
        max-width: 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
}

/* Enhanced Mobile Optimizations */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    /* Hide login on mobile menu */
    .login-button-white {
        display: none !important;
    }
    
    /* Override: Keep navigation simple on mobile */
    .hamburger {
        display: none !important;
    }
    
    .nav-menu {
        position: static !important;
        transform: none !important;
        background: none !important;
        padding: 0 !important;
        display: none !important;
    }
    
    /* Hero Section Mobile Optimization */
    .hero-modern {
        padding: 60px 0 40px;
        min-height: 80vh;
    }
    
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        order: 1 !important;
    }
    
    .hero-title {
        font-size: 5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1.5rem;
        font-weight: 800 !important;
    }
    
    .hero-visual {
        order: 2 !important;
        margin: 2rem 0 0 0 !important;
        display: flex;
        justify-content: center;
    }
    
    .main-card {
        max-width: 320px;
        margin: 0 auto;
    }
    
    /* Reduce blob animations on mobile for performance */
    .hero-background::before {
        width: 400px;
        height: 400px;
        animation-duration: 30s;
    }
    
    .hero-background::after {
        width: 300px;
        height: 300px;
        animation-duration: 35s;
    }
    
    .floating-blob {
        animation-duration: 25s;
    }
    
    .floating-blob:nth-child(2),
    .floating-blob:nth-child(3) {
        display: none; /* Hide some blobs on mobile to improve performance */
    }
    
    /* Mobile navigation disabled - keep clean minimal nav */
    
    /* Services Section Mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0;
    }
    
    .service-card-modern {
        margin: 0 auto;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .service-header {
        margin-bottom: 1rem;
    }
    
    .service-icon-modern {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .service-features {
        margin: 1rem 0;
    }
    
    .feature-item {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    /* About Section Mobile */
    .about-hero {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .feature-modern {
        text-align: center;
        padding: 1.25rem;
    }
    
    /* Team Section Mobile */
    .team-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .team-member {
        max-width: 320px;
        margin: 0 auto;
    }
    
    /* FAQ Section Mobile */
    .faq-container {
        padding: 0;
    }
    
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    /* Contact Section Mobile */
    .contact-info-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .contact-feature {
        text-align: center;
        padding: 1rem;
    }
    
    /* Contact Form Mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 1rem;
    }
    
    .btn-form-submit {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
    
    /* Section Spacing Mobile */
    .services-modern,
    .about-modern,
    .team-section,
    .faq-section,
    .contact-modern {
        padding: 3rem 0;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        margin: 16px 0 0 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 16px;
        padding: 16px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.2s ease;
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.12),
            0 6px 20px rgba(59, 130, 246, 0.08);
    }
    
    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        max-height: 350px;
    }
    
    .dropdown-arrow {
        font-size: 14px;
        transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.2s ease;
    }
    
    .dropdown.active .dropdown-arrow,
    .dropdown:hover .dropdown-arrow {
        transform: rotate(90deg) scale(1.1);
        color: var(--primary-blue);
    }
    
    .dropdown-menu li {
        margin: 0 0 8px 0;
    }
    
    .dropdown-menu li:last-child {
        margin-bottom: 0;
    }
    
    .dropdown-menu a {
        display: flex;
        align-items: center;
        color: var(--gray-600);
        padding: 16px 18px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 12px;
        transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.2s ease;
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .dropdown-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.4), 
            transparent);
        transition: left 0.6s ease;
    }
    
    .dropdown-menu a::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
            var(--primary-blue) 0%, 
            var(--primary-blue-light) 100%);
        opacity: 0;
        transition: transform 0.15s ease, opacity 0.15s ease;
        border-radius: 12px;
        z-index: -1;
    }
    
    .dropdown-menu a:hover {
        color: var(--white);
        transform: translateX(4px) scale(1.01);
        box-shadow: 
            0 6px 20px rgba(59, 130, 246, 0.3),
            0 3px 10px rgba(59, 130, 246, 0.2);
    }
    
    .dropdown-menu a:hover::before {
        left: 100%;
    }
    
    .dropdown-menu a:hover::after {
        opacity: 1;
    }
    
    
    .dropdown-menu a .menu-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .dropdown-menu a .menu-title {
        font-weight: 500;
        font-size: 14px;
        line-height: 1.2;
        color: var(--gray-700);
    }
    
    .dropdown-menu a .menu-subtitle {
        font-weight: 400;
        font-size: 11px;
        color: var(--gray-500);
        line-height: 1.2;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .login-button {
        width: 32px;
        height: 32px;
        border-radius: 16px;
        font-size: 14px;
    }
    
    .cta-button {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .hero-modern {
        padding: 100px 0 60px;
    }
    
    .hero-highlights {
        margin: 24px 0;
    }
    
    .highlight-item {
        justify-content: center;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-gradient-primary,
    .btn-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card-modern.featured {
        transform: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .contact-feature {
        text-align: center;
        padding: 20px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 14px 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .floating-card,
    .stat-bubble {
        display: none;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .team-member {
        width: 100%;
        max-width: 300px;
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        padding: 24px 16px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .logo h2 {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 4rem !important;
        line-height: 1.1;
        text-align: center;
        margin-bottom: 1.5rem;
        font-weight: 800 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
        padding-left: 0;
    }
    
    .hero-card.main-card {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .section-subtitle {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    
    .section-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 16px;
    }
    
    .service-card-modern h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .service-card-modern p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .feature-item {
        font-size: 13px;
    }
    
    .btn-card,
    .btn-primary-blue,
    .btn-form-submit {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .services-modern,
    .about-modern,
    .contact-modern,
    .faq-section,
    .team-section {
        padding: 50px 0;
    }
    
    .hero-modern {
        padding: 80px 0 50px;
    }
    
    .services-grid {
        gap: 20px;
    }
    
    .feature-grid {
        gap: 20px;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .section-header.centered {
        margin-bottom: 40px;
    }
    
    .about-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-visual {
        order: -1;
    }
    
    .faq-item {
        margin-bottom: 16px;
    }
    
    .footer-content {
        padding-top: 40px;
    }
    
    /* Hide complex animations on mobile for better performance */
    .floating-card,
    .stat-bubble,
    .hero-pattern {
        display: none;
    }
}

/* iPhone SE (320px) - Ultra Compact */
@media only screen and (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 24px;
    }
    
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card-modern {
        padding: 20px;
    }
    
    .btn-card, .btn-primary-blue {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* iPhone 12/13/14 Standard (375px) */
@media only screen and (min-width: 375px) and (max-width: 414px) {
    .navbar {
        padding-top: var(--safe-area-inset-top);
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    
    .service-card-modern {
        padding: 24px;
        margin-bottom: 20px;
    }
    
    .contact-form-modern {
        padding: 24px;
    }
}

/* iPhone Plus/Max Models (414px) */
@media only screen and (min-width: 414px) and (max-width: 480px) {
    .hero-title {
        font-size: 2.6rem;
        margin-bottom: 40px;
    }
    
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card-modern {
        padding: 28px;
    }
}

/* Samsung Galaxy S Series (360px - 412px) */
@media only screen and (min-width: 360px) and (max-width: 412px) {
    .hero-container {
        padding: 0 20px;
    }
    
    
    .nav-menu {
        padding: 20px;
    }
    
    .service-card-modern h3 {
        font-size: 1.3rem;
    }
}

/* Samsung Galaxy Note/Fold (768px+ but mobile) */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large Tablets & Small Desktops (1024px - 1200px) */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-hero {
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop (1200px - 1440px) */
@media only screen and (min-width: 1200px) and (max-width: 1440px) {
    .hero-title {
        font-size: clamp(3.5rem, 5vw, 4.5rem);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* Large Desktop & Ultrawide (1440px+) */
@media only screen and (min-width: 1440px) {
    .hero-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: clamp(4rem, 6vw, 5.5rem);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .about-hero {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Ultra-wide Monitors (1920px+) */
@media only screen and (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-container {
        max-width: 1500px;
    }
    
    .services-grid {
        max-width: 1400px;
    }
}

/* Landscape Orientation Fixes for Phones */
@media only screen and (max-height: 500px) and (orientation: landscape) {
    .hero-modern {
        padding: 40px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .section-header.centered {
        margin-bottom: 30px;
    }
    
    .services-modern,
    .about-modern,
    .contact-modern,
    .faq-section,
    .team-section {
        padding: 40px 0;
    }
}

/* Modern Animated Contact Form */
.modern-contact-form {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.animated-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 0;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    animation: formSlideUp 0.8s ease-out;
}

@keyframes formSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-header-modern {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.05) 100%);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.form-header-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    animation: shimmerLine 3s ease-in-out infinite;
}

.header-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.form-header-modern h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header-modern p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.progress-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    animation: progressFill 2s ease-out 0.5s forwards;
}

@keyframes progressFill {
    to { width: 100%; }
}

.form-grid {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    opacity: 0;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.animate-slide-up {
    animation: slideUpFadeIn 0.6s ease-out forwards;
}

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

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem 0.75rem 0.75rem 0.75rem;
    border: 2px solid rgba(229, 231, 235, 0.8);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    color: #333;
    transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.2s ease;
    position: relative;
    z-index: 2;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.input-group label {
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.2s ease;
    transform-origin: left top;
    z-index: 3;
}

.input-group input:focus + label,
.input-group select:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group select:not([value=""]) + label,
.input-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.5rem) scale(0.85);
    color: #3b82f6;
    font-weight: 500;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.2s ease;
    z-index: 1;
}

.input-group input:focus ~ .input-highlight,
.input-group select:focus ~ .input-highlight,
.input-group textarea:focus ~ .input-highlight {
    width: 100%;
    left: 0;
}

.submit-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
}

.submit-btn {
    position: relative;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-text {
    position: relative;
    z-index: 3;
}

.btn-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 1;
}

.submit-btn:hover .btn-wave {
    width: 300px;
    height: 300px;
}

.btn-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.btn-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.submit-btn:hover .btn-particles span {
    animation: particles 1.5s ease-out infinite;
}

.btn-particles span:nth-child(1) { animation-delay: 0s; }
.btn-particles span:nth-child(2) { animation-delay: 0.2s; }
.btn-particles span:nth-child(3) { animation-delay: 0.4s; }
.btn-particles span:nth-child(4) { animation-delay: 0.6s; }

@keyframes particles {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(var(--random-x, 20px), var(--random-y, -20px)) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--random-x, 40px), var(--random-y, -40px)) scale(0);
    }
}

.submit-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    opacity: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.submit-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
    opacity: 1;
}

.submit-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
    opacity: 1;
}

.form-footer {
    background: rgba(59, 130, 246, 0.05);
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    text-align: center;
}

.quick-contact span {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 25px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.quick-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.animate-pulse {
    animation: gentlePulse 2s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .form-header-modern {
        padding: 1.5rem;
    }
    
    .form-header-modern h3 {
        font-size: 1.5rem;
    }
    
    .submit-btn {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
    }
    
    .quick-links {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .service-icon-modern,
    .feature-icon-modern {
        transform: translateZ(0); /* Hardware acceleration */
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
    
    .hero-background::before,
    .hero-background::after,
    .floating-blob {
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .navbar,
    .hero-background,
    .floating-card,
    .stat-bubble {
        display: none !important;
    }
    
    .hero-title {
        color: black !important;
        background: none !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}