/* ============================================================
   Reform Helse – designsystem v1
   Layout: rolig redaksjonell side, 12-kolonners rutenett på desktop,
   brede luftige seksjoner, bilder med myk radius, én primærfarge (skogsgrønn).
   ============================================================ */

:root {
  color-scheme: light;

  /* Farger */
  --krem: #F7F3EB;          /* sidebakgrunn */
  --krem-dyp: #EFE9DD;      /* alternerende seksjoner, kort */
  --beige: #DDD3C2;         /* linjer, dempede flater */
  --gran: #1F3D31;          /* primær: dyp skogsgrønn – tekst, knapper */
  --gran-mork: #152A22;     /* hover */
  --gran-lys: #DCE5DD;      /* grønn tint til flater og chips */
  --mose: #4F6B5B;          /* sekundær tekst i grønt */
  --blekk: #1C1A17;         /* brødtekst */
  --graa: #5F5A52;          /* sekundær tekst */
  --graa-lys: #8E877C;      /* bildetekst, meta */
  --rav: #B9772F;           /* varm aksent – stjerner, små markører. Brukes sparsomt. */
  --hvit: #FFFFFF;
  --fokus: #2F6B4F;

  /* Typografi */
  --f-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-quote: "Instrument Serif", Georgia, "Times New Roman", serif;

  --fs-eyebrow: 0.8125rem;
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.8vw, 2.875rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);

  /* Mål */
  --maxw: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 8vw, 7.5rem);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(28,26,23,.04), 0 12px 32px -12px rgba(28,26,23,.14);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
button, a, [role="button"], [role="tab"] { touch-action: manipulation; -webkit-touch-callout: none; }
button, [role="tab"], .chip, .dur, .opt { user-select: none; -webkit-user-select: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--krem);
  color: var(--blekk);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .15em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; color: var(--gran); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.sec--tint { background: var(--krem-dyp); }
.eyebrow { font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: .12em; color: var(--mose); font-weight: 500; }
.lead { font-size: var(--fs-lead); color: var(--graa); line-height: 1.55; max-width: 36em; }
.sec-head { display: grid; gap: .875rem; max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 720px) { .sec-head--split { grid-template-columns: 1fr; } }

/* Knapper */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.375rem; border-radius: 999px;
  font-weight: 500; font-size: 1rem; text-decoration: none; border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); transition-duration: 100ms; }
.btn--primary { background: var(--gran); color: var(--hvit); }
.btn--primary:hover { background: var(--gran-mork); }
.btn--secondary { background: transparent; color: var(--gran); border-color: var(--gran); }
.btn--secondary:hover { background: var(--gran-lys); }
.btn--ghost { background: transparent; color: var(--gran); padding-inline: .5rem; min-height: 2.5rem; }
.btn--ghost:hover { text-decoration: underline; }
.btn--sm { min-height: 2.5rem; padding: .5rem 1rem; font-size: .9375rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.textlink { color: var(--gran); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.textlink:hover { text-decoration: underline; }
.textlink::after { content: "→"; transition: transform .18s ease; }
.textlink:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--krem) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1.5rem; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--krem) 90%, transparent), transparent); opacity: 0; transition: opacity 200ms ease; }
.header.is-scrolled::after { opacity: 1; }
@media (prefers-reduced-transparency: reduce) { .header { background: var(--krem); backdrop-filter: none; } .header.is-scrolled { border-bottom-color: var(--beige); } .header::after { display: none; } }
.header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 5.25rem; transition: min-height .25s ease; }
.header.is-scrolled .header__in { min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; color: var(--gran); font-weight: 600; letter-spacing: -0.01em; font-size: 1.125rem; }
.brand__mark { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--gran); color: var(--krem); display: grid; place-items: center; font-family: var(--f-quote); font-style: italic; font-size: 1.5rem; line-height: 1; flex: none; overflow: hidden; transition: width .25s ease, height .25s ease; }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.header.is-scrolled .brand__mark { width: 1.875rem; height: 1.875rem; }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { padding: .5rem .75rem; border-radius: 999px; text-decoration: none; font-size: .9875rem; color: var(--blekk); transition: background-color .15s ease; }
.nav a:hover { background: var(--krem-dyp); }
.header__cta { display: flex; align-items: center; gap: .5rem; }
.header__tel { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-size: .9375rem; color: var(--gran); padding: .5rem .75rem; border-radius: 999px; }
.header__tel:hover { background: var(--krem-dyp); }
.burger { display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--beige); background: transparent; border-radius: 50%; place-items: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--gran); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--gran); transition: transform .2s ease; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
@media (max-width: 920px) {
  .nav, .header__tel { display: none; }
  .burger { display: grid; }
  .header__in { min-height: 4.25rem; }
}
/* Mobilmeny */
.mmenu { position: fixed; inset: 0; z-index: 60; background: var(--krem); display: flex; flex-direction: column; padding: calc(1rem + env(safe-area-inset-top, 0px)) var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px)); overflow: auto; }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; min-height: 2.75rem; margin-bottom: 1.5rem; }
.mmenu__close { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--beige); background: transparent; display: grid; place-items: center; font-size: 1.25rem; }
.mmenu__list { list-style: none; margin: 0; padding: 0; display: grid; }
.mmenu__list a { display: flex; align-items: center; justify-content: space-between; padding: 1.125rem 0; border-bottom: 1px solid var(--beige); text-decoration: none; font-family: var(--f-display); font-size: 1.5rem; color: var(--gran); letter-spacing: -0.02em; }
.mmenu__list a small { font-family: var(--f-body); font-size: .875rem; color: var(--graa-lys); letter-spacing: 0; }
.mmenu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; }
.mmenu__foot .btn { width: 100%; }
.mmenu__meta { font-size: .9375rem; color: var(--graa); line-height: 1.5; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__copy { display: grid; gap: 1.5rem; }
.hero__copy h1 { max-width: 11em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9375rem; color: var(--graa); }
.hero__proof li { list-style: none; display: inline-flex; align-items: center; gap: .45rem; }
.hero__proof ul { margin: 0; padding: 0; display: contents; }
.hero__proof .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rav); }
.hero__media { position: relative; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--gran-lys), var(--beige)); }
.frame--hero { aspect-ratio: 4 / 3; max-width: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; inset: 0; }
.frame__ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--mose); font-size: .875rem; padding: 1rem; }
.hero__badge {
  position: absolute; left: 1rem; bottom: 1rem; background: var(--hvit); border-radius: var(--r-md); padding: .875rem 1rem;
  box-shadow: var(--shadow); display: grid; gap: .15rem; max-width: 15rem;
}
.hero__badge strong { font-size: 1.5rem; font-family: var(--f-display); letter-spacing: -0.02em; color: var(--gran); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__badge .stars { color: var(--rav); letter-spacing: .05em; font-size: .9rem; }
.hero__badge small { color: var(--graa); font-size: .8125rem; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .frame--hero { aspect-ratio: 4 / 3; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Tillitssone ---------- */
.trust { border-block: 1px solid var(--beige); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 1.5rem 1.5rem 1.5rem 0; display: grid; gap: .35rem; border-left: 1px solid var(--beige); padding-left: 1.5rem; }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item strong { font-weight: 500; color: var(--gran); font-size: 1.0625rem; }
.trust__item span { color: var(--graa); font-size: .9375rem; line-height: 1.45; }
@media (max-width: 860px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust__item { padding-block: 1.25rem; }
}
@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--beige); padding-block: 1rem; }
  .trust__item:first-child { border-top: 0; }
}

/* ---------- Hva trenger du hjelp med ---------- */
.needs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.needs__chips { display: flex; flex-wrap: wrap; gap: .625rem; margin: 0; padding: 0; list-style: none; }
.chip {
  border: 1px solid var(--beige); background: var(--hvit); border-radius: 999px; padding: .75rem 1.125rem;
  font-size: 1rem; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--gran); }
