/* ============================================================
   TYSON SOLUTIONS — style.css
   ============================================================ */

/* ============================================================
   SEKTION 1 — DESIGN SYSTEM VARIABLER
   ============================================================ */
:root {
  /* Brandfarver */
  --marine:        #1A3A4C;
  --himmelblaa:    #4A9ECC;
  --accent:        #2E7DB5;
  --skyfrost:      #E8F4FD;
  --soelvgraa:     #8EA8B8;
  --hvid:          #FFFFFF;
  --guld:          #C8921A;
  --tekst:         #1A1A2E;

  /* Semantiske farver */
  --bg-primary:    var(--hvid);
  --bg-secondary:  var(--skyfrost);
  --bg-dark:       var(--marine);
  --text-primary:  var(--tekst);
  --text-secondary:var(--soelvgraa);
  --text-invert:   var(--hvid);
  --border-color:  #D4E6F1;
  --shadow-color:  rgba(26, 58, 76, 0.12);

  /* Typografi */
  --font-heading:  'Raleway', sans-serif;
  --font-body:     'Inter', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-black:    900;

  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;

  /* Spacing (8px grid) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --section-sm:  var(--space-12);
  --section-md:  var(--space-20);
  --section-lg:  var(--space-24);

  /* Container */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1200px;
  --container-2xl: 1400px;

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Skygger */
  --shadow-xs:   0 1px 3px var(--shadow-color);
  --shadow-sm:   0 2px 8px var(--shadow-color);
  --shadow-md:   0 4px 16px var(--shadow-color);
  --shadow-lg:   0 8px 32px rgba(26, 58, 76, 0.16);
  --shadow-xl:   0 16px 48px rgba(26, 58, 76, 0.20);
  --shadow-card: 0 2px 12px rgba(26, 58, 76, 0.10);
  --shadow-card-hover: 0 8px 24px rgba(26, 58, 76, 0.18);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;

  /* Knapper */
  --btn-padding-y:    0.75rem;
  --btn-padding-x:    1.75rem;
  --btn-padding-y-sm: 0.5rem;
  --btn-padding-x-sm: 1.25rem;
  --btn-radius:       var(--radius-full);
  --btn-font-weight:  var(--weight-semibold);
  --btn-font-size:    var(--text-base);
  --btn-transition:   all var(--transition-base);

  /* Header */
  --header-height:     72px;
  --header-height-mob: 60px;
}


