/* ==========================================================================
   Klinikk Libra — klinikklibra.no
   Design system: rolig skandinavisk klinikk. Varm sand, logo-blå som aksent,
   Fraunces til overskrifter, Schibsted Grotesk til brødtekst.
   ========================================================================== */

/* ---------- Fonts (selvhostet) ---------- */
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* farger */
  --sand: #FAF8F4;
  --sand-2: #F3EFE7;
  --sand-3: #ECE6DA;
  --surface: #FFFFFF;
  --border: #E6DFD2;
  --border-soft: #EEE9DF;
  --ink: #22303B;
  --ink-2: #3D4C59;
  --ink-3: #5B6B77;
  --navy: #14303F;
  --navy-2: #0E2430;
  --blue: #25AAE1;        /* logo-blå: kun dekor, ikoner, store flater */
  --blue-ink: #0E6D96;    /* lenker + primærknapp (AA mot sand/hvit) */
  --blue-deep: #0B5878;   /* hover */
  --blue-tint: #E3F2FA;
  --sand-on-navy: #EDE7DB;

  /* typografi */
  --font-display: 'Schibsted Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Schibsted Grotesk', 'Segoe UI', system-ui, sans-serif;

  /* form */
  --r-lg: 22px;
  --r-md: 14px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(20, 48, 63, .05), 0 1px 3px rgba(20, 48, 63, .05);
  --shadow-2: 0 2px 4px rgba(20, 48, 63, .04), 0 14px 36px -10px rgba(20, 48, 63, .16);

  --container: 76rem;
  --header-h: 4.75rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; }
button { cursor: pointer; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

/* ---------- Typografi ---------- */
h1, h2, .h-display {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 4.8vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; }
h3, h4 {
  font-family: var(--font-body);
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { max-width: 68ch; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: .9375rem; }

a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

@media (max-width: 26em) {
  h1 { font-size: 2rem; }
  .eyebrow { font-size: .72rem; letter-spacing: .1em; }
  .eyebrow::before { width: 1.25rem; }
}

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

::selection { background: var(--blue-tint); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(3rem, 5.5vw, 5rem); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head p { margin-top: .9rem; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 3.25rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--blue-ink); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; box-shadow: var(--shadow-2); }

.btn-ghost { border-color: rgba(34, 48, 59, .28); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }

.btn-light { background: var(--sand); color: var(--navy); }
.btn-light:hover { background: #fff; color: var(--navy-2); box-shadow: var(--shadow-2); }

.btn-ghost-dark { border-color: rgba(237, 231, 219, .4); color: var(--sand-on-navy); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--sand-on-navy); color: #fff; }

.btn-lg { min-height: 3.5rem; padding: .875rem 2.1rem; font-size: 1.0625rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
/* Bakgrunn + blur ligger på et pseudo-element: backdrop-filter direkte på
   headeren ville gjort den til containing block for den fikserte mobilmenyen. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 248, 244, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header.scrolled { border-bottom-color: var(--border-soft); box-shadow: 0 1px 0 rgba(20,48,63,.02), 0 6px 24px -18px rgba(20,48,63,.25); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 2.6rem; width: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: .5rem .125rem;
  font-size: .96rem;
  font-weight: 550;
  color: var(--ink-2);
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
  box-shadow: inset 0 -2px 0 var(--blue);
}
.header-cta { display: inline-flex; align-items: center; gap: .75rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
  text-decoration: none;
  padding: .5rem .25rem;
}
.header-phone:hover { color: var(--blue-ink); }
.header-cta .btn { min-height: 2.9rem; padding: .55rem 1.4rem; }

/* Mobilmeny */
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--r-md);
  color: var(--ink);
}
.nav-toggle:hover { background: var(--sand-2); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 61.99em) {
  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--sand);
    overflow-y: auto;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 8rem;
    border-top: 1px solid var(--border-soft);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--border-soft); }
  .site-nav a {
    display: block;
    padding: 1.05rem .25rem;
    font-size: 1.3rem;
    font-weight: 650;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--blue-ink); }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-primary { display: none; }
}
@media (max-width: 47.99em) {
  .header-phone span { display: none; }
  .logo img { height: 2.2rem; }
  :root { --header-h: 4.25rem; }
}

