/* ==========================================================
   NORSK RØRLEGGERSERVICE AS – designsystem
   ----------------------------------------------------------
   MERKEVARE: alle farger ligger som tokens under.
   Bytt de fire --brand-* verdiene til de eksakte kodene fra
   brandkit/eksisterende nettside, så oppdateres hele nettstedet.
   ========================================================== */

:root {
  /* Merkevare */
  --brand-primary:      #0E3A5C;   /* dyp blå – header, footer, overskrifter */
  --brand-primary-dark: #092A44;
  --brand-primary-soft: #EEF4F9;
  --brand-accent:       #C87533;   /* kobber – CTA og detaljer */
  --brand-accent-dark:  #A85E24;
  --brand-accent-soft:  #FBF1E7;

  /* Flater og tekst */
  --bg:      #F5F7F9;
  --surface: #FFFFFF;
  --ink:     #1A2430;
  --muted:   #5B6B7A;
  --line:    #DDE4EA;
  --line-2:  #C9D4DD;
  --ok:      #1E7B4D;

  /* Typografi */
  --font-display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Form */
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(14,58,92,.06), 0 2px 8px rgba(14,58,92,.05);
  --shadow-md: 0 8px 28px rgba(14,58,92,.10);

  /* Rytme */
  --wrap: 1160px;
  --gutter: 20px;
  --section-y: 72px;
}

@media (min-width: 900px) { :root { --gutter: 32px; --section-y: 96px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand-primary); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .002em;
  color: var(--brand-primary);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3, .h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-accent); color: #fff; padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--bg); }
.section--ink { background: var(--brand-primary); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--tight { padding: calc(var(--section-y) * .62) 0; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600; font-size: .82rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-accent-dark);
  margin: 0 0 .6em;
}
.section--ink .eyebrow { color: #E6B27A; }
.section-intro { max-width: 62ch; color: var(--muted); font-size: 1.06rem; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 60ch; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 13px 22px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--accent { background: var(--brand-accent); color: #fff; }
.btn--accent:hover { background: var(--brand-accent-dark); }
.btn--primary { background: var(--brand-primary); color: #fff; }
.btn--primary:hover { background: var(--brand-primary-dark); }
.btn--ghost { border-color: var(--line-2); color: var(--brand-primary); background: transparent; }
.btn--ghost:hover { border-color: var(--brand-primary); background: var(--brand-primary-soft); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 1.03rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--brand-primary-dark); color: rgba(255,255,255,.8);
  font-size: .84rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 640px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.logo-mark svg { width: 34px; height: 34px; fill: var(--brand-primary); stroke: var(--brand-accent); }
.logo-txt {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: .82rem; line-height: 1.05; letter-spacing: .08em; color: var(--brand-primary);
}
.logo-txt b { font-weight: 700; font-size: 1.02rem; letter-spacing: .03em; }
.logo--light .logo-txt { color: #fff; }
.logo--light .logo-mark svg { fill: #fff; }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: var(--radius);
  font-weight: 600; font-size: .97rem; color: var(--ink); text-decoration: none;
}
.nav-list > li > a:hover { background: var(--brand-primary-soft); color: var(--brand-primary); }
.nav-list a[aria-current="page"] { color: var(--brand-primary); background: var(--brand-primary-soft); }
.caret { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; }

.dd {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 262px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.dd a:hover { background: var(--brand-primary-soft); color: var(--brand-primary); }
.dd-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dd-all a { font-weight: 600; color: var(--brand-accent-dark); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: none; align-items: center; gap: 7px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  color: var(--brand-primary);
}
.header-phone svg { width: 19px; height: 19px; fill: none; stroke: var(--brand-accent); stroke-width: 2; }
@media (min-width: 1080px) { .header-phone { display: flex; } }
@media (max-width: 1023px) { .nav, .header__cta { display: none; } }

.burger {
  display: none; width: 46px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger-lines { display: block; width: 20px; }
.burger-lines i { display: block; height: 2px; background: var(--brand-primary); border-radius: 2px; }
.burger-lines i + i { margin-top: 5px; }
@media (max-width: 1023px) { .burger { display: flex; } }

/* ---------- Mobilmeny ---------- */
.mob {
  position: fixed; inset: 0; z-index: 120; background: var(--surface);
  display: flex; flex-direction: column;
}
.mob[hidden] { display: none; }
.mob__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter); border-bottom: 1px solid var(--line);
}
.mob__close {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); cursor: pointer;
}
.mob__close svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-primary); stroke-width: 2.2; }
.mob__scroll { flex: 1; overflow-y: auto; padding: 20px var(--gutter) 40px; }
.mob__call {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: var(--brand-primary); color: #fff; border-radius: var(--radius-lg);
  padding: 16px 18px; margin-bottom: 20px;
}
.mob__call svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-accent); stroke-width: 2; flex: 0 0 auto; }
.mob__call small { display: block; font-size: .8rem; opacity: .8; }
.mob__call strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .01em; }
.mob__list { list-style: none; margin: 0 0 22px; padding: 0; }
.mob__list > li { border-bottom: 1px solid var(--line); }
.mob__list a, .mob__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 2px; font-family: var(--font-display); font-weight: 600; font-size: 1.22rem;
  color: var(--brand-primary); text-decoration: none; background: none; border: 0;
  cursor: pointer; text-align: left;
}
.mob__toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .2s; }
.mob__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mob__sub { list-style: none; margin: 0 0 10px; padding: 0 0 6px 14px; border-left: 2px solid var(--brand-accent); }
.mob__sub li { border: 0; }
.mob__sub a { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink); padding: 11px 2px; }
.mob__meta { margin-top: 18px; font-size: .88rem; color: var(--muted); text-align: center; }

