html, body {
    overflow-x: hidden;
  }
:root {
    --forest-green: #2C5E1A;
    --light-green: #4CAF50;
    --beige: #F5F0E1;
    --dark-beige: #E6DFC8;
    --text-color: #333333;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--beige);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(245, 240, 225, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 2px solid var(--forest-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Menu Toggle Button */
.menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--forest-green);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1010;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 60px; /* unter dem Menü-Button */
    right: 1rem;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 0.5rem 0;
}


.dropdown-menu a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #000;
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--dark-beige);
    color: var(--forest-green);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    text-decoration: none;
}

.logo span {
    color: var(--forest-green);
}

.nav-links {
    display: none;
}

.cta-button {
    background-color: var(--forest-green);
    color: var(--white);
    border: none;
    padding: 14px 28px; /* Größeres Padding für mobile Touch-Fläche */
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    touch-action: manipulation; /* Wichtig für Mobile! */
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.cta-button:hover,
.cta-button:focus-visible {
    background-color: var(--light-green);
    transform: translateY(-2px); /* kleine Animation für Feedback */
}



/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.hero-content {
    width: 50%;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--forest-green);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-image {
    position: relative;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: auto;
    background-color: var(--forest-green);
    border-radius: 30px 0 0 30px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

  
  .hero-mobile-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
.circle-decoration {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    z-index: 1;
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 5px;
    background-color: var(--forest-green);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    height: 360px;
    background-color: var(--forest-green);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Menu Section */
.menu {
    padding: 100px 0;
    background-color: var(--dark-beige);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.menu-item {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(44, 94, 26, 0.2);
}

.menu-image {
    height: 250px;
    background-color: var(--forest-green);
    position: relative;
    overflow: hidden;
}

.menu-info {
    padding: 20px;
}

.menu-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.menu-description {
    font-size: 14px;
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
}

.menu-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--forest-green);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    height: 300px;
    background-color: var(--forest-green);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}
/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--beige); 
}

.contact-content {
    display: flex;
    gap: 50px; 
    max-width: 1200px; 
    margin: 0 auto; 
    width: 100%; 
}

.contact-info {
    flex: 4; 
    max-width: 100%; 
    width: 100%; 
}

.contact-info p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem; 
}

.contact-info strong {
    font-weight: bold;
}

.glowing-line {
    height: 2px;
    background-color: #228B22; 
    width: 50px;
    margin-bottom: 20px;
}

.contact-form {
    flex: 2; 
    max-width: 100%; 
    width: 100%;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%; 
    padding: 12px;
    margin-bottom: 15px; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
    font-size: 1rem; 
}




.fallback-message {
    background-color: #fff9e6;
    border: 1px solid #ffe066;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.cookie-text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background-color: var(--forest-green);
    color: white;
    border: none;
}

.cookie-btn-accept:hover {
    background-color: var(--light-green);
}

.cookie-btn-reject {
    background-color: #f2f2f2;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.cookie-btn-reject:hover {
    background-color: #e6e6e6;
}

.cookie-btn-settings {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.cookie-btn-settings:hover {
    background-color: #f2f2f2;
}

.cookie-details {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}

.cookie-details.visible {
    display: block;
}

.cookie-category {
    margin-bottom: 15px;
}

.cookie-category h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.cookie-category p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-left: 10px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--forest-green);
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

/* Footer Styles */
.site-footer {
    background-color: var(--forest-green);
    color: var(--white);
    padding: 3rem 1.5rem;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-section {
    flex: 1 1 250px;
    min-width: 200px;
  }
  
  .footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--white);
  }
  
  .footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: opacity 0.2s ease;
  }
  
  .footer-section a:hover {
    opacity: 0.8;
  }
  
  .footer-section .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
  }
  
  .footer-section .logo span {
    color: var(--light-green);
  }
  
  .footer-section p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0.5rem;
  }
  .copyright {
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
.hero{
height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
margin-top: 20px;
}

.hero-content {
width: 50%;
z-index: 2;
}

.hero-image {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 50%;
height: 60%;
background-color: var(--forest-green);
border-radius: 30px 0 0 30px;
overflow: hidden;
}

.hero-image img {
width: 100%;
object-fit: cover; /* Das Bild füllt den Container vollständig aus */
display: block; /* Entfernt unerwünschte Abstände */
}
.reservation-info {
    max-width: 600px;
    margin: 0px auto 20px;
    padding: 0 20px;
    text-align: center;
    font-family: sans-serif;
  }
  
  .reservation-info h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .reservation-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
  }
  .reservation {
    padding: 60px 20px;
    background-color: var(dar);
}

