@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; 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-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --papir: #f7f1e8;
  --papir-2: #eee4d4;
  --kort: #fcf9f3;
  --bordeaux: #5a1a2a;
  --bordeaux-2: #7b2236;
  --rose: #e9c9c8;
  --guld: #b08a3e;
  --blaek: #241417;
  --blaek-2: #574044;
  --linje: #ddcfb9;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --maks: 68rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papir); color: var(--blaek); font: 400 1.1rem/1.65 var(--sans); }
svg { max-width: 100%; height: auto; }
a { color: var(--bordeaux-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--guld); }
:focus-visible { outline: 3px solid var(--guld); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 500; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--bordeaux-2); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 1.5em; font-weight: 500; }
h3 { font-size: 1.55rem; margin-top: 1.2em; }
p, ul, ol { margin: 0 0 1em; }
.ramme { width: min(100% - 2rem, var(--maks)); margin-inline: auto; }
.spring { position: absolute; left: -9999px; }
.spring:focus { left: 1rem; top: 1rem; background: var(--bordeaux); color: var(--papir); padding: .5rem 1rem; z-index: 10; }

.top { border-bottom: 1px solid var(--linje); }
.top-ind { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; padding: 1.1rem 0; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--blaek); font: 600 1.7rem/1 var(--serif); }
.logo svg { width: 1.2rem; height: 2rem; color: var(--blaek); }
.logo em { font-style: italic; color: var(--bordeaux-2); font-weight: 500; }
.menu { display: flex; gap: .3rem 1.5rem; flex-wrap: wrap; }
.menu a { text-decoration: none; color: var(--blaek); font-size: .9rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .3rem 0; }
.menu a:hover { color: var(--bordeaux-2); }
.menu a[aria-current="page"] { color: var(--bordeaux-2); box-shadow: inset 0 -1px 0 var(--bordeaux-2); }

