/* TomRum
   Farver: skov-sort (fra logoet), lime (fra logoet), beton-grå, sten.
   Form: knapper og chips er pille-runde. Alt andet er skarpt (radius 0).
   Z-lag: 10 nav · 20 mobilbar · 30 menu · 40 toast */

:root {
  --ink: #16201a;
  --lime: #74b843;
  --lime-deep: #5a9a2e;
  --bg: #e4e6e1;
  --surface: #eceee9;
  --text: #16201a;
  --muted: #535c55;
  --line: rgba(22, 32, 26, .16);
  --band: #16201a;
  --band-text: #e4e6e1;
  --band-muted: #a3aca4;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101612;
    --surface: #172019;
    --text: #e3e6e0;
    --muted: #9ba49c;
    --line: rgba(227, 230, 224, .14);
    --lime: #86c957;
    --lime-deep: #74b843;
    --band: #0b100c;
    --band-text: #e3e6e0;
    --band-muted: #97a098;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101612; --surface: #172019; --text: #e3e6e0; --muted: #9ba49c;
  --line: rgba(227, 230, 224, .14); --lime: #86c957; --lime-deep: #74b843;
  --band: #0b100c; --band-text: #e3e6e0; --band-muted: #97a098; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.sentinel { position: absolute; top: 0; height: 40px; width: 1px; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--display);
  font-variation-settings: "wdth" 108;
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: .98;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 46ch; line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font: 600 16px/1 var(--body); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease);
}
.btn i { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #82c64f; box-shadow: 0 8px 22px -10px rgba(90, 154, 46, .7); }
.btn-ink { background: var(--ink); color: #eef0ea; }
.btn-ink:hover { background: #243128; }
:root[data-theme="dark"] .btn-ink { background: var(--text); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-ink { background: var(--text); color: var(--ink); } }
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-text {
  font-weight: 600; text-decoration: none; padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.btn-text:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); font-size: 15px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  height: var(--nav-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  padding: 0 var(--gut);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.brand { text-decoration: none; display: inline-flex; }
.brand-word {
  font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 112;
  font-size: 25px; letter-spacing: -.01em; line-height: 1;
  display: inline-flex; align-items: center;
}
.brand-o { flex: none; width: .86em; height: .86em; margin: 0 .02em; color: var(--lime); transition: transform .9s var(--ease); }
.brand:hover .brand-o { transform: rotate(-180deg); }
.nav-links { display: flex; gap: 28px; justify-content: center; }
.nav-links a {
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; font-variant-numeric: tabular-nums; }
.nav-phone i { font-size: 17px; color: var(--lime-deep); }
.menu-btn { display: none; }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 30;
  background: var(--bg);
  padding: 24px var(--gut) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108;
  font-size: clamp(30px, 8.6vw, 38px); letter-spacing: -.025em; line-height: 1.2; text-decoration: none; padding: 6px 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; color: var(--lime-deep); }
.mm-phone { font-weight: 600; font-size: 20px; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.stage {
  position: relative;
  height: clamp(440px, calc(100svh - var(--nav-h) - 150px), 860px);
  overflow: hidden;
  background: #cfcac2;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
}
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; pointer-events: none; }
.stage-after { animation: settle 2.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.stage::after { /* lys vask øverst til venstre, så overskriften altid står skarpt */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(247, 248, 245, .55) 0%, rgba(247, 248, 245, .2) 38%, transparent 55%);
}
.stage-before {
  position: absolute; inset: 0; z-index: 1;
  clip-path: inset(0 0 0 calc(var(--p) * 100%));
}
.stage-before img { filter: none; }
.stage-handle {
  position: absolute; top: 0; bottom: 0; z-index: 3;
  left: calc(var(--p) * 100%);
  width: 44px; margin-left: -22px;
  display: grid; place-items: center;
  outline: none;
  cursor: ew-resize;
}
.stage-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--lime); }
.knob {
  position: relative; width: 44px; height: 44px; border-radius: 999px;
  background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; box-shadow: 0 6px 20px -6px rgba(22, 32, 26, .5);
  transition: transform .35s var(--ease);
  opacity: 0;
}
.stage.is-ready .knob { opacity: 1; transition: transform .35s var(--ease), opacity .4s; }
.stage-handle:hover .knob, .stage.is-dragging .knob { transform: scale(1.1); }
.stage-handle:focus-visible .knob { outline: 2px solid #fff; outline-offset: 3px; }

.hero-title {
  position: absolute; z-index: 2;
  top: clamp(28px, 6vh, 72px); left: var(--gut);
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 104;
  font-size: clamp(56px, 6.9vw, 116px);
  line-height: .92; letter-spacing: -.035em;
  color: #16201a;
  pointer-events: none;
  clip-path: inset(-10px var(--clip, 100%) -20px -10px);
}

.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px;
  padding: 30px var(--gut) 34px;
  max-width: var(--max);
}
.hero-sub { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; max-width: 40ch; letter-spacing: -.005em; }
.hero-cta { display: flex; align-items: center; gap: 28px; }
.hero-foot > * { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero.is-in .hero-foot > * { opacity: 1; transform: none; }
.hero.is-in .hero-foot > :nth-child(2) { transition-delay: .1s; }

/* ---------- Løfter ---------- */
.promises {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0 var(--gut);
  border-top: 1px solid var(--line);
}
.promise { padding: 26px 32px 28px 0; display: flex; flex-direction: column; gap: 4px; }
.promise + .promise { padding-left: 32px; border-left: 1px solid var(--line); }
.promise strong { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 104; font-size: 20px; letter-spacing: -.015em; }
.promise span { color: var(--muted); font-size: 16px; }

/* ---------- Om os ---------- */
.about {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; column-gap: 24px;
  padding: clamp(96px, 12vw, 180px) var(--gut) clamp(80px, 9vw, 140px);
  max-width: var(--max); margin: 0 auto;
}
.about-text {
  grid-column: 1 / span 8; grid-row: 1;
  font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 100;
  font-size: clamp(30px, 3.4vw, 52px); line-height: 1.12; letter-spacing: -.022em;
  text-wrap: pretty;
}
.about-text em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--lime) 55%, transparent) 62%); }
.about-img { grid-column: 9 / span 4; grid-row: 1 / span 2; margin-top: clamp(40px, 8vw, 120px); aspect-ratio: 4 / 5; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-note { grid-column: 3 / span 5; grid-row: 2; margin-top: 48px; color: var(--muted); max-width: 44ch; align-self: start; }

/* ---------- Ydelser ---------- */
.services { padding: 0 var(--gut) clamp(96px, 11vw, 160px); max-width: var(--max); margin: 0 auto; }
.services .h2 { margin-bottom: 40px; }
.svc-wrap { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px; min-height: 88px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  cursor: default; outline: none;
  position: relative;
}
.svc-name {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 108;
  font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.028em;
  color: var(--muted);
  transition: color .3s, transform .5s var(--ease);
}
.svc-desc { color: var(--muted); font-size: 16px; opacity: .0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); }
.svc-thumb { display: none; }
.svc.is-active .svc-name { color: var(--text); transform: translateX(10px); }
.svc.is-active .svc-desc { opacity: 1; transform: none; color: var(--text); }