.reservation .section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.reservation-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reservation-form .form-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.reservation-form input,
.reservation-form textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    width: 100%;
}

.reservation-form button {
    padding: 12px 20px;
    background-color: #228B22;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reservation-form button:hover {
    background-color: rgb(24, 94, 24);
}
.zeit-select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    appearance: none;
    cursor: pointer;
  }
  
  .zeit-select:focus {
    border-color: #007bff;
    outline: none;
  }
@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 0;
    }

    .nav-container, .container {
        flex-direction: row;
        padding: 0 16px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
        font-size: 18px;
        margin: 10px;
    }

    .dropdown-menu {
        right: 1rem;
        width: 200px;
    }

    .dropdown-menu.active {
        display: flex;
    }

    .hero {
        height: auto; 
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 60px 20px;
        margin-top: 80px; /* Abstand zum fixierten Navbar */
        position: relative;
        overflow: hidden;
    }
    .hero-image {
        display: none;
    }
    .hero-image img {
        display: none;
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 150px;
        object-fit: cover;
        
    }
    .hero-mobile-image {
        display: block;
      }
      
      .hero {
        background-image: url('img/mobile-title.png');
        background-size: cover;
        background-position: center;
        border-radius: 20px;
        
        color: white; /* Damit der Text lesbar bleibt */
      }
    
      .hero h1,
      .hero p {
        background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter Hintergrund */
        padding: 10px;
        border-radius: 10px;
      }
    .hero-content {
        max-width: 800px; /* Maximale Breite des Inhalts */
        width: 100%; /* Breite auf 100% setzen */
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 3rem; /* Schriftgröße für die Überschrift */
        margin-bottom: 20px; /* Abstand zwischen der Überschrift und dem Text */
    }
    
    .hero h1 span {
        color: var(--forest-green); /* Farbänderung für das "Qualität"-Wort */
    }
    
    .hero p {
        font-size: 1.2rem;
        line-height: 1.6; /* Zeilenhöhe für bessere Lesbarkeit */
        margin-bottom: 30px; /* Abstand nach dem Text */
    }
    .menu-grid {
       
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    .menu-item {
        background-color: var(--white);
        border-radius: 10px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    .menu-image {
        height: 200px;
        width: 100%;
        max-width: 400px;
        background-color: var(--forest-green);
        border-radius: 10px;
    }
    .menu-image img {
        width: 100%;
    }
    .menu-info {
        padding: 15px;
    }

    .menu-title {
        font-size: 18px;
    }
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .gallery-item {
        height: 95%;
        background-color: var(--forest-green);
        border-radius: 15px;
        overflow: hidden;
    }
    .gallery-item img {
        width: 100%;
    }
    .about-content {
        flex-direction: column; 
        gap: 30px; 
    }

    .about-text {
        flex: none; 
    }

    .about-image {
        flex: none;
        height: auto; 
    }
    .contact-content {
        flex-direction: column; /* Stellt sicher, dass der Inhalt auf kleineren Bildschirmen untereinander angezeigt wird */
        gap: 30px; /* Weniger Abstand auf kleineren Bildschirmen */
    }

    .contact-info, .contact-form {
        flex: 1; /* Beide Bereiche bekommen auf kleineren Bildschirmen den gleichen Platz */
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        font-size: 0.9rem; /* Kleinere Schriftgröße für mobile Geräte */
    }
}