/* ============================================================
   SEKTION 2 — RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}


/* ============================================================
   SEKTION 3 — TYPOGRAFI
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  color: var(--text-primary);
}
h1 { font-size: clamp(2.2rem, 5vw, var(--text-6xl)); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--text-5xl)); }
h3 { font-size: clamp(1.35rem, 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); font-weight: var(--weight-bold); }
p  { line-height: var(--leading-relaxed); color: var(--text-primary); }

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--himmelblaa);
  margin-bottom: var(--space-3);
}
.section-title {
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: var(--space-8);
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.text-white, .text-white h1, .text-white h2, .text-white h3,
.text-white p, .text-white .section-eyebrow { color: var(--hvid) !important; }
.text-white .section-subtitle { color: rgba(255,255,255,0.75) !important; }
.text-white .section-eyebrow { color: var(--himmelblaa) !important; }


/* ============================================================
   SEKTION 4 — LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}
.container--narrow { max-width: var(--container-md); }
.container--wide   { max-width: var(--container-2xl); }

.section {
  padding-top: var(--section-md);
  padding-bottom: var(--section-md);
}
.section--sm {
  padding-top: var(--section-sm);
  padding-bottom: var(--section-sm);
}
.section--lg {
  padding-top: var(--section-lg);
  padding-bottom: var(--section-lg);
}
.section--dark {
  background: var(--bg-dark);
}
.section--secondary {
  background: var(--bg-secondary);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ============================================================
   SEKTION 5 — BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--btn-padding-y) var(--btn-padding-x);
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-weight: var(--btn-font-weight);
  font-size: var(--btn-font-size);
  transition: var(--btn-transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--himmelblaa);
  color: var(--hvid);
  border: 2px solid var(--himmelblaa);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 158, 204, 0.35);
}
.btn-secondary {
  background: var(--hvid);
  color: var(--marine);
  border: 2px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--himmelblaa);
  color: var(--himmelblaa);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--hvid);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--hvid);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--himmelblaa);
  border: 2px solid var(--himmelblaa);
}
.btn-outline:hover {
  background: var(--himmelblaa);
  color: var(--hvid);
  transform: translateY(-2px);
}
.btn-guld {
  background: var(--guld);
  color: var(--hvid);
  border: 2px solid var(--guld);
}
.btn-guld:hover {
  background: #b07b15;
  border-color: #b07b15;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 146, 26, 0.35);
}
.btn-sm {
  padding: var(--btn-padding-y-sm) var(--btn-padding-x-sm);
  font-size: var(--text-sm);
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
}
.btn-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}


/* ============================================================
   SEKTION 6 — HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: var(--z-sticky);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon svg { width: 52px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-tyson {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marine);
}
.logo-solutions {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--himmelblaa);
  margin-top: 2px;
}

/* Nav */
.main-nav { display: flex; }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-list a {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--tekst);
  position: relative;
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}
.nav-list a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--himmelblaa);
  transform: scaleX(0);
  transition: transform 200ms ease;
  transform-origin: left;
}
.nav-list a:hover { color: var(--himmelblaa); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { color: var(--himmelblaa); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + var(--space-3));
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--hvid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: var(--z-dropdown);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  white-space: nowrap;
}
.dropdown li a::after { display: none; }
.dropdown li a:hover { background: var(--skyfrost); color: var(--himmelblaa); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--marine);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav overlay —
   z-index SKAL ligge under header (--z-sticky = 200) fordi nav
   er inde i header's stacking context. Overlay over header = overlay
   opfanger alle tryk på nav-links. */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 58, 76, 0.5);
  z-index: calc(var(--z-sticky) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}


/* ============================================================
   SEKTION 7 — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  background: var(--marine);
  overflow: hidden;
  padding-top: var(--header-height);
}

/* Subtil grid-overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,158,204,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,158,204,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Scroll-indicator */
.hero::after {
  content: '';
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}
.hero-scroll-dot {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.55);
  border-radius: 2px;
  z-index: 3;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%  { transform: translateX(-50%) translateY(14px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(90px);
  opacity: 0.18;
  animation: blobFloat 16s ease-in-out infinite alternate;
}
.hero-blob--1 {
  width: 480px; height: 480px;
  background: var(--himmelblaa);
  top: -80px; right: -60px;
  animation-delay: 0s;
}
.hero-blob--2 {
  width: 340px; height: 340px;
  background: var(--accent);
  bottom: 0; left: 0;
  animation-delay: -5s;
}
.hero-blob--3 {
  width: 220px; height: 220px;
  background: var(--guld);
  top: 30%; right: 30%;
  animation-delay: -9s;
  opacity: 0.08;
}
@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(20px, -14px) scale(1.05); }
  100% { transform: translate(-14px, 12px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  max-width: 680px;
  color: var(--hvid);
  padding: var(--space-12) 0;
}

/* Fade-up entrance animations */
.hero-eyebrow,
.hero-title,
.hero-subtitle,
.hero-cta,
.hero-trust {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-eyebrow  { animation-delay: 0.05s; }
.hero-title    { animation-delay: 0.18s; }
.hero-subtitle { animation-delay: 0.30s; }
.hero-cta      { animation-delay: 0.42s; }
.hero-trust    { animation-delay: 0.54s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--himmelblaa);
  margin-bottom: var(--space-4);
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: var(--leading-tight);
  color: var(--hvid);
  margin-bottom: var(--space-5);
}
.hero-title span { color: var(--himmelblaa); }
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, var(--text-lg));
  line-height: var(--leading-relaxed);
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-8);
  max-width: 52ch;
}
.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.hero-trust {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}
.hero-trust-item svg {
  color: var(--himmelblaa);
  flex-shrink: 0;
}