.svc-preview { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .55s var(--ease), transform 1.2s var(--ease); }
.svc-preview img.is-hidden { opacity: 0; transform: scale(1.04); }

/* ---------- Priser ---------- */
.pricing {
  background: var(--surface);
  padding: clamp(80px, 9vw, 140px) var(--gut);
}
.price-head { max-width: var(--max); margin: 0 auto 48px; display: flex; flex-direction: column; gap: 18px; }
.calc {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 80px);
}
.calc-group { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; grid-column: 1; }
.calc-group legend { font-weight: 600; font-size: 15px; margin-bottom: 14px; padding: 0; }
.opt {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.opt + .opt { margin-top: -1px; }
.opt:hover { border-color: color-mix(in srgb, var(--text) 40%, transparent); position: relative; }
.opt input { appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 999px; border: 1.5px solid var(--muted); display: grid; place-items: center; transition: border-color .2s; }
.opt input::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--ink); transform: scale(0); transition: transform .3s var(--ease); }
.opt input:checked { border-color: var(--ink); }
.opt input:checked::after { transform: scale(1); }
.opt:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--lime) 16%, var(--bg)); position: relative; z-index: 1; }
:root[data-theme="dark"] .opt input:checked, :root[data-theme="dark"] .opt:has(input:checked) { border-color: var(--lime); }
:root[data-theme="dark"] .opt input::after { background: var(--lime); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .opt input:checked, :root:not([data-theme="light"]) .opt:has(input:checked) { border-color: var(--lime); }
  :root:not([data-theme="light"]) .opt input::after { background: var(--lime); }
}
.opt-body { display: flex; flex-direction: column; }
.opt-title { font-weight: 600; font-size: 17px; }
.opt-meta { color: var(--muted); font-size: 15px; }
.opt-price { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 15px; white-space: nowrap; }

