/* ==========================================================================
   FrimannWeb — styles.css
   Håndkodet, ingen frameworks.

   INDHOLD
   1.  Design-tokens (farver, fonte, spacing) — REBRAND HER
   2.  Reset & basis
   3.  Typografi
   4.  Layout-hjælpere (container, sektioner, grid)
   5.  Knapper
   6.  Header & navigation
   7.  Hero
   8.  Trust-bar
   9.  Problem → løsning
   10. Ydelser / fordele
   11. Gratis website-tjek (bånd)
   12. Priser (pakker)
   13. Vedligeholdelsesabonnement
   14. Proces
   15. Hvorfor FrimannWeb (sammenligning)
   16. Cases (placeholder)
   17. FAQ (accordion)
   18. CTA-bånd
   19. Kontakt & formular
   20. Footer
   21. Cookie-banner
   22. Scroll-reveal & bevægelse
   23. Juridiske sider
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN-TOKENS — alt kan rebrandes her
   -------------------------------------------------------------------------- */
:root {
  /* Farver */
  --ink:        #14171C;   /* primær tekst / mørke sektioner */
  --paper:      #FBFBF9;   /* baggrund (varm hvid) */
  --surface:    #FFFFFF;   /* kort */
  --border:     #ECECE7;   /* diskrete kanter (dekorative) */
  --border-strong: #8E939E; /* tydelige kanter, fx formularfelter (WCAG-kontrast) */
  --muted:      #5B616E;   /* sekundær tekst */
  --accent:     #2E5BFF;   /* primær accent: links, highlights, CTA */
  --accent-ink: #1B3AB0;   /* mørkere accent til hover */
  --success:    #12A150;   /* checkmarks i pakkelister */

  /* Afledte farver (justeres sjældent) */
  --accent-soft:   rgba(46, 91, 255, 0.08);   /* let blå baggrundstone */
  --accent-border: rgba(46, 91, 255, 0.35);
  --accent-ring:   rgba(46, 91, 255, 0.28);   /* fokus-ring på formularfelter */
  --ink-soft:      rgba(255, 255, 255, 0.72); /* sekundær tekst på mørk baggrund */
  --ink-faint:     rgba(255, 255, 255, 0.10); /* kanter/flader på mørk baggrund */

  /* Typografi */
  --font-heading: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing-skala (8px-basis) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-14: 112px;

  /* Layout */
  --content-width: 1120px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 28, 0.05);
  --shadow: 0 8px 24px rgba(20, 23, 28, 0.07);
  --shadow-lift: 0 16px 40px rgba(20, 23, 28, 0.10);
  --shadow-accent: 0 16px 40px rgba(46, 91, 255, 0.18);
  --header-height: 72px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASIS
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-ink);
}

ul,
ol {
  list-style-position: inside;
}

/* Tydelige fokus-states (tastaturnavigation) */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Skip-link til skærmlæsere/tastatur */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* Kun synlig for skærmlæsere */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAFI
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 5.2vw, 3.375rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 42em;
}

/* Lille "kicker"-linje over overskrifter */
.kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

/* Fremhævet ord i overskrifter — diskret accent-underlinje */
.mark {
  position: relative;
  white-space: nowrap;
}

.mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.18em;
  background: var(--accent);
  opacity: 0.22;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   4. LAYOUT-HJÆLPERE
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section {
  padding-block: var(--space-8);
}

@media (min-width: 800px) {
  .section {
    padding-block: var(--space-14);
  }
}

.section--tight {
  padding-block: var(--space-6);
}

@media (min-width: 800px) {
  .section--tight {
    padding-block: var(--space-10);
  }
}

/* Mørk sektion */
.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--dark .lead,
.section--dark p {
  color: var(--ink-soft);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

/* Sektions-header (centreret intro) */
.section-head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-6);
}

@media (min-width: 800px) {
  .section-head {
    margin-bottom: var(--space-8);
  }
}

.section-head .lead {
  margin-inline: auto;
  margin-top: var(--space-2);
}

/* Simple grids */
.grid {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 700px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 700px) and (max-width: 999px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   5. KNAPPER
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

/* Primær: fyldt accent */
.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-ink);
  color: #fff;
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

/* Sekundær: outline */
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Lys knap til mørk/accent baggrund */
.btn--light {
  background: #fff;
  color: var(--accent-ink);
}

