/* Selv-hostede skrifttyper (SIL OFL): Fraunces + Inter, latin-delmængde (dækker æ, ø, å og al tekst på sitet). Erstatter Google Fonts. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 450 700; font-display: swap; src: url('/fonts/fraunces-latin-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/inter-latin-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ============================================================
   Dansk Græs & Anlæg — style.css
   Design-system + delt layout for alle sider.

   Retning: lys, varm, arkitektonisk skandinavisk kvalitet.
   Få farver, hårfine linjer frem for skygger, skarpe frem for
   runde hjørner, og motion kun hvor det har en funktion.
   ============================================================ */

:root {
  /* ---------- Design tokens (den offentlige palet) ----------
     Udledt af det faktiske logo (images/logo/logo-farve-moerk.png),
     hvis grønne er #5d8a2f (målt via pixel-sampling). --color-primary
     er en let dæmpet udgave af logo-grønnen (for at holde AA-kontrast
     på hvid tekst/baggrund); --color-primary-bright er logoets
     faktiske, klare tone og bruges til ikoner/labels/aktive markører,
     jf. brief: "Brug IKKE store grønne flader overalt". ---------- */
  --color-bg: #F6F7F0;            /* meget lys, let grønlig off-white — sidens grundfarve */
  --color-bg-alt: #EEF2E4;        /* let salvie — sekundær sektionsbaggrund */
  --color-surface: #FFFFFF;       /* rene flader: kort, inputs, dropdowns */
  --color-text: #1E2318;          /* charcoal med grøn-sort undertone, ikke ren sort */
  --color-text-muted: #5C6350;
  --color-primary: #4F7A2A;       /* logo-grøn, let dæmpet for AA-kontrast (CTA, links) */
  --color-primary-dark: #3B5C1F;  /* hover/active på primary */
  --color-primary-bright: #5D8A2F;/* logoets faktiske grøn — ikoner, labels, aktive markører */
  --color-primary-on-dark: #94C45A; /* samme nuance, lysere — labels/aktive markører på mørk baggrund */
  --color-primary-soft: #E9F0DD;  /* mat, let grøn til tags/valgte tilstande */
  --color-border: #DCE2D0;        /* hårfin, grøn-neutral kant */
  --color-border-strong: #C3CBB2;
  --color-dark: #181D13;          /* næsten-sort med grøn undertone — footer/hero-mørke */
  --color-dark-soft: #232A1B;
  --color-accent: var(--color-primary-bright); /* labels, tal, streger — ingen separat oliven/sand-tone længere */
  --color-text-on-dark: #F3F5EC;
  --color-text-on-dark-muted: #AAB39A;

  /* ---------- Bagudkompatible aliaser (så vi ikke skal
     omdøbe hver eneste selector i filen herunder) ---------- */
  --c-primary: var(--color-primary);
  --c-primary-dark: var(--color-primary-dark);
  --c-primary-darker: #2A4517;
  --c-primary-light: var(--color-primary-soft);
  --c-dark: var(--color-dark);
  --c-dark-soft: var(--color-dark-soft);
  --c-white: var(--color-surface);
  --c-bg: var(--color-bg);
  --c-bg-soft: var(--color-bg-alt);
  --c-border: var(--color-border);
  --c-text: var(--color-text);
  --c-text-muted: var(--color-text-muted);
  --c-text-on-dark: var(--color-text-on-dark);
  --c-text-on-dark-muted: var(--color-text-on-dark-muted);

  /* Type */
  --font-heading: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans: var(--font-body);

  /* Layout */
  --container: 1280px;
  --container-narrow: 800px;
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --shadow-sm: 0 1px 3px rgba(28, 23, 15, 0.07);
  --shadow-md: 0 10px 28px rgba(28, 23, 15, 0.09);
  --shadow-lg: 0 24px 56px rgba(28, 23, 15, 0.14);
  --header-h: 92px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html.smooth-scroll { scroll-behavior: smooth; }
@keyframes page-fade-in { from { opacity: 0; } to { opacity: 1; } }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  animation: page-fade-in .4s ease both;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--c-dark);
  letter-spacing: -0.01em;
}
h1, h2 {
  font-family: var(--font-heading);
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
svg { display: block; }
::selection { background: var(--color-primary-soft); color: var(--color-primary-dark); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.bg-dark .eyebrow, .area-cinematic-text .eyebrow, .lead-info .eyebrow, .price-panel .eyebrow, .page-hero .eyebrow {
  color: var(--color-primary-on-dark);
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 2.9vw, 2.6rem); }
.section-head p { color: var(--c-text-muted); font-size: 1.05rem; max-width: 56ch; }
.section-head.center p { margin-inline: auto; }

.section-pad { padding: 104px 0; }
@media (max-width: 900px) {
  .section-pad { padding: 72px 0; }
}
@media (max-width: 640px) {
  .section-pad { padding: 60px 0; }
}

.bg-soft { background: var(--c-bg-soft); }
.bg-dark { background: var(--c-dark); color: var(--c-text-on-dark); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--c-white); }
.bg-primary { background: var(--c-primary); color: var(--c-white); }

/* ---------- Buttons ----------
   Primær = fast fyld. Sekundær = tynd kant. Tekst-link = understregning.
   Ingen pille-form, ingen glans-sweep, ingen bounce på hover. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--c-primary); color: var(--c-white); }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-white { background: var(--c-white); color: var(--c-dark); border-color: var(--c-white); }
.btn-white:hover { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,0.5); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.42); color: inherit; }
.btn-outline:hover { border-color: currentColor; background: rgba(255,255,255,0.08); }
.btn-outline-dark { background: transparent; border-color: var(--c-dark); color: var(--c-dark); }
.btn-outline-dark:hover { background: var(--c-dark); color: var(--c-white); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }

/* Tekst-link CTA: bruges ved siden af en primær knap for et
   ordentligt CTA-hierarki (primær → sekundær → tekst-link). */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  color: inherit;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  opacity: 0.92;
  transition: opacity .2s ease, gap .2s ease;
}
.btn-text svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-text:hover { opacity: 1; gap: 12px; }

