/* ── CSS VARIABLES ── */
:root {
  --ink: #1C2B4A;
  --ink-soft: #243359;
  --paper: #f2f4f7;
  --paper-warm: #e8ecf2;
  --accent: #2A7F8F;
  --accent-light: #3a9fb1;
  --gold: #4a7fa8;
  --text: #1e2a3a;
  --text-muted: #5e6e84;
  --border: #cdd4de;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(242,244,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
nav.nav-transparent {
  background: transparent;
  border-bottom-color: transparent;
}
nav.nav-transparent .nav-logo { color: #fff; }
nav.nav-transparent .nav-link { color: rgba(255,255,255,0.75); }
nav.nav-transparent .nav-link:hover { color: #fff; }
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-link {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  letter-spacing: 0.01em;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--ink); background: rgba(28,43,74,0.06); }
.nav-link.active { color: var(--ink); font-weight: 600; background: rgba(28,43,74,0.07); }

/* ── FRONTPAGE ── */
.frontpage { margin: 0; padding: 0; background: var(--ink); overflow: hidden; }
.fp-hero {
  position: relative;
  width: 100vw; height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.fp-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.fp-video-placeholder {
  position: absolute; inset: 0;
  background: var(--ink);
  z-index: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.fp-placeholder-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; width: 100%; height: 100%;
  position: absolute; inset: 0; opacity: 0.06;
}
.fp-placeholder-grid span { border: 1px solid rgba(255,255,255,0.4); animation: gridPulse 4s ease-in-out infinite; }
.fp-placeholder-grid span:nth-child(odd) { animation-delay: 0.5s; }
.fp-placeholder-grid span:nth-child(3n) { animation-delay: 1s; }
@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}
.fp-placeholder-label {
  position: relative; z-index: 1;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); font-weight: 500;
  border: 1px dashed rgba(255,255,255,0.15); padding: 0.6rem 1.2rem;
}
.fp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,43,74,0.88) 0%, rgba(28,43,74,0.72) 50%, rgba(28,43,74,0.82) 100%);
  z-index: 1;
}
.fp-content {
  position: relative; z-index: 2;
  padding: 0 5vw; width: 100%; padding-top: 80px;
}
.fp-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-light);
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.8rem;
  opacity: 0; animation: fadeUp 0.6s 0.1s forwards;
}
.fp-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent-light); }
.fp-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.06; letter-spacing: -0.03em; color: #fff;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.7s 0.2s forwards;
}
.fp-title em { font-style: italic; color: var(--accent-light); }
.fp-sub {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(255,255,255,0.55); max-width: 520px; margin-bottom: 3.5rem;
  opacity: 0; animation: fadeUp 0.7s 0.3s forwards;
}
.fp-nav-cards {
  display: flex; gap: 1px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.45s forwards;
}
.fp-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none; min-width: 190px; flex: 1;
  position: relative; overflow: hidden;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.fp-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.fp-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.fp-card:hover::before { transform: scaleX(1); }
.fp-card-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--accent-light); opacity: 0.8; }
.fp-card-icon svg { width: 100%; height: 100%; }
.fp-card-text { flex: 1; }
.fp-card-label { font-size: 0.88rem; font-weight: 600; color: #fff; margin-bottom: 0.15rem; }
.fp-card-desc { font-size: 0.73rem; color: rgba(255,255,255,0.4); line-height: 1.4; }
.fp-card-arrow { font-size: 1rem; color: rgba(255,255,255,0.25); transition: color 0.2s, transform 0.2s; flex-shrink: 0; }
.fp-card:hover .fp-card-arrow { color: var(--accent-light); transform: translateX(3px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  overflow: hidden;
}
.hero-left {
  padding: 6rem 4rem 6rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-left::after {
  content: '';
  position: absolute; right: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 2.5rem;
}
.hero-tag::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none; border-radius: 2px;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-secondary {
  padding: 0.85rem 2rem;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none; border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.hero-right {
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero-right::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,127,143,0.18) 0%, transparent 70%);
}
.hero-right::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,127,168,0.12) 0%, transparent 70%);
}
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  position: relative; z-index: 1;
}
.stat-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem 1.8rem;
  opacity: 0;
  animation: fadeUp 0.6s forwards;
}
.stat-box:nth-child(1) { animation-delay: 0.1s; }
.stat-box:nth-child(2) { animation-delay: 0.2s; }
.stat-box:nth-child(3) { animation-delay: 0.3s; }
.stat-box:nth-child(4) { animation-delay: 0.4s; }
.stat-box:hover { background: rgba(255,255,255,0.07); }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem; color: #fff;
  line-height: 1; margin-bottom: 0.5rem;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--ink-soft);
  padding: 1.4rem 3rem;
  display: flex; align-items: center; gap: 3rem;
  overflow: hidden;
}
.trust-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.trust-items {
  display: flex; gap: 2.5rem; align-items: center;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 0.5rem;
}
.trust-item::before {
  content: '✓';
  color: var(--accent); font-weight: 700;
  font-size: 0.9rem;
}

/* ── SECTION WRAPPER ── */
section { padding: 7rem 3rem; }
.section-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.section-tag::before {
  content: ''; width: 20px; height: 2px; background: var(--accent);
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--accent); }
.section-sub {
  font-size: 1rem; line-height: 1.7;
  color: var(--text-muted); max-width: 560px;
  margin-top: 1rem;
}

