/* Fonts and Presets */
@font-face {
    font-family: 'MyCustomFont';
    src: url('../assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #F5F3E6;
    --secondary-color: #5D6C6E;
    --background-color: #d5dcde;
    --text-color: #171717;
    --text-color-white: #ffffff;
    --highlight-primary: #28a745;
    --highlight-secondary: #9d0909;
    --gray1: #adadad;
    --gray2: #5e5e5e;
    --gray3: #313131;
    --gray4: rgba(152, 152, 152, 0.85);
    --whitergba: rgba(255, 255, 255, 0.6);
    --third-color: #DAD2A2;
    --text-a-color: #3dc6ec;
}


/* General Reset */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'MyCustomFont', sans-serif;
    ;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--secondary-color);
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar-small {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    opacity: 1;
    transition: opacity 0.3s ease;
    display: block;
}

.logo-responsive {
    opacity: 1;
    transition: opacity 0.3s ease;
    display: none;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: auto;
    height: 50px;
    padding-top: 13px;
    /* Abstand nach oben */
}

.logo-responsive a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.logo-responsive img {
    width: auto;
    height: 50px;
    padding-top: 13px;
    /* Abstand nach oben */
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: center;
}


.nav-menu-responsive {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: center;
}

.nav-item a {
    color: white;
    text-decoration: none;
    padding: 1.5rem;
    font-size: 16px;
    transition: 0.3s;
}

.nav-item a:hover {
    color: var(--third-color);
    transition: 0.3s;
}

.nav-item {

    padding: 10px 0px;

}

.nav-menu-small {
    background-color: var(--whitergba);
    margin: 0px 25px;
    border-radius: 12px;
    max-width: 680px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.nav-item-small {
    border-radius: 13px;
    margin: 4px 5px;
}

.nav-item-a-small {
    color: var(--gray3) !important;
}

.nav-item-a-small:hover {
    color: var(--third-color) !important;
    transition: 0.3s;
}


.small-menu-header {

    height: 50px;
    background: none;
    box-shadow: none;
}

.small-menu-logo {
    opacity: 0.6;
}

@media (max-width: 600px) {

    .logo-responsive {
        display: block;
    }

    .logo {
        display: none;
    }

}

.section {
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ddd;
    text-align: center;
}


/* Button-Styling */
.call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--highlight-primary);
    /* Grün */
    color: var(--text-color-white);
    /* Weiße Schrift */
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    /* Kein Unterstrich */
    padding: 4px 20px;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* Icon-Styling */
.call-button img {
    width: 20px;
    /* Breite des SVG-Icons */
    height: 20px;
    /* Höhe des SVG-Icons */
    margin-right: 8px;
    /* Abstand zwischen Icon und Text */
}

/* Hover-Effekt */
.call-button:hover {
    background-color: var(--highlight-primary);
    /* Dunkleres Grün */
    transform: scale(1.05);
    /* Leichte Vergrößerung */
}

/* Fokus-Effekt */
.call-button:focus {
    outline: none;
    box-shadow: 0 0 5px var(--highlight-primary);
}


/* Container für Bild und Text */
.container-home-background {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Volle Bildschirmhöhe */
    display: flex;
    justify-content: center;
    /* Horizontale Zentrierung */
    align-items: center;
    /* Vertikale Zentrierung */
    text-align: center;
    color: var(--text-color-white);
    /* Schriftfarbe */
}

/* Bild unscharf und ausgebleicht darstellen */
.container-home-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Bild an Bildschirm anpassen */
    filter: blur(8px);
    /* Bild unscharf machen */
    opacity: 0.5;
    /* Bild ausgebleicht darstellen */
    z-index: -1;
    /* Bild hinter den Inhalt legen */
}

/* Text-Styling */
.text-home-background {
    position: relative;
    font-size: 2.5rem;
    /* Schriftgröße */
    font-weight: bold;
    line-height: 1.5;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    /* Schatten für bessere Lesbarkeit */
}

.container-text {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 1.25rem;
}


/* Card-Styling */
.card {
    display: flex;
    justify-content: center;
    /* Links Text, Rechts Bild */
    align-items: center;
    width: 600px;
    /* Breite der Card */
    background: var(--primary-color);
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 20px;
}

/* Link und Text Styling */
.card-text {
    flex: 1;
    /* Nimmt den verfügbaren Platz links ein */
    color: var(--text-color);
}

.card-text h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.card-text p {
    margin: 0 0 10px;
    font-size: 1rem;
}

