/* ==========================================================================
   Køreskolen Grøn Bølge — "Asfalt & Signal"
   Dark-first, editorial. One accent: signal green (form button #61A610).
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --asfalt-0: #121311;        /* footer, demo bar */
  --asfalt: #191A17;          /* primary dark surface */
  --asfalt-2: #20221E;        /* raised dark surface */
  --asfalt-3: #2A2C27;        /* road / inset */
  --kridt: #EFEDE6;           /* text on dark ("road paint") */
  --kridt-dim: #A9A89F;       /* muted text on dark */
  --beton: #E6E7E0;           /* light surface */
  --beton-2: #F1F2ED;         /* lighter light surface */
  --hvid: #FFFFFF;            /* cards — matches the Drivelogger form */
  --ink: #191A17;             /* text on light */
  --ink-dim: #55574F;         /* muted text on light */
  --signal: #61A610;          /* THE accent — identical to the form buttons */
  --signal-lime: #B6E84A;     /* highlight on dark */
  --signal-deep: #3E6B0B;     /* green text on light (AA) */

  /* Type */
  --font: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.4rem, 1.22rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.4rem + 4.2vw, 5.25rem);
  --step-5: clamp(3rem, 1.2rem + 7.4vw, 8.75rem);

  --wdth-display: 74%;
  --wdth-head: 82%;
  --wdth-label: 112%;

  /* Space */
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --gap: clamp(1rem, 2vw, 1.75rem);
  --gap-lg: clamp(2rem, 4vw, 3.5rem);
  --section-pad: clamp(3.5rem, 2rem + 5.2vw, 7.5rem);
  --container: 1320px;
  --header-h: 76px;
  --demo-h: 44px;             /* demo bar height; measured by main.js */

  /* Shape */
  --radius-s: 6px;
  --radius-m: 18px;
  --radius-l: 26px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-card: 0 1px 0 rgba(25, 26, 23, .04), 0 18px 48px -28px rgba(25, 26, 23, .35);
  --shadow-lift: 0 2px 0 rgba(25, 26, 23, .05), 0 40px 90px -40px rgba(25, 26, 23, .55);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Asphalt grain (sparse light aggregate) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Theme scopes: components read these, never hard-coded colours */
:root,
.theme-dark {
  --bg: var(--asfalt);
  --fg: var(--kridt);
  --muted: var(--kridt-dim);
  --line: rgba(239, 237, 230, .12);
  --line-strong: rgba(239, 237, 230, .3);
  --accent-ink: var(--signal-lime);
  --lamp: var(--signal-lime);
  --lamp-halo: rgba(182, 232, 74, .16);
  --focus: var(--signal-lime);
  --wash: rgba(239, 237, 230, .07);
  --star: var(--signal-lime);
  --dash-h: repeating-linear-gradient(90deg, var(--line-strong) 0 16px, transparent 16px 28px);
}
.theme-dark { color: var(--fg); }

.theme-light {
  --bg: var(--beton);
  --fg: var(--ink);
  --muted: var(--ink-dim);
  --line: rgba(25, 26, 23, .1);
  --line-strong: rgba(25, 26, 23, .28);
  --accent-ink: var(--signal-deep);
  --lamp: var(--signal);
  --lamp-halo: rgba(97, 166, 16, .2);
  --focus: var(--signal-deep);
  --wash: rgba(25, 26, 23, .05);
  --star: var(--signal);
  --dash-h: repeating-linear-gradient(90deg, var(--line-strong) 0 16px, transparent 16px 28px);
  color: var(--fg);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--asfalt);
  color: var(--kridt);
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

img,
svg,
iframe { max-width: 100%; }

img { display: block; height: auto; }

p,
li,
dd,
blockquote { text-wrap: pretty; }

a { color: inherit; }

strong { font-weight: 700; }

h1, h2, h3, h4 { text-wrap: balance; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.muted { color: var(--muted); }

/* Focus */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus,
[tabindex="-1"]:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 200;
  padding: .75rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
  transition: color .2s;
}
.link:hover { color: var(--accent-ink); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.5rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 100%;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn .icon { width: 1.15rem; height: 1.15rem; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 4px; border-radius: var(--radius-pill); }

.btn--primary { --btn-bg: var(--signal); --btn-fg: var(--ink); --btn-border: var(--signal); }
.btn--primary:hover { --btn-bg: var(--signal-lime); --btn-border: var(--signal-lime); }

.btn--ghost { --btn-fg: var(--fg); --btn-border: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--wash); --btn-border: var(--fg); }

.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--kridt); --btn-border: var(--ink); }
.btn--ink:hover { --btn-bg: var(--signal); --btn-fg: var(--ink); --btn-border: var(--signal); }

.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .92rem; }
.btn--block { width: 100%; }

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent-ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .25em;
  cursor: pointer;
}
.text-btn .icon { width: 1rem; height: 1rem; }
.text-btn:hover { color: var(--accent-ink); }

/* ---------- Demo bar ---------- */
.demo-bar {
  position: relative;
  z-index: 60;
  background: var(--asfalt-0);
  color: var(--kridt-dim);
  font-size: .8rem;
  line-height: 1.35;
  border-bottom: 1px solid rgba(239, 237, 230, .07);
}
.demo-bar[hidden],
.demo-bar-hidden .demo-bar { display: none; }
.demo-bar-hidden { --demo-h: 0px; }

.demo-bar__inner {
  display: flex;
  align-items: center;
  gap: .5rem 1rem;
  min-height: 44px;
  padding-block: .25rem;
}
.demo-bar__text {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  margin: 0;
}
.demo-bar__long {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.demo-pill {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin: 0;
  padding: .12rem .6rem;
  border: 1px solid rgba(182, 232, 74, .5);
  border-radius: var(--radius-pill);
  color: var(--signal-lime);
  font-size: .72rem;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: .02em;
  line-height: 1.4;
}

/* Design switcher: a small segmented control */
.design-switch {
  display: inline-flex;
  flex: none;
  align-items: center;
  margin-left: auto;
  font-size: 0; /* swallow the spaces between the inline links */
}
.design-switch__label {
  color: var(--kridt-dim);
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 108%;
}
.design-switch a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 .7rem;
  border: 1px solid rgba(239, 237, 230, .16);
  color: var(--kridt);
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 104%;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.design-switch__label { margin-right: .55rem; }
.design-switch a + a { margin-left: -1px; }
.design-switch a:nth-of-type(1) { border-radius: var(--radius-pill) 0 0 var(--radius-pill); padding-left: .8rem; }
.design-switch a:last-of-type { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; padding-right: .8rem; }
.design-switch a:hover { z-index: 1; border-color: rgba(182, 232, 74, .6); color: var(--signal-lime); }
.design-switch a[aria-current="page"] {
  z-index: 2;
  border-color: var(--signal-lime);
  background: var(--signal-lime);
  color: var(--ink);
  font-weight: 700;
}
.design-switch a:focus-visible { z-index: 3; outline-offset: 2px; border-radius: 6px; }
/* bigger invisible hit area without making the bar taller
   (26px inside the 1px border + 2 × 9px = 44px) */
.design-switch a::after {
  content: "";
  position: absolute;
  inset: -9px 0;
}

.demo-bar__btn {
  position: relative;
  flex: none;
  padding: .35rem .2rem;
  border: 0;
  background: none;
  color: var(--kridt);
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--signal-lime);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .28em;
  cursor: pointer;
}
.demo-bar__btn::after {
  content: "";
  position: absolute;
  inset: -8px -4px; /* 28px label + 16px = a 44px hit area inside the slim bar */
}
.demo-bar__btn:hover { color: var(--signal-lime); }
.demo-bar__btn-short { display: none; }
.demo-bar__close {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: -6px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--kridt-dim);
  cursor: pointer;
}
.demo-bar__close::after {
  content: "";
  position: absolute;
  inset: -6px;
}
.demo-bar__close .icon { width: 1.1rem; height: 1.1rem; }
.demo-bar__close:hover { background: rgba(239, 237, 230, .08); color: var(--kridt); }

