body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  overflow-y: auto;
}
h1 {
  text-align: center;
  color: #000000;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.5em;
  font-weight: bold;
}
h1.border {
  background-color: #f0f0f0;
  color: #000;
  border: 2px solid #7DB713;
  border-radius: 6px;
  padding: 8px 16px;
  margin: 18px auto;
  text-align: center;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: block;
}
.date-section {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #7DB713;
  color: white;
  padding: 10px;
  margin-top: 20px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
}
.menu-section {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  background: #F9F9F9;
  border: 1px solid #c4c4c4;
  position: relative;
}
.dish-name {
  color: #444;
  margin-bottom: 8px;
  margin-top: 8px;
}
.menu-section.open .dish-name {
  font-size: 1em;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  margin-top: 8px;
  display: inline-block;
}
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}
.meal-list {
  padding: 10px 15px;
}
.meal {
  padding: 5px 0;
}
.menu-section::before {
  content: "";
  width: 5px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 5px 0 0 5px;
}
.menu-herrenknecht::before { background-color: #7DB713; }
.menu-vegetarisch::before { background-color: #3A7CA5; }
.menu-wok::before { background-color: #E6A06F; }
.menu-saettigungsbeilagen::before { background-color: #D8B4A0; }
.menu-gemuesebeilagen::before { background-color: #B39BC8; }
.menu-tagessuppe::before { background-color: #12d4c4; }
.menu-salatbar::before { background-color: #1668b6; }
.nutrition-info {
  font-size: 0.9em;
  color: #666;
  display: none;
  margin-top: 25px;
  margin-bottom: 20px;
}
.info-empty {
  font-style: italic;
  color: #777;
  padding: 4px 6px;
  font-size: 0.9rem;
}
.section-title {
  margin-top: 20px;
  margin-bottom: 8px;
  color: #444;
  font-size: 0.95rem;
  text-decoration: underline;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}
.info-table td {
  padding: 4px 6px;
  font-size: 0.9rem;
  vertical-align: top;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-price {
  text-align: right;
}
.toggle-nutrition {
  text-align: center;
  color: #6595c9;
  cursor: pointer;
  font-size: 0.7rem;
  margin-top: 10px;
  user-select: none;
}
.toggle-nutrition:hover {
  text-decoration: underline;
}
.toggle-nutrition .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.toggle-nutrition.open .arrow {
  transform: rotate(180deg);
}

/* --- Navigation-Leiste unten --- */
.scroll-nav-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  overflow-x: visible;
  flex-wrap: nowrap;
  padding: 10px 0 12px;
  border-top: 1px solid #ccc;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  box-sizing: border-box;
}

.scroll-nav-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  width: auto;
  max-width: 400px;
  margin: 0 auto;
  overflow-x: visible;
  padding: 0;
}

.scroll-nav-bottom button {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 38px;
  text-align: center;
}

.scroll-nav-bottom button:hover {
  background: #e9f5db;
  color: #7DB713;
  border-color: #7DB713;
}

.scroll-nav-bottom button.active {
  background: #7DB713;
  color: white;
  border-color: #7DB713;
  font-weight: bold;
}

/* --- Wochenfarben für die Buttons --- */
.scroll-nav-bottom button.week-0 {
  background: #fff;
  color: #555;
  border-color: #ccc;
}
.scroll-nav-bottom button.week-1 {
  background: #ededed;
  color: #888;
  border-color: #ccc;
}
.scroll-nav-bottom button.week-2 {
  background: #dadada;
  color: #666;
  border-color: #bbb;
}
/* weitere Wochen ggf. ergänzen ... */

/* --- Aktiver Button überschreibt Wochenfarben --- */
.scroll-nav-bottom button.active {
  background: #7DB713 !important;
  color: #fff !important;
  border-color: #7DB713 !important;
  font-weight: bold;
}

.dish-separator {
  border: none;
  border-top: 1px solid #646363;
  margin: 15px 0 10px;
}

.alert-info {
    background-color: #e3f2fd;
    color: #0d47a1;
    border: 1px solid #90caf9;
    font-weight: bold;
    font-size: 1.1em;
    margin: 20px 0;
    padding: 16px 20px;
    border-radius: 8px;
}

.feiertag-alert {
    background: #F9F9F9;
    color: #444;
    border: 1px solid #c4c4c4;
    border-radius: 5px;
    font-size: 1.1em;
    font-style: normal;
    margin: 15px 0;
    padding: 18px 20px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
}

.scroll-wrapper {
    overflow-y: auto;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-height: 100vh;
}

.scroll-arrows {
    display: flex;
    align-items: center;
}
.scroll-arrow {
    background: #fff;
    border: none;
    box-shadow: none;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
    position: fixed;
    bottom: 24px;
    z-index: 1200;
}
.scroll-arrow:hover {
    background: #f0f0f0;
    opacity: 1;
}
#scrollNavLeft {
    left: 4vw;
}
#scrollNavRight {
    right: 4vw;
}
#scrollNavLeft svg, #scrollNavRight svg {
    display: block;
    width: 22px;
    height: 22px;
}
#scrollNavLeft,
#scrollNavRight {
  display: none;
}

/* --- Mobile Anpassungen --- */
@media (max-width: 600px) {
  .scroll-nav-bottom-wrapper {
    position: relative;
    width: 100vw;
    height: 0px;
    z-index: 1100;
    background: transparent;
  }
  .scroll-nav-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    display: flex;
    align-items: center;
    padding-left: 15vw;
    padding-right: 15vw;
    box-sizing: border-box;
    background: #f4f4f4;
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
  }
  .scroll-nav-buttons {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0;
    margin: 0;
    box-sizing: content-box;
  }
  #scrollNavLeft, #scrollNavRight {
      position: fixed;
      /* gleiche Höhe und Breite wie die Wochentags-Buttons */
      width: 38px;
      height: 38px;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0.7;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 12px;
      box-shadow: none;
      z-index: 1200;
      transition: opacity 0.2s, background 0.2s;
      bottom: 10px;
    }
    #scrollNavLeft {
      left: 4vw;
    }
    #scrollNavRight {
      right: 4vw;
    }
    #scrollNavLeft svg, #scrollNavRight svg {
      display: block;
      width: 22px;
      height: 22px;
    }
  .container {
    height: 100%;
    max-height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
  }
  .scroll-wrapper {
    height: calc(100% - 150px);
    padding: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .day-block {
    min-height: auto;
    padding-bottom: 40px;
  }
}

.nutrition-info div {
  display: flex;
  justify-content: space-between;
}
.nutrition-info span.label {
  min-width: 110px;
  font-weight: 500;
}
.nutrition-info span.value {
  text-align: right;
}