
/* Grundlayout der Navigation */
.gh-nav{
  position:fixed;          /* statt relative */
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:#000;
  color:#fff;
  padding:0.75rem 1rem;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Inhalt der Leiste */
.gh-nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-right: 30px;
}

/* Branding / Titel */
.gh-brand a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-size:1rem;
}

/* Hamburger-Button rechts */
.gh-toggle{
  width:32px;
  height:24px;
  padding:0;
  border:none;
  background:transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Hamburger-Icon (3 Striche) */
.gh-toggle-icon,
.gh-toggle-icon::before,
.gh-toggle-icon::after{
  display:block;
  position:relative;
  width:100%;
  height:3px;
  background:#fff;
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}

.gh-toggle-icon::before,
.gh-toggle-icon::after{
  content:"";
  position:absolute;
  left:0;
}

.gh-toggle-icon::before{ top:-8px; }
.gh-toggle-icon::after{ top: 8px; }

/* X-Animation wenn geöffnet */
.gh-nav.gh-nav--open .gh-toggle-icon{
  transform:rotate(45deg);
}
.gh-nav.gh-nav--open .gh-toggle-icon::before{
  transform:rotate(-90deg);
  top:0;
}
.gh-nav.gh-nav--open .gh-toggle-icon::after{
  opacity:0;
}

/* Dropdown-Menü (standard: ausgeblendet) */
.gh-menu{
  position:absolute;
  top:100%;
  right:0;
  left:auto;
  background:#fff;                /* immer weißer Hintergrund */
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:0.5rem 0;
  gap:0.25rem;
  max-height:0;
  overflow:hidden;
  opacity:0;
  pointer-events:none;
  box-shadow:0 4px 12px rgba(0,0,0,0.25);
  border-radius:0 0 6px 6px;
  transition:max-height .2s ease, opacity .2s ease;
}

/* eingeblendet, wenn .gh-nav--open gesetzt ist */
.gh-nav.gh-nav--open .gh-menu{
  max-height:260px;               /* an Anzahl Links anpassen */
  opacity:1;
  pointer-events:auto;
}

/* Links im Menü */
.gh-menu-link{
  display:block;
  min-width:230px;
  padding:0.55rem 1.2rem;
  text-decoration:none;
  font-size:0.9rem;
  text-transform:uppercase;
  letter-spacing:0.08em;
  text-align:center;              /* Text mittig */
  color:#000;                     /* schwarzer Text */
  background:#fff;                /* weißer Hintergrund */
}

/* Hover-Effekt */
.gh-menu-link:hover{
  background:#f2f2f2;
}

/* Aktiver Menüpunkt: weiß auf schwarz */
.gh-menu-link--active{
  background:#000;
  color:#fff;
}