/* findbehandling.dk - "venteværelse i dagslys": lys lavendelgrå, dyb indigo, en varm koral til vejvisning */
@font-face { font-family: "Literata"; src: url("/assets/fonts/literata.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #f3f2f7;
  --kort: #ffffff;
  --indigo: #22223b;
  --daempet: #55566e;
  --lilla: #e4e1f0;
  --streg: #d8d5e4;
  --koral: #d36b4f;
  --koral-tekst: #a3412a;
  --koral-lys: #fbe7e0;
  --serif: "Literata", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --mal: 70rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--indigo); font: 400 1.1rem/1.62 var(--sans); }
svg { max-width: 100%; }
a { color: var(--indigo); text-decoration-color: var(--koral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--koral-tekst); }
:focus-visible { outline: 3px solid var(--koral); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.55em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); }
p { margin: 0 0 1em; max-width: 68ch; }
strong { font-weight: 600; }
.ramme { width: min(100% - 2rem, var(--mal)); margin-inline: auto; display: block; }
.spring { position: absolute; left: -999px; top: 0; background: var(--kort); padding: 0.5rem 1rem; z-index: 5; }
.spring:focus { left: 1rem; }

.akut-baand { margin: 0; background: var(--indigo); color: #fff; font-size: 0.9rem; padding-block: 0.45rem; max-width: none; }
.top { background: var(--bg); border-bottom: 1px solid var(--streg); }
.top-ind { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem 1.5rem; padding-block: 1rem; }
.ordmaerke { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font: 600 1.3rem var(--serif); letter-spacing: -0.01em; }
.ordmaerke svg { width: 1.7rem; height: 1.7rem; }
.menu { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; font-weight: 600; }
.menu a { text-decoration: none; padding-block: 0.2rem; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current] { border-bottom-color: var(--koral); }

.helt { padding-block: clamp(2.5rem, 7vw, 5rem); }
.helt-ind { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 54rem) { .helt-ind { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); } }
.helt-figur { max-width: 320px; justify-self: center; width: 100%; }
.vejviser { display: block; width: 100%; height: auto; }
.vejviser .skygge { fill: var(--lilla); }
.vejviser .pael { fill: var(--indigo); }
.vejviser .s1 { fill: var(--koral); }
.vejviser .s2 { fill: var(--indigo); }
.vejviser .s3 { fill: #8f8ab5; }
.vejviser .linje { fill: rgba(255, 255, 255, 0.85); }
.vejviser .top-kugle { fill: var(--koral); }
.indledning { font-size: clamp(1.12rem, 1.8vw, 1.28rem); color: var(--daempet); }

.knapper { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.knap { display: inline-block; background: var(--indigo); color: #fff; border: 2px solid var(--indigo); padding: 0.85rem 1.4rem; border-radius: 999px; text-decoration: none; font-weight: 600; line-height: 1; }
.knap:hover { background: #33335a; color: #fff; }
.knap-lys { background: transparent; color: var(--indigo); }
.knap-lys:hover { background: var(--kort); color: var(--indigo); }

.sektion { padding-block: clamp(3rem, 7vw, 5rem); }
.sektion-lys { background: var(--kort); }
.veje { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.5rem; }
.vej { background: var(--kort); border-radius: 18px; padding: 1.5rem; }
.vej:first-child { background: var(--koral-lys); }
.vej p:last-child { margin: 0; color: var(--daempet); }
.vej-hvornaar { font-size: 0.92rem; color: var(--daempet); margin-bottom: 0.25rem; }
.vej-hvad { font: 500 1.6rem/1.2 var(--serif); margin-bottom: 0.6rem; }
.to-spalter { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.mellemrum { margin-top: 3rem; }
.punkter { padding-left: 1.2rem; margin: 0 0 1rem; }
.punkter li { margin-bottom: 0.5rem; }
.pil { font-weight: 600; }
.pil::after { content: " \2192"; }

.tekstside { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.side-top { margin-bottom: 2.5rem; max-width: 50rem; }
.artikel { max-width: 46rem; }
.artikel h2 { margin-top: 2.25rem; }
.mellem { margin-top: 3rem; }
.note { font-size: 0.95rem; color: var(--daempet); max-width: 72ch; margin-top: 1rem; }

.vejviser-form { background: var(--kort); border-radius: 20px; padding: clamp(1.25rem, 4vw, 2.25rem); display: grid; gap: 0.75rem; max-width: 50rem; }
.vejviser-form label { font: 500 1.25rem var(--serif); }
select { font: 400 1.05rem var(--sans); color: var(--indigo); background: var(--bg); border: 1px solid var(--streg); border-radius: 12px; padding: 0.8rem 0.9rem; width: 100%; }
.svar { background: var(--lilla); border-radius: 14px; padding: 1.25rem 1.4rem; margin-top: 0.5rem; }
.svar p:last-child { margin: 0; }
.svar-titel { font: 600 1.35rem/1.25 var(--serif); margin-bottom: 0.4rem; }

.tabel { overflow-x: auto; background: var(--kort); border-radius: 16px; }
.tabel table { border-collapse: collapse; width: 100%; min-width: 40rem; }
.tabel th, .tabel td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--streg); }
.tabel thead th { font-size: 0.9rem; color: var(--daempet); font-weight: 600; }
.tabel tbody th { font-weight: 600; white-space: nowrap; position: sticky; left: 0; background: var(--kort); }
.tabel tr:last-child th, .tabel tr:last-child td { border-bottom: 0; }
@media (max-width: 40rem) {
  .tabel table { min-width: 0; }
  .tabel thead { display: none; }
  .tabel tr { display: block; padding: 1rem 1.1rem; border-bottom: 1px solid var(--streg); }
  .tabel tr:last-child { border-bottom: 0; }
  .tabel th, .tabel td { display: block; padding: 0; border: 0; position: static; white-space: normal; }
  .tabel tbody th { font: 600 1.15rem var(--serif); margin-bottom: 0.35rem; }
  .tabel td { color: var(--daempet); margin-top: 0.4rem; }
  .tabel td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--indigo); }
}

.trin { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; max-width: 50rem; }
.trin li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; background: var(--kort); border-radius: 18px; padding: 1.4rem; }
.trin h2 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.trin p { margin: 0; color: var(--daempet); }
.trin-nr { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--koral); color: #fff; font: 600 1.15rem var(--serif); }
.boks { background: var(--kort); border-radius: 18px; padding: 1.5rem; }
.boks-varm { background: var(--koral-lys); }

.bund { background: var(--indigo); color: #cfcde0; padding-block: 2.5rem; margin-top: 2rem; }
.bund-ind { display: grid; gap: 0.5rem; }
.bund-navn { font: 600 1.2rem var(--serif); color: #fff; margin: 0; }
.bund-tekst { font-size: 0.95rem; }
.bund nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.bund a { color: #fff; }