.chip[aria-pressed="true"] { background: var(--gran); border-color: var(--gran); color: var(--hvit); }
.needs__panel { background: var(--hvit); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow); display: grid; gap: 1.25rem; min-height: 100%; }
.needs__panel .eyebrow { color: var(--rav); }
.needs__panel h3 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.needs__panel p { color: var(--graa); }
.needs__links { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.needs__links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .875rem 1rem; border-radius: var(--r-sm); background: var(--krem); text-decoration: none; color: var(--gran); font-weight: 500; }
.needs__links a span { color: var(--graa-lys); font-weight: 400; font-size: .875rem; }
.needs__links a:hover { background: var(--gran-lys); }
.needs__actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.needs__who { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; color: var(--graa); }
.avatars { display: flex; }
.avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 2px solid var(--hvit); background: var(--gran-lys); color: var(--gran); display: grid; place-items: center; font-size: .75rem; font-weight: 600; overflow: hidden; margin-left: -.5rem; position: relative; }
.avatar:first-child { margin-left: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
@media (max-width: 860px) { .needs__grid { grid-template-columns: 1fr; } }

/* ---------- Behandlinger ---------- */
.tx__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tx {
  display: grid; grid-template-rows: auto 1fr; background: var(--hvit); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--beige) 60%, transparent); transition: transform .2s ease, box-shadow .2s ease;
}
.tx { transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.tx:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tx:active { transform: scale(.985); }
.tx__media { aspect-ratio: 16 / 11; position: relative; overflow: hidden; }
.tx__media--fysio { background: linear-gradient(135deg, #D7E3DB, #B9CDC1); }
.tx__media--osteo { background: linear-gradient(135deg, #E6DECF, #CFC3AD); }
.tx__media--massasje { background: linear-gradient(135deg, #E3DAD0, #C9B9AA); }
.tx__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tx__tag { position: absolute; top: 1rem; left: 1rem; background: var(--hvit); border-radius: 999px; padding: .3rem .75rem; font-size: .8125rem; font-weight: 500; color: var(--gran); }
.tx__body { padding: 1.5rem; display: grid; gap: .75rem; align-content: start; }
.tx__body p { color: var(--graa); }
.tx__who { font-size: .875rem; color: var(--graa-lys); }
.tx__actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: .5rem; }
.tx__price { display: flex; gap: 2rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: 1.5rem; border-top: 1px solid var(--beige); flex-wrap: wrap; }
.tx__price div { display: grid; gap: .1rem; }
.tx__price strong { font-size: 1.5rem; font-weight: 500; color: var(--gran); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tx__price span { font-size: .875rem; color: var(--graa); }
@media (max-width: 900px) { .tx__grid { grid-template-columns: 1fr; } .tx__media { aspect-ratio: 16 / 9; } }

/* ---------- Hvorfor ---------- */
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.why__sticky { position: sticky; top: 6rem; display: grid; gap: 1.25rem; }
.why__sticky h2 { max-width: 10em; }
.why__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: why; }
.why__list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--beige); }
.why__list li:last-child { border-bottom: 1px solid var(--beige); }
.why__list li::before { counter-increment: why; content: counter(why, decimal-leading-zero); font-size: .875rem; color: var(--rav); font-variant-numeric: tabular-nums; padding-top: .35rem; }
.why__list h3 { margin-bottom: .4rem; }
.why__list p { color: var(--graa); }
.why__quote { margin-top: 2rem; padding: 1.5rem 1.75rem; background: var(--gran-lys); border-radius: var(--r-md); font-family: var(--f-quote); font-style: italic; font-size: 1.375rem; line-height: 1.35; color: var(--gran); }
.why__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; margin-top: 1.5rem; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .why__img { aspect-ratio: 3 / 2; } }
.why__quote cite { display: block; margin-top: .75rem; font-family: var(--f-body); font-style: normal; font-size: .875rem; color: var(--mose); }
@media (max-width: 860px) { .why__grid { grid-template-columns: 1fr; } .why__sticky { position: static; } }

/* ---------- Behandlere ---------- */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.person { display: grid; gap: .875rem; text-decoration: none; color: inherit; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; position: relative; background: linear-gradient(170deg, var(--gran-lys), var(--beige)); }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.person:hover .person__photo img { transform: scale(1.03); }
.person__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: 2.5rem; color: var(--gran); letter-spacing: -0.02em; }
.person__meta { display: grid; gap: .15rem; }
.person__meta strong { font-weight: 500; color: var(--gran); font-size: 1.0625rem; }
.person__meta span { color: var(--graa); font-size: .9rem; }
.person__meta p { color: var(--graa-lys); font-size: .875rem; line-height: 1.45; margin-top: .25rem; }
.person__links { display: flex; gap: 1rem; font-size: .875rem; margin-top: .25rem; }
.person__links a { color: var(--gran); font-weight: 500; text-decoration: none; }
.person__links a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } .person__initials { font-size: 1.75rem; } }

/* ---------- Pasientopplevelse ---------- */
.rev__head { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; margin-bottom: 2.5rem; }
.rev__score { display: grid; gap: .25rem; padding: 1.25rem 1.5rem; background: var(--hvit); border-radius: var(--r-md); min-width: 11rem; }
.rev__score strong { font-size: 2.75rem; line-height: 1; font-weight: 500; color: var(--gran); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rev__score .stars { color: var(--rav); letter-spacing: .08em; }
.rev__score small { color: var(--graa); font-size: .8125rem; }
.rev__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.rev { background: var(--hvit); border-radius: var(--r-md); padding: 1.5rem; display: grid; gap: 1rem; align-content: space-between; }
.rev .stars { color: var(--rav); letter-spacing: .08em; font-size: .875rem; }
.rev blockquote { margin: 0; font-family: var(--f-quote); font-size: 1.3125rem; line-height: 1.35; color: var(--blekk); }
.rev cite { font-style: normal; font-size: .875rem; color: var(--graa); }
.rev cite span { color: var(--graa-lys); }
.rev__more { margin-top: 1.5rem; color: var(--graa); font-size: .9375rem; }
@media (max-width: 900px) { .rev__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rev__grid { grid-template-columns: 1fr; } .rev__head { grid-template-columns: 1fr; } }

/* ---------- Artikler ---------- */
.art__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; }
.art__list { display: grid; gap: 0; }
.art {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--beige); text-decoration: none; color: inherit;
}
.art:last-child { border-bottom: 1px solid var(--beige); }
.art h3 { font-size: 1.1875rem; }
.art p { color: var(--graa); font-size: .9375rem; margin-top: .25rem; }
.art__cat { font-size: .8125rem; color: var(--rav); text-transform: uppercase; letter-spacing: .1em; }
.art__arrow { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--beige); display: grid; place-items: center; color: var(--gran); transition: background-color .15s ease; }
.art:hover .art__arrow { background: var(--gran); color: var(--hvit); border-color: var(--gran); }
.art__feature { background: var(--gran-lys); color: var(--blekk); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1rem; align-content: start; }
.art__feature h3 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.art__feature p { color: var(--graa); }
.art__feature .btn--secondary { justify-self: start; }
.art__topics { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.art__topics a { display: inline-block; padding: .4rem .875rem; border-radius: 999px; background: var(--hvit); border: 1px solid var(--beige); text-decoration: none; font-size: .9rem; color: var(--gran); }
.art__topics a:hover { border-color: var(--gran); }
@media (max-width: 860px) { .art__grid { grid-template-columns: 1fr; } }

/* ---------- Klinikken ---------- */
.loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.loc__facts { display: grid; gap: 1.25rem; }
.loc__facts dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.5rem; margin: 0; font-size: 1rem; }
.loc__facts dt { color: var(--graa-lys); font-size: .875rem; padding-top: .15rem; }
.loc__facts dd { margin: 0; color: var(--blekk); }
.loc__facts dd .ph { color: var(--graa-lys); font-style: italic; }
.loc__map { aspect-ratio: 5 / 4; border-radius: var(--r-lg); background: var(--gran-lys); position: relative; overflow: hidden; }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.loc__map .pin { width: 3rem; height: 3rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--gran); display: grid; place-items: center; }
.loc__map .pin::after { content: ""; width: .9rem; height: .9rem; border-radius: 50%; background: var(--krem); }
.loc__map a { position: absolute; left: 1rem; bottom: 1rem; }
@media (max-width: 860px) { .loc__grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--gran-lys); }
.cta__in { text-align: center; display: grid; gap: 1.25rem; justify-items: center; max-width: 44rem; margin-inline: auto; }
.cta__in h2 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.cta__note { font-size: .9375rem; color: var(--graa); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--beige); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer__col { display: grid; gap: .5rem; align-content: start; }
.footer__col h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mose); margin-bottom: .5rem; font-family: var(--f-body); }
.footer__col a { text-decoration: none; color: var(--blekk); }
.footer__col a:hover { text-decoration: underline; }
.footer__about p { color: var(--graa); max-width: 26em; margin-block: .75rem 1rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--beige); color: var(--graa-lys); font-size: .875rem; }
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }
.ph { color: var(--graa-lys); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* Mobil: fast bestill-linje */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--krem) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--beige); }
  .sticky-cta .btn { flex: 1; }
  body { padding-bottom: 5rem; }
}

/* Inntoning ved lasting (@starting-style) og scroll-reveal – hviler alltid synlig */
.enter { opacity: 1; transform: translateY(0); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); }
@starting-style { .enter { opacity: 0; transform: translateY(10px); } }
.enter:nth-child(2) { transition-delay: 50ms; } .enter:nth-child(3) { transition-delay: 100ms; } .enter:nth-child(4) { transition-delay: 150ms; } .enter:nth-child(5) { transition-delay: 200ms; }
.reveal { transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.reveal[data-hidden] { opacity: 0; transform: translateY(10px); }
/* Avslørende inntoning (hviler synlig) */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-hidden { opacity: 0; transform: translateY(14px); }
}