/* Page Hero (undersider) */
.page-hero {
  background: linear-gradient(135deg, var(--marine) 0%, #213f54 100%);
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,158,204,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,158,204,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--bg-primary);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero h1 {
  color: var(--hvid);
  margin-bottom: var(--space-5);
}
.page-hero p {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.80);
  margin-bottom: var(--space-8);
}
.page-hero .breadcrumb {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-6);
}
.page-hero .breadcrumb a { color: var(--himmelblaa); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.4); }


/* ============================================================
   SEKTION 8 — STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--hvid);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-8) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stat-item { padding: var(--space-4); }
.stat-number {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: var(--text-4xl);
  color: var(--himmelblaa);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ============================================================
   SEKTION 9 — SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--hvid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.service-card--featured {
  border-color: var(--himmelblaa);
  box-shadow: 0 0 0 2px rgba(74, 158, 204, 0.25), var(--shadow-card);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--skyfrost);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--himmelblaa);
}
.service-card h3 { margin-bottom: var(--space-3); font-size: var(--text-2xl); }
.service-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  flex-grow: 1;
  font-size: var(--text-base);
}
.service-card-price {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-2xl);
  color: var(--marine);
  margin-bottom: var(--space-5);
}
.service-card-price span {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
}


/* ============================================================
   SEKTION 10 — PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--himmelblaa), var(--accent));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px; height: 56px;
  background: var(--marine);
  color: var(--hvid);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: var(--text-xl);
  margin: 0 auto var(--space-4);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--himmelblaa);
}
.process-step h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}


/* ============================================================
   SEKTION 11 — TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--hvid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base);
}
.testimonial-card:hover { transform: translateY(-3px); }
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--guld);
}
.testimonial-text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--tekst);
  font-style: italic;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--marine), var(--himmelblaa));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hvid);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  flex-shrink: 0;
}
.testimonial-name { font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.testimonial-company { font-size: var(--text-xs); color: var(--text-secondary); }


/* ============================================================
   SEKTION 12 — PRICING TABLE
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.pricing-card {
  background: var(--hvid);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.pricing-card--featured {
  border-color: var(--himmelblaa);
  background: var(--marine);
  color: var(--hvid);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--guld);
  color: var(--hvid);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.pricing-price {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: var(--text-5xl);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.pricing-price-note {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.pricing-card--featured .pricing-price-note { color: rgba(255,255,255,0.6); }
.pricing-features { margin-bottom: var(--space-8); }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border-color);
}
.pricing-card--featured .pricing-feature { border-color: rgba(255,255,255,0.1); }
.pricing-feature svg { color: var(--himmelblaa); flex-shrink: 0; }
.pricing-card--featured .pricing-feature svg { color: var(--himmelblaa); }


/* ============================================================
   SEKTION 13 — FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-item:first-child { border-top: 1px solid var(--border-color); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  color: var(--tekst);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--himmelblaa); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--skyfrost);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--himmelblaa);
  transition: transform var(--transition-base), background var(--transition-base);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  background: var(--himmelblaa);
  color: var(--hvid);
}
.faq-answer {
  display: none;
  padding-bottom: var(--space-5);
}
.faq-answer p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
.faq-answer.is-open { display: block; }


/* ============================================================
   SEKTION 14 — CONTACT FORM
   ============================================================ */
.contact-form-wrapper {
  background: var(--hvid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--tekst);
  margin-bottom: var(--space-2);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--skyfrost);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--tekst);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--himmelblaa);
  box-shadow: 0 0 0 3px rgba(74, 158, 204, 0.15);
  background: var(--hvid);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-submit-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}
.form-privacy {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* Contact layout (kontakt.html) */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-info h3 { margin-bottom: var(--space-6); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-color);
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--skyfrost);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--himmelblaa);
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
}
.contact-detail-value {
  font-weight: var(--weight-semibold);
  color: var(--tekst);
}


