/* Solidrift – "Kursen 2.1".
   Kursen 2.0's struktur (bento, værktøjsmoduler, illustrationer) i Kursen 1.0's lyse, rolige farver:
   for virksomhedsejere, ikke et "gaming"-udtryk. Ingen glød, intet korn, intet glas; skriften i almindelig
   bredde; mono kun til tal. Den røde er stadig kun henvendelsen.
   Token-navnene er de samme som i Kursen 1.0, så alle komponenter og hero-animationen følger med.
   De rolige justeringer ligger samlet nederst under "Kursen 2.1". */

@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Variable.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
/* Small badges, numbers and status lines. */
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Kept as an alias, so nothing falls back to a serif: Kursen 2.0 is one sans family plus mono. */
  --serif: var(--sans);
  --dis: #E7EBED;
  --dis-dyb: #DCE2E5;
  --papir: #F6F8F8;
  --flade: #FFFFFF;
  --blaek: #121B26;
  --blaek-2: #263240;
  --skifer: #4E5B68;
  --taage: #98A4AE;
  /* Grey for small and secondary text: --taage is for graphics only (about 2.9:1); this one is about 5:1. */
  --taage-tekst: #5B6773;
  --regel: #C9D1D6;
  --signal: #C8372D;
  --signal-lys: rgba(200, 55, 45, .16);
  /* No glow in Kursen 2.1: the red point gets the same quiet ring as in Kursen 1.0. */
  --glod: 0 0 0 4px var(--signal-lys);

  --wrap: 1240px;
  --gutter: clamp(16px, 4.2vw, 48px);
  --section: clamp(88px, 11vw, 160px);
  --header: 68px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  /* A soft spring: overshoots a little, then settles. */
  --fjeder: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 19.4%, 1.067, 1.077 23.1%, 1.07 25.9%, 1.02 32.6%, .996 38.3%, .991 45.7%, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header) + 16px);
  interpolate-size: allow-keywords;
  background: var(--dis);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  position: relative;
  margin: 0;
  background: var(--dis);
  color: var(--blaek);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

img, svg, canvas { display: block; max-width: 100%; }
p, ul, ol, h1, h2, h3, h4, h5 { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden, .form-trap {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; background: var(--blaek); color: var(--papir);
  font-weight: 600; text-decoration: none; border-radius: 6px;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

main, .site-footer { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */

h1, h2, h3, h4 { font-weight: 600; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
/* Section headings: heavy, wide and tight – the strongest voice on the page after the hero. */
h2 {
  font-family: var(--sans); font-stretch: 122%;
  font-size: clamp(1.9rem, 7.4vw, 4.75rem); font-weight: 760; letter-spacing: -.045em; line-height: .96;
}
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 640; font-stretch: 110%; letter-spacing: -.025em; line-height: 1.15; }
h4 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 680; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.15; }
/* The stop before each section heading: short line + dot, read as a status line. */
.stop {
  display: flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font-family: var(--mono); font-stretch: normal;
  font-size: .6875rem; font-weight: 450; letter-spacing: .14em; text-transform: uppercase; line-height: 1; color: var(--skifer);
  font-variant-numeric: tabular-nums;
}
.stop i { position: relative; flex: none; width: 34px; height: 8px; }
.stop i::before { content: ""; position: absolute; left: 0; right: 7px; top: 3.5px; height: 1px; background: var(--taage); }
.stop i::after { content: ""; position: absolute; right: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--blaek); }
.stop-goal i::after { background: var(--signal); box-shadow: var(--glod); }
/* Kursen 2.0: the route passes the headings instead of stopping at them, so only the goal keeps its stop. */
.stop:not(.stop-goal) { display: none; }
/* Mono badges: numbers, statuses and measurements. */
.badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--regel); background: rgba(18, 27, 38, .02);
  font-family: var(--mono); font-size: .6875rem; font-weight: 450; letter-spacing: .1em; text-transform: uppercase;
  line-height: 1.2; color: var(--skifer);
}
.badge-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--signal-lys); }

.section-head { max-width: 40rem; }
.section-head > p { margin-top: 1.1em; color: var(--skifer); max-width: 34em; text-wrap: pretty; }
@media (min-width: 1000px) {
  .section-head.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; max-width: none; }
  .section-head.split > p { margin-top: 0; }
}

/* ---------- Buttons & links ---------- */

.btn {
  --line: 18px; --grow: 1.67; --shift: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 24px;
  border: 0; border-radius: 999px;
  font-size: 1rem; font-weight: 540; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.btn-primary { background: var(--blaek); color: var(--papir); }
.btn-primary:hover { background: var(--blaek-2); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .9375rem; gap: 10px; --line: 12px; --grow: 1.75; --shift: 9px; }

/* The brand course in miniature: a stroke that ends in the red point. On hover it reaches
   further into the button's own padding, so the button never changes size and the label stays put. */
.btn-line { position: relative; flex: none; width: calc(var(--line) + 8px); height: 8px; }
.btn-line::before {
  content: ""; position: absolute; left: 0; top: 3px; width: var(--line); height: 2px;
  background: currentColor; border-radius: 1px; opacity: .7;
  transform-origin: left; transition: transform .4s var(--ease);
}
.btn-line::after {
  content: ""; position: absolute; right: 0; top: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal); transition: transform .4s var(--ease);
}
.btn:hover .btn-line::before, .btn:focus-visible .btn-line::before { transform: scaleX(var(--grow)); }
.btn:hover .btn-line::after, .btn:focus-visible .btn-line::after { transform: translateX(var(--shift)); }

.btn-ghost { background: transparent; color: var(--blaek); box-shadow: inset 0 0 0 1.5px var(--blaek); }
.btn-ghost:hover { background: var(--blaek); color: var(--papir); }

.link-quiet {
  font-weight: 520; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: .32em;
  text-decoration-color: var(--taage);
  transition: text-decoration-color .2s;
}
.link-quiet:hover { text-decoration-color: currentColor; }

/* ---------- Logo ---------- */

