/* Gulvsliping Oslo v2
   Tradisjonell gulvsliperside, ny identitet: kald lys grå flate, grafitt og tommestokk-gult som
   eneste aksent. Farge og varme bor i treet (foto og canvas), ikke i flatene.
   Hjørner: knapper er piller, kort og bilder 20px (ytre ramme 28px), felt 12px. */

@font-face { font-family: "Clash Grotesk"; src: url("../fonts/clash-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("../fonts/clash-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #F3F4F2;
  --flate: #E8EAE7;
  --kort: #FCFCFB;
  --blekk: #1C1E22;
  --blekk-2: #464A52;
  --blekk-3: #62666F;
  --linje: rgba(28, 30, 34, .12);
  --linje-sterk: rgba(28, 30, 34, .24);
  --gul: #F2C21B;
  --gul-dyp: #E3B000;
  --gul-lys: #FBF0C4;
  --mork: #17191C;
  --mork-tekst: #D9DBD7;
  --feil: #B42318;
  --merke-bunn: #1C1E22;
  --skygge: 0 1px 2px rgba(28, 30, 34, .05), 0 12px 32px -12px rgba(28, 30, 34, .18);
  --skygge-stor: 0 2px 4px rgba(28, 30, 34, .04), 0 30px 60px -24px rgba(28, 30, 34, .28);

  --font-display: "Clash Grotesk", "General Sans", system-ui, sans-serif;
  --font-tekst: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-ut: cubic-bezier(.23, 1, .32, 1);
  --r-kort: 20px;
  --r-ramme: 28px;
  --r-felt: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --hode-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131416;
    --flate: #1A1C1F;
    --kort: #212327;
    --blekk: #EDEEEA;
    --blekk-2: #B9BCC2;
    --blekk-3: #969AA2;
    --linje: rgba(237, 238, 234, .12);
    --linje-sterk: rgba(237, 238, 234, .26);
    --gul-lys: #3A3317;
    --mork: #0C0D0E;
    --feil: #FF8A7A;
    --merke-bunn: #2A2D32;
    --skygge: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --skygge-stor: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 60px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

/* ---------------------------------------------------------------- grunn */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hode-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--blekk);
  font: 400 1.0625rem/1.6 var(--font-tekst);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p a, li a, .lede a { text-decoration-color: var(--gul-dyp); text-decoration-thickness: 2px; }
p a:hover, li a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.06; letter-spacing: -.025em; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gul); color: #1C1E22; }
:focus-visible { outline: 3px solid var(--gul); outline-offset: 3px; border-radius: 6px; }
.ikon { width: 1.15em; height: 1.15em; flex: none; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gul); color: #1C1E22; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.skjul { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--blekk-2); max-width: 60ch; text-wrap: pretty; }

