/* ============================================================
   MADSEN BASE — fundament-CSS (v1)
   KUN reset + kontrakter + a11y/perf-konsensus fra de 7 sider.
   NUL udseende: alt visuelt kommer fra tokens.css + sidens
   bespoke lag, som skrives UNDER denne blok i hver sides main.css.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html, body {
  /* clip — IKKE hidden: hidden gør body til scroll-container og
     brækker window-scroll-listeners; clip fanger også fixed udhæng.
     (Hårdt lært på madsen-studio.) */
  overflow-x: clip;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

img, video, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

/* [hidden] skal ALTID vinde — author-display (fx img{display:block})
   slår ellers UA'ens [hidden]{display:none} ihjel, så .hidden=true i JS
   "virker" uden at skjule noget. (Hårdt lært på iqwash 2026-06-11:
   fallback-billede dækkede wipe-canvas usynligt.) */
[hidden] { display: none !important; }

/* ---------- A11y-kontrakter ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* Honeypot: off-screen — ALDRIG display:none (bots tjekker det) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fokus: synligt og på linje med hover-udtrykket — re-skin pr. side */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Layout-kontrakt ---------- */
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Reveal-systemets kontrakt ----------
   JS sætter .in-view (IntersectionObserver). Personligheden bor i
   tokens (--reveal-y/--reveal-dur/--ease/--reveal-step) og kan
   overskrives pr. side: retning, skala, blur — frit spil. */
:root {
  --reveal-y: 28px;        /* afstand — rolig side: 12px · dramatisk: 48px */
  --reveal-dur: var(--dur);
  --reveal-step: 90ms;     /* stagger-trin for data-reveal-delay */
}
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease);
}
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: calc(1 * var(--reveal-step)); }
[data-reveal][data-reveal-delay="2"] { transition-delay: calc(2 * var(--reveal-step)); }
[data-reveal][data-reveal-delay="3"] { transition-delay: calc(3 * var(--reveal-step)); }
[data-reveal][data-reveal-delay="4"] { transition-delay: calc(4 * var(--reveal-step)); }

/* ---------- Magnetiske elementer ---------- */
[data-magnet] { transition: transform 250ms var(--ease); will-change: transform; }

/* ---------- Reduced motion: global kill-switch (alle siders standard) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   HERFRA: sidens bespoke lag — layout, sektioner, mønstre
   (re-skinnet fra patterns/), alt refererende til tokens.
   ============================================================ */

/* ============================================================
   SCHACHT HAVE & BYG — bespoke lag · "Frodigt væksthus"
   Lys premium-editorial · flaskegrøn + klorofyl · væksthus-buen
   ============================================================ */

::selection { background: var(--accent-soft); color: var(--ink); }

body { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: var(--t-display-xl); }
h2 { font-size: var(--t-display-l); }
h3 { font-size: var(--t-display-m); }

/* Drivende klorofyl-lys — meget nænsomt, GPU-venligt */
body::after {
  content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 30% at 12% 18%, rgba(62,138,46,0.05), transparent 70%),
    radial-gradient(42% 34% at 88% 72%, rgba(62,138,46,0.06), transparent 70%),
    radial-gradient(30% 26% at 70% 12%, rgba(201,180,120,0.05), transparent 70%);
  animation: vksDrift 34s var(--ease) infinite alternate;
  will-change: transform;
}
@keyframes vksDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(2.5%, -2%) scale(1.07); }
}

