/* 1. RESET & GRUNDSTELLUNG */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Verhindert, dass Elemente aus dem Bild ragen */
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Verhindert das seitliche Wackeln/Scrollen */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    background-color: #fff;
}

/* 2. NAVIGATION (Optimiert für Handy) */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    width: 100%;
}

.navbar .container {
    padding: 0 15px;
    display: flex;
    flex-direction: column; /* Alles untereinander am Handy */
    align-items: center;
    text-align: center;
}

.brand-box {
    margin-bottom: 15px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
}

.sub-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Erlaubt Umbruch, wenn es zu viele Links sind */
    justify-content: center;
    gap: 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 5px 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* 3. HERO & BILDER (Fix für die Logo-Größe) */
.hero {
    background: #f8f9fa;
    padding: 30px 15px;
    text-align: center;
}

.hero img {
    max-width: 250px; /* Logo wird am Handy nicht zu groß */
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 4. CONTENT CONTAINER */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    margin: 30px 0 20px;
    color: #764ba2;
    font-size: 1.8rem;
}

/* 5. SERVICES CARD */
.service-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 5px solid #667eea;
}

/* 6. PREISE */
.price-grid {
    display: flex;
    flex-direction: column; /* Untereinander am Handy */
    gap: 15px;
}

.price-card {
    background: #764ba2;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: bold;
}

/* Das Preis-Bild in der Mitte */
.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
}

/* 7. GALERIE (Fix für die riesigen Badezimmer-Fotos) */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr; /* Eine Spalte am Handy */
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 350px; /* Begrenzt die Höhe der vertikalen Fotos */
    object-fit: cover; /* Schneidet die Bilder schön zu, statt sie zu quetschen */
    border-radius: 10px;
}

/* 8. KONTAKT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.contact-info {
    background: #f1f3f5;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.map-container {
    margin-top: 20px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

/* 9. FOOTER */
.footer {
    background: #212529;
    color: white;
    text-align: center;
    padding: 30px 15px;
    margin-top: 40px;
}

/* 10. ANPASSUNG FÜR PC (Ab 768px Breite) */
@media (min-width: 768px) {
    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .nav-links {
        gap: 20px;
    }

    .price-grid, .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hero img {
        max-width: 350px;
    }
}
