/* Grundlegende Einstellungen */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #fdf6e3;
  color: #2c2c2c;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #1a2a4f;
}

a {
  text-decoration: none;
  color: #b8860b;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #f0c674;
  margin: 0;
}

.btn-primary {
  background-color: #b8860b;
  color: white;
}

.btn-primary:hover {
  background-color: #d4a017;
}

.btn-secondary {
  background-color: #1a2a4f;
  color: white;
}

.btn-secondary:hover {
  background-color: #2e3f6e;
}

/* Header */
header {
  background-color: #1a2a4f;
  padding: 10px 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: white;
  font-weight: bold;
}

/* Hero Section */
.hero {
  background-image: url('../img/hero.webp');
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
  color: white;
}
.hero-content h1,
.hero-content h2,
.hero-content h3 {
  color: #f0c674; /* Goldton */
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 30px;
  border-radius: 10px;
}

/* Teaser Section */
.teaser {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 20px;
  background-color: #fff8e1;
}

.teaser-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 450px; /* gleiche Höhe für alle Boxen */
  padding: 15px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.teaser-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.teaser-box h3 {
  margin: 15px 0 10px;
  color: #1a2a4f;
}

.teaser-box p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.btn-wrapper {
  text-align: center;
}


/* Welcome Section */
.welcome {
  padding: 60px 20px;
  background-color: #fdf6e3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.welcome h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1a2a4f;
}

.welcome p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #2c2c2c;
}


/* Footer */
footer {
  background-color: #1a2a4f;
  color: white;
  text-align: center;
  padding: 20px;
}

footer a {
  color: #f0c674;
}

.reservierung {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  background-color: #fff8e1;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.reservierung h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1a2a4f;
}

.reservierung p {
  text-align: center;
  margin-bottom: 30px;
  color: #2c2c2c;
}

.reservierungsformular {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.reservierungsformular label {
  font-weight: bold;
  color: #1a2a4f;
}

.reservierungsformular input,
.reservierungsformular textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #fff;
  transition: border 0.3s ease;
}

.reservierungsformular input:focus,
.reservierungsformular textarea:focus {
  border-color: #b8860b;
  outline: none;
}

.reservierungsformular textarea {
  resize: vertical;
}

.reservierungsformular button {
  background-color: #b8860b;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reservierungsformular button:hover {
  background-color: #d4a017;
}

.reservierungsformular input[type="checkbox"] {
  margin-right: 10px;
}
.kontakt {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  background-color: #fff8e1;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.kontakt h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #1a2a4f;
}

.kontakt-info p,
.oeffnungszeiten ul li {
  margin-bottom: 10px;
  color: #2c2c2c;
}

.oeffnungszeiten h3,
.map h3 {
  margin-top: 30px;
  color: #1a2a4f;
}

.speisekarte {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  background-color: #fff8e1;
  border-radius: 10px;
}

.speisekarte h2 {
  text-align: center;
  color: #1a2a4f;
  margin-bottom: 10px;
}

.speisekarte p {
  text-align: center;
  margin-bottom: 30px;
  color: #2c2c2c;
}

.speisen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gericht {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
}

.gericht img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.gericht h3 {
  margin-top: 15px;
  color: #1a2a4f;
}

.gericht p {
  color: #2c2c2c;
  font-size: 0.95rem;
}

.speisen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gericht img {
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s;
}

.gericht img:hover {
  transform: scale(1.05);
}

#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

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

#prev, #next {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 20px;
  transform: translateY(-50%);
}

#prev { left: 10px; }
#next { right: 10px; }

#prev:hover, #next:hover {
  color: #ffcc00;
}
.galerie {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  background-color: #fff8e1;
  border-radius: 10px;
  text-align: center;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.galerie-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.galerie-grid img:hover {
  transform: scale(1.05);
}

#gallery-lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

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

#gallery-prev, #gallery-next {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 20px;
  transform: translateY(-50%);
}

#gallery-prev { left: 10px; }
#gallery-next { right: 10px; }

#gallery-prev:hover, #gallery-next:hover {
  color: #ffcc00;
}

/* responsive */

@media (max-width: 768px) {
  .teaser {
    flex-direction: column;
  }

  .teaser-box {
    width: 100%;
    height: auto;
  }

  .hero {
    padding: 60px 15px;
    background-position: center top;
  }

  .hero-content {
    padding: 20px;
  }

  h1, h2, h3 {
    font-size: 1.5rem;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #f8f8f8;
}

.burger {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .nav-links.active {
    display: flex;
  }
}

.card img {
  height: 200px;
  object-fit: cover;
}