/* ── COURSES ── */
.courses { background: var(--paper); }
.courses-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; margin-bottom: 5rem;
  align-items: end;
}
.courses-header-right {
  display: flex; flex-direction: column; justify-content: flex-end;
}
.courses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2.8rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.course-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.course-card:hover::before { transform: scaleX(1); }
.course-card.featured {
  background: var(--ink);
  border-color: var(--ink);
}
.course-card.featured::before { background: var(--accent-light); }
.course-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem; line-height: 1;
  color: var(--paper-warm);
  margin-bottom: 1.5rem;
  opacity: 0.4;
}
.course-card.featured .course-num { color: rgba(255,255,255,0.12); opacity: 1; }
.course-badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  background: rgba(42,127,143,0.1);
  color: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.2rem;
}
.course-card.featured .course-badge {
  background: rgba(42,127,143,0.25);
  color: var(--accent-light);
}
.course-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem; line-height: 1.2;
  color: var(--ink); margin-bottom: 1rem;
}
.course-card.featured .course-title { color: #fff; }
.course-desc {
  font-size: 0.88rem; line-height: 1.7;
  color: var(--text-muted); margin-bottom: 2rem;
}
.course-card.featured .course-desc { color: rgba(255,255,255,0.5); }
.course-meta {
  display: flex; flex-direction: column; gap: 0.55rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.course-card.featured .course-meta { border-color: rgba(255,255,255,0.1); }
.course-meta-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; color: var(--text-muted);
}
.course-card.featured .course-meta-item { color: rgba(255,255,255,0.4); }
.course-meta-item strong { color: var(--text); font-weight: 600; }
.course-card.featured .course-meta-item strong { color: rgba(255,255,255,0.8); }
.course-icon {
  width: 16px; height: 16px;
  opacity: 0.5;
  flex-shrink: 0;
}
.course-price {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem; color: var(--ink);
  margin-bottom: 0.3rem;
}
.course-card.featured .course-price { color: #fff; }
.course-price-note {
  font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1.5rem;
}
.course-card.featured .course-price-note { color: rgba(255,255,255,0.35); }
.course-btn {
  display: block; width: 100%;
  padding: 0.85rem;
  text-align: center;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}
.course-btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.course-btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.course-btn-filled {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.course-btn-filled:hover { background: var(--accent-light); border-color: var(--accent-light); }

/* ── PROCESS ── */
.process { background: var(--ink); }
.process .section-title { color: #fff; }
.process .section-sub { color: rgba(255,255,255,0.4); }
.process .section-tag { color: var(--accent-light); }
.process .section-tag::before { background: var(--accent-light); }
.process-header { margin-bottom: 5rem; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-step {
  padding: 3rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.process-step:last-child { border-right: none; }
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 4rem; line-height: 1;
  color: rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
  display: block;
}
.step-title {
  font-weight: 600; font-size: 1rem;
  color: #fff; margin-bottom: 0.8rem;
}
.step-desc {
  font-size: 0.84rem; line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

/* ── INSTRUCTORS ── */
.instructors { background: var(--paper-warm); }
.instructors-header { margin-bottom: 4rem; }
.instructors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.instructor-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2rem 1.8rem;
  transition: box-shadow 0.2s;
}
.instructor-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.instructor-avatar {
  width: 56px; height: 56px;
  background: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem; color: #fff;
  margin-bottom: 1.2rem;
}
.instructor-name {
  font-weight: 600; font-size: 1rem;
  color: var(--ink); margin-bottom: 0.2rem;
}
.instructor-role {
  font-size: 0.78rem; color: var(--accent);
  font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.instructor-desc {
  font-size: 0.82rem; line-height: 1.65;
  color: var(--text-muted);
}
.instructor-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 1.2rem;
}
.tag {
  font-size: 0.68rem; font-weight: 600;
  padding: 0.2rem 0.55rem;
  background: var(--paper-warm);
  color: var(--text-muted);
  border-radius: 2px;
  border: 1px solid var(--border);
}

/* ── CTA ── */
.cta-section {
  background: var(--accent);
  padding: 6rem 3rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center;
}
.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15; color: #fff;
  letter-spacing: -0.02em;
}
.cta-section p {
  font-size: 1rem; color: rgba(255,255,255,0.7);
  margin-top: 0.8rem; max-width: 520px;
}
.cta-actions { display: flex; gap: 1rem; flex-direction: column; }
.btn-white {
  padding: 1rem 2.2rem;
  background: #fff;
  color: var(--accent);
  font-size: 0.9rem; font-weight: 700;
  text-decoration: none; border-radius: 2px;
  white-space: nowrap;
  transition: opacity 0.2s;
  text-align: center;
}
.btn-white:hover { opacity: 0.9; }
.btn-ghost {
  padding: 1rem 2.2rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none; border-radius: 2px;
  white-space: nowrap;
  transition: border-color 0.2s;
  text-align: center;
}
.btn-ghost:hover { border-color: #fff; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 3rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem; color: #fff;
  text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
  font-size: 0.78rem; color: rgba(255,255,255,0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .courses-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .courses-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .instructors-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { grid-template-columns: 1fr; }
  nav { padding: 1rem 1.5rem; }
  section { padding: 5rem 1.5rem; }
  .hero-left { padding: 5rem 1.5rem 4rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ── RESPONSIVE TILFØJELSER ── */
@media (max-width: 900px) {
  .nav-links { gap: 0; }
  .nav-link { padding: 0.4rem 0.6rem; font-size: 0.82rem; }
  .fp-content { padding: 0 1.5rem; padding-top: 80px; }
  .fp-title { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .fp-nav-cards { flex-direction: column; gap: 1px; }
  .fp-card { min-width: unset; }
}