/* ---------------------------------------------------------------- knapper */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--font-tekst); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform 160ms var(--ease-ut), background-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--primar { background: var(--gul); color: #1C1E22; padding: 0 7px 0 24px; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 8px 20px -10px rgba(170, 128, 0, .7); }
.btn--primar:focus-visible { outline-color: var(--blekk); }
.btn__ikon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #1C1E22; color: var(--gul); transition: transform 320ms var(--ease);
}
.btn__ikon .ikon { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .btn--primar:hover { background: #F6CD33; }
  .btn--primar:hover .btn__ikon { transform: translate(2px, -2px) rotate(8deg) scale(1.04); }
  .btn--tel:hover { background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje-sterk), var(--skygge); }
}
.btn--tel { background: transparent; color: var(--blekk); box-shadow: inset 0 0 0 1px var(--linje-sterk); font-variant-numeric: tabular-nums; }
.btn--tel .ikon { width: 19px; height: 19px; }
.btn--sekundar { background: var(--kort); color: var(--blekk); box-shadow: inset 0 0 0 1px var(--linje-sterk); }
.btn--mork { color: #1C1E22; box-shadow: inset 0 0 0 1.5px rgba(28, 30, 34, .4); }
.btn--bred { width: 100%; }
.btn-rad { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tekstlenke { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.tekstlenke .ikon { transition: transform 320ms var(--ease); }
.tekstlenke:hover .ikon { transform: translateX(4px); }
.tekstlenke span, .tekstlenke { background: linear-gradient(var(--gul), var(--gul)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }

/* ---------------------------------------------------------------- topp og header */
.toppstripe { background: var(--mork); color: var(--mork-tekst); font-size: .8125rem; }
.toppstripe__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.toppstripe a { color: #fff; text-decoration: none; }
.toppstripe__hoyre { display: flex; gap: 22px; align-items: center; }
.toppstripe__hoyre > * { display: inline-flex; align-items: center; gap: 7px; }
.toppstripe .ikon { width: 15px; height: 15px; opacity: .8; }
.toppstripe__hoyre a { font-weight: 600; font-variant-numeric: tabular-nums; }

.hode { position: sticky; top: 0; z-index: 40; }
.hode::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 transparent; transition: box-shadow 300ms ease;
}
.hode[data-scrollet]::before { box-shadow: 0 1px 0 var(--linje), 0 10px 30px -20px rgba(28, 30, 34, .25); }
.hode__inner { display: flex; align-items: center; gap: 28px; height: var(--hode-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blekk); flex: none; }
.merke { width: 40px; height: 40px; }
.merke rect:first-child { fill: var(--merke-bunn); }
.logo__tekst { display: grid; line-height: 1.05; }
.logo__navn { font: 600 1.25rem/1.05 var(--font-display); letter-spacing: -.02em; }
.logo__av { font-size: .75rem; color: var(--blekk-3); font-weight: 500; margin-top: 3px; }
.hovednav { margin-left: auto; }
.hovednav ul { display: flex; gap: 4px; list-style: none; }
.hovednav a {
  position: relative; display: block; padding: 10px 12px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--blekk-2); transition: color 200ms ease, background-color 200ms ease;
}
.hovednav a:hover { color: var(--blekk); background: color-mix(in srgb, var(--blekk) 6%, transparent); }
.hovednav a[aria-current="page"] { color: var(--blekk); }
.hovednav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gul); }
.hode__handling { display: flex; align-items: center; gap: 14px; }
.hode__tlf { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hode__tlf .ikon { width: 18px; height: 18px; }
.hode .btn { --h: 46px; font-size: .9375rem; padding-left: 20px; }
.hode .btn__ikon { width: 34px; height: 34px; }
.menyknapp { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje); cursor: pointer; }
.menyknapp span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--blekk); transition: transform 360ms var(--ease), top 360ms var(--ease); }
.menyknapp span:first-child { top: 18px; }
.menyknapp span:last-child { top: 26px; }
.menyknapp[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menyknapp[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobilmeny {
  position: fixed; inset: 0; z-index: 35; padding: calc(var(--hode-h) + 48px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobilmeny[hidden] { display: none; }
.mobilmeny ul { list-style: none; }
.mobilmeny li { overflow: hidden; }
.mobilmeny nav a {
  display: block; padding: 12px 0; font: 600 clamp(1.75rem, 7vw, 2.4rem)/1.1 var(--font-display); letter-spacing: -.02em; text-decoration: none;
  border-bottom: 1px solid var(--linje);
  transform: translateY(110%); transition: transform 600ms var(--ease);
}
.mobilmeny.apen nav a { transform: none; }
.mobilmeny.apen nav li:nth-child(2) a { transition-delay: 40ms; }
.mobilmeny.apen nav li:nth-child(3) a { transition-delay: 80ms; }
.mobilmeny.apen nav li:nth-child(4) a { transition-delay: 120ms; }
.mobilmeny.apen nav li:nth-child(5) a { transition-delay: 160ms; }
.mobilmeny.apen nav li:nth-child(6) a { transition-delay: 200ms; }
.mobilmeny.apen nav li:nth-child(7) a { transition-delay: 240ms; }
.mobilmeny__bunn { display: grid; gap: 10px; margin-top: 32px; }
.mobilmeny__bunn .btn--primar { justify-content: space-between; }
body.meny-apen { overflow: hidden; }

@media (max-width: 1140px) {
  .hovednav { display: none; }
}
@media (max-width: 900px) {
  .hode__tlf { display: none; }
}
@media (max-width: 1140px) {
  .menyknapp { display: block; }
  .hode__handling { margin-left: auto; }
}
@media (max-width: 640px) {
  .toppstripe__hoyre { display: none; }
  .toppstripe__inner { justify-content: center; font-size: .75rem; }
  .hode .btn--primar { display: none; }
  :root { --hode-h: 64px; }
  .merke { width: 36px; height: 36px; }
  .logo__navn { font-size: 1.125rem; }
}

/* ---------------------------------------------------------------- hero: gulvet i helskjerm */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  margin-top: calc(var(--hode-h) * -1); padding-top: var(--hode-h);
  min-height: calc(100dvh - 36px); display: flex; align-items: center;
  background: radial-gradient(120% 90% at 70% 40%, #6f5840 0%, #3b2f24 55%, #17140f 100%);
}
.hero__lerret { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1200ms var(--ease-ut); touch-action: pan-y; }
.hero.er-klar .hero__lerret { opacity: 1; }
.hero__slor {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 13, 15, .86) 0%, rgba(12, 13, 15, .62) 30%, rgba(12, 13, 15, .12) 58%, rgba(12, 13, 15, 0) 70%),
    linear-gradient(to top, rgba(12, 13, 15, .55) 0%, rgba(12, 13, 15, 0) 30%),
    linear-gradient(to bottom, rgba(12, 13, 15, .55) 0%, rgba(12, 13, 15, 0) 22%);
}
.hero__innhold { position: relative; padding-block: clamp(48px, 8vh, 96px); pointer-events: none; }
.hero__innhold > * { pointer-events: auto; max-width: 640px; }
.hero h1 { font-size: clamp(2.6rem, 5.1vw, 4.6rem); line-height: .98; max-width: 780px !important; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero__linje2 { display: block; text-wrap: pretty; }
.merket { text-decoration: underline; text-decoration-color: var(--gul); text-decoration-thickness: .13em; text-underline-offset: .14em; text-decoration-skip-ink: auto; white-space: nowrap; }
.hero__lede { margin-top: 26px; font-size: clamp(1.125rem, 1.45vw, 1.3125rem); line-height: 1.55; color: rgba(255, 255, 255, .84); max-width: 34ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) and (pointer: fine) { .btn--glass:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); } }
.btn--glass:focus-visible { outline-color: #fff; }
.hero__hint {
  position: absolute; right: var(--gutter); bottom: 28px; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px; font-size: .875rem; font-weight: 500; color: #fff;
  background: rgba(18, 19, 22, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none;
  transition: opacity 600ms var(--ease-ut), transform 600ms var(--ease-ut);
}
.hero__hint .ikon { width: 20px; height: 20px; color: var(--gul); }
.hero__hint.borte { animation: none !important; opacity: 0; transform: translateY(8px); }
.hint--touch { display: none; }
@media (hover: none) { .hint--mus { display: none; } .hint--touch { display: inline; } }
@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: calc(100svh - 36px); }
  .hero__slor { background: linear-gradient(to top, rgba(12, 13, 15, .92) 0%, rgba(12, 13, 15, .74) 38%, rgba(12, 13, 15, .1) 66%, rgba(12, 13, 15, .35) 100%); }
  .hero__innhold { padding-block: 40px 36px; }
  .hero__hint { top: calc(var(--hode-h) + 20px); bottom: auto; left: 0; right: 0; width: fit-content; margin-inline: auto; }
}
@media (max-width: 520px) {
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .hero__cta .btn--tel { justify-content: center; }
}

/* header over mørke partier */
.hode[data-over-mork] { color: #fff; }
.hode[data-over-mork]::before { background: rgba(14, 15, 17, .28); box-shadow: none; }
.hode[data-over-mork] .logo { color: #fff; }
.hode[data-over-mork] .logo__av { color: rgba(255, 255, 255, .66); }
.hode[data-over-mork] .merke rect:first-child { fill: rgba(255, 255, 255, .12); }
.hode[data-over-mork] .hovednav a { color: rgba(255, 255, 255, .8); }
.hode[data-over-mork] .hovednav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.hode[data-over-mork] .hovednav a[aria-current="page"] { color: #fff; }
.hode[data-over-mork] .hode__tlf { color: #fff; }
.hode[data-over-mork] .menyknapp { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.hode[data-over-mork] .menyknapp span { background: #fff; }
body.meny-apen .hode[data-over-mork] { color: var(--blekk); }
body.meny-apen .hode[data-over-mork]::before { background: var(--bg); }
body.meny-apen .hode[data-over-mork] .logo, body.meny-apen .hode[data-over-mork] .logo__av { color: var(--blekk); }
body.meny-apen .hode[data-over-mork] .menyknapp span { background: var(--blekk); }
.hode .logo, .hode .hovednav a, .hode .hode__tlf, .hode .menyknapp span { transition: color 300ms ease, background-color 300ms ease; }

.bezel { padding: 7px; border-radius: var(--r-ramme); background: color-mix(in srgb, var(--kort) 70%, transparent); box-shadow: inset 0 0 0 1px var(--linje), var(--skygge-stor); }
.bezel__kjerne {
  position: relative; overflow: hidden; border-radius: calc(var(--r-ramme) - 7px);
  background: linear-gradient(135deg, #9a7d5c, #7c6146);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18);
}
.bezel__kjerne > img { width: 100%; height: 100%; object-fit: cover; }
.bezel--liten { padding: 5px; border-radius: 22px; }
.bezel--liten .bezel__kjerne { border-radius: 17px; }
.provefelt__foto figcaption { margin-top: 14px; font-size: .875rem; color: var(--blekk-3); padding-inline: 8px; }

/* ---------------------------------------------------------------- historien: scroll gjennom jobben */
.historie { position: relative; background: #121315; color: #fff; }
.js .historie { height: 400vh; }
@media (max-width: 900px) { .js .historie { height: 320vh; } }
.historie__klebe { position: relative; }
.js .historie__klebe { position: sticky; top: 0; height: 100dvh; overflow: hidden; }
.historie__lerret { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 900ms var(--ease-ut); }
.historie.er-klar .historie__lerret { opacity: 1; }
html:not(.js) .historie__lerret { display: none; }
.historie__slor { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12, 13, 15, .94) 0%, rgba(12, 13, 15, .9) 24%, rgba(12, 13, 15, .6) 36%, rgba(12, 13, 15, 0) 52%); }
.historie__innhold { position: relative; height: 100%; display: flex; align-items: center; padding-block: clamp(48px, 10vh, 96px); }
.historie__panel { width: min(460px, 100%); }
.historie__fremdrift { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.historie__fremdrift span { display: block; height: 100%; background: var(--gul); transform-origin: left; transform: scaleX(0); }
.historie__steg { list-style: none; position: relative; margin-top: 30px; }
.js .historie__steg { min-height: 300px; }
.historie__steg li { padding-bottom: 32px; }
.js .historie__steg li {
  position: absolute; inset: 0 0 auto 0; padding: 0; opacity: 0; transform: translateY(22px); filter: blur(6px); pointer-events: none;
  transition: opacity 520ms var(--ease-ut), transform 620ms var(--ease-ut), filter 520ms var(--ease-ut);
}
.js .historie__steg li.aktiv { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.historie__steg h3 { font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.02; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.historie__steg p { margin-top: 18px; font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 38ch; }
.historie__steg .btn { margin-top: 26px; }
.historie__indeks { list-style: none; display: grid; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); counter-reset: h; }
.historie__indeks li { counter-increment: h; display: flex; align-items: center; gap: 12px; font-size: .9375rem; color: rgba(255, 255, 255, .42); transition: color 300ms ease; }
.historie__indeks li::before { content: counter(h); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 600 .75rem/1 var(--font-display); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease; }
.historie__indeks li.aktiv { color: #fff; }
.historie__indeks li.aktiv::before { background: var(--gul); color: #1C1E22; box-shadow: none; }
.historie__indeks li.ferdig::before { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
html:not(.js) .historie__indeks { display: none; }
@media (max-height: 760px), (max-width: 760px) { .historie__indeks { display: none; } }
@media (max-width: 760px) {
  .historie__slor { background: linear-gradient(to top, rgba(12, 13, 15, .94) 0%, rgba(12, 13, 15, .8) 34%, rgba(12, 13, 15, 0) 58%); }
  .historie__innhold { align-items: flex-end; padding-block: 32px calc(40px + env(safe-area-inset-bottom)); }
  .js .historie__steg { min-height: 250px; }
  .historie__steg h3 { font-size: 1.85rem; }
  .historie__steg p { font-size: 1.0313rem; margin-top: 12px; }
}

/* ---------------------------------------------------------------- tillit og referanser */
.tillitband { padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--linje); }
.tillit { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; }
.tillit li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; line-height: 1.45; color: var(--blekk-2); }
.tillit li > .ikon { width: 22px; height: 22px; color: var(--blekk); margin-top: 1px; }
.tillit strong { color: var(--blekk); font-weight: 600; }
.tillit__stjerner { display: inline-flex; gap: 1px; color: var(--gul-dyp); margin-top: 3px; }
.stjerne { width: 15px; height: 15px; }
.referanser { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--linje); }
.referanser p { font-size: .9375rem; color: var(--blekk-3); }
.referanser ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px clamp(20px, 3.4vw, 44px); }
.referanser li { display: inline-flex; align-items: center; gap: 12px; font: 600 clamp(1.125rem, 1.7vw, 1.4rem)/1.1 var(--font-display); letter-spacing: -.015em; }
.referanser li::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--gul); }
@media (max-width: 960px) { .tillit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tillit { grid-template-columns: 1fr; gap: 14px; } }

/* ---------------------------------------------------------------- seksjoner */
.seksjon { padding-block: clamp(72px, 10vw, 128px); }
.seksjon--stram { padding-block: clamp(48px, 7vw, 88px); }
.seksjon--flate, .seksjon--stein { background: var(--flate); }
.seksjon--flate + .seksjon--flate, .seksjon--stein + .seksjon--stein { padding-top: 0; }
.seksjon__hode { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.seksjon__hode .lede { margin-top: 18px; }
.seksjon__hode--rad { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- tjenester */
.tjenester { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 16px; }
.tjeneste {
  position: relative; overflow: hidden; border-radius: var(--r-kort); min-height: 300px; isolation: isolate;
  display: flex; align-items: flex-end; padding: 28px; color: #fff; text-decoration: none; background: #3a3128;
  grid-column: 8 / 13;
}
.tjeneste > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1100ms var(--ease); }
.tjeneste::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 15, 17, .78) 0%, rgba(14, 15, 17, .28) 42%, rgba(14, 15, 17, 0) 64%); }
.tjeneste--stor { grid-column: 1 / 8; grid-row: 1 / 3; min-height: 640px; padding: 36px; }
.tjeneste--bred { grid-column: 1 / 8; min-height: 340px; }
.tjeneste__tekst { display: grid; gap: 8px; max-width: 40ch; }
.tjeneste__navn { font: 600 1.5rem/1.1 var(--font-display); letter-spacing: -.02em; }
.tjeneste--stor .tjeneste__navn { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.tjeneste__om { font-size: .9688rem; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.tjeneste__pil {
  position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: #1C1E22; transition: transform 420ms var(--ease), background-color 200ms ease;
}
.tjeneste__pil .ikon { width: 19px; height: 19px; }
@media (hover: hover) and (pointer: fine) {
  .tjeneste:hover > img { transform: scale(1.045); }
  .tjeneste:hover .tjeneste__pil { background: var(--gul); transform: translate(2px, -2px) rotate(8deg); }
}
.tjeneste--pris { background: var(--gul); color: #1C1E22; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; }
.tjeneste--pris::after { content: none; }
.tjeneste--pris .tjeneste__om { color: rgba(28, 30, 34, .78); max-width: 32ch; }
.tjeneste__belop { font: 600 clamp(2.2rem, 3.4vw, 2.9rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tjeneste__belop small { font-size: .42em; letter-spacing: -.005em; font-weight: 500; }
.tjeneste__lenke { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9375rem; }
.tjeneste__lenke .ikon { transition: transform 320ms var(--ease); }
.tjeneste--pris:hover .tjeneste__lenke .ikon { transform: translateX(4px); }
@media (max-width: 900px) {
  .tjenester { grid-template-columns: 1fr; }
  .tjeneste, .tjeneste--stor, .tjeneste--bred { grid-column: auto; grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; padding: 24px; }
  .tjeneste--stor { aspect-ratio: 4 / 5; }
  .tjeneste--pris { aspect-ratio: auto; }
}

/* ---------------------------------------------------------------- prøvefelt og demo */
.provefelt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.provefelt__tekst > p:not(.lede) { margin-top: 16px; color: var(--blekk-2); max-width: 52ch; }
.provefelt__tekst .lede { margin-top: 18px; }
.provefelt__foto { margin: 36px 0 0; width: min(62%, 260px); }
.provefelt__foto .bezel__kjerne { aspect-ratio: 3 / 4; }
.demo__kontroller { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-bottom: 16px; }
.segment { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje); }
.segment button {
  min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--blekk-2);
  font: 500 .9375rem/1 var(--font-tekst); cursor: pointer; transition: background-color 220ms var(--ease-ut), color 220ms var(--ease-ut), transform 160ms var(--ease-ut);
}
.segment button:hover { color: var(--blekk); }
.segment button:active { transform: scale(.96); }
.segment button[aria-pressed="true"] { background: var(--blekk); color: var(--bg); }
.segment--lys button[aria-pressed="true"] { background: var(--gul); color: #1C1E22; }
.demo__flate { aspect-ratio: 3 / 2; background: var(--flate); }
.demo__flate canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 500ms var(--ease-ut); }
.demo.er-klar .demo__flate canvas { opacity: 1; }
.demo.laster .demo__flate canvas { opacity: .55; }
.demo:not(.er-klar) .demo__flate::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--kort) 70%, transparent) 50%, transparent 70%) 0 0 / 200% 100%;
  animation: skimmer 1.4s linear infinite;
}
@keyframes skimmer { to { background-position: -200% 0; } }
.demo__navn { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%; margin-top: 14px; padding-inline: 7px; }
.demo__navn li { font: 600 1rem/1.2 var(--font-display); text-align: center; }
.demo__note { margin-top: 12px; font-size: .875rem; color: var(--blekk-3); text-align: center; }
@media (max-width: 960px) {
  .provefelt { grid-template-columns: 1fr; }
  .provefelt__foto { display: none; }
}
@media (max-width: 520px) {
  .demo__kontroller { flex-direction: column; align-items: stretch; }
  .segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .segment button { padding: 0 8px; font-size: .875rem; }
  .demo__navn li { font-size: .875rem; }
}

/* ---------------------------------------------------------------- prosess */
.prosess { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.prosess li { position: relative; }
.prosess li:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 72px; right: -20px; height: 0;
  border-top: 1.5px dashed var(--linje-sterk);
}
.prosess__ikon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje), var(--skygge);
}
.prosess li:first-child .prosess__ikon { background: var(--gul); color: #1C1E22; }
.prosess__ikon .ikon { width: 26px; height: 26px; }
.prosess h3 { margin-top: 22px; }
.prosess p { margin-top: 10px; font-size: .9688rem; color: var(--blekk-2); }
@media (max-width: 900px) {
  .prosess { grid-template-columns: 1fr; gap: 0; }
  .prosess li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 32px; }
  .prosess li:not(:last-child)::after { top: 64px; bottom: 6px; left: 27px; right: auto; height: auto; border-top: 0; border-left: 1.5px dashed var(--linje-sterk); }
  .prosess h3 { margin-top: 14px; grid-column: 2; }
  .prosess p { grid-column: 2; }
  .prosess__ikon { grid-row: 1 / 3; }
}

/* ---------------------------------------------------------------- prosjekter */
.forlop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 48px; }
.forlop figure { margin: 0; position: relative; }
.forlop figure::before, .provefelt__foto::before {
  content: ""; position: absolute; z-index: 1; top: -9px; left: 22px; width: 84px; height: 22px; border-radius: 2px;
  background: rgba(236, 196, 52, .9); box-shadow: 0 2px 6px rgba(28, 30, 34, .18); transform: rotate(-6deg);
}
.forlop figure:nth-child(2)::before { left: auto; right: 26px; transform: rotate(5deg); }
.provefelt__foto { position: relative; }
.forlop figure:nth-child(2) { margin-top: 48px; }
.forlop img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-kort); box-shadow: var(--skygge); }
.forlop figcaption, .prosjekt figcaption { display: grid; gap: 3px; margin-top: 14px; font-size: .9063rem; color: var(--blekk-3); }
.forlop figcaption strong, .prosjekt figcaption strong { color: var(--blekk); font-weight: 600; font-size: 1rem; }
@media (max-width: 760px) {
  .forlop { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .forlop::-webkit-scrollbar { display: none; }
  .forlop figure { scroll-snap-align: start; }
  .forlop figure:nth-child(2) { margin-top: 0; }
}

/* ---------------------------------------------------------------- film
   Som på storsekk: en stum teaser går i rammen, hele rammen er knappen, og filmen med lyd lastes ved trykk. */
.filmgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.filmgrid__tekst .lede { margin-top: 18px; }
@media (max-width: 900px) { .filmgrid { grid-template-columns: 1fr; } .filmgrid__ramme { order: -1; } }
.film-ramme { transform: rotate(1.2deg); transition: transform 800ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .film-ramme:hover { transform: rotate(0deg) scale(1.01); } }
@media (max-width: 900px) { .film-ramme { transform: none; } }
.film { aspect-ratio: 16 / 9; background: var(--mork); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__hel { visibility: hidden; }
.film.spelas .film__hel { visibility: visible; }
.film.spelas .film__teaser, .film.spelas .film__spill, .film.spelas .film__tag { display: none; }
.film__spill {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 0; cursor: pointer; color: #fff; font: inherit;
  background: radial-gradient(60% 70% at 50% 50%, rgba(12, 13, 15, .42), rgba(12, 13, 15, .12) 70%), linear-gradient(to top, rgba(12, 13, 15, .55), rgba(12, 13, 15, 0) 45%);
}
.film__pille {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 26px 7px 7px; border-radius: 999px;
  background: var(--gul); color: #1C1E22; font: 600 clamp(1.0625rem, 1.6vw, 1.25rem)/1 var(--font-display); letter-spacing: -.01em;
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6); transition: transform 360ms var(--ease);
}
.film__play { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #1C1E22; color: var(--gul); transition: transform 360ms var(--ease); }
.film__play .ikon { width: 20px; height: 20px; margin-left: 3px; }
@media (hover: hover) and (pointer: fine) {
  .film__spill:hover .film__pille { transform: translateY(-2px); }
  .film__spill:hover .film__play { transform: scale(1.08); }
}
.film__spill:active .film__pille { transform: scale(.97); }
.film__spill:focus-visible { outline: 3px solid var(--gul); outline-offset: -3px; }
.film__meta { font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.film__tag {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 13px; border-radius: 999px; pointer-events: none;
  background: rgba(12, 13, 15, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; font-size: .8125rem; font-weight: 500;
}
@media (max-width: 520px) { .film__tag { display: none; } .film__play { width: 40px; height: 40px; } }

.kapitler { list-style: none; margin-top: 26px; border-top: 1px solid var(--linje); }
.kapitler button {
  display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 13px 4px; border: 0; border-bottom: 1px solid var(--linje);
  background: none; color: var(--blekk); font: 500 1rem/1.35 var(--font-tekst); text-align: left; cursor: pointer;
  transition: color 200ms ease;
}
.kapitler button > span { transition: transform 360ms var(--ease), color 200ms ease; }
.kapitler__tid { flex: none; width: 2.6rem; color: var(--blekk-3); font-variant-numeric: tabular-nums; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) { .kapitler button:hover > span { transform: translateX(6px); } .kapitler button:hover .kapitler__tid { color: var(--blekk); } }
.kapitler button:hover::after, .kapitler button:focus-visible::after { content: ""; width: 9px; height: 9px; margin-left: auto; align-self: center; background: var(--gul); border-radius: 2px; }
.kapitler button:active { transform: scale(.99); }

/* filmlenken i heroen */
.hero__film {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 6px 20px 6px 6px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font: inherit; text-align: left; transition: background 200ms ease, transform 160ms var(--ease-ut);
}
@media (hover: hover) and (pointer: fine) { .hero__film:hover { background: rgba(255, 255, 255, .16); } .hero__film:hover .hero__film-play { transform: translate(-50%, -50%) scale(1.1); } }
.hero__film:active { transform: scale(.97); }
.hero__film:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero__film-bilde { position: relative; flex: none; width: 88px; aspect-ratio: 16 / 9; border-radius: 999px; overflow: hidden; background: #1a1511; }
.hero__film-bilde video { width: 100%; height: 100%; object-fit: cover; }
.hero__film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gul); color: #1C1E22; transition: transform 360ms var(--ease); }
.hero__film-play .ikon { width: 13px; height: 13px; margin-left: 2px; }
.hero__film-tekst { display: grid; gap: 1px; line-height: 1.2; }
.hero__film-tekst strong { font-weight: 600; font-size: 1rem; }
.hero__film-tekst span { font-size: .8125rem; color: rgba(255, 255, 255, .78); }

/* filmen i dialog */
.filmdialog { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; background: none; overflow: visible; }
.filmdialog::backdrop { background: rgba(10, 11, 12, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.filmdialog__ramme { padding: 7px; border-radius: var(--r-ramme); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.filmdialog__ramme video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 21px; background: #000; }
.filmdialog__lukk { position: absolute; top: -52px; right: 0; }
.filmdialog__lukk button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background 200ms ease, transform 160ms var(--ease-ut); }
.filmdialog__lukk button:hover { background: rgba(255, 255, 255, .22); }
.filmdialog__lukk button:active { transform: scale(.94); }
.filmdialog__lukk .ikon { width: 20px; height: 20px; }
.filmdialog__cta { display: flex; justify-content: center; margin-top: 18px; }
.filmdialog[open] { animation: filmInn 420ms var(--ease-ut); }
@keyframes filmInn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .filmdialog[open] { animation: none; } .film-ramme { transform: none; } }

/* ---------------------------------------------------------------- omtaler */
.omtaler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.omtale { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-kort); background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje); display: grid; gap: 20px; }
.omtale__stjerner { display: inline-flex; gap: 2px; color: var(--gul-dyp); }
.omtale__stjerner .stjerne { width: 18px; height: 18px; }
.omtale blockquote { margin: 0; font: 500 1.1875rem/1.45 var(--font-display); letter-spacing: -.01em; text-wrap: pretty; }
.omtale figcaption { display: grid; gap: 2px; font-size: .9063rem; color: var(--blekk-3); padding-top: 18px; border-top: 1px solid var(--linje); }
.omtale figcaption strong { color: var(--blekk); font-weight: 600; }
.omtale--fremhevet { background: var(--mork); color: #F3F4F2; box-shadow: var(--skygge-stor); margin-top: 32px; }
.omtale--fremhevet figcaption { color: rgba(243, 244, 242, .7); border-color: rgba(243, 244, 242, .16); }
.omtale--fremhevet figcaption strong { color: #fff; }
.omtale--fremhevet .omtale__stjerner { color: var(--gul); }
@media (max-width: 900px) { .omtaler { grid-template-columns: 1fr; } .omtale--fremhevet { margin-top: 0; } }

/* ---------------------------------------------------------------- pris og kalkulator */
.prisdel, .anslag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.prisdel .lede { margin-top: 18px; }
.prisdel .sjekk { margin-top: 28px; }
.prisdel p:last-child { margin-top: 28px; }
.kalk { padding: 8px; border-radius: var(--r-ramme); background: color-mix(in srgb, var(--kort) 60%, transparent); box-shadow: inset 0 0 0 1px var(--linje), var(--skygge-stor); }
.kalk__inner { padding: clamp(24px, 3.4vw, 40px); border-radius: calc(var(--r-ramme) - 8px); background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje); display: grid; gap: 18px; }
.kalk__rad { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.kalk__rad label { font-weight: 600; }
.kalk__rad output { font: 600 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.kalk input[type="range"] {
  --fyll: 26%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; margin: 8px 0 0; cursor: pointer;
  background: linear-gradient(var(--blekk), var(--blekk)) 0 0 / var(--fyll) 100% no-repeat, var(--flate);
  box-shadow: inset 0 0 0 1px var(--linje);
}
.kalk input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gul); box-shadow: 0 0 0 4px var(--kort), 0 4px 12px rgba(28, 30, 34, .3); transition: transform 160ms var(--ease-ut); }
.kalk input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.kalk input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--gul); box-shadow: 0 0 0 4px var(--kort), 0 4px 12px rgba(28, 30, 34, .3); }
.kalk__skala { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--blekk-3); margin-top: -8px; }
.kalk__sum { padding: 22px 0 6px; border-top: 1px solid var(--linje); display: grid; gap: 8px; }
.kalk__merke { font-size: .875rem; color: var(--blekk-3); }
.kalk__tall { font: 600 clamp(2rem, 3.6vw, 2.75rem)/1.05 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kalk__tall small { font-size: .5em; font-weight: 500; }
.kalk__fot { font-size: .875rem; color: var(--blekk-3); }
.kalk .btn { width: 100%; justify-content: space-between; }
@media (max-width: 900px) { .prisdel, .anslag { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- lister */
.sjekk { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.sjekk--tett { grid-template-columns: 1fr; gap: 12px; }
.sjekk li { position: relative; padding-left: 36px; color: var(--blekk-2); }
.sjekk li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gul) url("../ikoner/check.svg") center / 14px no-repeat;
}
@media (max-width: 700px) { .sjekk { grid-template-columns: 1fr; } }
.minitrinn { list-style: none; counter-reset: m; display: grid; gap: 12px; margin-top: 14px; }
.minitrinn li { counter-increment: m; position: relative; padding-left: 38px; color: var(--blekk-2); font-size: .9688rem; }
.minitrinn li::before { content: counter(m); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--flate); box-shadow: inset 0 0 0 1px var(--linje); font: 600 .8125rem/1 var(--font-display); color: var(--blekk); }
/* Ren tekst, ikke piller: det som ser trykkbart ut, må være trykkbart */
.omrader { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.omrader li { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; }
.omrader li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gul); }

/* ---------------------------------------------------------------- faq */
.faqdel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faqdel__hode .lede { margin-top: 18px; }
.faq { border-top: 1px solid var(--linje); }
.faq details { border-bottom: 1px solid var(--linje); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none;
  font: 600 1.125rem/1.35 var(--font-tekst); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__pil { width: 22px; height: 22px; flex: none; transition: transform 360ms var(--ease); color: var(--blekk-3); }
.faq details[open] .faq__pil { transform: rotate(180deg); color: var(--blekk); }
.faq summary:hover { color: var(--blekk); }
.faq__svar { padding: 0 4px 24px; }
.faq__svar p { color: var(--blekk-2); max-width: 64ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 420ms var(--ease), content-visibility 420ms allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (max-width: 900px) { .faqdel { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- kontakt og skjema */
.kontaktgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.skjema { display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-ramme); background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje), var(--skygge); }
.to-kolonner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.felt { display: grid; gap: 8px; align-content: start; }
.felt label, .skjema > label { font-size: .9375rem; font-weight: 600; }
.hjelpetekst { font-size: .8438rem; font-weight: 400; color: var(--blekk-3); }
.felt label .hjelpetekst::before { content: " "; }
.skjema input:not([type="checkbox"]), .skjema select, .skjema textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-felt);
  border: 1.5px solid var(--linje-sterk); background: var(--bg); color: var(--blekk);
  font: 400 1rem/1.4 var(--font-tekst); transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.skjema textarea { min-height: 120px; resize: vertical; }
.skjema select { -webkit-appearance: none; appearance: none; padding-right: 44px; background: var(--bg) url("../ikoner/caret-down.svg") right 16px center / 18px no-repeat; }
@media (prefers-color-scheme: dark) { .skjema select { background-image: none; } }
.skjema input:hover, .skjema select:hover, .skjema textarea:hover { border-color: color-mix(in srgb, var(--blekk) 45%, transparent); }
.skjema input:focus, .skjema select:focus, .skjema textarea:focus { outline: none; border-color: var(--blekk); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gul) 55%, transparent); background: var(--kort); }
.felt--feil input, .felt--feil select { border-color: var(--feil); }
.felt__feil { font-size: .875rem; color: var(--feil); font-weight: 500; }
.samtykke { display: flex; gap: 12px; align-items: flex-start; font-size: .9063rem; font-weight: 400 !important; color: var(--blekk-2); }
.samtykke input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blekk); flex: none; }
.btn--send { justify-self: start; }
.btn--send[aria-busy="true"] { opacity: .7; pointer-events: none; }
.skjema__fot { font-size: .875rem; color: var(--blekk-3); }
.skjema__trygg { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; font-weight: 500; color: var(--blekk); }
.skjema__trygg .ikon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--gul-dyp); }
.kontaktkort { display: grid; gap: 28px; }
.kontaktkort > div:not(.kontaktkort__tlf) { padding-top: 24px; border-top: 1px solid var(--linje); }
.kontaktkort p { margin-top: 10px; color: var(--blekk-2); font-size: .9688rem; }
.kontaktkort__tlf { padding: 28px; border-radius: var(--r-kort); background: var(--gul); color: #1C1E22; }
.kontaktkort__tlf p { color: rgba(28, 30, 34, .78); }
.stor-tlf { display: inline-block; margin-top: 8px; font: 600 clamp(2rem, 3.4vw, 2.6rem)/1 var(--font-display); letter-spacing: -.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .kontaktgrid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .to-kolonner { grid-template-columns: 1fr; } .btn--send { width: 100%; justify-content: space-between; } }

/* ---------------------------------------------------------------- undersider */
.brodsmuler { padding-top: 24px; }
.brodsmuler ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--blekk-3); }
.brodsmuler li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.brodsmuler a { text-decoration: none; }
.brodsmuler a:hover { color: var(--blekk); text-decoration: underline; }
.sidehode { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 7vw, 88px); }
.sidehode h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); max-width: 18ch; }
.sidehode .lede { margin-top: 22px; max-width: 54ch; }
.sidehode .hero__cta { margin-top: 32px; }
.sidehode--split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sist-oppdatert { margin-top: 20px; font-size: .875rem; color: var(--blekk-3); }
@media (max-width: 900px) { .sidehode--split { grid-template-columns: 1fr; } }

