/* ============================================================
   Skarpside — styles
   Palette: #101439 (navy) · #ffffff · #ff6f6f (coral)
   ============================================================ */

:root {
  /* brand */
  --navy:       #101439;
  --navy-deep:  #0a0d29;
  --navy-800:   #171c48;
  --navy-700:   #232a63;
  --coral:      #ff6f6f;
  --coral-soft: #ff9a9a;
  --white:      #ffffff;

  /* neutrals */
  --mist:       #f4f5fa;
  --mist-line:  #e2e5f0;
  --ink-muted:  #5d648a;
  --on-dark:    #a7adcf;
  --on-dark-dim:#6f76a3;

  /* type */
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* layout */
  --shell: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --r: 14px;

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .7s;
}

/* ── reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--coral); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--coral); color: var(--navy);
  padding: .75rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

/* fast header må ikke dække sektionen man hopper til */
section[id], #top { scroll-margin-top: 84px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── reveal-animation ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity var(--dur) var(--ease) var(--d, 0s),
    transform var(--dur) var(--ease) var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ── header ────────────────────────────────────────────── */
#top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease),
              border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
  padding-block: .35rem;
}
.site-header.stuck {
  background: rgba(10, 13, 41, .72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 72px;
}

.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo-mark {
  width: 13px; height: 13px; flex: none;
  background: var(--coral);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transition: transform .5s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(90deg); }
.logo-text {
  font-family: var(--display); font-weight: 700;
  font-size: 1.15rem; letter-spacing: -.02em;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
  position: relative;
  font-size: .925rem; font-weight: 500;
  color: var(--on-dark);
  transition: color .3s var(--ease);
  padding-block: .35rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--coral);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav .nav-cta {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  padding: .5rem 1.15rem;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--coral); border-color: var(--coral); color: var(--navy); }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
}
.burger span {
  display: block; height: 1.5px; background: var(--white);
  transition: transform .4s var(--ease), width .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { width: 24px; }
.burger span:nth-child(2) { width: 16px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { width: 24px; transform: translateY(-3.75px) rotate(-45deg); }

/* ── buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--body); font-size: .95rem; font-weight: 600;
  padding: .95rem 1.6rem;
  border-radius: 100px;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--coral); color: var(--navy);
  box-shadow: 0 6px 24px -8px rgba(255, 111, 111, .6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(255, 111, 111, .75);
}
.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .2);
}
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-lg { font-size: clamp(1rem, 2.5vw, 1.2rem); padding: 1.15rem 2.1rem; }

/* ── eyebrow ───────────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: .8rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.5rem;
}
.eyebrow-line { display: block; width: 34px; height: 1px; background: var(--coral); opacity: .5; }
.eyebrow.dark { color: var(--navy); }
.eyebrow.dark .eyebrow-line { background: var(--coral); opacity: 1; }

/* ── hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 120px; padding-bottom: 2rem;
  overflow: hidden;
  background: var(--navy);
}
.hero-glow {
  position: absolute; z-index: 0;
  width: 900px; height: 900px;
  top: -20%; right: -15%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 111, 111, .22), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(53, 66, 175, .35), transparent 62%);
  filter: blur(20px);
  border-radius: 50%;
  animation: drift 22s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-70px, 50px, 0) scale(1.12); }
}
.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; }

.hero-title {
  font-size: clamp(2.9rem, 8.5vw, 6.5rem);
  margin-bottom: 1.75rem;
  max-width: 15ch;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line-in { display: block; }
.hero-title em {
  font-style: normal;
  color: var(--coral);
  position: relative;
}

.hero-sub {
  max-width: 46ch;
  color: var(--on-dark);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-meta {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 3.5rem);
  padding-top: 2.5rem; margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .875rem; color: var(--on-dark-dim);
}
.hero-meta .k { color: var(--coral); font-weight: 600; margin-right: .45rem; font-family: var(--display); }
.scroll-hint {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-dim);
  transition: color .3s var(--ease);
}
.scroll-hint:hover { color: var(--white); }
.scroll-track {
  width: 22px; height: 34px; border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 20px; position: relative; flex: none;
}
.scroll-dot {
  position: absolute; left: 50%; top: 7px;
  width: 3px; height: 6px; border-radius: 3px; background: var(--coral);
  animation: dot 1.9s var(--ease) infinite;
  will-change: transform;
}
@keyframes dot {
  0%   { transform: translate(-50%, 0);    opacity: 0; }
  22%  { opacity: 1; }
  70%  { transform: translate(-50%, 13px); opacity: 0; }
  100% { transform: translate(-50%, 13px); opacity: 0; }
}

/* ── marquee ───────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .08);
  background: var(--navy-deep);
  padding-block: 1.15rem;
}
.marquee-track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  animation: slide 38s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  letter-spacing: -.01em;
  color: var(--on-dark);
  white-space: nowrap;
}
.marquee-track i { color: var(--coral); font-size: .55rem; font-style: normal; }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* ── sections ──────────────────────────────────────────── */
.section { padding-block: clamp(5rem, 12vw, 9rem); }
.section-light {
  background: var(--mist);
  color: var(--navy);
}
.sec-head { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.sec-title { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 22ch; }
.sec-title.light { color: var(--white); }
.lede { color: var(--ink-muted); max-width: 40ch; margin-top: 1.5rem; }
.lede.light { color: var(--on-dark); max-width: 52ch; }

/* ── ydelser ───────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--mist-line);
  border: 1px solid var(--mist-line);
  border-radius: var(--r);
  overflow: hidden;
}
.card {
  background: var(--mist);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background .45s var(--ease);
  position: relative;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--coral);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
}
.card:hover { background: var(--white); }
.card:hover::after { transform: scaleX(1); }
.card-num {
  font-family: var(--display); font-weight: 500;
  font-size: .8rem; letter-spacing: .1em;
  color: var(--coral);
  display: block; margin-bottom: 2.5rem;
}
.card h3 { font-size: 1.4rem; margin-bottom: .85rem; }
.card p { color: var(--ink-muted); font-size: .95rem; margin-bottom: 1.5rem; }
.card ul { display: flex; flex-direction: column; gap: .5rem; }
.card li {
  font-size: .85rem; color: var(--navy);
  padding-left: 1.1rem; position: relative;
}
.card li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; background: var(--coral); border-radius: 50%;
}

/* ── arbejde ───────────────────────────────────────────── */
.work { display: flex; flex-direction: column; }
.work-item {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid rgba(255, 255, 255, .1);
  transition: padding-inline .5s var(--ease);
}
.work-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.work-art {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.work-art span {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: rgba(255, 255, 255, .9);
  letter-spacing: -.04em;
  mix-blend-mode: overlay;
}
.work-art::before {
  content: ""; position: absolute; inset: 0;
  background: inherit;
  transform: scale(1);
  transition: transform .8s var(--ease);
}
.art-1 { background: linear-gradient(135deg, #232a63, #101439 55%, #ff6f6f); }
.art-2 { background: linear-gradient(135deg, #ff6f6f, #101439 60%, #232a63); }
.art-3 { background: linear-gradient(135deg, #101439, #3a45a3 50%, #ff9a9a); }
.work-item:hover .work-art::before { transform: scale(1.08); }

.work-body h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: .75rem;
  transition: color .4s var(--ease);
}
.work-item:hover .work-body h3 { color: var(--coral); }
.work-body p { color: var(--on-dark); max-width: 48ch; margin-bottom: 1.25rem; }
.work-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600; color: var(--coral);
}
.work-link svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.work-item:hover .work-link svg { transform: translateX(5px); }

/* ── proces ────────────────────────────────────────────── */
.proces-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.proces-intro { position: sticky; top: 120px; }
.steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  padding-block: 1.9rem;
  border-top: 1px solid var(--mist-line);
}
.step:last-child { border-bottom: 1px solid var(--mist-line); }
.step-n {
  font-family: var(--display); font-weight: 700; font-size: .85rem;
  color: var(--coral); padding-top: .3rem;
}
.step h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.step p { color: var(--ink-muted); font-size: .95rem; max-width: 52ch; }

/* ── stats ─────────────────────────────────────────────── */
.stats-sec { background: var(--navy-deep); }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
.stat { display: flex; flex-direction: column; gap: .5rem; }
.stat-n {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-n i { font-style: normal; color: var(--coral); font-size: .55em; margin-left: .12em; }
.stat-n i.pre { margin-left: 0; margin-right: .05em; }
.stat-l {
  font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-dim);
}

/* ── cta ───────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  padding-block: clamp(5.5rem, 14vw, 10rem);
  text-align: center;
  background: var(--navy);
}
.cta-glow {
  position: absolute; z-index: 0;
  width: 780px; height: 780px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 111, 111, .17), transparent 62%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta .eyebrow { justify-content: center; }
.cta-title { font-size: clamp(2.1rem, 6vw, 4rem); margin-bottom: 1.25rem; }
.cta-sub { color: var(--on-dark); max-width: 44ch; margin-bottom: 2.5rem; }

/* ── footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.5rem 2.5rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-inline: auto; }
.footer-nav a { font-size: .9rem; color: var(--on-dark-dim); transition: color .3s var(--ease); }
.footer-nav a:hover { color: var(--coral); }
.copy { font-size: .85rem; color: var(--on-dark-dim); }

/* ── responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .proces-grid { grid-template-columns: 1fr; }
  .proces-intro { position: static; }
  .work-item { grid-template-columns: 1fr; }
  .work-art { max-width: 320px; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 auto 0;
    flex-direction: column; align-items: flex-start;
    gap: .5rem;
    background: rgba(10, 13, 41, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 100px var(--pad) 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translate3d(0, -100%, 0);
    opacity: 0;
    visibility: hidden;
    transition: transform .55s var(--ease), opacity .4s var(--ease), visibility .55s;
    will-change: transform;
  }
  .nav.open { transform: translate3d(0, 0, 0); opacity: 1; visibility: visible; }
  .nav a { font-family: var(--display); font-size: 1.75rem; color: var(--white); padding-block: .5rem; }
  .nav a::after { display: none; }
  .nav .nav-cta { margin-top: 1rem; font-size: 1rem; font-family: var(--body); }

  .hero-meta { flex-wrap: wrap; gap: 1rem 1.75rem; }
  .scroll-hint { display: none; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { max-width: none; }
  .footer-nav { margin-inline: 0; gap: 1rem; }
}

/* ── reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track, .hero-glow, .scroll-dot { animation: none !important; }
}

/* ============================================================
   PRISER-SIDE
   ============================================================ */

.page-head {
  position: relative; overflow: hidden;
  padding: 180px 0 clamp(4rem, 9vw, 7rem);
  background: var(--navy);
}
.page-head-inner { position: relative; z-index: 2; }
.page-title { font-size: clamp(2.4rem, 7vw, 4.5rem); margin-bottom: 1rem; }
.page-lede { color: var(--on-dark); max-width: 40ch; font-size: 1.1rem; }

/* ── layout ────────────────────────────────────────────── */
.calc-sec { padding-block: clamp(3.5rem, 8vw, 6rem); }
.calc {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.calc-options { min-width: 0; }

/* ── grundpakke ────────────────────────────────────────── */
.base { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--mist-line); }
.base-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem; margin-bottom: .75rem;
}
.base-row h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.base-price {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--coral); white-space: nowrap;
}
.base-incl { font-size: .92rem; color: var(--ink-muted); max-width: 54ch; }

/* ── tilvalg ───────────────────────────────────────────── */
.opts-label {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: .5rem;
}
.opts-label-2 { margin-top: 3rem; }

.opt {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--mist-line);
  cursor: pointer;
}
.opt:first-of-type { border-top: 1px solid var(--mist-line); }
.opts-label-2 + .opt { border-top: 1px solid var(--mist-line); }

.opt-name {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--navy);
  letter-spacing: -.01em;
}
.opt-right {
  display: inline-flex; align-items: center; gap: 1.25rem;
  flex: none; position: relative;
}
.opt-price {
  font-size: .9rem; color: var(--ink-muted);
  white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: color .3s var(--ease);
}
.opt:has(.sw-input:checked) .opt-price { color: var(--coral); font-weight: 600; }
.opt:has(.sw-input:checked) .opt-name { color: var(--navy); }

/* ── switch ────────────────────────────────────────────── */
.sw-input {
  position: absolute; right: 0; opacity: 0;
  width: 44px; height: 24px; margin: 0; cursor: pointer;
}
.sw {
  display: block; width: 44px; height: 24px; flex: none;
  background: #d3d8e6; border-radius: 100px;
  position: relative;
  transition: background .35s var(--ease);
}
.sw::after {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(16, 20, 57, .28);
  transition: transform .35s var(--ease);
}
.sw-input:checked + .sw { background: var(--coral); }
.sw-input:checked + .sw::after { transform: translateX(20px); }
.sw-input:focus-visible + .sw { outline: 2px solid var(--navy); outline-offset: 3px; }

/* ── stepper ───────────────────────────────────────────── */
.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--mist-line); border-radius: 100px;
  background: var(--white);
  padding: 2px;
}
.step-btn {
  width: 30px; height: 30px; flex: none;
  border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--navy);
  font-size: 1.05rem; line-height: 1;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.step-btn:hover { background: var(--coral); color: var(--navy); }
.step-val {
  width: 34px; text-align: center;
  border: 0; background: transparent;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  color: var(--navy);
  -moz-appearance: textfield;
}
.step-val::-webkit-outer-spin-button,
.step-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── opsummering ───────────────────────────────────────── */
.calc-summary { position: sticky; top: 110px; }
.sum {
  background: var(--navy); color: var(--white);
  border-radius: var(--r);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}
.sum-label {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-dark-dim); margin-bottom: .9rem;
}
.sum-total {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.3rem);
  line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.sum-total i { font-style: normal; font-size: .4em; color: var(--coral); margin-left: .12em; }
