/* InvestorTjek · egen visuel identitet.
   Bevidst IKKE MerInvest: lys "offentligt data-værktøj", ikke mørkegrøn luksus.
   Kølig papirbaggrund, næsten-sort blæk, én murstensrød signalfarve, mono til tal. */

:root {
  /* "Offentlig rapport, digitaliseret": dyb blæk-blå autoritet (oklch-hue ~235).
     Rød er IKKE brand: kun semantisk flag for skjulte omkostninger. */
  --paper:   #f2f5f9;   /* kølig næsten-hvid, tintet mod brand-huen */
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --ink:     #0d1b2e;   /* blæk: dyb blå-sort */
  --ink-2:   #2e3d55;
  --muted:   #566379;
  --line:    #d5dce6;
  --line-2:  #e4e9f0;
  --brand:      #1f4e8c;  /* dyb cobalt: CTA, links, nøgletal, brand */
  --brand-deep: #16385f;
  --brand-dim:  #e6edf6;
  --heroink:    #0b1526;  /* mørkt autoritet-bånd (topbar + hero + sponsor) */
  --on-hero:    #e8edf5;
  --on-hero-dim:#9fb0c8;
  --flag:    #b23225;   /* semantik: skjulte lag og forbehold. Aldrig pynt. */
  --flag-dim: #f6e6e3;
  --good:    #23744f;   /* semantik: pluspunkter, transparens */
  --bank:    #16385f;   /* bank-lag i bjælker */
  --fond:    #8fa3bd;   /* fond-lag i bjælker */
  --handel:  #d5dce6;
  --radius: 4px;
  --wrap: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 118px; }
/* Undersiderne har kun topbaren klaebende (subnav er static), og over 1360px
   bliver forsidens sektionsmenu en flydende skinne. Begge steder er 118px
   for meget. Uden :has()-stoette falder man tilbage til 118px, som er sikkert. */