/* "Tilpas" is added by ../demo-tilpas.js as a copy of .demo-bar__btn.
   It is the quieter, secondary action: dim text and a faint underline,
   so "Se hvordan formularen er sat ind" stays the one to click. */
.demo-bar .dlc-trigger {
  color: var(--kridt-dim);
  text-decoration-color: rgba(239, 237, 230, .3);
}
.demo-bar .dlc-trigger:hover { color: var(--kridt); text-decoration-color: var(--signal-lime); }
/* "Tilpasset": own settings are in use. A lit lamp in front, like the section rails */
.demo-bar .dlc-trigger--active {
  display: inline-flex;
  align-items: center;
  color: var(--kridt);
}
.demo-bar .dlc-dot {
  order: -1;
  width: 7px;
  height: 7px;
  margin: 0 .6em 0 2px;
  background: var(--signal-lime);
  box-shadow: 0 0 0 3px rgba(182, 232, 74, .2);
}
/* If the script ever falls back to icon-only ("--compact"), match the close icon */
.demo-bar .dlc-trigger--compact { text-decoration: none; }
.demo-bar .dlc-trigger--compact .dlc-ico { width: 1.1rem; height: 1.1rem; vertical-align: -.3em; }

@media (max-width: 1199px) {
  .demo-bar__long { display: none; }
  .demo-bar__text { flex: none; } /* never let the switcher slide over the pill */
}
@media (max-width: 767px) {
  /* make room for "Tilpas": the segment names speak for themselves */
  .demo-bar__inner { column-gap: .75rem; }
  .design-switch__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .demo-bar__btn::after { inset: -8px -3px; } /* hit areas stay clear of each other */
  .design-switch a { padding: 0 .55rem; }
  .design-switch a:nth-of-type(1) { padding-left: .65rem; }
  .design-switch a:last-of-type { padding-right: .65rem; }
}
@media (max-width: 640px) {
  .demo-bar__btn-long {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .demo-bar__btn-short { display: inline; }
  .demo-bar__inner { column-gap: .65rem; }
}
@media (max-width: 479px) {
  /* Two short rows: the demo actions on top, the design switcher full width
     below. Each row is exactly 44px, so no hit area reaches into the other row.
     (Flex, not grid: demo-tilpas.js wraps its button differently in a grid.) */
  .demo-bar__inner { flex-wrap: wrap; row-gap: 0; padding-block: 0; }
  .demo-bar__text { min-height: 44px; margin-right: auto; }
  /* the text buttons fill their 44px row, so the hit area is the row itself */
  .demo-bar__btn { align-self: stretch; }
  .demo-bar__btn::after { inset: 0 -3px; }
  .design-switch { order: 1; flex: 1 0 100%; min-height: 44px; margin: 0; }
  .design-switch__label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
  .design-switch a { flex: 1 1 0; justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--kridt);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(25, 26, 23, .94);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(239, 237, 230, .08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

/* Logo lockup, drawn on a 200 × 48 unit grid (--u = px per unit):
   traffic-light mark (SVG) + the school's name as real text, so a long
   name from "Tilpas demoen" wraps to two lines instead of being squeezed. */
.logo {
  --u: .86px;             /* 172px wide */
  display: inline-flex;
  align-items: flex-start;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  padding-block: .4rem;   /* 44px tap target on phones, no layout change */
  margin-block: -.4rem;
  color: var(--kridt);
  font-family: var(--font);
  text-decoration: none;
  border-radius: 8px;
}
.logo__mark {
  flex: none;
  display: block;
  width: calc(52 * var(--u));
  height: calc(48 * var(--u));
}
.logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: calc(9 * var(--u));
  padding-top: calc(8.4 * var(--u)); /* kicker baseline at 17.5 units */
}
.logo__kicker {
  display: block;
  padding-left: var(--u);
  overflow: hidden;
  font-size: calc(11 * var(--u));
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: .72;
}
.logo__kicker[hidden],
.logo__kicker:empty { display: none; }
.logo__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 14em;
  margin-top: calc(-.4 * var(--u)); /* name baseline at 41 units */
  overflow: hidden;
  font-size: calc(25 * var(--u));
  font-weight: 800;
  font-stretch: 76%;
  letter-spacing: -.01em;
  /* keeps the baseline in place and Ø/Å/g unclipped */
  line-height: 1.1;
  overflow-wrap: break-word;
  text-wrap: balance;
}
/* A name without "Køreskolen" in front ("Kims Køreskole") sits centred on the
   mark. demo-tilpas.js empties the kicker, hides it and sets html.dlc-no-kicker. */
.dlc-no-kicker .logo,
.logo:has(.logo__kicker:empty, .logo__kicker[hidden], .logo__kicker[style*="none"]) { align-items: center; }
.dlc-no-kicker .logo .logo__text,
.logo:has(.logo__kicker:empty, .logo__kicker[hidden], .logo__kicker[style*="none"]) .logo__text { padding-top: 0; }
.dlc-no-kicker .logo .logo__name,
.logo:has(.logo__kicker:empty, .logo__kicker[hidden], .logo__kicker[style*="none"]) .logo__name { margin-top: 0; }

.site-nav { flex: none; margin-left: auto; }
.site-nav__list {
  display: flex;
  gap: clamp(.9rem, 1.5vw, 1.7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list a {
  position: relative;
  display: block;
  padding: .5rem 0;
  color: var(--kridt);
  font-size: .95rem;
  font-weight: 500;
  font-stretch: 104%;
  text-decoration: none;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .15rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--signal-lime) 0 6px, transparent 6px 10px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list a.is-active::after { transform: scaleX(1); }
.site-nav__extra { display: none; }

.site-header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: .75rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .4rem .95rem .4rem .8rem;
  border: 1.5px solid rgba(239, 237, 230, .28);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--kridt);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle__bars span:first-child { top: 1px; }
.nav-toggle__bars span:last-child { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; }
  .site-header__actions { margin-left: auto; }

  .site-nav {
    position: fixed;
    top: var(--nav-top, var(--header-h));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    margin: 0;
    padding: 1.5rem var(--gutter) 2rem;
    overflow-y: auto;
    background: var(--asfalt);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
  }
  /* Lock scrolling on the root only. Putting overflow:hidden on <body> too
     turns body into the scroll container, and the sticky header then jumps
     back to the top of the document when the menu opens mid-page. */
  .nav-open { overflow: hidden; }
  .nav-open .site-header,
  .nav-open .site-header.is-scrolled {
    background: var(--asfalt);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    padding: .6rem 0;
    font-size: var(--step-3);
    font-weight: 800;
    font-stretch: 76%;
    line-height: 1.1;
    background: linear-gradient(90deg, rgba(239, 237, 230, .16) 0 60%, transparent 0) bottom left / 14px 1.5px repeat-x;
  }
  .site-nav__list a::after { display: none; }
  .site-nav__list a.is-active { color: var(--signal-lime); }

  .site-nav__extra { display: grid; gap: 1rem; }
  .site-nav__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .5rem;
    color: var(--kridt);
    font-weight: 600;
    text-decoration: none;
  }
}

