/**
 * Responsive Styles for GaLa-Bau Kiki
 * Mobile-First Approach with Modern Breakpoints
 */

/* ========================================
   Tablet and below (max-width: 992px)
   ======================================== */
@media (max-width: 992px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .logo-img {
        height: 60px;
    }
}

/* ========================================
   Mobile Menu (max-width: 935px)
   ======================================== */
@media (max-width: 935px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
    }
    
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    /* Header Modern - Mobile */
    .header-contact-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .header-contact-bar .contact-item {
        font-size: 0.85rem;
    }
    
    .social-links-header {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .logo-large {
        height: 50px;
    }
    
    .nav-modern {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Footer Modern - Mobile */
    .footer-wave svg {
        height: 50px;
    }
    
    .footer-cta-section {
        padding: 2rem 1.5rem;
    }
    
    .footer-cta-content h2 {
        font-size: 1.75rem;
    }
    
    .footer-cta-content p {
        font-size: 1rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem 0.75rem;
    }

    .footer-legal .separator {
        display: none;
    }

    .footer-legal a {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
    }
    
    /* Hero */
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-content {
        padding: var(--spacing-sm);
    }
    
    /* Hero Modern - Mobile */
    .hero-fullscreen {
        min-height: 70vh;
    }
    
    .hero-title-xl {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-large {
        font-size: 1.1rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-badge {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-page {
        min-height: 300px;
    }
    
    .hero-wave-bottom svg {
        height: 40px;
    }
    
    /* Cards */
    .card-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    /* Service Cards Modern - Mobile */
    .service-card-modern {
        padding: 2rem;
    }

    /* Service Cards Large - Mobile (Leistungen-Seite) */
    .service-card-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .service-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .service-title-wrap {
        width: 100%;
    }

    .service-title-wrap h3 {
        font-size: 1.4rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .service-tagline {
        font-size: 0.95rem;
    }

    .service-card-body {
        padding: 1.5rem;
    }

    .service-features-list li {
        padding: 1rem;
    }

    .service-features-list strong {
        font-size: 1rem;
    }
    
    .service-card-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .service-card-icon {
        font-size: 2rem;
    }
    
    /* Feature Cards Modern - Mobile */
    .feature-number {
        font-size: 3rem;
    }
    
    /* Stats Section - Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    /* Buttons - Mobile */
    .btn-primary-modern,
    .btn-secondary-modern,
    .btn-cta-modern,
    .btn-header-cta,
    .btn-footer-cta,
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    /* Section Titles - Mobile */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    /* Tables */
    .price-table {
        overflow-x: auto;
    }
    
    .price-table table {
        min-width: 500px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: var(--spacing-xs);
    }
    
    /* Slider */
    .slider-container {
        margin: var(--spacing-sm) auto;
    }
    .header-top {
        display: none !important;
    }

    /* Header Modern - Mobile */
    .header-contact-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ========================================
   Small Mobile (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 300px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
        margin-bottom: var(--spacing-xs);
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .price-table th,
    .price-table td {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.875rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    /* Service Cards Large - Small Mobile */
    .service-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .service-title-wrap h3 {
        font-size: 1.25rem;
    }

    .service-tagline {
        font-size: 0.9rem;
    }

    .service-card-body {
        padding: 1rem;
    }

    .service-features-list li {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .slider-button {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .btn,
    .gallery-overlay {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
