
/* ---------- Selvhostede fonter (OFL) — ingen CDN ---------- */
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorantgaramond.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrainsmono.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #F4F1EA;
  --bg-alt: #EDE8DF;
  --bg-card: #FDFAF5;
  --ink: #1C1710;
  --ink-soft: #5C5146;
  --ink-mute: #6B5F52;
  --accent: #C04A26;
  --accent-deep: #A03B1A;
  --accent-soft: #E8C4B4;
  --line: rgba(28, 23, 16, 0.09);
  --line-strong: rgba(28, 23, 16, 0.18);
  --shadow-sm: 0 1px 3px rgba(28, 23, 16, 0.05);
  --shadow-md: 0 2px 12px rgba(28, 23, 16, 0.07);
  --shadow-lg: 0 12px 32px rgba(28, 23, 16, 0.09);
  --footer-bg: #EAE4DC;
  --kat-bolig: #4F6F5E;
  --kat-forbruk: #C04A26;
  --kat-arbeid: #6B5B95;
  --kat-familie: #B8654A;
  --kat-gjeld: #7A6E5D;
  --kat-tjenester: #4E6E80;
  --serif: Optima, 'Optima Nova', 'URW Classico', Candara, 'Lucida Sans', 'Lucida Sans Unicode', 'Trebuchet MS', sans-serif;
  --serif-prose: 'Palatino', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --hd-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --hd-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wm: 'Cormorant Garamond', 'Newsreader', Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
main.page { max-width: 1100px; margin: 0 auto; padding: 0 32px; min-height: calc(100vh - 200px); }
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  main.page { padding: 0 20px; }
}
.narrow { max-width: 740px; margin: 0 auto; padding: 0 32px; }

/* ---------- Site header (R-logo + minimal Optima nav) ---------- */
.site-header {
  max-width: 1180px; margin: 0 auto;
  padding: 32px 32px 0;
  display: flex; justify-content: space-between; align-items: center;
  position: relative;
}
.site-logo {
  display: inline-flex; align-items: center;
  text-decoration: none; color: var(--ink);
  transition: opacity 0.2s ease;
}
.site-logo:hover { opacity: 0.7; }
.site-logo svg { width: 32px; height: 42px; display: block; color: var(--ink); }

.site-nav-links {
  display: flex; gap: 30px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.site-nav-links a {
  font-family: var(--serif);
  font-size: 14px; font-weight: 500;
  color: var(--ink-mute); text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}
.site-nav-links a:hover { color: var(--ink); }
.site-nav-links a.site-nav-cta {
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 5px;
}
.site-nav-links a.site-nav-cta:hover { color: var(--accent-deep); }

.site-nav-toggle { display: none; }
.site-nav-toggle-label {
  display: none; cursor: pointer;
  padding: 8px; margin: -8px;
}
.site-nav-toggle-label svg { width: 22px; height: 22px; color: var(--ink); display: block; }

@media (max-width: 720px) {
  .site-header { padding: 24px 20px 0; }
  .site-logo svg { width: 28px; height: 36px; }
  .site-nav-toggle-label { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav-links {
    display: none; position: absolute;
    top: calc(100% + 8px); right: 20px;
    background: var(--bg-card); flex-direction: column;
    align-items: flex-start; gap: 14px;
    padding: 22px 28px; border-radius: 12px;
    box-shadow: 0 10px 36px rgba(28, 23, 16, 0.10);
    z-index: 50; border: 1px solid var(--line);
  }
  .site-nav-toggle:checked ~ .site-nav-links { display: flex; }
  .site-nav-links a { font-size: 15px; }
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 14px; color: var(--ink-mute); margin: 24px 0 32px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { opacity: 0.4; }
.breadcrumbs .current { color: var(--ink); }

/* Article header */
.article-header { padding: 24px 0 56px; max-width: 880px; }
.article-eyebrow {
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 24px;
}
.article-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08; letter-spacing: -0.022em; margin-bottom: 28px;
}
.article-title .paragraf-num { color: var(--accent); font-style: italic; }
.article-description {
  font-size: 19px; color: var(--ink-soft); line-height: 1.55; max-width: 700px;
}

/* Kort svar — featured callout */
.sp-verdict {
  display: inline-block; vertical-align: middle;
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .04em;
  border-radius: 7px; padding: 5px 13px; margin-right: 13px;
  transform: translateY(-4px);
}
.sp-kilde {
  font-family: var(--sans); font-size: 12px; color: var(--ink-mute);
  margin: 10px 0 0 !important; line-height: 1.5;
}
.sp-relatert { margin: 34px 0 0; }
.sp-relchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.sp-relchip {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  background: var(--bg-card); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 16px; padding: 7px 15px; text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.sp-relchip:hover { border-color: var(--accent); color: var(--accent); }
.sp-relchip-verktoy { background: #DFF0E9; border-color: #BCDCCD; color: #0E5C46; }
.sp-relchip-verktoy:hover { border-color: #0E5C46; color: #085041; }
.sp-vurder {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: rgba(192,74,38,.07); border: 1px solid var(--accent-soft);
  border-radius: 13px; padding: 15px 19px; margin: 14px 0 0;
}
.sp-vurder span { font-family: var(--sans); font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.sp-vurder a { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.sp-vurder a:hover { color: var(--accent-deep); }
@media (max-width: 640px) {
  .sp-vurder { flex-direction: column; align-items: flex-start; }
}
.kort-svar {
  background: var(--bg-card); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 32px 36px; border-radius: 0 16px 16px 0;
  margin: 20px 0 56px;
  box-shadow: var(--shadow-sm);
}
.kort-svar .kort-svar-label {
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 14px;
}
.kort-svar p {
  font-family: var(--serif); font-size: 20px; line-height: 1.6;
  color: var(--ink); margin: 0; letter-spacing: -0.005em;
}

/* Article body */
.article-body {
  font-family: var(--serif-prose);
  font-size: 18px; line-height: 1.7;
  color: var(--ink-soft);
}
.article-body h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.15; letter-spacing: -0.015em;
  margin: 64px 0 20px;
  color: var(--ink);
}
.article-body h2 + p, .article-body h2 + ul, .article-body h2 + ol { margin-top: 0; }
.article-body h3 {
  font-family: var(--serif); font-weight: 500; font-size: 22px;
  line-height: 1.3; margin: 32px 0 12px; letter-spacing: -0.005em;
}
.article-body p { margin-bottom: 18px; color: var(--ink); }
.article-body ul, .article-body ol { margin: 18px 0 18px 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }
.article-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--ink); }

/* Lovtekst blockquote */
.lovtekst {
  background: white; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 32px; margin: 24px 0;
  font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--ink-soft);
  font-style: italic; white-space: pre-wrap;
}
.lovtekst-attr {
  margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: 13px;
  color: var(--ink-mute); display: flex; align-items: center; gap: 8px;
}
.lovtekst-attr::before {
  content: ''; width: 24px; height: 1px; background: var(--ink-mute); display: inline-block;
}

/* Example */
.example {
  background: var(--bg-alt); border-radius: 12px;
  padding: 24px 28px; margin: 24px 0;
}
.example-name {
  font-family: var(--serif); font-weight: 600; font-size: 16px;
  color: var(--accent); margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.example-name::before { content: 'Eksempel · '; color: var(--ink-mute); font-weight: 500; }
.example p { margin: 0; color: var(--ink); }

/* FAQ — Dumme spørsmål */
.faq { margin: 16px 0; }
.faq-item {
  border-top: 1px solid var(--line); padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  font-family: var(--serif); font-weight: 500; font-size: 19px;
  line-height: 1.35; color: var(--ink); margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.faq-a { color: var(--ink-soft); line-height: 1.6; }

/* Related */
.related-section {
  margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line);
}
.related-label {
  font-size: 12px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 24px;
}
.related-cards { display: grid; gap: 12px; }
.om-takk {
  margin: 2.6rem 0 0.5rem; padding: 22px 26px;
  background: var(--bg-card); border: 1px solid var(--accent-soft);
  border-left: 4px solid var(--accent); border-radius: 12px;
}
.om-takk h2 {
  font-family: var(--serif); font-weight: 500; font-size: 22px;
  color: var(--ink); margin: 0 0 8px;
}
.om-takk p { color: var(--ink-soft); margin: 0 0 12px; line-height: 1.55; }
.om-takk a {
  display: inline-block; font-weight: 600; color: var(--accent);
  text-decoration: none; transition: color 0.2s;
}
.om-takk a:hover { color: var(--accent-deep); text-decoration: underline; }
.related-card {
  background: white; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 24px; text-decoration: none; color: inherit; display: block;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  transform: translateY(-2px); border-color: var(--accent-soft);
  box-shadow: 0 8px 24px rgba(31,26,20,0.06);
}
.related-card-meta {
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px;
}
.related-card-title {
  font-family: var(--serif); font-weight: 500; font-size: 18px;
  line-height: 1.3; color: var(--ink);
}
.related-card.unavailable { opacity: 0.6; pointer-events: none; }
.lenke-tom, .lov-ref-tom { color: inherit; }
.sp-body .lov-ref-tom, .lap-body .lenke-tom { color: var(--ink, #3A3835); border-bottom: 1px dotted #b9b3a7; }
.related-card.unavailable .related-card-meta::after {
  content: ' · KOMMER SNART';
  color: var(--ink-mute);
}

/* Form CTA section */
.cta-section {
  background: var(--bg); padding: 80px 0 60px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.cta-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; gap: 40px; } }
.cta-intro h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.1;
  letter-spacing: -0.015em; margin-bottom: 20px;
}
.cta-intro h2 em { font-style: italic; color: var(--accent); }
.cta-intro p { font-size: 17px; color: var(--ink-soft); line-height: 1.55; max-width: 420px; }

form.contact-form {
  background: var(--bg); padding: 40px; border-radius: 20px; border: 1px solid var(--line);
}
@media (max-width: 600px) { form.contact-form { padding: 28px 22px; } }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink);
}
.form-field input, .form-field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 16px; background: var(--bg-alt); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(194,84,52,0.12);
}
.form-field textarea {
  min-height: 120px; resize: vertical; font-family: var(--sans); line-height: 1.5;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-mute); }