.btn--light:hover {
  background: var(--paper);
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.btn--lg {
  padding: 17px 34px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(251, 251, 249, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.logo .dot {
  color: var(--accent);
}

/* Navigation */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 6px 2px;
}

.site-nav a:hover {
  color: var(--accent);
}

.header-cta {
  display: inline-flex;
}

.header-cta .btn {
  padding: 10px 20px;
  font-size: 0.9375rem;
}

/* Burger-knap (kun mobil) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobil-navigation */
@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: var(--space-2) var(--space-3) var(--space-3);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 14px 8px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .header-cta {
    display: none;
  }

  /* På sider uden navigation (de juridiske sider) er CTA'en headerens
     eneste handling — behold den synlig på mobil */
  .site-header--simple .header-cta {
    display: inline-flex;
  }

  /* Uden JavaScript: vis navigationen som en simpel række links */
  .no-js .nav-toggle {
    display: none;
  }

  .no-js .site-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .no-js .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .no-js .site-nav a {
    border: 0;
    padding: 6px 2px;
    font-size: 0.875rem;
  }

  .no-js .site-header {
    height: auto;
    position: static;
  }

  .no-js .site-header .container {
    flex-wrap: wrap;
    padding-block: var(--space-2);
  }
}

/* Burger → kryds når menuen er åben */
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-8) var(--space-8);
}

@media (min-width: 900px) {
  .hero {
    padding-block: var(--space-12) var(--space-14);
  }
}

/* Diskret baggrund: blå glød + prikmønster */
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(46, 91, 255, 0.10) 0%, rgba(46, 91, 255, 0) 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 23, 28, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 980px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
  }
}

.hero h1 {
  margin-bottom: var(--space-3);
}

.hero .lead {
  margin-bottom: var(--space-4);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

/* Trust-linje under knapperne */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-3);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  color: var(--success);
  flex: none;
}

