/* =========================================================
   ALSBOBECH
   Lys, rolig flade. Projekternes screenshots står for farven;
   lilla/blå fra AlsboBech-brandet bruges kun som accent.
   ========================================================= */

:root {
  --bg: #f4f3ef;
  --bg-2: #eceae4;
  --surface: #ffffff;
  --ink: #0e0e10;
  --ink-2: #18181c;
  --muted: #64646b;
  --line: rgba(14, 14, 16, .1);
  --line-light: rgba(255, 255, 255, .12);
  --accent: #6c5ce7;
  --accent-2: #4facfe;
  --gradient: linear-gradient(120deg, var(--accent), var(--accent-2));

  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --header-h: 68px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --section-y: clamp(88px, 12vw, 160px);
  --shadow: 0 1px 2px rgba(14, 14, 16, .06), 0 12px 32px -8px rgba(14, 14, 16, .16), 0 40px 80px -24px rgba(14, 14, 16, .22);
}

@media (min-width: 700px) { :root { --gutter: 32px; --header-h: 80px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.noscript { color: var(--muted); }

/* ---------- Typografi ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 0 4px rgba(108, 92, 231, .15); }
.eyebrow-light { color: rgba(255, 255, 255, .6); }

.section-title, .hero-title {
  font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: .98;
}
.section-title { font-size: clamp(40px, 6.4vw, 84px); margin-top: 18px; }
.section-title em, .hero-title em {
  font-style: normal;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lede { margin-top: 20px; max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); }

/* ---------- Knapper ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 15px/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, box-shadow .4s var(--ease), border-color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(14, 14, 16, .5); }
.btn:active { transform: translateY(0); }
.btn-arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: var(--line-light); }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .5); box-shadow: none; }
.btn-accent { --btn-bg: var(--gradient); background: var(--gradient); }
.btn-accent:hover { box-shadow: 0 14px 30px -10px rgba(108, 92, 231, .7); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(244, 243, 239, .78);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 18px/1 var(--display); letter-spacing: -.02em; }
.nav { display: none; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .5); }
.nav a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .3s, background-color .3s; }
.nav a:hover { color: var(--ink); background: rgba(14, 14, 16, .05); }
@media (min-width: 860px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .6;
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob-a { width: 520px; height: 520px; right: -120px; top: -80px; background: #b8b0ff; animation: drift 18s ease-in-out infinite alternate; }
.blob-b { width: 420px; height: 420px; right: 20%; top: 40%; background: #a8dcff; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }

.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } }

.hero-title { margin-top: 22px; font-size: clamp(52px, 8.6vw, 116px); }
.hero-lede { margin-top: 26px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; }

/* Stak af screenshots */
.hero-stack { position: relative; aspect-ratio: 16 / 12; perspective: 1600px; }
.stack-card {
  position: absolute; width: 82%;
  transform-style: preserve-3d;
  animation: float 9s ease-in-out infinite;
  animation-delay: calc(var(--i) * -3s);
}
.stack-card:nth-child(1) { left: 0; top: 4%; z-index: 3; --r: -4deg; }
.stack-card:nth-child(2) { right: 0; top: 30%; z-index: 2; --r: 3deg; }
.stack-card:nth-child(3) { left: 14%; top: 56%; z-index: 1; --r: -1deg; }
.stack-card .browser { transform: rotateY(-14deg) rotateX(6deg) rotate(var(--r)); transition: transform .8s var(--ease); }
.hero-stack:hover .stack-card .browser { transform: rotateY(-6deg) rotateX(3deg) rotate(calc(var(--r) / 2)); }
@keyframes float { 50% { translate: 0 -14px; } }
@media (max-width: 999px) { .hero-stack { max-width: 640px; aspect-ratio: 16 / 13; } }

/* ---------- Browser- og telefonramme ---------- */
.browser {
  overflow: hidden; border-radius: var(--radius-sm);
  background: var(--surface); box-shadow: var(--shadow);
  outline: 1px solid var(--line);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1f0ec; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d7d1; }
.browser-bar i:nth-child(1) { background: #ff6159; } .browser-bar i:nth-child(2) { background: #ffbd2e; } .browser-bar i:nth-child(3) { background: #28c941; }
.browser-url {
  flex: 1; max-width: 60%; margin: 0 auto; transform: translateX(-20px);
  overflow: hidden; padding: 3px 10px; border-radius: 6px; background: #fff;
  font-size: 11px; color: var(--muted); text-align: center; white-space: nowrap; text-overflow: ellipsis;
}
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--bg-2); }

.phone {
  overflow: hidden; border: 5px solid var(--ink); border-radius: 26px;
  background: var(--ink); box-shadow: var(--shadow);
}
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 20px; }

