@media (max-width: 768px) {
    /* 1. Header & Navigation luftig untereinander platzieren */
    .main-header {
        position: absolute; /* Bleibt auf Home transparent über dem Hintergrund */
        flex-direction: column !important;
        gap: 20px !important;
        padding: 25px 20px !important;
        text-align: center;
        background: transparent; /* Verhindert den schwarzen Balken auf Home */
    }

    /* Kopierte Farbe von Leistungen: Jetzt auf allen Unterseiten mobil BLAU gefärbt */
    .main-header.static-header {
        position: static !important;
        background-color: #008ec6 !important; /* Geändert von #111111 auf #008ec6 */
    }

    .navigation ul {
        justify-content: center !important;
        gap: 15px 25px !important; /* Verhindert, dass Menüpunkte zusammenquetschen */
        flex-wrap: wrap;
    }

    /* 2. Hero-Bereich (Startseite) entlasten */
    .hero-section {
        padding: 60px 20px !important;
        height: auto !important;
        min-height: calc(100vh - 150px);
    }

    .hero-content h1 {
        font-size: 2.3rem !important;
        margin-bottom: 20px !important; /* Abstand nach unten zur Beschreibung */
    }

    .hero-content p {
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important; /* Abstand zum Button */
    }

    /* 3. Kontaktseite entquetschen (Logo & Text trennen) */
    .contact-top-wrapper {
        flex-direction: column-reverse !important; 
        align-items: center !important;
        gap: 40px !important; /* Zieht Text und das runde Logo weit genug auseinander */
        text-align: center;
        margin-bottom: 40px !important;
    }

    .contact-title {
        font-size: 2.2rem !important;
        margin-bottom: 20px !important;
    }

    /* 4. Formularfelder mit großzügigem Abstand */
    .form-row-triple {
        flex-direction: column !important;
        gap: 25px !important; /* Erhöhter Abstand zwischen Name, E-Mail und Telefon */
    }

    /* 5. Abstand für Inhaltsbereiche */
    .about-section, .services-section {
        padding: 80px 20px 60px 20px !important; /* Verhindert, dass Texte an den Displayrand klatschen */
    }
}

/* ==========================================================================
   1. Grundaufbau & Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    background-color: #111111;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. Header & Navigation (Menü LINKS, Schrift-Logo RECHTS)
   ========================================================================== */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex !important;
    flex-direction: row !important; 
    justify-content: space-between !important; 
    align-items: center;
    padding: 30px 50px;
    z-index: 10;
}

.logo {
    color: #ffffff !important;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
    order: 2 !important; 
    text-align: right;   
}