.ramme { margin: 0; padding: 7px; border-radius: var(--r-ramme); background: color-mix(in srgb, var(--kort) 70%, transparent); box-shadow: inset 0 0 0 1px var(--linje), var(--skygge-stor); }
.ramme img { width: 100%; object-fit: cover; border-radius: calc(var(--r-ramme) - 7px); }
.ramme--staende img { aspect-ratio: 4 / 5; }
.ramme--liggende img { aspect-ratio: 4 / 3; }
.ramme figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 10px 6px; font-size: .875rem; color: var(--blekk-3); }

.brett { display: grid; gap: 40px 32px; }
.brett--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brett--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brett .flis { padding-top: 24px; border-top: 1px solid var(--linje-sterk); }
.brett .flis h3 { display: flex; align-items: center; gap: 12px; }
.brett .flis h3::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--gul); flex: none; }
.brett .flis p, .brett .flis li { margin-top: 12px; color: var(--blekk-2); font-size: .9844rem; }
.brett .flis ul { list-style: none; }
.par .flis { padding: clamp(24px, 3vw, 36px); border: 0; border-radius: var(--r-kort); background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje); }
.par .flis:first-child { background: var(--gul-lys); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gul-dyp) 40%, transparent); }
.par .flis li { position: relative; padding-left: 20px; }
.par .flis li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: .5; }
@media (min-width: 761px) { .par { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .brett--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .brett--3, .brett--2 { grid-template-columns: 1fr; } }

.mekanisme { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.mekanisme .lede { margin-top: 18px; }
.mekanisme > div > p:not(.lede) { margin-top: 16px; color: var(--blekk-2); max-width: 58ch; }
@media (max-width: 900px) { .mekanisme { grid-template-columns: 1fr; } }

.trinn { list-style: none; counter-reset: t; display: grid; gap: 0; margin-top: 32px; }
.trinn li { counter-increment: t; position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 26px; }
.trinn li::before { content: counter(t); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gul); color: #1C1E22; font: 600 1rem/1 var(--font-display); }
.trinn li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; border-left: 1.5px dashed var(--linje-sterk); }
.trinn h3 { font-size: 1.125rem; margin-top: 8px; }
.trinn p { margin-top: 6px; color: var(--blekk-2); font-size: .9688rem; }

.tabell-scroll { overflow-x: auto; border-radius: var(--r-kort); background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje); }
.pristabell { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.pristabell th { text-align: left; padding: 18px 22px 14px; font-size: .8438rem; font-weight: 600; color: var(--blekk-3); border-bottom: 1px solid var(--linje-sterk); }
.pristabell td { padding: 18px 22px; border-bottom: 1px solid var(--linje); vertical-align: top; color: var(--blekk-2); }
.pristabell tr:last-child td { border-bottom: 0; }
.pristabell td:first-child { color: var(--blekk); font-weight: 500; }
.pristabell td:last-child { font-family: var(--font-display); font-weight: 600; color: var(--blekk); white-space: nowrap; font-variant-numeric: tabular-nums; }
.artikkel .pristabell { margin: 12px 0 24px; background: var(--kort); border-radius: var(--r-kort); overflow: hidden; box-shadow: inset 0 0 0 1px var(--linje); }
.fotnote { margin-top: 16px; font-size: .875rem; color: var(--blekk-3); }

.prosjekt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.prosjekt figure { margin: 0; }
.prosjekt img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-kort); transition: transform 700ms var(--ease), box-shadow 300ms ease; }
.prosjekt a:hover img { transform: translateY(-4px); box-shadow: var(--skygge-stor); }
.prosjekt--galleri figure:nth-child(3n+2) { margin-top: 40px; }
@media (max-width: 900px) { .prosjekt { grid-template-columns: 1fr 1fr; } .prosjekt--galleri figure:nth-child(3n+2) { margin-top: 0; } }
@media (max-width: 520px) { .prosjekt { grid-template-columns: 1fr; } }

