/* ==================================================================
   THY FLYT – stylesheet
   ------------------------------------------------------------------
   Indhold:
    0. Fonte (selvhostede)
    1. Variabler (farver, fonte, afstande) – ret her først
    2. Grundlæggende (reset, typografi, links, fokus)
    3. Hjælpeklasser og knapper
    4. Header og menu
    5. Hero
    6. Tillid (4 USP'er)
    7. Sektioner generelt + Ydelser
    8. Priser
    9. Sådan foregår det (trin + "vej")
   10. Om os
   11. Område
   12. Gode råd
   13. FAQ
   14. Prisvurdering / formular
   15. Footer + privatlivspolitik
   16. Mobil-bundbjælke
   17. 404-side
   18. Reduceret bevægelse
   ================================================================== */


/* ---------- 0. FONTE ---------------------------------------------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}
/* Bemærk: Der bruges bevidst ikke local()-reservefonte her – opslag i
   computerens installerede fonte gjorde siden markant langsommere. */


/* ---------- 1. VARIABLER ------------------------------------------ */
:root {
  /* Farver */
  --navy: #1B3555;          /* overskrifter, tekst, footer */
  --navy-ink: #142A45;      /* tekst på orange knapper (ekstra kontrast) */
  --blue: #0297DE;          /* ikoner og accenter – ikke til lille tekst */
  --blue-link: #0274AE;     /* links på hvid baggrund */
  --blue-logo: #4A8FC2;     /* sekundær accent */
  --orange: #FC734D;        /* KUN handling: knapper */
  --orange-hover: #FD8B6A;
  --grey: #CBCFD2;          /* linjer og kanter */
  --tint: #EEF2F5;          /* lys sektionsbaggrund */
  --blue-tint: #E4F1FA;     /* fremhævede bokse */
  --sky-top: #23406A;       /* hero-gradient top */
  --sky-bottom: #3C6090;    /* hero-gradient bund (= himlen i fotoet) */
  --text: #1B3555;
  --text-soft: #3D5470;     /* sekundær tekst (bestået AA på hvid og --tint) */
  --white: #ffffff;
  --error: #B42318;

  /* Fonte */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Afstande og mål */
  --container: 1160px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 112px);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;
  --tap: 48px;              /* mindste trykflade */
  --mobile-bar-h: 72px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 84px; }
}


/* ---------- 2. GRUNDLÆGGENDE -------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17 px */
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* plads til mobil-bundbjælken */
  padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }   /* 18 px */
@media (min-width: 960px) { body { padding-bottom: 0; } }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.3rem); font-weight: 600; }

p { margin: 0 0 1em; }
p, li { max-width: 70ch; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--blue-link); text-underline-offset: .18em; }
a[href^="tel:"] { white-space: nowrap; }   /* telefonnummeret må ikke deles over to linjer */
a:hover { color: var(--navy); }

/* Ankerlinks må ikke gemme overskriften under den faste header */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Tydelig fokus-ring for tastatur-brugere */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }


/* ---------- 3. HJÆLPEKLASSER OG KNAPPER --------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white);
  padding: 12px 18px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--tap);
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.125rem; }
.btn-sm { min-height: var(--tap); padding: 10px 20px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* Orange = handling. Altid mørk navy tekst (hvid fejler kontrasten). */
.btn-primary { background: var(--orange); color: var(--navy-ink); }
.btn-primary:hover { background: var(--orange-hover); color: var(--navy-ink); }

/* Sekundær på mørk baggrund (hero) */
.btn-outline-light { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Sekundær på lys baggrund */
.btn-ghost { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }


/* ---------- 4. HEADER OG MENU ------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(27, 53, 85, .1);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-icon { width: auto; height: 48px; }
.brand-word { width: auto; height: 30px; }
@media (min-width: 768px) {
  .brand-icon { height: 58px; }
  .brand-word { height: 36px; }
}

.header-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 0 6px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .icon { color: var(--blue); width: 22px; height: 22px; }
.header-phone:hover { color: var(--blue-link); }
.header-btn { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0 14px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font: 600 1rem var(--font-head);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobilmenu: et panel under headeren */
.main-nav {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--grey);
  box-shadow: 0 18px 30px -18px rgba(27, 53, 85, .35);
  padding: 8px var(--gutter) 24px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.main-nav.is-open { display: block; }
.main-nav ul a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--tint);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy);
  text-decoration: none;
}
.nav-actions { display: grid; gap: 12px; margin-top: 20px; }

