/* Body */
body {
    margin: 0;
}

/* Hero-Bereich */
#hero .hero-background {
    height: 700px; /* Stellen Sie die gewünschte Höhe ein */
    width: 100%; /* Vollbildbreite */
    background-size: cover; /* Sorgt dafür, dass das Bild den Bereich vollständig ausfüllt */
    background-position: center; /* Zentriert das Bild horizontal und vertikal */
    background-repeat: no-repeat; /* Verhindert Wiederholung des Hintergrunds */
    display: grid; /* Ermöglicht Zentrierung von Inhalt */
    align-items: center; /* Zentriert den Inhalt vertikal */
    position: relative;
    color: white;
    text-align: center;
}

#hero .hero-topic {
    display: flex; /* Ermöglicht die Steuerung von Positionierung */
    justify-content: flex-start; /* Positioniert Inhalte nach links */
    align-items: center; /* Vertikal zentriert */
    height: 100%; /* Nimmt die gesamte Höhe des Hero-Bereichs ein */
    padding-left: 50px; /* Abstand von der linken Seite */
}

#hero .slogan-body {
    color: white;
    text-align: left;
    font-size: 1.8rem;
    max-width: 500px;
    line-height: 1.5;

    background-color: rgba(0, 0, 0, 0.6); /* halbtransparent schwarz */
    padding: 1em;
    border-radius: 0.5em;
    display: inline-block;
}


#hero .slogan-body h2 {
    font-size: 2.5rem;
    margin-top: 10px;
   

}

#hero .hero-overlay {
    background: rgba(0, 0, 0, 0.78);
    padding: 20px;
    border-radius: 10px;
}

/* Services-Bereich */
.section-header h2 {
    font-size: xxx-large;
    color: white;
    margin-bottom: 20px;
}

.services-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.services-list .service-item {
    color: white;
    font-size: x-large;
    flex: 1;
    text-align: center;
    padding: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 150px;
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Black Section Styling */
.first-black-section {
    background-color: black;
    color: white;
    text-align: justify;
    text-align-last: center;
    padding: 40px 20px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.first-black-section h3 {
    margin: 0;
    max-width: 800px;
    font-size: 1.5rem;
}

/* Über uns-Bereich */
#about {
    background-color: #f9f9f9;
    text-align: center;
}

#about .about-container {
    max-width: 1000px;
    margin: 0 auto;
}

#about .about-header {
    margin-bottom: 30px;
}

#about .about-header h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    text-align: left;
}

#about .about-content {
    display: flex;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}

#about .about-image img {
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
    max-width: 400px;
}

#about .about-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    max-width: 400px;
    color: #333;
}

.about-footer {
    border-top: 2px solid black;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.about-footer span {
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item img {
    height: 20px;
    width: 20px;
}

.icon-link-2 {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-link-2:hover {
    color: #4a4b4d;
    text-decoration: underline;
}

/* Black Section - similar to first-black-section */
.second-black-section {
    background-color: black;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.second-black-section h3 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

/* Services im Detail Abschnitt */
#services-detail {
    background-color: #443a3a;
    padding: 50px 0;
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.services-titles {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.service-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

.service-detail {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-image img {
    max-width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 10px;
}

.service-text {
    color: white;
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Kontakt-Sektion */
#contact-section {
    background-color: #f4f4f4;
    padding: 50px 0;
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 1000px;
    text-align: left;
}

.contact-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-text-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-text-item span {
    font-size: 18px;
}
.about-content-contact{
    display: flex;
    gap: 25px;
}
.contact-image{
    width: 45%;
    margin-left: 8px;
    border-radius: 10px;
}
.icon-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-link:hover {
    color: #515253;
    text-decoration: underline;
}

/* Google Maps Sektion */
#google-maps-section {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.google-maps-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.google-maps h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.google-maps iframe {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile-Anpassungen: Responsive Media Queries */

/* Anpassungen für kleine Bildschirme */
@media (max-width: 920px) {
    /* Hero-Bereich */
    #hero .hero-background {
        height: 500px;
    }

    #hero .hero-topic {
display: none;
        
    }

   /* #hero .slogan-body {
        font-size: 1.5rem;
        max-width: 100%;
        
    background-color: rgba(0, 0, 0, 0.6); 
    padding: 1em;
    border-radius: 0.5em;
    display: inline-block;
    }

    #hero .slogan-body h2 {
        font-size: 2rem;
    }
    #hero .hero-overlay {
        padding: 0;
    }*/

    /* Services-Bereich */
    .services-list {
       display: grid;
       gap: 0;
    }

    .services-list .service-item {
        flex: 1 0 45%;
        max-width: 45%;
        padding: 8px;
        font-size: xx-large;
    }
    .about-footer {
        display: revert;
    }
    /* Über uns-Bereich */
    #about .about-content {
        flex-direction: column;
        gap: 20px;
    }

    #about .about-image img {
        max-width: 100%;
        width: 90%;
    }

    #about .about-text {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
    }

    /* Kontakt-Bereich */
    .contact-row {
        padding-top: 15px;
        flex-direction: column;
    }

    .contact-item {
        margin-bottom: 15px;
    }

    /* Google Maps */
    .google-maps-container {
        width: 90%;
        max-width: 90%;
    }

    .google-maps h3 {
        font-size: 20px;
    }

    /* Services-Detail */
    .services-titles {
        display: block;
    }
    .service-title{
        margin: 10px;

    }

    .service-detail {
        flex-direction: column;
        text-align: center;
    }

    .service-image img {
        max-height: 400px;
        object-fit: cover;
    }

    .service-text {
        font-size: 1rem;
        max-width: 90%;
    }
    .first-black-section h3 {
        margin: 0;
        max-width: 800px;
        font-size: large;
    }
}

/* Sehr kleine Bildschirme (unter 480px) */
@media (max-width: 540px) {
    /* Allgemeine Schriftgrößen und Layouts anpassen */
    body {
        font-size: 14px; /* Kleinere Schrift auf sehr kleinen Geräten */
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .contact-text-item span {
        font-size: 16px;
    }
}