/* The S is the route itself: it enters along the baseline, turns, and carries the name to the goal. */
.logo { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--blaek); }
.logo-lockup { width: 152px; height: auto; flex: none; overflow: visible; }
.logo-route { fill: none; stroke: currentColor; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.logo-name { font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-size: 37px; font-weight: 540; font-stretch: 115%; fill: currentColor; }
.logo-dot { fill: var(--signal); transform-box: fill-box; transform-origin: center; }
.logo-ring { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.logo-caption {
  display: none; padding-left: 16px; border-left: 1px solid var(--regel);
  font-size: .8125rem; font-weight: 450; line-height: 1.25; color: var(--skifer); max-width: 7.5em;
}
.site-footer .logo { flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer .logo-lockup { width: 184px; }
.site-footer .logo-caption { display: block; padding: 0; border: 0; max-width: none; font-size: .875rem; }

@media (prefers-reduced-motion: no-preference) {
  .site-header .logo-route { stroke-dasharray: 1; animation: logo-draw 1.2s var(--ease) .15s both; }
  .site-header .logo-dot { animation: logo-pop .55s var(--ease) 1.15s both; }
  .logo:hover .logo-route { stroke-dasharray: 1; animation: logo-redraw 1s var(--ease) both; }
  .logo:hover .logo-dot { animation: logo-repop .5s var(--ease) .85s both; }
  .logo:hover .logo-ring { animation: logo-ring 1s ease-out 1s both; }
}
@keyframes logo-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-pop { 0% { transform: scale(0); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes logo-repop { 0% { transform: scale(0); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes logo-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

/* ---------- Header (stable: never changes colour while scrolling) ---------- */

/* A floating glass bar: it keeps the same place and colour while scrolling; only the page moves behind it. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 12px max(12px, calc(var(--gutter) - 20px)) 0;
}
.bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: calc(var(--header) - 12px); max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-inline: 22px 8px;
  border-radius: 999px; border: 1px solid rgba(18, 27, 38, .08);
  background: var(--dis);
  box-shadow: 0 1px 0 rgba(18, 27, 38, .04) inset, 0 18px 40px -24px rgba(18, 27, 38, .22);
}
.nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 9px 14px; white-space: nowrap; border-radius: 999px;
  font-size: .9375rem; font-weight: 480; text-decoration: none; color: var(--skifer);
  transition: color .2s, background-color .3s;
}
/* The section in view gets a soft pill instead of an underline. */
.nav-links a::after { display: none; }
.nav-links a:hover, .nav-links a.is-current { color: var(--blaek); }
.nav-links a.is-current { background: rgba(18, 27, 38, .07); }
.nav-phone { margin-left: 6px; padding-left: 8px; border-left: 1px solid var(--regel); }
.nav-phone a { color: var(--blaek); font-family: var(--mono); font-size: .8125rem; font-weight: 450; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.nav-phone-label { font-family: var(--sans); font-size: .9375rem; font-weight: 450; letter-spacing: 0; color: var(--skifer); }
.nav-cta { white-space: nowrap; }
.menu-toggle { display: none; }
.nav-menu-cta { display: none; }

@media (max-width: 1099px) {
  .nav { gap: 8px; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px;
    background: transparent; border: 1px solid var(--regel); border-radius: 999px; cursor: pointer;
    font-size: .9375rem; font-weight: 500; color: var(--blaek);
  }
  .menu-icon { position: relative; width: 16px; height: 10px; }
  .menu-icon::before, .menu-icon::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
    transition: transform .3s var(--ease), top .3s var(--ease);
  }
  .menu-icon::before { top: 1px; }
  .menu-icon::after { top: 8px; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 4.5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 4.5px; transform: rotate(-45deg); }

  .js .nav-links {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    display: grid; gap: 0; padding: 8px 22px 22px;
    background: var(--papir); border: 1px solid rgba(18, 27, 38, .08); border-radius: 26px;
    box-shadow: 0 30px 60px -20px rgba(18, 27, 38, .22);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .js .nav.menu-open .nav-links { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .js .nav-links a { padding: 14px 0; border-radius: 0; background: none; font-size: 1.25rem; font-weight: 640; font-stretch: 112%; letter-spacing: -.02em; color: var(--blaek); border-bottom: 1px solid var(--regel); }
  .js .nav-links a::after { display: none; }
  /* In the menu box the last item is the same contact button as everywhere else. */
  .js .nav-phone { display: none; }
  .js .nav-menu-cta { display: block; padding-top: 18px; }
  .js .nav-links .nav-menu-cta a { display: inline-flex; padding: 0 24px; border-bottom: 0; color: var(--papir); font-size: 1rem; }
  html:not(.js) .bar { height: auto; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .bar { gap: 12px; }
  .nav { gap: 6px; }
  .nav-cta .btn-line { display: none; }
  .nav-cta.btn-small { padding: 0 16px; }
  .js .menu-toggle { padding: 0; width: 44px; justify-content: center; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 600px) { .site-header .logo-lockup { width: 136px; } }
@media (max-width: 380px) {
  .site-header .logo-lockup { width: 120px; }
  .nav-cta.btn-small { padding: 0 13px; font-size: .875rem; }
}

/* ---------- The route: one faint line that runs through the whole page (drawn by app.js) ---------- */

.route { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; overflow: visible; }
.route-track { display: none; }
.route-drawn { fill: none; stroke: var(--blaek); stroke-width: 1.25; opacity: .28; stroke-linecap: round; }
.route-runner { fill: var(--blaek); }
.route-runner-halo { fill: var(--blaek); opacity: .1; }
/* On arrival the runner hands over to the red stop beside the contact heading. */
.route.is-arrived .route-runner, .route.is-arrived .route-runner-halo { opacity: 0; }
@media (max-width: 759px) { .route { display: none; } }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; overflow-x: clip; padding-block: clamp(56px, 9vh, 120px) clamp(48px, 6vw, 80px); }
/* Architectural grid and a muted glow behind the goal; both fade out towards the edges. */
.hero::before {
  content: ""; position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(18, 27, 38, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 27, 38, .045) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%, 100% 96px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 55% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 55% 35%, #000 25%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -12vw; top: 18%; width: 52vw; height: 52vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 55, 45, .16), transparent 62%);
  filter: blur(30px);
}
/* The kicker is a status badge: what Solidrift does, for whom. */
.h1-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.6em; max-width: 100%;
  padding: 7px 14px 7px 12px; border: 1px solid var(--regel); border-radius: 999px; background: rgba(18, 27, 38, .025);
  font-family: var(--mono); font-size: clamp(.625rem, 1.6vw, .75rem); font-weight: 450; font-stretch: normal;
  line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; color: var(--skifer);
}
.h1-kicker::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--signal-lys); }
.h1-main {
  display: block; max-width: 13em;
  font-family: var(--sans); font-stretch: 125%;
  font-size: clamp(1.75rem, 8.8vw, 7.6rem); font-weight: 800;
  line-height: .9; letter-spacing: -.05em;
}
/* The second sentence answers the first, one step smaller and quieter. */
.h1-main .h1-line + .h1-line { margin-top: .3em; font-size: max(.5em, 1.15rem); font-weight: 700; letter-spacing: -.04em; color: var(--taage-tekst); }
/* The full stop after "henvendelser" is the enquiry: a red point. The character stays in the text. */
.h1-dot {
  display: inline-block; width: .17em; height: .17em; margin-left: .04em; border-radius: 50%;
  background: var(--signal); box-shadow: var(--glod); color: transparent; overflow: hidden; vertical-align: baseline;
}

/* Each sentence of the headline starts on its own line and balances its own wrap. */
.h1-line { display: block; text-wrap: balance; }

/* The course: many clicks drift in, most fall away, the relevant ones reach the goal. */
.course {
  --course-h: clamp(120px, 15vw, 210px);
  position: relative;
  height: var(--course-h);
  margin-block: clamp(28px, 4vw, 52px) calc(clamp(28px, 3.5vw, 44px) + 44px);
}
.course-lines { position: absolute; inset: 0; width: calc(100% - 18px); height: 100%; overflow: visible; }
.course-noise path {
  fill: none; stroke: var(--taage); stroke-width: 1.2; opacity: .55;
  vector-effect: non-scaling-stroke; stroke-linejoin: round;
}
.course-main {
  fill: none; stroke: var(--blaek); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.course-canvas { position: absolute; top: -24px; left: 0; width: calc(100% + 40px); height: calc(100% + 48px); }
.course.is-live .course-lines { visibility: hidden; }
.course-dot {
  position: absolute; right: 7px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--signal);
  box-shadow: var(--glod);
}
.course.is-live .course-dot { visibility: hidden; }
/* The legend tells the story along the line: grey clicks fall away, the relevant ones carry on,
   and they end as an enquiry. Dot colours match the particles; a dashed tick points to where it happens. */
.course-legend { list-style: none; position: absolute; left: 0; right: 0; top: calc(100% + 20px); height: 1.2em; }
.course-legend li {
  position: absolute; top: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--mono); font-size: .6875rem; font-weight: 450; letter-spacing: .1em; text-transform: uppercase;
  line-height: 1; color: var(--skifer);
}
.course-legend li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--taage); }
.course-legend li::after {
  content: ""; position: absolute; bottom: calc(100% + 6px); width: 0;
  height: calc(var(--course-h) / 2 + 20px - 14px); border-left: 1px dashed var(--taage);
}
.course-legend .legend-click { left: 0; }
.course-legend .legend-click::after { left: 3.5px; }
.course-legend .legend-relevant { left: calc(56% - 4px); color: var(--blaek); }
.course-legend .legend-relevant::before { background: var(--blaek); }
.course-legend .legend-relevant::after { left: 3.5px; }
.course-legend .legend-goal { right: 14px; flex-direction: row-reverse; color: var(--blaek); font-weight: 500; }
.course-legend .legend-goal::before { background: var(--signal); box-shadow: 0 0 0 3px var(--signal-lys); }
.course-legend .legend-goal::after { right: 3.5px; height: calc(var(--course-h) / 2 + 20px - 30px); }
.legend-short { display: none; }
@media (max-width: 599px) {
  .legend-long { display: none; }
  .legend-short { display: inline; }
  .course-legend li { font-size: .625rem; letter-spacing: .06em; gap: 6px; }
  /* No room for three labels in a row: the goal's label sits just above the red point instead. */
  .course-legend .legend-goal { top: calc(-1 * (var(--course-h) / 2 + 20px) - 34px); right: 4px; }
  .course-legend .legend-goal::before, .course-legend .legend-goal::after { display: none; }
}

.hero-lower { display: flex; justify-content: flex-end; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (min-width: 900px) {
  .hero-actions { justify-content: flex-end; }
}
/* The four facts as one strip of cells with hairline seams, each numbered like a measurement. */
.hero-facts {
  counter-reset: fakta;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  margin-top: clamp(40px, 5vw, 64px); list-style: none;
  border: 1px solid var(--regel); border-radius: 20px; overflow: hidden; background: var(--regel);
}
.hero-facts li {
  counter-increment: fakta; display: grid; gap: 10px; align-content: start;
  padding: 18px 20px 20px; background: var(--dis);
  font-size: .9375rem; line-height: 1.4; color: var(--blaek);
}
.hero-facts li::before {
  content: counter(fakta, decimal-leading-zero);
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; color: var(--taage-tekst);
}
@media (min-width: 900px) { .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .hero-facts { grid-template-columns: 1fr; } .hero-facts li { grid-template-columns: 2.4em 1fr; padding-block: 14px; } }
@media (max-width: 599px) {
  .hero-actions .btn { width: 100%; }
  .course-dot { width: 18px; height: 18px; margin-top: -9px; }
}
@media (prefers-reduced-motion: no-preference) {
  .course:not(.is-live) .course-lines { animation: draw 1.6s var(--ease) .1s both; }
  .course:not(.is-live) .course-dot { animation: arrive .7s var(--ease) 1.3s both; }
  /* Each step of the legend appears as the line reaches it. */
  .course-legend li { animation: legend-in .6s var(--ease) both; }
  .course-legend li::after { transform-origin: bottom; animation: tick-in .5s var(--ease) both; animation-delay: inherit; }
  .course-legend .legend-click { animation-delay: .35s; }
  .course-legend .legend-relevant { animation-delay: 1s; }
  .course-legend .legend-goal { animation-delay: 1.55s; }
}
@keyframes legend-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes tick-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
@keyframes arrive { 0% { transform: scale(0); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ---------- Journey: the chain of four steps ---------- */

/* Each step is a dot and the line on to the next step; the last dot is the enquiry.
   Pick a step (app.js) and its line snaps: the customer gets that far, everything after goes grey. */
.journey { padding-top: var(--section); }
/* The chain and its answer are two cells of one bento: the chain on top, the answer below. */
.chain-box {
  position: relative; margin-top: clamp(44px, 5.5vw, 72px);
  padding: clamp(26px, 3.4vw, 44px); border: 1px solid var(--regel); border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(18, 27, 38, .025), transparent 70%), var(--papir);
}
.chain { list-style: none; display: grid; counter-reset: led; }
.led { position: relative; min-width: 0; counter-increment: led; }
.led h3 { position: relative; margin-top: 22px; font-size: clamp(1.2rem, 1.5vw, 1.4rem); }
/* Positioned, so the heading's hover underline does not run under the number. */
.led h3::before {
  content: counter(led, decimal-leading-zero); position: absolute; left: 0; bottom: calc(100% + 8px); line-height: 1;
  font-family: var(--mono); font-size: .6875rem; font-weight: 450; font-stretch: normal; letter-spacing: .12em; color: var(--taage-tekst);
}
.led-goal h3::before { color: var(--signal); }
.led-q { margin-top: 6px; max-width: 17em; color: var(--skifer); text-wrap: pretty; transition: color .3s; }
.led-more { margin-top: 14px; max-width: 22em; color: var(--skifer); font-size: .9688rem; }
.led-help { margin-top: 8px; }
.led-help a { color: var(--blaek); }
.chain.is-live .led-more { display: none; }

.led-line { position: relative; display: block; color: var(--blaek); transition: color .4s; }
.led-line i {
  position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%;
  background: currentColor; transition: background-color .4s, box-shadow .4s;
}
.led-line::before, .led-line::after {
  content: ""; position: absolute; background: currentColor; border-radius: 1px;
  transition: transform .6s var(--ease);
}
.led-goal .led-line::before, .led-goal .led-line::after { display: none; }
.led-goal .led-line i { width: 14px; height: 14px; background: var(--signal); box-shadow: var(--glod); }

/* Across: four columns, the line runs from each dot to the next. */
@media (min-width: 700px) {
  .chain { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .led-line { height: 14px; margin-bottom: 24px; }
  .led-line i { top: 1px; }
  .led-goal .led-line i { top: 0; }
  .led-line::before, .led-line::after { top: 6px; height: 2px; }
  .led-line::before { left: 12px; width: calc(50% - 12px); transform-origin: left center; }
  .led-line::after { left: calc(50% - 1px); right: 0; transform-origin: right center; }
  .led h3, .led-q, .led-more { padding-right: 24px; }
  .led.is-broken .led-line::before { transform: rotate(13deg) scaleX(.82); }
  .led.is-broken .led-line::after { transform: rotate(-13deg) scaleX(.82); }
}
/* Down: on narrow screens the chain runs down the left edge, beside each step's text. */
@media (max-width: 699px) {
  .led { display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 18px; padding-bottom: 30px; }
  .led-goal { padding-bottom: 0; }
  .led-line { grid-column: 1; grid-row: 1 / span 3; }
  .led > :not(.led-line, .led-hit) { grid-column: 2; }
  .led-line i { top: 5px; }
  .led-goal .led-line i { top: 4px; left: -1px; }
  .led-line::before, .led-line::after { left: 5px; width: 2px; }
  .led-line::before { top: 17px; height: calc(50% - 17px); transform-origin: center top; }
  /* Reaches through the step's bottom padding to the next dot. */
  .led-line::after { top: 50%; bottom: -35px; transform-origin: center bottom; }
  .led.is-broken .led-line::before { transform: rotate(-11deg) scaleY(.78); }
  .led.is-broken .led-line::after { transform: rotate(11deg) scaleY(.78); }
}

/* The customer drops out after the broken step: everything further on goes grey, the enquiry stays empty. */
.led.is-lost .led-line { color: var(--taage); }
.led-goal.is-lost .led-line i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--taage); }
/* Enquiries without measuring: they arrive, but nobody can see where from. */
.led-goal.is-broken .led-line i { background: transparent; box-shadow: inset 0 0 0 2px var(--signal), 0 0 0 5px var(--signal-lys); }
.led.is-broken .led-q { color: var(--blaek); }

.led-hit {
  position: absolute; inset: -14px 8px -14px -12px; z-index: 1;
  padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
}
@media (max-width: 699px) { .led-hit { inset: -8px -10px 14px -12px; } }
.led-goal .led-hit { bottom: -14px; }
.led h3 { text-decoration: underline transparent; text-decoration-thickness: 1.5px; text-underline-offset: .22em; transition: text-decoration-color .2s; }
.led:hover h3, .led.is-broken h3 { text-decoration-color: currentColor; }
.led:has(.led-hit:focus-visible) h3 { text-decoration-color: currentColor; }

.chain-runner {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--blaek); box-shadow: 0 0 0 5px rgba(18, 27, 38, .14);
  opacity: 0; pointer-events: none; will-change: transform;
}
.led-goal.is-hit .led-line i { animation: chain-arrive .7s var(--ease); }
@keyframes chain-arrive {
  0% { box-shadow: 0 0 0 5px var(--signal-lys); }
  40% { box-shadow: 0 0 0 11px var(--signal-lys); }
  100% { box-shadow: 0 0 0 5px var(--signal-lys); }
}

.chain-result {
  padding: clamp(22px, 3vw, 36px) clamp(26px, 3.4vw, 44px);
  border: 1px solid var(--regel); border-top: 0; border-radius: 0 0 28px 28px; background: var(--dis-dyb);
}
html:not(.js) .chain-box { border-radius: 28px; }
.chain-hint { display: flex; align-items: center; gap: 10px; color: var(--skifer); font-size: .9688rem; }
.chain-hint::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--taage); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.chain-answer { display: grid; gap: 22px 64px; }
@media (min-width: 900px) { .chain-answer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.chain-label { font-family: var(--mono); font-size: .6875rem; font-weight: 450; letter-spacing: .12em; text-transform: uppercase; color: var(--skifer); }
.chain-help li { padding: 12px 14px; border: 1px solid var(--regel); border-radius: 14px; background: var(--papir); }
.chain-goal { margin-top: 6px; max-width: 26em; text-wrap: pretty; }
.chain-help { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.chain-help b { font-weight: 600; }
.chain-help span { display: block; color: var(--skifer); font-size: .9688rem; }
.chain-ask { display: inline-block; margin-top: 16px; }

/* In Ydelser the matching services carry a small route marker. It sits in the item's top
   padding, so headings across a row stay level. */
.service { position: relative; }
/* In the bento cell the marker sits on the cell's top line, beside the (now red) dot. */
.service-tag {
  position: absolute; left: calc(clamp(20px, 2.4vw, 30px) + 18px); top: 20px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .6875rem; font-weight: 450; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1.2; color: var(--blaek);
}

@media (prefers-reduced-motion: no-preference) {
  .chain-answer, .chain-hint, .service-tag { animation: legend-in .45s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  .led-line, .led-line i, .led-line::before, .led-line::after { transition: none; }
}

/* ---------- Services ---------- */

.services { padding-block: calc(var(--section) * .75); }
.faq-grid { display: grid; gap: 48px; }
.sticky-head .btn { margin-top: 28px; }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .sticky-head { position: sticky; top: calc(var(--header) + 40px); }
}
/* Bento: asymmetric cells, each with a small live picture of the service. */
.service-grid {
  list-style: none; display: grid; gap: 14px; counter-reset: ydelse;
  margin-top: clamp(36px, 4.5vw, 56px);
}
@media (min-width: 700px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ydelse-sider, .service-next { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .service-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  #ydelse-sider { grid-column: 1 / span 7; grid-row: span 2; }
  #ydelse-ads, #ydelse-seo { grid-column: 8 / span 5; }
  #ydelse-tracking { grid-column: 1 / span 5; }
  #ydelse-optimering { grid-column: 6 / span 7; }
  .service-next { grid-column: 1 / -1; }
}
.service {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 52px clamp(20px, 2.4vw, 30px) clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--regel); border-radius: 24px;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, var(--spot, 0)), transparent 60%), var(--dis);
  transition: border-color .4s, transform .6s var(--fjeder);
  counter-increment: ydelse;
}
.service:not(.service-next)::before {
  content: counter(ydelse, decimal-leading-zero); position: absolute; right: clamp(20px, 2.4vw, 30px); top: 22px;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; color: var(--taage-tekst);
}
.service:not(.service-next)::after {
  content: ""; position: absolute; left: clamp(20px, 2.4vw, 30px); top: 24px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--taage); transition: background-color .3s, box-shadow .3s;
}
.service:hover { border-color: var(--taage); }
.service:hover::after { background: var(--blaek); }
.service p { margin-top: 8px; color: var(--skifer); max-width: 30em; text-wrap: pretty; }
.service-next {
  flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 22px clamp(20px, 2.4vw, 30px); border-style: dashed; border-color: var(--regel); background: transparent;
}
.service-next .link-quiet { display: inline-block; }
/* When the chain marks a service, the marker replaces the dot in the cell's top line. */
.service:has(.service-tag)::after { background: var(--signal); box-shadow: 0 0 0 3px var(--signal-lys); }
.service:has(.service-tag) { border-color: rgba(200, 55, 45, .35); }

/* ---------- Service pictures (decorative; animated only while in view, see kursen2.js) ---------- */

.svc-vis {
  position: relative; display: block; margin-top: 22px; flex: 1 0 auto; min-height: 150px;
  border: 1px solid var(--regel); border-radius: 16px; background: var(--dis-dyb); overflow: hidden;
  font-family: var(--mono); font-size: .75rem; color: var(--skifer);
}
.svc-vis svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-vis .sk { display: block; height: 8px; border-radius: 99px; background: rgba(18, 27, 38, .08); }
.sk-s { width: 30%; } .sk-l { width: 86%; } .sk-m { width: 62%; } .sk-t { width: 48%; height: 6px !important; background: rgba(18, 27, 38, .05) !important; } .sk-t2 { width: 36%; height: 6px !important; background: rgba(18, 27, 38, .05) !important; }
.vis-tag {
  display: inline-flex; width: fit-content; padding: 4px 9px; border: 1px solid var(--regel); border-radius: 99px;
  font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--skifer); background: rgba(246, 248, 248, .9);
}

/* A page that makes it easy to call: the pointer finds the button. */
.vis-side { display: flex; flex-direction: column; min-height: 230px; }
.vis-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--regel); }
.vis-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(18, 27, 38, .14); }
.vis-bar b { flex: 1; height: 14px; margin-left: 10px; border-radius: 99px; background: rgba(18, 27, 38, .05); }
.vis-page { position: relative; flex: 1; display: grid; align-content: center; gap: 10px; padding: 22px 46% 22px 22px; }
.vis-page .sk-l, .vis-page .sk-m { height: 18px; border-radius: 6px; background: rgba(18, 27, 38, .13); }
.vis-aside { position: absolute; right: 22px; top: 22px; bottom: 22px; width: 34%; border-radius: 10px; background: rgba(18, 27, 38, .04); }
.vis-cta {
  position: relative; display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 8px; padding: 8px 14px; border-radius: 99px;
  background: var(--blaek); color: var(--dis); font-family: var(--sans); font-size: .75rem; font-weight: 600;
}
.vis-cta i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.vis-cursor { position: absolute; left: 0; top: 0; width: 20px; height: 20px; fill: var(--blaek) !important; stroke: var(--dis) !important; stroke-width: 1.4 !important; opacity: 0; }

