/* Variante D · Mittelweg: Entwurf 1 bleibt, nur die Kopfzeile wird zur schwebenden schwarzen Pille.
   Lädt nach style.css von Entwurf 1 und überschreibt nur das Nötige. */
.site-header { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 24px); height: 52px; gap: 18px; padding: 0 8px 0 20px; border-radius: 999px; background: #0b0b0b; color: #fff; box-shadow: 0 10px 30px -14px rgba(0,0,0,.5); transition: height .5s cubic-bezier(.16,1,.3,1); }
.site-header::before { display: none; }
.site-header .availability { margin: 0 6px 0 0; color: rgba(255,255,255,.6); max-width: 330px; overflow: hidden; transition: max-width .6s cubic-bezier(.16,1,.3,1), opacity .3s; }
.site-header.is-compact { height: 46px; }
.site-header.is-compact .availability { max-width: 8px; }
.desktop-nav { gap: 4px; text-transform: none; letter-spacing: -.005em; font-size: 14px; }
.desktop-nav > a:not(.cv-link) { padding: 8px 12px; color: rgba(255,255,255,.5); transition: color .25s; }
.desktop-nav > a:not(.cv-link):hover, .desktop-nav .nav-link-active { color: #fff !important; }
.desktop-nav > a:not(.cv-link)::after { display: none; }
.cv-link { height: 36px; margin-left: 6px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: #0b0b0b; font-weight: 600; }
.cv-link:hover { background: #e8e8e8; color: #0b0b0b; }
.lang-toggle, .lang-toggle span { color: rgba(255,255,255,.45); text-transform: none; letter-spacing: 0; font-size: 13px; }
.desktop-nav .lang-toggle { margin: 0 8px 0 6px; }
.lang-toggle button { color: rgba(255,255,255,.45); }
.lang-toggle button:hover, .lang-toggle button.is-active { color: #fff; }
.lang-toggle button::after { display: none; }
.menu-toggle { color: #fff; }
main { padding-top: 64px; }
@media (max-width: 900px) {
  .site-header { left: 12px; right: 12px; transform: none; width: auto; justify-content: space-between; }
  .site-header .availability { margin-right: auto; }
  .mobile-nav { position: absolute; top: 58px; left: 0; right: 0; border-radius: 24px; background: #0b0b0b; color: #fff; padding: 8px 20px; }
}
/* Punkt nicht abschneiden und deutlicher pulsieren; Unterlängen der wechselnden Rolle sichtbar */
.site-header .availability { padding: 10px 0 10px 10px; margin-left: -10px; }
.site-header.is-compact .availability { max-width: 20px; }
.site-header .av-text { transition: opacity .3s; }
.site-header.is-compact .av-text { opacity: 0; }
.site-header .availability i::after { animation-duration: 1.9s; }
.site-header .av-rot { clip-path: inset(-2px -2px -.3em -2px); }
/* Navigation: Projekte · Über mich · Playground mittig zwischen Name und CV (gleicher Abstand links und rechts, 23.10.) */
.site-header .desktop-nav .cv-link { margin-left: 20px; }
/* zugeklappt: gleicher Abstand Punkt → Projekte wie Playground → CV (36 px) */
.site-header.is-compact .desktop-nav { margin-left: -38px; }

/* Footer (»Sag hallo«, »Lass uns in Kontakt bleiben«, Impressum) auf dem Inhaltsrand wie überall (24.10.) */
.contact-banner, .site-footer { padding-left: max(var(--gutter), 3.89vw, calc((100vw - 1680px) / 2)) !important; padding-right: max(var(--gutter), 3.89vw, calc((100vw - 1680px) / 2)) !important; }
