/* ============================================================
   DIGRO — bureau for hjemmesider med SEO
   Design system: warm ink + punchy orange + cream.
   Display: Archivo (expanded, heavy). Labels: Space Mono.
   ============================================================ */

:root {
  /* palette (overridable via tweaks) */
  --orange: #FF5C00;
  --orange-bright: color-mix(in oklab, var(--orange), white 24%);
  --orange-deep: color-mix(in oklab, var(--orange), black 30%);

  --ink: #3d3d3d;
  --ink-1: #ede5d0;
  --ink-2: #e3d9c3;
  --ink-line: rgba(0,0,0,0.09);

  --cream: #F5ECD7;
  --cream-dim: rgba(26,26,26,0.58);
  --cream-faint: rgba(26,26,26,0.38);

  --radius: 18px;
  --maxw: 1520px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ff-display: "Archivo", system-ui, sans-serif;
  --ff-body: "Archivo", system-ui, sans-serif;
  --ff-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
*, *::before, *::after { cursor: none !important; }
body { cursor: none; }
a, button, [role=button], input, select, textarea { cursor: none; }
#custom-cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999; transform: translate(-2px, -2px); will-change: transform; opacity: 0; }
#cursor-svg { transition: transform 0.15s ease; }
#custom-cursor-path { transition: fill 0.28s var(--ease); }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: #F5ECD7;
  color: #3d3d3d;
  font-family: var(--ff-body);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

@keyframes cf-backdrop-in {
  from { opacity: 0; backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }
  to   { opacity: 1; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}

::selection { background: var(--orange); color: var(--ink); }

/* ---- type ---- */
.display {
  font-family: var(--ff-display);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: rgba(26,26,26,0.6);
  max-width: 46ch;
  margin: 0;
}

/* ---- layout ---- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.5vw, 32px);
}

.section { position: relative; padding-block: clamp(48px, 7vw, 96px); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }

/* ---- ensartet load-animation: blokke glider blødt ind ét ad gangen (hero undtaget) ---- */
.pageload { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) {
  .pageload > * { animation: block-in 0.75s var(--ease) both; }
  .pageload > :nth-child(1) { animation-delay: 0s; }
  .pageload > :nth-child(2) { animation-delay: 0.1s; }
  .pageload > :nth-child(3) { animation-delay: 0.2s; }
  .pageload > :nth-child(4) { animation-delay: 0.3s; }
  .pageload > :nth-child(5) { animation-delay: 0.4s; }
  .pageload > :nth-child(6) { animation-delay: 0.5s; }
  .pageload > :nth-child(n+7) { animation-delay: 0.6s; }
  /* forsidens hero beholder sin egen animation */
  .pageload--home > :first-child { animation: none; opacity: 1; }
}
@keyframes block-in { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: none; } }

/* ---- mail send animation ---- */
.btn--mail { overflow: visible; }
.btn--mail .mail-icon {
  display: inline-flex; overflow: visible;
  transition: transform 0.35s var(--ease);
}
.btn--mail .mail-icon svg { overflow: visible; }
.btn--mail .mail-flap {
  transform-origin: center top;
  transform-box: fill-box;
  transition: transform 0.4s var(--ease);
}
.btn--mail:hover .mail-icon { transform: translateY(-1px) scale(1.12); }
.btn--mail:hover .mail-flap { transform: scaleY(-1); }

/* ---- phone ring animation ---- */
@keyframes phone-ring {
  0%,100% { transform: rotate(0deg); }
  10%      { transform: rotate(-18deg); }
  20%      { transform: rotate(18deg); }
  30%      { transform: rotate(-14deg); }
  40%      { transform: rotate(14deg); }
  50%      { transform: rotate(-8deg); }
  60%      { transform: rotate(8deg); }
  70%      { transform: rotate(0deg); }
}
.btn--ring .phone-icon { display: inline-flex; transition: transform 0.1s; }
.btn--ring:hover .phone-icon { animation: phone-ring 0.7s ease; }
.btn--ring {
  background: rgba(255,255,255,0.18);
  color: #3d3d3d;
  border: 1.5px solid rgba(26,26,26,0.25);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.btn--ring:hover { box-shadow: 0 14px 40px -10px rgba(0,0,0,0.25); }

/* ---- buttons ---- */
.btn {
  --bg: var(--orange);
  --fg: var(--ink);
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  background: var(--bg);
  color: var(--fg);
  padding: 16px 26px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  box-shadow: 0 0 0 0 rgba(238,106,43,0.5);
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 40px -10px rgba(238,106,43,0.6); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: translateY(-1px) scale(0.97); transition-duration: 0.1s; }

.btn--ghost {
  --bg: transparent;
  --fg: #3d3d3d;
  border: 1.5px solid rgba(0,0,0,0.18);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,92,0,0.06); box-shadow: none; }

.btn--ghost-dark {
  --bg: transparent;
  --fg: #F5ECD7;
  border: 1.5px solid rgba(245,236,215,0.18);
  box-shadow: none;
}
.btn--ghost-dark:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,92,0,0.06); box-shadow: none; }