/* A search for what the customer offers, answered by the ad. */
.vis-ads { display: grid; align-content: start; gap: 10px; padding: 16px; }
.vis-search { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--regel); border-radius: 99px; background: var(--dis); color: var(--blaek); font-family: var(--sans); font-size: .8125rem; white-space: nowrap; overflow: hidden; }
.vis-search svg { flex: none; width: 15px; height: 15px; color: var(--skifer); }
.vis-typed { position: relative; overflow: hidden; }
.vis-ad, .vis-organic { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--regel); border-radius: 12px; }
.vis-ad { border-color: var(--taage); background: rgba(18, 27, 38, .03); }
.vis-ad .sk-l { background: rgba(18, 27, 38, .55); }
.vis-organic { opacity: .45; }

/* Local visibility: a pin with rings, and the profile it lives in. */
.vis-seo { display: grid; place-items: center; min-height: 160px; background-image: radial-gradient(rgba(18, 27, 38, .1) 1px, transparent 1px); background-size: 16px 16px; background-color: var(--dis-dyb); }
.vis-ring { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 1px solid rgba(18, 27, 38, .3); opacity: 0; }
.vis-pin { position: relative; width: 34px; height: 34px; color: var(--blaek); }
.vis-pin path { fill: rgba(18, 27, 38, .08); }
.vis-seo .vis-tag { position: absolute; left: 12px; bottom: 12px; text-transform: none; letter-spacing: .02em; font-size: .6875rem; }