.innhold-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 6vw, 80px); align-items: start; }
.innhold-grid aside { position: sticky; top: calc(var(--hode-h) + 24px); }
@media (max-width: 960px) { .innhold-grid { grid-template-columns: 1fr; } .innhold-grid aside { position: static; } }
.artikkel { max-width: 68ch; }
.artikkel h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 48px 0 14px; }
.artikkel h2:first-child { margin-top: 0; }
.artikkel p { margin: 0 0 18px; color: var(--blekk-2); line-height: 1.75; }
.artikkel ul { margin: 0 0 22px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.artikkel ul li { position: relative; padding-left: 22px; color: var(--blekk-2); line-height: 1.65; }
.artikkel ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--gul-dyp); }
.artikkel blockquote { margin: 28px 0; padding: 26px 30px; border-radius: var(--r-kort); background: var(--gul-lys); font: 500 clamp(1.2rem, 2vw, 1.45rem)/1.4 var(--font-display); letter-spacing: -.01em; }
.sidekort { padding: 28px; border-radius: var(--r-ramme); background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje), var(--skygge); display: grid; gap: 14px; }
.sidekort p { color: var(--blekk-2); font-size: .9688rem; }
.sidekort .btn { justify-content: space-between; }
.sidekort__tlf { display: grid; gap: 4px; padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--linje); font-size: .875rem; color: var(--blekk-3); }
.sidekort__tlf .stor-tlf { margin: 0; font-size: 1.9rem; color: var(--blekk); }

