/* ============================================================
   HENVEND — styles.css
   Premium, minimalistisk, dansk. Fraunces (display) + Inter (UI)
   ============================================================ */

/* ---------- Selvhostede skrifttyper (variable fonts) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin-full-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin-full-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f5ef;
  --paper-tint: #efece3;
  --ink: #101512;
  --ink-soft: #3d453f;
  --ink-faint: #6b746d;
  --green: #1c5b43;
  --green-deep: #10382a;
  --green-dark-bg: #0f1712;
  --mint: #dcece1;
  --line: rgba(16, 21, 18, 0.1);
  --line-strong: rgba(16, 21, 18, 0.16);
  --white: #ffffff;
  --shadow-soft: 0 20px 60px -24px rgba(16, 21, 18, 0.28);
  --shadow-card: 0 10px 34px -16px rgba(16, 21, 18, 0.18);
  --radius: 20px;
  --radius-lg: 28px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 520; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 420; color: var(--green); }
p { margin: 0 0 1em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
::selection { background: var(--mint); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.85em 1.7em; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(28, 91, 67, 0.65);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(16, 56, 42, 0.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.section-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.section-dark .btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 1em 2.1em; font-size: 1.0625rem; }
.btn-sm { padding: 0.65em 1.3em; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 245, 239, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 600;
  text-decoration: none; letter-spacing: -0.02em; line-height: 1;
}
.brand-dot { color: var(--green); }
.brand-light { color: #fff; }
.nav-desktop { display: flex; gap: 26px; margin-left: auto; }
.nav-desktop a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 1px solid var(--line-strong);
  border-radius: 12px; cursor: pointer;
}
.nav-toggle span:not(.sr-only) { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.35s; }
.nav-toggle[aria-expanded="true"] span:not(.sr-only):first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:not(.sr-only):last-of-type { transform: translateY(-4px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; gap: 6px;
  padding: 12px 24px 24px;
  background: rgba(247, 245, 239, 0.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 1.05rem;
  padding: 12px 4px; border-bottom: 1px solid var(--line);
}
.nav-mobile .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 72px) 0 96px; overflow: hidden; }
.hero-backdrop {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52rem 30rem at 82% -6%, rgba(28, 91, 67, 0.14), transparent 62%),
    radial-gradient(38rem 26rem at -8% 46%, rgba(28, 91, 67, 0.09), transparent 60%);
}
.hero-backdrop::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(60rem 34rem at 50% 0%, rgba(0,0,0,0.5), transparent 75%);
  -webkit-mask-image: radial-gradient(60rem 34rem at 50% 0%, rgba(0,0,0,0.5), transparent 75%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px 7px 8px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-card); margin: 0 0 26px;
}
.hero-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.hero-chip .chip-fallback {
  display: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 600;
  align-items: center; justify-content: center; font-size: 0.95rem;
}
.hero-chip.img-missing img { display: none; }
.hero-chip.img-missing .chip-fallback { display: inline-flex; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.4rem); margin-bottom: 24px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34em; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; }
.hero-trust li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
}
.hero-trust li::before {
  content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: var(--mint);
  color: var(--green-deep); font-size: 0.72rem; font-weight: 700;
}

/* Hero visual: browser mockup + floating cards */
.hero-visual { position: relative; min-height: 460px; }
.browser-mock {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden;
  transform: rotate(1.2deg);
  animation: heroFloat 7s ease-in-out infinite alternate;
}
@keyframes heroFloat { from { transform: rotate(1.2deg) translateY(0); } to { transform: rotate(1.2deg) translateY(-12px); } }
.bm-bar {
  display: flex; align-items: center; gap: 7px; padding: 13px 16px;
  border-bottom: 1px solid var(--line); background: #fbfaf6;
}
.bm-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2ded2; }
.bm-bar i {
  margin-left: 10px; font-style: normal; font-size: 0.72rem; color: var(--ink-faint);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px;
}
.bm-body { padding: 20px 22px 26px; }
.bm-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.bm-nav b { width: 64px; height: 12px; border-radius: 4px; background: var(--ink); opacity: 0.85; }
.bm-nav u { width: 34px; height: 7px; border-radius: 4px; background: var(--line-strong); }
.bm-nav em {
  margin-left: auto; font-style: normal; font-size: 0.68rem; font-weight: 700; color: #fff;
  background: var(--green); border-radius: 999px; padding: 5px 12px;
}
.bm-hero { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.bm-kicker { width: 90px; height: 7px; border-radius: 4px; background: var(--mint); }
.bm-h1 { width: 82%; height: 16px; border-radius: 5px; background: var(--ink); opacity: 0.9; }
.bm-h1.short { width: 55%; }
.bm-p { width: 68%; height: 8px; border-radius: 4px; background: var(--line-strong); }
.bm-btn {
  align-self: flex-start; margin-top: 8px; font-size: 0.74rem; font-weight: 700; color: #fff;
  background: var(--green); border-radius: 999px; padding: 8px 18px;
  box-shadow: 0 10px 20px -10px rgba(28, 91, 67, 0.7);
}
.bm-badges { display: flex; gap: 10px; margin-bottom: 18px; }
.bm-badges span { flex: 1; height: 26px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.bm-cards { display: flex; gap: 12px; }
.bm-cards span { flex: 1; height: 72px; border-radius: 12px; background: var(--paper-tint); border: 1px solid var(--line); }

.float-card {
  position: absolute; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-soft); padding: 14px 18px;
}
.float-lead {
  top: 8%; left: -7%; display: flex; align-items: center; gap: 12px; max-width: 280px;
  animation: floatA 6s ease-in-out infinite alternate;
}
.float-lead .lead-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--mint);
  color: var(--green-deep); display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.float-lead strong { display: block; font-size: 0.86rem; }
