/* PR3.dk – "Nat": næsten sort, lys tekst, lime som eneste accent.
   Skrift: Funnel Display (overskrifter) og Instrument Sans (tekst), hostet lokalt. */

@font-face { font-family: 'Funnel Display'; src: url('../fonts/funnel-display.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument-sans.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #0c0d0c;
  --surface: #161816;
  --surface-2: #1d201c;
  --line: #2b2e2a;
  --text: #f1f1ea;
  --muted: #a3a69c;
  --accent: #d4ff3a;
  --on-accent: #0c0d0c;
  --paper: #f1f1ea;
  --photo: #7a7a7a;

  --display: 'Funnel Display', 'Arial Narrow', sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1440px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 11vw, 152px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--accent); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
html { scrollbar-color: var(--line) var(--bg); }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
  font-variation-settings: 'opsz' 96;
}
h1 { font-size: clamp(2.9rem, 8.4vw, 8.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
h1 em, h2 em { font-style: normal; color: var(--accent); }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

/* Knapper */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background-color 180ms var(--ease), border-color 180ms, color 180ms, transform 120ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: #e2ff70; }
.btn--ghost, .btn--quiet { color: var(--text); border: 1.5px solid var(--line); }
.btn--ghost:hover, .btn--quiet:hover { border-color: var(--text); }

/* "mat" er nu bare sidehovedet på mørk baggrund */
.mat { background: var(--bg); color: var(--text); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(12, 13, 12, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.top__logo { display: block; width: 96px; flex: none; }
.top__logo img { width: 100%; height: auto; }
.top__nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.top__nav a { color: var(--muted); text-decoration: none; font-weight: 500; transition: color 160ms; }
.top__nav a:hover, .top__nav a[aria-current="page"] { color: var(--text); }
.top__nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.top__phone { background: var(--accent); color: var(--on-accent) !important; padding: 10px 18px; border-radius: 999px; font-weight: 600 !important; font-variant-numeric: tabular-nums; }
.top__phone:hover { background: #e2ff70; text-decoration: none !important; }
@media (max-width: 760px) {
  .top__logo { width: 76px; }
  .top__nav { gap: 16px; }
  .top__nav a { font-size: 0.95rem; }
  .top__nav .top__phone { display: none; }
}

/* Forsidens top */
.hero { padding-top: clamp(48px, 8vw, 112px); }
.hero h1 { max-width: 15ch; }
.hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.hero__lede { max-width: 34rem; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Arbejdsstrimlen: kort på række, der kan rulles sidelæns */
.strip { margin-top: clamp(40px, 5vw, 72px); overflow-x: auto; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.strip.is-dragging * { pointer-events: none; }
.strip__track { display: flex; gap: 16px; width: max-content; }
.strip__item { flex: none; display: block; width: clamp(260px, 32vw, 480px); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; -webkit-user-drag: none; }

/* Logoceller (bruges i strimlen og under Logodesign) */
.sheet__cell { position: relative; display: block; aspect-ratio: 16 / 9; }
.sheet__cell img { position: absolute; inset: 0; margin: auto; max-width: 70%; height: calc(var(--logo-h, 0.4) * 70%); width: auto; object-fit: contain; opacity: 0; transition: opacity 300ms var(--ease); }
.sheet__cell img.is-sized { opacity: 1; }
.logogrid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 8px; }
.logogrid .sheet__cell { background: var(--paper); border-radius: var(--radius); }
.logogrid__btn { position: absolute; inset: 0; width: 100%; padding: 0; background: none; border: 0; border-radius: inherit; cursor: zoom-in; }
.logogrid__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Sektioner */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head p { color: var(--muted); max-width: 30rem; }

/* Ydelser som liste */
.toc { border-top: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 28px; gap: 8px 48px; align-items: center; padding-block: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--line); text-decoration: none; }
.toc strong { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; transition: color 180ms; }
.toc span { color: var(--muted); }
.toc svg { width: 24px; height: 24px; color: var(--muted); transition: transform 240ms var(--ease), color 180ms; }
.toc a:hover strong { color: var(--accent); }
.toc a:hover svg { transform: translateX(4px); color: var(--accent); }
@media (max-width: 700px) { .toc a { grid-template-columns: 1fr 24px; } .toc span { grid-column: 1; } .toc svg { grid-row: 1; grid-column: 2; } }

/* Ydelser-siden */
.services { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: 16px 48px; padding-block: 40px 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.service h3, .service .service__h { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; }
.service p { color: var(--muted); max-width: 32rem; }
.service ul { font-size: 0.95rem; color: var(--muted); }
.service li { padding-block: 6px; border-bottom: 1px solid var(--line); }
.service li:first-child { padding-top: 0; }
.service li:last-child { border-bottom: 0; }
.service__examples { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 8px; }
.thumb { display: grid; gap: 8px; text-decoration: none; font-size: 0.9rem; color: var(--muted); }
.thumb__img { display: block; aspect-ratio: 16 / 9; background: var(--photo); border-radius: var(--radius); overflow: hidden; }
.thumb:hover .thumb__name { color: var(--text); }
@media (max-width: 900px) { .service { grid-template-columns: 1fr 1fr; } .service .service__h { grid-column: 1 / -1; } }
@media (max-width: 560px) { .service { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; margin-bottom: 20px; color: var(--accent); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Udtalelser */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { display: flex; flex-direction: column; gap: 32px; padding: clamp(24px, 2.5vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.15; text-wrap: pretty; }
.quote blockquote::before { content: '“'; color: var(--accent); }
.quote blockquote::after { content: '”'; color: var(--accent); }
.quote figcaption { margin-top: auto; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.quote figcaption b { display: block; color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Kundelogoer: hvide, uden tekst, i et rullende bånd */
.band { --gap: clamp(56px, 6vw, 96px); display: flex; overflow: hidden; gap: var(--gap); padding-block: clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.band__track { display: flex; align-items: center; gap: var(--gap); flex: none; min-width: 100%; justify-content: space-around; animation: band 90s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__item { flex: none; height: 56px; display: grid; place-items: center; }
.band__item img { height: calc(var(--logo-h, 0.5) * 56px); width: auto; max-width: 170px; object-fit: contain; filter: brightness(0) invert(0.94); opacity: 0; transition: opacity 300ms var(--ease); }
.band__item img.is-sized { opacity: 0.72; }
.band__item:hover img { opacity: 1; }
@keyframes band { to { transform: translateX(calc(-100% - var(--gap))); } }
@media (prefers-reduced-motion: reduce) {
  .band { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; }
  .band__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 32px; }
  .band__track[aria-hidden] { display: none; }
}
.band-gap { padding-top: clamp(48px, 6vw, 80px); }
.band-gap + .section { border-top: 0; }

/* Om */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; }
.about__text { display: grid; gap: 20px; color: var(--muted); font-size: 1.125rem; max-width: 38rem; }
.about__text p:first-child { color: var(--text); font-size: 1.3rem; line-height: 1.5; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* Kontakt nederst: stort lime telefonnummer */
.contact { padding-block: var(--section) 0; border-top: 1px solid var(--line); }
.contact__center { text-align: center; display: grid; justify-items: center; gap: 12px; }
.contact__center h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
.contact__phone { font-family: var(--display); font-weight: 800; font-size: clamp(3.6rem, 14vw, 13rem); line-height: 0.9; letter-spacing: -0.045em; color: var(--accent); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact__phone { transition: letter-spacing 500ms var(--ease), color 200ms; }
.contact__phone:hover { color: #e2ff70; letter-spacing: -0.005em; }
.contact__lede { color: var(--muted); margin-top: 12px; }
.contact__lede a { color: var(--text); text-decoration-color: var(--accent); }
.foot { margin-top: clamp(72px, 9vw, 120px); padding-block: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.875rem; color: var(--muted); }
.foot--solo { margin-top: 0; }

/* Undersider */
.pagehead { padding-block: clamp(56px, 8vw, 112px) clamp(24px, 3vw, 40px); }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.pagehead p { color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 30rem; }
@media (max-width: 800px) { .pagehead__grid { grid-template-columns: 1fr; } }

/* Referencer */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case { position: relative; display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case--lead { grid-column: 1 / -1; }
.case figure { aspect-ratio: 16 / 9; background: var(--photo); overflow: hidden; }
.case__meta { padding: 20px 24px 24px; display: grid; gap: 4px; }
.case__meta h3 { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.1; }
.case:hover h3 { color: var(--accent); }
.case__tasks { font-size: 0.9rem; color: var(--muted); }
.case__text { color: var(--muted); margin-top: 6px; max-width: 40rem; }
@media (max-width: 700px) { .cases { grid-template-columns: 1fr; } }

.ref { padding-bottom: var(--section); }
.ref__head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); display: grid; gap: 16px; }
.ref__back a { color: var(--muted); font-weight: 500; }
.ref__meta { color: var(--muted); }
.ref__text { display: grid; gap: 16px; max-width: 40rem; font-size: 1.15rem; color: var(--muted); }
.ref__images { display: grid; gap: 16px; }
.ref__images figure { background: var(--photo); border-radius: var(--radius); overflow: hidden; }
.ref__images img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ref__next { margin-top: var(--section); padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ref__next span { color: var(--muted); }
.ref__next a { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; text-decoration: none; }
.ref__next a:hover { color: var(--accent); }
.lede { color: var(--muted); font-size: 1.15rem; }
.link-arrow { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Kontaktsiden */
.reach { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 64px; }
.reach__big { display: grid; gap: 4px; }
.reach__big a { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 5.4rem); letter-spacing: -0.04em; line-height: 1; text-decoration: none; width: fit-content; font-variant-numeric: tabular-nums; }
.reach__big a:first-child { color: var(--accent); }
.reach__big a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.reach dl { margin: 40px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; }
.reach dt { color: var(--muted); }
.reach dd { margin: 0; }
.reach__tips { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.reach__tips h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 16px; }
.reach__tips li { padding-block: 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.reach__tips li:last-child { border-bottom: 0; }
@media (max-width: 800px) { .reach { grid-template-columns: 1fr; } }

/* Billeder på kort: billede 2 ved hover, høje skærmbilleder ruller, andre formater vises helt */
.media { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--photo); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media__alt { opacity: 0; transition: opacity 500ms var(--ease); }
.media.is-fit img { object-fit: contain; }
.media.is-page img { object-position: 50% 0; transition: object-position var(--dur, 5s) cubic-bezier(0.45, 0, 0.4, 1); }
.media.is-page .media__alt { display: none; }
.media.is-on .media__alt { opacity: 1; }
.media.is-page.is-on img { object-position: 50% 100%; }
@media (hover: hover) {
  .case:hover .media__alt, .thumb:hover .media__alt, .strip__item:hover .media__alt, .work:hover .media__alt { opacity: 1; }
  .case:hover .media.is-page img, .thumb:hover .media.is-page img, .strip__item:hover .media.is-page img, .work:hover .media.is-page img { object-position: 50% 100%; }
}
/* Referencesiden: et skærmbillede kan rulles inde i rammen */
.ref__images figure.is-fit img { object-fit: contain; }
.ref__images figure.is-page { aspect-ratio: 16 / 9; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ref__images figure.is-page img { aspect-ratio: auto; height: auto; object-fit: initial; }
@media (prefers-reduced-motion: reduce) {
  .media__alt, .media.is-page img { transition: none; }
}
.ref__hint { margin: -8px 0 8px; font-size: 0.85rem; color: var(--muted); }

/* Udvalgte arbejder og logodesign: rækker man kan trække i */
.rail { overflow-x: auto; overscroll-behavior-x: contain; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-bottom: 16px; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.rail.is-dragging * { pointer-events: none; }
.rail img, .rail a { -webkit-user-drag: none; user-select: none; }
.rail:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rail__row { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0; list-style: none; }
.rail__row + .rail__row { margin-top: 16px; }
.work { position: relative; flex: none; display: block; width: clamp(260px, 34vw, 480px); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
.work--wide { width: clamp(330px, 47vw, 670px); }
.work__cap { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; gap: 10px; align-items: baseline; padding: 8px 15px; border-radius: 999px; background: var(--bg); color: var(--text); font-weight: 600; font-size: 0.94rem; }
.work__cap span { color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.rail-title { margin: clamp(48px, 6vw, 80px) 0 20px; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.025em; }
.tile { position: relative; flex: none; width: clamp(190px, 21vw, 290px); aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: background-color 350ms ease, border-color 350ms ease; }
.tile img { position: absolute; inset: 24% 18%; width: 64%; height: 52%; object-fit: contain; filter: grayscale(1) invert(1) brightness(1.35); opacity: 0.9; transition: filter 350ms ease, opacity 350ms ease; }
.tile:hover, .tile:has(:focus-visible) { background: var(--paper); border-color: var(--paper); }
.tile:hover img, .tile:has(:focus-visible) img { filter: none; opacity: 1; }
.tile button { position: absolute; inset: 0; width: 100%; background: none; border: 0; border-radius: inherit; cursor: zoom-in; }
.rail.is-dragging .tile button { cursor: grabbing; }
/* Logo i stor størrelse */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: hidden; }
.lb::backdrop { background: rgba(8, 9, 8, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb__in { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 20px; width: 100%; height: 100%; padding: clamp(72px, 8vw, 88px) clamp(16px, 7vw, 104px) clamp(20px, 3vw, 40px); }
.lb__panel { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; width: min(100%, 1040px); height: 100%; max-height: 640px; padding: clamp(32px, 8vw, 104px); background: var(--paper); border-radius: 22px; animation: lb-in 350ms var(--ease); }
.lb__panel img { width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
.lb__cap { display: flex; align-items: baseline; gap: 16px; font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; }
.lb__cap span { font-family: var(--body); font-weight: 400; font-size: 0.875rem; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--text); border: 1px solid var(--line); font-size: 1.25rem; line-height: 1; cursor: pointer; transition: background-color 200ms, color 200ms, border-color 200ms; }
.lb__btn:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.lb__close { top: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px); }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: clamp(8px, 1.5vw, 24px); }
.lb__next { right: clamp(8px, 1.5vw, 24px); }
@media (max-width: 640px) {
  .lb__prev, .lb__next { top: auto; bottom: 16px; transform: none; }
  .lb__in { padding-inline: 16px; padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb__panel { animation: none; }
}

/* Handelsbetingelser */
.legal { max-width: 46rem; }
.legal h2 { margin: 48px 0 12px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.foot a { color: inherit; }
.foot a:hover { color: var(--text); }

/* Skjult effekt: bogstaver i H1 og H2 kan trækkes (se nederst i site.js) */
.eg-w { display: inline-block; white-space: nowrap; }
.eg-l { display: inline-block; position: relative; touch-action: pan-y; }
.eg-l.is-moved { z-index: 5; }
.eg-frame { position: fixed; z-index: 50; pointer-events: none; border: 1px solid #f1f1ea; }
.eg-frame i { position: absolute; width: 7px; height: 7px; background: #f1f1ea; border: 1px solid #0c0d0c; }
.eg-frame i:nth-child(1) { left: -4px; top: -4px; } .eg-frame i:nth-child(2) { right: -4px; top: -4px; }
.eg-frame i:nth-child(3) { left: -4px; bottom: -4px; } .eg-frame i:nth-child(4) { right: -4px; bottom: -4px; }
.eg-frame span { position: absolute; left: -1px; top: 100%; margin-top: 8px; padding: 3px 7px; background: #d4ff3a; color: #0c0d0c; font: 600 11px/1.2 'Instrument Sans', system-ui, sans-serif; white-space: nowrap; letter-spacing: 0; }