/* ---------- Fælles byggeklodser ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-mono-l); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-deep);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent);
}
.sec { padding-block: var(--rhythm); }
.sec--tight { padding-block: calc(var(--rhythm) * 0.62); }
.sec-head { max-width: 720px; margin-bottom: var(--s-7); }
.sec-head h2 { margin-top: var(--s-3); }
.sec-head .lead { margin-top: var(--s-4); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.prose p { max-width: 68ch; color: var(--ink-2); margin-bottom: var(--s-4); }
.prose h2, .prose h3 { margin: var(--s-7) 0 var(--s-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 34px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 19px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn--primary { background: var(--cta); color: #fff; box-shadow: 0 10px 26px -14px rgba(13,49,31,0.55); }
.btn--primary:hover { background: var(--cta-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hairline-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.btn--lys { background: var(--paper); color: var(--moerk-2); }
.btn--lys:hover { background: #fff; transform: translateY(-2px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 19px;
  border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--hairline);
  font-size: var(--t-small); font-weight: 500; color: var(--ink-2); text-decoration: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 60;
  transition: background var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.nav.is-solid { background: rgba(251,248,242,0.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hairline); }
.nav__inner {
  max-width: var(--max); margin-inline: auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: var(--s-6);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand svg { width: 38px; height: 38px; border-radius: 9px; }
.brand__navn { font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--ink); line-height: 1; }
.brand__sub { display: block; font-family: var(--f-body); font-weight: 500; font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > a, .nav-group > button {
  padding: 12px 17px; border-radius: var(--r-pill); background: none; border: 0; cursor: pointer;
  font-size: 18px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__links > a:hover, .nav-group > button:hover, .nav__links > a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.nav-group { position: relative; }
.nav-group > button::after { content: ""; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-group::before { /* hover-bro */ content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-drop {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 230px; padding: 10px; border-radius: var(--r-card);
  background: var(--bg-2); border: 1px solid var(--hairline); box-shadow: 0 24px 60px -24px rgba(23,40,30,0.35);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast);
}
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s;
}
.nav-drop a { display: block; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-size: 17.5px; color: var(--ink-2); }
.nav-drop a:hover { background: var(--accent-soft); color: var(--ink); }
.nav__cta { margin-left: 6px; padding: 14px 26px; font-size: 17.5px; }
.nav__burger { display: none; }

/* Mobilmenu (siblings af nav) */
.mm-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(13,32,22,0.45); opacity: 0; visibility: hidden; transition: opacity var(--dur-fast) ease, visibility 0s linear var(--dur-fast); }
.mm { position: fixed; z-index: 71; inset-block: 0; right: 0; width: min(400px, 92vw); background: var(--bg); padding: 26px; overflow-y: auto; transform: translateX(102%); transition: transform 380ms var(--ease); display: flex; flex-direction: column; gap: 4px; }
body.mm-open .mm { transform: none; }
body.mm-open .mm-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
.mm__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mm a { padding: 12px 10px; border-radius: 12px; text-decoration: none; font-size: 18.5px; font-weight: 500; color: var(--ink); }
.mm a:hover { background: var(--accent-soft); }
.mm__h { margin: 14px 10px 4px; font-size: var(--t-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
.mm .mm__sub { padding-left: 22px; font-size: 16px; color: var(--ink-2); }
.mm__cta { margin-top: 18px; }
.mm__luk { background: none; border: 0; cursor: pointer; padding: 10px; border-radius: 10px; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(94svh, 980px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(18,59,42,0) 34%, rgba(13,36,25,0.62) 78%, rgba(11,30,21,0.78) 100%);
}
.hero__media img { animation: heroKen 26s var(--ease) both; transform-origin: 46% 60%; }
@keyframes heroKen { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter) clamp(48px, 7vh, 90px); }
.hero__chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: var(--r-pill);
  background: rgba(245,248,241,0.14); border: 1px solid rgba(245,248,241,0.32);
  backdrop-filter: blur(8px); color: var(--paper); font-size: var(--t-small); font-weight: 500;
}
.hero__chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-lys); }
.hero h1 { color: #fff; max-width: 13ch; margin-top: var(--s-5); text-shadow: 0 2px 30px rgba(11,30,21,0.4); }
.hero__lead { color: var(--paper-2); font-size: var(--t-lead); line-height: 1.55; max-width: 54ch; margin-top: var(--s-5); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--s-6); align-items: center; }
.hero__24t { color: var(--paper-2); font-size: var(--t-small); display: inline-flex; gap: 8px; align-items: center; }
.hero__24t b { color: #fff; font-weight: 600; }

/* ---------- Trust-stribe ---------- */
.trust { border-block: 1px solid var(--hairline); background: var(--bg-2); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); padding-block: var(--s-6); }
.trust__it { display: flex; gap: 12px; align-items: flex-start; }
.trust__it svg { flex: 0 0 28px; width: 28px; height: 28px; color: var(--accent); margin-top: 1px; }
.trust__it b { display: block; font-size: 18.5px; font-weight: 600; }
.trust__it span { font-size: var(--t-small); color: var(--ink-3); line-height: 1.45; }