/* ---------- Header ----------
   To tilstande: transparent/mørk over hero (default), og let/solid
   efter scroll (.is-solid, tilføjes af main.js ved scrollY > 12, eller
   hardcodet i HTML på sider uden en overlappende hero-forside). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(15,12,7,0.55), rgba(15,12,7,0.1));
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid {
  background: rgba(246, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.brand { position: relative; display: flex; align-items: center; gap: 10px; flex-shrink: 0; height: 64px; }
.brand-logo { height: 64px; width: auto; display: block; transition: opacity .35s ease; }
.brand-logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-solid .brand-logo-light { opacity: 0; }
.site-header.is-solid .brand-logo-dark { opacity: 1; }
.brand-text { display: none; }
@media (max-width: 640px) { .brand, .brand-logo { height: 52px; } }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-text-on-dark-muted);
  transition: color .15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--c-white); }
.site-header.is-solid .main-nav a { color: var(--c-text-muted); }
.site-header.is-solid .main-nav a:hover, .site-header.is-solid .main-nav a.active { color: var(--c-primary); }

.main-nav .nav-item { position: relative; display: flex; align-items: center; }
.main-nav .nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { width: 12px; height: 12px; transition: transform .2s ease; opacity: 0.7; }
.main-nav .nav-item:hover .nav-caret,
.main-nav .nav-item:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 210px;
  background: var(--color-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 10;
}
.nav-dropdown a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
  border-left: 2px solid transparent;
}
.nav-dropdown a:hover { background: var(--c-bg-soft); border-left-color: var(--c-primary); color: var(--c-primary-dark); }

/* Megamenu (Ydelser): tre kolonner med en tydelig, diskret kategori-label */
.nav-dropdown.mega {
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
  padding: 18px;
  width: max-content;
}
.nav-col { display: flex; flex-direction: column; gap: 1px; min-width: 190px; }
.nav-col + .nav-col { border-left: 1px solid var(--c-border); padding-left: 22px; margin-left: 4px; }
.nav-dropdown .nav-col-title {
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--color-accent) !important;
  padding: 4px 14px 10px !important;
  border-left: none !important;
}
.nav-dropdown .nav-col-title:hover { background: none !important; color: var(--color-accent) !important; }

/* Byer-dropdown: to kolonner, plain liste */
.nav-dropdown.towns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 10px;
  width: 420px;
}
.nav-dropdown.towns a { box-sizing: border-box; }

.main-nav .nav-item:hover .nav-dropdown,
.main-nav .nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .nav-caret, .nav-dropdown { transition: none; }
}

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  color: var(--c-text-on-dark-muted);
  font-size: 0.92rem;
  transition: color .15s ease;
}
.header-phone:hover { color: var(--c-white); }
.header-phone svg { width: 17px; height: 17px; flex-shrink: 0; }
.site-header.is-solid .header-phone { color: var(--c-text-muted); }
.site-header.is-solid .header-phone:hover { color: var(--c-primary); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(241,236,221,0.22);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color .3s var(--ease);
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--c-white); transition: color .3s var(--ease); }
.site-header.is-solid .nav-toggle { border-color: var(--c-border); }
.site-header.is-solid .nav-toggle svg { color: var(--c-text); }

@media (max-width: 1240px) {
  .site-header .header-phone span { display: none; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-actions .header-phone { display: none; }
  .nav-toggle { display: flex; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--c-dark);
  display: flex;
  flex-direction: column;
  padding: 26px 26px 30px;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-nav-top img { height: 34px; }
.mobile-nav a {
  display: block;
  padding: 15px 2px;
  font-size: 1.18rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--c-white);
  border-bottom: 1px solid rgba(241,236,221,0.1);
}
.mobile-nav a.active { color: var(--color-primary-bright); }
.mobile-nav-sub { display: flex; flex-direction: column; padding-left: 16px; }
.mobile-nav-sub a {
  padding: 11px 2px;
  font-size: 0.98rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--c-text-on-dark-muted);
  border-bottom: 1px dashed rgba(241,236,221,0.1);
}
.mobile-nav-sub a:last-child { border-bottom: none; }
.mobile-nav-footer { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.mobile-nav-footer a.header-phone { font-size: 1.05rem; color: var(--c-text-on-dark); }
body.nav-open { overflow: hidden; }

/* Mobil: harmonikaer i undermenuer */
.mobile-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2px;
  font-size: 1.18rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--c-white);
  border-bottom: 1px solid rgba(241,236,221,0.1);
}
.mobile-acc summary::-webkit-details-marker { display: none; }
.mobile-acc summary::after { content: "+"; font-size: 1.3rem; font-family: var(--font-body); color: var(--color-primary-bright); line-height: 1; font-weight: 400; }
.mobile-acc[open] summary::after { content: "–"; }
.mobile-acc[open] > .mobile-nav-sub { padding-bottom: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  color: var(--c-white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: #17120c url('/images/hero/hero-main-720.webp') center / cover no-repeat; }
@media (min-width: 641px) { .hero-media { background-image: url('/images/hero/hero-main-1280.webp'); } }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(17,14,9,0.82) 0%, rgba(17,14,9,0.32) 46%, rgba(17,14,9,0.5) 100%);
}
/* Introsekvens: et ekstra, midlertidigt mørkt lag der toner væk (styret af motion.js) */
.hero-media::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: rgba(10, 8, 6, 0.5);
  opacity: 1;
  transition: opacity 1.15s var(--ease);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding: 90px 0 84px; max-width: 700px; }
.hero-badge { display: none; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary-on-dark);
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero h1 {
  color: var(--c-white);
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  max-width: 15ch;
  margin-bottom: 0.36em;
}
.hero-sub { font-size: 1.1rem; max-width: 46ch; color: var(--c-text-on-dark); opacity: 0.88; margin-bottom: 2.1em; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  font-weight: 600;
  font-size: 0.96rem;
  transition: border-color .2s ease;
}
.hero-phone-btn:hover { border-color: #fff; }
.hero-phone-btn svg { width: 18px; height: 18px; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  right: 28px;
  z-index: 1;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll svg { width: 15px; height: 15px; }

/* Introfade — ét roligt løft ved indlæsning, ingen løbende bevægelse.
   Forsidens .hero styres udelukkende af motion.js (GSAP-introsekvens);
   denne keyframe bruges kun som CSS-fallback andre steder (.page-hero,
   se nedenfor), og hvis GSAP af en eller anden grund ikke indlæses,
   vises hero-indholdet blot normalt uden animation (ingen usynlig tekst). */
@keyframes intro-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-h1-mask { display: block; overflow: hidden; }

/* Page (sub-page) hero — mindre, stille billede, ingen uendelig zoom. */
.page-hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 92px);
  padding-bottom: 88px;
  color: var(--c-white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(17,14,9,0.86) 0%, rgba(17,14,9,0.5) 100%);
}
.page-hero .eyebrow { margin-bottom: 0.7em; }
.page-hero h1 { color: var(--c-white); font-size: clamp(2.1rem, 3.6vw, 3rem); max-width: 18ch; }
.page-hero p { max-width: 52ch; color: var(--c-text-on-dark); opacity: 1; font-size: 1.04rem; } /* opacity 1 = den værdi, intro-animationen altid har endt på */
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 0.8rem; color: var(--c-text-on-dark-muted); margin-bottom: 22px; letter-spacing: 0.01em; }
.breadcrumb a:hover { color: var(--c-white); }

.page-hero .breadcrumb, .page-hero .eyebrow, .page-hero h1, .page-hero p {
  animation: intro-rise .7s var(--ease) backwards; /* "backwards" (ikke "both"): efter animationen gælder elementets egen stil (opacity 1), og browseren maler teksten igen => pålidelig LCP-måling */
}
.page-hero .breadcrumb { animation-delay: .03s; }
.page-hero .eyebrow { animation-delay: .1s; }
.page-hero h1 { animation-delay: .17s; }
.page-hero p { animation-delay: .28s; }

