/* Nord Auto Consult
   Farver målt fra den tidligere side. Skrifttyperne findes på besøgendes egen enhed
   (DIN/Bahnschrift-familien), så siden ikke henter noget fra Google eller andre. */
:root {
  --guld: #d4be75;
  --guld-2: #b2955f;
  --guld-3: #8b703e;
  --moerk: #2f2e2e;
  --tekst: #2f2e2e;
  --graa: #f1f1f1;
  --graa-2: #d9d5d4;
  --graa-3: #cfcac9;
  --hvid: #fff;
  --roed: #c8392f;

  --skrift-smal: "DIN Condensed", "Bahnschrift Condensed", "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --skrift: "DIN Alternate", "DIN Next", "Bahnschrift", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --skrift-serif: Georgia, "Times New Roman", Times, serif;

  --menu-hoejde: 68px;
  --kant: max(16px, env(safe-area-inset-left, 0px));
  --kant-h: max(16px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--menu-hoejde) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hvid);
  color: var(--tekst);
  font-family: var(--skrift);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.9;
  letter-spacing: .03em;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--guld-3); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spring-over { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--moerk); color: #fff; padding: 8px 14px; }
.spring-over:focus { top: 8px; }

/* ---------- Menu ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--guld);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .18);
}
.top-indre {
  max-width: 1360px;
  margin: 0 auto;
  height: var(--menu-hoejde);
  padding-left: var(--kant);
  padding-right: var(--kant-h);
  display: flex;
  align-items: center;
  gap: 40px;
}
.top-logo { flex: none; align-self: flex-start; margin-top: 12px; display: block; width: 62px; height: 62px; color: #fff; border-radius: 50%; }
.top-logo .emblem { width: 100%; height: 100%; display: block; }
.hovedmenu { flex: 1; }
.hovedmenu ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 12px; }
.hovedmenu a {
  font-family: var(--skrift-serif);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .02em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--moerk);
  white-space: nowrap;
  padding: 6px 0;
  display: block;
  transition: color .2s;
}
.hovedmenu a:hover, .hovedmenu a[aria-current="page"] { color: var(--guld-3); }
.menu-knap { display: none; }

/* Kompassets nål drejer en omgang */
.emblem .pil { transform-box: view-box; transform-origin: 127.9px 126.2px; }
.emblem.drej .pil { animation: drej 2.2s cubic-bezier(.3, .1, .25, 1) .3s both; }
@keyframes drej {
  0% { transform: rotate(-360deg); }
  78% { transform: rotate(9deg); }
  90% { transform: rotate(-3deg); }
  100% { transform: rotate(0); }
}

/* ---------- Fælles byggeklodser ---------- */
.afsnit { padding: 72px var(--kant-h) 72px var(--kant); }
.overskrift {
  font-family: var(--skrift-smal);
  font-stretch: condensed;
  font-weight: 700;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
  color: var(--moerk);
  text-wrap: balance;
}
.overskrift.versaler { text-transform: uppercase; }
.forord, .undertitel { text-align: center; font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; margin: 0 0 .25em; }
.undertitel { margin: .35em 0 0; }
.intro { max-width: 760px; margin: 36px auto 0; text-align: center; font-size: 1.3rem; line-height: 1.75; }
.broedtekst { line-height: 2.05; }
.broedtekst.smal { max-width: 1120px; margin: 36px auto 0; font-size: 1.2rem; }
.streg { display: block; width: 52px; height: 3px; background: var(--moerk); margin: 26px auto; }
.graa { background: var(--graa); }

.knap {
  display: inline-block;
  min-width: 200px;
  padding: 14px 40px;
  border: 2px solid var(--guld);
  background: var(--hvid);
  color: #3d3c3b;
  text-decoration: none;
  text-align: center;
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: .16em;
  line-height: 1.5;
  transition: background-color .2s, color .2s;
}
.knap:hover { background: var(--guld); color: var(--moerk); }
.knap-afsnit { text-align: center; padding-top: 56px; padding-bottom: 40px; }