/* Solidrift's own measured events scroll by; the enquiry is the red one. */
.vis-log { height: 150px; padding: 0 8px; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.vis-log-list { display: grid; gap: 6px; padding-block: 8px; }
.vis-log-list span { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px; color: var(--blaek); }
.vis-log-list span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(18, 27, 38, .25); }
.vis-log-list .is-lead { color: var(--signal); background: rgba(200, 55, 45, .08); }
.vis-log-list .is-lead::after { background: var(--signal); box-shadow: 0 0 0 3px var(--signal-lys); }

/* Following the numbers and adjusting: three sliders settle into new positions. */
.vis-tune { display: grid; align-content: center; gap: 22px; padding: 22px; min-height: 150px; }
.vis-row { display: grid; grid-template-columns: 5.5rem 1fr; align-items: center; gap: 14px; }
.vis-row b { font-weight: 450; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--skifer); }
.vis-track { position: relative; height: 1px; background: rgba(18, 27, 38, .14); }
.vis-track i { position: absolute; left: 0; top: 0; height: 1px; width: var(--v, 50%); background: var(--blaek); }
.vis-track i::after { content: ""; position: absolute; right: -7px; top: -6px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--blaek); background: var(--dis-dyb); }
.vis-row:nth-child(1) i { --v: 58%; } .vis-row:nth-child(2) i { --v: 42%; } .vis-row:nth-child(3) i { --v: 66%; }

@media (prefers-reduced-motion: no-preference) {
  .svc-vis.is-live .vis-cursor { animation: vis-cursor 3.6s var(--ease) infinite; }
  .svc-vis.is-live .vis-cta { animation: vis-press 3.6s var(--ease) infinite; }
  .svc-vis.is-live .vis-typed { animation: vis-type 4.2s steps(31, end) infinite; }
  .svc-vis.is-live .vis-ad { animation: vis-answer 4.2s var(--ease) infinite; }
  .svc-vis.is-live .vis-ring { animation: vis-ring 3s ease-out infinite; }
  .svc-vis.is-live .vis-ring:nth-child(2) { animation-delay: 1s; }
  .svc-vis.is-live .vis-ring:nth-child(3) { animation-delay: 2s; }
  .svc-vis.is-live .vis-log-list { animation: vis-log 8s linear infinite; }
  .svc-vis.is-live .vis-track i { animation: vis-tune 7.2s var(--fjeder) infinite; }
  .svc-vis.is-live .vis-row:nth-child(2) i { animation-delay: -2.4s; }
  .svc-vis.is-live .vis-row:nth-child(3) i { animation-delay: -4.8s; }
}
@keyframes vis-cursor {
  0%, 8% { opacity: 0; transform: translate(170px, -96px); }
  14% { opacity: 1; transform: translate(170px, -96px); }
  48%, 74% { opacity: 1; transform: translate(38px, 16px); }
  86%, 100% { opacity: 0; transform: translate(38px, 16px); }
}
@keyframes vis-press { 0%, 52% { transform: none; } 56% { transform: scale(.94); } 62% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(200, 55, 45, .15); } 70%, 100% { transform: none; box-shadow: none; } }
@keyframes vis-type { 0% { clip-path: inset(0 100% 0 0); } 60%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes vis-answer { 0%, 58% { opacity: .35; transform: translateY(6px); } 66%, 100% { opacity: 1; transform: none; } }
@keyframes vis-ring { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(2.8); } }
@keyframes vis-log { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 3px)); } }
@keyframes vis-tune { 0%, 100% { width: var(--v); } 33% { width: calc(var(--v) + 16%); } 66% { width: calc(var(--v) - 12%); } }

/* ---------- Cooperation & person ---------- */

