body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

/* Navigation fixiert beim Scrollen */
.navigation {
    background-color: #4a775a;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); /* Schatten für Tiefeffekt */
    transition: background-color 0.3s ease;
}

/* Logo leichter Übergang für sanftes Layout */
.logo {
    width: auto;
    height: 80px;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05); /* Vergrößerung beim Hover für einen dynamischen Effekt */
}

/* Menü Toggle für mobile Ansicht */
.menu-toggle {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 15;
}

/* Navigationslinks mit Abstand und sanftem Hover-Effekt */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    font-family: 'Abadi', sans-serif;
    font-size: 1.2em;
    z-index: 15;
    padding-right: 10px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover {
    background-color: #2e4d34;
    transform: scale(1.1); /* Vergrößerung beim Hover für visuelles Feedback */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navigation ausblenden, wenn das Modal geöffnet ist */
.navigation-hidden {
    display: none;
}


/* Titelbild */
.title-image-container {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.title-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title-text {
    position: absolute;
    color: white;
    font-family: 'Aptos Narrow', sans-serif;
    font-size: 2.5em;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(10px);
    opacity: 0.9;
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Lücke nach dem Titelbild */
.spacer {
    height: 10vh;
    background-color: #e6f2eb;
}

/* Layout für Inhalt (Home und Angebot) */
.home, .angebot-container, .einblicke-container {
    background-color: #e6f2eb;
    padding: 40px 20px;
}

.text-image-block {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.text {
    width: 65%;
}

.image {
    width: 25%;
    border-radius: 8px;
}

/* Sektionstitel und Text */
.section-title {
    color: #4a775a;
    font-size: 2em;
    font-family: 'Aptos Narrow', sans-serif;
    text-align: center;
    margin: 0 auto 15px; /* Abstand oberhalb und unterhalb */
    padding-bottom: 10px;
    border-bottom: 2px solid #c6d6c3;
    max-width: 90%; /* erleichtert Lesbarkeit und zentriert */
}

.section-text {
    color: #8b4513;
    font-family: 'Abadi', sans-serif;
    line-height: 1.6;
    margin: 0 auto 15px;
    padding: 0 10px;
    max-width: 85%;
}

.section-anmerkung {
    color: #8b4513;
    font-family: 'Abadi', sans-serif;
    font-size: 0.8em;
    margin: 0 auto 10px;
    padding: 0 5px;
    max-width: 85%;

}

/* Team-Bilder und Tabellen */
.team-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.team-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-family: 'Abadi', sans-serif;
}

.team-table th,
.team-table td {
    padding: 10px;
    text-align: left;
    font-size: 1em;
    border-bottom: 1px solid #ddd;
}

.team-table th {
    font-weight: bold;
    color: #4a775a;
}

.team-table td {
    color: #2e4d34;
}

/* Layout für die Angebot-Seite */
.angebot-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 8px;
}

.angebot-details {
    width: 60%;
    background-color: #e6f2eb;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-box {
    flex-grow: 1;
    max-width: 30%;
    background-color: #8fc0a9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-title {
    font-size: 1.6em;
    color: #ffffff;
    font-family: 'Aptos Narrow', sans-serif;
    margin-bottom: 15px;
}

/* Kartenabschnitt und Downloadbereich */
.map h4,
.pdf-download h4 {
    font-size: 1.2em;
    color: #ffffff;
    margin-top: 0;
}

.map iframe {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    border: 0;
    margin-bottom: 15px;
}

.pdf-download {
    text-align: center;
    margin-top: 20px;
}

.pdf-link {
    display: inline-block;
    color: #4a775a;
    text-decoration: none;
    background-color: #e6f2eb;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.pdf-link:hover {
    background-color: #4a775a;
    color: white;
}

/* Responsiv Design für mobile Ansicht */
@media (max-width: 768px) {
    /* Navigation: Dropdown-Menü */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;
        right: 20px;
        background-color: #4a775a;
        padding: 10px;
        border-radius: 5px;
    }

    .nav-links.nav-open {
        display: flex;
    }

    /* Inhalte untereinander anordnen */
    .text-image-block {
        flex-direction: column;
        align-items: center;
    }


    

    .angebot-container, .einblicke-container, .home {
        padding: 20px 10px;
    }

    .image {
        width: auto;
        max-width: 100%;
    }

    /* Galerie-Elemente weiterhin in voller Größe */
    .gallery-item img {
        height: 200px;
    }
}

/* Footer */
.footer {
    background-color: #4a775a;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 10px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.footer-title {
    font-size: 2em;
    font-family: 'Aptos Narrow', sans-serif;
    margin-bottom: 10px;
}

.footer-text {
    color: #ffffff;
    font-size: 0.75em;
    font-family: 'Aptos Narrow', sans-serif;
}

.footer-subtitle {
    font-size: 1.5em;
    font-family: 'Aptos Narrow', sans-serif;
    margin-bottom: 10px;
}

.contact-form {
    width: 45%;
}

.input-group {
    display: flex;
    gap: 10px;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    border: none;
}

button {
    background-color: #2e4d34;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #4a775a;
}

.footer-info {
    width: 45%;
    padding-right: 20px;
}

.footer-info ul {
    list-style: none;
    padding: 0;
}

/* Impressum Button zentriert */
.footer-impressum {
    text-align: center;
    margin-top: 20px;
}

.impressum-btn {
    background-color: #4a775a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.impressum-btn:hover {
    background-color: #2e4d34;
}

/* Impressum Modal */
.impressum-modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.impressum-content {
    background-color: #e6f2eb;
    color: #4a775a;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    margin: 10% auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Abadi', sans-serif;
}

.close {
    color: #4a775a;
    font-size: 24px;
    font-weight: bold;
    float: right;
    cursor: pointer;
}

.close:hover {
    color: #2e4d34;
}

/* Galerie-Stil */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.gallery-item figcaption {
    text-align: center;
    color: #4a775a;
    font-family: 'Abadi', sans-serif;
    margin-top: 8px;
    font-size: 0.9em;
    font-weight: bold;
}



/* Responsiv Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-form, .footer-info {
        width: 100%;
        padding: 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;
        right: 20px;
        background-color: #4a775a;
        padding: 10px;
        border-radius: 5px;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .title-image-container {
        height: 60vh;
    }

    .text-image-block {
        flex-direction: column;
    }

    .map iframe {
        height: 200px;
    }
}

/* Footer */
.footer {
    background-color: #4a775a;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 20px;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    border-top: 5px solid #2e4d34; /* Dunklere Linie oben für Design-Detail */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Trennlinie zwischen Inhalt und Button */
}

.footer-title, .footer-subtitle {
    font-family: 'Aptos Narrow', sans-serif;
    color: #e6f2eb;
}

.footer-title {
    font-size: 2em;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-form, .footer-info {
    width: 45%;
    padding: 10px;
}

/* Kontaktformular Styling */
.input-group {
    display: flex;
    gap: 10px;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #e6f2eb;
    background-color: #f4f9f7;
    color: #333;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

button {
    background-color: #2e4d34;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

button:hover {
    background-color: #4a775a;
}

/* Kontakt- und Adresse Links */
.footer-info a {
    color: #e6f2eb;
    text-decoration: none;
    font-weight: bold;
}

.footer-info a:hover {
    color: #8fc0a9;
    text-decoration: underline;
}

/* Zentrierter Impressum-Button */
.footer-impressum {
    text-align: center;
    margin-top: 20px;
}


.impressum-btn {
    background-color: #8fc0a9;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s, transform 0.2s;
}

.impressum-btn:hover {
    background-color: #6fa88f;
    transform: translateY(-2px);
}

/* Responsive Footer Styling */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-bottom: none;
    }

    .contact-form, .footer-info {
        width: 100%;
        padding: 0;
    }

    .footer-impressum {
        margin-top: 15px;
    }
}


/* Bild-Modal */
.image-modal {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    z-index: 25;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal-Bild */
.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Schließen-Symbol für das Bild-Modal */
.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #cccccc;
}

/* Klasse, um das Scrolling zu deaktivieren, wenn das Modal geöffnet ist */
.no-scroll {
    overflow: hidden;
}

/* Anpassung des Layouts der Angebot-Sektion auf mobilen Geräten */
@media (max-width: 768px) {
    .angebot-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        border-radius: 8px;
    }
    
    .angebot-details {
        width: 90%;
        background-color: #e6f2eb;
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .info-box {
        flex-grow: 1;
        max-width: 90%;
        background-color: #8fc0a9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}

/* Große Textabstände auf mobilen Geräten entfernen */
@media (max-width: 768px) {

   /* Reduzierte Abstände und Padding für mobile Textblöcke */
   .section-title {
    font-size: 1.5em;
    padding-bottom: 5px; /* Weniger Abstand unten */
    max-width: 100%; /* Etwas breiter auf kleinen Bildschirmen */
}


    .section-text {
        margin: 0 auto 5px; /* Reduzierter Abstand unten */
        padding: 0 5px; /* Weniger seitliches Padding */
        max-width: 95%; /* Etwas breiter für bessere Lesbarkeit */
        line-height: 1.4; /* Reduzierter Zeilenabstand */
    }

    .section-anmerkung {
        font-size: 0.7em;
        margin: 0 auto 5px;
        padding: 0 5px;
        max-width: 95%;
        line-height: 1.3;
    }
}