/* Kapklar.dk. Skrifttyper ligger på egen server: ingen kald til Google. */
@font-face {
  font-family: 'Barlow';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/barlow-condensed-800.woff2') format('woff2');
}
/* Layout: mørkeblå topbjælke og hero som appen, en tommestok som skillelinje, derefter lyse sektioner på 1180px bredde. Tegningen i hero er et rigtigt regnestykke. */
:root {
  --navy: #1e4078;
  --navy-900: #112a52;
  --navy-950: #0b1d3b;
  --amber: #f59e0b;
  --amber-300: #fcd34d;
  --amber-ink: #92400e;
  --amber-soft: #fef3c7;
  --paper: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --ink: #1e293b;
  --muted: #4a5568;
  --line: #d5deea;
  --line-strong: #94a3b8;
  --icon-bg: #eff6ff;
  --link: #1e4078;
  --whole: #e5e7eb;
  --whole-stroke: #475569;
  --cut: #f59e0b;
  --waste: #dc2626;
  --reused: #16a34a;
  --stud: #374151;
  --ok-bg: #dcfce7;
  --ok-ink: #14532d;
  --on-navy: #ffffff;
  --on-navy-muted: #c7d4ea;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.06), 0 8px 24px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 0.08), 0 24px 60px rgb(11 29 59 / 0.35);
  --f-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: ui-monospace, Menlo, Consolas, monospace;
  --r: 8px;
  --r-card: 16px;
  --max: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0b1324;
    --surface: #13203a;
    --surface-2: #182844;
    --ink: #eef2f8;
    --muted: #b6c3d6;
    --line: #26385a;
    --line-strong: #4b6185;
    --icon-bg: #1e3a5f;
    --link: #93c5fd;
    --whole: #2b3b58;
    --whole-stroke: #9fb0c9;
    --stud: #cbd5e1;
    --amber-soft: #3b2405;
    --amber-ink: #fcd34d;
    --ok-bg: #052e16;
    --ok-ink: #bbf7d0;
    --shadow: 0 0 0 1px #26385a, 0 8px 24px rgb(0 0 0 / 0.3);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #0b1324;
  --surface: #13203a;
  --surface-2: #182844;
  --ink: #eef2f8;
  --muted: #b6c3d6;
  --line: #26385a;
  --line-strong: #4b6185;
  --icon-bg: #1e3a5f;
  --link: #93c5fd;
  --whole: #2b3b58;
  --whole-stroke: #9fb0c9;
  --stud: #cbd5e1;
  --amber-soft: #3b2405;
  --amber-ink: #fcd34d;
  --ok-bg: #052e16;
  --ok-ink: #bbf7d0;
  --shadow: 0 0 0 1px #26385a, 0 8px 24px rgb(0 0 0 / 0.3);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
}
a {
  color: var(--link);
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0.005em;
}
h2 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
}
h3 {
  font-size: 26px;
  font-weight: 700;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 20px;
}
.mono {
  font-family: var(--f-mono);
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.lede {
  font-size: 20px;
  color: var(--muted);
  max-width: 60ch;
}
.sec {
  padding-block: 96px;
}
.sec-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 48px;
}

/* Knapper */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--amber {
  background: var(--amber);
  color: #1e293b;
}
.btn--amber:hover {
  background: var(--amber-300);
}
.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--ghost {
  border-color: rgb(255 255 255 / 0.45);
  color: #fff;
}
.btn--ghost:hover {
  border-color: #fff;
}
.btn--line {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}
.btn svg {
  width: 18px;
  height: 18px;
}