/* ---------- Featured (høj-ticket, væksthus-buen) ---------- */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 34px); }
.feat__card { position: relative; display: block; text-decoration: none; }
.feat__media { position: relative; border-radius: var(--r-arch); overflow: hidden; aspect-ratio: 3 / 3.9; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.feat__card:hover .feat__media img { transform: scale(1.045); }
.feat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,36,25,0) 52%, rgba(13,36,25,0.55) 100%); }
.feat__nr { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(245,248,241,0.85); font-size: var(--t-mono); letter-spacing: 0.2em; font-weight: 600; }
.feat__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 24px; color: #fff; }
.feat__body h3 { color: #fff; font-size: clamp(26px, 2.4vw, 38px); }
.feat__body p { color: var(--paper-2); font-size: 18px; line-height: 1.5; margin-top: 6px; max-width: 30ch; }
.feat__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--accent-lys); font-weight: 600; font-size: 16.5px; }
.feat__link::after { content: "→"; transition: transform var(--dur-fast) var(--ease); }
.feat__card:hover .feat__link::after { transform: translateX(5px); }

/* ---------- Ydelses-grid (øvrige) ---------- */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc__card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px 22px;
  background: var(--bg-2); border: 1px solid var(--hairline); border-radius: var(--r-card);
  text-decoration: none; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) ease;
}
.svc__card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(23,40,30,0.35); border-color: var(--hairline-2); }
.svc__card svg { width: 34px; height: 34px; color: var(--accent); }
.svc__card b { font-size: 20.5px; font-weight: 600; font-family: var(--f-display); }
.svc__card span { font-size: var(--t-small); color: var(--ink-3); line-height: 1.5; }

