/* stil.css — Dødsbopapirer, eget udseende fra 7. okt. 2026.
   Retning: "et velskrevet brev fra en rolig rådgiver". Lys papirgrund, en kølig blågrå flade
   til brevhovedet, dyb blækblå som eneste accent. Overskrifter i Newsreader (humanistisk serif),
   brødtekst i Source Sans 3. Én smal kolonne, venstrestillet, rolig rytme. Kun lyst tema. */

:root {
  /* Farver */
  --paper: #fbfcfd;            /* sidens grund: næsten hvid, en anelse kølig */
  --flade: #edf1f5;            /* blågrå flade: brevhoved, sidehoved, bund */
  --ink: #1d2935;              /* tekst */
  --muted: #566474;            /* sekundær tekst */
  --line: #d5dde5;             /* tynde skillelinjer */
  --line-strong: #b9c5d1;      /* tidslinjens streg, formularrammer i ro */
  --field: #7d8c9b;            /* formularfelters ramme (mindst 3:1 mod hvid) */
  --accent: #1f3b63;           /* blæk- og natblå: knapper, datoer, links i fokus */
  --accent-hover: #172f50;
  --accent-soft: #dce4ee;      /* lys udgave af accenten til trin-tal og noter */
  --focus: #4a7db8;
  --error: #a3261b;

  /* Skrift */
  --font-head: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.125rem;                                  /* 18 px */
  --fs-small: 0.96875rem;                               /* 15,5 px */
  --fs-lead: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);
  --fs-h1: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem);    /* 34 -> 52 px */
  --fs-h2: clamp(1.625rem, 1.4rem + 0.9vw, 2.125rem);   /* 26 -> 34 px */
  --fs-h3: 1.3125rem;                                   /* 21 px */
  --lh-body: 1.7;

  /* Mål */
  --col: 46rem;                /* kolonnens bredde: tabeller, formularer */
  --measure: 36rem;            /* læsebredde for brødtekst, ca. 65 tegn */
  --gutter: clamp(16px, 5vw, 40px);
  --section-y: clamp(56px, 3rem + 3vw, 96px);
  --r: 10px;
  --r-lille: 6px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px;

  color-scheme: light;
}

/* Grundlag */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 400; font-optical-sizing: auto;
  line-height: 1.18; margin: 0 0 var(--s-4); color: var(--ink); text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.012em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.006em; }
h3 { font-size: var(--fs-h3); font-weight: 500; }
p { margin: 0 0 var(--s-4); max-width: var(--measure); }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; display: block; }
strong { font-weight: 600; }
[id] { scroll-margin-top: 88px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: calc(var(--col) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
main { padding-bottom: var(--section-y); }
.section { padding: var(--section-y) 0 0; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); max-width: var(--measure); }
.muted { color: var(--muted); }
.small, .prose .small { font-size: var(--fs-small); color: var(--muted); }
.center { text-align: left; }

/* Knapper: tydelige, men bløde */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 28px; border-radius: var(--r); border: 0;
  font: 600 1.0625rem/1.2 var(--font-body); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  background: var(--accent); color: #fff; transition: background-color .15s ease;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--dark, .btn--ghost {
  background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent);
}
.btn--dark:hover, .btn--ghost:hover { background: var(--accent-soft); color: var(--accent); }
.btn--dark { min-height: 44px; padding: 0 18px; font-size: 1rem; }

/* Brevhoved */
.top { position: sticky; top: 0; z-index: 10; background: var(--flade); border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: var(--s-5); min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 500 1.375rem/1 var(--font-head); letter-spacing: -0.005em; white-space: nowrap; }
.logo__mark { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent); flex: none; }
.nav { display: flex; gap: var(--s-5); font-size: 1rem; }
.nav a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav a:hover { color: var(--accent); text-decoration: underline; }
.top__cta { margin-left: auto; display: flex; align-items: center; }
@media (max-width: 820px) {
  .nav { display: none; }
  .top__in { min-height: 60px; }
}

