/* ditisoleringstilbud.dk: hjemmeside. Samme brand som platformen (dybgrøn + lime, Geist). */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
  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;
}

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f2f4f3;
  --line: #e4e7e6;
  --line-strong: #d3d8d6;
  --ink: #0d1412;
  --ink-2: #2b3236;
  --muted: #545c63;
  --brand: #0e4d2f;
  --brand-600: #13603b;
  --brand-700: #0a3b24;
  --brand-900: #062418;
  --brand-tint: #e8f1ec;
  --lime: #84cc16;
  --lime-2: #a3e635;
  --lime-soft: #ecfccb;
  --heat: #f26a2e;
  --heat-2: #ffb347;
  --cool: #38bdf8;
  --ok: #15803d;
  --bad: #b42318;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(13 20 18 / 0.06);
  --shadow: 0 1px 2px rgb(13 20 18 / 0.05), 0 10px 30px -12px rgb(13 20 18 / 0.18);
  --shadow-lg: 0 2px 6px rgb(13 20 18 / 0.06), 0 30px 60px -20px rgb(6 36 24 / 0.35);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.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; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Knapper ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 8px 20px -8px rgb(14 77 47 / .6); }
.btn-primary:hover { background: var(--brand-600); }
.btn-lime { background: var(--lime); color: var(--brand-900); }
.btn-lime:hover { background: var(--lime-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-2); }
.btn-light { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .22); }
.btn-light:hover { background: rgb(255 255 255 / .18); }
.btn-lg { --h: 56px; padding: 0 26px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  max-width: calc(var(--container) - 16px); margin-inline: auto; width: calc(100% - 2 * var(--gutter));
  min-height: 64px; padding: 8px 8px 8px 18px; border-radius: 22px;
  background: rgb(255 255 255 / .82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgb(13 20 18 / .07); box-shadow: 0 8px 30px -14px rgb(13 20 18 / .25);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 34px; height: 34px; }
.wordmark { font-size: 17px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.wordmark .l { font-weight: 400; opacity: .68; }
.wordmark .b { font-weight: 650; }
.nav-links { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background-color .2s var(--ease), color .2s; }
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.nav-actions .btn { --h: 46px; font-size: 15px; padding: 0 18px; }

.login { position: relative; }
.login-btn { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, border-color .2s; }
.login-btn:hover, .login-btn[aria-expanded="true"] { background: var(--surface); border-color: var(--ink-2); }
.login-btn svg { width: 18px; height: 18px; }
.login-btn .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.login-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.login-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 320px; padding: 8px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; visibility: hidden;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.login-menu.open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s var(--ease), transform .25s var(--ease); }
.login-menu .label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 6px; }
.login-item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.login-item:hover { background: var(--surface-2); }
.login-item .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); flex: none; }
.login-item .ico svg { width: 20px; height: 20px; }
.login-item strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.login-item span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; }

.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .nav { padding-left: 14px; min-height: 60px; }
  .nav-actions .login, .nav-actions .cta-desktop { display: none; }
  .menu-toggle { display: grid; margin-left: 4px; }
  .nav-actions { margin-left: auto; }
  .mobile-menu {
    display: block; pointer-events: auto; position: fixed; inset: 84px var(--gutter) auto; z-index: 49;
    background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 10px;
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    max-height: calc(100dvh - 100px); overflow: auto;
  }
  .mobile-menu.open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s var(--ease), transform .25s var(--ease); }
  .mobile-menu a.m-link { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 14px; text-decoration: none; font-size: 17px; font-weight: 500; }
  .mobile-menu a.m-link:hover { background: var(--surface-2); }
  .mobile-menu hr { border: 0; border-top: 1px solid var(--line); margin: 8px 6px; }
  .mobile-menu .btn { width: 100%; margin-top: 6px; }
}
@media (max-width: 380px) { .wordmark { font-size: 15.5px; } .brand svg { width: 30px; height: 30px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 132px 0 72px; overflow: clip; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 360px at 12% 30%, rgb(132 204 22 / .16), transparent 70%),
    radial-gradient(560px 380px at 85% 10%, rgb(14 77 47 / .10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgb(132 204 22 / .2); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(132 204 22 / 0); } }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); letter-spacing: -0.045em; line-height: 1.0; margin-top: 22px; }
