/* ==========================================================
   LOISARO
   Header
========================================================== */

#header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  padding: 24px 0;

  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}

#header.scrolled {
  background: rgba(24, 24, 24, 0.58);

  backdrop-filter: blur(20px);

  -webkit-backdrop-filter: blur(20px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);

  padding: 14px 0;
}

/* ========================================
   Container
======================================== */

.header-container {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}

/* ========================================
   Logo
======================================== */

.logo {
  display: flex;

  align-items: center;

  flex-shrink: 0;

  z-index: 1200;
}

.logo img {
  width: 205px;

  transition:
    width 0.35s ease,
    transform 0.35s ease;
}

.logo:hover img {
  transform: scale(1.02);
}

/* ========================================
   Navigation
======================================== */

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;

  align-items: center;

  gap: 44px;

  list-style: none;

  margin: 0;

  padding: 0;
}

.nav a {
  position: relative;

  color: rgba(255, 255, 255, 0.92);

  text-decoration: none;

  font-size: 0.97rem;

  font-weight: 400;

  letter-spacing: 0.02em;

  transition: color 0.3s ease;
}

.nav a:hover {
  color: #fff;
}

.nav a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -10px;

  width: 0;

  height: 2px;

  background: var(--color-gold);

  transition: width 0.35s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* ========================================
   Anfrage Button
======================================== */

.btn-nav {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  height: 48px;

  padding: 0 28px;

  border-radius: 999px;

  background: var(--color-gold);

  color: #fff;

  text-decoration: none;

  font-size: 0.94rem;

  font-weight: 500;

  letter-spacing: 0.02em;

  transition: all 0.35s ease;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn-nav:hover {
  background: var(--color-gold-hover);

  transform: translateY(-3px);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.25),
    0 8px 22px rgba(200, 161, 90, 0.25);
}

/* ========================================
   Hamburger Button
======================================== */

.menu-toggle {
  display: none;

  width: 44px;

  height: 44px;

  background: transparent;

  border: none;

  cursor: pointer;

  padding: 0;

  z-index: 1200;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 6px;
}

.menu-toggle span {
  display: block;

  width: 28px;

  height: 2px;

  background: #fff;

  border-radius: 999px;

  transition: all 0.35s ease;
}

/* Hamburger -> X */

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   Mobile Navigation
======================================== */

@media (max-width: 900px) {
  .btn-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;

    top: 0;

    right: -340px;

    width: 320px;

    height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: rgba(24, 24, 24, 0.72);

    backdrop-filter: blur(22px);

    -webkit-backdrop-filter: blur(22px);

    border-left: 1px solid rgba(255, 255, 255, 0.08);

    transition: right 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);

    z-index: 1100;

    box-shadow: -18px 0 60px rgba(0, 0, 0, 0.35);
  }

  .nav.open {
    right: 0;
  }

  .nav ul {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 34px;

    width: 100%;

    padding: 0;

    margin: 0;
  }
}
/* ========================================
   Mobile Logo
======================================== */

.mobile-logo {
  display: none;
}

@media (max-width: 900px) {
  .mobile-logo {
    display: flex;

    justify-content: center;

    margin-bottom: 60px;
  }

  .mobile-logo img {
    width: 170px;

    opacity: 0.95;
  }
}