/* Topbjælke */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08);
}
.top__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.brand svg {
  width: 36px;
  height: 36px;
  flex: none;
}
.brand b {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  display: block;
}
.brand small {
  display: block;
  font-size: 12px;
  color: var(--on-navy-muted);
  line-height: 1.2;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  color: var(--on-navy-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 8px;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: #fff;
  background: rgb(255 255 255 / 0.12);
}
.top .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 16px;
}
.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: #fff;
  padding: 10px;
  cursor: pointer;
}
.menu-btn svg {
  width: 26px;
  height: 26px;
}
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .top__in {
    gap: 12px;
  }
  .brand small {
    display: none;
  }
  .top .btn--amber {
    margin-left: auto;
    padding: 0 14px;
    white-space: nowrap;
    font-size: 15px;
  }
  .menu-btn {
    margin-left: 0;
  }
  .menu-btn {
    display: block;
  }
  .top.open .nav {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-900);
    padding: 12px 20px 20px;
    gap: 2px;
  }
  .top.open .nav a {
    padding: 14px;
    font-size: 18px;
  }
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size:
    60px 60px,
    60px 60px,
    12px 12px,
    12px 12px;
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
  padding-block: 72px 88px;
}
@media (max-width: 980px) {
  .hero__in {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 48px 64px;
  }
}
.hero h1 {
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.hero h1 span {
  display: block;
}
.hero h1 .hl {
  color: var(--amber);
}
.hero .eyebrow {
  color: var(--amber-300);
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero .eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--amber);
}
.hero .lede {
  color: var(--on-navy-muted);
  margin-top: 24px;
  font-size: 21px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--on-navy-muted);
  list-style: none;
  padding: 0;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checks svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
  flex: none;
}

