/* Kakaohuset: en konditori fra 1950'erne, sat som en film. Tryk i to farver på cremet papir (kakaobrun og rosa
   fra silkebåndet), graverede guillochemønstre som på en gammel konfektdåse, fotos i varm, mættet Technicolor
   med fint korn og ét kursivt skriftsted. Fraunces til navne og store linjer, Archivo til små etiketter.
   Rullestyret bevægelse tegnes af sidens script i én løkke; her står kun udgangspunkterne. */

.kh {
  --kakao: #1A100C; --kakao-2: #2C1B15; --sort: #0E0806; --creme: #F4EADC; --creme-2: #EADCC8; --papir: #FAF5EC;
  --rosa: #D9A6A0; --rosa-dyb: #8E3F49; --blaek: #241510; --blaek-2: #5C4236; --linje: rgba(36, 21, 16, .18);
  --lys-linje: rgba(244, 234, 220, .2); --lys-2: rgba(244, 234, 220, .8);
  --kant: clamp(20px, 4vw, 64px);
  --daekke: #1A100C; --daekke-tekst: #F4EADC;
  margin: 0; background: var(--creme); color: var(--blaek);
  font: 400 17px/1.55 Fraunces, Georgia, serif; font-variation-settings: 'opsz' 14, 'SOFT' 50;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
.kh *, .kh *::before, .kh *::after { box-sizing: border-box; }
.kh img { display: block; max-width: 100%; height: auto; }
:where(.kh) a { color: inherit; }
:where(.kh) button { font: inherit; color: inherit; }
.kh :focus-visible { outline: 2px solid var(--rosa-dyb); outline-offset: 3px; }
.kh-vaerk :focus-visible, .kh-firma :focus-visible, .kh-fod :focus-visible, .kh-aabn :focus-visible, .kh-byg :focus-visible, .kh-kapitel :focus-visible, .kh-top.er-over :focus-visible, .kh-hero :focus-visible { outline-color: var(--rosa); }
html:has(body.kh) { scroll-padding-top: 64px; }

.kh-spring { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 12px 18px; background: var(--papir); color: var(--blaek); }
.kh-spring:focus { top: 12px; }
.kh-uden-js { margin: 0; padding: 160px var(--kant) 120px; background: var(--kakao); color: var(--creme); font: 300 clamp(64px, 12vw, 180px)/.9 Fraunces, serif; }
.kh-ramme { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--kant); }

/* ── Typografi ─────────────────────────────────────────────────────── */
.kh-titel {
  margin: 0; font-weight: 300; font-size: clamp(44px, 5.4vw, 88px); line-height: .96; letter-spacing: -.03em;
  font-variation-settings: 'opsz' 144, 'SOFT' 50; text-wrap: balance;
}
.kh-indledning { max-width: 40ch; margin: 22px 0 0; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--blaek-2); }
.kh-undertitel { margin: 0; font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.015em; font-variation-settings: 'opsz' 72, 'SOFT' 50; }
.kh-lille { font: 600 12px/1.3 Archivo, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.kh-prisnote { margin: 14px 0 0; font-size: 15px; color: var(--blaek-2); }

/* ── Knapper ───────────────────────────────────────────────────────── */
.kh-knap {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 2px; background: var(--kakao); color: var(--creme); cursor: pointer; text-decoration: none;
  font: 500 16px/1.2 Fraunces, Georgia, serif; font-variation-settings: 'opsz' 14, 'SOFT' 50;
  transition: background-color .16s ease-out, color .16s ease-out;
}
.kh-knap:hover { background: #4A2E24; }
.kh-knap:disabled { background: transparent; color: var(--blaek-2); box-shadow: inset 0 0 0 1px var(--linje); cursor: default; }
.kh-knap-bred { width: 100%; }
.kh-tekstknap {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 16px/1.2 Fraunces, Georgia, serif; color: inherit; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 5px; text-decoration-color: currentColor; transition: color .16s ease-out, text-decoration-color .16s ease-out;
}
.kh-tekstknap:hover { color: var(--rosa-dyb); }
.kh-tekstknap:disabled { opacity: .45; cursor: default; color: inherit; }
.kh-luk { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 2px; background: none; cursor: pointer; transition: background-color .16s ease-out; }
.kh-luk:hover { background: var(--creme-2); }
.kh-luk svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ── Topbjælken ────────────────────────────────────────────────────── */
.kh-top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--creme); border-bottom: 1px solid var(--linje); transition: background-color .22s ease-out, border-color .22s ease-out, color .22s ease-out; }
.kh-top.er-over { background: transparent; border-bottom-color: rgba(244, 234, 220, .16); }
.kh-top.er-over .kh-logo, .kh-top.er-over .kh-menu a, .kh-top.er-over .kh-kurv-knap, .kh-top.er-over .kh-burger { color: var(--creme); }
.kh-top.er-over .kh-logo em { color: var(--rosa); }
.kh-top.er-over .kh-menu a { color: rgba(244, 234, 220, .82); }
.kh-top.er-over .kh-menu a:hover { color: var(--creme); }
.kh-top.er-over .kh-kurv-knap { border-color: rgba(244, 234, 220, .3); }
.kh-top.er-over .kh-kurv-tal { background: var(--creme); color: var(--kakao); }
.kh-bar { display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 var(--kant); max-width: 1440px; margin: 0 auto; }
.kh-logo { margin: 0; color: var(--blaek); text-decoration: none; font: 400 26px/1 Fraunces, Georgia, serif; letter-spacing: -.02em; font-variation-settings: 'opsz' 72, 'SOFT' 50; white-space: nowrap; }
.kh-logo em { font-style: italic; color: var(--rosa-dyb); }
.kh-menu { display: flex; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.kh-menu a { position: relative; padding: 10px 0; text-decoration: none; font: 500 13px/1 Archivo, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--blaek-2); white-space: nowrap; transition: color .16s ease-out; }
.kh-menu a:hover, .kh-menu a[aria-current] { color: var(--blaek); }
.kh-menu a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--rosa-dyb); }
.kh-kurv-knap {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 14px; border: 1px solid var(--linje); border-radius: 2px;
  background: none; cursor: pointer; font: 500 13px/1 Archivo, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; transition: border-color .16s ease-out;
}
.kh-kurv-knap:hover { border-color: var(--blaek); }
.kh-kurv-tal { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; background: var(--kakao); color: var(--creme); font-variant-numeric: tabular-nums; }
.kh-kurv-knap.slag .kh-kurv-tal { animation: kh-slag .16s ease-out; }
@keyframes kh-slag { 50% { background: var(--rosa-dyb); } }
.kh-burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.kh-burger svg { width: 24px; height: 24px; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.6; }

.kh-mobilmenu { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; padding: 0 var(--kant) 32px; background: var(--creme); opacity: 0; transition: opacity .18s ease-out; overflow-y: auto; }
.kh-mobilmenu.er-aaben { opacity: 1; }
.kh-mobilmenu-hoved { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--linje); }
.kh-mobilmenu-liste { list-style: none; margin: 12px 0 auto; padding: 0; }
.kh-mobilmenu-liste a { display: block; padding: 14px 0; border-bottom: 1px solid var(--linje); text-decoration: none; font: 300 34px/1.1 Fraunces, Georgia, serif; letter-spacing: -.02em; }
.kh-mobilmenu-fod { margin: 32px 0 0; color: var(--blaek-2); font-size: 16px; }

/* ── Heroen på denne side ──────────────────────────────────────────── */
.kh-hero .forside, .kh-hero .mester { margin: 0; }
.kh .mester-chokolade .ch-foto { will-change: transform; }

