/* =========================================================
   MPSolution.dk — Design System (v2)
   Vækstpartner for danske virksomheder.
   Paper: varm creme · Ink: dyb varm sort · Green: vækst-accent
   Bold, condensed, editorial — inspireret af Brandenburg-linjen.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Onest:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body { margin: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

:root {
  /* Three colours, used consistently: cream, ink, green.
     Every variant below is a tint/shade of one of those three —
     kept only where contrast genuinely requires it (e.g. a
     lighter green for text on dark, a darker green for text on
     cream), never as decorative extra colour. */

  /* surfaces (cream) */
  --paper:      #F5F1E6;
  --paper-2:    #EAE2CC;

  /* ink */
  --ink:        #14140D;
  --ink-2:      #23261C;
  --ink-soft:   #55543F;
  --muted:      var(--ink-soft);

  /* text on dark (cream, dimmed) */
  --text-inv-0: #F5F1E6;
  --text-inv-1: #C8C6AE;
  --text-inv-2: var(--text-inv-1);

  /* accent: green (system / brand / action — one accent, used with confidence) */
  --green:      #00B84D;
  --green-hi:   #2FE374;
  --green-dark: #007A33;
  --green-pale: rgba(0,184,77,.10);
  --green-pale-2: rgba(0,184,77,.18);

  /* legacy aliases — every var(--teal/--clay ...) reference repaints green */
  --teal:       var(--green);
  --teal-hi:    var(--green-hi);
  --teal-dark:  var(--green-dark);
  --teal-pale:  var(--green-pale);
  --teal-pale-2: var(--green-pale-2);
  --clay:       var(--green);
  --clay-hi:    var(--green-hi);
  --clay-dark:  var(--green-dark);
  --clay-pale:  var(--green-pale);

  /* borders */
  --border:     #E0D8C0;
  --border-hi:  #CDC2A0;
  --border-inv: rgba(245,241,230,.14);

  /* type */
  --f-display:  'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body:     'Onest', system-ui, sans-serif;
  --f-mono:     'IBM Plex Mono', ui-monospace, monospace;

  --container:  1180px;
  --container-nar: 760px;
  --r:          10px;
  --r-lg:       20px;
  --nav-h:      78px;

  --shadow:     0 4px 24px rgba(20,20,13,.06);
  --shadow-lg:  0 20px 52px rgba(20,20,13,.14);
}

body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

:focus-visible {
  outline: 2px solid var(--teal-hi);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 .35em;
  color: var(--ink);
}
h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); font-weight: 900; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lede { font-size: 1.2rem; color: var(--ink-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2.5rem); }
.container-narrow { max-width: var(--container-nar); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2.5rem); }

section { padding: clamp(4rem, 9vw, 7rem) 0; }

/* ── EYEBROW / MONO LABELS ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}
.eyebrow--inv { color: var(--teal-hi); }
.eyebrow--inv::before { background: var(--clay-hi); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { font-size: 1.1rem; color: var(--ink-soft); margin-top: .25rem; }
.section-note { font-size: .85rem; color: var(--muted); max-width: 640px; margin-top: 1.2rem; }
.section-note.center { margin-left: auto; margin-right: auto; text-align: center; }

em { font-style: normal; color: var(--green-dark); }
.h-inv { color: var(--text-inv-0); }
.h-inv em { color: var(--green-hi); }

/* ── SCROLL REVEAL ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ── NAV ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--paper);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}
.nav-brand { display: flex; align-items: center; gap: .6rem; }

/* Icon has fixed navy/grey/cyan colours (no light variant) — a small cream
   chip keeps it legible over the dark hero and the dark footer alike.
   logo-icon.png is ~460x300 (wider than tall); height-constrain it so the
   chip stays compact instead of stretching to fit a tall vertical lockup. */
.nav-logo {
  height: 26px; width: auto; display: block;
  background: var(--paper);
  padding: 6px 8px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Nav sits transparent over a dark hero/page-header by default — text must be
   light until .scrolled swaps in the opaque cream background. */
.nav-brand-word { font-family: var(--f-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.01em; color: var(--text-inv-0); transition: color .2s ease; }
.nav-brand-word span { color: var(--green-hi); transition: color .2s ease; }
.nav.scrolled .nav-brand-word { color: var(--ink); }
.nav.scrolled .nav-brand-word span { color: var(--green-dark); }
.footer-brand .nav-brand-word { color: var(--text-inv-0); }
.footer-brand .nav-brand-word span { color: var(--green-hi); }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--text-inv-1);
  position: relative; padding: .3rem 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--text-inv-0); }
.nav-links a.active { color: var(--text-inv-0); }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--green);
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: .5rem;
}

