﻿/* css/header.css – Durchsichtiger Header ohne Balken und Leuchteffekt */

.site-header {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1400px;
  z-index: 1000;
  animation: float 6s ease-in-out infinite;
}

.header-bar {
  background: transparent; /* Kein Hintergrund mehr */
  backdrop-filter: none;    /* Kein Blur */
  -webkit-backdrop-filter: none;
  border-radius: 0;         /* Keine abgerundeten Ecken */
  padding: 25px 45px;       /* Abstand bleibt für Layout */
  border: none;             /* KEIN Rand mehr */
  box-shadow: none;         /* KEIN Glow/Shadow mehr */
  transition: all 0.4s ease;
  /* neonPulse Animation entfernt */
}

.site-header.scrolled .header-bar {
  padding: 20px 45px;
  background: transparent;
  box-shadow: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 100%;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 60px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.nav-left {
  left: 45px;
}

.nav-right {
  right: 45px;
}

.nav-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  pointer-events: auto;
}

.header-logo {
  width: 75px;
  height: 75px;
  filter: drop-shadow(0 0 30px rgba(0, 123, 255, 0.8));
  animation: logoPulse 4s infinite ease-in-out;
  transition: transform 0.5s ease;
}

.header-brand-text {
  margin-top: 6px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0056ff;
  text-shadow: 0 0 15px rgba(0, 86, 255, 0.6);
  transition: all 0.4s ease;
}

.nav-logo:hover .header-logo {
  transform: scale(1.3) rotate(360deg);
}

.nav-logo:hover .header-brand-text {
  color: #007bff;
  text-shadow: 0 0 30px rgba(0, 123, 255, 0.9);
}

.nav-link {
  color: #ffffff; /* Weiß für besseren Kontrast auf transparentem Hintergrund */
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8); /* Schwarzer Shadow für Lesbarkeit */
  transition: 0.4s;
}

.nav-link:hover {
  color: #00c6ff;
  text-shadow: 0 0 25px rgba(0, 198, 255, 0.9);
}

.cp-link:hover {
  color: #00c6ff;
  text-shadow: 0 0 35px rgba(0, 198, 255, 1);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-15px); }
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(0,123,255,0.8)); }
  50% { filter: drop-shadow(0 0 50px rgba(0,123,255,1)); }
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    top: 40px;
  }
  .header-bar {
    padding: 20px 30px;
  }
  .nav-left, .nav-right { gap: 30px; }
  .nav-link { font-size: 1.1rem; }
  .header-logo { width: 60px; height: 60px; }
  .header-brand-text {
    font-size: 1.3rem;
    margin-top: 5px;
  }
  .nav-left { left: 30px; }
  .nav-right { right: 30px; }
}