.cooperation { padding-block: 0 var(--section); }
/* Three steps as three cells on one hairline grid; the step number is a large outline figure. */
.steps {
  list-style: none; display: grid; gap: 1px; margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--regel); border-radius: 24px; overflow: hidden; background: var(--regel);
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { position: relative; padding: clamp(22px, 2.6vw, 32px); background: var(--dis); transition: background-color .4s; }
.steps li:hover { background: var(--papir); }
.step-n {
  display: block; margin-bottom: 28px;
  font-family: var(--sans); font-stretch: 125%;
  font-size: clamp(3.6rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -.05em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px var(--taage); font-variant-numeric: tabular-nums;
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.steps li:hover .step-n { color: var(--blaek); -webkit-text-stroke-color: var(--blaek); }
.steps p { margin-top: 10px; color: var(--skifer); max-width: 28em; text-wrap: pretty; }

/* The person: a tall portrait card, with the words in a glass panel overlapping its lower edge. */
.person {
  display: grid; gap: 0; align-items: end;
  margin-top: clamp(64px, 8vw, 120px);
}
@media (min-width: 900px) { .person { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.person-media {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 820 / 1024; overflow: hidden;
  border: 1px solid var(--regel); border-radius: 28px; background: var(--papir);
}
/* The white studio backdrop is toned down to a dark studio grey with a vignette, so the card sits in the page. */
.person-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 85% 70% at 50% 34%, transparent 35%, rgba(10, 10, 10, .72) 100%),
    linear-gradient(to top, rgba(10, 10, 10, .9), rgba(10, 10, 10, .15) 42%, transparent 65%);
}
.person-photo { display: block; height: 100%; }
.person-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.14) brightness(.66);
  transform-origin: 50% 35%;
}
.person-copy {
  position: relative; z-index: 1; margin: -96px 16px 0; padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(18, 27, 38, .08); border-radius: 24px;
  background: var(--papir);
}
.person-copy::before {
  content: "Direkte kontakt"; display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--skifer);
}
@media (min-width: 900px) { .person-copy { margin: 0 0 56px -72px; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .person-photo img { animation: portrait-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  }
}
@keyframes portrait-settle { from { transform: scale(1.12) translateY(3%); } to { transform: scale(1) translateY(0); } }
@media (max-width: 899px) { .person-media { max-width: min(420px, 100%); margin-inline: auto; } .person-copy { max-width: 420px; margin-inline: auto; width: calc(100% - 32px); } }

.person-title { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.person-copy > p { margin-top: 20px; max-width: 34em; text-wrap: pretty; }

/* ---------- Pricing ---------- */

.pricing { padding-block: calc(var(--section) * .75); }
.price-groups { display: grid; gap: clamp(48px, 6vw, 72px); margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 1100px) { .price-groups { grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } }
.price-groups { gap: 16px; margin-top: 16px; }
/* Each price group is a bento cell; each package a row with a hairline. */
.price-group { min-width: 0; padding: clamp(18px, 2.8vw, 34px); border: 1px solid var(--regel); border-radius: 26px; background: var(--dis); }
@media (max-width: 479px) { .price-group { padding-inline: 16px; border-radius: 22px; } }
.price-group-title {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px;
  padding-bottom: 18px; border-bottom: 1px solid var(--regel);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 720; font-stretch: 118%; letter-spacing: -.04em;
}
.price-group-title span {
  padding: 5px 10px; border: 1px solid var(--regel); border-radius: 99px;
  font-family: var(--mono); font-size: .6875rem; font-weight: 450; font-stretch: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--skifer);
}
.package {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: start;
  padding-block: 24px; border-bottom: 1px solid var(--regel);
}
.package:last-child { border-bottom: 0; padding-bottom: 0; }
.package-main p { margin-top: 8px; max-width: 36em; color: var(--skifer); text-wrap: pretty; }
/* Delivery time as a small measurement badge. */
.package-main .package-meta {
  display: inline-flex; width: fit-content; margin-top: 12px; padding: 4px 10px; border: 1px solid var(--regel); border-radius: 99px;
  font-family: var(--mono); font-size: .6875rem; font-weight: 450; letter-spacing: .04em; color: var(--skifer);
}
.package-price {
  display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.price { font-family: var(--sans); font-stretch: 112%; font-size: clamp(1.9rem, 2.9vw, 2.6rem); font-weight: 720; letter-spacing: -.045em; line-height: .95; }
.price-from, .price-unit { font-family: var(--mono); font-size: .75rem; font-weight: 450; letter-spacing: .04em; color: var(--skifer); }
.package-details { grid-column: 1 / -1; }
@media (max-width: 599px) {
  .package { grid-template-columns: 1fr; }
  .package-price { justify-content: flex-start; order: -1; margin-bottom: 4px; }
  .package-main { order: -2; }
}

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.package-details summary {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 4px;
  font-size: .9375rem; font-weight: 540;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: var(--taage);
}
.package-details summary:hover { text-decoration-color: currentColor; }
.plus { position: relative; flex: none; width: 14px; height: 14px; }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 6.25px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease);
}
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0deg); }
.package-content {
  margin-top: 14px; padding: 20px 22px; border: 1px solid var(--regel); border-radius: 16px; background: var(--papir);
  font-size: .9688rem; line-height: 1.6;
}
.package-content h5 { font-family: var(--mono); font-size: .6875rem; font-weight: 450; letter-spacing: .12em; text-transform: uppercase; color: var(--blaek); margin-top: 18px; }
.package-content h5:first-child { margin-top: 0; }
.package-content ul { margin-top: 6px; padding-left: 1.1em; color: var(--skifer); }
.package-content li + li { margin-top: 4px; }

.pricing-foot { display: grid; gap: 40px; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 900px) { .pricing-foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; } }
.package-customization {
  position: relative; overflow: hidden; padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--regel); border-radius: 26px; background: var(--dis);
}
.package-customization::before {
  content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 55, 45, .14), transparent 65%); pointer-events: none;
}
.package-customization h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 740; font-stretch: 118%; letter-spacing: -.04em; }
.package-customization p { margin-top: 14px; color: var(--skifer); max-width: 36em; }
.package-customization .package-assurance { color: var(--blaek); font-weight: 540; }
.package-customization .btn { margin-top: 24px; }
.fineprint { align-self: start; padding-inline: clamp(20px, 2.4vw, 28px); border: 1px solid var(--regel); border-radius: 22px; }
.fineprint summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px;
  font-weight: 600;
}
.fineprint-body { padding-bottom: 18px; }
.fineprint p { font-size: .9375rem; line-height: 1.6; color: var(--skifer); }
.fineprint p + p { margin-top: 12px; }

/* Chapters: soft panels on the same background, so sections read as chapters without hard contrast.
   Surfaces inside a chapter swap to the page tone to stay visible. */
.chapter {
  padding: clamp(32px, 5.5vw, 80px); border-radius: 32px; border: 1px solid var(--regel);
  background: linear-gradient(180deg, rgba(18, 27, 38, .02), transparent 30%), var(--papir);
}
@media (max-width: 639px) { .chapter { margin-inline: calc(-1 * var(--gutter)); padding: 56px var(--gutter); border-radius: 0; } }
.chapter .chooser, .chapter .package-content { background: var(--dis); }
.chapter .chooser-result, .chapter .choice span { background: var(--papir); }
.chapter .choice input:checked + span { background: var(--flade); }

/* ---------- FAQ ---------- */

.faq { padding-block: var(--section); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h3 {
  padding-bottom: 14px; border-bottom: 1px solid var(--regel);
  font-family: var(--mono); font-size: .6875rem; font-weight: 450; font-stretch: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--skifer);
}
.faq-item { border-bottom: 1px solid var(--regel); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0; font-weight: 520; line-height: 1.4; transition: color .2s;
}
/* The plus sits in a small round button that fills when the answer is open. */
.faq-item summary .plus {
  flex: none; width: 34px; height: 34px; border: 1px solid var(--regel); border-radius: 50%;
  transition: background-color .3s, border-color .3s, color .3s;
}
.faq-item summary .plus::before, .faq-item summary .plus::after { left: 10.5px; right: 10.5px; top: 15.75px; }
.faq-item summary:hover .plus { border-color: var(--taage); }
.faq-item[open] summary .plus { background: var(--blaek); border-color: var(--blaek); color: var(--dis); }
.faq-item summary:hover { color: var(--blaek); }
.faq-answer { padding: 0 44px 22px 0; max-width: 40em; color: var(--skifer); }
.faq-answer strong { color: var(--blaek); }
.faq-answer p + p, .faq-answer ul + p, .faq-answer p + ul { margin-top: 12px; }
.faq-answer ul { padding-left: 1.1em; }
.faq-answer li + li { margin-top: 4px; }
.faq-answer a, .fineprint a { text-underline-offset: .2em; color: var(--blaek); }
.faq-top { border-top: 1px solid var(--regel); }
.faq-more { margin-top: 28px; }
.faq-more > summary {
  display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 50px; padding: 0 22px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--taage);
  font-weight: 560; transition: background-color .25s, color .25s, box-shadow .25s;
}
.faq-more > summary:hover { background: var(--blaek); color: var(--dis); box-shadow: none; }
.faq-more-count { font-family: var(--mono); font-size: .75rem; font-weight: 450; opacity: .7; }
.faq-more[open] > summary { margin-bottom: 40px; }
.faq-more[open] .faq-more-count { display: none; }
.faq-more-body .faq-group + .faq-group { margin-top: 48px; }

/* ---------- Package chooser ---------- */

/* Folded by default: one slim line that opens into the two questions. */
/* The two tools are interactive modules: cells with a live-status dot, opening in place. */
.chooser { margin-top: clamp(32px, 4vw, 48px); border: 1px solid var(--regel); border-radius: 22px; background: var(--papir); transition: border-color .3s; }
.chooser[hidden] { display: none; }
.chooser:hover, .timing:hover, .chooser[open], .timing[open] { border-color: var(--taage); }
.chooser-toggle {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 72px; padding: 16px clamp(18px, 2.5vw, 28px); color: var(--skifer);
}
.chooser-toggle > span:first-child { position: relative; padding-left: 22px; }
.chooser-toggle > span:first-child::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 3px var(--signal-lys);
}
.chooser-toggle b { font-weight: 640; font-stretch: 108%; color: var(--blaek); margin-right: 6px; }
.chooser-toggle:hover b { text-decoration: underline; text-underline-offset: .25em; }
.chooser-toggle .plus { width: 36px; height: 36px; border: 1px solid var(--regel); border-radius: 50%; }
.chooser-toggle .plus::before, .chooser-toggle .plus::after { left: 11px; right: 11px; top: 16.75px; }
.chooser-body { display: grid; gap: 24px 48px; padding: 4px clamp(18px, 2.5vw, 28px) clamp(22px, 3vw, 32px); }
@media (min-width: 1000px) { .chooser-body { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.chooser-form { display: grid; gap: 24px; }
@media (min-width: 700px) { .chooser-form { grid-template-columns: 1fr 1fr; gap: 28px; } }
.chooser fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; align-content: start; }
.chooser legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: block; padding: 11px 14px 11px 40px; border-radius: 10px;
  background: var(--dis); box-shadow: inset 0 0 0 1px var(--regel);
  font-size: .9688rem; line-height: 1.4; color: var(--skifer);
  transition: box-shadow .2s, background-color .2s, color .2s;
}
.choice span b { font-weight: 560; color: var(--blaek); }
.choice span::before {
  content: ""; position: absolute; left: 14px; top: 14px; width: 14px; height: 14px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--taage); background: var(--flade); transition: box-shadow .2s, background-color .2s;
}
.choice:hover span { box-shadow: inset 0 0 0 1px var(--taage); }
.choice input:checked + span { background: var(--flade); box-shadow: inset 0 0 0 1.5px var(--blaek); color: var(--blaek); }
.choice input:checked + span::before { background: var(--signal); box-shadow: inset 0 0 0 3px var(--flade), 0 0 0 1.5px var(--signal); }
.choice input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