.float-lead small { display: block; font-size: 0.78rem; color: var(--ink-faint); line-height: 1.4; transition: opacity 0.4s; }
.float-lead.is-swapping small { opacity: 0; }
.float-stat {
  bottom: 4%; right: -5%; display: flex; flex-direction: column; gap: 10px; width: 210px;
  animation: floatB 7s ease-in-out infinite alternate;
}
.float-stat strong { font-size: 0.82rem; }
.stat-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.stat-bars i {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(to top, var(--green), #3c8b6b);
  transform-origin: bottom; animation: barGrow 1.2s var(--ease) both;
}
.stat-bars i:nth-child(2) { animation-delay: 0.08s; }
.stat-bars i:nth-child(3) { animation-delay: 0.16s; }
.stat-bars i:nth-child(4) { animation-delay: 0.24s; }
.stat-bars i:nth-child(5) { animation-delay: 0.32s; }
.stat-bars i:nth-child(6) { animation-delay: 0.4s; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes floatA { from { transform: translateY(0); } to { transform: translateY(-14px); } }
@keyframes floatB { from { transform: translateY(0); } to { transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee-band { padding: 34px 0 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.marquee-label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 18px;
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
  animation: marquee 36s linear infinite; will-change: transform;
}
.marquee-track > *:last-child { margin-right: 34px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: 1.35rem; font-weight: 520; color: var(--ink-soft); }
.marquee-track i { color: var(--green); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tint { background: var(--paper-tint); }
.section-dark { background: var(--green-dark-bg); color: #f2f1ea; }
.section-dark h2 { color: #fff; }
.section-dark h2 em { color: #8fc9ab; }
.section-dark .eyebrow { color: #8fc9ab; }
.section-dark .section-sub { color: rgba(242, 241, 234, 0.72); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); margin: 0 0 16px;
}
.section-head h2, .about-copy h2, .faq-head h2, .contact-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 20px; }
.section-sub { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }
.section-sub a { color: var(--green); font-weight: 500; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.pc-num {
  display: inline-block; font-family: var(--font-display); font-style: italic; font-size: 1rem;
  color: var(--green); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; margin-bottom: 20px;
}
.problem-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.problem-card p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }
.problem-outro { text-align: center; margin: 52px 0 0; font-size: 1.08rem; color: var(--ink-soft); }
.problem-outro a { color: var(--green); font-weight: 600; }

/* ---------- Før/efter compare ---------- */
.compare-frame {
  position: relative; max-width: 920px; margin: 0 auto; aspect-ratio: 16 / 10.4;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft); background: var(--white);
  --split: 50%;
  touch-action: pan-y;
}
.cw { position: absolute; inset: 0; padding: 52px 5% 4%; }
.cw-tag {
  position: absolute; top: 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 999px; padding: 5px 14px;
}
.cw-bar { display: flex; gap: 6px; margin-bottom: 4%; }
.cw-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(16,21,18,0.14); }

.cw-before { background: #e7e3d8; }
.cw-before .cw-tag { left: 16px; background: #cfc9b8; color: #5e5949; }
.cwb-banner { height: 16%; border-radius: 6px; background: repeating-linear-gradient(-45deg, #d5cfc0, #d5cfc0 10px, #cdc6b5 10px, #cdc6b5 20px); margin-bottom: 4%; }
.cwb-lines { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4%; }
.cwb-lines span { height: 7px; border-radius: 4px; background: #c9c2b0; width: 92%; }
.cwb-lines span:nth-child(2) { width: 85%; } .cwb-lines span:nth-child(3) { width: 95%; } .cwb-lines span:nth-child(4) { width: 60%; }
.cwb-lines.short span { width: 45%; } .cwb-lines.short span:nth-child(2) { width: 38%; }
.cwb-blocks { display: flex; gap: 3%; margin-bottom: 4%; }
.cwb-blocks span { flex: 1; height: 54px; border-radius: 6px; background: #d5cfc0; }

.cw-after { background: var(--white); clip-path: inset(0 0 0 var(--split)); }
.cw-after .cw-tag { right: 16px; background: var(--mint); color: var(--green-deep); }
.cwa-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 5%; }
.cwa-nav b { width: 58px; height: 11px; border-radius: 4px; background: var(--ink); }
.cwa-nav i { width: 30px; height: 6px; border-radius: 4px; background: var(--line-strong); }
.cwa-nav em {
  margin-left: auto; font-style: normal; font-size: 0.66rem; font-weight: 700; color: #fff;
  background: var(--green); border-radius: 999px; padding: 5px 12px;
}
.cwa-hero { display: flex; flex-direction: column; gap: 9px; margin-bottom: 5%; }
.cwa-kicker { width: 84px; height: 7px; border-radius: 4px; background: var(--mint); }
.cwa-h1 { width: 62%; height: 15px; border-radius: 5px; background: var(--ink); }
.cwa-p { width: 48%; height: 7px; border-radius: 4px; background: var(--line-strong); }
.cwa-btn {
  align-self: flex-start; margin-top: 6px; font-size: 0.7rem; font-weight: 700; color: #fff;
  background: var(--green); border-radius: 999px; padding: 7px 16px;
}
.cwa-trust { display: flex; gap: 2.5%; margin-bottom: 5%; }
.cwa-trust span { flex: 1; height: 22px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line); }
.cwa-cards { display: flex; gap: 3%; }
.cwa-cards span { flex: 1; height: 58px; border-radius: 10px; background: var(--paper-tint); border: 1px solid var(--line); }

.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px;
  background: var(--green); pointer-events: none; z-index: 3;
  --split: 50%;
}
.compare-frame .compare-handle { left: var(--split); }
.compare-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--green); color: #fff; border-radius: 999px; padding: 8px 13px;
  font-size: 0.8rem; white-space: nowrap; box-shadow: 0 8px 22px -8px rgba(16, 56, 42, 0.7);
}
.compare-range { position: absolute; inset: 0; z-index: 4; display: block; cursor: ew-resize; }
.compare-range input {
  width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.compare-hint { text-align: center; color: var(--ink-faint); font-size: 0.9rem; margin: 18px 0 0; }
.compare-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  list-style: none; padding: 0; margin: 56px 0 0;
}
.compare-points li { border-top: 2px solid var(--green); padding-top: 18px; }
.compare-points strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.compare-points span { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Proces ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  list-style: none; padding: 0; margin: 0 0 56px; counter-reset: step;
}
.process-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 30px 34px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--mint);
  color: var(--green-deep); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  margin-bottom: 22px;
}
.process-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.process-card p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }
.process-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.process-note { color: var(--ink-faint); font-size: 0.95rem; }

/* ---------- USP (mørk) ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 70px; }
.usp-card {
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); padding: 28px 26px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.usp-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(143, 201, 171, 0.4); transform: translateY(-4px); }
.usp-card h3 { font-size: 1.25rem; color: #fff; margin-bottom: 10px; }
.usp-card p { margin: 0; font-size: 0.95rem; color: rgba(242, 241, 234, 0.68); }
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 48px; text-align: center;
}
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 520; color: #fff; line-height: 1.1; }
.stat > span { font-size: 0.92rem; color: rgba(242, 241, 234, 0.62); }

/* ---------- Om Benjamin ---------- */
.about-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }
.about-photo {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft); background: var(--paper-tint);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback {
  position: absolute; inset: 0; display: none; flex-direction: column; gap: 6px;
  align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--line-strong); border-radius: var(--radius-lg);
  background: repeating-linear-gradient(-45deg, var(--paper-tint), var(--paper-tint) 16px, #e9e5da 16px, #e9e5da 32px);
  color: var(--ink-soft); padding: 24px;
}
.photo-fallback b { font-family: var(--font-display); font-size: 1.2rem; }
.photo-fallback small { color: var(--ink-faint); }
.about-photo.img-missing img { display: none; }
.about-photo.img-missing .photo-fallback { display: flex; }
.photo-badge {
  position: absolute; left: 18px; bottom: 18px; background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 9px 18px; font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow-card);
}
.about-copy p { color: var(--ink-soft); }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 28px; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.case-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 13px; margin-bottom: 18px;
}
.case-screen {
  border-radius: 14px; border: 1px solid var(--line); padding: 16px 18px 20px;
  margin-bottom: 20px; background: var(--paper);
}
.case-screen .cw-bar { margin-bottom: 14px; }
.cs-hero { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cs-hero b { width: 62%; height: 13px; border-radius: 4px; background: var(--ink); opacity: 0.85; }
.cs-hero i { width: 44%; height: 7px; border-radius: 4px; background: var(--line-strong); }
.cs-hero em { width: 86px; height: 22px; border-radius: 999px; background: var(--green); margin-top: 4px; }
.cs-row { display: flex; gap: 10px; }
.cs-row span { flex: 1; height: 44px; border-radius: 9px; background: var(--paper-tint); border: 1px solid var(--line); }
.cs-b { background: #f2f6f3; } .cs-b .cs-hero em { background: var(--green-deep); }
.cs-c { background: #f6f4ec; } .cs-c .cs-hero em { background: #4b7a3f; }
.case-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.case-card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.case-slot { border: 2px dashed var(--line-strong); background: transparent; display: flex; }
.case-slot:hover { box-shadow: none; border-color: var(--green); }
.case-slot-inner { margin: auto; text-align: center; padding: 36px 24px; max-width: 380px; }
.case-slot-inner h3 { font-size: 1.5rem; margin-bottom: 12px; }
.case-slot-inner p { color: var(--ink-soft); margin-bottom: 24px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list details {
  border-bottom: 1px solid var(--line-strong); padding: 4px 0;
}
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  list-style: none; cursor: pointer; padding: 20px 0;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 520;
  transition: color 0.3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--green); }
.faq-icon { position: relative; flex: none; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform 0.35s var(--ease);
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 10px; }
details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-list details p { color: var(--ink-soft); margin: 0 0 22px; max-width: 56ch; }

/* ---------- Kontakt ---------- */
.contact-section { padding-bottom: 130px; }
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.contact-copy .section-sub { margin-bottom: 36px; }
.contact-steps { list-style: none; padding: 0; margin: 0 0 40px; counter-reset: cstep; display: flex; flex-direction: column; gap: 18px; }
.contact-steps li { counter-increment: cstep; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 16px; }
.contact-steps li::before {
  content: counter(cstep); grid-row: 1 / 3; align-self: start;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  color: #8fc9ab; font-family: var(--font-display); font-weight: 600;
}
.contact-steps strong { color: #fff; font-size: 1.02rem; }
.contact-steps span { color: rgba(242, 241, 234, 0.62); font-size: 0.93rem; }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-direct p { margin: 0; color: rgba(242, 241, 234, 0.72); font-size: 0.95rem; }
.contact-direct a { color: #8fc9ab; font-weight: 600; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid rgba(143, 201, 171, 0.4); padding-bottom: 2px; }
.contact-direct a:hover { border-bottom-color: #8fc9ab; }

.contact-form {
  background: var(--paper); color: var(--ink); border-radius: var(--radius-lg);
  padding: 40px 38px 34px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.55);
}
.honeypot { position: absolute; left: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--ink-faint); }
.field input, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 13px 15px; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a8aea9; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(28, 91, 67, 0.14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4483c; }
.form-submit { width: 100%; }
.form-note { text-align: center; font-size: 0.84rem; color: var(--ink-faint); margin: 16px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0b110d; color: rgba(242, 241, 234, 0.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand-col p { margin: 16px 0 20px; font-size: 0.95rem; max-width: 30ch; }
.footer-status { display: inline-flex; align-items: center; gap: 9px; font-size: 0.85rem; font-weight: 500; color: #8fc9ab; }
.footer-status i { width: 8px; height: 8px; border-radius: 50%; background: #8fc9ab; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(143, 201, 171, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(143, 201, 171, 0); } }
.footer-col h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242, 241, 234, 0.45); margin-bottom: 18px; font-family: var(--font-body); }
.footer-cta-col h3 { font-family: var(--font-display); font-size: 1.35rem; text-transform: none; letter-spacing: normal; color: #fff; font-weight: 520; }
.footer-col p { margin: 0 0 8px; font-size: 0.95rem; }
.footer-col a { display: block; color: rgba(242, 241, 234, 0.75); text-decoration: none; font-size: 0.95rem; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: #fff; }
.footer-col .btn { display: inline-flex; margin-top: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 24px;
  font-size: 0.82rem; color: rgba(242, 241, 234, 0.4);
}
.footer-bottom a { color: rgba(242, 241, 234, 0.55); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Juridisk side (privatliv) ---------- */
.legal-main { padding: calc(var(--header-h) + 56px) 0 96px; }
.legal-main .container { max-width: 720px; }
.legal-main h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 12px; }
.legal-updated { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 40px; }
.legal-main h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.legal-main p, .legal-main li { color: var(--ink-soft); }
.legal-main ul { padding-left: 22px; margin: 0 0 1em; }
.legal-main a { color: var(--green); }

/* ---------- Sticky mobil-CTA ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 55;
  display: none; align-items: center; justify-content: center;
  background: var(--green); color: #fff; font-weight: 600; text-decoration: none;
  border-radius: 999px; padding: 16px; box-shadow: 0 18px 40px -12px rgba(16, 56, 42, 0.6);
  transform: translateY(140%); transition: transform 0.45s var(--ease);
}
.sticky-cta.is-shown { transform: none; }

/* ============================================================
   EFFEKTER
   ============================================================ */

/* Scroll-progress under headeren */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  background: linear-gradient(90deg, var(--green), #3c8b6b);
  transform-origin: left; transform: scaleX(0); pointer-events: none;
}

/* Hero: ord-for-ord intro.
   Padding + negativ margin giver maskerne plads til under-/overlængder
   (g, j og kursive sving), så intet klippes af – uden at flytte layoutet. */
.word {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: 0.14em 0.12em 0.3em; margin: -0.14em -0.12em -0.3em;
}
.word > span {
  display: inline-block; transform: translateY(150%);
  animation: wordUp 0.85s var(--ease) forwards; animation-delay: var(--wd, 0ms);
}
@keyframes wordUp { to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .word > span { transform: none; animation: none; }
}

/* Primær knap: sheen-sweep på hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -85%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg); pointer-events: none; transition: left 0.7s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* Kursive accentord i overskrifter: underline tegnes ved reveal */
h2 em {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 94%;
  transition: background-size 1.1s var(--ease) 0.5s;
  padding-bottom: 0.06em;
}
.is-visible h2 em, h2.is-visible em { background-size: 100% 2px; }

/* Hero-visual: blid mouse-parallax (sættes af JS) */
.hero-visual { transition: transform 0.25s ease-out; will-change: transform; }

/* ============================================================
   RESPONSIVT
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { text-align: center; }
  .hero-cta, .hero-trust { justify-content: center; }
  .lede { margin-inline: auto; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .float-lead { left: -2%; }
  .float-stat { right: -2%; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 460px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-head { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .section { padding: 84px 0; }
  .problem-grid, .process-grid, .compare-points { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 34px 18px; }
  .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-frame { aspect-ratio: 4 / 3.4; }
  .cw { padding-top: 46px; }
}

@media (max-width: 560px) {
  .container { width: min(1180px, 100% - 36px); }
  .hero { padding: calc(var(--header-h) + 44px) 0 72px; }
  .hero h1 { font-size: clamp(2.2rem, 9.5vw, 2.7rem); }
  .hero-cta .btn { width: 100%; }
  .hero-visual { min-height: 0; padding-bottom: 76px; }
  .float-lead { top: auto; bottom: 34px; left: 0; max-width: 250px; }
  .float-stat { display: none; }
  .usp-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 22px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sticky-cta { display: flex; }
  .marquee-track span { font-size: 1.1rem; }
  .compare-frame { aspect-ratio: 4 / 4.4; }
  .compare-handle span { padding: 7px 10px; font-size: 0.72rem; }
}
