/* ============================================
   NAVBAR PREMIUM PARTNER EXTENSIONS
   Styles für 1&1 Premium Partner Badge in Navbar
   ============================================ */

/* Premium Partner Badge neben Logo */
.nav-partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #E8F0FA 0%, #fff 100%);
  border: 1px solid rgba(0, 61, 143, 0.15);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-partner-badge:hover {
  background: linear-gradient(135deg, #E8F0FA 0%, #f0f7ff 100%);
  border-color: rgba(0, 61, 143, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 61, 143, 0.1);
}

.nav-partner-logo {
  height: 20px;
  width: auto;
  display: block;
}

.nav-partner-text {
  font-size: 12px;
  font-weight: 600;
  color: #003D8F;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* NEU Badge für Verträge Link */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
}

.nav-badge--new {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Navbar Layout Anpassungen - Verbessertes Spacing */
.waves-master-nav-1 {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: clamp(12px, 2vw, 24px);
}

.waves-right-nav-1 {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
  flex: 1;
  justify-content: flex-end;
}

.waves---nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

.waves---nav-link {
  padding: 8px 12px !important;
  white-space: nowrap;
}

.nav-item.has-mega {
  position: relative;
}

.nav-link.mega-toggle {
  padding: 8px 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .nav-partner-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4px 8px;
    gap: 4px;
    margin-left: 0;
  }

  .nav-partner-logo {
    height: 16px;
  }

  .nav-partner-text {
    display: none; /* Hide text on mobile */
  }

  .nav-badge {
    font-size: 9px;
    padding: 2px 5px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .nav-partner-badge {
    margin-left: 12px;
    padding: 5px 10px;
  }

  .nav-partner-logo {
    height: 18px;
  }

  .nav-partner-text {
    font-size: 11px;
  }
}

/* Highlight Verträge Link */
.nav-link--contracts {
  position: relative;
  font-weight: 600 !important;
}

.nav-link--contracts::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, #003D8F 0%, #0056D6 100%);
  border-radius: 2px;
  margin-right: 8px;
}
