/* ==========================================================================
   Hemvar — nettside
   Én stor styles.css. Alle tokens i :root. Klassenavn beskriver hva
   komponenten ER (.site-nav, .hero, .value-card ...), ikke hvordan den ser ut.
   Bygget på brand-guidelines.md.
   ========================================================================== */

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Primær */
  --brand: #073932;
  --brand-soft: #E8EEED;

  /* Bakgrunn */
  --bg: #F5F2EA;
  --card: #FFFFFF;

  /* Tekst */
  --ink: #0C2B27;
  --ink-1: #2F4340;
  --ink-2: #647570;
  --ink-3: #97A3A0;

  /* Aksent */
  --sage: #4B6B4F;
  --sage-soft: #E7F0E8;
  --accent: #B24E2E;
  --accent-soft: #FCEFE7;
  --clay: #8C3A2E;
  --clay-soft: #FBE6E1;

  /* Linjer */
  --hairline: #E6E2D7;
  --hairline-strong: #D3CEC1;

  /* Skygge — én varm formel */
  --shadow: 0 1px 2px rgba(12, 43, 39, 0.04), 0 4px 12px rgba(12, 43, 39, 0.05);
  --shadow-lift: 0 2px 4px rgba(12, 43, 39, 0.05), 0 12px 32px rgba(12, 43, 39, 0.09);

  /* Radius */
  --r-pill: 999px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-btn: 10px;

  /* Mål */
  --maxw: 1320px;
  --pad: 40px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: var(--sage-soft); color: var(--brand); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---- 3. Typografi-hjelpere --------------------------------------------- */
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }

.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.num { font-variant-numeric: tabular-nums; }

/* ---- 4. Layout-primitiver ---------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }

.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.section-head p {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--ink-1);
  max-width: 56ch;
}
.section-head--center p { margin-inline: auto; }

/* ---- 5. Knapper --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: var(--r-btn);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: #FBFBF8; }
.btn--primary:hover { background: #0a4a40; box-shadow: var(--shadow-lift); }

.btn--outline { color: var(--brand); border: 1px solid var(--brand); }
.btn--outline:hover { background: var(--brand-soft); }

.btn--text { color: var(--ink-1); padding-inline: 6px; }
.btn--text:hover { color: var(--brand); }

.btn--lg { padding: 14px 24px; font-size: 15.5px; }

.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- 6. Navigasjon (flytende pill) ------------------------------------- */
.site-nav-shell {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #FFFFFF;
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-nav {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 15px var(--pad);
}
.site-nav-shell.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(12, 43, 39, 0.06), 0 8px 24px rgba(12, 43, 39, 0.05);
}

