/* ==========================================================================
   SCALPVAWZEN – stylesheet
   Farver, typografi og afstande er samlet som variabler herunder.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #090909;
  --surface: #121212;
  --surface-2: #1b1b1b;
  --text: #f4f1ea;
  --muted: #b8b2a8;
  --gold: #c5a46d;
  --gold-hover: #d4b885;
  --gold-line: rgba(197, 164, 109, 0.38);
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.24);
  --error: #f0a59a;
  --warning-bg: #231d12;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 72px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 2px;
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold-hover); }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.12; font-weight: 600; text-wrap: balance; font-variant-numeric: lining-nums; }
.contact-card__value, .big-link, .uses__num, .site-footer__lead { font-variant-numeric: lining-nums; }
p { margin: 0 0 1.1em; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
strong { font-weight: 600; color: var(--text); }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.9em; background: var(--surface-2); padding: 0.1em 0.35em; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold); color: var(--bg); padding: 0.75rem 1.25rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--bg); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow > * { max-width: 820px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--surface); }

.split { display: grid; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__text { order: 2; }
  .split--top { align-items: start; }
}
.split__media--offset { position: relative; }
@media (min-width: 900px) {
  .split__media--offset::before {
    content: ""; position: absolute; inset: -1.25rem 1.25rem 1.25rem -1.25rem;
    border: 1px solid var(--gold-line); pointer-events: none;
  }
}
.split__panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.75rem); }
.frame-img { width: 100%; aspect-ratio: auto; object-fit: cover; position: relative; }

.columns-3, .columns-4 { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
@media (min-width: 760px) { .columns-3 { grid-template-columns: repeat(3, 1fr); } .columns-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .columns-4 { grid-template-columns: repeat(4, 1fr); } }
.columns-3 > div, .columns-4 > div { border-top: 1px solid var(--gold-line); padding-top: 1.25rem; }
.columns-3 h3, .columns-4 h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 0.4em; }
.columns-3 p, .columns-4 p { color: var(--muted); margin: 0; }

/* ---------- Typografi ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: 0.85rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; flex: none; }
.section-heading {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.005em;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.05; max-width: 16ch;
}
.section-heading--wide { max-width: 22ch; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text); }
.split__text p:not(.lead):not(.eyebrow), .muted { color: var(--muted); }
.note { color: var(--muted); font-size: 0.95rem; border-left: 1px solid var(--gold-line); padding-left: 1rem; margin-top: 2.5rem; }
.fineprint { color: var(--muted); font-size: 0.875rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.02em; text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--gold-line); padding-bottom: 0.2rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow::after { content: "→"; color: var(--gold); transition: transform 0.25s var(--ease); }
.link-arrow:hover { border-color: var(--gold); color: var(--text); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em;
  text-decoration: none; text-align: center; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { background: var(--gold-hover); color: var(--bg); }
.btn--ghost { background: rgba(9, 9, 9, 0.25); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--gold); color: var(--text); }
.btn--large { min-height: 54px; padding-inline: 1.9rem; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(9, 9, 9, 0.82), rgba(9, 9, 9, 0));
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(9, 9, 9, 0.97);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(9, 9, 9, 0.88); backdrop-filter: blur(10px); }
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h); max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 170px; height: auto; }
@media (min-width: 1100px) { .brand img { width: 220px; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; padding: 0.5rem 0.25rem 0.5rem 0.75rem;
  background: none; border: 0; cursor: pointer; color: var(--text);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.nav-toggle__icon { position: relative; width: 26px; height: 12px; }
.nav-toggle__icon span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle__icon span:first-child { top: 0; }
.nav-toggle__icon span:last-child { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:last-child { top: 5px; transform: rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; }

/* Mobil/tablet: fuldskærmspanel */
@media (max-width: 1099.98px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--bg); border-top: 1px solid var(--line);
    padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2rem;
  }
  /* Menuen er åben: headerens backdrop-filter (.is-solid) ville gøre headeren til
     containing block for den faste menu, så menuen kun blev ca. 65 px høj.
     Filteret slås derfor fra, og headeren får dækkende sort baggrund, mens menuen
     er åben og under lukke-animationen (klassen styres af site.js). */
  .site-header.has-open-nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js .site-nav { visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s; }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s; }
  .site-nav__list a { display: block; font-family: var(--serif); font-size: clamp(2rem, 7vw, 2.6rem); font-weight: 500; line-height: 1.2; padding: 0.35rem 0; }
  .site-nav__list a[aria-current="page"] { color: var(--gold); }
  .site-nav__secondary { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
  .site-nav__secondary a { color: var(--muted); display: inline-block; padding: 0.5rem 0; }
  .site-nav__actions { display: grid; gap: 1rem; margin-top: auto; max-width: 420px; }
  .site-nav__phone { color: var(--muted); padding: 0.5rem 0; }
  body.nav-open { overflow: hidden; }
  /* Uden JavaScript: menuen vises som almindelig sektion under headeren */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header { position: absolute; }
  html:not(.js) .site-nav { position: static; inset: auto; background: transparent; border: 0; padding: 0; }
  html:not(.js) .site-header__inner { height: auto; flex-wrap: wrap; padding-block: 1rem; }
  html:not(.js) .site-nav__list a { font-size: 1.25rem; }
  html:not(.js) .site-nav__list { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
}

/* Desktop: vandret menu */
@media (min-width: 1100px) {
  :root { --header-h: 84px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 2.25rem; }
  .site-nav__list { display: flex; gap: 2rem; }
  .site-nav__list a, .site-nav__secondary a {
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 0.5rem 0; position: relative; color: var(--text);
  }
  .site-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
  }
  .site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__list a:hover { color: var(--text); }
  .site-nav__secondary { display: none; }
  .site-nav__actions { display: flex; align-items: center; gap: 1.5rem; }
  .site-nav__actions .btn { min-height: 44px; padding: 0.6rem 1.25rem; font-size: 0.8rem; }
  .site-nav__phone { display: none; }
}
@media (min-width: 1280px) { .site-nav__phone { display: inline; font-size: 0.85rem; color: var(--muted); } }