/* ── Byg din æske ──────────────────────────────────────────────────── */
.kh-byg { padding: clamp(72px, 9vw, 128px) 0; }
.kh-byg-gitter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.kh-byg-hoved { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--blaek); }
.kh-byg-hoved .kh-indledning { margin: 0; }
.kh-byg-aeske { position: sticky; top: 96px; }
.kh-str { display: flex; gap: 0; margin: 0 0 16px; padding: 0; border: 0; }
.kh-str label { position: relative; flex: 1; cursor: pointer; }
.kh-str input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kh-str span { display: block; padding: 12px 0; text-align: center; border: 1px solid var(--linje); font: 500 15px/1 Archivo, Arial, sans-serif; transition: background-color .16s ease-out, color .16s ease-out; }
.kh-str label + label span { border-left: 0; }
.kh-str input:checked + span { background: var(--kakao); color: var(--creme); border-color: var(--kakao); }
.kh-str input:focus-visible + span { outline: 2px solid var(--rosa-dyb); outline-offset: 3px; }

/* Æsken: den mørke bund med et net af rum. Pralinerne er fotos, skåret ud af samme æske. */
.kh-aeske { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; background: var(--kakao); }
.kh-aeske[data-plads="16"] { grid-template-columns: repeat(4, 1fr); }
.kh-aeske.er-fuld { animation: kh-fuld .18s ease-out; }
@keyframes kh-fuld { 50% { background: var(--rosa-dyb); } }
.kh-rum { position: relative; aspect-ratio: 1; background: #3E2820; }
.kh-rum-hint { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; text-align: center; color: var(--lys-2); font: 500 13px/1.3 Archivo, Arial, sans-serif; }
.kh-rum-praline { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.kh-rum-praline img { width: 100%; height: 100%; object-fit: cover; transition: filter .16s ease-out; }
.kh-rum-praline:hover img { filter: brightness(.8); }
.kh-rum-praline.er-ny img { animation: kh-laeg .16s ease-out; }
@keyframes kh-laeg { from { opacity: .3; transform: scale(.94); } }
.kh-regning { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 14px; }
.kh-taeller { margin: 0; color: var(--blaek-2); font-size: 16px; }
.kh-sum { margin: 0; font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.kh-byg-smaa { display: flex; gap: 24px; margin-top: 6px; }
.kh-seneste { margin: 8px 0 0; color: var(--blaek-2); font-size: 15px; min-height: 3em; }

.kh-palet-hoved { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 12px; }
.kh-palet-hoved h3 { margin: 0; font-weight: 400; font-size: 26px; letter-spacing: -.01em; }
.kh-palet-hoved p { margin: 0; color: var(--blaek-2); font-size: 15px; }
.kh-palet-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linje); }
.kh-praline { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto 44px; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linje); }
.kh-praline img { width: 80px; height: 80px; object-fit: cover; }
.kh-praline-tekst { display: grid; gap: 2px; }
.kh-praline-navn { font-size: 19px; line-height: 1.25; }
.kh-praline-note { color: var(--blaek-2); font-size: 15px; line-height: 1.4; }
.kh-praline-pris { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kh-plus { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--blaek); border-radius: 2px; background: none; cursor: pointer; transition: background-color .16s ease-out, color .16s ease-out; }
.kh-plus svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.kh-plus:hover { background: var(--kakao); color: var(--creme); }
.kh-plus:active { background: var(--rosa-dyb); border-color: var(--rosa-dyb); color: var(--creme); }
.kh-plus:disabled { opacity: .3; cursor: default; background: none; color: inherit; }
.kh-palet-fod { margin: 14px 0 0; color: var(--blaek-2); font-size: 15px; }

/* ── Fra disken ────────────────────────────────────────────────────── */
.kh-disk { padding: 0 0 clamp(72px, 9vw, 128px); }
.kh-disk-hoved { display: grid; gap: 16px; padding-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--blaek); margin-bottom: 40px; }
.kh-disk-hoved p { margin: 0; max-width: 46ch; color: var(--blaek-2); font-size: 18px; }
.kh-varer { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.kh-vare h3 { margin: 18px 0 6px; font-weight: 400; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.kh-vare p { margin: 0; color: var(--blaek-2); font-size: 16px; line-height: 1.45; }
.kh-vare-billede { display: block; width: 100%; padding: 0; border: 0; background: var(--creme-2); cursor: zoom-in; overflow: hidden; }
.kh-vare-billede { position: relative; }
.kh-vare-billede img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .7s cubic-bezier(.16, 1, .3, 1); }
.kh-vare-billede:hover img { transform: scale(1.02); filter: brightness(1.06); }
/* Etiketkant som på en gammel dåse: en hårfin ramme inden for billedet. */
.kh-vare-billede::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(250, 245, 236, .45); pointer-events: none; }
.kh .kh-vare-linje { display: flex; justify-content: space-between; margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--linje); color: var(--blaek); font-size: 17px; }
.kh-vare-linje b { font-weight: 500; }

/* ── Værkstedet: sidens ene bevægelse ──────────────────────────────── */
.kh-vaerk { position: relative; background: var(--kakao); color: var(--creme); }
.kh-vaerk-klister { padding: clamp(72px, 9vw, 120px) 0; }
.kh-vaerk-gitter { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.kh-vaerk-fotos { position: relative; aspect-ratio: 1; background: var(--kakao-2); }
.kh-trin-foto { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .32s ease-out; }
.kh-trin-foto.er-valgt { opacity: 1; }
.kh-trin-foto img { width: 100%; height: 100%; object-fit: cover; }
.kh-vaerk .kh-titel { font-size: clamp(40px, 4.4vw, 72px); }
.kh-vaerk .kh-indledning { color: var(--lys-2); }
.kh-kurve { position: relative; margin: 32px 0 8px; }
.kh-grader { margin: 0 0 4px; font: 300 clamp(72px, 7vw, 120px)/.9 Fraunces, Georgia, serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; font-variation-settings: 'opsz' 144, 'SOFT' 50; }
.kh-kurve svg { display: block; width: 100%; height: auto; overflow: visible; }
.kh-kurve-net { fill: none; stroke: var(--lys-linje); stroke-width: 1; }
.kh-kurve-tal { fill: var(--lys-2); font: 500 12px Archivo, Arial, sans-serif; }
.kh-kurve-linje { fill: none; stroke: rgba(244, 234, 220, .3); stroke-width: 1.5; }
.kh-kurve-fyld { fill: none; stroke: var(--rosa); stroke-width: 2.5; stroke-linecap: round; }
.kh-kurve-punkt { fill: var(--creme); stroke: var(--kakao); stroke-width: 2; }
.kh-trin { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--lys-linje); }
.kh-trin li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--lys-linje); color: var(--lys-2); transition: color .2s ease-out; }
.kh-trin b { font-weight: 400; font-size: 22px; color: var(--creme); font-variant-numeric: tabular-nums; }
.kh-trin li.er-valgt { color: var(--creme); }
.kh-trin li.er-valgt b { color: var(--rosa); }

/* Levende (bred skærm, bevægelse tilladt): afsnittet er 140vh, og panelet står fast, mens kurven tegnes. */
.kh-vaerk.er-levende { height: 140vh; }
.kh-vaerk.er-levende .kh-vaerk-klister { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; align-items: center; padding: 32px 0; }
.kh-vaerk.er-levende .kh-vaerk-fotos { aspect-ratio: auto; height: min(calc(100vh - 160px), 44vw); }
.kh-vaerk.er-levende .kh-titel { font-size: clamp(36px, 3.6vw, 60px); }
.kh-vaerk.er-levende .kh-indledning { margin-top: 14px; font-size: 18px; }
.kh-vaerk.er-levende .kh-kurve { margin-top: 18px; }
.kh-vaerk.er-levende .kh-grader { font-size: clamp(56px, 5.4vw, 96px); }
.kh-vaerk.er-levende .kh-trin { margin-top: 12px; }
.kh-vaerk.er-levende .kh-trin li { padding: 10px 0; }
.kh-vaerk.er-levende .kh-trin li:not(.er-valgt) { color: rgba(244, 234, 220, .62); }
.kh-vaerk.er-levende .kh-trin li:not(.er-valgt) b { color: rgba(244, 234, 220, .7); }