.btn--ink { --bg: var(--ink); --fg: var(--cream); }

/* Animations-initialtilstande: .reveal OG hero-elementer starter usynlige og
   bliver synlige via GSAP. De skjules KUN når GSAP er bekræftet loadet
   (html.anim-ready sættes synkront efter gsap-scripts). Loader GSAP ikke,
   forbliver alt synligt — aldrig en blank side eller skjult hero. */
html.anim-ready .reveal,
html.anim-ready .hero-line,
html.anim-ready .hero-illus,
html.anim-ready .hero-cta a { opacity: 0; }

/* Sidste sikkerhedsnet: hvis en animation ikke nåede at køre, tving frem. */
html.anim-failsafe .reveal,
html.anim-failsafe .hero-line,
html.anim-failsafe .hero-illus,
html.anim-failsafe .hero-cta a { opacity: 1 !important; transform: none !important; }

/* ---- Ghost orange button ---- */
.btn--ghost-orange {
  background: transparent;
  color: #3d3d3d;
  border: 1.5px solid #FF5C00;
  box-shadow: none;
}
.btn--ghost-orange:hover {
  color: #FF5C00;
  background: rgba(255,92,0,0.06);
  box-shadow: none;
}

/* ============================================================
   CONTACT FORM — fields, labels, layout
   ============================================================ */
.cf-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,236,215,0.45);
  margin-bottom: 10px;
}

.cf-field {
  width: 100%;
  background: rgba(245,236,215,0.05);
  border: 1.5px solid rgba(245,236,215,0.12);
  border-radius: 12px;
  padding: 13px 16px;
  color: #F5ECD7;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
  color-scheme: dark;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.cf-field::placeholder { color: rgba(245,236,215,0.32); }
.cf-field:hover {
  border-color: rgba(245,236,215,0.24);
  background: rgba(245,236,215,0.07);
}
.cf-field:focus {
  border-color: var(--orange);
  background: rgba(255,92,0,0.05);
  box-shadow: 0 0 0 3px rgba(255,92,0,0.16);
}
.cf-field.is-err {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,92,0,0.12);
}

.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) {
  .cf-grid { grid-template-columns: 1fr; }
}