@media (max-width: 479px) {
  :root { --header-h: 60px; }
  .logo { --u: .64px; } /* 128px wide */
  .site-header__inner { gap: .75rem; }
  .site-header__actions { gap: .5rem; }
  .site-header__cta { min-height: 44px; padding-inline: 1rem; }
  .site-header__cta-more { display: none; }
  .nav-toggle { width: 44px; justify-content: center; padding: 0; }
  .nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .site-header.is-scrolled { background: rgba(25, 26, 23, .97); }
}

/* ---------- Shared section anatomy ---------- */
.section {
  position: relative;
  padding-block: var(--section-pad);
  background-color: var(--bg);
}

.grain { isolation: isolate; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--noise);
  pointer-events: none;
}

/* Eyebrow on top (same as Forløbet, Om os, FAQ, Kontakt), then the headline
   and its lede side by side on desktop, sharing a baseline at the bottom. */
.section-head {
  display: grid;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}
@media (min-width: 960px) {
  .section-head__main {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 1.5rem clamp(2.5rem, 5vw, 5rem);
    align-items: end;
  }
  .section-head__main > .lede,
  .section-head__main > .rating-sum { margin: 0; padding-bottom: .3rem; }
}

.rail {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: var(--wdth-label);
  letter-spacing: .01em;
  line-height: 1.2;
}
.rail::after {
  content: "";
  flex: 0 0 34px;
  height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 12px);
  opacity: .55;
}
/* keep lamp and dashes on the first line when a long school name wraps */
.rail > .lamp { align-self: flex-start; margin-top: calc(.6em - 5px); }
.rail::after { align-self: flex-start; margin-top: calc(.6em - 1px); }
.lamp {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 0 4px var(--lamp-halo);
}

.h2 {
  max-width: 17ch;
  margin: 0;
  font-size: var(--step-4);
  font-weight: 800;
  font-stretch: var(--wdth-display);
  line-height: .94;
  letter-spacing: -.018em;
}
/* Headlines that live in a narrow column step down one notch */
.route-aside .h2,
.enroll__head .h2,
.faq__side .h2,
.contact__info .h2 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4.25rem); }

.h3 {
  margin: 0 0 .75rem;
  font-size: var(--step-2);
  font-weight: 750;
  font-stretch: var(--wdth-head);
  line-height: 1.05;
  letter-spacing: -.005em;
}
.lede {
  max-width: 56ch;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.5;
}

/* Plates: licence-category boxes, like on a Danish kørekort */
.plates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 0;
}
.plate {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 1.9rem;
  padding: 0 .5rem;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-s);
  font-size: .95rem;
  font-weight: 800;
  font-stretch: 85%;
  line-height: 1;
}
.plate--code {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
  color: var(--bg);
}
.plate-note {
  margin-left: .35rem;
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 500;
}

.checklist {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  font-size: .98rem;
  line-height: 1.45;
}
.checklist .icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: .1rem;
  color: var(--accent-ink);
}

.stars {
  display: inline-flex;
  gap: 2px;
  margin: 0;
  color: var(--star);
}
.stars svg { width: 1.1rem; height: 1.1rem; }
.stars svg.off { opacity: .25; }
.stars--sm svg { width: .85rem; height: .85rem; }

/* ---------- Scroll reveal (only when motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .licenses .reveal:nth-child(2),
  .js .teachers .reveal:nth-child(2),
  .js .reviews .reveal:nth-child(2) { transition-delay: .08s; }
  .js .teachers .reveal:nth-child(3),
  .js .reviews .reveal:nth-child(3) { transition-delay: .16s; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* one screen: the demo bar sits above, the header overlays the photo */
  min-height: max(600px, min(100vh - var(--demo-h), 1200px));
  min-height: max(600px, min(100svh - var(--demo-h), 1200px));
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 1rem);
  overflow: hidden;
  background: var(--asfalt);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* phones: the windscreen with the green light and the pointing hand */
  object-position: 66% 30%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(25, 26, 23, .8) 0%, rgba(25, 26, 23, .5) 34%, rgba(25, 26, 23, 0) 52%),
    linear-gradient(0deg, var(--asfalt) 0%, rgba(25, 26, 23, .94) 34%, rgba(25, 26, 23, .7) 58%, rgba(25, 26, 23, .35) 78%, rgba(25, 26, 23, .15) 100%);
}
@media (min-width: 900px) {
  /* the driver's dark back carries the headline; the green light glows top right */
  .hero__media img { object-position: 50% 42%; }
  .hero__media img { filter: contrast(1.08) saturate(1.08); }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(25, 26, 23, .72) 0%, rgba(25, 26, 23, 0) 20%),
      linear-gradient(0deg, var(--asfalt) 0%, rgba(25, 26, 23, .78) 20%, rgba(25, 26, 23, 0) 46%),
      linear-gradient(90deg, rgba(25, 26, 23, .92) 0%, rgba(25, 26, 23, .74) 34%, rgba(25, 26, 23, .2) 62%, rgba(25, 26, 23, 0) 80%);
  }
}

.hero__inner { position: relative; }

.hero__kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: fit-content;
  margin: 0 0 1.1rem;
  padding: .38rem .9rem .38rem .7rem;
  border: 1px solid rgba(239, 237, 230, .12);
  border-radius: var(--radius-pill);
  background: rgba(18, 19, 17, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--kridt);
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: var(--wdth-label);
  letter-spacing: .01em;
}
@media (max-width: 480px) {
  /* keep the kicker on one line inside its pill */
  .hero__kicker {
    gap: .5rem;
    padding: .34rem .75rem .34rem .6rem;
    font-size: .8125rem;
    font-stretch: 92%;
    letter-spacing: 0;
  }
}
.hero__kicker::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal-lime);
  box-shadow: 0 0 0 4px rgba(182, 232, 74, .18), 0 0 18px rgba(182, 232, 74, .7);
}

.hero__title {
  margin: 0;
  color: var(--kridt);
  font-size: var(--step-5);
  font-size: min(var(--step-5), 11vh);
  font-size: min(var(--step-5), 11svh);
  font-weight: 850;
  font-stretch: 72%;
  line-height: .88;
  letter-spacing: -.022em;
}
.hero__title .ln { display: block; }
.hero__title .ln > span { display: inline-block; }

.hero__sub {
  max-width: 46ch;
  margin: clamp(1.25rem, 2.2vw, 1.6rem) 0 0;
  color: rgba(239, 237, 230, .9);
  font-size: var(--step-1);
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.5rem, 2.6vw, 2rem);
}
.hero__call {
  margin: 1rem 0 0;
  color: rgba(239, 237, 230, .72);
  font-size: .95rem;
}
.hero__call a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -.75rem;
  color: var(--kridt);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--signal-lime);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
  white-space: nowrap;
}
.hero__call a:hover { color: var(--signal-lime); }

