/* Kopfzeile wie auf der Startseite (lp.css Z. 4-8 und 573-574, lp-v2.css Z. 153-156 und Mobilteil) für alle Unterseiten außer dem Rechner.
   shortcut: Maße doppelt gepflegt; ändert sich der Kopf der Startseite, hier nachziehen oder index.html ebenfalls auf kopf.css umstellen.
   .kopf-voll hebt die Spezifität über die Funnel-Regeln (.rechner-seite/.beratung-seite .site-header), die Datei kommt zuletzt. */
.site-header.kopf-voll {
  --u: calc(min(100vw, 1800px) / 1920 * 0.72); /* Deckel 1800: Inhalt endet bei 1280 px, darüber passte das Menü der Unterseiten nicht in eine Zeile. Gleicher Wert in lp.css, lp-v2.css, rechner.css */
  position: sticky; top: 0; z-index: 20; gap: 0;
  height: calc(var(--u) * 108); padding: 0; padding-inline: max(60px, (100% - 1280px) / 2);
  border-bottom: 0; background: #fefefe;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.site-header.kopf-voll.scrolled { background: rgb(255 255 255 / 0.96); box-shadow: 0 2px 20px rgb(var(--navy-rgb) / 0.08); backdrop-filter: blur(8px); }
.kopf-voll .logo { width: auto; align-items: center; gap: calc(var(--u) * 12); font-size: calc(var(--u) * 37); }
.kopf-voll .zt-logo { height: calc(var(--u) * 66); }
.kopf-voll .barmenia-logo { height: calc(var(--u) * 54); }
.kopf-voll .main-nav { margin-left: auto; padding-left: calc(var(--u) * 40); }
.kopf-voll .main-nav ul { gap: calc(var(--u) * 32); }
.kopf-voll .main-nav a { font-size: calc(var(--u) * 22); white-space: nowrap; }
.kopf-voll .header-phone { margin-left: calc(var(--u) * 44); font-size: calc(var(--u) * 24); }
.kopf-voll .header-phone svg { width: calc(var(--u) * 26); height: calc(var(--u) * 26); }
.kopf-voll .logo + .header-phone { margin-left: auto; } /* Strecke ohne Menü: Telefon trotzdem rechts */
.kopf-voll .header-cta { display: inline-flex; width: auto; height: calc(var(--u) * 60); margin-left: calc(var(--u) * 24); padding: 0 calc(var(--u) * 28); font-size: calc(var(--u) * 22); }
html:has(.kopf-voll) { scroll-padding-top: calc(min(100vw, 1920px) / 1920 * 97 + 12px); }

@media (max-width: 980px) {
  html:has(.kopf-voll) { scroll-padding-top: 76px; }
  /* Mobil gelten auf allen Seiten die Maße der PKV-Seite (23.11.2026); gleiche Werte in lp-v2.css für Startseite und Zahn-LP */
  .site-header.kopf-voll { height: 64px; padding-inline: 20px; }
  .kopf-voll .logo { min-height: 44px; gap: 8px; font-size: 17px; }
  .kopf-voll .logo .x { margin: 0 3px; height: 26px; }
  .kopf-voll .zt-logo { height: clamp(20px, 6.2vw, 26px); }
  .kopf-voll .barmenia-logo { height: clamp(16px, 5vw, 22px); }
  /* styles.css schaltet erst ab 860 px auf den Mobilkopf; von 861 bis 980 px stand sonst die Nummer in 9 px Schrift da */
  .kopf-voll .main-nav, .kopf-voll .header-cta, .kopf-voll .phone-num { display: none; }
  .kopf-voll .header-phone { flex: none; margin-left: auto; width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--lav-pale); }
  .kopf-voll .header-phone svg { width: 20px; height: 20px; }
}