/* Fra 768 px: vis telefonnummer i headeren */
@media (min-width: 768px) {
  .header-phone { display: inline-flex; }
}
/* Fra 960 px: vis også den orange knap */
@media (min-width: 960px) {
  .header-btn { display: inline-flex; }
}
/* Fra 1180 px: fuld menu i headeren, ingen burger */
@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .main-nav {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
    max-height: none;
    overflow: visible;
    margin-left: 24px;
  }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav ul a {
    min-height: var(--tap);
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    font-size: 1rem;
    white-space: nowrap;
  }
  .main-nav ul a:hover { background: var(--tint); }
  .nav-actions { display: none; }
}


/* ---------- 5. HERO ----------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  gap: 8px;
  padding-top: clamp(36px, 7vw, 88px);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 7.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.h1-sub {
  display: block;
  margin-top: .25em;
  font-size: .56em;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  color: #D7E4F3;
}
.hero-lead {
  font-size: clamp(1.125rem, 2.2vw, 1.3rem);
  color: #E8EFF8;
  max-width: 34ch;
  margin-bottom: 28px;
}
@media (max-width: 519px) {
  .hero .btn-row .btn { width: 100%; }
}
@media (max-width: 639px) {
  /* Små skærme: beskær fotoets sider, så drengene bliver større */
  .hero-photo img { aspect-ratio: 1 / 1; }
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 1rem;
  color: #E8EFF8;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 20px; height: 20px; color: #8FD0F3; stroke-width: 2.5; }

/* Foto. På mobil glider toppen ud i hero-baggrunden. */
.hero-photo {
  position: relative;
  margin: 12px calc(var(--gutter) * -1) 0;
}
.hero-photo img {
  width: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%);
}

/* Klistermærket med sloganet – sidens ene animerede øjeblik */
.sticker {
  position: absolute;
  left: 6%;
  top: 9%;
  max-width: 13.5em;
  margin: 0;
  padding: 12px 16px;
  background: var(--orange);
  color: var(--navy-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(.9rem, 2.6vw, 1.05rem);
  line-height: 1.3;
  border-radius: 10px;
  transform: rotate(-4deg);
  box-shadow: 0 10px 22px -10px rgba(10, 25, 45, .55);
  animation: sticker-in .6s cubic-bezier(.2, .9, .3, 1.35) .35s both;
}
@keyframes sticker-in {
  from { opacity: 0; transform: rotate(-14deg) scale(.6); }
  to   { opacity: 1; transform: rotate(-4deg) scale(1); }
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    align-items: center;
    gap: 56px;
    padding-bottom: clamp(56px, 7vw, 96px);
  }
  .hero-photo { margin: 0; }
  .hero-photo img {
    aspect-ratio: auto;
    border-radius: var(--radius-lg);
    -webkit-mask-image: none;
    mask-image: none;
    box-shadow: 0 30px 60px -30px rgba(5, 15, 35, .6);
  }
  .sticker { left: -28px; top: 9%; }
}


/* ---------- 6. TILLID --------------------------------------------- */
.trust {
  border-bottom: 1px solid var(--grey);
}
.trust-list {
  display: grid;
  grid-template-columns: 1fr;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  max-width: none;
}
.trust-list li + li { border-top: 1px solid var(--tint); }
.trust-list .icon { width: 30px; height: 30px; color: var(--blue); }
.trust-list strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.3;
}
.trust-list span { display: block; color: var(--text-soft); font-size: 1rem; line-height: 1.4; }

@media (min-width: 640px) {
  .trust-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .trust-list li + li { border-top: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--tint); }
}
@media (min-width: 1024px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-list li { padding: 30px 0; }
  .trust-list li:nth-child(n+3) { border-top: 0; }
}


/* ---------- 7. SEKTIONER + YDELSER -------------------------------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--tint); }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.15em; color: var(--text-soft); }

.services {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 56px;
  border-top: 1px solid var(--grey);
}
.service {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--grey);
}
.service .icon { width: 32px; height: 32px; color: var(--blue); margin-top: 2px; }
.service h3 { margin-bottom: .35em; }
.service p { margin: 0; }

@media (min-width: 768px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service { padding: 32px 0; }
}


/* ---------- 8. PRISER --------------------------------------------- */
.price-grid {
  display: grid;
  gap: 48px;
}
.price-figure {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 8px 0 6px;
  max-width: none;
}
.price-number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(6rem, 22vw, 10rem);
  line-height: .82;
  letter-spacing: -.04em;
  color: var(--navy);
}
.price-unit {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.2;
  padding-bottom: .2em;
}
.price-vat {
  font-size: 1.15em;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--navy);
  max-width: 26rem;
}
.price-text { max-width: 30rem; margin-bottom: 28px; }

