/* ========== HEADER ========== */
header#header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 60px !important;
  padding: 0 4% !important;
  background: rgba(20, 20, 20, 0.96) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

header#header .logo {
  display: flex;
  align-items: center;
  z-index: 100001;
}

header#header .logo img {
  height: 36px;
  width: auto;
}
/* lang-switch */
.lang-switch {
  display: flex;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px;
  font-size: 0.75rem;
  line-height: 1;
}

.lang-switch .lang-active,
.lang-switch .lang-link {
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.lang-switch .lang-active {
  background: #ffffff;
  color: #000000;
}

.lang-switch .lang-link {
  color: #ffffff;
  transition: background-color 0.2s ease;
}

.lang-switch .lang-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========== HERO ========== */
#hero-area,
.hero-area-bg {
  background: url("assets/img/nk.png") no-repeat center center !important;
  background-size: cover !important;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-area .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

#hero-area .container,
#hero-area .contents {
  position: relative;
  z-index: 2;
}
/* Hamburger */
#collapse-btn {
  display: none;
  background: none !important;
  border: none !important;
  color: #fff !important;
  font-size: 30px !important;
  cursor: pointer;
  z-index: 100002 !important;
  position: relative;
}

.footer-link {
  color: #fff !important;
}
.footer-link:hover {
  font-weight: bold;
}
/* Desktop */
@media (min-width: 1024px) {
  #collapsed-header-items {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
  }

  .side-menu-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 1.3rem;
  }

  #collapse-btn {
    display: none !important;
  }
}

/* Mobile + Tablet */
@media (max-width: 1023px) {
  #collapse-btn {
    display: block !important;
    position: fixed !important;
    top: 14px !important;
    right: 16px !important;
    z-index: 100002 !important;
  }

  #collapsed-header-items {
    display: none !important;
  }

  #collapsed-header-items.open {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 78vw !important;
    max-width: 320px;
    height: 100vh !important;
    height: 100dvh !important;
    background: #111 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 5.2rem 1.4rem 2rem 1.4rem !important;
    z-index: 100001 !important;
    overflow-y: auto;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.6);
  }

  #collapsed-header-items.open .side-menu-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.2rem !important;
    width: 100%;
  }

  #collapsed-header-items.open .footer-link {
    color: #eee !important;
    font-size: 1.05rem;
    display: block;
    width: 100%;
  }
  .sticky-nav {
    right: 8px;
  }

  .sticky-nav button {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}
/* Desktop: Menü fest im Header halten */
@media (min-width: 1024px) {
  header#header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60px !important;
    z-index: 99999 !important;
    background: rgba(20, 20, 20, 0.96) !important;
  }

  #collapsed-header-items {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .side-menu-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.25rem !important;
  }

  /* Hero nicht unter dem Header verstecken */
  #hero-area {
    margin-top: 60px !important;
  }
}
@media (min-width: 1024px) {
  body header#header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60px !important;
    z-index: 99999 !important;
  }

  body #collapsed-header-items {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