/* The green wave: a lane marking that a wave of signal light runs through once */
.hero__lane {
  position: relative;
  height: 6px;
  margin-top: clamp(1.75rem, 3.5vw, 2.25rem);
}
.lane {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(239, 237, 230, .4) 0 48px, transparent 48px 84px);
}
.lane--wave {
  background: repeating-linear-gradient(90deg, var(--signal-lime) 0 48px, transparent 48px 84px);
  filter: drop-shadow(0 0 6px rgba(182, 232, 74, .8));
  /* 300% wide so the glow sits fully off-lane at both ends of the run
     (at 260% a faint green tail stayed on the last dash afterwards) */
  -webkit-mask: linear-gradient(90deg, transparent 0 36%, #000 46% 54%, transparent 64% 100%) 100% 0 / 300% 100% no-repeat;
  mask: linear-gradient(90deg, transparent 0 36%, #000 46% 54%, transparent 64% 100%) 100% 0 / 300% 100% no-repeat;
  opacity: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1rem;
  margin: 0;
  padding: 1.5rem 0 clamp(1.5rem, 3vw, 2rem);
  list-style: none;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}
.stat:nth-child(even) {
  padding-left: 1rem;
  background: repeating-linear-gradient(180deg, rgba(239, 237, 230, .22) 0 6px, transparent 6px 11px) left top / 1px 100% no-repeat;
}
.stat__num {
  color: var(--kridt);
  font-size: var(--step-2);
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
}
.stat__num small {
  color: var(--kridt-dim);
  font-size: .62em;
  font-weight: 600;
}
.stat__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  color: var(--kridt-dim);
  font-size: var(--step--1);
  line-height: 1.35;
}
/* Laptop screens are shorter than 900px once the browser chrome is taken off
   (1440×790, 1536×730, 1280×720): tighten the hero so the stats still show. */
@media (min-width: 900px) and (max-height: 880px) {
  .hero { padding-top: calc(var(--header-h) + .25rem); }
  .hero__kicker { margin-bottom: .75rem; }
  .hero__title { font-size: min(var(--step-5), 10svh); }
  .hero__sub { max-width: 54ch; margin-top: 1rem; font-size: clamp(1.05rem, .8rem + .6vw, 1.2rem); }
  .hero__actions { margin-top: 1.25rem; }
  .hero__actions .btn--lg { min-height: 50px; padding-block: .75rem; }
  .hero__call { margin-top: .6rem; }
  .hero__lane { margin-top: 1.1rem; }
  .stats { padding: 1.1rem 0 1.2rem; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .hero__title { font-size: min(var(--step-5), 9.5svh); }
  .hero__sub { margin-top: .75rem; }
  .hero__actions { margin-top: 1rem; }
}

@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat:not(:first-child) {
    padding-left: 1.5rem;
    background: repeating-linear-gradient(180deg, rgba(239, 237, 230, .22) 0 6px, transparent 6px 11px) left top / 1px 100% no-repeat;
  }
}

/* One orchestrated load moment: headline rises, then the green wave runs the lane */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .ln > span {
    opacity: 0;
    transform: translateY(.35em);
    animation: rise .9s var(--ease) forwards;
  }
  .js .hero__title .ln:nth-child(2) > span { animation-delay: .09s; }
  .js .hero__title .ln:nth-child(3) > span { animation-delay: .18s; }
  .js .hero__kicker,
  .js .hero__sub,
  .js .hero__actions,
  .js .hero__call {
    opacity: 0;
    animation: fade-up .8s var(--ease) .38s forwards;
  }
  .js .lane--wave { animation: wave 2.6s cubic-bezier(.45, .05, .3, 1) 1s both; }
  .js .hero__media img { animation: settle 2.4s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes wave {
  0% { opacity: 1; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { opacity: 1; -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}

/* ==========================================================================
   HVORFOR
   ========================================================================== */
.why {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 960px) {
  .why {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start;
  }
}
.why__media {
  position: relative;
  padding-bottom: 20%;
}
.why__photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--asfalt-3);
}
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__photo--main { width: 88%; aspect-ratio: 5 / 4; }
.why__photo--main img { object-position: 60% 50%; }
.why__photo--inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--bg);
  border-radius: calc(var(--radius-l) + 6px);
}
.why__chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  margin: 0;
  padding: .55rem .95rem;
  border-radius: var(--radius-pill);
  background: var(--asfalt);
  color: var(--kridt);
  font-size: .85rem;
  font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45);
}
.why__chip strong { color: var(--signal-lime); font-weight: 800; font-stretch: 85%; }

.why__list { margin: 0; padding: 0; list-style: none; }
.usp {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.6rem 0;
}
.usp:first-child { padding-top: 0; }
.usp + .usp { background: var(--dash-h) left top / 100% 1.5px no-repeat; }
.usp__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-ink);
}
.usp__icon .icon { width: 1.4rem; height: 1.4rem; }
.usp__title {
  margin: .5rem 0 .4rem;
  font-size: var(--step-1);
  font-weight: 750;
  font-stretch: 90%;
  line-height: 1.2;
}
.usp p { margin: 0; color: var(--muted); }

/* ==========================================================================
   KØREKORT
   ========================================================================== */
.licenses {
  display: grid;
  gap: var(--gap);
}
@media (min-width: 800px) {
  .licenses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .licenses { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lic--wide { grid-column: span 7; }
  .lic--narrow { grid-column: span 5; }
}

.lic {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--asfalt-2);
  transition: border-color .3s var(--ease);
}
.lic:hover { border-color: rgba(182, 232, 74, .35); }
/* The photo absorbs any height difference between neighbouring cards,
   so the text block never ends in a dead gap above the price. */
.lic__media {
  position: relative;
  flex: 1 0 auto;
  min-height: clamp(200px, 20vw, 290px);
  overflow: hidden;
  background: var(--asfalt-3);
}
@media (max-width: 799px) {
  /* single column: a proper 16:9 frame instead of a thin 3:1 strip, so the
     crops (wheel and screen in the 148 photo, the key) survive at 600–799px */
  .lic__media:not(.lic__media--art) { min-height: 0; aspect-ratio: 16 / 9; }
}
.lic__media img {
  --zoom: 1;
  --hover: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(var(--zoom) * var(--hover)));
  transition: transform .9s var(--ease);
}
/* the bright studio shot is graded down so it sits inside the dark section */
.lic__img--keys {
  object-position: 50% 64%;
  filter: brightness(.78) contrast(1.1) saturate(.88);
}
.lic__media--keys::after,
.lic__media--148::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lic__media--keys::after {
  background: radial-gradient(120% 90% at 55% 45%, rgba(25, 26, 23, 0) 45%, rgba(25, 26, 23, .4) 100%);
}
/* crop from the bottom (zoomed from the bottom edge) and shade the top, so the
   dealership flags outside the windscreen drop out. The extra .lic__media in the
   selector beats `.lic__media img { --zoom: 1 }`. */
.lic__media .lic__img--148 { --zoom: 1.2; object-position: 50% 100%; transform-origin: 50% 100%; }
.lic__media--148::after {
  background: linear-gradient(180deg, rgba(25, 26, 23, .9) 0%, rgba(25, 26, 23, .55) 12%, rgba(25, 26, 23, 0) 30%);
}
.lic__img--lyn { object-position: 30% 50%; }
.lic:hover .lic__media img { --hover: 1.035; }
.lic__media--art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem 1.5rem 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(182, 232, 74, .07), transparent 60%),
    var(--asfalt-3);
}
.trailer-art { display: block; width: 100%; max-width: 540px; height: auto; }
.trailer-art .ta-lbl,
.trailer-art .ta-total {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  font-stretch: 100%;
}
.trailer-art .ta-total { font-weight: 700; }
@media (max-width: 600px) {
  .lic__media--art { min-height: 230px; padding-inline: .75rem; }
}
/* the drawing renders at ~55–65% on phones and in the two-column tablet grid:
   scale the labels up so they stay legible */
