/* HEADER BASIC */
.header {
  background: var(--color-bg-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Container-Padding */
.header .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 12px;
}

/* FLEX: Logo links – Menü rechts */
.header .nav-flex {
  display: flex;
  align-items: center;
  height: 80px;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  height: 90%;
}

.logo-img {
  height: 100%;
  display: block;
}

nav ul,
.desktop-nav {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a,
.desktop-nav a,
.mobile-nav a {
  color: white;
  text-decoration: none;
  transition: 0.25s;
}

nav a:hover,
.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--color-accent-primary);
}

/* BURGER BUTTON */
.mobile-toggle {
  display: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-text-bright);
  display: block;
  margin: 4px 0;
}

/* MOBILE PANEL INITIALLY HIDDEN */
.mobile-panel {
  display: none;
}

/* OVERLAY */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s;
  z-index: 900;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.desktop-nav li a,
.mobile-nav li a {
  display: block;
  width: 100%;
  padding: 10px 6px;
}

.nav-highlight a {
  border: 2px solid var(--color-accent-primary) !important;
  border-radius: 20px;
  padding: 8px 16px !important;
}
.mobile-nav .nav-highlight a {
  border-bottom: 2px solid var(--color-accent-primary) !important;
  text-align: center;
}

/* -------- MOBILE -------- */
@media (max-width: 900px) {
  /* Desktop-Navigation ausblenden */
  .desktop-nav {
    display: none;
  }

  /* Burger einblenden */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
  }

  /* Mobile Panel sichtbar mobil */
  .mobile-panel {
    display: flex;
    flex-direction: column;

    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 360px;
    height: 100vh;

    background: linear-gradient(
      180deg,
      rgba(8, 8, 12, 0.95),
      rgba(10, 10, 14, 0.92)
    );
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);

    transition: right 0.35s ease;
    z-index: 1001;
  }

  .mobile-panel.active {
    right: 0;
  }

  .mobile-menu-header {
    height: 80px;
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-menu-logo {
    height: 60px;
  }

  .mobile-close {
    font-size: var(--fs-big);
    color: var(--color-text-bright);
    cursor: pointer;
  }

  .mobile-nav {
    list-style: none;
    margin: 0;
    padding: 20px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .mobile-nav a {
    color: white;
    font-size: var(--fs-medium);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
  }
}

/* SCROLL LOCK */
.no-scroll {
  overflow: hidden;
}