@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --lys: #f5f2ec;
  --lys-2: #ece7dd;
  --blæk: #24221e;
  --blæk-2: #57524a;
  --linje: #d9d2c4;
  --salvie: #4b6852;
  --salvie-lys: #dfe8df;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --ramme: 68rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lys); color: var(--blæk); font: 400 1.075rem/1.7 var(--sans); }
::selection { background: var(--salvie); color: var(--lys); }
svg { display: block; max-width: 100%; }
a { color: var(--salvie); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--salvie); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 .45em; }
h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-top: 2em; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; letter-spacing: 0; margin-top: 1.6em; }
p, ul, ol { margin: 0 0 1.1em; }
.ramme { max-width: var(--ramme); margin: 0 auto; padding: 0 1.25rem; }
.spring { position: absolute; left: -999px; top: 0; background: var(--blæk); color: var(--lys); padding: .6rem 1rem; z-index: 5; }
.spring:focus { left: 1rem; }

.top-ind { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; padding-top: 1.6rem; padding-bottom: 1.2rem; }
.ordmaerke { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--blæk); text-decoration: none; }
.ordmaerke span { color: var(--salvie); }
.menu { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; }
.menu a { color: var(--blæk-2); text-decoration: none; font-weight: 500; }
.menu a:hover { color: var(--blæk); }
.menu a[aria-current="page"] { color: var(--blæk); text-decoration: underline; text-decoration-color: var(--salvie); text-decoration-thickness: 2px; text-underline-offset: .4em; }

