/* ===== CSS VARIABLES ===== */
:root {
    /* Modern Color Palette */
    --primary: #1881dd;
    --secondary: #37b6fd;
    --dark-blue: #0f0743;
    --accent: #2563eb; /* Changed from yellow to blue */
    --success: #00C851;
    --danger: #FF4444;
    
    /* Neutrals */
    --dark: #1A1A2E;
    --gray-900: #2D3436;
    --gray-800: #4A4E69;
    --gray-700: #636E72;
    --gray-600: #95A5A6;
    --gray-500: #B2BEC3;
    --gray-400: #DFE6E9;
    --gray-300: #F0F3F4;
    --gray-200: #F8F9FA;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary) 100%);
    --gradient-interactive: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); /* Changed to blue gradient */
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --shadow-2xl: 0 24px 64px rgba(0,0,0,0.20);
    
    /* Neumorphism */
    --shadow-neu: 8px 8px 16px rgba(0,0,0,0.08), -8px -8px 16px rgba(255,255,255,0.8);
    --shadow-neu-inset: inset 4px 4px 8px rgba(0,0,0,0.08), inset -4px -4px 8px rgba(255,255,255,0.8);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Animation */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 800ms ease;

    /* Custom Properties for Rail Animation */
    --rail-start: var(--primary);
    --rail-end: var(--secondary);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--gray-200);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #667eea 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    opacity: 0.05;
}

.gradient-bg.services-gradient {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a2f4a 100%);
    background-size: 300% 300%;
    animation: gradientShift 25s ease infinite;
    opacity: 0.95;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



/* ===== NAVIGATION ===== */
/* Main Navigation - Definition moved to menu-styles.css */

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
    position: relative;
}

.main-nav.scrolled .nav-container {
    max-width: 100%;
    padding: 0.75rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.main-nav.scrolled .logo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.logo:hover {
    transform: translateY(-2px);
}

.main-nav.scrolled .logo:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.15);
}

.logo-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.main-nav.scrolled .logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon i {
    font-size: 1.5rem;
    color: var(--white);
    z-index: 2;
    transition: font-size var(--transition-base);
}

.main-nav.scrolled .logo-icon i {
    font-size: 1.25rem;
}

.logo-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white); /* White text on dark background */
    letter-spacing: -0.02em;
    transition: all var(--transition-base);
}

.main-nav.scrolled .logo h1 {
    color: var(--white); /* Keep white on scroll */
    font-size: 1.5rem;
}

.logo h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.5); /* Make it brighter */
}

/* Navigation Menu Wrapper */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-nav.scrolled .nav-menu-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Navigation Menu */
.main-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.menu-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.9); /* White text */
    text-decoration: none;
    font-weight: 500;
    border-radius: 12px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.main-nav.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.main-nav.scrolled .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.main-nav.scrolled .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(55, 182, 253, 0.3);
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary); /* Lighter blue for visibility */
    transition: width var(--transition-base);
    border-radius: 3px;
}

.main-nav.scrolled .nav-indicator {
    background: var(--gradient-primary);
}

.nav-link.active .nav-indicator,
.nav-link:hover .nav-indicator {
    width: 100%;
}

/* CTA Navigation Button */
.cta-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.main-nav.scrolled .cta-nav {
    background: var(--gradient-primary);
    box-shadow: 0 4px 24px rgba(0, 102, 204, 0.3);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.main-nav.scrolled .cta-nav:hover {
    box-shadow: 0 6px 32px rgba(0, 102, 204, 0.4);
}

.glow-effect {
    position: relative;
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.5);
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    filter: blur(20px);
    transition: opacity var(--transition-base);
}

.main-nav.scrolled .glow-effect::before {
    background: var(--gradient-primary);
}

.glow-effect:hover::before {
    opacity: 0.4;
}

/* Mega Menu */
/* Mega Menu - Vollständig definiert in menu-styles.css */

/* Mobile Menu Toggle - Definition moved to menu-styles.css */

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 80px;
    background: var(--gradient-dark); /* Dark background for hero */
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 7, 67, 0.9) 0%, rgba(24, 129, 221, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.badge-icon {
    color: var(--secondary);
    font-size: 1.25rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.gradient-text {
    background: linear-gradient(135deg, #0066cc, #003366);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--white-700);
    margin-top: 0.5rem;
}

/* Floating Elements */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) {
    top: 10%;
    left: -150px;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: -150px;
}

.floating-element:nth-child(3) {
    bottom: 10%;
    left: 50%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #0066cc, #003366);
    border-color: #0066cc;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Button Ripple Effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* ===== SECTIONS ===== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    transform: none !important;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(24, 129, 221, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== TRUST SECTION ===== */
.trust-section {
    background: var(--white);
    padding: 3rem 0;
    box-shadow: var(--shadow-md);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--gray-200);
    transition: all var(--transition-base);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--gray-700);
    font-size: 0.875rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--gray-200);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--gray-200), 0 0 0 6px var(--primary);
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--gray-700);
}

/* Counter Grid */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.counter-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.counter-label {
    font-size: 0.875rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--white);
}

/* ===== SERVICES BENTO GRID - KONSOLIDIERTE VERSION ===== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, minmax(180px, auto));
    gap: 1.5rem;
    grid-auto-rows: auto;
    min-height: 600px;
}

.service-card {
    background: var(--gray-200);
    border-radius: 24px;
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: var(--white);
    border-color: #0066cc;
}

/* ===== INDEX-SEITE SPEZIFISCHE STYLES - ORIGINAL FARBEN WIEDERHERSTELLEN ===== */
/* Desktop & Tablet Service Cards auf Index-Seite */
@media (min-width: 769px) {
    #services .service-card {
        background: white !important;
        border-radius: 20px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    
    #services .service-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
        background: white !important;
        border-color: rgba(24, 129, 221, 0.2) !important;
    }
    
    /* Service Icons für Index-Seite */
    #services .service-icon,
    #services .service-icon-core {
        width: 70px !important;
        height: 70px !important;
        background: var(--gradient-primary) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.8rem !important;
        color: white !important;
        box-shadow: 0 4px 16px rgba(24, 129, 221, 0.3) !important;
        margin-bottom: 1.5rem !important;
        flex-shrink: 0 !important;
    }
    
    /* Service Icon Float für große Karte - wie normale Icons positionieren */
    #services .service-icon-float {
        position: static !important;
        top: auto !important;
        right: auto !important;
        width: 70px !important;
        height: 70px !important;
        z-index: auto !important;
        margin-bottom: 1.5rem !important;
        flex-shrink: 0 !important;
    }
    
    /* Service Icon Float Core */
    #services .service-icon-float .service-icon-core {
        position: static !important;
        margin-bottom: 0 !important;
        animation: none !important;
    }
    
    /* Service Titles für Index-Seite */
    #services .service-card h3 {
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        color: #0f0743 !important;
        line-height: 1.4 !important;
        margin: 0 0 1rem 0 !important;
    }
    
    /* Service Descriptions für Index-Seite */
    #services .service-card p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: #666 !important;
        margin: 0 0 1.5rem 0 !important;
    }
    
    /* Service Features Lists für Index-Seite */
    #services .service-features {
        list-style: none !important;
        padding: 0 !important;
        margin: 1.5rem 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    #services .service-features li {
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        padding: 0.5rem 0 !important;
        font-size: 0.9rem !important;
        color: #333 !important;
        line-height: 1.5 !important;
    }
    
    #services .service-features li i {
        color: #22c55e !important;
        font-size: 0.8rem !important;
        margin-top: 0.1rem !important;
        flex-shrink: 0 !important;
        width: 16px !important;
        text-align: center !important;
    }
    
    /* Service Links für Index-Seite */
    #services .service-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        background: var(--gradient-primary) !important;
        color: white !important;
        padding: 1rem 1.5rem !important;
        border-radius: 12px !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 12px rgba(24, 129, 221, 0.2) !important;
    }
    
    #services .service-link:hover {
        background: linear-gradient(135deg, #0f5cb3 0%, #2a9bfc 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(24, 129, 221, 0.3) !important;
    }
    
    /* Service Hotline für Wide Cards */
    #services .service-hotline {
        background: rgba(24, 129, 221, 0.1) !important;
        color: #1881dd !important;
        padding: 1rem !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        margin-top: 1rem !important;
        border: 1px solid rgba(24, 129, 221, 0.2) !important;
    }
    
    #services .service-hotline i {
        font-size: 1.1rem !important;
        color: #1881dd !important;
        flex-shrink: 0 !important;
    }
    
    /* Blob Container für große Karte */
    #services .blob-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }
    
    #services .blob {
        position: absolute !important;
        width: 200px !important;
        height: 200px !important;
        background: linear-gradient(135deg, rgba(24, 129, 221, 0.1) 0%, rgba(55, 182, 253, 0.05) 100%) !important;
        border-radius: 50% !important;
        filter: blur(40px) !important;
        animation: float 8s ease-in-out infinite !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

