/* =========================================================
   DCEO – stylesheet
   Farver og mål styres af variablerne herunder.
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-950: #0f1628;
  --navy-900: #151e34;
  --navy: #1f2a44;
  --navy-700: #2b3a5e;
  --navy-600: #3a4b73;
  --brand: #1650a8;          /* logoets blå */
  --blue: #2f6fe0;           /* knapper og links */
  --blue-600: #255bc0;
  --blue-300: #8fb4ff;
  --ai: #4f7cff;             /* spor: AI & automatisering */
  --ai-soft: #e8eeff;
  --ecom: #13a3c4;           /* spor: E-commerce */
  --ecom-soft: #e2f5f9;
  --sky: #e1edf5;            /* lyseblå sektioner (fra det gamle tema) */
  --sky-50: #f3f8fc;
  --ink: #1b2337;
  --ink-2: #48526a;
  --ink-3: #6b7489;
  --line: #d9e3ee;
  --white: #fff;
  --success: #1f9d6b;
  --warning: #d98a1c;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 22, 40, .06), 0 2px 8px rgba(15, 22, 40, .05);
  --shadow: 0 2px 6px rgba(15, 22, 40, .06), 0 12px 32px rgba(15, 22, 40, .09);
  --shadow-lg: 0 24px 60px rgba(8, 14, 30, .28);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 76px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--navy); font-weight: 750; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 4px; }