/* ---------- Specifikationsbjælke (erstatter den gamle
   "3 ikon-kort, der flyder over hero'en") ---------- */
.spec-bar { background: var(--c-bg); border-bottom: 1px solid var(--c-border); }
.spec-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.spec-item {
  padding: 30px 8px 30px 0;
  border-left: 1px solid var(--c-border);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-item:first-child { border-left: none; padding-left: 0; }
.spec-item .num {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.spec-item h3 { font-size: 1.02rem; margin-bottom: 0.1em; }
.spec-item p { color: var(--c-text-muted); font-size: 0.92rem; margin: 0; max-width: 34ch; }
@media (max-width: 780px) {
  .spec-bar-inner { grid-template-columns: 1fr; }
  .spec-item { border-left: none; border-top: 1px solid var(--c-border); padding: 22px 0 0; }
  .spec-item:first-child { border-top: none; }
}

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 88px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.05fr 0.95fr; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; overflow: clip; } /* mask-reveal skalerer billedet til 1,12x; uden clip rager det 15 px ud over skærmen og giver vandret scroll i Safari/WebKit på mobil */
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-media .badge-float {
  margin-top: 18px;
  display: flex; align-items: baseline; gap: 12px;
}
.split-media .badge-float .num { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--c-primary-dark); }
.split-media .badge-float .lbl { font-size: 0.86rem; color: var(--c-text-muted); line-height: 1.3; }
.split-body ul.check-list { margin: 30px 0; display: flex; flex-direction: column; }
.check-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--c-border);
}
.check-list li:last-child { border-bottom: 1px solid var(--c-border); }
.check-list .tick {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--c-primary);
  margin-top: 3px;
}
.check-list .tick svg { width: 100%; height: 100%; }
.check-list strong { display: block; color: var(--c-dark); font-weight: 600; }
.check-list span.desc { color: var(--c-text-muted); font-size: 0.95rem; }

@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Ydelseskort (billede + tekst, ingen overlay-gradient) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--c-border); border: 1px solid var(--c-border); }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  color: var(--c-text);
}
.service-card picture, .service-card > img { display: block; aspect-ratio: 4/5; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover img { transform: scale(1.03); }
.service-card::after { content: none; }
.service-card-body { position: relative; z-index: 1; padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.service-card-body h3 { color: var(--c-dark); font-size: 1.2rem; margin-bottom: 0.35em; }
.service-card-body p { color: var(--c-text-muted); font-size: 0.92rem; margin-bottom: 1.2em; }
.service-card-body .card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.88rem; color: var(--c-primary-dark); }
.service-card-body .card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.service-card:hover .card-link svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
  .service-card picture, .service-card > img { aspect-ratio: 16/10; }
}

.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Lead form ---------- */
.lead-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--c-white);
}
.lead-bg {
  position: absolute;
  top: -60px; left: 0; right: 0;
  height: calc(100% + 120px);
  z-index: -2;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.lead-section::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(15,12,7,0.94) 0%, rgba(15,12,7,0.86) 48%, rgba(15,12,7,0.62) 100%);
}
.lead-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; position: relative; }
.lead-form-card {
  position: relative;
  background: rgba(28, 23, 15, 0.55);
  border: 1px solid rgba(241,236,221,0.16);
  border-radius: var(--radius-md);
  padding: 38px;
}
.lead-form-card h3 { color: var(--c-white); font-size: 1.5rem; font-family: var(--font-heading); font-weight: 600; }
.lead-form-card > p { color: var(--c-text-on-dark-muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; color: var(--c-text-on-dark-muted); letter-spacing: 0.01em; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(241,236,221,0.24);
  background: rgba(241,236,221,0.06);
  color: var(--c-white);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color .15s ease, background .15s ease;
}
.field select option { color: var(--c-dark); }
.field input::placeholder, .field textarea::placeholder { color: rgba(241,236,221,0.38); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--color-primary-bright);
  background: rgba(241,236,221,0.1);
}
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--c-text-on-dark-muted); margin: 18px 0; line-height: 1.5; }
.field-check input { width: auto; margin-top: 3px; accent-color: var(--color-accent); }
.form-msg { margin-top: 14px; font-size: 0.9rem; display: none; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid; }
.form-msg.success { display: block; background: rgba(94,138,74,0.14); color: #D3E4C6; border-color: rgba(94,138,74,0.4); }
.form-msg.error { display: block; background: rgba(178,84,66,0.14); color: #F0CFC3; border-color: rgba(178,84,66,0.4); }

.lead-info h2 { color: var(--c-white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.lead-info p { color: var(--c-text-on-dark-muted); font-size: 1.03rem; }
.lead-info-list { margin-top: 32px; display: flex; flex-direction: column; }
.lead-info-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(241,236,221,0.12);
}
.lead-info-item:last-child { border-bottom: 1px solid rgba(241,236,221,0.12); }
.lead-info-item .icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  color: var(--color-primary-bright);
}
.lead-info-item .icon svg { width: 100%; height: 100%; }
.lead-info-item strong { display: block; color: var(--c-white); font-weight: 600; }
.lead-info-item span { color: var(--c-text-on-dark-muted); font-size: 0.92rem; }

@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lead-info { order: 2; }
  .lead-form-card { padding: 26px; }
}

/* ---------- Social video-strip: manuel vandret scroll, rører
   sig ikke af sig selv. ---------- */
.reel-strip {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(241,236,221,0.25) transparent;
}
.reel-strip::-webkit-scrollbar { height: 5px; }
.reel-strip::-webkit-scrollbar-thumb { background: rgba(241,236,221,0.2); }

.reel-card {
  position: relative;
  flex: 0 0 auto;
  width: 216px;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #000;
  scroll-snap-align: start;
}
.reel-card video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.reel-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 58%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.reel-card .reel-label {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
  color: #fff; font-weight: 600; font-size: 0.84rem; text-align: left;
}
@media (max-width: 560px) {
  .reel-card { width: 150px; }
}

/* Følg-knapper */
.social-follow-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 12px;
}
.social-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--c-text-on-dark-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.social-follow-btn .icon { width: 17px; height: 17px; display: flex; }
.social-follow-btn .icon svg { width: 100%; height: 100%; }
.social-follow-btn:hover { color: var(--c-white); border-color: rgba(241,236,221,0.4); }

/* ---------- Kort/dækningsområde ---------- */
.area-cinematic {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center 30%;
  color: var(--c-white);
  overflow: hidden;
}
.area-cinematic::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,9,5,0.95) 0%, rgba(11,9,5,0.88) 40%, rgba(11,9,5,0.5) 72%, rgba(11,9,5,0.28) 100%);
}
.area-cinematic-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.area-cinematic-text p { color: var(--c-text-on-dark-muted); font-size: 1.05rem; max-width: 46ch; }
.area-cinematic-text h2 { color: var(--c-white); }
.area-cinematic-note {
  border-left: 2px solid var(--color-primary-bright);
  padding-left: 14px;
  margin-top: 14px !important;
  font-size: 0.94rem !important;
}
.area-cinematic-note a { color: var(--color-primary-bright); text-decoration: underline; text-underline-offset: 2px; }
.area-cinematic-note a:hover { color: var(--c-white); }
.area-cinematic-text .header-phone { margin-top: 10px; display: inline-flex; font-size: 1.02rem; color: var(--c-white); }
.area-cinematic-text .header-phone svg { width: 18px; height: 18px; }

