/* =========================================================
   Kova — single page website
   Alle farver, afstande og radier styres af variablerne
   herunder, så temaet kan justeres ét sted.
   ========================================================= */

:root {
  /* Baggrunde */
  --bg:           #120a1a;
  --bg-alt:       #1a1026;
  --bg-deep:      #0d0713;
  --surface:      #1e1429;
  --surface-2:    #241931;

  /* Lilla */
  --purple:       #9333ea;
  --purple-hi:    #a855f7;
  --purple-soft:  #c084fc;
  --purple-deep:  #4c1d95;

  /* Tekst */
  --text:         #f4eefb;
  --text-muted:   #a394b8;
  --text-dim:     #7d6f92;

  /* Linjer */
  --line:         rgba(255, 255, 255, .07);
  --line-strong:  rgba(255, 255, 255, .14);

  /* Typografi */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-display-xl: clamp(2.35rem, 1.5rem + 3.2vw, 3.5rem);
  --fs-display-lg: clamp(2rem, 1.2rem + 3.2vw, 3.25rem);
  --fs-display-md: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);

  /* Afstand */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 7rem;

  /* Form */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --glow: 0 0 32px rgba(147, 51, 234, .55);

  --container: 1120px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0 0 var(--sp-4); color: var(--text); line-height: 1.2; }
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

a { color: var(--purple-soft); text-decoration: none; }
a:hover { text-decoration: none; }

button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--purple-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Serif-display */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--text);
}

h1.display { font-size: var(--fs-display-xl); }
h2.display { font-size: var(--fs-display-lg); }
h3.display { font-size: var(--fs-display-md); }

.accent { color: var(--purple-hi); }

/* ---------- Hjælpeklasser ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container-narrow { max-width: 760px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: var(--sp-4);
  z-index: 200;
  padding: var(--sp-3) var(--sp-4);
  background: var(--purple);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--sp-3); }

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--purple-hi);
  margin-bottom: var(--sp-4);
}

.micro { font-size: .75rem; color: var(--text-dim); }
.center { text-align: center; }

/* ---------- Knapper ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-hi); }

.btn-outline {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-outline:hover { background: rgba(255, 255, 255, .08); }

.btn-glow { box-shadow: var(--glow); }
.btn-sm  { padding: .55rem 1.1rem; font-size: .8125rem; }
.btn-lg  { padding: .95rem 1.9rem; font-size: .9375rem; }
.btn-block { display: flex; width: 100%; }

.btn[disabled] {
  opacity: .35;
  pointer-events: none;
}

.text-link {
  display: inline-block;
  color: var(--purple-hi);
  font-weight: 600;
  font-size: .875rem;
}
.text-link:hover { color: var(--purple-soft); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 10, 26, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

/* Logo-lockup: symbol + wordmark. Begge skaleres ud fra --logo-h,
   så forholdet mellem dem holder på alle skærmstørrelser. */
.logo {
  --logo-h: 21px;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .55rem;
}
.logo img { width: auto; }
.logo-word   { height: var(--logo-h); }
.logo-symbol { height: calc(var(--logo-h) * 1.24); }

.site-footer .logo { --logo-h: 19px; }

.nav {
  margin-inline: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s ease;
}
.nav-link:hover,
.nav-link.is-active { color: var(--text); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 16px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after  { top: 5px; }

/* ---------- Sektioner ---------- */

.section {
  position: relative;
  padding-block: var(--sp-9);
  scroll-margin-top: var(--header-h);
}
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 660px;
  margin: 0 auto var(--sp-8);
  text-align: center;
}
.section-head h2 { margin-bottom: var(--sp-5); }
.section-sub { color: var(--text-muted); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: var(--sp-9);
  scroll-margin-top: var(--header-h);
  background:
    radial-gradient(620px 420px at 4% 34%, rgba(147, 51, 234, .20), transparent 70%),
    radial-gradient(760px 500px at 96% 74%, rgba(147, 51, 234, .16), transparent 70%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.99fr);
  gap: var(--sp-7);
  align-items: center;
}

.pill {
  display: inline-block;
  padding: .35rem 1rem;
  margin-bottom: var(--sp-5);
  border: 1px solid rgba(168, 85, 247, .4);
  border-radius: 999px;
  background: rgba(147, 51, 234, .12);
  color: var(--purple-soft);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: var(--sp-5); }