/* ---------- Fast bunnlinje på mobil ---------- */
.mobbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 1px; background: var(--line);
  box-shadow: 0 -4px 18px rgba(14,58,92,.12);
}
.mobbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 8px; font-weight: 600; font-size: .97rem; text-decoration: none;
}
.mobbar__call { background: var(--brand-primary); color: #fff; }
.mobbar__call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobbar__cta { background: var(--brand-accent); color: #fff; }
@media (max-width: 767px) {
  .mobbar { display: flex; }
  body { padding-bottom: 54px; }
}

/* ---------- Brødsmuler ---------- */
.crumbs { background: var(--bg); border-bottom: 1px solid var(--line); font-size: .87rem; }
.crumbs .wrap { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-top: 11px; padding-bottom: 11px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-primary); text-decoration: underline; }
.crumbs span { color: var(--brand-primary); font-weight: 600; }
.crumbs svg { width: 14px; height: 14px; fill: none; stroke: var(--line-2); stroke-width: 2.4; }

/* ---------- Hero ---------- */
.hero { background: var(--brand-primary); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -140px; top: -80px; width: 480px; height: 480px;
  border-radius: 50%; background: rgba(200,117,51,.13);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 40px; align-items: center;
  padding: 56px 0 64px;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 76px 0 88px; }
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { color: rgba(255,255,255,.86); font-size: 1.16rem; }
.hero .eyebrow { color: #E6B27A; }
.hero--sub .hero__inner { padding: 44px 0 52px; }
@media (min-width: 900px) { .hero--sub .hero__inner { padding: 60px 0 68px; } }

.hero-points { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.9); font-size: 1rem; margin: 0; }
.hero-points svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--brand-accent); stroke-width: 2.6; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .9rem; color: rgba(255,255,255,.72); }

/* ---------- Tillitsstripe ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; padding: 26px 0;
}
@media (min-width: 820px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; }
.trust__item svg { width: 21px; height: 21px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--brand-accent-dark); stroke-width: 2.2; }
.trust__item strong { display: block; font-family: var(--font-display); font-size: 1.04rem; color: var(--brand-primary); }
.trust__item span { color: var(--muted); }

/* ---------- Kort ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card__ico { width: 42px; height: 42px; margin-bottom: 14px; fill: none; stroke: var(--brand-accent-dark); stroke-width: 1.9; }

.service-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
.service-card:hover { border-color: var(--brand-accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.service-card h3 { margin-bottom: .35em; }
.service-card p { color: var(--muted); font-size: .97rem; }
.service-card .more {
  margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--brand-accent-dark); font-size: .95rem;
}
.service-card .more svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .16s; }
.service-card:hover .more svg { transform: translateX(3px); }

/* ---------- Chip-kort (internlenking) ---------- */
.chip-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .chip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .chip-grid { grid-template-columns: repeat(3, 1fr); } }
.chip-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-decoration: none; color: var(--brand-primary);
  font-weight: 600; font-size: .98rem; transition: border-color .15s, background .15s;
}
.chip-card:hover { border-color: var(--brand-accent); background: var(--brand-accent-soft); }
.chip-card svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-accent-dark); stroke-width: 2.3; flex: 0 0 auto; }