.navigation {
    order: 1 !important; 
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.navigation ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navigation ul li a:hover, 
.navigation ul li a.active {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 4px;
}

/* Spezial-Header für die rein blaue Leistungsseite */
.static-header {
    position: relative;
    background-color: #008ec6 !important;
}

.page-padding {
    padding-top: 40px;
}

/* ==========================================================================
   3. Hero-Bereich (Startseite - Perfekter bunter Bildkreis)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #008ec6; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px 60px 20px; 
}

.hero-content {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.hero-logo {
    width: 340px;            
    height: 340px;           
    margin-top: -40px;       
    margin-bottom: 35px;     
    border-radius: 50%;      
    object-fit: cover;       
    object-position: center; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); 
}

.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #ffffff;
}

.btn-cta {
    display: inline-block;
    background-color: #ffffff;
    color: #008ec6; 
    padding: 14px 40px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: #111111; 
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: #ffffff;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   4. Sektionen allgemein & Grid für Leistungen (Komplett BLAU)
   ========================================================================== */
.services-section {
    background-color: #008ec6 !important; 
    padding: 80px 0;
    min-height: 100vh;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
}

.service-general-info {
    max-width: 100%;
    margin: 0 auto 40px auto;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; 
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Das sorgt dafür, dass beide Bilder absolut exakt gleich groß oben sitzen */
.service-card-image {
    width: 100%;
    height: 220px; 
    object-fit: cover; 
    object-position: center; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
}

.service-card .service-info {
    padding: 25px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Wieder zurückgesetzt auf den ursprünglichen Zustand aus deinem Screenshot */
.service-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.3;
    display: block;
}

/* Wieder zurückgesetzt: Text fließt ganz normal direkt unter dem Titel weiter */
.service-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.service-meta {
    margin-top: auto; 
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 5px;
}

.disclaimer-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #ffffff;
    padding: 30px;
    border-radius: 0 8px 8px 0;
    margin-top: 60px;
}

.disclaimer-box h3 {
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 10px;
}

.disclaimer-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   5. Sektion: Über mich (Garantiert BLAU & Zentriert)
   ========================================================================== */
.about-section {
    background-color: #008ec6 !important; 
    padding: 140px 0 100px 0;
    color: #ffffff;
    text-align: center;       
    min-height: 100vh;
}

.about-container {
    max-width: 900px;         
    margin: 0 auto;
    padding: 0 20px;
}

.about-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    margin-bottom: 40px;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
.main-footer {
    background-color: #111111;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline; 
    font-size: 0.95rem;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;              
}

/* ==========================================================================
   7. Sektion: Kontakt & Formular (Volle Breite mit Logo oben rechts)
   ========================================================================== */
.contact-section {
    background-color: #008ec6 !important;
    padding: 140px 0 100px 0;
    color: #ffffff;
    min-height: 100vh;
}

.contact-container-full {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.contact-top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.contact-top-text {
    flex: 1;
}

.contact-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-details-top p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.contact-top-logo-wrapper {
    flex-shrink: 0;
}

.contact-top-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-form-full {
    width: 100%;
}

.form-row-triple {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #ffffff;
}

.form-group input {
    width: 100%;
    height: 45px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 6px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 1rem;
    color: #111111;
}

.msg-group {
    margin-bottom: 25px;
}

.form-group textarea {
    width: 100%;
    height: 180px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 6px;
    padding: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: #111111;
    resize: vertical;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.form-privacy input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-privacy label {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.form-privacy-link {
    font-size: 0.85rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.form-privacy-link a {
    color: #ffffff;
    text-decoration: underline;
}

.btn-submit {
    display: block;
    margin: 0 auto;
    background-color: #8ecae6;
    color: #ffffff;
    border: none;
    padding: 14px 45px;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-submit:hover {
    background-color: #219ebc;
    transform: translateY(-1px);
}


/* ==========================================================================
   Responsive Optimierungen für Mobilgeräte
   ========================================================================== */
@media (max-width: 768px) {
    /* Header & Navigation für Handys anpassen (Stapeln statt Quetschen) */
    .main-header {
        position: static !important; /* Verhindert das Überlagern auf kleinen Displays */
        flex-direction: column !important;
        gap: 20px;
        padding: 20px !important;
        text-align: center;
        background-color: #008ec6; /* Kopierte Farbe von Leistungen: Geändert von #111111 auf #008ec6 */
    }

    .logo {
        order: 1 !important; /* Text-Logo nach oben */
        text-align: center;
        width: 100%;
        white-space: normal; /* Erlaubt Zeilenumbruch falls nötig */
        font-size: 1.4rem;
    }

    .navigation {
        order: 2 !important; /* Menü darunter */
        width: 100%;
    }

    .navigation ul {
        justify-content: center !important;
        gap: 15px 20px;
        flex-wrap: wrap; /* Erlaubt Umbruch bei sehr schmalen Bildschirmen */
        padding: 0;
    }
    
    .navigation ul li a {
        font-size: 1rem;
        padding: 5px 10px;
    }

    /* Hero-Bereich (Startseite) mobil anpassen */
    .hero-section {
        padding-top: 40px;
        height: auto;
        min-height: calc(100vh - 120px);
    }

    .hero-logo {
        width: 180px !important;
        height: 180px !important;
        margin-top: 0 !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important; /* Kompaktere Schriftgröße gegen seitliches Verschieben */
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem !important;
        padding: 0 10px;
    }

    /* Allgemeine Seitentitel verkleinern */
    .section-title, .about-title, .contact-title {
        font-size: 2.2rem !important;
        text-align: center;
    }

    /* Kontaktseite Optimierungen */
    .contact-top-wrapper {
        flex-direction: column-reverse !important; 
        text-align: center;
        gap: 25px;
    }
    
    .contact-top-text, .contact-top-img {
        width: 100% !important;
    }

    .form-row-triple {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    /* Leistungen-Seite (Falls Boxen nebeneinander liegen) */
    .services-grid, .service-box {
        flex-direction: column !important;
        width: 100% !important;
    }
}