/* ── NAV DROPDOWN (Ydelser) ────────────────────────────────────────── */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: .35rem; }
.nav-dropdown-chevron { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-dropdown-wrap:hover .nav-dropdown-chevron,
.nav-dropdown-wrap:focus-within .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 320px;
  padding: 18px 10px 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
/* bridges the gap between trigger and panel so hover doesn't drop */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -18px; left: -40px; right: -40px;
  height: 18px;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-eyebrow {
  font-family: var(--f-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  padding: .2rem .7rem .6rem;
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .7rem;
  border-radius: 8px;
  transition: background .15s ease;
}
.nav-dropdown-item:hover { background: var(--paper-2); }
.nav-dropdown-num { font-family: var(--f-mono); font-size: .76rem; font-weight: 600; color: var(--green-dark); width: 1.3rem; flex-shrink: 0; }
.nav-dropdown-name { flex: 1; min-width: 0; font-size: .92rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-dropdown-price { font-family: var(--f-mono); font-size: .68rem; color: var(--muted); white-space: nowrap; }
.nav-dropdown-footer {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: .3rem;
  padding: .8rem .7rem .3rem;
  border-top: 1px solid var(--border);
  font-size: .86rem; font-weight: 700;
  color: var(--green-dark);
}
.nav-dropdown-footer svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-dropdown-footer:hover svg { transform: translateX(3px); }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { width: 20px; height: 2px; background: var(--text-inv-0); border-radius: 2px; transition: transform .25s ease, opacity .25s ease, background .2s ease; }
.nav.scrolled .hamburger span { background: var(--ink); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 84vw);
  background: var(--ink-2);
  z-index: 110;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  padding: 1.5rem;
}
.mob-nav.open { transform: translateX(0); }
.mob-head { display: flex; justify-content: flex-end; margin-bottom: 2rem; }
.mob-close { width: 36px; height: 36px; position: relative; }
.mob-close span { position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; background: var(--text-inv-0); }
.mob-close span:nth-child(1) { transform: translate(-50%,-50%) rotate(45deg); }
.mob-close span:nth-child(2) { transform: translate(-50%,-50%) rotate(-45deg); }
.mob-nav-links { display: flex; flex-direction: column; gap: .3rem; }
.mob-nav-links a { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--text-inv-0); padding: .55rem 0; }

/* mobile "Ydelser" accordion */
.mob-dropdown-row { display: flex; align-items: center; gap: .5rem; }
.mob-dropdown-row a { flex: 1; }
.mob-dropdown-toggle {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-inv-0);
}
.mob-dropdown-toggle .nav-dropdown-chevron { width: 18px; height: 18px; transition: transform .25s ease; }
.mob-dropdown.open .mob-dropdown-toggle .nav-dropdown-chevron { transform: rotate(180deg); }
.mob-dropdown-panel {
  max-height: 0; overflow: hidden;
  display: flex; flex-direction: column;
  transition: max-height .3s ease;
}
.mob-dropdown.open .mob-dropdown-panel { max-height: 26rem; }
.mob-nav-links .mob-dropdown-panel a {
  font-family: var(--f-body); font-size: 1rem; font-weight: 500;
  color: var(--text-inv-1); padding: .5rem 0 .5rem .25rem;
}
.mob-nav-links .mob-dropdown-panel a:hover { color: var(--green-hi); }

.mob-footer { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--border-inv); }
.mob-footer .btn { width: 100%; justify-content: center; }
.mob-overlay {
  position: fixed; inset: 0; background: rgba(20,20,13,.5); z-index: 105;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mob-overlay.open { opacity: 1; pointer-events: auto; }
body.nav-locked { overflow: hidden; }

/* ── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: var(--r);
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1rem 2rem; font-size: .98rem; }
.btn-clay { background: var(--clay); color: var(--text-inv-0); }
.btn-clay:hover { background: var(--clay-hi); box-shadow: var(--shadow); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border-hi); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-inv { background: transparent; color: var(--text-inv-0); border-color: var(--border-inv); }
.btn-ghost-inv:hover { border-color: var(--text-inv-0); }
.btn-teal { background: var(--teal); color: var(--text-inv-0); }
.btn-teal:hover { background: var(--teal-dark); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── GRID TEXTURE (shared: hero + dark page-headers) ───────────────── */
.grid-texture {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: .5;
  background-image: linear-gradient(90deg, transparent calc(20% - 1px), rgba(255,255,255,.07) 20%, transparent calc(20% + 1px));
  background-size: 20% 100%;
}
.hero .container, .page-header .container { position: relative; z-index: 1; }

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(760px, 88vh);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: var(--ink);
  color: var(--text-inv-0);
  overflow: hidden;
}

/* a glow that eases toward the cursor — position set via --mx/--my in script.js */
.hero::after, .page-header::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity .5s ease;
  background: radial-gradient(circle 420px at var(--mx, 50%) var(--my, 50%), rgba(47,227,116,.3), transparent 70%);
}
.hero:hover::after, .page-header:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero::after, .page-header::after { display: none; } }

/* ── CUSTOM CURSOR (desktop, fine-pointer only) ────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor, body.custom-cursor a, body.custom-cursor button, body.custom-cursor label { cursor: none; }
  body.custom-cursor input, body.custom-cursor textarea, body.custom-cursor select { cursor: auto; }
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--green-hi);
  transition: opacity .2s ease, width .2s ease, height .2s ease;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid #fff;
  mix-blend-mode: difference;
  transition: opacity .2s ease, width .2s ease, height .2s ease, background .2s ease;
}
body.custom-cursor .cursor-dot, body.custom-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-active { width: 56px; height: 56px; background: rgba(255,255,255,.15); }
.cursor-dot.is-active { width: 0; height: 0; }
.cursor-dot.is-hidden, .cursor-ring.is-hidden { opacity: 0; }

.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* dark on the left so hero copy stays legible, easing off toward the busier
   right side of the footage; a light overall tint keeps the whole frame calm */
