/* Gemeinsame Hauptnavigation aller Seiten: bleibt beim Scrollen oben, auf schmalen Bildschirmen als aufklappbares Menü.
   Wird nach den seiteneigenen Styles geladen und überschreibt deren Kopfzeile. */
html { scroll-padding-top: 92px; }
body.has-flow-header { padding-top: 96px; }

.top { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .35s ease, -webkit-backdrop-filter .35s ease, backdrop-filter .35s ease; }
.top .page { display: flex; align-items: center; justify-content: space-between; transition: height .35s ease; }
.top.is-stuck, .top.is-open { background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top.is-stuck .page { height: 76px; }

.top .menu { display: flex; align-items: center; gap: 40px; font-size: 16px; }
.top .menu a { text-decoration: none; }
.top .menu a:not(.button) { color: #b9b4ab; transition: color .25s; }
.top .menu a:not(.button):hover, .top .menu a[aria-current] { color: #f3f0ea; }
.top .menu .button { display: inline-block; padding: 13px 20px; background: #c8102e; color: #fff; font: 500 15px/1 "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif; transition: background .25s; }
.top .menu .button:hover { background: #9e0c24; }

/* Menü-Knopf: zwei Linien, die sich beim Öffnen zum Kreuz legen */
.nav-toggle { display: none; width: 48px; height: 48px; margin-right: -12px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #f3f0ea; transition: transform .3s ease, top .3s ease; }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 27px; }
.top.is-open .nav-toggle span:first-child { top: 23px; transform: rotate(45deg); }
.top.is-open .nav-toggle span:last-child { top: 23px; transform: rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid #ffc800; outline-offset: 2px; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .top .menu { position: fixed; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(20px, 6vw, 96px) 32px; background: rgba(0, 0, 0, .96); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
  .top:not(.is-stuck) .menu { top: 104px; }
  .top.is-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease; }
  .top .menu a:not(.button) { display: block !important; padding: 16px 0; font-family: "Rokkitt", Rockwell, Georgia, serif; font-size: 26px; color: #f3f0ea; }
  .top .menu .button { display: block !important; margin-top: 20px; padding: 18px; text-align: center; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .top, .top .page, .top .menu, .nav-toggle span { transition: none; }
}

/* Runde Ecken für alle Knöpfe, passend zu den vielen runden Elementen (Hinweis des Designers, 04.11.2026) */
.button, .top .menu .button { border-radius: 999px; }

/* Logo statt Schriftzug (05.11.2026): feste Höhe, Breite folgt dem Seitenverhältnis, damit nichts springt */
.top .wordmark { display: block; line-height: 0; }
.top .wordmark img { display: block; height: 28px; width: auto; } /* neues Logo ab 06.11.2026: breiter, deshalb niedriger */
@media (max-width: 520px) { .top .wordmark img { height: 23px; } }