/* Service Card Layout Variants */
.service-card.large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    position: relative;
    padding-top: 2rem;
    min-height: 400px;
}

.service-card:nth-of-type(2) { /* Lokrangierfahrten */
    grid-column: 3;
    grid-row: 1;
}

.service-card:nth-of-type(3) { /* Güterbeförderung */
    grid-column: 4;
    grid-row: 1;
}

.service-card:nth-of-type(4) { /* Fahrdienstlotsen */
    grid-column: 3 / 5;
    grid-row: 2;
    min-height: 250px;
}

.service-card.wide { /* 24/7 Service */
    grid-column: 1 / 5;
    grid-row: 3;
    min-height: 200px;
}

/* Ensure content doesn't overflow */
.service-card > * {
    max-width: 100%;
}

/* Spezifisches Top-Padding für die zweite Service-Karte */
#services > div.container > div.services-grid.bento-grid > div:nth-child(2) {
    padding-top: 32px;
}

/* Bento Items für services.html */
.bento-item {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 2;
}

.bento-medium.vertical {
    grid-row: span 2;
}

.bento-small {
    grid-column: span 1;
}

.bento-wide {
    grid-column: span 3;
}

/* ===== RESPONSIVE BENTO GRID ===== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.large,
    .service-card.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    /* Bento Grid mobile - handled in main definition */
    
    .service-card.large,
    .service-card.wide,
    .service-card:nth-of-type(2),
    .service-card:nth-of-type(3),
    .service-card:nth-of-type(4) {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Tablet Layout in allgemeiner Media Query (Zeile 3809+) bereits definiert */

/* ===== CAREER SECTION ===== */
.career-section {
    background: var(--gray-200);
}

.career-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.career-benefits h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2rem;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--gray-700);
    font-size: 0.875rem;
}

.career-positions h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2rem;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

.job-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.job-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.job-info p {
    color: var(--gray-700);
    font-size: 0.875rem;
}

