body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #2c2c2c;
}

/* Logo */
header {
  text-align: center;
  padding: 30px;
  background-color: #b87b5c;
}

.logo-header {
  background-color: #b87b5c;
  text-align: center;
  padding: 0;
  margin: 0;
}

.logo-header img {
  max-width: 90%;
  margin: 0 auto;
  display: block;
}

/* Navigation */
nav {
  background-color: #975e42;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
}

nav ul li:hover {
  background-color: #cb9326;
}

nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  display: none;
  min-width: 160px;
  z-index: 999;
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li a {
  padding: 10px 15px;
}

/* Speisekarte */
.menu {
  padding: 40px 20px;
  background-color: #F1E5D6;
  text-align: center;
}

.menu h2 {
  margin-bottom: 20px;
  color: #b87b5c;
}

.menu-item {
  margin: 10px 0;
  display: inline-block;
  background-color: #cb9326;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
}

/* Überschriften */
.menu h2,
.eventkalender h2,
.contact h2,
.gallery h2 {
  color: #b87b5c;
  margin: 0;
  padding: 0.5em 0;
}

/* Kontakt */
.contact {
  background-color: #F1E5D6;
  text-align: center;
  padding: 40px 20px;
}

iframe {
  width: 100%;
  height: 300px;
  border: none;
  margin-top: 20px;
}

.contact-buttons {
  margin-top: 20px;
}

.contact-buttons .btn {
  display: inline-block;
  position: relative;  /* << Das ist der wichtige Fix */
  margin: 10px;
  padding: 12px 20px;
  background-color: #cb9326;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}


.contact-buttons .btn:hover {
  background-color: #b87b5c;
}
.tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  left: 50%;            /* Zentriert horizontal */
  top: 100%;            /* Direkt unter dem Button */
  transform: translateX(-50%); /* Mitte treffen */
  white-space: nowrap;
  margin-top: 8px;      /* Abstand zum Button */
  transition: opacity 0.3s;
  z-index: 1;
}

.btn:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Footer */
.site-footer {
  background-color: #2c2c2c;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
}

.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #cb9326;
}

@media (max-width: 600px) {
  .footer-links a {
    display: block;
    margin: 8px 0;
  }
}

/* Rechtliches */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
  background-color: #F1E5D6;
  text-align: left;
}

/* Zurück-Button */
.back-button {
  text-align: center;
  margin-top: 40px;
}

.back-button .btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #cb9326;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button .btn:hover {
  background-color: #b87b5c;
}

/* Galerie */
.gallery {
  padding: 40px 20px;
  background-color: #F1E5D6;
  text-align: center;
}

.gallery h2 {
  margin-bottom: 30px;
  font-size: 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.photo-column,
.video-column,
.extra-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 860px;
  overflow: hidden;
}

.photo-column img,
.extra-column img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.photo-column img:hover,
.extra-column img:hover {
  transform: scale(1.03);
}

.video-column video,
.extra-column video {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.video-column video:hover,
.extra-column video:hover {
  transform: scale(1.03);
}

/* Responsive Galerie */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .photo-column,
  .video-column,
  .extra-column {
    max-height: none;
  }

  .photo-column img,
  .extra-column img,
  .video-column video,
  .extra-column video {
    max-height: none;
  }
}

/* Lightbox */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px white;
  border-radius: 8px;
}

/* Container für beide Listen */
.zeiten-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* sorgt dafür, dass sie auf kleinen Bildschirmen umbrechen */
}

/* Stil für normale Öffnungszeiten und Sonderzeiten */
.oeffnungszeiten, .sonderzeiten {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

.oeffnungszeiten li, .sonderzeiten li {
  padding: 5px 0;
  border-bottom: 1px solid #b87b5c;
}

.oeffnungszeiten li:last-child,
.sonderzeiten li:last-child {
  border-bottom: none;
}
.sonderzeiten {
  background-color: #fff8f0;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Eventkalender */
.eventkalender {
  background-color: #F1E5D6;
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1rem;
}

.event-table th, .event-table td {
  border: 1px solid #b87b5c;
  padding: 1rem;
  text-align: left;
}

.event-table thead {
  background-color: #f9f5f0;
  color: #2c2c2c;
}

.event-table tbody tr:nth-child(even) {
  background-color: #f9f5f0;
}

.event-table td:last-child {
  font-weight: bold;
  color: #2c2c2c;
}

.event-table td:last-child:contains("Ausgebucht") {
  color: red;
}
