/* VORDEM – stabile Hauptnavigation */
.site-header {
  position: relative;
  z-index: 50;
  height: auto !important;
  min-height: 96px !important;
  padding-block: 1.25rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem 1.2rem;
  max-width: 920px;
  min-width: 0;
  line-height: 1.2;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: .25rem 0;
  white-space: nowrap;
  overflow: visible;
  word-break: normal;
  text-decoration: none;
}

.site-nav .nav-q {
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .site-nav {
    display: none;
    position: absolute;
    z-index: 60;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    max-width: none;
    padding: 1.35rem;
    background: var(--ink, #11100e);
    color: var(--paper, #f4efe5);
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    border-top: 1px solid currentColor;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: .65rem 0;
    white-space: normal;
  }
}
