@import url("/assets/fonts/fonts.css");

/* ===================================================================
   Københavns Håndværker Service — "Handyman" friendly-modern stylesheet
   Light-blue hero · yellow CTAs · navy ink · big rounded cards
   Font: Plus Jakarta Sans (400–800, self-hosted)
   =================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:        #ffffff;
  --bg-2:      #f7f9fc;   /* light surface */
  --bg-3:      #eceff3;   /* deeper wash for chips/insets */
  --paper:     #ffffff;

  /* ink / text */
  --ink:       #161c24;   /* headings, footer, top bar */
  --ink-2:     #1a386a;   /* secondary deep navy */
  --text:      #586272;   /* body */
  --text-mid:  #586272;
  --muted:     #828c99;   /* muted/labels */

  /* brand */
  --blue:        #005e89; /* primary brand blue — links, secondary buttons */
  --blue-dark:   #003c67; /* deep navy chip / hover */
  --blue-light:  #57aef4; /* bright accent blue (arc, highlights) */
  --blue-tint:   #e9f4ff; /* soft blue wash */
  --blue-tint-2: #eef6ff; /* hero bg */

  /* primary accent — brand blue from kbh-hs.dk + tones (was yellow; tokens kept) */
  --yellow:      #005e89;   /* brand primary */
  --yellow-deep: #004a6b;   /* hover */
  --on-yellow:   #ffffff;   /* text on primary */
  --blue-bright: #3fa3d6;   /* lighter tone — accents on dark */

  /* lines & shadow */
  --line:      #e6eaef;   /* hairline */
  --line-soft: #eef2f5;
  --shadow-sm: 0 1px 2px rgba(22,28,36,.04), 0 2px 6px rgba(22,28,36,.05);
  --shadow-md: 0 8px 24px -10px rgba(22,28,36,.12), 0 3px 10px -4px rgba(22,28,36,.08);
  --shadow-lg: 0 30px 70px -28px rgba(22,28,36,.28), 0 10px 28px -16px rgba(22,28,36,.14);
  --shadow-yellow: 0 14px 28px -12px rgba(0,94,137,.40);

  /* radii — big, friendly */
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* type scale (fluid) */
  --step--1: clamp(.86rem, .83rem + .12vw, .92rem);
  --step-0:  clamp(1rem, .97rem + .14vw, 1.075rem);
  --step-1:  clamp(1.13rem, 1.06rem + .3vw, 1.28rem);
  --step-2:  clamp(1.4rem, 1.26rem + .55vw, 1.7rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.2vw, 2.5rem);
  --step-4:  clamp(2.3rem, 1.75rem + 2.5vw, 3.5rem);
  --step-5:  clamp(2.7rem, 1.95rem + 3.4vw, 4.3rem);

  /* layout */
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 124px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Headings ---------- */
h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -.014em; }
h4 { font-size: var(--step-0); font-weight: 700; letter-spacing: -.01em; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 700; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0; z-index: 300;
}
.skip:focus { left: 0; }