.form-hint { margin-top: 6px; font-size: 13px; color: var(--ink-mute); line-height: 1.45; }
.form-error { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent-deep); line-height: 1.45; }
.form-error:empty { display: none; }
.form-field input[aria-invalid="true"] { border-color: var(--accent-deep); }
.form-submit {
  width: 100%; background: var(--ink); color: var(--bg); padding: 16px; border: none;
  border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer;
  font-family: var(--sans); transition: background 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover { background: var(--accent); transform: translateY(-1px); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--ink-mute); text-align: center; line-height: 1.5; }
.form-note a { color: var(--accent); text-decoration: none; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.form-note a:hover { border-bottom-color: var(--accent); }
.form-success { display: none; background: var(--bg); padding: 40px; border-radius: 20px; border: 1px solid var(--accent-soft); text-align: center; }
.form-success.show { display: block; }
form.contact-form.hide { display: none; }
.form-success h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); }

/* Footer — warm light redesign */
/* ---------- Minimal site footer ---------- */

/* ============================================================
   Spørsmål-artikkel v2 — espresso/messing
   ============================================================ */
.sp2-crumb-bar { background: #f6f1e6; border-bottom: 1px solid #e5dac4; }
.sp2-crumb {
  max-width: 1200px; margin: 0 auto; padding: 12px 40px;
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.01em;
  color: #8f8264; display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.sp2-crumb a { color: #8f8264; text-decoration: none; transition: color .15s ease; }
.sp2-crumb a:hover { color: #4a3d2e; }
.sp2-crumb .sep { opacity: .6; }
.sp2-crumb .current { color: #4a3d2e; font-weight: 500; }

.sp2-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 44px 40px 80px;
  display: grid;
  grid-template-columns: 200px 640px minmax(0, 1fr);
  column-gap: 40px;
  align-items: start;
}
.sp2-rail { position: sticky; top: 28px; max-height: calc(100vh - 56px); overflow-y: auto; }
.sp2-rail-label {
  font-family: var(--hd-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #7a7061; padding-bottom: 10px; border-bottom: 1px solid #d8cbb2;
  margin: 0 0 6px;
}
.sp2-rail-label + .sp2-rail-label,
.sp2-relart + .sp2-rail-label { margin-top: 34px; }
.sp2-tocd > summary { display: none; }
.sp2-toc { list-style: none; margin: 0; padding: 0; }
.sp2-toc a {
  display: block; padding: 7px 0 7px 12px;
  border-left: 2px solid transparent;
  font-family: var(--sans); font-size: 12.5px; line-height: 1.45;
  color: #7a7061; text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.sp2-toc a:hover { color: #1c1610; }
.sp2-toc a.aktiv { border-left-color: #b97d3f; color: #1c1610; font-weight: 600; }

.sp2-innhold { min-width: 0; }
.sp2-kat {
  font-family: var(--hd-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #b04a24; margin: 0 0 14px;
}
.sp2-tittel {
  font-family: var(--hd-serif); font-weight: 500;
  font-size: 26px; line-height: 1.3; letter-spacing: -0.008em;
  color: #1c1610; margin: 0 0 12px;
}
.sp2-meta {
  font-family: var(--sans); font-size: 11.5px; color: #8f8264;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin: 0 0 28px;
}
.sp2-meta .d { color: #d8cbb2; }

.sp2-kort { background: #1c1610; padding: 22px 26px 20px; margin: 0 0 44px; }
.sp2-kort-topp {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.sp2-kort-label {
  font-family: var(--hd-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: #b97d3f;
}
.sp2-verdikt {
  font-family: var(--hd-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; padding: 3px 9px;
}
.sp2-kort-tekst {
  font-family: var(--hd-serif); font-size: 17px; line-height: 1.55;
  color: #f4ede1; margin: 0;
}
.sp2-kort-bunn {
  border-top: 1px solid #3a3024; margin-top: 18px; padding-top: 14px;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 12px; color: #8f8264;
}
.sp2-chip {
  font-family: var(--hd-mono); font-size: 10.5px; letter-spacing: .04em;
  border: 1px solid #4a3d2e; color: #f4ede1; text-decoration: none;
  padding: 4px 9px; white-space: nowrap;
  transition: border-color .15s ease;
}
a.sp2-chip:hover { border-color: #b97d3f; }
.sp2-chip-dead { opacity: .55; }
.sp2-kort-lov { color: #8f8264; margin-right: 4px; }

.sp2-prosa { font-family: var(--sans); font-size: 16px; line-height: 1.75; color: #3a3024; }
.sp2-prosa h2 {
  font-family: var(--hd-serif); font-weight: 500; font-size: 23px;
  line-height: 1.3; letter-spacing: -0.005em; color: #1c1610;
  margin: 46px 0 14px;
}
.sp2-prosa > .sp2-sek:first-child h2 { margin-top: 0; }
.sp2-prosa h3 {
  font-family: var(--hd-serif); font-weight: 500; font-size: 18px;
  color: #1c1610; margin: 30px 0 10px;
}
.sp2-prosa p { margin: 0 0 16px; }
.sp2-prosa ul, .sp2-prosa ol { margin: 0 0 18px 22px; }
.sp2-prosa li { margin-bottom: 8px; }
.sp2-prosa strong { font-weight: 600; color: #1c1610; }
.sp2-prosa a {
  color: #1c1610; text-decoration: underline;
  text-decoration-color: #b97d3f; text-decoration-thickness: 1px;
  text-underline-offset: 3px; font-weight: 500;
}
.sp2-prosa a:hover { color: #b04a24; }
.sp2-prosa .lov-ref-tom { color: inherit; }
.sp2-prosa table { border-collapse: collapse; width: 100%; margin: 0 0 20px; font-size: 14.5px; }
.sp2-prosa th, .sp2-prosa td { border: 1px solid #e5dac4; padding: 8px 12px; text-align: left; }
.sp2-prosa th { font-weight: 600; color: #1c1610; background: #fdfaf2; }
.sp2-prosa blockquote { border-left: 2px solid #d8cbb2; margin: 0 0 18px; padding: 2px 0 2px 18px; color: #5f5442; }

.sp2-lov { border: 1px solid #d8cbb2; background: #fdfaf2; margin: 44px 0; }
.sp2-lov-topp {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 26px; border-bottom: 1px solid #d8cbb2; flex-wrap: wrap;
}
.sp2-lov-topp h2 {
  font-family: var(--hd-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: #b04a24; margin: 0;
}
.sp2-lov-hint { font-family: var(--sans); font-size: 11px; color: #7a7061; }
.sp2-lov-body { padding: 20px 26px 6px; }

.sp2-eks { background: #efe6d3; border-left: 2px solid #b97d3f; padding: 24px 28px 12px; margin: 44px 0; }
.sp2-eks-label {
  font-family: var(--hd-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: #7a7061; margin: 0 0 6px;
}
.sp2-eks h2 {
  font-family: var(--hd-serif); font-weight: 500; font-size: 18px;
  color: #1c1610; margin: 0 0 10px;
}
.sp2-eks p { font-size: 15px; line-height: 1.7; }

.sp2-steg ol { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: steg; }
.sp2-steg ol > li {
  counter-increment: steg; position: relative;
  padding: 0 0 28px 52px; margin: 0;
  font-size: 14.5px; color: #5f5442; line-height: 1.6;
}
.sp2-steg ol > li::before {
  content: counter(steg);
  position: absolute; left: 0; top: -3px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #b97d3f; background: #fdfaf2;
  font-family: var(--hd-serif); font-size: 15px; color: #1c1610;
}
.sp2-steg ol > li:not(:last-child)::after {
  content: ''; position: absolute; left: 15px; top: 30px; bottom: 3px;
  width: 1px; background: #ddd0b8;
}
.sp2-steg ol > li strong { font-size: 15.5px; font-weight: 600; color: #1c1610; }

.sp2-unnga ul { list-style: none; margin: 12px 0 0; padding: 0; }
.sp2-unnga li {
  position: relative; margin: 0;
  padding: 14px 0 14px 27px;
  border-bottom: 1px solid #e5dac4;
  font-size: 15px; line-height: 1.65;
}
.sp2-unnga li:first-child { border-top: 1px solid #e5dac4; }
.sp2-unnga li::before {
  content: '✕'; position: absolute; left: 2px; top: 16px;
  font-family: var(--hd-mono); font-size: 11px; color: #b04a24;
}

.sp2-faq details { border-bottom: 1px solid #d8cbb2; }
.sp2-faq details:first-of-type { border-top: 1px solid #d8cbb2; }
.sp2-faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 16px 0;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: #1c1610;
}
.sp2-faq summary::-webkit-details-marker { display: none; }
.sp2-faq summary::after {
  content: '+'; font-family: var(--hd-serif); font-size: 20px;
  color: #b97d3f; line-height: 1; flex: none;
}
.sp2-faq details[open] summary::after { content: '−'; }
.sp2-faq-svar { padding: 0 0 18px; font-size: 15px; color: #3a3024; }
.sp2-faq-svar p:last-child { margin-bottom: 0; }

.sp2-relart { list-style: none; margin: 0; padding: 0; }
.sp2-relart li { border-bottom: 1px solid #e5dac4; }
.sp2-relart a {
  display: block; padding: 12px 0;
  font-family: var(--hd-serif); font-size: 15px; line-height: 1.4;
  color: #1c1610; text-decoration: none;
  transition: color .15s ease;
}
.sp2-relart a:hover { color: #b04a24; }

.sp2-vurder {
  margin: 56px 0 0; border: 1px solid #d8cbb2; background: #fdfaf2;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.sp2-vurder span { font-family: var(--sans); font-size: 13.5px; color: #5f5442; line-height: 1.55; }
.sp2-vurder a {
  font-family: var(--hd-serif); font-size: 14.5px; font-weight: 500;
  color: #1c1610; text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid #b97d3f; padding-bottom: 1px;
  transition: color .15s ease;
}
.sp2-vurder a:hover { color: #b04a24; }

/* ---- Saksbanken ---- */
.sb-ingress { font-family: var(--serif-prose); font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 26px; }
.sb-fakta { border: 1px solid #d8cbb2; background: #fdfaf2; padding: 16px 20px; margin: 0 0 14px;
  display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; font-family: var(--sans); font-size: 14px; line-height: 1.45; }
.sb-fakta dt { color: #5f5442; margin: 0; }
.sb-fakta dd { color: var(--ink); margin: 0; font-weight: 600; }
.sb-lignende { font-family: var(--sans); font-size: 14.5px; color: #5f5442; margin: 0 0 32px; line-height: 1.55; }
.sp2-prosa + .sb-lignende { margin: 30px 0 0; }
/* ---- Supersidene og veiledningslenker ---- */
.ss-tabell { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 24px; border: 1px solid #e6dcc6; }
.ss-tabell table { min-width: 520px; margin: 0; width: 100%; border-collapse: collapse; }
.ss-tabell th, .ss-tabell td { padding: 8px 12px; border-bottom: 1px solid #e6dcc6; text-align: left; vertical-align: top; font-family: var(--sans); font-size: 14px; line-height: 1.5; }
.ss-tabell th { background: #fdfaf2; font-weight: 600; color: #5f5442; font-size: 13px; }
.ss-sjekkliste { list-style: none; padding-left: 0 !important; }
.ss-sjekkliste li.ss-sjekk { list-style: none; margin: 0 0 8px; }
.ss-sjekkliste li.ss-sjekk::before, .ss-sjekkliste li.ss-sjekk::marker { content: none; }
.ss-sjekk label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ss-sjekk input[type="checkbox"] { width: 17px; height: 17px; margin-top: 4px; accent-color: var(--accent); flex-shrink: 0; }
.ss-prosa h3 { margin-top: 26px; }
.ss-veiledning { font-family: var(--sans); font-size: 14.5px; line-height: 1.55; color: #5f5442;
  margin: 26px 0 0; padding: 12px 16px; border: 1px solid #d8cbb2; background: #fdfaf2; }
.ss-veiledning a { color: #1c1610; text-decoration: none; border-bottom: 1px solid #b97d3f; transition: color .15s ease; }
.ss-veiledning a:hover { color: #b04a24; }
.sb-flere + .ss-veiledning, .sb-temaer + .ss-veiledning { margin-top: 28px; }

.sb-lignende a, .sb-kilde a, .sb-liste a, .sb-temaer a, .spk-saksbank a {
  color: #1c1610; text-decoration: none; border-bottom: 1px solid #b97d3f; transition: color .15s ease; }
.sb-lignende a:hover, .sb-kilde a:hover, .sb-liste a:hover, .sb-temaer a:hover, .spk-saksbank a:hover { color: #b04a24; }
.spk-saksbank { margin-top: 8px !important; }
.sb-kilde { font-family: var(--sans); font-size: 15px; margin: 34px 0 0; }
.sb-flere { margin: 44px 0 0; }
.sb-flere h2 { font-family: var(--hd-serif); font-size: 21px; font-weight: 500; color: var(--ink); margin: 0 0 14px; letter-spacing: -0.01em; }
.sb-flere h2 + .sb-temaer + h2, .sb-temaer + h2 { margin-top: 28px; }
.sb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.sb-chips a { display: inline-block; font-family: var(--sans); font-size: 13px; border: 1px solid #d8cbb2; border-radius: 999px;
  padding: 5px 12px; color: #1c1610; text-decoration: none; background: #fdfaf2; transition: border-color .15s ease; }
.sb-chips a:hover { border-color: #b97d3f; }
.sb-liste { list-style: none; padding: 0; margin: 0; font-family: var(--sans); }
.sb-liste li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between;
  gap: 16px; align-items: baseline; font-size: 15px; line-height: 1.45; }
.sb-liste li span { color: var(--ink-mute); font-size: 13px; white-space: nowrap; }
.sb-liste li.sb-ingen { color: var(--ink-mute); }
.sb-tabell { overflow-x: auto; margin: 0 0 28px; }
.sb-tabell table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 14px; }
.sb-tabell th, .sb-tabell td { text-align: right; padding: 8px 10px; border-bottom: 1px solid #e6dcc6; white-space: nowrap; }
.sb-tabell th:first-child, .sb-tabell td:first-child { text-align: left; }
.sb-tabell th { font-weight: 600; color: #5f5442; font-size: 12.5px; vertical-align: bottom; white-space: normal; }
.sb-tabell tr.sb-sumrad td { font-weight: 700; border-top: 1.5px solid #d8cbb2; }
.sb-note { font-family: var(--sans); font-size: 12.5px; color: var(--ink-mute); margin: -16px 0 30px; line-height: 1.5; }
.sb-note-bunn { margin: 32px 0 0; }
.sb-sok { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 18px; }
.sb-sok label { display: flex; flex-direction: column; gap: 5px; font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: #5f5442; }
.sb-sok select, .sb-sok input { font-family: var(--sans); font-size: 15px; font-weight: 400; padding: 9px 10px; border: 1px solid #d8cbb2;
  background: #fdfaf2; color: var(--ink); border-radius: 8px; width: 100%; min-width: 0; }
.sb-sok select:focus, .sb-sok input:focus { outline: none; border-color: #b97d3f; }
.sb-sok .sb-fritekst { grid-column: 1 / -1; }
.sb-sum { display: flex; flex-wrap: wrap; gap: 10px 32px; padding: 14px 18px; border: 1px solid #d8cbb2; background: #fdfaf2;
  margin: 0 0 14px; font-family: var(--sans); font-size: 13px; color: #5f5442; }
.sb-sum b { display: block; font-family: var(--hd-serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.sb-mer { margin: 16px 0 0; font-family: var(--sans); font-size: 14px; font-weight: 600; color: #1c1610; background: transparent;
  border: 1px solid #d8cbb2; border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.sb-mer:hover { border-color: #b97d3f; }
.sb-temaer { columns: 2 240px; column-gap: 32px; list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: 15px; }
.sb-temaer li { break-inside: avoid; padding: 5px 0; }
.sb-temaer span { color: var(--ink-mute); font-size: 13px; }
@media (max-width: 600px) {
  .sb-fakta { grid-template-columns: 1fr; gap: 0; }
  .sb-fakta dd { margin-bottom: 8px; }
  .sb-liste li { flex-direction: column; gap: 2px; }
}

@media (max-width: 1120px) {
  .sp2-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .sp2-rail-hoyre { display: none; }
}
@media (max-width: 900px) {
  .sp2-crumb { padding: 11px 20px; }
  .sp2-grid { grid-template-columns: 1fr; padding: 26px 20px 110px; }
  .sp2-rail { position: static; max-height: none; overflow: visible; }
  .sp2-rail-venstre { margin: 0 0 26px; }
  .sp2-tocd > summary {
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; list-style: none;
    font-family: var(--hd-mono); font-size: 10.5px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase; color: #7a7061;
    padding: 11px 14px; border: 1px solid #d8cbb2; background: #fdfaf2;
  }
  .sp2-tocd > summary::-webkit-details-marker { display: none; }
  .sp2-tocd > summary::after { content: '+'; font-family: var(--hd-serif); font-size: 17px; color: #b97d3f; }
  .sp2-tocd[open] > summary::after { content: '−'; }
  .sp2-tocd .sp2-rail-label { display: none; }
  .sp2-tocd .sp2-toc { border: 1px solid #d8cbb2; border-top: none; padding: 8px 14px; background: #fdfaf2; }
  .sp2-rail-hoyre { display: block; margin: 44px 0 0; }
  .sp2-vurder { flex-direction: column; align-items: flex-start; }
}

.site-footer {
  max-width: 1200px; margin: 72px auto 0;
  padding: 20px 40px 28px;
  border-top: 1px solid #e5dac4;
  display: flex; justify-content: flex-end; align-items: center;
  font-family: var(--sans); font-size: 12px;
  color: #8f8264;
  background: transparent;
}
.site-footer-copy { letter-spacing: 0.01em; }
.site-footer-links { display: inline-flex; gap: 24px; }
.site-footer-links a,
.site-footer a {
  color: #8f8264; text-decoration: none;
  transition: color 0.18s ease;
  font-size: 12px;
}
.site-footer-links a:hover,
.site-footer a:hover { color: #3a3024; }

@media (max-width: 540px) {
  .site-footer {
    padding: 18px 20px 22px;
    flex-direction: column; gap: 12px; align-items: flex-start;
  }
}
}
/* Hub — tjeneste og kontrakt-kort */
.tjenester-hero { padding: 48px 0 40px; }
.tjenester-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 16px; }
.tjenester-hero p { font-size: 17px; color: var(--ink-soft); max-width: 580px; line-height: 1.55; }
.tjenester-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 36px 0 64px; }
.tjeneste-kort {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 32px; text-decoration: none; color: var(--ink);
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  display: flex; flex-direction: column; gap: 8px; position: relative; min-height: 190px;
}
.tjeneste-kort:not(.snart):hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(177,74,42,0.25); }
.tjeneste-kort.snart { pointer-events: none; }
.tjeneste-kat {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent); margin-bottom: 4px;
}
.tjeneste-kat.graa { color: var(--ink-mute); }
.tjeneste-kort h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; margin: 0; }
.tjeneste-kort.snart h3 { color: var(--ink-soft); }
.tjeneste-kort p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; flex: 1; margin: 0; }
.tjeneste-pil { font-size: 13px; color: var(--accent); font-weight: 600; margin-top: 10px; }
.tjeneste-kort.snart .tjeneste-pil { color: var(--ink-mute); }
.snart-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--bg-alt); color: var(--ink-mute); padding: 3px 9px; border-radius: 20px;
}

/* Mobile wizard fixes — applied globally */
@media (max-width: 640px) {
  .vg, .vg3 { grid-template-columns: 1fr !important; }
  .enk-kort, .steg-kort, .kalkulator { padding: 20px 16px !important; }
  .kalkulator-valg label { padding: 11px 14px; }
  .w-input, .wizard-input { font-size: 16px; } /* prevent iOS zoom */
}
@media (max-width: 760px) {
  .vg3 { grid-template-columns: 1fr 1fr !important; }
}
/* Grid overflow fix — all two-column layouts */
.kontrakt-layout > *, .rek-layout > * { min-width: 0; }
@media (max-width: 1024px) {
  .kontrakt-layout, .rek-layout { grid-template-columns: 1fr !important; }
  .kontrakt-skjema, .rek-skjema { position: static !important; }
}

/* ── Lovside-redesign ── */
.lov-side-hero { padding: 56px 0 44px; }
.lov-hero-mark { font-family: var(--serif); font-size: 36px; color: var(--accent); margin-bottom: 10px; display: block; line-height: 1; }
.lov-hero-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 18px; }
.lov-hero-h1 em { font-style: italic; color: var(--accent); }
.lov-hero-desc { font-size: 18px; color: var(--ink-soft); line-height: 1.65; max-width: 640px; margin-bottom: 24px; }
.lov-hero-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.lov-hero-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
/* Featured */
.lov-feat-sek { margin-bottom: 44px; }
.lov-sek-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-mute); margin-bottom: 14px; display: block; }
.lov-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:700px) { .lov-feat-grid { grid-template-columns: 1fr; } }
.lov-feat-kort { background: var(--bg-card); border: 1.5px solid var(--line); border-radius: 18px; padding: 28px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s, transform .13s; }
.lov-feat-kort:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(28,23,16,.1); transform: translateY(-2px); }
.lov-feat-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--accent); margin-bottom: 10px; }
.lov-feat-tittel { font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.25; margin-bottom: 10px; }
.lov-feat-txt { font-size: 13px; color: var(--ink-soft); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.lov-feat-cta { font-size: 13px; font-weight: 700; color: var(--accent); }
/* Search */
.lov-sok-wrap { position: relative; margin-bottom: 12px; }
.lov-sok-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-mute); pointer-events: none; width: 16px; height: 16px; }
.lov-sok-input { width: 100%; padding: 13px 14px 13px 42px; border: 1.5px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 15px; background: var(--bg-card); color: var(--ink); box-sizing: border-box; transition: border-color .15s; }
.lov-sok-input:focus { outline: none; border-color: var(--accent); }
.lov-sok-count { font-size: 12px; color: var(--ink-mute); margin-bottom: 16px; min-height: 18px; }
/* Paragraph grid */
.plist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 80px; }
@media(max-width:700px) { .plist-grid { grid-template-columns: 1fr; } }
.plist-kort { background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: var(--ink); display: flex; align-items: flex-start; gap: 14px; transition: border-color .13s, box-shadow .13s; }
.plist-kort:hover { border-color: var(--accent); box-shadow: 0 3px 16px rgba(28,23,16,.07); }
.plist-kort.plist-flagg { border-color: rgba(177,74,42,.25); }
.plist-kort-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); min-width: 40px; padding-top: 3px; white-space: nowrap; flex-shrink: 0; }
.plist-kort-body { flex: 1; min-width: 0; }
.plist-kort-tittel { font-family: var(--serif); font-size: 17px; font-weight: 400; line-height: 1.28; margin-bottom: 5px; }
.plist-kort-excerpt { font-size: 12px; color: var(--ink-soft); line-height: 1.6; }
.plist-kort-pil { font-size: 14px; color: var(--accent); opacity: 0; transition: opacity .13s; align-self: center; flex-shrink: 0; }
.plist-kort:hover .plist-kort-pil { opacity: 1; }
.plist-hidden { display: none !important; }
.plist-ingen { display: none; font-size: 14px; color: var(--ink-mute); padding: 32px 0; text-align: center; grid-column: 1/-1; }
.plist-ingen.vis { display: block; }
.rule-table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: 15px; background: var(--paper-warm);
  border: 1px solid var(--accent-soft);
}
.rule-table th, .rule-table td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--accent-soft);
  vertical-align: top;
}
.rule-table th {
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em;
  background: rgba(194, 84, 52, 0.05);
}
.rule-table tr:last-child td { border-bottom: none; }
.rule-table tr:hover td { background: rgba(194, 84, 52, 0.03); }

/* ============================================================
   Disclaimer (innhold-attest) — bunntekst på paragrafsider
   ============================================================ */
.innhold-attest {
  max-width: 760px; margin: 48px auto 0;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 13px; line-height: 1.65;
  color: var(--ink-soft);
  display: flex; gap: 12px; align-items: flex-start;
}
.innhold-attest::before {
  content: "§"; flex-shrink: 0;
  font-family: var(--serif); font-size: 22px;
  line-height: 1; color: var(--accent);
  position: relative; top: -1px;
}
.innhold-attest a {
  color: var(--accent); text-decoration: none;
  font-weight: 600; border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.innhold-attest a:hover { border-bottom-color: var(--accent); }
.innhold-attest .innhold-attest-body strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   TJENESTER — hub og kalkulator
   ============================================================ */
/* Kalkulator */
.kalkulator-intro { margin-bottom: 40px; }
.kalkulator {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 20px; padding: 40px; box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}
@media (max-width: 600px) { .kalkulator { padding: 24px 20px; } }
.kalkulator-tittel { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 28px; color: var(--ink); }
.kalkulator-sporsmal { margin-bottom: 28px; }
.kalkulator-sporsmal legend {
  font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 12px;
  display: block; line-height: 1.4;
}
.kalkulator-sporsmal .hint { font-size: 13px; color: var(--ink-mute); font-weight: 400; display: block; margin-top: 3px; }
.kalkulator-valg { display: flex; flex-direction: column; gap: 8px; }
.kalkulator-valg label {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border: 1.5px solid var(--line);
  border-radius: 10px; cursor: pointer; font-size: 15px;
  transition: border-color 0.15s, background 0.15s; line-height: 1.35;
  background: var(--bg);
}
.kalkulator-valg label:hover { border-color: var(--accent-soft); }
.kalkulator-valg input[type=radio] { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.kalkulator-valg input[type=radio]:checked + span { color: var(--accent); font-weight: 600; }
.kalkulator-valg label:has(input:checked) { border-color: var(--accent); background: rgba(177,74,42,0.04); }
.kalkulator-divider { border: none; border-top: 1px solid var(--line); margin: 4px 0 28px; }
.kalkulator-knapp {
  background: var(--accent); color: white; border: none; border-radius: 12px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; cursor: pointer;
  padding: 16px 32px; width: 100%; transition: background 0.2s;
  letter-spacing: 0.01em;
}
.kalkulator-knapp:hover { background: var(--accent-deep); }

/* Resultat */
.kalkulator-resultat {
  background: var(--bg-card); border: 2px solid var(--accent);
  border-radius: 20px; padding: 40px; margin-bottom: 32px;
  animation: fadeInUp 0.3s ease;
}
@media (max-width: 600px) { .kalkulator-resultat { padding: 24px 20px; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.resultat-badge {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; padding: 5px 12px; border-radius: 20px; margin-bottom: 16px;
}
.resultat-badge.as { background: #e8f0f4; color: #2d5970; }
.resultat-badge.enk { background: #f0f4e8; color: #3d5a2d; }
.resultat-badge.begge { background: #f4f0e8; color: #5a4a2d; }
.resultat-tittel { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 400; margin-bottom: 20px; line-height: 1.15; }
.resultat-grunner { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.resultat-grunner li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.resultat-grunner li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.resultat-tabell-wrapper { overflow-x: auto; margin: 28px 0; }
.resultat-tabell {
  width: 100%; border-collapse: collapse; font-size: 14px;
  border: 1px solid var(--line);
}
.resultat-tabell th {
  padding: 10px 14px; text-align: left; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; background: var(--bg-alt);
  border-bottom: 2px solid var(--line);
}
.resultat-tabell td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.resultat-tabell tr:last-child td { border-bottom: none; }
.resultat-tabell td:first-child { color: var(--ink-mute); font-size: 13px; font-weight: 600; white-space: nowrap; }
.col-anbefalt { background: rgba(177,74,42,0.03); }
.col-anbefalt th, .col-anbefalt td { color: var(--accent); font-weight: 600; }
.resultat-notat { font-size: 13px; color: var(--ink-mute); margin-top: 16px; line-height: 1.5; }

/* CTA-boks */
.tjeneste-cta-boks {
  background: var(--bg-alt); border-radius: 16px; padding: 36px;
  margin: 32px 0 56px; display: flex; flex-direction: column; gap: 16px;
}
.tjeneste-cta-boks h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.tjeneste-cta-boks p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; max-width: 560px; }
.btn-aksjon {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: white; text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 14px 24px;
  border-radius: 10px; transition: background 0.2s; width: fit-content;
}
.btn-aksjon:hover { background: var(--accent-deep); }
.tjeneste-cta-pris { font-size: 13px; color: var(--ink-mute); }

/* ============================================================
   HOMEPAGE — strammere, vakrere, mer luft
   ============================================================ */

.homepage-hero {
  padding: 120px 0 80px;
  max-width: 880px;
}
.homepage-hero .eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
}
.homepage-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin-bottom: 0;
}
.homepage-hero h1 + h1 { margin-bottom: 32px; }
.homepage-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.homepage-hero p {
  font-size: 21px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 620px;
  margin-bottom: 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
}
.cta-button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  border: 1px solid var(--accent);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.cta-button:hover {
  transform: translateY(-1px);
  background: #A8462C;
  box-shadow: 0 6px 20px rgba(194, 84, 52, 0.25);
}
.cta-button-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
  border: 1px solid var(--line);
}
.cta-button-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
  background: rgba(0,0,0,0.02);
}

.home-section { margin-top: 112px; }
.section-header { margin-bottom: 32px; max-width: 720px; }
.section-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--ink-mute);
  font-size: 17px;
  font-family: var(--serif);
  font-style: italic;
}

/* ============================================================
   OM-SIDEN — minimalistisk, vakker
   ============================================================ */

.om-article {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 0 40px;
}
.om-header { margin-bottom: 72px; }
.om-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.022em;
}
.om-header h1 em {
  font-style: italic;
  color: var(--accent);
}
.om-section {
  margin-bottom: 56px;
}
.om-section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 20px;
}
.om-section p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 18px;
}
.om-lead {
  font-size: 26px !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
  font-style: italic;
  margin-bottom: 24px !important;
}
.om-cta {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  text-align: left;
}

/* ============================================================
   Spørsmål-sider — editorial newsroom design
   ============================================================ */

/* Hero */
.sp-hero {
  max-width: 760px; padding: 56px 0 24px;
}
.sp-hero .kicker {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
  margin-bottom: 16px; display: block;
}
.sp-hero .breadcrumb {
  display: none;
}
.sp-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2;
  letter-spacing: -0.01em; color: var(--ink);
  margin: 0; max-width: 720px;
}

/* Kort svar — fremhevet boks med drop quote feel */
.sp-tldr {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 32px 36px;
  margin: 40px 0 56px;
  max-width: 760px;
  box-shadow: var(--shadow-sm);
  border-radius: 0 8px 8px 0;
  position: relative;
}
.sp-tldr::before {
  content: "KORT SVAR";
  position: absolute;
  top: -10px; left: 28px;
  background: var(--bg);
  padding: 0 10px;
  font-family: var(--sans); font-size: 11px;
  font-weight: 700; letter-spacing: 0.15em;
  color: var(--accent);
}
.sp-tldr p {
  font-family: var(--sans);
  font-size: 19px; line-height: 1.55;
  color: var(--ink); margin: 0;
}

/* Body — editorial typografi */
.sp-body {
  max-width: 720px;
  font-family: var(--sans);
}
.sp-body > h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2;
  letter-spacing: -0.015em; color: var(--ink);
  margin: 64px 0 20px;
  padding-top: 12px;
  position: relative;
}
.sp-body > h2:first-child { margin-top: 0; padding-top: 0; }
.sp-body > h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 48px; height: 2px; background: var(--accent);
}
.sp-body > h2:first-child::before { display: none; }
.sp-body p {
  font-size: 17.5px; line-height: 1.7;
  margin-bottom: 18px; color: var(--ink);
}
.sp-body p:first-of-type::first-letter {
  /* Subtil dropcap for første avsnitt */
  font-family: var(--serif);
  font-size: 1em; font-weight: 500;
}
.sp-body a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color 0.15s;
}
.sp-body a:hover { border-bottom-color: var(--accent); }
.sp-body strong { font-weight: 600; color: var(--ink); }

/* Ordnede lister som visuell timeline (steg) */
.sp-body ol {
  list-style: none; counter-reset: step;
  margin: 28px 0 36px; padding: 0;
}
.sp-body ol > li {
  counter-increment: step;
  position: relative;
  padding: 20px 0 20px 64px;
  border-bottom: 1px solid var(--line);
  font-size: 17px; line-height: 1.65;
}
.sp-body ol > li:last-child { border-bottom: none; }
.sp-body ol > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 18px;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  color: var(--accent);
}
.sp-body ol > li strong {
  display: block; margin-bottom: 4px;
  color: var(--ink); font-weight: 600;
  font-size: 17px;
}

/* Uordnede lister — "vanlige feil"-stil */
.sp-body > h2:has(+ ul) + ul,
.sp-body ul {
  list-style: none; padding: 0;
  margin: 20px 0 36px;
}
.sp-body ul > li {
  position: relative; padding: 14px 0 14px 32px;
  border-bottom: 1px dashed var(--line);
  font-size: 16.5px; line-height: 1.6; color: var(--ink-soft);
}
.sp-body ul > li:last-child { border-bottom: none; }
.sp-body ul > li::before {
  content: ""; position: absolute; left: 4px; top: 24px;
  width: 14px; height: 1.5px; background: var(--accent);
}

/* Faktaboks / callout (blockquote) -- bruk: "> **Frist:** ..." */
.sp-body blockquote {
  margin: 30px 0; padding: 18px 22px;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-family: var(--sans); font-style: normal;
  font-size: 16.5px; line-height: 1.62; color: var(--ink);
}
.sp-body blockquote p { margin: 0 0 8px; font-size: 16.5px; line-height: 1.62; }
.sp-body blockquote p:last-child { margin-bottom: 0; }
.sp-body blockquote strong { color: var(--ink); font-weight: 600; }
.sp-body blockquote a { color: var(--accent); }

/* Tabeller */
.sp-body table, .rule-table {
  width: 100%; max-width: 720px;
  border-collapse: collapse; margin: 28px 0 36px;
  font-family: var(--sans); font-size: 15px;
}
.sp-body table th, .rule-table th {
  text-align: left; padding: 14px 16px;
  font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft); background: var(--bg-alt);
  border-bottom: 2px solid var(--line-strong);
}
.sp-body table td, .rule-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.5;
}

/* Relevante paragrafer — som "Les videre" på et magasin */
.sp-related {
  max-width: 880px;
  margin: 72px 0 0;
  padding: 40px 0 0;
  border-top: 1px solid var(--line-strong);
}
.sp-related .label {
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  margin-bottom: 16px;
}
.sp-related h3 {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  margin-bottom: 28px; letter-spacing: -0.01em;
}
.sp-related ul { list-style: none; padding: 0; margin: 0; }
.sp-related li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 24px; align-items: baseline;
}
.sp-related li:last-child { border-bottom: none; }
.sp-related .ref {
  font-family: var(--serif); font-size: 17px;
  font-weight: 500; flex-shrink: 0; min-width: 200px;
}
.sp-related .ref a {
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  padding-bottom: 1px; transition: border-color 0.2s;
}
.sp-related .ref a:hover { border-bottom-color: var(--accent); }
.sp-related .desc { color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.sp-related .pending .ref {
  color: var(--ink-mute); font-style: italic;
}
.sp-related .pending .ref::after {
  content: " · kommer snart"; font-size: 12px;
  color: var(--accent-soft); font-style: italic;
  letter-spacing: 0.02em;
}

/* ============================================================
   Spørsmål-hub (/sporsmal/)
   ============================================================ */
.sphub-hero {
  max-width: 760px; padding: 72px 0 32px;
}
.sphub-hero .kicker {
  display: none;
}
.sphub-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2;
  letter-spacing: -0.01em; margin: 0 0 12px;
  color: var(--ink);
}
.sphub-hero h1 em {
  font-style: italic; color: var(--accent);
  font-weight: 400;
}
.sphub-hero .lead {
  font-family: var(--sans); font-size: 17px;
  line-height: 1.55; color: var(--ink-soft);
  max-width: 580px; margin: 0;
}
.sphub-meta {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-mute); letter-spacing: 0.04em;
  margin-top: 20px;
}
.sphub-meta strong { color: var(--accent); font-weight: 600; }

/* Kategori-seksjon */
.sphub-section {
  margin: 56px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.sphub-section:first-of-type { border-top: none; padding-top: 0; }
.sphub-section-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.sphub-section-kat {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; padding: 4px 10px;
  border-radius: 999px; color: white;
}
.sphub-section h2 {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 500; letter-spacing: -0.015em; line-height: 1.15;
  margin: 0; color: var(--ink);
}
.sphub-section-count {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-mute); margin-left: auto;
}

/* Grid for spørsmål-kort */
.sphub-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1100px;
}
.sphub-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px 24px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.sphub-card:hover {
  border-color: var(--kat-color, var(--accent));
}
.sphub-card .kat-tag {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--kat-color, var(--accent));
  margin-bottom: 10px;
}
.sphub-card h3 {
  font-family: var(--serif); font-size: 19px;
  font-weight: 500; line-height: 1.3; letter-spacing: -0.01em;
  margin-bottom: 8px; color: var(--ink);
}
.sphub-card p {
  font-family: var(--sans); font-size: 14px;
  line-height: 1.5; color: var(--ink-soft);
  margin: 0; flex-grow: 1;
}
.sphub-card .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  color: var(--kat-color, var(--accent));
  letter-spacing: 0.02em;
}
.sphub-card .read-more::after {
  content: "→"; transition: transform 0.2s;
}
.sphub-card:hover .read-more::after { transform: translateX(3px); }

/* Featured fjernet — alle kort like store for konsistens */

/* Kategori-farger som CSS-vars per kort */
.kat-bolig { --kat-color: var(--kat-bolig); }
.kat-forbruk { --kat-color: var(--kat-forbruk); }
.kat-arbeid { --kat-color: var(--kat-arbeid); }
.kat-familie { --kat-color: var(--kat-familie); }
.kat-gjeld { --kat-color: var(--kat-gjeld); }
.kat-tjenester { --kat-color: var(--kat-tjenester); }

/* Section-kicker har sin egen farge */
.sphub-section.kat-bolig .sphub-section-kat { background: var(--kat-bolig); }
.sphub-section.kat-forbruk .sphub-section-kat { background: var(--kat-forbruk); }
.sphub-section.kat-arbeid .sphub-section-kat { background: var(--kat-arbeid); }
.sphub-section.kat-familie .sphub-section-kat { background: var(--kat-familie); }
.sphub-section.kat-gjeld .sphub-section-kat { background: var(--kat-gjeld); }
.sphub-section.kat-tjenester .sphub-section-kat { background: var(--kat-tjenester); }

/* ============================================================
   Alle lover-side
   ============================================================ */
.lover-hero {
  max-width: 760px; padding: 72px 0 32px;
}
.lover-hero .kicker {
  display: none;
}
.lover-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2;
  letter-spacing: -0.01em; margin: 0 0 12px;
  color: var(--ink);
}
.lover-hero h1 em {
  font-style: italic; color: var(--accent);
  font-weight: 400;
}
.lover-hero .lead {
  font-family: var(--sans); font-size: 17px;
  line-height: 1.55; color: var(--ink-soft);
  max-width: 580px;
}
.lover-stats {
  display: flex; gap: 40px; margin: 28px 0 0;
  font-family: var(--sans);
}
.lover-stat {
  display: flex; flex-direction: column;
}
.lover-stat .num {
  font-family: var(--serif); font-size: 32px;
  font-weight: 500; line-height: 1; color: var(--accent);
  letter-spacing: -0.02em;
}
.lover-stat .lbl {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-top: 4px;
}

/* Kategori-grupperinger */
.lover-section {
  margin: 56px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.lover-section:first-of-type { border-top: none; padding-top: 0; }
.lover-section-head {
  margin-bottom: 20px;
  display: flex; align-items: baseline; gap: 14px;
}
.lover-section h2 {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 500; letter-spacing: -0.015em;
  margin: 0; color: var(--ink);
}
.lover-section .ant {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-mute); letter-spacing: 0.04em;
}

/* Lov-kort som editorial registerkort */
.lov-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  max-width: 1100px;
}
.lov-kort {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  text-decoration: none; color: inherit;
  display: flex; align-items: center; gap: 20px;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.lov-kort:hover {
  border-color: var(--accent);
}
.lov-kort .lov-num {
  font-family: var(--serif); font-size: 32px;
  font-weight: 500; line-height: 1; color: var(--accent);
  letter-spacing: -0.02em; flex-shrink: 0;
}
.lov-kort .lov-num-lbl {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 2px;
}
.lov-kort .lov-meta { flex-shrink: 0; min-width: 64px; }
.lov-kort .lov-info { flex-grow: 1; }
.lov-kort .lov-info h3 {
  font-family: var(--serif); font-size: 20px;
  font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 2px; color: var(--ink); line-height: 1.25;
}
.lov-kort .lov-info p {
  font-family: var(--sans); font-size: 13px;
  color: var(--ink-soft); margin: 0; line-height: 1.4;
}
.lov-kort .lov-arrow {
  font-family: var(--serif); font-size: 20px;
  color: var(--accent); flex-shrink: 0;
  opacity: 0.5; transition: opacity 0.2s, transform 0.2s;
}
.lov-kort:hover .lov-arrow {
  opacity: 1; transform: translateX(3px);
}

/* ============================================================
   Hjemmeside — minimalistisk søk-fokusert hero (Jony Ive-modus)
   ============================================================ */
.home-hero-v3 {
  padding: 56px 0 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.home-hero-v3 .hero-line {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-mute); font-weight: 500;
  letter-spacing: 0.04em; margin-bottom: 28px;
  display: flex; justify-content: center; align-items: center;
  gap: 10px; flex-wrap: wrap;
}
.home-hero-v3 .hero-dot { color: var(--ink-mute); opacity: 0.4; }
.home-hero-v3 .hero-count { white-space: nowrap; }
@media (max-width: 600px) {
  .home-hero-v3 { padding: 36px 0 30px; }
  .home-hero-v3 .hero-line { font-size: 11px; gap: 6px; }
}

/* Søkeboks */
.search-wrapper {
  max-width: 600px;
  margin: 44px auto 0;
  position: relative;
}
.search-input-wrap {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.search-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(192,74,38,0.10);
}
.search-input {
  width: 100%;
  padding: 18px 22px 18px 54px;
  font-family: var(--sans); font-size: 17px;
  background: transparent; border: none; outline: none;
  color: var(--ink);
  border-radius: 12px;
}
.search-input::placeholder { color: var(--ink-mute); }
.search-icon {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--ink-mute);
  pointer-events: none;
}
.search-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.search-tag {
  font-family: var(--sans); font-size: 13px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--line);
  color: var(--ink-soft); cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.search-tag:hover {
  border-color: var(--accent); color: var(--accent);
}
.search-results {
  position: absolute; top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-height: 420px; overflow-y: auto;
  z-index: 50; display: none;
}
.search-results.visible { display: block; }
.search-result {
  display: block; padding: 14px 20px;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover, .search-result.active {
  background: var(--bg-alt);
}
.search-result .sr-title {
  font-family: var(--serif); font-size: 16px;
  font-weight: 500; color: var(--ink);
  margin-bottom: 2px;
}
.search-result .sr-meta {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-mute); letter-spacing: 0.02em;
}
.search-result .sr-meta strong { color: var(--accent); font-weight: 600; }
.search-empty {
  padding: 20px; text-align: center;
  color: var(--ink-mute); font-size: 14px;
}

.home-hero-v2 .cta-row {
  display: none;
}

/* Verktøy-seksjon på forsiden — prime position */
.home-vtoy { margin: 0 0 56px; }
.home-vtoy-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.home-vtoy-hd h2 { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.home-vtoy-alle { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.home-vtoy-alle:hover { color: var(--accent-deep); }
.home-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
@media(max-width:960px) { .home-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:500px) { .home-feat-grid { grid-template-columns: 1fr; } }
.home-feat { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; text-decoration: none; color: var(--ink); display: block; transition: box-shadow .15s, border-color .15s, transform .12s; }
.home-feat:hover { border-color: var(--accent); box-shadow: 0 6px 24px rgba(28,23,16,.1); transform: translateY(-2px); }
.home-feat-ikon { font-size: 30px; display: block; margin-bottom: 14px; }
.home-feat-tittel { font-family: var(--serif); font-size: 18px; font-weight: 400; margin-bottom: 8px; line-height: 1.2; }
.home-feat-beskr { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.home-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.home-quick a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color .13s, background .13s; white-space: nowrap; }
.home-quick a:hover { border-color: var(--accent); background: var(--bg-alt); color: var(--accent); }
.home-quick a span { font-size: 15px; }
@media(max-width:600px) { .home-quick a { font-size: 12px; padding: 7px 12px; } }

/* Section headers — strammere */
.home-section-v2 {
  margin: 64px 0;
}
.home-section-head-v2 {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.home-section-head-v2 .left .kicker {
  display: none;
}
.home-section-head-v2 h2 {
  font-family: var(--sans); font-size: 13px;
  font-weight: 700; letter-spacing: 0.14em; line-height: 1;
  margin: 0; color: var(--ink); text-transform: uppercase;
}
.home-section-head-v2 .right a {
  font-family: var(--sans); font-size: 13px;
  color: var(--accent); font-weight: 500;
  text-decoration: none; display: inline-flex; gap: 6px;
  transition: opacity 0.2s;
}
.home-section-head-v2 .right a:hover { opacity: 0.7; }

/* Editorial featured-grid for spørsmål på hjemmesiden */
.home-featured-q {
  display: grid; gap: 20px;
  grid-template-columns: 2fr 1fr 1fr;
}
.home-featured-q > a:first-child {
  grid-row: 1 / span 2; padding: 36px 40px;
}
.home-featured-q > a:first-child h3 {
  font-size: clamp(22px, 2.6vw, 30px);
}
@media (max-width: 900px) {
  .home-featured-q { grid-template-columns: 1fr; }
  .home-featured-q > a:first-child { grid-row: auto; }
}

/* ============================================================
   Chat widget
   ============================================================ */
.av-float-cta {
  position: fixed; bottom: 26px; right: 26px; z-index: 1000;
  background: #1c1610; color: #f4ede1;
  border: 1px solid #b97d3f; border-radius: 0;
  padding: 12px 20px;
  font-family: var(--hd-serif);
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.005em;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(28,22,16,.25);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
  display: inline-flex; align-items: center;
}
.av-float-cta:hover {
  background: #241c14; border-color: #d09455;
  box-shadow: 0 6px 18px rgba(28,22,16,.32);
  color: #f6f1e6;
}
.av-float-cta:active { background: #17120d; }
.av-float-cta:focus-visible { outline: 2px solid #b97d3f; outline-offset: 3px; }
.av-float-cta .av-float-cta-icon { display: none; }
@media (max-width: 900px) {
  .av-float-cta {
    bottom: 0; right: 0; left: 0;
    justify-content: center;
    border: none; border-top: 1px solid #b97d3f;
    padding: 12px 16px; font-size: 14px;
    box-shadow: 0 -4px 14px rgba(28,22,16,.22);
  }
}

/* ---------- Advokatvurdering: skjema + resultatkort ---------- */
.av-wrap { max-width: 920px; margin: 0 auto; padding: 56px 24px 80px; }
.av-result-card { display: none; background: linear-gradient(180deg, var(--bg-card) 0%, rgba(253,250,245,.7) 100%); border: 1px solid var(--line-strong); border-radius: 28px; padding: clamp(26px, 4vw, 48px); box-shadow: 0 30px 80px rgba(35,30,25,.12), 0 2px 8px rgba(35,30,25,.04); }
.av-result-card.show { display: block; }
.av-result-card.show > * { opacity: 0; animation: avRise .55s cubic-bezier(.22,1,.36,1) forwards; }
.av-result-card.show > *:nth-child(1) { animation-delay: .02s; }
.av-result-card.show > *:nth-child(2) { animation-delay: .10s; }
.av-result-card.show > *:nth-child(3) { animation-delay: .18s; }
.av-result-card.show > *:nth-child(4) { animation-delay: .26s; }
.av-result-card.show > *:nth-child(5) { animation-delay: .32s; }
.av-result-card.show > *:nth-child(6) { animation-delay: .38s; }
.av-result-card.show > *:nth-child(7) { animation-delay: .44s; }
@keyframes avRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .av-result-card.show > * { animation: none; opacity: 1; } }
.av-kicker { font-size: 12px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .18em; margin-bottom: 14px; }
.av-result-top { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; margin-bottom: 18px; }
.av-result-top h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.04; letter-spacing: -.04em; max-width: 620px; }
.av-badge { white-space: nowrap; padding: 9px 15px; border-radius: 999px; background: rgba(194,84,52,.10); color: var(--accent-deep); font-size: 12px; font-weight: 700; letter-spacing: .02em; border: 1px solid rgba(192,74,38,.18); display: inline-flex; align-items: center; gap: 7px; }
.av-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.av-disclaimer { display: flex; gap: 11px; align-items: flex-start; background: var(--bg-alt); border-radius: 14px; padding: 13px 17px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 24px; max-width: 820px; }
.av-disclaimer::before { content: "\2696"; font-size: 16px; line-height: 1.3; opacity: .55; flex: none; }
.av-short-box { position: relative; background: var(--ink); color: #F0E9DD; border-radius: 20px; padding: clamp(26px, 3vw, 36px) clamp(24px, 3vw, 34px) clamp(22px, 3vw, 30px); margin: 0 0 28px; overflow: hidden; }
.av-short-box::before { content: "\201C"; position: absolute; top: 44px; right: 24px; font-family: var(--serif-prose); font-size: 110px; line-height: 1; color: rgba(232,196,180,.10); pointer-events: none; }
.av-short-attr { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; position: relative; }
.av-short-attr .av-roy-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #FDFAF5; font-family: var(--serif); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.av-short-attr .av-roy-name { font-size: 13px; font-weight: 700; color: #F0E9DD; letter-spacing: .01em; }
.av-short-attr .av-roy-role { font-size: 11.5px; color: rgba(240,233,221,.55); }
.av-short-box p { position: relative; font-family: var(--serif-prose); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; letter-spacing: 0; color: #F0E9DD; }
.av-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 16px; }
.av-result-section { background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.av-result-section.good { border-left: 3px solid #4E8060; }
.av-result-section.warn { border-left: 3px solid #C28A2E; }
.av-result-section h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--ink-mute); margin-bottom: 13px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.av-result-section.good h4 { color: #3C6B4E; }
.av-result-section.warn h4 { color: #9A6B1E; }
.av-result-section ul, .av-result-section ol { padding-left: 4px; list-style: none; color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.av-result-section ol { counter-reset: avstep; }
.av-result-section li { margin-bottom: 10px; padding-left: 24px; position: relative; }
.av-result-section ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .4; }
.av-result-section.good ul li::before { background: #4E8060; opacity: 1; }
.av-result-section.warn ul li::before { background: #C28A2E; opacity: 1; }
.av-result-section ol li { counter-increment: avstep; }
.av-result-section ol li::before { content: counter(avstep); position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--accent); color: #FDFAF5; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.av-result-section.next { margin-top: 16px; background: rgba(194,84,52,.04); border-color: rgba(192,74,38,.14); }
.av-result-section.next h4 { color: var(--accent-deep); }
.av-result-section.missing { margin-top: 16px; background: rgba(78,110,128,.06); border-color: rgba(78,110,128,.18); }
.av-result-section.missing h4 { color: #44606E; }
.av-result-section.missing li::before { background: #4E6E80; opacity: 1; }
.av-result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.av-btn { font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 13px 24px; border-radius: 999px; border: 1px solid var(--line-strong); cursor: pointer; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.av-btn.primary { background: var(--ink); color: var(--bg-card); border-color: var(--ink); }
.av-btn.primary:hover { transform: translateY(-1px); }
.av-btn.secondary { background: transparent; color: var(--ink); }
.av-btn.secondary:hover { background: var(--bg-alt); }
@media (max-width: 680px) { .av-result-grid { grid-template-columns: 1fr; } .av-result-top { flex-direction: column; } }

/* ---------- Typographic index pages (lover, sporsmal, verktoy) ---------- */
.tk-page { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.tk-hero { padding: 56px 0 28px; max-width: 760px; }
.tk-hero-label {
  font-family: var(--serif); font-size: 12px;
  font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px 0;
}
.tk-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0 0 20px 0;
  color: var(--ink);
}
.tk-hero-lead {
  font-family: var(--serif);
  font-size: 15px; line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 28px 0;
  max-width: 560px;
}
.tk-hero-meta {
  font-family: var(--serif);
  font-size: 13px; color: var(--ink-mute);
  letter-spacing: 0.005em;
  margin: 0;
}
.tk-hero-meta-sep { margin: 0 12px; opacity: 0.5; }

.tk-cat-bar {
  display: flex; flex-wrap: wrap;
  align-items: baseline; gap: 30px;
  padding: 16px 0 14px 0;
  margin: 32px 0 64px 0;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  background: linear-gradient(to bottom, var(--bg) 88%, transparent);
  z-index: 20;
}
.tk-cat {
  font-family: var(--serif);
  font-size: 15px; font-weight: 500;
  color: var(--ink-mute); text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  letter-spacing: 0.002em;
}
.tk-cat:hover { color: var(--ink); }
.tk-cat.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.tk-section { margin: 0 0 80px 0; scroll-margin-top: 80px; }
.tk-section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 28px 0;
}

.tk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px; row-gap: 0;
  border-top: 1px solid var(--line);
}
.tk-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px; row-gap: 4px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: color 0.18s ease;
}
.tk-row-name {
  font-family: var(--serif);
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  grid-column: 1; grid-row: 1;
  letter-spacing: 0.002em;
}
.tk-row-desc {
  font-family: var(--serif);
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.45;
  grid-column: 1; grid-row: 2;
}
.tk-row-arrow {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--serif); font-size: 16px;
  color: var(--ink-mute);
  transition: color 0.18s ease, transform 0.2s ease;
  font-weight: 400;
}
.tk-row:hover .tk-row-name { color: var(--ink); }
.tk-row:hover .tk-row-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

@media (min-width: 720px) {
  .tk-grid { position: relative; }
  .tk-grid::before {
    content: "";
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: var(--line);
    opacity: 0.4;
    pointer-events: none;
  }
}

@media (max-width: 720px) {
  .tk-page { padding: 0 20px; }
  .tk-hero { padding: 40px 0 20px; }
  .tk-cat-bar {
    gap: 18px; margin: 24px 0 40px 0;
    overflow-x: auto; flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .tk-cat-bar::-webkit-scrollbar { display: none; }
  .tk-cat { flex-shrink: 0; font-size: 14px; }
  .tk-section { margin-bottom: 56px; }
  .tk-section-title { font-size: 22px; margin-bottom: 18px; }
  .tk-grid { grid-template-columns: 1fr; column-gap: 0; }
  .tk-row { padding: 16px 0; }
}

/* ---------- Unified site header (homepage + all subpages) ---------- */
.rr-header {
  background: #1c1610;
  border-bottom: 1px solid #b97d3f;
  transition: border-color .18s ease;
}
.rr-header.rr-dd-open,
.rr-header:has(.rr-dd:hover) { border-bottom-color: #3a3024; }
.rr-header-row {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; gap: 20px;
  height: 72px;
  position: relative;
}
.rr-logo {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  text-decoration: none;
}
.rr-wordmark {
  font-family: var(--wm); font-weight: 600; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #f6f1e6; white-space: nowrap; line-height: 1;
}
.rr-wordmark .no { color: #b97d3f; letter-spacing: 0.1em; }
.rr-divider { width: 1px; height: 28px; background: #3a3024; flex: none; }
.rr-search {
  flex: 1 1 auto; min-width: 180px;
  position: relative; display: flex; align-items: center;
}
.rr-search input {
  width: 100%; height: 40px;
  padding: 0 16px 0 42px;
  border: 1px solid #3a3024; border-radius: 4px;
  background: #241c14; color: #f4ede1;
  font-family: var(--hd-serif); font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rr-search input::placeholder {
  color: #7a7061; font-family: var(--hd-serif); font-style: italic;
}
.rr-search input:focus {
  outline: none; border-color: #6e5b42;
  box-shadow: 0 0 0 3px rgba(185,125,63,.18);
}
.rr-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: #b97d3f; pointer-events: none; display: flex;
}
.rr-search-icon svg { display: block; }
.rr-search-results {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(20,15,10,.35); padding: 6px; z-index: 140;
  max-height: 420px; overflow-y: auto;
}
.rr-search-results.show { display: block; }
.rr-search-hit {
  display: flex; flex-direction: column; gap: 3px; padding: 10px 13px;
  border-radius: 7px; text-decoration: none; transition: background .12s ease;
}
.rr-search-hit:hover { background: var(--bg-alt); }
.rr-search-tag {
  font-family: var(--sans); font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent);
}
.rr-search-label { font-family: var(--sans); font-size: 14px; color: var(--ink); line-height: 1.35; }
.rr-search-empty { padding: 14px; font-family: var(--sans); font-size: 14px; color: var(--ink-mute); text-align: center; }
.rr-nav {
  flex: none; margin-left: auto;
  display: flex; align-items: stretch; align-self: stretch;
  gap: 30px;
  font-family: var(--sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
}
.rr-nav > a {
  display: flex; align-items: center;
  color: #cfc3ab; text-decoration: none;
  transition: color 0.15s ease; white-space: nowrap;
}
.rr-nav > a:hover { color: #f6f1e6; }
.rr-nav > a.rr-nav-active { color: #f6f1e6; }
.rr-nav > a.rr-nav-om {
  border-left: 1px solid #3a3024; padding-left: 24px;
  color: #8f8264;
}
.rr-nav > a.rr-nav-om:hover { color: #cfc3ab; }

/* Rettskilder-dropdown */
.rr-dd { position: relative; display: flex; align-items: stretch; }
.rr-dd-trigger {
  display: flex; align-items: center; gap: 7px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; font-size: inherit; font-weight: inherit;
  letter-spacing: inherit; text-transform: inherit;
  color: #cfc3ab; transition: color 0.15s ease; white-space: nowrap;
}
.rr-dd-chev { display: block; transition: transform .18s ease; }
.rr-dd:hover .rr-dd-trigger,
.rr-dd.open .rr-dd-trigger { color: #f6f1e6; font-weight: 600; }
.rr-dd:hover .rr-dd-chev,
.rr-dd.open .rr-dd-chev { transform: rotate(180deg); }
.rr-dd-panel {
  display: none; position: absolute; top: 100%; right: 0;
  min-width: 180px; z-index: 130;
  background: #241c14;
  border: 1px solid #3a3024; border-top: none;
}
.rr-dd:hover .rr-dd-panel,
.rr-dd.open .rr-dd-panel { display: block; }
.rr-dd-panel a {
  display: block; padding: 12px 18px;
  font-family: var(--hd-serif); font-size: 13px; font-weight: 400;
  letter-spacing: 0.01em; text-transform: none;
  color: #d8cdb8; text-decoration: none;
  transition: color .12s ease, background .12s ease;
}
.rr-dd-panel a + a { border-top: 1px solid #33291d; }
.rr-dd-panel a:hover { color: #f6f1e6; background: #2b2219; }

.rr-burger { display: none; }
.rr-burger-toggle { display: none; }

@media (max-width: 920px) {
  .rr-header-row { padding: 0 20px; flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .rr-divider { display: none; }
  .rr-logo { order: 1; flex: none; }
  .rr-wordmark { font-size: 11px; letter-spacing: 0.18em; }
  .rr-burger { order: 2; margin-left: auto; }
  .rr-search { order: 3; flex-basis: 100%; }
  .rr-nav { order: 4; margin-left: 0; align-self: auto; }

  .rr-burger {
    display: inline-flex; flex-direction: column;
    gap: 5px; padding: 8px; cursor: pointer;
    background: transparent; border: none;
  }
  .rr-burger span {
    display: block; width: 22px; height: 1px; background: #f4ede1;
  }
  .rr-nav {
    display: none;
    width: 100%;
    flex-direction: column; gap: 14px;
    align-items: flex-start; padding-bottom: 8px;
  }
  .rr-burger-toggle:checked ~ .rr-nav { display: flex; }
  .rr-nav > a { font-size: 12px; }
  .rr-nav > a.rr-nav-om { border-left: none; padding-left: 0; }
  .rr-dd { flex-direction: column; align-items: flex-start; }
  .rr-dd-trigger { display: none; }
  .rr-dd-panel {
    display: block; position: static;
    min-width: 0; border: none; background: transparent;
  }
  .rr-dd-panel a { padding: 6px 0 6px 14px; border-left: 1px solid #3a3024; font-size: 14px; }
  .rr-dd-panel a + a { border-top: none; }
  .rr-dd-panel a:hover { background: transparent; }
}

/* ---------- Tjenester page extras (search, progressive disclosure) ---------- */
.tk-search-wrap {
  margin: 24px 0 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex; align-items: center; gap: 16px;
}
.tk-search-icon {
  color: var(--ink-mute); flex-shrink: 0;
  display: inline-flex;
}
.tk-search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--serif);
  font-size: 16px; color: var(--ink);
  letter-spacing: 0.002em;
  padding: 4px 0;
}
.tk-search-input::placeholder { color: var(--ink-mute); }
.tk-search-hint {
  font-family: var(--serif); font-size: 12px;
  color: var(--ink-mute); flex-shrink: 0;
  letter-spacing: 0.01em;
}
@media (max-width: 720px) { .tk-search-hint { display: none; } }

/* Progressive disclosure */
.tk-section[data-collapsed] .tk-row.tk-row-extra { display: none; }
.tk-section:not([data-collapsed]) .tk-show-all { display: none; }
.tk-show-all {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--serif); font-size: 14px;
  color: var(--accent); text-decoration: none;
  letter-spacing: 0.005em;
  transition: color 0.18s ease;
}
.tk-show-all:hover { color: var(--accent-deep); }
.tk-show-all-arrow { transition: transform 0.2s ease; display: inline-block; }
.tk-show-all:hover .tk-show-all-arrow { transform: translateX(3px); }

/* Search filtering states */
.tk-row[data-hidden-by-search] { display: none !important; }
.tk-section[data-hidden-by-search] { display: none !important; }

/* Compact hero for tjenester */
.tk-hero-compact {
  padding: 48px 0 14px;
  max-width: 760px;
}
.tk-hero-compact h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.024em;
  margin: 0 0 14px 0;
  color: var(--ink);
}
.tk-hero-compact-lead {
  font-family: var(--serif);
  font-size: 15px; line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
  max-width: 540px;
}

/* ---------- Lover rows with metadata (X paragrafer) ---------- */
.tk-row-with-meta {
  grid-template-columns: 1fr auto auto;
  column-gap: 16px;
}
.tk-row-with-meta .tk-row-meta {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink-mute);
  white-space: nowrap;
  letter-spacing: 0.005em;
}
.tk-row-with-meta .tk-row-arrow { grid-column: 3; }
@media (max-width: 720px) {
  .tk-row-with-meta {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
  }
  .tk-row-with-meta .tk-row-name { grid-column: 1; grid-row: 1; }
  .tk-row-with-meta .tk-row-desc { grid-column: 1; grid-row: 2; }
  .tk-row-with-meta .tk-row-meta { grid-column: 1; grid-row: 3; align-self: start; }
  .tk-row-with-meta .tk-row-arrow { grid-column: 2; grid-row: 1 / span 3; }
}