.hero-scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(20,20,13,.75) 32%, rgba(20,20,13,.35) 55%, rgba(20,20,13,.15) 75%),
    linear-gradient(0deg, var(--ink) 0%, transparent 40%);
}

/* vertical signature tag along the edge */
.hero-tag {
  position: absolute; z-index: 1; right: clamp(.75rem, 2.4vw, 1.75rem); bottom: 2.4rem;
  writing-mode: vertical-rl;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-inv-2);
  display: none;
}
@media (min-width: 1240px) { .hero-tag { display: block; } }

.hero-grid {
  position: relative;
  width: 100%;
}
.hero-content { max-width: 900px; }
.hero .eyebrow { color: var(--green-hi); }
.hero .eyebrow::before { background: var(--green-hi); animation: dot-pulse 2.4s ease-in-out infinite; }
@keyframes dot-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero .eyebrow::before { animation: none; } }
.hero h1 {
  color: var(--text-inv-0);
  margin-bottom: 1.4rem;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  letter-spacing: -.02em;
}
.hero h1 em { color: var(--green-hi); }

/* terminal-style blinking cursor after the headline — a small "live system" tell */
.cursor-blink {
  display: inline-block;
  width: .5rem; height: .78em;
  margin-left: .12em;
  background: var(--green-hi);
  vertical-align: -0.05em;
  animation: cursor-blink 1.1s steps(1) infinite;
}
@keyframes cursor-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor-blink { animation: none; opacity: .6; } }

.hero-lead {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-inv);
  overflow: hidden;
}
/* a small pulse of light travels the divider once in a while — a quiet "system is live" heartbeat */
.hero-lead::before {
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 8px; height: 2px; border-radius: 2px;
  background: var(--green-hi);
  box-shadow: 0 0 8px 1px rgba(47,227,116,.7);
  animation: lead-travel 4s ease-in-out infinite;
}
@keyframes lead-travel {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-lead::before { animation: none; opacity: 0; } }

.hero-sub { font-size: 1.15rem; color: var(--text-inv-1); max-width: 44ch; margin: 0; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-btns .btn-outline { color: var(--text-inv-0); border-color: var(--border-inv); }
.hero-btns .btn-outline:hover { border-color: var(--text-inv-0); background: rgba(255,255,255,.06); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .82rem; color: var(--text-inv-2); font-family: var(--f-mono); margin-top: 1.6rem; }
.hero-trust .dot { color: var(--text-inv-2); }

/* ── TICKER: scrolling service strip ────────────────────────────────── */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-2);
  overflow: hidden;
  padding: .9rem 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .82rem; letter-spacing: .03em;
  color: var(--ink-soft);
  padding: 0 1.6rem;
  white-space: nowrap;
}
.ticker-item::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--clay); flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ── PROOF / TRUST STRIP ────────────────────────────────────────────── */
.stats {
  background: var(--ink);
  color: var(--text-inv-0);
  padding: 0;
  border-top: 1px solid var(--border-inv);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stats-grid > div {
  padding: clamp(1.8rem, 3.5vw, 2.6rem) clamp(1rem, 2.5vw, 1.75rem);
  border-right: 1px solid var(--border-inv);
}
.stats-grid > div:last-child { border-right: none; }
.stat-num { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.1rem, 3.6vw, 3rem); color: var(--green-hi); line-height: 1; margin-bottom: .4rem; }
.stat-label { font-size: .8rem; color: var(--text-inv-2); letter-spacing: .01em; }

/* ── SERVICE CATALOG (grouped card grid) ───────────────────────────────
   Groups mirror the "Digitalt fundament" / "Vækst & automatisering" split
   also used in the prisberegner, so the same two categories carry through
   the whole site instead of one flat list of eight identical rows. */
.svc-list {
  background: var(--paper-2);
  border: 1px solid var(--border-hi);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem);
}
.svc-group + .svc-group { margin-top: clamp(2.6rem, 5vw, 4rem); }
.svc-group-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.svc-group-label {
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark);
  white-space: nowrap;
}
.svc-group-head::after { content: ''; flex: 1; height: 1px; background: var(--border-hi); }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.svc-grid + .svc-grid { margin-top: 1.1rem; }
.svc-grid-feature { grid-template-columns: 1.35fr 1fr 1fr; }
.svc-grid-2 { grid-template-columns: repeat(2, 1fr); }