::selection { background: #cfe0ff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 780px; }
.section { padding-block: var(--section); }
.section-sm { padding-block: calc(var(--section) * .6); }
.bg-sky { background: var(--sky-50); }
.bg-sky-strong { background: var(--sky); }
.bg-navy { background: var(--navy); color: #d7deeb; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: .9em; height: .9em; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: .98rem; font-weight: 650; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(47, 111, 224, .35); }
.btn-primary:hover { background: var(--blue-600); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
/* Sekundær knap på mørk baggrund */
.on-dark .btn-ghost, .bg-navy .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .cta .btn-ghost, .course-banner .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.on-dark .btn-ghost:hover, .bg-navy .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .cta .btn-ghost:hover, .course-banner .btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 1.05em; transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 30, 52, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { width: 150px; height: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .55em .85em; border-radius: 999px; border: 0; background: none;
  font: inherit; font-size: .95rem; font-weight: 550; color: #dfe6f3; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-link .icon { transition: transform .2s ease; }
.nav-cta { margin-left: 10px; }
.has-sub { position: relative; }
.sub-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 300px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub-menu, .has-sub.is-open .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover .nav-link .icon, .has-sub.is-open .nav-link .icon { transform: rotate(180deg); }
.sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); border-left: 3px solid transparent; }
.sub-menu a strong { display: block; font-size: .96rem; color: var(--navy); }
.sub-menu a span { display: block; font-size: .84rem; color: var(--ink-3); line-height: 1.4; }
.sub-menu a:hover, .sub-menu a[aria-current] { background: var(--sky-50); }
[data-track="ai"] .sub-menu a:hover, [data-track="ai"] .sub-menu a[aria-current] { border-left-color: var(--ai); }
[data-track="ecom"] .sub-menu a:hover, [data-track="ecom"] .sub-menu a[aria-current] { border-left-color: var(--ecom); }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  /* backdrop-filter ville gøre headeren til "containing block" for den faste menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-900); }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18);
    background: transparent; color: var(--white); cursor: pointer;
  }
  .nav-toggle .icon-close { display: none; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-900);
    padding: 16px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.1rem; border-radius: 10px; }
  .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; min-width: 0;
    background: transparent; padding: 0 0 8px 8px; display: none;
  }
  .has-sub.is-open .sub-menu { display: block; transform: none; }
  .has-sub:hover .sub-menu { transform: none; }
  .sub-menu a { color: #dfe6f3; }
  .sub-menu a strong { color: var(--white); }
  .sub-menu a span { color: #9aa7c0; }
  .sub-menu a:hover, .sub-menu a[aria-current] { background: rgba(255, 255, 255, .06); }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; padding: 1em; font-size: 1.05rem; }
}

/* ---------- Brødkrummer ---------- */
.breadcrumbs { padding-top: 18px; padding-bottom: 0; font-size: .86rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b5bfcf; }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }
.page-hero + .breadcrumbs, .hero ~ .breadcrumbs { display: none; }
.breadcrumbs.on-dark { position: absolute; z-index: 2; left: 0; right: 0; }

/* ---------- Hero (mørk) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(79, 124, 255, .35), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(19, 163, 196, .22), transparent 60%),
              linear-gradient(180deg, var(--navy-900), var(--navy));
  color: #cdd6e6;
}
.hero::before {
  /* pixel-mønster inspireret af logoet */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(rgba(143, 180, 255, .22) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 75%);
  mask-image: linear-gradient(115deg, transparent 35%, #000 75%);
}
.hero h1 { color: var(--white); }
.hero .lead { color: #c5cfe2; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero-inner.single { grid-template-columns: 1fr; max-width: 820px; }
.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-width: 420px; margin-left: auto;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -20px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: var(--shadow); max-width: 270px; font-size: .86rem; line-height: 1.35;
}
.hero-badge strong { display: block; color: var(--navy); font-size: .95rem; }
.hero-badge .badge-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #f5c542, #e2a21b); color: var(--white); display: grid; place-items: center; flex: none; }
.pixels { position: absolute; right: -18px; top: -18px; display: grid; grid-template-columns: repeat(4, 10px); gap: 5px; z-index: 2; }
.pixels i { width: 10px; height: 10px; background: var(--ai); border-radius: 2px; opacity: .85; }
.pixels i:nth-child(3n) { background: var(--ecom); opacity: .6; }
.pixels i:nth-child(4n+1) { opacity: .25; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.hero .eyebrow, .page-hero .eyebrow, .bg-navy .eyebrow { color: var(--blue-300); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.ai { color: var(--ai); }
.eyebrow.ecom { color: var(--ecom); }
.hero .eyebrow.ai, .page-hero .eyebrow.ai { color: #9fb6ff; }
.hero .eyebrow.ecom, .page-hero .eyebrow.ecom { color: #72d3e8; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.hero-actions { margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .93rem; color: #b8c3d8; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--blue-300); }

/* Undersidernes hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--navy-900), var(--navy)); color: #cdd6e6; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(143, 180, 255, .2) 1.2px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(110deg, transparent 45%, #000 85%); mask-image: linear-gradient(110deg, transparent 45%, #000 85%); }
.page-hero.track-ai { background: radial-gradient(900px 480px at 90% 0%, rgba(79, 124, 255, .38), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy)); }
.page-hero.track-ecom { background: radial-gradient(900px 480px at 90% 0%, rgba(19, 163, 196, .34), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy)); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.2vw, 3.2rem); }
.page-hero .lead { color: #c5cfe2; }
.page-hero .hero-inner { padding-block: clamp(48px, 7vw, 88px); }
.page-hero .hero-photo { aspect-ratio: 4 / 3; max-width: 520px; }
.page-hero .breadcrumbs { padding-top: 22px; }
.page-hero .breadcrumbs ol, .page-hero .breadcrumbs a { color: #9aa7c0; }
.page-hero .breadcrumbs a:hover { color: var(--white); }
.page-hero .breadcrumbs li + li::before { color: #5b6a8c; }

/* ---------- Sektionsoverskrift ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.bg-navy .section-head p { color: #b8c3d8; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.wide-text { grid-template-columns: 1.2fr .8fr; }
.split.reverse > :first-child { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.wide-text { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { margin: 0 auto; max-width: 340px; }
  .page-hero .hero-photo { max-width: 100%; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-badge { left: 8px; bottom: 12px; }
}

/* ---------- Spor-kort (forsiden) ---------- */
.tracks { margin-top: calc(var(--section) * -0.55); position: relative; z-index: 3; }
.track-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.track-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--track, var(--blue)); }
.track-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(15, 22, 40, .14); }
.track-card.ai { --track: var(--ai); --track-soft: var(--ai-soft); }
.track-card.ecom { --track: var(--ecom); --track-soft: var(--ecom-soft); }
.track-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--track-soft); color: var(--track); }
.track-icon .icon { width: 28px; height: 28px; }
.track-card h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 0; }
.track-card .for { font-weight: 600; color: var(--ink-2); margin: 0; }
.track-card ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; }
.track-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.track-card li .icon { color: var(--track); margin-top: 3px; }
.track-card .link-arrow { color: var(--track); margin-top: auto; }
.track-card .card-link { position: absolute; inset: 0; z-index: 1; }
.track-card .sub-links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--track-soft, var(--sky)); color: var(--navy); font-size: .85rem; font-weight: 600; text-decoration: none; }
.chip:hover { color: var(--navy); filter: brightness(.96); }