/* Stille (mobil og reduceret bevægelse): de tre fotos står side om side, hele kurven er tegnet. */
.kh-vaerk:not(.er-levende) .kh-vaerk-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: auto; background: none; }
.kh-vaerk:not(.er-levende) .kh-trin-foto { position: relative; inset: auto; opacity: 1; }
.kh-vaerk:not(.er-levende) .kh-trin-foto img { aspect-ratio: 1; }
.kh-vaerk:not(.er-levende) .kh-trin-foto:first-child { grid-column: 1 / -1; }
.kh-vaerk:not(.er-levende) .kh-trin-foto:first-child img { aspect-ratio: 16 / 10; object-position: 50% 60%; }

/* ── Café og smagekursus ───────────────────────────────────────────── */
.kh-cafe { padding: clamp(72px, 9vw, 128px) 0; }
.kh-cafe-gitter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.kh-menukort { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(28px, 4vw, 56px); }
.kh-menukort h3 { margin: 0 0 4px; font: 600 12px/1.3 Archivo, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--blaek-2); }
.kh-prisliste { list-style: none; margin: 0; padding: 0; }
.kh-prisliste li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--linje); font-size: 18px; }
.kh-prisliste small { display: block; color: var(--blaek-2); font-size: 15px; }
.kh-prisliste b { font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }

.kh-kursus { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px); margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--blaek); }
.kh-kursus-tekst p { margin: 18px 0 0; max-width: 44ch; color: var(--blaek-2); font-size: 18px; }
.kh .kh-kursus-fakta { color: var(--blaek); font-size: 17px; }
.kh-book { min-width: 0; }
.kh-hold { margin: 0; padding: 0; border: 0; }
.kh-hold legend { padding: 0; margin-bottom: 6px; font: 600 12px/1.3 Archivo, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--blaek-2); }
.kh-hold-liste { border-top: 1px solid var(--linje); }
.kh-dato { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; min-height: 54px; padding: 8px 0; border-bottom: 1px solid var(--linje); cursor: pointer; font-size: 17px; transition: background-color .16s ease-out; }
.kh-dato:hover { background: var(--creme-2); }
.kh-dato input { width: 18px; height: 18px; margin: 0 0 0 4px; accent-color: var(--kakao); }
.kh-dato-tid { color: var(--blaek-2); }
.kh-dato-ledige { min-width: 7ch; text-align: right; color: var(--blaek-2); font-size: 15px; }
.kh-dato:has(input:checked) { background: var(--creme-2); }
.kh-dato:has(input:checked) .kh-dato-dag { font-weight: 500; }
.kh-dato:has(input:disabled) { cursor: default; color: var(--blaek-2); }
.kh-dato:has(input:disabled) .kh-dato-dag { text-decoration: line-through; }
.kh-book-felter { display: grid; grid-template-columns: auto 1fr 1fr; gap: 16px; margin-top: 22px; }
.kh-felt { display: grid; gap: 6px; min-width: 0; }
.kh-felt-navn { font: 600 12px/1.3 Archivo, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--blaek-2); }
.kh-felt input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid rgba(36, 21, 16, .4); border-radius: 2px; background: var(--papir); color: var(--blaek); font: 400 17px/1 Fraunces, Georgia, serif; }
.kh-felt input:focus-visible { outline: 2px solid var(--rosa-dyb); outline-offset: 1px; }
.kh-felt input[aria-invalid="true"] { border-color: var(--rosa-dyb); }
.kh-stepper { display: inline-flex; align-items: stretch; height: 48px; border: 1px solid rgba(36, 21, 16, .4); border-radius: 2px; }
.kh-stepper button { width: 44px; border: 0; background: none; cursor: pointer; font-size: 20px; transition: background-color .16s ease-out; }
.kh-stepper button:hover { background: var(--creme-2); }
.kh-stepper output { display: grid; place-items: center; min-width: 36px; font-size: 18px; font-variant-numeric: tabular-nums; }
.kh-book-bund { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
.kh-book-sum { display: grid; margin: 0; color: var(--blaek-2); font-size: 16px; }
.kh-book-sum b { color: var(--blaek); font-weight: 400; font-size: 26px; }
.kh-fejl { margin: 10px 0 0; min-height: 1.5em; color: var(--rosa-dyb); font-size: 16px; }
.kh-fejl:empty { margin: 0; min-height: 0; }
.kh-kvittering { margin-top: 16px; padding: 18px 20px; border-left: 2px solid var(--rosa-dyb); background: var(--papir); font-size: 16px; }
.kh-kvittering p { margin: 6px 0 0; }
.kh-kvittering-titel { margin: 0; font-size: 20px; }
.kh-kvittering:focus { outline: none; }
.kh-kvittering:focus-visible { outline: 2px solid var(--rosa-dyb); outline-offset: 3px; }

/* ── Firmagaver: navnet trykt på båndet ────────────────────────────── */
.kh-firma { padding: clamp(72px, 9vw, 128px) 0; background: var(--kakao); color: var(--creme); }
.kh-firma-gitter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.kh-gave { position: relative; margin: 0; container-type: inline-size; }
.kh-gave img { width: 100%; }
/* Båndet ligger i fotoet fra x 17,6 % til 81,7 % og fra y 43,9 % til 56,6 % (målt i 1536 × 1024). */
.kh-gave-tryk {
  position: absolute; left: 17.6%; width: 64.1%; top: 43.9%; height: 12.7%;
  display: flex; align-items: center; justify-content: center; padding: 0 5%; pointer-events: none;
}
.kh-gave-tryk span {
  display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-align: center;
  font: italic 400 4.6cqw/1 Fraunces, Georgia, serif; font-variation-settings: 'opsz' 72, 'SOFT' 0, 'WONK' 0; letter-spacing: .01em;
  color: #3A2219; opacity: .9; mix-blend-mode: multiply;
  text-shadow: 0 .5px 0 rgba(255, 250, 240, .35);
}
/* For lange navne ved 13 px: to linjer med tæt linjeafstand, og en ellipse, hvis det stadig ikke kan være der. */
.kh-gave-tryk span.to-linjer {
  white-space: normal; line-height: 1.02; text-wrap: balance; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.kh-firma .kh-indledning { color: var(--lys-2); }
.kh-felt-baand { margin-top: 28px; }
.kh-firma .kh-felt-navn { color: var(--lys-2); }
.kh-firma .kh-felt input { background: transparent; color: var(--creme); border-color: rgba(244, 234, 220, .5); }
.kh-firma .kh-felt input:focus-visible { outline-color: var(--rosa); }
.kh-priser { width: 100%; margin-top: 28px; border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.kh-priser th, .kh-priser td { padding: 11px 0; border-bottom: 1px solid var(--lys-linje); text-align: right; font-weight: 400; }
.kh-priser th:first-child { text-align: left; }
.kh-priser thead th { font: 600 12px/1.3 Archivo, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--lys-2); border-bottom-color: rgba(244, 234, 220, .5); }
.kh-firma .kh-prisnote { color: var(--lys-2); }
.kh-firma-knapper { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.kh-firma .kh-knap { background: var(--creme); color: var(--kakao); }
.kh-firma .kh-knap:hover { background: #FFFFFF; }
.kh-firma-svar { margin: 0; flex: 1 1 220px; color: var(--lys-2); font-size: 15px; }

/* ── Fod ───────────────────────────────────────────────────────────── */
.kh-fod { padding: 0 0 120px; background: var(--sort); color: var(--creme); }
.kh-baand-moenster { height: 32px; margin-bottom: 64px; background: url(chokolade/guilloche-rosa.svg) center / 600px 32px repeat-x; opacity: .55; }
.kh-fod-gitter { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px 48px; }
.kh-fod-segl { display: grid; grid-template-columns: 88px 1fr; column-gap: 22px; align-items: center; }
.kh-fod-segl img { grid-row: 1 / span 2; width: 88px; height: 88px; opacity: .8; }
.kh-fod .kh-fod-aar { color: var(--lys-2); font: 500 12px/1.3 Archivo, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.kh-fod .kh-logo { color: var(--creme); font-size: 34px; }
.kh-fod .kh-logo em { color: var(--rosa); }
.kh-fod h2 { margin: 0 0 10px; font: 600 12px/1.3 Archivo, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--lys-2); }
.kh-fod p { margin: 0; font-size: 16px; line-height: 1.6; }
.kh-fod-bund { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--lys-linje); }
.kh-fod-bund p { color: var(--lys-2); font-size: 14px; }
.kh-sociale { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.kh-sociale a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px; transition: background-color .16s ease-out; }
.kh-sociale a:hover { background: rgba(244, 234, 220, .1); }
.kh-sociale svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── Hurtigvisning ─────────────────────────────────────────────────── */
.kh-vis { width: min(920px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 2px; background: var(--papir); color: var(--blaek); box-shadow: 0 30px 80px -20px rgba(36, 21, 16, .55); }
.kh-vis[open] { animation: kh-ind .2s ease-out; }
.kh-vis::backdrop { background: rgba(36, 21, 16, .55); }
@keyframes kh-ind { from { opacity: 0; } }
.kh-vis-indre { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.kh-vis-foto { margin: 0; background: var(--creme-2); }
.kh-vis-foto img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kh-vis-tekst { display: flex; flex-direction: column; padding: 48px 36px 32px; }
.kh-vis-titel { margin: 0; font-weight: 300; font-size: clamp(32px, 3vw, 44px); line-height: 1; letter-spacing: -.02em; font-variation-settings: 'opsz' 144, 'SOFT' 50; }
.kh-vis-note { margin: 16px 0 0; color: var(--blaek-2); font-size: 17px; }
.kh-vis-fakta { margin: 22px 0 0; border-top: 1px solid var(--linje); }
.kh-vis-fakta div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linje); font-size: 16px; }
.kh-vis-fakta dt { color: var(--blaek-2); }
.kh-vis-fakta dd { margin: 0; }
.kh-vis-bund { display: flex; gap: 12px; margin-top: auto; padding-top: 28px; }
.kh-vis-bund .kh-knap { flex: 1; }
.kh-vis-luk { position: absolute; top: 8px; right: 8px; }

/* ── Kurven ────────────────────────────────────────────────────────── */
.kh-kurv { position: fixed; inset: 0; z-index: 130; }
.kh-kurv-slor { position: absolute; inset: 0; background: rgba(36, 21, 16, .5); opacity: 0; transition: opacity .2s ease-out; }
.kh-kurv-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100vw); padding: 0 28px 28px; background: var(--papir); box-shadow: -20px 0 60px -30px rgba(36, 21, 16, .6); transform: translateX(100%); transition: transform .22s ease-out; overflow-y: auto; }
.kh-kurv.er-aaben .kh-kurv-slor { opacity: 1; }
.kh-kurv.er-aaben .kh-kurv-panel { transform: none; }
.kh-kurv-hoved { display: flex; align-items: center; justify-content: space-between; height: 72px; border-bottom: 1px solid var(--linje); }
.kh-kurv-hoved h2 { margin: 0; font-weight: 400; font-size: 26px; }
.kh-kurv-liste { list-style: none; margin: 0; padding: 0; }
.kh-kurv-liste li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linje); }
.kh-kurv-billede { width: 56px; height: 56px; object-fit: cover; }
.kh-kurv-navn { display: block; font-size: 17px; line-height: 1.3; }
.kh-kurv-detalje { display: block; color: var(--blaek-2); font-size: 14px; line-height: 1.4; }
.kh-kurv-hoejre { display: grid; justify-items: end; gap: 2px; }
.kh-kurv-hoejre b { font-weight: 400; white-space: nowrap; }
.kh-kurv-fjern { min-height: 32px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--blaek-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.kh-kurv-tom { margin: 24px 0; color: var(--blaek-2); }
.kh-kurv-bund { margin-top: auto; padding-top: 20px; }
.kh-kurv-sum { display: flex; justify-content: space-between; margin: 0; font-size: 22px; }
.kh-kurv-sum b { font-weight: 400; }
.kh-kurv-note { margin: 6px 0 18px; color: var(--blaek-2); font-size: 15px; }

/* ── Beskeden nederst ──────────────────────────────────────────────── */
.kh-boble { position: fixed; z-index: 140; left: 50%; bottom: 84px; max-width: calc(100vw - 32px); margin: 0; padding: 12px 18px; background: var(--kakao); color: var(--creme); font-size: 15px; transform: translateX(-50%); opacity: 0; visibility: hidden; transition: opacity .18s ease-out, visibility 0s .18s; }
.kh-boble.er-vist { opacity: 1; visibility: visible; transition: opacity .18s ease-out; }

/* ── Mellembredde ──────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .kh-menu { display: none; }
  .kh-burger { display: grid; }
  .kh-kurv-knap { margin-left: auto; }
  .kh-varer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .kh-byg-gitter, .kh-cafe-gitter, .kh-kursus, .kh-firma-gitter { grid-template-columns: minmax(0, 1fr); }
  .kh-byg-aeske { position: static; }
  .kh-vaerk-gitter { grid-template-columns: minmax(0, 1fr); }
  .kh-fod-gitter { grid-template-columns: 1fr 1fr; }
  .kh-fod-segl { grid-column: 1 / -1; }
}

/* ── Mobil (390) ───────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .kh-bar { height: 56px; gap: 12px; }
  html:has(body.kh) { scroll-padding-top: 64px; }
  .kh-logo { font-size: 23px; }
  .kh-kurv-ord { display: none; }
  .kh-kurv-knap { padding: 0 4px; border: 0; }
  .kh-titel { font-size: clamp(40px, 11vw, 52px); }
  .kh-byg { padding: 56px 0 64px; }
  .kh-byg-hoved { padding-bottom: 20px; }
  .kh-praline { grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 14px; }
  .kh-praline img { width: 64px; height: 64px; }
  .kh-praline-pris { grid-column: 2; grid-row: 2; margin-top: -6px; font-size: 16px; color: var(--blaek-2); }
  .kh-praline .kh-plus { grid-column: 3; grid-row: 1 / span 2; }
  .kh-praline img { grid-row: 1 / span 2; }
  .kh-praline-note { display: none; }
  .kh-palet-fod { display: none; }
  .kh-disk { padding-bottom: 64px; }
  .kh-disk-hoved { padding-top: 48px; margin-bottom: 28px; gap: 14px; }
  .kh-varer { gap: 28px 14px; }
  .kh-vare h3 { font-size: 18px; margin-top: 12px; }
  .kh-vare > p:not(.kh-vare-linje) { display: none; }
  .kh .kh-vare-linje { font-size: 15px; margin-top: 8px; }
  .kh-vare .kh-tekstknap { font-size: 15px; }
  .kh-vaerk-klister { padding: 56px 0; }
  .kh-vaerk-gitter { gap: 28px; }
  .kh-vaerk-tekst { order: -1; }
  .kh-grader { font-size: 64px; }
  .kh-cafe { padding: 56px 0; }
  .kh-kursus { margin-top: 56px; padding-top: 36px; }
  .kh-book-felter { grid-template-columns: minmax(0, 1fr); }
  .kh-dato { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; }
  .kh-dato-tid { grid-column: 2; grid-row: 2; margin-top: -4px; font-size: 15px; }
  .kh-dato-ledige { grid-column: 3; grid-row: 1 / span 2; }
  .kh-book-bund .kh-knap { width: 100%; }
  .kh-firma { padding: 56px 0; }
  .kh-gave { margin: 0 calc(var(--kant) * -1); }
  .kh-fod { padding: 0 0 110px; }
  .kh-baand-moenster { margin-bottom: 44px; }
  .kh-fod-bund { flex-direction: column; align-items: flex-start; }
  .kh-vis-indre { grid-template-columns: 1fr; }
  .kh-vis-foto img { aspect-ratio: 16 / 10; }
  .kh-vis-tekst { padding: 24px 20px 20px; }
  .kh-vis-luk { background: var(--papir); }
  .kh-kurv-panel { padding: 0 20px 24px; }
  .kh-boble { bottom: 78px; }
}


/* ══ Runde 4: filmen ═══════════════════════════════════════════════════ */

/* Fint korn over hele siden, som på trykt papir og film. Står stille. */
.kh::after {
  content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: url(chokolade/korn.webp) 0 0 / 256px 256px; opacity: .045; mix-blend-mode: overlay;
}

/* Kapitelmærket nederst til venstre (kun bred skærm). */
.kh-scene-maerke {
  position: fixed; left: var(--kant); bottom: 28px; z-index: 60; display: flex; align-items: center; gap: 12px; margin: 0;
  color: #F4EADC; mix-blend-mode: difference; pointer-events: none;
  font: 500 12px/1 Archivo, Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.kh-scene-maerke i { display: block; width: 32px; height: 1px; background: currentColor; }

/* ── Afsløringen: låget ────────────────────────────────────────────── */
.kh-aabn { position: relative; background: var(--sort); color: var(--creme); }
.kh-aabn-scene { position: relative; overflow: hidden; }
.kh-aabn-foto { margin: 0; overflow: hidden; container-type: size; }
/* Fire lag i samme 3:2-ramme, der dækker scenen som object-fit: cover. */
.kh-aabn-bild { position: absolute; left: 50%; top: 50%; width: max(100cqw, 150cqh); aspect-ratio: 3 / 2; transform: translate3d(-50%, -50%, 0); }
.kh-aabn-bild img { position: absolute; display: block; max-width: none; }
.kh-aabn-aaben, .kh-aabn-midt, .kh-aabn-lukket { inset: 0; width: 100%; height: 100%; }
.kh-aabn-moerke { position: absolute; inset: 0; background: #0E0806; opacity: 0; pointer-events: none; }
.kh-aabn-foto::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 100% at 55% 45%, rgba(14, 8, 6, 0) 45%, rgba(14, 8, 6, .6) 100%), linear-gradient(0deg, rgba(14, 8, 6, .7) 0%, rgba(14, 8, 6, 0) 30%);
}
.kh-aabn-titel {
  margin: 0; color: var(--creme); white-space: nowrap; pointer-events: none;
  font: 300 clamp(96px, 15vw, 260px)/.9 Fraunces, Georgia, serif; letter-spacing: -.05em;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; font-style: italic;
}
.kh-aabn-tekst { max-width: 440px; }
.kh-aabn-tekst p { margin: 0 0 16px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; }
.kh-pil { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--creme); text-decoration: none; font: 500 13px/1 Archivo, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid rgba(244, 234, 220, .4); transition: border-color .18s ease-out; }
.kh-pil:hover { border-color: var(--rosa); }
.kh-pil svg { width: 20px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .18s ease-out; }
.kh-pil:hover svg { transform: translateX(4px); }