/* progressive-enhancement reveal */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .07s; }
.js .reveal[data-d="2"] { transition-delay: .14s; }
.js .reveal[data-d="3"] { transition-delay: .21s; }
.js .reveal[data-d="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Eyebrow / pill label (Handyman blue chip) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-tint);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #bfe0ff; background: rgba(87,174,244,.16); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.5em;
  font-family: inherit;
  font-size: var(--step-0); font-weight: 700;
  line-height: 1.1; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* primary CTA — signature yellow */
.btn--accent { --btn-bg: var(--yellow); --btn-fg: var(--on-yellow); box-shadow: var(--shadow-yellow); }
.btn--accent:hover { --btn-bg: var(--yellow-deep); box-shadow: 0 18px 32px -12px rgba(0,94,137,.5); }

/* secondary solid blue */
.btn--blue { --btn-bg: var(--blue); --btn-fg: #fff; box-shadow: 0 12px 26px -14px rgba(0,94,137,.55); }
.btn--blue:hover { --btn-bg: var(--blue-dark); }

/* ghost / outline (light bg) — white with hairline border */
.btn--ghost,
.btn--outline {
  --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover,
.btn--outline:hover { --btn-bd: #cfd8e2; background: var(--bg-2); }

/* outline on dark surfaces */
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4);
}
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: rgba(255,255,255,.7); }

/* dark/ink button */
.btn--ink { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--ink:hover { --btn-bg: #232b35; }

.btn--lg { padding: .95em 1.7em; font-size: var(--step-1); }
.btn--block { display: flex; width: 100%; }

/* ---------- Text link with arrow ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; color: var(--blue); font-size: .95rem;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
a:hover .link-arrow { text-decoration: none; }
a:hover .link-arrow svg { transform: translateX(3px); }

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--text-mid); }
.muted { color: var(--muted); }

/* ===================================================================
   Top utility bar — thin, ink/navy
   =================================================================== */
.topbar { background: var(--ink); color: #c8cfd9; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 42px; padding-block: 6px;
  font-size: .85rem; flex-wrap: wrap;
}
.topbar__meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__meta a, .topbar__item {
  display: inline-flex; align-items: center; gap: 8px; color: #c8cfd9; font-weight: 500;
}
.topbar__meta a:hover { color: #fff; text-decoration: none; }
.topbar__meta svg { width: 16px; height: 16px; color: var(--blue-bright); flex: none; }
.topbar__social { display: inline-flex; align-items: center; gap: 6px; }
.topbar__social a {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 8px; color: #c8cfd9; background: rgba(255,255,255,.06);
  transition: background .2s, color .2s;
}
.topbar__social a:hover { background: rgba(255,255,255,.14); color: #fff; }
.topbar__social svg { width: 17px; height: 17px; }

/* ===================================================================
   Header / Nav — white, clean; navy logo-chip carries white logo
   =================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(22,28,36,.5); }
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  min-height: 90px; padding-block: 14px;
}
.nav > .brand { justify-self: start; }
.nav > .nav__cta { justify-self: end; }

/* brand — navy chip carrying the real white logo */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__chip {
  display: inline-flex; align-items: center;
}
.brand__logo { height: 45px; width: auto; display: block; background: none; }

nav[aria-label="Hovedmenu"] { justify-self: center; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > li > a,
.nav__trigger {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .98rem; color: var(--ink);
  transition: color .2s, background .2s;
}
.nav__links > li > a:hover,
.nav__trigger:hover { color: var(--blue); background: var(--blue-tint); text-decoration: none; }
.nav__trigger svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.has-menu[data-open="true"] .nav__trigger svg { transform: rotate(180deg); }

/* dropdown */
.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: min(580px, 86vw);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  padding: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
/* invisible bridge across the gap so hover doesn't drop between button and menu */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-menu:hover .dropdown,
.has-menu[data-open="true"] .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: var(--r-sm); color: var(--ink);
  transition: background .15s;
}
.dropdown a:hover { background: var(--bg-2); text-decoration: none; }
.dropdown .ico {
  width: 36px; height: 36px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue);
}
.dropdown .ico svg { width: 20px; height: 20px; }
.dropdown b { display: flex; flex-direction: column; font-weight: 700; font-size: .95rem; }
.dropdown b span { font-weight: 500; font-size: .78rem; color: var(--muted); margin-top: 1px; }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; color: var(--ink); font-size: .98rem;
}
.nav__phone:hover { color: var(--blue); text-decoration: none; }
.nav__phone svg { width: 18px; height: 18px; color: var(--blue); }
.nav__cta .btn { padding: .68em 1.25em; }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); position: relative; background: var(--bg-2); }
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .2s;
}
.burger span::before { transform: translate(-50%, -7px); }
.burger span::after { transform: translate(-50%, 5px); }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translate(-50%, -50%) rotate(45deg); }
.menu-open .burger span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ===================================================================
   Hero — full-bleed photo + navy gradient overlay
   =================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 600px;
  display: flex; align-items: center;
  padding-block: clamp(64px, 6.5vw, 104px);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(20,22,25,.93) 0%, rgba(28,31,35,.82) 36%, rgba(33,36,40,.42) 66%, rgba(33,36,40,.10) 100%),
    linear-gradient(0deg, rgba(18,20,22,.42) 0%, transparent 42%);
}
.hero__inner { position: relative; z-index: 1; max-width: 100%; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.7rem); margin-top: 0; }
.hero h1 .u { color: #fff; }
.hero__lede { margin-top: 22px; max-width: 40rem; font-size: var(--step-1); color: rgba(255,255,255,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; list-style: none; padding: 0; }
.hero__trust li { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .94rem; color: rgba(255,255,255,.92); }
.hero__trust svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }

/* hero two-column grid + form card */
.hero .container { max-width: 1340px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 7%, 100px); align-items: center; width: 100%; }
.hero__form { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 34px 6px; width: 100%; }
.hero__form [data-fillout-id] { zoom: 0.85; }
.hero__form-head { margin-bottom: 8px; padding: 0 30px 0; }
.hero__form-head h2 { font-size: 1.4rem; color: var(--ink); letter-spacing: -.01em; }
.hero__form-head p { font-size: .92rem; color: var(--text-mid); margin-top: 6px; }

