:root {
  --forest-green: #2C5E1A;
  --light-green: #4CAF50;
  --beige: #F5F0E1;
  --dark-beige: #E6DFC8;
  --text-color: #333333;
  --white: #FFFFFF;
}

body {
  margin: 0;
  font-family: sans-serif;
  background-color: var(--beige);
  color: var(--dark-text);
}

/* Navigation (gleich wie auf Startseite) */
nav.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--beige);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
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);
}


.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-text);
  text-decoration: none;
}

.logo span {
  color: var(--forest-green);
}
.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;
}
.cta-button {
  background-color: var(--forest-green);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  touch-action: manipulation;
}

.cta-button:hover,
.cta-button:focus-visible {
  background-color: var(--light-green);
  transform: translateY(-2px);
}

.menu-pdf-section {
  padding: 1rem;
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 50px;
  margin-top: 75px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 5px;
  background-color: var(--forest-green);
}

.pdf-images img {
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
#speisekarte {
    padding-bottom: 40px;
    padding-top: 100px;
    padding-left: 25px;
    padding-right: 25px;
}

.menu-grid {
    display: grid;
    /* Mindestbreite der Spalten 300px, maximal 1fr (füllt den verfügbaren Platz) */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px; /* Abstand zwischen den Karten */
}

.menu-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden; /* Stellt sicher, dass abgerundete Ecken auch für Bilder gelten */
    display: flex;
    flex-direction: column; /* Stapelt Bild und Inhalt vertikal */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.menu-item-image {
    width: 100%;
    height: 200px; /* Feste Höhe für die Bilder */
    object-fit: cover; /* Stellt sicher, dass das Bild den Bereich füllt, ohne das Seitenverhältnis zu verzerren */
    border-bottom: 1px solid #eee; /* Leichte Trennlinie, falls das Bild nicht perfekt abschließt */
}

.menu-item-content {
    padding: 20px;
    flex-grow: 1; /* Sorgt dafür, dass der Inhaltsbereich wächst, um den Platz zu füllen */
    display: flex;
    flex-direction: column;
}

.menu-item-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6em;
    color: #333333; 
    margin-top: 0;
    margin-bottom: 10px;
}

.menu-item-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1; /* Drückt den Preis nach unten, wenn die Beschreibungen unterschiedlich lang sind */
}

.menu-item-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #2C5E1A; 
    text-align: right;
    margin-top: auto; /* Stellt sicher, dass der Preis am unteren Rand des Inhaltsbereichs ist */
    margin-bottom: 0;
}

.menu-section-title {
    grid-column: 1 / -1; /* Stellt sicher, dass die Überschrift alle Spalten des Grids einnimmt */
    text-align: center;
    margin-top: 20px;   /* Etwas mehr Abstand nach oben für eine klare Trennung */
    margin-bottom: 25px; /* Abstand zu den folgenden Gerichten */
}

.menu-section-title h2 {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif; 
    font-size: 2.7em; 
    color: #2C5E1A;  
    margin: 0;
    padding-bottom: 8px; 
    display: inline-block; /* Damit padding und border-bottom nur die Textbreite umfassen */
}

.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);
}

@media (max-width: 500px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
.menu-item img {
  width: 100%;
  height: 70%;
  object-fit: cover;
}

@media (max-width: 400px) {
  .menu-item img {
  width: 100%;
  height: 60%;
  object-fit: cover;
}
}
@media (max-width: 363px) {
  .section-title::after {
    content: '';
    position: absolute;
    margin-left: 20%;
    bottom: -10px;
    width: 60px;
    height: 5px;
    background-color: var(--forest-green);
  }
@media (min-width: 600px) {
    header h1 {
        font-size: 2.8em;
    }
}
@media (min-width: 992px) {
    header h1 {
        font-size: 3em;
    }
    .menu-grid {
         grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
        
    }

    .menu-item-title {
        font-size: 1.7em;
    }
}
}