/* Stille udgave (uden script og ved reduceret bevægelse): ét roligt billede, overskrift og tekst over det. */
.kh-aabn:not(.er-levende) .kh-aabn-foto { position: relative; }
.kh-aabn:not(.er-levende) .kh-aabn-foto { aspect-ratio: 3 / 2; }
.kh-aabn:not(.er-levende) .kh-aabn-lukket, .kh-aabn:not(.er-levende) .kh-aabn-midt { display: none; }
.kh-aabn:not(.er-levende) .kh-aabn-titel { position: absolute; left: var(--kant); top: clamp(32px, 6vw, 96px); }
.kh-aabn:not(.er-levende) .kh-aabn-tekst { position: absolute; left: var(--kant); bottom: clamp(32px, 5vw, 72px); }

/* Levende: afsnittet er 300vh, scenen står fast i 200vh, mens vinduet åbner sig. */
.kh-aabn.er-levende { height: 300vh; }
.kh-aabn.er-levende .kh-aabn-scene { position: sticky; top: 0; height: 100vh; height: 100svh; }
.kh-aabn.er-levende .kh-aabn-foto { position: absolute; inset: 0; clip-path: inset(26% 30% round 20px); will-change: clip-path; }
.kh-aabn.er-levende .kh-aabn-bild { transform: translate3d(-50%, -50%, 0) scale(1.1); will-change: transform; }
.kh-aabn.er-levende .kh-aabn-midt, .kh-aabn.er-levende .kh-aabn-lukket { will-change: opacity; }
.kh-aabn.er-levende .kh-aabn-moerke { opacity: .45; }
.kh-aabn.er-levende .kh-aabn-titel { position: absolute; left: 0; right: 0; top: 50%; margin-top: -.45em; text-align: center; will-change: transform, opacity; transform: translate3d(42vw, 0, 0); }
.kh-aabn.er-levende .kh-aabn-tekst { position: absolute; left: var(--kant); bottom: clamp(40px, 7vh, 88px); opacity: 0; }
.kh-aabn.er-levende .kh-aabn-tekst:focus-within { opacity: 1 !important; }

