/* ======= Grundlayout ======= */
body {
  margin: 0;
  padding: 45px 0 0 0;
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  background: #9aa5b8;
  color: #222;
  font-size: 1.3rem;
  line-height: 1.6;
}

h1 {
  font-size: 1.5em;
}

/* ======= Navigation ======= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #d9d1b8;
  z-index: 10000;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

nav ul.main-nav {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

nav li {
  position: relative;
  margin: 0 8px;
  white-space: nowrap;
}

nav a {
  display: block;
  padding: 12px 15px;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Crimson Pro', serif;
  transition: background 0.3s, color 0.3s;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  border-radius: 4px;
}

nav a i {
  margin-left: 5px;
  font-size: 0.7rem;
}

nav a:hover,
nav a:focus {
  background: #bfb5a0;
  color: #000;
  outline: none;
}

/* Dropdown Menü */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #f5f0e6;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: #222;
  background-color: transparent;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: #d9d1b8;
  color: #000;
}

/* ======= Burger-Menü (mobil) ======= */
.menu-toggle {
  position: fixed;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  z-index: 10001;
  color: #333;
  cursor: pointer;
  display: none;
}

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

  nav ul.main-nav {
    flex-direction: column;
    align-items: flex-start;
    background: #d9d1b8;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  nav ul.main-nav.open {
    max-height: 500px;
  }

  nav li {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    background: #f2ede3;
    border-radius: 0;
    padding-left: 20px;
  }
}

/* ======= Hero ======= */
.hero {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 730px;
  object-fit: cover;
  object-position: bottom;
  z-index: 0;
}







.hero_huk {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero_huk img {
  position: relative;
  top: 0;
  left: 0;
  width: 26%;
  height: auto;
  object-fit: cover;
  object-position: bottom;
  z-index: 0;
}

.hero_dauerausstellung {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero_dauerausstellung img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom;
  z-index: 0;
}

.hero_museumskueche {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero_museumskueche img {
  position: relative;
  top: 0;
  left: 0;
  width: 80%;
  height: auto;
  object-fit: cover;
  object-position: bottom;
  z-index: 0;
}

.hero_gegenortschacht {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero_gegenortschacht img {
  position: relative;
  top: 200px;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom;
  z-index: 0;
}

.hero_literatur {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero_literatur img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom;
  z-index: 0;
}

.hero_startseite {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero_startseite img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  z-index: 0;
}





.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}

.hero h2 {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 3rem;
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  padding: 10px 25px;
  background-color: rgba(0, 0, 0, 0.55);
  display: inline-block;
  border-radius: 8px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7),
               0 0 12px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.03em;
}

/* ======= Inhalt ======= */
.full-bg {
  background-color: #9aa5b8;
  padding: 40px 0;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  border-radius: 12px;
}

/* ======= Galerie ======= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  text-align: center;
}

.gallery img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 3px solid white;
  width: 100%;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: rotate(3deg);
}

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

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  cursor: auto;
}

.lightbox .close-btn {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 10001;
}

/* ======= Footer ======= */
footer {
  background: #78848d;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
}

footer a {
  color: #fff;
  text-decoration: underline;
}
