/* HEADER-NAV - Klima-Zentrale.de (makawaka design) */
/* Version: 1.0.0 | Date: 2026-02-12 */

.header-nav {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
.header-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 10px 16px; text-decoration: none; color: #334155; font-weight: 500; font-size: 15px; border-radius: 8px; transition: all 0.2s; }
.nav-link:hover { background: #e0f7ff; color: #0080B8; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-arrow { width: 16px; height: 16px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; background: white;
  border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 8px 0; min-width: 240px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: all 0.2s; margin-top: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-item { display: block; padding: 12px 20px; text-decoration: none; color: #334155; font-size: 14px; transition: all 0.15s; }
.nav-dropdown-item:hover { background: #e0f7ff; color: #0080B8; }
.nav-cta {
  background: linear-gradient(135deg, #00A0E3 0%, #0080B8 100%);
  color: white !important; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; margin-left: 8px; box-shadow: 0 4px 12px rgba(0,160,227,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,160,227,0.4); }

/* Mobile */
.mobile-menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: #334155; transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: white; z-index: 999; padding: 0; overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-nav-link { display: block; padding: 16px 24px; text-decoration: none; color: #334155; font-size: 18px; font-weight: 500; border-bottom: 1px solid #e2e8f0; }
.mobile-dropdown-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid #e2e8f0; cursor: pointer; }
.mobile-dropdown-title { font-size: 18px; font-weight: 500; color: #334155; }
.mobile-dropdown-items { display: none; padding-left: 24px; background: #f8fafc; }
.mobile-dropdown-items.active { display: block; }
.mobile-dropdown-item { display: block; padding: 12px 0; text-decoration: none; color: #64748b; font-size: 16px; }
.mobile-cta {
  display: block; background: linear-gradient(135deg, #00A0E3 0%, #0080B8 100%);
  color: white; text-align: center; padding: 16px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 16px; margin: 24px;
}

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .mobile-menu-toggle { display: flex; }
}