.nav-left { display: flex; align-items: center; gap: 34px; min-width: 0; }
.brand-mark { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark img { height: 26px; width: auto; }
.brand-mark .wordmark-fallback {
  font-weight: 800; font-size: 21px; color: var(--brand); letter-spacing: -0.03em;
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-1);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-links a:hover { background: var(--bg); color: var(--brand); }
.nav-links a.is-active { color: var(--brand); font-weight: 600; }
/* Temporarily disabled menu items (Funksjoner / Priser / Om Hemvar) */
.nav-disabled { pointer-events: none; opacity: 0.4; cursor: default; }
.nav-links a.nav-disabled:hover { background: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-actions .btn { padding-block: 10px; }
.nav-actions .btn svg, .nav-drawer .btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.nav-toggle { display: inline-flex; width: 42px; height: 42px; border-radius: var(--r-pill); align-items: center; justify-content: center; color: var(--brand); border: 1px solid var(--hairline-strong); background: #fff; cursor: pointer; margin-left: 2px; }
.nav-toggle:hover { background: var(--bg); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobil-drawer (glir inn fra HØYRE — eksplisitt valg) */
.nav-scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(7, 57, 50, 0.45);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(360px, 86vw);
  background: var(--card);
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  box-shadow: var(--shadow-lift);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.nav-drawer .drawer-head img { height: 24px; }
.nav-drawer a {
  padding: 14px 12px; border-radius: var(--r-md);
  font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.nav-drawer a:hover { background: var(--bg); }
.nav-drawer hr { border: none; border-top: 1px solid var(--hairline); margin: 12px 0; }
.nav-drawer .btn { width: 100%; justify-content: center; }

/* ---- 7. Hero ------------------------------------------------------------ */
.hero { position: relative; padding: 0; background: #FBF3E7; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; gap: 16px;
  min-height: min(78vh, 720px);
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 40px;
}
.hero-content .lede { max-width: 36ch; }

/* Building render + floating callout pills */
.hero-visual { position: relative; align-self: center; }
.hero-img { display: block; width: 100%; height: auto; }

.hpill {
  position: absolute; z-index: 3; white-space: nowrap;
  padding: 8px 15px; border-radius: 999px;
  font: 700 14px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.01em;
  box-shadow: 0 10px 26px rgba(12,43,39,.16);
}
.hpill--amber { background: #F3E2B5; color: #6B4E1A; }
.hpill--sage  { background: #DCEAD9; color: #1F4035; }
.hpill--clay  { background: var(--clay); color: #fff; }
.hc-tak    { top: 27%; left: 55%; }
.hc-fasade { top: 49%; left: 25%; }
.hc-avvik  { top: 60%; right: 4%; }

.hero-card-cb {
  position: absolute; z-index: 3; bottom: 9%; left: 44%;
  display: flex; align-items: center; gap: 11px;
  background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 14px 34px rgba(12,43,39,.18);
}
.hero-card-cb .hcb-ic {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: var(--sage-soft); color: var(--brand);
  display: grid; place-items: center;
}
.hero-card-cb .hcb-ic svg { width: 16px; height: 16px; }
.hero-card-cb .hcb-txt { font: 700 13px/1.35 'Plus Jakarta Sans', sans-serif; color: var(--ink); }

/* ---- Segmenter ---- */
.segments { background: #FFFFFF; }
.segments .section-head { margin: 0 auto 40px; }
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 720px; margin-inline: auto; }
.seg-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.seg-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--card); border-radius: var(--r-lg);
  padding: 30px 20px; box-shadow: var(--shadow); min-height: 158px;
  transition: box-shadow .18s var(--ease), transform .18s var(--ease);
}
.seg-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.seg-sil { width: 46px; height: 44px; margin: 0 auto 16px; color: var(--brand); }
.seg-card h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.3; }
.seg-media {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 1.5px dashed var(--hairline-strong); border-radius: var(--r-lg); background: var(--card);
  color: var(--ink-3); min-height: 360px;
}
.seg-media .ph-ico svg { width: 40px; height: 40px; }
.seg-media .ph-txt { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }

/* ---- Slik fungerer Hemvar (to-delt) ---- */
.how-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.how-left { align-self: center; }
.how .section-head { text-align: left; max-width: none; margin: 0 0 18px; }
.how-list { display: flex; flex-direction: column; }
.how-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 0; align-items: start; }
.how-item + .how-item { border-top: 1px solid var(--hairline); }
.how-no { font-size: 13px; font-weight: 800; color: var(--sage); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; padding-top: 3px; }
.how-item h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.how-item p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.how-media {
  border-radius: var(--r-lg);
  border: 1.5px dashed var(--hairline-strong); background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--ink-3); min-height: 420px;
}
.how-media .ph-ico svg { width: 40px; height: 40px; }
.how-media .ph-txt { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }

/* ---- Medlemsfordeler ---- */
.mf-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.mf-head .eyebrow { display: block; margin-bottom: 14px; }
.mf-head h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.mf-head p { margin-top: 18px; font-size: 18px; color: var(--ink-1); line-height: 1.55; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.split + .benefit-grid { border-top: 1px solid var(--hairline); padding-top: 88px; margin-bottom: 4px; }
.sec-intro + .benefit-grid { margin-top: 52px; }
.benefit-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
.benefit-card {
  display: flex; flex-direction: column; color: inherit;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 18px 18px 22px; box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
a.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--hairline-strong); }
.benefit-card-footer {
  margin-top: auto;
  padding: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.benefit-card-footer a,
.benefit-card-footer .bc-more {
  font-size: 13px; font-weight: 700; color: var(--brand);
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.benefit-card-footer a:hover,
.benefit-card:hover .benefit-card-footer .bc-more { text-decoration: underline; }
/* Subtle category indicator (under the partner name) */
.bc-cat {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-2);
}
.benefit-media {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
}
.benefit-media svg { width: 54px; height: 54px; color: rgba(7, 57, 50, 0.30); }
.benefit-chip {
  background: #fff; border-radius: 9px; padding: 7px 12px;
  font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; color: var(--brand);
  box-shadow: var(--shadow);
}
/* Inside full-width media block (index.html feature cards), chip stays pinned */
.benefit-media .benefit-chip { position: absolute; top: 14px; left: 14px; }
/* Partner name + category stacked next to the icon (medlemsfordeler cards) */
.bc-head { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bc-head .benefit-chip {
  background: none; box-shadow: none; border-radius: 0; padding: 0;
  color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
}
.benefit-card h3 { margin-top: 18px; padding: 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.benefit-card p { margin-top: 9px; padding: 0 6px; font-size: 16px; color: var(--ink-1); line-height: 1.55; }

/* ── Compact benefit card (bc-top variant) ─────────────────── */
.bc-top {
  display: flex; align-items: center; gap: 14px; margin-bottom: 4px;
}
.bc-icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bc-icon svg { width: 24px; height: 24px; color: rgba(7,57,50,.45); }
/* Logo variant — white tile holding a partner brand mark */
.bc-icon--logo { background: #fff; border: 1px solid var(--hairline); }
.bc-icon--logo img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 8px 7px; box-sizing: border-box;
}
/* When bc-top is used, remove the top-margin / side-padding from h3 + p */
.benefit-card .bc-top ~ h3 { margin-top: 16px; padding: 0; }
.benefit-card .bc-top ~ p  { padding: 0; }

.bm-1 { background: linear-gradient(135deg, #E7F0E8, #CFE0D2); }
.bm-2 { background: linear-gradient(135deg, #FCEFE7, #F1D7C9); }
.bm-3 { background: linear-gradient(135deg, #E8EEED, #D2E0DE); }
.bm-4 { background: linear-gradient(135deg, #F5EBC9, #E7D59C); }
.bm-5 { background: linear-gradient(135deg, #FBE6E1, #F1C9BE); }
.bm-6 { background: linear-gradient(135deg, #EAEFE9, #D6E2D4); }

/* ── Benefit mini-UI (bui) ────────────────────────────────── */
.bui-card {
  background: #fff; border-radius: 12px; padding: 14px;
  box-shadow: 0 6px 28px rgba(12,43,39,.14); width: 86%;
  font-family: inherit; font-size: 12px; color: var(--ink);
}
.bui-label {
  font-size: 9.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px;
}
/* priority — radio rows */
.bui-sev-row { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 7px; margin-bottom: 2px; }
.bui-sev-row.on { background: var(--clay-soft); }
.bui-radio { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--hairline-strong); flex-shrink: 0; }
.bui-radio.on { border-color: var(--clay); background: var(--clay); box-shadow: inset 0 0 0 3px #fff; }
.bui-sev-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.bui-sev-name { font-size: 12px; font-weight: 600; color: var(--ink); }
/* assignment dropdown */
.bui-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; color: #fff; flex-shrink: 0; }
.bui-dd-trigger { display: flex; align-items: center; justify-content: space-between; padding: 6px 9px; border: 1px solid var(--hairline); border-radius: 7px; margin-bottom: 5px; font-size: 11px; color: var(--ink-2); }
.bui-dd-trigger svg { width: 11px; height: 11px; color: var(--ink-3); flex-shrink: 0; }
.bui-dd-list { border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden; }
.bui-dd-item { display: flex; align-items: center; gap: 7px; padding: 5px 8px; background: #fff; }
.bui-dd-item + .bui-dd-item { border-top: 1px solid var(--hairline); }
.bui-dd-item.on { background: var(--sage-soft); }
.bui-dd-item b { font-size: 11px; font-weight: 700; color: var(--ink); display: block; line-height: 1.3; }
.bui-dd-item small { font-size: 9.5px; color: var(--ink-3); }
.bui-dd-check { margin-left: auto; font-size: 11px; color: var(--sage); font-weight: 800; flex-shrink: 0; }
/* building part */
.bui-part { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 7px; margin-bottom: 2px; font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.bui-part.on { background: var(--sage-soft); color: var(--ink); font-weight: 700; }
.bui-part svg { width: 13px; height: 13px; color: var(--sage); flex-shrink: 0; }
.bui-chk { margin-left: auto; width: 15px; height: 15px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.bui-chk svg { width: 9px; height: 9px; color: #fff; }
/* status steps */
.bui-status-head { font-size: 11px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.bui-steps { display: flex; align-items: center; gap: 4px; }
.bui-step { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--bg); color: var(--ink-3); border: 1px solid var(--hairline); white-space: nowrap; }
.bui-step.done { background: var(--sage-soft); color: var(--sage); border-color: transparent; }
.bui-step.on { background: #FEF3C7; color: #92400E; border-color: transparent; }
.bui-sarrow { font-size: 9px; color: var(--ink-3); }
/* photo */
.bui-photo { position: relative; border-radius: 8px; overflow: hidden; height: 72px; margin: 6px 0; background: linear-gradient(135deg, #d8e4d8, #c0d4c0); }
.bui-photo::before { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50%; height: 60%; background: rgba(7,57,50,.1); border-radius: 3px 3px 0 0; }
.bui-photo-pin { position: absolute; top: 28%; left: 32%; width: 17px; height: 17px; border-radius: 50%; background: var(--clay); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.22); }
.bui-photo-meta { font-size: 10.5px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 5px; }
.bui-photo-meta svg { width: 11px; height: 11px; color: var(--sage); }
/* log */
.bui-log-row { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; }
.bui-log-row + .bui-log-row { border-top: 1px solid var(--hairline); }
.bui-log-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex-shrink: 0; margin-top: 4px; }
.bui-log-row b { font-size: 11px; font-weight: 700; color: var(--ink); }
.bui-log-row span { font-size: 11px; color: var(--ink-2); }
.bui-log-row small { font-size: 10px; color: var(--ink-3); margin-left: auto; white-space: nowrap; padding-left: 4px; }
/* maintenance plan */
.bui-plan-row { display: flex; align-items: center; gap: 7px; padding: 5px 0; border-bottom: 1px solid var(--hairline); }
.bui-plan-row:last-child { border-bottom: none; }
.bui-plan-year { font-size: 9px; font-weight: 800; color: var(--brand); background: var(--sage-soft); padding: 2px 6px; border-radius: 4px; flex-shrink: 0; letter-spacing: 0.02em; }
.bui-plan-name { font-size: 10.5px; font-weight: 500; color: var(--ink); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bui-plan-cost { font-size: 9.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
/* document list */
.bui-doc-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--hairline); }
.bui-doc-row:last-child { border-bottom: none; }
.bui-doc-icon { width: 28px; height: 32px; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 7px; font-weight: 800; letter-spacing: 0.04em; }
.bui-doc-info { flex: 1; min-width: 0; }
.bui-doc-name { font-size: 10.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bui-doc-tag { font-size: 9.5px; color: var(--ink-3); margin-top: 1px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-1);
}
.chip svg { width: 14px; height: 14px; color: var(--sage); }

.hero h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.0;
}
.hero h1 .accent { color: var(--brand); }
.hero .lede {
  margin-top: 20px;
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: var(--ink-1);
  max-width: 42ch;
  line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.page-hero--center .hero-cta { justify-content: center; }

/* ── Feature Hub card additions (funksjoner.html) ─────────────── */
.bc-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bc-ic svg { width: 20px; height: 20px; color: var(--brand); }
.bc-eyebrow {
  display: block; margin-top: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--brand);
}
.bc-features {
  margin: 12px 6px 0; padding: 0; list-style: none;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
}
.bc-features li { padding: 3px 0; display: flex; gap: 7px; align-items: flex-start; }
.bc-features li::before { content: "—"; flex-shrink: 0; color: var(--brand); font-weight: 600; }
.bc-link {
  display: block; margin-top: auto; padding: 14px 6px 0;
  font-size: 13px; font-weight: 700; color: var(--brand);
}
a.benefit-card:hover .bc-link { text-decoration: underline; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: 13px; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--hairline-strong); }

/* ---- 8. Portal-mockup (designet, ikke screenshot) ---------------------- */
.mock {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  font-size: 13px;
}
.mock-top {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px; border-bottom: 1px solid var(--hairline);
  background: #FCFBF7;
}
.mock-top .tl { display: flex; gap: 6px; }
.mock-top .tl i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-top .tl i:nth-child(1) { background: #E7C9BF; }
.mock-top .tl i:nth-child(2) { background: #E7DEC0; }
.mock-top .tl i:nth-child(3) { background: #C6D7C2; }
.mock-top .addr {
  margin-left: 8px; flex: 1; text-align: center;
  font-size: 11.5px; color: var(--ink-3); letter-spacing: -0.01em;
}
.mock-body { display: grid; grid-template-columns: 188px 1fr; min-height: 416px; }

.mock-side { border-right: 1px solid var(--hairline); padding: 16px 12px; background: #FCFBF7; }
.mock-side .side-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 0 8px; margin-bottom: 10px; }
.mock-side ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.mock-side li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 8px; font-size: 12.5px; color: var(--ink-1); font-weight: 500;
}
.mock-side li.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.mock-side li .ct { font-size: 10.5px; color: var(--ink-3); }
.mock-side li.is-active .ct { color: var(--sage); }

.mock-main { padding: 20px 22px; }
.mock-main .crumb { font-size: 11px; color: var(--ink-3); margin-bottom: 4px; letter-spacing: 0.02em; }
.mock-main h4 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.mock-main .sub { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.tg-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 20px 0 9px; }
.tg-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tg {
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 11px 12px; background: var(--card);
}
.tg .tg-h { display: flex; align-items: center; justify-content: space-between; }
.tg .tg-h b { font-size: 13.5px; letter-spacing: -0.01em; }
.tg .tg-d { font-size: 10.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.35; }
.tg .rd { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--hairline-strong); flex-shrink: 0; }
.tg.is-on { border-color: var(--sage); background: var(--sage-soft); }
.tg.is-on .rd { border-color: var(--sage); background: var(--sage); position: relative; }
.tg.is-on .rd::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #fff; }

.mock-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.mock-fields .fld label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.mock-fields .fld .box {
  margin-top: 6px; padding: 9px 11px; border: 1px solid var(--hairline); border-radius: 8px;
  font-size: 12.5px; color: var(--ink); background: #FCFBF7; font-variant-numeric: tabular-nums;
}
.mock-pills { display: flex; gap: 7px; margin-top: 16px; }
.mock-pills .mp {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600;
}
.mp.mp--sage { background: var(--sage-soft); color: var(--sage); }
.mp.mp--accent { background: var(--accent-soft); color: var(--accent); }
.mp.mp--clay { background: var(--clay-soft); color: var(--clay); }

/* flytende liten varselbrikke over mockup */
.mock-float {
  position: absolute; left: -26px; bottom: 34px; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 15px; background: var(--card);
  border: 1px solid var(--hairline); border-radius: 14px; box-shadow: var(--shadow-lift);
  max-width: 252px;
}
.mock-float .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.mock-float .ic svg { width: 18px; height: 18px; }
.mock-float .ft { font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.mock-float .fs { font-size: 11px; color: var(--ink-2); }

/* ---- 9. Logo-stripe / sosial bevis ------------------------------------- */
.proof { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: #FFFFFF; }
.proof .wrap { display: flex; align-items: center; gap: 32px; padding-block: 22px; flex-wrap: wrap; justify-content: center; }
.proof .pt { font-size: 12.5px; color: var(--ink-2); font-weight: 600; letter-spacing: 0.02em; }
.proof-items { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.proof-items span { font-size: 13.5px; color: var(--ink-1); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.proof-items svg { width: 16px; height: 16px; color: var(--sage); }

/* ---- 10. Fragmentering → ett sted -------------------------------------- */
.frag .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.frag-visual {
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(140,58,46,0.06), transparent 55%),
    var(--card);
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 34px; min-height: 340px;
}
.frag-scatter { position: relative; height: 240px; }
.frag-node {
  position: absolute; display: flex; align-items: center; gap: 9px;
  padding: 9px 13px; background: var(--card); border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill); box-shadow: var(--shadow); font-size: 12.5px; font-weight: 600; color: var(--ink-1);
}
.frag-node .b { width: 16px; height: 16px; border-radius: 50%; background: var(--clay); color: #fff; font-size: 9px; display: grid; place-items: center; font-weight: 700; }
.frag-node:nth-child(1) { top: 6px; left: 4px; transform: rotate(-4deg); }
.frag-node:nth-child(2) { top: 0; right: 16px; transform: rotate(3deg); }
.frag-node:nth-child(3) { top: 84px; left: 60px; transform: rotate(2deg); }
.frag-node:nth-child(4) { bottom: 40px; left: 0; transform: rotate(-2deg); }
.frag-node:nth-child(5) { bottom: 8px; right: 30px; transform: rotate(4deg); }
.frag-node:nth-child(6) { bottom: 70px; right: 0; transform: rotate(-3deg); }
.frag-cap { margin-top: 8px; font-size: 13px; color: var(--ink-2); font-style: normal; text-align: center; }

.frag-copy h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.025em; }
.frag-copy .big { color: var(--brand); }
.frag-copy p { margin-top: 18px; font-size: 16.5px; color: var(--ink-1); }
.frag-copy .after-card {
  margin-top: 24px; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--sage-soft); border-radius: var(--r-md);
}
.frag-copy .after-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--card); display: grid; place-items: center; color: var(--sage); flex-shrink: 0; }
.frag-copy .after-card .ic svg { width: 20px; height: 20px; }
.frag-copy .after-card b { color: var(--brand); font-size: 14.5px; letter-spacing: -0.01em; }
.frag-copy .after-card span { display: block; font-size: 13px; color: var(--ink-1); }

/* ---- 11. Stat-band ------------------------------------------------------ */
.stats { background: var(--brand); color: #EAF0EE; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-block: 60px; }
.stat { text-align: left; }
.stat .n { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.stat .l { margin-top: 10px; font-size: 13.5px; color: rgba(234,240,238,0.72); }
.stat + .stat { position: relative; }

/* ---- 12. Verdi-blokker (problemene) ------------------------------------ */
.values .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.value-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--hairline-strong); }
.value-card .vc-ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--sage-soft);
  display: grid; place-items: center; color: var(--sage); margin-bottom: 18px;
}
.value-card .vc-ic svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.value-card .tag { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.value-card p { margin-top: 12px; font-size: 14px; color: var(--ink-1); line-height: 1.55; }

/* ---- 13. Slik fungerer det --------------------------------------------- */
.steps .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 28px 24px;
  position: relative;
}
.step .sn {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; margin-bottom: 18px;
}
.step h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.015em; }
.step p { margin-top: 10px; font-size: 14px; color: var(--ink-1); }

/* ---- 14. Sammenligning -------------------------------------------------- */
.compare .panel {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 18px 22px; font-size: 14.5px; vertical-align: top; }
.compare thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); background: #FCFBF7; }
.compare thead th:first-child { width: 30%; }
.compare tbody tr + tr td { border-top: 1px solid var(--hairline); }
.compare td.who { font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.compare td.diff { color: var(--ink-1); }

/* ---- 15. Prisseksjon (V5 — editorial mørk) ---------------------------------------- */
.pricing { background: #fff; }
.pricing-card {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 52px;
  align-items: center;
  background: var(--brand);
  border-radius: var(--r-lg);
  padding: 56px 52px;
  box-shadow: 0 16px 48px rgba(7,57,50,.18), 0 4px 12px rgba(7,57,50,.08);
}
.pricing-sep {
  background: rgba(255,255,255,.1);
  align-self: stretch;
}
.pricing-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pricing-left h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}
.pricing-left p {
  margin-top: 14px;
  font-size: 15.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  max-width: 36ch;
}
.pricing-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.pricing-cta .btn {
  flex: 1;
  min-width: 160px;
  justify-content: center;
}
/* White button for dark section */
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: var(--bg); }
.btn--ghost-w { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.22); }
.btn--ghost-w:hover { background: rgba(255,255,255,.18); }
/* Pricing right column */
.pricing-right { display: flex; flex-direction: column; }
.pricing-tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}
.pricing-num {
  font-size: 100px; font-weight: 800; color: #fff;
  letter-spacing: -0.055em; line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.pricing-unit {
  font-size: 18px; font-weight: 600;
  color: rgba(255,255,255,.65);
  margin-top: 8px;
}
.pricing-rule {
  height: 1px; background: rgba(255,255,255,.12);
  margin: 22px 0;
}
.pricing-addon { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }
.pricing-addon strong { color: rgba(255,255,255,.92); font-weight: 700; }

/* pris-side kort */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow);
}
.plan.is-featured { border-color: var(--brand); box-shadow: var(--shadow-lift); position: relative; }
.plan .badge { position: absolute; top: 18px; right: 18px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage); background: var(--sage-soft); padding: 5px 11px; border-radius: var(--r-pill); }
.plan h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.plan .pdesc { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; min-height: 38px; }
.plan .pprice { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand); margin-top: 14px; font-variant-numeric: tabular-nums; }
.plan .pprice span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan ul { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.plan ul li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-1); }
.plan ul li svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; margin-top: 1px; }
.plan .btn { width: 100%; justify-content: center; margin-top: 24px; }

/* ---- 16. FAQ ------------------------------------------------------------ */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: left; font-size: 16.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.faq-q .pm { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform 0.25s var(--ease); }
.faq-q .pm::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq-q .pm::after { left: 10px; top: 3px; bottom: 3px; width: 2px; }
.faq-item.is-open .faq-q .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s var(--ease); }
.faq-a p { padding: 0 4px 22px; color: var(--ink-1); font-size: 15px; max-width: 64ch; }

/* ---- 17. CTA-felt ------------------------------------------------------- */
.cta-band {
  background: var(--brand);
  padding-block: 88px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cta-band .inner {
  position: relative;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 65%);
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; position: relative; }
.cta-band p { color: rgba(234,240,238,0.78); margin-top: 16px; font-size: 17px; max-width: 52ch; margin-inline: auto; position: relative; }
.cta-band .cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-band .btn--primary { background: #fff; color: var(--brand); }
.cta-band .btn--primary:hover { background: #F5F2EA; }
.cta-band .btn--outline { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn--outline:hover { background: rgba(255,255,255,0.08); }

/* ---- 18. Footer --------------------------------------------------------- */
.site-foot { background: var(--brand); margin-top: 0; }
.site-foot .wrap { padding-block: 64px 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand img { height: 26px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 1; }
.foot-brand p { font-size: 14px; color: rgba(255,255,255,0.82); max-width: 34ch; line-height: 1.6; }
.foot-org { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.78); }
.foot-org strong { color: #fff; font-weight: 700; font-size: 14.5px; margin-bottom: 2px; }
.foot-org a { color: rgba(255,255,255,0.9); text-decoration: none; }
.foot-org a:hover { color: #fff; text-decoration: underline; }
.foot-col h4 { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.95); margin-bottom: 16px; }
.foot-col a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,0.9); font-weight: 500; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); font-size: 13px; color: rgba(255,255,255,0.7); flex-wrap: wrap; }
.foot-bottom a { color: #fff; font-weight: 600; text-decoration: none; }
.foot-bottom a:hover { text-decoration: underline; }

/* ---- 19. Generiske side-hero (for underside) --------------------------- */
.page-hero { padding-top: 64px; padding-bottom: 8px; }
.page-hero .eyebrow { display: block; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; max-width: 16ch; }
.page-hero p { margin-top: 20px; font-size: 18px; color: var(--ink-1); max-width: 56ch; }
/* Centered variant (kontakt) — aligns hero with the centered form below */
.page-hero--center { text-align: center; padding-top: 72px; padding-bottom: 40px; }
.page-hero--center .eyebrow { margin-bottom: 14px; }
.page-hero--center h1 { max-width: 22ch; margin-inline: auto; }
.page-hero--center p { margin-top: 18px; max-width: 52ch; margin-inline: auto; }
.page-hero--funksjon { min-height: 460px; display: flex; align-items: center; }

/* about */
.about-lead { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.45; letter-spacing: -0.02em; color: var(--ink); max-width: 24ch; }
.about-body { color: var(--ink-1); font-size: 16px; }
.about-body p + p { margin-top: 18px; }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 26px;
}
.principle h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
.principle p { margin-top: 10px; font-size: 14px; color: var(--ink-1); }
.principle .pn { font-size: 12px; font-weight: 700; color: var(--sage); letter-spacing: 0.06em; }

/* not-included list */
.notlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.notlist .ni { display: flex; gap: 12px; padding: 16px 18px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-md); }
.notlist .ni svg { width: 18px; height: 18px; color: var(--ink-3); flex-shrink: 0; margin-top: 2px; }
.notlist .ni b { color: var(--ink); font-size: 14.5px; letter-spacing: -0.01em; }
.notlist .ni span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }

/* feature deep rows (funksjoner-side) */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feat-row + .feat-row { margin-top: 72px; }
.feat-row.is-rev .feat-text { order: 2; }
.feat-text .eyebrow { display: block; margin-bottom: 12px; }
.feat-text h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.025em; }
.feat-text p { margin-top: 14px; color: var(--ink-1); font-size: 16px; }
.feat-text ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.feat-text ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-1); }
.feat-text ul li svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; margin-top: 2px; }
.feat-visual {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow); min-height: 300px;
}
.features { background: #FFFFFF; }
.feat-cta { text-align: center; margin-top: 76px; }
.feat-cta p { font-size: 18px; font-weight: 600; color: var(--ink-1); margin-bottom: 18px; }

/* ---- Funksjoner (kort) ---- */
.funcs { background: #FFFFFF; }
.funcs .section-head { margin: 0 auto 44px; }
.func-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 940px; margin-inline: auto; }
.func-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 28px 30px 30px; box-shadow: var(--shadow);
  transition: box-shadow .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}
.func-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: var(--hairline-strong); }
.func-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.func-cat { font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sage); }
.func-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap;
}
.func-tag.is-now { background: var(--sage-soft); color: var(--sage); }
.func-tag.is-coming { background: #F5EBC9; color: #8A6A13; }
.func-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.28; color: var(--ink); }
.func-card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.func-note { color: var(--ink-3); }
.func-link { display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 700; color: var(--brand); }
.func-link:hover { color: #0a4a40; }
.func-card--coming { background: var(--bg); border-style: dashed; box-shadow: none; }

/* ---- Produkt: bento (B) + brede seksjoner ---- */
.product { background: #FFFFFF; }
.bento-head { margin-bottom: 36px; }
.bento-title { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0 0 14px; }
.bento-sub { font-size: 18px; color: var(--ink-2); line-height: 1.5; max-width: 52ch; }
.vB { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bcard { position: relative; background: #fff; border: 1px solid var(--hairline); border-radius: 22px; padding: 30px 30px 0; overflow: hidden; display: flex; flex-direction: column; min-height: 340px; box-shadow: 0 1px 2px rgba(12,43,39,.05), 0 16px 36px rgba(12,43,39,.10); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.bcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12,43,39,.06), 0 24px 50px rgba(12,43,39,.14); }
.bcard-cat { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); margin-bottom: 9px; }
.bcard h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.bcard .sub { color: var(--ink-2); margin-top: 8px; font-size: 15px; max-width: 40ch; min-height: 44px; }
.bcard .act { margin-top: 18px; }
.bcard .peek { margin-top: 26px; }
.mk { background: #fff; border: 1px solid var(--hairline); border-radius: 14px 14px 0 0; box-shadow: 0 18px 40px rgba(12,43,39,.10); padding: 16px; font-size: 12px; }
.mk .top { display: flex; justify-content: space-between; color: var(--ink-2); font-weight: 700; margin-bottom: 12px; }
.mk-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--hairline); border-radius: 10px; color: var(--ink-1); margin-bottom: 8px; }
.mk-row .d { width: 18px; height: 18px; border-radius: 6px; background: var(--sage-soft); flex: 0 0 auto; }
.mk-row .pill { margin-left: auto; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 20px; background: var(--sage-soft); color: var(--sage); }
.mk-row .pill.tg1 { background: #F5EBC9; color: #8A6A13; }
.mk-row .pill.tg2 { background: var(--clay-soft); color: var(--clay); }
.mk-bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; padding-top: 14px; }
.mk-bars .b { flex: 1; background: var(--sage); border-radius: 5px 5px 0 0; position: relative; }
.mk-bars .b small { position: absolute; bottom: -16px; left: 0; right: 0; text-align: center; font-size: 9px; color: var(--ink-3); }

.sec-intro { max-width: 660px; margin: 100px 0 0; }
.sec-intro + .split { border-top: none; }
.sec-intro .eyebrow { display: block; margin-bottom: 14px; }
.sec-intro h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.sec-intro p { color: var(--ink-2); margin-top: 14px; font-size: 17px; line-height: 1.6; }

.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; align-items: center; padding: 88px 0; border-top: 1px solid var(--hairline); }
.split.rev .split-text { order: 2; }
.split-text .eyebrow { display: block; margin-bottom: 16px; }
.split-text h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.split-text p { margin-top: 22px; font-size: 17.5px; color: var(--ink-1); line-height: 1.62; max-width: 42ch; }
.split-text .more { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); text-decoration: none; font-size: 15px; transition: gap .2s var(--ease); }
.split-text .more:hover { gap: 11px; }
.split-visual { position: relative; border-radius: 26px; padding: 44px; min-height: 420px; display: grid; place-items: center; background: radial-gradient(120% 90% at 80% 0%, var(--sage-soft), transparent 58%), linear-gradient(160deg, #f4f6f4, #eceeec); overflow: hidden; }
.split-visual--photo { padding: 0; background: none; height: 500px; }
.split-visual--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block; }
.split-visual--portal { padding: 0; background: none; align-items: stretch; }
.split-visual--portal .portal-shot { border-radius: 26px; box-shadow: var(--shadow-lift); border: 1px solid var(--hairline); }
.sv-card { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(12,43,39,.16); padding: 22px; }
.sv-head { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 18px; }
.sv-head .cnt { font-size: 12px; font-weight: 800; color: var(--ink-2); background: var(--bg); border-radius: 20px; padding: 2px 9px; }
.sv-cols { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; font-size: 11px; color: var(--ink-3); font-weight: 700; padding: 0 4px 8px; }
.sv-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--hairline); }
.sv-who { display: flex; align-items: center; gap: 11px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; flex: 0 0 auto; }
.sv-who b { font-size: 13.5px; font-weight: 700; display: block; }
.sv-who small { font-size: 11.5px; color: var(--ink-2); }
.rl { font-size: 11px; font-weight: 700; color: var(--sage); background: var(--sage-soft); padding: 4px 10px; border-radius: 20px; }
.sv-sw { width: 38px; height: 21px; border-radius: 20px; background: var(--hairline-strong); position: relative; transition: .25s var(--ease); }
.sv-sw.on { background: var(--sage); }
.sv-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: .25s var(--ease); }
.sv-sw.on::after { left: 19px; }
.sv-foot { margin-top: 14px; display: flex; justify-content: flex-end; }
.sv-foot .b { font-size: 12.5px; font-weight: 700; color: var(--brand); background: var(--bg); border-radius: 999px; padding: 8px 14px; }
.iv-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--hairline); border-radius: 12px; padding: 11px 14px; color: var(--ink-2); font-size: 13.5px; margin-bottom: 16px; }
.iv-search svg { width: 16px; height: 16px; color: var(--ink-3); }
.iv-line { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-top: 1px solid var(--hairline); }
.iv-line .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--sage-soft); display: grid; place-items: center; color: var(--sage); flex: 0 0 auto; }
.iv-line .ic svg { width: 16px; height: 16px; }
.iv-line b { font-size: 13.5px; font-weight: 700; display: block; }
.iv-line small { font-size: 11.5px; color: var(--ink-2); }
.iv-line .src { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--sage); background: var(--sage-soft); padding: 3px 9px; border-radius: 20px; }