.chooser-result { align-self: start; padding: 22px; border-radius: 14px; background: var(--dis); }
@media (min-width: 1000px) { .chooser-result { position: sticky; top: calc(var(--header) + 24px); } }
.chooser-hint { color: var(--skifer); }
.chooser-result h4 { font-size: 1.25rem; }
.chooser-picks { list-style: none; margin-top: 14px; border-top: 1px solid var(--regel); }
.chooser-picks li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--regel); }
.chooser-picks a { font-weight: 540; text-underline-offset: .25em; text-decoration-color: var(--taage); }
.chooser-picks a:hover { text-decoration-color: currentColor; }
.chooser-picks span { white-space: nowrap; font-variant-numeric: tabular-nums; }
.chooser-picks small { display: block; font-size: .8125rem; color: var(--skifer); }
/* Delivery-time tool: same folded pattern as the package chooser. */
.timing { margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--regel); border-radius: 22px; background: var(--papir); transition: border-color .3s; }
.timing[hidden] { display: none; }
.timing-body { display: grid; gap: 24px 48px; padding: 4px clamp(18px, 2.5vw, 28px) clamp(22px, 3vw, 32px); }
@media (min-width: 1000px) { .timing-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.timing-form { display: grid; gap: 24px; align-content: start; }
@media (min-width: 640px) and (max-width: 999px) { .timing-form { grid-template-columns: 1fr 1fr; } }
.timing fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; align-content: start; }
.timing legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.choice-check span::before { border-radius: 4px; }
.choice-check input:checked + span::before { border-radius: 4px; background: var(--blaek); box-shadow: inset 0 0 0 3px var(--flade), 0 0 0 1.5px var(--blaek); }
.timing-result { align-self: start; padding: 22px; border-radius: 14px; background: var(--dis); }
.timing-total { margin-top: 0; }
/* In the pricing chapter the two folded tools sit together as a pair. */
.chooser + .timing { margin-top: 12px; }
.chapter .timing { background: var(--dis); }
.chapter .timing-result { background: var(--papir); }
.timing-notes { list-style: none; display: grid; gap: 4px; margin-top: 16px; }
.timing-notes li { position: relative; padding-left: 14px; }
.timing-notes li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--taage); }
.timing-chart { display: grid; gap: 10px; margin-top: 20px; }
.timing-row { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.timing-label { font-size: .875rem; font-weight: 520; line-height: 1.3; }
.timing-days { font-size: .8125rem; color: var(--skifer); white-space: nowrap; font-variant-numeric: tabular-nums; }
.timing-track { position: relative; height: 12px; border-radius: 6px; background: rgba(18, 27, 38, .06); }
/* Solid part: the shortest estimate. Lighter extension: up to the longest estimate. */
.timing-bar {
  position: absolute; top: 0; bottom: 0; left: var(--from); width: var(--to); border-radius: 6px;
  background: linear-gradient(90deg, var(--blaek) 0 var(--solid), var(--taage) 0);
  transform-origin: left center;
}
/* The bars grow into place each time the estimate is drawn. */
@media (prefers-reduced-motion: no-preference) {
  .timing-bar { animation: bar-grow .9s var(--fjeder) both; }
  .timing-row:nth-child(2) .timing-bar { animation-delay: .06s; }
  .timing-row:nth-child(3) .timing-bar { animation-delay: .12s; }
  .timing-row:nth-child(4) .timing-bar { animation-delay: .18s; }
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.timing-days, .timing-axis span { font-family: var(--mono); letter-spacing: .02em; }
.timing-axis { position: relative; height: 18px; }
.timing-axis span { position: absolute; top: 0; transform: translateX(-50%); font-size: .75rem; color: var(--skifer); font-variant-numeric: tabular-nums; }
.timing-axis span:first-child { transform: none; }
.timing-axis-row .timing-label { font-size: .75rem; font-weight: 450; color: var(--skifer); }
@media (max-width: 479px) {
  .timing-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .timing-row .timing-days { grid-row: 1; grid-column: 2; }
  .timing-row .timing-track, .timing-row .timing-axis { grid-column: 1 / -1; }
  .timing-axis-row .timing-label { display: none; }
  .timing-result .timing-total { grid-template-columns: 1fr; }
}

/* FAQ topics: while a topic is chosen, the matching questions read as one plain list. */
.faq-topics { margin-bottom: 8px; padding: 18px; border: 1px solid var(--regel); border-radius: 22px; background: var(--papir); }
.faq-topics:not([hidden]) + .faq-top { border-top: 0; }
.faq-topics-label { margin-bottom: 12px; font-family: var(--mono); font-size: .6875rem; font-weight: 450; letter-spacing: .12em; text-transform: uppercase; color: var(--skifer); }
.faq-topic-status { font-family: var(--mono); letter-spacing: .02em; }
.faq-topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-topic-status:empty { display: none; }
.faq-topic-status { margin-top: 10px; font-size: .8125rem; line-height: 1.4; color: var(--skifer); }
.faq-list.is-filtered .faq-more { margin-top: 0; }
.faq-list.is-filtered .faq-more > summary,
.faq-list.is-filtered .faq-group > h3 { display: none; }
.faq-list.is-filtered .faq-group + .faq-group { margin-top: 0; }

/* The twelve-month total is secondary: a quiet line that opens on request. */
.chooser-yearly { margin-top: 10px; }
.chooser-yearly summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px;
  font-size: .875rem; font-weight: 500; color: var(--skifer);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: var(--regel);
}
.chooser-yearly summary:hover { color: var(--blaek); text-decoration-color: currentColor; }
.chooser-yearly .plus { width: 11px; height: 11px; }
.chooser-yearly .plus::before, .chooser-yearly .plus::after { top: 4.75px; }
.chooser-yearly-body { padding: 4px 0 6px; font-size: .875rem; line-height: 1.55; color: var(--skifer); }
.chooser-yearly-body p + p { margin-top: 6px; }
.chooser-yearly-body strong { font-weight: 600; color: var(--blaek); white-space: nowrap; }

.chooser-total {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px;
  margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--flade);
}
.chooser-total span { font-weight: 600; }
.chooser-total strong {
  font-family: var(--sans); font-stretch: 112%; font-weight: 720;
  font-size: 1.6rem; letter-spacing: -.04em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.chooser-total small { grid-column: 1 / -1; font-size: .8125rem; line-height: 1.45; color: var(--skifer); }
.chooser-note { margin-top: 12px; font-size: .875rem; color: var(--skifer); }
.chooser-result .btn { margin-top: 18px; width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .chooser-result.is-updated { animation: chooser-in .45s var(--ease); }
}
@keyframes chooser-in { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.package.is-suggested h4::after {
  content: "Dit forslag"; display: inline-flex; align-items: center; gap: 6px;
  margin-left: 12px; padding: 4px 10px; border-radius: 999px; vertical-align: .2em;
  border: 1px solid rgba(200, 55, 45, .5); background: var(--signal-lys); color: var(--blaek);
  font-family: var(--mono); font-size: .625rem; font-weight: 450; font-stretch: normal; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
}
.package.is-suggested { position: relative; }
.package.is-suggested::before {
  content: ""; position: absolute; left: calc(-1 * clamp(22px, 2.8vw, 34px)); top: 24px; bottom: 24px; width: 2px;
  background: var(--signal); box-shadow: 0 0 0 3px var(--signal-lys);
}

/* ---------- Mobile contact bar ---------- */

.quick-contact {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  border-radius: 999px; background: var(--papir);
  box-shadow: 0 0 0 1px rgba(18, 27, 38, .08), 0 18px 40px -16px rgba(18, 27, 38, .22);
  transform: translateY(0); transition: transform .4s var(--ease), opacity .3s, visibility 0s;
}
.quick-contact[hidden] { display: none; }
.quick-contact.is-away { transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s; }
.quick-call {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--blaek);
  font-size: .9375rem; font-weight: 540; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.quick-write.btn { min-height: 46px; padding: 0 12px; font-size: .9375rem; gap: 10px; --line: 12px; --grow: 1.75; --shift: 7px; }
@media (min-width: 760px) { .quick-contact { display: none; } }
@media (max-width: 359px) { .quick-write .btn-line { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  details::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .35s var(--ease), content-visibility .35s allow-discrete;
  }
  details[open]::details-content { block-size: auto; }
}

/* ---------- Contact ---------- */

.contact { position: relative; isolation: isolate; overflow-x: clip; padding-block: var(--section); }
/* The goal of the whole page: a muted red glow behind the form. */
.contact::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -14vw; top: 4%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 55, 45, .13), transparent 62%); filter: blur(30px);
}
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; } }
.contact h2 { font-size: clamp(1.9rem, 6.6vw, 4.6rem); }
@media (min-width: 1000px) { .contact h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); } }
.contact-intro { margin-top: 22px; max-width: 32em; color: var(--skifer); text-wrap: pretty; }
.next-steps { list-style: none; counter-reset: step; margin-top: 32px; display: grid; max-width: 32em; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--regel); }
.next-steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; color: var(--taage-tekst); }
.direct { display: grid; gap: 16px; margin-top: 36px; }
.direct a { display: grid; gap: 2px; width: fit-content; text-decoration: none; }
.direct-label { font-family: var(--mono); font-size: .6875rem; font-weight: 450; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--skifer); }
.direct-phone { font-family: var(--sans); font-stretch: 118%; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 760; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.direct-mail { font-size: 1.125rem; font-weight: 520; }
.direct a:hover .direct-phone, .direct a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

.contact-form {
  position: relative; display: grid; gap: 20px;
  padding: clamp(22px, 3.5vw, 44px); border-radius: 28px;
  border: 1px solid rgba(18, 27, 38, .08);
  background: var(--papir);
  box-shadow: 0 1px 0 rgba(18, 27, 38, .05) inset, 0 40px 80px -40px rgba(18, 27, 38, .22);
}
.form-row { display: grid; gap: 20px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 6px; font-size: .9688rem; font-weight: 520; }
.required-mark { color: var(--signal); }
.optional-label { font-weight: 400; color: var(--skifer); }
.field input, .field textarea {
  flex: 1 0 100%; width: 100%; min-height: 52px; padding: 13px 14px;
  border: 0; border-radius: 14px; background: var(--dis); color: var(--blaek);
  box-shadow: inset 0 0 0 1px var(--regel);
  font-size: 1.0625rem; font-weight: 400; line-height: 1.5;
  transition: box-shadow .2s, background-color .2s;
}
/* The message field grows with the text; only very long messages scroll, with a quiet scrollbar. */
.field textarea {
  min-height: 128px; max-height: 22rem; resize: none; field-sizing: content; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--taage) transparent;
}
.field textarea::-webkit-scrollbar { width: 10px; }
.field textarea::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 10px; background: var(--taage) padding-box; }
.field textarea::-webkit-scrollbar-track { background: transparent; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--taage); }
/* Focus is a calm ink ring, so it never reads as a validation error. */
.field input:focus, .field textarea:focus {
  outline: none; background: var(--flade);
  box-shadow: inset 0 0 0 1.5px var(--blaek), 0 0 0 4px rgba(18, 27, 38, .1);
}
.form-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 4px; }
.form-required-note { font-size: .875rem; color: var(--skifer); }
/* What the visitor chose in the package chooser, carried into the form as a removable summary. */
.form-selection {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 2px 16px;
  padding: 14px 16px; border-radius: 12px; background: var(--flade); box-shadow: inset 3px 0 0 var(--signal);
  font-size: .9375rem; line-height: 1.45;
}
.form-selection[hidden] { display: none; }
.form-selection-label { color: var(--skifer); }
.form-selection-text { font-weight: 560; }
.form-selection-note { grid-column: 1; font-size: .8125rem; color: var(--skifer); }
.form-selection-remove {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 36px; padding: 0 12px;
  border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--regel); cursor: pointer;
  font-size: .8125rem; font-weight: 500; color: var(--skifer);
}
.form-selection-remove:hover { color: var(--blaek); box-shadow: inset 0 0 0 1px var(--taage); }
.field textarea::placeholder { color: var(--skifer); opacity: 1; }

