/* ==========================================================================
   ALIGN Insight™ — onepager
   Palet fra PDF'en: petrol, mørk navy, guld og sand.
   Én containerbredde (1160px) bruges konsekvent på alle sektioner.
   ========================================================================== */

:root {
  --navy: #1d3a4d;
  --navy-deep: #142838;
  --navy-ink: #0e1e2b;
  --ink: #2c3a44;
  --muted: #5d6b74;
  --teal: #2e6e69;
  --teal-dark: #245853;
  --teal-tint: #e6efec;
  --gold: #b28c52;
  --gold-deep: #96743f;
  --gold-tint: #f3ead7;
  --sand: #efe9dd;
  --paper: #faf9f6;
  --white: #ffffff;
  --line: #e3dccd;
  --line-soft: #ece6da;

  --head: "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 40, 56, 0.06), 0 4px 12px rgba(20, 40, 56, 0.06);
  --shadow-md: 0 2px 4px rgba(20, 40, 56, 0.07), 0 14px 36px rgba(20, 40, 56, 0.12);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--head);
  color: var(--navy);
  line-height: 1.14;
  margin: 0 0 0.55em;
  font-weight: 800;
  letter-spacing: -0.015em;
}

h1, h2, h3 { text-wrap: balance; }

h1 { font-size: clamp(2.3rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1em; }

::selection { background: var(--teal); color: var(--white); }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.measure { max-width: 720px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 2px 18px rgba(20, 40, 56, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }

.brand-mark { width: 44px; height: 44px; flex: none; }

.brand-text { line-height: 1.15; }

.brand-name {
  display: block;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--navy);
  letter-spacing: 0.12em;
}

.brand-name span { font-weight: 500; color: var(--teal); }

.brand-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: 1.9rem; }

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }

.site-nav a.btn-primary,
.site-nav a.btn-primary:hover {
  color: var(--white);
  border-bottom: 1.5px solid;
  padding: 0.68rem 1.35rem;
  font-size: 0.95rem;
}

.site-nav a.btn-primary { border-color: var(--teal); }
.site-nav a.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Knapper
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 11px;
  padding: 0.9rem 1.7rem;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease,
              transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border: 1.5px solid var(--teal);
  box-shadow: 0 6px 18px rgba(46, 110, 105, 0.3);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(46, 110, 105, 0.36);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-light:hover { background: var(--paper); color: var(--navy-deep); transform: translateY(-1px); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.95rem; }

/* --------------------------------------------------------------------------
   Sektioner & eyebrows
   -------------------------------------------------------------------------- */

.section { padding: 6rem 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-sand { background: var(--sand); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}

.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); flex: none; }

.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

.lead { font-size: 1.2rem; line-height: 1.65; color: var(--muted); }

/* --------------------------------------------------------------------------
   Hero — mørk navy
   -------------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(760px 460px at 84% -12%, rgba(46, 110, 105, 0.4), transparent 70%),
    radial-gradient(560px 360px at 4% 112%, rgba(178, 140, 82, 0.2), transparent 70%),
    var(--navy-deep);
  color: var(--white);
  padding: 4rem 0 4.5rem;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }

.hero h1 { color: var(--white); }

.hero .lead { color: rgba(255, 255, 255, 0.8); margin-bottom: 2rem; }

.hero-note { margin-top: 1.6rem; font-size: 0.94rem; color: rgba(255, 255, 255, 0.62); }

/* Chips med kernebudskaberne fra PDF'en */
.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
}