.svc-row {
  position: relative; z-index: 0; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem 1.5rem;
  min-height: 248px;
  color: var(--ink-soft);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.svc-row::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.svc-row:hover { transform: translateY(-5px); border-color: var(--green); box-shadow: var(--shadow-lg); }
.svc-row:hover::before { transform: scaleX(1); }

/* giant ghost numeral bleeding off the corner — the real 01-08 sequence
   used sitewide (nav dropdown, prisberegner), now doubling as the card's
   signature background mark instead of a small overlapping badge */
.svc-row-num {
  position: absolute; z-index: -1; top: -.55rem; right: -.1rem;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(4.2rem, 7vw, 5.8rem);
  line-height: 1; color: var(--paper-2);
  pointer-events: none; user-select: none;
  transition: color .3s ease;
}
.svc-row:hover .svc-row-num { color: var(--green-pale-2); }

.svc-row-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.svc-row-icon svg { width: 24px; height: 24px; }
.svc-row:hover .svc-row-icon { background: var(--green); color: var(--text-inv-0); transform: scale(1.06); }

.svc-row-name { margin: 0 0 .55rem; font-size: 1.4rem; color: var(--ink); }
.svc-row-desc { margin: 0; font-size: .9rem; color: var(--ink-soft); flex: 1; }
.svc-row-meta { display: block; margin-top: .7rem; font-family: var(--f-mono); font-size: .74rem; color: var(--green-dark); text-transform: uppercase; letter-spacing: .03em; }
.svc-row-arrow {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  align-self: flex-end; margin-top: 1.2rem;
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.svc-row-arrow svg { width: 18px; height: 18px; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.svc-row:hover .svc-row-arrow { background: var(--green); border-color: var(--green); color: var(--text-inv-0); }
.svc-row:hover .svc-row-arrow svg { transform: rotate(-35deg) scale(1.12); }

@media (max-width: 980px) {
  .svc-grid, .svc-grid-feature, .svc-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .svc-grid, .svc-grid-feature, .svc-grid-2 { grid-template-columns: 1fr; }
  .svc-row-num { font-size: 3.6rem; }
}

.svc-bullets { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; }
.svc-bullets li { font-size: .88rem; color: var(--ink-soft); padding-left: 1.1rem; position: relative; }
.svc-bullets li::before { content: ''; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.svc-link { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-hi); display: inline-flex; gap: .35rem; align-items: center; }

/* ── WHY / FEATURE SPLIT ────────────────────────────────────────────── */
.why { background: var(--ink-2); color: var(--text-inv-0); }
.why-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why-sub { color: var(--text-inv-1); max-width: 42ch; }
.why-feat { display: flex; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid var(--border-inv); }
.why-feat:first-child { border-top: none; }
.why-feat-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-hi);
}
.why-feat-icon svg { width: 19px; height: 19px; }
.why-feat-title { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; margin-bottom: .3rem; color: var(--text-inv-0); }
.why-feat-desc { color: var(--text-inv-1); font-size: .95rem; margin: 0; }

/* ── PROCESS ────────────────────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.process-step { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.process-step::before {
  content: attr(data-n);
  display: block;
  font-family: var(--f-display); font-weight: 900; font-size: 2.6rem;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: .6rem;
}
.process-title { font-size: 1.3rem; margin-bottom: .4rem; }
.process-desc { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ── QUOTE BLOCK ────────────────────────────────────────────────────── */
.quote-block { text-align: center; }
.quote-text {
  font-family: var(--f-display); font-weight: 600; font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4;
  max-width: 780px; margin: 0 auto 1.2rem;
  color: var(--ink);
}
.quote-attr { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); }

/* ── REVIEWS (real Google reviews — social proof) ─────────────────────── */
.reviews { background: var(--ink-2); color: var(--text-inv-0); }
.reviews-badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem;
  font-family: var(--f-mono); font-size: .85rem; color: var(--text-inv-1);
}
.reviews-stars { color: var(--green-hi); font-size: 1rem; letter-spacing: .1em; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3rem; align-items: start; }
.review-card {
  background: var(--ink); border: 1px solid var(--border-inv); border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
}
.review-card .reviews-stars { display: block; margin-bottom: 1rem; }
.review-text { font-size: .9rem; line-height: 1.65; color: var(--text-inv-1); margin-bottom: 1.3rem; }
.review-author { font-family: var(--f-mono); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-inv-0); }
@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ── CTA BAND ───────────────────────────────────────────────────────── */
.cta-band { background: var(--green); color: var(--ink); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-h2 { color: var(--ink); margin-bottom: .4rem; }
.cta-sub { color: var(--ink); opacity: .82; margin: 0; max-width: 44ch; }
.cta-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.cta-band .btn-clay, .cta-band .btn-teal { background: var(--ink); color: var(--text-inv-0); }
.cta-band .btn-clay:hover, .cta-band .btn-teal:hover { background: var(--ink-2); }
.cta-band .btn-ghost-inv { border-color: rgba(20,20,13,.35); color: var(--ink); }
.cta-band .btn-ghost-inv:hover { border-color: var(--ink); background: rgba(20,20,13,.08); }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.footer { background: var(--ink-2); color: var(--text-inv-1); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border-inv); }
.footer-tagline { font-size: .95rem; color: var(--text-inv-1); max-width: 30ch; margin-top: .9rem; }
.footer-h { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-hi); margin-bottom: 1rem; }
.footer-nav ul, .footer-contact { display: flex; flex-direction: column; gap: .65rem; }
.footer-nav a, .footer-contact a { font-size: .92rem; color: var(--text-inv-1); transition: color .2s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--green-hi); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: .84rem; color: var(--text-inv-2); }
.footer-bottom a { color: var(--text-inv-2); }
.footer-bottom a:hover { color: var(--green-hi); }
.footer-legal { display: flex; gap: 1.2rem; }