.helt { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); }
.helt-ind { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.glas { width: 100%; max-width: 15rem; display: block; margin-inline: auto; }
.overskrift-lille { display: block; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--guld); font-weight: 600; margin-bottom: 1rem; }
.indledning { font-size: 1.25rem; color: var(--blaek-2); max-width: 36rem; }
.knapper { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.knap { display: inline-block; font: 600 .95rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 1rem 1.4rem; background: var(--bordeaux); color: var(--papir); text-decoration: none; border: 1px solid var(--bordeaux); }
.knap:hover { background: var(--blaek); border-color: var(--blaek); color: var(--papir); }
.knap-lys { background: transparent; color: var(--bordeaux); }
.knap-lys:hover { background: var(--bordeaux); color: var(--papir); }

.sektion { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.sektion-mork { background: var(--bordeaux); color: var(--papir); }
.sektion-mork h2 { color: var(--papir); margin-top: 0; }
.sektion-mork h2 em { color: #e8c98a; }
.sektion-mork p, .sektion-mork li { color: #f1dfe0; }
.sektion-mork a { color: #e8c98a; }
.fem-s { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.fem-s li { border-top: 1px solid rgba(247,241,232,.35); padding-top: .9rem; }
.fem-s b { display: block; font: italic 500 1.8rem/1 var(--serif); color: #e8c98a; margin-bottom: .4rem; }
.tre { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.tre a { display: block; text-decoration: none; color: var(--blaek); border-top: 2px solid var(--bordeaux); padding-top: 1rem; }
.tre a:hover h3 { color: var(--bordeaux-2); }
.tre h3 { margin-top: 0; }
.tre p { color: var(--blaek-2); }

.tekstside { padding: clamp(2.2rem, 5vw, 3.8rem) 0 clamp(3rem, 6vw, 5rem); }
.side-top { max-width: 46rem; margin-bottom: 1.8rem; }
.artikel { max-width: 44rem; }
.artikel ul, .artikel ol { padding-left: 1.25rem; }
.artikel li { margin-bottom: .5rem; }
.anm { background: var(--kort); border: 1px solid var(--linje); padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.anm p:last-child { margin-bottom: 0; }
.druer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1rem 0 2rem; }
.drue { background: var(--kort); border: 1px solid var(--linje); padding: 1.3rem; }
.drue h3 { margin-top: 0; display: flex; align-items: center; gap: .55rem; }
.drue h3 i { display: inline-block; width: .9rem; height: .9rem; border-radius: 50%; }
.drue .roed i { background: var(--bordeaux-2); }
.drue p { margin-bottom: .6rem; }
.drue p:last-child { margin-bottom: 0; color: var(--blaek-2); font-size: 1rem; }
.prik-roed { background: var(--bordeaux-2); }
.prik-hvid { background: #d9c27a; }
.tabel-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; border: 1px solid var(--linje); background: var(--kort); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; padding: .75rem .95rem; border-bottom: 1px solid var(--linje); vertical-align: top; }
th { background: var(--papir-2); font-weight: 600; white-space: nowrap; }
td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }

/* Festberegner */
.fest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); margin: 1.6rem 0 2.4rem; align-items: start; }
.fest-ind { background: var(--kort); border: 1px solid var(--linje); padding: 1.3rem; display: grid; gap: .9rem; }
.fest-ind label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: .25rem; }
.fest-ind .rk { display: flex; border: 1px solid var(--linje); background: #fff; }
.fest-ind input { flex: 1; min-width: 0; font: 600 1.05rem/1 var(--sans); padding: .65rem .7rem; border: 0; color: var(--blaek); background: transparent; }
.fest-ind input:focus { outline: none; }
.fest-ind .rk:focus-within { outline: 3px solid var(--guld); outline-offset: 1px; }
.fest-ind .enh { padding: 0 .75rem; display: flex; align-items: center; background: var(--papir-2); color: var(--blaek-2); font-size: .92rem; }
.fest-ind .tre-felt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.fest-ind fieldset { border: 0; padding: 0; margin: 0; }
.fest-ind legend { font-weight: 600; margin-bottom: .3rem; }
.fest-ind .tre-felt label { font-weight: 400; font-size: .9rem; }
.fest-ud { background: var(--bordeaux); color: var(--papir); padding: 1.5rem; }
.fest-ud h2 { color: var(--papir); margin: 0 0 .6rem; font-size: 1.9rem; }
.flasker { font: 500 clamp(3rem, 8vw, 4.4rem)/1 var(--serif); color: #e8c98a; margin: 0; }
.flasker-tekst { margin: .2rem 0 1rem; color: #f1dfe0; }
.fordel { list-style: none; padding: 0; margin: 0 0 1rem; }
.fordel li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid rgba(247,241,232,.25); }
.fordel b { font-variant-numeric: tabular-nums; }
.genstande { background: rgba(0,0,0,.18); padding: .9rem 1rem; font-size: .98rem; color: #f7e9e9; margin: 0; }
.genstande.advar { background: #3a0d18; box-shadow: inset 3px 0 0 #e8c98a; }
.flaske-raekke { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 1rem; min-height: 1.6rem; }
.flaske-raekke svg { width: 10px; height: 26px; }

.bund { background: var(--blaek); color: var(--papir); padding: 2.6rem 0; }
.bund-ind { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.bund-navn { font: 600 1.6rem/1 var(--serif); margin-bottom: .6rem; }
.bund-navn em { color: #e8c98a; font-weight: 500; }
.bund-tekst { max-width: 30rem; color: #cdbfc1; font-size: .98rem; }
.bund nav { display: flex; flex-direction: column; gap: .35rem; }
.bund a { color: var(--papir); }
.bund a:hover { color: #e8c98a; }

@media (max-width: 900px) {
  .fem-s { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .helt-ind, .fest, .druer { grid-template-columns: 1fr; }
  .tre { grid-template-columns: 1fr; }
  .glas { max-width: 10rem; }
  .helt-ind > div:last-child { order: -1; }
}
@media (max-width: 480px) {
  .fem-s { grid-template-columns: 1fr; }
  td:last-child { white-space: normal; }
}
.fem-s + p { margin-top: 1.6rem; }