.quick-picks { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-block: 2px 4px; }
.quick-picks[hidden] { display: none; }
.quick-pick {
  min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; box-shadow: inset 0 0 0 1px var(--regel);
  font-size: .875rem; font-weight: 500; color: var(--blaek);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.quick-pick:hover { box-shadow: inset 0 0 0 1px var(--taage); background: var(--flade); }
.quick-pick[aria-pressed="true"] { background: var(--blaek); color: var(--dis); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) { .quick-pick:active { transform: scale(.96); } .quick-pick { transition: background-color .2s, color .2s, box-shadow .2s, transform .4s var(--fjeder); } }
.field-error {
  flex: 1 0 100%; display: flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 500; line-height: 1.4; color: var(--signal);
}
.field-error[hidden] { display: none; }
.field-error::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--signal); }
.field input[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 1.5px var(--signal), 0 0 0 4px var(--signal-lys); }
.form-status.is-success {
  display: flex; align-items: center; gap: 12px; background: var(--flade);
  box-shadow: inset 0 0 0 1.5px var(--blaek);
}
.form-status.is-success::before {
  content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 5px var(--signal-lys);
}
@media (prefers-reduced-motion: no-preference) {
  .form-status.is-success::before { animation: arrive .6s var(--ease) both; }
}
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 500; background: var(--dis); box-shadow: inset 3px 0 0 var(--signal); }
.form-note { font-size: .875rem; line-height: 1.6; color: var(--skifer); }
.form-note a { color: var(--blaek); text-underline-offset: .2em; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 599px) { .form-submit .btn { width: 100%; } }

/* ---------- Subpages (privacy policy, 404) ---------- */

.subnav { display: flex; align-items: center; gap: 20px; }
.doc { padding-block: clamp(56px, 8vw, 112px) var(--section); }
.doc .wrap { max-width: calc(46rem + 2 * var(--gutter)); margin-inline: 0 auto; }
@media (min-width: 1000px) { .doc .wrap { margin-inline: auto; } }
.doc h1 {
  font-family: var(--sans); font-stretch: 122%;
  font-size: clamp(2.1rem, 6vw, 4.4rem); font-weight: 780; letter-spacing: -.045em; line-height: .98;
}
.doc h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 720; font-stretch: 116%; letter-spacing: -.035em; }
.doc-head .doc-date { font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; }
.doc-head p, .not-found p { margin-top: 18px; color: var(--skifer); max-width: 34em; }
.doc-head .doc-date { margin-top: 10px; font-size: .875rem; }
.doc section { margin-top: clamp(40px, 5vw, 56px); }
.doc h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.doc section p { margin-top: 14px; color: var(--skifer); }
.doc section a { color: var(--blaek); text-underline-offset: .2em; }
.nf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* ---------- Footer ---------- */

.site-footer { padding-block: 56px 0; border-top: 1px solid var(--regel); overflow: hidden; }
/* The name, cut by the bottom edge of the page, ending in the enquiry's red point. */
.footer-mark {
  margin: clamp(40px, 6vw, 80px) 0 0; padding-inline: 8px; text-align: center; white-space: nowrap;
  font-family: var(--sans); font-stretch: 125%; font-weight: 800; font-size: 18.5vw; line-height: .74; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px var(--taage); user-select: none; pointer-events: none;
  padding-bottom: .03em;
}
.footer-mark span { display: inline-block; width: .13em; height: .13em; margin-left: .03em; border-radius: 50%; background: var(--signal); box-shadow: var(--glod); }
@media (prefers-reduced-motion: no-preference) {
  .footer-mark { animation: mark-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
}
@keyframes mark-rise { from { transform: translateY(35%); } to { transform: none; } }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; gap: 48px; } }
.footer-brand p { margin-top: 18px; font-size: .9375rem; color: var(--skifer); max-width: 22em; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--blaek); text-decoration: none; }
.footer-social a:hover { background: var(--papir); }
.footer-social a:focus-visible { outline: 2px solid var(--blaek); outline-offset: 3px; }
.footer-social svg { width: 22px; height: 22px; }
.footer-nav, .footer-contact { display: grid; gap: 4px; align-content: start; font-size: .9375rem; }
.footer-nav a, .footer-contact a { width: fit-content; padding-block: 3px; text-decoration: none; color: var(--blaek); }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-contact span { color: var(--skifer); padding-block: 3px; }
.cookie-settings {
  width: fit-content; margin-top: 8px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  color: var(--skifer); font-size: .9375rem; text-decoration: underline; text-underline-offset: .25em;
}
.cookie-settings:hover { color: var(--blaek); }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px;
  max-width: 34rem; max-height: calc(100vh - 32px); overflow: auto;
  padding: 22px; border-radius: 22px;
  background: var(--papir); color: var(--blaek);
  box-shadow: 0 0 0 1px rgba(18, 27, 38, .08), 0 30px 60px -20px rgba(18, 27, 38, .22);
  font-size: .9375rem; line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.5rem; font-weight: 480; }
.cookie-banner p { margin-top: 10px; color: var(--skifer); }
.cookie-banner summary { margin-top: 12px; font-weight: 540; text-decoration: underline; text-underline-offset: .25em; min-height: 32px; }
.cookie-info { font-size: .875rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-actions button {
  flex: 1 1 128px; min-height: 46px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 540; background: var(--blaek); color: var(--papir);
}
.cookie-actions button:hover { background: var(--blaek-2); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}

.nw { white-space: nowrap; }

/* ---------- Kursen 2.0: texture and motion ---------- */

/* Fine film grain over the whole page; fixed, so scrolling never repaints it. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Soft fade-in on scroll (kursen2.js adds .reveal only when JavaScript and motion are allowed). */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform 1s var(--fjeder); transition-delay: var(--delay, 0s); }
  .reveal.is-in { opacity: 1; transform: none; }
  /* The page route (app.js) is measured from the section headings and the contact stop,
     so these only fade: moving them would make the route miss its goal. */
  .section-head.reveal, .contact-copy.reveal { transform: none; }
}
@media print { body::after { display: none; } }

/* ---------- Kursen 2.1: calm, light and trustworthy ----------
   Overrides on top of the Kursen 2.0 layer above. Audience: local business owners. */

/* No texture, grid or glow. */
body::after, .hero::before, .hero::after, .contact::before, .package-customization::before { display: none; }