/* 3D-tal (som på den tidligere side) */
.tal-3d {
  position: relative;
  display: inline-block;
  font-family: "Futura", "Century Gothic", "Avenir Next", var(--skrift);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(100deg, #e9e9e9 0%, #d4d4d4 34%, #8e8e8e 52%, #dedede 53%, #ededed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  isolation: isolate;
}
.tal-3d::before {
  content: attr(data-tal);
  position: absolute;
  left: -.07em;
  top: .025em;
  z-index: -1;
  color: #bdbdbd;
  -webkit-text-fill-color: #bdbdbd;
}

/* ---------- Forside ---------- */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--menu-hoejde)), 900px);
  display: grid;
  place-items: center;
  padding: 64px var(--kant-h) 96px var(--kant);
  color: #fff;
  text-align: center;
  background-color: #332f2e;
  background-image:
    radial-gradient(ellipse 62% 66% at 50% 46%, rgba(22, 18, 17, .86) 0%, rgba(22, 18, 17, .72) 40%, rgba(22, 18, 17, 0) 100%),
    linear-gradient(rgba(28, 24, 23, .45), rgba(28, 24, 23, .45)),
    var(--hero-billede, radial-gradient(ellipse at 22% 30%, #4a3a38 0%, transparent 55%)),
    radial-gradient(ellipse at 80% 80%, #3c3534 0%, #2b2726 70%);
  background-size: cover;
  background-position: center;
}
.hero-indhold { max-width: 1000px; }
.hero-emblem { width: clamp(110px, 13vw, 170px); height: auto; color: #fff; margin: 0 auto 36px; display: block; }
.hero-titel {
  font-family: var(--skrift-serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 6.2vw, 5.2rem);
  letter-spacing: .05em;
  line-height: 1.1;
  text-transform: uppercase;
}
.hero-undertitel {
  font-family: var(--skrift-smal);
  font-stretch: condensed;
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  line-height: 1.45;
  letter-spacing: .02em;
  max-width: 880px;
  margin: 18px auto 0;
  text-align: left;
}
.hero-ned { position: absolute; left: 50%; bottom: 40px; translate: -50% 0; color: #fff; padding: 10px; }

.tilbud { padding-left: 0; padding-right: 0; padding-bottom: 56px; }
.felter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 64px; }
.felt { aspect-ratio: 487 / 547; padding: 9% 13% 8%; display: flex; flex-direction: column; color: var(--moerk); min-width: 0; }
.felt-1 { background: var(--guld); }
.felt-2 { background: var(--guld-2); }
.felt-3 { background: var(--guld-3); }
.felt-ikon { height: 92px; width: auto; max-width: 100%; margin: 16px auto 40px; color: #222; }
.felt-1 .felt-ikon { height: 64px; margin-top: 44px; margin-bottom: 52px; }
.felt .tekst { font-size: 1.2rem; line-height: 2; }
.felt-billede { padding: 0; background: var(--graa-2); }
.felt-billede img { width: 100%; height: 100%; object-fit: cover; }
.maal { text-align: center; padding: 64px var(--kant-h) 0 var(--kant); }
.maal-tekst { font-size: 1.3rem; margin-bottom: 30px; }

.forloeb { padding-top: 40px; }
.forloeb .overskrift { margin-bottom: 0; }
.forloeb-liste { width: fit-content; max-width: 100%; margin: 0 auto 48px; padding-left: 1.2em; font-size: 1.3rem; line-height: 2; }
.knapper-stak { display: grid; gap: 34px; max-width: 690px; margin: 0 auto; }
.knapper-stak .knap { display: block; }

/* ---------- Bilkøb ---------- */
.sidetop { padding-top: 48px; }
.stort-billede { width: 100%; max-width: 1300px; margin: 64px auto 0; height: auto; }
.ydelser { padding-bottom: 96px; }
.ydelse-kort {
  list-style: none;
  padding: 0;
  margin: 100px auto 0;
  max-width: 1260px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 70px 75px;
}
.ydelse-kort li { display: flex; flex-direction: column; min-width: 0; }
.ydelse-tal {
  background: var(--moerk);
  height: 470px;
  display: flex;
  justify-content: center;
  padding-top: 80px;
  box-shadow: 6px 6px 10px rgba(0, 0, 0, .18);
  isolation: isolate;
}
.ydelse-tal .tal-3d { font-size: 13.5rem; }
.ydelse-tekst {
  position: relative;
  margin: -110px 22px 0;
  background: #fff;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 18px 14px 26px;
  line-height: 2;
  box-shadow: 0 16px 14px -12px rgba(0, 0, 0, .55);
}
.ydelse-tekst h3 { font-weight: 500; font-size: 1.35rem; line-height: 1.5; margin-bottom: 6px; letter-spacing: .01em; }

.kunder { background: var(--graa-2); padding-bottom: 56px; }
.karrusel { display: grid; grid-template-columns: 1fr minmax(0, 970px) 1fr; align-items: center; margin-top: 56px; }
.karrusel-ramme { background: #fff; padding: 56px 56px 20px; min-width: 0; }
.karrusel-pil { justify-self: center; background: none; border: 0; padding: 12px; cursor: pointer; color: var(--moerk); }
.karrusel-pil svg { width: 28px; height: 56px; display: block; }
.udtalelse { margin: 0; display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: start; }
.udtalelse img { width: 320px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 16px 14px -12px rgba(0, 0, 0, .55); }
.udtalelse.spejlet { grid-template-columns: 1fr 320px; }
.udtalelse.spejlet img { order: 2; }
.udtalelse blockquote { margin: 0; font-size: 1.15rem; line-height: 1.75; }
.udtalelse figcaption { text-align: right; font-weight: 400; margin-top: 48px; }
.karrusel-prikker { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.karrusel-prikker button { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--moerk); background: var(--moerk); padding: 0; cursor: pointer; }
.karrusel-prikker button[aria-selected="true"] { background: #fff; }

/* ---------- Proces ---------- */
.trin-liste { margin-top: 40px; }
.trin { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.trin-tal { background: var(--graa-3); overflow: hidden; display: flex; justify-content: center; align-items: flex-end; isolation: isolate; }
.trin-tal .tal-3d { font-size: clamp(16rem, 30vw, 34rem); line-height: .78; translate: 0 8%; }
.trin-tekst { padding: 90px 8% 80px; min-width: 0; line-height: 2.05; font-size: 1.2rem; }
.trin-tekst h2 { font-weight: 300; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: .04em; line-height: 1.2; text-align: center; margin-bottom: 56px; }
.trin.spejlet .trin-tal { order: 2; }

/* ---------- Import ---------- */
.import-boks { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #222; margin-top: 40px; }
.import-tekst { padding: 80px 18% 80px 22%; font-size: 1.2rem; line-height: 2.05; align-self: center; }
.import-billede { background: #aba7a6; display: flex; align-items: flex-end; justify-content: center; min-height: 480px; overflow: hidden; border-left: 1px solid #222; }
.import-billede img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---------- Hvem er ---------- */
.hvem { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; padding-top: 60px; }
.hvem-billede img { width: 100%; height: auto; }
.hvem-tekst { padding-top: 60px; min-width: 0; }
.hvem-tekst h1 { font-weight: 300; font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: .04em; line-height: 1.45; margin-bottom: 40px; max-width: 14em; }
.hvem-tekst .broedtekst { font-size: 1.2rem; }
.hvem-knap { text-align: center; margin-top: 70px; }

/* ---------- Q&A ---------- */
.qa-top {
  padding: 96px var(--kant-h) 100px var(--kant);
  background: #ededed var(--qa-billede, none) center / cover no-repeat;
  text-align: center;
}
.qa-top .overskrift { font-size: clamp(3rem, 6vw, 5rem); margin: 20px 0 30px; }
.qa-top .undertitel { font-size: 1.5rem; }
.qa-gitter { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
@media (max-width: 1020px) { .qa-gitter { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 640px) { .qa-gitter { grid-template-columns: 1fr; } .qa-kort { min-height: 0; } }
.qa-kort { background: var(--graa); padding: 36px 34px 60px; min-height: 360px; font-size: 1.2rem; line-height: 2.05; min-width: 0; }
.qa-kort h2 { font-weight: 500; font-size: 1.5rem; line-height: 1.5; letter-spacing: .01em; margin-bottom: 24px; }
.qa-kort a { text-underline-offset: 3px; }
.knapper-raekke { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 90px; }

/* ---------- Kontakt ---------- */
.kontakt-top { padding-top: 110px; padding-bottom: 80px; }
.kontakt {
  padding: 60px var(--kant-h) 120px var(--kant);
  background:
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)),
    var(--kontakt-billede, linear-gradient(135deg, #f5f3ef 0%, #e9e4df 55%, #f2efe9 100%));
  background-size: cover;
  background-position: center;
}
.kontakt-logo { width: 100%; max-width: 680px; height: auto; margin: 0 auto 60px; }
.kontakt-kort {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .94);
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
  padding: 70px 9% 110px;
}
.kontakt-kort address { font-style: normal; text-align: center; font-size: 1.3rem; line-height: 1.75; }
.kontakt-kort address a { text-decoration: none; }
.kontakt-kort address a:hover { text-decoration: underline; }
.kontakt-kort .broedtekst { font-size: 1.2rem; }

.side-404 { text-align: center; padding-bottom: 120px; }
.side-404 .knap { margin-top: 40px; }

/* ---------- Bund ---------- */
.bund { background: var(--guld); margin-top: 40px; }
.side-forside .bund, .side-proces .bund, .side-kontakt .bund { margin-top: 0; }
.bund-indre {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px var(--kant-h) 18px var(--kant);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.bund p { margin: 0; }
.bund-navn { font-family: var(--skrift-serif); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .01em; padding-left: 8%; }
.bund-ikon { min-height: 44px; }
.bund-ikon a { display: block; }
.bund-udvikler { text-align: right; font-size: 1rem; padding-right: 8%; }
.bund-udvikler a { text-decoration: none; font-weight: 400; }
.bund-udvikler a:hover { text-decoration: underline; }

/* Bjælke for den, der er logget ind i CMS'et */
.cms-bar {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--moerk);
  color: #fff;
  font-size: .85rem;
  line-height: 1.3;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.cms-bar a { background: var(--guld); color: var(--moerk); text-decoration: none; font-weight: 500; padding: 7px 14px; border-radius: 999px; }

/* ---------- Mindre skærme ---------- */
@media (max-width: 1180px) {
  .top-indre { gap: 24px; }
  .hovedmenu a { font-size: .86rem; }
}
@media (max-width: 1020px) {
  .menu-knap {
    display: block;
    margin-left: auto;
    width: 46px;
    height: 46px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--moerk);
  }
  .menu-knap-streger, .menu-knap-streger::before, .menu-knap-streger::after {
    display: block; width: 26px; height: 2.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s;
  }
  .menu-knap-streger::before, .menu-knap-streger::after { content: ""; position: absolute; left: 0; }
  .menu-knap-streger::before { top: -8px; }
  .menu-knap-streger::after { top: 8px; }
  .menu-knap[aria-expanded="true"] .menu-knap-streger { background: transparent; }
  .menu-knap[aria-expanded="true"] .menu-knap-streger::before { transform: translateY(8px) rotate(45deg); }
  .menu-knap[aria-expanded="true"] .menu-knap-streger::after { transform: translateY(-8px) rotate(-45deg); }
  .hovedmenu {
    display: none;
    position: absolute;
    top: var(--menu-hoejde);
    left: 0;
    right: 0;
    background: var(--guld);
    box-shadow: 0 8px 12px rgba(0, 0, 0, .15);
    padding: 34px var(--kant-h) 20px var(--kant);
  }
  .hovedmenu.aaben { display: block; }
  .hovedmenu ul { flex-direction: column; gap: 0; align-items: center; }
  .hovedmenu a { font-size: 1.05rem; padding: 12px 0; }

  .felter { grid-template-columns: 1fr 1fr; }
  .trin, .import-boks, .hvem { grid-template-columns: 1fr; }
  .trin { min-height: 0; }
  .trin-tal { min-height: 320px; order: 0 !important; }
  .trin-tal .tal-3d { font-size: 20rem; }
  .trin-tekst { padding: 56px var(--kant-h) 64px var(--kant); }
  .trin-tekst h2 { margin-bottom: 28px; }
  .import-tekst { padding: 56px 10%; }
  .import-billede { border-left: 0; border-top: 1px solid #222; min-height: 380px; }
  .hvem { gap: 32px; }
  .hvem-tekst { padding-top: 0; }
  .udtalelse, .udtalelse.spejlet { grid-template-columns: 1fr; }
  .udtalelse img, .udtalelse.spejlet img { order: 0; width: min(320px, 100%); margin: 0 auto; }
  .udtalelse figcaption { margin-top: 20px; }
  .bund-indre { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .bund-navn, .bund-udvikler { padding: 0; text-align: center; }
  .bund-ikon { min-height: 0; }
  .bund-ikon a { display: inline-block; }
}
@media (max-width: 640px) {
  body { font-size: 1.05rem; }
  .afsnit { padding-top: 52px; padding-bottom: 52px; }
  .felter { grid-template-columns: 1fr; }
  .felt { aspect-ratio: auto; padding: 40px 12% 48px; }
  .felt-billede { padding: 0; aspect-ratio: 487 / 547; }
  .felt-ikon { margin-bottom: 26px; }
  .felt-1 .felt-ikon { margin: 26px auto 34px; }
  .hero { padding-bottom: 110px; }
  .hero-undertitel { text-align: center; }
  .karrusel { grid-template-columns: 1fr; }
  .karrusel-pil { display: none; }
  .karrusel-ramme { padding: 32px 22px 18px; }
  .ydelse-tal { height: 380px; }
  .kontakt-kort { padding: 44px 22px 56px; }
  .knap { min-width: 0; width: 100%; padding-left: 18px; padding-right: 18px; letter-spacing: .1em; }
  .knapper-raekke { gap: 20px; }
  .cms-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .emblem.drej .pil { animation: none; }
}

/* Besked om justeringer på forsiden */
.popup {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-top: 6px solid var(--guld);
  border-radius: 6px;
  background: var(--hvid);
  color: var(--tekst);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.popup::backdrop { background: rgba(30, 26, 25, .55); }
.popup[open] { animation: popup-ind .35s ease-out; }
@keyframes popup-ind { from { opacity: 0; transform: translateY(12px); } }
.popup-indre { padding: 34px 34px 30px; text-align: center; }
.popup-emblem { width: 64px; height: 64px; display: block; margin: 0 auto 18px; color: #fff; }
.popup h2 { font-family: var(--skrift-smal); font-stretch: condensed; font-weight: 700; font-size: 2rem; line-height: 1.15; margin-bottom: 14px; text-wrap: balance; }
.popup-tekst { font-size: 1.1rem; line-height: 1.75; margin-bottom: 26px; }
.popup-knap { cursor: pointer; font-family: inherit; min-width: 220px; }
@media (prefers-reduced-motion: reduce) { .popup[open] { animation: none; } }

/* Billeder i de nummererede felter på Bilkøb */
.ydelse-tal.har-billede { position: relative; padding: 0; overflow: hidden; }
.ydelse-tal.har-billede img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ydelse-nr {
  position: absolute; top: 18px; left: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--guld); color: var(--guld);
  font-family: "Futura", "Century Gothic", "Avenir Next", var(--skrift);
  font-weight: 700; font-size: 1.35rem; line-height: 1; letter-spacing: 0;
}

/* De hvide tekstbokse på Bilkøb er lige lange i hver række */
.ydelse-kort li { height: 100%; }
.ydelse-tekst { flex: 1; }

/* Slankere footer */
.bund-indre { padding-top: 10px; padding-bottom: 10px; line-height: 1.4; }
.bund-ikon { min-height: 0; }
.bund-ikon svg { width: 32px; height: 32px; display: block; }
@media (max-width: 1020px) { .bund-indre { gap: 4px; padding-top: 12px; padding-bottom: 12px; } }
@media (max-width: 1020px) { .bund-ikon.tom { display: none; } }
.bund-navn .cms-link { text-decoration: none; color: inherit; }

/* Billeder i trinene på Proces */
.trin-tal.har-billede { position: relative; align-items: stretch; }
.trin-tal.har-billede img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trin-nr {
  position: absolute; top: 22px; left: 22px;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(47, 46, 46, .88); color: var(--guld);
  font-family: "Futura", "Century Gothic", "Avenir Next", var(--skrift);
  font-weight: 700; font-size: 1.7rem; line-height: 1; letter-spacing: 0;
}
.trin.spejlet .trin-nr { left: auto; right: 22px; }

/* Husikon forrest i menuen */
.menu-hjem a { display: flex; align-items: center; gap: 8px; }
.menu-hjem svg { display: block; }
.menu-hjem-tekst { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1020px) { .menu-hjem-tekst { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }

/* Overskriften øverst på forsiden holdes på én linje */
.hero-titel { white-space: nowrap; font-size: min(5.2rem, calc((100vw - 40px) / 13)); }
.hero-indhold { width: 100%; min-width: 0; }

/* Menuen: tyndere og mere luftig skrift */
.hovedmenu a { font-weight: 400; font-size: .9rem; letter-spacing: .14em; }
.hovedmenu a[aria-current="page"] { color: var(--guld-3); }
@media (max-width: 1180px) { .hovedmenu a { font-size: .8rem; letter-spacing: .1em; } }
@media (max-width: 1020px) { .hovedmenu a { font-size: 1rem; letter-spacing: .14em; } }