/* ---------- Hero (forside) ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: 600px; height: 100vh; height: 100svh; max-height: 980px;
  padding-top: var(--header-h); overflow: hidden; background: var(--bg);
}
.hero__media, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster, .hero__video { object-fit: cover; object-position: 62% 40%; }
.hero__video { opacity: 0; transition: opacity 0.9s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__media { z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(9, 9, 9, 0.55) 0%, rgba(9, 9, 9, 0) 22%),
    linear-gradient(90deg, rgba(9, 9, 9, 0.88) 0%, rgba(9, 9, 9, 0.6) 38%, rgba(9, 9, 9, 0.12) 70%, rgba(9, 9, 9, 0.05) 100%),
    linear-gradient(to top, #090909 0%, rgba(9, 9, 9, 0.85) 14%, rgba(9, 9, 9, 0) 46%);
}
.hero__content { padding-bottom: clamp(3.5rem, 9vh, 7rem); }
.hero__heading {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(2.75rem, 6.6vw, 6.2rem); line-height: 1; max-width: 18ch; margin-bottom: 0.4em;
}
.hero__heading-line { display: block; color: var(--gold); }
.hero__lead { max-width: 40rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--text); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__meta { margin: 1.75rem 0 0; }
.hero__toggle {
  position: absolute; right: var(--gutter); bottom: clamp(1.5rem, 4vh, 2.5rem); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(9, 9, 9, 0.45); border: 1px solid var(--line-strong); color: var(--text); cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.hero__toggle:hover { border-color: var(--gold); background: rgba(9, 9, 9, 0.7); }
.hero__toggle .icon { width: 16px; height: 16px; fill: currentColor; }
.hero__toggle .icon--play { display: none; }
.hero__toggle.is-paused .icon--play { display: block; }
.hero__toggle.is-paused .icon--pause { display: none; }

@media (max-width: 699.98px) {
  .hero { height: auto; min-height: min(88svh, 720px); max-height: none; }
  .hero__poster, .hero__video { object-position: 58% 30%; }
  .hero__shade {
    background:
      linear-gradient(to bottom, rgba(9, 9, 9, 0.6) 0%, rgba(9, 9, 9, 0) 25%),
      linear-gradient(to top, #090909 0%, rgba(9, 9, 9, 0.92) 30%, rgba(9, 9, 9, 0.35) 62%, rgba(9, 9, 9, 0.15) 100%);
  }
  .hero__content { padding-top: 34vh; padding-bottom: 2.5rem; }
  .hero .eyebrow { font-size: 0.68rem; letter-spacing: 0.15em; gap: 0.6rem; }
  .hero .eyebrow::before { width: 1.5rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__toggle { top: calc(var(--header-h) + 0.75rem); bottom: auto; width: 42px; height: 42px; }
}

/* ---------- Sidehero (undersider) ---------- */
.page-hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.page-hero--image { min-height: min(78svh, 720px); display: flex; align-items: flex-end; }
.page-hero--image .page-hero__content { width: 100%; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.55) 45%, rgba(9, 9, 9, 0.15) 100%),
    linear-gradient(to top, #090909 0%, rgba(9, 9, 9, 0) 45%),
    linear-gradient(to bottom, rgba(9, 9, 9, 0.6) 0%, rgba(9, 9, 9, 0) 25%);
}
@media (max-width: 699.98px) {
  .page-hero--image { min-height: 560px; }
  .page-hero--image::after { background: linear-gradient(to top, #090909 0%, rgba(9, 9, 9, 0.8) 40%, rgba(9, 9, 9, 0.25) 100%); }
}
.page-hero__heading {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; max-width: 15ch;
}
.page-hero__lead { max-width: 42rem; font-size: clamp(1.075rem, 1.5vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.page-hero--image .page-hero__lead { color: var(--text); }
.page-hero--short { padding-bottom: var(--section); min-height: 70svh; }
.pos-right { object-position: 70% center; }

/* ---------- Anvendelser (forside) ---------- */
.uses__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.uses__list li { padding: 1.75rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1rem; }
.uses__num { grid-row: span 2; font-family: var(--serif); font-size: 1.5rem; color: var(--gold); line-height: 1.2; }
.uses__list h3 { font-family: var(--serif); font-size: 1.65rem; margin: 0 0 0.25rem; }
.uses__list p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .uses__list { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .uses__list li { display: block; border-bottom: 0; padding: 2.25rem 1.75rem 2.25rem 0; }
  .uses__list li + li { padding-left: 1.75rem; border-left: 1px solid var(--line); }
  .uses__num { display: block; margin-bottom: 1.25rem; }
}

/* ---------- Resultater ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .section-heading { margin-bottom: 0; }

.result { margin: 0; display: flex; flex-direction: column; }
.result__media { display: grid; gap: 4px; background: var(--surface); }
.result--pair .result__media { grid-template-columns: 1fr 1fr; }
.result__link { display: block; position: relative; overflow: hidden; line-height: 0; cursor: zoom-in; }
.result__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.result__link:hover .result__img { transform: scale(1.025); }
.result__link:focus-visible { outline-offset: -3px; }
.result__caption { padding-top: 1.1rem; }
.result__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.35rem; }
.result__caption p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.results-mosaic { display: grid; gap: clamp(2rem, 3vw, 2.5rem); }
@media (min-width: 700px) and (max-width: 1099.98px) {
  .results-mosaic { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .results-mosaic .result--tall { grid-row: span 2; }
}
/* Desktop: én række med ens billedhøjde – flex-grow = billedforhold */
@media (min-width: 1100px) {
  .results-mosaic { display: flex; align-items: flex-start; gap: 2.5rem; }
  .results-mosaic .result { flex: 1 1 0; min-width: 0; }
  .results-mosaic .result--r56 { flex-grow: 0.5625; }
  .results-mosaic .result--r100 { flex-grow: 1; }
  .results-mosaic .result--r125 { flex-grow: 1.25; }
  .results-mosaic .result--r160 { flex-grow: 1.6; }
}

.results-grid { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 700px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .results-grid .result--tall { grid-row: span 2; }
}

.film { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }

/* ---------- Forløb ---------- */
.steps { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; gap: 2.25rem; counter-reset: step; }
.steps__item { counter-increment: step; position: relative; padding-top: 2.75rem; border-top: 1px solid var(--line); }
.steps__item::before {
  content: "0" counter(step); position: absolute; top: 1rem; left: 0;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; color: var(--gold);
}
.steps__item::after { content: ""; position: absolute; top: -1px; left: 0; width: 3rem; height: 1px; background: var(--gold); }
.steps__item h3 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 0.4rem; }
.steps__item p { color: var(--muted); margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.timeline { list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3rem) 0 0; border-left: 1px solid var(--gold-line); }
.timeline li { position: relative; padding: 0 0 2.5rem 2rem; max-width: 46rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.6rem; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--gold); transform: rotate(45deg); }
.timeline li:last-child { padding-bottom: 0; }
.timeline h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 0.35rem; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Priser ---------- */
.price-list { margin: 0; }
.price-list__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.price-list__row:first-child { border-top: 1px solid var(--line); }
.price-list dt { flex: 1; }
.price-list dd { margin: 0; }
.price-list__name { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.price-list__note { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; max-width: 34rem; }
.price-list__amount { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; font-size: 1.15rem; color: var(--gold); }
.price-list__row--separate { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.price-list--compact .price-list__row { padding: 0.95rem 0; }
.price-list--compact .price-list__name { font-family: var(--sans); font-size: 1rem; font-weight: 500; }
.price-list--compact .price-list__amount { font-size: 1rem; }

.prices-layout { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 980px) { .prices-layout { grid-template-columns: 1.55fr 1fr; } .prices-layout__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.prices-layout__aside { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.25rem); }
.aside-heading { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 0.9rem; }
.illustration { border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); padding: 1.25rem 0; margin: 1.5rem 0; }
.illustration__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.illustration p { margin-bottom: 0.6rem; }
.illustration__fine { color: var(--muted); font-size: 0.88rem; margin: 0 !important; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.85rem; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.7rem; height: 1px; background: var(--gold); }

/* ---------- Feature-bånd (fuld bredde billede) ---------- */
.feature-band { position: relative; isolation: isolate; min-height: clamp(520px, 80vh, 820px); display: flex; align-items: center; overflow: hidden; }
.feature-band--short { min-height: clamp(440px, 62vh, 640px); }
.feature-band__media { position: absolute; inset: 0; z-index: -2; }
.feature-band__img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.feature-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, #090909 0%, rgba(9, 9, 9, 0) 18%, rgba(9, 9, 9, 0) 82%, #090909 100%),
    linear-gradient(270deg, rgba(9, 9, 9, 0.95) 0%, rgba(9, 9, 9, 0.75) 40%, rgba(9, 9, 9, 0.1) 75%);
}
.feature-band__content { display: flex; justify-content: flex-end; }
.feature-band__text { max-width: 30rem; padding-block: 4rem; }
.feature-band__text p:not(.eyebrow) { color: var(--text); }
@media (max-width: 759.98px) {
  .feature-band { align-items: flex-end; min-height: 640px; }
  .feature-band::after { background: linear-gradient(to top, #090909 0%, rgba(9, 9, 9, 0.9) 42%, rgba(9, 9, 9, 0.1) 80%, #090909 100%); }
  .feature-band__img { object-position: 40% 20%; }
  .feature-band__text { padding-block: 3rem; }
}

.image-row { display: grid; gap: 4px; }
@media (min-width: 760px) { .image-row { grid-template-columns: 1fr 1fr; } }
.image-row__img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.image-row--single { grid-template-columns: 1fr !important; }
.image-row--single .image-row__img { aspect-ratio: 21 / 8; object-position: 60% center; }
@media (max-width: 759.98px) { .image-row--single .image-row__img { aspect-ratio: 4 / 3; } }

/* ---------- CTA-bånd ---------- */
.cta-band { background: var(--surface); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta-band__inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }
.cta-band__heading { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; max-width: 18ch; }
.cta-band__text { color: var(--muted); max-width: 36rem; margin: 0; }
.cta-band__actions { display: grid; gap: 1rem; justify-items: start; }
@media (min-width: 900px) { .cta-band__actions { justify-items: end; text-align: right; } }
.cta-band__alt { color: var(--muted); margin: 0; }

/* ---------- Kontakt ---------- */
.contact-list { margin: 0; display: grid; gap: 0; }
.contact-list > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.2rem; }
.contact-list > div:first-child { border-top: 1px solid var(--line); }
.contact-list dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.contact-list dd { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-list a:hover { border-color: var(--gold); color: var(--text); }

.contact-page { display: grid; gap: 3rem; }
@media (min-width: 980px) { .contact-page { grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; } }
.contact-page__primary { display: grid; gap: 1rem; }
.contact-page__secondary { display: grid; gap: 2rem; }
.contact-card {
  display: grid; gap: 0.35rem; padding: clamp(1.4rem, 3vw, 2rem); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.contact-card:hover { border-color: var(--gold); background: var(--surface-2); color: var(--text); }
.contact-card__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.contact-card__value { font-family: var(--serif); font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.contact-card__value--small { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.contact-card__hint { color: var(--muted); font-size: 0.9rem; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2rem); }
.panel p { color: var(--muted); }
.big-link { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--text); text-decoration: none; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; min-height: 48px;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__heading { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 600; margin: 0; line-height: 1.2; }
.faq__question:hover .faq__heading { color: var(--gold-hover); }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform 0.3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 0 1.75rem; max-width: 46rem; color: var(--muted); }

/* ---------- Hårtabsviden ---------- */
.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .article-list { grid-template-columns: 1fr 1fr; } }
.article-list__item { background: var(--bg); }
.article-list__link { display: block; height: 100%; padding: clamp(1.6rem, 3vw, 2.5rem); text-decoration: none; transition: background-color 0.2s var(--ease); }
.article-list__link:hover { background: var(--surface); color: var(--text); }
.article-list__title { font-family: var(--serif); font-size: 2rem; margin-bottom: 0.5rem; }
.article-list__link p { color: var(--muted); }
.prose h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 2.5rem; }
.prose ul { padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; color: var(--muted); }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.7rem; height: 1px; background: var(--gold); }
.prose p { color: var(--muted); }
.related { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related__heading { font-family: var(--sans) !important; font-size: 0.75rem !important; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 0 !important; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { margin-bottom: 0.5rem; }
.related .plain-list li::before { display: none; }
.related .plain-list li { padding: 0; }
.related a { color: var(--text); }

/* ---------- Formular ---------- */
.form-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 980px) { .form-layout { grid-template-columns: 1.4fr 1fr; gap: 5rem; } }
.form-layout__aside { display: grid; gap: 2rem; }
.mini-steps { margin: 0; padding-left: 1.3rem; color: var(--muted); }
.mini-steps li { margin-bottom: 0.75rem; padding-left: 0.3rem; }
.mini-steps li::marker { color: var(--gold); font-weight: 600; }
.form { display: grid; gap: 1.6rem; }
.field { display: grid; gap: 0.45rem; }
.field__input, .message { scroll-margin-top: calc(var(--header-h) + 4.5rem); }
.field__label { font-weight: 600; font-size: 0.98rem; }
.field__req { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.field__hint { margin: 0; color: var(--muted); font-size: 0.9rem; }
.field__error { margin: 0; color: var(--error); font-size: 0.92rem; font-weight: 500; }
.field__input {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); font-size: 1rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field__input:hover { border-color: rgba(244, 241, 234, 0.4); }
.field__input:focus { outline: none; border-color: var(--gold); background: var(--surface-2); box-shadow: 0 0 0 1px var(--gold); }
.field__input--area { min-height: 140px; resize: vertical; line-height: 1.5; }
.field--error .field__input { border-color: var(--error); }
.field--trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__fine { color: var(--muted); font-size: 0.88rem; margin: 0; }

.message { padding: 1.25rem 1.4rem; border: 1px solid var(--line-strong); background: var(--surface); margin-bottom: 1.75rem; }
.message p:last-child, .message ul:last-child { margin-bottom: 0; }
.message:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.message__heading { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.message--error { border-color: var(--error); border-left-width: 4px; }
.message--error a { color: var(--text); }
.message--warning, .message--preview { border-color: var(--gold); border-left-width: 4px; background: var(--warning-bg); }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; color: var(--text); }
.lightbox::backdrop { background: rgba(5, 5, 5, 0.92); }
.lightbox__frame { position: relative; display: grid; gap: 0.75rem; }
.lightbox__img { max-height: 80vh; width: auto; margin-inline: auto; object-fit: contain; background: var(--surface); }
.lightbox__caption { color: var(--muted); margin: 0; text-align: center; max-width: 48rem; margin-inline: auto; padding-inline: 1rem; }
.lightbox__close {
  position: absolute; top: 0.6rem; right: 0.6rem; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(9, 9, 9, 0.75); border: 1px solid var(--line-strong); color: var(--text); cursor: pointer;
}
.lightbox__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.lightbox__close:hover { border-color: var(--gold); }

/* ---------- Popup: genåbning i 2027 ---------- */
/* Lukket <dialog> vises aldrig – uden JavaScript påvirker den intet. */
html.is-scroll-locked { overflow: hidden; }
html.is-scroll-locked.has-scrollbar-gutter { scrollbar-gutter: stable; }

.reopen {
  padding: 0; border: 0; background: transparent; color: var(--text);
  width: min(560px, calc(100vw - 2rem)); max-width: none;
  max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
  overflow-y: auto; overscroll-behavior: contain;
}
.reopen::backdrop { background: rgba(5, 5, 5, 0.8); }
@supports (backdrop-filter: blur(6px)) {
  .reopen::backdrop { background: rgba(5, 5, 5, 0.66); backdrop-filter: blur(6px); }
}
.reopen__panel {
  position: relative; text-align: center;
  padding: clamp(2.75rem, 7vw, 3.75rem) clamp(1.5rem, 6vw, 3.5rem) clamp(2.25rem, 6vw, 3.25rem);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(197, 164, 109, 0.12), rgba(197, 164, 109, 0) 62%),
    #0d0d0d;
  border: 1px solid var(--gold-line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}
/* Diskret indre ramme */
.reopen__panel::before {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 1px solid rgba(197, 164, 109, 0.13);
}
.reopen__close {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(9, 9, 9, 0.6); border: 1px solid var(--line-strong); color: var(--text); cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.reopen__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.reopen__close:hover { border-color: var(--gold); color: var(--gold-hover); }

.reopen__mark { width: 52px; height: 52px; margin: 0 auto 1.5rem; opacity: 0.92; }
.reopen__heading { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1; text-wrap: balance; }
.reopen__heading-lead {
  display: block; font-weight: 500; letter-spacing: 0.005em;
  font-size: clamp(1.55rem, 5vw, 2.15rem); line-height: 1.15; max-width: 18ch; margin-inline: auto;
}
.reopen__year {
  display: block; margin-top: 0.3rem;
  font-size: clamp(4.75rem, 21vw, 7.75rem); line-height: 0.95; letter-spacing: 0.02em;
  color: var(--gold); font-variant-numeric: lining-nums;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .reopen__year {
    background: linear-gradient(180deg, #e6cd9c 0%, #c5a46d 55%, #a8864f 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
@media (forced-colors: active) { .reopen__year { -webkit-text-fill-color: CanvasText; color: CanvasText; background: none; } }
.reopen__rule { display: block; width: 3rem; height: 1px; background: var(--gold); margin: 1.6rem auto 1.4rem; opacity: 0.8; }
.reopen__text { color: var(--muted); max-width: 36ch; margin: 0 auto 2rem; font-size: 1.02rem; line-height: 1.65; }
.reopen__actions { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.reopen__primary { min-width: 260px; white-space: nowrap; }
.reopen__secondary { font-size: 0.9rem; }
@media (max-width: 479.98px) {
  .reopen__primary { width: 100%; min-width: 0; padding-inline: 1rem; }
}
@media (max-width: 359.98px) {
  .reopen__panel { padding-inline: 1.25rem; }
  .reopen__text { font-size: 0.95rem; }
  .reopen__primary { letter-spacing: 0.03em; }
}
/* Lave skærme (fx små telefoner) */
@media (max-height: 640px) {
  .reopen__panel { padding-top: 2.25rem; padding-bottom: 1.6rem; }
  .reopen__mark { display: none; }
  .reopen__year { font-size: clamp(3.5rem, 12vh, 4.75rem); }
  .reopen__rule { margin-block: 1rem; }
  .reopen__text { margin-bottom: 1.25rem; line-height: 1.55; }
  .reopen__actions { gap: 0.9rem; }
}
/* Meget lave, brede skærme (mobil på tværs): kompakt layout på få linjer */
@media (max-height: 480px) and (min-width: 560px) {
  .reopen { width: min(680px, calc(100vw - 2rem)); }
  .reopen__panel { padding: 1.75rem 3.5rem 1.4rem; }
  .reopen__heading-lead { display: inline; font-size: 1.6rem; }
  .reopen__year { display: inline; font-size: 2.6rem; margin: 0 0 0 0.2em; line-height: 1; }
  .reopen__rule { margin-block: 0.85rem; }
  .reopen__text { max-width: 52ch; font-size: 0.95rem; margin-bottom: 1rem; }
  .reopen__actions { flex-direction: row; justify-content: center; gap: 1.75rem; }
  .reopen__primary { min-height: 46px; min-width: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .reopen[open] { animation: reopen-in 0.55s var(--ease) both; }
  .reopen[open]::backdrop { animation: reopen-fade 0.45s ease-out both; }
  .reopen[open] .reopen__year { animation: reopen-rise 0.8s 0.12s var(--ease) both; }
}
@keyframes reopen-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes reopen-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes reopen-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.link-grid { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.link-grid a { display: inline-block; padding: 0.6rem 1rem; border: 1px solid var(--line-strong); text-decoration: none; }
.link-grid a:hover { border-color: var(--gold); color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 5.5rem); background: var(--bg); }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 3rem; } }
.site-footer__mark { width: 64px; height: 64px; margin-bottom: 1.25rem; }
.site-footer .site-footer__lead { font-family: var(--serif); font-size: 1.75rem; line-height: 1.15; max-width: 14ch; color: var(--text); }
.site-footer .site-footer__status {
  display: flex; align-items: center; gap: 0.6rem; margin: -0.25rem 0 1.5rem;
  color: var(--gold); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.site-footer__status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 4px rgba(197, 164, 109, 0.15); }
.site-footer__heading { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.site-footer__heading:not(:first-child) { margin-top: 1.75rem; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 0.95rem; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer .btn--gold { color: var(--bg); }
.site-footer__base { margin-top: 3.5rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.site-footer__base p { margin: 0; font-size: 0.85rem; }

/* ---------- Mobil handlingsbjælke ---------- */
.action-bar { display: none; }
@media (max-width: 759.98px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 2fr; gap: 1px;
    background: var(--line); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom); background-color: var(--bg);
    transform: translateY(0); transition: transform 0.3s var(--ease);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 56px;
    font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; text-decoration: none;
  }
  .action-bar__call { background: var(--surface); color: var(--text); }
  .action-bar__cta { background: var(--gold); color: var(--bg); }
  .action-bar__cta:hover { color: var(--bg); }
  .action-bar.is-hidden { transform: translateY(110%); }
  body:not(.no-action-bar) { padding-bottom: calc(57px + env(safe-area-inset-bottom)); }
  body.nav-open .action-bar { display: none; }
}

/* ---------- Reduceret bevægelse ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
