/* ===== Header: Logo-Stack + Dropdown-Farben ===== */

/* Logo: Text UNTER dem Bild (hell + dunkel) */
.site-header #logo .logo-link {
  display: flex;
  flex-direction: column;      /* <- stapeln */
  align-items: center;         /* zentrieren */
  text-decoration: none;
}
.site-header #logo .logo-link img {
  margin: 0;                   /* evtl. altes margin-right neutralisieren */
}
.site-header #logo .site-title {
  display: block;
  margin-top: 6px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}

/* Hauptmenü bleibt horizontal (nur Klarstellung) */
.site-header .nav { display: flex; align-items: center; justify-content: space-between; }
.site-header .nav .nav-main { display: flex; align-items: center; gap: 16px; }

/* Dropdown-Box (helle Box in beiden Themes) */
.site-header .nav .nav-item { position: relative; }
.site-header .nav .nav-item .dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 8px;
  padding: 6px;
  display: none;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.site-header .nav .nav-item:hover .dropdown,
.site-header .nav .nav-item:focus-within .dropdown { display: block; }

/* Dropdown-Links IMMER dunkel, damit auf weiß lesbar */
.site-header .nav .nav-item .dropdown a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  color: #111;                 /* wichtig: dunkle Schrift */
  text-decoration: none;
  white-space: nowrap;
}
.site-header .nav .nav-item .dropdown a:hover {
  background: #f0f0f0;
}

/* Falls woanders .theme-dark .nav a {color:#fff} gesetzt ist:
   diese Ausnahmen sind spezifischer und schlagen es. */
.theme-dark .site-header .nav .nav-item .dropdown a { color: #111; }