/* ===================================================================
   Stats strip — trust bar (V3)
   =================================================================== */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-block: clamp(28px, 4vw, 44px);
}
.stat { display: flex; align-items: center; gap: 16px; }
.stat:not(:last-child) { border-right: 1px solid var(--line); }
.stat__ico {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: var(--blue); background: var(--blue-tint);
}
.stat__ico svg { width: 26px; height: 26px; }
.stat__n { display: block; font-weight: 800; font-size: clamp(1.3rem, 1.05rem + .8vw, 1.75rem); color: var(--ink); line-height: 1.05; letter-spacing: -.02em; }
.stat__t { display: block; font-size: .9rem; color: var(--text-mid); margin-top: 5px; line-height: 1.3; }

/* ===================================================================
   Section head
   =================================================================== */
.section-head { max-width: 48rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 16px; }
.section-head .lede, .section-head p.lede { margin-top: 18px; }

/* ===================================================================
   Services — friendly rounded cards, line icons
   =================================================================== */
.services-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.scard {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--text); box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.scard::after {
  /* soft corner blob revealed on hover */
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--blue-tint); opacity: 0; transition: opacity .3s var(--ease);
}
.scard:hover {
  text-decoration: none; transform: translateY(-5px);
  box-shadow: var(--shadow-md); border-color: #d3deea;
}
.scard:hover::after { opacity: .7; }
.scard > * { position: relative; z-index: 1; }
.scard__ico {
  width: 58px; height: 58px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue);
  transition: background .28s var(--ease), color .28s var(--ease), transform .28s var(--ease);
}
.scard:hover .scard__ico { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.scard__ico svg { width: 28px; height: 28px; }
.scard h3 { color: var(--ink); }
.scard p { font-size: .95rem; color: var(--text-mid); line-height: 1.55; }
.scard .link-arrow { margin-top: auto; padding-top: 4px; }
/* legacy media block neutralised */
.scard__media { display: none; }
.scard__body { display: contents; }

/* ===================================================================
   Why / split (photo + text, badge)
   =================================================================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split__body { max-width: 34rem; }
.split--kontakt { grid-template-columns: 2fr 3fr; }
.split--lead { grid-template-columns: minmax(0, 540px) minmax(0, 600px); justify-content: center; gap: clamp(40px, 4vw, 80px); }
.split__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 6; min-height: clamp(440px, 48vw, 640px);
  background: var(--bg-2) center/cover no-repeat;
}
.split__media::before {
  /* decorative arc accent behind */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.split__badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: var(--yellow); border-radius: var(--r);
  padding: 16px 20px; box-shadow: var(--shadow-md); max-width: 78%;
}
.split__badge .num { font-weight: 800; font-size: 2rem; color: var(--on-yellow); line-height: 1; letter-spacing: -.02em; }
.split__badge p { font-size: .82rem; color: #fff; font-weight: 600; line-height: 1.3; margin: 0; }

.feature-list { display: grid; gap: 18px; margin-top: 28px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue);
}
.feature-list .tick svg { width: 18px; height: 18px; }
.feature-list b { display: block; color: var(--ink); font-weight: 700; font-size: 1.04rem; }
.feature-list span { display: block; color: var(--text-mid); font-size: .94rem; margin-top: 2px; }

