/* ============================================================
   Markus Johnsen Tutoring — lys & clean landingside
   Varm, neutral palet afstemt efter fotografierne (dagslys,
   træbord, hudtoner) så billeder og flader taler samme sprog.
   ============================================================ */

:root {
  --bg: #fbfaf7;
  --bg-2: #f5f2eb;
  --bg-3: #ffffff;
  --surface: #ffffff;
  --surface-2: #fdfcf9;
  --line: #eae5db;
  --line-strong: #ddd6c8;
  --text: #3c382f;
  --heading: #211e19;
  --muted: #6f685c;
  --gold: #d9912c;
  --gold-2: #9d5c0c;
  --clay: #9c4a45;
  --sage: #76856a;
  --grad-gold: linear-gradient(135deg, #f2be6a 0%, #e0a03c 50%, #c9811a 100%);
  --grad-text: linear-gradient(120deg, #c8821f, #a05c09);
  --shadow-sm: 0 2px 10px rgba(48, 36, 18, 0.05);
  --shadow-md: 0 12px 36px -10px rgba(48, 36, 18, 0.14);
  --shadow-lg: 0 30px 72px -24px rgba(48, 36, 18, 0.28);
  --radius: 20px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 5px; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { color: var(--heading); }

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

::selection { background: rgba(217, 145, 44, 0.28); }

/* ---------- Scroll progress ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 200;
  background: transparent;
}
.progress-bar span {
  display: block; height: 100%; width: 0;
  background: var(--grad-gold);
  box-shadow: 0 1px 6px rgba(240, 164, 55, 0.5);
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 clamp(16px, 4vw, 40px);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--heading);
}
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-gold);
  color: #2a1d04;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em;
  box-shadow: 0 6px 18px -6px rgba(240, 164, 55, 0.55);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 0.98rem; font-weight: 700; }
.brand-text small { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.04em; }

.site-nav { display: flex; gap: clamp(14px, 2.2vw, 28px); white-space: nowrap; }
.site-nav a {
  position: relative;
  color: var(--muted); text-decoration: none;
  font-size: 0.92rem; font-weight: 600;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav a:hover { color: var(--heading); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--heading); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 12px; cursor: pointer; padding: 0 10px;
  box-shadow: var(--shadow-sm);
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--heading); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.97rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.button-primary {
  background: var(--grad-gold);
  color: #2a1d04;
  box-shadow: 0 10px 26px -8px rgba(240, 164, 55, 0.55);
}
.button-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px -8px rgba(240, 164, 55, 0.65);
}
.button-primary:active { transform: translateY(0) scale(0.99); }
.button-primary .arrow { transition: transform 0.25s ease; }
.button-primary:hover .arrow { transform: translateX(4px); }

.button-ghost {
  background: var(--surface);
  color: var(--heading);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.button-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 164, 55, 0.55);
  box-shadow: var(--shadow-md);
}
.button-small { padding: 10px 20px; font-size: 0.88rem; }
.button.full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) clamp(16px, 4vw, 40px) 80px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.aurora { position: absolute; inset: 0; z-index: -2; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-a {
  width: 55vw; height: 55vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at 30% 30%, rgba(224, 160, 60, 0.20), transparent 65%);
  top: -18%; left: -12%;
}
.blob-b {
  width: 48vw; height: 48vw; max-width: 660px; max-height: 660px;
  background: radial-gradient(circle at 60% 40%, rgba(156, 74, 69, 0.13), transparent 65%);
  bottom: -22%; right: -8%;
  animation-duration: 22s; animation-delay: -6s;
}
.blob-c {
  width: 34vw; height: 34vw; max-width: 480px; max-height: 480px;
  background: radial-gradient(circle at 50% 50%, rgba(118, 133, 106, 0.16), transparent 65%);
  top: 38%; left: 46%;
  animation-duration: 26s; animation-delay: -12s;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4vw, -3vh) scale(1.12); }
  100% { transform: translate(-3vw, 4vh) scale(0.95); }
}

.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(60, 48, 28, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 48, 28, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
}

.math-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glyph {
  position: absolute;
  left: var(--x); top: var(--y);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--s);
  color: rgba(33, 30, 25, 0.085);
  animation: floaty var(--d) ease-in-out infinite alternate;
  will-change: transform;
}
.glyph:nth-child(even) { color: rgba(160, 92, 9, 0.16); }
@keyframes floaty {
  from { translate: 0 -14px; rotate: -4deg; }
  to   { translate: 0 14px;  rotate: 5deg; }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(232, 160, 32, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 160, 32, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(232, 160, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 160, 32, 0); }
}

h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h1 em, .section-title em {
  font-style: italic;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin: 0 0 34px;
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}
.hero-lede strong { color: var(--heading); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 0; padding: 0; list-style: none;
  color: var(--muted); font-size: 0.9rem; font-weight: 600;
}
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; margin-right: 6px; }

/* ---------- Fotosystem: én ramme, alle billeder ---------- */
.photo-frame {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.photo-frame picture { display: block; }
.photo-frame img {
  width: 100%; height: auto;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Varm hinde, så fotografierne og paletten deler temperatur */
.photo-frame::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(155deg, rgba(224, 160, 60, 0.10), transparent 48%);
  pointer-events: none;
}
/* Hårfin indvendig kant — holder billedet adskilt fra den lyse baggrund */
.photo-frame::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(33, 30, 25, 0.11);
  pointer-events: none;
}
@media (hover: hover) {
  .photo-frame:hover img { transform: scale(1.04); }
}
.photo-frame.ratio-5-4 img { aspect-ratio: 5 / 4; }
.photo-frame.ratio-4-5 img { aspect-ratio: 4 / 5; }
.photo-frame.ratio-3-2 img { aspect-ratio: 3 / 2; }

.photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 11px;
  padding: 60px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(28, 20, 8, 0.62) 55%, rgba(28, 20, 8, 0.78));
  color: #fdf8ef;
  font-size: 0.86rem; font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.photo-caption .cap-dot {
  flex: 0 0 auto;
  width: 7px; height: 7px; border-radius: 50%;
  background: #f2be6a;
  box-shadow: 0 0 0 4px rgba(242, 190, 106, 0.22);
}

/* Hero-foto */
.hero-visual { position: relative; }
.hero-photo { transform: rotate(1.2deg); }

.float-chip {
  position: absolute;
  z-index: 4;
  display: flex; flex-direction: column;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  animation: bob 5.5s ease-in-out infinite;
}
.float-chip strong {
  font-family: var(--font-display);
  font-size: 1.35rem; line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.float-chip span { font-size: 0.74rem; color: var(--muted); font-weight: 600; }
.chip-a { top: -5%; right: -6%; animation-delay: 0s; }
.chip-b { bottom: 12%; left: -9%; animation-delay: -1.8s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.scroll-cue:hover { opacity: 1; }
.mouse {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  position: relative;
}
.wheel {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--gold);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 34px;
  width: max-content;
  animation: marquee 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic; font-size: 1.05rem;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track i { color: var(--gold); font-style: normal; font-size: 0.75rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(72px, 10vw, 130px) clamp(16px, 4vw, 40px);
}
.section-alt {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(217, 145, 44, 0.07), transparent),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-inner { width: min(1180px, 100%); margin: 0 auto; }
.section-inner.narrow { width: min(820px, 100%); }

.section-kicker {
  margin: 0 0 14px;
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-2);
}
.section-title {
  margin: 0 0 48px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 26ch;
}
.section-bridge {
  margin: 44px auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--heading);
  max-width: 46ch;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.glass-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.glass-card:hover,
.hover-lift:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 164, 55, 0.5);
  box-shadow: var(--shadow-md);
}
.glass-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem; font-weight: 700;
  line-height: 1.35;
}
.glass-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(240, 164, 55, 0.16), rgba(240, 164, 55, 0.05));
  border: 1px solid rgba(240, 164, 55, 0.35);
  color: var(--gold-2);
}
.card-icon svg { width: 24px; height: 24px; }

.tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(240, 164, 55, 0.1);
  border: 1px solid rgba(240, 164, 55, 0.3);
}

/* ---------- Steps ---------- */
.forlob-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.forlob-photo { transform: rotate(-1deg); }

.steps.stacked { grid-template-columns: 1fr; gap: 16px; }
.steps.stacked .step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px 28px;
}
.steps.stacked .step-num { width: 50px; height: 50px; margin-bottom: 0; font-size: 1.18rem; }
.steps.stacked .step:not(:last-child)::before { display: none; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.step {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(240, 164, 55, 0.5); box-shadow: var(--shadow-md); }
.step-num {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #fdf4e3;
  border: 1px solid rgba(217, 145, 44, 0.5);
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--gold-2);
}
.step-num::after {
  content: "";
  position: absolute; inset: -7px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 160, 32, 0.4);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.step h3 { margin: 0 0 10px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.step:not(:last-child)::before {
  content: "";
  position: absolute; top: 61px; right: -22px;
  width: 22px; height: 1px;
  background: linear-gradient(90deg, rgba(232, 160, 32, 0.6), transparent);
}

/* ---------- Stats band ---------- */
.stats-band {
  padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 40px);
  background:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(224, 160, 60, 0.13), transparent),
    #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat > span {
  display: block; margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem; font-weight: 600;
}