.ctaflate {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--r-ramme); background: var(--gul); color: #1C1E22; position: relative; overflow: hidden;
}
.ctaflate h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 22ch; }
.ctaflate .lede { margin-top: 14px; color: rgba(28, 30, 34, .78); }
.ctaflate .btn--primar { background: #1C1E22; color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.ctaflate .btn--primar .btn__ikon { background: var(--gul); color: #1C1E22; }
.ctaflate .btn--primar:hover { background: #2A2D33; }
.ctaflate .btn--primar:focus-visible, .ctaflate :focus-visible { outline-color: #1C1E22; }
@media (max-width: 900px) { .ctaflate { grid-template-columns: 1fr; } }

.feil { min-height: 50dvh; display: grid; place-items: center; text-align: center; }
.feil > div { max-width: 560px; }
.feil__kode { font: 600 clamp(4rem, 12vw, 7rem)/1 var(--font-display); color: var(--gul-dyp); letter-spacing: -.04em; margin-bottom: 12px; }
.feil h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.feil .lede { margin: 18px auto 30px; }
.feil .btn-rad { justify-content: center; }

/* ---------------------------------------------------------------- footer og mobilbar */
.fot { background: var(--mork); color: var(--mork-tekst); padding-block: clamp(56px, 8vw, 96px) 28px; }
.fot__topp { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.fot h2 { font: 600 .9375rem/1.3 var(--font-tekst); color: #fff; letter-spacing: 0; margin-bottom: 16px; }
.fot ul { list-style: none; display: grid; gap: 10px; font-size: .9375rem; }
.fot a { text-decoration: none; color: var(--mork-tekst); transition: color 160ms ease; }
.fot a:hover { color: #fff; }
.fot__merke p { margin-top: 18px; max-width: 38ch; font-size: .9375rem; color: rgba(217, 219, 215, .8); }
.fot__cta { margin-top: 24px; }
.fot__cta .btn--primar { color: #1C1E22; }
.logo--lys { color: #fff; }
.logo--lys .merke rect:first-child { fill: #2A2D32; }
.logo--lys .logo__av { color: rgba(217, 219, 215, .7); }
.fot__tlf { font: 600 1.375rem/1.2 var(--font-display); color: #fff !important; font-variant-numeric: tabular-nums; }
.fot__bunn { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(217, 219, 215, .14); font-size: .8438rem; color: rgba(217, 219, 215, .72); }
@media (max-width: 900px) { .fot__topp { grid-template-columns: 1fr 1fr; } .fot__merke { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fot__topp { grid-template-columns: 1fr; } }

.mobilbar { display: none; }
@media (max-width: 900px) {
  .mobilbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 54px 1fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform 500ms var(--ease);
  }
  .mobilbar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 -1px 0 var(--linje); }
  .mobilbar[data-vis] { transform: none; }
  .mobilbar[data-mork]::before { background: rgba(14, 15, 17, .72); box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); }
  .mobilbar[data-mork] .mobilbar__tlf { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
  .mobilbar .btn { justify-content: space-between; }
  .mobilbar__tlf { display: grid; place-items: center; height: 54px; border-radius: 50%; background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje-sterk); color: var(--blekk); }
  .mobilbar__tlf .ikon { width: 22px; height: 22px; }
  body { padding-bottom: 80px; }
  body.meny-apen .mobilbar { transform: translateY(110%); }
}


/* ---------------------------------------------------------------- runde 3: CRO, SEO og fag */
.hero__bevis { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .9375rem; color: rgba(255, 255, 255, .86); }
.hero__bevis li { display: inline-flex; align-items: center; gap: 8px; }
.hero__bevis .ikon { width: 18px; height: 18px; color: var(--gul); }
@media (max-width: 520px) { .hero__bevis { flex-direction: column; gap: 6px; margin-top: 20px; font-size: .875rem; } }
@media (hover: none) { .js .hero__hint[data-stig] { animation-delay: 3s; } }

.historie__sitat { margin: 20px 0 0; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font: 500 1.0625rem/1.45 var(--font-display); color: #fff; max-width: 38ch; }
.historie__sitat cite { display: block; margin-top: 6px; font: 400 .875rem/1.3 var(--font-tekst); font-style: normal; color: rgba(255, 255, 255, .66); }
@media (max-width: 760px) { .historie__sitat { display: none; } }

.opplast {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: var(--r-felt); cursor: pointer;
  border: 1.5px dashed var(--linje-sterk); background: var(--bg); font-weight: 500 !important; color: var(--blekk);
  transition: border-color 180ms ease, background-color 180ms ease;
}
.opplast:hover { border-color: var(--blekk); }
.opplast__ikon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gul); color: #1C1E22; flex: none; }
.opplast__ikon .ikon { width: 20px; height: 20px; }
.opplast__felt { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.opplast__felt:focus-visible + .hjelpetekst, .opplast:focus-within { outline: 3px solid var(--gul); outline-offset: 2px; }
.har-bilder .opplast, .opplast.har-bilder { border-style: solid; border-color: var(--gul-dyp); background: var(--gul-lys); }
.felt--bilder { position: relative; }

.innvending { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.innvending li { color: var(--blekk-2); font-size: .9688rem; }
.innvending strong { color: var(--blekk); }
.kalk__neste { font-size: .9375rem; color: var(--blekk-2); }

.takk { max-width: 760px; }
.takk__hode .lede { margin-top: 18px; }
.takk__steg { list-style: none; counter-reset: t; display: grid; gap: 18px; margin: 40px 0; }
.takk__steg li { counter-increment: t; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
.takk__steg li::before { content: counter(t); grid-row: 1 / 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gul); color: #1C1E22; font: 600 1rem/1 var(--font-display); }
.takk__steg h2 { font-size: 1.25rem; margin-top: 8px; }
.takk__steg p { color: var(--blekk-2); margin-top: 4px; }
.takk__bilder { display: grid; gap: 14px; padding: 28px; margin-bottom: 32px; border-radius: var(--r-ramme); background: var(--kort); box-shadow: inset 0 0 0 1px var(--linje), var(--skygge); }
.takk__bilder[hidden] { display: none; }
.takk__bilder h2 { font-size: 1.5rem; }
.takk__bilder p { color: var(--blekk-2); }
.takk__bilder .btn { justify-self: start; }
.takk__lagt { margin-bottom: 28px; padding: 16px 20px; border-radius: 16px; background: var(--gul-lys); font-weight: 500; }

.artikkelliste { display: grid; gap: clamp(28px, 4vw, 48px); }
.artikkelkort { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.artikkelkort__bilde img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-kort); }
.artikkelkort h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.artikkelkort h2 a { text-decoration: none; }
.artikkelkort h2 a:hover { text-decoration: underline; text-decoration-color: var(--gul); }
.artikkelkort p { margin-top: 12px; color: var(--blekk-2); max-width: 56ch; }
.artikkelkort__lenker { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
@media (max-width: 760px) { .artikkelkort { grid-template-columns: 1fr; } }
.fot h2 a { color: #fff; }

@media (max-width: 900px) {
  .mobilbar--apen { grid-template-columns: auto 1fr; }
  .mobilbar__tlf--apen { display: inline-flex; gap: 6px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
  .mobilbar .btn--primar { min-width: 0; padding-left: 18px; gap: 8px; font-size: .9688rem; }
  .mobilbar .btn--primar > span:first-child { overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 901px) and (max-width: 1140px) {
  .hode__tlf { display: inline-flex; width: 46px; height: 46px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--linje); }
  .hode__tlf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hode[data-over-mork] .hode__tlf { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
}

.bydeler { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--linje); }
.bydeler > p:first-child { font-weight: 600; margin-bottom: 14px; }
.bydeler .fotnote { margin-top: 14px; }
.brett .flis p .tekstlenke { margin-top: 4px; }


/* ---------------------------------------------------------------- hero: oljen (valgt fra hero-lab, variant 6) */
.hero--olje { align-items: flex-end; background: #1a1511; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--olje .hero__slor { background: radial-gradient(120% 95% at 50% 100%, rgba(12, 13, 15, .84) 0%, rgba(12, 13, 15, .4) 55%, rgba(12, 13, 15, .16) 100%), linear-gradient(to bottom, rgba(12, 13, 15, .55), rgba(12, 13, 15, 0) 26%); }
.hero--olje .hero__innhold { text-align: center; }
.hero--olje .hero__innhold > * { margin-inline: auto; }
.hero--olje h1 { max-width: 16ch !important; }
.hero--olje .hero__cta, .hero--olje .hero__bevis { justify-content: center; }
@media (max-width: 760px) {
  .hero--olje .hero__slor { background: linear-gradient(to top, rgba(12, 13, 15, .92) 0%, rgba(12, 13, 15, .72) 45%, rgba(12, 13, 15, .2) 80%); }
}

/* ---------------------------------------------------------------- ekte prøvefelt hos kunden */
.ekte { padding-block: clamp(72px, 10vw, 128px); background: var(--bg); }
.ekte__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ekte__bilde { margin: 0; }
.ekte__ramme { position: relative; padding: 8px; border-radius: var(--r-ramme); background: color-mix(in srgb, var(--kort) 70%, transparent); box-shadow: inset 0 0 0 1px var(--linje), var(--skygge-stor); }
.ekte__ramme img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: calc(var(--r-ramme) - 8px); }
.ekte__ramme::before { content: ""; position: absolute; z-index: 1; top: -12px; left: 34px; width: 110px; height: 26px; border-radius: 2px; background: rgba(236, 196, 52, .92); box-shadow: 0 2px 6px rgba(28, 30, 34, .18); transform: rotate(-5deg); }
.ekte__pin { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 10px; }
.ekte__pin--venstre { flex-direction: row-reverse; transform: translateX(-100%); }
.ekte__pin--venstre .ekte__prikk { margin: 0 -7px 0 0; }
.ekte__prikk { position: relative; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--gul); box-shadow: 0 0 0 4px rgba(242, 194, 27, .35), 0 2px 8px rgba(0, 0, 0, .35); flex: none; }
.ekte__prikk::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gul); animation: hl-puls-ekte 2.4s ease-out infinite; animation-delay: calc(var(--i) * 500ms); }
@keyframes hl-puls-ekte { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.ekte__navn { padding: 7px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: #fff; background: rgba(14, 15, 17, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.ekte__bilde figcaption { margin-top: 14px; padding-inline: 8px; font-size: .875rem; color: var(--blekk-3); }
.ekte__tekst .lede { margin-top: 18px; }
.ekte__punkter { list-style: none; display: grid; gap: 14px; margin: 28px 0 32px; }
.ekte__punkter li { display: flex; gap: 12px; align-items: flex-start; color: var(--blekk-2); }
.ekte__punkter .ikon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gul); color: #1C1E22; flex: none; margin-top: 1px; }
@media (max-width: 900px) {
  .ekte__grid { grid-template-columns: 1fr; }
  .ekte__navn { font-size: .75rem; padding: 5px 9px; }
  .ekte__pin--mobil-venstre { flex-direction: row-reverse; transform: translateX(-100%); }
  .ekte__pin--mobil-venstre .ekte__prikk { margin: 0 -8px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .ekte__prikk::after { animation: none; } }


/* ---------------------------------------------------------------- CTA-seksjon med ekte prosjektbilder (fra hero-lab, variant 9) */
.cta-ekte { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #16130f; padding-block: clamp(88px, 13vw, 168px); }
.cta-ekte__kolonner { position: absolute; inset: -40px 0 -40px 40%; z-index: -2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-right: 14px; transform: rotate(-4deg) scale(1.12); transform-origin: 60% 50%; }
.cta-ekte__kolonne { overflow: hidden; }
.cta-ekte__spor { display: grid; gap: 14px; animation: cta-rull 60s linear infinite; }
.cta-ekte__kolonne:nth-child(2) .cta-ekte__spor { animation-direction: reverse; animation-duration: 70s; }
.cta-ekte__kolonne:nth-child(3) .cta-ekte__spor { animation-duration: 55s; }
.cta-ekte__kolonne img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
@keyframes cta-rull { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.cta-ekte__slor { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(14, 12, 10, .97) 0%, rgba(14, 12, 10, .9) 36%, rgba(14, 12, 10, .35) 58%, rgba(14, 12, 10, .1) 82%), linear-gradient(to top, rgba(14, 12, 10, .55), rgba(14, 12, 10, 0) 30%), linear-gradient(to bottom, rgba(14, 12, 10, .5), rgba(14, 12, 10, 0) 25%); }
.cta-ekte__innhold > * { max-width: 560px; }
.cta-ekte h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1; color: #fff; }
.cta-ekte .lede { margin-top: 22px; color: rgba(255, 255, 255, .82); max-width: 44ch; }
.cta-ekte .hero__cta { margin-top: 34px; }
.cta-ekte .hero__bevis { margin-top: 24px; }
@media (max-width: 760px) {
  .cta-ekte { padding-top: 58vw; }
  .cta-ekte__kolonner { inset: -40px -20px 30% -20px; transform: rotate(-6deg) scale(1.2); }
  .cta-ekte__slor { background: linear-gradient(to top, rgba(14, 12, 10, .98) 0%, rgba(14, 12, 10, .92) 55%, rgba(14, 12, 10, .2) 85%); }
}
@media (prefers-reduced-motion: reduce) { .cta-ekte__spor { animation: none; } }

/* ---------------------------------------------------------------- bevegelse */
@media (prefers-reduced-motion: no-preference) {
  .js [data-stig] { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: stig 900ms var(--ease-ut) forwards; }
  .js [data-stig="1"] { animation-delay: 60ms; }
  .js [data-stig="2"] { animation-delay: 160ms; }
  .js [data-stig="3"] { animation-delay: 260ms; }
  .js [data-stig="4"] { animation-delay: 380ms; }
  @keyframes stig { to { opacity: 1; transform: none; filter: none; } }

}
/* Avsløring ved scroll: ren CSS (scroll-drevet animasjon). Nettlesere uten støtte viser alt med en gang,
   så innhold kan aldri bli liggende usynlig. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .avsloring, [data-stag] > * { animation: avslor linear both; animation-timeline: view(); animation-range: entry 5% entry 55%; }
    [data-stag] > *:nth-child(2) { animation-range: entry 10% entry 62%; }
    [data-stag] > *:nth-child(3) { animation-range: entry 15% entry 69%; }
    [data-stag] > *:nth-child(4) { animation-range: entry 20% entry 76%; }
    [data-stag] > *:nth-child(5) { animation-range: entry 25% entry 83%; }
    @keyframes avslor { from { opacity: 0; transform: translateY(32px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}

/* ---------------------------------------------------------------- CRO-runde 2026-09-29 */
/* takkesiden: den som nettopp har sendt, skal ikke bes om å «få pris» igjen */
.takk-side .mobilbar, .takk-side .fot__cta { display: none !important; }
/* ekte kundeomtale rett under knappene i heroen */
.hero__sitat { margin-top: 18px; font-size: .9375rem; line-height: 1.45; color: rgba(255, 255, 255, .92); max-width: 46ch !important; }
.hero__sitat span { display: block; margin-top: 2px; font-size: .8125rem; color: rgba(255, 255, 255, .66); }
@media (max-width: 520px) { .hero__sitat { font-size: .875rem; } }
/* mobil: overskriften i «Slik ser det ut hos kunden» før bildet */
@media (max-width: 900px) { .ekte__tekst { order: -1; } }
/* Mobil: heroen skal vara lika ren som före filmpillen och citatet. Citatet står redan i omtalene
   rett under, och filmen blir en diskret tekstlenke i stedet for en tredje knapp. */
@media (max-width: 640px) {
  .hero__sitat { display: none; }
  .hero__film { gap: 10px; margin-top: 18px; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero__film-bilde { width: 30px; height: 30px; aspect-ratio: auto; border-radius: 50%; background: var(--gul); }
  .hero__film-bilde video { display: none; }
  .hero__film-play { width: 30px; height: 30px; }
  .hero__film-tekst { display: flex; align-items: baseline; gap: 6px; }
  .hero__film-tekst strong { font-size: .9375rem; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; }
  .hero__film-tekst span { font-size: .875rem; }
  .hero__film-tekst span::before { content: "· "; }
}

/* ---------------------------------------------------------------- selve slipingen (forsiden) */
.slipingen .seksjon__hode--rad { align-items: flex-end; }
.slipesteg { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: steg; }
.slipesteg li { display: grid; grid-template-rows: auto 1fr; gap: 20px; }
.slipesteg figure { margin: 0; }
.slipesteg img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-kort); box-shadow: var(--skygge); }
.slipesteg li:nth-child(even) figure { transform: translateY(28px); }
.slipesteg li:nth-child(even) > div { padding-top: 28px; }
.slipesteg__nr { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 8px; background: var(--gul); color: #1C1E22; font: 600 .9375rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.slipesteg h3 { margin-bottom: 8px; }
.slipesteg p { color: var(--blekk-2); font-size: .9688rem; }
.slipingen__fot { display: flex; gap: 12px; align-items: flex-start; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--linje); color: var(--blekk-2); max-width: none; }
.slipingen__fot .ikon { flex: none; width: 22px; height: 22px; color: var(--blekk); margin-top: 1px; }
.slipingen__fot a { color: var(--blekk); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gul-dyp); text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 1000px) { .slipesteg { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 760px) {
  .slipesteg { grid-template-columns: 1fr; gap: 0; }
  .slipesteg li { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: none; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--linje); }
  .slipesteg li:first-child { border-top: 1px solid var(--linje); }
  .slipesteg img { aspect-ratio: 1; border-radius: 14px; }
  .slipesteg li:nth-child(even) figure { transform: none; }
  .slipesteg li:nth-child(even) > div { padding-top: 0; }
  .slipesteg__nr { width: 26px; height: 26px; margin-bottom: 8px; font-size: .875rem; }
  .slipesteg h3 { font-size: 1.125rem; }
  .slipingen__fot { border-top: 0; padding-top: 0; }
}

/* ---------------------------------------------------------------- utføreren (hybridmodell 2026-10-01) */
.skjema__utforer { font-size: .875rem; line-height: 1.5; color: var(--blekk-2); padding: 12px 14px; border-radius: var(--r-felt); background: var(--flate); }
.fot__utforer { margin-top: 10px; font-size: .875rem; color: rgba(255, 255, 255, .62); }
.fot__utforer a { color: rgba(255, 255, 255, .86); text-decoration: underline; text-underline-offset: 3px; }
