/* Allgemeine Gestaltung des Körpers */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    background: #f4f6f8;
    color: #222;
    line-height: 1.6; /* Bessere Lesbarkeit */
}

/* Header Design */
.header {
    background: #232f3e;
    color: #fff;
    padding: 1rem 0; /* Mehr vertikaler Abstand für den Header */
}

/* Flexbox Layout für Header */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo-Bild und Logo */
.logo-img {
    height: 60px;
    margin-right: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Logo Text-Stil */
.logo {
    margin: 0;
    font-size: 2.5rem; /* Etwas größere Schrift für mehr Präsenz */
    font-weight: 700;
    letter-spacing: 2px;
    flex: 1;
}

/* Container Styling für bessere Struktur */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Navigation Styling */
.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-list a:hover {
    color: #ff9900;
    transform: scale(1.1); /* Leichter Zoom-Effekt für Interaktivität */
}

/* Hero-Section Design */
.hero {
    /* Verlauf bleibt, wie gewünscht */
    background: linear-gradient(90deg, #232f3e 60%, #ff9900 100%);
    color: #fff; /* Betrifft den <p> Text */
    padding: 3rem 0 2rem 0;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: #ff9900;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem; /* Größere Schaltfläche für bessere Klickbarkeit */
    font-weight: 700;
    text-decoration: none;
    margin-top: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #e68a00;
    transform: scale(1.05); /* Leichter Zoom-Effekt beim Hover */
}

/* Service-Karten Design */
.services {
    padding: 3rem 0; /* Mehr Abstand oben und unten */
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1.5rem;
    width: 260px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-5px); /* Kleine Verschiebung beim Hover */
}

/* Sektionen: About, Contact und Appointment */
.about, .contact, .appointment {
    padding: 2rem 0;
}

/* Wichtig: H2 Standardfarbe auf dunkel setzen (für "Unsere Garagengalerie") */
h2 {
    font-size: 2.5rem; /* Etwas größere Schrift für die Überschrift */
    margin-bottom: 1.5rem;
    color: #232f3e; /* Standardfarbe jetzt dunkel */
}

/* Wichtig: H2 Farbe für den HERO-Bereich auf weiß setzen (mit Schatten für Lesbarkeit) */
.hero h2 {
    color: #ffffff; /* Text bleibt weiß, wie gewünscht */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Schatten, damit man den Text auf Orange sieht */
}

/* Formular-Gruppe und Eingabefelder */
.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem; /* Etwas mehr Polsterung für die Felder */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input:focus, textarea:focus {
    border-color: #ff9900; /* Fokus-Effekt für Eingabefelder */
}

textarea {
    min-height: 80px;
    resize: vertical;
}

/* Footer Design */
.footer {
    background: #232f3e;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 1.1rem; /* Etwas größere Schrift für den Footer */
}

/* Gallery Styling: Entfernen von Rändern und Schatten */
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding-top: 20px;
}

.photo-gallery img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: none;
    border: none;
}

/* Lightbox Styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.lightbox-content {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
}
.lightbox-controls {
    margin-top: 10px;
    display: flex;
    gap: 30px;
    justify-content: center;
}
.lightbox-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0 20px;
    transition: color 0.2s;
}
.lightbox-controls button:hover {
    color: #ff9900;
}

/* ======================================= */
/* MEDIENABFRAGEN FÜR MOBILEN SUPPORT */
/* ======================================= */

@media (max-width: 800px) {
    /* Allgemein */
    .container {
        width: 95%; /* Etwas mehr Rand auf kleinen Geräten */
    }

    /* Header Anpassungen */
    .header-flex {
        /* Zentrierung und Ausrichtung des Logos beibehalten, Navigation wird später ausgeblendet */
        justify-content: space-between;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo {
        font-size: 2rem;
    }

    /* Navigation ausblenden (für ein Burger-Menü-Ansatz) */
    .nav-list {
        display: none;
    }
    
    /* Hero-Sektion Anpassungen */
    .hero {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    h2 {
        font-size: 2rem;
    }

    /* Service-Karten (falls vorhanden) */
    .service-cards {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .card {
        width: 90%;
        max-width: 350px;
    }

    /* Fotogalerie Anpassungen für kleinere Bildschirme */
    .photo-gallery {
        gap: 10px;
    }
    
    .photo-gallery img {
        width: 45%; /* Bilder in zwei Spalten anordnen */
        height: auto;
    }
}

@media (max-width: 500px) {
    /* Sehr kleine Bildschirme - Galerie auf Einzelspalte umstellen */
    .photo-gallery img {
        width: 90%; /* Bilder über fast die volle Breite strecken */
        height: auto;
    }
}