/* ---------- Om Markus ---------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-photo { transform: rotate(-1.2deg); }
.about-copy p { color: var(--muted); }
.about-copy p .ital { color: var(--heading); font-family: var(--font-display); }

.check-list {
  margin: 28px 0 0; padding: 0;
  list-style: none;
  display: grid; gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 38px;
  font-weight: 600; font-size: 0.97rem;
  color: var(--heading);
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: rgba(240, 164, 55, 0.14);
  border: 1px solid rgba(240, 164, 55, 0.45);
  color: var(--gold-2);
  font-size: 0.8rem; font-weight: 800;
}

/* ---------- Priser ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: 26px;
}
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 40px 36px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(170deg, #fdf4e3, #ffffff 55%);
  border-color: rgba(232, 160, 32, 0.55);
  box-shadow: 0 24px 60px -24px rgba(232, 160, 32, 0.35);
}
.price-card .badge {
  position: absolute; top: -14px; left: 36px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #2a1d04;
  font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 8px 18px -6px rgba(232, 160, 32, 0.6);
}
.price-card h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--muted); }
.price-card > .button { margin-top: auto; }
.price {
  margin: 0 0 24px;
  font-family: var(--font-display);
  color: var(--heading);
}
.price-num {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price .per { color: var(--muted); font-family: var(--font-body); font-size: 0.95rem; }
.price-card ul {
  margin: 0 0 30px; padding: 0;
  list-style: none;
  display: grid; gap: 12px;
}
.price-card li {
  position: relative;
  padding-left: 28px;
  color: var(--muted); font-size: 0.95rem;
}
.price-card li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--gold-2); font-weight: 800;
}

/* ---------- Testimonials ---------- */
.quote-card { margin: 0; padding-top: 44px; }
.quote-mark {
  position: absolute; top: 8px; left: 22px;
  font-family: var(--font-display);
  font-size: 4.6rem; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.9;
}
.quote-card blockquote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem; line-height: 1.5;
  color: var(--heading);
}
.quote-card figcaption {
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open { border-color: rgba(232, 160, 32, 0.5); box-shadow: var(--shadow-md); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none; border: 0;
  font-family: var(--font-body);
  font-size: 1.02rem; font-weight: 700;
  color: var(--heading);
  text-align: left;
  cursor: pointer;
}
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(217, 145, 44, 0.55);
  background: #fdf4e3;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--gold-2);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon::after { transform: rotate(0deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted); font-size: 0.96rem;
}