/* ---------- Kort ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sky); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.15rem; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card-body p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .82rem; color: var(--ink-3); }
.card .external { margin-top: auto; padding-top: 8px; position: relative; z-index: 2; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .02em; background: var(--sky); color: var(--navy); }
.tag.ai { background: var(--ai-soft); color: #2d4fc7; }
.tag.e-commerce { background: var(--ecom-soft); color: #0b7590; }
.tag.ledelse { background: #f1ecfb; color: #5b3fa6; }

/* Feature/ydelses-kort */
.feature { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); height: 100%; }
.bg-sky .feature, .bg-sky-strong .feature { border-color: transparent; box-shadow: var(--shadow-sm); }
.feature .f-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--brand); margin-bottom: 16px; }
.feature.ai .f-icon { background: var(--ai-soft); color: var(--ai); }
.feature.ecom .f-icon { background: var(--ecom-soft); color: var(--ecom); }
.feature h3 { font-size: 1.15rem; margin-bottom: .4em; }
.feature p { color: var(--ink-2); margin: 0 0 .8em; font-size: .98rem; }
.feature p:last-child { margin-bottom: 0; }
.feature .level { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; display: block; }

/* Tjekliste */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231650a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.bg-navy .checklist li::before, .hero .checklist li::before { background-color: rgba(255, 255, 255, .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }

/* Tal / stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--ink-3); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Logo-slider ---------- */
.logos { padding-block: 40px; border-block: 1px solid var(--line); background: var(--white); overflow: hidden; }
.logos p { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.logo-track { display: flex; gap: 64px; width: max-content; animation: scroll-logos 45s linear infinite; }
.logos:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s ease, opacity .2s ease; }
.logo-track img:hover { filter: none; opacity: 1; }
.logo-track img.invert { filter: grayscale(1) invert(1); }
.logo-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes scroll-logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 28px 48px; padding-inline: var(--gutter); } .logo-track .dup { display: none; } }

