:root {
  color-scheme: light;
  --fjord: #0E3A42;
  --fjord-2: #16505A;
  --fjord-ink: #0A2B31;
  --copper: #B4501C;
  --copper-hover: #9A4315;
  --copper-soft: #E9A77A;
  --ground: #F1F5F4;
  --surface: #FFFFFF;
  --ink: #14272B;
  --muted: #56696C;
  --line: #D6E1DF;
  --alert: #A5281B;
  --alert-soft: #FBECE8;
  --radius: 10px;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
  --bar-h: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; font-stretch: 88%; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
:focus-visible { outline: 3px solid var(--copper-soft); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 6px; }

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

/* ---------- Knapper ---------- */
.call {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--copper); color: #fff;
  font-family: var(--display); font-weight: 800; font-stretch: 90%;
  font-size: 1.2rem; letter-spacing: 0.01em;
  padding: 14px 24px; border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .15s, transform .1s;
}
.call:hover { background: var(--copper-hover); }
.call:active { transform: scale(.98); }
.call svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: var(--radius);
  border: 2px solid currentColor; font-weight: 700; text-decoration: none; font-size: 1rem;
}

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--fjord); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 1.25rem; font-stretch: 85%; letter-spacing: .01em; }
.top nav { display: none; gap: 2px; }
.top nav a { color: #CFE0DE; text-decoration: none; font-size: .95rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.top nav a:hover, .top nav a[aria-current] { color: #fff; background: rgba(255,255,255,.08); }
.top .call { font-size: 1.05rem; padding: 10px 16px; }

/* ---------- Hero ---------- */
.hero { background: var(--fjord); color: #fff; padding-block: 32px 44px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: linear-gradient(180deg, var(--copper-soft), var(--copper) 60%, #7E3510);
}
.hero-grid { display: grid; gap: 32px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-soft); }
.hero h1 { font-size: clamp(2rem, 6.5vw, 3.2rem); font-weight: 800; margin: 10px 0 14px; }
.hero .lede { color: #CFE0DE; font-size: 1.1rem; max-width: 36em; }
.crumbs { font-size: .85rem; color: #9FBAC0; margin-bottom: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: #6F9198; }
.crumbs a { color: #CFE0DE; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.sign { margin-top: 24px; display: grid; gap: 12px; }
.sign-label { font-size: .95rem; color: #CFE0DE; font-weight: 600; }
.sign-number {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display); font-weight: 900; font-stretch: 80%;
  font-size: clamp(2.8rem, 13vw, 5.2rem); line-height: 1;
  color: #fff; text-decoration: none; letter-spacing: .01em;
}
.sign-number:hover { color: var(--copper-soft); }
.sub .sign-number { font-size: clamp(2.4rem, 11vw, 4rem); }
.sign-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sign-actions .call { font-size: 1.3rem; padding: 16px 28px; }
.sign-actions .ghost { color: #fff; }

.ticks { list-style: none; display: grid; gap: 8px; margin-top: 26px; color: #E4EEEC; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--copper-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230E3A42' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.jump { background: var(--fjord-2); border-radius: 14px; padding: 22px; align-self: start; }
.jump h2 { font-size: 1.25rem; margin-bottom: 4px; }
.jump p { color: #CFE0DE; font-size: .95rem; margin-bottom: 14px; }
.jump ul { list-style: none; display: grid; gap: 8px; }
.jump a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: 12px 14px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.jump a:hover { background: rgba(255,255,255,.12); }
.jump a span { color: var(--copper-soft); font-size: .85rem; font-weight: 600; white-space: nowrap; }

/* ---------- Akutt ---------- */
.leak { padding-block: 28px 8px; }
.leak-box { background: var(--alert-soft); border: 2px solid var(--alert); border-radius: 14px; padding: 22px; display: grid; gap: 18px; }
.leak-box h2 { color: var(--alert); font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 900; }
.leak-box ol { list-style: none; display: grid; gap: 10px; counter-reset: s; }
.leak-box li { display: flex; gap: 12px; align-items: flex-start; }
.leak-box li::before {
  counter-increment: s; content: counter(s);
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--alert); color: #fff; font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.leak-box .call { justify-self: start; }

/* ---------- Seksjoner ---------- */
section.block { padding-block: 56px; }
.head { max-width: 40em; margin-bottom: 28px; }
.head h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 800; color: var(--fjord); margin-top: 6px; }
.head .eyebrow { color: var(--copper); }
.head p { color: var(--muted); margin-top: 10px; }

.services { display: grid; gap: 18px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.service h3 { font-size: 1.45rem; color: var(--fjord); font-weight: 800; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { color: var(--copper); }
.service > p { color: var(--muted); }
.service ul { list-style: none; display: grid; gap: 6px; }
.service li, .prose ul li { padding-left: 22px; position: relative; }
.service li::before, .prose ul li::before {
  content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 4px; border-radius: 2px; background: var(--copper);
}
.service-call {
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.service-call .more { color: var(--fjord-2); font-weight: 700; font-size: .95rem; }
.service-call .call { font-size: 1.1rem; padding: 12px 18px; }

/* Steg */
.steps-sec { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; display: grid; gap: 16px; counter-reset: st; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.steps li::before {
  counter-increment: st; content: counter(st); grid-row: span 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--copper); color: var(--copper);
  font-family: var(--display); font-weight: 900; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { font-size: 1.2rem; color: var(--fjord); align-self: end; }
.steps p { color: var(--muted); }

/* Områder */
.areas { display: grid; gap: 12px; }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-decoration: none; display: block; }
a.area:hover { border-color: var(--copper); }
.area b { font-family: var(--display); font-size: 1.2rem; color: var(--fjord); font-stretch: 88%; }
.area p { color: var(--muted); font-size: .95rem; margin-top: 2px; }

/* Brødtekst på undersider */
.page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 48px; }
.page > * { min-width: 0; }
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); color: var(--fjord); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; color: var(--fjord); margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { list-style: none; margin: 0 0 16px; display: grid; gap: 6px; }
.prose ol { counter-reset: p; }
.prose ol li { padding-left: 34px; position: relative; }
.prose ol li::before {
  counter-increment: p; content: counter(p); position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--fjord); color: #fff;
  font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.prose a { color: var(--copper); font-weight: 600; }
.prose a.call { color: #fff; }
.prose a.card-link { font-weight: 400; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--fjord); font-weight: 700; background: var(--surface); }
.prose td.num { font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; margin-bottom: 16px; }
.table-wrap table { margin-bottom: 0; min-width: 480px; }
.note { font-size: .9rem; color: var(--muted); }

.strip {
  margin: 28px 0; padding: 22px; border-radius: 14px;
  background: var(--fjord); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.strip p { margin: 0; font-weight: 700; font-size: 1.1rem; max-width: 22em; }
.strip .call { font-size: 1.2rem; }

.aside-col { display: grid; gap: 18px; align-content: start; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.side-card h2 { font-size: 1.15rem; color: var(--fjord); margin-bottom: 10px; }
.side-num { display: block; font-family: var(--display); font-weight: 900; font-size: 2.1rem; line-height: 1.1; color: var(--fjord); text-decoration: none; font-stretch: 82%; }
.side-note { margin: 4px 0 12px; }
.side-card ul { list-style: none; display: grid; gap: 4px; }
.side-card a { color: var(--fjord-2); font-weight: 600; text-decoration: none; }
.side-card a:hover { color: var(--copper); text-decoration: underline; }
.side-card a[aria-current] { color: var(--copper); }
.side-card a.call, .side-card a.call:hover { color: #fff; text-decoration: none; }
.side-card a.side-num:hover { color: var(--copper); text-decoration: none; }

/* Skjema + FAQ */
.split { display: grid; gap: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font-weight: 700; color: var(--fjord); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 12px;
  font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--copper); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }
.faq details p a { color: var(--copper); font-weight: 700; }

.callback { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; align-self: start; }
.callback h2 { font-size: 1.6rem; color: var(--fjord); }
.callback > p { color: var(--muted); margin: 6px 0 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--fjord-2); box-shadow: 0 0 0 3px rgba(22,80,90,.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit {
  width: 100%; font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: 14px; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--fjord); color: #fff;
}
.submit:hover { background: var(--fjord-2); }
.submit:disabled { opacity: .6; cursor: wait; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.form-note a { color: var(--fjord-2); }
.form-msg { margin-top: 12px; font-size: .95rem; }
.form-msg.err { color: var(--alert); font-weight: 600; }
.thanks { text-align: center; padding: 18px 0 6px; }
.thanks h3 { font-size: 1.4rem; color: var(--fjord); margin-bottom: 6px; }
.thanks p { color: var(--muted); }
.or-call { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .95rem; }
.or-call a { display: block; margin-top: 2px; font-family: var(--display); font-weight: 900; font-size: 2rem; color: var(--fjord); text-decoration: none; font-stretch: 82%; }

/* Relaterte lenker */
.cards { display: grid; gap: 14px; }
.card-link {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; text-decoration: none;
}
.card-link:hover { border-color: var(--copper); }
.card-link b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--fjord); font-stretch: 88%; margin-bottom: 4px; }
.card-link span { color: var(--muted); font-size: .95rem; }

/* Avslutning */
.final { background: var(--fjord); color: #fff; text-align: center; padding-block: 56px; }
.final h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 900; }
.final p { color: #CFE0DE; margin: 10px auto 22px; max-width: 30em; }
.final .sign-number { justify-content: center; }
.final .call { margin-top: 18px; font-size: 1.3rem; padding: 16px 30px; }

footer { background: var(--fjord-ink); color: #A9C0BD; font-size: .92rem; padding-block: 40px 32px; }
footer .cols { display: grid; gap: 28px; }
footer h2 { font-family: var(--body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
footer ul { list-style: none; display: grid; gap: 4px; }
footer a { color: #D6E4E2; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .fnum { font-family: var(--display); font-weight: 900; font-size: 1.9rem; color: #fff; text-decoration: none; font-stretch: 82%; }
footer .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 6px; font-size: .85rem; }

/* Fast ringelinje på mobil */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(10,43,49,.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
}
.bar .call { font-size: 1.2rem; padding: 14px 12px; }
.bar .ghost { color: var(--fjord); font-size: .9rem; padding: 12px 12px; }

@media (max-width: 859px) {
  :root { --bar-h: 84px; }
  .top .call .lbl { display: none; }
}

@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .steps li::before { grid-row: auto; margin-bottom: 8px; }
  .leak-box { grid-template-columns: 1fr 1fr; align-items: center; padding: 28px; }
  .leak-box h2 { grid-column: 1 / -1; }
  footer .cols { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  :root { --gutter: 28px; }
  .bar { display: none; }
  .top nav { display: flex; }
  .hero { padding-block: 56px 72px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
  .sub .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .callback { position: sticky; top: 84px; }
  .leak-box { grid-template-columns: auto 1fr auto; gap: 28px; }
  .leak-box h2 { grid-column: auto; max-width: 11em; }
  .page { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
  .aside-col { position: sticky; top: 84px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(3, 1fr); }
  footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* Samtykkebanner */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--bar-h) + 12px); z-index: 60;
  max-width: 560px; margin-inline: auto;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10,43,49,.18); padding: 16px 18px;
  display: grid; gap: 12px; font-size: .95rem;
}
.consent a { color: var(--fjord-2); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent button { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 8px; cursor: pointer; border: 2px solid var(--fjord); }
.consent-no { background: transparent; color: var(--fjord); }
.consent-yes { background: var(--fjord); color: #fff; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--copper); text-decoration: underline; cursor: pointer; }