/* ============================================================
   SEKTION 15 — CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--marine) 0%, #1e4b64 100%);
  padding: var(--section-md) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: var(--himmelblaa);
  border-radius: var(--radius-full);
  filter: blur(100px);
  opacity: 0.12;
}
.cta-banner h2 { color: var(--hvid); margin-bottom: var(--space-4); }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: var(--space-8); font-size: var(--text-lg); max-width: 50ch; margin-left: auto; margin-right: auto; }


/* ============================================================
   SEKTION 16 — FEATURE GRID
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--hvid);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--himmelblaa);
  box-shadow: var(--shadow-sm);
}
.feature-item h4 { font-size: var(--text-lg); }
.feature-item p { font-size: var(--text-sm); color: var(--text-secondary); }


/* ============================================================
   SEKTION 17 — VALUE CARDS / BUNDLE HIGHLIGHT
   ============================================================ */
.value-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--hvid);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}
.value-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--marine), var(--himmelblaa));
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hvid);
  margin: 0 auto var(--space-5);
}
.value-card h4 { margin-bottom: var(--space-3); }
.value-card p { font-size: var(--text-sm); color: var(--text-secondary); }

.bundle-highlight {
  background: linear-gradient(135deg, var(--marine) 0%, #243f52 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  color: var(--hvid);
}
.bundle-highlight h2 { color: var(--hvid); margin-bottom: var(--space-4); }
.bundle-highlight p { color: rgba(255,255,255,0.80); margin-bottom: var(--space-6); }
.bundle-items { display: flex; flex-direction: column; gap: var(--space-3); }
.bundle-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--hvid);
}
.bundle-item svg { color: var(--himmelblaa); flex-shrink: 0; }


/* ============================================================
   SEKTION 18 — DIVERSE KOMPONENTER
   ============================================================ */

/* Trust badges */
.trust-badges {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
}
.trust-badge svg { color: var(--himmelblaa); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Case cards */
.case-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}
.case-result {
  text-align: center;
  padding: var(--space-6);
  background: var(--marine);
  border-radius: var(--radius-lg);
  min-width: 120px;
  flex-shrink: 0;
}
.case-result-number {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: var(--text-4xl);
  color: var(--himmelblaa);
  line-height: 1;
}
.case-result-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--space-1);
}
.case-body h4 { margin-bottom: var(--space-2); }
.case-body p { font-size: var(--text-sm); color: var(--text-secondary); }

/* Data dashboard mockup */
.data-dashboard {
  background: var(--marine);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  color: var(--hvid);
}
.dashboard-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.dashboard-metric {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid rgba(255,255,255,0.1);
}
.dashboard-metric-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-1);
}
.dashboard-metric-value {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-2xl);
  color: var(--himmelblaa);
}
.dashboard-metric-change {
  font-size: var(--text-xs);
  color: #4ade80;
  margin-top: var(--space-1);
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
  text-align: center;
  padding: var(--space-6);
  transition: transform var(--transition-base);
}
.portfolio-item:hover { transform: scale(1.02); }

/* Team card */
.team-card {
  text-align: center;
  background: var(--hvid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.team-avatar {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--marine), var(--himmelblaa));
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-name { font-family: var(--font-heading); font-weight: var(--weight-bold); margin-bottom: var(--space-1); }
.team-role { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--space-4); }
.team-bio  { font-size: var(--text-sm); color: var(--text-secondary); }


/* ============================================================
   SEKTION 19 — COOKIE CONSENT
   ============================================================ */

/* Baggrunds-overlay */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 58, 76, 0.45);
  z-index: calc(var(--z-modal) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cookie-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Banneret */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--hvid);
  border-top: 3px solid var(--himmelblaa);
  box-shadow: 0 -8px 40px rgba(26, 58, 76, 0.18);
  z-index: var(--z-modal);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: start;
  padding: var(--space-8) var(--space-6);
  max-width: var(--container-xl);
  margin: 0 auto;
}

.cookie-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.cookie-logo .logo-tyson    { font-size: 1rem; }
.cookie-logo .logo-solutions{ font-size: 0.5rem; }

