:root {
  --background: #24241F;
  --braungruen: #686A4B;
  --salbeigruen: #96A88F;
  --goldbeige: #BFA06A;
  --cremeweiss: #EFEDE3;
  --holzbraun: #544331;
  --waldgruen: #2C3B32;
}
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: var(--cremeweiss);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--background);
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

p { font-size:1rem; line-height:1.75; }

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  position: relative;
}
.section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #d63384;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

a { text-decoration: none; color: inherit; }

.topbar {
  background: var(--background);
  font-weight: 400;
  color: var(--cremeweiss);
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--goldbeige);
  padding: 0.4rem 1.5rem;
  transition: top 0.3s ease;
  z-index: 1030;
}
.topbar a { color: var(--cremeweiss); }

@media (max-width: 991.98px) {
  .topbar { position: sticky; top: 0; width: 100%; }
  body { padding-top: 0; }
}

.navbar {
  background: var(--background);
  backdrop-filter: blur(12px);
  transition: all 0.5s ease;
  z-index: 1020;
}

.nav-link {
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cremeweiss) !important;
  padding: 0.5rem 0.75rem;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--goldbeige);
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--goldbeige) !important; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--goldbeige) !important; }
.nav-link.active::after { width: 100%; background: var(--goldbeige); }


@media (max-width: 991px) {
  .nav-link::after {
    display: none !important;
  }
}


.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:active { border: none; outline: none; box-shadow: none; background: transparent; }
.navbar-toggler-icon { display: none; }

.custom-toggler {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  z-index: 1100;
}
.custom-toggler span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
  background-color: var(--goldbeige);
}
.custom-toggler span:nth-child(1){top:0;}
.custom-toggler span:nth-child(2){top:10px;}
.custom-toggler span:nth-child(3){top:20px;}
.custom-toggler.collapsed span:nth-child(1){transform: rotate(45deg); top:10px;}
.custom-toggler.collapsed span:nth-child(2){opacity:0;}
.custom-toggler.collapsed span:nth-child(3){transform: rotate(-45deg); top:10px;}

@media (max-width: 991.98px){
  #mainNav { text-align: center; }
  #mainNav.show .navbar-nav { flex-direction: column; align-items: center; }
  #mainNav.show .nav-link { padding-left:0 !important; padding-right:0 !important; position:static !important; }
  #mainNav.show .nav-link::after { display:none !important; }
}


#mainNavBar,
#mainNavBar .navbar-brand img,
.topbar {
  transition: all 0.6s ease-in-out; 
}

#mainNavBar {
  padding: 1.5rem 0;
  background: var(--background);
}

#mainNavBar .navbar-brand img {
  height: 130px;
}

.topbar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#mainNavBar.is-scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

#mainNavBar.is-scrolled .navbar-brand img {
  height: 80px;
}

.topbar.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}
    
@media (max-width: 991px) {

  #mainNavBar {
    padding: 1rem 0;
  }

  #mainNavBar .navbar-brand img {
    height: 80px;
  }
}


.nav-item.dropdown-hover { position: relative; }

.dropdown-menu-custom {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--background);
  backdrop-filter: blur(12px);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  border-radius: 4px;
  z-index: 1050;
}
.nav-item.dropdown-hover:hover .dropdown-menu-custom { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item.dropdown-hover::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 15px; background: transparent; }
.dropdown-link {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cremeweiss);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.dropdown-link:hover,
.dropdown-link.active { color: var(--goldbeige); }

@media (max-width: 991.98px){
  .dropdown-menu-custom {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    width: 100%;
    background: transparent;
    padding: 0;
    margin: 0;
  }
  .dropdown-link { padding: 0.5rem 0; text-align: center; }
}