.card-text a {
    color: var(--text-a-color);
    text-decoration: none;
    font-weight: bold;
}

.card-text a:hover {
    text-decoration: underline;
}

/* Symbolbild */
.card-image {
    width: 50px;
    height: 50px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Container für die About-Us-Sektion */
.about-us-container {
    display: flex;
    flex-wrap: wrap;
    /* Flexbox-Elemente umbrechen, falls der Platz nicht reicht */
    max-width: 1400px;
    margin: 50px auto;
    /* Zentrierung auf der Seite */
    background-color: var(--primary-color);
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Überflüssige Bildteile verstecken */
}

/* Linker Bereich - Bild */
.about-us-image {
    flex: 1;
    /* Nimmt 1/3 des Platzes ein */
    min-width: 300px;
    /* Mindestbreite für kleinere Bildschirme */
}

.about-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Bild an Container anpassen */
    display: block;
    margin-bottom: 36px;
}

/* Rechter Bereich - Text */
.about-us-text {
    flex: 2;
    /* Nimmt 2/3 des Platzes ein */
    padding: 30px;
    color: var(--text-color);
}

.about-us-text h2 {
    margin-top: 0;
    color: var(--text-color);
}

.about-us-text p {
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-us-container {
        flex-direction: column;
        transition: 0.5s;
        /* Stapelt Bild und Text untereinander */
    }

    .about-us-text {

        margin-top: 47%;
        transition: 1s;
    }


    @media (max-width: 600px) {
        .about-us-text {

            margin-top: 22%;
            transition: 1s;
        }

        @media (max-width: 500px) {
            .about-us-text {

                margin-top: 2%;
                transition: 1s;
            }


        }

    }

}


.contact-container {
    display: flex;
    flex-wrap: wrap;
    /* Flexbox-Elemente umbrechen */
    max-width: 1400px;
    margin: 50px auto;
    background-color: var(--primary-color);
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Linker Bereich - Google Maps */
.contact-map {
    flex: 1;
    /* 50% Breite */
    min-width: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Rechter Bereich - Kontaktinformationen */
.contact-info {
    flex: 1;
    /* 50% Breite */
    padding: 30px;
    color: var(--text-color);
}

.contact-info h2 {
    margin-top: 0;
    color: var(--text-color);
}

.contact-info p {
    margin: 10px 0;
}

.contact-info strong {
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        /* Stapelt Karte und Text untereinander */
    }
}

/* Container für Cards */
.cards-container {
    display: flex;
    justify-content: center;
    /* Platz zwischen den Cards */
    flex-wrap: wrap;
    /* Auf kleineren Bildschirmen umbrechen */
    gap: 60px;
    /* Abstand zwischen den Cards */
    max-width: 1400px;
    /* Maximale Breite für den Container */
    margin: auto;
}

footer {
    position: absolute;
    display: flex;
    width: 100%;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--background-color);
}

#imprint-link {
    color: var(--text-color-white);
    text-decoration: none;
    padding: 14px 25px;
    ;
    font-size: 16px;
    transition: 0.3s;
}

#imprint-link:hover {
    color: var(--third-color);
    transition: 0.3s;
}

/* Responsive Styles for Header */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color-white);
}

@media (max-width: 1100px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
    }

    .nav-menu-responsive {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        border-top: solid 1px var(--third-color);
    }

    .nav-menu-responsive.active {
        display: flex;
    }

    .burger {
        display: flex;
    }
}

        /* Stil für das Cookie-Banner */
        #cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: #333;
            color: white;
            text-align: center;
            padding: 15px;
            font-size: 16px;
            z-index: 1001; /* Über dem Inhalt */
        }

        #cookie-banner button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            border-radius: 5px;
            margin-left: 20px;
        }

        #cookie-banner button:hover {
            background-color: #45a049;
        }

        #cookie-banner a {
            color: #f1c40f;
            text-decoration: none;
        }

        #cookie-banner a:hover {
            text-decoration: underline;
        }

        /* Overlay, das den gesamten Inhalt der Seite abdeckt */
        #overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7); /* Dunkler Hintergrund */
            z-index: 1000; /* Direkt unter dem Cookie-Banner */
        }

        /* Inhalt, der blockiert wird */
        #content {
            pointer-events: none; /* Verhindert jegliche Interaktionen mit dem Inhalt */
            opacity: 0.5; /* Macht den Inhalt sichtbar, aber "gedämpft" */
        }