/* Header / Navigation Grundlayout */
#header {
    position: relative;
}

#headnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    font-size: 18px;
}

body.scrolled #headnav {
    position: fixed;
    top: 0;
    left: 0;

}

body.scrolled #headnav .level_1 {
    background: rgba(35,26,16,0.8);
    backdrop-filter: blur(4px);
    border-bottom-color: rgba(255,255,255,0.25);
}


#headnav ul {
  list-style-type: none;
}


#headnav .level_1 {
    max-width: 1500px;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: right;
    align-items: center;

    background: rgba(35,26,16,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.15);

    transition: 
        background 0.2s ease,
        backdrop-filter 0.2s ease,
        border-color 0.2s ease;
}


#headnav .level_1 > li {
    position: relative;
}

#headnav .level_1 > li > a,
#headnav .level_1 > li > strong {
    display: block;
    padding: 0 22px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.5rem;
}

#headnav .level_1 > li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 22px;
    width: 1px;
    background: rgba(255,255,255,0.4);
}


#headnav .level_1 > li > a,
#headnav .level_1 > li > strong {
  position: relative;
}

#headnav .level_1 > li > a::after,
#headnav .level_1 > li > strong::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -6px;
  height: 2px;
  background: var(--hellbraun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

#headnav .level_1 > li > a:hover::after {
  transform: scaleX(1);
}

#headnav .level_1 > li.active > strong::after,
#headnav .level_1 > li.forward > strong::after {
  transform: scaleX(1);
}



#headnav .level_1 > li.active > strong {
    font-weight: 500;
}



#headnav {
    overflow: visible !important;
}


@media (max-width: 1100px) {
#headnav {
    font-size: 16px;
}

#headnav .level_1 > li > a,
#headnav .level_1 > li > strong {
    padding: 0 15px;
}
#logo img {
  max-width: 300px;
}
}

@media (max-width: 900px) {
#headnav ul  {
  height: 45px;
}
#logo img {
  max-width: 250px;
}

#headnav ul li {
  display: none;
}
}



/* =====================================
   FOOTER
===================================== */


footer {
  background: #403428;
  background-image: url(../../img/bg_footer.jpg);
  background-size: cover;
  background-attachment: fixed;
  color: #F4F1EC;
  padding: 3.5rem 2rem;
  position: relative;
}

footer .inside {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer nav {
  margin: auto;
}

footer nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer nav a {
  color: #F4F1EC;
  text-decoration: none;
  font-size: 0.95rem;
}

footer nav a:hover {
  text-decoration: underline;
}

footer .copyright {
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (max-width: 700px) {
  footer .inside {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