/* Vælg-skærm — book møde / skriv besked */
.cf-choice {
  display: flex; align-items: center; gap: 16px;
  width: 100%; text-align: left;
  background: rgba(245,236,215,0.05);
  border: 1.5px solid rgba(245,236,215,0.12);
  border-radius: 16px;
  padding: 18px 20px;
  color: #F5ECD7;
  font-family: var(--ff-body);
  cursor: none;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cf-choice:hover {
  border-color: var(--orange);
  background: rgba(255,92,0,0.06);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -16px rgba(255,92,0,0.5);
}
.cf-choice:active { transform: translateY(0) scale(0.99); transition-duration: 0.1s; }
.cf-choice__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,92,0,0.12); border: 1px solid rgba(255,92,0,0.3);
  color: var(--orange);
  transition: background 0.22s var(--ease), transform 0.3s var(--ease);
}
.cf-choice:hover .cf-choice__icon { background: rgba(255,92,0,0.18); transform: scale(1.06); }
.cf-choice__text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.cf-choice__text strong { font-size: 0.98rem; font-weight: 700; color: #F5ECD7; }
.cf-choice__text small { font-size: 0.8rem; color: rgba(245,236,215,0.5); line-height: 1.4; }
.cf-choice .arrow { flex-shrink: 0; color: var(--orange); font-size: 1.1rem; transition: transform 0.35s var(--ease); }
.cf-choice:hover .arrow { transform: translateX(5px); }

.cf-back {
  align-self: flex-start;
  background: none; border: none; padding: 0;
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245,236,215,0.42);
  cursor: none; display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.cf-back:hover { color: var(--orange); gap: 9px; }

/* ---- Illustration animations ---- */
@keyframes illustFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-11px); }
}
@keyframes illustScreenGlow {
  0%,100% { opacity: 0; }
  40%,60% { opacity: 0.18; }
}
@keyframes illustPing {
  0%   { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes illustSparkle {
  0%,100%  { opacity: 0; transform: scale(0) rotate(0deg); }
  30%,70%  { opacity: 1; transform: scale(1) rotate(15deg); }
}

.illus-float   { animation: illustFloat 3.6s ease-in-out infinite; }
.illus-screen-glow { animation: illustScreenGlow 2.2s ease-in-out infinite; }
.illus-ping    {
  animation: illustPing 1.7s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.illus-ping-delay { animation-delay: 0.55s; }
.illus-sparkle {
  animation: illustSparkle 2.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.illus-sp2 { animation-delay: 0.87s; }
.illus-sp3 { animation-delay: 1.73s; }

@media (prefers-reduced-motion: reduce) {
  html.anim-ready .reveal,
  html.anim-ready .hero-line,
  html.anim-ready .hero-illus,
  html.anim-ready .hero-cta a,
  .reveal { opacity: 1 !important; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(245,236,215,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(245,236,215,0.98);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(0,0,0,0.1);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  color: var(--orange);
}
.logo svg { height: 36px; width: auto; fill: currentColor; }

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}
.online-svg { overflow: visible; }
.online-svg path {
  fill: none;
  stroke: var(--orange);
  stroke-miterlimit: 10;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  color: #3d3d3d;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.6s var(--ease);
}
.nav__links a:hover { color: #3d3d3d; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 16px; }
@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ============================================================
   HERO (shared)
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding-top: 76px;
}
.hero__title { font-size: clamp(2.8rem, 7.4vw, 6.6rem); }
.hero__title .hl { color: var(--orange); }
.hero__sub { margin-top: 26px; }
.hero__actions { display: flex; align-items: center; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: 30px; margin-top: 54px; flex-wrap: wrap;
}
.hero__meta .mi { display: flex; flex-direction: column; gap: 2px; }
.hero__meta .mi .n {
  font-family: var(--ff-display);
  font-variation-settings: "wdth" 125;
  font-weight: 900; font-size: 1.7rem; line-height: 1;
}
.hero__meta .mi .l {
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream-faint);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .hero__visual-wrap { order: -1; }
}

/* ---- Custom cursor ---- */
* { cursor: none !important; }
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: #FF5C00;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: multiply;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid #FF5C00;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s, height 0.35s, border-color 0.3s, opacity 0.3s;
  opacity: 0.6;
}
.cursor-dot.is-hovering { width: 12px; height: 12px; }
.cursor-ring.is-hovering { width: 56px; height: 56px; opacity: 0.35; }
.cursor-dot.is-clicking { transform: translate(-50%, -50%) scale(0.6); }

/* ---- Scroll progress bar ---- */
/* orange scrollbar i højre side */
html { scrollbar-color: var(--orange) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-deep); }

/* background grain + vignette helpers */
.grain::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* striped/blinds backdrop echoing the original */
.blinds {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 28%, rgba(238,106,43,0.55), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.32) 0 2px, transparent 2px 22px),
    radial-gradient(140% 120% at 70% 20%, var(--orange-deep), var(--ink) 62%);
  opacity: 0.9;
}
.no-stripes .blinds {
  background:
    radial-gradient(120% 90% at 78% 28%, color-mix(in oklab, var(--orange), transparent 45%), transparent 60%),
    radial-gradient(140% 120% at 70% 20%, var(--orange-deep), var(--ink) 62%);
}