.chk { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; cursor: pointer; }
.chk + .chk { border-top: 1px solid var(--line); }
.chk input { appearance: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--muted); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.chk input::after { content: ""; width: 10px; height: 5px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .25s var(--ease); }
.chk input:checked { background: var(--lime); border-color: var(--lime); }
.chk input:checked::after { transform: rotate(-45deg) scale(1); }
.chk em { font-style: normal; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }

.calc-total {
  grid-column: 2; grid-row: 1 / span 2; align-self: start;
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--band); color: var(--band-text);
  padding: 32px 32px 26px;
  display: flex; flex-direction: column;
}
.total-label { font-size: 15px; color: var(--band-muted); }
.total-num {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100;
  font-size: clamp(36px, 3.4vw, 54px); letter-spacing: -.03em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 24px;
  display: block;
}
.total-num.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { opacity: .35; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.total-incl { display: flex; flex-direction: column; gap: 8px; padding: 20px 0 26px; border-top: 1px solid rgba(227, 230, 224, .16); font-size: 15px; }
.total-incl li { display: flex; gap: 10px; align-items: center; }
.total-incl i { color: var(--lime); font-size: 16px; }
.total-fine { color: var(--band-muted); font-size: 14px; margin-top: 14px; text-align: center; }

/* ---------- Forløb ---------- */
.process {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px);
  padding: clamp(96px, 11vw, 170px) var(--gut);
  max-width: var(--max); margin: 0 auto;
  align-items: start;
}
.process-img { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 3 / 4; overflow: hidden; }
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.process-steps .h2 { margin-bottom: clamp(40px, 5vw, 72px); }
.step { padding: 32px 0 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.step h3 {
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 106;
  font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -.022em;
}
.step p { color: var(--muted); }

/* ---------- Miljø (mørkt bånd) ---------- */
.green {
  background: var(--band); color: var(--band-text);
  display: grid; grid-template-columns: 7fr 5fr;
  min-height: 640px;
}
.green-inner { padding: clamp(80px, 9vw, 140px) var(--gut); display: flex; flex-direction: column; gap: 22px; max-width: 820px; }
.green .h2 { max-width: 14ch; }
.green .lead { color: var(--band-muted); }
.flows { margin-top: 32px; display: flex; flex-direction: column; }
.flow {
  display: grid; grid-template-columns: 1fr 28px auto; align-items: center; gap: 18px;
  padding: 18px 0; border-top: 1px solid rgba(227, 230, 224, .14);
}
.flow-what { color: var(--band-muted); }
.flow i { color: var(--lime); font-size: 20px; }
.flow-where { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 106; font-size: 20px; letter-spacing: -.015em; }
.green-img { position: relative; overflow: hidden; }
.green-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }

/* ---------- FAQ ---------- */
.faq {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px);
  padding: clamp(96px, 11vw, 170px) var(--gut);
  max-width: var(--max); margin: 0 auto;
}
.faq .h2 { font-size: clamp(32px, 3.6vw, 54px); max-width: 12ch; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-weight: 600; font-size: 19px; letter-spacing: -.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform .45s var(--ease);
}
details[open] summary::after { transform: rotate(135deg); }
summary:hover { color: var(--lime-deep); }
details p { color: var(--muted); padding: 0 48px 24px 0; max-width: 60ch; }
details[open] p { animation: drop .5s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Kontakt ---------- */
.contact {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px);
  padding: clamp(80px, 9vw, 140px) var(--gut);
  background: var(--surface);
}
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.big-phone {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 116;
  font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -.035em; line-height: 1; white-space: nowrap;
  text-decoration: none; font-variant-numeric: tabular-nums;
  margin-top: 20px; width: fit-content;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 6px no-repeat;
  transition: background-size .6s var(--ease);
  padding-bottom: 6px;
}
.big-phone:hover { background-size: 100% 6px; }
.contact-alt { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.contact-alt a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); transition: color .2s; word-break: break-all; }
.contact-alt a:hover { color: var(--text); }
.contact-alt i { font-size: 19px; color: var(--text); flex: none; }

