/* --------- header ------- */
.site-header {
  padding-top: 12px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
  margin: 0 auto;
  max-width: 1920px;
}

.header-logo {
  z-index: 999;
  height: 96px;
}

.active-menu {
  text-decoration-line: underline !important;
  text-decoration-color: var(--color-accent) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 6px !important;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  color: var(--color-text);
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-icons {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 16px;
  transition: all 0.3s;
}

.cta-icons:hover {
  cursor: pointer;
  color: var(--color-accent);
}

.legal-nav {
  display: none;
}

/* ===========================
   Responsives Design (Breakpoints)
   Range: 320px – 1920px
=========================== */

/* Medium Devices (768px – 991px) */
@media (max-width: 991px) {
  nav ul {
    gap: 24px;
  }

  .header-logo {
    height: 72px;
  }

}

/* Small Devices (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {

}

/* Extra Small Smartphones (575px) */
@media (max-width: 575px) {
  .header-logo {
    height: 52px;
  }

  .brand img {
    height: 64px;
  }

}

@media (max-width: 359px) {
  .header-logo {
    height: 44px;
  }

  .brand img {
    height: 52px;
  }

}

/* ===========================
Burger Menu
=========================== */
.bg-color {
  z-index: 10;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
}

.burger {
  z-index: 999;
  width: 32px;
  height: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger span:nth-child(1) {
  width: 22px;
}
.burger span:nth-child(2) {
  width: 28px;
}
.burger span:nth-child(3) {
  width: 22px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  width: 28px;
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
  width: 28px;
}

/* Standard-Navi verstecken bei kleinen Screens */
@media (max-width: 767px) {
  .burger {
    display: flex;
  }

  .site-nav {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 64px;
    top: 112px;
    right: 0;
    width: 0;
    height: 0;
    transition: width 0.4s;
  }

  .site-nav.open {
    z-index: 999;
    height: 100vh;
    width: 250px;
    background-color: var(--color-primary);
  }

  nav ul {
    margin-top: 44px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
  }

  nav ul li a {
    display: none;
    color: white !important;
  }

  .burger-open {
    display: block;
  }

  .cta-icons {
    display: none;
  }

  .no-scroll {
    overflow: hidden;
  }

  .legal-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 575px) {
  .site-nav {
    top: 92px;
  }
}