.cookie-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-xl);
  color: var(--marine);
  margin-bottom: var(--space-2);
}
.cookie-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 70ch;
  margin-bottom: var(--space-5);
}
.cookie-text a {
  color: var(--himmelblaa);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Detalje-panel (skjult som standard) */
.cookie-details {
  display: none;
  margin-bottom: var(--space-5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cookie-details.is-open { display: block; }

.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-color);
}
.cookie-category:last-child { border-bottom: none; }

/* Toggle switch */
.cookie-toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  margin-top: 2px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: var(--soelvgraa);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-base);
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--hvid);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-toggle input:checked + .cookie-toggle-track {
  background: var(--himmelblaa);
}
.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-track {
  opacity: 0.55;
  cursor: not-allowed;
}

.cookie-category-info { flex: 1; }
.cookie-category-title {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--marine);
  margin-bottom: var(--space-1);
}
.cookie-category-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
.cookie-category-required {
  font-size: var(--text-xs);
  color: var(--himmelblaa);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--space-1);
}

/* Knap-gruppe */
.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 200px;
}
.cookie-btn-accept {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--himmelblaa);
  color: var(--hvid);
  border: 2px solid var(--himmelblaa);
  border-radius: var(--radius-full);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
  white-space: nowrap;
}
.cookie-btn-accept:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.cookie-btn-necessary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--marine);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
  white-space: nowrap;
}
.cookie-btn-necessary:hover {
  border-color: var(--himmelblaa);
  color: var(--himmelblaa);
}
.cookie-btn-settings {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  font-size: var(--text-xs);
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}
.cookie-btn-settings:hover { color: var(--himmelblaa); }

.cookie-btn-save {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--marine);
  color: var(--hvid);
  border: 2px solid var(--marine);
  border-radius: var(--radius-full);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
}
.cookie-btn-save:hover { background: var(--accent); border-color: var(--accent); }
.cookie-btn-save.is-visible { display: flex; }

/* Flydende "Cookieindstillinger"-knap (vises efter samtykke) */
.cookie-settings-trigger {
  position: fixed;
  bottom: var(--space-5);
  left: var(--space-5);
  background: var(--marine);
  color: var(--hvid);
  border: none;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  font-family: var(--font-body);
  cursor: pointer;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform var(--transition-base);
  transform: translateY(8px);
}
.cookie-settings-trigger.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-settings-trigger:hover {
  background: var(--himmelblaa);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .cookie-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
  .cookie-btn-accept,
  .cookie-btn-necessary { flex: 1; min-width: 140px; }
}
@media (max-width: 480px) {
  .cookie-actions { flex-direction: column; }
  .cookie-btn-accept,
  .cookie-btn-necessary { width: 100%; }
}


/* ============================================================
   SEKTION 20 — FOOTER
   ============================================================ */
.site-footer {
  background: var(--marine);
  color: rgba(255,255,255,0.75);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}
.footer-brand .logo-tyson  { color: var(--hvid); }
.footer-brand .logo-solutions { color: var(--himmelblaa); }
.footer-tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-4);
  color: rgba(255,255,255,0.60);
}
.footer-col h4 {
  color: var(--hvid);
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--himmelblaa); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition-fast); }
.footer-bottom a:hover { color: var(--himmelblaa); }


/* ============================================================
   SEKTION 20 — RESPONSIVE
   ============================================================ */

/* Process-grid modifiers (3- og 4-trins sider) */
.process-grid--3 { grid-template-columns: repeat(3, 1fr); }
.process-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Touch-forbedringer globalt */
@media (hover: none) {
  * { -webkit-tap-highlight-color: transparent; }
}
/* Forhindrer iOS auto-zoom ved input-fokus */
input, select, textarea {
  font-size: max(16px, 1rem);
}