.lead {
  max-width: 46ch;
  margin-bottom: var(--sp-6);
  color: var(--text-muted);
  line-height: 1.8;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

/* Hero-medie (placeholder) */

.media-frame {
  position: relative;
  border: 1px solid rgba(168, 85, 247, .28);
  border-radius: var(--radius-lg);
  background: rgba(30, 20, 41, .55);
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .45),
    0 0 60px rgba(147, 51, 234, .22);
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Feature-grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.feature-card {
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, .35);
  background: var(--surface-2);
}

.feature-icon {
  display: block;
  margin-bottom: var(--sp-5);
  font-size: 1.375rem;
  line-height: 1;
}

.feature-card h3 {
  margin-bottom: var(--sp-3);
  font-size: 1rem;
  font-weight: 600;
}
.feature-card p {
  font-size: .8125rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---------- Split-kort ---------- */

.split-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.split-copy {
  padding: var(--sp-8) var(--sp-7);
  background: linear-gradient(135deg, #3b1568 0%, #2a1049 55%, #1e1032 100%);
}
.split-copy h3 { margin-bottom: var(--sp-5); }
.split-copy p {
  max-width: 46ch;
  margin-bottom: var(--sp-5);
  font-size: .875rem;
  color: #cbb8e0;
}

/* Billed-placeholder — bruges stadig i split-kortet */
.split-media {
  display: grid;
  place-items: center;
  min-height: 300px;
  background:
    linear-gradient(135deg, rgba(147, 51, 234, .35), rgba(76, 29, 149, .25)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    var(--surface);
}

/* Skærmbillede i Om os — samme ramme som hero'ens medie, så de to
   produktbilleder på siden ser ud til at høre sammen. */
.about-media {
  border: 1px solid rgba(168, 85, 247, .28);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, .40),
    0 0 50px rgba(147, 51, 234, .16);
}
.about-media img {
  display: block;
  width: 100%;
  height: auto;
}

.media-note {
  padding: .35rem .9rem;
  border: 1px dashed rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #d5c6e8;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Pricing ---------- */

.pricing {
  max-width: 640px;
  margin-inline: auto;
}

/* Vælgeren */

.plan-picker {
  --thumb: 22px;
  margin-bottom: var(--sp-7);
}

.picker-question {
  margin-bottom: var(--sp-4);
  text-align: center;
  font-weight: 600;
  color: var(--text);
}

.picker-value {
  margin-bottom: var(--sp-5);
  text-align: center;
  color: var(--text-dim);
}
.picker-value strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

/* Slideren. --fill sættes af js og farver sporet til venstre for grebet. */
.plan-range {
  --fill: 0%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 24px;
  margin: 0 0 var(--sp-3);
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.plan-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(to right,
      var(--purple) 0 var(--fill),
      rgba(255, 255, 255, .12) var(--fill) 100%);
}
.plan-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--thumb); height: var(--thumb);
  margin-top: calc((6px - var(--thumb)) / 2);
  border: 0;
  border-radius: 50%;
  background: var(--purple-hi);
  box-shadow: 0 0 0 5px rgba(147, 51, 234, .22);
}

.plan-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}
.plan-range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--purple);
}
.plan-range::-moz-range-thumb {
  width: var(--thumb); height: var(--thumb);
  border: 0;
  border-radius: 50%;
  background: var(--purple-hi);
  box-shadow: 0 0 0 5px rgba(147, 51, 234, .22);
}

/* Grebets centrum løber ikke kant til kant, men fra en halv grebsbredde
   inde i hver ende. Sporet for labels indsnævres tilsvarende, så hver label
   kan centreres præcist under sit stop. */
.plan-ticks {
  position: relative;
  height: 1.4em;
  margin-inline: calc(var(--thumb) / 2);
  font-size: .75rem;
  color: var(--text-dim);
}
.plan-ticks li {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.plan-ticks li:nth-child(1) { left: 0; }
.plan-ticks li:nth-child(2) { left: 33.333%; }
.plan-ticks li:nth-child(3) { left: 66.667%; }
.plan-ticks li:nth-child(4) { left: 100%; }

/* Kortet */

.plan-card {
  padding: var(--sp-7) var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.plan-variant[hidden] { display: none; }

.plan-name {
  margin-bottom: var(--sp-3);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-hi);
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}
.plan-price strong {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}
.plan-price span {
  font-size: .9375rem;
  color: var(--text-dim);
}

.plan-vat {
  margin-bottom: var(--sp-6);
  font-size: .8125rem;
  color: var(--text-dim);
}

.plan-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  margin-bottom: var(--sp-6);
}
.plan-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .875rem;
  color: var(--text);
}
.plan-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-check, #34d399);
  font-weight: 700;
}

