/* The front page (2026-11). Two worlds on one page: the agency (with its customers' portal as a world of its own)
   and the temp. A light page with a large centred promise, and the product shown in deep blue frames lit from one
   corner, so the interface is what stands out.
   The worlds are data-univers="bureau" and "vikar"; ny.js hides the one not chosen. Without the script both stand. */
:root{
  --nf-dyb:#0B1638; --nf-dyb2:#13245F;
  --nf-groen:#1F7A55; --nf-groen-bg:#E7F4EE;
  --nf-roed:#B8342A; --nf-roed-bg:#FCF1F0;
  --fs-roed:#B8342A; --fs-roed-kant:#EDB4AD; --fs-roed-bg:#FCF1F0; --fs-groen:#1F7A55;
  --nf-glod:radial-gradient(65% 85% at 90% -10%,rgba(47,91,255,.30) 0%,rgba(47,91,255,0) 62%),linear-gradient(170deg,#111E4A 0%,var(--nf-dyb) 60%);
  --nf-r:12px;
  /* The front page reads at the size of the sister sites: one size per section heading, smaller text, less air */
  --t-h2:clamp(28px,2.8vw,40px);--t-h3:clamp(18px,1.45vw,21px);--t-ingress:clamp(16px,1.2vw,18px);--t-broed:16px;
}
body{background:var(--is)}
.top{background:rgba(243,244,248,.86);border-bottom-color:transparent;backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px)}
.nf-skjult{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nf-tavle[hidden],[data-univers][hidden]{display:none}
/* Before ny.js has chosen (it sets .nf-valgt), only the world fs.js read from the address stands, so the page does not open with both and close up */
.js:not(.nf-valgt):not(.nf-vikar) [data-univers=vikar],.js.nf-vikar:not(.nf-valgt) [data-univers=bureau]{display:none}

/* ---------- The switch between the two worlds ---------- */
.nf-top{padding:clamp(28px,3.4vw,48px) 0 clamp(36px,4vw,60px);text-align:center}
.nf-skift{position:relative;display:inline-grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:10px;background:#fff;box-shadow:0 0 0 1px var(--linje),0 6px 20px -14px rgba(13,23,54,.35)}
.nf-skift__k{position:relative;z-index:1;appearance:none;border:0;background:none;font:inherit;font-size:14.5px;font-weight:600;color:var(--daempet);height:36px;padding:0 18px;border-radius:7px;cursor:pointer;transition:color .3s var(--ud)}
.nf-skift__k[aria-pressed=true]{color:#fff}
.nf-skift__k::after{content:"";position:absolute;inset:-4px 0}
.nf-skift__k:not([aria-pressed=true]):hover{color:var(--nat)}
.nf-skift__mark{position:absolute;z-index:0;top:3px;bottom:3px;left:3px;width:calc(50% - 3px);border-radius:7px;background:var(--nat);transition:transform .45s var(--ud)}
.nf-skift[data-valgt=vikar] .nf-skift__mark{transform:translateX(100%)}
html:not(.js) .nf-skift{display:none}

/* ---------- The promise ---------- */
.nf-hero{margin-top:clamp(22px,2.4vw,36px)}
.nf-hero h1,.nf-hero .nf-hero__h{font-size:clamp(38px,4.4vw,64px);font-weight:500;line-height:1.03;letter-spacing:-.038em;max-width:none;text-wrap:balance}
.nf-hero h1 span,.nf-hero .nf-hero__h span{color:var(--kobolt)}
.nf-hero__ind{margin:clamp(18px,1.8vw,26px) auto 0;max-width:34em;font-size:var(--t-ingress);line-height:1.55;color:var(--daempet);text-wrap:pretty}
.nf-knapper{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:clamp(22px,2vw,30px)}
.nf-knap{height:50px;padding:0 24px;font-size:16px}
.nf-knap.knap--hvid{box-shadow:0 0 0 1px rgba(13,23,54,.12),0 1px 2px rgba(13,23,54,.08)}
.nf-tjek{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 30px;margin-top:clamp(22px,2.2vw,30px);font-size:var(--t-lille);line-height:1.4;color:var(--daempet)}
.nf-tjek li{position:relative;padding-left:22px}
.nf-tjek li::before{content:"";position:absolute;left:2px;top:.25em;width:11px;height:6px;border-left:1.75px solid var(--kobolt);border-bottom:1.75px solid var(--kobolt);transform:rotate(-45deg)}
/* Arriving in a world: the promise settles in once, not every section */
@media (prefers-reduced-motion:no-preference){
  .nf-hero.nf-ind{animation:nf-ind .7s var(--ud) both}
  @keyframes nf-ind{from{opacity:0;transform:translateY(14px)}}
}