/* ── BADGE ──────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-family: var(--f-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 1.1rem;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.badge--inv { background: rgba(255,255,255,.1); color: var(--green-hi); }
.badge--inv::before { background: var(--green-hi); }
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.1rem; }
.badge-row .badge { margin-bottom: 0; }

/* ── CHECKLIST GRID (service inclusions) ───────────────────────────── */
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; max-width: 780px; margin: 0 auto; list-style: none; padding: 0; }
.checklist-grid li { display: flex; align-items: flex-start; gap: .7rem; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; color: var(--ink-soft); }
.checklist-check {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: .1rem;
  border-radius: 50%; background: var(--green-pale); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
}
.checklist-check svg { width: 12px; height: 12px; }
@media (max-width: 640px) { .checklist-grid { grid-template-columns: 1fr; } }

.checklist-x {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: .1rem;
  border-radius: 50%; background: var(--paper-2); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
}
.checklist-x svg { width: 11px; height: 11px; }

/* row-list variant of svc-detail-col — table-like, one item per line */
ul.svc-table-list { display: flex; flex-direction: column; gap: 0; list-style: none; padding: 0; margin: 0; }
ul.svc-table-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 0; padding-left: 0; border-bottom: 1px solid var(--border); font-size: .92rem; color: var(--ink-soft); position: static; }
ul.svc-table-list li:last-child { border-bottom: none; }
ul.svc-table-list li::before { content: none; }

/* ── PAGE HEADER (subpages) ─────────────────────────────────────────── */
.page-header {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4rem));
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-inv-0);
  overflow: hidden;
  background: var(--ink);
}
.page-header .hero-video { opacity: .85; }
.page-header-scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 900px 560px at 88% -12%, rgba(47,227,116,.2), transparent 60%),
    linear-gradient(100deg, rgba(20,20,13,.95) 0%, rgba(20,20,13,.82) 45%, rgba(20,20,13,.55) 78%, rgba(20,20,13,.32) 100%);
}
/* echoes the hero's "system is live" pulse along the bottom edge of every subpage header */
.page-header::before {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 8px; height: 2px; border-radius: 2px;
  background: var(--green-hi);
  box-shadow: 0 0 8px 1px rgba(47,227,116,.7);
  animation: lead-travel 5s ease-in-out infinite;
  animation-delay: 1s;
}
@media (prefers-reduced-motion: reduce) { .page-header::before { animation: none; opacity: 0; } }
.page-header h1 { max-width: 20ch; color: var(--text-inv-0); }
.page-header h1 em { color: var(--green-hi); }
.page-header .lede { max-width: 56ch; color: var(--text-inv-1); }
.page-header .eyebrow { color: var(--green-hi); }
.page-header .eyebrow::before { background: var(--green-hi); }
.breadcrumb {
  position: relative;
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-size: .78rem; color: var(--text-inv-2);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: var(--text-inv-2); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--text-inv-0); }
.page-header-btns { position: relative; display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.page-header-btns .btn-outline { color: var(--text-inv-0); border-color: var(--border-inv); }
.page-header-btns .btn-outline:hover { border-color: var(--text-inv-0); }

/* ── FORM ───────────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--paper); border: 1.5px solid var(--border-hi); border-radius: var(--r);
  padding: .8rem 1rem; font-size: .96rem; color: var(--ink);
  transition: border-color .2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--teal); outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-confirm {
  display: none;
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--teal-pale-2);
  border: 1px solid var(--teal);
  border-radius: var(--r);
  font-size: .92rem;
  color: var(--teal-dark);
}

/* ── CONTACT PAGE ───────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-info-card { background: var(--ink-2); color: var(--text-inv-0); border-radius: var(--r-lg); padding: clamp(1.8rem, 3vw, 2.4rem); }
.contact-info-h { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-inv-2); margin-bottom: 1.4rem; }
.contact-info-row { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 0; border-top: 1px solid var(--border-inv); }
.contact-info-row:first-of-type { border-top: none; padding-top: 0; }
.contact-info-label { font-size: .82rem; color: var(--text-inv-2); }
.contact-info-value { font-size: 1.02rem; font-weight: 600; color: var(--text-inv-0); }
.contact-info-value a { color: var(--teal-hi); }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ── CALCULATOR ─────────────────────────────────────────────────────── */
.calc-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.calc-panel { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.2rem); }
.calc-group { margin-bottom: 1.8rem; }
.calc-group:last-child { margin-bottom: 0; }
.calc-group-title { font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .9rem; }
.calc-options { display: flex; flex-wrap: wrap; gap: .7rem; }
.calc-option {
  flex: 1 1 calc(50% - .35rem);
  display: flex; align-items: flex-start; gap: .7rem;
  border: 1.5px solid var(--border-hi); border-radius: var(--r);
  padding: .9rem 1rem; cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.calc-option:hover { border-color: var(--teal); }
.calc-option.checked { border-color: var(--teal); background: var(--teal-pale); }
.calc-option input { margin-top: .2rem; accent-color: var(--teal); flex-shrink: 0; }
.calc-option-body { display: flex; flex-direction: column; }
.calc-option-name { font-size: .92rem; font-weight: 600; }
.calc-option-price { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.calc-radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.calc-radio {
  border: 1.5px solid var(--border-hi); border-radius: 999px; padding: .55rem 1.1rem;
  font-size: .86rem; cursor: pointer; transition: all .2s ease;
  display: flex; align-items: center; gap: .5rem;
}
.calc-radio input { accent-color: var(--teal); }
.calc-radio.checked { border-color: var(--teal); background: var(--teal-pale); }

.calc-result { position: sticky; top: calc(var(--nav-h) + 1.5rem); background: var(--ink-2); color: var(--text-inv-0); border-radius: var(--r-lg); padding: clamp(1.8rem, 3vw, 2.4rem); }
.calc-result-label { font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-inv-2); margin-bottom: .6rem; }
.calc-result-price { font-family: var(--f-mono); font-size: clamp(2.1rem, 4vw, 2.7rem); font-weight: 600; color: var(--teal-hi); line-height: 1.1; margin-bottom: .3rem; }
.calc-result-period { font-size: .88rem; color: var(--text-inv-1); margin-bottom: 1.6rem; }
.calc-result-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--border-inv); }
.calc-result-item { display: flex; justify-content: space-between; font-size: .88rem; color: var(--text-inv-1); }
.calc-result-item span:last-child { font-family: var(--f-mono); color: var(--text-inv-0); }
.calc-result-empty { font-size: .9rem; color: var(--text-inv-1); padding: 1rem 0; }
.calc-disclaimer { font-size: .78rem; color: var(--text-inv-2); margin-top: 1rem; }
.calc-result .btn { width: 100%; justify-content: center; margin-bottom: .7rem; }
.calc-result button.btn { font: inherit; }
.calc-result .form-confirm, .calc-result .form-error {
  display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r);
  font-size: .86rem; line-height: 1.5;
}
.calc-result .form-confirm.show, .calc-result .form-error.show { display: block; }
.calc-result .form-confirm { background: rgba(255,255,255,.06); border: 1px solid var(--teal-hi); color: var(--text-inv-0); }
.calc-result .form-error { background: rgba(255,255,255,.06); border: 1px solid var(--clay); color: var(--text-inv-0); }
.calc-result .form-error a { color: var(--teal-hi); }