@media (max-width: 600px), (min-width: 800px) and (max-width: 1099px) {
  .trailer-art .ta-lbl { font-size: 22px; }
  .trailer-art .ta-total { font-size: 23px; }
}

.lic__body {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: .9rem;
  padding: clamp(1.4rem, 2.5vw, 2.25rem);
}
.lic__body p { margin: 0; }
.lic__body > p:not([class]) { color: var(--muted); }
.lic__title {
  margin: 0;
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 76%;
  line-height: 1;
  letter-spacing: -.01em;
}
.lic__body .lic__note {
  display: flex;
  gap: .6rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  background: var(--wash);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
.lic__note .icon { width: 1.1rem; height: 1.1rem; margin-top: .15rem; color: var(--accent-ink); }
.lic__body .lic__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  background: var(--dash-h) left top / 100% 1.5px no-repeat;
}
.lic__price {
  font-size: var(--step-2);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.licenses__after {
  display: grid;
  gap: 1rem var(--gap);
  margin-top: var(--gap);
}
@media (min-width: 800px) {
  .licenses__after { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.lic-aside {
  display: flex;
  gap: .85rem;
  margin: 0;
  padding: 1.25rem 1.4rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}
.lic-aside .icon { margin-top: .1rem; color: var(--accent-ink); }
.lic-aside strong { color: var(--fg); }

/* ==========================================================================
   PRISER
   ========================================================================== */
.prices {
  display: grid;
  gap: var(--gap);
  align-items: stretch;
}
@media (min-width: 960px) {
  .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--hvid);
  box-shadow: var(--shadow-card);
}
.price--featured {
  border-color: transparent;
  background: var(--asfalt);
  box-shadow: 0 2px 0 rgba(25, 26, 23, .05), 0 30px 60px -30px rgba(25, 26, 23, .5);
}
@media (min-width: 960px) {
  .price--featured { margin-block: -1rem; padding-block: calc(clamp(1.6rem, 3vw, 2.5rem) + 1rem); }
}
.price__tag {
  position: absolute;
  top: 0;
  left: clamp(1.6rem, 3vw, 2.5rem);
  margin: 0;
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
  background: var(--signal-lime);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  font-stretch: 105%;
  transform: translateY(-50%);
}
.price__name {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1.05;
}
.price__for { margin: -.35rem 0 0; color: var(--muted); font-size: .95rem; }
.price__amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin: .4rem 0 .35rem;
  padding-bottom: 1.25rem;
  background: var(--dash-h) left bottom / 100% 1.5px no-repeat;
}
.price__num {
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem);
  font-weight: 850;
  font-stretch: 70%;
  line-height: .9;
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
.price__cur {
  color: var(--muted);
  font-size: var(--step-1);
  font-weight: 700;
}
.price .checklist { flex: 1; align-content: start; margin-bottom: 1.25rem; }
.price .btn { margin-top: auto; }

/* Tablet: stacked full-width cards get a two-column interior */
@media (min-width: 700px) and (max-width: 959px) {
  .price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-rows: auto auto auto 1fr auto;
    grid-template-areas:
      "name   list"
      "for    list"
      "amount list"
      ".      list"
      "btn    list";
    column-gap: 0;
    row-gap: .85rem;
  }
  .price__name { grid-area: name; }
  .price__for { grid-area: for; }
  .price__amount { grid-area: amount; }
  .price__name,
  .price__for,
  .price__amount,
  .price .btn { margin-right: clamp(1.5rem, 4vw, 2.5rem); }
  .price .checklist {
    grid-area: list;
    align-self: center;
    margin: 0;
    padding: .25rem 0 .25rem clamp(1.5rem, 4vw, 2.5rem);
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 12px, transparent 12px 22px) left top / 1.5px 100% no-repeat;
  }
  .price .btn { grid-area: btn; margin-top: .5rem; width: auto; }
  .price--featured { margin-top: .75rem; }
}

.pricing-more {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(2.25rem, 4.5vw, 3.75rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--hvid);
}
/* side by side only when the Tilkøb column is wide enough for its leaders */
@media (min-width: 1100px) {
  .pricing-more {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
  }
  .extras {
    padding-left: 4rem;
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 12px, transparent 12px 22px) left top / 1.5px 100% no-repeat;
  }
}

.lovpakke { margin: 0; }
.lovpakke__intro { max-width: 58ch; margin: 0; color: var(--muted); }
.lp {
  display: grid;
  gap: 1.1rem;
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
}
.lp__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .5rem;
  margin: 0 0 .45rem;
  font-size: .98rem;
  line-height: 1.3;
}
.lp__label strong {
  min-width: 2ch;
  font-size: var(--step-2);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.lp__label span { color: var(--muted); font-size: var(--step--1); }
.lp__road {
  position: relative;
  display: block;
  height: 20px;
  border-radius: 5px;
  background: var(--asfalt);
}
.lp__dashes {
  position: absolute;
  top: 50%;
  left: 8px;
  width: calc((100% - 16px) * var(--n) / 30);
  height: 5px;
  margin-top: -2.5px;
  background: linear-gradient(90deg, var(--c) 0 68%, transparent 68%) 0 0 / calc(100% / var(--n)) 100% repeat-x;
}
.lp__dashes--night::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: calc(100% / var(--n) * .32);
  width: calc(100% / var(--n) * .68);
  border-radius: 1px;
  background: var(--asfalt);
  box-shadow: inset 0 0 0 1.5px var(--signal);
}
@media (prefers-reduced-motion: no-preference) {
  .js .lp__dashes { clip-path: inset(0 100% 0 0); }
  .js .is-in .lp__dashes {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.2s var(--ease) calc(var(--i) * 140ms + 250ms);
  }
}
.lovpakke__foot { max-width: 58ch; color: var(--muted); font-size: .95rem; }

.extras p { margin: 0; color: var(--muted); }
.extras__h { margin-top: 2rem; }
.extras__list { display: grid; margin: 0; }
.extras__list div {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .65rem 0;
}
.extras__list dt { order: 1; }
.extras__list div::after {
  content: "";
  order: 2;
  flex: 1 1 1rem;
  min-width: 1rem;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-.3em);
}
.extras__list dd {
  order: 3;
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}