.req { position: relative; display: flex; flex-direction: column; gap: 26px; }
.req-summary {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: color-mix(in srgb, var(--lime) 22%, var(--bg));
  border-left: 3px solid var(--lime);
  font-size: 15px;
}
.req-summary[hidden] { display: none; }
.req-summary i { font-size: 20px; color: var(--lime-deep); }
.req-summary span { flex: 1; }
.req-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.req-group legend, .field label { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  font-size: 15px; font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color .2s, border-color .2s, transform .25s var(--ease);
}
.chip span:hover { border-color: color-mix(in srgb, var(--text) 45%, transparent); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #eef0ea; }
.chip input:focus-visible + span { outline: 2px solid var(--lime-deep); outline-offset: 2px; }
.chip input:active + span { transform: scale(.97); }
:root[data-theme="dark"] .chip input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); } }

.field { display: flex; flex-direction: column; gap: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field input, .field textarea {
  width: 100%;
  border: 0; border-bottom: 1.5px solid color-mix(in srgb, var(--text) 38%, transparent);
  background: transparent; border-radius: 0;
  padding: 10px 0 10px; font-size: 18px;
  transition: border-color .25s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--lime-deep); box-shadow: 0 1.5px 0 var(--lime-deep); }
.field .help { color: var(--muted); font-size: 14px; margin-top: 8px; }
.field .err { color: #b3261e; font-size: 14px; min-height: 0; margin-top: 6px; }
.field .err:empty { display: none; }
.field.has-error input { border-bottom-color: #b3261e; }
:root[data-theme="dark"] .field .err { color: #ff8a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .err { color: #ff8a80; } }
.req-fine { color: var(--muted); font-size: 14px; margin-top: -12px; }
.req-done {
  position: absolute; inset: 0; background: var(--surface);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
  outline: none;
  animation: drop .6s var(--ease);
}
.req-done[hidden] { display: none; }
.req-done > i { font-size: 44px; color: var(--lime-deep); }
.req-done h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 106; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.req-done p { color: var(--muted); max-width: 42ch; }

/* ---------- Footer ---------- */
.foot { background: var(--band); color: var(--band-text); padding: 64px var(--gut) 0; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 32px; font-size: 15px; color: var(--band-muted); line-height: 1.8; }
.foot-top a { text-decoration: none; color: var(--band-text); }
.foot-top a:hover { color: var(--lime); }
.foot-word {
  font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: 17.4vw; line-height: .78; letter-spacing: -.045em;
  display: flex; align-items: center; justify-content: center;
  margin: 56px calc(var(--gut) * -1) -1.6vw;
  color: var(--band-text);
  white-space: nowrap;
}
.foot-word .brand-o { width: .78em; height: .78em; margin: 0 .01em; }

/* ---------- Mobilbar + toast ---------- */
.mbar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 40;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #eef0ea;
  padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500;
  pointer-events: none; white-space: nowrap;
  transition: opacity .35s, transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto 1fr; }
  .nav-end { justify-content: flex-end; }
  .calc { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Mobil: egen komposition, ikke en krympet desktop
   ========================================================= */
@media (max-width: 767px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; padding-bottom: 76px; }

  .nav { gap: 12px; }
  .nav-phone span, .nav-end .btn { display: none; }
  .nav-phone { width: 42px; height: 42px; justify-content: center; border-radius: 999px; border: 1px solid var(--line); }
  .nav-phone i { font-size: 19px; color: var(--text); }
  .brand-word { font-size: 22px; }
  .menu-btn {
    display: grid; place-content: center; gap: 6px;
    width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--text); cursor: pointer;
  }
  .menu-btn span { display: block; width: 16px; height: 2px; background: var(--bg); transition: transform .4s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  /* Hero: overskrift først, så billedet, så tekst */
  .hero { display: flex; flex-direction: column; }
  .hero-title {
    position: static; order: -1; clip-path: none;
    padding: 14px var(--gut) 18px;
    font-size: clamp(44px, 13.4vw, 64px);
    color: var(--text);
    opacity: 0; transform: translateY(14px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }
  .hero.is-in .hero-title, .hero.is-title .hero-title { opacity: 1; transform: none; }
  .stage { height: 50svh; min-height: 340px; margin: 0 var(--gut); }
  .stage img { object-position: 50% 50%; }
  .stage::after { display: none; }
  .knob { width: 40px; height: 40px; }
  .hero-foot { grid-template-columns: 1fr; gap: 20px; padding: 22px var(--gut) 28px; }
  .hero-sub { font-size: 18px; }
  .hero-cta { gap: 22px; }

  .promises { grid-template-columns: 1fr; }
  .promise, .promise + .promise { padding: 16px 0; border-left: 0; }
  .promise + .promise { border-top: 1px solid var(--line); }

  .about { grid-template-columns: 1fr; padding: 72px var(--gut) 72px; }
  .about-text { grid-column: 1; font-size: 28px; }
  .about-img { grid-column: 1; grid-row: auto; margin: 36px 0 0 22%; aspect-ratio: 4 / 5; }
  .about-note { grid-column: 1; grid-row: auto; margin-top: 24px; }

  /* Ydelser: vandret swipe med billeder */
  .services { padding: 0 0 80px; }
  .services .h2 { padding: 0 var(--gut); margin-bottom: 24px; }
  .svc-wrap { display: block; }
  .svc-preview { display: none; }
  .svc-list {
    display: grid; grid-auto-flow: column; grid-auto-columns: 74%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut);
    border: 0; scrollbar-width: none;
  }
  .svc-list::-webkit-scrollbar { display: none; }
  .svc {
    display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-height: 0;
    padding: 0; border: 0; scroll-snap-align: start;
  }
  .svc-thumb { display: block; order: -1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 12px; }
  .svc-name, .svc.is-active .svc-name { color: var(--text); transform: none; font-size: 28px; }
  .svc-desc, .svc.is-active .svc-desc { opacity: 1; transform: none; color: var(--muted); font-size: 15px; }
  .svc.is-active::before { display: none; }

  .pricing { padding: 72px var(--gut); }
  .price-head { margin-bottom: 32px; }
  .calc { display: flex; flex-direction: column; }
  .calc-group { margin-bottom: 28px; }
  .opt { grid-template-columns: 20px 1fr; padding: 16px; gap: 6px 14px; }
  .opt input { grid-row: 1 / span 2; }
  .opt-price { grid-column: 2; color: var(--muted); }
  .chk { grid-template-columns: 20px 1fr; }
  .chk em { grid-column: 2; margin-top: -10px; }
  .calc-total { position: static; padding: 26px 22px 22px; margin: 4px calc(var(--gut) * -1) 0; }

  .process { grid-template-columns: 1fr; padding: 80px var(--gut); gap: 0; }
  .process-img { position: static; aspect-ratio: 5 / 4; order: 2; margin: 12px calc(var(--gut) * -1) 0; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 22px 0 26px; }

  .green { grid-template-columns: 1fr; min-height: 0; }
  .green-img { aspect-ratio: 4 / 3; order: -1; }
  .green-inner { padding: 56px var(--gut) 64px; }
  .flow { grid-template-columns: 1fr; gap: 2px; }
  .flow i { display: none; }
  .flow-where { font-size: 19px; }
  .flow-where::before { content: "\2192\00a0"; color: var(--lime); font-weight: 400; }

  .faq { grid-template-columns: 1fr; padding: 80px var(--gut); gap: 28px; }
  summary { font-size: 17px; padding: 18px 0; }
  details p { padding-right: 0; }

  .contact { grid-template-columns: 1fr; padding: 72px var(--gut) 64px; gap: 44px; }
  .big-phone { font-size: 46px; }
  .field-row { grid-template-columns: 1fr; gap: 26px; }

  .foot { padding-top: 48px; }
  .foot-top { grid-template-columns: 1fr; gap: 18px; }

  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar-call {
    display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px;
    border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: 999px;
    font-weight: 600; text-decoration: none;
  }
  .toast { bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Juridiske undersider ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gut) clamp(72px, 9vw, 120px); }
.legal .h2 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 14px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 106; font-size: 22px; letter-spacing: -.015em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--muted); max-width: 62ch; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.legal a { color: var(--text); text-underline-offset: 3px; }
.legal .back { display: inline-block; margin-bottom: 36px; font-weight: 600; text-decoration: none; }
.legal .back:hover { text-decoration: underline; }
.req-fine a { color: inherit; text-underline-offset: 3px; }
.foot-top p { color: var(--band-muted); }
.req-fail { padding: 14px 16px; border-left: 3px solid #b3261e; background: color-mix(in srgb, #b3261e 9%, var(--bg)); font-size: 15px; }
.req-fail[hidden] { display: none; }
.req-fail a { color: inherit; font-weight: 600; }
.btn:disabled { opacity: .6; cursor: default; }
@media (min-width: 768px) { .contact { padding-inline: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); } }