/* avvik-kort */
.av-photo { position: relative; border-radius: 12px; height: 128px; margin-bottom: 16px; background: linear-gradient(150deg, #dce8dc 0%, #c8d8c8 100%); overflow: hidden; }
.av-photo::before { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 62%; height: 72%; background: rgba(7,57,50,.11); border-radius: 5px 5px 0 0; }
.av-photo::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 16%; height: 34%; background: rgba(7,57,50,.13); border-radius: 3px 3px 0 0; margin-left: -1px; }
.av-pin { position: absolute; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.av-pin svg { width: 11px; height: 11px; color: #fff; }
.av-pin--red  { background: var(--clay); }
.av-pin--amber { background: #C99A3B; }
.av-pin--green { background: var(--sage); }
.av-badge { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.02em; white-space: nowrap; margin-left: auto; }
.av-badge--open     { background: var(--clay-soft); color: var(--clay); }
.av-badge--progress { background: #FEF3C7; color: #92400E; }
.av-badge--done     { background: var(--sage-soft); color: var(--sage); }

/* mini årshjul-visual */
.wheel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wheel .mo {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border: 1px solid var(--hairline); border-radius: var(--r-md); font-size: 13px;
}
.wheel .mo b { font-weight: 600; color: var(--ink); }
.wheel .mo .tag { font-size: 10.5px; padding: 3px 9px; border-radius: var(--r-pill); font-weight: 600; }
.wheel .mo.is-due { border-color: var(--accent); }
.wheel .mo.is-due .tag { background: var(--accent-soft); color: var(--accent); }
.wheel .mo .tag.ok { background: var(--sage-soft); color: var(--sage); }

/* timeline-visual (vedlikeholdsplan) */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline .ev { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; }
.timeline .ev + .ev { border-top: 1px solid var(--hairline); }
.timeline .ev .yr { font-size: 15px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.timeline .ev .ttl { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.timeline .ev .ds { font-size: 11.5px; color: var(--ink-2); }
.timeline .ev .kr { font-size: 13px; font-weight: 700; color: var(--ink-1); font-variant-numeric: tabular-nums; }

/* reveal-animasjon */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }
.reveal[data-delay="4"] { transition-delay: 0.28s; }
.reveal[data-delay="5"] { transition-delay: 0.35s; }

/* ── Tilstandsanalyse — Three steps (Variant C) ── */
.ta-section { background: #F5F2EA; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.ta-head {
  text-align: center;
  margin-bottom: 64px;
}
.ta-head .eyebrow { justify-content: center; display: flex; }
.ta-head h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.035em; margin-top: 8px; }
.ta-head p { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 48ch; margin-inline: auto; line-height: 1.6; }
.ta-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.ta-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ta-step-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.ta-step-icon svg { width: 26px; height: 26px; }
.ta-step--1 .ta-step-icon { background: var(--amber); }
.ta-step--1 .ta-step-icon svg { color: var(--amber-2); }
.ta-step--2 .ta-step-icon { background: var(--brand); box-shadow: 0 8px 24px rgba(7,57,50,.25); }
.ta-step--2 .ta-step-icon svg { color: #fff; }
.ta-step--3 .ta-step-icon { background: var(--sage-soft); }
.ta-step--3 .ta-step-icon svg { color: var(--sage); }
.ta-step-num {
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 6px;
}
.ta-step--1 .ta-step-num,
.ta-step--3 .ta-step-num { color: var(--ink-3); }
.ta-step--2 .ta-step-num { color: var(--brand); }
.ta-step h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.ta-step p { font-size: 14px; color: var(--ink-2); line-height: 1.55; max-width: 22ch; }
.ta-step--2 h3 { color: var(--brand); }
.ta-arrow {
  display: flex; align-items: flex-start;
  padding-top: 18px; padding-inline: 16px;
}
.ta-arrow svg { width: 28px; height: 28px; color: var(--hairline); }
.ta-manual {
  margin-top: 64px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.ta-manual-line { flex: 1; max-width: 160px; height: 1px; background: var(--hairline); }
.ta-manual-badge {
  padding: 9px 22px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  white-space: nowrap;
}
.ta-manual-badge a {
  color: var(--brand); font-weight: 700; text-decoration: none;
}
.ta-manual-badge a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   PORTAL-MOCKUP (.pm-*) — gjenskaper det FAKTISKE portal-designet (hemvar-v2.0)
   Sidebar 232px, topbar 68px, TG0–TG3, TG/KG-statuskort, driftsoppgaver-
   månedsstripe, vedlikeholdskort. Tokens og klasser speiler src/styles.css.
   ========================================================================== */
.pm {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  font-size: 13px;
  color: var(--ink);
}
.pm-chrome { display: grid; grid-template-columns: 196px 1fr; }

/* Sidebar (ekte: .sidebar) */
.pm-side { background: #fff; border-right: 1px solid var(--hairline); padding: 0 12px 16px; }
.pm-logo { height: 54px; display: flex; align-items: center; padding: 0 6px; border-bottom: 1px solid var(--hairline); margin-bottom: 14px; }
.pm-logo img { height: 22px; width: auto; }
.pm-prop { padding: 0 10px; margin-bottom: 14px; }
.pm-prop-eyebrow { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 2px; }
.pm-prop-addr { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.pm-nav { display: flex; flex-direction: column; gap: 2px; }
.pm-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink-1); }
.pm-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.pm-nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.pm-nav-sep { border: none; border-top: 1px solid var(--hairline); margin: 10px 2px; }

/* Topbar (ekte: .topbar) */
.pm-main { display: flex; flex-direction: column; min-width: 0; }
.pm-top { height: 54px; border-bottom: 1px solid var(--hairline); display: flex; align-items: center; gap: 14px; padding: 0 18px; }
.pm-search { flex: 1; max-width: 300px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: var(--bg); border: 1px solid var(--hairline); border-radius: 8px; color: var(--ink-3); font-size: 12px; }
.pm-search svg { width: 14px; height: 14px; }
.pm-top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.pm-bell { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-2); }
.pm-bell svg { width: 16px; height: 16px; }
.pm-user { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-1); }
.pm-ava { width: 28px; height: 28px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* Innholdsflate */
.pm-body { padding: 18px 20px 22px; }
.pm-crumb { font-size: 11px; color: var(--ink-3); margin-bottom: 10px; }
.pm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.pm-title { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.pm-sub { font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
.pm-pill-sm { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 999px; }
.pm-pill-warn { background: var(--accent-soft); color: var(--accent); }

/* Faner (ekte Part-side) */
.pm-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--hairline); margin: 14px 0 16px; }
.pm-tab { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding-bottom: 10px; display: inline-flex; align-items: center; gap: 6px; }
.pm-tab.active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.pm-tab .ct { font-size: 10px; font-weight: 700; color: var(--ink-3); background: var(--bg); padding: 1px 6px; border-radius: 999px; }
.pm-tab.active .ct { color: var(--accent); background: var(--accent-soft); }

/* TG/KG statuskort (ekte: store TILSTANDSGRAD/KONSEKVENSGRAD-kort) */
.pm-status { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-stat { border: 1px solid var(--hairline); border-radius: 12px; padding: 14px 16px; background: #FCFBF7; }
.pm-stat .lab { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.pm-stat .big { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-top: 4px; }
.pm-stat .big.tg2 { color: var(--accent); }
.pm-stat .nm { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; margin-top: 2px; }
.pm-stat .ds { font-size: 11px; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }

/* Funn-liste (ekte: "Funn fra siste vurdering") */
.pm-funn { border: 1px solid var(--hairline); border-radius: 12px; padding: 14px 16px; margin-top: 12px; }
.pm-funn-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pm-funn-head b { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; }
.pm-funn-head .meta { font-size: 10.5px; color: var(--ink-3); }
.pm-funn ul { display: flex; flex-direction: column; gap: 8px; }
.pm-funn li { display: flex; gap: 10px; font-size: 12px; color: var(--ink-1); align-items: flex-start; }
.pm-funn li .ix { width: 18px; height: 18px; border-radius: 5px; background: var(--brand-soft); color: var(--brand); font-size: 9.5px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.pm-funn-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--hairline); font-size: 10.5px; color: var(--ink-3); }
.pm-funn-foot a { color: var(--brand); font-weight: 600; }

/* TG-velger (ekte: .tilstand-form .tg-card, TG0–TG3) */
.pm-tg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.pm-tg { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; padding: 12px 12px 11px; border: 1px solid var(--hairline-strong); border-radius: 10px; background: #fff; }
.pm-tg.is-on { border-color: var(--brand); background: rgba(7,57,50,0.03); box-shadow: 0 0 0 3px rgba(7,57,50,0.06); }
.pm-tg .badge { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; }
.pm-tg-0 .badge { background: var(--sage-soft); color: var(--sage); }
.pm-tg-1 .badge { background: #F5EBC9; color: #8a6a13; }
.pm-tg-2 .badge { background: var(--accent-soft); color: var(--accent); }
.pm-tg-3 .badge { background: var(--clay-soft); color: var(--clay); }
.pm-tg .tt { font-size: 12px; font-weight: 600; color: var(--ink); }
.pm-tg .dd { font-size: 10.5px; color: var(--ink-2); line-height: 1.35; }

/* Driftsoppgaver: månedsstripe + rader (ekte: kalender) */
.pm-months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-bottom: 16px; }
.pm-mo { border: 1px solid var(--hairline); border-radius: 9px; padding: 8px 6px; text-align: center; background: #fff; }
.pm-mo .mn { font-size: 10px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.pm-mo .cn { font-size: 14px; font-weight: 700; color: var(--ink-3); margin-top: 3px; }
.pm-mo.is-on { background: var(--brand); border-color: var(--brand); }
.pm-mo.is-on .mn { color: rgba(255,255,255,0.8); }
.pm-mo.is-on .cn { color: #fff; }
.pm-tasks { display: flex; flex-direction: column; }
.pm-task { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 2px; }
.pm-task + .pm-task { border-top: 1px solid var(--hairline); }
.pm-task .tk b { font-size: 12.5px; font-weight: 600; color: var(--ink); display: block; letter-spacing: -0.01em; }
.pm-task .tk span { font-size: 10.5px; color: var(--ink-2); }
.pm-task .dt { font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.03em; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.pm-tag.lov { background: var(--accent-soft); color: var(--accent); }
.pm-tag.anb { background: var(--sage-soft); color: var(--sage); }

/* Vedlikeholdskort (ekte: Plan / vedlikeholdskort) */
.pm-vk { border: 1px solid var(--hairline); border-radius: 12px; padding: 16px 18px; background: #fff; }
.pm-vk + .pm-vk { margin-top: 10px; }
.pm-vk .vk-meta { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--ink-2); }
.pm-vk .vk-meta .pri { font-weight: 700; }
.pm-vk .vk-meta .pri.krit { color: var(--clay); }
.pm-vk .vk-meta .pri.mid { color: var(--accent); }
.pm-vk .vk-meta .pri.lav { color: var(--sage); }
.pm-vk .vk-meta .sep { color: var(--hairline-strong); }
.pm-vk .vk-h { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }
.pm-vk .vk-stats { display: flex; gap: 28px; margin-top: 14px; }
.pm-vk .vk-stats .s .l { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); }
.pm-vk .vk-stats .s .v { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 3px; font-variant-numeric: tabular-nums; }

/* Flytende varselbrikke (beholdt, men ekte innhold) */
.pm-float { position: absolute; left: -24px; bottom: 30px; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 11px 14px; background: #fff; border: 1px solid var(--hairline); border-radius: 13px; box-shadow: var(--shadow-lift); max-width: 250px; }
.pm-float .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.pm-float .ic svg { width: 17px; height: 17px; }
.pm-float .ft { font-size: 11.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.pm-float .fs { font-size: 10.5px; color: var(--ink-2); }

.hero-visual { position: relative; }
.feat-visual.pm-wrap { padding: 0; background: none; border: none; box-shadow: none; min-height: 0; }

@media (max-width: 560px) {
  .pm-chrome { grid-template-columns: 1fr; }
  .pm-side { display: none; }
  .pm-status { grid-template-columns: 1fr; }
  .pm-tg-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-months { grid-template-columns: repeat(4, 1fr); }
  .pm-float { display: none; }
  .pm-vk .vk-stats { gap: 18px; }
}

/* ---- Liten troverdighets-fotnote under en problem-blokk ---------------- */
.feat-note { margin-top: 18px; font-size: 12.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--r-pill); }
.feat-note svg { width: 14px; height: 14px; color: var(--sage); flex-shrink: 0; }

/* ---- «Se alle detaljer» — sammenleggbar full funksjonsliste ------------ */
.full-details { border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.full-details > summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--brand); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.full-details > summary::-webkit-details-marker { display: none; }
.full-details > summary .fd-sub { font-weight: 500; font-size: 13.5px; color: var(--ink-2); }
.full-details > summary .chev { width: 20px; height: 20px; color: var(--ink-2); transition: transform 0.22s var(--ease); flex-shrink: 0; }
.full-details[open] > summary .chev { transform: rotate(180deg); }
.full-details .fd-body { padding: 8px 26px 30px; border-top: 1px solid var(--hairline); }
.full-details .fcat-grid { margin-top: 22px; }
.full-details .fcat { box-shadow: none; background: #FCFBF7; }
.full-details .compare { padding: 0; }
.full-details .compare .panel { box-shadow: none; margin-top: 22px; }

/* ---- Funksjoner: moduler + komplett rutenett + tabell ------------------ */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.module .mn { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.module h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin-top: 8px; }
.module p { margin-top: 10px; font-size: 14px; color: var(--ink-1); line-height: 1.55; }

.fcat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fcat { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.fcat > .eyebrow { display: block; margin-bottom: 7px; }
.fcat > h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.fcat ul { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.fcat li { display: flex; gap: 11px; }
.fcat li > svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; margin-top: 1px; }
.fcat li b { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); display: block; }
.fcat li p { font-size: 13px; color: var(--ink-2); margin-top: 2px; line-height: 1.45; }
@media (max-width: 860px) { .modules { grid-template-columns: 1fr; } .fcat-grid { grid-template-columns: 1fr; } }

/* ---- Ekte portal-skjerm (iframe av portalens egen DOM + portal.css) ---- */
.portal-shot {
  position: relative;
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: #fff;
}
.portal-shot iframe {
  position: absolute;
  top: 0; left: 0;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
}
.feat-visual.pm-wrap.portal-wrap { padding: 0; background: none; border: none; box-shadow: none; }

/* ---- Pris (faktisk modell: 800 kr/mnd + 200 kr/bygg) ------------------- */
.incl { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 20px; }
.incl li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-1); }
.incl li svg { width: 17px; height: 17px; color: var(--sage); flex-shrink: 0; margin-top: 1px; }
.price-teaser .pt-r .addon { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(234,240,238,0.18); font-size: 15px; font-weight: 700; color: #fff; }
.price-teaser .pt-r .addon span { color: rgba(234,240,238,0.7); font-weight: 500; }
.price-teaser .pt-r .example { margin-top: 14px; font-size: 13px; color: rgba(234,240,238,0.82); line-height: 1.5; background: rgba(255,255,255,0.07); padding: 12px 14px; border-radius: 10px; }
.price-teaser .pt-r .example b { color: #fff; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .incl { grid-template-columns: 1fr; } }

/* ---- 20. Breadcrumb-stripe --------------------------------------------- */
.breadcrumb-strip {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
}
.breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-2);
}
.breadcrumb a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .bc-sep { color: var(--hairline-strong); font-size: 15px; line-height: 1; }
.breadcrumb .bc-current { color: var(--ink); font-weight: 600; }

/* ---- Medlemsfordel-side (mfp = member feature page) -------------------- */
.mfp-hero {
  background: var(--bg);
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--hairline);
}
.mfp-hero-inner { max-width: 800px; }
.mfp-hero .breadcrumb { margin-bottom: 22px; }
.mfp-partner-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 6px 16px 6px 8px;
  margin-bottom: 24px;
}
.mfp-partner-logo {
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 9px; font-weight: 800; color: #fff; letter-spacing: 0.02em;
}
.mfp-partner-tag .pt-name { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.mfp-partner-tag .pt-cat { font-size: 11.5px; color: var(--ink-2); }
.mfp-partner-tag .pt-sep { color: var(--hairline-strong); }

.mfp-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1.06;
}
.mfp-hero p {
  margin-top: 20px; font-size: 18px; color: var(--ink-2);
  line-height: 1.65; max-width: 54ch;
}
.mfp-hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Discount badge floating near the hero */
.mfp-discount-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--sage-soft); border: 1.5px solid var(--sage);
  border-radius: 14px; padding: 10px 18px; margin-top: 28px;
}
.mfp-discount-num {
  font-size: 32px; font-weight: 800; color: var(--brand);
  letter-spacing: -0.04em; line-height: 1;
}
.mfp-discount-text { font-size: 14px; font-weight: 600; color: var(--ink-1); line-height: 1.4; }

/* Full-width white section for the member-benefit detail block
   (shared by all Kundefordeler subpages) */
.mfp-section { background: #fff; }

/* Two-column body */
.mfp-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--hairline);
  background: #fff;
}
.mfp-left {
  padding: 64px 56px 64px 0; border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 36px;
}
.mfp-right {
  padding: 64px 0 64px 56px;
  background: #fff;
  display: flex; align-items: flex-start;
}

/* Partner company presentation (right column of Kundefordel subpages) */
.partner-present { width: 100%; max-width: 440px; }
.partner-present .pp-cat { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.partner-present .pp-name { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); margin-top: 4px; }
.partner-present .pp-desc { font-size: 15px; color: var(--ink-2); line-height: 1.65; margin-top: 18px; }
.partner-present .pp-div { height: 1px; background: var(--hairline); margin: 24px 0; }
.partner-present .pp-row { display: flex; align-items: center; gap: 13px; padding: 7px 0; text-decoration: none; }
.partner-present .pp-row + .pp-row { margin-top: 2px; }
.partner-present .pp-ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--sage-soft);
  color: var(--brand); display: grid; place-items: center; flex-shrink: 0;
}
.partner-present .pp-ic svg { width: 18px; height: 18px; }
.partner-present .pp-row small {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-2);
}
.partner-present .pp-row .pp-val { display: block; font-size: 15px; font-weight: 600; color: var(--ink-1); }
.partner-present .pp-row:hover .pp-val { text-decoration: underline; }

.mfp-feature { display: flex; flex-direction: column; gap: 8px; }
.mfp-feature h3 { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.mfp-feature p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* Insurance card visual */
.ins-card {
  width: 100%; background: var(--bg); border: 1px solid var(--hairline);
  border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lift);
}
.ins-card-header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
}
.ins-logo-block {
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.ins-logo-block svg { width: 24px; height: 24px; color: #fff; }
.ins-card-header h3 { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.ins-card-header p { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

.ins-discount-row {
  background: var(--brand); border-radius: 14px; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 22px;
}
.ins-discount-row .idr-left { color: rgba(255,255,255,.7); font-size: 13.5px; font-weight: 500; }
.ins-discount-row .idr-left b { display: block; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1.1; }
.ins-discount-row .idr-right { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6); text-align: right; line-height: 1.4; }

.ins-coverage { display: flex; flex-direction: column; gap: 2px; }
.ins-cov-item { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--hairline); }
.ins-cov-item:last-child { border: none; }
.ins-cov-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--sage-soft); display: grid; place-items: center; flex-shrink: 0; }
.ins-cov-ic svg { width: 14px; height: 14px; color: var(--brand); }
.ins-cov-item b { font-size: 13.5px; font-weight: 700; color: var(--ink); flex: 1; }
.ins-cov-item .ins-pill { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--sage-soft); color: var(--sage); white-space: nowrap; }

.ins-member-note { margin-top: 18px; padding: 12px 14px; background: #fff; border-radius: 10px; border: 1px solid var(--hairline); display: flex; align-items: center; gap: 10px; }
.ins-member-note svg { width: 16px; height: 16px; color: var(--sage); flex-shrink: 0; }
.ins-member-note span { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.ins-member-note b { color: var(--brand); }

@media (max-width: 940px) {
  .mfp-body { grid-template-columns: 1fr; }
  .mfp-left { padding: 56px var(--pad); border-right: none; border-bottom: 1px solid var(--hairline); }
  .mfp-right { padding: 48px var(--pad); }
}

/* ---- 20. Fagpartner-teaser --------------------------------------------- */
.partner-band { background: #fff; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.partner-card {
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  background: var(--bg); border: 1.5px dashed var(--hairline-strong);
  border-radius: var(--r-lg); padding: 40px 48px;
}
.partner-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 11px; border-radius: 999px;
  background: #F5EBC9; color: #8A6A13; margin-bottom: 14px;
}
.partner-left h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.partner-left p { margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 46ch; line-height: 1.55; }
.partner-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.partner-coming { font-size: 11px; font-weight: 700; color: var(--ink-3); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--card); white-space: nowrap; }

/* ---- Leverandøravtale-side ---- */
.partner-hero { background: var(--brand); padding: 80px 0; }
.partner-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.partner-hero .eyebrow { color: rgba(255,255,255,.5); display: block; margin-bottom: 16px; }
.partner-hero h1 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1.06; }
.partner-hero p { margin-top: 20px; font-size: 17px; color: rgba(255,255,255,.68); max-width: 48ch; line-height: 1.6; }
.partner-hero .ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.partner-hero-img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 56px rgba(0,0,0,.28);
}
.partner-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
@media (max-width: 860px) {
  .partner-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .partner-hero-img { aspect-ratio: 16/9; }
}

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.why-card .wc-ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--sage-soft);
  display: grid; place-items: center; color: var(--sage); margin-bottom: 18px;
}
.why-card .wc-ic svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.why-card p { margin-top: 10px; font-size: 14px; color: var(--ink-1); line-height: 1.55; }