/* Danmarkskort */
.area-radar {
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 793;
  max-width: 420px;
  margin: 0 auto;
  pointer-events: auto;
}
.dk-map { width: 100%; height: 100%; display: block; overflow: visible; }

.dk-landmass {
  fill: var(--color-dark-soft);
  stroke: rgba(195, 203, 178, 0.28);
  stroke-width: 1;
  opacity: 0;
  transition: opacity .9s ease;
}
.area-radar.is-visible .dk-landmass { opacity: 1; }

.dk-coverage-glow { display: none; }

.dk-dot {
  fill: var(--color-primary-bright);
  stroke: rgba(11, 9, 5, 0.7);
  stroke-width: 0.6;
  opacity: 0;
  transition: opacity .4s ease;
  transition-delay: calc(var(--i, 0) * 0.02s);
}
.area-radar.is-visible .dk-dot { opacity: 1; }

.radar-ring-svg, .radar-sweep-svg { display: none; }

.dk-hq-dot {
  fill: var(--color-accent);
  stroke: #fff;
  stroke-width: 1;
}

.radar-hq-label {
  position: absolute;
  transform: translate(-50%, 14px);
  white-space: nowrap;
  border: 1px solid rgba(241,236,221,0.24);
  padding: 6px 14px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--c-white);
  opacity: 0;
  transition: opacity .5s ease .5s;
  pointer-events: none;
}
.area-radar.is-visible .radar-hq-label { opacity: 1; }
.radar-hq-label small { display: block; font-weight: 400; color: var(--c-text-on-dark-muted); font-size: 0.68rem; text-align: center; }

.footer-credit {
  padding: 0 0 22px;
  font-size: 0.7rem;
  color: rgba(241,236,221,0.22);
  text-align: center;
}