/* ---------- Kursus ---------- */
.course-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 24px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.course-date { width: 84px; text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.course-date .m { display: block; background: var(--ai); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 0; }
.course-date .d { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.2; padding-top: 4px; }
.course-date .y { display: block; font-size: .78rem; color: var(--ink-3); padding-bottom: 6px; }
.course-info h3 { margin: 0 0 6px; }
.course-info ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); font-size: .93rem; }
.course-info li { display: flex; align-items: center; gap: 6px; }
.course-info .icon { color: var(--ai); width: 1.05em; }
.course-price { text-align: right; }
.course-price strong { display: block; font-size: 1.5rem; color: var(--navy); }
.course-price small { display: block; color: var(--ink-3); margin-bottom: 10px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.open { color: var(--success); }
.status.few { color: var(--warning); }
.status.full { color: #c2410c; }
@media (max-width: 760px) {
  .course-card { grid-template-columns: auto 1fr; }
  .course-price { grid-column: 1 / -1; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
  .course-price small { margin: 0; }
}

/* Kursus-banner (forsiden) */
.course-banner {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); color: #d6def0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(79, 124, 255, .45), transparent 70%), var(--navy);
  position: relative; overflow: hidden;
}
.course-banner h2 { color: var(--white); margin-bottom: .3em; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.course-banner p { margin: 0; }
.course-banner .tag { background: rgba(255, 255, 255, .12); color: var(--white); margin-bottom: 12px; }
@media (max-width: 760px) { .course-banner { grid-template-columns: 1fr; } }

/* ---------- Pris-kort ---------- */
.price-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); height: 100%; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.price-card.featured::before { content: "Mest valgt"; position: absolute; top: -12px; left: 24px; background: var(--blue); color: var(--white); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.price-card p { color: var(--ink-2); font-size: .96rem; flex: 1; }
.price { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price strong { font-size: 1.6rem; color: var(--navy); letter-spacing: -.02em; }
.price span { display: block; font-size: .85rem; color: var(--ink-3); }

/* ---------- Referencer ---------- */
.ref-card .card-media { aspect-ratio: 16 / 10; }
.ref-card .card-body h3 { font-size: 1.1rem; }

/* ---------- Om-boks ---------- */
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.award { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--sky-50); border: 1px solid var(--line); margin-top: 24px; }
.award img { width: 92px; border-radius: 10px; }
.award strong { color: var(--navy); }

/* ---------- Video ---------- */
.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); aspect-ratio: 16 / 9; }
.video-wrap video, .video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-embed {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 1.6em 0;
  background: var(--navy) center / cover no-repeat; cursor: pointer;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed button {
  position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(180deg, rgba(15, 22, 40, .1), rgba(15, 22, 40, .55));
  color: var(--white); font: inherit; font-weight: 650; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.video-embed button .play { width: 72px; height: 72px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .15s ease; }
.video-embed button:hover .play { transform: scale(1.06); }
.video-embed button .play .icon { width: 28px; height: 28px; margin-left: 4px; }
.video-embed small { font-weight: 400; opacity: .8; font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 650; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: transform .2s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 18px; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px); background: radial-gradient(700px 360px at 100% 100%, rgba(79, 124, 255, .45), transparent 70%), var(--navy);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; color: #cdd6e6;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(143, 180, 255, .22) 1.2px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(90deg, transparent 50%, #000); mask-image: linear-gradient(90deg, transparent 50%, #000); }
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { margin: 0; max-width: 56ch; }
.cta-person { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.cta-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid rgba(255, 255, 255, .25); }
.cta-person strong { color: var(--white); display: block; }
.cta-person a { color: var(--blue-300); text-decoration: none; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Formularer ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--sky-50);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(47, 111, 224, .12); }
.form-note { font-size: .84rem; color: var(--ink-3); margin: 14px 0 0; }
.form-error { padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #9b1c1c; font-size: .95rem; margin-bottom: 18px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Kontakt-info ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .c-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { text-decoration: none; font-size: 1.1rem; font-weight: 600; }

/* ---------- Artikel / prosa ---------- */
.prose { font-size: 1.08rem; line-height: 1.75; color: #2b3449; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 1.8em 0 .55em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.15em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.6em auto; border: 1px solid var(--line); }
.prose figure { margin: 1.6em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: .88rem; color: var(--ink-3); text-align: center; margin-top: 8px; }
.prose a { word-break: break-word; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--blue); font-size: 1.15rem; color: var(--navy); }
.prose > p:first-child { font-size: 1.2rem; line-height: 1.65; color: var(--ink); }
.prose > p:first-child strong { font-weight: 600; }

.article-head { padding-block: clamp(40px, 6vw, 72px) 32px; }
.article-head h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--ink-3); font-size: .92rem; margin-top: 18px; }
.author { display: flex; align-items: center; gap: 10px; }
.author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; }
.author strong { color: var(--navy); }
.article-cover { margin-bottom: clamp(32px, 5vw, 56px); }
.article-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); max-height: 520px; object-fit: cover; }
.author-box { display: flex; gap: 20px; align-items: center; margin-top: 48px; padding: 24px; border-radius: var(--radius); background: var(--sky-50); border: 1px solid var(--line); }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.author-box p { margin: 4px 0 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 560px) { .author-box { flex-direction: column; align-items: flex-start; } }

/* Blog-filter */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; background: var(--white); }
.filter a:hover { border-color: var(--navy); color: var(--navy); }
.filter a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Nummererede trin (foredrag) */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.step::before { content: counter(step); width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.step h3 { margin: 0 0 4px; font-size: 1.1rem; }
.step p { margin: 0; color: #b8c3d8; }

/* Citat */
.quote { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.45; color: var(--white); font-weight: 600; letter-spacing: -.01em; margin: 0 0 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9aa7c0; padding-top: clamp(48px, 7vw, 80px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; }
.footer-title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-links, .footer-contact, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 10px; }
.footer-links a, .footer-contact a { color: #c3cce0; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .icon { color: var(--blue-300); margin-top: 3px; width: 1.1em; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #c3cce0; background: rgba(255, 255, 255, .06); transition: background-color .15s ease, color .15s ease; }
.social a:hover { background: var(--blue); color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom a { color: #9aa7c0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Animation ved scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Print */
@media print {
  .site-header, .site-footer, .cta, .nav-toggle { display: none !important; }
  body { font-size: 12pt; }
}