/* 1100px tablet */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .bundle-highlight { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 1024px hamburger */
@media (max-width: 1024px) {
  :root { --header-height: var(--header-height-mob); }
  .hamburger { display: flex; }
  /* MOBILMENU-REGEL: ALDRIG display:flex her */
  .main-nav {
    display: block;
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100dvh; /* iOS-fix: dynamic viewport height */
    background: var(--marine);
    transform: translateX(110%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    z-index: var(--z-overlay);
    padding: var(--space-20) var(--space-6) var(--space-8);
  }
  /* Når menuen er åben: hæv header over alle overlay-lag så nav-links
     ikke blokeres af nav-overlay (stacking context fix for iOS Safari) */
  body.menu-open .site-header {
    z-index: 500;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .nav-overlay { display: block; }
  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    touch-action: manipulation; /* fjerner 300ms forsinkelse på iOS */
    cursor: pointer;            /* iOS kræver dette for pålidelige touch-events */
  }
  .nav-list a:hover { color: var(--himmelblaa); }
  .nav-list a::after { display: none; }
  .dropdown {
    position: static;
    transform: none;
    background: rgba(0,0,0,0.2);
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 0;
  }
  .dropdown.is-open { display: block; }
  .dropdown li a {
    padding: var(--space-3) var(--space-6);
    color: rgba(255,255,255,0.70);
    font-size: var(--text-base);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .has-dropdown { position: static; }
  .has-dropdown > a { pointer-events: auto; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid--4 { grid-template-columns: repeat(2, 1fr); }

  /* Hero på tablet */
  .hero { min-height: 70vh; }
  .hero-title { font-size: clamp(2rem, 5vw, 3.2rem); }
}

/* 768px tablet portræt */
@media (max-width: 768px) {
  /* Page-heroes */
  .page-hero { padding: var(--space-16) 0 var(--space-12); }
  .page-hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .page-hero p { font-size: var(--text-base); }

  /* Gratis analyse — to-kolonner dashboard til én */
  .analyse-hero-grid { grid-template-columns: 1fr; }
  .dashboard-row { grid-template-columns: 1fr; }
  .dashboard-mockup { display: none; } /* skjul desktop-mockup på tablet */

  /* Cases */
  .case-card { flex-direction: column; }
  .case-card-image { width: 100%; min-height: 220px; }

  /* Bundle */
  .bundle-highlight { grid-template-columns: 1fr; padding: var(--space-8); }

  /* Kontaktformular */
  .form-row { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Proces */
  .process-grid,
  .process-grid--3,
  .process-grid--4 { grid-template-columns: 1fr; }
}

/* 640px mobil */
@media (max-width: 640px) {
  .container { padding-left: var(--space-4); padding-right: var(--space-4); }
  .section { padding-top: var(--space-12); padding-bottom: var(--space-12); }

  /* Grids til 1 kolonne */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Hero */
  .hero { min-height: 65vh; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-subtitle { font-size: var(--text-base); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: var(--space-3); }
  /* Scroll-dot er lidt overflødig på mobil */
  .hero-scroll-dot, .hero::after { display: none; }

  /* Knapper */
  .btn { white-space: normal; text-align: center; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; justify-content: center; }

  /* Cases */
  .case-card { flex-direction: column; }
  .case-card-image { width: 100%; min-height: 200px; }

  /* Bundle */
  .bundle-highlight { padding: var(--space-6); }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--space-3); }

  /* Testimonials */
  .testimonial-card { padding: var(--space-6); }

  /* Cookie-banner på smal skærm */
  .cookie-inner {
    grid-template-columns: 1fr;
    padding: var(--space-6) var(--space-4);
    gap: var(--space-5);
  }
  .cookie-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .cookie-btn-accept, .cookie-btn-necessary { flex: 1 1 auto; }
  .cookie-btn-settings, .cookie-btn-save { width: 100%; }
  .cookie-actions .btn { width: 100%; justify-content: center; }

  /* Analyse-formular på smal skærm */
  .analyse-form-box { padding: var(--space-6) var(--space-5); }
}

/* 380px lille */
@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .stat-number { font-size: clamp(2rem, 10vw, 2.8rem); }
  /* Header CTA forsvinder på bittesmå skærme */
  .header-cta { display: none; }
}