/* Byliste: tynd tekstliste, ingen udfyldte piller */
.city-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 32px;
}
.city-chip-list li a {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 0;
  color: var(--c-text-on-dark-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.city-chip-list svg { width: 12px; height: 12px; color: var(--color-accent); flex-shrink: 0; }
.city-chip-list li a:hover { color: var(--c-white); border-color: rgba(241,236,221,0.35); }

.dk-town { cursor: pointer; }
.dk-town .dk-hit { fill: transparent; }
.dk-town .dk-label {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  fill: #fff; paint-order: stroke; stroke: rgba(11,9,5,.9); stroke-width: 4px; stroke-linejoin: round;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.dk-town:hover .dk-label, .dk-town:focus .dk-label { opacity: 1; }
.dk-town:hover .dk-dot, .dk-town:focus .dk-dot { fill: #fff; }

@media (max-width: 900px) {
  .area-cinematic-inner { grid-template-columns: 1fr; gap: 26px; }
  .area-cinematic::before {
    background: linear-gradient(180deg, rgba(11,9,5,0.62) 0%, rgba(11,9,5,0.92) 45%, rgba(11,9,5,0.96) 100%);
  }
  .area-radar { max-width: 300px; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .dk-landmass, .dk-dot, .radar-hq-label { opacity: 1 !important; transition: none !important; }
  .hero-media video, .hero-media img { animation: none !important; }
  .hero-eyebrow, .hero h1, .hero-sub, .hero-cta,
  .page-hero .breadcrumb, .page-hero .eyebrow, .page-hero h1, .page-hero p {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  body { animation: none; opacity: 1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: var(--c-text-on-dark-muted); padding: 84px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(241,236,221,0.1);
}
.footer-brand img { height: 84px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 280px; }
.footer-social { display: flex; gap: 18px; margin-top: 20px; }
.footer-social a { color: var(--c-text-on-dark-muted); transition: color .15s ease; }
.footer-social a:hover { color: var(--c-white); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { color: var(--c-white); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.footer-col a { transition: color .15s ease; }
.footer-col a:hover { color: var(--c-white); }
.footer-col address { font-style: normal; font-size: 0.9rem; line-height: 1.7; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding: 26px 0;
  font-size: 0.8rem;
}
.footer-bottom a:hover { color: var(--c-white); }
.footer-col li.foot-sub { margin-top: 8px; }
.footer-col li.foot-sub:first-child { margin-top: 0; }
.footer-col li.foot-sub a { color: var(--c-white); font-weight: 600; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Generic content page bits ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; }
.prose p { color: var(--c-text-muted); }
.prose ul { margin: 0 0 1.2em; }
.prose li { color: var(--c-text-muted); padding-left: 22px; position: relative; margin-bottom: 10px; }
.prose li::before { content: "–"; position: absolute; left: 0; color: var(--c-primary); }

/* Process steps — tynd indeks-nummerering i stedet for kæmpe dekorative tal */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--c-border); }
.step-item { position: relative; padding: 28px 24px 4px 0; border-left: 1px solid var(--c-border); padding-left: 24px; }
.step-item:first-child { border-left: none; padding-left: 0; }
.step-item .step-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.step-item h3 { font-size: 1.04rem; }
.step-item p { color: var(--c-text-muted); font-size: 0.92rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step-item { border-left: none; border-top: 1px solid var(--c-border); padding: 22px 16px 4px 0; }
  .step-item:nth-child(odd) { padding-left: 0; }
  .step-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--c-border); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step-item, .step-item:nth-child(even) { border-left: none; padding-left: 0; }
}

/* Pricing box */
.price-box {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 34px;
}
.price-box .price { font-family: var(--font-heading); font-size: 2.3rem; color: var(--c-primary-dark); font-weight: 600; }
.price-box .price span:not([data-count-to]) { font-size: 1rem; color: var(--c-text-muted); font-weight: 500; font-family: var(--font-body); }
.price-box small { color: var(--c-text-muted); }
.price-box h3 { font-size: 1.08rem; }
.price-box .icon { display: none; }

/* Before/after slider */
.ba-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-border);
  aspect-ratio: 4/3;
  max-width: 680px;
  margin: 0 auto;
  cursor: ew-resize;
  user-select: none;
}
.ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { z-index: 1; }
.ba-before-clip { position: absolute; inset: 0; z-index: 2; overflow: hidden; width: 50%; }
.ba-before-clip img { width: var(--ba-w, 640px); max-width: none; height: 100%; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3;
  width: 1px; background: rgba(255,255,255,0.85);
  transform: translateX(-50%);
}
.ba-handle::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px;
  background: var(--c-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.ba-handle::before {
  content: "↔";
  position: absolute; top: 50%; left: 50%; z-index: 1;
  transform: translate(-50%, -52%);
  font-size: 1rem;
  color: var(--c-dark);
}
.ba-label { position: absolute; top: 18px; z-index: 4; background: rgba(17,14,9,0.72); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; }
.ba-label.before { left: 0; }
.ba-label.after { right: 0; }

/* Gallery — asymmetrisk rytme på store gallerier via nth-child,
   uden at røre markup. Skalerer altid ned til én kolonne på mobil. */
.filter-bar { display: flex; flex-wrap: wrap; gap: 4px 30px; margin-bottom: 44px; border-bottom: 1px solid var(--c-border); }
.filter-btn {
  padding: 12px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--c-text-muted);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.filter-btn:hover { color: var(--c-text); }
.filter-btn.active { color: var(--c-primary-dark); border-color: var(--c-primary); font-weight: 600; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,9,5,0) 58%, rgba(11,9,5,0.72) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item .tag { display: none; }
.gallery-item .caption-overlay {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  color: #fff; font-weight: 500; font-size: 0.86rem; line-height: 1.3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery-item:hover .caption-overlay { opacity: 1; transform: translateY(0); }
.gallery-item .view-icon { display: none; }
.gallery-item[hidden] { display: none; }

.gallery-grid--projects > .gallery-item:nth-child(10n+1),
.gallery-grid--projects > .gallery-item:nth-child(10n+4) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .gallery-grid, .gallery-grid--projects { grid-template-columns: repeat(2, 1fr) !important; gap: 2px; }
  .gallery-grid--projects > .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}
@media (hover: none) {
  .gallery-item::before, .gallery-item .caption-overlay { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item img, .gallery-item::before, .gallery-item .caption-overlay { transition: none; }
}
@media (max-width: 1080px) {
  .card-grid[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 720px) {
  .card-grid[style*="repeat(3"], .card-grid[style*="repeat(4"] { grid-template-columns: 1fr !important; }
  .gallery-grid[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(11,9,5,0.95);
  display: none;
  align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(241,236,221,0.24);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { border-color: #fff; }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-close svg, .lightbox-nav svg { width: 19px; height: 19px; }
.lightbox-nav.prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-nav { display: none; }
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-card { padding: 0; }
.contact-card input, .contact-card textarea, .contact-card select {
  background: var(--c-white) !important;
  border: 1px solid var(--c-border) !important;
  color: var(--c-text) !important;
}
.contact-card .field label { color: var(--c-text-muted); }
.contact-card input::placeholder, .contact-card textarea::placeholder { color: var(--c-text-muted); opacity: 0.7; }
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus {
  border-color: var(--c-primary) !important;
  background: var(--c-white) !important;
}
.contact-card .field-check { color: var(--c-text-muted); }
.contact-info-list { display: flex; flex-direction: column; margin-top: 28px; }
.contact-info-list .lead-info-item { border-top: 1px solid var(--c-border); }
.contact-info-list .lead-info-item:last-child { border-bottom: 1px solid var(--c-border); }
.contact-info-list .icon { color: var(--c-primary); }
.map-embed { overflow: hidden; margin-top: 30px; border: 1px solid var(--c-border); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(0.3) contrast(1.02); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  background: none; border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--c-dark);
  cursor: pointer;
}
.faq-q svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; transition: transform .2s ease; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { color: var(--c-text-muted); padding-bottom: 24px; margin: 0; max-width: 62ch; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--c-primary); color: #fff; padding: 12px 18px; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Prisberegner (græsplæne) — visuel indpakning, samme funktion.
   ============================================================ */
.calc-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px) {
  .calc-layout { grid-template-columns: 1fr; }
}

/* Address search */
.addr-field { position: relative; margin-bottom: 18px; }
.addr-field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--c-dark); margin-bottom: 9px; }
.addr-field .addr-input-wrap { position: relative; }
.addr-field input {
  width: 100%;
  padding: 15px 16px 15px 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  font-family: inherit;
  font-size: 1rem;
  background: var(--c-white);
}
.addr-field input:focus { outline: none; border-color: var(--c-primary); }
.addr-field .addr-icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--c-text-muted); pointer-events: none;
}
.addr-suggestions {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}
.addr-suggestions.is-open { display: block; }
.addr-suggestions li button {
  display: block; width: 100%; text-align: left;
  padding: 12px 16px;
  background: none; border: none; border-bottom: 1px solid var(--c-border);
  font-family: inherit; font-size: 0.92rem; color: var(--c-text);
  cursor: pointer;
}
.addr-suggestions li:last-child button { border-bottom: none; }
.addr-suggestions li button:hover, .addr-suggestions li button.is-active { background: var(--c-bg-soft); }
.addr-suggestions .addr-empty { padding: 14px 16px; font-size: 0.88rem; color: var(--c-text-muted); }

/* Map */
.map-wrap { position: relative; overflow: hidden; border: 1px solid var(--c-border); }
#calc-map { height: 480px; width: 100%; background: var(--c-bg-soft); isolation: isolate; }
@media (max-width: 640px) { #calc-map { height: 380px; } }
.map-toolbar {
  position: absolute; top: 14px; left: 14px; right: 14px; z-index: 900;
  display: flex; gap: 8px; flex-wrap: wrap;
  pointer-events: none;
}
.map-toolbar > * { pointer-events: auto; }
.map-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.96);
  font-weight: 600; font-size: 0.84rem;
  color: var(--c-dark);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.map-btn svg { width: 15px; height: 15px; }
.map-btn.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.map-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.map-layer-toggle {
  display: inline-flex;
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.96);
  padding: 2px;
  margin-left: auto;
}
.map-layer-toggle button {
  border: none; background: none; cursor: pointer;
  padding: 7px 13px;
  font-weight: 600; font-size: 0.8rem; color: var(--c-dark);
}
.map-layer-toggle button.is-active { background: var(--c-primary); color: #fff; }
.map-area-badge {
  position: absolute; bottom: 14px; left: 14px; z-index: 900;
  background: rgba(17,14,9,0.82);
  color: #fff;
  padding: 9px 15px;
  font-size: 0.84rem;
}
.map-area-badge strong { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; }
.map-instructions {
  position: absolute; bottom: 14px; right: 14px; left: 14px; z-index: 890;
  text-align: center;
  background: rgba(17,14,9,0.82);
  color: #fff;
  padding: 8px 14px;
  font-size: 0.8rem;
  pointer-events: none;
}
@media (min-width: 641px) {
  .map-instructions { left: auto; max-width: 320px; }
}

/* Manuelt areal (alternativ til at tegne) */
.manual-area-toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 16px 0; font-size: 0.88rem; color: var(--c-text-muted); }
.manual-area-toggle button {
  background: none; border: none; padding: 0;
  color: var(--c-primary-dark); font-weight: 600; cursor: pointer;
  border-bottom: 1px solid currentColor;
  font-size: inherit; font-family: inherit;
}
.manual-area-row { display: none; gap: 10px; margin: 16px 0; }
.manual-area-row.is-open { display: flex; flex-wrap: wrap; }
.manual-area-row .btn { white-space: normal; flex: 0 1 auto; }
.manual-area-row input {
  flex: 1 1 150px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  font-family: inherit; font-size: 1rem;
}
.manual-area-row input:focus { outline: none; border-color: var(--c-primary); }

/* Option pills — segmenteret valg, skarpe hjørner */
.option-group { margin-bottom: 26px; }
.option-group > label, .option-group > .option-group-label {
  display: block; font-size: 0.88rem; font-weight: 600; color: var(--c-dark); margin-bottom: 11px;
}
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill { flex: 1 1 auto; position: relative; }
.option-pill input { position: absolute; opacity: 0; pointer-events: none; }
.option-pill span {
  display: block;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  color: var(--c-text);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.option-pill span small { display: block; font-weight: 400; color: var(--c-text-muted); font-size: 0.74rem; margin-top: 3px; }
.option-pill input:checked + span { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary-dark); }
.option-pill input:focus-visible + span { outline: 2px solid var(--c-primary); outline-offset: 1px; }

.addon-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--c-border); }
.addon-row:last-child { border-bottom: 1px solid var(--c-border); }
.addon-row input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--c-primary); flex-shrink: 0; }
.addon-row .addon-text strong { display: block; font-size: 0.92rem; font-weight: 600; }
.addon-row .addon-text span { font-size: 0.85rem; color: var(--c-text-muted); }
.addon-row .addon-price { margin-left: auto; font-weight: 600; font-size: 0.86rem; color: var(--c-primary-dark); white-space: nowrap; padding-left: 10px; }