/* ---------- Sektioner ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }

/* ---------- Projekter ---------- */
.projects-section { padding-top: clamp(40px, 6vw, 80px); }
.project-list { display: grid; gap: clamp(88px, 12vw, 160px); }

.project { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .project { grid-template-columns: 1.35fr 1fr; gap: clamp(48px, 6vw, 96px); }
  .project:nth-child(even) .project-media { order: 2; }
}

.project-media {
  position: relative; display: block; width: 100%; padding: 0 9% 9% 0;
  border: 0; background: none; cursor: pointer; text-align: left;
}
.project-media::before {
  content: ""; position: absolute; inset: 8% 0 0 8%; z-index: -1; border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(circle at 30% 30%, var(--accent-project, var(--accent)), transparent 70%);
  opacity: .22; filter: blur(30px);
  transition: opacity .6s var(--ease);
}
.project-media .browser { transition: transform .8s var(--ease); }
.project-media .phone { position: absolute; right: 0; bottom: 0; width: 24%; transition: transform .8s var(--ease); }
.project-media:hover .browser { transform: translateY(-8px); }
.project-media:hover .phone { transform: translate(6px, -16px) rotate(2deg); }
.project-media:hover::before { opacity: .4; }
.project-media .media-hint {
  position: absolute; left: 50%; top: 42%; translate: -50% -50%; z-index: 2;
  padding: 12px 20px; border-radius: 999px; background: rgba(14, 14, 16, .82); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  opacity: 0; scale: .9; transition: opacity .4s var(--ease), scale .4s var(--ease);
}
.project-media:hover .media-hint, .project-media:focus-visible .media-hint { opacity: 1; scale: 1; }