/* Type: regular width and moderate weight; still tight, never shouting. */
h2 { font-stretch: 104%; font-weight: 640; letter-spacing: -.032em; line-height: 1.02; }
h3, h4 { font-stretch: 104%; font-weight: 620; }
.h1-main { font-stretch: 104%; font-weight: 640; letter-spacing: -.038em; line-height: .98; font-size: clamp(2rem, 9.6vw, 6.6rem); }
.h1-main .h1-line + .h1-line { margin-top: .35em; font-size: max(.46em, 1.15rem); font-weight: 480; letter-spacing: -.02em; color: var(--skifer); }
.price, .chooser-total strong { font-stretch: 102%; font-weight: 600; letter-spacing: -.03em; }
.direct-phone { font-stretch: 102%; font-weight: 600; letter-spacing: -.03em; }
.price-group-title, .package-customization h3 { font-stretch: 104%; font-weight: 640; letter-spacing: -.03em; }
.doc h1 { font-stretch: 104%; font-weight: 640; letter-spacing: -.035em; }
.doc h2 { font-stretch: 104%; font-weight: 620; letter-spacing: -.025em; }
.step-n { font-stretch: 104%; font-weight: 600; color: transparent; -webkit-text-stroke: 1px var(--taage); }
.footer-mark { font-stretch: 108%; font-weight: 700; -webkit-text-stroke: 1px var(--regel); }

/* Labels read as plain words in sentence case. Mono is kept only for numbers. */
.h1-kicker, .course-legend li, .chain-label, .faq-group > h3, .faq-topics-label, .package-content h5,
.direct-label, .price-group-title span, .badge, .vis-tag, .vis-row b, .package-main .package-meta,
.nav-phone a, .price-from, .price-unit {
  font-family: var(--sans); text-transform: none; letter-spacing: 0;
}
.h1-kicker { font-size: clamp(.8125rem, 1.6vw, .9375rem); font-weight: 500; }
.course-legend li { font-size: .8125rem; font-weight: 520; }
.chain-label, .faq-topics-label, .direct-label { font-size: .875rem; font-weight: 560; }
.faq-group > h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 620; font-stretch: 104%; color: var(--blaek); letter-spacing: -.02em; }
.package-content h5 { font-size: .9375rem; font-weight: 620; }
.price-group-title span, .package-main .package-meta { font-size: .8125rem; font-weight: 500; }
.vis-tag { font-size: .6875rem; font-weight: 520; }
.vis-row b { font-size: .75rem; font-weight: 540; }
.nav-phone a { font-size: .9688rem; font-weight: 540; }
.price-from, .price-unit { font-size: 1rem; font-weight: 450; }
/* Red stays a point, not small text (red on the light ground is just under 4.5:1). */
.led-goal h3::before { color: var(--taage-tekst); }
.person-copy::before { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: .875rem; font-weight: 560; }

/* Header: a calm, light bar across the page, as in Kursen 1.0. */
.site-header { padding: 0; background: var(--dis); border-bottom: 1px solid var(--regel); }
.bar {
  height: var(--header); max-width: calc(var(--wrap) + 2 * var(--gutter)); padding-inline: var(--gutter);
  border: 0; border-radius: 0; background: none; box-shadow: none;
}
@media (max-width: 1099px) {
  .js .nav-links {
    top: 100%; padding: 8px var(--gutter) 20px; border-width: 0 0 1px; border-radius: 0;
    background: var(--dis); box-shadow: 0 30px 40px -30px rgba(18, 27, 38, .35);
  }
}

/* Cards: light panels with a hairline; the pointer light is a soft white sheen. */
.service { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, calc(var(--spot, 0) * 10)), transparent 60%), var(--flade); }
.chapter .service { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, calc(var(--spot, 0) * 10)), transparent 60%), var(--dis); }
.service-next, .chapter .service-next { background: transparent; }
.svc-vis { background: var(--papir); }
.chapter .svc-vis { background: var(--flade); }
.vis-search { background: var(--flade); }
.chapter .vis-search { background: var(--papir); }

/* Portrait: the photo as it is (white studio), in a light card; the words in a solid card overlapping it. */
.person-media { background: var(--flade); }
.person-media::after { background: linear-gradient(to top, rgba(246, 248, 248, .55), transparent 30%); }
.person-photo img { filter: grayscale(1) contrast(1.06) brightness(1.02); }
.person-copy { background: var(--flade); border-color: var(--regel); box-shadow: 0 30px 60px -30px rgba(18, 27, 38, .3); }

/* The form: a solid paper card with a soft shadow; fields on the page tone. */
.contact-form { background: var(--papir); border-color: var(--regel); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 40px 80px -48px rgba(18, 27, 38, .35); }
.field input, .field textarea { background: var(--dis); }
.field input:focus, .field textarea:focus { background: var(--flade); }
/* No page route (decided 10 October 2026): the line and the dot following the scroll were distracting,
   especially when scrolling up and down. app.js still builds it; it is simply not shown. The chain's own
   customer dot and the red stop beside the contact heading stay. */
.route { display: none !important; }
/* ---------- SEO picture: a small local map that your business pings onto ---------- */
.vis-seo { display: block; min-height: 190px; background: none; padding: 0; }
.vis-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.vis-map .m-land { fill: var(--dis); }
.chapter .vis-map .m-land { fill: var(--dis); }
.vis-map .m-land, .vis-map .m-park, .vis-map .m-water { stroke: none; }
.vis-map .m-park { fill: rgba(18, 27, 38, .05); }
.vis-map .m-water { fill: rgba(18, 27, 38, .07); }
.vis-map .m-road { fill: none; stroke: var(--flade); stroke-width: 9; stroke-linecap: round; }
.vis-map .m-small { stroke-width: 5; }
.vis-map .m-other { fill: var(--taage); stroke: var(--flade); stroke-width: 2; }
/* Your place: a pin in ink, landing on the map with rings spreading from it. */
.vis-spot { position: absolute; left: 32%; top: 50%; width: 0; height: 0; }
.vis-seo .vis-ring {
  left: -22px; top: -22px; width: 44px; height: 44px; margin: 0;
  border: 1.5px solid rgba(18, 27, 38, .35); background: rgba(18, 27, 38, .04); opacity: 0;
}
/* max-width: none – the spot has no width of its own, and svg is max-width: 100% globally. */
.vis-seo .vis-pin { position: absolute; left: -15px; top: -38px; width: 30px; height: 38px; max-width: none; color: var(--blaek); filter: drop-shadow(0 4px 4px rgba(18, 27, 38, .25)); }
.vis-seo .vis-pin path { fill: var(--blaek); stroke: none; }
.vis-seo .vis-pin circle { fill: var(--flade); stroke: none; }
/* The profile card that opens beside the pin: name, details and the actions a customer uses. */
.vis-place {
  position: absolute; left: calc(32% + 22px); top: calc(50% - 64px); width: min(54%, 180px);
  display: grid; gap: 7px; padding: 11px 12px; border: 1px solid var(--regel); border-radius: 12px;
  background: var(--flade); box-shadow: 0 12px 24px -12px rgba(18, 27, 38, .35);
}
.vis-place .sk-m { height: 9px; background: rgba(18, 27, 38, .55); }
.vis-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.vis-actions b {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid var(--regel); border-radius: 99px;
  font-family: var(--sans); font-size: .625rem; font-weight: 560; color: var(--blaek);
}
.vis-actions i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.vis-seo .vis-tag { z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .svc-vis.vis-seo.is-live .vis-pin { animation: pin-drop 5s var(--ease) infinite; }
  .svc-vis.vis-seo.is-live .vis-ring { animation: pin-ping 5s ease-out infinite; }
  .svc-vis.vis-seo.is-live .vis-ring + .vis-ring { animation-delay: .5s; }
  .svc-vis.vis-seo.is-live .vis-place { animation: place-open 5s var(--ease) infinite; }
}
@keyframes pin-drop {
  0% { opacity: 0; transform: translateY(-46px); }
  6% { opacity: 1; }
  14% { transform: translateY(0); }
  18% { transform: translateY(-6px); }
  22%, 88% { opacity: 1; transform: translateY(0); }
  96%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes pin-ping {
  0%, 20% { opacity: 0; transform: scale(.4); }
  24% { opacity: .9; }
  60%, 100% { opacity: 0; transform: scale(2.6); }
}
@keyframes place-open {
  0%, 26% { opacity: 0; transform: translateY(8px) scale(.96); }
  34%, 86% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(4px); }
}
/* ---------- Review 10 October 2026 (approved by Kim) ---------- */

/* a: a plain inline box, so the space in "Levering ca. 5–10" is kept (inline-flex dropped it). */
.package-main .package-meta { display: inline-block; }

/* c: the call to action straight under the headline; the course animation follows.
   (A small portrait of Kim beside it was tried and removed again at his request.) */
.hero-lower { justify-content: flex-start; margin-top: clamp(28px, 3.4vw, 44px); }
.hero-actions { justify-content: flex-start; gap: 16px 28px; }
@media (min-width: 900px) { .hero-actions { justify-content: flex-start; } }
.hero .course { margin-top: clamp(36px, 4.5vw, 64px); }

/* e: help for those who did not find their question. */
.faq-help { margin-top: 22px; max-width: 22em; color: var(--skifer); }
.faq-help a { color: var(--blaek); font-weight: 560; text-underline-offset: .25em; }

/* h: Kim and the three steps belong together: less distance, text card centred on the portrait. */
.person { margin-top: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) { .person { align-items: center; } .person-copy { margin: 0 0 0 -72px; } }
