/* 
 * Responsive CSS für die Startseite
 * Erstellt am: 28.07.2025
 * Dieses Stylesheet enthält alle responsiven Anpassungen für die Startseite
 */

/* Allgemeine responsive Anpassungen */
@media (max-width: 991px) {
    .feature-grid {
        gap: 30px !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* Tablets (Portrait) und große Smartphones */
@media (max-width: 768px) {
    .feature-grid {
        flex-direction: column !important;
    }
    
    .feature-container {
        width: 100% !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem !important;
    }
}

/* Smartphones */
@media (max-width: 576px) {
    /* Hero Section Mobile Optimierung */
    .hero {
        height: auto !important;
        min-height: 100vh !important;
        background-position: right center !important;
        background-size: cover !important;
        padding: 40px 0 !important;
        display: flex !important;
        align-items: flex-end !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 20px 15px !important;
        margin: 0 !important;
        background-color: rgba(255, 255, 255, 0.5) !important;
    }
    
    .hero-content h1 {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }
    
    .hero-content p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .hero-buttons a {
        width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        padding: 10px 15px !important;
        font-size: 0.85rem !important;
    }
    
    .feature-grid {
        flex-direction: column !important;
        gap: 50px !important;
    }
    
    .feature-container {
        width: 100% !important;
    }
    
    /* Bild vor Text anzeigen */
    .feature-container {
        flex-direction: column-reverse !important;
    }
    
    .feature-image {
        margin-bottom: 20px !important;
    }
    
    .feature-content h3 {
        font-size: 1.5rem !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Verbesserte Touch-Bedienung */
    .btn, a.btn {
        padding: 12px 20px !important;
        min-height: 44px !important; /* Mindesthöhe für Touch-Targets */
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Verbesserte Abstände für bessere Lesbarkeit */
    section {
        padding: 40px 0 !important;
    }
    
    .container {
        padding: 0 15px !important;
    }
}