/* ── Produktet: æsken på mørk flade ────────────────────────────────── */
.kh-byg {
  --blaek: #F4EADC; --blaek-2: rgba(244, 234, 220, .74); --linje: rgba(244, 234, 220, .16);
  position: relative; background: var(--kakao); color: var(--creme);
}
.kh-byg::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 32px; background: url(chokolade/guilloche-rosa.svg) center / 600px 32px repeat-x; opacity: .4; }
.kh-byg-hoved { justify-content: flex-start; align-items: center; gap: clamp(24px, 3vw, 44px); border-bottom-color: rgba(244, 234, 220, .3); }
.kh-segl { flex: none; width: clamp(72px, 7vw, 104px); height: auto; opacity: .85; }
.kh-byg .kh-titel { font-size: clamp(52px, 7vw, 120px); }
.kh-byg .kh-knap { background: var(--creme); color: var(--kakao); }
.kh-byg .kh-knap:hover { background: #FFFFFF; }
.kh-byg .kh-knap:disabled { background: transparent; color: var(--lys-2); box-shadow: inset 0 0 0 1px rgba(244, 234, 220, .3); }
.kh-byg .kh-str input:checked + span { background: var(--creme); color: var(--kakao); border-color: var(--creme); }
.kh-byg .kh-str input:focus-visible + span { outline-color: var(--rosa); }
.kh-byg .kh-plus { border-color: rgba(244, 234, 220, .6); }
.kh-byg .kh-plus:hover { background: var(--creme); color: var(--kakao); }
.kh-byg .kh-plus:active { background: var(--rosa); border-color: var(--rosa); color: var(--kakao); }
.kh-byg .kh-tekstknap:hover { color: var(--rosa); }
.kh-byg .kh-praline img { transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.kh-byg .kh-praline:hover img { transform: scale(1.04); }

/* Bakken: æsken i fuld størrelse, skarp skygge, og ét lysstrøg første gang den ses. */
.kh-bakke { position: relative; padding: clamp(10px, 1.2vw, 16px); background: linear-gradient(145deg, #3A251C, #24160F 60%); border-radius: 3px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 240, 225, .08) inset, 0 40px 70px -30px rgba(0, 0, 0, .85), 0 12px 18px -10px rgba(0, 0, 0, .6); }
.kh-bakke .kh-aeske { background: #120A07; }
.kh-bakke .kh-rum { background: #2A1912; }
.kh-bakke::after {
  content: ''; position: absolute; inset: -20% -60%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, rgba(255, 240, 225, 0) 40%, rgba(255, 236, 214, .22) 50%, rgba(255, 240, 225, 0) 60%);
  transform: translate3d(-60%, 0, 0); opacity: 0;
}
.kh-bakke.er-glans::after { animation: kh-glans 1.4s cubic-bezier(.16, 1, .3, 1) .15s 1 both; }
@keyframes kh-glans { 0% { transform: translate3d(-60%, 0, 0); opacity: 1; } 100% { transform: translate3d(60%, 0, 0); opacity: 1; } }
.kh-rum-praline img { transition: transform .18s ease-out, filter .18s ease-out; }
.kh-rum-praline:hover img { transform: scale(1.04); filter: brightness(1.08); }
.kh-rum-praline:active img { transform: scale(.97); }

/* ── Store kapitler: ét foto, én linje ─────────────────────────────── */
.kh-kapitel { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--sort); color: var(--creme); }
.kh-kapitel-foto { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.kh-kapitel-foto img { position: absolute; left: 0; top: -4%; width: 100%; height: 108%; object-fit: cover; will-change: transform; }
.kh-kapitel-foto::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(140% 110% at 50% 45%, rgba(14, 8, 6, 0) 50%, rgba(14, 8, 6, .55) 100%); }
.kh-kapitel-linje {
  position: absolute; z-index: 1; margin: 0; color: var(--creme);
  font: 300 clamp(80px, 12vw, 216px)/.88 Fraunces, Georgia, serif; letter-spacing: -.05em; font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.kh-kapitel-marmor .kh-kapitel-foto img { object-position: 60% 50%; }
.kh-kapitel-marmor .kh-kapitel-foto::after { background: radial-gradient(140% 110% at 40% 40%, rgba(14, 8, 6, 0) 50%, rgba(14, 8, 6, .45) 100%), linear-gradient(0deg, rgba(14, 8, 6, .5) 0%, rgba(14, 8, 6, 0) 40%); }
.kh-kapitel-marmor .kh-kapitel-linje { right: var(--kant); bottom: clamp(40px, 8vh, 96px); text-align: right; text-shadow: 0 2px 40px rgba(14, 8, 6, .35); }

/* Slutteksterne: caféen i fuld størrelse med adresse, tider og knap. */
.kh-slut { height: auto; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; }
.kh-slut .kh-kapitel-foto::after { background: linear-gradient(0deg, rgba(14, 8, 6, .92) 0%, rgba(14, 8, 6, .7) 34%, rgba(14, 8, 6, 0) 70%), radial-gradient(140% 110% at 50% 40%, rgba(14, 8, 6, 0) 50%, rgba(14, 8, 6, .5) 100%); }
.kh-slut-indhold { position: relative; z-index: 1; padding-top: 30vh; padding-bottom: clamp(48px, 8vh, 96px); }
.kh-slut .kh-kapitel-linje { position: static; font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.kh-slut-gitter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: 32px clamp(32px, 4vw, 64px); align-items: end; margin-top: clamp(32px, 5vh, 56px); padding-top: 28px; border-top: 1px solid rgba(244, 234, 220, .3); }
.kh-slut-adresse { margin: 0; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.35; }
.kh-tider { margin: 0; border-top: 1px solid rgba(244, 234, 220, .2); }
.kh-tider div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid rgba(244, 234, 220, .2); font-size: 17px; }
.kh-tider dt { margin: 0; color: var(--lys-2); }
.kh-tider dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.kh-slut-knapper { display: flex; align-items: center; justify-content: flex-end; gap: 28px; flex-wrap: wrap; }
.kh-knap-lys { background: var(--creme); color: var(--kakao); min-height: 58px; padding: 0 32px; font-size: 17px; }
.kh-knap-lys:hover { background: #FFFFFF; }
.kh-slut .kh-tekstknap:hover { color: var(--rosa); }

/* Magnetiske knapper: følger musen højst 6 px og falder blødt tilbage. */
[data-magnet] { transition: transform .6s cubic-bezier(.16, 1, .3, 1), background-color .18s ease-out, color .18s ease-out; }
[data-magnet].er-magnet { transition: transform .12s ease-out, background-color .18s ease-out, color .18s ease-out; }

/* Mobilmenuen over heroen. */
.kh-mobilmenu { z-index: 120; }

@media (max-width: 960px) {
  .kh-slut-gitter { grid-template-columns: 1fr 1fr; }
  .kh-slut-knapper { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 699px) {
  .kh-scene-maerke { display: none; }
  .kh-aabn.er-levende { height: 220vh; }
  .kh-aabn.er-levende .kh-aabn-foto { clip-path: inset(22% 18% round 14px); }
  .kh-aabn-titel { font-size: clamp(76px, 23vw, 112px); }
  .kh-aabn:not(.er-levende) .kh-aabn-foto { aspect-ratio: 4 / 5; }
  .kh-aabn-bild { transform: translate3d(-54.75%, -50%, 0); }
  .kh-aabn.er-levende .kh-aabn-bild { transform: translate3d(-54.75%, -50%, 0) scale(1.1); }
  .kh-aabn-tekst { right: var(--kant); }
  .kh-byg::before { height: 24px; background-size: 450px 24px; }
  .kh-byg .kh-titel { font-size: clamp(44px, 13vw, 60px); }
  .kh-segl { width: 64px; }
  .kh-kapitel-linje { font-size: clamp(64px, 19vw, 92px); }
  .kh-kapitel-marmor .kh-kapitel-linje { left: var(--kant); }
  .kh-menukort { grid-template-columns: 1fr; }
  .kh-slut-indhold { padding-top: 40vh; padding-bottom: 96px; }
  .kh-slut-gitter { grid-template-columns: 1fr; }
  .kh-slut-knapper .kh-knap { width: 100%; }
  .kh-fod-segl { grid-template-columns: 64px 1fr; column-gap: 16px; }
  .kh-fod-segl img { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .kh *, .kh *::before, .kh *::after { animation: none !important; transition: none !important; }
  .kh-vaerk.er-levende { height: auto; }
  .kh-bakke::after { display: none; }
}

/* Over de mørke afsnit: mørk, let gennemskinnelig bjælke. */
.kh-top.er-moerk:not(.er-over) { background: rgba(14, 8, 6, .86); border-bottom-color: rgba(244, 234, 220, .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.kh-top.er-moerk .kh-logo, .kh-top.er-moerk .kh-kurv-knap, .kh-top.er-moerk .kh-burger { color: var(--creme); }
.kh-top.er-moerk .kh-logo em { color: var(--rosa); }
.kh-top.er-moerk .kh-menu a { color: rgba(244, 234, 220, .78); }
.kh-top.er-moerk .kh-menu a:hover, .kh-top.er-moerk .kh-menu a[aria-current] { color: var(--creme); }
.kh-top.er-moerk .kh-menu a[aria-current]::after { background: var(--rosa); }
.kh-top.er-moerk .kh-kurv-knap { border-color: rgba(244, 234, 220, .3); }
.kh-top.er-moerk .kh-kurv-tal { background: var(--creme); color: var(--kakao); }
.kh-top.er-moerk :focus-visible { outline-color: var(--rosa); }

/* Kapitelnummeret over hver overskrift, som på en konfektdåses etiket: rosa nummer, hårfin streg, navnet. */
.kh-nr { display: flex; align-items: center; margin: 0 0 18px; color: var(--blaek-2); font: 500 12px/1 Archivo, Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.kh-nr span { color: var(--rosa-dyb); }
.kh-nr span::after { content: ''; display: inline-block; width: 40px; height: 1px; margin: 0 14px; vertical-align: middle; background: currentColor; opacity: .6; }
.kh-byg .kh-nr span, .kh-vaerk .kh-nr span, .kh-firma .kh-nr span { color: var(--rosa); }
.kh-vaerk .kh-nr, .kh-firma .kh-nr { color: var(--lys-2); }

/* Afsløringens slutlinje står i den mørke sten til højre, ikke i sollyset. */
.kh-aabn.er-levende .kh-aabn-tekst { left: auto; right: var(--kant); }
@media (max-width: 699px) { .kh-aabn.er-levende .kh-aabn-tekst { left: var(--kant); } }
.kh-byg-hoved .kh-indledning { margin-top: 16px; }
@media (max-width: 699px) {
  /* Heroens knap står fri af Camino-bjælken nederst. */
  .kh .mester-chokolade .ch-tekst { bottom: 92px; }
}
/* Æskens hoved: segl, stor titel og indledning i sin egen kolonne, alle på samme grundlinje. */
@media (min-width: 961px) {
  .kh-byg-hoved > div { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(40px, 6vw, 112px); align-items: end; }
  .kh-byg-hoved .kh-nr { grid-column: 1 / -1; }
  .kh-byg-hoved .kh-indledning { justify-self: end; max-width: 38ch; margin: 0 0 .6em; }
}
/* Kapitelmærket står lodret i venstre margen, så det aldrig ligger over tekst. */
.kh-scene-maerke { left: calc(var(--kant) / 2 - 6px); bottom: 50%; transform: translateY(50%) rotate(180deg); writing-mode: vertical-rl; }
.kh-scene-maerke i { width: 1px; height: 32px; }
@media (max-width: 1100px) { .kh-scene-maerke { display: none; } }

/* ══ Runde 4b ══════════════════════════════════════════════════════════ */
.kh-scene-maerke { transition: opacity .3s ease-out; }
.kh-scene-maerke.er-skjult { opacity: 0; }

/* Fra disken: hver vare som en etiket på en dåse, med hårfin dobbeltkant og nummer. */
.kh-varer { counter-reset: vare; }
.kh-vare {
  counter-increment: vare; display: flex; flex-direction: column; padding: 10px 10px 12px; background: var(--papir);
  border: 1px solid rgba(26, 16, 12, .55); box-shadow: inset 0 0 0 4px var(--papir), inset 0 0 0 5px rgba(26, 16, 12, .22);
}
.kh-vare > :not(.kh-vare-billede) { padding-left: 6px; padding-right: 6px; }
.kh-vare h3::before { content: "Nº " counter(vare, decimal-leading-zero) / ""; display: block; margin-bottom: 8px; color: var(--rosa-dyb); font: 500 12px/1 Archivo, Arial, sans-serif; letter-spacing: .16em; }
.kh-vare .kh-tekstknap { align-self: flex-start; margin-top: auto; }
.kh .kh-vare-linje { margin-left: 6px; margin-right: 6px; padding-left: 0; padding-right: 0; }

/* Caféen: ét trykt menukort. Papir, kakaobrun kant med graveret dobbeltlinje og rosa guilloche for oven og neden. */
.kh-cafe { padding: clamp(64px, 7vw, 104px) 0; }
.kh-kort {
  position: relative; max-width: 1160px; margin: 0 auto; padding: clamp(64px, 6vw, 88px) clamp(24px, 5.5vw, 88px) clamp(56px, 5vw, 80px);
  background: var(--papir); border: 1px solid var(--kakao);
  box-shadow: inset 0 0 0 7px var(--papir), inset 0 0 0 8px rgba(26, 16, 12, .5), 0 40px 70px -50px rgba(26, 16, 12, .45);
}
.kh-kort::before, .kh-kort::after { content: ''; position: absolute; left: 20px; right: 20px; height: 22px; background: url(chokolade/guilloche-rosa.svg) center / 480px 22px repeat-x; }
.kh-kort::before { top: 20px; }
.kh-kort::after { bottom: 20px; }
.kh-kort-hoved { text-align: center; }
.kh-kort-hoved .kh-nr { justify-content: center; }
.kh-kort-hoved .kh-titel { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; font-size: clamp(40px, 5vw, 76px); }
.kh-kort-under { margin: 18px auto 0; max-width: 60ch; color: var(--blaek-2); font: 500 12px/1.6 Archivo, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.kh-kort .kh-menukort { margin-top: clamp(36px, 4vw, 52px); gap: 28px clamp(32px, 5vw, 80px); }
.kh-kort .kh-menukort h3 { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--kakao); color: var(--rosa-dyb); text-align: center; letter-spacing: .2em; }
.kh-kort .kh-prisliste { counter-reset: ret; }
.kh-kort .kh-prisliste li { counter-increment: ret; justify-content: flex-start; gap: 0; padding: 9px 0; border-bottom: 0; }
.kh-kort .kh-prisliste li::before { content: counter(ret, decimal-leading-zero) / ""; flex: none; width: 34px; color: var(--rosa-dyb); font: 500 12px/1 Archivo, Arial, sans-serif; letter-spacing: .1em; }
.kh-kort .kh-prisliste li::after { content: ''; order: 1; flex: 1; min-width: 24px; margin: 0 10px; border-bottom: 1px dotted rgba(26, 16, 12, .45); transform: translateY(-5px); }
.kh-kort .kh-prisliste b { order: 2; }
.kh-kort .kh-prisliste small { font-size: 14px; }
.kh-kort .kh-prisnote { text-align: right; }
.kh-kort-skel { display: flex; align-items: center; gap: 20px; margin: clamp(36px, 4vw, 52px) 0 clamp(32px, 3.5vw, 44px); }
.kh-kort-skel::before, .kh-kort-skel::after { content: ''; flex: 1; height: 1px; background: rgba(26, 16, 12, .4); }
.kh-kort-skel img { width: 48px; height: 48px; }

/* Kurset nederst på kortet: kompakt, de fire hold som små billetter. */
.kh-kort .kh-kursus { margin-top: 0; padding-top: 0; border-top: 0; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px clamp(32px, 5vw, 72px); }
.kh-kort .kh-kursus-tekst p { font-size: 17px; margin-top: 12px; }
.kh-kort .kh-hold legend { color: var(--rosa-dyb); }
.kh-kort .kh-hold-liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; border-top: 0; }
.kh-kort .kh-dato {
  grid-template-columns: minmax(0, 1fr); gap: 2px; min-height: 0; padding: 12px 12px 10px; border: 1px solid rgba(26, 16, 12, .35); border-radius: 2px; font-size: 16px;
}
.kh-kort .kh-dato input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.kh-kort .kh-dato-dag, .kh-kort .kh-dato-tid, .kh-kort .kh-dato-ledige { grid-column: auto; grid-row: auto; margin: 0; text-align: left; min-width: 0; }
.kh-kort .kh-dato-tid { font-size: 15px; }
.kh-kort .kh-dato-ledige { font-size: 13px; color: var(--rosa-dyb); }
.kh-kort .kh-dato:hover { background: var(--creme); }
.kh-kort .kh-dato:has(input:checked) { background: var(--kakao); border-color: var(--kakao); color: var(--creme); }
.kh-kort .kh-dato:has(input:checked) .kh-dato-tid, .kh-kort .kh-dato:has(input:checked) .kh-dato-ledige { color: var(--rosa); }
.kh-kort .kh-dato:has(input:focus-visible) { outline: 2px solid var(--rosa-dyb); outline-offset: 2px; }
.kh-kort .kh-dato:has(input:disabled) { opacity: .55; background: none; }
.kh-kort .kh-book-felter { margin-top: 14px; }
.kh-kort .kh-book-bund { margin-top: 14px; }
.kh-kort .kh-felt input { background: #FFFDF8; }

@media (max-width: 960px) {
  .kh-kort .kh-kursus { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 699px) {
  .kh-vare { padding: 6px 6px 10px; }
  .kh-vare > :not(.kh-vare-billede) { padding-left: 4px; padding-right: 4px; }
  .kh-kort { padding: 56px 20px 52px; margin: 0 -8px; }
  .kh-kort::before, .kh-kort::after { left: 14px; right: 14px; height: 16px; background-size: 360px 16px; }
  .kh-kort::before { top: 16px; }
  .kh-kort::after { bottom: 16px; }
  .kh-kort .kh-hold-liste { grid-template-columns: 1fr 1fr; }
  .kh-kort .kh-prisliste li { font-size: 17px; }
  .kh-kort .kh-prisliste li::before { width: 28px; }
}

/* Kortet strammet: kortere side. */
.kh-cafe { padding: clamp(56px, 5.5vw, 80px) 0; }
.kh-kort { padding-top: clamp(56px, 5vw, 72px); padding-bottom: clamp(48px, 4.4vw, 64px); }
.kh-kort .kh-menukort { margin-top: clamp(28px, 3vw, 40px); }
.kh-kort .kh-prisliste li { padding: 7px 0; }
.kh-kort-skel { margin: clamp(28px, 3vw, 40px) 0 clamp(24px, 2.6vw, 34px); }
.kh-kort .kh-undertitel { font-size: clamp(26px, 2.2vw, 32px); }
.kh-kort .kh-book { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: end; }
.kh-kort .kh-hold, .kh-kort .kh-book-felter, .kh-kort .kh-fejl, .kh-kort .kh-kvittering { grid-column: 1 / -1; }
.kh-kort .kh-book-bund { grid-column: 1 / -1; }
@media (max-width: 699px) {
  .kh-cafe { padding: 40px 0; }
  .kh-kort .kh-book-felter { grid-template-columns: auto minmax(0, 1fr); }
  .kh-kort .kh-book-felter .kh-felt:last-child { grid-column: 1 / -1; }
  .kh-kort .kh-book-bund { flex-wrap: nowrap; }
  .kh-kort .kh-book-bund .kh-knap { width: auto; flex: 1; }
}
@media (min-width: 961px) {
  .kh-kort .kh-book { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; column-gap: 14px; }
  .kh-kort .kh-book-felter, .kh-kort .kh-book-bund { display: contents; }
  .kh-kort .kh-book-felter > * { margin-top: 14px; }
  .kh-kort .kh-book-bund .kh-knap { margin-top: 14px; min-height: 48px; }
  .kh-kort .kh-book-sum { grid-column: 1 / -1; order: 2; display: flex; gap: 14px; align-items: baseline; margin-top: 12px; }
  .kh-kort .kh-book-sum b { font-size: 22px; }
  .kh-kort .kh-fejl { order: 3; } .kh-kort .kh-kvittering { order: 4; }
}
/* Afsløringen lidt kortere: scenen står fast i 160vh. */
.kh-aabn.er-levende { height: 260vh; }
@media (max-width: 699px) { .kh-aabn.er-levende { height: 210vh; } }

/* ══ Runde 5: trykket ═══════════════════════════════════════════════════ */

/* Korn som på film: tydeligere i mellemtonerne (overlay rører hverken sort eller hvidt) og skifter 12 gange i sekundet. */
.kh::after { inset: -256px; opacity: .085; animation: kh-korn .5s steps(1, end) infinite; will-change: transform; }
@keyframes kh-korn {
  0% { transform: translate3d(0, 0, 0); }
  16.66% { transform: translate3d(-97px, 61px, 0); }
  33.33% { transform: translate3d(43px, -118px, 0); }
  50% { transform: translate3d(-151px, -29px, 0); }
  66.66% { transform: translate3d(112px, 87px, 0); }
  83.33% { transform: translate3d(-23px, 143px, 0); }
}
@media (prefers-reduced-motion: reduce) { .kh::after { animation: none; } }

/* To farver tryk med lidt skævt register: kakaobrunt med en rosa skygge, der ikke helt rammer. */
.kh-nr { text-shadow: .8px .6px 0 rgba(217, 166, 160, .55); }
.kh-nr span { text-shadow: -.7px -.5px 0 rgba(36, 21, 16, .28); }
.kh-nr span::after { box-shadow: 1px 1px 0 rgba(217, 166, 160, .6); }
.kh-byg .kh-nr, .kh-vaerk .kh-nr, .kh-firma .kh-nr { text-shadow: .8px .6px 0 rgba(142, 63, 73, .7); }
.kh-byg .kh-nr span, .kh-vaerk .kh-nr span, .kh-firma .kh-nr span { text-shadow: -.7px -.5px 0 rgba(244, 234, 220, .22); }
.kh-vare { position: relative; }
.kh-vare::after {
  content: ''; position: absolute; inset: 4px; pointer-events: none;
  border: 1px solid rgba(142, 63, 73, .42); transform: translate(1.2px, .9px);
}
.kh-vare h3::before { text-shadow: -.7px -.5px 0 rgba(36, 21, 16, .25); }


/* Firmagaven: navnet trykkes i en graveret kartusche på båndet. */
.kh-gave-tryk span { padding: .34em 1.15em .3em; background: url(chokolade/kartusche-kakao.svg) center / 100% 100% no-repeat; }

/* Kom forbi: åbningstiderne på et roligt, fast felt i stedet for direkte på fotoet. */
.kh-tider {
  border: 1px solid rgba(244, 234, 220, .28); padding: 6px 20px; background: #1C110D;
  box-shadow: inset 0 0 0 4px #1C110D, inset 0 0 0 5px rgba(217, 166, 160, .3);
}
.kh-tider div:last-child { border-bottom: 0; }

/* Låg-scenens drejeskive: hvert foto står stille og skifter med en kort overtoning i tid. */
.kh-aabn.er-levende .kh-aabn-lukket, .kh-aabn.er-levende .kh-aabn-midt { transition: opacity .2s cubic-bezier(.4, 0, .2, 1); }
.kh-aabn-bild[data-tilstand="1"] .kh-aabn-lukket, .kh-aabn-bild[data-tilstand="2"] .kh-aabn-lukket, .kh-aabn-bild[data-tilstand="2"] .kh-aabn-midt { opacity: 0; }

/* Hurtigvisningen må ikke blive bredere end dialogen, heller ikke med lange navne og knaptekster. */
.kh-vis-indre { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.kh-vis-bund .kh-knap { min-width: 0; }
@media (max-width: 699px) { .kh-vis-indre { grid-template-columns: minmax(0, 1fr); } }