/* ---------- Kontakt ---------- */
.section-contact {
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(118, 133, 106, 0.09), transparent),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.contact-glow {
  position: absolute;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  top: -20%; right: -25%;
  background: radial-gradient(circle, rgba(224, 160, 60, 0.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  position: relative;
}
.contact-copy p { color: var(--muted); }

.person-card {
  display: flex; align-items: center; gap: 16px;
  margin-top: 30px;
  padding: 16px 20px 16px 16px;
  border-radius: 18px;
  background: linear-gradient(150deg, #fffaf0, var(--surface) 60%);
  border: 1px solid rgba(217, 145, 44, 0.28);
  box-shadow: var(--shadow-sm);
}
.person-card img {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(217, 145, 44, 0.45);
}
.person-card p { margin: 0; font-size: 0.92rem; line-height: 1.5; }
.person-card strong { display: block; color: var(--heading); font-size: 0.95rem; }

.direct-contact { display: grid; gap: 14px; margin-top: 22px; }
.direct-contact a {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--heading);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.direct-contact a:hover { transform: translateX(6px); border-color: rgba(232, 160, 32, 0.5); box-shadow: var(--shadow-md); }
.dc-icon {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(240, 164, 55, 0.12);
  border: 1px solid rgba(240, 164, 55, 0.4);
  color: var(--gold-2);
}
.dc-icon svg { width: 21px; height: 21px; }
.direct-contact small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.direct-contact strong { font-size: 1.02rem; }
/* Mailadressen er én lang streng uden orddelinger. Uden de to regler her sætter
   den en minimumsbredde på hele kolonnen, og på smalle telefoner (320px) skubbes
   afsnittene ud over skærmkanten, så teksten bliver klippet. */
.direct-contact a > span:last-child { min-width: 0; }
.direct-contact strong { overflow-wrap: anywhere; }

.contact-form { display: grid; gap: 18px; padding: 34px 32px; box-shadow: var(--shadow-md); }
.contact-form:hover { transform: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: grid; gap: 8px;
  font-size: 0.86rem; font-weight: 700;
  color: var(--heading);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 164, 55, 0.18);
}
.form-note { margin: 0; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #23201a;
  padding: 44px clamp(16px, 4vw, 40px) calc(44px + 70px);
}
.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand p { margin: 0; color: #b0a795; font-size: 0.88rem; line-height: 1.5; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a {
  color: #b0a795; text-decoration: none;
  font-size: 0.9rem; font-weight: 600;
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: #f2be6a; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 50px -10px rgba(48, 36, 18, 0.3);
  transform: translateY(120%);
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-cta.show { transform: translateY(0); visibility: visible; }
.mobile-cta .button { flex: 1; padding: 12px 10px; font-size: 0.9rem; }

/* ---------- Reveal animations ---------- */
.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal.visible,
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Undervisningssider ---------- */
.detail-hero {
  min-height: 0;
  padding-top: calc(var(--header-h) + clamp(56px, 7vw, 100px));
  padding-bottom: clamp(64px, 7vw, 104px);
}
.detail-hero h1 { max-width: 18ch; }
.detail-hero .hero-visual { width: 100%; min-width: 0; }
.course-overview {
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(150deg, #fdf4e3, #ffffff 75%);
  border: 1px solid rgba(232, 160, 32, 0.4);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.course-overview:hover { transform: none; }
.course-size {
  margin: 10px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 1.05;
  color: var(--heading);
}
.course-size span {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}
.course-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.course-tags .tag { margin: 0; }
.course-summary { color: var(--muted); margin: 24px 0; }
.course-price {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
}
.course-price strong {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-2);
}
.course-price span { display: block; font-size: 0.88rem; }
.package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.package-grid .price-card { padding: 38px 28px 30px; }
.package-grid .price { margin-bottom: 12px; }
.package-total { margin: 0 0 24px; color: var(--muted); font-size: 0.9rem; }
.package-total strong { color: var(--heading); }
.pricing-note {
  max-width: 72ch;
  margin: 30px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}
.glass-card .pricing-note { margin-top: 24px; text-align: left; }
.form-feedback {
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.faq-a a, .contact-copy a:not(.button), .form-note a { color: var(--gold-2); text-underline-offset: 3px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .float-chip { display: none; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo { max-width: 620px; }
  .forlob-layout { grid-template-columns: 1fr; gap: 40px; }
  .forlob-photo { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 1100px) {
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 12px; right: 12px;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-strong);
    box-shadow: 0 24px 60px -12px rgba(48, 36, 18, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .site-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .site-nav a:hover { background: var(--bg-2); }
  .site-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .button { display: none; }
}

@media (max-width: 820px) {
  .card-grid.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps.stacked .step { grid-template-columns: auto minmax(0, 1fr); padding: 22px 20px; gap: 16px; }
  .step:not(:last-child)::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .price-grid { grid-template-columns: 1fr; }
  .package-grid { max-width: 540px; margin-inline: auto; gap: 34px; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  .scroll-cue { display: none; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* Safari på iOS zoomer ind på siden, når man trykker i et felt med skrift
     under 16px — og zoomer ikke ud igen. 16px holder den i ro. */
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }

  /* Større trykflader på de links, der ellers kun er 24px høje. */
  .nav-toggle { width: 44px; height: 44px; }
  .footer-nav { gap: 8px 20px; }
  .footer-nav a {
    display: inline-flex; align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .card-grid.four { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: 56px; }
  .hero-actions .button { width: 100%; }
  .photo-caption { padding: 46px 16px 16px; font-size: 0.8rem; }
  .brand-text small { display: none; }
  .price-card { padding: 34px 24px; }
  .contact-form { padding: 28px 20px; }
  .detail-hero .eyebrow { font-size: 0.72rem; padding-inline: 12px; }
}

/* Honeypot: usynligt felt, som kun automatiske udfyldere rammer. Skjules uden
   display:none, da nogle bots springer skjulte felter over. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  margin: 0;
}

/* ---------- Privatlivspolitik ---------- */
.legal-page { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)); }
.legal-page h1.section-title { margin-bottom: 26px; }

.legal-lead {
  margin: 0 0 14px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 1.04rem;
  color: var(--heading);
}
.legal-updated {
  margin: 0 0 44px;
  font-size: 0.84rem;
  color: var(--muted);
}

.legal-page h2 {
  margin: 46px 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.25;
}
.legal-page h3 {
  margin: 30px 0 10px;
  font-size: 1.04rem;
  font-weight: 700;
}
.legal-page p { color: var(--text); }
.legal-page ul { margin: 0 0 18px; padding-left: 22px; color: var(--text); }
.legal-page li { margin-bottom: 7px; }
.legal-page a { color: var(--gold-2); }

.legal-contact { list-style: none; padding-left: 0; }

/* Tabellerne skal kunne rulle vandret på en telefon i stedet for at
   presse hele siden ud i bredden. */
.legal-table-wrap { overflow-x: auto; margin: 0 0 20px; }
.legal-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 460px;
  font-size: 0.92rem;
}
.legal-table th, .legal-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.legal-table th {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--line-strong);
}
.legal-table tbody tr:last-child td { border-bottom: 0; }

.legal-callout {
  margin: 22px 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(150deg, #fdf4e3, var(--surface) 65%);
  border: 1px solid rgba(217, 145, 44, 0.35);
}

/* Diskret link til politikken under formularerne. */
.form-note .privacy-link { white-space: nowrap; }