.helt { padding: clamp(3rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.helt-ind { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.helt h1 { margin-bottom: .35em; }
.indledning { font-size: 1.25rem; line-height: 1.6; color: var(--blæk-2); max-width: 34rem; }
.hylde .planke { stroke: var(--blæk); stroke-width: 3; stroke-linecap: round; }
.hylde .beslag { stroke: var(--blæk); stroke-width: 2; }
.hylde .skaal { fill: var(--lys-2); stroke: var(--blæk); stroke-width: 2; }
.hylde .kant { stroke: var(--blæk); stroke-width: 2; stroke-linecap: round; }
.hylde .stilk { fill: none; stroke: var(--salvie); stroke-width: 2.5; stroke-linecap: round; }
.hylde .blad { fill: var(--salvie); }

.sektion { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.sektion-mørk { background: var(--blæk); color: var(--lys); }
.sektion-mørk a { color: #b9d3be; }
.sektion-mørk h2 { margin-top: 0; }
.tre { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.tre h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.tre p { color: #d8d3c9; }
.tre a { font-weight: 600; }

.princip { display: grid; grid-template-columns: 14rem 1fr; gap: 1rem 3rem; padding: 1.6rem 0; border-top: 1px solid var(--linje); }
.princip:last-child { border-bottom: 1px solid var(--linje); }
.princip h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: 0; line-height: 1.1; }
.princip p { margin: 0; color: var(--blæk-2); max-width: 40rem; }

.knapper { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.knap { display: inline-block; background: var(--blæk); color: var(--lys); text-decoration: none; font-weight: 600; padding: .8rem 1.4rem; border-radius: 999px; }
.knap:hover { background: var(--salvie); }
.knap-lys { background: transparent; color: var(--blæk); box-shadow: inset 0 0 0 1.5px var(--blæk); }
.knap-lys:hover { background: var(--blæk); color: var(--lys); }

/* Tekstsider */
.tekstside { padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem; }
.side-top { max-width: 48rem; margin-bottom: 2.5rem; }
.artikel { max-width: 42rem; }
.artikel h2:first-child { margin-top: 0; }
.artikel li { margin-bottom: .5em; }
.artikel ol li::marker { font-family: var(--serif); font-size: 1.2em; color: var(--salvie); }
.bunker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 1.5rem 0 2rem; border-top: 1px solid var(--linje); border-left: 1px solid var(--linje); }
.bunker div { padding: 1.1rem 1.2rem; border-right: 1px solid var(--linje); border-bottom: 1px solid var(--linje); }
.bunker strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; margin-bottom: .2rem; }
.bunker span { color: var(--blæk-2); font-size: .98rem; }
.note { background: var(--salvie-lys); padding: 1.2rem 1.4rem; margin: 1.8rem 0; border-radius: 4px; }
.note p:last-child { margin-bottom: 0; }

/* Abonnementsberegner */
.beregner { margin: 1rem 0 2.5rem; }
.abo-tabel { width: 100%; border-collapse: collapse; }
.abo-tabel th { text-align: left; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blæk-2); padding: 0 .5rem .5rem 0; border-bottom: 1.5px solid var(--blæk); }
.abo-tabel td { padding: .45rem .5rem .45rem 0; border-bottom: 1px solid var(--linje); vertical-align: middle; }
.abo-tabel th:nth-child(2), .abo-tabel td:nth-child(2) { width: 8.5rem; }
.abo-tabel th:nth-child(3), .abo-tabel td:nth-child(3) { width: 5.5rem; text-align: center; }
.abo-tabel th:last-child, .abo-tabel td:last-child { width: 2.5rem; padding-right: 0; }
.abo-tabel input[type=text], .abo-tabel input[type=number] { width: 100%; font: inherit; color: var(--blæk); background: #fff; border: 1px solid var(--linje); border-radius: 4px; padding: .5rem .6rem; }
.abo-tabel input[type=number] { text-align: right; font-variant-numeric: tabular-nums; }
.abo-tabel input:focus { outline: 2px solid var(--salvie); outline-offset: 0; border-color: var(--salvie); }
.abo-tabel input[type=checkbox] { width: 1.2rem; height: 1.2rem; accent-color: var(--salvie); }
.abo-tabel tr.opsagt input[type=text] { text-decoration: line-through; color: var(--blæk-2); }
.fjern { background: none; border: 0; cursor: pointer; color: var(--blæk-2); padding: .4rem; border-radius: 4px; display: grid; place-items: center; }
.fjern:hover { color: var(--blæk); background: var(--lys-2); }
.fjern svg { width: 16px; height: 16px; }
.tilfoej { margin-top: .9rem; font: inherit; font-weight: 600; color: var(--salvie); background: none; border: 1.5px dashed var(--linje); border-radius: 999px; padding: .55rem 1.1rem; cursor: pointer; }
.tilfoej:hover { border-color: var(--salvie); }
.resultat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--linje); border: 1px solid var(--linje); margin-top: 1.6rem; }
.resultat div { background: var(--lys); padding: 1rem 1.1rem; }
.resultat span { display: block; font-size: .88rem; color: var(--blæk-2); }
.resultat strong { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.resultat .spar { background: var(--salvie-lys); }

.bund { border-top: 1px solid var(--linje); margin-top: 3rem; padding: 2.5rem 0 3rem; }
.bund-ind { display: flex; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; align-items: flex-end; }
.bund-citat { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; margin: 0; max-width: 32rem; }
.bund nav { display: flex; gap: .4rem 1.3rem; flex-wrap: wrap; }
.bund nav a { color: var(--blæk-2); }

@media (max-width: 860px) {
  .helt-ind, .tre { grid-template-columns: 1fr; }
  .helt-ind .hylde { max-width: 22rem; }
  .princip { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 560px) {
  body { font-size: 1.02rem; }
  .bunker { grid-template-columns: 1fr; }
  .resultat { grid-template-columns: 1fr; }
  .abo-tabel th:nth-child(2), .abo-tabel td:nth-child(2) { width: 6.2rem; }
  .abo-tabel th:nth-child(3), .abo-tabel td:nth-child(3) { width: 3.6rem; }
  .abo-tabel th { font-size: .72rem; letter-spacing: .03em; }
}
.uden-top { margin-top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