/* Price panel */
.price-panel {
  background: var(--c-dark);
  color: var(--c-white);
  padding: 30px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.price-panel .price-area { font-size: 0.9rem; color: var(--c-text-on-dark-muted); margin-bottom: 4px; }
.price-panel .price-area strong { color: #fff; }
.price-quote-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary-on-dark); margin-top: 10px; }
.price-amount { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 600; margin: 8px 0 2px; }
.price-amount .unit { font-size: 1rem; font-weight: 400; color: var(--c-text-on-dark-muted); }
.price-vat-note { font-size: 0.78rem; color: var(--c-text-on-dark-muted); margin-bottom: 20px; }
.price-breakdown { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid rgba(241,236,221,0.14); }
.price-breakdown li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(241,236,221,0.14);
  font-size: 0.86rem;
  color: var(--c-text-on-dark-muted);
}
.price-breakdown li strong { color: #fff; font-weight: 600; }
/* Etiketten brydes ikke; et langt beløb (fx "34.750 kr. (13,90 kr./m²)") ombrydes højrestillet på smalle skærme */
.price-breakdown li span { white-space: nowrap; }
.price-breakdown li strong { text-align: right; }
.price-breakdown .price-rate { white-space: nowrap; }
/* Fravalgte tilvalgslinjer skal være skjult (display:flex ovenfor overtrumfer ellers hidden-attributten) */
.price-breakdown li[hidden] { display: none; }
.price-breakdown-total { border-bottom: none; padding-top: 14px; }
.price-breakdown-total span { color: #fff; font-weight: 600; font-size: 0.92rem; }
.price-breakdown-total strong { font-size: 1.05rem; }
.price-placeholder { text-align: center; padding: 32px 8px; color: var(--c-text-on-dark-muted); font-size: 0.92rem; }
.price-placeholder svg { width: 30px; height: 30px; margin: 0 auto 14px; display: block; color: var(--color-primary-bright); }
.price-fallback {
  background: rgba(178,84,66,0.16);
  border: 1px solid rgba(178,84,66,0.38);
  padding: 16px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.price-fallback a { color: #fff; text-decoration: underline; }

/* Calculator lead-form (light) */
.calc-leadform { margin-top: 20px; display: none; }
.calc-leadform.is-open { display: block; }
.calc-leadform .field label { color: var(--c-text-on-dark-muted); }
.calc-leadform .field input, .calc-leadform .field textarea {
  background: rgba(241,236,221,0.06);
  border: 1px solid rgba(241,236,221,0.22);
  color: #fff;
}
.calc-leadform .field input::placeholder { color: rgba(241,236,221,0.38); }
.calc-summary-note { font-size: 0.8rem; color: var(--c-text-muted); margin-top: 12px; }

/* ============================================================
   Scroll-reveal — ét roligt løft, ingen løbende bevægelse.
   ============================================================ */
.js-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js-reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-reveal.reveal-left { transform: translateX(-24px); }
.js-reveal.reveal-left.is-visible { transform: translateX(0); }
.js-reveal.reveal-right { transform: translateX(24px); }
.js-reveal.reveal-right.is-visible { transform: translateX(0); }
.js-reveal.reveal-scale { transform: scale(0.97); }
.js-reveal.reveal-scale.is-visible { transform: scale(1); }

.card-grid > .js-reveal:nth-child(1),
.steps > .js-reveal:nth-child(1),
.gallery-grid > .js-reveal:nth-child(1),
.check-list > .js-reveal:nth-child(1) { --reveal-delay: 0s; }
.card-grid > .js-reveal:nth-child(2),
.steps > .js-reveal:nth-child(2),
.gallery-grid > .js-reveal:nth-child(2),
.check-list > .js-reveal:nth-child(2) { --reveal-delay: .07s; }
.card-grid > .js-reveal:nth-child(3),
.steps > .js-reveal:nth-child(3),
.gallery-grid > .js-reveal:nth-child(3),
.check-list > .js-reveal:nth-child(3) { --reveal-delay: .14s; }
.card-grid > .js-reveal:nth-child(4),
.steps > .js-reveal:nth-child(4),
.gallery-grid > .js-reveal:nth-child(4) { --reveal-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal, .js-reveal.reveal-left, .js-reveal.reveal-right, .js-reveal.reveal-scale {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ---------- Hero-parallax (scroll-bundet, kun ved interaktion) ---------- */
.hero-media { transition: transform .05s linear; }
.hero-content, .page-hero .container { will-change: transform, opacity; }

/* ---------- Mikro-interaktioner ---------- */
.btn:active { transform: translateY(1px); }
.main-nav a { position: relative; }
.main-nav a::before {
  content: "";
  position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 1px;
  background: var(--color-primary-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::before, .main-nav a.active::before { transform: scaleX(1); }

/* Tæller-tal: fast tegnbredde, så layoutet ikke hopper */
[data-count-to], .price-amount [data-price-total] {
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Ydelsesgrupper (forside + oversigt)
   ============================================================ */
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--c-border); border: 1px solid var(--c-border); }
.service-cat {
  background: var(--c-white);
  display: flex;
  flex-direction: column;
}
.service-cat-media { display: block; aspect-ratio: 5 / 4; overflow: hidden; }
.service-cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-cat:hover .service-cat-media img { transform: scale(1.03); }
.service-cat-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-cat-body h3 { font-size: 1.3rem; margin-bottom: .35em; font-family: var(--font-heading); font-weight: 600; }
.service-cat-body h3 a:hover { color: var(--c-primary-dark); }
.service-cat-body > p { color: var(--c-text-muted); font-size: 0.94rem; margin-bottom: 18px; }
.service-cat-links { display: flex; flex-direction: column; margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--c-border); }
.service-cat-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  font-weight: 500; font-size: 0.93rem;
  transition: color .15s ease;
}
.service-cat-links a svg { width: 13px; height: 13px; color: var(--color-accent); flex-shrink: 0; transition: transform .15s ease; }
.service-cat-links a:hover { color: var(--c-primary-dark); }
.service-cat-links a:hover svg { transform: translateX(3px); }
.service-cat-body .card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.9rem; color: var(--c-primary-dark); }
.service-cat-body .card-link svg { width: 14px; height: 14px; }
@media (max-width: 980px) { .service-groups { grid-template-columns: 1fr; } }

/* ---------- Byer: tynd tekstliste og minimale kort ---------- */
.town-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin: 0; padding: 0; list-style: none; }
.town-pills a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 0;
  color: var(--c-text);
  font-weight: 500; font-size: 0.93rem;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.town-pills svg { width: 13px; height: 13px; color: var(--color-accent); flex-shrink: 0; }
.town-pills a:hover { color: var(--c-primary-dark); border-color: var(--c-primary); }

.town-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--c-border); border: 1px solid var(--c-border); }
.town-card {
  display: flex; flex-direction: column; gap: 7px;
  padding: 26px; background: var(--c-white);
  transition: background .15s ease;
}
.town-card:hover { background: var(--c-bg-soft); }
.town-card strong { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--c-text); }
.town-card > span:not(.town-card-pin):not(.card-link) { color: var(--c-text-muted); font-size: 0.9rem; }
.town-card-pin svg { width: 18px; height: 18px; color: var(--color-accent); }
.town-card .card-link { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.86rem; color: var(--c-primary-dark); }
.town-card .card-link svg { width: 13px; height: 13px; transition: transform .15s ease; }
.town-card:hover .card-link svg { transform: translateX(3px); }
@media (max-width: 1080px) { .town-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .town-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .town-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .town-pills a, .service-cat, .town-card { transition: none; } }