.sum-monthly { color: var(--coral); font-size: .95rem; font-weight: 600; margin-top: .6rem; }

.sum-meta {
  display: flex; align-items: center; gap: .55rem;
  font-size: .85rem; color: var(--on-dark);
  margin: 1.5rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.sum-dot { color: var(--on-dark-dim); }
.sum-cta { width: 100%; justify-content: center; }
.sum-note {
  font-size: .78rem; line-height: 1.55;
  color: var(--on-dark-dim); margin-top: 1rem;
}

/* ── proces på mørk baggrund ───────────────────────────── */
.steps-dark .step { border-top-color: rgba(255, 255, 255, .1); }
.steps-dark .step:last-child { border-bottom-color: rgba(255, 255, 255, .1); }
.steps-dark .step h3 { color: var(--white); }
.steps-dark .step p { color: var(--on-dark); }

/* ── mobil bundlinje ───────────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed; z-index: 90;
  left: 0; right: 0; bottom: 0;
  align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem var(--pad);
  background: rgba(10, 13, 41, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  transform: translate3d(0, 110%, 0);
  transition: transform .45s var(--ease);
  will-change: transform;
}
.mobile-bar.show { transform: translate3d(0, 0, 0); }
.mb-total {
  font-family: var(--display); font-weight: 700; font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.mobile-bar .btn { padding: .75rem 1.3rem; font-size: .9rem; }

/* ── responsiv ─────────────────────────────────────────── */
@media (max-width: 940px) {
  .calc { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
}

@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  .calc-sec { padding-bottom: 6.5rem; }
  .page-head { padding-top: 145px; }
  .opt { gap: 1rem; }
  .opt-right { gap: .9rem; }
}

@media (max-width: 420px) {
  .opt-price { display: none; }          /* prisen står i totalen */
  .opt-step .opt-price { display: inline; }
}