.job-badge {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Mobile optimization for contact content */
@media (max-width: 768px) {
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-form {
        order: 2;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Ensure contact cards stack vertically on mobile */
@media (max-width: 480px) {
    .contact-info {
        gap: 1rem;
    }
    
    .contact-content {
        gap: 1.5rem;
    }
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-200);
    border-radius: 16px;
    transition: all var(--transition-base);
    width: 100%;
}

/* Mobile-specific contact card styling */
@media (max-width: 768px) {
    .contact-card {
        padding: 1.25rem;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1rem;
        gap: 1rem;
        flex-direction: row;
        align-items: center;
    }
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Mobile contact icon sizing */
@media (max-width: 480px) {
    .contact-icon {
        width: 40px;
        height: 40px;
    }
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

@media (max-width: 480px) {
    .contact-icon i {
        font-size: 1rem;
    }
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
    .contact-card h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
}

.contact-card p {
    color: var(--gray-700);
    font-size: 0.875rem;
}

@media (max-width: 480px) {
    .contact-card p {
        font-size: 0.8rem;
    }
}

/* Modern Form */
.modern-form {
    background: var(--gray-200);
    padding: 2rem;
    border-radius: 24px;
}

/* Mobile form styling */
@media (max-width: 768px) {
    .modern-form {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .modern-form {
        padding: 1.25rem;
        border-radius: 12px;
    }
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--gray-700);
    transition: all var(--transition-base);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--gray-200);
    padding: 0 0.5rem;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.btn-submit {
    width: 100%;
    justify-content: center;
}

/* ===== FOOTER ===== */
.modern-footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-certifications {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-certifications img {
    height: 40px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-certifications img:hover {
    opacity: 1;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: #0066cc;
    transform: translateX(5px);
}

.footer-newsletter h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-accent);
    border: none;
    border-radius: 50px;
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: linear-gradient(135deg, #0066cc, #003366);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-copy p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all var(--transition-base);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* ===== ANIMATIONS ===== */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-content,
    .career-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.large,
    .service-card.wide {
        grid-column: span 1;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navigation responsive fixes */
    .nav-menu-wrapper {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient-dark);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu-wrapper.active {
        transform: translateX(0);
    }
    
    .main-menu {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1.125rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero responsive */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title-enhanced {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .hero-stats .stat-suffix {
        font-size: 1.5rem;
    }
    
    /* Bento grid mobile */
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    /* Timeline mobile */
    .timeline-stations {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-track {
        display: none;
    }
    
    /* Service cards mobile */
    .service-card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card-enhanced.reverse .service-card-grid {
        direction: ltr;
    }
    
    .service-number {
        font-size: 3rem;
        opacity: 0.05;
    }
    
    .service-title-enhanced {
        font-size: 1.75rem;
    }
    
    /* Comparison table mobile */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        min-width: 600px;
    }
    
    /* CTA mobile */
    .cta-contact-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Footer mobile */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-certifications {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Hero mobile */
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-quick-access {
        flex-direction: column;
        width: 100%;
    }
    
    .quick-card {
        width: 100%;
        justify-content: center;
    }
    
    /* Buttons mobile */
    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .service-cta-group {
        flex-direction: column;
    }
    
    /* Trust grid mobile */
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    /* Counter grid mobile */
    .counter-grid {
        grid-template-columns: 1fr;
    }
    
    /* Process steps mobile */
    .process-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    /* Service features mobile */
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .matrix-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-cards {
        grid-template-columns: 1fr;
    }
    
    /* Highlights mobile */
    .service-highlights {
        flex-direction: column;
        gap: 0.75rem;
    }
    

    
    /* Section headers mobile */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-title-enhanced {
        font-size: 1.5rem;
    }
    
    /* Timeline mobile specific */
    .timeline-station {
        padding-top: 0;
    }
   
}

/* ===== UTILITIES ===== */
/* Fix timeline animation and add smooth continuous movement */
@keyframes trainMove {
    0% { 
        left: 0%;
        transform: translate(-50%, -50%);
    }
    100% { 
        left: 100%;
        transform: translate(-50%, -50%);
    }
}

.magnetic-hover {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blur-bg {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
} 

.fade-section.in-view { opacity: 1; transform: none; } 

/* Additional navigation transitions */
.main-nav * {
    transition: all var(--transition-base);
}

/* Smooth color transitions for all navigation elements */
.main-nav.scrolled {
    background: rgba(15, 7, 67, 0.95);
}

/* Ensure smooth transitions */
.nav-container,
.logo,
.logo h1,
.logo-icon,
.nav-link,
.nav-indicator,
.cta-nav,
.nav-menu-wrapper,
.mobile-menu-toggle {
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism enhancements */
.main-nav.scrolled .logo,
.main-nav.scrolled .nav-menu-wrapper,
.main-nav.scrolled .nav-link,
.main-nav.scrolled .mobile-menu-toggle {
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shadow depth on hover */
.main-nav.scrolled .logo:hover,
.main-nav.scrolled .nav-link:hover,
.main-nav.scrolled .mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Keep navigation visible on all backgrounds */
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
    .main-nav.scrolled .logo,
    .main-nav.scrolled .nav-menu-wrapper,
    .main-nav.scrolled .nav-link,
    .main-nav.scrolled .mobile-menu-toggle {
        background: rgba(15, 7, 67, 0.8);
    }
}

/* ===== TRAIN TRACK ANIMATION ===== */
.train-track,
.train,
.train::before,
.train::after,
.train-wheels,
.train-wheels::before,
.train-wheels::after,
.train-smoke,
.train-smoke::before,
.train-smoke::after {
    display: none;
}

/* Interactive Gradient Text for Section Headers */
.section-title:hover {
    animation: gradientShift 3s ease infinite;
    transform: scale(1.02);
}

/* Mouse interaction effect */
.interactive-gradient {
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--secondary) 0%,
        var(--primary) 50%,
        var(--dark-blue) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
    pointer-events: none;
    filter: blur(20px);
}

.section-title:hover .interactive-gradient {
    opacity: 0.5;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Train Track Section Indicator */
.section-indicator {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section:hover .section-indicator {
    opacity: 1;
}

/* ===== SERVICES PAGE SPECIFIC STYLES ===== */
/* ... continue with all the service page styles ... */

/* ===== ENHANCED SERVICES PAGE REDESIGN ===== */

/* Enhanced Hero Section */
.hero-services-enhanced {
    min-height: 100vh;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
}

/* Railway Pattern Background */
.railway-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    animation: railwayMove 20s linear infinite;
}

.track-svg {
    width: 100%;
    height: 100%;
}

@keyframes railwayMove {
    from { transform: translateX(0); }
    to { transform: translateX(-100px); }
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 2;
}

/* Hero Content Enhanced */
.hero-content-enhanced {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.badge-icon {
    color: var(--secondary);
    font-size: 1.25rem;
}

/* Hero Title Enhanced */
.hero-title-enhanced {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line-1,
.title-line-2 {
    display: block;
    color: white;
}

.hero-subtitle-enhanced {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--white-700);
    margin-top: 0.5rem;
}

/* Hero Quick Access */
.hero-quick-access {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;

}

.quick-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all var(--transition-base);
}

.quick-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.quick-card.primary {
    background: var(--gradient-primary);
    border: none;
}

.quick-card.primary:hover {
    box-shadow: 0 8px 32px rgba(24, 129, 221, 0.3);
}

/* Floating Service Icons */
.floating-services {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    animation: floatIcon 20s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes floatIcon {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, -50px) rotate(90deg); }
    50% { transform: translate(-50px, 100px) rotate(180deg); }
    75% { transform: translate(50px, 50px) rotate(270deg); }
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; }
.floating-icon:nth-child(2) { top: 40%; right: 30%; animation-delay: 0.5s; }
.floating-icon:nth-child(3) { bottom: 30%; left: 40%; animation-delay: 1s; }

@keyframes pinPulse {
    0%, 100% { transform: rotate(-45deg) scale(1); }
    50% { transform: rotate(-45deg) scale(1.2); }
}

/* Wave Separator Enhanced */
.wave-separator-enhanced {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-separator-enhanced svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Section Header Enhanced */
.section-header-enhanced {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-enhanced {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    color: var(--dark);
}

.title-sub {
        display: block;
    font-size: 0.5em;
    font-weight: 400;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Bento Grid Layout - Konsolidiert oben in Services Section */

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 2;
}

.bento-medium.vertical {
    grid-row: span 2;
}

.bento-small {
    grid-column: span 1;
}

.bento-wide {
    grid-column: span 3;
}

.bento-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.bento-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.bento-content p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.bento-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(24, 129, 221, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    margin: 1rem 0;
}

.bento-highlight i {
    color: var(--primary);
    font-size: 1.25rem;
}

.bento-highlight span {
    color: var(--dark);
    font-weight: 500;
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(24, 129, 221, 0.08);
    color: var(--dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(24, 129, 221, 0.15);
}

.bento-tag i {
    color: var(--primary);
    font-size: 0.875rem;
}

.bento-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(24, 129, 221, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-decoration i {
    font-size: 3rem;
    color: rgba(24, 129, 221, 0.15);
}

.bento-stat-card {
    background: var(--gradient-primary);
    color: white;
}

.bento-stat-card .bento-content {
    justify-content: center;
    align-items: center;
    position: relative;
}

.stat-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.3;
}

.bento-stat-card .stat-value {
    color: white;
    font-size: 3.5rem;
}

.bento-stat-card .stat-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.transport-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: rgba(24, 129, 221, 0.08);
    color: var(--dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid rgba(24, 129, 221, 0.15);
}

.transport-tag:hover {
    background: rgba(24, 129, 221, 0.15);
    transform: translateY(-2px);
}

.transport-tag i {
    color: var(--primary);
}

.eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 12px;
    margin: 1rem 0;
}

.eco-badge i {
    color: #28a745;
    font-size: 1.25rem;
}

.eco-badge span {
    color: #28a745;
    font-weight: 600;
}

.lotse-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.lotse-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.lotse-features i {
    color: var(--primary);
}

.route-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    overflow: hidden;
}

.route-path {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 10%, 
        var(--primary) 90%, 
        transparent 100%);
}

.route-train {
    position: absolute;
    bottom: 10px;
    left: -30px;
    width: 30px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    animation: trainMove 10s linear infinite;
}

@keyframes trainMove {
    from { left: -30px; }
    to { left: calc(100% + 30px); }
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: all var(--transition-fast);
}

.bento-link:hover {
    gap: 0.75rem;
    color: var(--secondary);
}

.bento-item * {
    color: inherit;
}

.bento-item h3,
.bento-item h4,
.bento-item h5 {
    color: var(--dark);
}

.bento-item p,
.bento-item span:not(.stat-value) {
    color: var(--gray-700);
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.bento-item:hover::before {
    transform: scaleX(1);
}

.bento-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(24, 129, 221, 0.1) 10px,
            rgba(24, 129, 221, 0.1) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(24, 129, 221, 0.05) 10px,
            rgba(24, 129, 221, 0.05) 20px
        );
}

/* Bento Icon Styles */
.bento-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(24, 129, 221, 0.2);
}

.bento-icon.mini {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
}

.bento-icon i {
    font-size: 1.75rem;
    color: white;
}

/* Bento Content Horizontal Layout */
.bento-content.horizontal {
        flex-direction: row;
    align-items: center;
    gap: 2rem;
}

/* Bento Features List */
.bento-features {
    list-style: none;
    margin-top: auto;
}

.bento-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--dark);
}

.bento-features i {
    color: var(--success);
    font-size: 0.875rem;
}

/* Benefits Timeline Section */
.benefits-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline-track {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin: 3rem 0;
    position: relative;
}

.timeline-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 100% !important; /* Always show full width */
    transition: none; /* Remove transition since we don't animate anymore */
}


.timeline-stations {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.timeline-station {
    position: relative;
    padding-top: 2rem;
    /* cursor: pointer; */ 
    /* transition: all var(--transition-base); */
}



.timeline-station.active .station-content {
    transform: translateY(-5px);
}


.station-content {
    text-align: center;
    /* transition: all var(--transition-base); */
}

.station-content h3 {
    color: var(--dark);
}

.station-content p {
    color: var(--gray-700);
}

.station-icon {
    width: 80px;
    height: 80px;
    background: rgba(24, 129, 221, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto ;
    font-size: 2rem;
    color: var(--primary);
}

.station-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.station-stats span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.station-stats i {
    color: var(--primary);
}

/* Service Detail Cards Enhanced */
.service-card-enhanced {
    margin-bottom: 6rem;
    position: relative;
}

.service-number {
    position: absolute;
    top: -2rem;
    right: 2rem;
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.1;
    z-index: 1;
}

.service-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-card-enhanced.reverse .service-card-grid {
    direction: rtl;
}

.service-card-enhanced.reverse .service-content-enhanced {
    direction: ltr;
}

.service-visual {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.parallax-image {
    transform: scale(1.1);
}

.image-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(15, 7, 67, 0.8) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-visual:hover .image-overlay-gradient {
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.service-content-enhanced {
    position: relative;
}

.service-content-enhanced h3,
.service-content-enhanced h2 {
    color: var(--dark);
}

.service-content-enhanced p {
    color: var(--gray-700);
}

.service-title-enhanced {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark);
}

.service-icon-inline {
    width: 50px;
    height: 50px;
    background: rgba(24, 129, 221, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.service-intro {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    display: flex;
    gap: 1rem;
}

.feature-card h4 {
    color: var(--dark);
}

.feature-card p {
    color: var(--gray-700);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(24, 129, 221, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.service-process {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.service-process h4 {
    color: var(--dark);
}

.process-steps {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.process-step p {
    color: var(--gray-700);
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 1.25rem;
    width: 1rem;
    height: 2px;
    background: var(--primary);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 700;
}

.service-highlights {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
}

.highlight-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

.service-checklist {
    margin-bottom: 2rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item i {
    color: var(--success);
    margin-top: 0.25rem;
}

.checklist-item span {
    color: var(--gray-700);
}

.service-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.transport-matrix {
    margin-bottom: 2rem;
}

.transport-matrix h4 {
    color: var(--dark);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.matrix-item {
    text-align: center;
        padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all var(--transition-base);
    }
    
.matrix-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
    
.matrix-item i {
        font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.matrix-item h5 {
    color: var(--dark);
}

.matrix-item p {
    color: var(--gray-700);
}

.service-eco-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.service-eco-banner i {
    font-size: 2.5rem;
}

.service-eco-banner h5 {
    color: white;
}

.service-eco-banner p {
    color: white;
}

.service-scenarios {
    margin-bottom: 2rem;
}

.service-scenarios h4 {
    color: var(--dark);
}

.scenario-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.scenario-card {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.scenario-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.scenario-card h5 {
    color: var(--dark);
}

.scenario-card p {
    color: var(--gray-700);
}



/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.comparison-table thead {
    background: var(--gradient-primary);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table td {
    color: var(--dark);
}

.comparison-table i {
    font-size: 1.5rem;
}

.text-success {
    color: var(--success);
}

.text-muted {
    color: #6c757d;
}

.comparison-cta {
    text-align: center;
}

.comparison-cta p {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

/* CTA Section Enhanced */
.cta-section-enhanced {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-background-pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.pattern-line {
    position: absolute;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    animation: patternMove 15s linear infinite;
}

.pattern-line.line-1 {
    top: 20%;
    width: 150%;
    animation-duration: 20s;
}

.pattern-line.line-2 {
    top: 50%;
    width: 200%;
    animation-duration: 25s;
    animation-direction: reverse;
}

.pattern-line.line-3 {
    top: 80%;
    width: 180%;
    animation-duration: 30s;
}

@keyframes patternMove {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.cta-content-enhanced {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.cta-title-enhanced {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.cta-description-enhanced {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.cta-contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-option {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-base);
}

.contact-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-option.primary {
    background: var(--gradient-primary);
    border: none;
}

.option-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.option-content h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.option-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: #f8f9fa;
}

/* Service Stats Overlay */
.service-stats-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
}

.service-stats-overlay .stat {
    text-align: center;
}

.service-stats-overlay .stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
}

.service-stats-overlay .stat-label {
    font-size: 0.875rem;
    color: var(--white-700);
}

/* Transport Routes Overlay */
.transport-routes-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.route-line {
    position: absolute;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
    animation: routeFlow 5s linear infinite;
}

.route-line.route-1 {
    top: 30%;
    left: -100%;
    width: 200%;
    transform: rotate(-15deg);
}

.route-line.route-2 {
    top: 50%;
    left: -100%;
    width: 250%;
    transform: rotate(10deg);
    animation-delay: 1s;
}

.route-line.route-3 {
    top: 70%;
    left: -100%;
    width: 180%;
    transform: rotate(-5deg);
    animation-delay: 2s;
}

@keyframes routeFlow {
    to { transform: translateX(100%) rotate(var(--rotation)); }
}

/* Route Map Overlay */
.route-map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.map-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pinPulse 2s ease-in-out infinite;
}

.map-pin i {
    transform: rotate(45deg);
    color: white;
    font-size: 0.875rem;
}

.map-pin.pin-1 { top: 20%; left: 20%; }
.map-pin.pin-2 { top: 40%; right: 30%; animation-delay: 0.5s; }
.map-pin.pin-3 { bottom: 30%; left: 40%; animation-delay: 1s; }

/* Service Team Info */
.service-team-info {
    background: rgba(24, 129, 221, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.service-team-info h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-team-info p {
    color: var(--gray-700);
}

/* Cert Badges */
.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.cert-badge i {
    color: var(--secondary);
}

/* ===== RESPONSIVE FOR SERVICES PAGE ===== */
@media (max-width: 768px) {
    .hero-badge span {
        font-size: 0.75rem;
    }
    
    .badge-icon {
        font-size: 1rem;
    }
    
    .title-line-1,
    .title-line-2 {
        font-size: 2rem;
    }
    
    .hero-subtitle-enhanced {
        font-size: 1rem;
    }
    
    .quick-card {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .bento-item h3 {
        font-size: 1.25rem;
    }
    
    .bento-item p {
        font-size: 0.875rem;
    }
    
    .station-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-station h3 {
        font-size: 1rem;
    }
    
    .timeline-station p {
        font-size: 0.875rem;
    }
    
    .service-card-grid {
        grid-template-columns: 1fr;
    gap: 2rem;
    }
    
    .service-card-enhanced.reverse .service-card-grid {
        direction: ltr;
    }
    
    .service-number {
        font-size: 3rem;
        opacity: 0.05;
    }
    
    .service-title-enhanced {
        font-size: 1.75rem;
    }
    
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        min-width: 600px;
    }
    
    .cta-contact-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Ensure proper text colors - Additional fixes */
.section-label {
    color: var(--primary);
}

/* Fix the gradient accent color references */
.quick-card.primary {
    background: var(--gradient-primary);
    color: var(--white);
}


/* Remove wave separator styles */
.wave-separator-enhanced,
.wave-separator-enhanced svg,
.wave-path {
    display: none;
}

/* Slim Professional Hero Info Cards */
.hero-info-cards {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateY(-2px);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--secondary);
    transition: all var(--transition-base);
}

.info-card:hover .info-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}

.info-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.125rem;
    font-weight: 400;
}

/* Subtle separator between cards */
.info-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-info-cards {
        gap: 2rem;
    }
    
    .info-card:not(:last-child)::after {
        display: none;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .info-number {
        font-size: 1.25rem;
    }
    
    .info-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-info-cards {
        gap: 1.5rem;
    }
}

/* Desktop Logo Größe */
.logo-svg {
    height: 45px; /* Ändern Sie diesen Wert */
}

/* Mobile Logo Größe */
.mobile-logo-svg {
    height: 35px; /* Ändern Sie diesen Wert */
}

/* Keep navigation visible on all backgrounds */
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
    .main-nav.scrolled .logo,
    .main-nav.scrolled .nav-menu-wrapper,
    .main-nav.scrolled .nav-link {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    /* Mobile menu toggle keeps its own glassmorphism settings */
}

/* Adjust for tablet screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 Spalten für Tablet */
        grid-template-rows: repeat(3, minmax(200px, auto));
        gap: 1.25rem;
        min-height: 600px;
    }
    
    .service-card {
        padding: 1.75rem;
        min-height: 260px;
    }
    
    .service-card.large {
        grid-column: 1 / 3; /* Erste zwei Spalten */
        grid-row: 1 / 3; /* Erste zwei Reihen */
        min-height: 380px;
    }
    
    .service-card:nth-of-type(2) { /* Lokrangierfahrten */
        grid-column: 3;
        grid-row: 1;
    }
    
    .service-card:nth-of-type(3) { /* Güterbeförderung */
        grid-column: 3;
        grid-row: 2;
    }
    
    .service-card:nth-of-type(4) { /* Fahrdienstlotsen */
        grid-column: 1 / 3; /* Erste zwei Spalten */
        grid-row: 3;
        min-height: 220px;
    }
    
    .service-card.wide { /* 24/7 Service */
        grid-column: 3; /* Letzte Spalte */
        grid-row: 3;
        min-height: 220px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
}

/* ===== MODERN CONTACT CARDS REDESIGN ===== */
#contact > div.container > div.contact-content > div > div:nth-child(1),
#contact > div.container > div.contact-content > div > div:nth-child(2),
#contact > div.container > div.contact-content > div > div:nth-child(3) {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 200px;
}

/* Hover Effects */
#contact > div.container > div.contact-content > div > div:nth-child(1):hover,
#contact > div.container > div.contact-content > div > div:nth-child(2):hover,
#contact > div.container > div.contact-content > div > div:nth-child(3):hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: rgba(24, 129, 221, 0.2);
}

/* Top Accent Line */
#contact > div.container > div.contact-content > div > div:nth-child(1)::before,
#contact > div.container > div.contact-content > div > div:nth-child(2)::before,
#contact > div.container > div.contact-content > div > div:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

#contact > div.container > div.contact-content > div > div:nth-child(1):hover::before,
#contact > div.container > div.contact-content > div > div:nth-child(2):hover::before,
#contact > div.container > div.contact-content > div > div:nth-child(3):hover::before {
    transform: scaleX(1);
}

/* Icon Styling - Enhanced */
#contact > div.container > div.contact-content > div > div:nth-child(1) .contact-icon,
#contact > div.container > div.contact-content > div > div:nth-child(2) .contact-icon,
#contact > div.container > div.contact-content > div > div:nth-child(3) .contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(24, 129, 221, 0.25);
    transition: all var(--transition-base);
    position: relative;
}

/* Icon Hover Animation */
#contact > div.container > div.contact-content > div > div:nth-child(1):hover .contact-icon,
#contact > div.container > div.contact-content > div > div:nth-child(2):hover .contact-icon,
#contact > div.container > div.contact-content > div > div:nth-child(3):hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(24, 129, 221, 0.35);
}

/* Icon Font Size */
#contact > div.container > div.contact-content > div > div:nth-child(1) .contact-icon i,
#contact > div.container > div.contact-content > div > div:nth-child(2) .contact-icon i,
#contact > div.container > div.contact-content > div > div:nth-child(3) .contact-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

/* Titles */
#contact > div.container > div.contact-content > div > div:nth-child(1) h3,
#contact > div.container > div.contact-content > div > div:nth-child(2) h3,
#contact > div.container > div.contact-content > div > div:nth-child(3) h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    transition: color var(--transition-base);
}

/* Content Text */
#contact > div.container > div.contact-content > div > div:nth-child(1) p,
#contact > div.container > div.contact-content > div > div:nth-child(2) p,
#contact > div.container > div.contact-content > div > div:nth-child(3) p {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-weight: 500;
    transition: color var(--transition-base);
}

#contact > div.container > div.contact-content > div > div:nth-child(1) p:last-child,
#contact > div.container > div.contact-content > div > div:nth-child(2) p:last-child,
#contact > div.container > div.contact-content > div > div:nth-child(3) p:last-child {
    margin-bottom: 0;
}

/* Hover Text Color Changes */
#contact > div.container > div.contact-content > div > div:nth-child(1):hover h3,
#contact > div.container > div.contact-content > div > div:nth-child(2):hover h3,
#contact > div.container > div.contact-content > div > div:nth-child(3):hover h3 {
    color: var(--primary);
}

/* Background Pattern */
#contact > div.container > div.contact-content > div > div:nth-child(1)::after,
#contact > div.container > div.contact-content > div > div:nth-child(2)::after,
#contact > div.container > div.contact-content > div > div:nth-child(3)::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(24, 129, 221, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.6s ease;
}

#contact > div.container > div.contact-content > div > div:nth-child(1):hover::after,
#contact > div.container > div.contact-content > div > div:nth-child(2):hover::after,
#contact > div.container > div.contact-content > div > div:nth-child(3):hover::after {
    transform: scale(1.5);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    #contact > div.container > div.contact-content > div > div:nth-child(1),
    #contact > div.container > div.contact-content > div > div:nth-child(2),
    #contact > div.container > div.contact-content > div > div:nth-child(3) {
        padding: 1.75rem 1.25rem;
        min-height: 180px;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) .contact-icon,
    #contact > div.container > div.contact-content > div > div:nth-child(2) .contact-icon,
    #contact > div.container > div.contact-content > div > div:nth-child(3) .contact-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
        margin-bottom: 1.25rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) .contact-icon i,
    #contact > div.container > div.contact-content > div > div:nth-child(2) .contact-icon i,
    #contact > div.container > div.contact-content > div > div:nth-child(3) .contact-icon i {
        font-size: 1.5rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) h3,
    #contact > div.container > div.contact-content > div > div:nth-child(2) h3,
    #contact > div.container > div.contact-content > div > div:nth-child(3) h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) p,
    #contact > div.container > div.contact-content > div > div:nth-child(2) p,
    #contact > div.container > div.contact-content > div > div:nth-child(3) p {
        font-size: 0.95rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    #contact > div.container > div.contact-content > div > div:nth-child(1),
    #contact > div.container > div.contact-content > div > div:nth-child(2),
    #contact > div.container > div.contact-content > div > div:nth-child(3) {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        min-height: 160px;
        border-radius: 16px;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1):hover,
    #contact > div.container > div.contact-content > div > div:nth-child(2):hover,
    #contact > div.container > div.contact-content > div > div:nth-child(3):hover {
        transform: translateY(-5px);
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) .contact-icon,
    #contact > div.container > div.contact-content > div > div:nth-child(2) .contact-icon,
    #contact > div.container > div.contact-content > div > div:nth-child(3) .contact-icon {
        width: 55px;
        height: 55px;
        border-radius: 14px;
        margin-bottom: 1rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) .contact-icon i,
    #contact > div.container > div.contact-content > div > div:nth-child(2) .contact-icon i,
    #contact > div.container > div.contact-content > div > div:nth-child(3) .contact-icon i {
        font-size: 1.4rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) h3,
    #contact > div.container > div.contact-content > div > div:nth-child(2) h3,
    #contact > div.container > div.contact-content > div > div:nth-child(3) h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) p,
    #contact > div.container > div.contact-content > div > div:nth-child(2) p,
    #contact > div.container > div.contact-content > div > div:nth-child(3) p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    #contact > div.container > div.contact-content > div > div:nth-child(1),
    #contact > div.container > div.contact-content > div > div:nth-child(2),
    #contact > div.container > div.contact-content > div > div:nth-child(3) {
        padding: 1.25rem 0.75rem;
        min-height: 140px;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) .contact-icon,
    #contact > div.container > div.contact-content > div > div:nth-child(2) .contact-icon,
    #contact > div.container > div.contact-content > div > div:nth-child(3) .contact-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 0.75rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) .contact-icon i,
    #contact > div.container > div.contact-content > div > div:nth-child(2) .contact-icon i,
    #contact > div.container > div.contact-content > div > div:nth-child(3) .contact-icon i {
        font-size: 1.25rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) h3,
    #contact > div.container > div.contact-content > div > div:nth-child(2) h3,
    #contact > div.container > div.contact-content > div > div:nth-child(3) h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    #contact > div.container > div.contact-content > div > div:nth-child(1) p,
    #contact > div.container > div.contact-content > div > div:nth-child(2) p,
    #contact > div.container > div.contact-content > div > div:nth-child(3) p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
}

