/* Aalborg Fliserens – fælles stylesheet */
:root {
  --navy: #001937;
  --navy-2: #0c2b52;
  --green: #4fd36b;
  --green-2: #3cbf58;
  --green-soft: #e9f9ed;
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --text: #1b2533;
  --muted: #5a6677;
  --line: #dde3ea;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 25, 55, .08);
  --max: 1160px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dfe7f1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #b9c6d6; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #1a7d35; margin-bottom: .6em;
}
.section--navy .eyebrow { color: var(--green); }

/* Knapper */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, transform .15s, border-color .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--green { background: var(--green); color: var(--navy); }
.btn--green:hover { background: var(--green-2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--block { width: 100%; }

/* Header */
.topbar { background: var(--navy); color: #c9d5e3; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: .97rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
/* Ydelser-dropdown */
.nav-dd { position: relative; }
.nav-dd-btn {
  font: inherit; font-weight: 600; font-size: .97rem; color: var(--navy); background: none; border: 0;
  padding: 8px 12px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav-dd-btn svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-dd-btn:hover, .nav-dd.active > .nav-dd-btn { background: var(--bg-soft); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px;
  display: none; flex-direction: column; z-index: 60;
}
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-dd-menu a { display: block; padding: 10px 12px; }
.nav-dd-menu a small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.nav-dd.open .nav-dd-menu { display: flex; }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 981px) {
  .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: flex; }
}

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
  .nav { max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-dd-btn, .nav-dup { display: none; }
  .nav-dd-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0; min-width: 0; }
  .nav-dd-menu::before { display: none; }
  .nav-dd-menu a small { display: none; }
}

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy) center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,25,55,.92) 0%, rgba(0,25,55,.75) 45%, rgba(0,25,55,.35) 100%);
}
/* Forsidens hero-billede: lille WebP på mobil, større på computer (preloades i index.html) */
.hero--forside { background-image: url("../img/hero-forside-800.webp"); background-position: center 60%; }
@media (min-width: 768px) { .hero--forside { background-image: url("../img/hero-forside-1200.webp"); } }
/* Ring-knapper: på telefoner vises en SMS-knap i stedet */
@media (max-width: 767px) { .kun-pc { display: none !important; } }
@media (min-width: 768px) { .kun-mobil { display: none !important; } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: none; }
.hero-video.on { display: block; }
.hero::before { z-index: 1; }
.hero .container { z-index: 2; }
.hero .container { position: relative; padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.18rem; color: #dfe7f1; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: #e8eef6; }
.hero-checks li { display: flex; gap: 10px; align-items: flex-start; }
.check { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--navy); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }

.page-hero { background: var(--navy); color: #dfe7f1; padding: 56px 0 48px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { font-size: 1.12rem; max-width: 720px; }
.breadcrumb { font-size: .9rem; margin-bottom: 14px; color: #9fb0c4; }
.breadcrumb a { color: #cfe0f2; }

/* Mini-beregner i hero */
.calc-card {
  background: #fff; color: var(--text); border-radius: 18px; padding: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.calc-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.calc-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }

/* Formularer */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--navy); }
.field small { color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(12,43,82,.12); }
textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  cursor: pointer; font-weight: 600; font-size: .95rem; background: #fff;
}
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(79,211,107,.6); }
/* Tilvalg i prisberegneren – ens linjer */
.tilvalg { display: grid; gap: 10px; margin: 4px 0 16px; }
.tilvalg-titel { font-weight: 600; font-size: .95rem; color: var(--navy); }
.tilvalg-gruppe { display: grid; gap: 10px; }
.tilvalg .checkbox { font-weight: 400; font-size: .95rem; color: var(--text); margin: 0; }
.tilvalg-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.tilvalg .meter { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; color: var(--muted); }
.tilvalg .meter input { width: 96px; padding: 6px 10px; }
.tilvalg small { color: var(--muted); font-size: .85rem; margin: -4px 0 0 30px; }