.fees {
  display: flex;
  gap: .75rem;
  max-width: 82ch;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.fees .icon { margin-top: .15rem; color: var(--accent-ink); }

@media (max-width: 480px) {
  /* Tilkøb: price on its own line instead of a squeezed dotted leader */
  .extras__list div { flex-wrap: wrap; justify-content: space-between; row-gap: .15rem; }
  .extras__list div::after { display: none; }
  .extras__list dt { flex: 1 1 12rem; }
  .extras__list dd { margin-left: auto; }
}
.fees strong { color: var(--fg); }

/* ==========================================================================
   FORLØBET — the road
   ========================================================================== */
.section--route { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.route-wrap {
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 960px) {
  .route-wrap {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
  .route-aside {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }
}
.route-aside__photo {
  margin: 2.5rem 0 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--asfalt-3);
}
.route-aside__photo img { width: 100%; height: 100%; object-fit: cover; }

.route {
  --road-w: 60px;
  position: relative;
  padding-block: 1.5rem;
}
@media (max-width: 599px) {
  .route { --road-w: 46px; }
}
.route::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--road-w);
  border-radius: 16px;
  background:
    linear-gradient(90deg,
      transparent 6px, rgba(239, 237, 230, .55) 6px 9px,
      transparent 9px calc(100% - 9px),
      rgba(239, 237, 230, .55) calc(100% - 9px) calc(100% - 6px), transparent calc(100% - 6px)),
    var(--asfalt-3);
}
.route::after,
.route__fill {
  position: absolute;
  top: 0;
  left: calc(var(--road-w) / 2 - 2px);
  width: 4px;
}
.route::after {
  content: "";
  bottom: 0;
  background: repeating-linear-gradient(180deg, rgba(239, 237, 230, .45) 0 18px, transparent 18px 34px);
}
.route__fill {
  z-index: 1;
  height: calc(var(--p, 1) * 100%);
  background: repeating-linear-gradient(180deg, var(--signal-lime) 0 18px, transparent 18px 34px);
  filter: drop-shadow(0 0 5px rgba(182, 232, 74, .75));
}
.route__list {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stop {
  position: relative;
  min-height: 4.5rem;
  padding: 0 0 clamp(2rem, 4vw, 3rem) calc(var(--road-w) + clamp(1.25rem, 3vw, 2.25rem));
}
.stop:last-child { padding-bottom: 0; }
.stop__lamp {
  position: absolute;
  top: -.2rem;
  left: calc(var(--road-w) / 2 - 20px);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 3px solid var(--asfalt-3);
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  font-stretch: 85%;
  box-shadow: 0 0 0 2px var(--signal-lime), 0 0 26px rgba(182, 232, 74, .45);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.route.is-armed .stop:not(.is-lit) .stop__lamp {
  background: #3A3C35;
  color: var(--kridt-dim);
  box-shadow: 0 0 0 2px rgba(239, 237, 230, .16);
}
.stop--goal .stop__lamp {
  width: 48px;
  height: 48px;
  top: -.6rem;
  left: calc(var(--road-w) / 2 - 24px);
  font-size: 1.15rem;
}
.stop__title {
  margin: 0 0 .4rem;
  font-size: var(--step-2);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1.05;
}
.stop p { max-width: 52ch; margin: 0; color: var(--muted); }

/* The road ends at a zebra crossing, then you sign up */
.zebra {
  height: clamp(56px, 7vw, 88px);
  margin-top: var(--section-pad);
  /* one symmetric tile (gap | stripe | gap), rounded to fit the width exactly,
     so the crossing starts and ends with the same half-gap on both edges */
  background: linear-gradient(90deg, transparent 25%, rgba(239, 237, 230, .86) 25% 75%, transparent 75%) center top / clamp(36px, 4.8vw, 60px) 100% round;
  opacity: .9;
}

/* ==========================================================================
   TILMELDING — the showcase
   ========================================================================== */
/* Phones/tablets: heading, steps, the form, then notes + contact.
   Desktop: the heading, steps and notes form a left column about as tall as
   the 1000px form, and the form card starts at the top of the section. */
.enroll {
  display: grid;
  gap: 1.75rem;
}
.enroll__side { display: contents; }
.enroll__head { order: 0; margin-bottom: .5rem; }
.enroll__steps { order: 1; }
.enroll__card { order: 2; }
.enroll__extra { order: 3; }

@media (min-width: 1024px) {
  .enroll {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
  .enroll__side {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    order: 0;
  }
  .enroll__head { margin-bottom: 0; }
  .enroll__card { order: 0; }
}

.enroll__steps {
  padding-top: 2rem;
  background: var(--dash-h) left top / 100% 1.5px no-repeat;
}
.steps {
  display: grid;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 1.5rem;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 2.9rem;
  bottom: .4rem;
  left: calc(1.25rem - 1px);
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 11px);
  opacity: .3;
}
.step__num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--kridt);
  font-weight: 800;
  font-stretch: 85%;
}
.step:first-child .step__num { background: var(--signal); color: var(--ink); }
.step__title {
  margin: .45rem 0 .25rem;
  font-size: var(--step-1);
  font-weight: 750;
  font-stretch: 88%;
  line-height: 1.2;
}
.step p { margin: 0; color: var(--muted); font-size: .98rem; }

.enroll__extra {
  display: grid;
  gap: 1.5rem;
}
.notes {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: .95rem;
}
.notes p {
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--signal);
}
.notes strong { color: var(--fg); }

.contact-mini {
  display: grid;
  gap: .35rem;
  padding: 1.5rem;
  border-radius: var(--radius-m);
  background: var(--asfalt);
}
.contact-mini p { margin: 0; }
.contact-mini__q { font-weight: 600; }
.contact-mini__phone,
.contact-mini__mail {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  color: var(--kridt);
  text-decoration: none;
}
.contact-mini__phone {
  margin-top: .35rem;
  font-size: var(--step-3);
  font-weight: 850;
  font-stretch: 74%;
  line-height: 1.05;
}
.contact-mini__phone .icon { width: 1.5rem; height: 1.5rem; color: var(--signal-lime); }
.contact-mini__mail { font-size: .95rem; overflow-wrap: anywhere; }
.contact-mini__mail .icon { color: var(--signal-lime); }
.contact-mini__phone:hover,
.contact-mini__mail:hover { color: var(--signal-lime); }
.contact-mini .contact-mini__note { margin-top: .35rem; color: var(--muted); font-size: .85rem; }

.enroll__card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--hvid);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(25, 26, 23, .06),
    0 2px 0 rgba(25, 26, 23, .04),
    0 40px 90px -40px rgba(25, 26, 23, .45);
}
/* Green lane marking along the top edge, inset past the rounded corners and
   built from one symmetric tile so both ends match. */
.enroll__card::before {
  content: "";
  display: block;
  height: 6px;
  margin-inline: 28px;
  background: linear-gradient(90deg, transparent 0 10px, var(--signal) 10px calc(100% - 10px), transparent calc(100% - 10px)) center top / 60px 100% round;
}
.enroll__card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  padding: .75rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(25, 26, 23, .08);
  color: var(--ink-dim);
}
.enroll__card-head .text-btn { min-height: 44px; margin-block: -.4rem; }
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .28rem .75rem;
  border: 1px solid rgba(97, 166, 16, .3);
  border-radius: var(--radius-pill);
  background: rgba(97, 166, 16, .09);
  color: var(--signal-deep);
  font-size: .78rem;
  font-weight: 700;
  font-stretch: 104%;
  white-space: nowrap;
}
.dl-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(97, 166, 16, .2);
}
.dl-embed {
  padding: clamp(.25rem, 1vw, .75rem) clamp(0rem, .6vw, .5rem) 0;
  background: var(--hvid);
}
.dl-embed iframe { display: block; width: 100%; }
.enroll__privacy {
  display: flex;
  gap: .65rem;
  margin: 0;
  padding: 1.1rem clamp(1rem, 3vw, 2rem) 1.3rem;
  border-top: 1px solid rgba(25, 26, 23, .08);
  background: #FAFAF8;
  color: var(--ink-dim);
  font-size: .85rem;
  line-height: 1.5;
}
.enroll__privacy .icon { width: 1.1rem; height: 1.1rem; margin-top: .1rem; color: var(--signal-deep); }

@media (max-width: 480px) {
  /* give the form every pixel: the card reaches to within 8px of the screen edge */
  .enroll__card {
    margin-inline: calc(-1 * var(--gutter) + .5rem);
    border-radius: 20px;
  }
  .enroll__card::before { margin-inline: 20px; }
  .dl-embed { padding-inline: 0; }
  .enroll__card-head,
  .enroll__privacy { padding-inline: 1rem; }
}

/* ==========================================================================
   OM OS
   ========================================================================== */
.about-head {
  display: grid;
  gap: 2.5rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}
