:root {
  --gold: #C39B49;
  --dark: #1E1E1E;
  --light: #F5F5F5;
  --max-width: 1200px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: #fff;
}

body {
  margin-top: 120px;
}

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

.logo img {
  height: 64px;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  align-items: center;
}

.main-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
}

.header-actions .btn-reserve {
  background: var(--gold);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  margin-top: 12px;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(0.95) brightness(0.9);
  border-radius: var(--radius);
}

.hero-overlay {
  position: absolute;
  left: 0;
  top: 20%;
  width: 100%;
  text-align: center;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  padding: 0 16px;
}

.hero-overlay h1 {
  font-size: 40px;
  margin: 0 0 8px 0;
  color: var(--gold);
}

.hero-overlay p {
  margin: 0;
  font-size: 18px;
}

/* ===================== Philosophie ===================== */
.philosophie {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  color: #333;
}

.philosophie .container {
  max-width: 1000px;
  margin: 0 auto;
}

.philosophie h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #a8914e;
}

.philosophie h3 {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 1rem;
}

.philosophie p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ===================== Carousel ===================== */
.carousel-caption h1 {
  font-size: 2.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.carousel-caption p {
  font-size: 1.2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption.centered {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  text-shadow: 0 0 10px black;
}

.carousel-caption.top {
  top: 10%;
  bottom: auto;
  text-shadow: 0 0 10px black;
}

/* ===================== Main Content ===================== */
.main-content {
  display: flex;
  gap: 24px;
  padding: 40px 0;
}

.content-area {
  flex: 1;
  background: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sidebar {
  width: 320px;
}

/* ===================== Galerie ===================== */
.gallery-section {
  padding: 24px 0;
}

.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.gallery-filters button {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.gallery-filters button.active {
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  background: #f6f6f6;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* ===================== Lightbox ===================== */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.lb-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

/* ===================== Footer ===================== */
.site-footer {
  background: #111;
  color: #fff;
  padding: 24px 0;
  margin-top: 40px;
}

.site-footer a {
  color: var(--gold);
}

/* ===================== Modal ===================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
}

.modal .modal-inner {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.modal .modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

.modal label {
  display: block;
  margin-bottom: 8px;
}

.modal input,
.modal textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .main-content {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .hero-overlay h1 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .carousel-caption {
    font-size: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
  }
  .carousel-caption h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  .carousel-caption p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* ===================== Menü (Mobile) ===================== */
.menu-toggle {
  display: none;
  font-size: 2.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--dark);
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .main-menu ul {
    display: none;
    flex-direction: column;
    background-color: var(--dark);
    margin: 0;
    padding: 10px 0;
    list-style: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 9999;
  }
  .main-menu ul.show { display: flex; }

  .main-menu a {
    color: var(--light);
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .main-menu a:last-child { border-bottom: none; }
  .main-menu a:hover,
  .main-menu a:focus {
    background-color: var(--gold);
    color: var(--dark);
  }
}

/* ===================== Hover-Galerie ===================== */
.hover-gallery-section h2 {
  color: var(--gold);
  font-family: 'Georgia', serif;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hover-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.hover-image {
  position: relative;
  display: block;
  width: 300px;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  background-color: var(--dark);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.hover-image:hover { transform: scale(1.03); }
.hover-image img {
  width: 100%;
  display: block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hover-image img.hover {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.hover-image:hover img.hover {
  opacity: 1; transform: scale(1.05);
}
.hover-image:hover img.normal {
  opacity: 0; transform: scale(1.05);
}
.hover-title {
  position: absolute;
  bottom: 0; width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--gold);
  font-size: 1.2rem;
  padding: 10px;
  font-family: 'Georgia', serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  user-select: none;
  transition: background 0.3s ease;
}
.hover-image:hover .hover-title {
  background: rgba(0, 0, 0, 0.7);
}
@media (max-width: 768px) {
  .hover-image { width: 100%; max-width: 350px; }
}

/* ===================== Dropdown Menü ===================== */
.navbar-nav .dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  background-color: #fff;
  min-width: 10rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  border-radius: 0.25rem;
  padding: 0.5rem 0;
  z-index: 9999 !important;
}
.navbar-nav .dropdown-menu li { width: 100%; }

/* Submenus */
.dropdown-menu .dropdown-menu {
  left: 100%; top: 0;
  position: absolute;
  z-index: 10000 !important;
}
.dropdown-menu ul.submenu {
  padding-left: 1rem;
  margin-top: 0.5rem;
}
.dropdown-menu ul.submenu li a {
  font-size: 0.9rem;
  color: #555;
}

/* Anzeigen per Klasse */
.navbar-nav .dropdown-menu.show { display: block; }

/* Desktop Hover */
@media (min-width: 992px) {
  .navbar-nav > li.dropdown:hover > .dropdown-menu {
    display: block;
  }
  .navbar-nav > li.position-static > .dropdown-menu {
    width: 100%;
    left: 0; right: 0; top: 100%;
    padding: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  }
  .navbar-nav > li.position-static > .dropdown-menu > ul {
    display: flex;
    gap: 2rem;
    margin: 0; padding: 0;
    list-style: none;
  }
  .navbar-nav > li.position-static > .dropdown-menu > ul > li {
    flex: 1 1 0;
  }
}

@media (max-width: 768px) {
  ul.navbar-nav li.dropdown > .dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: var(--dark);
  }

  ul.navbar-nav li.dropdown > .dropdown-menu.show {
    display: flex;
  }
}

/* Mobile Dropdown sichtbar machen */
.navbar .dropdown-menu {
    background-color: #fff !important; /* hellen Hintergrund */
    color: #333; /* Textfarbe */
}

.navbar .dropdown-menu a {
    color: #333 !important; /* Linkfarbe */
}

.navbar .dropdown-menu a:hover {
    background-color: #f8f9fa !important; /* Hover hellgrau */
    color: #000 !important;
}

/* Desktop-Menü standardmäßig anzeigen */
#mainNav {
  display: block;
}

/* Maximenu standardmäßig verstecken */
#maximenuck201 {
  display: none;
}

/* --- Mobile ab 991px und kleiner --- */
@media (max-width: 991px) {
  #mainNav {
    display: none !important;
  }
  #maximenuck201 {
    display: block !important;
  }
}

.menu-button {
  display: inline-block;
  background: #ffffff; /* Grau */
  color: #d4af37;   /* Gold */
  font-size: 18px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border: 2px solid #d4af37;
}
.menu-button:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}

.article-content img {
  max-width: 100%;
  height: auto;
  display: block; /* entfernt kleine Abstände */
}

.responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* optional zentrieren */
}