/* Gratis website-tjek — diskret pill-link i hero */
.hero-hook {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  color: var(--accent-ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.hero-hook:hover {
  background: rgba(46, 91, 255, 0.14);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.hero-hook .tag {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Hero-visual: stiliseret browser-mockup (ren CSS, dekorativt) */
.hero-visual {
  position: relative;
  display: none;
}

@media (min-width: 980px) {
  .hero-visual {
    display: block;
  }
}

.mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transform: rotate(0.6deg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.mockup-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-bar i:first-child {
  background: #f4b5ad;
}

.mockup-bar .mockup-url {
  margin-left: 10px;
  flex: 1;
  height: 22px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding-inline: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.mockup-body {
  padding: 26px 28px 30px;
  display: grid;
  gap: 18px;
}

.sk {
  border-radius: 6px;
  background: var(--border);
}

.sk--title {
  width: 70%;
  height: 20px;
  background: var(--ink);
  opacity: 0.85;
}

.sk--text {
  width: 88%;
  height: 10px;
}

.sk--text.short {
  width: 55%;
}

.sk--btn {
  width: 132px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.mockup-cards .card-sk {
  height: 74px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.card-sk .sk {
  height: 8px;
  width: 80%;
}

.card-sk .sk:first-child {
  width: 45%;
  height: 10px;
  background: var(--accent);
  opacity: 0.5;
}

/* Flydende chips ovenpå mockup */
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.chip svg {
  flex: none;
}

.chip--speed {
  top: -18px;
  right: 18px;
  color: var(--accent-ink);
}

.chip--own {
  bottom: -16px;
  left: -14px;
}

.chip--own svg {
  color: var(--success);
}

.chip--speed svg {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   8. TRUST-BAR
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--ink);
  color: #fff;
  padding-block: var(--space-3);
}

.trust-bar ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2) var(--space-3);
}

@media (min-width: 800px) {
  .trust-bar ul {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-bar li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.trust-bar svg {
  color: var(--accent);
  flex: none;
}

/* --------------------------------------------------------------------------
   9. PROBLEM → LØSNING
   -------------------------------------------------------------------------- */
.problem-grid {
  display: grid;
  gap: var(--space-4);
  align-items: stretch;
}

@media (min-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
}

.pain-list,
.fix-list {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.pain-list li,
.fix-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pain-list svg {
  color: #C4453A;
  flex: none;
  margin-top: 4px;
}

.fix-list svg {
  color: var(--success);
  flex: none;
  margin-top: 4px;
}

.problem-col h3 {
  margin-bottom: var(--space-3);
}

.problem-col--fix {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.problem-col--fix::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* --------------------------------------------------------------------------
   10. YDELSER / FORDELE
   -------------------------------------------------------------------------- */
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Hover-løft kun på enheder med rigtig mus/pegefelt — ellers "hænger"
   kortene i løftet tilstand efter et tryk på touchskærme */
@media (hover: hover) {
  .benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent-border);
  }
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.benefit-card h3 {
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   11. GRATIS WEBSITE-TJEK — smalt bånd
   -------------------------------------------------------------------------- */
.teardown {
  background: var(--accent-soft);
  border-block: 1px solid var(--accent-border);
  padding-block: var(--space-4);
}

.teardown .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.teardown-text {
  max-width: 620px;
}

.teardown-text h2 {
  font-size: 1.375rem;
  margin-bottom: 6px;
}

.teardown-text p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   12. PRISER (pakker)
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  gap: var(--space-3);
  align-items: stretch;
}

@media (min-width: 940px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    align-items: center;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .price-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

/* Den midterste pakke — "Mest populær" — skal dominere */
.price-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-accent);
  padding-block: var(--space-5);
  z-index: 1;
}

@media (min-width: 940px) {
  .price-card--featured {
    transform: scale(1.045);
  }
}

@media (min-width: 940px) and (hover: hover) {
  .price-card--featured:hover {
    transform: scale(1.045) translateY(-3px);
  }
}

.badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(46, 91, 255, 0.35);
}

.price-card .plan-name {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
}

.price-card .plan-tagline {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 2px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-block: var(--space-3);
  font-family: var(--font-heading);
}

.price .amount {
  font-size: 2.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price .prefix,
.price .suffix {
  color: var(--muted);
  font-size: 0.9375rem;
  font-family: var(--font-body);
}

.plan-features {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan-features svg {
  color: var(--success);
  flex: none;
  margin-top: 3px;
}

.plan-fit {
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: var(--space-2);
  margin-bottom: var(--space-3);
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 620px;
  margin: var(--space-5) auto 0;
}

/* --------------------------------------------------------------------------
   13. VEDLIGEHOLDELSESABONNEMENT
   -------------------------------------------------------------------------- */
.care {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.care-grid {
  display: grid;
  gap: var(--space-3);
  max-width: 820px;
  margin-inline: auto;
}

@media (min-width: 760px) {
  .care-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.care-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .care-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

.care-card--plus {
  border-color: var(--accent-border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.mini-badge {
  position: absolute;
  top: 0;
  right: var(--space-3);
  transform: translateY(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.care-card h3 {
  font-size: 1.25rem;
}

.care-price {
  font-family: var(--font-heading);
  margin-block: var(--space-2) var(--space-3);
}

.care-price .amount {
  font-size: 1.875rem;
  font-weight: 700;
}

.care-price .suffix {
  color: var(--muted);
  font-size: 0.9375rem;
  font-family: var(--font-body);
}

.care-card .plan-features {
  margin-bottom: 0;
}

/* "Nej tak"-linjen — abonnement er tydeligt valgfrit */
.care-optout {
  max-width: 820px;
  margin: var(--space-4) auto 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  color: var(--muted);
  font-size: 0.9375rem;
}

.care-optout svg {
  flex: none;
  margin-top: 3px;
  color: var(--muted);
}

.care-optout strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   14. PROCES
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--space-4);
  list-style: none;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
  }
}

.step {
  position: relative;
  padding-top: var(--space-2);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

/* Forbindelseslinje mellem trin (kun desktop) */
@media (min-width: 900px) {
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: calc(var(--space-2) + 22px);
    left: 56px;
    right: -8px;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      var(--border) 0 8px,
      transparent 8px 16px
    );
  }
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.process-note {
  margin-top: var(--space-5);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  max-width: 720px;
  margin-inline: auto;
}

.process-note svg {
  color: var(--accent);
  flex: none;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   15. HVORFOR FRIMANNWEB (mørk sammenligningssektion)
   -------------------------------------------------------------------------- */
.compare-grid {
  display: grid;
  gap: var(--space-3);
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 800px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-col {
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.compare-col--us {
  background: rgba(46, 91, 255, 0.12);
  border: 1px solid rgba(46, 91, 255, 0.45);
}

.compare-col--them {
  background: var(--ink-faint);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.compare-col h3 {
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-col ul {
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 0.9375rem;
}

.compare-col li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.compare-col--us svg {
  color: #6E8DFF;
  flex: none;
  margin-top: 3px;
}

.compare-col--them svg {
  color: rgba(255, 255, 255, 0.35);
  flex: none;
  margin-top: 3px;
}

.about-blurb {
  max-width: 640px;
  margin: var(--space-6) auto 0;
  text-align: center;
  color: var(--ink-soft);
}

.about-blurb strong {
  color: #fff;
}

/* --------------------------------------------------------------------------
   16. CASES (placeholder — skjult som standard)
   -------------------------------------------------------------------------- */
.case-card {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  min-height: 220px;
  align-content: center;
}

.case-card svg {
  color: var(--border);
}

.case-card h3 {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   17. FAQ (accordion med <details> — virker også uden JavaScript)
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: var(--space-2);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent-border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent-ink);
}

.faq-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.faq-icon::before {
  width: 10px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 10px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   18. AFSLUTTENDE CTA-BÅND
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-ink) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding-block: var(--space-10);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  max-width: 720px;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: var(--space-2);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-4);
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.cta-band .phone-link {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-band .phone-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   19. KONTAKT & FORMULAR
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 940px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-8);
  }
}

.contact-info h2 {
  margin-bottom: var(--space-2);
}

.contact-info .lead {
  margin-bottom: var(--space-4);
}

.contact-channels {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.contact-channels li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: var(--space-2) var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) {
  .contact-channels li a:hover {
    border-color: var(--accent-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }
}

.contact-channels svg {
  color: var(--accent);
  flex: none;
}

.contact-channels .channel-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 400;
}

/* Formular */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 600px) {
  .contact-form {
    padding: var(--space-5);
  }
}

.form-row {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

@media (min-width: 600px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.field label .optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: var(--space-2);
}

.contact-form .btn {
  width: 100%;
}

/* Kvitterings-/fejlbesked.
   Regionen er tom fra start (aria-live) og må ikke fylde noget —
   derfor ligger al box-styling på modifier-klasserne. */
.form-status {
  font-size: 0.9375rem;
}

.form-status--success,
.form-status--error {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}

.form-status--success {
  background: rgba(18, 161, 80, 0.10);
  border: 1px solid rgba(18, 161, 80, 0.35);
  color: #0B6B36;
}

.form-status--error {
  background: rgba(196, 69, 58, 0.08);
  border: 1px solid rgba(196, 69, 58, 0.30);
  color: #96352C;
}

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--ink-soft);
  padding-block: var(--space-8) var(--space-4);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer .logo {
  color: #fff;
  margin-bottom: var(--space-2);
}

.footer-tagline {
  max-width: 320px;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--ink-faint);
  padding-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   21. COOKIE-BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: var(--space-2);
  left: var(--space-2);
  right: var(--space-2);
  z-index: 150;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: var(--space-3);
}

@media (min-width: 600px) {
  .cookie-banner {
    left: var(--space-3);
    right: auto;
    bottom: var(--space-3);
  }
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner .btn {
  padding: 9px 16px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   22. SCROLL-REVEAL & BEVÆGELSE
   Diskret fade/slide-in. Kun når JavaScript kører, og aldrig hvis brugeren
   har slået animationer fra. Uden JS er alt indhold fuldt synligt.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Let forskudt reveal for kort i grids */
  .js .reveal:nth-child(2) {
    transition-delay: 0.07s;
  }

  .js .reveal:nth-child(3) {
    transition-delay: 0.14s;
  }

  .js .reveal:nth-child(4) {
    transition-delay: 0.07s;
  }

  .js .reveal:nth-child(5) {
    transition-delay: 0.14s;
  }

  .js .reveal:nth-child(6) {
    transition-delay: 0.21s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   23. JURIDISKE SIDER (privatlivspolitik.html + betingelser.html)
   -------------------------------------------------------------------------- */
.legal-page {
  padding-block: var(--space-8);
}

.legal-page .container {
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: var(--space-2);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-6);
}

.legal-page h2 {
  font-size: 1.375rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  margin-bottom: var(--space-2);
}

.legal-page ul {
  margin-bottom: var(--space-2);
  padding-left: var(--space-2);
}

.legal-page strong {
  color: var(--ink);
}

/* Gul markering af felter Mikkel selv skal udfylde */
.fill-in {
  background: rgba(255, 200, 0, 0.18);
  border-radius: 4px;
  padding: 1px 6px;
  font-style: normal;
  color: var(--ink);
  font-weight: 500;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
  text-decoration: none;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   24. PRINT
   Browsere fjerner som standard baggrundsfarver ved print — mørke sektioner
   ville ellers blive hvid tekst på hvidt papir. Scroll-reveal slås også fra,
   så indhold under folden ikke printes usynligt.
   -------------------------------------------------------------------------- */
@media print {
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .section--dark,
  .section--dark *,
  .trust-bar,
  .trust-bar *,
  .cta-band,
  .cta-band *,
  .site-footer,
  .site-footer * {
    color: var(--ink) !important;
  }

  .cookie-banner,
  .hero-visual,
  .nav-toggle {
    display: none !important;
  }

  .site-header {
    position: static;
  }
}