@media (min-width: 960px) {
  .about-head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(3rem, 5vw, 5rem);
    align-items: end;
  }
}
.about-head__photo {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--asfalt-3);
}
@media (min-width: 960px) {
  .about-head__photo { aspect-ratio: 16 / 10; }
}
/* crop into the sharp row of houses, away from the blurred leaves and berries
   in the foreground (left third and bottom right of the original) */
.about-head__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* shows roughly x 330–1000, y 170–590 of the 1200×800 original:
     the row of coloured houses, a slice of sky, no blurred foliage */
  transform: scale(1.79);
  transform-origin: 62.3% 43.8%;
}

.teachers {
  display: grid;
  gap: 3rem var(--gap);
}
@media (min-width: 1100px) {
  .teachers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap) clamp(1.5rem, 3vw, 2.75rem); }
  .teacher:nth-child(2) { margin-top: 4.5rem; }
}
/* Tablet: one column of horizontal cards, portrait left, text right */
@media (min-width: 600px) and (max-width: 1099px) {
  .teachers { gap: 2.5rem; }
  .teacher {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
  }
  .teacher__photo { margin: 0; }
}
.teacher p { margin: 0; }
.teacher__body > p:not([class]) { margin-bottom: 1.1rem; color: var(--muted); }
.teacher__photo {
  position: relative;
  margin: 0 0 1.35rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--asfalt-3);
}
/* One shared grade so three different shoots read as one team */
.teacher__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(25, 26, 23, 0) 62%, rgba(25, 26, 23, .28) 100%),
    rgba(120, 104, 72, .1);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.teacher__photo img {
  --zoom: 1;
  --hover: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.84) contrast(1.05);
  transform: scale(calc(var(--zoom) * var(--hover)));
  transition: transform .9s var(--ease);
}
.teacher:hover .teacher__photo img { --hover: 1.03; }
/* Jonas is shot much wider than the others: frame him tighter */
.teacher__photo--wide img {
  --zoom: 1.38;
  object-position: 50% 20%;
  transform-origin: 50% 24%;
}
@media (max-width: 599px) {
  .teacher__photo { aspect-ratio: 4 / 3; }
  .teacher__photo img { object-position: 50% 26%; }
  .teacher__photo--wide img { object-position: 50% 22%; transform-origin: 50% 30%; }
}
.teacher__name {
  margin: 1rem 0 .3rem;
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 76%;
  line-height: 1;
  letter-spacing: -.01em;
}
.teacher .teacher__role {
  margin-bottom: 1rem;
  color: var(--accent-ink);
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: 105%;
}
.teacher .teacher__fun {
  padding: .9rem 1rem;
  border-left: 3px solid var(--signal-lime);
  border-radius: 0 12px 12px 0;
  background: var(--wash);
  color: var(--kridt);
  font-size: .95rem;
  font-style: italic;
  line-height: 1.5;
}

/* ==========================================================================
   ANMELDELSER
   ========================================================================== */
.rating-sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin: 1.35rem 0 0;
  font-size: var(--step-1);
}
.rating-sum .stars svg { width: 1.3rem; height: 1.3rem; }

.reviews {
  display: grid;
  gap: var(--gap);
}
@media (min-width: 720px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review--feature { grid-column: 1 / -1; }
}
@media (min-width: 720px) and (max-width: 1099px) {
  /* 1 + 2 + 2 + 1: the last quote runs full width instead of standing alone */
  .review:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .reviews { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .review--feature { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .review:nth-child(2),
  .review:nth-child(3) { grid-column: span 5; }
  .review:nth-child(n + 4) { grid-column: span 4; }
}
.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--hvid);
}
.review blockquote { flex: 1; margin: 0; }
.review blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.review figcaption { color: var(--muted); font-size: var(--step--1); }
.review figcaption strong { color: var(--fg); font-weight: 700; }

.review--feature {
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-color: transparent;
  background: var(--signal);
  color: var(--ink);
}
.review--feature .stars { color: var(--ink); }
.review--feature blockquote { flex: 0 1 auto; }
.review--feature blockquote p {
  font-size: var(--step-3);
  font-weight: 700;
  font-stretch: 80%;
  line-height: 1.08;
  letter-spacing: -.01em;
}
.review--feature figcaption { color: var(--ink); font-size: var(--step-0); }
.review--feature figcaption strong { color: var(--ink); }

/* ==========================================================================
   FAQ
   ========================================================================== */
#anmeldelser { padding-bottom: calc(var(--section-pad) * .6); }
.section--faq { padding-top: 0; }
.faq {
  display: grid;
  gap: 2.5rem;
  padding-top: calc(var(--section-pad) * .6);
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 30px, transparent 30px 52px) left top / 100% 2px no-repeat;
}
@media (min-width: 960px) {
  .faq {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(3rem, 6vw, 6rem);
  }
  .faq__side {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
  }
}
.faq__help {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--hvid);
}
.faq__help p { margin: 0 0 1.1rem; color: var(--muted); }

.faq-item {
  background: var(--dash-h) left bottom / 100% 1.5px no-repeat;
}
.faq-item:first-child { background-image: var(--dash-h), var(--dash-h); background-position: left top, left bottom; background-size: 100% 1.5px, 100% 1.5px; background-repeat: no-repeat; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-size: var(--step-1);
  font-weight: 650;
  font-stretch: 94%;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-item summary:focus-visible { outline-offset: 2px; border-radius: 6px; }
.faq-item__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: var(--fg);
  transition: background-color .25s, border-color .25s;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__body { max-width: 64ch; padding: 0 0 1.6rem; color: var(--muted); }
.faq-item__body p { margin: 0; }
@media (min-width: 720px) {
  .faq-item__body { padding-right: 3.5rem; }
}

/* Smooth open where supported (progressive) */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq-item::details-content {
      height: 0;
      overflow: clip;
      transition: height .35s var(--ease), content-visibility .35s allow-discrete;
    }
    .faq-item[open]::details-content { height: auto; }
  }
}

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact {
  display: grid;
  gap: 3rem;
}
@media (min-width: 960px) {
  .contact {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}
.contact__phone {
  display: inline-block;
  margin: 2.25rem 0 1.5rem;
  color: var(--kridt);
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.75rem);
  font-weight: 850;
  font-stretch: 72%;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.contact__phone:hover { color: var(--signal-lime); }
.contact__list {
  display: grid;
  gap: .8rem;
  margin: 0 0 2.25rem;
  padding: 0;
  list-style: none;
}
.contact__list li { display: flex; align-items: center; gap: .75rem; min-height: 44px; overflow-wrap: anywhere; }
.contact__list .icon { color: var(--signal-lime); }
.contact__list .link { display: inline-flex; align-items: center; min-height: 44px; }

.hours {
  max-width: 28rem;
  padding-top: 1.75rem;
  background: var(--dash-h) left top / 100% 1.5px no-repeat;
}
.hours__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .6rem;
  font-size: var(--step-0);
  font-weight: 700;
  font-stretch: 96%;
}
.hours__title .icon { color: var(--signal-lime); }
.hours__list {
  display: grid;
  max-width: 28rem;
  margin: 0 0 1.75rem;
}
.hours__list:last-child { margin-bottom: 0; }
.hours__list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
}
.hours__list dt { color: var(--muted); }
.hours__list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums lining-nums;
}