#heroSlider .carousel-item { height: 75vh; background-size: cover; background-position: center; position: relative; filter: brightness(0.9); }
#heroSlider .carousel-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(42, 42, 40, 0.5) 0%, rgba(42, 42, 40, 0.4) 25%, rgba(42, 42, 40, 0.3) 50%, rgba(42, 42, 40, 0) 75%); }
.hero-content h2 { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; font-size: 4rem; color: var(--cremeweiss); text-shadow: 0 4px 20px rgba(0,0,0,0.9); }
.hero-content h3 { font-family: 'Open Sans', sans-serif; font-weight: 500; font-size: 1.25rem; color: var(--cremeweiss); text-shadow: 0 4px 20px rgba(0,0,0,0.9); }

#heroSlider .carousel-control-prev, #heroSlider .carousel-control-next { top: auto; bottom: 20px; width: 40px; height: 40px; transform: none; opacity: 1; }
#heroSlider .carousel-control-prev-icon, #heroSlider .carousel-control-next-icon { width: 40px; height: 40px; background-color: var(--salbeigruen); border-radius: 0; background-size: 60% auto; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease; }
#heroSlider .carousel-control-prev:hover .carousel-control-prev-icon, #heroSlider .carousel-control-next:hover .carousel-control-next-icon { background-color: var(--goldbeige); }
#heroSlider .carousel-control-prev { left: 50%; margin-left: -60px; }
#heroSlider .carousel-control-next { right: 50%; margin-right: -60px; }

.btn { padding: 12px 28px; border-radius: 0; border: none; font-size: 1rem; text-transform: uppercase; box-shadow: 0 8px 18px rgba(0,0,0,0.8); }
.btn:hover { box-shadow: 0 8px 18px rgba(0,0,0,0.8); }
.btn-primary { background: var(--salbeigruen) !important; color: var(--cremeweiss) !important; }
.btn-primary:hover { background: var(--goldbeige) !important; color: var(--cremeweiss) !important; }

.parallax { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; padding: 140px 0; overflow: hidden; }
.parallax::before { content:""; position:absolute; inset:0; background: rgba(246,244,238,0.7); z-index:1; }
.parallax-content { position: relative; z-index: 2; }
.parallax h4 { color: var(--background); font-family:'Montserrat', sans-serif; font-weight:400; text-transform: uppercase; padding-bottom:1.5rem; }
.parallax p { color: var(--background); font-size:1rem; }

#content , .rauemlichkeiten { padding: 2rem 0; }
#raeumlichkeiten { background: var(--waldgruen); padding: 3rem 0; }



#about p, #team p { color: var(--background); font-size:1rem; line-height:1.75; }
#about h4, #team h4, #impressionen h4 { color: var(--background); font-family:'Montserrat', sans-serif; font-weight:400; text-transform:uppercase; margin-bottom:1.5rem; }

#raeumlichkeiten h4 { color: var(--salbeigruen); font-family:'Montserrat', sans-serif; font-weight:400; text-transform:uppercase; margin-bottom:2.5rem; }


ol { list-style:none; margin:1.5rem 0; padding:0; }
ol li { position:relative; padding:0.3rem 0 0.3rem 1.6rem; margin:0; line-height:1.6rem; color: var(--background); }
ol li::before { content:"\203A"; position:absolute; left:0; top:0; font-size:1.5rem; color: var(--waldgruen); line-height:1.9rem; }

p { color: var(--background); font-size:1rem; line-height:1.75; }