/* Tegnearket */
.sheet {
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.sheet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.sheet__head b {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
}
.pill {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber-ink);
  white-space: nowrap;
}
.sheet__draw {
  padding: 10px 14px 0;
  background: var(--surface);
}
.sheet__draw svg {
  width: 100%;
  height: auto;
  display: block;
}
.sheet__ctrl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  padding: 14px 18px 4px;
}
@media (max-width: 520px) {
  .sheet__ctrl {
    grid-template-columns: 1fr;
  }
}
.slider label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.slider output {
  font-family: var(--f-mono);
  color: var(--ink);
  font-weight: 600;
}
.slider input {
  width: 100%;
  accent-color: var(--amber);
  margin: 8px 0 0;
  height: 28px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.stat {
  padding: 12px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.stat:nth-child(3n) {
  border-right: 0;
}
.stat:nth-child(n + 4) {
  border-bottom: 0;
}
@media (max-width: 520px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .stat:nth-child(2n) {
    border-right: 0;
  }
  .stat:nth-child(n + 4) {
    border-bottom: 1px solid var(--line);
  }
  .stat:nth-child(n + 5) {
    border-bottom: 0;
  }
}
.stat dt {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.stat dd {
  margin: 2px 0 0;
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat dd small {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  display: block;
  line-height: 1.3;
}
.check[hidden] {
  display: none;
}
.check {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 600;
  cursor: pointer;
}
.check input {
  width: 24px;
  height: 24px;
  accent-color: var(--amber);
}
.sheet__note {
  padding: 10px 18px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.plate {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .plate {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

/* Tommestok */
.ruler {
  background: #fbbf24;
  color: #111827;
  border-block: 2px solid #111827;
  height: 54px;
  overflow: hidden;
}
.ruler svg {
  display: block;
  height: 54px;
  width: 100%;
}

/* Trin */
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  counter-reset: s;
}
@media (max-width: 860px) {
  .steps3 {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}
.step {
  display: grid;
  gap: 18px;
}
.step__n {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber);
  color: #1e293b;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  display: grid;
  place-items: center;
  flex: none;
}
.step h3 {
  font-size: 28px;
}
.step p {
  color: var(--muted);
}

/* Telefonramme */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 750 / 1624;
  border-radius: 40px;
  padding: 10px;
  background: #0f172a;
  box-shadow: var(--shadow);
}
.phone::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 22px;
  border-radius: 20px;
  background: #0f172a;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 31px;
}
.phone--crop {
  aspect-ratio: 750 / 1180;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 0;
}
.phone--crop img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.tile p {
  color: var(--muted);
}
.tile .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--icon-bg);
  display: grid;
  place-items: center;
  color: var(--link);
}
.tile .ico svg {
  width: 26px;
  height: 26px;
}
.t-ks {
  grid-column: span 3;
  grid-row: span 2;
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.t-ks p {
  color: var(--on-navy-muted);
}
.t-ks .eyebrow {
  color: var(--amber-300);
}
.t-ks .phones {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  align-items: flex-end;
}
.t-ks .phone {
  max-width: 210px;
  margin-bottom: -34px;
}
.t-ks .phone:nth-child(2) {
  margin-bottom: -80px;
}
.t-price {
  grid-column: span 3;
}
.t-price .split {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 20px;
  align-items: end;
}
.t-price .phone {
  max-width: 160px;
  margin-bottom: -60px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.t-sm {
  grid-column: span 3;
}
@media (min-width: 1000px) {
  .t-sm {
    grid-column: span 1;
  }
  .t-sm.w2 {
    grid-column: span 2;
  }
}
@media (max-width: 860px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .t-ks,
  .t-price,
  .t-sm,
  .t-sm.w2 {
    grid-column: auto;
    grid-row: auto;
  }
  .t-price .split {
    grid-template-columns: 1fr;
  }
  .t-price .phone {
    margin: 0 auto -60px;
  }
}
.t-sm h3 {
  font-size: 23px;
}
.t-sm p {
  font-size: 15px;
}

/* Sjakket */
.crew {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
}
@media (max-width: 860px) {
  .crew {
    grid-template-columns: 1fr;
  }
}
.crew > div {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 12px;
  align-content: start;
}
.crew > div:last-child {
  border-right: 0;
}
@media (max-width: 860px) {
  .crew > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .crew > div:last-child {
    border-bottom: 0;
  }
}
.crew .role {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--amber-ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.crew h3 {
  font-size: 30px;
}
.crew ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.crew li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
}
.crew li svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
  margin-top: 4px;
}

/* Tillid */
.trust {
  background: var(--navy-950);
  color: #fff;
}
.trust__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px) {
  .trust__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .trust__grid {
    grid-template-columns: 1fr;
  }
}
.trust h2 {
  color: #fff;
}
.trust .big {
  font-family: var(--f-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.trust p {
  color: var(--on-navy-muted);
}
.trust h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--f-mono);
  font-size: 22px;
  color: var(--amber-ink);
  flex: none;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details > div {
  padding: 0 22px 20px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

/* CTA-bånd */
.cta {
  background: var(--amber);
  color: #1e293b;
}
.cta__in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding-block: 64px;
}
@media (max-width: 800px) {
  .cta__in {
    grid-template-columns: 1fr;
  }
}
.cta h2 {
  font-size: clamp(36px, 5vw, 60px);
  text-transform: uppercase;
}
.cta p {
  font-size: 19px;
  margin-top: 10px;
  max-width: 52ch;
}
.cta .btn--navy {
  min-height: 60px;
  font-size: 19px;
  padding: 0 30px;
}

/* Bund */
.foot {
  background: var(--navy-950);
  color: var(--on-navy-muted);
  padding-block: 56px 96px;
  font-size: 16px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}
@media (max-width: 800px) {
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.foot h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  font-family: var(--f-mono);
  font-weight: 500;
}
.foot a {
  color: var(--on-navy-muted);
  text-decoration: none;
  display: block;
  padding: 4px 0;
}
.foot a:hover {
  color: #fff;
}
.foot__base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13px;
}

/* Undersider */
.page[hidden] {
  display: none !important;
}
.sub-hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.sub-hero .wrap {
  position: relative;
  padding-block: 64px 56px;
  display: grid;
  gap: 16px;
}
.sub-hero h1 {
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
}
.sub-hero .eyebrow {
  color: var(--amber-300);
}
.sub-hero .lede {
  color: var(--on-navy-muted);
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.jump a {
  color: #fff;
  text-decoration: none;
  border: 1.5px solid rgb(255 255 255 / 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}
.jump a:hover {
  border-color: var(--amber);
  color: var(--amber-300);
}

.feat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-block: 72px;
  border-bottom: 1px solid var(--line);
}
.feat:last-child {
  border-bottom: 0;
}
.feat:nth-child(even) .feat__media {
  order: -1;
}
@media (max-width: 860px) {
  .feat {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 56px;
  }
  .feat:nth-child(even) .feat__media {
    order: 0;
  }
}
.feat__txt {
  display: grid;
  gap: 16px;
  align-content: start;
}
.feat__txt h2 {
  font-size: clamp(34px, 4.2vw, 46px);
}
.feat__txt p {
  color: var(--muted);
}
.feat__txt ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.feat__txt li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}
.feat__txt li svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
  margin-top: 3px;
}
.feat__media {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}
.feat__media .phone {
  max-width: 260px;
}
.feat__media .phone + .phone {
  margin-top: 56px;
}
.note {
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--amber);
  padding: 6px 12px;
  background: var(--amber-soft);
  border-radius: 0 6px 6px 0;
}