/* ---------- Bestill time ---------- */
.book { padding-block: clamp(2rem, 4vw, 3.5rem) var(--sec); }
.book__grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.book__head { display: grid; gap: .875rem; margin-bottom: 2rem; max-width: 40rem; }
.steps { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-size: .875rem; color: var(--graa-lys); margin-bottom: 1.5rem; padding: 0; list-style: none; }
.steps li { display: inline-flex; align-items: center; gap: .5rem; }
.steps li::before { content: ""; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--beige); display: grid; place-items: center; font-size: .75rem; }
.steps li[data-n]::before { content: attr(data-n); }
.steps li.is-active { color: var(--gran); font-weight: 500; }
.steps li.is-active::before { background: var(--gran); color: var(--hvit); border-color: var(--gran); }
.steps li.is-done { color: var(--mose); }
.steps li.is-done::before { content: "✓"; background: var(--gran-lys); border-color: var(--gran-lys); color: var(--gran); }
.steps li + li { margin-left: .25rem; }
.step { display: grid; gap: 1.25rem; }
.step h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.opt { text-align: left; display: grid; gap: .3rem; padding: 1.125rem 1.25rem; background: var(--hvit); border: 1.5px solid var(--beige); border-radius: var(--r-md); transition: border-color .15s ease, background-color .15s ease; }
.opt:hover { border-color: var(--gran); }
.opt[aria-pressed="true"] { border-color: var(--gran); background: var(--gran-lys); }
.opt strong { font-weight: 500; color: var(--gran); font-size: 1.0625rem; }
.opt span { font-size: .9rem; color: var(--graa); line-height: 1.4; }
.opt small { font-size: .8125rem; color: var(--graa-lys); }
.opt--person { grid-template-columns: 3.25rem 1fr; gap: .25rem 1rem; align-items: center; }
.opt--person .avatar { width: 3.25rem; height: 3.25rem; grid-row: span 3; margin: 0; border: 0; font-size: 1rem; }
.step__nav { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-top: .5rem; }
.step__nav .btn--ghost { margin-right: auto; }
.embed { background: var(--hvit); border-radius: var(--r-lg); border: 1px solid var(--beige); overflow: hidden; }
.embed iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: var(--hvit); }
.handoff ol { margin: 0; padding-left: 1.25rem; color: var(--graa); display: grid; gap: .35rem; font-size: .9375rem; }
.summary { position: sticky; top: 6rem; background: var(--hvit); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.summary h3 { font-size: 1.125rem; }
.summary dl { margin: 0; display: grid; gap: .6rem; }
.summary dt { font-size: .8125rem; color: var(--graa-lys); }
.summary dd { margin: 0; font-weight: 500; color: var(--gran); }
.summary dd.empty { color: var(--graa-lys); font-weight: 400; font-style: italic; }
.summary__price { padding-top: 1rem; border-top: 1px solid var(--beige); display: flex; justify-content: space-between; gap: 1rem; font-size: .9375rem; color: var(--graa); }
.summary__price strong { color: var(--gran); font-variant-numeric: tabular-nums; }
.summary__help { font-size: .875rem; color: var(--graa); line-height: 1.5; }
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .9rem; font-weight: 500; color: var(--gran); }
.field input, .field select, .field textarea { font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--beige); border-radius: var(--r-sm); background: var(--hvit); color: var(--blekk); width: 100%; min-width: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--fokus); outline-offset: 1px; border-color: var(--gran); }
.field__err { font-size: .85rem; color: #9A3B1E; display: none; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input { border-color: #9A3B1E; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--graa); }
.form__consent input { margin-top: .25rem; }
.done { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--gran-lys); border-radius: var(--r-lg); }
.done h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.toggle-fallback { color: var(--gran); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .15em; font-size: .9375rem; }
@media (max-width: 860px) { .book__grid { grid-template-columns: 1fr; } .summary { position: static; } .form__row { grid-template-columns: 1fr; } }

