/* ===============================
   HEADER – Hintergrundbild + Shrink + Glas-Effekt
=============================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  /* Hintergrundbild */
  background-image: url('/assets/img/hintergrund/ChatGPT_Image_17._Nov._2025_12_42_38.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Glas-Effekt */
  background-color: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);

  /* Schatten */
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);

  /* Übergang */
  padding: 20px 0;
  transition: padding 0.3s ease, height 0.3s ease;
}

/* Header verkleinert beim Scrollen */
.site-header.shrink {
  padding: 6px 0;
  backdrop-filter: blur(6px);
}

/* ===============================
   HEADER-INHALT (Banner – Logo – Navigation)
=============================== */

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  padding: 0 20px;
}

/* Banner links */
.header-banner {
  width: 220px;
}

.header-banner .right-banner {
  background: rgba(255,255,255,0.15);
  padding: 12px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* Logo mittig */
.logo img {
  height: 70px;
  transition: height 0.3s ease;
}

.site-header.shrink .logo img {
  height: 45px;
}

/* Navigation rechts */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mobile Menü Icon */
.nav-toggle {
  font-size: 28px;
  cursor: pointer;
  display: none;
}

/* ===============================
   SUBNAVIGATION
=============================== */

.sub-nav {
  width: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  padding: 8px 0;
  margin-top: 10px;
}

.sub-nav ul {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.sub-nav a.active {
  border-bottom: 2px solid #fff;
}

/* ===============================
   SEITENINHALT (damit nichts unter dem Header verschwindet)
=============================== */

body {
  padding-top: 180px; /* Höhe des Headers */
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    gap: 10px;
  }

  .header-banner {
    width: 100%;
  }

  .nav-wrapper {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }
}