.hero h1 .soft { display: block; color: var(--brand); }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; line-height: 1.55; }

.addr-form { margin-top: 30px; max-width: 580px; }
.addr-box { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.addr-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(14 77 47 / .12), var(--shadow); }
.addr-box > svg { width: 22px; height: 22px; color: var(--brand); margin-left: 10px; flex: none; }
.addr-box input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent; font-size: 17px; padding: 0 4px; }
.addr-box input::placeholder { color: #7a828a; }
.addr-box .btn { flex: none; }
.addr-hint { margin-top: 10px; font-size: 14px; color: var(--muted); }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; padding: 0; list-style: none; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.ticks svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* Autocomplete */
.ac { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 6px; list-style: none; margin: 0; max-height: 320px; overflow: auto; }
.ac[hidden] { display: none; }
.ac li { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; cursor: pointer; font-size: 16px; line-height: 1.3; }
.ac li svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.ac li small { display: block; color: var(--muted); font-size: 13.5px; }
.ac li[aria-selected="true"], .ac li:hover { background: var(--surface-2); }

/* Hero-billede med termo-overlay */
.hero-visual { position: relative; }
.photo-card { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #cdd6d2; isolation: isolate; }
.photo-card > img, .photo-card .thermal, .photo-card .th { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card > img { transform: scale(1.06); animation: settle 1.6s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
/* Termografi afsløres fra venstre op til scanner-linjen (--scan i procent). */
.photo-card { --scan: 0; touch-action: pan-y; }
.thermal { clip-path: inset(0 calc(100% - var(--scan) * 1%) 0 0); pointer-events: none; z-index: 0; }
.thermal .th { transition: opacity .9s var(--ease); }
.thermal .th-after { opacity: 0; }
.photo-card.after .th-after { opacity: 1; }
.photo-card.after .th-before { opacity: 0; }
.scanner { position: absolute; z-index: 3; top: 0; bottom: 0; left: calc(var(--scan) * 1%); width: 44px; margin-left: -22px; cursor: ew-resize; outline: none; }
.scanner::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 0 18px 4px rgb(255 190 120 / .55); }
.photo-card.after .scanner::before { box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 0 18px 4px rgb(120 200 255 / .55); }
.scanner .grip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px -4px rgb(0 0 0 / .4); color: var(--brand); transition: transform .2s var(--ease); }
.scanner .grip svg { width: 14px; height: 14px; margin: 0 -2px; }
.scanner .grip svg:last-child { transform: scaleX(-1); }
.scanner:hover .grip, .scanner:focus-visible .grip, .photo-card.dragging .grip { transform: translate(-50%, -50%) scale(1.1); }
.scanner:focus-visible .grip { box-shadow: 0 0 0 3px var(--lime), 0 6px 20px -4px rgb(0 0 0 / .4); }
.photo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(6 36 24 / .5)); z-index: 1; pointer-events: none; }