.project-index { display: flex; align-items: center; gap: 14px; font: 500 13px/1 var(--display); color: var(--muted); }
.project-index::after { content: ""; flex: 1; max-width: 80px; height: 1px; background: var(--line); }
.project-name { margin-top: 20px; font: 600 clamp(36px, 4.6vw, 60px)/1 var(--display); letter-spacing: -.035em; }
.project-meta { margin-top: 12px; font-size: 15px; color: var(--muted); }
.project-meta .swatch { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--accent-project); vertical-align: 0; }
.project-summary { margin-top: 22px; max-width: 48ch; font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); background: rgba(255, 255, 255, .5); }
.project-price { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 48ch; }
.project-price span { font-size: 13px; color: var(--muted); }
.project-price strong { grid-column: 1; font: 600 22px/1 var(--display); letter-spacing: -.02em; }
.project-price small { grid-column: 2; grid-row: 1 / 3; padding: 4px 10px; border-radius: 999px; background: rgba(108, 92, 231, .1); color: var(--accent); font-size: 12px; font-weight: 600; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* ---------- Projektvisning (dialog) ---------- */
.project-dialog {
  width: min(1240px, calc(100% - 24px)); max-width: none; max-height: calc(100% - 24px);
  margin: auto; padding: 0; border: 0; border-radius: 24px;
  background: var(--bg); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.project-dialog:focus { outline: none; }
.project-dialog::backdrop { background: rgba(14, 14, 16, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.project-dialog[open] { display: flex; flex-direction: column; animation: dialog-in .5s var(--ease); }
.project-dialog[open]::backdrop { animation: fade-in .4s ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(30px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }

.dialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); background: rgba(244, 243, 239, .9);
}
.dialog-head h2 { font: 600 22px/1.1 var(--display); letter-spacing: -.02em; }
.dialog-head p { font-size: 13px; color: var(--muted); }
.dialog-head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
@media (max-width: 600px) {
  .dialog-head { padding-left: 18px; }
  .dialog-head .btn-label { display: none; }
  .dialog-head .btn-sm { width: 44px; height: 44px; padding: 0; }
}
.dialog-close {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; font-size: 18px;
  transition: transform .4s var(--ease), border-color .3s;
}
.dialog-close:hover { transform: rotate(90deg); border-color: var(--ink); }

.dialog-body { overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 32px; padding: 24px; }
@media (min-width: 960px) {
  .dialog-body { grid-template-columns: 1.5fr 1fr; gap: 48px; padding: 32px; }
  .dialog-preview { position: sticky; top: 0; align-self: start; }
}

.dialog-preview .browser-scroll {
  height: min(68vh, 720px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg-2);
  scrollbar-width: thin;
}
.dialog-preview .browser-scroll img { aspect-ratio: auto; object-fit: initial; }
.dialog-preview-hint { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* Live-visning: iframe i rammen. Bredden sættes af JS og skaleres ned. */
.live-frame { position: relative; height: min(68vh, 720px); overflow: hidden; background: var(--bg-2); }
.live-frame iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; }
.live-loading {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  background: var(--bg-2); color: var(--muted); font-size: 14px;
  transition: opacity .5s var(--ease), visibility .5s;
}
.live-loading i { width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.live-frame.is-loaded .live-loading { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobilvisning: rammen bliver en telefon */
.dialog-preview.is-live .browser { transition: max-width .5s var(--ease), border-radius .5s var(--ease); }
.dialog-preview[data-view="mobile"] .browser {
  max-width: 390px; margin: 0 auto; border: 8px solid var(--ink); border-radius: 40px; outline: 0;
}
.dialog-preview[data-view="mobile"] .browser-bar { display: none; }
.dialog-preview[data-view="mobile"] .live-frame { height: min(70vh, 760px); border-radius: 32px; }

.preview-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; }
.preview-toolbar .dialog-preview-hint { margin: 0; text-align: left; }
.view-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.view-toggle button {
  padding: 8px 16px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--muted); transition: background-color .3s, color .3s;
}
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.dialog-info { display: flex; flex-direction: column; gap: 28px; }
.dialog-info .lead { font-size: 18px; line-height: 1.55; }
.dialog-info p + p { margin-top: 14px; }
.dialog-info p { color: #2c2c31; }
.dialog-info h3 { margin-bottom: 12px; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.highlights li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); }
.highlights li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 10px; border-radius: 3px; background: var(--accent-project, var(--accent)); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--line); }
.facts div { padding: 14px 16px; background: var(--bg); }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.facts .fact-price { grid-column: 1 / -1; }
.facts .fact-price dd { font: 600 22px/1.2 var(--display); }
.facts .fact-price small { margin-left: 6px; font: 500 13px var(--sans); color: var(--muted); }
.dialog-phone { display: flex; gap: 20px; align-items: center; }
.dialog-phone .phone { width: 42%; max-width: 200px; flex: none; }
.dialog-cta { padding: 22px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.dialog-cta p { color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.dialog-cta strong { display: block; margin-bottom: 4px; font: 600 20px/1.2 var(--display); }

/* ---------- Priser ---------- */
.pricing { display: grid; gap: 16px; }
@media (min-width: 860px) { .pricing { grid-template-columns: 1fr 1fr; } }
.price-card {
  display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
}
.price-card-featured { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-color: transparent; }
.price-card-featured::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, .55), transparent 65%); pointer-events: none;
}
.price-card > * { position: relative; }
.price-label { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.price-card-featured .price-label { color: rgba(255, 255, 255, .6); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 22px; }
.price strong { font: 600 clamp(44px, 5.4vw, 68px)/1 var(--display); letter-spacing: -.04em; }
.price span { padding: 5px 12px; border-radius: 999px; background: var(--gradient); color: #fff; font-size: 13px; font-weight: 600; }
.price-text { margin-top: 18px; max-width: 40ch; color: var(--muted); font-size: 17px; }
.price-card-featured .price-text { color: rgba(255, 255, 255, .7); }
.price-list { display: grid; gap: 10px; margin: 28px 0 36px; }
.price-list li { display: flex; align-items: center; gap: 12px; }
.price-list li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(14, 14, 16, .07); font-size: 11px; }
.price-card-featured .price-list li::before { background: rgba(255, 255, 255, .12); }
.price-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }
.price-example { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: currentColor; opacity: .7; transition: opacity .3s; }
.price-example:hover { opacity: 1; }

/* ---------- Proces ---------- */
.process-section { background: var(--bg-2); }
.process { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  position: relative; padding: 28px 26px 32px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.process-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; font: 600 14px/1 var(--display); }
.process-step:last-child .process-num { background: var(--gradient); }
.process-step h3 { margin-top: 40px; font: 600 24px/1.1 var(--display); letter-spacing: -.02em; }
.process-step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Forespørgsel ---------- */
.request-section { background: var(--ink); color: #fff; overflow: hidden; }
.request-section .section-lede { color: rgba(255, 255, 255, .62); }
.request-glow {
  position: absolute; width: 900px; height: 900px; left: -300px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, .4), transparent 60%); pointer-events: none;
}
.request-grid { position: relative; display: grid; gap: 48px; align-items: start; }
@media (min-width: 1040px) {
  .request-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .request-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.request-promises { display: grid; gap: 12px; margin-top: 36px; }
.request-promises li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); }
.request-promises li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 12px; }

