/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Logo-Stile */
.logo {
    position: fixed;
    top: 20px;
    left: 50px;
    z-index: 1001;
}

.logo img {
    height: auto;
    width: 300px; /* Standardgröße auf mobilen Geräten */
    transition: width 0.3s ease;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background: rgba(59, 179, 75, 0.8);
    color: #fff;
    padding: 50px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* Navbar Menu - Vertikales Menü */
.navbar-menu {
    list-style: none; /* Entfernt die Aufzählungspunkte */
    display: none; /* Standardmäßig ausgeblendet */
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background-color: rgba(59, 179, 75, 0.8);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(-20px);
}

/* Menü wird angezeigt, wenn aktiv */
.navbar-menu.menu-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Menu Icons */
.navbar-menu i {
    color: #000000; /* Setze die Farbe der Icons auf schwarz */
    margin-right: 10px; /* Abstand zwischen Icon und Text */
}

.navbar-menu a {
    display: block;
    padding: 15px;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.navbar-menu a:hover {
    background-color: #34495e;
    padding-left: 25px;
}

/* Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.menu-icon {
    width: 30px;
    height: 4px;
    background-color: #000000;
    margin: 5px 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    border-radius: 50px;
}

/* Brücken-Animation */
.menu-toggle.menu-active .bar1 {
    transform: translateY(8px) rotate(135deg);
}

.menu-toggle.menu-active .bar2 {
    opacity: 0;
}

.menu-toggle.menu-active .bar3 {
    transform: translateY(-8px) rotate(-135deg);
}

.menu-toggle.menu-active .bar1,
.menu-toggle.menu-active .bar3 {
    border-radius: 25px;
}

/* Content Styles */
.main-content {
    padding: 100px 20px 20px;
}

.content-box {
    background: rgba(255, 255, 255, 0.9); /* Halbtransparenter weißer Hintergrund */
    border-radius: 15px; /* Abgerundete Ecken */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Weicher Schatten */
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover-Effekt */
.content-box:hover {
    transform: translateY(-5px); /* Hebt die Box beim Hover leicht an */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Intensiverer Schatten beim Hover */
}

/* Custom h2 Styles */
.content-box h2 {
    margin-top: 0;
    font-family: 'Bebas+Neue'; /* Schriftart mit Unterstützung für Small Caps */
    font-size: 1.5em;
    color: #000000;
    text-align: center;
    text-transform: uppercase; /* Erzwingt, dass alle Buchstaben groß geschrieben werden */
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-variant: small-caps; /* Kleinbuchstaben werden als kleine Großbuchstaben dargestellt */
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
    word-wrap: break-word;
    padding: 10px 20px;
}

.content-box h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #3bb34b;
    bottom: -10px;
    left: 0;
    opacity: 0; /* Der Balken ist standardmäßig unsichtbar */
    transition: opacity 0.3s ease; /* Übergangseffekt für das Einblenden */
}

.content-box h2:hover::after {
    opacity: 1; /* Balken wird beim Hover sichtbar */
}

/* Für kleinere Bildschirme */
@media (max-width: 768px) {
    .content-box h2 {
        font-size: 1.8em; /* Reduzierte Schriftgröße */
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .content-box h2 {
        font-size: 1.3em; /* Noch kleinere Schriftgröße */
        padding: 5px;
        word-wrap: break-word; /* Bricht lange Wörter auf kleine Bildschirme um */
    }
}

/* Cookie-Banner Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 9999; /* Hoher z-index, damit der Banner über anderen Inhalten liegt */
    opacity: 0; /* Anfangs unsichtbar */
    transform: translateY(100%); /* Banner ist zu Beginn außerhalb des Sichtfeldes */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Übergangseffekte */
}

.cookie-consent.visible {
    opacity: 1; /* Sichtbar */
    transform: translateY(0); /* In Position rücken */
}

/* Ausblenden Effekt */
.cookie-consent.hidden {
    opacity: 0; /* Unsichtbar */
    transform: translateY(100%); /* Nach unten herausgleiten */
}

/* Fake Google-Bewertungs-Widget Styles */
.floating-review-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgba(59, 179, 75, 0.8);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100px; /* Standardbreite für Desktop */
}

.review-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.floating-review-widget .stars {
    color: #f39c12;
    font-size: 20px;
    margin-bottom: 5px;
}

.rating-text {
    color: #000000;
    font-size: 14px;
}

.floating-review-widget:hover {
    transform: scale(1.05);
}

/* Google Maps Iframe Styles */
.google-map {
    width: 100%;
    height: 450px;
    border: none;
}

@media (max-width: 768px) {
    .google-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .google-map {
        height: 200px;
    }
}

/* Modal Hintergrund */
.modal {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    z-index: 10000; /* Hoher z-index für das Modal */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Ermöglicht Scrollen, wenn der Inhalt zu groß ist */
    background-color: rgba(0, 0, 0, 0.7); /* Halbtransparenter schwarzer Hintergrund */
}

/* Modal Inhalt */
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%; /* Breite des Modals */
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10001; /* Setze z-index für den Modal-Inhalt höher */
}