.custom-carousel-btn {
  background-color: var(--salbeigruen);
  color: var(--cremeweiss);
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.custom-carousel-btn:hover { background-color: var(--goldbeige); }

footer { background: var(--background); color: var(--cremeweiss); letter-spacing:0.5px; }
footer p { color: var(--cremeweiss); font-size:1rem; line-height:1.75; font-weight: 400; }
footer a { color: var(--cremeweiss); text-decoration:none; }
footer a:hover { text-decoration:underline; }
footer h5 { font-family:'Montserrat', sans-serif; font-weight:400; text-transform:uppercase; margin:3rem 0 0.5rem 0; color: var(--cremeweiss); }


table.speisenkarte { color: var(--background); }
table.speisenkarte td { border-bottom: 1px dotted var(--salbeigruen); padding: 15px; }
table td.head { background-color: var(--salbeigruen); }


section.cremeweiss { padding:2rem 0; background-color: var(--cremeweiss); }
section.salbeigruen { padding:2rem 0; background-color: var(--salbeigruen); }
section.cremeweiss p, section.salbeigruen p { color: var(--background); font-size:1rem; line-height:1.75; }
section.cremeweiss ol, section.salbeigruen ol { color: var(--background); }
section.cremeweiss h1,
section.salbeigruen h1,
section.cremeweiss h4, 
section.salbeigruen h4 {
  color: var(--background);
  font-family:'Montserrat', sans-serif;
  font-weight:400;
  text-transform:uppercase;
  margin-bottom:1.5rem;
  font-size: 1.5em;
}

.multi-carousel-container { cursor: grab; margin: 0 auto; max-width: 100%; overflow: hidden; position: relative; }
.multi-carousel-container.dragging,
#multiCarousel.dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.multi-carousel-inner { display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.multi-carousel-item, .clone { box-sizing: border-box; flex: 0 0 33.333333%; padding: 0 5px; position: relative; }
@media (max-width: 720px) { .multi-carousel-item, .clone { flex: 0 0 100%; } }

#multiCarousel .card { border: none; background-color: var(--cremeweiss); box-shadow: none; border-radius: 0; }
#multiCarousel .card img { border-radius: 0; }
.img-container { border-radius: 0; height: var(--carousel-height, 80vh); overflow: hidden; position: relative; }
.img-container img, #carouselInner img { height: 100%; width: 100%; object-fit: cover; object-position: top; pointer-events: none; user-drag: none; -webkit-user-drag: none; transition: transform 0.3s ease; }
.img-container:hover img { transform: translateZ(0) scale(1.2); }

.multi-carousel-controls { display: flex; justify-content: center; gap: 45px; margin-top: 20px; }

#multiCarousel .custom-carousel-btn { width: 40px; height: 40px; background-color: var(--salbeigruen); border-radius: 0; background-size: 60% auto; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease; }
#multiCarousel .custom-carousel-btn:hover { background-color: var(--goldbeige); }

.card-body { min-height: 100px; }

.img-fluid { cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.img-fluid:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

.glightbox-container .gprev,
.glightbox-container .gnext {
  width: 40px !important;
  height: 40px !important;
  border-radius: 0 !important;
  background-color: var(--salbeigruen) !important;
  color: var(--cremeweiss) !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  z-index: 1100 !important;
  transition: background-color 0.3s ease !important;
}
.glightbox-container .gprev:hover,
.glightbox-container .gnext:hover { background-color: var(--goldbeige) !important; color: var(--background) !important; }
.glightbox-container .gprev svg,
.glightbox-container .gnext svg { fill: currentColor !important; width: 22px !important; height: 22px !important; transition: fill 0.25s ease !important; }
.glightbox-container .gprev { left: 20px !important; top: 50% !important; transform: translateY(-50%) !important; }
.glightbox-container .gnext { right: 20px !important; top: 50% !important; transform: translateY(-50%) !important; }

.glightbox-container .gclose {
  width: 40px !important;
  height: 40px !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: var(--cremeweiss) !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  z-index: 1100 !important;
  transition: color 0.25s ease !important;
}
.glightbox-container .gclose:hover { color: var(--goldbeige) !important; background-color: transparent !important; }
.glightbox-container .gclose svg { fill: currentColor !important; width: 22px !important; height: 22px !important; transition: fill 0.25s ease !important; }
.glightbox-container .gclose { top: 20px !important; right: 20px !important; }


#backToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  font-size: 24px;
  border: 0;
  cursor: pointer;
  background-color: var(--salbeigruen);
  color: var(--cremeweiss);
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

#backToTopBtn:hover {
  background-color: var(--goldbeige);
}


#backToTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
}