.price-details {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.check-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--tint);
}
.check-list .icon { color: var(--blue); stroke-width: 2.5; margin-top: 3px; }
.price-note { margin: 20px 0; color: var(--text-soft); }
.price-example {
  padding: 18px 20px;
  border-left: 4px solid var(--blue-logo);
  background: var(--blue-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.price-example p { margin: 0; }
.price-example p + p { margin-top: 4px; }

@media (min-width: 960px) {
  .price-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
}


/* ---------- 9. SÅDAN FOREGÅR DET ---------------------------------- */
/* Trinnene forbindes af en "vej": grå asfalt med stiplet midterlinje.
   Mobil: et lodret vejstykke fra hvert tal ned til det næste.
   Desktop: én vandret vej gennem alle tallene. */
.steps {
  position: relative;
  display: grid;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
  align-content: start;
  padding: 0 0 32px;
  max-width: none;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before,
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: -28px;            /* til midten af næste tal */
}
.step:not(:last-child)::before { left: 22px; width: 12px; background: var(--grey); }
.step:not(:last-child)::after  { left: 27px; border-left: 2px dashed var(--white); }
.step-num {
  position: relative;
  z-index: 1;
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font: 700 1.5rem/1 var(--font-head);
  box-shadow: 0 0 0 6px var(--white);
}
.step h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 12px 0 4px;
}
.step p { margin: 0; }

/* Trin 2 (prisvurdering) fremhæves */
.step-key .step-num { background: var(--blue-link); width: 56px; height: 56px; }
.step-key h3 { color: var(--blue-link); }
.tag {
  display: inline-block;
  vertical-align: middle;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--blue-logo);
  color: var(--navy);
  font: 600 .8rem/1.6 var(--font-body);
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
  }
  .step:not(:last-child)::before,
  .step:not(:last-child)::after { content: none; }
  /* Én vej fra første til sidste tal. Trinnene er ikke "positioned" her,
     så vejen ligger oven på den lyseblå boks bag trin 2. */
  .steps::before,
  .steps::after {
    content: "";
    position: absolute;
    left: 28px;
    right: calc((100% - 4 * 28px) / 5 - 28px);
    top: 22px;
  }
  .steps::before { height: 12px; background: var(--grey); border-radius: 6px; }
  .steps::after  { top: 27px; border-top: 2px dashed var(--white); }
  .step { position: static; grid-template-columns: 1fr; padding: 0; }
  .step-num { grid-row: auto; margin-bottom: 14px; }
  .step h3 { margin-top: 0; }
  .step-key {
    margin: -18px -16px;
    padding: 18px 16px;
    background: var(--blue-tint);
    border-radius: var(--radius);
  }
  .step-key .step-num { box-shadow: 0 0 0 6px var(--blue-tint); }
}

.visit-box {
  display: grid;
  gap: 24px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 44px);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
}
.visit-box h3 { color: var(--white); font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; }
.visit-box p { margin: 0; color: #DCE6F2; }
.visit-box .btn { justify-self: start; }
@media (min-width: 960px) {
  .visit-box { grid-template-columns: 1fr auto; align-items: center; gap: 56px; }
}


/* ---------- 10. OM OS --------------------------------------------- */
.about-grid { display: grid; gap: 40px; }
.about-photo img { border-radius: var(--radius-lg); width: 100%; }
.about-text > p { font-size: 1.06em; }

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  max-width: 500px;
}
.team img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.team figcaption {
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}

@media (max-width: 639px) {
  /* Skovfotoet er højt – beskær det lidt på små skærme */
  .about-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
}
@media (min-width: 960px) {
  .about-grid { gap: 72px; }
}


/* ---------- 11. OMRÅDE -------------------------------------------- */
.area-grid { display: grid; gap: 40px; }
.area-intro p { font-size: 1.06em; }
.area-lists { display: grid; gap: 32px; }
.area-lists h3 { display: flex; align-items: center; gap: 10px; }
.area-lists h3 .icon { color: var(--blue); }
.town-list {
  columns: 2;
  column-gap: 24px;
  border-top: 1px solid var(--grey);
  padding-top: 10px;
}
.town-list li { padding: 5px 0; break-inside: avoid; }

@media (min-width: 640px) {
  .town-list { columns: 3; }
}
@media (min-width: 960px) {
  .area-grid { grid-template-columns: 5fr 7fr; gap: 72px; }
  .area-lists { grid-template-columns: 3fr 2fr; gap: 40px; }
  .area-lists > div:last-child .town-list { columns: 2; }
}


/* ---------- 12. GODE RÅD ------------------------------------------ */
.tips {
  display: grid;
  gap: 0 56px;
  border-top: 1px solid var(--grey);
}
.tips li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--grey);
  max-width: none;
}
.tips .icon { color: var(--blue); stroke-width: 2.5; margin-top: 3px; }
@media (min-width: 768px) {
  .tips { grid-template-columns: 1fr 1fr; }
}