/* ============================================================
   PREMIUM-LAG: græsplæne, hero-justering, knap-/linje-detaljer
   ============================================================ */
:root {
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --lawn-w: max(100vw, 1000px);
  --lawn-overlap: calc(var(--lawn-w) * 0.095);
}
@media (max-width: 780px) { :root { --lawn-w: max(100vw, 640px); } }

/* Hero gør plads til plænens strå (de rager op over hero'ens bund) */
.hero-content { padding-bottom: calc(84px + var(--lawn-overlap)); }
.hero-scroll { bottom: calc(var(--lawn-overlap) + 18px); z-index: 3; }

/* ---------- Græsplæne ---------- */
.lawn {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--lawn-overlap) * -1);
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.lawn-blades {
  display: block;
  position: relative;
  left: 50%;
  width: var(--lawn-w);
  height: auto;
  transform: translateX(-50%);
}
.lawn-grow {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 1.7s var(--ease-expo) calc(var(--ld, 0s) + var(--i, 0) * 70ms);
}
.lawn-layer--back { --ld: 0s; }
.lawn-layer--mid { --ld: .14s; }
.lawn-layer--front { --ld: .28s; }
.lawn.is-grown .lawn-grow { transform: scaleY(1); }
.lawn-sway {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: lawn-sway 6s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -0.8s);
}
.lawn-layer--back .lawn-sway { animation-duration: 8.5s; }
.lawn-layer--mid .lawn-sway { animation-duration: 6.5s; }
.lawn-layer--front .lawn-sway { animation-duration: 5.2s; }
@keyframes lawn-sway {
  from { transform: skewX(-2.4deg); }
  to { transform: skewX(2.4deg); }
}
.lawn.is-paused .lawn-sway { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .lawn-grow { transform: none; transition: none; }
  .lawn-sway { animation: none; }
}
@media (scripting: none) { .lawn-grow { transform: none; } }

/* ---------- Knapper: glidende fyld i stedet for farveskift ---------- */
.btn-primary { position: relative; overflow: hidden; z-index: 0; }
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-primary-dark);
  transform: translateX(-101%);
  transition: transform .55s var(--ease-expo);
}
.btn-primary:hover::before, .btn-primary:focus-visible::before { transform: translateX(0); }
.btn svg { transition: transform .4s var(--ease-expo); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- Eyebrow-stregen tegnes ind når sektionen afsløres ---------- */
.js-reveal .eyebrow::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s var(--ease-expo) .3s;
}
.js-reveal.is-visible .eyebrow::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .eyebrow::before { transform: none; transition: none; }
}


/* ---------- Kontaktformular i hero (foran videoen) ---------- */
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: end;
  padding-top: 90px;
  padding-bottom: calc(84px + var(--lawn-overlap));
}
.hero-layout .hero-content { padding: 0; max-width: 700px; }
.hero-form-card {
  position: relative;
  /* Gennemsigtigt "frostet glas": videoen ses bagved, men en mørk tint + blur sikrer læsbarheden */
  background: rgba(12, 18, 8, 0.46);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid var(--color-primary-on-dark);
  border-radius: 2px;
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.6);
  padding: 32px 32px 22px;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-form-card { background: rgba(14, 20, 10, 0.86); }
}
.hero-form-card .eyebrow { color: var(--color-primary-on-dark); margin-bottom: 0.6em; }
.hero-form-card h2 { color: #fff; font-size: 1.55rem; line-height: 1.12; margin: 0 0 10px; }
.hero-form-card .hf-lead { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; line-height: 1.55; margin: 0 0 22px; }

/* Stregfelter med flydende labels (lyse på glas) */
.hf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hf-field { position: relative; margin-bottom: 18px; }
.hf-field input, .hf-field textarea {
  width: 100%;
  padding: 24px 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .3s var(--ease);
}
.hf-field textarea { resize: none; min-height: 66px; line-height: 1.5; display: block; }
.hf-field label {
  position: absolute;
  left: 0;
  top: 24px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.78);
  pointer-events: none;
  transform-origin: left top;
  white-space: nowrap;
  max-width: 130%;
  transition: transform .35s var(--ease-expo), color .3s var(--ease);
}
.hf-field input:focus + label,
.hf-field input:not(:placeholder-shown) + label,
.hf-field textarea:focus + label,
.hf-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-20px) scale(0.76);
  color: var(--color-primary-on-dark);
  font-weight: 600;
}
.hf-field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-primary-on-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease-expo);
}
.hf-field:focus-within::after { transform: scaleX(1); }
.hf-field input:not(:placeholder-shown):not(:focus):invalid { border-bottom-color: #ff9a8a; }
.hf-field input:-webkit-autofill,
.hf-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 0 40px #1d2618 inset;
  transition: background-color 9999s ease-out;
}

/* Samtykke */
.hf-check { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 18px; font-size: 0.78rem; line-height: 1.5; color: rgba(255, 255, 255, 0.78); cursor: pointer; }
.hf-check input {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 auto;
  width: 17px; height: 17px; margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08) center / 11px no-repeat;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer;
}
.hf-check input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary-on-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.hf-check input:focus-visible { outline: 2px solid var(--color-primary-on-dark); outline-offset: 2px; }