.hero-chips li {
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-chips li:nth-child(1) { color: var(--white); }
.hero-chips li:nth-child(2) { color: #7fb5ae; border-color: rgba(127, 181, 174, 0.45); }
.hero-chips li:nth-child(3) { color: var(--gold); border-color: rgba(178, 140, 82, 0.55); }

/* Kontaktformular i hero */
.hero-form {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--teal);
  padding: 1.7rem 1.8rem 1.6rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color: var(--ink);
  max-width: 460px;
  justify-self: end;
  width: 100%;
}

.hero-form h2 { font-size: 1.18rem; margin-bottom: 0.25em; }

.hero-form > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.hero-form label {
  display: block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.hero-form input,
.hero-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  font-family: var(--body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.58rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  resize: vertical;
}

.hero-form input::placeholder,
.hero-form textarea::placeholder { color: #a3adb3; }

.hero-form input:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 110, 105, 0.18);
}

.hero-form button { width: 100%; margin-top: 0.2rem; cursor: pointer; padding: 0.78rem 1.7rem; }

/* --------------------------------------------------------------------------
   Moduler — rejsen
   -------------------------------------------------------------------------- */

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.module {
  position: relative;
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--line-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.module:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.module-1 { background: var(--teal-tint); }
.module-2 { background: var(--white); }
.module-3 { background: var(--sand); }
.module-4 { background: var(--gold-tint); }

/* Pil mellem kortene */
.module:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.55rem;
  width: 1.5rem;
  height: 1.5rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 55% no-repeat;
  z-index: 2;
}

.module-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.module-icon svg { width: 28px; height: 28px; }

.module-1 .module-icon { background: var(--teal); }
.module-2 .module-icon { background: var(--navy); }
.module-3 .module-icon { background: #c5ae85; }
.module-4 .module-icon { background: var(--gold); }

.module-num {
  font-family: var(--head);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.module h3 { margin-bottom: 0.5em; letter-spacing: 0.02em; text-transform: uppercase; font-size: 1.05rem; }

.module-1 h3 { color: var(--teal); }
.module-2 h3 { color: var(--navy); }
.module-3 h3 { color: #9b7f4e; }
.module-4 h3 { color: var(--gold-deep); }

.module p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   Hvad får I — 5 udbytter
   -------------------------------------------------------------------------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}

.benefit {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
  color: var(--white);
}

.benefit-icon svg { width: 24px; height: 24px; }

.benefit:nth-child(1) .benefit-icon { background: var(--teal); }
.benefit:nth-child(2) .benefit-icon { background: var(--navy); }
.benefit:nth-child(3) .benefit-icon { background: var(--gold); }
.benefit:nth-child(4) .benefit-icon { background: #4e8b85; }
.benefit:nth-child(5) .benefit-icon { background: var(--gold-deep); }

.benefit h3 {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45em;
}

.benefit p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Citat-bånd
   -------------------------------------------------------------------------- */

.quote-band {
  background:
    radial-gradient(720px 420px at 88% 120%, rgba(46, 110, 105, 0.4), transparent 70%),
    var(--navy-deep);
  color: var(--white);
  padding: 5.5rem 0;
}

.quote-band .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.quote-main {
  position: relative;
  font-family: var(--head);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding-top: 2.4rem;
}

.quote-main::before {
  content: "\201C";
  position: absolute;
  top: -0.9rem;
  left: -0.2rem;
  font-size: 5.2rem;
  line-height: 1;
  color: var(--gold);
  font-family: Georgia, serif;
}

.quote-main em { font-style: normal; color: #7fb5ae; }

.quote-chain {
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  padding-left: 2.2rem;
  display: grid;
  gap: 1.1rem;
}

.quote-chain p {
  margin: 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.quote-chain strong { color: var(--gold); }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta {
  padding: 6rem 0;
  background: var(--sand);
}

.cta .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  align-items: center;
}

.cta p { color: var(--muted); font-size: 1.13rem; }
.cta .cta-copy p:last-child { margin-bottom: 0; }

.cta .btn-group { flex-direction: column; align-items: stretch; }
.cta .btn { text-align: center; padding: 1.05rem 1.7rem; }

.cta .btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(29, 58, 77, 0.4);
}

.cta .btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.6rem 0;
  font-size: 0.92rem;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--teal), var(--gold)) 1;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
}

.footer-brand svg { width: 30px; height: 30px; }

.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Scroll-reveal
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .reveal.in { opacity: 1; transform: none; }

  .module-grid > .reveal:nth-child(2), .benefit-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
  .module-grid > .reveal:nth-child(3), .benefit-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
  .module-grid > .reveal:nth-child(4), .benefit-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
  .benefit-grid > .reveal:nth-child(5) { transition-delay: 0.32s; }
}

/* --------------------------------------------------------------------------
   Responsivt
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .hero .container, .quote-band .container, .cta .container { grid-template-columns: 1fr; gap: 2.6rem; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .module:not(:last-child)::after { display: none; }
  .quote-chain { border-left: none; padding-left: 0; }
  .cta .btn-group { flex-direction: row; }
}

@media (max-width: 640px) {
  .section, .cta { padding: 4rem 0; }
  .hero { padding: 3.5rem 0 4rem; }
  .quote-band { padding: 4rem 0; }
  .module-grid, .benefit-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.6rem 1.75rem 1.1rem;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav .btn { margin-top: 0.9rem; text-align: center; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-form { justify-self: stretch; max-width: none; }
}