/* ---------- To-kolonne innhold ---------- */
.split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split--wide-text { }
@media (min-width: 900px) { .split--wide-text { grid-template-columns: 1.15fr .85fr; } }

/* ---------- Liste med hake ---------- */
.check { list-style: none; padding: 0; display: grid; gap: 11px; }
.check li { display: flex; gap: 11px; align-items: flex-start; margin: 0; }
.check li::before {
  content: ""; flex: 0 0 auto; width: 21px; height: 21px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-accent-soft) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A85E24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Prosess ---------- */
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 22px; position: relative;
}
.step::before {
  counter-increment: s; content: counter(s);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--brand-primary); color: #fff; margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Anmeldelser ---------- */
.reviews-score {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; margin: 4px 0 28px; font-size: .96rem; box-shadow: var(--shadow-sm);
}
.reviews-score strong { font-family: var(--font-display); font-size: 1.24rem; color: var(--brand-primary); }
.stars { color: var(--brand-accent); letter-spacing: .12em; }
.reviews { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.review blockquote { margin: 10px 0 16px; font-size: 1rem; line-height: 1.6; }
.review figcaption { font-weight: 600; color: var(--brand-primary); font-size: .93rem; }
.review figcaption span { color: var(--muted); font-weight: 400; }

/* ---------- Plassholdere for data som mangler ---------- */
.todo-card {
  grid-column: 1 / -1;
  border: 2px dashed var(--brand-accent); border-radius: var(--radius-lg);
  background: var(--brand-accent-soft); padding: 22px 24px;
}
.todo-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--brand-accent-dark); margin-bottom: 6px; }
.todo-card p { margin: 0; font-size: .95rem; color: var(--ink); }
.todo-card code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.todo-inline {
  display: inline-block; border-bottom: 2px dashed var(--brand-accent);
  color: inherit; font-style: italic;
}