.calc-followup-inline {
  flex: 1 1 100%; width: 100%; box-sizing: border-box;
  display: none; border: 1.5px solid var(--border-hi); border-radius: var(--r);
  padding: 1.2rem 1.3rem; background: var(--teal-pale);
  animation: calc-followup-in .25s ease;
}
.calc-followup-inline.open { display: block; }
@keyframes calc-followup-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.calc-followup-title { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
.calc-followup-field { margin-bottom: 1rem; }
.calc-followup-field:last-child { margin-bottom: 0; }
.calc-followup-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.calc-followup-field input[type="text"], .calc-followup-field textarea, .calc-followup-field select {
  width: 100%; background: var(--paper); border: 1.5px solid var(--border-hi); border-radius: var(--r);
  padding: .7rem .9rem; font-size: .9rem; color: var(--ink); font-family: inherit;
  transition: border-color .2s ease;
}
.calc-followup-field textarea { resize: vertical; min-height: 70px; }
.calc-followup-field input:focus, .calc-followup-field textarea:focus, .calc-followup-field select:focus { border-color: var(--teal); outline: none; }
.calc-pill-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.calc-pill {
  border: 1.5px solid var(--border-hi); border-radius: 999px; padding: .45rem .95rem;
  font-size: .82rem; cursor: pointer; transition: all .2s ease; display: inline-flex; align-items: center; gap: .4rem;
}
.calc-pill input { accent-color: var(--teal); }
.calc-pill:hover { border-color: var(--teal); }
.calc-pill.checked { border-color: var(--teal); background: var(--teal-pale); }
.calc-tags {
  width: 100%; min-height: 46px; background: var(--paper); border: 1.5px solid var(--border-hi); border-radius: var(--r);
  padding: .4rem .5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; transition: border-color .2s ease;
}
.calc-tags:focus-within { border-color: var(--teal); }
.calc-tag {
  display: inline-flex; align-items: center; gap: .3rem; background: var(--teal-pale); border: 1px solid var(--teal);
  border-radius: 999px; padding: .3rem .4rem .3rem .75rem; font-size: .82rem; color: var(--ink); line-height: 1;
}
.calc-tag-remove {
  display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(20,20,13,.1); font-size: .85rem; line-height: 1; color: var(--ink); cursor: pointer; transition: background .15s;
}
.calc-tag-remove:hover { background: rgba(20,20,13,.2); }
.calc-followup-field .calc-tags .calc-tags-input {
  flex: 1; min-width: 140px; width: auto; border: none; background: transparent; padding: .3rem .1rem;
  font-size: .9rem; font-family: inherit; color: var(--ink); outline: none;
}
.calc-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.calc-contact-grid .form-field.full { grid-column: 1 / -1; }

/* ── SERVICE DETAIL BLOCKS (ydelser.html) ──────────────────────────── */
.svc-detail { padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--border); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.svc-detail-num { font-family: var(--f-mono); font-size: .82rem; color: var(--muted); margin-bottom: .8rem; }
.svc-detail h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.svc-detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.6rem; }
.svc-detail-col-h { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dark); margin-bottom: .8rem; }
.svc-detail-col ul { display: flex; flex-direction: column; gap: .55rem; }
.svc-detail-col li { font-size: .92rem; color: var(--ink-soft); padding-left: 1.1rem; position: relative; }
.svc-detail-col li::before { content: ''; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }

.detail-panel { background: var(--paper-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.8rem; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.detail-panel-label { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .6rem; }
.detail-panel-price { font-family: var(--f-mono); font-size: 1.5rem; font-weight: 600; color: var(--teal-dark); margin-bottom: .3rem; }
.detail-panel-note { font-size: .85rem; color: var(--muted); margin-bottom: 1.3rem; }
.detail-panel .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .svc-detail-grid { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .svc-detail-cols { grid-template-columns: 1fr; }
}

/* ── TEAM / ABOUT ───────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.team-card { text-align: left; }
.team-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--r-lg);
  background: var(--paper-2); border: 1px solid var(--border);
  margin-bottom: 1.1rem; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--border-hi); font-family: var(--f-mono); font-size: .8rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── BRANCHE PHOTO BANNER ───────────────────────────────────────────── */
.branche-photo { padding: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.branche-photo-img {
  width: 100%; height: clamp(240px, 34vw, 420px); object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--border); display: block;
}
.team-name { font-size: 1.08rem; margin-bottom: .15rem; }
.team-role { font-family: var(--f-mono); font-size: .82rem; color: var(--teal-dark); margin-bottom: .6rem; }
.team-bio { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.team-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 320px)); }
.team-photo-initials { font-size: 1.6rem; font-weight: 700; letter-spacing: .05em; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.value-card { padding: 1.8rem; border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color .2s ease, transform .2s ease; }
a.value-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.value-card .svc-link { margin-top: .8rem; }
.value-num { font-family: var(--f-mono); color: var(--teal); font-size: .85rem; margin-bottom: .8rem; }

/* ── UTILS ──────────────────────────────────────────────────────────── */
.bg-paper2 { background: var(--paper-2); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ── LEGAL PAGES ────────────────────────────────────────────────────── */
.legal-body { max-width: 740px; margin: 0 auto; }
.legal-updated { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2.5rem; }
.legal-body h2 { font-size: 1.5rem; font-weight: 800; margin: 2.6rem 0 1rem; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { line-height: 1.7; }
.legal-body ul { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 1.2rem; }
.legal-body ul li { font-size: .96rem; line-height: 1.6; color: var(--ink-soft); padding-left: 1.1rem; position: relative; }
.legal-body ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.legal-body a { color: var(--green-dark); text-decoration: underline; }
.legal-body strong { color: var(--ink); }

/* ── COOKIE BANNER ──────────────────────────────────────────────────── */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 500; max-width: 560px; margin: 0 auto; background: var(--ink); color: var(--paper); border-radius: 16px; padding: 1.4rem 1.5rem; box-shadow: 0 20px 50px rgba(0,0,0,.28); display: none; }
.cookie-banner.is-visible { display: flex; flex-direction: column; gap: 1rem; }
.cookie-banner p { color: var(--paper-2); font-size: .9rem; line-height: 1.55; margin: 0; }
.cookie-banner a { color: var(--green-hi); text-decoration: underline; }
.cookie-banner-btns { display: flex; gap: .7rem; }
.cookie-banner-btns button { font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid var(--paper-2); background: transparent; color: var(--paper); cursor: pointer; transition: background .2s, color .2s; }
.cookie-banner-btns button.cookie-accept { background: var(--green); border-color: var(--green); color: var(--ink); }
.cookie-banner-btns button:hover { background: var(--paper); color: var(--ink); }
.cookie-banner-btns button.cookie-accept:hover { background: var(--green-hi); border-color: var(--green-hi); }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 1.2rem; }
  .cookie-banner-btns { flex-direction: column; }
}

/* ── CHATBOT ────────────────────────────────────────────────────────── */
.mpbot-btn { position: fixed; right: 24px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 490; transition: transform .2s, opacity .2s, visibility .2s; }
.mpbot-btn:hover { transform: scale(1.07); }
.mpbot-btn svg { transition: opacity .15s, transform .2s; }
.mpbot-btn .mpbot-ico-close { position: absolute; opacity: 0; transform: rotate(-45deg); }
.mpbot-btn.is-open .mpbot-ico-chat { opacity: 0; transform: rotate(45deg); }
.mpbot-btn.is-open .mpbot-ico-close { opacity: 1; transform: rotate(0); }
.mpbot-dot { position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid var(--paper); }
.mpbot-btn.mpbot-hide { opacity: 0; visibility: hidden; transform: scale(.8); pointer-events: none; }

