:root {
  --brand: #0b8a9a;
  --brand-dark: #066676;
  --brand-soft: #edf6f8;
  --ink: #333;
  --muted: #5b6a73;
  --line: #c8d4dc;
  --surface: #ffffff;
  --page: #f6f8fa;
  --accent: #ee3124;
  --ok: #1f7a4d;
  --radius: 0.45rem;
  --shadow: 0 14px 34px rgba(18, 36, 48, 0.12);
  --shadow-soft: 0 8px 20px rgba(18, 36, 48, 0.08);
  --shadow-strong: 0 20px 42px rgba(12, 28, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

body {
  font-family: "Arial", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% -8%, rgba(11, 138, 154, 0.08), transparent 32%),
    linear-gradient(180deg, #f7fafc 0, var(--page) 280px, var(--page) 100%);
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: "Arial", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #183241;
  line-height: 1.2;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: .75rem;
}

.card {
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 0.05rem);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.card:hover { transform: translateY(-6px); }

h1 {
  font-weight: 900;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #045567;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #10222e;
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 14px rgba(23, 45, 58, 0.07);
}

.navbar {
  --bs-navbar-padding-y: 0.9rem;
  --bs-navbar-toggler-focus-width: 0.2rem;
  --bs-navbar-toggler-border-color: #ccd6dd;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(6, 102, 118, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand-title {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.08;
  text-decoration: none;
  margin-right: 0.5rem;
  min-height: 62px;
  justify-content: center;
}

.brand-top {
  font-size: 0.7rem;
  color: #677780;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brand-main {
  font-size: 1.14rem;
  font-weight: 700;
  color: #123447;
}

.brand-logo-link {
  order: 3;
  margin-left: 0.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 52px;
  height: 72px;
  object-fit: contain;
}

.navbar .nav-link {
  border-radius: 0.3rem;
  color: #2e4959;
  padding: 0.5rem 0.8rem;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  background: #eaf2f6;
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.navbar .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0, #0a7484 100%);
}

main.container {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.8rem;
  align-items: center;
  background: linear-gradient(140deg, #0a7f8f 0, #0b7382 55%, #0f6170 100%);
  color: #fff;
  border: 1px solid #0a6774;
  border-radius: calc(var(--radius) + 0.1rem);
  box-shadow: var(--shadow-strong);
  padding: 4.5rem clamp(1.35rem, 2.8vw, 2.5rem);
  animation: rise-in .65s cubic-bezier(.2, .65, .2, 1);
}

.hero::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 1.4rem;
  width: 130px;
  height: 3px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  pointer-events: none;
}

.hero h1,
.hero h2,
.hero p,
.hero .small,
.hero a {
  color: #fff;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 1.75rem;
  line-height: 1.2;
}
.hero p {
  max-width: 70ch;
  margin-bottom: 2.25rem;
}

.hero .small a {
  color: #ffe9b8;
}

.hero figure {
  margin: 0;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 0.1rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 34px rgba(9, 23, 34, 0.24);
}

.pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.btn {
  min-height: 44px;
  border-radius: 0.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-lg {
  padding: 0.95rem 2.1rem;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-primary, .btn-secondary {
  box-shadow: var(--shadow-soft);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(22, 44, 59, 0.2);
  filter: saturate(1.03);
}

.btn-primary {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: #cd271d;
  --bs-btn-hover-border-color: #cd271d;
  --bs-btn-active-bg: #b31f16;
  --bs-btn-active-border-color: #b31f16;
  --bs-btn-color: #fff;
}

.btn-secondary {
  --bs-btn-bg: #fff;
  color: var(--accent)!important;
  --bs-btn-border-color: #c0d0da;
  --bs-btn-hover-bg: #eef3f6;
  --bs-btn-hover-color: var(--accent)!important;
  --bs-btn-hover-border-color: #9ab4c3;
}

.section {
  margin-top: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3.35rem clamp(1.1rem, 2.2vw, 1.9rem);
  position: relative;
  box-shadow: var(--shadow-soft);
  animation: rise-in .55s cubic-bezier(.2, .65, .2, 1);
}

.container .section:first-child { /* Adjust hero section spacing */
  margin-top: -1.5rem; /* Pull up to compensate for header */
}

.section::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border: 1px solid #cfdbe4;
  border-left: 4px solid var(--brand);
  border-radius: calc(var(--radius) - 0.05rem);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem;
  background: #fff;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #b8ceda;
}

.card h3 {
  margin-bottom: 0.45rem;
}

.card p {
  margin: 0;
}

.selfscan {
  background: linear-gradient(180deg, #ffffff 0, var(--brand-soft) 100%);
}

.question {
  margin-bottom: 1.6rem;
}

.question fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.question legend {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e3c51;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.option {
  border: 1px solid #cfdbe4;
  border-radius: 0.35rem;
  padding: 0.55rem 0.8rem;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.option:has(input:checked) {
  background: #eaf5fb;
  border-color: #9cc7db;
  transform: translateY(-1px);
}

.option input {
  margin-right: 0.35rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.result {
  border-left: 4px solid var(--ok);
  background: #f2fbf6;
  border-radius: 0.35rem;
  margin-top: 1.35rem;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  animation: rise-in .45s ease;
}

.opgave-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.opgave-card {
  border: 1px solid #cfdae2;
  border-radius: 0.35rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.opgave-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.opgave-toggle {
  width: 100%;
  border: 0;
  background: linear-gradient(90deg, #eff7fb 0, #f5fafc 100%);
  color: #0f435b;
  font-weight: 700;
  text-align: left;
  padding: 1.05rem 1rem;
  transition: background-color .2s ease, color .2s ease;
}

.opgave-toggle:hover,
.opgave-toggle:focus-visible {
  background: #e3f0f8;
}

.opgave-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height .35s ease, padding .35s ease;
}

.opgave-card.open .opgave-body {
  max-height: 640px;
  padding: 0.95rem 1rem 1.05rem;
}

.opgave-body h4 {
  margin: 0.8rem 0 0.2rem;
  font-size: 1rem;
}

.opgave-body p {
  margin: 0;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.7rem 0;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 300px;
  padding: 1rem;
  border-radius: 0.35rem;
  border: 1px solid #b7cad6;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-strong);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.sticky-cta:hover {
  box-shadow: 0 22px 44px rgba(12, 28, 40, 0.22);
}

.sticky-cta.hide {
  transform: translateY(130%);
}

.sticky-cta p {
  margin: 0;
  font-size: 0.92rem;
}

.sticky-cta .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  padding: 0.7rem 0.9rem;
}

.site-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-wrap {
  padding: 1.6rem 0 2.7rem;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: transform 560ms cubic-bezier(.2, .65, .2, 1), opacity 560ms ease;
  will-change: transform, opacity;
}

.js-motion .reveal.in-view {
  opacity: 1;
  transform: translateY(calc(var(--scroll-shift, 0px) * 0.15)) scale(1);
}

[data-parallax] {
  transform: translateY(calc(var(--scroll-shift, 0px) * var(--parallax-strength, 0.18)));
  will-change: transform;
}

[data-parallax="soft"] {
  --parallax-strength: 0.1;
}

[data-parallax="strong"] {
  --parallax-strength: 0.22;
}

.leadership-voices {
  background: linear-gradient(180deg, #fafdff 0, var(--brand-soft) 100%);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.35rem;
}

.voice-card {
  background: #fff;
  border: 1px solid #cfe0ea;
  border-radius: 0.35rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.voice-quote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.voice-meta {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.video-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.35rem;
}

.video-placeholder-card {
  border: 1px solid #cfdae2;
  border-radius: 0.35rem;
  background: #fff;
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.video-placeholder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.video-placeholder-card h3 {
  margin: 0.8rem 0 0.4rem;
  font-size: 1.05rem;
}

.video-placeholder-card p {
  margin: 0;
}

.video-shell {
  position: relative;
  min-height: 220px;
  border-radius: 0.35rem;
  border: 1px solid #bcd1de;
  background:
    linear-gradient(140deg, rgba(11, 138, 154, 0.18), rgba(11, 138, 154, 0.04) 60%, rgba(255, 255, 255, 0.65));
}

.video-shell::before {
  content: "Video placeholder";
  position: absolute;
  left: 0.7rem;
  top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1d4a60;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem;
}

.video-shell::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #a7bfcd;
  box-shadow: 0 8px 20px rgba(25, 44, 57, 0.15);
}

.video-placeholder-card .video-shell span {
  display: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grid-3 {
  display: grid;
  gap: 2.5rem;
}

@media (max-width: 991.98px) {
  .navbar .nav-link {
    margin-top: 0.2rem;
  }

  .brand-top {
    display: none;
  }

  .brand-main {
    font-size: 1rem;
  }

  .brand-logo-link {
    order: 3;
  }

  .brand-logo {
    width: 44px;
    height: 60px;
  }

  .hero,
  .grid-3,
  .opgave-grid,
  .voice-grid,
  .video-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-parallax],
  .reveal,
  .reveal.in-view {
    transform: none !important;
    opacity: 1 !important;
  }
}