/* ---------- Bildeflater ---------- */
.frame { margin: 0; }
.frame-ph {
  aspect-ratio: var(--ratio, 4 / 3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    repeating-linear-gradient(45deg, var(--bg) 0 12px, #EDF1F5 12px 24px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: var(--muted); font-size: .82rem; text-align: center; padding: 12px;
}
.frame-ph svg { width: 42px; height: 42px; fill: none; stroke: var(--line-2); stroke-width: 1.6; }
.frame-cap { margin-top: 10px; font-size: .88rem; color: var(--muted); }

/* ---------- Galleri ---------- */
.gallery { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gal-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.gal-card .frame-ph { border: 0; border-radius: 0; }
.gal-card__body { padding: 18px 20px 22px; }
.gal-card__body h3 { font-size: 1.12rem; margin-bottom: .25em; }
.gal-card__body p { margin: 0; color: var(--muted); font-size: .93rem; }
.gal-tag {
  display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-accent-dark);
  background: var(--brand-accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}

/* ---------- Faktaboks ---------- */
.factbox {
  background: var(--brand-primary-soft); border-left: 4px solid var(--brand-accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px;
}
.factbox h3 { font-size: 1.15rem; }
.factbox p:last-child, .factbox ul:last-child { margin-bottom: 0; }

/* ---------- CTA-band ---------- */
.cta-band { background: var(--brand-primary-dark); color: #fff; }
.cta-band__inner {
  display: grid; gap: 24px; padding: 52px 0;
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.2fr auto; align-items: center; gap: 40px; padding: 62px 0; }
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 34px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.contact-list { list-style: none; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.contact-list svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 3px; fill: none; stroke: var(--brand-accent-dark); stroke-width: 2; }
.contact-list strong { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--brand-primary); }
.contact-list a { color: var(--ink); text-decoration: none; font-size: 1.12rem; font-weight: 600; }
.contact-list a:hover { color: var(--brand-accent-dark); text-decoration: underline; }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-md); display: grid; gap: 16px;
}
.form .row2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--surface);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-primary);
}
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .87rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-primary); flex: 0 0 auto; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-primary); color: rgba(255,255,255,.78); font-size: .95rem; }
.footer__grid { display: grid; gap: 34px; padding: 56px 0 40px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand p { margin: 16px 0 20px; max-width: 42ch; }
.footer__h {
  font-family: var(--font-display); font-size: .84rem; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; margin: 0 0 14px;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__list a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__list--plain li { line-height: 1.5; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.16); font-size: .87rem;
}
.footer__bottom a { color: rgba(255,255,255,.78); }
@media (max-width: 767px) { .site-footer { padding-bottom: 8px; } }

/* ---------- Innholdstypografi ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose > *:first-child { margin-top: 0; }

/* ---------- Bevegelse ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Aktiv seksjon i hovedmenyen (tjenesteundersider) */
.nav-list > li.is-section > a { color: var(--brand-primary); background: var(--brand-primary-soft); }

/* ==========================================================
   PRISKALKULATOR + STICKY CTA
   ========================================================== */

/* Flytende knapp (desktop) */
.kalk-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: none; align-items: center; gap: 10px;
  background: var(--brand-accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .98rem;
  padding: 15px 22px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(14,58,92,.28);
  transition: background .15s, transform .15s;
}
.kalk-fab:hover { background: var(--brand-accent-dark); transform: translateY(-2px); }
.kalk-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.kalk-fab[hidden] { display: none !important; }
@media (min-width: 768px) { .kalk-fab { display: inline-flex; } }

/* Tre knapper i mobilbunnlinja */
.mobbar__kalk { background: var(--brand-accent); color: #fff; }
.mobbar__kalk svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobbar__cta { background: var(--brand-primary-dark); color: #fff; }
@media (max-width: 767px) {
  .mobbar a { font-size: .88rem; gap: 6px; padding: 14px 4px; }
}

/* Kalkulatoren */
.kalk {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  overflow: hidden; max-width: 720px; margin: 0 auto;
}
.kalk-progress { height: 6px; background: var(--brand-primary-soft); }
.kalk-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-dark));
  transition: width .3s ease;
}
.kalk-body { padding: 30px 28px 34px; }
@media (max-width: 560px) { .kalk-body { padding: 24px 18px 28px; } }
.kalk-step {
  font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-accent-dark); margin: 0 0 8px;
}
.kalk-q { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-primary); margin: 0 0 20px; line-height: 1.15; }
.kalk-opts { display: grid; gap: 12px; }
@media (min-width: 620px) { .kalk-opts--2 { grid-template-columns: 1fr 1fr; } }
.kalk-opt {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.kalk-opt:hover { border-color: var(--brand-accent); background: var(--brand-accent-soft); }
.kalk-opt b { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--brand-primary); font-weight: 700; }
.kalk-opt small { display: block; margin-top: 3px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.kalk-nav { display: flex; gap: 12px; margin-top: 22px; }
.kalk-back {
  background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  color: var(--muted); padding: 12px 4px;
}
.kalk-back:hover { color: var(--brand-primary); text-decoration: underline; }

.kalk-est {
  background: var(--brand-primary); color: #fff; border-radius: var(--radius-lg);
  padding: 26px 24px; margin-bottom: 24px;
}
.kalk-est-label { font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; color: #E6B27A; }
.kalk-est-price { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.1; margin: 6px 0 12px; }
.kalk-est-sum { font-size: .95rem; color: rgba(255,255,255,.85); border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; }
.kalk-est-note { font-size: .86rem; color: rgba(255,255,255,.7); margin-top: 10px; line-height: 1.5; }
.kalk-uvalidert {
  margin-top: 14px; padding: 10px 12px; border: 2px dashed var(--brand-accent);
  border-radius: var(--radius); font-size: .84rem; color: #fff; background: rgba(200,117,51,.18);
}
.kalk-done { text-align: center; padding: 20px 0; }
.kalk-done .ok {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--brand-accent-soft); color: var(--ok);
  display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
}
