html {
  overflow-y: scroll; /* Scrollbereich immer reservieren */
  scroll-behavior: smooth;
}

/* --------- Grundlayout --------- */
body {
  font-family: 'Roboto', sans-serif;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
    url('bilder/hintergrund.png') no-repeat center center fixed;
  background-size: cover;
  color: #333333;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

/* --------- Kopfzeile --------- */
#kopfleiste {
  background: linear-gradient(135deg, #bfa984, #e0c9a6); /* warme Beige-/Sepia-Töne */
  color: #3b2f23; /* Dunkelbraun für guten Kontrast */
  padding: 20px;
  text-align: center;
}


#kopfleiste h1 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}
header {
  background-color: #fffefc;
  padding: 2rem 1rem 0 1rem;
  text-align: center;
  position: relative;
  font-family: 'Georgia', serif;
}

.zierleiste {
  margin-top: -5px;
  line-height: 0;
}


/* --------- Navigationsmenü --------- */
#menu {
  background-color: #f2f2f2;
  padding: 10px 0;
}
#menu li a,
#menu li,
#mobile-menu a {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}
#menu li a,
#mobile-menu a {
  padding: 12px 20px;
  display: inline-block;
  touch-action: manipulation;
}

#menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

#menu li {
  display: inline-block;
  margin: 0 15px;
}

#menu li a, #menu li {
  font-size: 1.2em;
  color: #333333;
}

/* Aktiver Menüpunkt */
#menu li:not(:has(a)) {
  font-weight: bold;
}

/* Hamburger Menü Button */
#menu-toggle {
  display: none; /* Standardmäßig ausgeblendet */
  font-size: 2em;
  background: none;
  border: none;
  color: #ffffff; /* Weiße Farbe für besseren Kontrast */
  cursor: pointer;
  z-index: 1000; /* Stellt sicher, dass der Button über anderen Elementen liegt */
}

#mobile-menu {
  display: none;
  background-color: #d8c1a3; /* warmer Beige-Ton */
  color: #3b2f23; /* Dunkles Braun für Text */
  padding: 15px 0;
}

#mobile-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

#mobile-menu li {
  margin: 15px 0;
}

#mobile-menu a {
  font-size: 1.5em;
  color: white;
  text-decoration: none;
}

#mobile-menu a:hover {
  color: #cc3333; /* Dunkleres Rot für Hover-Effekt */
}

/* Anzeigen des Hamburger Menüs und des mobilen Menüs bei kleiner Bildschirmgröße */
@media screen and (max-width: 600px) {
  #menu {
    display: none; /* Navigationsmenü auf normalen Bildschirmen ausblenden */
  }

  #menu-toggle {
    display: block; /* Hamburger Menü Button anzeigen */
  }

  #mobile-menu {
    display: block; /* Mobile Menü sichtbar machen */
  }
}
body, p {
  font-family: 'Lora', serif;
  font-size: 1.05em;
  line-height: 1.6;
}
/* --------- Inhaltsbereich --------- */
#inhalt {
  padding: 30px;
  max-width: 1000px; /* Maximale Breite des Inhaltsbereichs */
  margin: 0 auto; /* Zentriert den Inhaltsbereich */
}

/* Optional: Bild im Inhaltsbereich wird nicht breiter als der Inhaltsbereich */
#inhalt img {
  max-width: 100%;
  height: auto;
}
.musiker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
}

.musiker-grid figure {
  margin: 0;
  width: 150px;
}

.musiker-grid figcaption {
  margin-top: 8px;
  font-family: 'Lora', serif;
  font-size: 0.95em;
  color: #3b2f23;
}

figcaption, blockquote, .zitat {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  color: #665544;
}
/* --------- Formular --------- */
form label {
  display: block;
  margin-top: 10px;
}

/* Stil für die Tabelle */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: linear-gradient(135deg, #bfa984, #e0c9a6); /* warme Beige-/Sepia-Töne */
  color: #3b2f23;
}

tr:hover {
  background-color: #f9f9f9;
}
footer {
  background-color: #e0c9a6; /* Helles Beige passend zum Design */
  color: #3b2f23; /* Dunkelbraun für guten Kontrast */
  text-align: center;
  padding: 15px 20px; /* Weniger Polsterung für einen kompakteren Footer */
  font-family: 'Roboto', sans-serif; /* Eine moderne, klare Schriftart */
  font-size: 0.9em; /* Verkleinerte Schriftgröße */
  border-top: 2px solid #bfa984; /* Dezente Trennlinie oben */
}

footer p {
  margin: 5px 0; /* Weniger Abstand zwischen den Absätzen */
}

footer a {
  color: #3b2f23;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #cc3333; /* Dunkleres Rot für Hover-Effekt */
  text-decoration: underline;
}

.footer-instagram-button {
  display: inline-flex; /* Flexbox für präzises Zentrieren */
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: white; /* Hintergrundfarbe */
  border-radius: 50%;
  overflow: hidden; /* Damit nichts übersteht */
  transition: transform 0.3s ease;
  text-decoration: none;
}

.footer-instagram-icon {
  width: 60%;
  height: 60%;
  object-fit: contain; /* Kein Verzerren */
}

.footer-instagram-button:hover {
  transform: scale(1.1); /* sanfte Vergrößerung beim Hover */
}


/* Mobile Anpassungen */
@media (max-width: 768px) {
  footer p {
    font-size: 0.85em; /* Noch kleinere Schriftgröße auf mobilen Geräten */
  }
}


/* ------------------ Mobile Anpassungen ------------------ */
@media (max-width: 768px) {
  .termine-container {
    overflow-x: auto; /* Tabelle bleibt nebeneinander, aber scrollbar */
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 600px; /* Optional: Falls die Tabelle mehr Platz braucht */
  }
}
/* Einheitliches Scrollbar-Design (WebKit) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f0e6d6; /* heller, neutraler Hintergrund */
}

::-webkit-scrollbar-thumb {
  background-color: #bfa984; /* passend zum sepia/beige Stil */
  border-radius: 6px;
  border: 2px solid #f0e6d6;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a88f6a;
}
