/* Scroll-flyvetur på forsiden – NYBERG Advisory */
.simple-header{transition:transform .35s ease}
.simple-header.hf-away{transform:translateY(-100%)}

.hf{position:relative;height:340vh;margin-top:calc(-1 * var(--hf-header, 84px))}
.hf-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.hf-band{position:absolute;left:0;right:0;top:var(--hf-header, 84px);z-index:2;overflow:hidden;background:#d8dcdc}
.hf-band img,.hf-band canvas{position:absolute;display:block;left:0;top:50%;width:100%;transform:translateY(-50%)}
.hf-band img{height:100%;object-fit:cover}
.hf-band canvas{height:100vh;height:100svh;opacity:0}
.hf-peek{position:absolute;left:0;right:0;z-index:1;pointer-events:none}
.hf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Uden scroll-effekt: vis bare det almindelige topbillede */
@media (prefers-reduced-motion:reduce){
  .hf{height:auto;margin-top:0}
  .hf-stage{position:relative;height:auto}
  .hf-band{position:relative;top:0;aspect-ratio:2400/927}
  .hf-band canvas,.hf-peek{display:none}
}
