/* --------- header ------- */
.site-header {
  width: 100%;
  max-width: 2650px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
  gap: 24px;
}

.header-logo {
  z-index: 999;
  height: 92px;
}

.header-logo:hover {
  cursor: pointer;
}

.business-name p {
  color: var(--color-primary);
  text-align: start;
  font-weight: bold;
  font-size: 1.2rem;
  font-family: "OpenSans-Italic", Arial, Helvetica, sans-serif;
}

.slogan {
  color: rgb(73, 73, 73);
  font-size: 0.8rem !important;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.active-menu {
  text-decoration-line: underline !important;
  text-decoration-color: var(--color-primary) !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-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.cta-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
}

.cta-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-icons img:hover {
  cursor: pointer;
  transform: rotate(20deg);
}

.cta-btn {
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  border-top-right-radius: 0;
  color: white;
  padding: 8px 16px;
  transition: all 0.3s;
}

.cta-btn:hover {
  cursor: pointer;
  background-color: white;
  color: var(--color-primary);
}

.legal-nav {
  display: none;
}

.seperator-veritcal {
  height: 32px;
  width: 2px;
  background-color: rgb(163, 163, 163);
}

/* ===========================
   Responsives Design (Breakpoints)
   Range: 320px – 1920px
=========================== */

/* Large Devices (1350px) */
@media (max-width: 1350px) {
  header .cta-btn,
  .seperator-veritcal {
    display: none;
  }
}

@media (max-width: 1150px) {
  .business-name {
    display: none;
  }
}

/* Medium Devices (768px – 991px) */
@media (max-width: 991px) {


  nav ul {
    gap: 24px;
  }
  .infos {
    height: unset;
    flex-direction: column;
  }

  .infos li,
  .info-border {
    border-left: none;
    border-right: none;
  }

  .infos ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-social {
    position: absolute;
    top: 0px;
    right: 12px;
  }

  .header-logo {
    height: 72px;
  }

  .business-name p {
    font-size: 22px;
  }

  .slogan {
    font-size: 18px;
  }
}

/* Small Devices (576px – 767px) */
@media  (max-width: 767px) {
    .business-name {
    display: block;
    text-align: start;
    max-width: 200px;
  }
}

/* Extra Small Smartphones (320px – 575px) */
@media (max-width: 575px) {
  .header-logo {
    height: 64px;
  }

}

/* ===========================
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: rgba(49, 49, 49, 0.945);
  }

  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;
  }
}