/* Forsidens hoved: spørgsmålet og de første skridt */
.hero { background: var(--flade); padding: clamp(40px, 5vw, 80px) 0 var(--section-y); }
.hero h1 { max-width: 16ch; margin-bottom: var(--s-5); }
.hero .lead { margin-bottom: var(--s-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.trust-line { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-5) 0 0; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--muted); }
.trust-line li { display: inline-flex; align-items: center; gap: var(--s-2); }
.trust-line li::before { content: ""; width: 15px; height: 15px; flex: none; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.forloeb { margin-top: var(--s-8); padding-top: var(--s-7); border-top: 1px solid var(--line-strong); }
.forloeb h2 { margin-bottom: var(--s-2); }
.forloeb > .muted { margin-bottom: var(--s-6); }
@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Fristerne som en blid lodret tidslinje (forsiden og resultatsiden) */
.frister { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.frister li { position: relative; padding: 0 0 var(--s-6) 2.25rem; }
.frister li:last-child { padding-bottom: 0; }
.frister li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--accent); background: var(--paper); z-index: 1; }
.frister li::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: 2px; width: 2px; background: var(--line-strong); }
.frister li:last-child::after { display: none; }
.frister .frister__start::before { background: var(--muted); border-color: var(--muted); }
.frister .frister__start .dato { color: var(--muted); }
.frister .dato { font: 500 1.1875rem/1.35 var(--font-head); color: var(--accent); margin-bottom: 2px; }
.frister .dato small { display: block; font: 400 var(--fs-small)/1.3 var(--font-body); color: var(--muted); }
.frister strong { display: block; font-weight: 600; line-height: 1.45; }
.frister p { margin: 2px 0 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.paragraf { color: var(--muted); font-size: var(--fs-small); white-space: normal; }

/* Sådan virker det: tre trin i rækkefølge */
.steps { list-style: none; margin: var(--s-5) 0 0; padding: 0; counter-reset: step; max-width: var(--measure); }
.step { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0 var(--s-3); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { counter-increment: step; grid-row: span 2; font: 400 2rem/1 var(--font-head); color: var(--accent); padding-top: 2px; }
.step__num::before { content: counter(step); }
.step h3 { margin: 0 0 var(--s-1); }
.step p { color: var(--muted); margin: 0; }

/* Skifteformerne */
#former > .wrap > .muted { margin-bottom: var(--s-5); }
.former { list-style: none; margin: 0; padding: 0; }
.former li { padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.former li:last-child { border-bottom: 1px solid var(--line); }
.former strong { font: 500 1.3125rem/1.3 var(--font-head); }
.former span { display: block; color: var(--muted); max-width: var(--measure); margin-top: var(--s-1); }

/* Eksempel på leverancen */
.sheet { margin: var(--s-5) 0 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.sheet__head { padding: var(--s-4) var(--s-5); background: var(--flade); font-size: var(--fs-small); color: var(--muted); }
.sheet__head strong { display: block; color: var(--ink); font: 500 1.25rem/1.3 var(--font-head); margin-bottom: 2px; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.sheet th, .sheet td { text-align: left; padding: var(--s-3) var(--s-5); border-top: 1px solid var(--line); }
.sheet th { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.sheet .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet tfoot td { font-weight: 600; background: var(--flade); }
.sheet-note { margin: var(--s-4) 0 0; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 560px) { .sheet th, .sheet td { padding: var(--s-3) var(--s-4); } .sheet table { font-size: 1rem; } }

/* Prisen: et roligt afsnit, ikke en reklameflise */
.price { max-width: var(--measure); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-6) var(--s-6) var(--s-5); }
.price__name { font: 500 1.3125rem/1.3 var(--font-head); color: var(--ink); margin: 0 0 var(--s-2); }
.price__amount { font: 400 2.25rem/1.1 var(--font-head); color: var(--accent); margin: 0; font-variant-numeric: lining-nums; }
.price__unit { font-size: var(--fs-small); color: var(--muted); margin: var(--s-2) 0 var(--s-5); }
.price__list { list-style: none; margin: 0 0 var(--s-6); padding: var(--s-5) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s-3); }
.price__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--s-3); line-height: 1.55; }
.price__list li::before { content: ""; width: 16px; height: 16px; margin-top: 5px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.price .btn { width: 100%; }
.price__note { font-size: var(--fs-small); color: var(--muted); margin: var(--s-4) 0 0; }
@media (max-width: 560px) { .price { padding: var(--s-5) var(--s-4) var(--s-4); } }

/* Hvornår en advokat er bedre: en rolig randnote */
.advokat { max-width: var(--measure); border-left: 3px solid var(--line-strong); padding: var(--s-1) 0 var(--s-1) var(--s-5); }
.advokat h2 { font-size: 1.5rem; margin: 0 0 var(--s-3); }
.advokat ul { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
.advokat li { margin-bottom: var(--s-2); }
.advokat p:last-child, .advokat ul:last-child { margin-bottom: 0; }

/* Det, der er sandt om siden */
.trust { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.trust li { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.trust li:last-child { border-bottom: 1px solid var(--line); }
.trust strong { display: block; font: 500 1.1875rem/1.35 var(--font-head); }
.trust span { color: var(--muted); font-size: 1.0625rem; }

/* Spørgsmål og svar: <details> uden JavaScript */
.faq { max-width: var(--col); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4);
  padding: var(--s-4) 0; font: 500 1.1875rem/1.4 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 0.45em; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.faq details[open] summary::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.faq summary:hover { color: var(--accent); }
.faq details > div { padding: 0 0 var(--s-5); color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Afsluttende opfordring */
.cta-end > .wrap { border-top: 1px solid var(--line); padding-top: var(--section-y); }
.cta-end p { color: var(--muted); margin-bottom: var(--s-5); }

/* Sidehoved på de øvrige sider */
.page-head { background: var(--flade); padding: clamp(36px, 4vw, 64px) 0 clamp(36px, 4vw, 56px); }
.page-head h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.875rem); max-width: 20ch; }
.page-head .lead { color: var(--muted); margin-bottom: 0; }
.page-head .lead + .hero__actions, .page-head .hero__actions { margin-top: var(--s-5); }
.page-head .lead a { color: var(--accent); }

/* Tekstsider og landingssider */
.prose { max-width: var(--col); }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); margin-top: var(--s-7); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 var(--s-4); max-width: var(--measure); }
.prose li { margin-bottom: var(--s-2); }
.prose blockquote { margin: 0 0 var(--s-4); padding: var(--s-1) 0 var(--s-1) var(--s-5); border-left: 3px solid var(--line-strong); max-width: var(--measure); }
.prose-faq { margin: var(--s-8) 0 var(--s-7); }
.prose-faq .faq { margin: 0; }
.prose .btn { color: #fff; }

/* Formularer */
.form { max-width: var(--col); margin: 0; text-align: left; }
.form label { display: block; font-weight: 600; font-size: 1.0625rem; margin: var(--s-4) 0 var(--s-2); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form input[type=date], .form select {
  width: 100%; min-height: 50px; padding: 0 var(--s-4); font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: #fff; border: 1px solid var(--field); border-radius: var(--r-lille); }
.form input:focus-visible, .form select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.form .consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-3); align-items: start; font-weight: 400; font-size: var(--fs-small); color: var(--ink); margin-top: var(--s-5); line-height: 1.55; }
.form .consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.form .btn { margin-top: var(--s-6); }
@media (max-width: 560px) { .form .btn { width: 100%; } }
.form fieldset { border: 0; margin: 0 0 var(--s-7); padding: 0; min-width: 0; }
.form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: var(--s-6); }
.form legend { font: 400 var(--fs-h2)/1.2 var(--font-head); padding: 0 0 var(--s-2); display: flex; align-items: center; gap: var(--s-3); }
.step__tal { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font: 500 1.125rem/1 var(--font-head); }
.form .hint { font-size: var(--fs-small); color: var(--muted); margin: 0 0 var(--s-2); line-height: 1.5; }
.form .small { margin-top: var(--s-3); }
.spg { margin-top: var(--s-5); }
.spg > .lbl { display: block; font-weight: 600; font-size: 1.0625rem; margin-bottom: var(--s-1); }
.spg > label { margin-top: 0; }
.radio { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); margin: var(--s-2) 0 0; }
.radio label { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0; font-weight: 400; cursor: pointer;
  min-height: 46px; padding: 0 var(--s-5) 0 var(--s-4); border: 1px solid var(--field); border-radius: var(--r-lille); background: #fff; }
.radio label:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #f5f8fb; }
.radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.field-error { color: var(--error); font-size: var(--fs-small); margin-top: var(--s-2); font-weight: 600; }
.alert { max-width: var(--col); margin: 0 0 var(--s-6); padding: var(--s-4) var(--s-5); border-left: 3px solid var(--error); background: #fbf1f0; color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Detaljeformularen: rækker af arvinger, aktiver og gæld */
.raekke { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 0.9fr; gap: var(--s-2); margin-top: var(--s-2); }
.raekke--to { grid-template-columns: 1.4fr 1fr; }
.raekke > * { min-width: 0; }
.raekke input, .raekke select { width: 100%; min-height: 46px; padding: 0 var(--s-3); font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--field); border-radius: var(--r-lille); }
.raekke-hoved { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 0.9fr; gap: var(--s-2); font-size: var(--fs-small); color: var(--muted); margin-top: var(--s-4); }
.raekke-hoved--to { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 640px) {
  .raekke, .raekke-hoved { grid-template-columns: 1fr 1fr; }
  .raekke { padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
  .raekke-hoved { display: none; }
}
.vis-flere { margin-top: var(--s-3); background: none; border: 0; padding: var(--s-2) 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 1.0625rem; font-weight: 600; cursor: pointer; }

/* Resultatsiden: én kolonne, svaret først */
.svar-form { font: 400 clamp(2.125rem, 1.6rem + 2.2vw, 3rem)/1.12 var(--font-head); color: var(--accent); margin: var(--s-1) 0 var(--s-4); }
.page-head .muted { margin: 0; }
.to-spalter { display: block; }
.to-spalter > aside { margin-top: var(--s-8); padding-top: var(--s-7); border-top: 1px solid var(--line); }
.sektion-h { font-size: var(--fs-h2); margin: var(--s-8) 0 var(--s-5); }
.grund { padding-left: 1.25rem; margin: 0 0 var(--s-4); max-width: var(--measure); }
.grund li { margin-bottom: var(--s-3); }
.tjekliste { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.tjekliste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.tjekliste li:last-child { border-bottom: 1px solid var(--line); }
.tjekliste li::before { content: ""; width: 18px; height: 18px; margin-top: 5px; border: 1.5px solid var(--field); border-radius: 4px; background: #fff; }
.advokat + .sektion-h, .to-spalter .advokat { margin-top: var(--s-6); }

/* Downloadsiden */
.downloads { list-style: none; padding: 0; margin: var(--s-6) 0; display: grid; gap: var(--s-3); max-width: 28rem; }
.downloads .btn { width: 100%; }
.page-head > .wrap > p:not(.lead):not(.muted) { margin-top: var(--s-4); }

/* Interne sider (kun til drift) */
.tabel-wrap { overflow-x: auto; }
table.intern { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
table.intern th, table.intern td { text-align: left; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }
pre.kopi { white-space: pre-wrap; background: var(--flade); padding: var(--s-4); border-radius: var(--r-lille); font-size: var(--fs-small); }

/* Bund: brevets afslutning */
.foot { background: var(--flade); color: var(--ink); padding: var(--s-7) 0 var(--s-6); font-size: var(--fs-small); border-top: 1px solid var(--line); }
.foot .logo { color: var(--ink); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
.foot__grid > * { min-width: 0; }
.foot h4 { font: 600 0.9375rem/1.3 var(--font-body); margin: 0 0 var(--s-3); color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.foot a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.foot__about { max-width: 34ch; color: var(--muted); margin-top: var(--s-3); }
.foot__legal { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--muted); }
@media (min-width: 640px) {
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}

/* Bevægelse kun som svar på handlinger, og slet ikke for dem, der har bedt om det */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Regel 2 (8. okt. 2026): købsblokken lige efter det gratis resultat, og hvad det koster ikke at have pakken */
.price__h { font: 600 1rem/1.4 var(--font-body); color: var(--ink); margin: var(--s-5) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.price__h + .price__list { border-top: 0; padding-top: var(--s-3); }
h2.price__name { font: 500 1.3125rem/1.3 var(--font-head); }
.koeb__slut { font-size: 1.0625rem; line-height: 1.55; margin: 0 0 var(--s-5); max-width: var(--measure); }
.koster { max-width: var(--measure); margin-top: var(--s-6); border-left: 3px solid var(--line-strong); padding: var(--s-1) 0 var(--s-1) var(--s-5); }
.koster h2 { font-size: 1.375rem; margin: 0 0 var(--s-3); }
.koster ul { margin: 0; padding-left: 1.25rem; }
.koster li { margin-bottom: var(--s-2); }
