/* Shared navigation. */
@media screen {
  .product-story .product-story__skip { top: calc(16px + env(safe-area-inset-top,0px)); right: max(24px,env(safe-area-inset-right,0px)); }
  .header-cta { white-space: nowrap; }
  .header .header-cta { transition: background-color 160ms ease, transform 160ms var(--ease); }
  .header .header-cta:active { transform: scale(.98); }
  .header .header-cta:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
}
@media screen and (min-width:1101px) {
  .header.header--over-video,
  .header.header--over-video .mobile-nav,
  body:has(.header--over-video) > .language-switch { visibility:hidden; opacity:0; pointer-events:none; }
}
@media screen and (max-width: 1100px) {
  .product-story .product-story__skip { top:calc(var(--pv-header-height-mobile) + 8px + env(safe-area-inset-top,0px)); }
  .header.header { --header-height: var(--pv-header-height-mobile); grid-template-columns: minmax(0,1fr) auto 44px; padding-right:calc(128px + env(safe-area-inset-right,0px)); }
  .header .header-cta { display: inline-flex; min-height: var(--pv-header-cta-height); padding-inline: 16px; font-size: 14px; letter-spacing: .01em; }
}
@media screen and (max-width: 600px) {
  /* One compact row: logo | CTA | menu. DE/EN moves into the open menu. */
  :root { --pv-header-height-mobile-cta: 64px; --pv-header-height-compact: var(--pv-header-height-mobile-cta); }
  .product-story .product-story__skip { top:calc(var(--pv-header-height-mobile-cta) + 8px + env(safe-area-inset-top,0px)); }
  html { scroll-padding-top: calc(var(--pv-header-height-mobile-cta) + 16px + env(safe-area-inset-top,0px)); }
  .header.header { --header-height: var(--pv-header-height-mobile-cta); grid-template-columns: minmax(0,1fr) auto 44px; grid-template-rows: var(--pv-header-height-mobile-cta); align-content: center; gap: 0 10px; padding-inline: max(16px,env(safe-area-inset-left,0px)) max(12px,env(safe-area-inset-right,0px)); }
  .header .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .header.header .brand img { width: clamp(96px,30vw,128px); height: 40px; }
  .header.header .header-cta { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; width: auto; min-width: 0; min-height: 40px; overflow: hidden; text-overflow: ellipsis; padding-inline: clamp(10px,3vw,16px); font-size: clamp(12.5px,3.5vw,14px); letter-spacing: 0; }
  .header .menu-button { grid-column: 3; grid-row: 1; }
  .header.header--menu-open .header-cta { visibility: hidden; }
  body > .language-switch { display: none; }
  body.menu-open > .language-switch { display: inline-flex; top: auto; right: auto; bottom: max(24px,env(safe-area-inset-bottom,0px)); left: max(24px,env(safe-area-inset-left,0px)); transform: none; transition: none; }
  .header .mobile-nav { padding-bottom: calc(104px + env(safe-area-inset-bottom,0px)); }
  .header .mobile-nav .button { min-height: 54px; font-size: 16px; }
  body .contact-page, .legal-page .legal-hero, .not-found-page .not-found { padding-top: calc(var(--pv-header-height-mobile-cta) + 40px + env(safe-area-inset-top,0px)); }
  body.pv-configurator-page { padding-top: calc(var(--pv-header-height-mobile-cta) + env(safe-area-inset-top,0px)); }
}
@media screen and (max-width: 349px) {
  .header.header .header-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .header .header-cta, .header .header-cta:active { transition: none; transform: none; }
}