/* ===== MODERN CONTACT FORM REDESIGN ===== */

/* Enhanced Modern Form Container */
.modern-form {
    background: var(--white);
    padding: 0;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

/* Form Header Section */
.form-header {
    background: var(--gradient-dark);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -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;
}

.form-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
    position: relative;
    z-index: 2;
}

.form-icon:hover {
    transform: scale(1.05) rotate(5deg);
}

.form-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.form-header p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Form Body */
.modern-form .form-group {
    position: relative;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.modern-form .form-group:first-of-type {
    margin-top: 2rem;
}

.modern-form .form-group input,
.modern-form .form-group select,
.modern-form .form-group textarea {
    width: 100%;
    padding: 1.25rem 1rem;
    background: var(--gray-200);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
    color: var(--dark);
}

.modern-form .form-group input:focus,
.modern-form .form-group select:focus,
.modern-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(24, 129, 221, 0.1);
    transform: translateY(-2px);
}

.modern-form .form-group label {
    position: absolute;
    left: 3rem;
    top: 1.25rem;
    color: var(--gray-700);
    transition: all var(--transition-base);
    pointer-events: none;
    font-weight: 500;
}

.modern-form .form-group input:focus + label,
.modern-form .form-group input:not(:placeholder-shown) + label,
.modern-form .form-group textarea:focus + label,
.modern-form .form-group textarea:not(:placeholder-shown) + label,
.modern-form .form-group select:focus + label,
.modern-form .form-group select:not([value=""]) + label {
    top: -0.75rem;
    left: 2.75rem;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--white);
    padding: 0 0.5rem;
    font-weight: 600;
}