/* Sticky bunnlinje på mobil */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(250, 248, 244, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  gap: .625rem;
  grid-template-columns: 1fr 1.4fr;
}
.mobile-bar .btn { width: 100%; min-height: 3rem; padding-inline: 1rem; }
@media (max-width: 47.99em) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 4.6rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  display: flex;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}
@media (min-width: 62em) {
  .hero { min-height: calc(100dvh - var(--header-h)); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}
.hero-copy .lede { margin-top: 1.35rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2.1rem; }
.hero-trust {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: .7rem;
}
.hero-trust li { display: flex; gap: .7rem; align-items: baseline; font-size: .97rem; color: var(--ink-2); }
.hero-trust svg { flex: none; color: var(--blue-ink); transform: translateY(3px); }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  aspect-ratio: 5 / 4;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-arc {
  position: absolute;
  z-index: -1;
  inset: -14% -18% auto auto;
  width: 78%;
  color: var(--blue);
  opacity: .5;
}
.hero-badge {
  position: absolute;
  left: clamp(-1.25rem, -2vw, -2rem);
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  padding: .8rem 1.15rem;
}
.hero-badge .g-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-ink);
  font-weight: 700;
}
.hero-badge strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.25; }
.hero-badge span { display: block; font-size: .82rem; color: var(--ink-3); }
@media (max-width: 61.99em) {
  .hero-media .frame { aspect-ratio: 3 / 2; }
  .hero-badge { left: 1rem; bottom: 1rem; }
}

/* ---------- Fakta-stripe ---------- */
.facts {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.facts-grid {
  display: grid;
  gap: 1px;
  background: var(--border-soft);
}
@media (min-width: 48em) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }
.fact {
  background: var(--surface);
  padding: 1.9rem clamp(1.25rem, 2.5vw, 2.25rem);
}
.fact strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: .3rem;
}
.fact p { font-size: .95rem; color: var(--ink-3); }

/* ---------- Kort (behandlinger) ---------- */
.cards-3 {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (min-width: 48em) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: var(--border); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { display: flex; flex-direction: column; flex: 1; gap: .6rem; padding: 1.5rem 1.6rem 1.7rem; }
.card-body p { font-size: .97rem; color: var(--ink-3); flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .97rem;
  color: var(--blue-ink);
  text-decoration: none;
  margin-top: .4rem;
}
.card-link svg { transition: transform .25s ease; }
.card:hover .card-link svg { transform: translateX(4px); }
.card > a.card-cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card h3 a { color: inherit; text-decoration: none; }

/* ---------- Plager ---------- */
.plager-section { background: var(--sand-2); position: relative; overflow: clip; }
.plager-watermark {
  position: absolute;
  right: -6%;
  top: -12%;
  width: min(34rem, 55vw);
  color: var(--blue);
  opacity: .12;
  pointer-events: none;
}
.plager-groups {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}
@media (min-width: 48em) { .plager-groups { grid-template-columns: repeat(2, 1fr); } }
.plager-group h3 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .5rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-weight: 550;
  font-size: .95rem;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.pill svg { color: var(--blue-ink); opacity: 0; width: 0; transition: opacity .2s ease, width .2s ease; }
.pill:hover { border-color: var(--blue-ink); box-shadow: var(--shadow-1); color: var(--ink); }
.pill:hover svg { opacity: 1; width: 16px; }

/* ---------- Behandler (Camilla) ---------- */
.behandler-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 62em) { .behandler-grid { grid-template-columns: .82fr 1.18fr; } }
.behandler-media { position: relative; max-width: 26rem; }
.behandler-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.behandler-media::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto -1.4rem -1.4rem auto;
  width: 62%;
  height: 62%;
  border-radius: var(--r-lg);
  background: var(--blue-tint);
}
.behandler-copy .role { font-weight: 600; color: var(--blue-ink); margin-top: .4rem; }
.behandler-copy blockquote {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--blue);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}
.cred-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .65rem; }
.cred-list li { display: flex; gap: .7rem; align-items: baseline; font-size: .97rem; }
.cred-list svg { flex: none; color: var(--blue-ink); transform: translateY(3px); }
.behandler-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.9rem; }

/* ---------- Steg (første besøk) ---------- */
.steps {
  counter-reset: steg;
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (min-width: 48em) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  counter-increment: steg;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-1);
}
.step::before {
  content: counter(steg, decimal-leading-zero);
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-ink);
  letter-spacing: .08em;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--ink-3); }
.steps-foot { margin-top: 2rem; font-size: .97rem; color: var(--ink-3); }