/* Pakkekort i prisberegneren */
.pk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pk-cards.pk-2 { grid-template-columns: repeat(2, 1fr); }
.pk-card { position: relative; cursor: pointer; display: block; }
.pk-card input { position: absolute; opacity: 0; }
.pk-inner {
  display: flex; flex-direction: column; height: 100%; padding: 12px 12px 10px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fff; transition: border-color .15s, background .15s;
}
.pk-card:hover .pk-inner { border-color: #b7c3d1; }
.pk-card input:checked + .pk-inner { border-color: var(--navy); background: #f1f6fc; box-shadow: inset 0 0 0 1px var(--navy); }
.pk-card input:focus-visible + .pk-inner { box-shadow: 0 0 0 3px rgba(79,211,107,.6); }
.pk-name { font-weight: 800; color: var(--navy); font-size: 1rem; }
.pk-price { font-weight: 700; color: #1a7d35; font-size: .92rem; margin-bottom: 6px; }
.pk-inner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: .84rem; line-height: 1.3; }
.pk-inner li { display: flex; gap: 6px; }
.pk-inner li.no { color: #5f6a78; }
.pk-ico { flex: 0 0 14px; font-weight: 800; color: #1a7d35; }
.pk-inner li.no .pk-ico { color: #b8c1cc; }
.pk-cards[data-compact] .pk-inner { padding: 9px 9px 8px; }
.pk-cards[data-compact] .pk-inner ul { font-size: .78rem; }
/* Grid-elementer må blive smallere end deres indhold (ellers kan lange ord skubbe siden bredere end skærmen) */
.hero .container > *, .pk-cards > *, .calc-card { min-width: 0; }
.pk-inner li { overflow-wrap: break-word; }
/* Forsidens mini-beregner: er der ikke plads til tre kort side om side (fx "Algebehandling" på én linje),
   vises pakkerne som rækker under hinanden. Styres af beregnerens egen bredde, ikke skærmens. */
.calc-card { container: beregner / inline-size; }
@container beregner (max-width: 439px) {
  .pk-cards[data-compact], .pk-cards.pk-2[data-compact] { grid-template-columns: 1fr; gap: 6px; }
  .pk-cards[data-compact] .pk-inner { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; padding: 9px 12px; }
  .pk-cards[data-compact] .pk-price { margin-bottom: 0; }
  .pk-cards[data-compact] .pk-inner ul { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; font-size: .8rem; }
  .pk-cards[data-compact] .pk-inner li.no { display: none; }
}
@media (max-width: 420px) {
  .pk-cards:not([data-compact]) { grid-template-columns: 1fr; }
  .pk-cards.pk-2:not([data-compact]) { grid-template-columns: 1fr 1fr; }
  /* Forsidens mini-beregner: pakkerne som rækker under hinanden – navn og pris øverst, indhold nedenunder */
  .pk-cards[data-compact], .pk-cards.pk-2[data-compact] { grid-template-columns: 1fr; gap: 6px; }
  .pk-cards[data-compact] .pk-inner,
  .pk-cards:not([data-compact]):not(.pk-2) .pk-inner { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; padding: 9px 12px; }
  .pk-cards[data-compact] .pk-price,
  .pk-cards:not([data-compact]):not(.pk-2) .pk-price { margin-bottom: 0; }
  .pk-cards[data-compact] .pk-inner ul,
  .pk-cards:not([data-compact]):not(.pk-2) .pk-inner ul { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; font-size: .8rem; }
  .pk-cards[data-compact] .pk-inner li.no,
  .pk-cards:not([data-compact]):not(.pk-2) .pk-inner li.no { display: none; }
}

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.price-result {
  background: var(--green-soft); border: 1.5px solid #bfe9cb; border-radius: 12px;
  padding: 16px 18px; margin: 6px 0 16px;
}
.price-result .label { font-size: .88rem; color: var(--muted); }
.price-result .amount { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.price-result .after { font-size: .95rem; color: #1e6b35; font-weight: 600; }
.price-result .note { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* Trust-bar */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust { display: flex; gap: 12px; align-items: center; }
.trust .ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; }
.trust .ico svg { width: 24px; height: 24px; color: #1a7d35; }
.trust strong { display: block; color: var(--navy); line-height: 1.25; }
.trust span { font-size: .88rem; color: var(--muted); }

/* Kort */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { aspect-ratio: 16/10; background: var(--bg-soft) center/cover no-repeat; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .97rem; }
.card-price { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.card-price .from { font-weight: 800; color: var(--navy); }
.card-price .from small { font-weight: 500; color: var(--muted); }
.card-price a { font-weight: 700; text-decoration: none; color: #1a7d35; white-space: nowrap; }

/* Placeholder-billeder (indtil rigtige billeder er leveret) */
.ph {
  background: repeating-linear-gradient(45deg, #e7edf3, #e7edf3 12px, #eef3f7 12px, #eef3f7 24px);
  display: grid; place-items: center; color: var(--muted); font-size: .85rem; font-weight: 600; text-align: center; padding: 10px;
}

/* Pristabeller */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pkg {
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 28px 24px;
  display: flex; flex-direction: column; position: relative;
}
.pkg--featured { border-color: var(--navy); box-shadow: var(--shadow); }
.pkg-badge {
  position: absolute; top: -13px; left: 24px; background: var(--green); color: var(--navy);
  font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em;
}
.pkg h3 { margin-bottom: 2px; }
.pkg .pkg-sub { color: var(--muted); font-size: .93rem; min-height: 2.8em; }
.pkg .pkg-price { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; margin: 10px 0 18px; }
.pkg .pkg-price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.pkg .pkg-ex { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .97rem; }
.pkg li { display: flex; gap: 10px; }
.pkg li.no { color: #5f6a78; }
.pkg li.no .check { background: #e6ebf0; color: #9aa5b3; }
.pkg .btn { margin-top: auto; }

.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: #fff; font-size: .9rem; font-weight: 700; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td strong { color: var(--navy); }
@media (max-width: 480px) {
  /* Smalle telefoner: tabellen må ikke blive bredere end skærmen – lange ord brydes, prisen holdes samlet */
  .price-table th, .price-table td { padding: 10px 8px; font-size: .86rem; }
  .price-table td:not(:last-child), .price-table th:not(:last-child) { overflow-wrap: anywhere; hyphens: auto; }
}
.table-note { font-size: .88rem; color: var(--muted); margin-top: 10px; }

/* Trin */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800;
}
.step p { color: var(--muted); font-size: .97rem; }

/* Serviceaftale-boks */
.highlight {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #dfe7f1;
  border-radius: 22px; padding: 48px;
}
.highlight h2 { color: #fff; }
.highlight .big { font-size: 4rem; font-weight: 800; color: var(--green); line-height: 1; }
.highlight ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.highlight li { display: flex; gap: 10px; }

/* Før/efter */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ba { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ba .pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba .pair > div { aspect-ratio: 1/1; position: relative; overflow: hidden; }
.ba .pair img { width: 100%; height: 100%; object-fit: cover; }
.ba .pair > div + div { border-left: 2px solid #fff; }
.ba .tag { position: absolute; left: 8px; top: 8px; background: rgba(0,25,55,.85); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; }
.ba p { padding: 12px 14px; margin: 0; font-size: .92rem; color: var(--muted); }
.ba-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }

/* Metodekort (fx ukrudt: kemisk / mekanisk) */
.metode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.card-media { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.metode .card-body h3 { margin: 0 0 8px; }
.metode .card-body h3 a { color: inherit; text-decoration: none; }
.metode .card-body h3 a:hover { text-decoration: underline; }
.metode-nr { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--navy); font-weight: 800; margin: -40px 0 10px; box-shadow: 0 0 0 4px #fff; position: relative; }
.tjekliste { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 8px; }
.tjekliste li { display: flex; gap: 10px; align-items: flex-start; }
.kombi-banner { background: var(--green-soft); border: 1.5px solid #bfe9cb; border-radius: 12px; padding: 16px 20px; text-align: center; max-width: 860px; margin: -10px auto 28px; color: var(--navy); }
.metode-note { text-align: center; color: var(--muted); margin: 26px auto 0; max-width: 720px; }
.muted-tekst { color: var(--muted); margin-top: 18px; }
@media (max-width: 760px) {
  .metode-grid, .ba-grid--2 { grid-template-columns: 1fr; }
}

/* 4-kolonne grid (ydelser på forsiden) */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-4 .card-body { padding: 18px; }
.grid-4 .card-body h3 { font-size: 1.1rem; }
.grid-4 .card-body p { font-size: .93rem; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4 { grid-template-columns: 1fr; } }

/* To pakker side om side */
.pkg-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .pkg-grid--2 { grid-template-columns: 1fr; } }

/* Prisside */
.price-page h2 { margin: 48px 0 16px; }
.price-page h2:first-child { margin-top: 0; }
.price-page .price-table td[rowspan] { color: var(--muted); font-size: .93rem; vertical-align: middle; text-align: left; white-space: normal; }
@media (max-width: 640px) {
  .price-table.compact td[rowspan], .price-table.compact th:nth-child(2) { display: none; }
}

/* Fotorække */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-row figure { margin: 0; }
.photo-row img, .photo-row video { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); display: block; }
.photo-row video { background: #0c2b52; }
.photo-row figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.trin-row figcaption { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .95rem; }
.trin-nr { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--navy); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.prose-billede { margin: 6px 0 24px; }
.prose-billede img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); display: block; }
.prose-billede figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.photo-row--2 { grid-template-columns: repeat(2, 1fr); max-width: 960px; margin: 0 auto; }
@media (max-width: 640px) { .photo-row, .photo-row--2 { grid-template-columns: 1fr; } }

/* Videoer */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { margin: 0; }
.video-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); background: #0c2b52; display: block; }
.video-card figcaption { color: #b9c6d6; font-size: .93rem; margin-top: 10px; }
@media (max-width: 980px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }

/* YouTube – indlæses først ved klik (ingen cookies/sporing før da) */
.yt { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000 center/cover no-repeat; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.yt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%); border-radius: 14px; background: rgba(0,25,55,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/30px no-repeat; }
.yt:hover::after { background-color: #e00; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-note { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; color: var(--navy); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }

/* CTA-bånd */
.cta-band { background: var(--green); color: var(--navy); padding: 48px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; font-size: 1.05rem; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Indholds-tekst */
.prose { max-width: 760px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.sidebar-box { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.sidebar-box h3 { margin-bottom: 8px; }
.sidebar-box p { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { background: #000f22; color: #a9b8ca; padding: 56px 0 24px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: #dbe5f0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid #1c3150; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom .medarbejder-link { color: #a9b8ca; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom .medarbejder-link:hover { color: #fff; }
.footer-logo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.footer-logo img { height: 44px; }

/* Mobil: fast ring/beregn-bjælke */
.mobile-bar { display: none; }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .trustbar .container { grid-template-columns: 1fr 1fr; }
  .grid-3, .pkg-grid, .ba-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .highlight { grid-template-columns: 1fr; padding: 36px 28px; }
  .grid-2, .content-grid { grid-template-columns: 1fr; }
  .sidebar-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .topbar .hide-sm { display: none; }
  .logo img { height: 46px; }
  .trustbar .container, .grid-3, .pkg-grid, .ba-grid, .steps, .row-2, .row-3, .footer-grid { grid-template-columns: 1fr; }
  .pkg-grid { gap: 26px; }
  .calc-card { padding: 20px; }
  .price-table th, .price-table td { padding: 12px 12px; font-size: .93rem; }
  .highlight .big { font-size: 3rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .mobile-bar a { padding: 16px 10px; text-align: center; font-weight: 700; text-decoration: none; }
  .mobile-bar .call { background: var(--navy); color: #fff; }
  .mobile-bar .book { background: var(--green); color: var(--navy); }
}

/* Bookingformular: tag billede / vælg billeder med forhåndsvisning */
.billed-felt { display: grid; gap: 10px; margin: 2px 0 6px; }
.billed-knapper { display: flex; gap: 10px; flex-wrap: wrap; }
.billed-knap { position: relative; cursor: pointer; flex: 1 1 160px; justify-content: center; }
.field label.billed-knap { font-weight: 700; font-size: 1rem; }
.field label.billed-knap.btn--navy { color: #fff; }
.billed-knap input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.billed-knap.deaktiveret { opacity: .45; cursor: not-allowed; }
.billed-knap:focus-within { box-shadow: 0 0 0 3px rgba(79,211,107,.6); }
.billed-forhaand { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.billed-forhaand:empty { display: none; }
.billed-mini { position: relative; margin: 0; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #eef2f6; }
.billed-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.billed-fjern { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,25,55,.75); color: #fff; font-size: .8rem; line-height: 24px; padding: 0; cursor: pointer; }
.billed-arbejder { font-size: .85rem; color: var(--muted); }