.chip-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 14px; line-height: 1.25; }
.chip-float .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; transition: background-color .6s var(--ease), color .6s var(--ease); }
.chip-float .ico svg { width: 18px; height: 18px; }
.chip-float strong { display: block; font-weight: 600; }
.chip-float span { color: var(--muted); font-size: 13px; }
.chip-a { top: 7%; left: -18px; animation: floaty 6s ease-in-out infinite; }
.chip-b { top: 44%; right: -18px; animation: floaty 7s ease-in-out -2s infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.chip-float .ico { background: #fff0e8; color: var(--heat); }
.photo-card.after ~ .chip-float .ico { background: var(--lime-soft); color: var(--brand); }
.chip-text { display: grid; }
.chip-text > * { grid-area: 1 / 1; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.chip-text .t-after { opacity: 0; transform: translateY(6px); }
.photo-card.after ~ .chip-float .t-before { opacity: 0; transform: translateY(-6px); }
.photo-card.after ~ .chip-float .t-after { opacity: 1; transform: none; }

.toggle { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; padding: 5px; gap: 4px; border-radius: 999px; background: rgb(6 36 24 / .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgb(255 255 255 / .18); }
.toggle button { position: relative; z-index: 1; min-height: 44px; min-width: 112px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: rgb(255 255 255 / .85); font-weight: 600; font-size: 15px; cursor: pointer; transition: color .3s var(--ease); }
.toggle button[aria-pressed="true"] { color: var(--brand-900); }
.toggle .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 7px); border-radius: 999px; background: #fff; transition: transform .45s var(--ease), background-color .45s; }
.toggle.after .pill { transform: translateX(calc(100% + 4px)); background: var(--lime); }
.thermal-legend { position: absolute; z-index: 4; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgb(6 36 24 / .5); color: #fff; font-size: 12.5px; font-weight: 500; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.thermal-legend i { width: 46px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #38bdf8, #a3e635, #ffb347, #f26a2e); }

@media (max-width: 960px) {
  .hero { padding-top: 116px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .chip-a { left: 10px; } .chip-b { right: 10px; }
}
@media (max-width: 560px) {
  .addr-box { flex-wrap: wrap; padding: 6px; border-radius: 20px; }
  .addr-box > svg { margin-left: 10px; }
  .addr-box input { height: 50px; }
  .addr-box .btn { width: 100%; }
  .photo-card { aspect-ratio: 4 / 4.6; }
  .chip-b { top: auto; bottom: 86px; }
  .toggle button { min-width: 96px; }
}

/* ---------- Sektioner ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 760px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.center { text-align: center; margin-inline: auto; }

/* Fakta-bånd */
.facts { padding: 8px 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.fact { padding: 28px 30px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .big { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); }
.fact .big small { font-size: .5em; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); margin-left: 4px; }
.fact p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.source { margin-top: 14px; font-size: 13px; color: var(--muted); }
.source a { color: var(--ink-2); }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; border-top: 1px solid var(--line); } .fact { padding: 22px; } }

/* Varmetab, mørk sektion med animeret snit */
.dark { background: var(--brand-900); color: #eaf1ed; overflow: clip; }
.dark .kicker { color: var(--lime); }
.dark .section-head p { color: #b7c7be; }
.dark::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 420px at 80% 20%, rgb(132 204 22 / .10), transparent 70%), radial-gradient(600px 400px at 10% 90%, rgb(242 106 46 / .10), transparent 70%); }
.heat-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 8px; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); margin-top: 30px; }
.tabs button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: #cfe0d6; font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .25s var(--ease), color .25s; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: var(--lime); color: var(--brand-900); }
.tab-panel { margin-top: 26px; min-height: 190px; }
.tab-panel h3 { font-size: 26px; color: #fff; }
.tab-panel p { margin-top: 10px; color: #b7c7be; max-width: 34em; }
.tab-panel ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tab-panel li { display: flex; gap: 10px; align-items: flex-start; color: #dbe7e0; font-size: 16px; }
.tab-panel li svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 3px; }
.tab-panel .fade { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.section-svg { width: 100%; height: auto; overflow: visible; }
.meter { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; border-radius: 18px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.meter .bar { flex: 1; height: 10px; border-radius: 10px; background: rgb(255 255 255 / .1); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--heat-2), var(--heat)); transform-origin: left; transition: transform 1.2s var(--ease), background .8s; }
.meter .lbl { font-size: 14px; color: #cfe0d6; white-space: nowrap; font-weight: 500; }
.meter .val { font-size: 14px; color: #fff; font-weight: 600; min-width: 92px; text-align: right; }
.diagram-note { font-size: 13px; color: #9fb3a8; margin-top: 12px; }
@media (max-width: 900px) { .heat-grid { grid-template-columns: minmax(0, 1fr); } .heat-visual { order: -1; } }
@media (max-width: 560px) { .tabs { display: flex; width: 100%; } .tabs button { flex: 1; padding: 0 6px; font-size: 14.5px; } }

/* Snittegning af huset */
.house { font-family: 'Geist', ui-sans-serif, system-ui, sans-serif; }
.house .hs-loft-fill, .house .hs-cav-fill { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1.4s var(--ease); }
.house.s-loft .hs-loft-fill, .house.s-wall .hs-cav-fill { transform: scaleY(1); }
.house .hs-halo { transition: opacity 1.2s var(--ease); }
.house .hs-halo.hot { opacity: .6; }
.house .hs-halo.cool { opacity: 0; }
.house.s-loft .hs-halo.hot.roof, .house.s-wall .hs-halo.hot.wall { opacity: 0; }
.house.s-loft .hs-halo.cool.roof, .house.s-wall .hs-halo.cool.wall { opacity: .45; }
.house .hs-snow { opacity: 0; stroke-dasharray: 560; stroke-dashoffset: 560; transition: opacity .6s, stroke-dashoffset 1.6s var(--ease) .3s; }
.house.s-loft .hs-snow { opacity: 1; stroke-dashoffset: 0; }
.house .hs-room-glow { opacity: .4; transition: opacity 1.2s var(--ease); }
.house.s-loft .hs-room-glow, .house.s-wall .hs-room-glow { opacity: .6; }
.house.s-loft.s-wall .hs-room-glow { opacity: .85; }
.house .hs-rad-glow { opacity: .55; animation: hsPulse 3s ease-in-out infinite; }
@keyframes hsPulse { 50% { opacity: .8; } }
.house .hs-flow .glow { stroke-width: 9; opacity: .18; stroke: #ff6a2b; }
.house .hs-flow .dots { stroke-width: 3.5; stroke-dasharray: 1.5 9; animation: hsFlow 1.1s linear infinite; }
.house .hs-flow.up .dots { stroke: url(#hs-heat-up); }
.house .hs-flow.side .dots { stroke: #ff8a4a; }
.house .hs-flow.esc { transition: opacity .7s var(--ease); }
.house.s-loft .hs-flow.up.esc, .house.s-wall .hs-flow.side.esc { opacity: 0; }
/* Isoleret: varmen bliver i rummet, strømmen bliver rolig og gylden */
.house.s-loft .hs-flow.up:not(.esc) .dots, .house.s-wall .hs-flow.side:not(.esc) .dots { stroke: #ffd27a; animation-duration: 2.6s; }
.house.s-loft .hs-flow.up:not(.esc) .glow, .house.s-wall .hs-flow.side:not(.esc) .glow { stroke: #ffd27a; }
@keyframes hsFlow { to { stroke-dashoffset: -21; } }
.house .hs-flakes circle { animation: hsSnow 9s linear infinite; }
.house .hs-flakes circle:nth-child(3n) { animation-duration: 12s; animation-delay: -4s; }
.house .hs-flakes circle:nth-child(3n+1) { animation-duration: 10s; animation-delay: -7s; }
@keyframes hsSnow { from { transform: translateY(-30px); opacity: 0; } 15% { opacity: .8; } to { transform: translateY(150px); opacity: 0; } }
.house .hs-label .dot { fill: #ff6a2b; transition: fill .5s; }
.house .hs-label .st { transition: opacity .4s; }
.house .hs-label .st.ok { opacity: 0; }
.house.s-loft .hs-label.loft .dot, .house.s-wall .hs-label.wall .dot { fill: #a3e635; }
.house.s-loft .hs-label.loft .st.bad, .house.s-wall .hs-label.wall .st.bad { opacity: 0; }
.house.s-loft .hs-label.loft .st.ok, .house.s-wall .hs-label.wall .st.ok { opacity: 1; }
.house.paused * { animation-play-state: paused !important; }

/* Ydelser */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.service { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.service:hover { box-shadow: var(--shadow); }
.service .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .media img { transform: scale(1.04); }
.service .tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .92); font-size: 13px; font-weight: 600; color: var(--brand); }
.service .body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service h3 { font-size: 28px; }
.service p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.service .btn { align-self: flex-start; margin-top: auto; }
.service .foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .services { grid-template-columns: minmax(0, 1fr); } .service .body { padding: 22px; } }

/* Sådan foregår det */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; list-style: none; padding: 0; }
.steps::before { content: ''; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line-strong); }
.steps .progress-line { position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--brand); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step .n { position: relative; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); color: var(--brand); box-shadow: var(--shadow-sm); transition: background-color .4s var(--ease), color .4s, border-color .4s; }
.step.on .n { background: var(--brand); color: #fff; border-color: var(--brand); }
.step .n svg { width: 24px; height: 24px; }
.step .when { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.step h3 { margin-top: 6px; font-size: 21px; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps .progress-line { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .steps .progress-line { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 30px; }
  .step .n { grid-row: span 3; }
  .step .when { margin-top: 2px; }
}

/* Billedbånd */
.band { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.band img { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; z-index: -2; will-change: transform; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(6 36 24 / .88), rgb(6 36 24 / .45) 55%, rgb(6 36 24 / .1)); }
.band .inner { padding: clamp(28px, 5vw, 64px); max-width: 640px; }
.band h2 { font-size: clamp(30px, 4vw, 50px); }
.band p { margin-top: 14px; color: #d6e3dc; font-size: 18px; }
.band .btn { margin-top: 26px; }
@media (max-width: 640px) { .band { min-height: 520px; } .band::before { background: linear-gradient(0deg, rgb(6 36 24 / .92), rgb(6 36 24 / .35) 75%); } }

/* Priser */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.price { padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.price h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.price h3 svg { width: 22px; height: 22px; color: var(--brand); }
.price .range { margin-top: 18px; font-size: clamp(34px, 4vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.price .range small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.price .depends { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.price .depends p { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.price .depends ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.price .depends li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.price-note { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 20px; background: var(--brand-tint); color: var(--brand-700); font-size: 16px; }
.price-note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } .price { padding: 24px; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 120px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background-color .3s; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--brand); color: #fff; border-color: var(--brand); }
.faq .ans { padding: 0 4px 24px; color: var(--muted); max-width: 40em; }
.faq .ans p + p { margin-top: 10px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq-wrap .section-head { position: static; } .faq summary { font-size: 17.5px; } }

/* Slut-CTA */
.final { padding-bottom: clamp(56px, 8vw, 96px); }
.final-card { position: relative; border-radius: 36px; padding: clamp(36px, 7vw, 88px) clamp(22px, 6vw, 80px); background: var(--brand-900); color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
.final-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 50% 0%, rgb(132 204 22 / .22), transparent 70%), radial-gradient(400px 300px at 100% 100%, rgb(242 106 46 / .14), transparent 70%); }
.final-card h2 { font-size: clamp(34px, 5vw, 62px); max-width: 14em; margin-inline: auto; }
.final-card p { margin: 16px auto 0; color: #c3d3ca; max-width: 34em; font-size: 18px; }
.final-card .addr-form { margin: 32px auto 0; text-align: left; }
.final-card .addr-box { border-color: transparent; }
.final-card .ticks { justify-content: center; }
.final-card .ticks li { color: #dbe7e0; }
.final-card .ticks svg { color: var(--lime); }

/* Partner / login */
.partners { padding: 0 0 clamp(72px, 9vw, 112px); }
.partner-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.partner-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
.p-card { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.p-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.p-card .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.p-card .ico svg { width: 26px; height: 26px; }
.p-card h3 { font-size: 20px; letter-spacing: -0.02em; }
.p-card p { margin-top: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.p-card .go { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); flex: none; transition: background-color .25s, color .25s, border-color .25s; }
.p-card .go svg { width: 18px; height: 18px; }
.p-card:hover .go { background: var(--brand); color: #fff; border-color: var(--brand); }
.p-card .host { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--brand); font-weight: 500; }
@media (max-width: 760px) { .partner-grid { grid-template-columns: 1fr; } .p-card { padding: 18px; gap: 14px; } .p-card .ico { width: 48px; height: 48px; border-radius: 14px; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.footer ul a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--ink-2); font-size: 15.5px; }
.footer ul a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.footer .about { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 26em; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Mobil sticky CTA */
.sticky-cta { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: none; transform: translateY(140%); transition: transform .45s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 14px 30px -10px rgb(6 36 24 / .55); }
@media (max-width: 720px) { .sticky-cta { display: block; } }

/* ---------- Formular (dialog) ---------- */
dialog.quote { padding: 0; border: 0; width: min(560px, calc(100% - 32px)); max-height: min(760px, calc(100dvh - 32px)); border-radius: 30px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px -30px rgb(6 36 24 / .6); overflow: hidden; }
dialog.quote::backdrop { background: rgb(6 20 14 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.quote[open] { animation: popIn .45s var(--ease); }
dialog.quote[open]::backdrop { animation: fadeIn .3s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.q-wrap { display: flex; flex-direction: column; max-height: inherit; }
.q-top { display: flex; align-items: center; gap: 10px; padding: 16px 16px 0; }
.q-icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; flex: none; transition: background-color .2s, opacity .2s; }
.q-icon-btn:hover { background: var(--surface-2); }
.q-icon-btn svg { width: 20px; height: 20px; }
.q-icon-btn[hidden] { display: grid; visibility: hidden; }
.q-progress { flex: 1; }
.q-progress .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.q-progress .track { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.q-progress .track i { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--brand); transform-origin: left; transform: scaleX(var(--q, .25)); transition: transform .5s var(--ease); }
.q-body { padding: 26px 28px 28px; overflow: auto; min-height: 400px; }
.q-step { display: none; }
.q-step.active { display: block; animation: stepIn .4s var(--ease); }
.q-step.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-18px); } }
.q-step h2 { font-size: clamp(25px, 4vw, 30px); letter-spacing: -0.03em; }
.q-step .sub { margin-top: 8px; color: var(--muted); font-size: 16px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.options.list { grid-template-columns: 1fr; }
.opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 64px; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line-strong); background: var(--surface); text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .15s var(--ease); }
.opt:hover { border-color: var(--ink-2); }
.opt:active { transform: scale(.98); }
.opt[aria-checked="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px rgb(14 77 47 / .12); }
.opt .oi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); transition: background-color .2s, color .2s; }
.opt[aria-checked="true"] .oi { background: var(--brand); color: #fff; }
.opt .oi svg { width: 22px; height: 22px; }
.opt .ot { display: block; }
.opt strong { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.opt small { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.options.list .opt { flex-direction: row; align-items: center; gap: 14px; }
.opt .tick { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.opt .tick svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.opt[aria-checked="true"] .tick { background: var(--brand); border-color: var(--brand); }
.opt[aria-checked="true"] .tick svg { opacity: 1; }
.options.list .opt .tick { position: static; margin-left: auto; flex: none; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.field label .opt-l { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--surface); font-size: 17px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(14 77 47 / .12); }
.field.invalid input { border-color: var(--bad); }
.field .err { display: none; margin-top: 6px; font-size: 14px; color: var(--bad); font-weight: 500; }
.field.invalid .err { display: flex; gap: 6px; align-items: center; }
.field .err svg { width: 16px; height: 16px; }
.field .err.fix { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.field .hint { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.addr-field .input-wrap { position: relative; }
.addr-field .addr-ico { position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; color: var(--brand); pointer-events: none; }
.addr-field input { padding-left: 46px; }
.add-note { margin-top: 14px; background: none; border: 0; padding: 8px 0; color: var(--brand); font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.add-note svg { width: 18px; height: 18px; }
.q-foot { margin-top: 24px; }
.q-foot .btn { width: 100%; }
.consent { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.consent a { color: var(--ink-2); }
.form-error { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #fdecea; color: var(--bad); font-size: 15px; }
.form-error.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done { text-align: center; padding: 10px 0 4px; }
.done .check { width: 84px; height: 84px; margin: 4px auto 18px; }
.done .check circle { stroke: var(--brand); stroke-width: 3; fill: var(--brand-tint); stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw .7s var(--ease) forwards; }
.done .check path { stroke: var(--brand); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.next-list { list-style: none; padding: 0; margin: 22px 0 0; text-align: left; display: grid; gap: 12px; }
.next-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); font-size: 15.5px; }
.next-list li b { display: block; font-weight: 600; }
.next-list li span { color: var(--muted); font-size: 14.5px; }
.next-list .n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; flex: none; }
.mock-flag { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 560px) {
  dialog.quote { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  dialog.quote[open] { animation-name: sheetIn; }
  @keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } }
  .q-wrap { height: 100%; max-height: none; }
  .q-body { padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); flex: 1; }
  .options { grid-template-columns: 1fr; }
  .options .opt { flex-direction: row; align-items: center; gap: 14px; }
  .options .opt .tick { position: static; margin-left: auto; flex: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Scroll-afsløring ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }

/* Juridiske sider */
.legal { padding: 128px 0 clamp(56px, 8vw, 96px); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 18px; letter-spacing: -0.04em; }
.legal .lede { margin-top: 16px; max-width: 46em; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-top: 44px; align-items: start; }
.toc { position: sticky; top: 110px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.toc-h { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; text-decoration: none; font-size: 14.5px; color: var(--ink-2); line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; padding-top: 1px; }
.toc a:hover { background: var(--surface-2); color: var(--ink); }
.legal-body { max-width: 760px; }
.l-sec { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.l-sec:first-child { border-top: 0; padding-top: 0; }
.l-sec h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -0.025em; }
.l-sec h2 .n { font-size: 14px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.l-sec p, .l-sec li { color: var(--ink-2); }
.l-sec p { margin-top: 12px; }
.l-sec ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.l-sec a { color: var(--brand); text-underline-offset: 3px; }
.table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.l-sec table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.l-sec th, .l-sec td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.l-sec th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.l-sec tr:last-child td { border-bottom: 0; }
.l-sec td:first-child { font-weight: 600; color: var(--ink); }
.legal-cta { margin-top: 32px; padding: clamp(24px, 4vw, 36px); border-radius: 24px; background: var(--brand-900); color: #fff; }
.legal-cta h2 { font-size: clamp(24px, 3vw, 32px); }
.legal-cta p { margin-top: 10px; color: #c3d3ca; }
.legal-cta .btn { margin-top: 20px; background: var(--lime); color: var(--brand-900); }
.legal-cta .btn:hover { background: var(--lime-2); }
.notfound { text-align: center; min-height: 70vh; display: grid; place-items: center; }
.notfound img { margin: 0 auto 20px; }
.notfound .lede { margin-inline: auto; }
.notfound .btn { margin-top: 24px; }
@media (max-width: 860px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .l-sec table, .l-sec thead, .l-sec tbody, .l-sec tr, .l-sec td { display: block; }
  .l-sec thead { display: none; }
  .l-sec tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .l-sec tr:last-child { border-bottom: 0; }
  .l-sec td { padding: 2px 0; border: 0; }
  .l-sec td:nth-child(n+3) { color: var(--muted); font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}

/* Mobil: chips må ikke dække termografi-mærkatet */
@media (max-width: 560px) {
  .thermal-legend { top: 14px; right: 14px; font-size: 12px; }
  .chip-a { top: 58px; left: 10px; }
  .chip-b { right: 10px; bottom: 84px; }
  .chip-float { padding: 8px 12px 8px 8px; font-size: 13px; }
  .chip-float .ico { width: 30px; height: 30px; }
}
/* Uden JavaScript vises alt med det samme */
html:not(.js) .reveal, html:not(.js) .split .w > span { opacity: 1; transform: none; }