/* ---------- FØR/EFTER-TEATERET (signatur) ---------- */
.teater-scene { height: 300svh; position: relative; }
.teater-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--moerk); }
.teater-lag { position: absolute; inset: 0; }
.teater-lag img { width: 100%; height: 100%; object-fit: cover; }
.teater-lag--efter { opacity: 0; }
.teater-pin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,36,25,0.30) 0%, rgba(13,36,25,0) 34%, rgba(13,36,25,0.55) 100%); pointer-events: none; }
.teater-ui { position: absolute; inset-inline: 0; bottom: clamp(30px, 6vh, 64px); z-index: 3; text-align: center; padding-inline: var(--gutter); }
.teater-chip {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px; border-radius: var(--r-pill);
  background: rgba(13,46,32,0.55); border: 1px solid rgba(245,248,241,0.25); backdrop-filter: blur(10px);
  color: var(--paper); font-size: var(--t-small); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.teater-chip .t-f, .teater-chip .t-e { transition: opacity var(--dur-fast) ease; }
.teater-chip .t-e { color: var(--accent-lys); }
.teater-bar { width: min(320px, 60vw); height: 3px; border-radius: 3px; background: rgba(245,248,241,0.25); margin: 14px auto 0; overflow: hidden; }
.teater-bar i { display: block; height: 100%; width: 0; background: var(--accent-lys); border-radius: 3px; }
.teater-cap { margin-top: 14px; color: var(--paper-2); font-size: var(--t-small); }
.teater-head { position: absolute; top: clamp(26px, 5vh, 56px); inset-inline: 0; z-index: 3; text-align: center; padding-inline: var(--gutter); }
.teater-head .eyebrow { color: var(--accent-lys); }
.teater-head .eyebrow::before { background: var(--accent-lys); }
.teater-head h2 { color: #fff; font-size: var(--t-display-m); margin-top: 8px; }
/* statisk fallback (mobil/reduced) */
.teater-static { display: none; }
.is-native .teater-scene { display: none; }
.is-native .teater-static { display: block; }
.teater-static .tf-par { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.teater-static figure { position: relative; border-radius: var(--r-card); overflow: hidden; margin: 0; }
.teater-static img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.teater-static figcaption { position: absolute; top: 10px; left: 10px; padding: 6px 13px; border-radius: var(--r-pill); background: rgba(13,46,32,0.72); color: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Haveaftalen ---------- */
.aftale { background: var(--moerk); color: var(--paper); border-radius: clamp(20px, 3vw, 34px); overflow: hidden; position: relative; }
.aftale::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(147,217,123,0.13), transparent 70%); pointer-events: none; }
.aftale__inner { position: relative; padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.aftale .eyebrow { color: var(--accent-lys); }
.aftale .eyebrow::before { background: var(--accent-lys); }
.aftale h2 { color: #fff; margin-top: var(--s-3); }
.aftale p { color: var(--paper-2); margin-top: var(--s-4); max-width: 52ch; }
.aftale__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: var(--s-6); }
.saeson { display: grid; gap: 12px; }
.saeson__it { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-card); background: rgba(245,248,241,0.07); border: 1px solid rgba(245,248,241,0.13); }
.saeson__it b { display: block; font-family: var(--f-display); font-size: 20px; color: #fff; }
.saeson__it span { font-size: var(--t-small); color: var(--paper-2); line-height: 1.5; }
.saeson__mrk { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(147,217,123,0.14); color: var(--accent-lys); font-weight: 700; font-size: 13px; }

/* ---------- Proces ---------- */
.proces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: trin; }
.proces__it { padding: 26px 22px; border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--hairline); counter-increment: trin; }
.proces__it::before { content: counter(trin, decimal-leading-zero); font-family: var(--f-display); font-size: 42px; font-weight: 600; color: var(--accent); display: block; margin-bottom: 10px; }
.proces__it b { display: block; font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.proces__it span { font-size: var(--t-small); color: var(--ink-3); line-height: 1.55; }

/* ---------- Galleri ---------- */
.gtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--s-6); }
.gtabs button {
  padding: 11px 22px; border-radius: var(--r-pill); border: 1px solid var(--hairline-2); background: none;
  font-size: 16.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all var(--dur-fast) ease;
}
.gtabs button:hover { border-color: var(--ink); color: var(--ink); }
.gtabs button.on { background: var(--cta); border-color: var(--cta); color: #fff; }
.ggrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ggrid a { display: block; border-radius: var(--r-card); overflow: hidden; position: relative; }
.ggrid img { aspect-ratio: 1 / 1.15; object-fit: cover; width: 100%; transition: transform 700ms var(--ease); }
.ggrid a:hover img { transform: scale(1.05); }
.ggrid[data-cat] a { display: none; }
/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(11,26,18,0.92); display: none; align-items: center; justify-content: center; padding: 4vmin; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: 12px; object-fit: contain; }
.lb button { position: absolute; background: rgba(245,248,241,0.1); border: 1px solid rgba(245,248,241,0.3); color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.lb__luk { top: 20px; right: 20px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__tal { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--paper-2); font-size: var(--t-small); }

/* ---------- Om-teaser + splits ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__media { border-radius: var(--r-arch); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 3/3.8; object-fit: cover; }
.split__media--rasmus img, .phero__media--rasmus img { aspect-ratio: 3 / 3.1; }
.split--flip .split__media { order: 2; }

/* ---------- Byer ---------- */
.byer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.byer a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 20px 22px; border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--hairline);
  text-decoration: none; font-weight: 600; font-size: 19.5px; color: var(--ink);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.byer a::after { content: "→"; color: var(--accent-deep); transition: transform var(--dur-fast) var(--ease); }
.byer a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(23,40,30,0.35); }
.byer a:hover::after { transform: translateX(4px); }
.byer a small { font-weight: 400; color: var(--ink-3); font-size: 13px; margin-right: auto; margin-left: 2px; }

/* ---------- Mit løfte ---------- */
.loefte { background: var(--bg-2); border: 1px solid var(--hairline); border-radius: clamp(20px, 3vw, 34px); padding: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.loefte__mrk { width: 84px; height: 84px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-deep); }
.loefte__mrk svg { width: 40px; height: 40px; }
.loefte blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(24px, 2.7vw, 36px); line-height: 1.35; color: var(--ink); }
.loefte figcaption { margin-top: var(--s-4); color: var(--ink-3); font-size: var(--t-small); }
.loefte figcaption b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-grid .sec-head { margin-bottom: 0; }
.faq { max-width: none; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center;
  padding: 24px 4px; font-weight: 600; font-size: 21.5px; font-family: var(--f-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--accent-deep); transition: transform var(--dur-fast) var(--ease); flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 20px; color: var(--ink-2); max-width: 64ch; }

