/* header.css */

/* -------------------------------------
   Navbar-Grundlayout (weiß & kompakt)
------------------------------------- */
.navbar {
  position: relative;
  height: 80px;
  padding: 0;
  overflow: visible;
  z-index: 999;
  background-color: #ffffff;
}

/* -------------------------------------
   LOGO – Basis
------------------------------------- */
.navbar-brand img {
  height: 150px;
  width: auto;
  display: block;
}

/* -------------------------------------
   Mobile & Tablet (<1200px)
------------------------------------- */
@media (max-width: 1199.98px) {
  .navbar {
    overflow: hidden;
  }

  .navbar-brand.mx-auto {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1000;
  }

  #mobileNav.show .mobile-instagram {
    display: block;
  }

  #mobileNav.show {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 1.5rem 0 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 998;
  }

  #mobileNav.show .nav-link {
    display: inline-block;
    width: auto;
    position: relative;
  }

  #mobileNav.show .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: #e63946;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.1s;
  }
}

/* -------------------------------------
   Desktop (ab 1200px / xl)
------------------------------------- */
@media (min-width: 1200px) {
  .navbar {
    height: 150px;
  }

  .navbar-brand.mx-auto {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: 1000;
    margin-right: 6rem !important;
  }
}

/* -------------------------------------
   Desktop-Nav-Links (sichtbar ab xl)
------------------------------------- */
.d-xl-flex .navbar-nav {
  display: flex;
  align-items: center;
}

.d-xl-flex .navbar-nav .nav-item + .nav-item {
  margin-left: 1rem;
}

/* -------------------------------------
   Gemeinsame Link-Basis-Styling
------------------------------------- */
.navbar-light .nav-link {
  color: #333333;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  position: relative;
  transition: color 0.2s;
}

.navbar-light .nav-link:hover {
  color: #000000;
}

.navbar-light .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #e63946;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s;
}

.navbar-light .nav-link:hover::after,
.navbar-light .nav-link:focus::after,
.navbar-light .nav-link:active::after {
  transform: scaleX(1) !important;
}

/* -------------------------------------
   Mobile-Menü Styling (#mobileNav)
------------------------------------- */
#mobileNav {
  display: none;
  background: none;
}

#mobileNav.show {
  display: block;
}

/* -------------------------------------
   Instagram-Icon im Burger-Menü
------------------------------------- */
.mobile-instagram {
  display: none;
}

.mobile-instagram .instagram-icon {
  font-size: 3rem;
  color: #333333;
}