/* ============================================================
   RADAR VISUAL (variant A)
   ============================================================ */
.radar { position: relative; width: min(520px, 90%); aspect-ratio: 1; margin-inline: auto; }
.radar__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--ink-line);
}
.radar__ring.r2 { inset: 14%; border-color: rgba(238,106,43,0.22); }
.radar__ring.r3 { inset: 30%; border-color: rgba(238,106,43,0.32); }
.radar__ring.r4 { inset: 46%; border-color: rgba(238,106,43,0.4); }
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(238,106,43,0.0) 250deg, rgba(238,106,43,0.55) 350deg, rgba(255,138,61,0.85) 360deg);
  mask: radial-gradient(circle, transparent 8%, #000 9%);
  -webkit-mask: radial-gradient(circle, transparent 8%, #000 9%);
  animation: sweep 4.2s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__core {
  position: absolute; inset: 0; margin: auto;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 24px 4px rgba(238,106,43,0.7);
}
.radar__core::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--orange); animation: ripple 2.4s var(--ease) infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.6); opacity: 0; }
}
.radar__blip {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cream);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px 2px rgba(244,239,230,0.5);
  animation: blip 4.2s linear infinite;
}
.radar__blip.b2 { animation-delay: 1.1s; }
.radar__blip.b3 { animation-delay: 2.3s; }
.radar__blip.b4 { animation-delay: 3.1s; }
@keyframes blip {
  0%, 14% { opacity: 0; transform: translate(-50%,-50%) scale(0.4); }
  20% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  70% { opacity: 1; }
  100% { opacity: 0; }
}
.radar__tag {
  position: absolute; transform: translate(-50%, -50%);
  font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.1em;
  background: var(--ink-2); border: 1px solid var(--ink-line);
  color: var(--cream-dim); padding: 4px 9px; border-radius: 100px;
  white-space: nowrap;
}
.radar__tag b { color: var(--orange); }

/* ============================================================
   SEARCH MOCK (variant C)
   ============================================================ */