/* ---------- Artikler ---------- */
.art3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.art3 a { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--bg-2); border: 1px solid var(--hairline); border-radius: var(--r-card); text-decoration: none; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.art3 a:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(23,40,30,0.35); }
.art3 .eyebrow { font-size: var(--t-mono); }
.art3 b { font-family: var(--f-display); font-size: 24.5px; font-weight: 600; line-height: 1.25; }
.art3 span { font-size: var(--t-small); color: var(--ink-3); line-height: 1.55; }
.art3 i { font-style: normal; color: var(--accent-deep); font-weight: 600; font-size: 16.5px; margin-top: auto; }

/* ---------- CTA-bånd ---------- */
.ctaband { background: var(--moerk); position: relative; overflow: hidden; }
.ctaband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 15% 10%, rgba(147,217,123,0.12), transparent 65%); }
.ctaband__inner { position: relative; max-width: var(--max); margin-inline: auto; padding: clamp(60px, 9vw, 120px) var(--gutter); text-align: center; }
.ctaband h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.ctaband p { color: var(--paper-2); margin: var(--s-5) auto 0; max-width: 50ch; }
.ctaband .btn { margin-top: var(--s-6); }
.ctaband__tlf { margin-top: var(--s-5); color: var(--paper-2); font-size: 15px; }
.ctaband__tlf a { color: #fff; font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
footer.site { background: var(--moerk-2); color: var(--paper-2); font-size: 17px; }
.foot { max-width: var(--max); margin-inline: auto; padding: clamp(44px, 6vw, 80px) var(--gutter) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.foot h4 { color: #fff; font-size: 16px; font-family: var(--f-body); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.foot a { color: var(--paper-2); text-decoration: none; display: block; padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot__brand svg { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 12px; }
.foot__brand p { line-height: 1.7; max-width: 34ch; }
.foot__meta { border-top: 1px solid rgba(245,248,241,0.14); }
.foot__meta div { max-width: var(--max); margin-inline: auto; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: rgba(245,248,241,0.55); }

/* ---------- Undersider ---------- */
.phero { padding: calc(84px + var(--rhythm) * 0.5) 0 0; }
.crumb { display: flex; flex-wrap: wrap; gap: 7px; font-size: var(--t-small); color: var(--ink-3); margin-bottom: var(--s-5); }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.crumb span::before { content: "/"; margin-right: 7px; color: var(--hairline-2); }
.phero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.phero__media { border-radius: var(--r-arch); overflow: hidden; }
.phero__media img { width: 100%; aspect-ratio: 3/3.6; object-fit: cover; }
.phero h1 { font-size: var(--t-display-l); }
.phero .lead { margin-top: var(--s-4); }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-6); align-items: center; }
.pris-note { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-5); padding: 12px 18px; border-radius: var(--r-card); background: var(--accent-soft); color: var(--ink); font-size: 15px; font-weight: 500; }
.pris-note svg { width: 20px; height: 20px; color: var(--accent-deep); flex: 0 0 auto; }

.ylist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; max-width: 760px; }
.ylist li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 19px; color: var(--ink-2); }
.ylist li::before { content: "✓"; color: var(--accent-deep); font-weight: 700; flex: 0 0 auto; }

.mini-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-gal a { border-radius: var(--r-card); overflow: hidden; display: block; }
.mini-gal img { aspect-ratio: 4/3.4; object-fit: cover; width: 100%; transition: transform 700ms var(--ease); }
.mini-gal a:hover img { transform: scale(1.05); }

