
/* 2. NAVIGATION BAR */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(15, 35, 55, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  height: 100%; /* Important for alignment */
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Fix: Vertical Alignment for 'Leistungen' */
.nav-links a {
  display: inline-flex; /* Fixes alignment of text vs arrow */
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* The Arrow */
.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.6rem;
  margin-left: 4px;
  opacity: 0.55;
}

/* 3. DROPDOWN (The "Fix" Section) */
.nav-links li:hover .nav-dropdown {
  display: block;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%; /* Sits exactly at the bottom of the nav bar */
  left: 0;
  padding-top: 10px; /* This creates the visual gap while mouse stays over the element */
  min-width: 245px;
  z-index: 300;
}

/* This is the actual visible menu box */
.nav-dropdown-inner {
  background: #0f2337;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.78rem;
  text-transform: none;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

/* Small Triangle Arrow */
.nav-dropdown-inner::before {
  content: '';
  position: absolute;
  top: 4px; /* Adjusting for the padding-top gap */
  left: 18px;
  width: 10px;
  height: 10px;
  background: #0f2337;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}