/* ---------- 13. FAQ ----------------------------------------------- */
.faq-wrap { display: grid; gap: 24px; }
.faq { border-top: 1px solid var(--grey); }
.faq details { border-bottom: 1px solid var(--grey); }
.faq summary,
.privacy summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker,
.privacy summary::-webkit-details-marker { display: none; }
.faq summary .icon,
.privacy summary .icon {
  color: var(--blue);
  transition: transform .2s;
}
.faq details[open] summary .icon,
.privacy[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-link); }
.faq details p { padding: 0 40px 22px 0; margin: 0; }

@media (min-width: 960px) {
  .faq-wrap { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
}


/* ---------- 14. PRISVURDERING / FORMULAR -------------------------- */
.contact {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  color: var(--white);
  padding-block: var(--section-y);
}
.contact-grid { display: grid; gap: 40px; }
.contact h2 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.contact-lead { font-size: 1.2em; color: #E8EFF8; max-width: 26ch; }
.contact-text p { color: #E8EFF8; }

.big-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1.1;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.big-phone .icon { width: .85em; height: .85em; color: var(--orange); }
.big-phone:hover { color: #D7E4F3; }

.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 30px 60px -30px rgba(5, 15, 35, .55);
}
.form-card h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; margin-bottom: 4px; }
.form-hint { font-size: .95rem; color: var(--text-soft); }

.quote-form { display: grid; gap: 20px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field > label, .radio-group legend {
  font-weight: 600;
  line-height: 1.35;
}
.optional { font-weight: 400; color: var(--text-soft); }
.req { color: var(--error); }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"],
select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid #8A99AA;     /* 3:1 mod hvid */
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
}
input[type="date"] { -webkit-appearance: none; appearance: none; }
select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3555' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}
textarea { resize: vertical; min-height: 120px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  border-color: var(--blue-link);
  outline: 3px solid var(--blue);
  outline-offset: 1px;
}
[aria-invalid="true"] { border-color: var(--error) !important; }

.field-error {
  margin: 0;
  color: var(--error);
  font-size: .95rem;
  font-weight: 600;
}

.radio-group { border: 0; padding: 0; margin: 0; }
.radio-group legend { padding: 0; margin-bottom: 6px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.radio-group legend { width: 100%; float: left; }
.radio, .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  cursor: pointer;
}
.radio input, .checkbox input {
  width: 24px;
  height: 24px;
  margin: 0;
  flex: none;
  accent-color: var(--navy);
}
.field > label.checkbox { align-items: flex-start; font-weight: 400; font-size: 1rem; line-height: 1.5; }
.checkbox input { margin-top: 2px; }

/* Honeypot – skjult for mennesker */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.quote-form button[disabled] { opacity: .7; cursor: progress; }

.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success,
.form-status.is-error {
  padding: 16px 18px;
  border-radius: 10px;
}
.form-status.is-success { background: #E3F4EA; color: #14532D; border-left: 4px solid #1E7A44; }
.form-status.is-error { background: #FDECEA; color: var(--error); border-left: 4px solid var(--error); }

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .contact-text { position: sticky; top: calc(var(--header-h) + 32px); }
}


/* ---------- 15. FOOTER + PRIVATLIVSPOLITIK ------------------------ */
.site-footer {
  background: var(--navy);
  color: #DCE6F2;
  padding: clamp(48px, 7vw, 80px) 0 32px;
  font-size: 1rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #A9D8F5; }
.site-footer :focus-visible { outline-color: #8FD0F3; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-slogan { max-width: 28ch; }
.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.site-footer li { padding: 4px 0; }
.site-footer li a { display: inline-block; padding: 6px 0; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1.3fr 1.3fr 1fr; }
  .footer-brand { grid-column: auto; }
}

.privacy {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.privacy summary { color: var(--white); }
.privacy summary .icon { color: #8FD0F3; }
.privacy-body { padding-bottom: 24px; max-width: 70ch; }
.privacy-body h3 { color: var(--white); font-size: 1.05rem; margin: 20px 0 4px; }
.privacy-body p { margin: 0; }

.copyright { margin: 24px 0 0; font-size: .95rem; }


/* ---------- 16. MOBIL-BUNDBJÆLKE ---------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--grey);
  box-shadow: 0 -8px 24px -12px rgba(27, 53, 85, .35);
}
.mobile-bar .btn { min-height: 52px; padding: 10px 16px; }
@media (min-width: 960px) {
  .mobile-bar { display: none; }
}


/* ---------- 17. 404-SIDE ------------------------------------------ */
.notfound {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding-block: var(--section-y);
}
.notfound h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.notfound .lead { font-size: 1.2em; color: var(--text-soft); }
.notfound .btn-row { margin-top: 12px; }


/* ---------- 18. REDUCERET BEVÆGELSE ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .sticker { animation: none; }
}