.request-card {
  scroll-margin-top: calc(var(--header-h) + 16px);
  padding: clamp(20px, 3.4vw, 40px); border-radius: 26px;  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid var(--line-light);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.form-progress { display: flex; gap: 6px; margin-bottom: 32px; }
.form-progress li {
  flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 12px;
  border-top: 2px solid var(--line-light); font-size: 13px; color: rgba(255, 255, 255, .45);
  transition: color .4s, border-color .4s;
}
.form-progress li span { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 11px; }
.form-progress li.is-active, .form-progress li.is-done { color: #fff; border-color: transparent; border-image: var(--gradient) 1; }
.form-progress li.is-done span { background: #fff; color: var(--ink); }
@media (max-width: 560px) { .form-progress li:not(.is-active) { font-size: 0; gap: 0; } }

.form-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 30px; }
.is-enhanced .form-step:not(.is-active) { display: none; }
.is-enhanced .form-step.is-active { animation: step-in .5s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }

.field { display: grid; gap: 12px; min-width: 0; }
.field-label { font: 600 15px/1.3 var(--sans); color: #fff; }
.field-label small { margin-left: 6px; font-weight: 400; color: rgba(255, 255, 255, .45); }
.field-row { display: grid; gap: 20px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border: 1px solid var(--line-light); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05); color: #fff;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field ::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background-color: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(108, 92, 231, .25); }
.field input.is-invalid { border-color: #ff7a7a; }

/* Valg (chips, størrelse, stil). Input ligger skjult oven på kortet. */
.chip, .size-card, .style-card { position: relative; cursor: pointer; }
.chip input, .size-card input, .style-card input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-light); background: rgba(255, 255, 255, .04); font-size: 14px; font-weight: 500;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.chip:hover span { border-color: rgba(255, 255, 255, .35); }
.chip input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.chip input[type="checkbox"]:checked + span::before { content: "✓"; font-size: 12px; }
.chip input:focus-visible + span, .size-card input:focus-visible + span, .style-card input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-card > span {
  display: grid; place-items: center; gap: 2px; padding: 18px 8px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-light); background: rgba(255, 255, 255, .04); text-align: center;
  transition: background-color .3s, border-color .3s, color .3s;
}
.size-card strong { font: 600 clamp(20px, 3vw, 28px)/1 var(--display); letter-spacing: -.02em; }
.size-card small { font-size: 12px; opacity: .6; }
.size-card:hover > span { border-color: rgba(255, 255, 255, .35); }
.size-card input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }

.style-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 620px) { .style-grid { grid-template-columns: repeat(3, 1fr); } }
.style-card > span {
  display: grid; gap: 4px; height: 100%; padding: 10px 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-light); background: rgba(255, 255, 255, .04);
  transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.style-card strong { margin-top: 8px; font-size: 14px; }