/* Knap + bundnote */
.hf-submit { padding: 16px 24px; letter-spacing: 0.02em; justify-content: space-between; border-radius: 2px; }
.hf-submit svg { width: 18px; height: 18px; }
.hero-form-card .form-msg { margin-top: 14px; border-radius: 2px; }
.hero-form-card .form-msg.success { background: rgba(148, 196, 90, 0.2); color: #eaf6dc; border-color: rgba(148, 196, 90, 0.6); }
.hero-form-card .form-msg.error { background: rgba(214, 90, 70, 0.22); color: #ffe1db; border-color: rgba(255, 154, 138, 0.6); }
.hf-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.75);
}
.hf-foot a { color: #fff; font-weight: 600; letter-spacing: 0.01em; background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat; transition: background-size .4s var(--ease-expo); padding-bottom: 2px; }
.hf-foot a:hover { background-size: 100% 1px; }
@media (prefers-reduced-motion: reduce) {
  .hf-field label, .hf-field::after { transition: none; }
}
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 70px; }
  .hero-form-card { max-width: 520px; }
}
@media (max-width: 640px) {
  .hero-form-card { padding: 26px 22px 20px; max-width: none; }
  .hf-row { grid-template-columns: 1fr; gap: 0; }
  .hero-form-card h2 { font-size: 1.4rem; }
}

/* Hero-billedet toner ud til sidens baggrund, så græsset vokser op af det hvide */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--lawn-overlap) * 0.85);
  background: linear-gradient(180deg, rgba(246, 247, 240, 0) 0%, var(--color-bg) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Kontaktformular i ydelses-hero (øverst til højre) ---------- */
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: start;
}
.page-hero-text { min-width: 0; }
.page-hero.has-form { padding-bottom: 72px; }
/* kortet må ikke arve .page-hero p/eyebrow-regler (animation, opacitet, bredde) */
.page-hero .hero-form-card p,
.page-hero .hero-form-card .eyebrow,
.page-hero .hero-form-card h2 { animation: none; opacity: 1; max-width: none; }
.page-hero .hero-form-card .hf-lead { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.page-hero .hero-form-card .hf-service { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; margin: 0 0 8px; }
.page-hero .hero-form-card .hf-service strong { color: #fff; font-weight: 600; }
.page-hero .hero-form-card .hf-check span { color: rgba(255, 255, 255, 0.78); }
.page-hero .hero-form-card { animation: intro-rise .8s var(--ease) .25s backwards; }
@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero .hero-form-card { max-width: 520px; }
}
@media (max-width: 640px) {
  .page-hero .hero-form-card { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .hero-form-card { animation: none; }
}

/* Skjult for øjet, men læses af skærmlæsere og søgemaskiner (overskriftshierarki) */
.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}

/* Kontaktsektionens baggrund er nu et <img loading=lazy> (samme udtryk som før som CSS-baggrund) */
img.lead-bg { width: 100%; max-width: none; object-fit: cover; object-position: center; }

/* Sidehero-baggrund: <picture class="page-hero-bg"> bag teksten (tidligere CSS-baggrund; samme udtryk: cover, centreret) */
.page-hero-bg { position: absolute; inset: 0; z-index: -2; display: block; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }

/* ---------- Forsidens hero- og header-intro i ren CSS ----------
   Samme forløb, kurver og forsinkelser som den tidligere GSAP-timeline (expo.out), men starter ved første paint i stedet for efter
   at scripts er hentet og kørt. Keyframes har kun "from": slutværdien er elementets egen stil (fx .hero-sub opacity .88), og
   fill-mode "backwards" efterlader ingen permanente animationsværdier (hover/transform påvirkes ikke). Virker uden JavaScript. */
@keyframes hi-rise { from { opacity: 0; transform: translate3d(0, var(--hi-y, 12px), 0); } }
@keyframes hi-fade { from { opacity: 0; } }
@keyframes hi-mask { from { transform: translate3d(0, 112%, 0); } }
@keyframes hi-head { from { opacity: 0; transform: translate3d(0, -16px, 0); } }
@keyframes hi-overlay { from { opacity: 1; } to { opacity: 0; } }
.hero-media::before { animation: hi-overlay 1.15s var(--ease) both; }
.hero .hero-eyebrow { --hi-y: 10px; animation: hi-rise .6s var(--ease-expo) .1s backwards; }
.hero h1 { animation: hi-mask 1.05s var(--ease-expo) .18s backwards; }
.hero .hero-sub { --hi-y: 14px; animation: hi-rise .8s var(--ease-expo) .62s backwards; }
.hero .hero-cta > * { --hi-y: 12px; animation: hi-rise .6s var(--ease-expo) .82s backwards; }
.hero .hero-cta > *:nth-child(2) { animation-delay: .92s; }
.hero .hero-scroll { animation: hi-fade .7s var(--ease-expo) 1.15s backwards; }
.hero .hero-form-card { --hi-y: 18px; animation: hi-rise .9s var(--ease-expo) .7s backwards; }
@media (min-width: 900px) { .hero .hero-form-card { --hi-y: 34px; } }
.hero .hf-field, .hero .hf-check, .hero .hf-submit, .hero .hf-foot { --hi-y: 12px; animation: hi-rise .6s var(--ease-expo) 1s backwards; }
.hero .hf-row .hf-field:nth-child(2) { animation-delay: 1.07s; }
.hero form > .hf-field:nth-child(3) { animation-delay: 1.14s; }
.hero form > .hf-field:nth-child(4) { animation-delay: 1.21s; }
.hero form > .hf-field--area { animation-delay: 1.28s; }
.hero .hf-check { animation-delay: 1.35s; }
.hero .hf-submit { animation-delay: 1.42s; }
.hero .hf-foot { animation-delay: 1.49s; }
body:has(.hero) .site-header .brand, body:has(.hero) .site-header .main-nav > *, body:has(.hero) .site-header .header-actions > * { animation: hi-head .9s var(--ease-expo) .1s backwards; }
body:has(.hero) .site-header .main-nav > *:nth-child(1) { animation-delay: .15s; }
body:has(.hero) .site-header .main-nav > *:nth-child(2) { animation-delay: .2s; }
body:has(.hero) .site-header .main-nav > *:nth-child(3) { animation-delay: .25s; }
body:has(.hero) .site-header .main-nav > *:nth-child(4) { animation-delay: .3s; }
body:has(.hero) .site-header .main-nav > *:nth-child(5) { animation-delay: .35s; }
body:has(.hero) .site-header .main-nav > *:nth-child(6) { animation-delay: .4s; }
body:has(.hero) .site-header .header-actions > *:nth-child(1) { animation-delay: .45s; }
body:has(.hero) .site-header .header-actions > *:nth-child(2) { animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .hero *, .hero-media::before, body:has(.hero) .site-header * { animation: none !important; }
}