.modern-form .form-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width var(--transition-base);
    border-radius: 3px;
}

.modern-form .form-group input:focus ~ .form-line,
.modern-form .form-group textarea:focus ~ .form-line,
.modern-form .form-group select:focus ~ .form-line {
    width: calc(100% - 4rem);
}

/* Contact Info Reminder Section */
.form-contact-info {
    background: rgba(24, 129, 221, 0.05);
    border-left: 4px solid var(--primary);
    margin: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-reminder {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    font-size: 0.9rem;
}

.contact-reminder i {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.contact-reminder strong {
    color: var(--primary);
    font-weight: 600;
}

/* Submit Button Enhancement */
.modern-form .btn-submit {
    width: calc(100% - 4rem);
    margin: 0 2rem 2rem;
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(24, 129, 221, 0.25);
}

.modern-form .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(24, 129, 221, 0.35);
    background: linear-gradient(135deg, #0066cc, #003366);
}

.modern-form .btn-submit:active {
    transform: translateY(-1px);
}

/* ===== RESPONSIVE CONTACT FORM ===== */

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .form-header {
        padding: 2rem 1.5rem 1.75rem;
    }
    
    .form-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .form-header p {
        font-size: 0.95rem;
    }
    
    .modern-form .form-group {
        padding: 0 1.5rem;
        margin-bottom: 1.75rem;
    }
    
    .modern-form .form-group:first-of-type {
        margin-top: 1.75rem;
    }
    
    .form-contact-info {
        margin: 1.5rem;
        padding: 1.25rem;
    }
    
    .modern-form .btn-submit {
        width: calc(100% - 3rem);
        margin: 0 1.5rem 1.5rem;
        padding: 1.1rem;
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .modern-form {
        border-radius: 16px;
    }
    
    .form-header {
        padding: 1.75rem 1rem 1.5rem;
        border-radius: 16px 16px 0 0;
    }
    
    .form-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 1rem;
        border-radius: 14px;
    }
    
    .form-header h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .modern-form .form-group {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .modern-form .form-group:first-of-type {
        margin-top: 1.5rem;
    }
    
    .modern-form .form-group input,
    .modern-form .form-group select,
    .modern-form .form-group textarea {
        padding: 1.1rem 0.875rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .modern-form .form-group label {
        left: 1.875rem;
        top: 1.1rem;
        font-size: 0.95rem;
    }
    
    .modern-form .form-group input:focus + label,
    .modern-form .form-group input:not(:placeholder-shown) + label,
    .modern-form .form-group textarea:focus + label,
    .modern-form .form-group textarea:not(:placeholder-shown) + label,
    .modern-form .form-group select:focus + label,
    .modern-form .form-group select:not([value=""]) + label {
        left: 1.75rem;
        font-size: 0.7rem;
    }
    
    .modern-form .form-line {
        width: 0;
    }
    
    .modern-form .form-group input:focus ~ .form-line,
    .modern-form .form-group textarea:focus ~ .form-line,
    .modern-form .form-group select:focus ~ .form-line {
        width: calc(100% - 2rem);
    }
    
    .form-contact-info {
        margin: 1rem;
        padding: 1rem;
        border-radius: 10px;
    }
    
    .contact-reminder {
        gap: 0.5rem;
        font-size: 0.85rem;
    }
    
    .contact-reminder i {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .modern-form .btn-submit {
        width: calc(100% - 2rem);
        margin: 0 1rem 1rem;
        padding: 1rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .form-header {
        padding: 1.5rem 0.75rem 1.25rem;
        border-radius: 16px 16px 0 0;
    }
    
    .form-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        border-radius: 12px;
    }
    
    .form-header h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .form-header p {
        font-size: 0.85rem;
    }
    
    .modern-form .form-group {
        padding: 0 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .form-contact-info {
        margin: 0.75rem;
        padding: 0.875rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-reminder {
        font-size: 0.8rem;
    }
    
    .modern-form .btn-submit {
        width: calc(100% - 1.5rem);
        margin: 0 0.75rem 0.75rem;
        padding: 0.875rem;
        font-size: 0.9rem;
    }
}

/* Spezifisches Margin für das zweite Formular-Element */
#contact > div.container > div.contact-content > form > div:nth-child(2) {
    margin-top: 32px;
}

/* ===== CONTACT PAGE SPECIFIC STYLES ===== */

/* Contact Hero Section */
.hero-contact {
    background: var(--gradient-dark);
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(24, 129, 221, 0.1) 0%, transparent 70%);
}

.hero-contact .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-contact .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-contact .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Contact Info Section */
.contact-info-section {
    padding: 5rem 0;
    background: var(--gray-200);
    position: relative;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(24, 129, 221, 0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(24, 129, 221, 0.2);
}

.contact-card.primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.contact-card.primary::before {
    background: var(--white);
}

.contact-card.primary .contact-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.contact-card.primary h3,
.contact-card.primary p {
    color: var(--white);
}

.contact-card.primary .contact-highlight {
    color: var(--white) !important;
    font-weight: 700;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(24, 129, 221, 0.25);
    transition: all var(--transition-base);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(24, 129, 221, 0.35);
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    transition: color var(--transition-base);
}

.contact-card:hover h3 {
    color: var(--primary);
}

.contact-card.primary:hover h3 {
    color: var(--white);
}

.contact-highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

.form-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.form-benefits {
    margin-bottom: 2.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.benefit i {
    color: var(--success);
    font-size: 1.1rem;
}

.direct-contacts h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.direct-contact-item {
    background: var(--gray-200);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.direct-contact-item strong {
    color: var(--dark);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.direct-contact-item p {
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

/* Modern Form Styles */
.modern-form {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(24, 129, 221, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 0 0.5rem;
    border: none;
    border-bottom: 2px solid var(--gray-400);
    background: transparent;
    font-size: 1rem;
    color: var(--dark);
    transition: all var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--primary);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1rem;
    color: var(--gray-600);
    transition: all var(--transition-base);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: 0;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line {
    width: 100%;
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary);
}

.btn-submit {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    box-shadow: 0 8px 24px rgba(24, 129, 221, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(24, 129, 221, 0.4);
}

/* Map Section */
.map-section {
    padding: 0;
    position: relative;
}

.map-container {
    height: 750px;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    filter: grayscale(20%) contrast(1.2);
    border-radius: 0;
}

/* Quick Response Section */
.quick-response-section {
    padding: 5rem 0;
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
}

.quick-response-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.quick-response-section .container {
    position: relative;
    z-index: 2;
}

.quick-response-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}


.response-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.response-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-base);
}

.response-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.region-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(24, 129, 221, 0.3);
}

.response-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.response-time {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.response-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-contact {
        min-height: 50vh;
        padding: 4rem 0 2rem;
    }
    
    .hero-contact .hero-content {
        padding: 0 1rem;
    }
    
    .hero-contact .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-contact .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info-section,
    .contact-form-section,
    .quick-response-section {
        padding: 3rem 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-grid {
        padding: 0 1rem;
    }
    
    .modern-form {
        padding: 2rem 1.5rem;
    }
    
    .response-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .response-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-contact .hero-title {
        font-size: 2rem;
    }
    
    .hero-contact .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .form-info h2 {
        font-size: 2rem;
    }
    
    .modern-form {
        padding: 1.5rem 1rem;
    }
    
    .response-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================
   RAILWAY MAP SECTION
================================= */

.railway-map-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.railway-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(24, 129, 221, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(24, 129, 221, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.railway-map-section .container {
    position: relative;
    z-index: 1;
}

.map-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.map-top-section {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.interactive-map {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary);
    animation: trainMove 2s infinite linear;
}

@keyframes trainMove {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}





.map-controls {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.6);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.control-section {
    margin-bottom: 1.5rem;
}

.control-section:last-child {
    margin-bottom: 0;
}

.control-section strong {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-size: 0.875rem;
    font-weight: 600;
}

.control-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background: var(--light);
    border: 2px solid #d1d5db;
    border-radius: 8px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.control-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.control-button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.control-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--dark);
}

.control-section input[type="range"] {
    width: 100%;
    margin-top: 0.5rem;
    accent-color: var(--primary);
    height: 4px;
    border-radius: 2px;
    background: var(--light);
    outline: none;
}

.control-section input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.control-section input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.map-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(24, 129, 221, 0.1) 0%, rgba(24, 129, 221, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scale(1.05);
}

.info-card:hover .info-icon i {
    color: white;
}

.info-card h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.info-card p {
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.contact-section.gray-background {
    background: #f8fafc;
}

.contact-section.gray-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(24, 129, 221, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(24, 129, 221, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.contact-section.gray-background .container {
    position: relative;
    z-index: 1;
}

.custom-tooltip {
    background: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.875rem !important;
}

.custom-popup .leaflet-popup-content-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
}

.custom-popup .leaflet-popup-tip {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.loading-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--red);
}

.loading-error i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.loading-error p {
    margin: 0;
    font-weight: 500;
}

/* Leaflet Custom Styles */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
}

.leaflet-control-attribution a {
    color: var(--primary) !important;
    text-decoration: none !important;
}

.leaflet-control-attribution a:hover {
    text-decoration: underline !important;
}

.leaflet-control-zoom {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: none !important;
    color: var(--dark) !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.leaflet-control-zoom a:hover {
    background: var(--primary) !important;
    color: white !important;
}

.leaflet-control-scale {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
    color: var(--dark) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .map-top-section {
        grid-template-columns: 1fr 300px;
        gap: 1.5rem;
    }
    
    .map-info {
        gap: 1rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    

}

@media (max-width: 1024px) {
    .map-top-section {
        grid-template-columns: 1fr 280px;
    }
    
    .interactive-map {
        height: 350px;
    }
    
    .map-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .info-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .info-icon {
        margin: 0 auto 1rem;
    }
    
    .info-card h4 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.4;
    }
    

}

@media (max-width: 768px) {
    .railway-map-section {
        padding: 2rem 0;
        min-height: auto;
        height: auto;
    }
    
    .map-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        height: auto;
        min-height: auto;
    }
    
    .map-top-section {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        height: auto;
        min-height: auto;
    }
    
    .interactive-map {
        height: 500px;
        flex-shrink: 0;
    }
    
    .map-controls {
        position: static;
        top: auto;
        order: 2;
        flex-shrink: 0;
    }
    
    .map-info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        order: 3;
        height: auto;
        min-height: auto;
        flex-shrink: 0;
    }
    
    .info-card {
        padding: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin: 0 auto 0.75rem;
    }
    
    .info-icon i {
        font-size: 1.2rem;
    }
    
    .info-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
        font-weight: 700;
    }
    
    .info-card p {
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.3;
    }
    

}

@media (max-width: 480px) {
    .railway-map-section {
        padding: 1.5rem 0;
        min-height: auto;
        height: auto;
    }
    
    .map-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: auto;
        min-height: auto;
    }
    
    .map-top-section {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: auto;
        min-height: auto;
    }
    
    .interactive-map {
        height: 440px;
        flex-shrink: 0;
    }
    
    .map-controls {
        padding: 0.75rem;
        flex-shrink: 0;
    }
    
    .control-button {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        margin-right: 0.25rem;
        margin-bottom: 0.25rem;
    }
    
    .map-info {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        height: auto;
        min-height: auto;
        flex-shrink: 0;
    }
    
    .info-card {
        padding: 0.75rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        border-radius: 10px;
        margin: 0 auto 0.5rem;
    }
    
    .info-icon i {
        font-size: 1.1rem;
    }
    
    .info-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        font-weight: 700;
    }
    
    .info-card p {
        font-size: 0.75rem;
        margin: 0;
        line-height: 1.2;
    }
    

}

/* Sehr kleine Handys */
@media (max-width: 360px) {
    .railway-map-section {
        padding: 1rem 0;
        min-height: auto;
        height: auto;
    }
    
    .map-container {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        height: auto;
        min-height: auto;
    }
    
    .map-top-section {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: auto;
        min-height: auto;
    }
    
    .interactive-map {
        height: 400px;
        flex-shrink: 0;
    }
    
    .map-controls {
        padding: 0.5rem;
        flex-shrink: 0;
    }
    
    .control-button {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        margin-right: 0.2rem;
        margin-bottom: 0.2rem;
    }
    
    .map-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        height: auto;
        min-height: auto;
        flex-shrink: 0;
    }
    
    .info-card {
        padding: 0.5rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        margin: 0 auto 0.4rem;
    }
    
    .info-icon i {
        font-size: 1rem;
    }
    
    .info-card h4 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .info-card p {
        font-size: 0.7rem;
        line-height: 1.1;
    }
}

/* ===== SECTION HEADERS WITH INTERACTIVE GRADIENTS ===== */

/* Enhanced gradient text with Apple-style animation */
.gradient-text {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 25%,
        var(--primary) 50%,
        var(--secondary) 75%,
        var(--primary) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    animation: appleGradientFlow 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Apple-inspired interactive section titles */
.section-title {
    position: relative;
    color: var(--dark-blue);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Apple's preferred easing */
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Active state with direct font gradient - Apple style */
.section-title.mouse-active {
    background: radial-gradient(
        circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--secondary) 0%,
        var(--primary) 20%,
        var(--secondary) 40%,
        var(--primary) 60%,
        var(--secondary) 80%,
        var(--dark-blue) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Touch optimization for mobile devices */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Enhanced mobile touch experience */
@media (hover: none) and (pointer: coarse) {
    .section-title.mouse-active {
        /* Larger gradient radius for finger interaction - FONT ONLY */
        background: radial-gradient(
            circle 320px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            var(--secondary) 0%,
            var(--primary) 20%,
            var(--secondary) 40%,
            var(--primary) 60%,
            var(--secondary) 80%,
            var(--dark-blue) 100%
        );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        
        /* Faster transitions for touch responsiveness */
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    /* Touch-specific scale feedback */
    .section-title {
        transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
    }
}

/* Gradient text styling for highlighted spans */
.section-title .gradient-text {
    position: relative;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 25%,
        var(--primary) 50%,
        var(--secondary) 75%,
        var(--primary) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: appleGradientFlow 4s ease-in-out infinite;
    z-index: 2;
}

/* Apple-inspired gradient animation */
@keyframes appleGradientFlow {
    0%, 100% { 
        background-position: 0% 50%; 
        filter: hue-rotate(0deg);
    }
    25% { 
        background-position: 100% 25%; 
        filter: hue-rotate(5deg);
    }
    50% { 
        background-position: 100% 75%; 
        filter: hue-rotate(0deg);
    }
    75% { 
        background-position: 0% 75%; 
        filter: hue-rotate(-5deg);
    }
}

/* Removed legacy h2 .gradient-text rules - now handled by unified .gradient-text styling */

/* Remove old gradientShift - replaced by appleGradientFlow */