.andre { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Wizard (tilbuds-flow) ---------- */
.wiz { background: var(--bg-2); border: 1px solid var(--hairline); border-radius: clamp(18px, 2.5vw, 28px); padding: clamp(24px, 4vw, 48px); max-width: 860px; }
.wiz__bar { height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; margin-bottom: 26px; }
.wiz__bar i { display: block; height: 100%; width: 8%; background: var(--accent); border-radius: 4px; transition: width 400ms var(--ease); }
.wiz.js .wiz__trin { display: none; }
.wiz.js .wiz__trin.on { display: block; }
.wiz:not(.js) .wiz__trin { display: block; margin-bottom: 26px; }
.wiz:not(.js) .wiz__frem, .wiz:not(.js) .wiz__tilbage, .wiz:not(.js) .wiz__bar { display: none; }
.wiz__trin.on { display: block; animation: wizIn 420ms var(--ease) both; }
@keyframes wizIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wiz__sp { font-family: var(--f-display); font-size: clamp(25px, 2.9vw, 38px); font-weight: 600; margin-bottom: 6px; }
.wiz__hint { color: var(--ink-3); font-size: var(--t-small); margin-bottom: 20px; }
.wiz__valg { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wiz__valg label { position: relative; cursor: pointer; }
.wiz__valg input { position: absolute; opacity: 0; inset: 0; }
.wiz__valg .box {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 15px; min-height: 74px;
  border: 1.5px solid var(--hairline-2); border-radius: var(--r-card); font-weight: 600; font-size: 17px;
  transition: all var(--dur-fast) ease; justify-content: center;
}
.wiz__valg .box small { font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.wiz__valg input:checked + .box { border-color: var(--accent-deep); background: var(--accent-soft); }
.wiz__valg input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.wiz__felter { display: grid; gap: 14px; }
.wiz__felter label { font-weight: 600; font-size: 16.5px; display: grid; gap: 7px; }
.wiz input[type=text], .wiz input[type=tel], .wiz input[type=email], .wiz textarea, .wiz input[type=number] {
  padding: 15px 18px; border: 1.5px solid var(--hairline-2); border-radius: 12px; background: var(--bg); font-size: 19px; width: 100%;
}
.wiz input:focus, .wiz textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.wiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.wiz__tilbage { background: none; border: 0; cursor: pointer; color: var(--ink-3); font-size: 15px; padding: 10px; border-radius: 10px; }
.wiz__tilbage:hover { color: var(--ink); }
.wiz__note { font-size: var(--t-small); color: var(--ink-3); margin-top: 16px; text-align: center; }
.wiz__fil { border: 1.5px dashed var(--hairline-2); border-radius: var(--r-card); padding: 18px; text-align: center; color: var(--ink-3); font-size: 15px; }
.wiz__fil input { width: 100%; }
.kontakt-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kontakt-info a, .kontakt-info div { padding: 22px; border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--hairline); text-decoration: none; }
.kontakt-info b { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-deep); margin-bottom: 6px; }
.kontakt-info span { font-size: 21px; font-weight: 600; color: var(--ink); }
.kontakt-info small { display: block; color: var(--ink-3); margin-top: 4px; font-size: 13.5px; }

/* ---------- Mobil call-bar ---------- */
.callbar { position: fixed; z-index: 55; inset-inline: 0; bottom: 0; display: none; gap: 10px; padding: 10px calc(14px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left)); background: rgba(251,248,242,0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--hairline); }
.callbar a { flex: 1; text-align: center; padding: 14px 10px; font-size: 17px; }

/* ---------- Artikel-side ---------- */
.article { max-width: 74ch; }
.article .lead { margin-block: var(--s-5); }
.article h2 { font-size: clamp(24px, 2.6vw, 34px); }
.article ul { margin: 0 0 var(--s-4) 1.2em; color: var(--ink-2); }
.article li { margin-bottom: 6px; }
.art-fakta { background: var(--accent-soft); border-radius: var(--r-card); padding: 22px 26px; margin-block: var(--s-6); }
.art-fakta b { display: block; margin-bottom: 8px; }
.art-fakta ul { margin: 0 0 0 1.2em; }