.qual-block {
  background: var(--brand); border-radius: var(--r-lg); padding: 56px 52px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
  box-shadow: 0 16px 48px rgba(7,57,50,.18);
}
.qual-left h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1.15; }
.qual-left p { margin-top: 14px; font-size: 15.5px; color: rgba(255,255,255,.72); line-height: 1.6; max-width: 40ch; }
.qual-left .qual-cta { margin-top: 28px; }
.qual-checks { display: flex; flex-direction: column; gap: 12px; }
.qual-check { display: flex; align-items: flex-start; gap: 12px; }
.qual-check-ic { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.qual-check-ic svg { width: 12px; height: 12px; color: #fff; }
.qual-check-text b { font-size: 14.5px; font-weight: 700; color: #fff; display: block; letter-spacing: -0.01em; }
.qual-check-text span { font-size: 13px; color: rgba(255,255,255,.58); display: block; margin-top: 1px; }

/* Contact form */
.pf-wrap { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.pf-wrap h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.pf-wrap .pf-sub { font-size: 14px; color: var(--ink-2); margin-bottom: 28px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.pf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.pf-field label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.pf-field input, .pf-field select, .pf-field textarea {
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--hairline-strong);
  border-radius: 10px; padding: 11px 14px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  outline: none;
}
.pf-field input:focus, .pf-field select:focus, .pf-field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(7,57,50,.08);
}
.pf-field textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.pf-submit { width: 100%; justify-content: center; margin-top: 8px; }

@media (max-width: 860px) {
  .partner-card { grid-template-columns: 1fr; gap: 20px; }
  .partner-right { align-items: flex-start; }
  .qual-block { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .pf-row { grid-template-columns: 1fr; }
}

/* ---- 21. Responsivt ----------------------------------------------------- */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 940px) {
  :root { --pad: 22px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn--outline { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 4px; min-height: 0; }
  .hero-content { padding: 28px 0 4px; }
  .hero-visual { max-width: 480px; width: 100%; margin: 0 auto; }
  .hpill { font-size: 12px; padding: 6px 12px; }
  .hero-card-cb { padding: 9px 12px; }
  .hero-card-cb .hcb-txt { font-size: 11.5px; }
  .hero-trust { flex-wrap: wrap; }
  .frag .wrap, .frag-copy { grid-template-columns: 1fr; }
  .frag .wrap { grid-template-columns: 1fr; gap: 36px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .values .grid { grid-template-columns: repeat(2, 1fr); }
  .seg-wrap { grid-template-columns: 1fr; gap: 28px; }
  .seg-media { min-height: 280px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .how-split { grid-template-columns: 1fr; gap: 32px; }
  .how-media { min-height: 280px; }
  .vB { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .split.rev .split-text { order: 0; }
  .ta-steps { grid-template-columns: 1fr; gap: 32px; }
  .ta-arrow { display: none; }
  .ta-manual-badge { white-space: normal; text-align: center; }
  .split-visual { min-height: 320px; padding: 30px; }
  .split-visual--photo { height: auto; min-height: 0; padding: 0; }
  .split-visual--photo img { height: auto; }
  .sec-intro { margin-top: 72px; }
  .steps .grid { grid-template-columns: 1fr; }
  .price-teaser .panel { grid-template-columns: 1fr; }
  .pricing-card { grid-template-columns: 1fr; gap: 32px; padding: 40px 36px; }
  .pricing-sep { display: none; }
  .pricing-num { font-size: 72px; }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .about-grid, .feat-row, .feat-row.is-rev .feat-text { grid-template-columns: 1fr; }
  .feat-row.is-rev .feat-text { order: 0; }
  .principle-grid, .notlist { grid-template-columns: 1fr; }
  .section { padding-block: 72px; }
}
@media (max-width: 560px) {
  .values .grid { grid-template-columns: 1fr; }
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .func-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .compare th:first-child, .compare td:first-child { width: 38%; }
  .compare th, .compare td { padding: 14px 16px; font-size: 13.5px; }
  .cta-band { padding-block: 60px; }
  .price-teaser .pt-l, .price-teaser .pt-r { padding: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-float { display: none; }
}

/* ── Kundefordeler: søk + filter ──────────────────────────── */
.mf-filters { margin: 0 0 40px; }
.mf-search {
  display: block; width: 100%; max-width: 520px; margin: 0 auto 16px;
  padding: 13px 18px; border: 1px solid var(--hairline);
  border-radius: var(--r); background: #fff;
  font: 500 15px/1 'Plus Jakarta Sans', sans-serif; color: var(--ink);
  box-shadow: var(--shadow); outline: none;
  transition: border-color .15s;
}
.mf-search:focus { border-color: var(--sage); }
.mf-search::placeholder { color: var(--ink-2); }
.mf-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mf-chip {
  cursor: pointer; font: 700 12.5px/1 'Plus Jakarta Sans', sans-serif;
  background: #fff; border: 1.5px solid var(--hairline); border-radius: 9px;
  padding: 7px 14px; color: var(--ink-2);
  transition: border-color .15s, color .15s, background .15s;
  box-shadow: var(--shadow);
}
.mf-chip:hover { border-color: var(--sage); color: var(--ink); }
.mf-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ── Lanserings-popup ─────────────────────────────────────── */
.launch-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 24px;
  background: rgba(7,57,50,.55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.launch-modal.is-open { opacity: 1; visibility: visible; }
.lm-card {
  position: relative; background: #fff; border-radius: 22px;
  max-width: 440px; width: 100%; padding: clamp(28px, 5vw, 42px) clamp(24px, 4vw, 38px) 32px;
  box-shadow: 0 30px 80px rgba(12,43,39,.35); text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .3s var(--ease);
}
.launch-modal.is-open .lm-card { transform: none; }
.lm-x {
  position: absolute; top: 15px; right: 15px;
  width: 34px; height: 34px; border-radius: 9px; cursor: pointer;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--hairline); color: var(--ink-2);
  transition: background .15s, color .15s;
}
.lm-x:hover { color: var(--ink); background: var(--hairline); }
.lm-x svg { width: 18px; height: 18px; }
.lm-eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage); background: var(--sage-soft); padding: 6px 14px; border-radius: 999px;
}
.lm-card h2 { font-size: 25px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.15; }
.lm-card p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; margin-top: 14px; }
.lm-card .btn { margin-top: 26px; width: 100%; justify-content: center; }

/* ── Funksjon-sider: punktliste + søkefelt-mockup ─────────────── */
.feat-points { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; list-style: none; }
.feat-points li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-1); align-items: flex-start; }
.feat-points li svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; margin-top: 2px; }
.sv-search {
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
  padding: 10px 13px; border-radius: 10px; background: var(--bg);
  color: var(--ink-2); font-size: 13.5px;
}
.sv-search svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Mega-meny ─────────────────────────────────────────────────── */
.site-nav-shell { position: relative; }

.nav-item { position: static; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--ink-1);
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-trigger:hover, .nav-item:hover .nav-trigger, .nav-item.is-open .nav-trigger { background: var(--bg); color: var(--brand); }
.nav-trigger.is-active { color: var(--brand); font-weight: 600; }
.nav-chev { width: 14px; height: 14px; transition: transform 0.2s; flex-shrink: 0; }
.nav-item:hover .nav-chev, .nav-item.is-open .nav-chev { transform: rotate(180deg); }

.mega {
  position: absolute;
  left: 50%; transform: translateX(-50%) translateY(8px);
  top: 100%;
  width: min(960px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--hairline); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(12,43,39,.14);
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 100;
}
.nav-item:hover .mega, .nav-item.is-open .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega::before {
  content: ""; position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: #fff; border-left: 1px solid var(--hairline); border-top: 1px solid var(--hairline);
}

.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-card {
  display: flex; gap: 13px; padding: 13px; border-radius: 13px;
  transition: background 0.15s; text-decoration: none; color: inherit;
}
.mega-card:hover { background: var(--bg); }
.mc-ic {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--sage-soft); display: grid; place-items: center; flex-shrink: 0;
}
.mc-ic svg { width: 19px; height: 19px; color: var(--brand); }
.mc-txt h4 { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.mc-txt p { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; margin-top: 3px; }

.mega-foot {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 14px; font-weight: 700; color: var(--brand);
  text-decoration: none; transition: gap 0.15s;
}
.mega-foot:hover { gap: 12px; }
.mega-foot svg { width: 16px; height: 16px; }

@media (max-width: 820px) {
  .mega { display: none; }
}