/* ---------- Plagesjekk ---------- */
.ps { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.ps__over { display: grid; gap: 1rem; position: sticky; top: 6rem; }
.ps__areas { list-style: none; margin: 0; padding: 0; display: grid; gap: .375rem; }
.ps__area { width: 100%; text-align: left; display: grid; gap: .1rem; padding: .75rem .875rem; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; transition: background-color .15s ease, border-color .15s ease; }
.ps__area:hover { background: var(--krem-dyp); }
.ps__area[aria-pressed="true"] { background: var(--hvit); border-color: var(--gran); }
.ps__area strong { font-weight: 500; color: var(--gran); }
.ps__area span { font-size: .8375rem; color: var(--graa-lys); }
.ps__tiny { font-size: .8125rem; color: var(--graa-lys); line-height: 1.5; }
.ps__card { background: var(--hvit); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); display: grid; gap: 1.25rem; min-height: 24rem; align-content: start; }
.ps__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ps__step { font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mose); font-weight: 500; }
.ps__bar { display: flex; gap: .3rem; }
.ps__bar i { width: 2.25rem; height: 4px; border-radius: 2px; background: var(--beige); }
.ps__bar i.on { background: var(--gran); }
.ps__crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ps__crumbs:empty { display: none; }
.ps__crumbs button { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--beige); background: var(--krem); border-radius: 999px; padding: .35rem .75rem; font-size: .875rem; color: var(--gran); }
.ps__crumbs button small { color: var(--graa-lys); }
.ps__crumbs button:hover { border-color: var(--gran); }
.ps__body { display: grid; gap: 1.25rem; }
.ps__body h3 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.ps__hint { color: var(--graa); font-size: .9375rem; }
.ps__quick { display: none; }
.ps__opts { display: grid; gap: .625rem; }
.ps__opts .opt { padding: 1rem 1.125rem; }
.ps__flag { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--graa); padding: .875rem 1rem; border-radius: var(--r-sm); background: var(--krem); }
.ps__flag input { margin-top: .25rem; }
.ps__or { font-weight: 400; color: var(--graa); }
.ps__why { color: var(--graa); font-size: 1.0625rem; line-height: 1.55; }
.ps__team .avatar { width: 1.9rem; height: 1.9rem; margin: 0; border: 0; font-size: .7rem; }
.ps__person { display: flex; align-items: center; gap: .75rem; padding: .75rem; background: var(--krem); border-radius: var(--r-sm); }
.ps__person .avatar { width: 2.75rem; height: 2.75rem; margin: 0; border: 0; flex: none; }
.ps__person strong { display: block; font-weight: 500; color: var(--gran); font-size: .9875rem; }
.ps__person span { font-size: .8125rem; color: var(--graa-lys); }
.ps__actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.ps__warn { padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: #F3E3DA; border: 1px solid #E2C3B2; display: grid; gap: .5rem; }
.ps__warn h3 { color: #7A3418; }
.ps__warn p { color: #5C2A15; }
.opt__sug { font-style: normal; font-size: .75rem; color: var(--rav); text-transform: uppercase; letter-spacing: .08em; margin-left: .35rem; }
@media (max-width: 860px) {
  .ps { grid-template-columns: 1fr; }
  .ps__over { display: none; }
  .ps__quick { display: flex; }
  .ps__hint { display: none; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; max-width: 46rem; }
.faq__item { border-top: 1px solid var(--beige); padding: .25rem 0; }
.faq__item:last-child { border-bottom: 1px solid var(--beige); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; font-weight: 500; color: var(--gran); font-size: 1.0625rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.375rem; color: var(--mose); flex: none; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--graa); padding-bottom: 1.125rem; max-width: 40em; }

.ps__card .bk-label { margin-bottom: .4rem; }
/* Stjerner med delvis fylling (4,7 av 5) */
.stars--47 { position: relative; display: inline-block; color: var(--beige); letter-spacing: .08em; font-size: 1.125rem; line-height: 1; }
.stars--47 > span { position: absolute; left: 0; top: 0; width: 94%; overflow: hidden; white-space: nowrap; color: var(--rav); }

.handoff { display: grid; gap: 1rem; padding: 1.5rem; background: var(--hvit); border-radius: var(--r-lg); border: 1px solid var(--beige); }
.handoff ol { margin: 0; padding-left: 1.25rem; color: var(--graa); display: grid; gap: .35rem; font-size: .9375rem; }

/* ---------- Artikkel- og undersider ---------- */
.art-hero { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.art-hero__in { display: grid; gap: 1.125rem; max-width: 46rem; }
.art-hero__in h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.75rem); }
.art-hero__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--gran-lys); }
.art-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.art-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .25rem; }
.back { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--mose); font-size: .9375rem; }
.back:hover { text-decoration: underline; }
.art-layout { display: grid; grid-template-columns: minmax(0, 46rem) 300px; gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-bottom: var(--sec); }
.prose { font-size: 1.0625rem; line-height: 1.7; color: var(--blekk); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .4em; }
.prose a { color: var(--gran); text-decoration-color: var(--beige); }
.prose a:hover { text-decoration-color: var(--gran); }
.prose strong { font-weight: 600; color: var(--gran); }
.prose blockquote { margin: 0; padding: 1.25rem 1.5rem; background: var(--gran-lys); border-radius: var(--r-md); font-family: var(--f-quote); font-style: italic; font-size: 1.3125rem; line-height: 1.35; color: var(--gran); }
.tip { padding: 1.125rem 1.375rem; background: var(--gran-lys); border-radius: var(--r-md); color: var(--gran); display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.tip::before { content: "i"; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--gran); color: var(--krem); display: grid; place-items: center; font-family: var(--f-quote); font-style: italic; font-size: 1rem; margin-top: .15rem; }
.tip p { margin: 0; }
.warn { padding: 1.125rem 1.375rem; background: #F3E3DA; border: 1px solid #E2C3B2; border-radius: var(--r-md); color: #5C2A15; }
.warn p { margin: 0; }
.warn strong { color: #7A3418; }
.art-aside { position: sticky; top: 6rem; display: grid; gap: 1rem; }
.art-aside .summary { position: static; }
.art-aside .summary h3 { font-size: 1.125rem; }
.art-aside .summary p { font-size: .9375rem; color: var(--graa); }
.art-aside .btn { width: 100%; }
.art-sec { margin-top: clamp(2.5rem, 5vw, 4rem); }
.art-sec .eyebrow { margin-bottom: .75rem; }
.related { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .875rem 1rem; border-radius: var(--r-sm); background: var(--hvit); border: 1px solid var(--beige); text-decoration: none; color: var(--gran); font-weight: 500; }
.related a:hover { border-color: var(--gran); }
.listing { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .875rem; }
.listing a { display: grid; gap: .35rem; align-content: start; padding: 1.25rem; background: var(--hvit); border: 1px solid var(--beige); border-radius: var(--r-md); text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.listing a:hover { border-color: var(--gran); transform: translateY(-2px); }
.listing h3 { font-size: 1.125rem; }
.listing p { color: var(--graa); font-size: .9375rem; }
.listing span { color: var(--gran); font-weight: 500; font-size: .9rem; margin-top: .25rem; }
@media (max-width: 900px) { .art-layout { grid-template-columns: 1fr; } .art-aside { position: static; } }

/* ---------- Filmatisk hero (alternativ) ---------- */
.film { position: relative; min-height: min(92vh, 860px); display: grid; color: #F4EFE6; overflow: hidden; background: #0E1B16; }
.film__media { position: absolute; inset: 0; }
.film__media img, .film__media video { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: saturate(.8) contrast(1.05); }
.film__media img { animation: filmZoom 18s ease-out forwards; }
.film__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,22,.55) 0%, rgba(14,27,22,.25) 35%, rgba(14,27,22,.78) 100%), linear-gradient(90deg, rgba(14,27,22,.6) 0%, rgba(14,27,22,0) 60%); }
@keyframes filmZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.film__in { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 2rem; padding-block: calc(var(--header-h, 5.25rem) + 1.5rem) 2rem; width: 100%; }
.film__top { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .8125rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(244,239,230,.7); }
.film__top span + span::before { content: "·"; margin-right: 1.5rem; opacity: .5; }
.film__copy { align-self: end; display: grid; gap: 1.5rem; max-width: 52rem; padding-block: clamp(2rem, 8vh, 5rem) 0; }
.film__h1 { font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif; font-weight: 800; font-size: clamp(3.5rem, 2rem + 9vw, 9.5rem); line-height: .92; letter-spacing: -0.045em; color: #F4EFE6; text-wrap: balance; }
.film__h1 em { font-style: normal; color: #A9D3B5; }
.film__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: rgba(244,239,230,.82); max-width: 34em; }
.film__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn--film { background: #F4EFE6; color: #0E1B16; }
.btn--film:hover { background: #fff; }
.btn--film-ghost { background: transparent; color: #F4EFE6; border-color: rgba(244,239,230,.45); }
.btn--film-ghost:hover { background: rgba(244,239,230,.12); }
.film__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(244,239,230,.18); font-size: .9375rem; color: rgba(244,239,230,.8); }
.film__rating { display: flex; align-items: center; gap: .75rem; }
.film__rating .stars--47 { color: rgba(244,239,230,.3); }
.film__rating .stars--47 > span { color: #E0B46C; }
.film__scroll { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(244,239,230,.35); display: grid; place-items: center; text-decoration: none; color: inherit; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .film__media img, .film__scroll { animation: none; } .film__media video { display: none; } .film__media { background: url("../img/hero-film-poster.jpg") center 35%/cover; } }
@media (max-width: 720px) { .film { min-height: 88vh; } .film__top span + span::before { display: none; } .film__top { flex-direction: column; gap: .25rem; } .film__bottom { flex-direction: column; align-items: flex-start; } .film__actions .btn { flex: 1 1 auto; } .film__top span:nth-child(2) { display: none; } }
/* header oppå heroen: transparent og lys til man scroller */
.header--film { --header-h: 5.25rem; position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; }
.header--film:not(.is-scrolled) { color: #F4EFE6; }
.header--film:not(.is-scrolled) .brand, .header--film:not(.is-scrolled) .nav a, .header--film:not(.is-scrolled) .header__tel { color: #F4EFE6; }
.header--film:not(.is-scrolled) .nav a:hover, .header--film:not(.is-scrolled) .header__tel:hover { background: rgba(244,239,230,.12); }
.header--film:not(.is-scrolled) .brand__mark { background: #F4EFE6; color: #0E1B16; }
.header--film:not(.is-scrolled) .btn--primary { background: #F4EFE6; color: #0E1B16; }
.header--film:not(.is-scrolled) .burger { border-color: rgba(244,239,230,.4); }
.header--film:not(.is-scrolled) .burger span, .header--film:not(.is-scrolled) .burger span::before, .header--film:not(.is-scrolled) .burger span::after { background: #F4EFE6; }
.header--film.is-scrolled { background: color-mix(in srgb, var(--krem) 78%, transparent); backdrop-filter: saturate(150%) blur(16px); }
.header--film:not(.is-scrolled)::after { display: none; }
@media (max-width: 920px) { .header--film { --header-h: 4.25rem; } }

/* ---------- Bestilling v2: faner, varighet, chips, skuff ---------- */
.book { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.bk-steps { display: grid; gap: 1.75rem; }
.bk-label { font-weight: 600; font-size: .9375rem; color: var(--gran); margin: 0 0 .625rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.bk-label small { font-weight: 400; color: var(--graa-lys); font-size: .8125rem; }
.tabs { position: relative; display: grid; border: 1px solid var(--beige); border-radius: 999px; background: var(--hvit); padding: 4px; }
.tabs__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.tabs__row button { padding: .7rem .5rem; border-radius: 999px; font-weight: 500; font-size: .9375rem; color: var(--graa); white-space: nowrap; background: none; border: 0; transition: transform 160ms var(--ease-out); }
.tabs__row button:active { transform: scale(.97); }
.tabs__row button:hover { color: var(--gran); }
.tabs__active { position: absolute; inset: 4px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--gran); border-radius: 999px; pointer-events: none; clip-path: inset(0 66.666% 0 0 round 999px); transition: clip-path 220ms var(--ease-in-out); }
.tabs__active span { display: grid; place-items: center; color: var(--hvit); font-weight: 500; font-size: .9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips .chip { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .95rem .45rem .45rem; border: 1px solid var(--beige); border-radius: 999px; background: var(--hvit); font-size: .9375rem; font-weight: 500; color: var(--gran); transition: transform 160ms var(--ease-out), border-color 160ms ease, background-color 160ms ease; }
.chips .chip:active { transform: scale(.97); transition-duration: 100ms; }
.chips .chip:hover { border-color: var(--mose); }
.chips .chip[aria-pressed="true"] { background: var(--gran-lys); border-color: var(--gran); color: var(--gran); }
.chips .avatar { width: 1.9rem; height: 1.9rem; margin: 0; border: 0; font-size: .7rem; }
.chips .chip[aria-pressed="true"] .avatar { outline: 2px solid var(--gran); }
.chips .chip small { font-weight: 400; color: var(--graa-lys); }
.durs { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .5rem; }
.dur { text-align: left; padding: .9rem 1rem; border: 1px solid var(--beige); border-radius: var(--r-md); background: var(--hvit); display: grid; gap: .1rem; transition: transform 160ms var(--ease-out), border-color 160ms ease, background-color 160ms ease; }
.dur:active { transform: scale(.97); transition-duration: 100ms; }
.dur:hover { border-color: var(--mose); }
.dur[aria-pressed="true"] { border-color: var(--gran); background: var(--gran-lys); }
.dur strong { font-weight: 600; color: var(--gran); }
.dur span { font-size: .875rem; color: var(--graa); }
.dur b { font-weight: 500; color: var(--blekk); }
.sum { background: var(--hvit); border: 1px solid var(--beige); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow); position: sticky; top: calc(5.5rem + env(safe-area-inset-top, 0px)); display: grid; gap: 1rem; }
.sum__rows { display: grid; gap: .6rem; border-block: 1px solid var(--beige); padding-block: 1rem; }
.sum__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9375rem; color: var(--graa); }
.sum__row b { font-weight: 500; color: var(--blekk); text-align: right; }
.sum .sum__price { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border: 0; padding: 0; margin: 0; color: var(--graa); }
.sum .amt { font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; color: var(--gran); font-variant-numeric: tabular-nums; }
.sum .amt small { font-size: 1rem; font-weight: 400; color: var(--graa); letter-spacing: 0; }
.sum .btn { width: 100%; }
.note { font-size: .8125rem; color: var(--graa-lys); line-height: 1.5; }
.morph { display: inline-block; transition: filter 180ms ease, opacity 180ms ease; }
.morph.is-changing { filter: blur(3px); opacity: .5; }
.bk-fallback { max-width: 40rem; margin-top: 2rem; padding: 1.5rem; background: var(--hvit); border-radius: var(--r-lg); border: 1px solid var(--beige); }
.scrim { position: fixed; inset: 0; background: rgba(28,26,23,.32); opacity: 0; pointer-events: none; transition: opacity 260ms ease; z-index: 60; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--hvit); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: .75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); max-width: 32rem; margin-inline: auto; transform: translateY(100%); touch-action: none; display: grid; gap: 1rem; box-shadow: 0 -12px 40px -12px rgba(28,26,23,.25); will-change: transform; overscroll-behavior: contain; }
.sheet .handle { width: 2.5rem; height: 4px; border-radius: 2px; background: var(--krem-dyp); margin-inline: auto; }
.sheet h3 { font-size: 1.5rem; }
.sheet p { color: var(--graa); font-size: .9375rem; }
.sheet .actions { display: grid; gap: .5rem; }
.sheet .actions .btn { width: 100%; }
@media (min-width: 821px) {
  .sheet { bottom: auto; top: 50%; left: 50%; right: auto; width: min(32rem, calc(100% - 2rem)); margin: 0; border-radius: var(--r-lg); transform: translate(-50%, -50%) scale(.96); opacity: 0; filter: blur(6px); pointer-events: none; transition: transform 250ms var(--ease-out), opacity 250ms var(--ease-out), filter 250ms var(--ease-out); padding: 1.5rem; will-change: auto; }
  .sheet.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; filter: blur(0); pointer-events: auto; }
  .sheet .handle { display: none; }
}
@media (max-width: 820px) { .book { grid-template-columns: 1fr; } .sum { position: static; } }
@media (prefers-reduced-motion: reduce) { .enter, .reveal { transform: none !important; transition: opacity 200ms ease; } .tabs__active, .chips .chip, .dur, .morph, .tx { transition-duration: 0ms; } .sheet { transition: opacity 200ms ease !important; transform: none !important; filter: none !important; opacity: 0; } .sheet.is-open { opacity: 1; } .scrim { transition-duration: 150ms; } }

/* ---------- App-skuff for bestilling (mobil) ---------- */
.app-sheet { z-index: 65; max-width: none; padding: 0; height: 94vh; height: 94dvh; max-height: 100vh; grid-template-rows: auto minmax(0, 1fr); gap: 0; background: var(--krem); }
.app-sheet__head { padding: .75rem 1.25rem .5rem; display: grid; gap: .5rem; touch-action: none; border-bottom: 1px solid var(--beige); background: var(--krem); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.app-sheet__bar { display: flex; align-items: center; justify-content: space-between; }
.app-sheet__bar h3 { font-size: 1.125rem; }
.app-sheet__close { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--beige); background: var(--hvit); display: grid; place-items: center; font-size: 1rem; }
.app-sheet__body { overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); overscroll-behavior: contain; }
.app-sheet__body .book { grid-template-columns: 1fr; gap: 1.5rem; }
.app-sheet__body .sum { position: static; box-shadow: none; }
@media (min-width: 821px) { .app-sheet { display: none; } }

/* ---------- Plagefilmer (animasjon som kode) ---------- */
rh-plagefilm { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-lg); background: var(--krem); }
.plf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.plf__list { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.plf__tab { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: start; width: 100%; text-align: left; padding: 1rem 1.125rem; border-radius: var(--r-md); border: 1px solid var(--beige); background: var(--hvit); color: inherit; font: inherit; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease-out); }
.plf__tab:hover { border-color: var(--mose); }
.plf__tab:active { transform: scale(.99); }
.plf__tab[aria-pressed="true"] { border-color: var(--gran); box-shadow: var(--shadow); }
.plf__tab:focus-visible { outline: 2px solid var(--fokus); outline-offset: 2px; }
.plf__num { font-family: var(--f-quote); font-style: italic; font-size: 1.625rem; line-height: 1; color: var(--mose); }
.plf__tab h3 { font-size: 1.1875rem; }
.plf__tab p { margin: .2rem 0 0; font-size: .9375rem; color: var(--graa); }
.plf__len { font-size: .8125rem; color: var(--graa-lys); white-space: nowrap; }
.plf__player { width: 100%; max-width: 360px; justify-self: center; display: grid; gap: 1rem; justify-items: center; }
@media (max-width: 900px) {
  .plf { grid-template-columns: 1fr; }
  .plf__player { max-width: 340px; }
  .plf__list { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .plf__tab { grid-template-columns: 1fr; gap: .25rem; padding: .8rem 1rem; }
  .plf__tab p, .plf__len { display: none; }
  .plf__tab h3 { font-size: 1.0625rem; }
  .plf__num { font-size: 1.25rem; }
}
.pf-fig { float: left; width: 280px; margin: .35rem 2.25rem 1.5rem 0; }
.prose h2:first-child { margin-top: 0; }
.pf-fig figcaption { margin-top: .75rem; font-size: .875rem; color: var(--graa); }
@media (max-width: 900px) { .pf-fig { float: none; width: auto; max-width: 340px; margin: 0 auto clamp(2rem, 4vw, 3rem); } }

/* ===== Hero i annonsestil (2026-10-13) ===== */
.hx { min-height: min(94svh, 900px); background: #1B2620; }
.hx .film__media video { filter: saturate(.92) contrast(1.04); object-position: 60% 40%; }
.hx .film__media::after { background:
  linear-gradient(180deg, rgba(20,28,24,.50) 0%, rgba(20,28,24,.30) 30%, rgba(20,28,24,.22) 62%, rgba(20,28,24,.40) 100%),
  linear-gradient(90deg, rgba(20,28,24,.62) 0%, rgba(20,28,24,.30) 45%, rgba(20,28,24,0) 75%); }
.hx__in { position: relative; display: grid; align-items: center; padding-block: calc(var(--header-h, 5.25rem) + 2rem) clamp(4rem, 10vh, 7rem); width: 100%; }
.hx__copy { max-width: 46rem; color: #fff; }
.hx__pills { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hx__pills li { font: 500 .8125rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; padding: .6rem .9rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(20,28,24,.28); color: #fff;
  animation: hxPop .7s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(.35s + var(--i) * .16s); transform-origin: left center; }
.hx__kick { margin: 0 0 .35rem; font: 500 clamp(1.375rem, 1rem + 1.6vw, 2.25rem)/1.1 "Instrument Sans", system-ui, sans-serif; letter-spacing: -.025em; color: #EFC48D;
  animation: hxRise .7s cubic-bezier(.22,1,.36,1) both; animation-delay: .9s; }
.hx__h1 { margin: 0; font: 500 clamp(2.75rem, 1.4rem + 5.2vw, 5.75rem)/1.02 "Instrument Sans", system-ui, sans-serif; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.hx__h1 em { font: 400 italic 1.08em/1 "Instrument Serif", Georgia, serif; letter-spacing: -.01em; color: #fff; }
.hx__h1 .w { display: inline-block; animation: hxWord .8s cubic-bezier(.34,1.45,.64,1) both; animation-delay: calc(1.15s + var(--i) * .1s); }
.hx__lead { margin: 1.25rem 0 0; font: 400 clamp(1.0625rem, 1rem + .35vw, 1.25rem)/1.45 "Instrument Sans", system-ui, sans-serif; color: rgba(255,255,255,.94);
  animation: hxRise .7s cubic-bezier(.22,1,.36,1) both; animation-delay: 1.9s; }
.hx__actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.75rem; animation: hxRise .7s cubic-bezier(.22,1,.36,1) both; animation-delay: 2.15s; }
.hx__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.5rem; border-radius: 999px; font: 600 1rem/1 "Instrument Sans", system-ui, sans-serif; text-decoration: none; background: #F7F3EB; color: #1F3D31; transition: transform .2s ease, background .2s ease; }
.hx__btn:hover { background: #fff; transform: translateY(-1px); }
.hx__btn--g { background: #DCE5DD; }
.hx__btn--g:hover { background: #E8EFE8; }
.hx__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; font: 500 .9375rem/1 "Instrument Sans", system-ui, sans-serif; color: rgba(255,255,255,.92);
  animation: hxRise .7s cubic-bezier(.22,1,.36,1) both; animation-delay: 2.4s; }
.hx__rating { display: inline-flex; align-items: center; gap: .6rem; }
.hx__rating .stars--47 { color: rgba(255,255,255,.3); }
.hx__rating .stars--47 > span { color: #EFC48D; }
.hx__chips { display: inline-flex; flex-wrap: wrap; gap: .5rem; }
.hx__chip { padding: .55rem .9rem; border-radius: 999px; background: #F7F3EB; color: #1F3D31; font-weight: 600; font-size: .875rem; }
.hx__chip--g { background: #DCE5DD; }
.hx__diag { position: absolute; right: 0; bottom: -1px; width: clamp(220px, 34vw, 560px); aspect-ratio: 1.2; pointer-events: none; }
.hx__diag span { position: absolute; inset: 0; animation: hxSlide 1.2s cubic-bezier(.22,1,.36,1) both; }
.hx__d1 { background: #DCE5DD; clip-path: polygon(0% 100%, 100% 0%, 100% 22%, 21% 100%); animation-delay: .2s !important; }
.hx__d2 { background: #EFE9DD; clip-path: polygon(21% 100%, 100% 22%, 100% 100%); animation-delay: .45s !important; }
@keyframes hxPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes hxRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hxWord { from { opacity: 0; transform: translateY(.45em) scale(.94); } 55% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes hxSlide { from { transform: translateX(45%); } to { transform: none; } }
@media (max-width: 720px) {
  .hx { min-height: 92svh; }
  .hx .film__media video { object-position: 64% 40%; }
  .hx .film__media::after { background: linear-gradient(180deg, rgba(20,28,24,.55) 0%, rgba(20,28,24,.42) 55%, rgba(20,28,24,.30) 100%); }
  .hx__in { align-items: start; padding-block: calc(var(--header-h, 5.25rem) + 1.5rem) 7rem; }
  .hx__pills li { font-size: .75rem; padding: .55rem .75rem; }
  .hx__actions .hx__btn { flex: 1 1 auto; }
  .hx__diag { width: 46vw; }
}
@media (prefers-reduced-motion: reduce) {
  .hx__pills li, .hx__kick, .hx__h1 .w, .hx__lead, .hx__actions, .hx__meta, .hx__diag span { animation: none; }
  .hx .film__media { background: url("../img/hero-behandling.jpg") 60% 40%/cover; }
}

/* ===== Behandlingskort i annonsestil (2026-10-13) ===== */
.tc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tc { position: relative; overflow: hidden; border-radius: 28px; min-height: 560px; display: flex; align-items: flex-end; background: #2A3530; color: #fff; isolation: isolate; box-shadow: 0 24px 48px -28px rgba(28,26,23,.45); }
.tc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.6s cubic-bezier(.22,1,.36,1); }
.tc--fysio .tc__img { object-position: 30% center; }
.tc--osteo .tc__img { object-position: 60% center; }
.tc--massasje .tc__img { object-position: 45% center; }
.tc.is-in .tc__img { transform: scale(1); }
.tc:hover .tc__img { transform: scale(1.04); }
.tc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,28,24,.10) 0%, rgba(20,28,24,.35) 38%, rgba(20,28,24,.82) 100%); }
.tc__diag { position: absolute; right: 0; top: 0; width: 34%; aspect-ratio: 1; z-index: -1; background: #DCE5DD; clip-path: polygon(38% 0%, 100% 0%, 100% 62%); opacity: .95; transform: translate(40%, -40%); transition: transform 1s cubic-bezier(.22,1,.36,1) .15s; }
.tc.is-in .tc__diag { transform: none; }
.tc__body { position: relative; padding: 1.75rem 1.5rem 1.5rem; display: grid; gap: .7rem; width: 100%; }
.tc__role { margin: 0; font: 500 .9375rem/1.2 "Instrument Sans", system-ui, sans-serif; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tc__role span { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(20,28,24,.3); color: #fff; }
.tc__h { margin: .2rem 0 0; font: 500 clamp(1.75rem, 1.2rem + 1.2vw, 2.25rem)/1.05 "Instrument Sans", system-ui, sans-serif; letter-spacing: -.03em; color: #fff; }
.tc__h em { display: block; font: 400 italic 1.1em/1 "Instrument Serif", Georgia, serif; letter-spacing: -.01em; color: #EFC48D; }
.tc__txt { margin: 0; font-size: .975rem; line-height: 1.45; color: rgba(255,255,255,.9); }
.tc__pills { list-style: none; margin: .1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tc__pills li { font: 600 .8125rem/1 "Instrument Sans", system-ui, sans-serif; padding: .5rem .8rem; border-radius: 999px; background: #F7F3EB; color: #1F3D31; }
.tc__price { margin: .15rem 0 0; font: 500 1rem/1 "Instrument Sans", system-ui, sans-serif; color: #fff; }
.tc__actions { display: flex; gap: .5rem; margin-top: .35rem; }
.tc__btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 2.875rem; padding: 0 1.1rem; border-radius: 999px; font: 600 .9375rem/1 "Instrument Sans", system-ui, sans-serif; text-decoration: none; background: #F7F3EB; color: #1F3D31; transition: background .2s ease, transform .2s ease; }
.tc__btn:hover { background: #fff; transform: translateY(-1px); }
.tc__btn--g { background: #DCE5DD; }
.tc__btn--g:hover { background: #E8EFE8; }
/* innfasing når kortet kommer i bildet */
.tc .tc__role, .tc .tc__h, .tc .tc__txt, .tc .tc__price, .tc .tc__actions { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.tc .tc__pills li { opacity: 0; transform: scale(.6); transform-origin: left center; transition: opacity .35s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.tc.is-in .tc__role, .tc.is-in .tc__h, .tc.is-in .tc__txt, .tc.is-in .tc__price, .tc.is-in .tc__actions, .tc.is-in .tc__pills li { opacity: 1; transform: none; }
.tc.is-in .tc__role { transition-delay: calc(var(--c) * .12s + .1s); }
.tc.is-in .tc__h { transition-delay: calc(var(--c) * .12s + .25s); }
.tc.is-in .tc__txt { transition-delay: calc(var(--c) * .12s + .4s); }
.tc.is-in .tc__pills li { transition-delay: calc(var(--c) * .12s + .55s + var(--i) * .12s); }
.tc.is-in .tc__price { transition-delay: calc(var(--c) * .12s + .9s); }
.tc.is-in .tc__actions { transition-delay: calc(var(--c) * .12s + 1s); }
@media (max-width: 960px) { .tc__grid { grid-template-columns: 1fr; } .tc { min-height: 480px; } .tc__diag { width: 26%; } }
@media (max-width: 720px) {
  .tc__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter, 1rem); margin-inline: calc(-1 * var(--gutter, 1rem)); padding: 0 var(--gutter, 1rem) .5rem; scrollbar-width: none; }
  .tc__grid::-webkit-scrollbar { display: none; }
  .tc { scroll-snap-align: start; min-height: 520px; }
  .tc__diag { width: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .tc .tc__role, .tc .tc__h, .tc .tc__txt, .tc .tc__price, .tc .tc__actions, .tc .tc__pills li { opacity: 1; transform: none; transition: none; }
  .tc__img, .tc__diag { transition: none; transform: none; }
}

/* ===== Hvorfor-animasjon (2026-10-13) ===== */
.wf { display: grid; gap: 1rem; }
.wf__stage { position: relative; overflow: hidden; border-radius: 28px; background: radial-gradient(120% 80% at 85% 0%, #2E5040 0%, #1F3D31 55%, #183026 100%); color: #fff; min-height: 560px; box-shadow: 0 24px 48px -28px rgba(28,26,23,.45); isolation: isolate; }
.wf__slide { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; padding: clamp(1.5rem, 3vw, 2.25rem); visibility: hidden; }
.wf__slide.is-active { visibility: visible; }
.wf__vis { display: grid; place-items: center; min-height: 220px; }
.wf__v { width: min(100%, 460px); height: auto; overflow: visible; font-family: "Instrument Sans", system-ui, sans-serif; }
.wf__txt { display: grid; gap: .75rem; max-width: 32rem; padding-right: 3rem; padding-bottom: .5rem; }
.wf__pill { justify-self: start; font: 500 .75rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; }
.wf__h { margin: 0; font: 500 clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem)/1.06 "Instrument Sans", system-ui, sans-serif; letter-spacing: -.03em; color: #fff; }
.wf__h em { font: 400 italic 1.08em/1 "Instrument Serif", Georgia, serif; color: #EFC48D; letter-spacing: -.01em; }
.wf__p { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: rgba(255,255,255,.9); }
.wf__diag { position: absolute; right: 0; bottom: 0; width: 17%; aspect-ratio: 1.2; z-index: -1; background: linear-gradient(#DCE5DD,#DCE5DD) ; clip-path: polygon(0 100%, 100% 0, 100% 22%, 21% 100%); opacity: .9; }
.wf__pause { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(20,28,24,.3); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.wf__pause .pl { display: none; } .wf__pause.is-play .pa { display: none; } .wf__pause.is-play .pl { display: block; }
.wf__nav { display: grid; gap: .25rem; }
.wf__btn { display: grid; grid-template-columns: 2.25rem 1fr; grid-template-rows: auto auto; gap: .35rem .5rem; align-items: center; text-align: left; padding: .7rem .25rem .6rem; background: none; border: 0; cursor: pointer; font: 500 1rem/1.3 "Instrument Sans", system-ui, sans-serif; color: var(--graa); }
.wf__bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--beige); overflow: hidden; }
.wf__bar i { display: block; height: 100%; width: 100%; background: var(--gran); transform: scaleX(0); transform-origin: left; }
.wf__btn.is-done .wf__bar i { transform: none; background: var(--mose); }
.wf__btn[aria-pressed="true"] .wf__bar i { animation: wfFill 7s linear forwards; }
.wf__n { font-size: .8125rem; color: var(--rav); font-variant-numeric: tabular-nums; }
.wf__btn[aria-pressed="true"] { color: var(--gran); }
.wf__btn:hover { color: var(--gran); }
.wf.is-paused *, .wf.is-hover .wf__bar i { animation-play-state: paused !important; }
@keyframes wfFill { to { transform: scaleX(1); } }
/* tekst inn */
.wf__slide.is-active .wf__pill { animation: wfPop .6s cubic-bezier(.34,1.56,.64,1) both .15s; transform-origin: left center; }
.wf__slide.is-active .wf__h { animation: wfRise .7s cubic-bezier(.22,1,.36,1) both .3s; }
.wf__slide.is-active .wf__p { animation: wfRise .7s cubic-bezier(.22,1,.36,1) both .55s; }
@keyframes wfPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes wfRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wfDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wfIn { from { opacity: 0; transform: translate(var(--x, 0), var(--y, 14px)) scale(.9); } to { opacity: 1; transform: none; } }
/* svg-elementer */
.wf__v text { fill: #fff; font-size: 17px; font-weight: 500; }
.wf-track { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 12; }
.wf-arc { fill: none; stroke: #EFC48D; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wf-num { font: 500 52px/1 "Instrument Sans", sans-serif !important; letter-spacing: -.03em; }
.wf-unit { font-size: 16px !important; fill: rgba(255,255,255,.75) !important; }
.wf-chip rect { fill: #F7F3EB; } .wf-chip text { fill: #1F3D31 !important; font-weight: 600 !important; font-size: 15px !important; }
.wf-draw { fill: none; stroke: #DCE5DD; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wf-draw--rav { stroke: #EFC48D; stroke-width: 5; }
.wf-pill { fill: #F7F3EB; } .wf-pill--g { fill: #DCE5DD; }
.wf-slide text { fill: #1F3D31 !important; font-weight: 600 !important; font-size: 14px !important; }
.wf-dot { fill: #DCE5DD; } .wf-dot--g { fill: #1F3D31; }
.wf-tick { fill: none; stroke: #1F3D31; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wf-tick--g { stroke: #DCE5DD; }
.wf-dark { fill: #1F3D31 !important; font-weight: 600 !important; }
.wf-ghost { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 5 6; }
.wf-row--off text { fill: rgba(255,255,255,.6) !important; }
.wf-strike { fill: none; stroke: #EFC48D; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wf-mal { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-dasharray: 6 7; }
.wf-small { fill: rgba(255,255,255,.7) !important; font-size: 13px !important; }
.wf-node circle { fill: #F7F3EB; stroke: #1F3D31; stroke-width: 3; }
.wf-chip, .wf-slide, .wf-row, .wf-node { opacity: 0; transform-box: fill-box; transform-origin: center; }
.wf__slide.is-active .wf-arc { animation: wfDraw 2.2s cubic-bezier(.65,0,.35,1) forwards .3s; }
.wf__slide.is-active .wf-draw { animation: wfDraw 1.1s cubic-bezier(.65,0,.35,1) forwards .2s; }
.wf__slide.is-active .wf-draw--2 { animation-delay: .6s; }
.wf__slide.is-active .wf-draw--rav { animation-duration: 1.8s; animation-delay: .5s; }
.wf__slide.is-active .wf-chip, .wf__slide.is-active .wf-slide, .wf__slide.is-active .wf-row, .wf__slide.is-active .wf-node { animation: wfIn .7s cubic-bezier(.34,1.45,.64,1) forwards var(--d, .5s); }
.wf__slide.is-active .wf-tick { animation: wfDraw .45s ease-out forwards calc(var(--d, .5s) + .35s); }
.wf__slide.is-active .wf-strike { animation: wfDraw .6s ease-out forwards 1.9s; }
.wf__slide.is-active .wf-row--off { animation-name: wfInOff; }
@keyframes wfInOff { from { opacity: 0; transform: translateY(14px); } to { opacity: .8; transform: none; } }
@media (max-width: 860px) {
  .wf__stage { min-height: 520px; }
  .wf__nav { grid-auto-flow: column; grid-auto-columns: 1fr; gap: .4rem; }
  .wf__btn { grid-template-columns: 1fr; padding: .5rem 0; }
  .wf__t { display: none; }
  .wf__n { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .wf *, .wf *::before { animation: none !important; }
  .wf-arc, .wf-draw, .wf-tick, .wf-strike { stroke-dashoffset: 0; }
  .wf-chip, .wf-slide, .wf-row, .wf-node { opacity: 1; }
  .wf-row--off { opacity: .8; }
  .wf__btn[aria-pressed="true"] .wf__bar i { transform: none; }
}

/* ===== Anmeldelser som animasjon (2026-10-13) ===== */
.rv { display: grid; gap: 1rem; }
.rv__stage { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; color: #fff; display: grid; grid-template-columns: minmax(240px, 4fr) 8fr; min-height: 420px;
  background: radial-gradient(120% 90% at 0% 0%, #2E5040 0%, #1F3D31 50%, #183026 100%); box-shadow: 0 24px 48px -28px rgba(28,26,23,.45); }
.rv__score { display: grid; align-content: center; justify-items: start; gap: .7rem; padding: clamp(1.75rem, 3vw, 2.5rem); border-right: 1px solid rgba(255,255,255,.12); }
.rv__pill { font: 500 .75rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; }
.rv__big { display: flex; align-items: baseline; gap: .5rem; margin-top: .5rem; }
.rv__num { font: 500 clamp(4rem, 3rem + 3vw, 5.75rem)/.9 "Instrument Sans", system-ui, sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.rv__of { font: 400 italic 1.75rem/1 "Instrument Serif", Georgia, serif; color: #EFC48D; }
.rv__bigstars { position: relative; display: inline-block; font-size: 1.5rem; letter-spacing: .12em; color: rgba(255,255,255,.22); line-height: 1; }
.rv__fill { position: absolute; inset: 0 auto 0 0; width: 94%; overflow: hidden; white-space: nowrap; color: #EFC48D; }
.rv.is-in .rv__fill { animation: rvFill 1.4s cubic-bezier(.22,1,.36,1) both .2s; }
@keyframes rvFill { from { width: 0; } to { width: 94%; } }
.rv__count { margin: 0; font-size: 1.0625rem; color: rgba(255,255,255,.88); }
.rv__count b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.rv__link { margin-top: .75rem; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.2rem; border-radius: 999px; background: #F7F3EB; color: #1F3D31; font: 600 .9375rem/1 "Instrument Sans", system-ui, sans-serif; text-decoration: none; }
.rv__link:hover { background: #fff; }
.rv__quotes { position: relative; min-height: 340px; }
.rv__slide { position: absolute; inset: 0; margin: 0; display: grid; align-content: center; gap: 1.25rem; padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.75rem, 4vw, 3.5rem) clamp(2.5rem, 4vw, 3rem); visibility: hidden; }
.rv__slide.is-active { visibility: visible; }
.rv__stars { display: flex; gap: .3rem; }
.rv__stars i { width: 1.375rem; height: 1.375rem; display: block; }
.rv__stars svg { width: 100%; height: 100%; fill: #EFC48D; }
.rv__q { margin: 0; font: 400 italic clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem)/1.22 "Instrument Serif", Georgia, serif; color: #fff; max-width: 28em; text-wrap: balance; }
.rv__who { display: flex; align-items: center; gap: .75rem; font: 500 1rem/1.2 "Instrument Sans", system-ui, sans-serif; }
.rv__who cite { font-style: normal; }
.rv__av { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #DCE5DD; color: #1F3D31; display: grid; place-items: center; font: 600 .875rem/1 "Instrument Sans", system-ui, sans-serif; }
.rv__src { font-size: .8125rem; font-weight: 600; padding: .4rem .7rem; border-radius: 999px; background: #F7F3EB; color: #1F3D31; }
.rv__diag { position: absolute; right: 0; bottom: 0; width: 12%; aspect-ratio: 1.2; z-index: -1; background: #DCE5DD; clip-path: polygon(0 100%, 100% 0, 100% 22%, 21% 100%); opacity: .9; }
.rv__pause { position: absolute; top: 1rem; right: 1rem; }
.rv__nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.rv__btn { display: grid; gap: .45rem; padding: .5rem 0; background: none; border: 0; cursor: pointer; text-align: left; font: 500 .9375rem/1.2 "Instrument Sans", system-ui, sans-serif; color: var(--graa); }
.rv__bar { height: 3px; border-radius: 3px; background: var(--beige); overflow: hidden; }
.rv__bar i { display: block; height: 100%; background: var(--gran); transform: scaleX(0); transform-origin: left; }
.rv__btn.is-done .rv__bar i { transform: none; background: var(--mose); }
.rv__btn[aria-pressed="true"] { color: var(--gran); }
.rv__btn[aria-pressed="true"] .rv__bar i { animation: wfFill 6s linear forwards; }
.rv.is-paused *, .rv.is-hover .rv__bar i { animation-play-state: paused !important; }
.rv__slide.is-active .rv__stars i { animation: wfPop .5s cubic-bezier(.34,1.56,.64,1) both calc(.1s + var(--k) * .08s); }
.rv__slide.is-active .rv__q { animation: wfRise .8s cubic-bezier(.22,1,.36,1) both .35s; }
.rv__slide.is-active .rv__who { animation: wfRise .7s cubic-bezier(.22,1,.36,1) both .7s; }
@media (max-width: 860px) {
  .rv__stage { grid-template-columns: 1fr; }
  .rv__score { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; padding-bottom: 1.25rem; }
  .rv__pill { grid-column: 1 / -1; }
  .rv__big { margin: 0; grid-row: span 2; }
  .rv__link { grid-column: 1 / -1; margin-top: .25rem; }
  .rv__quotes { min-height: 360px; }
  .rv__nav { grid-template-columns: repeat(6, 1fr); gap: .35rem; }
  .rv__nm { font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .rv *, .rv *::before { animation: none !important; }
  .rv__btn[aria-pressed="true"] .rv__bar i { transform: none; }
}

/* ============ Hjemmebesøk (hb-) ============ */
.hb em, .hb-em { font-family: var(--f-quote); font-style: italic; font-weight: 400; color: var(--rav); letter-spacing: -.005em; }
.hb-hero { padding-block: clamp(7rem, 12vw, 9.5rem) clamp(3rem, 6vw, 5rem); background: radial-gradient(60% 70% at 100% 0%, rgba(239,196,141,.28), transparent 70%), var(--krem); position: relative; overflow: hidden; }
.hb-hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: clamp(140px, 18vw, 240px); height: clamp(120px, 15vw, 200px); background: var(--gran-lys); clip-path: polygon(0 100%, 100% 0, 100% 22%, 21% 100%); }
.hb-hero__in { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.25fr 1fr; align-items: center; }
.hb-hero h1 { font-size: var(--fs-h1); letter-spacing: -.035em; margin-top: .75rem; }
.hb-hero .lead { margin-top: 1.1rem; max-width: 34rem; color: var(--graa); }
.hb-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hb-hero__meta { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--mose); }
.hb-hero__cards { display: grid; gap: .875rem; position: relative; z-index: 1; }
.hb-pill { display: flex; gap: 1rem; align-items: flex-start; background: var(--hvit); border: 1px solid var(--beige); border-radius: 1.25rem; padding: 1.1rem 1.25rem; box-shadow: 0 18px 40px -28px rgba(31,61,49,.45); }
.hb-pill > span { flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gran); color: var(--hvit); display: grid; place-items: center; }
.hb-pill b { display: block; font-size: 1.125rem; font-weight: 600; color: var(--gran); }
.hb-pill small { display: block; margin-top: .2rem; font-size: var(--fs-small); color: var(--graa); line-height: 1.45; }
.hb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hb-stat { background: var(--krem); border-radius: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--beige); }
.hb-stat b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem); letter-spacing: -.05em; line-height: 1; color: var(--gran); }
.hb-stat p { margin-top: .75rem; color: var(--graa); font-size: var(--fs-small); line-height: 1.5; max-width: 22rem; }
.hb-stat:nth-child(2) b { color: var(--rav); }
.hb-steps { display: grid; gap: 1rem; }
.hb-step { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2rem); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.25rem; background: var(--krem-dyp); }
.hb-step__n { font-family: var(--f-quote); font-style: italic; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: .9; color: var(--rav); width: 2.5rem; }
.hb-step h3 { font-size: var(--fs-h3); }
.hb-step p { margin-top: .6rem; color: var(--graa); max-width: 46rem; }
.hb-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.hb-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--blekk); }
.hb-list svg { flex: none; margin-top: .3rem; color: var(--hvit); background: var(--gran); border-radius: 50%; padding: 3px; width: 18px; height: 18px; }
.hb-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.1rem; }
.hb-why div { background: var(--krem); border-radius: 1rem; padding: 1rem 1.1rem; }
.hb-why b { display: block; color: var(--gran); font-weight: 600; }
.hb-why span { display: block; margin-top: .25rem; font-size: var(--fs-small); color: var(--graa); line-height: 1.45; }
.hb-note { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--rav); background: color-mix(in srgb, var(--rav) 8%, var(--krem)); border-radius: 0 1rem 1rem 0; color: var(--blekk); max-width: 52rem; }
.hb-offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hb-offer { display: flex; flex-direction: column; background: var(--krem); border: 1px solid var(--beige); border-radius: 1.25rem; padding: 1.5rem; }
.hb-offer__k { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mose); }
.hb-offer h3 { margin-top: .6rem; font-size: 1.375rem; }
.hb-offer p:not(.hb-offer__k) { margin-top: .6rem; color: var(--graa); font-size: var(--fs-small); line-height: 1.5; flex: 1; }
.hb-offer__p { margin-top: 1.25rem; font-family: var(--f-display); font-weight: 500; font-size: 1.75rem; letter-spacing: -.03em; color: var(--gran); }
.hb-offer--g { background: var(--gran-lys); border-color: transparent; }
.hb-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: none; }
.hb-flow li { position: relative; background: var(--krem-dyp); border-radius: 1.25rem; padding: 1.5rem; }
.hb-flow li > span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--gran); color: var(--hvit); font-weight: 600; }
.hb-flow h3 { margin-top: 1rem; font-size: 1.25rem; }
.hb-flow p { margin-top: .4rem; color: var(--graa); font-size: var(--fs-small); line-height: 1.5; }
.hb-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 1.5rem; background: var(--gran-lys); }
.hb-cta h3 { font-size: var(--fs-h3); }
.hb-cta p { margin-top: .35rem; color: var(--mose); }
.hb-cta__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.hb-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.hb-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hb-rv { opacity: 1; transform: none; transition: none; } }
@media (max-width: 960px) { .hb-hero__in { grid-template-columns: 1fr; } .hb-offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hb-stats, .hb-flow, .hb-offers, .hb-why { grid-template-columns: 1fr; } .hb-step { grid-template-columns: 1fr; gap: .5rem; } }
/* Forside-teaser */
.hbt { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--gran-lys); border-radius: 1.75rem; padding: clamp(1.75rem, 4vw, 3rem); position: relative; overflow: hidden; }
.hbt h2 em { font-family: var(--f-quote); font-style: italic; font-weight: 400; color: var(--rav); }
.hbt .lead { margin-top: .9rem; color: var(--mose); }
.hbt__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hbt__list { display: grid; gap: .6rem; }
.hbt__list div { display: flex; gap: .75rem; align-items: center; background: var(--krem); border-radius: 1rem; padding: .9rem 1.1rem; font-weight: 500; color: var(--gran); }
.hbt__list span { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--gran); color: var(--hvit); display: grid; place-items: center; }
@media (max-width: 860px) { .hbt { grid-template-columns: 1fr; } }