.tabs {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  flex-wrap: wrap;
}
.tabs button {
  font: inherit;
  font-weight: 700;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 9px;
  cursor: pointer;
  min-height: 44px;
}
.tabs button[aria-selected='true'] {
  background: var(--navy);
  color: #fff;
}
.howto {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
@media (max-width: 860px) {
  .howto {
    grid-template-columns: 1fr;
  }
}
.howto .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.howto .card p {
  color: var(--muted);
}
.howto kbd {
  font-family: var(--f-mono);
  font-size: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  color: var(--ink);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }
}
form.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-weight: 700;
  font-size: 15px;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  min-height: 48px;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.sent {
  background: var(--ok-bg);
  color: var(--ok-ink);
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.mailbox {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.mailbox code {
  font-family: var(--f-mono);
  font-size: 17px;
  font-weight: 600;
  user-select: all;
}
.mailbox button {
  font: inherit;
  font-size: 16px;
  min-height: 48px;
  font-weight: 700;
  border: 1.5px solid var(--line-strong);
  background: none;
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  margin-left: auto;
}

.legal {
  max-width: 760px;
  display: grid;
  gap: 32px;
}
.legal section {
  display: grid;
  gap: 10px;
}
.legal h2 {
  font-size: 32px;
}
.legal p {
  color: var(--muted);
}
.legal .upd {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--muted);
}

/* Læs højt: bruger telefonens egen oplæsning. */
.read {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: var(--surface);
  color: var(--navy);
  font: 700 16px/1 var(--f-body);
  box-shadow: 0 6px 20px rgb(15 23 42 / 0.18);
  cursor: pointer;
}
.read svg {
  width: 22px;
  height: 22px;
}
.read[aria-pressed='true'] {
  background: var(--navy);
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  .read {
    border-color: var(--amber);
    color: var(--amber);
  }
}
/* Udkast-mærke på jura-siderne. */
.draft {
  border: 2px dashed var(--amber);
  background: var(--amber-soft);
  color: #78350f;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  margin-bottom: 28px;
}
/* Pris-kortet. */
.price {
  max-width: 560px;
  border: 2px solid var(--navy);
  border-radius: 16px;
  background: var(--surface);
  padding: 32px;
  display: grid;
  gap: 16px;
}
.price__n {
  font-family: var(--f-display);
  font-size: clamp(52px, 14vw, 72px);
  white-space: nowrap;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.price__n small {
  font-size: 20px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 6px;
}
.price ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.price li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price li svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--reused);
  margin-top: 2px;
}
/* Sagens rejse. */
.journey {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: j;
}
@media (max-width: 860px) {
  .journey {
    grid-template-columns: 1fr 1fr;
  }
}
.journey li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.journey b {
  font-family: var(--f-display);
  font-size: 22px;
}
.journey .soon {
  justify-self: start;
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.prose {
  max-width: 720px;
  display: grid;
  gap: 14px;
}
.prose h2 {
  font-size: 30px;
  margin-top: 18px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 50;
  background: var(--amber);
  color: #1e293b;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus {
  left: 8px;
}
.tabs--mat {
  grid-column: 1 / -1;
  justify-self: start;
}
.tabs--mat button {
  min-height: 48px;
}
.extras {
  list-style: none;
  margin: 0;
  padding: 10px 18px 4px;
  display: grid;
  gap: 4px;
  font-size: 15px;
  color: var(--muted);
}
.extras li::before {
  content: '·';
  margin-right: 8px;
  color: var(--amber);
  font-weight: 700;
}