/* Modal Inhalt für Impressum */
.modal-content-impressum {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%; /* Breite des Modals */
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Modal Inhalt für Login */
.modal-content-login {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%; /* Breite des Modals */
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Schließen-Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Verbesserungen für Desktops */
@media (min-width: 1024px) {
    .main-content {
        max-width: 1200px;
        margin: 0 auto;
    }

    .content-box {
        padding: 40px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    body {
        font-size: 18px;
        line-height: 1.6;
    }

    h1, h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    p {
        margin-bottom: 20px;
    }

    .navbar {
        padding: 60px 40px;
    }

    .logo {
        left: 90px;
    }

    .logo img {
        width: 300px; /* Größeres Logo auf Desktops */
    }

    /* Vertikales Menü auf Desktops */
    .navbar-menu {
        display: none; /* Standardmäßig ausgeblendet */
        position: absolute;
        top: 100%;
        right: 0;
        width: 250px;
        background-color: rgba(59, 179, 75, 0.8);
        border-radius: 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        opacity: 0;
        transform: translateY(-20px);
    }

    .navbar-menu.menu-active {
        display: block; /* Menü auf Desktop sichtbar, wenn aktiv */
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kontaktformular */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 10px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    margin-top: 5px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    margin-top: 20px;
    padding: 10px;
    font-size: 18px;
    background-color: #3bb34b;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #2e8b2e;
}

ul {
    list-style: none; /* Entfernt die Aufzählungspunkte */
    padding-left: 0; /* Entfernt eventuelle Einrückungen */
}

ul li {
    margin-bottom: 10px; /* Optional: Abstand zwischen den Listenelementen */
}

ul li i {
    color: #3bb34b; /* Farbe der Icons (anpassbar) */
    margin-right: 10px; /* Abstand zwischen Icon und Text */
}

.modal-content {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 750px; /* Breite des Modals */
    margin: auto; /* Zentriere das Modal */
    background-color: #fefefe; /* Hintergrundfarbe */
}

.form-group {
    margin-bottom: 15px; /* Abstand zwischen den Eingabefeldern */
}

label {
    display: block; /* Label als Block-Element */
    margin-bottom: 5px; /* Abstand unter dem Label */
}

input[type="text"],
input[type="password"] {
    width: 100%; /* Breite der Eingabefelder */
    padding: 10px; /* Innenabstand */
    border: 1px solid #ccc; /* Rahmen */
    border-radius: 4px; /* Abgerundete Ecken */
    box-sizing: border-box; /* Schließt Padding und Border in die Breite ein */
}

button {
    background-color: #4CAF50; /* Grüner Hintergrund */
    color: black; /* Weiße Schriftfarbe */
    padding: 10px; /* Innenabstand */
    border: none; /* Kein Rahmen */
    border-radius: 4px; /* Abgerundete Ecken */
    cursor: pointer; /* Zeigerzeiger für den Button */
    width: 10%; /* Button nimmt die gesamte Breite ein */
}

button:hover {
    background-color: #45a049; /* Dunkleres Grün bei Hover */
}

#login-error {
    margin-top: 10px; /* Abstand über der Fehlermeldung */
}