body:has(.subnav) [id] { scroll-margin-top: 75px; }
@media (min-width: 1360px) { body:has(.pagenav) [id] { scroll-margin-top: 75px; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.mono { font-family: 'Spline Sans Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* ── TOPBAR (del af det mørke autoritet-bånd) ── */
.top {
  position: sticky; top: 0; z-index: 20; background: rgba(11,21,38,0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(232,237,245,0.12);
  color: var(--on-hero);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 62px; flex-wrap: wrap; row-gap: 4px; padding-block: 6px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 1.12rem; text-decoration: none; color: #fff; }
.brand .mk { width: 26px; height: 26px; border: 2px solid #7fb0e8; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.brand .mk svg { width: 15px; height: 15px; }
.brand .mk svg * { stroke: #7fb0e8; }
.brand b { color: #7fb0e8; }
.top .by { font-size: 0.8rem; color: var(--on-hero-dim); }
.top .by a { color: var(--on-hero); text-decoration: underline; text-underline-offset: 2px; }

/* ── TOPMENU (genveje i topbaren) ── */
.topmenu { display: flex; gap: 18px; flex-wrap: wrap; min-width: 0; }
.topmenu a { font-size: 0.84rem; color: var(--on-hero-dim); text-decoration: none; white-space: nowrap; }
.topmenu a:hover { color: var(--on-hero); }
@media (max-width: 860px) { .top .by { display: none; } }
@media (max-width: 660px) { .topmenu a:not(:first-child) { display: none; } }

/* rådgiver-toggle-chip */
.chip-raad[aria-pressed="true"] { background: var(--good); border-color: var(--good); color: #fff; }

/* kort-beskrivelse på udbyder-kort */
.uom { padding: 14px 22px 0; font-size: 0.92rem; color: var(--ink-2); max-width: 78ch; line-height: 1.55; }

/* ── GLIDENDE SEKTIONSMENU (forside) ── */
.pagenav { position: sticky; top: 63px; z-index: 19; background: var(--surface); border-bottom: 1px solid var(--line); }
.pagenav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 4px; }
.pagenav .wrap::-webkit-scrollbar { display: none; }
.pagenav a { flex: 0 0 auto; font-size: 0.82rem; color: var(--ink-2); text-decoration: none; padding: 11px 10px 9px; border-bottom: 2px solid transparent; white-space: nowrap; }
.pagenav a:hover { color: var(--brand); }
.pagenav a[aria-current="true"] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
/* bred skærm: fast lodret skinne ude til højre */
@media (min-width: 1360px) {
  .pagenav { position: fixed; top: 50%; right: 26px; left: auto; transform: translateY(-50%); background: none; border: none; z-index: 15; }
  .pagenav .wrap { flex-direction: column; align-items: flex-end; gap: 1px; overflow: visible; padding: 0; max-width: none; margin: 0; }
  .pagenav a { padding: 5px 12px 5px 0; font-size: 0.76rem; color: var(--muted); border-bottom: none; border-right: 2px solid var(--line); text-align: right; opacity: 0.65; transition: opacity .2s var(--ease), color .2s var(--ease); }
  .pagenav a:hover { opacity: 1; }
  .pagenav a[aria-current="true"] { color: var(--brand); border-right-color: var(--brand); opacity: 1; font-weight: 600; }
}

/* ── HERO (mørkt bånd: rapportens forside) ── */
.hero { background: var(--heroink); color: var(--on-hero); padding: clamp(64px, 10vw, 124px) 0 clamp(44px, 6vw, 72px); }
.hero .kick { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #7fb0e8; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); max-width: 16ch; color: #fff; }
.hero h1 .u { color: #7fb0e8; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.32rem); color: var(--on-hero-dim); max-width: 60ch; margin-top: 34px; line-height: 1.5; text-wrap: pretty; }
.hero .meta { margin-top: 26px; font-size: 0.85rem; color: var(--on-hero-dim); display: flex; gap: 20px; flex-wrap: wrap; }
.hero .meta b { color: #fff; font-weight: 600; }

/* ── SEKTIONER ── */
section.band { padding: clamp(40px, 6vw, 80px) 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 62ch; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.sec-head p { color: var(--ink-2); margin-top: 12px; font-size: 1.02rem; }

/* ── HURTIGVALG AF PROFIL (aktieandel) ── */
.aktie-hurtig { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.ah-knap {
  font: inherit; font-size: 0.83rem; padding: 8px 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); border-radius: 100px; cursor: pointer;
  transition: all .2s var(--ease);
}
.ah-knap:hover { border-color: var(--ink-2); }
.ah-knap[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* ── FILTER ── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; align-items: center; }
.filters .lab { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip {
  font: inherit; font-size: 0.86rem; padding: 8px 15px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); border-radius: 100px; cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* ── SAMMENLIGNINGSTABEL ── */
/* Antydning af at tabellen kan scrolles sidelaens: uden den er den sidste
   kolonne reelt usynlig paa en telefon. Masken forsvinder naar man er
   scrollet helt til hoejre. */
.tbl-hint { position: relative; }
.tbl-hint::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34px;
  background: linear-gradient(to right, rgba(255,255,255,0), var(--surface));
  pointer-events: none; opacity: 1; transition: opacity var(--t-fast, .15s) ease;
}
.tbl-hint.i-bund::after { opacity: 0; }
@media (min-width: 560px) { .tbl-hint::after { display: none; } }

.cmp { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.cmp thead th {
  text-align: left; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line);
  white-space: nowrap; cursor: pointer; user-select: none;
}
.cmp thead th.num { text-align: right; }
.cmp thead th .ar { opacity: 0; margin-left: 5px; }
.cmp thead th[aria-sort] .ar { opacity: 1; }
.cmp tbody td { padding: 15px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr.fremhaev { background: var(--brand-dim); }
.cmp .u-navn { font-weight: 600; font-size: 1.02rem; }
.cmp .u-prod { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
/* Profil-markering under produktnavnet: hvad kundens egen bank kalder profilen,
   eller hvorfor prisen ikke varierer med aktieandelen. */
.cmp .u-prof { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.cmp .u-prof.flad { color: var(--good); }
.cmp .u-prof.ukendt { font-style: italic; }
.cmp .pris { text-align: right; font-family: 'Spline Sans Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; font-size: 1.05rem; font-weight: 500; white-space: nowrap; }
.cmp .pris .kr { display: block; font-size: 0.76rem; color: var(--muted); font-weight: 400; }
.cmp .pris.skoen::after { content: " ~"; color: var(--muted); }
/* transparens: checkmarks (åbent) og krydser (ikke oplyst) */
.tmeter { display: inline-flex; gap: 2px; align-items: center; }
.tmeter b { font-size: 0.95rem; line-height: 1; font-weight: 700; }
.tmeter b.on { color: var(--good); }
.tmeter b.off { color: var(--flag); opacity: 0.4; }
.tlabel { font-size: 0.74rem; color: var(--muted); display: block; margin-top: 4px; }
/* flag-tæller → røde krydser */
.flagcount { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--flag); font-weight: 600; }
.flagcount.zero { color: var(--good); }
.flagcount .x { font-size: 0.95rem; font-weight: 700; }
.cmp tbody tr { cursor: pointer; transition: background .15s var(--ease); }
.cmp tbody tr:hover { background: var(--surface-2); }
.cmp tbody tr.fremhaev:hover { background: #dbe6f3; }

/* ── DETALJE-PANEL (udfoldet række) ── */
.detail td { background: var(--surface-2); padding: 0 !important; border-bottom: 1px solid var(--line) !important; }
.detail-inner { padding: 4px 16px 24px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
@media (max-width: 720px) { .detail-inner { grid-template-columns: 1fr; gap: 20px; } }
.detail h4 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 16px 0 12px; }
/* lag-bjælke */
.lagbar { display: flex; height: 30px; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.lagbar span { height: 100%; display: flex; align-items: center; padding-left: 9px; font-size: 0.7rem; color: #fff; white-space: nowrap; overflow: hidden; }
.lagbar span.bank { background: var(--bank); }
.lagbar span.fond { background: var(--fond); color: var(--ink); }
.lagbar span.handel { background: var(--handel); color: var(--ink); }
.lagrows { margin-top: 12px; display: grid; gap: 8px; }
.lagrow { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; font-size: 0.86rem; }
.lagrow .dot { width: 10px; height: 10px; border-radius: 2px; }
.lagrow .dot.bank { background: var(--bank); }
.lagrow .dot.fond { background: var(--fond); }
.lagrow .dot.handel { background: var(--handel); }
.lagrow .ln { color: var(--ink-2); }
.lagrow .st { font-family: 'Spline Sans Mono', ui-monospace, monospace; color: var(--ink); white-space: nowrap; }
.lagrow .nt { grid-column: 2 / -1; font-size: 0.78rem; color: var(--muted); }
/* flag-liste */
.flaglist { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.flaglist li { font-size: 0.88rem; color: var(--ink-2); padding-left: 24px; position: relative; line-height: 1.45; }
.flaglist li::before { content: "✗"; position: absolute; left: 0; top: 0; color: var(--flag); font-size: 0.98rem; font-weight: 700; }
.pluslist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.pluslist li { font-size: 0.88rem; color: var(--ink-2); padding-left: 24px; position: relative; line-height: 1.45; }
.pluslist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 700; font-size: 0.98rem; }
.detail .kilde { font-size: 0.76rem; color: var(--muted); margin-top: 16px; }

/* ── DIY-GUIDE ── */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.guide-item { background: var(--surface); padding: 26px 24px; }
.guide-item .n { font-family: 'Spline Sans Mono', ui-monospace, monospace; font-size: 0.8rem; color: var(--brand); font-weight: 500; }
.guide-item h4 { font-size: 1.08rem; margin: 10px 0 8px; letter-spacing: -0.01em; }
.guide-item p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.55; }

/* ── MERINVEST-STRIBE (diskret sponsor) ── */
.sponsor { background: var(--ink); color: #e9eaec; }
.sponsor .wrap { padding-top: clamp(38px, 5vw, 60px); padding-bottom: clamp(38px, 5vw, 60px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: center; }
@media (max-width: 720px) { .sponsor .wrap { grid-template-columns: 1fr; } }
.sponsor h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; }
.sponsor p { color: #b9bcc1; margin-top: 12px; font-size: 1rem; max-width: 52ch; }
.sponsor .cta { display: inline-flex; align-items: center; gap: 9px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: var(--radius); transition: transform .2s var(--ease); white-space: nowrap; }
.sponsor .cta:hover { transform: translateY(-1px); }
.sponsor .note { font-size: 0.78rem; color: #8a8e95; margin-top: 14px; }

/* ── FOOTER ── */
footer.foot { padding: 40px 0 60px; border-top: 1px solid var(--line); }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: baseline; }
footer .disc { font-size: 0.78rem; color: var(--muted); max-width: 60ch; line-height: 1.6; }

/* ── UNDERSIDER: subnav, breadcrumb, prose, faktaboks, FAQ, kryds-links ── */
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 10px 22px; flex-wrap: wrap; min-height: 46px; padding-block: 8px; align-items: center; font-size: 0.86rem; }
.subnav a { color: var(--ink-2); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--brand); }
.subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); font-weight: 600; }

.crumbs { font-size: 0.8rem; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 8px; color: var(--line); }

.pagehead { padding: 14px 0 clamp(26px, 4vw, 44px); }
.pagehead h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); max-width: 20ch; }
.pagehead .lead { font-size: clamp(1.04rem, 1.9vw, 1.24rem); color: var(--ink-2); max-width: 62ch; margin-top: 18px; line-height: 1.5; text-wrap: pretty; }
.pagehead .stamp { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }

.prose { max-width: 78ch; }
.prose p, .prose li { max-width: 70ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.16rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; display: grid; gap: 0.4em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); text-underline-offset: 2px; }

.factbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 26px 0; }
.factbox .cell { background: var(--surface); padding: 18px 20px; }
.factbox .k { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.factbox .v { font-family: 'Spline Sans Mono', ui-monospace, monospace; font-size: 1.35rem; font-weight: 500; margin-top: 6px; color: var(--ink); }
.factbox .v.flag { color: var(--flag); }
.factbox .v.brand { color: var(--brand); }
.factbox .v small { font-size: 0.8rem; color: var(--muted); font-weight: 400; display: block; font-family: 'Hanken Grotesk', sans-serif; }

.staticbar { max-width: 78ch; }
.qa { max-width: 68ch; display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.qa details { background: var(--surface); }
.qa summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; font-size: 1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; float: right; color: var(--brand); font-weight: 400; }
.qa details[open] summary::after { content: "–"; }
.qa .a { padding: 0 20px 18px; color: var(--ink-2); font-size: 0.95rem; }

.seealso { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.seealso a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; transition: border-color .2s var(--ease); }
.seealso a:hover { border-color: var(--brand); }
.seealso .t { font-weight: 600; color: var(--ink); }
.seealso .d { font-size: 0.83rem; color: var(--muted); margin-top: 4px; }

.footlinks { width: 100%; border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; }
.footlinks h5 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.footlinks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footlinks a { font-size: 0.85rem; color: var(--ink-2); text-decoration: none; }
.footlinks a:hover { color: var(--brand); }

/* ── BEREGNER (forside) ── */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 26px; }
.calc > label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.calc-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.calc-row input[type=range] { flex: 1; min-width: 220px; accent-color: var(--brand); height: 24px; cursor: pointer; }
.calc-amount { display: flex; align-items: baseline; gap: 6px; }
.calc-amount input { font-family: 'Spline Sans Mono', ui-monospace, monospace; font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 500; width: 11ch; text-align: right; border: none; border-bottom: 2px solid var(--brand); background: transparent; color: var(--ink); padding: 2px 0; }
/* Aktieandelen er hoejst tre tegn (0-100) og skal ikke have samme brede
   felt som beloebet, der kan rumme 20.000.000. */
.calc-amount input#aktieField { width: 5ch; }
.calc-amount input:focus { outline: none; background: var(--brand-dim); }
.calc-amount span { color: var(--muted); font-size: 0.9rem; }
.calc-out { margin-top: 18px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.55; }
.calc-out b { color: var(--brand); font-weight: 600; font-family: 'Spline Sans Mono', ui-monospace, monospace; }

/* ── SLÅ DIN LØSNING OP (funnel) ── */
.llab { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.lookup select {
  font: inherit; font-size: 0.98rem; width: 100%; padding: 11px 12px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.lookup select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.lu-result { margin-top: 20px; border-top: 1px solid var(--line-2); padding-top: 18px; display: grid; gap: 12px; font-size: 0.98rem; color: var(--ink-2); max-width: 70ch; }
.lu-result b { color: var(--ink); font-family: 'Spline Sans Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.lu-result .lu-pitch { color: var(--ink); }
.lu-result .lu-pitch b { font-family: inherit; }
.lu-cta { display: inline-flex; align-items: center; gap: 8px; justify-self: start; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 24px; border-radius: var(--radius); transition: background .2s var(--ease); }
.lu-cta:hover { background: var(--brand-deep); }
.lu-link { font-size: 0.85rem; color: var(--brand); justify-self: start; }

/* ── VARIANT-FANER (udbyder-kort) ── */
.utabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 22px 0; }
.uarticle .utabs { border-top: 1px solid var(--line-2); margin-top: 2px; padding-top: 14px; }
.utab {
  font: inherit; font-size: 0.8rem; padding: 7px 13px; cursor: pointer;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); transition: all .15s var(--ease); white-space: nowrap;
}
.utab:hover { border-color: var(--brand); color: var(--brand); }
.utab.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* variant-blokke på genererede undersider */
.varblok { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 22px; margin-top: 16px; }
.varblok h3 { font-size: 1.1rem; margin: 0 0 6px; }
.varblok .vstatus { font-size: 0.78rem; color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.varblok .vpris { font-family: 'Spline Sans Mono', ui-monospace, monospace; font-size: 1rem; margin: 8px 0 12px; }

/* ── SKIFTE-VÆRKTØJ (vertikalt step-flow, match-kort) ── */
.sktool { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(26px, 4.5vw, 44px); display: grid; gap: 34px; max-width: 760px; box-shadow: 0 1px 2px rgba(11,21,38,0.04), 0 8px 28px rgba(11,21,38,0.06); }
.sktool h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.skintro { color: var(--ink-2); max-width: 56ch; margin-top: 8px; }
.skstep { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.skstep .n { font-family: 'Spline Sans Mono', ui-monospace, monospace; font-size: 0.85rem; font-weight: 500; color: var(--brand); border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; background: var(--surface-2); }
.skfelt { display: grid; gap: 10px; }
.skfelt select {
  font: inherit; font-size: 1rem; width: 100%; padding: 14px 14px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.skfelt select:focus, .skfelt input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.skfelt .calc-amount input { font-size: 1.25rem; width: 11ch; border-bottom-width: 2px; }
.switchrow {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 15px 18px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  background: var(--surface-2); transition: border-color .15s var(--ease); user-select: none;
}
.switchrow:hover { border-color: var(--brand); }
.switchrow span { font-size: 0.95rem; color: var(--ink); line-height: 1.4; }
.switchrow .switch { flex: 0 0 auto; width: 46px; height: 26px; border-radius: 13px; background: var(--line); position: relative; transition: background .18s var(--ease); }
.switchrow .switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform .18s var(--ease); }
.switchrow[aria-pressed="true"], .switchrow[aria-checked="true"] { border-color: var(--good); }
.switchrow[aria-pressed="true"] .switch, .switchrow[aria-checked="true"] .switch { background: var(--good); }
.switchrow[aria-pressed="true"] .switch::after, .switchrow[aria-checked="true"] .switch::after { transform: translateX(20px); }
.infobox { font-size: 0.86rem; }
.infobox summary { color: var(--brand); cursor: pointer; list-style: none; font-weight: 600; }
.infobox summary::before { content: "ⓘ "; }
.infobox summary::-webkit-details-marker { display: none; }
.infobox p { color: var(--ink-2); margin-top: 8px; max-width: 58ch; line-height: 1.55; background: var(--surface-2); padding: 12px 14px; border-radius: 6px; }
.skresult { display: grid; gap: 14px; border-top: 1px solid var(--line-2); padding-top: 26px; }
.nuvbox { background: var(--heroink); color: var(--on-hero); border-radius: 8px; padding: 18px 20px; font-size: 0.98rem; line-height: 1.55; }
.nuvbox b { font-family: 'Spline Sans Mono', ui-monospace, monospace; }
.skresult .oversk { font-weight: 700; font-size: 1.05rem; margin-top: 6px; }
.match-kort { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; background: var(--surface); flex-wrap: wrap; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.match-kort:hover { border-color: var(--brand); box-shadow: 0 4px 16px rgba(11,21,38,0.07); }
.match-kort .avatar { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; flex: 0 0 auto; }
.mk-info { flex: 1; min-width: 150px; }
.mk-info b { display: block; font-size: 1.04rem; }
.mk-info span { font-size: 0.82rem; color: var(--muted); }
.mk-pris { text-align: right; }
.mk-pris .pr { font-family: 'Spline Sans Mono', ui-monospace, monospace; font-size: 1.02rem; white-space: nowrap; }
.mk-pris small { display: block; color: var(--muted); font-size: 0.76rem; margin-top: 2px; }
.mk-badge { background: var(--good); color: #fff; font-size: 0.76rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; white-space: nowrap; }
.mk-link { font-size: 0.85rem; color: var(--brand); text-decoration: none; white-space: nowrap; }
.skdisc { font-size: 0.78rem; color: var(--muted); }
@media (max-width: 560px) { .skstep { grid-template-columns: 1fr; } .skstep .n { display: none; } .mk-pris { text-align: left; } }

/* ── DISCLAIMER-BÅND (alle sider) ── */
.legal { background: var(--surface-2); border-top: 1px solid var(--line); }
.legal .wrap { padding: 26px clamp(20px, 5vw, 48px); }
.legal p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; max-width: 92ch; }
.legal strong { color: var(--ink-2); }

/* ── DYBDE-SEKTIONER (metode, to-lag-figur, kilder, obs) ── */
.eyebrow { display:inline-block; font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--brand); font-weight:600; margin-bottom:12px; }

.metode-list { counter-reset:m; list-style:none; padding:0; margin:0; display:grid; gap:13px; max-width:76ch; }
.metode-list li { counter-increment:m; position:relative; padding-left:46px; color:var(--ink-2); font-size:0.98rem; line-height:1.5; }
.metode-list li::before { content:counter(m,decimal-leading-zero); position:absolute; left:0; top:1px; font-family:'Spline Sans Mono',ui-monospace,monospace; font-size:0.85rem; color:var(--brand); font-weight:500; }
.metode-list b { color:var(--ink); }

.twolayer { max-width:74ch; border:1px solid var(--line); background:var(--surface); border-radius:var(--radius); padding:clamp(22px,3vw,30px); }
.tl-row { margin-bottom:22px; }
.tl-row:last-child { margin-bottom:0; }
.tl-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:8px; }
.tl-head .who { font-weight:600; }
.tl-head .sum { font-family:'Spline Sans Mono',ui-monospace,monospace; color:var(--brand); white-space:nowrap; }
.tl-track { display:flex; height:30px; background:var(--surface-2); border:1px solid var(--line); border-radius:3px; overflow:hidden; }
.tl-seg { height:100%; display:flex; align-items:center; padding-left:9px; font-size:0.72rem; color:#fff; white-space:nowrap; overflow:hidden; }
.tl-seg.self { background:var(--good); }
.tl-seg.bank { background:var(--bank); }
.tl-seg.fond { background:var(--fond); color:var(--ink); }
.tl-split { font-size:0.85rem; color:var(--muted); margin-top:8px; }
.tl-key { display:flex; gap:18px; flex-wrap:wrap; margin-top:20px; font-size:0.78rem; color:var(--muted); }
.tl-key i { width:11px; height:11px; border-radius:2px; display:inline-block; margin-right:6px; vertical-align:middle; }

.obs { border:1px solid var(--line); background:var(--surface-2); padding:clamp(18px,2.5vw,26px); font-size:0.96rem; color:var(--ink-2); max-width:78ch; line-height:1.6; border-radius:var(--radius); }
.obs b { color:var(--ink); }

.kilder { list-style:none; padding:0; margin:0; display:grid; gap:12px; max-width:80ch; }
.kilder li { font-size:0.85rem; color:var(--ink-2); line-height:1.5; padding-left:14px; border-left:2px solid var(--line); }
.kilder a { color:var(--brand); word-break:break-word; }
.sk { font-size:0.7rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); border:1px solid var(--line); border-radius:2px; padding:1px 5px; margin-left:4px; white-space:nowrap; }

/* ── UDBYDERNE UDPENSLET (altid synlige kort) ── */
.uwrap { display:grid; gap:16px; }
.uarticle { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(20px,2.6vw,30px); min-width:0; }
.uarticle.fremhaev { border-color:var(--brand); background:var(--brand-dim); }
.uhead { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; border-bottom:1px solid var(--line-2); padding-bottom:14px; margin-bottom:18px; }
.uhead h3 { font-size:1.3rem; }
.uhead .uprod { font-size:0.85rem; color:var(--muted); }
.uhead .upris { margin-left:auto; font-family:'Spline Sans Mono',ui-monospace,monospace; font-size:1.1rem; color:var(--brand); white-space:nowrap; text-align:right; }
.uhead .upris small { display:block; font-family:'Hanken Grotesk',sans-serif; font-size:0.72rem; color:var(--muted); font-weight:400; }
.ubody { display:grid; grid-template-columns:1.3fr 1fr; gap:30px; }
.ubody > div { min-width: 0; }
@media (max-width:720px){ .ubody { grid-template-columns:1fr; gap:20px; } }
.ubody h4 { font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin:0 0 12px; }
.ukilde { font-size:0.76rem; color:var(--muted); margin-top:14px; }
.umeta { font-size:0.8rem; color:var(--muted); margin-top:14px; }
.ulink { display:inline-block; margin-top:18px; font-size:0.85rem; color:var(--brand); text-decoration:none; font-weight:600; }
.ulink:hover { text-decoration:underline; text-underline-offset:2px; }
.ulink.sekundaer { font-weight:500; color:var(--muted); }
.ulink.sekundaer:hover { color:var(--brand); }

/* CTA i hvert udbyderkort paa forsiden. Slankere end undersidernes blok,
   fordi der ligger 14 af dem under hinanden. */
.ukort-cta {
  display:flex; align-items:center; justify-content:space-between; gap:18px 28px; flex-wrap:wrap;
  background:var(--heroink); border-radius:var(--radius);
  padding:20px 24px; margin:30px 0 22px;
}
/* 13-14" baerbar: kortet er smallere, saa tekst og knap klemmes sammen paa
   samme linje. Under 1180px faar de hver sin linje med rigtig luft. */
@media (max-width: 1180px) {
  .ukort-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ukort-cta p { max-width: none; }
}
/* Teksten skal fylde den plads der er, i stedet for at efterlade et stort
   tomrum midt i boksen (maalt 270px paa en 14-tommer). */
.ukort-cta p { font-size:0.95rem; color:var(--on-hero-dim); margin:0; line-height:1.6; flex:1 1 320px; min-width:0; max-width:62ch; }
.ukort-cta p b { color:#fff; font-weight:600; }
.ukort-cta .ctaknap {
  flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
  background:#fff; color:var(--heroink); text-decoration:none; font-weight:600; font-size:0.92rem;
  padding:11px 20px; border-radius:var(--radius);
  transition:background var(--t-fast,.15s) var(--ease), transform var(--t-fast,.15s) var(--ease);
}
.ukort-cta .ctaknap:hover { background:var(--brand-dim); transform:translateY(-1px); }
.ukort-cta .ctaknap:active { transform:translateY(0); }
@media (max-width:640px) {
  .ukort-cta { padding:16px; }
  .ukort-cta .ctaknap { width:100%; justify-content:center; }
}

/* ── FÅ DIN LØSNING TJEKKET (to veje) ── */
.tjek { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 4vw, 38px); max-width: 780px; box-shadow: 0 1px 2px rgba(11,21,38,0.04), 0 8px 28px rgba(11,21,38,0.06); }
.tjek-valg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
@media (max-width: 620px) { .tjek-valg { grid-template-columns: 1fr; } }
.tjek-valg button {
  font: inherit; text-align: left; cursor: pointer; padding: 16px 18px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: all .18s var(--ease);
}
.tjek-valg button:hover { border-color: var(--brand); }
.tjek-valg button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-dim); box-shadow: inset 0 0 0 1px var(--brand); }
.tjek-valg .t { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 3px; }
.tjek-valg .d { display: block; font-size: 0.84rem; color: var(--muted); line-height: 1.4; }

.tjek-felt { margin-bottom: 15px; }
.tjek-felt label { display: block; font-size: 0.83rem; color: var(--ink-2); margin-bottom: 5px; font-weight: 500; }
.tjek-felt input, .tjek-felt textarea, .tjek-felt select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 4px;
  font: inherit; font-size: 0.97rem; background: var(--surface); color: var(--ink);
}
.tjek-felt input:focus, .tjek-felt textarea:focus, .tjek-felt select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-dim); }
.tjek-felt textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.tjek-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tjek-send {
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; width: 100%;
  padding: 14px 22px; border: none; border-radius: 4px; background: var(--brand); color: #fff;
  transition: filter .18s var(--ease);
}
.tjek-send:hover { filter: brightness(1.08); }
.tjek-send[disabled] { opacity: 0.6; cursor: default; }
.tjek-svar { margin-top: 14px; font-size: 0.92rem; line-height: 1.55; }
.tjek-svar.ok { color: var(--good); }
.tjek-svar.fejl { color: var(--flag); }
.tjek-mini { font-size: 0.8rem; color: var(--muted); margin-top: 14px; line-height: 1.55; }

.brevboks { border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); padding: 18px 20px; margin-top: 6px; }
.brevboks pre {
  margin: 0; font-family: inherit; font-size: 0.9rem; line-height: 1.62; color: var(--ink);
  white-space: pre-wrap; word-wrap: break-word;
}
.brev-knap {
  font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; margin-top: 14px;
  padding: 11px 20px; border: 1px solid var(--brand); border-radius: 4px; background: var(--surface); color: var(--brand);
}
.brev-knap:hover { background: var(--brand-dim); }
.brev-knap.kopieret { background: var(--good); border-color: var(--good); color: #fff; }

/* ── AFKAST: basis-mærke og forbeholds-boks ── */
.basis-tag {
  display: inline-block; margin-left: 8px; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px;
  vertical-align: 2px; white-space: nowrap;
}
.basis-tag.foer   { background: var(--flag-dim); color: var(--flag); }
.basis-tag.efter  { background: #e4f1ea; color: var(--good); }
.basis-tag.ukendt { background: var(--surface-2); color: var(--muted); }

.foerboks {
  border: 1px solid var(--line); border-left: 3px solid var(--flag);
  background: var(--surface); border-radius: 4px; padding: 16px 20px; margin: 0 0 20px;
}
.foerboks h4 {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--flag); margin: 0 0 8px; font-weight: 700;
}
.foerboks p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.55; margin: 0; max-width: 78ch; }
.foerboks p + p { margin-top: 8px; }
.foerboks b { color: var(--ink); }

/* reveal (visible by default; JS just adds subtle entrance) */
.rise { opacity: 1; }
/* Sidste udvej: i print komponerer ingen transitions, saa indholdet skal
   altid vaere synligt. Uden denne ville et udskrevet ark vaere blankt. */
@media print { .rise, .js .rise { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .rise.in { opacity: 1; transform: none; }
}

/* ============================================================
   MOBIL — målgruppen er 45+, så store touch-mål og læsbar tekst
   ============================================================ */
@media (max-width: 640px) {
  body { font-size: 17px; }

  /* Filtre: fulde touch-mål, ingen for små knapper */
  .filters { gap: 8px; }
  .filters .lab { width: 100%; margin-bottom: 2px; }
  .chip { font-size: 0.95rem; padding: 11px 16px; min-height: 44px; display: inline-flex; align-items: center; }

  /* Beregner: slider og felt under hinanden, stort inputfelt */
  .calc { padding: 18px 16px; }
  .calc-row { gap: 14px; }
  .calc-row input[type=range] { min-width: 100%; height: 26px; }
  .calc-amount { width: 100%; justify-content: flex-start; }
  .calc-amount input { font-size: 1.5rem; width: 11ch; }

  /* Sammenligningstabellen: kompakt, men læsbar. Skjul Tjek-kolonnen på
     de smalleste skærme (den findes stadig i det udfoldede detaljepanel). */
  .cmp thead th, .cmp tbody td { padding: 13px 10px; }
  .cmp thead th { font-size: 0.62rem; }
  .cmp .u-navn { font-size: 1rem; }
  .cmp .pris { font-size: 1.05rem; }
  .cmp thead th:nth-child(3), .cmp tbody td:nth-child(3) { display: none; }

  /* Detaljepanel: mere luft mellem punkterne, så de er nemme at ramme og læse */
  .flaglist li, .pluslist li { font-size: 0.95rem; }
  .detail-inner { padding: 4px 12px 22px; }

  /* Slå-op og skifte-værktøj */
  .lookup .calc-row { align-items: stretch; }
  .sktool { padding: 20px 16px; gap: 24px; }

  /* Sektionsoverskrifter lidt mindre, så de ikke bryder grimt */
  .sec-head h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Udbyder-kort: prisen må bryde og lægge sig under navnet i stedet for at
     tvinge kortet bredere end skærmen */
  .uarticle { padding: 18px 16px; }
  .uhead { gap: 4px 12px; }
  .uhead .upris { margin-left: 0; white-space: normal; text-align: left; width: 100%; font-size: 1.15rem; overflow-wrap: anywhere; }
  .uhead .upris small { white-space: normal; overflow-wrap: anywhere; }
  .uom { padding: 12px 0 0; }
  .utabs { padding: 14px 0 0; }
  .lagrow .nt { grid-column: 1 / -1; }
  /* Grid-børn skal kunne krympe under deres indhold */
  .ubody, .ubody > div { min-width: 0; }
  .lagrow { min-width: 0; }
  .lagrow .st { white-space: normal; overflow-wrap: anywhere; }
  .ukilde { overflow-wrap: anywhere; }
}

@media (max-width: 380px) {
  .cmp thead th, .cmp tbody td { padding: 11px 8px; }
  .cmp .pris .kr { font-size: 0.72rem; }
}

/* ── KONTAKT-CTA på match-kortene (skifte-værktøjet) ── */
.mk-kontakt { font-size: 0.85rem; font-weight: 600; color: #fff; background: var(--brand); border: 0; border-radius: 8px; padding: 8px 16px; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease); }
.mk-kontakt:hover { background: var(--brand-deep); }
.mk-panel { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; background: var(--surface); padding: 18px 20px; margin: -10px 0 4px; }
.mk-panel .tjek-felt input, .mk-panel .tjek-felt textarea { width: 100%; }

/* ── PDF-HURTIGLÆSER (skifte-værktøjet) ── */
.pdflaes { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 20px 22px; margin-top: 18px; }
.pdflaes h3 { font-size: 1.02rem; margin: 0; }
.pdf-drop { display: flex; align-items: center; justify-content: center; border: 2px dashed var(--line); border-radius: 10px; padding: 22px 16px; margin: 12px 0 8px; cursor: pointer; font-weight: 600; color: var(--brand); transition: border-color .15s var(--ease), background .15s var(--ease); }
.pdf-drop:hover, .pdf-drop.over { border-color: var(--brand); background: rgba(31,78,140,0.05); }
.pdf-kandidat { display: flex; align-items: baseline; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 10px 14px; margin: 6px 0; cursor: pointer; transition: border-color .15s var(--ease); }
.pdf-kandidat:hover { border-color: var(--brand); }
.pdf-kandidat b { flex: 0 0 auto; font-family: inherit; }
.pdf-kandidat span { font-size: 0.8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── HERO-OPSLAGSKORT: afgrænset panel i højre side af heroen ──
   Registeret er "offentlig rapport": kortet skal ligne et værktøjsopslag,
   ikke en kampagneknap. Hvid primærknap på den mørke flade = højeste kontrast. */
.hero-kort { margin-top: 34px; max-width: 400px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 22px 24px; }
.hero-kort h2 { font-size: 1.12rem; color: #fff; margin: 0 0 8px; text-wrap: balance; }
.hero-kort p { font-size: 0.9rem; color: var(--on-hero-dim); line-height: 1.55; margin: 0 0 16px; }
.hero-kort-knap { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; color: var(--heroink); text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 13px 18px; border-radius: 8px; transition: background .18s var(--ease), transform .18s var(--ease); }
.hero-kort-knap span { font-weight: 400; transition: transform .18s var(--ease); }
.hero-kort-knap:hover { background: #dbe7f6; }
.hero-kort-knap:hover span { transform: translateX(3px); }
.hero-kort-knap:focus-visible { outline: 3px solid #7fb0e8; outline-offset: 3px; }
.hero-kort .hk-mini { font-size: 0.76rem; color: var(--on-hero-dim); margin: 10px 0 0; }
@media (min-width: 1020px) {
  .hero .wrap { position: relative; }
  .hero-kort { position: absolute; right: 24px; top: 6px; width: 340px; margin-top: 0; }
  .hero h1, .hero .lede, .hero .meta { max-width: calc(100% - 400px); }
  .hero h1 { max-width: 15ch; }
}

/* ── Flydende sammenlign-knap: glider ind, viger for bundens egen CTA ── */
.sticky-cta { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--heroink); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 13px 20px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 10px 30px rgba(11,21,38,0.35); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), background .18s var(--ease); }
.sticky-cta.vis { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta .sc-pil { font-weight: 400; transition: transform .18s var(--ease); }
.sticky-cta:hover { background: var(--brand); }
.sticky-cta:hover .sc-pil { transform: translateX(3px); }
.sticky-cta:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (max-width: 720px) { .sticky-cta { right: 12px; bottom: 12px; font-size: 0.84rem; padding: 11px 16px; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: opacity .01s; transform: none; } .hero-kort-knap span, .sticky-cta .sc-pil { transition: none; } }

/* ── Adgangskrav (minimum) som obs-punkt i udbyder-kortene ── */
.u-min { font-size: 0.84rem; color: var(--ink); background: var(--surface-2); border-left: 3px solid var(--brand); padding: 8px 12px; border-radius: 0 6px 6px 0; margin: 0 0 10px; }

/* ── Ekstra veje i bunden af tjek-sektionen ── */
.tjek-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.u-flags { font-size: 0.72rem; color: var(--flag); margin-top: 4px; max-width: 46ch; line-height: 1.4; }

/* ── KVITTERING: erstatter formularen, saa ingen sender to gange ── */
.kvittering { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--good); background: rgba(47,125,91,0.07); border-radius: 10px; padding: 20px 22px; }
.kv-flueben { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center; }
.kv-flueben svg { width: 20px; height: 20px; }
.kvittering b { display: block; font-size: 1.02rem; color: var(--ink); margin-bottom: 4px; }
.kvittering p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.6; }
@media (prefers-reduced-motion: no-preference) { .kvittering { animation: kvInd .32s var(--ease) both; } }
@keyframes kvInd { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── CTA-BLOK paa udbyder-undersiderne: moerk, markant firkant (samme autoritet
   som hero/sponsor-baandene). Skal kunne SES, uden at raabe. ── */
.ctablok {
  display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--heroink); color: var(--on-hero);
  border-radius: var(--radius); padding: 34px 38px; margin: 48px 0 10px;
  position: relative; overflow: hidden;
}
.ctablok::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--brand);
}
.ctablok .ct { flex: 1 1 380px; min-width: 0; }
.ctablok h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); margin: 0 0 8px; color: #fff; letter-spacing: -0.01em; }
.ctablok p { font-size: 0.95rem; color: var(--on-hero-dim); margin: 0; line-height: 1.65; max-width: 58ch; }
.ctablok .ctaknap {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--brand-deep); text-decoration: none; font-weight: 700;
  font-size: 1.02rem; padding: 16px 30px; border-radius: var(--radius);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25); white-space: nowrap;
}
.ctablok .ctaknap:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
@media (max-width: 640px) { .ctablok { padding: 26px 22px; } .ctablok .ctaknap { width: 100%; justify-content: center; } }

/* Besked naar et forvalgt filter skjuler udbydere. Uden den viser tabellen
   faerre raekker end stemplet lover, og laeseren kan ikke se hvorfor. */
.filterbesked { font-size: 0.86rem; color: var(--ink-2); background: var(--brand-dim); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 16px; }
.filterbesked button { font: inherit; font-weight: 600; color: var(--brand); background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.filterbesked button:hover { color: var(--brand-deep); }


/* Skip-link: usynlig indtil en tastaturbruger tabber til den. */
.skip-link {
  position: absolute; left: 0; top: 0; z-index: 100;
  transform: translateY(-120%);
  background: var(--ink); color: #fff; padding: 12px 20px;
  text-decoration: none; font-weight: 600; border-radius: 0 0 var(--radius) 0;
  transition: transform var(--t-fast, .15s) var(--ease);
}
.skip-link:focus { transform: translateY(0); }