@media (min-width: 960px) {
  /* the map travels with the (longer) info column instead of leaving a hole */
  .map { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.map {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--asfalt-2);
}
.map__canvas { position: relative; container-type: inline-size; }
.map__svg { display: block; width: 100%; height: auto; }
.map__lbl { font-family: var(--font); font-size: 13px; font-weight: 600; font-stretch: 112%; }
.map__n { font-family: var(--font); font-size: 11px; font-weight: 700; }
@media (max-width: 600px) {
  /* the SVG renders at ~55% on phones: scale the labels back up to legible sizes */
  .map__lbl { font-size: 22px; }
  .map__n { font-size: 18px; }
  .map__compass { transform: scale(1.4); transform-origin: 588px 470px; }
}
/* Pin label: HTML over the map, placed on the SVG's 640 × 520 grid.
   It grows upwards from the pin, so a long name wraps without covering it. */
.map__callout {
  position: absolute;
  left: 55%;              /* x 352 */
  bottom: 59.25%;         /* y 212 */
  min-width: 26.9%;       /* 172 units, the box for the demo name */
  max-width: 42%;         /* stops short of the compass column */
  margin: 0;
  padding: .45em 1.05em .6em;
  border-radius: .8em;
  background: var(--kridt);
  color: var(--ink);
  font-size: 14px;
  font-size: max(13px, 2.35cqw); /* 15 units, but never below 13px */
  line-height: 1.2;
}
.map__callout::after {
  /* the little tail pointing down to the pin */
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: -.25em;
  width: .85em;
  height: .85em;
  background: inherit;
  clip-path: polygon(35% 0, 100% 0, 0 100%);
}
.map__callout-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-weight: 800;
  font-stretch: 84%;
  overflow-wrap: break-word;
}
.map__callout-addr {
  display: block;
  margin-top: .1em;
  color: var(--ink-dim);
  font-size: .84em;
  font-weight: 500;
}
.map figcaption {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem;
  background: var(--asfalt-0);
}
.site-footer__top {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr auto; align-items: end; }
}
.logo--lg {
  --u: clamp(1.2px, .15vw, 1.9px); /* 240–380px wide */
  display: flex;
  width: fit-content;
  max-width: 100%;
  padding-block: 0;
  margin-block: 0;
}
.logo--lg .logo__name { -webkit-line-clamp: 3; }
.site-footer__tagline { margin: 1.25rem 0 0; color: var(--muted); font-size: var(--step-1); }
.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__nav ul { column-gap: 1.75rem; row-gap: 0; }
.site-footer__nav a {
  display: inline-block;
  padding-block: .7rem;
  color: var(--kridt);
  font-weight: 500;
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--signal-lime); }
.site-footer__lane {
  height: 3px;
  margin: 3rem 0 2rem;
  background: repeating-linear-gradient(90deg, rgba(239, 237, 230, .25) 0 32px, transparent 32px 56px);
}
.site-footer__bottom {
  display: grid;
  gap: .8rem;
  color: var(--muted);
  font-size: .85rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.25rem;
}
.site-footer__demo .link,
.site-footer__designs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -.6rem; }
.site-footer__demo .text-btn { min-height: 44px; }
.site-footer__demo .link { font-weight: 600; color: var(--kridt); }
.site-footer__designs a {
  color: var(--kridt);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(239, 237, 230, .3);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .25em;
}
.site-footer__designs a:hover { color: var(--signal-lime); text-decoration-color: var(--signal-lime); }
.site-footer__designs a[aria-current="page"] { color: var(--signal-lime); text-decoration-color: var(--signal-lime); }
/* "Tilpas demoen" (added by ../demo-tilpas.js): a demo action, styled like
   the "Se hvordan formularen er sat ind" text button above it */
.site-footer .dlc-linkbtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -.6rem;
  font-weight: 600;
  text-decoration-color: var(--signal-lime);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .25em;
}
.site-footer .dlc-linkbtn:hover { color: var(--signal-lime); }
.site-footer__credits { max-width: 90ch; font-size: .8125rem; }

/* ==========================================================================
   EMBED DIALOG (demo layer)
   ========================================================================== */
.embed-dialog {
  width: min(100% - 2rem, 760px);
  max-height: min(92vh, 900px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: var(--asfalt-2);
  color: var(--kridt);
  box-shadow: 0 0 0 1px rgba(239, 237, 230, .08), 0 40px 120px -20px rgba(0, 0, 0, .7);
}
.embed-dialog::backdrop {
  background: rgba(12, 13, 11, .72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
@media (prefers-reduced-motion: no-preference) {
  .embed-dialog[open] { animation: dialog-in .35s var(--ease); }
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.embed-dialog__inner { padding: clamp(1.25rem, 4vw, 2.5rem); }
.embed-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.embed-dialog__x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(239, 237, 230, .2);
  border-radius: 50%;
  background: transparent;
  color: var(--kridt);
  cursor: pointer;
}
.embed-dialog__x:hover { background: rgba(239, 237, 230, .08); }
.embed-dialog__title {
  margin: 0 0 .8rem;
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 76%;
  line-height: 1;
}
.embed-dialog__desc { max-width: 60ch; margin: 0 0 1.5rem; color: var(--kridt-dim); }

.code {
  overflow: hidden;
  border: 1px solid rgba(239, 237, 230, .08);
  border-radius: 14px;
  background: var(--asfalt-0);
}
.code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1rem;
  border-bottom: 1px solid rgba(239, 237, 230, .08);
  color: var(--kridt-dim);
  font-size: .78rem;
}
.code__dots { display: inline-flex; gap: 5px; }
.code__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(239, 237, 230, .18);
}
.code__dots i:last-child { background: var(--signal); }
.code__pre {
  margin: 0;
  padding: 1rem 1.1rem 1.2rem;
  color: var(--kridt);
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.7;
  white-space: pre;       /* keep the snippet's own indentation; long lines scroll */
  overflow-x: auto;
  padding-right: 2.5rem;
  /* soft right edge hints that the long src line scrolls sideways */
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent);
  tab-size: 2;
  scrollbar-color: rgba(239, 237, 230, .25) transparent;
}
.tk-t { color: var(--signal-lime); }
.tk-a { color: #C9C7BE; }
.tk-s { color: #E6D8A2; }

.embed-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
}
.embed-dialog__status {
  flex-basis: 100%;
  min-height: 1.3em;
  margin: 0;
  color: var(--signal-lime);
  font-size: .85rem;
}
#copy-embed { min-width: 11.5rem; }
#copy-embed.is-copied { --btn-bg: var(--signal-lime); --btn-border: var(--signal-lime); }
.embed-dialog__foot {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  color: var(--kridt-dim);
  font-size: .9rem;
  background: repeating-linear-gradient(90deg, rgba(239, 237, 230, .25) 0 16px, transparent 16px 28px) left top / 100% 1.5px no-repeat;
}
.embed-dialog__foot .link { color: var(--kridt); }

/* ---------- Tap targets for small inline links ---------- */
.lic__foot .link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -.6rem;
}
.contact-mini__phone,
.contact-mini__mail { min-height: 44px; }
.text-btn { min-height: 44px; }

/* ---------- Phones: running text never below 16px ---------- */
@media (max-width: 600px) {
  .notes,
  .fees,
  .step p,
  .checklist li,
  .lic-aside,
  .lovpakke__foot,
  .teacher .teacher__fun,
  .price__for,
  .hero__call { font-size: 1rem; }
  .enroll__privacy { font-size: .9375rem; }
}

/* ---------- Print ---------- */
@media print {
  .demo-bar,
  .site-header,
  .hero__lane,
  .zebra,
  .embed-dialog { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