.style-card small { font-size: 12px; color: rgba(255, 255, 255, .5); line-height: 1.4; }
.style-card:hover > span { border-color: rgba(255, 255, 255, .35); }
.style-card input:checked + span { border-color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px #fff; }

/* Små skitser af stilarterne */
.style-preview { position: relative; display: block; height: 72px; overflow: hidden; border-radius: 8px; }
.style-preview i { position: absolute; display: block; font-style: normal; }
.style-minimal { background: #fafaf8; }
.style-minimal i:nth-child(1) { left: 12px; top: 14px; width: 44%; height: 8px; border-radius: 2px; background: #111; }
.style-minimal i:nth-child(2) { left: 12px; top: 30px; width: 30%; height: 4px; border-radius: 2px; background: #c9c9c4; }
.style-minimal i:nth-child(3) { left: 12px; bottom: 12px; width: 26%; height: 12px; border-radius: 20px; border: 1px solid #111; }
.style-dark { background: #111; }
.style-dark i:nth-child(1) { left: 12px; top: 12px; width: 60%; height: 14px; border-radius: 2px; background: #f4f0e6; }
.style-dark i:nth-child(2) { left: 12px; top: 32px; width: 34%; height: 14px; border-radius: 2px; background: #c9a24b; }
.style-dark i:nth-child(3) { right: 12px; bottom: 12px; width: 26%; height: 12px; border-radius: 20px; background: #c9a24b; }
.style-playful { background: linear-gradient(135deg, #ffd6e5, #c8f0e6); }
.style-playful i:nth-child(1) { left: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: #ff6f9c; }
.style-playful i:nth-child(2) { right: 14px; top: 16px; width: 46px; height: 20px; border-radius: 10px; background: #5ac8b0; }
.style-playful i:nth-child(3) { left: 50px; bottom: 10px; width: 28px; height: 28px; border-radius: 8px; background: #ffc94a; rotate: 14deg; }
.style-classic { background: #f3ece0; }
.style-classic i:nth-child(1) { left: 50%; translate: -50% 0; top: 14px; width: 56%; height: 10px; border-radius: 1px; background: #3b2f2a; }
.style-classic i:nth-child(2) { left: 50%; translate: -50% 0; top: 32px; width: 70%; height: 1px; background: #8a6e5a; }
.style-classic i:nth-child(3) { left: 50%; translate: -50% 0; bottom: 12px; width: 40%; height: 10px; border: 1px solid #3b2f2a; }
.style-unsure { display: grid; place-items: center; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 8px, transparent 8px 16px); border: 1px dashed rgba(255, 255, 255, .25); }
.style-unsure i { position: static; font: 600 28px/1 var(--display); color: rgba(255, 255, 255, .6); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.form-nav [data-form-back] { margin-right: auto; }
.form-nav [hidden] { display: none; }
.form-status { min-height: 1.5em; margin-top: 14px; font-size: 14px; color: #ff9b9b; }
.form-status:empty { margin: 0; min-height: 0; }

.request-done { display: grid; justify-items: start; gap: 12px; padding: 24px 4px; }
.request-done[hidden] { display: none; }
.request-done:focus { outline: none; }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gradient); font-size: 28px; animation: pop .7s var(--ease); }
.request-done h3 { margin-top: 12px; font: 600 clamp(32px, 4vw, 44px)/1.05 var(--display); letter-spacing: -.03em; }
.request-done p { color: rgba(255, 255, 255, .7); font-size: 17px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); } }

/* ---------- Footer ---------- */
/* Fortsætter den sorte flade fra formularafsnittet */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .55); font-size: 14px; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding-top: 28px; padding-bottom: 28px;
  /* Streg i toppen, så bred som indholdet (ikke padding) */
  background: linear-gradient(var(--line-light), var(--line-light)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.footer-wordmark { width: auto; height: 14px; opacity: .9; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: #fff; }
@media (min-width: 860px) { .site-footer nav { margin: 0 auto; } }

/* ---------- 404 ---------- */
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.not-found .hero-title { margin-top: 18px; }
.not-found .hero-lede { margin: 22px auto 0; }
.not-found .hero-actions { justify-content: center; }

/* Indhold er synligt fra første rendering, også uden JavaScript og scroll. */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* SEO-sider og hjælpsomt indhold i samme designsystem. */
.content-page { padding: calc(var(--header-h) + 44px) 0 80px; }
.content-intro { max-width: 900px; margin: 46px 0 56px; }
.content-intro h1 { font: 600 clamp(42px, 6.5vw, 86px)/1.05 var(--display); letter-spacing: -.035em; margin: 20px 0; overflow-wrap: anywhere; }
.content-lead { font-size: clamp(18px, 2vw, 23px); color: var(--muted); max-width: 65ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); }
.breadcrumbs a, .content-section a:not(.btn), .content-links a { text-decoration: underline; text-underline-offset: 4px; }
.content-section { max-width: 780px; margin: 44px 0; }
.content-section h2, .content-cta h2 { font: 600 clamp(25px, 3vw, 36px)/1.2 var(--display); letter-spacing: -.025em; margin-bottom: 20px; }
.content-section p + p { margin-top: 18px; }
.content-list { list-style: disc; padding-left: 24px; }
.content-list li + li { margin-top: 12px; }
.case-image img { width: 100%; border-radius: var(--radius); }
.case-image figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
.content-cta { margin-top: 64px; padding: clamp(24px, 5vw, 48px); background: var(--bg-2); border-radius: var(--radius); }
.content-cta .btn { margin-top: 24px; }
.faq-list { max-width: 860px; }
.faq-list details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { font: 600 clamp(18px, 2vw, 23px)/1.4 var(--display); cursor: pointer; }
.faq-list details p { margin-top: 16px; max-width: 70ch; color: var(--muted); }
.content-links { margin-top: 28px; }
.site-footer nav { flex-wrap: wrap; }