/* ---------- Responsivt ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--hairline-2); border-radius: var(--r-pill); padding: 10px 18px; font-weight: 600; font-size: 15px; cursor: pointer; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr 1fr; }
  .proces { grid-template-columns: 1fr 1fr; }
  .ggrid { grid-template-columns: repeat(3, 1fr); }
  .byer { grid-template-columns: 1fr 1fr; }
  .art3 { grid-template-columns: 1fr; }
  .aftale__inner { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .split, .split--flip, .phero__grid { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media img, .phero__media img { aspect-ratio: 4/3; }
  .kontakt-info { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .trust__grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .feat { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .proces { grid-template-columns: 1fr; }
  .ggrid { grid-template-columns: 1fr 1fr; }
  .byer { grid-template-columns: 1fr; }
  .ylist { grid-template-columns: 1fr; }
  .mini-gal { grid-template-columns: 1fr; }
  .loefte { grid-template-columns: 1fr; }
  .callbar { display: flex; }
  body { padding-bottom: 76px; }
  .hero { min-height: 88svh; }
  .teater-static .tf-par { grid-template-columns: 1fr; }
}
.hero__24t svg { width: 22px; height: 22px; flex: 0 0 auto; }


/* ---------- Hero i fuld skærm m. glas-trust (v4) ---------- */
.hero--full { min-height: 100svh; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.hero--full .hero__inner { padding-bottom: clamp(26px, 4vh, 52px); }
.hero__trust {
  position: relative; z-index: 2;
  animation: trustIn 900ms var(--ease) 350ms both;
  border-top: 1px solid rgba(245, 248, 241, 0.24);
  background: linear-gradient(180deg, rgba(245, 248, 241, 0.05), rgba(245, 248, 241, 0.12));
  backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px);
}
.hero__trust-grid {
  max-width: var(--max); margin-inline: auto;
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
}
.hero__trust .trust__it b { color: #fff; }
.hero__trust .trust__it span { color: var(--paper-2); }
.hero__trust .trust__it svg { color: var(--accent-lys); }
@media (max-width: 1080px) { .hero__trust-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); } }
@media (max-width: 620px) {
  .hero__trust-grid { grid-template-columns: 1fr 1fr; padding-block: 16px; gap: 12px; }
  .hero__trust .trust__it span { display: none; }
  .hero__trust .trust__it b { font-size: 15px; }
  .hero__trust .trust__it svg { flex: 0 0 22px; width: 22px; height: 22px; }
}

/* Van-billedet i bredformat (om-siden) — ingen kant-klip af Rasmus */
.split__media--van { border-radius: var(--r-card); }
.split__media--van img { aspect-ratio: 4 / 3.1; object-fit: cover; object-position: 50% 68%; }

/* Mobil: hold brødtekst-skalaen fornuftig */
@media (max-width: 700px) {
  :root { --t-body: 18px; --t-lead: clamp(18px, 4.6vw, 21px); --t-small: 15px; }
}

@keyframes trustIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- ANMELDELSER (ægte, fra Anmeld Håndværker) ---------- */
.anm__top {
  display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap;
  margin-bottom: var(--s-6); padding: var(--s-5) var(--s-5);
  background: var(--bg-2); border: 1px solid var(--hairline); border-radius: var(--r-card);
}
.anm__score { display: flex; align-items: baseline; gap: 8px; }
.anm__score b { font-family: var(--f-display); font-size: 44px; line-height: 1; color: var(--moerk); }
.anm__score span { font-size: var(--t-small); color: var(--ink-3); }
.anm__stjerner { color: var(--accent); font-size: 19px; letter-spacing: 3px; }
.anm__kilde { font-size: var(--t-small); color: var(--ink-3); line-height: 1.5; margin-left: auto; text-align: right; }
.anm__kilde a { color: var(--accent-deep); }
.anm__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--s-4);
}
.anm__kort {
  display: flex; flex-direction: column; gap: 12px; padding: 24px 22px;
  background: var(--bg-2); border: 1px solid var(--hairline); border-radius: var(--r-card);
}
.anm__opg {
  font-size: var(--t-mono-l); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-deep);
}
.anm__kort blockquote {
  font-family: var(--f-display); font-size: 19px; line-height: 1.5; color: var(--ink);
  margin: 0; quotes: "»" "«";
}
.anm__kort blockquote::before { content: open-quote; color: var(--accent); }
.anm__kort blockquote::after  { content: close-quote; color: var(--accent); }
.anm__hvem {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hairline);
  font-size: var(--t-small); color: var(--ink-3); display: flex; justify-content: space-between; gap: 10px;
}
.anm__hvem b { color: var(--ink-2); font-weight: 600; }
.anm__hvem .anm__karakter { color: var(--accent-deep); font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) {
  .anm__kilde { margin-left: 0; text-align: left; }
  .anm__score b { font-size: 38px; }
}

/* QR-blok i footeren */
.foot__anmeld { display: flex; gap: 14px; align-items: flex-start; margin-top: var(--s-4); }
.foot__anmeld img { width: 84px; height: 84px; border-radius: 8px; flex-shrink: 0; }
.foot__anmeld p { font-size: var(--t-small); line-height: 1.5; margin: 0; }
.foot__anmeld a { color: #93D97B; }
.foot__anmeld .fa-stjerner { color: #93D97B; letter-spacing: 2px; display: block; margin-top: 2px; }