/* checklist (inner-page aside, prose) */
.checklist { display: grid; gap: 12px; margin-top: 6px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); }
.checklist li svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }

/* ===================================================================
   Steps / process — "Sådan foregår det"
   =================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 24px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__n {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem; color: var(--on-yellow);
  background: var(--yellow); margin-bottom: 18px; letter-spacing: -.02em;
}
.step h3 { color: var(--ink); margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--text-mid); }

/* legacy dark band -> calm light surface */
.section--blue { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--blue h2, .section--blue h3 { color: var(--ink); }
.section--blue .eyebrow--light { color: var(--blue); background: var(--blue-tint); }
.process { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ===================================================================
   Bydele — chips
   =================================================================== */
.bydele {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  max-width: 58rem; margin-inline: auto;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); color: var(--text-mid);
  font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-sm);
  transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease);
}
.chip:hover { border-color: var(--blue-light); color: var(--blue); background: var(--blue-tint); transform: translateY(-2px); text-decoration: none; }
.chip svg { width: 16px; height: 16px; color: var(--blue); }
.chip.is-hidden { display: none; }
/* ===== Fillout skeleton — overlay indtil formularen reelt er klar ===== */
.hero__form [data-fillout-id] { position: relative; }
.hero__form [data-fillout-id]::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: #fff; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.hero__form [data-fillout-id]::after {
  content: ""; position: absolute; inset: 10px 30px; z-index: 3;
  background:
    linear-gradient(#edf1f6, #edf1f6) 0 0 / 48% 44px,
    linear-gradient(#edf1f6, #edf1f6) 100% 0 / 48% 44px,
    linear-gradient(#edf1f6, #edf1f6) 0 60px / 48% 44px,
    linear-gradient(#edf1f6, #edf1f6) 100% 60px / 48% 44px,
    linear-gradient(#edf1f6, #edf1f6) 0 120px / 100% 44px,
    linear-gradient(#edf1f6, #edf1f6) 0 180px / 100% 130px,
    linear-gradient(#cfe0ec, #cfe0ec) 0 330px / 38% 44px;
  background-repeat: no-repeat;
  animation: skel-pulse 1.3s ease-in-out infinite;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.hero__form [data-fillout-id].ff-ready::before,
.hero__form [data-fillout-id].ff-ready::after { opacity: 0; visibility: hidden; }
@keyframes skel-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ===== Cookie consent (GDPR / Consent Mode v2) ===== */
.cc { position: fixed; inset: auto 0 0 0; z-index: 200; padding: 14px; pointer-events: none; }
.cc__card {
  pointer-events: auto; max-width: 980px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 18px 48px -12px rgba(15, 28, 40, .35);
  padding: 20px 22px;
}
.cc__main { display: flex; align-items: center; gap: 26px; }
.cc__txt strong { display: block; color: var(--ink); margin-bottom: 4px; }
.cc__txt p { font-size: .88rem; color: var(--text-mid); line-height: 1.55; margin: 0; }
.cc__txt a { font-weight: 600; }
.cc__actions { display: flex; gap: 10px; flex: none; flex-wrap: wrap; }
.cc__actions .btn { padding: .58em 1.1em; font-size: .9rem; white-space: nowrap; }
.cc__settings { padding-top: 4px; }
.cc__opt { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: .9rem; color: var(--text); cursor: pointer; }
.cc__opt input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.cc__settings .cc__actions { margin-top: 12px; justify-content: flex-end; }
@media (max-width: 860px) {
  .cc__main { flex-direction: column; align-items: stretch; gap: 14px; }
  .cc__actions { justify-content: stretch; }
  .cc__actions .btn { flex: 1; justify-content: center; }
}

.prose-cols { columns: 2; column-gap: 64px; max-width: 1080px; margin-inline: auto; color: var(--text); }
.prose-cols p { margin-bottom: 18px; break-inside: avoid; }
.prose-cols a { font-weight: 600; }
.bydele__more { padding: .58em 1.2em; font-size: .9rem; }
.bydele__more svg { width: 1em; height: 1em; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===================================================================
   FAQ — accordion (2-col desktop)
   =================================================================== */
.faq {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 56px); align-items: start;
  max-width: 1040px; margin-inline: auto;
}
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  margin-bottom: 14px; box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: #d3deea; box-shadow: var(--shadow-md); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.06rem;
  color: var(--ink); letter-spacing: -.01em;
}
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm {
  position: relative; width: 28px; height: 28px; flex: none; border-radius: 8px;
  background: var(--blue-tint);
}
.faq .pm::before, .faq .pm::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--blue); border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform .25s var(--ease), opacity .25s;
}
.faq .pm::before { width: 12px; height: 2px; }
.faq .pm::after { width: 2px; height: 12px; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq details p {
  padding: 0 22px 22px; color: var(--text-mid); max-width: 62ch; margin: 0;
}

/* ===================================================================
   CTA — bold navy band w/ yellow CTA
   =================================================================== */
.cta-fullband {
  position: relative; overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(80% 120% at 88% 8%, #20406f 0%, transparent 58%),
    linear-gradient(135deg, #1a386a 0%, #161c24 70%);
  text-align: center; color: #fff;
}
.cta-fullband::before {
  /* faint dotted texture */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px);
  background-size: 24px 24px; opacity: .6;
}
.cta-fullband::after {
  /* decorative bright-blue arc */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 460px; height: 460px; left: -160px; bottom: -220px;
  border: 26px solid rgba(87,174,244,.5); border-radius: 50%;
}
.cta-fullband > .container { position: relative; z-index: 1; }
.cta-fullband .eyebrow { color: #bfe0ff; background: rgba(87,174,244,.18); justify-content: center; }
.cta-fullband h2 { color: #fff; max-width: 22ch; margin: 18px auto 0; }
.cta-fullband p { max-width: 56ch; margin: 18px auto 0; color: #c4d2e6; font-size: var(--step-1); }
.cta-fullband .hero__actions { justify-content: center; margin-top: 32px; }
.cta-fullband .btn--outline { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); box-shadow: none; }
.cta-fullband .btn--outline:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: rgba(255,255,255,.85); background: rgba(255,255,255,.1); }

/* legacy cta variants */
.cta, .cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
}
.cta > *, .cta-band > * { position: relative; z-index: 1; }
.cta h2, .cta-band h2 { color: var(--ink); max-width: 22ch; margin-inline: auto; }
.cta p, .cta-band p { max-width: 54ch; margin: 18px auto 0; color: var(--text-mid); font-size: var(--step-1); }
.cta .hero__actions, .cta-band .hero__actions { justify-content: center; margin-top: 30px; }
.cta .btn--outline-light, .cta-band .btn--outline-light {
  --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line); box-shadow: var(--shadow-sm);
}

/* ===================================================================
   Intro split (legacy) + inner-page shared components
   =================================================================== */
.intro__grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.intro__body p { margin-top: 18px; color: var(--text); }
.intro__aside {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; position: sticky; top: 100px;
}
.intro__aside h3 { color: var(--ink); }
.intro__aside > p { color: var(--text-mid); margin-top: 8px; }
.intro__aside ul { display: grid; gap: 12px; margin: 20px 0 24px; }
.intro__aside li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.intro__aside li svg { width: 19px; height: 19px; color: var(--blue); flex: none; margin-top: 3px; }

/* legacy trustbar (inner pages) */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-2); }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 28px; }
.trustbar__item { display: flex; gap: 12px; align-items: center; }
.trustbar__ico { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.trustbar__ico svg { width: 22px; height: 22px; }
.trustbar__t { font-weight: 700; color: var(--ink); font-size: .98rem; }
.trustbar__s { font-size: .84rem; color: var(--muted); }

/* legacy bydele grid */
.bydele__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bydel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.bydel__name { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.bydel__name svg { width: 18px; height: 18px; color: var(--blue); }
.bydel p { font-size: .92rem; color: var(--text-mid); }
.bydel__more { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* page-hero, prose, forms, pricelist (inner pages) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 6vw, 84px);
  background: linear-gradient(180deg, #e2edf8 0%, #e9f1fb 100%); }
.page-hero .container { max-width: 1240px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: var(--step-2); margin-top: 38px; }
.prose h3 { margin-top: 26px; }
.prose p { color: var(--text); }
.prose ul { display: grid; gap: 10px; margin-top: 6px; }
.prose h2 + ul, .prose h3 + ul { margin-top: 16px; }
.prose ul li { position: relative; padding-left: 26px; color: var(--text); }
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px;
  border-radius: 3px; background: var(--blue-light);
}

.contact-list { display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list .val { font-size: 1.08rem; color: var(--ink); font-weight: 700; }
.contact-list .val { font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-md); }
.form { display: grid; gap: 16px; margin-top: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-2); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,94,137,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text-mid); }
.form__consent input { margin-top: 3px; accent-color: var(--blue); }
.form-status { margin-top: 4px; }
.form-note { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin-top: 6px; }

.pricelist { display: grid; gap: 2px; }
.pricelist__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pricelist__row:last-child { border-bottom: none; }
.pricelist__row b { font-weight: 700; color: var(--ink); font-size: .96rem; }
.pricelist__row span { color: var(--blue); font-weight: 700; font-size: .96rem; }

/* ===================================================================
   Footer — navy multi-column
   =================================================================== */
.site-footer {
  background: var(--ink); color: #c4cdd9;
  padding-block: clamp(52px, 7vw, 84px) 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand__chip { background: rgba(255,255,255,.06); }
.footer-brand__logo { height: 46px; width: auto; background: none; }
.footer-brand p { margin-top: 18px; font-size: .92rem; color: #97a3b3; max-width: 34ch; line-height: 1.6; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #b3bdca; font-size: .94rem; }
.footer-links a:hover { color: #fff; }
.footer-areas { margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-areas h4 { margin-bottom: 12px; }
.footer-areas p { font-size: .82rem; line-height: 2.1; color: #93a0b0; }
.footer-areas a { color: #a8b4c2; white-space: nowrap; }
.footer-areas a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: #b3bdca; }
.footer-contact li svg { width: 18px; height: 18px; color: var(--blue-bright); flex: none; margin-top: 3px; }
.footer-contact a { color: #b3bdca; }
.footer-contact a:hover { color: #fff; }
.footer-social {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-top: 18px;
  border-radius: 12px; background: rgba(255,255,255,.07); color: #cfe0ec;
  border: 1px solid rgba(255,255,255,.12);
}
.footer-social:hover { background: var(--yellow); color: var(--on-yellow); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; color: #8a96a6;
}
.footer-bottom a { color: #8a96a6; }
.footer-bottom a:hover { color: #fff; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .stat:nth-child(2) { border-right: none; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
  .bydele__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero__overlay { background: linear-gradient(180deg, rgba(18,20,22,.86) 0%, rgba(30,33,38,.74) 100%); }
  .hero__bg { object-position: 64% center; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__inner { max-width: 100%; }
  .faq { grid-template-columns: 1fr; max-width: var(--maxw-narrow); }
  .prose-cols { columns: 1; }
  .split { grid-template-columns: 1fr; }
  .split__media { max-width: 500px; min-height: clamp(320px, 70vw, 460px); }
  .split__body { order: 2; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__aside { position: static; }

  /* nav → mobile drawer */
  nav[aria-label="Hovedmenu"] { margin-left: 0; }
  .burger { display: block; margin-left: auto; }
  .nav__phone { display: none; }
  .nav__cta .btn:not(.burger) { display: none; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 24px; box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .menu-open .nav__links { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__links > li > a, .nav__trigger { width: 100%; padding: 13px 14px; font-size: 1.05rem; justify-content: space-between; }
  .dropdown {
    position: static; transform: none; width: 100%; grid-template-columns: 1fr;
    box-shadow: none; border: none; border-radius: 0; padding: 4px 0 8px;
    opacity: 1; visibility: visible; pointer-events: auto;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .has-menu[data-open="true"] .dropdown { max-height: 760px; }
  .has-menu:hover .dropdown { max-height: 0; }
  .has-menu[data-open="true"]:hover .dropdown { max-height: 760px; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr; gap: 18px; }
  .stat { border-right: none !important; }
  .trustbar__grid { grid-template-columns: 1fr; }
  .bydele__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .btn--lg { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__chip { left: 0; }
  .topbar__meta { gap: 14px; }
  .topbar__item--addr { display: none; }
}