.mpbot-panel { position: fixed; right: 24px; bottom: 96px; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 132px); background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); z-index: 489; display: flex; flex-direction: column; overflow: hidden; transform: scale(.94) translateY(12px); opacity: 0; pointer-events: none; transition: transform .22s cubic-bezier(.34,1.4,.64,1), opacity .18s; transform-origin: bottom right; }
.mpbot-panel.is-open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

.mpbot-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; background: var(--ink); flex-shrink: 0; }
.mpbot-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--f-display); font-weight: 800; color: var(--ink); font-size: 1rem; }
.mpbot-head-info { flex: 1; min-width: 0; }
.mpbot-head-name { font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: var(--paper); letter-spacing: .01em; }
.mpbot-head-status { font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--green-hi); display: flex; align-items: center; gap: 5px; }
.mpbot-head-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green-hi); }
.mpbot-head-close { color: var(--paper-2); padding: 4px; border-radius: 8px; transition: background .15s, color .15s; }
.mpbot-head-close:hover { background: rgba(245,241,230,.1); color: var(--paper); }

.mpbot-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.mpbot-msg { display: flex; gap: .5rem; max-width: 88%; }
.mpbot-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.mpbot-bubble { padding: .6rem .85rem; border-radius: 14px 14px 14px 4px; font-size: .86rem; line-height: 1.55; color: var(--ink); background: var(--paper-2); }
.mpbot-msg.user .mpbot-bubble { background: var(--green); border-radius: 14px 14px 4px 14px; }
.mpbot-bubble strong { font-weight: 700; }

.mpbot-typing { display: none; align-items: center; gap: 5px; padding: .6rem .85rem; background: var(--paper-2); border-radius: 14px 14px 14px 4px; align-self: flex-start; margin: 0 1rem; width: fit-content; }
.mpbot-typing.is-visible { display: flex; }
.mpbot-typing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); animation: mpbotDot 1.2s ease-in-out infinite; }
.mpbot-typing-dot:nth-child(2) { animation-delay: .15s; }
.mpbot-typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes mpbotDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.mpbot-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; flex-shrink: 0; }
.mpbot-qr { font-family: var(--f-mono); font-size: .72rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--ink-soft); transition: border-color .15s, color .15s; }
.mpbot-qr:hover { border-color: var(--green); color: var(--ink); }

.mpbot-contact { background: var(--paper-2); border-radius: 14px 14px 14px 4px; padding: .8rem .9rem; font-size: .82rem; }
.mpbot-contact p { margin: 0 0 .6rem; color: var(--ink-soft); font-size: .78rem; }
.mpbot-contact-links { display: flex; flex-direction: column; gap: .4rem; }
.mpbot-contact-links a { display: inline-flex; align-items: center; gap: .4rem; color: var(--green-dark); font-weight: 600; }
.mpbot-contact-links a:hover { text-decoration: underline; }

.mpbot-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--border); flex-shrink: 0; }
.mpbot-input { flex: 1; resize: none; max-height: 100px; background: var(--paper-2); border: 1px solid transparent; border-radius: 20px; padding: .55rem .9rem; font-family: var(--f-body); font-size: .85rem; color: var(--ink); line-height: 1.4; transition: border-color .15s; }
.mpbot-input:focus { border-color: var(--green); outline: none; }
.mpbot-send { width: 38px; height: 38px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; align-self: flex-end; transition: opacity .15s, transform .15s; }
.mpbot-send:hover { transform: scale(1.06); }
.mpbot-send:disabled { opacity: .4; pointer-events: none; }

@media (max-width: 640px) {
  .mpbot-btn { right: 16px; bottom: 16px; }
  .mpbot-panel { right: 8px; left: 8px; width: auto; bottom: 84px; height: auto; max-height: calc(100vh - 100px); }
}

/* ── 404 ────────────────────────────────────────────────────────────── */
.error-section { min-height: 56vh; display: flex; align-items: center; padding: 5rem 0; }
.error-num { font-family: var(--f-display); font-weight: 900; font-size: clamp(6rem, 16vw, 11rem); line-height: .85; color: var(--green); letter-spacing: -.02em; margin-bottom: 1rem; }
.error-btns { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.error-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.error-links a { font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: .55rem 1.1rem; border: 1px solid var(--border-hi); border-radius: 999px; color: var(--ink-soft); transition: border-color .15s, color .15s; }
.error-links a:hover { border-color: var(--green); color: var(--ink); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(2n) { border-right: none; }
  .stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--border-inv); }
  .why-layout { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .team-grid, .team-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-grid, .stats-grid.cols-2 { grid-template-columns: 1fr; }
  .stats-grid > div { border-right: none; border-top: 1px solid var(--border-inv); }
  .stats-grid > div:first-child { border-top: none; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .calc-option { flex-basis: 100%; }
  .calc-contact-grid { grid-template-columns: 1fr; }
  .team-grid, .team-grid.cols-2 { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
