/* =========================================================================
   RECEPTA 2.0, delt designsystem
   Bruges af forsidens undersider (/kvinder, /maend), vidensiderne og de
   juridiske sider. /v og /r har fortsat deres egne ark, fordi de bærer
   beregner, quiz og prisborde.

   Farver: logoets blå #5C6CDD på den lyse blå tint #EDF4FD.
   Kontrast: brødtekst altid --ink. --accent bruges kun til flader,
   ikoner og overskrifter >= 24px; små links bruger --accent-dark.
   ========================================================================= */

:root {
  --bg: #EDF4FD;
  --band: #E9F0FB;
  --white: #ffffff;
  --ink: #1A1D2E;
  --muted: #5A6079;
  --line: #DAE6F6;
  --divider: #CCD9EC;
  --accent: #5C6CDD;
  --accent-text: #4E5BC6;
  --accent-dark: #3C45B2;
  --accent-light: #E4EEFC;
  --hover: #F1F7FF;
  --ok: #1c7c4a;
  --warn-bg: #fdecec;
  --warn-line: #f2c7c7;
  --warn-ink: #8a2020;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; overscroll-behavior-x: none; }
a, button, summary, input, label { font-family: inherit; touch-action: manipulation; }
img { max-width: 100%; }

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
/* 20/8-26: min-width:0 — uden den kan main (flex-barn) ikke blive smallere end
   den bredeste tabelrække (white-space:nowrap på celler), og medicin-siderne
   scroller sidelæns på telefon. */
main { flex: 1 0 auto; min-width: 0; }
footer.site { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 18px; }
.wrap.smal { max-width: 820px; }

/* ---------- Annoncebar ----------
   24/8-26 (Opus, Adams ønske): baren bærer KUN "En læge er online nu".
   Er ingen læge online, findes baren slet ikke — den er skjult som
   udgangspunkt og vises først, når JS'en sætter .online i åbningstiden
   (se recepta-2.js). Før stod baren altid fremme med en markedsførings-
   linje ("Gratis konsultation og 0 kr. de første 4 uger"), også uden for
   åbningstid. Fejler JS'en, er baren væk — og det er den rigtige
   fejltilstand: så lover vi ikke en læge, der ikke sidder der. */
/* 2/9-26 (Adams besked): baren er nu Recepta-blå med hvid tekst (som hims'
   promo-bar, bare i husets blå), og recepta-2.js sætter theme-color til
   samme blå, når baren vises — så telefonens statusfelt (omkring kamera-ø
   og batteri) fortsætter i barens farve.
   NB: udseendet ligger på .annonce (én klasse), og .annonce.online sætter
   KUN display. Lå font-size på .annonce.online, slog den forsidens og
   desktop-reglens .annonce-værdier (lavere specificitet) — det var derfor
   14 px-ændringen 2/9 ikke slog igennem, og desktop hang på 12 px.
   Tekst: 14 px med fast line-height 18 px + 9 px padding = 36 px. */
.annonce {
  display: none;
  background: var(--accent); color: #fff; font-size: 14px; line-height: 18px;
  align-items: center; justify-content: center;
  gap: 7px; padding: 9px 12px; text-align: center; flex-wrap: wrap;
}
.annonce.online { display: flex; }
/* Meget smalle skærme (<= 359 px, fx gamle iPhone SE): hele linjen
   fylder ~318 px ved 14 px og ville knække til to linjer — så ned til
   12 px dér, og baren bliver på sine 36/40 px. */
@media (max-width: 359px) { .annonce { font-size: 12px; } }
.onl { display: none; align-items: center; gap: 7px; }
.onl.vis { display: inline-flex; }
.onl .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; flex-shrink: 0; }
.skil { opacity: .5; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 300;
  background: rgba(237, 244, 253, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  max-width: 1240px; margin: 0 auto; padding: 0 18px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.logo img { display: block; height: 30px; width: auto; }
/* 5/9-26 (Adams besked): logoet skal stå optisk midt i headeren. På telefon
   dækker den blå topstribe (.topkant) de øverste 5 px af headeren, og
   ordmærkets p-underlængde trækker den synlige midte lidt op: 3 px ned
   under 1000 px, 1 px på desktop. Kun headerens logo, ikke footerens. */
header.site .logo img { position: relative; top: 3px; }
@media (min-width: 1000px) { header.site .logo img { top: 1px; } }
.nav-mid { display: none; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-size: 14px; font-weight: 600;
  border-radius: 999px; padding: 9px 18px; white-space: nowrap; border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pill.ghost { color: var(--ink); background: var(--white); border-color: var(--line); }
.pill.ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.pill.solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.pill.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.nav-right .pill.solid { display: none; }
.burger {
  background: none; border: 0; cursor: pointer; padding: 9px;
  display: flex; flex-direction: column; gap: 4.5px; border-radius: 8px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu {
  display: none; position: absolute; right: 16px; top: 60px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(26, 29, 46, .16); padding: 9px; min-width: 226px;
}
.menu.open { display: block; }
.menu a { display: block; text-decoration: none; color: var(--ink); font-size: 14px; padding: 10px 12px; border-radius: 10px; }
.menu a:hover { background: var(--hover); color: var(--accent-dark); }
.menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--accent); color: #fff;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .28s cubic-bezier(.16, 1, .3, 1);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn.ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--white); border-color: var(--accent); color: var(--accent-dark); }
.btn.stor { padding: 18px 38px; font-size: 17.5px; }
.btn svg { width: 17px; height: 17px; }

/* ---------- Sidehoved på undersider ---------- */
.sidehoved { padding: 34px 0 6px; }
.sidehoved .kick,
.kick { display: block; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.sidehoved h1 {
  font-size: clamp(30px, 5.2vw, 52px); font-weight: 600;
  line-height: 1.07; letter-spacing: -.03em; text-wrap: balance;
}
.sidehoved .lede { margin-top: 12px; font-size: clamp(15px, 1.6vw, 18px); color: var(--muted); max-width: 58ch; line-height: 1.55; }

/* ---------- Bånd ---------- */
.band { padding-top: 52px; }
.band h2 { font-size: clamp(23px, 3.6vw, 34px); font-weight: 600; letter-spacing: -.022em; line-height: 1.14; text-wrap: balance; }
.band h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.band .lede { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 64ch; }

/* ---------- Behandlingskort ---------- */
.kort-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.tcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 2px 4px rgba(26, 29, 46, .05), 0 14px 34px rgba(26, 29, 46, .08);
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), box-shadow .32s cubic-bezier(.16, 1, .3, 1);
}
.tcard:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(26, 29, 46, .06), 0 22px 48px rgba(26, 29, 46, .14); }
.tcard .foto { position: relative; aspect-ratio: 4 / 3.1; background: var(--band); }
.tcard .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard .felt {
  width: 100%; height: 100%;
  background: linear-gradient(158deg, #dfe9fb 0%, #c9d6f3 55%, #aebfe9 100%);
  display: flex; align-items: center; justify-content: center;
}
.tcard .felt svg { width: 54px; height: 54px; stroke: var(--accent-dark); fill: none; opacity: .75; }
.tcard .maerke {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .92); color: var(--accent-dark);
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 11px;
}
.tcard .maerke.snart { background: var(--ink); color: #fff; }
.tcard .frimd {
  position: absolute; right: 12px; bottom: 12px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  border-radius: 999px; padding: 5px 12px;
}
.tcard .krop { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.tcard h3 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
.tcard .pris { margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--accent-dark); }
.tcard p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.tcard .gaa { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: var(--ink); }
.tcard .gaa .cirkel {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.tcard:hover .gaa .cirkel { background: var(--accent); color: #fff; }
.tcard .gaa svg { width: 15px; height: 15px; }
/* 23/8-26: pointer-events: none er FJERNET her — den åd hover/tap på
   soon-kortet, så info-panelet aldrig kunne vises (index.html slog
   pointer-events til igen 21/8, men denne gamle regel vandt i kaskaden).
   Kortet er en div, så der er stadig intet at navigere til. */
.tcard.soon .krop { opacity: .82; }
.tcard.soon .pris { color: var(--muted); }
.tcard.soon .gaa { color: var(--muted); font-weight: 600; }
.tcard.soon .gaa .cirkel { background: var(--band); color: var(--muted); }

/* ---------- Perks ---------- */
.perk-list { list-style: none; margin-top: 22px; }
.perk-list li {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start;
  border-top: 1px solid var(--line); padding: 13px 0;
}
.perk-list li:last-child { border-bottom: 1px solid var(--line); }
.perk-list .pic { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; }
.perk-list svg { width: 17px; height: 17px; stroke: var(--accent-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perk-list b { display: block; font-size: 15.5px; font-weight: 600; }
.perk-list span.und { display: block; font-size: 13.5px; color: var(--muted); margin-top: 1px; }
.mitid {
  display: inline-flex; align-items: center; justify-content: center;
  background: #0060e6; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1;
  border-radius: 5px; padding: 3.5px 6px 4px; position: relative; top: -1px; white-space: nowrap;
}

/* ---------- Trin ---------- */
.trin { list-style: none; display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
.trin > li { position: relative; }
.trin > li:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: -22px;
  width: 2px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 13px);
  opacity: .65;
}
.trin-head { display: flex; gap: 13px; align-items: center; }
.trin .n {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 20px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--accent-light), 0 8px 18px rgba(92, 108, 221, .30);
}
.trin h3 { font-size: 17px; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
.trin-list { list-style: none; margin-top: 12px; padding-left: 57px; }
.trin-list li { position: relative; padding: 3.5px 0 3.5px 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.trin-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Kort og prosa ---------- */
.kort { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 24px; }
.kort + .kort { margin-top: 14px; }
.kort h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.kort p { font-size: 15px; color: var(--muted); }
.kort p + p { margin-top: 10px; }

article.prosa { padding: 6px 0 20px; }
article.prosa section { margin-top: 34px; }
article.prosa h2 { font-size: clamp(22px, 3.2vw, 28px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
article.prosa h3 { font-size: 17px; font-weight: 600; margin: 18px 0 6px; }
article.prosa p { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
article.prosa a { color: var(--accent-dark); font-weight: 600; }
article.prosa ul { list-style: none; margin: 0 0 12px; }
article.prosa ul li { position: relative; padding: 5px 0 5px 20px; color: var(--muted); font-size: 16px; }
article.prosa ul li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
ul.check { list-style: none; margin: 6px 0 14px; }
ul.check li { position: relative; padding: 6px 0 6px 30px; color: var(--muted); font-size: 16px; }
ul.check li::before { content: ""; position: absolute; left: 0; top: 9px; width: 19px; height: 19px; border-radius: 50%; background: var(--accent); }
ul.check li::after { content: "✓"; position: absolute; left: 5px; top: 6px; color: #fff; font-size: 11px; font-weight: 700; }
ul.cross { list-style: none; margin: 6px 0 14px; }
ul.cross li { position: relative; padding: 6px 0 6px 30px; color: var(--muted); font-size: 16px; }
ul.cross li::before { content: ""; position: absolute; left: 0; top: 9px; width: 19px; height: 19px; border-radius: 50%; background: #a25b5b; }
ul.cross li::after { content: "✕"; position: absolute; left: 5.5px; top: 6px; color: #fff; font-size: 10px; font-weight: 700; }

.note { font-size: 13px; color: var(--muted); background: var(--band); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 20px; line-height: 1.6; }
.note a { color: var(--accent-dark); font-weight: 600; }
.alarm { background: var(--warn-bg); border: 1px solid var(--warn-line); }
.alarm h2, .alarm h3 { color: var(--warn-ink); }

/* ---------- Tabeller ---------- */
table.tabel {
  width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
table.tabel th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tabel td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
table.tabel tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq-wrap { margin-top: 26px; max-width: 820px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 4px 20px; }
.faq-item summary { list-style: none; display: flex; gap: 16px; align-items: baseline; padding: 16px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; flex: 1; line-height: 1.35; }
.faq-item .plus { font-size: 22px; color: var(--muted); flex-shrink: 0; line-height: 1; transition: transform .18s ease; }
.faq-item[open] .plus { transform: rotate(45deg); color: var(--accent); }
.faq-item .answer { padding: 0 34px 18px 0; font-size: 15px; color: var(--muted); line-height: 1.6; }
.faq-item .answer a { color: var(--accent-dark); font-weight: 600; }

/* ---------- Afslutning ---------- */
.slut { margin: 52px 0 0; text-align: center; border-top: 1px solid var(--line); padding-top: 38px; }
.slut h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.slut p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.slut-knapper { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.slut-onl {
  display: none; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px;
  margin-top: 20px; padding: 10px 20px; background: var(--accent-light); color: var(--ink);
  border-radius: 999px; font-size: 14px; font-weight: 500;
}
.slut-onl.vis { display: inline-flex; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #ccd9ec; margin-top: 48px; padding: 46px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 1240px; margin: 0 auto; padding: 0 18px; }
.foot-brand img { height: 30px; width: auto; display: block; }
.foot-brand p { margin-top: 14px; font-size: 14.5px; line-height: 1.65; color: #9aa4c0; max-width: 34ch; }
.foot-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.foot-links h4 { font-size: 11px; color: #8f9ab8; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 11px; }
.foot-links a { display: block; color: #d5ddf0; text-decoration: none; font-size: 14.5px; padding: 4px 0; }
.foot-links a:hover { color: #8f9cf0; }
.foot-bund {
  border-top: 1px solid #2A3050; margin: 34px auto 0; padding: 18px 18px 26px;
  font-size: 12.5px; color: #8f9ab8; max-width: 1240px; line-height: 1.7;
}
.foot-bund a { color: #8f9ab8; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  .annonce { font-size: 15px; gap: 9px; padding: 9px 14px; }
  .nav-mid { display: flex; gap: 4px; }
  .nav-mid a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 8px 13px; border-radius: 999px; }
  .nav-mid a:hover, .nav-mid a.aktiv { background: var(--white); color: var(--accent-dark); }
  .nav-right .pill.solid { display: inline-flex; }
  .sidehoved { padding: 60px 0 6px; }
  .band { padding-top: 78px; }
  .kort-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
  .kort-grid.to { grid-template-columns: repeat(2, 1fr); }
  .trin { grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 38px; }
  .trin-head { align-items: flex-start; padding-right: 62px; }
  .trin > li:last-child .trin-head { padding-right: 0; }
  .trin h3 { padding-top: 10px; font-size: 18.5px; position: relative; z-index: 1; background: var(--bg); padding-right: 14px; padding-left: 13px; margin-left: -13px; }
  .trin > li:not(:last-child)::after {
    content: ""; position: absolute; top: 21px; left: auto; right: -5px; width: 58px; height: 2px; border-radius: 2px;
    background: repeating-linear-gradient(270deg, var(--accent) 0 6px, transparent 6px 12px); opacity: .55;
  }
  .trin > li:not(:last-child)::before {
    left: auto; bottom: auto; opacity: 1; top: 17.5px; right: -22px; width: 9px; height: 9px;
    background: none; border-radius: 0;
    border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transform: rotate(45deg);
  }
  .trin-list { padding-left: 0; margin-top: 16px; }
  .trin-list li { font-size: 16px; }
  .band .lede { font-size: 17px; }
  .perk-list b { font-size: 16px; }
  .perk-list span.und { font-size: 14px; }
  .faq-item .q { font-size: 17.5px; }
  .faq-item .answer { font-size: 15.5px; }
  .slut { margin-top: 78px; padding-top: 46px; }
  .foot-grid { grid-template-columns: 320px 1fr; gap: 44px; }
  .foot-links { grid-template-columns: repeat(3, 1fr); }
  .foot-brand p, .foot-links a { font-size: 15px; }
  .foot-links h4 { font-size: 12px; }
  .foot-bund { font-size: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  .tcard { animation: settle .74s cubic-bezier(.16, 1, .3, 1) backwards; }
  .kort-grid .tcard:nth-child(1) { animation-delay: .04s; }
  .kort-grid .tcard:nth-child(2) { animation-delay: .10s; }
  .kort-grid .tcard:nth-child(3) { animation-delay: .16s; }
  .kort-grid .tcard:nth-child(4) { animation-delay: .22s; }
  .onl .dot { animation: pulseDot 2.4s ease-in-out infinite; }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   2.1, kortoverhaling (18/8-26)
   Fladen var for ensartet: hvide kort på lys blå bund hele vejen ned.
   Her kommer tre ting til: et dybt kort til kontrastparret, en
   sammenligningstabel med fremhævet Recepta-kolonne, og et båndsystem så
   siderne skifter mellem tint og hvid i stedet for at ligge i ét lag.
   ========================================================================= */

/* ---------- Båndbaggrunde ---------- */
.stribe { background: var(--white); }
.stribe--tint { background: var(--band); }
.stribe--dyb { background: var(--ink); color: #dbe6f8; }
.stribe { padding: 54px 0; }
.stribe > .wrap > .kick { color: var(--accent-text); }
/* Samme specificitet som reglen ovenfor, ellers vinder den lyse farve på den mørke stribe. */
.stribe--dyb > .wrap > .kick, .stribe--dyb .kick { color: #c3ccf2; }
.stribe--dyb h2, .stribe--dyb h3 { color: #fff; }
.stribe--dyb .lede, .stribe--dyb p { color: #b9c4e4; }

/* ---------- Dybt kort, til kontrastparret ---------- */
.kort--dyb {
  background: var(--ink); color: #dbe6f8; border: none;
  box-shadow: 0 4px 10px rgba(26, 29, 46, .18), 0 20px 46px rgba(26, 29, 46, .26);
}
.kort--dyb h3, .kort--dyb h2 { color: #fff; }
.kort--dyb p { color: #b9c4e4; }
.kort--dyb .maerkat { background: var(--accent); color: #fff; }
.kort--mat {
  background: linear-gradient(158deg, #dbe3f2 0%, #c8d2e6 100%);
  border: none; color: #3f4661;
}
.kort--mat h3, .kort--mat h2 { color: #2b3150; }
.kort--mat p { color: #4d5578; }
.kort--mat .maerkat { background: rgba(255, 255, 255, .7); color: #4d5578; }
.maerkat {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; padding: 6px 14px; margin-bottom: 16px;
}

/* Punktlister inde i kontrastparret: linjedelt som hos forbilledet */
.par-liste { list-style: none; margin-top: 4px; }
.par-liste li {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center;
  padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15.5px;
}
.kort--mat .par-liste li { border-top-color: rgba(43, 49, 80, .14); }
.par-liste li:first-child { border-top: none; }
.par-liste .ic {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kort--dyb .par-liste .ic { background: var(--accent); color: #fff; }
.kort--mat .par-liste .ic { background: rgba(43, 49, 80, .12); color: #4d5578; }
.par-liste .ic svg { width: 14px; height: 14px; stroke-width: 2.4; fill: none; stroke: currentColor; }
.par-pris { margin-top: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.par-pris .tal { font-size: clamp(30px, 4.4vw, 42px); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1; }
.par-pris .und { font-size: 13px; color: #9aa6cc; margin-top: 6px; }

/* ---------- Sammenligningstabel ---------- */
.vs-tabel { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.vs-raekke {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: center; border-top: 1px solid var(--line);
}
.vs-raekke:first-child { border-top: none; }
.vs-raekke > * { padding: 15px 12px; text-align: center; font-size: 14px; }
.vs-raekke > *:first-child { text-align: left; padding-left: 20px; font-size: 15px; color: var(--ink); }
.vs-hoved > * { font-size: 12.5px; font-weight: 700; color: var(--muted); padding-top: 20px; padding-bottom: 18px; }
.vs-hoved .os { color: var(--accent-dark); font-size: 14px; }
/* Receptas kolonne løftes med en tone, som den fremhævede kolonne hos forbilledet */
.vs-raekke > *:nth-child(2) { background: var(--accent-light); }
/* Tekstcelle i sammenligningstabellen: prisrækkerne kan ikke nøjes med
   et flueben, og et beløb skal kunne læses lige så hurtigt som et symbol. */
.vs-txt { font-weight: 600; color: var(--ink); }
.vs-raekke > *:nth-child(2) .vs-txt { color: var(--accent-text); }
.vs-raekke > *:nth-child(3) .vs-txt,
.vs-raekke > *:nth-child(4) .vs-txt { font-weight: 500; color: var(--muted); }
.vs-tegn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.vs-tegn svg { width: 14px; height: 14px; stroke-width: 2.6; fill: none; stroke: currentColor; }
.vs-ja { background: var(--accent); color: #fff; }
.vs-maaske { background: var(--band); color: var(--muted); }
.vs-nej { background: #f1f0f3; color: #a08d8d; }
@media (max-width: 700px) {
  .vs-raekke { grid-template-columns: 1.35fr .55fr .55fr .55fr; }
  .vs-raekke > * { padding: 12px 4px; font-size: 12.5px; }
  .vs-raekke > *:first-child { padding-left: 14px; font-size: 13px; }
  .vs-hoved > * { font-size: 10.5px; }
  .vs-hoved .os { font-size: 11.5px; }
  .vs-tegn { width: 22px; height: 22px; }
}

/* ---------- Behandlingskort, rigere ---------- */
.tcard .ikon {
  position: absolute; left: 14px; bottom: 14px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 29, 46, .18);
}
.tcard .ikon svg { width: 20px; height: 20px; stroke: var(--accent-dark); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tcard.soon .ikon svg { stroke: var(--muted); }
.tcard .krop { padding: 18px 18px 20px; }
.tcard .mini {
  margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center;
}
.tcard .mini b { color: var(--ink); font-weight: 600; }

/* ---------- Statistikstribe ---------- */
.tal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; margin-top: 28px; }
.tal-grid .t { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; color: var(--accent-dark); line-height: 1; }
.stribe--dyb .tal-grid .t { color: #a9b4f5; }
.tal-grid p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.stribe--dyb .tal-grid p { color: #b9c4e4; }
@media (min-width: 760px) {
  .stribe { padding: 78px 0; }
  .tal-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .par-liste li { font-size: 16px; }
  .vs-raekke > * { font-size: 15px; }
}

/* =========================================================================
   2.2, undersidernes layout (18/8-26)
   Undersiderne lå som én smal spalte på ét fladt lag: ingen sidehoved,
   ingen båndskift, ingen billeder, og login og 404 svævede i tomrum.
   Herunder er delene, der giver dem samme rytme som forsiden.
   ========================================================================= */

/* ---------- Sidehoved med luft ---------- */
.sidehero { background: var(--band); border-bottom: 1px solid var(--line); padding: 34px 0 38px; }
.sidehero .wrap { max-width: 1240px; }
.sidehero-ind { max-width: 780px; }
.sidehero .kick { color: var(--accent-text); }
.sidehero h1 {
  font-size: clamp(30px, 5.2vw, 46px); font-weight: 600;
  line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; margin: 0;
}
.sidehero .lede { margin-top: 14px; font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); line-height: 1.55; max-width: 62ch; }
.sidehero .meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px;
  font-size: 13.5px; color: var(--muted);
}
.sidehero .meta span { display: inline-flex; align-items: center; gap: 7px; }
.sidehero .meta svg { width: 15px; height: 15px; stroke: var(--accent-dark); fill: none; stroke-width: 1.9; }
.brdkrumme { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.brdkrumme a { color: var(--muted); text-decoration: none; }
.brdkrumme a:hover { color: var(--accent-dark); }

/* ---------- Indholdsspalte med sidebar ---------- */
.side-krop { padding: 40px 0 10px; }
.side-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 1240px; margin: 0 auto; padding: 0 18px; }
.side-hoved-kol { min-width: 0; max-width: 780px; }
.sidebar { display: none; }
@media (min-width: 1000px) {
  .side-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 54px; }
  .sidebar { display: block; }
  .sidebar-fast { position: sticky; top: 90px; }
}
.sb-kort {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 20px; margin-bottom: 14px;
}
.sb-kort h3 { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.sb-kort ol, .sb-kort ul { list-style: none; margin: 0; }
.sb-kort li { padding: 0; margin: 0; }
.sb-kort li::before { content: none; }
.sb-kort a {
  display: block; padding: 7px 0; font-size: 14.5px; color: var(--ink);
  text-decoration: none; line-height: 1.4; border-bottom: 1px solid var(--line);
}
.sb-kort li:last-child a { border-bottom: none; }
.sb-kort a:hover { color: var(--accent-dark); }
.sb-cta { background: var(--ink); border: none; }
.sb-cta h3 { color: #aab7f0; }
.sb-cta p { color: #b9c4e4; font-size: 14px; margin-bottom: 14px; line-height: 1.55; }
.sb-cta .btn { width: 100%; padding: 13px 18px; font-size: 15px; }

/* ---------- Billedpladsholder ----------
   Tydeligt mærket, så det aldrig kan forveksles med et rigtigt billede,
   og så det står sort på hvidt, hvad der skal skydes. */
.foto-ph {
  position: relative; border-radius: 20px; overflow: hidden;
  background: repeating-linear-gradient(135deg, #dfe9fb 0 22px, #cfdcf7 22px 44px);
  border: 1.5px dashed #9fb3e2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 26px 22px; min-height: 200px; color: #3C45B2;
}
.foto-ph .ram { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.foto-ph b { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; max-width: 34ch; line-height: 1.35; }
.foto-ph span { display: block; margin-top: 6px; font-size: 13px; color: #4C56A8; max-width: 40ch; line-height: 1.5; }
.foto-ph svg { width: 26px; height: 26px; stroke: #3C45B2; fill: none; stroke-width: 1.6; margin-bottom: 4px; }
.foto-ph--bred { aspect-ratio: 16 / 7; min-height: 0; }
.foto-ph--kvad { aspect-ratio: 4 / 3; min-height: 0; }
.foto-ph--portraet { aspect-ratio: 3 / 4; min-height: 0; }
figure.figur { margin: 26px 0; }
figure.figur figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Relaterede sider ---------- */
.rel-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
.rel-kort {
  display: flex; gap: 14px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; text-decoration: none; color: var(--ink);
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s cubic-bezier(.16,1,.3,1), border-color .2s ease;
}
.rel-kort:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 10px 26px rgba(26,29,46,.10); }
.rel-kort .ic {
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rel-kort .ic svg { width: 18px; height: 18px; stroke: var(--accent-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rel-kort b { display: block; font-size: 15.5px; font-weight: 600; }
.rel-kort span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.rel-kort .pil { margin-left: auto; color: var(--accent-dark); font-weight: 700; flex-shrink: 0; }
@media (min-width: 760px) { .rel-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ---------- Afsluttende CTA-bånd ---------- */
.slutbaand { background: var(--ink); color: #dbe6f8; margin-top: 54px; padding: 54px 0; text-align: center; }
.slutbaand h2 { color: #fff; font-size: clamp(23px, 3.4vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.slutbaand p { color: #b9c4e4; font-size: 16px; margin: 10px auto 22px; max-width: 56ch; }
.slutbaand .knapper { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.slutbaand .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.slutbaand .btn.ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }

/* ---------- Midterstillede småsider (login, 404) ---------- */
body.smal main {
  flex: 1 0 auto; display: flex; align-items: center; justify-content: center;
  padding: 56px 18px 72px; max-width: none; width: 100%;
}
body.smal main > * { width: 100%; max-width: 460px; }
body.smal .card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px 30px 30px;
  box-shadow: 0 2px 4px rgba(26,29,46,.05), 0 18px 44px rgba(26,29,46,.10);
}
body.smal .card h1 { font-size: 27px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }

/* ---------- Prosa: mere luft ---------- */
article.prosa section { margin-top: 42px; }
article.prosa section:first-child { margin-top: 8px; }
article.prosa h2 { scroll-margin-top: 92px; }
article.prosa > section > h2::before {
  content: ""; display: block; width: 34px; height: 3px; border-radius: 99px;
  background: var(--accent); margin-bottom: 14px;
}

/* 2/9-26 (Adams besked): de små sektions-etiketter (kickers som
   "Forskellen"/"Behandlinger") vises ikke længere, hverken på desktop
   eller mobil. Overskrifter og ankre består uændret — id'erne sidder på
   sektionerne, så FAQ- og header-links lander samme sted som før. */
.kick, .kicker { display: none !important; }