/* Fælles fordele */

.plan-included {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  text-align: left;
}

.included-label {
  margin-bottom: var(--sp-4);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3) var(--sp-5);
}
.included-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .8125rem;
  color: var(--text-muted);
}
.included-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
}


/* ---------- About ---------- */

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: center;
  margin-bottom: var(--sp-8);
}

.about-copy h2 {
  margin-bottom: var(--sp-5);
  font-size: clamp(1.75rem, 1.15rem + 1.7vw, 2.375rem);
}
.about-copy p {
  max-width: 52ch;
  margin-bottom: var(--sp-5);
  font-size: .875rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-7);
  margin-top: var(--sp-6);
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--purple-hi);
  line-height: 1.2;
}
.stats span {
  font-size: .8125rem;
  color: var(--text-dim);
}

/* Hvem der skriver indholdet — det tungeste tillidssignal på siden,
   så det står som sit eget felt og ikke inde i brødteksten. */

.about-credit {
  max-width: 64ch;
  margin-inline: auto;
  padding: var(--sp-6);
  border: 1px solid rgba(168, 85, 247, .28);
  border-radius: var(--radius);
  background: rgba(147, 51, 234, .08);
  text-align: center;
}

.credit-label {
  margin-bottom: var(--sp-4);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-hi);
}

.credit-lead {
  margin-bottom: var(--sp-4);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
}

.credit-note {
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--text-muted);
}

.credit-phone {
  font-size: .875rem;
  color: var(--text-muted);
}
.credit-phone a {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.credit-phone a:hover { color: var(--purple-soft); }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(168, 85, 247, .3); }

.faq summary {
  position: relative;
  padding: var(--sp-4) var(--sp-7) var(--sp-4) var(--sp-5);
  list-style: none;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: var(--sp-5);
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple-hi);
  font-size: 1.125rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }

.faq-body {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: .8125rem;
  line-height: 1.8;
}

/* ---------- CTA-kort ---------- */

.cta-card {
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid rgba(168, 85, 247, .3);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(147, 51, 234, .35), transparent 70%),
    linear-gradient(160deg, #2b1348 0%, #1c1030 100%);
  text-align: center;
  scroll-margin-top: var(--header-h);
}
.cta-card h2 { margin-bottom: var(--sp-4); }
.cta-card p { margin-bottom: var(--sp-6); font-size: .875rem; }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: var(--sp-7);
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}
.footer-nav a {
  color: var(--text-muted);
  font-size: .8125rem;
}
.footer-nav a:hover { color: var(--text); }

.footer-copy {
  color: var(--text-dim);
  font-size: .75rem;
}

/* ---------- Responsivt ---------- */

@media (max-width: 980px) {
  .hero-inner,
  .about-split,
  .split-card {
    grid-template-columns: 1fr;
  }

  .hero-inner { gap: var(--sp-7); }
  .lead { max-width: none; }
  .about-split { gap: var(--sp-6); margin-bottom: var(--sp-8); }

  .split-copy { padding: var(--sp-7) var(--sp-6); }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}

@media (max-width: 760px) {
  :root { --sp-9: 4.5rem; --sp-8: 3rem; }

  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    margin: 0;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-3) var(--sp-5) var(--sp-5);
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a {
    display: block;
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--line);
  }

  .header-inner { gap: var(--sp-3); }
  .site-header .logo { --logo-h: clamp(15px, 4.6vw, 19px); gap: .45rem; }

  .header-cta { margin-left: auto; }
  .nav-toggle { display: grid; place-items: center; }

  .feature-grid { grid-template-columns: 1fr; }

  .plan-points { gap: var(--sp-2) var(--sp-5); }
  .included-list { grid-template-columns: 1fr; }

  .stats { gap: var(--sp-6); }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* Under 360px er der ikke plads til wordmark + knap + burger.
   Symbolet bærer identiteten alene; alt-teksten flytter med. */
@media (max-width: 359px) {
  .site-header .logo-word { display: none; }
  .site-header .logo-symbol { height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover,
  .feature-card:hover { transform: none; }
}