/* Presseanfrage Formular Styling */
.presse-form {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #faf7f2;
    border: 1px solid #e1d6c1;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    color: #444;
    line-height: 1.6;
}

.presse-form h2 {
    text-align: center;
    color: #b28c44;
    margin-bottom: 1.5rem;
}

.presse-form label {
    display: block;
    margin: 0.75rem 0 0.25rem 0;
    font-weight: bold;
}

.presse-form input[type="text"],
.presse-form input[type="email"],
.presse-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 1rem;
    box-sizing: border-box;
}

.presse-form textarea {
    resize: vertical;
    min-height: 120px;
}

.presse-form input[type="submit"] {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.1rem;
    color: #fff;
    background-color: #b28c44;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.presse-form input[type="submit"]:hover {
    background-color: #997735;
    transform: translateY(-2px);
}

.presse-form .contact-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.5rem;
    text-align: center;
}

/* Container zentrieren */
.festspiele-image {
  text-align: center;
  margin: 20px 0;
}

/* Responsives Bild */
.responsive-img {
  max-width: 100%;   /* passt sich der Breite des Containers an */
  height: auto;      /* behält das Seitenverhältnis */
  border: 2px solid #b28c44;  /* goldener Rahmen */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover-Effekt */
.responsive-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Container zentrieren */
.festspiele-image {
  text-align: center;
  margin: 20px 0;
}

/* Responsives Bild */
.responsive-img {
  max-width: 100%;           /* passt sich der Containerbreite an */
  height: auto;              /* Seitenverhältnis bleibt erhalten */
  border: 2px solid #b28c44; /* goldener Rahmen */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover-Effekt */
.responsive-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Typografie für SEO/Keywords */
.seo-keywords {
  color: #ffffff;
  font-size: 0.8rem;
  margin-top: 15px;
}

/* Container zentrieren */
.festspiele-image {
  text-align: center;
  margin: 20px 0;
}

/* Responsives Bild */
.responsive-img {
  max-width: 100%;
  height: auto;
  border: 2px solid #b28c44;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover-Effekt */
.responsive-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Icons & Infos */
.festspiele-info {
  background-color: #f9f7f2;
  padding: 15px 20px;
  border-left: 5px solid #b28c44;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.festspiele-info .icon {
  font-size: 1.2rem;
  margin-right: 8px;
}

/* SEO-Keywords */
.seo-keywords {
  color: #ffffff;
  font-size: 0.8rem;
  margin-top: 15px;
}

/* Überschriften optisch veredeln */
h3 {
  color: #b28c44; 
  font-family: "Georgia", serif;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Magazin-Titel */
.magazin-title {
  color: #b28c44;
  font-family: "Georgia", serif;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

/* Magazin-Block */
.magazin-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}

/* Reverse für Bild links, Text rechts */
.magazin-block.reverse {
  flex-direction: row-reverse;
}

/* Text und Bild innerhalb Block */
.magazin-text {
  flex: 1 1 50%;
  padding: 15px;
  font-size: 1rem;
  line-height: 1.6;
}

.magazin-image {
  flex: 1 1 50%;
  text-align: center;
  padding: 15px;
}

/* Responsives Bild */
.responsive-img {
  max-width: 100%;
  height: auto;
  border: 2px solid #b28c44;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.responsive-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Info-Box */
.festspiele-info {
  background-color: #f9f7f2;
  padding: 15px 20px;
  border-left: 5px solid #b28c44;
  border-radius: 8px;
  margin: 30px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.festspiele-info .icon {
  font-size: 1.2rem;
  margin-right: 8px;
}

/* SEO-Keywords */
.seo-keywords {
  color: #ffffff;
  font-size: 0.8rem;
  margin-top: 15px;
}

/* Responsive Anpassungen für Mobil */
@media (max-width: 768px) {
  .magazin-block, .magazin-block.reverse {
    flex-direction: column;
  }
  .magazin-text, .magazin-image {
    flex: 1 1 100%;
    padding: 10px 0;
  }
}

/* Stil für E-Mail-Button */
.email-button {
  display: inline-block;
  background-color: #b28c44;   /* Goldton passend zum Restaurant */
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.email-button:hover {
  background-color: #a17734;   /* dunkleres Gold beim Hover */
  transform: translateY(-2px);
}

/* Stil für E-Mail-Button */
.email-button {
  display: inline-block;
  background-color: #b28c44;   /* Goldton passend zum Restaurant */
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

.email-button:hover {
  background-color: #a17734;   /* dunkleres Gold beim Hover */
  transform: translateY(-2px);
}

/* Magazin-Titel */
.magazin-title {
  color: #b28c44;
  font-family: "Georgia", serif;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

/* Magazin-Block */
.magazin-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}

/* Reverse für Bild links, Text rechts */
.magazin-block.reverse {
  flex-direction: row-reverse;
}

/* Text und Bild innerhalb Block */
.magazin-text {
  flex: 1 1 50%;
  padding: 15px;
  font-size: 1rem;
  line-height: 1.6;
}

.magazin-image {
  flex: 1 1 50%;
  text-align: center;
  padding: 15px;
}

/* Responsives Bild */
.responsive-img {
  max-width: 100%;
  height: auto;
  border: 2px solid #b28c44;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.responsive-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Info-Box */
.festspiele-info {
  background-color: #f9f7f2;
  padding: 15px 20px;
  border-left: 5px solid #b28c44;
  border-radius: 8px;
  margin: 30px 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Icons */
.festspiele-info .icon {
  font-size: 1.2rem;
  margin-right: 8px;
}

/* Mail-Button */
.email-button {
  display: inline-block;
  background-color: #b28c44;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 5px;
}

.email-button:hover {
  background-color: #a17734;
  transform: translateY(-2px);
}

/* SEO-Keywords */
.seo-keywords {
  color: #ffffff;
  font-size: 0.8rem;
  margin-top: 15px;
}

/* Responsive Anpassungen für Mobil */
@media (max-width: 768px) {
  .magazin-block, .magazin-block.reverse {
    flex-direction: column;
  }
  .magazin-text, .magazin-image {
    flex: 1 1 100%;
    padding: 10px 0;
  }
}

/* Magazin-Titel */
.magazin-title {
  color: #b28c44;
  font-family: "Georgia", serif;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

/* Magazin-Block */
.magazin-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}

/* Reverse für Bild links, Text rechts */
.magazin-block.reverse {
  flex-direction: row-reverse;
}

/* Text und Bild innerhalb Block */
.magazin-text {
  flex: 1 1 50%;
  padding: 15px;
  font-size: 1rem;
  line-height: 1.6;
}

.magazin-image {
  flex: 1 1 50%;
  text-align: center;
  padding: 15px;
}

/* Responsives Bild */
.responsive-img {
  max-width: 100%;
  height: auto;
  border: 2px solid #b28c44;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.responsive-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Mail-Button */
.email-button {
  display: inline-block;
  background-color: #b28c44;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

.email-button:hover {
  background-color: #a17734;
  transform: translateY(-2px);
}

/* Responsive Anpassungen für Mobil */
@media (max-width: 768px) {
  .magazin-block, .magazin-block.reverse {
    flex-direction: column;
  }
  .magazin-text, .magazin-image {
    flex: 1 1 100%;
    padding: 10px 0;
  }
}