/* ---------- Kontakt-bånd ---------- */
.contact-band {
  position: relative;
  overflow: clip;
  background: var(--navy);
  color: var(--sand-on-navy);
}
.contact-band .eyebrow { color: var(--blue); }
.contact-band .eyebrow::before { background: var(--blue); }
.contact-band h2 { color: #fff; }
.contact-band .lede { color: var(--sand-on-navy); opacity: .92; }
.band-arc {
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: min(40rem, 60vw);
  color: var(--blue);
  opacity: .14;
  pointer-events: none;
}
.contact-cols {
  display: grid;
  gap: 1px;
  background: rgba(237, 231, 219, .14);
  border: 1px solid rgba(237, 231, 219, .14);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  position: relative;
}
@media (min-width: 48em) { .contact-cols { grid-template-columns: repeat(3, 1fr); } }
.contact-col { background: var(--navy); padding: 1.9rem clamp(1.4rem, 2.5vw, 2.1rem); display: flex; flex-direction: column; gap: .45rem; }
.contact-col h3 { color: #fff; font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; }
.contact-col h3 svg { color: var(--blue); }
.contact-col p { font-size: .95rem; opacity: .85; flex: 1; }
.contact-col a:not(.btn) { color: #fff; font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.contact-col a:not(.btn):hover { color: var(--blue); }
.contact-col .btn { align-self: flex-start; margin-top: .6rem; }
.contact-col .sub { font-size: .85rem; opacity: .65; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand-2); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2.5rem;
}
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 2.4rem; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .95rem; color: var(--ink-3); max-width: 26ch; }
.footer-col h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: .96rem; }
.footer-col a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-col address { font-style: normal; font-size: .96rem; color: var(--ink-2); display: grid; gap: .55rem; }
.footer-col address a { font-weight: 600; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  color: var(--ink-3);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card-media img, .pill, .btn { transition: none; }
}

/* ==========================================================================
   Undersider
   ========================================================================== */

/* Sidehode (felles for undersider) */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) 0; }
.page-hero + .section-tight, .page-hero + .section { padding-top: clamp(1.75rem, 3vw, 2.75rem); }
.page-hero .lede { margin-top: 1.2rem; max-width: 42rem; }
.breadcrumbs { font-size: .875rem; color: var(--ink-3); margin-bottom: 1.5rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: .35rem; color: var(--sand-3); }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-2); font-weight: 550; }

/* Artikkel / prosa */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 2.6rem 0 .9rem; }
.prose h3 { margin: 2rem 0 .7rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.35rem; margin-bottom: 1.1rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--blue-ink); }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--r-lg); margin-block: 1.75rem; box-shadow: var(--shadow-1); }

/* Infoboks */
.callout {
  background: var(--blue-tint);
  border: 1px solid #CBE7F5;
  border-radius: var(--r-lg);
  padding: 1.5rem 1.7rem;
  margin-block: 1.9rem;
}
.callout h3 { font-size: 1.02rem; margin: 0 0 .4rem; }
.callout :first-child { margin-top: 0; }
.callout :last-child { margin-bottom: 0; }
.callout p { font-size: .96rem; margin: 0; }
.callout a { font-weight: 600; }

/* CTA-panel nederst på undersider */
.page-cta {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: clamp(1.9rem, 4vw, 2.75rem);
  display: grid;
  gap: 1.4rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 62em) {
  .page-cta { grid-template-columns: 1.5fr auto; align-items: center; }
}
.page-cta h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.page-cta p { color: var(--ink-3); margin-top: .5rem; font-size: .98rem; }
.page-cta .actions { display: flex; flex-wrap: wrap; gap: .875rem; }

/* Sidelayout med innholdsfortegnelse / sidepanel */
.with-aside {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 62em) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 20rem; }
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.aside-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 1.6rem;
  display: grid;
  gap: .8rem;
}
.aside-card h3 { font-size: 1.02rem; }
.aside-card p { font-size: .92rem; color: var(--ink-3); }
.aside-card .btn { width: 100%; }
.aside-card .tel {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 650;
  font-size: 1.12rem;
  color: var(--ink);
  text-decoration: none;
}
.aside-card .tel:hover { color: var(--blue-ink); }

/* Pristabell */
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.price-table caption { text-align: left; padding-bottom: 1rem; font-weight: 650; color: var(--ink); }
.price-table th, .price-table td { text-align: left; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--border-soft); font-size: 1rem; }
.price-table th { color: var(--ink); font-weight: 600; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: none; }
.price-table td:last-child { text-align: right; font-weight: 650; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }

/* Kart */
.map-embed {
  border: 0;
  width: 100%;
  height: clamp(18rem, 40vw, 26rem);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  display: block;
}

/* Bildegalleri (om oss) */
.photo-duo { display: grid; gap: 1.25rem; margin-block: 2rem; }
@media (min-width: 48em) { .photo-duo { grid-template-columns: 1.5fr 1fr; align-items: stretch; } }
.photo-duo img { border-radius: var(--r-lg); box-shadow: var(--shadow-1); width: 100%; height: 100%; object-fit: cover; }