.searchmock {
  width: min(460px, 92%); margin-inline: auto;
  background: var(--cream); color: var(--ink);
  border-radius: 20px; padding: 22px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,0,0,0.05);
  transform: rotate(-2deg);
}
.searchmock__bar {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid #e3ddd1; border-radius: 100px;
  padding: 13px 18px; font-family: var(--ff-mono); font-size: 0.9rem;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.2);
}
.searchmock__bar .mag { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b6ada0; position: relative; flex: none; }
.searchmock__bar .mag::after { content:""; position:absolute; width:7px; height:2px; background:#b6ada0; right:-4px; bottom:0; transform: rotate(45deg); }
.searchmock__caret { display:inline-block; width: 2px; height: 1.1em; background: var(--orange); animation: caret 1s steps(1) infinite; vertical-align: -2px; }
@keyframes caret { 50% { opacity: 0; } }
.searchmock__result { margin-top: 18px; padding: 14px 16px; border-radius: 14px; }
.searchmock__result.top { background: rgba(238,106,43,0.1); border: 1px solid rgba(238,106,43,0.35); }
.searchmock__result .url { font-family: var(--ff-mono); font-size: 0.72rem; color: #5c7c3f; }
.searchmock__result .ttl { font-weight: 700; color: #1a3a8a; font-size: 1.02rem; margin: 3px 0; }
.searchmock__result.top .ttl { color: var(--orange-deep); }
.searchmock__result .desc { font-size: 0.82rem; color: #555; line-height: 1.4; }
.searchmock__rank {
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--ff-mono); font-size: 0.66rem; font-weight:700;
  background: var(--orange); color:#fff; padding: 3px 9px; border-radius: 100px;
  margin-bottom: 8px;
}
.searchmock__ghost { height: 9px; border-radius: 4px; background: #e7e1d5; margin-top: 8px; }
.searchmock__ghost.w1 { width: 40%; } .searchmock__ghost.w2 { width: 72%; } .searchmock__ghost.w3 { width: 55%; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: #F5ECD7; color: #3d3d3d;
  padding: 18px 0; overflow: hidden; position: relative;
  border-block: 1px solid rgba(0,0,0,0.08);
  transform: rotate(-1.4deg) translateY(50px);
}
.marquee__track { display: flex; gap: 0; width: max-content; animation: marq 26s linear infinite; }
.marquee__track span {
  font-family: var(--ff-display); font-variation-settings: "wdth" 125;
  font-weight: 900; font-size: 1.5rem; letter-spacing: -0.01em;
  padding-inline: 28px; display: inline-flex; align-items: center; gap: 28px;
}
.marquee__track span::after { content: "✦"; font-size: 0.9rem; opacity: 0.6; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES
   ============================================================ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 16ch; }
.sec-head p { color: var(--cream-dim); max-width: 40ch; font-size: 1.05rem; line-height: 1.5; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  background: var(--ink-1); border: 1px solid var(--ink-line);
  border-radius: var(--radius); padding: 30px;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
  display: flex; flex-direction: column; min-height: 280px;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(238,106,43,0.16), transparent 55%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
/* Scale fra centrum i stedet for translateY-løft: alle kanter bevæger sig udad,
   så cursoren aldrig falder uden for elementet — eliminerer hover-jitteren hvor
   kortet ellers gled frem/tilbage når musen var lige ved nederste kant. */
.card:hover { transform: scale(1.02); border-color: rgba(238,106,43,0.5); background: var(--ink-2); box-shadow: 0 22px 48px -22px rgba(0,0,0,0.5); z-index: 2; }
.card:hover::before { opacity: 1; }
.card .idx { font-family: var(--ff-mono); font-size: 0.78rem; color: var(--orange); letter-spacing: 0.1em; }
.card h3 { font-family: var(--ff-display); font-variation-settings:"wdth" 110; font-weight: 800; font-size: 1.55rem; margin: 18px 0 12px; line-height: 1.05; }
.card p { color: var(--cream-dim); line-height: 1.55; font-size: 0.98rem; margin: 0; flex: 1; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.card .tags span { font-family: var(--ff-mono); font-size: 0.7rem; color: var(--cream-faint); border: 1px solid var(--ink-line); border-radius: 100px; padding: 5px 11px; }
.card .glyph {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(238,106,43,0.12); border: 1px solid rgba(238,106,43,0.3); color: var(--orange);
  position: absolute; top: 28px; right: 28px;
}
.card.col-6 { grid-column: span 6; }
.card.col-4 { grid-column: span 4; }
.card.col-12 { grid-column: span 12; }
@media (max-width: 880px) {
  .card.col-6, .card.col-4, .card.col-12 { grid-column: span 12; }
}

/* feature card (wide) */
.card--feature { min-height: 320px; justify-content: space-between; background: var(--orange); color: var(--ink); border-color: var(--orange-deep); }
.card--feature::before { display: none; }
.card--feature .idx { color: var(--ink); opacity: 0.6; }
.card--feature p { color: rgba(22,19,16,0.78); }
.card--feature:hover { background: var(--orange-bright); transform: scale(1.02); box-shadow: 0 22px 48px -22px rgba(238,106,43,0.45); }
.card--feature .glyph { background: rgba(22,19,16,0.12); border-color: rgba(22,19,16,0.2); color: var(--ink); }
.card--feature .tags span { border-color: rgba(22,19,16,0.25); color: rgba(22,19,16,0.7); }

/* ============================================================
   PROCESS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink-line); }
.step { padding: 36px 28px; border-right: 1px solid var(--ink-line); position: relative; }
.step:last-child { border-right: none; }
.step .no { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--orange); }
.step h4 { font-family: var(--ff-display); font-variation-settings:"wdth" 115; font-weight: 800; font-size: 1.5rem; margin: 16px 0 10px; }
.step p { color: var(--cream-dim); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.step .bar { position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: var(--orange); transition: width 0.8s var(--ease); }
.step.in .bar { width: 60%; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { border-right: none; border-bottom: 1px solid var(--ink-line); padding-right: 0; } }

/* ============================================================
   CASES
   ============================================================ */
.cases { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
@media (max-width: 880px) { .cases { grid-template-columns: 1fr; } }
.case {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--ink-line); background: var(--ink-1);
  display: flex; flex-direction: column;
}
.case image-slot { display: block; width: 100%; height: 300px; }
.case__body { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case__body h4 { font-family: var(--ff-display); font-variation-settings:"wdth" 110; font-weight: 800; font-size: 1.2rem; margin: 0; }
.case__body .meta { font-family: var(--ff-mono); font-size: 0.74rem; color: var(--cream-faint); margin-top: 4px; }
.case__result { font-family: var(--ff-display); font-variation-settings:"wdth" 125; font-weight: 900; font-size: 1.4rem; color: var(--orange); white-space: nowrap; }

/* quote / result strip */
.resultstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 720px) { .resultstrip { grid-template-columns: 1fr; } }
.resultstrip .rc { border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 26px; background: var(--ink-1); }
.resultstrip .rc .big { font-family: var(--ff-display); font-variation-settings:"wdth" 125; font-weight: 900; font-size: clamp(2.4rem,4vw,3.2rem); color: var(--orange); line-height: 1; }
.resultstrip .rc .lab { color: var(--cream-dim); margin-top: 12px; font-size: 0.95rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; overflow: hidden; background: var(--orange); color: var(--ink); border-radius: 28px; padding: clamp(48px, 7vw, 88px); text-align: center; }
.cta h2 { font-family: var(--ff-display); font-variation-settings:"wdth" 125; font-weight: 900; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.95; margin: 0 0 22px; }
.cta p { color: rgba(22,19,16,0.78); font-size: 1.15rem; max-width: 40ch; margin: 0 auto 34px; line-height: 1.5; }
.cta .btn { --bg: #3d3d3d; --fg: #fff; }
.cta__blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.5; }
.cta__blob.a { width: 360px; height: 360px; background: var(--orange-bright); top: -140px; left: -80px; }
.cta__blob.b { width: 300px; height: 300px; background: var(--orange-deep); bottom: -130px; right: -60px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid rgba(0,0,0,0.09); padding-block: 64px 40px; background: #F5ECD7; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 48px; }
.footer__brand { max-width: 30ch; }
.footer__brand p { color: var(--cream-faint); margin: 16px 0 0; line-height: 1.5; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h5 { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-faint); margin: 0 0 16px; }
.footer__col a { display: block; color: var(--cream-dim); text-decoration: none; margin-bottom: 12px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--orange); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(0,0,0,0.09); font-family: var(--ff-mono); font-size: 0.76rem; color: var(--cream-faint); }

/* ---- waves ---- */
.wave { display: block; width: 100%; height: auto; }

/* ============================================================
   MOBILE / TOUCH
   ============================================================ */

/* Hide custom cursor + restore system cursor on touch */
@media (hover: none), (pointer: coarse) {
  *, *::before, *::after { cursor: auto !important; }
  body { cursor: auto; }
  #custom-cursor { display: none !important; }
}

/* Nav mobile */
@media (max-width: 640px) {
  .nav__inner { padding-inline: 20px; }
  .nav__desktop-cta { display: none !important; }
  .nav__hamburger { display: flex !important; }
}

.nav__dropdown {
  display: flex; flex-direction: column;
  background: #F5ECD7; border-top: 1px solid rgba(0,0,0,0.08);
  padding: 12px 0 20px;
}
.nav__dropdown a {
  padding: 14px 24px; font-size: 1.05rem; color: #3d3d3d;
  text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.15s;
}
.nav__dropdown a:hover { background: rgba(0,0,0,0.03); }
.nav__dropdown-cta {
  margin: 16px 20px 0 !important; border: none !important;
  background: #FF5C00 !important; color: #fff !important;
  border-radius: 100px !important; text-align: center;
  padding: 14px 20px !important; font-family: var(--ff-mono);
  font-weight: 700; font-size: 0.9rem !important;
}

/* Hero mobile */
@media (max-width: 640px) {
  .hero { min-height: 100svh; align-items: flex-start; padding-top: 80px; }
  .hero-illus { display: none; }
  .marquee { transform: rotate(-1.4deg); margin-top: 48px; margin-bottom: 80px; }
}

/* Wrap padding on small screens */
@media (max-width: 480px) {
  .wrap { padding-inline: 20px; }
  .section { padding-block: clamp(40px, 8vw, 64px); }
}

/* Price comparison grid → stack */
@media (max-width: 600px) {
  .price-compare-grid { grid-template-columns: 1fr !important; }
}

/* Ydelser pricing cards → stack */
@media (max-width: 640px) {
  .ydelser-grid { grid-template-columns: 1fr !important; }
}

/* Contact form panel — full width on mobile */
@media (max-width: 600px) {
  .cf-panel {
    width: 100% !important;
    height: 92svh !important;
    max-height: 92svh !important;
    border-radius: 24px 24px 0 0 !important;
  }
  .cf-outer {
    align-items: flex-end !important;
    padding: 0 !important;
  }
}

/* Hide contact form subheadline on very short viewports */
@media (max-height: 600px) {
  .cf-sub { display: none; }
}

/* CTA section */
@media (max-width: 480px) {
  .cta { border-radius: 16px; }
  .cta h2 { font-size: clamp(2rem, 8vw, 3rem); }
}

/* Footer */
@media (max-width: 600px) {
  .footer__cols { gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================
   YDELSER — redesign: kvitterings-ticket + editorial
   ============================================================ */
.yd { background: var(--cream); position: relative; overflow: hidden; }
.yd__glow { position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,92,0,0.16) 0%, transparent 68%);
  top: -240px; right: -200px; pointer-events: none; z-index: 0; }
.yd .wrap { position: relative; z-index: 1; }

.yd__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px);
  align-items: center; }
@media (max-width: 940px) { .yd__grid { grid-template-columns: 1fr; gap: 56px; } }

.yd__guarantees { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; }
.yd__guarantee { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0;
  border-top: 1px solid var(--ink-line); }
.yd__guarantee:last-child { border-bottom: 1px solid var(--ink-line); }
.yd__gnum { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--orange);
  font-weight: 700; padding-top: 4px; letter-spacing: 0.05em; }
.yd__gt { font-family: var(--ff-display); font-variation-settings: "wdth" 110; font-weight: 800;
  font-size: 1.12rem; color: var(--ink); margin: 0 0 4px; }
.yd__gd { color: rgba(61,61,61,0.55); font-size: 0.92rem; line-height: 1.5; margin: 0; }

/* Kvitterings-ticket */
.receipt { position: relative; background: #2e2e2e; color: var(--cream);
  border-radius: 22px; padding: clamp(30px,3.5vw,42px) clamp(26px,3.5vw,40px) clamp(34px,3.5vw,40px);
  box-shadow: 0 40px 80px -36px rgba(0,0,0,0.6); }
.receipt__head { display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  color: rgba(245,236,215,0.5); margin-bottom: 30px; }
.receipt__price { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 6px; }
.receipt__num { font-family: var(--ff-display); font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(4.5rem, 12vw, 7rem); line-height: 0.82; color: #fff; letter-spacing: -0.03em; }
.receipt__unit { font-family: var(--ff-mono); font-size: 0.9rem; color: var(--orange);
  font-weight: 700; padding-bottom: 12px; }
.receipt__sub { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.12em;
  color: rgba(245,236,215,0.45); margin: 0 0 28px; }
.receipt__rule { border: none; border-top: 1.5px dashed rgba(245,236,215,0.28); margin: 0 0 22px; }
.receipt__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.receipt__list li { display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.9rem; line-height: 1.4; color: rgba(245,236,215,0.86); }
.receipt__check { flex-shrink: 0; margin-top: 1px; }
.receipt__totals { display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.receipt__row { display: flex; align-items: baseline; gap: 10px; font-family: var(--ff-mono);
  font-size: 0.82rem; color: rgba(245,236,215,0.6); }
.receipt__row .dots { flex: 1; border-bottom: 1px dotted rgba(245,236,215,0.25); transform: translateY(-3px); }
.receipt__row .val { color: var(--cream); font-weight: 700; }
.receipt__row--total .val { color: var(--orange); font-size: 1.05rem; }
.receipt__cta { width: 100%; justify-content: center; background: var(--orange); color: #1a1a1a;
  padding: 17px 28px; }

/* ============================================================
   PROCES — lodret tidslinje (scroll ned gennem trinnene)
   ============================================================ */
.procv { background: var(--cream); position: relative; overflow: hidden;
  padding: clamp(118px,16vh,180px) 0 clamp(80px,10vh,120px); }
.procv__glow { position: absolute; width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,92,0,0.13) 0%, transparent 68%);
  top: 4%; left: -240px; pointer-events: none; z-index: 0; }
.procv .wrap { position: relative; z-index: 1; }
.procv__grid { display: grid; grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px,7vw,110px); align-items: start; }

/* venstre — sticky */
.procv__intro { position: sticky; top: clamp(120px,20vh,200px); }
.procv__kicker { font-family: var(--ff-mono); font-size: 0.78rem; letter-spacing: 0.22em;
  color: var(--orange); display: block; margin-bottom: 22px; }
.procv__intro h2 { font-family: var(--ff-display); font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(2.3rem,4.4vw,3.9rem); line-height: 0.92; letter-spacing: -0.025em;
  color: var(--ink); margin: 0 0 22px; }
.procv__intro h2 em { color: var(--orange); font-style: normal; }
.procv__intro > p { color: rgba(61,61,61,0.6); font-size: 1.06rem; line-height: 1.6;
  margin: 0; max-width: 36ch; }

/* højre — trin på tidslinje. Linjens top/højde sættes af JS, så den går præcist
   fra første til sidste prik (ingen ender der stikker ud i tomrummet). */
.procv__steps { position: relative; padding-left: clamp(36px,4vw,58px); }
.procv__line { position: absolute; left: clamp(11px,1.4vw,18px); top: 0; height: 0; width: 2px;
  background: rgba(61,61,61,0.14); }
.procv__linefill { position: absolute; left: clamp(11px,1.4vw,18px); top: 0; height: 0; width: 2px;
  background: var(--orange); }
.procv__step { position: relative; padding: clamp(26px,4vh,44px) 0; }
.procv__step:first-child { padding-top: 0; }
.procv__dot { position: absolute;
  left: calc(clamp(11px,1.4vw,18px) - clamp(36px,4vw,58px) - 7px);
  top: clamp(28px,4vh,46px); width: 16px; height: 16px; border-radius: 50%; background: var(--cream);
  border: 2px solid rgba(61,61,61,0.25);
  transition: border-color 0.3s, background 0.3s, transform 0.3s; z-index: 1; }
.procv__step:first-child .procv__dot { top: 2px; }
.procv__step.is-active .procv__dot, .procv__step.is-done .procv__dot {
  border-color: var(--orange); background: var(--orange); transform: scale(1.18); }
.procv__no { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.16em;
  color: var(--orange); display: block; margin-bottom: 12px; }
.procv__step h3 { font-family: var(--ff-display); font-variation-settings: "wdth" 115; font-weight: 800;
  font-size: clamp(1.5rem,2.6vw,2.1rem); margin: 0 0 12px; line-height: 1.05; color: var(--ink);
  transition: opacity 0.35s var(--ease); }
.procv__step p { color: rgba(61,61,61,0.62); font-size: 1.02rem; line-height: 1.6; margin: 0; max-width: 50ch; }
.procv__step:not(.is-active):not(.is-done) h3 { opacity: 0.5; }

.procv__cta { margin-top: clamp(38px,6vh,60px); padding-top: clamp(30px,4vh,46px);
  border-top: 1px solid var(--ink-line); }
.procv__cta .btn { background: var(--orange); color: #1a1a1a; }

@media (max-width: 860px) {
  .procv__grid { grid-template-columns: 1fr; gap: 44px; }
  .procv__intro { position: static; }
  .procv__bar { display: none; }
}
