/* Mobile-First Optimierungen für IMM Transport */

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Navigation - Mobile Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-secondary);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 2px solid var(--primary-red);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid #2a2a2a;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    /* Logo - Kleiner auf Mobile */
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    /* Hero Section - Mobile optimiert */
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-tag {
        font-size: 0.85rem;
    }
    
    /* Buttons - Größer für Touch */
    .btn-primary {
        padding: 1rem 2rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .section-tag {
        font-size: 0.8rem;
    }
    
    /* Grids - Single Column */
    .why-grid,
    .services-grid,
    .features-grid,
    .trust-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards - Optimiert für Mobile */
    .why-card,
    .service-card,
    .contact-item,
    .trust-item {
        padding: 1.5rem;
    }
    
    .why-icon,
    .service-icon {
        font-size: 2.5rem;
    }
    
    .why-card h3,
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    /* Features - 2 Spalten auf Mobile */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-number {
        font-size: 2rem;
    }
    
    .feature-label {
        font-size: 0.8rem;
    }
    
    /* About Section */
    .about-content p {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 2rem 1.5rem;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Sections - Weniger Padding */
    .services,
    .why-us,
    .features,
    .about,
    .contact,
    .trust {
        padding: 3rem 0;
    }
    
    /* Service Features List */
    .service-features {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Extra kleine Screens */
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .why-card,
    .service-card {
        padding: 1.25rem;
    }
    
    /* Features - Zurück zu 1 Spalte */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-number {
        font-size: 2.5rem;
    }
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 998;
}

.menu-overlay.active {
    display: block;
}

/* Touch-Optimierung */
@media (hover: none) and (pointer: coarse) {
    /* Größere Touch-Targets */
    .nav-links a,
    .btn-primary,
    .contact-item a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Kein Hover auf Touch-Geräten */
    .service-card:hover,
    .why-card:hover,
    .contact-item:hover {
        transform: none;
    }
}
