/* Impactory – forside. Farver og typografi jf. designbrief. */

:root {
  --blue-dark: #1F375D;
  --blue-darker: #16294A;
  --blue: #4E8AC9;
  --tint: #EEF3F9;
  --tint-dark: #DEE8F3;
  --text: #1F2A38;
  --text-muted: #5B6675;
  --white: #FFFFFF;
  --radius: 6px;
  --radius-lg: 12px;
  --container: 1560px;
  --edge: max(24px, 4vw);
  /* Instrument Sans står ind for Garnett Semibold indtil licens er afklaret */
  --font-head: "Instrument Sans", "Garnett", sans-serif;
  --font-body: "Doppio One", sans-serif;
  --section: 104px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--blue-dark);
}
h1 { font-size: 60px; }
h2 { font-size: 42px; }
h3 { font-size: 26px; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
img { display: block; max-width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--blue-dark); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue h2 { color: var(--white); }

.eyebrow { font-size: 14px; color: var(--blue-dark); margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--text-muted); max-width: 640px; }

/* Knapper */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 15px 22px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn--primary { background: var(--blue-dark); color: var(--white); }
.btn--primary:hover { background: var(--blue-darker); }
.btn--secondary { background: var(--tint); color: var(--blue-dark); }
.btn--secondary:hover { background: var(--tint-dark); }
.btn--light { background: var(--white); color: var(--blue-dark); }
.btn--light:hover { background: var(--tint); }

/* Ringen fra logoets O */
.ring { display: inline-block; width: 1em; height: 1em; }

/* Billedplaceholders (erstattes af fotos) */
.ph {
  position: relative;
  background:
    radial-gradient(120% 90% at 20% 20%, #7FA9D6 0%, transparent 60%),
    radial-gradient(90% 80% at 85% 80%, #2C4C7C 0%, transparent 55%),
    linear-gradient(160deg, #4A7AB3 0%, #1F375D 100%);
  border-radius: var(--radius);
  overflow: hidden;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,.88);
  color: var(--blue-dark);
  z-index: 3;
}

/* Scroll-reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Header */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 24px 0;
  transition: background-color .2s var(--ease), padding .2s var(--ease);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header.is-scrolled {
  position: fixed;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tint-dark);
  padding: 14px 0;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 22px; width: auto; }
.logo-dark { display: none; }
.header.is-scrolled .logo-light { display: none; }
.header.is-scrolled .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  color: var(--white);
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.header.is-scrolled .nav a:not(.btn) { color: var(--blue-dark); }
.header:not(.is-scrolled) .nav .btn--primary { background: var(--white); color: var(--blue-dark); }
.nav-toggle {
  display: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}
.header.is-scrolled .nav-toggle { color: var(--blue-dark); border-color: var(--tint-dark); }

/* Hero */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(55% 70% at 80% 35%, rgba(126,169,214,.55) 0%, transparent 60%),
    radial-gradient(40% 50% at 60% 90%, rgba(78,138,201,.35) 0%, transparent 60%),
    linear-gradient(120deg, #16294A 0%, #24446F 55%, #3A6598 100%);
  overflow: hidden;
}
.hero-video, .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(31,55,93,.94) 0%, rgba(31,55,93,.6) 45%, rgba(31,55,93,.05) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 100px; width: 100%; }
.hero-inner { max-width: 680px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero p { font-size: 19px; max-width: 560px; margin-bottom: 34px; }
.hero-inner > * { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; }
.hero-inner h1 { animation-delay: .1s; }
.hero-inner p { animation-delay: .28s; }
.hero-inner .btn { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Ydelser (grupperet) */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}
.services-head h2 { margin: 0; }
.services-head .lead { max-width: 560px; justify-self: end; }
.service-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-group {
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 36px 36px 28px;
  display: flex;
  flex-direction: column;
}
.service-group .ring { width: 30px; height: 30px; color: var(--blue); margin-bottom: 18px; }
.service-group h3 { font-size: 24px; margin-bottom: 8px; }
.service-group p { font-size: 15px; color: var(--text-muted); margin-bottom: 22px; }
.service-links { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--tint-dark); }
.service-links li { border-bottom: 1px solid var(--tint-dark); }
.service-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  text-decoration: none;
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  transition: color .2s var(--ease);
}
.service-links a::after {
  content: "›";
  font-size: 22px;
  line-height: 1;
  color: var(--blue);
  transition: transform .25s var(--ease);
}
.service-links a:hover { color: var(--blue); }
.service-links a:hover::after { transform: translateX(4px); }

.funding {
  margin-top: 20px;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.funding .ring { width: 40px; height: 40px; color: var(--blue); }
.funding h3 { color: var(--white); font-size: 22px; margin-bottom: 4px; }
.funding p { color: rgba(255,255,255,.82); font-size: 16px; }

/* Om os-boks */
.about-box {
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-box .ph { aspect-ratio: 4 / 3; box-shadow: 0 8px 28px rgba(31,55,93,.10); }
.about-box h2 { color: var(--blue); }

/* Brancher */
.who { padding: 88px 0; }
.who .container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: center; }
.who h2 { margin: 0 0 12px; }
.who .lead { color: rgba(255,255,255,.85); }
.who-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.who-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: transform .25s var(--ease);
}
.who-list a:hover { transform: translateX(6px); }
.who-list .ring { width: 26px; height: 26px; flex: none; color: var(--white); }

/* Testimonial-slider */
.slider { position: relative; }
.slider-view { overflow: hidden; border-radius: var(--radius-lg); }
.slides { display: flex; transition: transform .55s var(--ease); }
.slide {
  flex: 0 0 100%;
  background: var(--tint);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.slide-body { padding: 72px; }
.quote-mark { font-family: var(--font-head); font-weight: 600; font-size: 84px; line-height: .5; color: var(--blue); margin-bottom: 26px; }
.quote-text { font-family: var(--font-head); font-weight: 500; font-size: 27px; letter-spacing: -0.015em; line-height: 1.35; color: var(--blue-dark); margin-bottom: 32px; }
.quote-person { display: flex; align-items: center; gap: 14px; }
.quote-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); flex: none; overflow: hidden; }
.quote-name { font-family: var(--font-head); font-weight: 600; color: var(--blue-dark); display: block; }
.quote-title { font-size: 15px; color: var(--text-muted); }
.slide .ph { border-radius: 0; align-self: stretch; min-height: 440px; }
.slider-nav { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; }
.slider-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--tint-dark);
  background: var(--white);
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.slider-btn:hover { background: var(--blue-dark); color: var(--white); border-color: var(--blue-dark); }

/* Viden */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
}
.post .ph { position: absolute; inset: 0; border-radius: 0; transition: transform .7s var(--ease); }
.post:hover .ph { transform: scale(1.05); }
.post::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,55,93,.15) 0%, rgba(31,55,93,.35) 45%, rgba(22,41,74,.9) 100%);
  z-index: 1;
}
.post-inner {
  position: absolute; inset: 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,.92);
  color: var(--blue-dark);
}
.post h3 { color: var(--white); font-size: 22px; margin: 0 0 6px; max-width: 92%; }
.post .more {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  gap: 6px;
  transition: transform .25s var(--ease);
}
.post:hover .more { transform: translateX(4px); }

/* Kontakt-CTA */
.cta { text-align: center; max-width: 680px; margin: 0 auto; }
.cta h2 { margin-bottom: 10px; }
.cta .lead { margin: 0 auto 28px; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Footer */
.footer { padding: 80px 0 32px; font-size: 15px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer .logo img { height: 24px; margin-bottom: 18px; }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: 8px; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer p { color: rgba(255,255,255,.8); max-width: 360px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.65); }

/* Reduceret bevægelse */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-inner > * { opacity: 1; transform: none; animation: none; }
  .slides { transition: none; }
  * { transition-duration: 0s !important; }
}

/* Responsivt */
@media (max-width: 1100px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .services-head { grid-template-columns: 1fr; gap: 16px; }
  .services-head .lead { justify-self: start; }
  .service-groups { grid-template-columns: 1fr; }
  .funding { grid-template-columns: auto 1fr; }
  .funding .btn { grid-column: 2; justify-self: start; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-box { grid-template-columns: 1fr; padding: 48px; gap: 36px; }
  .who .container { grid-template-columns: 1fr; gap: 28px; }
  .who-list { grid-template-columns: 1fr; gap: 0; }
  .who-list a { font-size: 26px; }
  .slide { grid-template-columns: 1fr; }
  .slide .ph { order: -1; min-height: 280px; }
  .slide-body { padding: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --section: 64px; }
  body { font-size: 16px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  .hero { min-height: 0; }
  .hero .container { padding-top: 110px; padding-bottom: 64px; }
  .nav ul, .nav .btn { display: none; }
  .nav-toggle { display: inline-block; }
  .nav.is-open ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    padding: 20px var(--edge) 24px;
    border-bottom: 1px solid var(--tint-dark);
  }
  .nav.is-open a:not(.btn) { color: var(--blue-dark); }
  .service-group { padding: 28px 24px 20px; }
  .funding { grid-template-columns: 1fr; padding: 28px 24px; gap: 16px; }
  .funding .btn { grid-column: 1; }
  .card-grid { grid-template-columns: 1fr; }
  .about-box { padding: 28px; }
  .who { padding: 64px 0; }
  .who-list a { font-size: 22px; }
  .quote-text { font-size: 22px; }
  .slide-body { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ===== Landingpage (rådgivningsside) ===== */

/* Kort hero med eyebrow */
.hero--page { min-height: 0; }
.hero--page .container { padding-top: 150px; padding-bottom: 72px; }
.hero-eyebrow { font-size: 15px; color: rgba(255,255,255,.8); margin: 0 0 14px; display: flex; gap: 8px; align-items: center; }
.hero-eyebrow a { color: inherit; text-decoration: none; }
.hero-eyebrow a:hover { text-decoration: underline; }
.hero--page h1 { font-size: 50px; max-width: 760px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* Intro: tekst + video */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.intro h2 { margin-bottom: 18px; }
.video { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--blue-dark); }
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31,55,93,.35);
  border: 0; cursor: pointer; width: 100%;
  transition: background-color .2s var(--ease);
}
.video-play:hover { background: rgba(31,55,93,.2); }
.video-play span {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--white); color: var(--blue-dark);
  display: grid; place-items: center;
  font-size: 30px; padding-left: 6px;
  transition: transform .25s var(--ease);
}
.video-play:hover span { transform: scale(1.06); }
.video.is-playing .video-play { display: none; }

/* Foto med tre kort der stikker ud */
.benefits-photo { position: relative; height: 420px; border-radius: var(--radius-lg); overflow: hidden; }
.benefits-photo img { width: 100%; height: 100%; object-fit: cover; }
.benefits-photo::after { content: ""; position: absolute; inset: 0; background: rgba(31,55,93,.45); }
.benefits-photo h2 { position: absolute; left: 0; right: 0; top: 96px; text-align: center; color: var(--white); margin: 0; padding: 0 24px; z-index: 1; }
.benefit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: -120px 48px 0; position: relative; z-index: 2; }
.benefit {
  background: var(--white);
  border: 1px solid var(--tint-dark);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
}
.benefit .ring { width: 32px; height: 32px; color: var(--blue); margin-bottom: 16px; }
.benefit h3 { font-size: 21px; margin-bottom: 8px; }
.benefit p { font-size: 15px; color: var(--text-muted); }

/* Proces */
.steps-head { margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--tint); border-radius: var(--radius-lg); padding: 32px 28px; }
.step-num { font-family: var(--font-head); font-weight: 600; font-size: 40px; letter-spacing: -0.02em; line-height: 1; color: var(--blue); display: block; margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-muted); }

/* Artikeldel med indholdsfortegnelse */
.article { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 80px; align-items: start; }
.toc { position: sticky; top: 96px; background: var(--tint); border-radius: var(--radius-lg); padding: 24px 26px; }
.toc p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li + li { margin-top: 2px; }
.toc a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid var(--tint-dark);
  transition: color .2s var(--ease);
}
.toc li:last-child a { border-bottom: 0; }
.toc a:hover, .toc a.is-active { color: var(--blue); }
.article-body { max-width: 760px; }
.article-body h2 { font-size: 32px; margin: 0 0 16px; scroll-margin-top: 110px; }
.article-body section + section { margin-top: 56px; }
.article-body p { margin-bottom: 18px; }
.callout {
  background: var(--tint);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--blue-dark);
}

/* Relaterede ydelser (samme kort som forsidens ydelser) */
.service-groups--four { grid-template-columns: repeat(4, 1fr); }
.related-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.related-head h2 { margin: 0; }
.related-head .lead { margin: 0; max-width: 520px; text-align: right; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.faq-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tint-dark); }
.faq-list li { padding: 26px 0; border-bottom: 1px solid var(--tint-dark); }
.faq-list h3 { font-size: 21px; margin-bottom: 8px; }
.faq-list p { color: var(--text-muted); }

@media (max-width: 1100px) {
  .hero--page h1 { font-size: 44px; }
  .intro { grid-template-columns: 1fr; gap: 36px; }
  .benefits-photo { height: 320px; }
  .benefits-photo h2 { top: 70px; }
  .benefit-cards { grid-template-columns: 1fr; margin: -60px 24px 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .service-groups--four { grid-template-columns: 1fr 1fr; }
  .related-head { flex-direction: column; align-items: flex-start; }
  .related-head .lead { text-align: left; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .hero--page h1 { font-size: 36px; }
  .benefits-photo { height: 260px; }
  .benefits-photo h2 { top: 48px; }
  .benefit-cards { margin: -40px 16px 0; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .article-body h2 { font-size: 26px; }
  .callout { font-size: 17px; }
  .service-groups--four { grid-template-columns: 1fr; }
}

/* ===== Lys header (sider uden mørk hero) ===== */
.header--light:not(.is-scrolled) { position: absolute; }
.header--light .logo-light { display: none; }
.header--light .logo-dark { display: block; }
.header--light .nav a:not(.btn) { color: var(--blue-dark); }
.header--light:not(.is-scrolled) .nav .btn--primary { background: var(--blue-dark); color: var(--white); }
.header--light .nav-toggle { color: var(--blue-dark); border-color: var(--tint-dark); }

/* ===== Artikelside ===== */
.article-hero { padding: 160px 0 56px; background: var(--tint); }
.article-hero .container { max-width: 1000px; }
.article-hero .post-tag { display: inline-block; background: var(--white); margin-bottom: 18px; }
.article-hero h1 { font-size: 50px; margin-bottom: 18px; }
.article-hero .lead { max-width: 760px; font-size: 21px; }

/* Forfatter, kort udgave i toppen */
.byline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--tint-dark);
}
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.byline-name { font-family: var(--font-head); font-weight: 600; color: var(--blue-dark); text-decoration: none; }
.byline-name:hover { color: var(--blue); }
.byline-meta { font-size: 14px; color: var(--text-muted); }
.byline-meta span + span::before { content: "·"; margin: 0 8px; }

.article-figure { margin: 40px 0 0; }
.article-figure .ph { aspect-ratio: 3 / 1; border-radius: var(--radius-lg); }
.article-figure figcaption { font-size: 13px; color: var(--text-muted); margin: 10px 0 0; }

.article-page { padding-top: 72px; }
.article-page .article { grid-template-columns: 240px minmax(0, 860px); gap: 64px; justify-content: center; }
.article-page .toc { position: sticky; top: 96px; }
.article-page .article-body { max-width: none; font-size: 18px; }
.article-page .article-body h2 { font-size: 32px; }
.article-page .article-body h3 { font-size: 22px; margin: 28px 0 10px; }
.article-page .article-body ul { margin: 0 0 18px; padding-left: 22px; }
.article-page .article-body li { margin-bottom: 6px; }

/* Forfatter, stor udgave i bunden */
.author-card {
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 64px;
}
.author-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.author-card .eyebrow { color: var(--text-muted); }
.author-card h3 { font-size: 24px; margin-bottom: 4px; }
.author-card .author-title { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; }
.author-card p { font-size: 16px; }
.author-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.author-topics { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; padding: 0; list-style: none; }
.author-topics li { font-family: var(--font-head); font-weight: 600; font-size: 12px; padding: 5px 10px; border-radius: 100px; background: var(--white); color: var(--blue-dark); }

@media (max-width: 1100px) {
  .article-hero { padding-top: 130px; }
  .article-hero h1 { font-size: 40px; }
  .article-page .article { grid-template-columns: 1fr; gap: 32px; }
  .article-page .toc { position: static; }
}
@media (max-width: 640px) {
  .article-hero { padding: 110px 0 40px; }
  .article-hero h1 { font-size: 32px; }
  .article-hero .lead { font-size: 18px; }
  .article-figure { margin-top: 24px; }
  .article-figure .ph { aspect-ratio: 16 / 9; }
  .article-page { padding-top: 48px; }
  .article-page .article-body { font-size: 17px; }
  .article-page .article-body h2 { font-size: 26px; }
  .author-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; }
  .author-card img { width: 96px; height: 96px; }
}

/* ===== Ekstra komponenter til undersider ===== */

/* Pris på ydelsesside */
.price-tag {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  background: rgba(255,255,255,.14); color: var(--white);
  padding: 8px 14px; border-radius: 100px; margin: 0 0 24px;
}
.price-inline { font-family: var(--font-head); font-weight: 600; color: var(--blue-dark) !important; margin-top: -10px; }

/* Forfatterside */
.author-hero { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 8px; }
.author-hero img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.author-hero h1 { margin-bottom: 6px; }
.author-hero .author-title { font-size: 17px; color: var(--text-muted); margin-bottom: 14px; }

/* Artikel: FAQ inde i brødteksten og link til ydelse */
.faq-list--inline li { padding: 20px 0; }
.faq-list--inline h3 { font-size: 20px; }
.service-link { background: var(--tint); border-radius: var(--radius-lg); padding: 28px 32px; }
.service-link h2 { font-size: 24px !important; margin-bottom: 8px !important; }
.service-link p { margin: 0; }

/* Kontakt og booking */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--tint-dark); border-radius: var(--radius-lg); padding: 44px; }
.section--tint .contact-card { border: 0; }
.contact-card h2 { font-size: 28px; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--tint-dark); font-family: var(--font-head); font-weight: 600; }
.contact-list li:last-child { border-bottom: 0; font-family: var(--font-body); font-weight: 400; color: var(--text-muted); }
.contact-list a { text-decoration: none; }
.contact-box { background: var(--tint); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; }
.contact-box h3 { font-size: 19px; margin-bottom: 6px; }
.contact-box p { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; }
.form .field { margin-bottom: 16px; }
.form-row--two { grid-template-columns: 1fr 1fr; margin-bottom: 0; }
.form-row--two .field { margin-bottom: 16px; }
.field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 13px 14px;
  border: 1px solid var(--tint-dark); border-radius: var(--radius); background: var(--white); color: var(--text);
}
.field textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--text-muted); margin: 6px 0 16px; }
.btn--block { width: 100%; justify-content: center; }
.booking-embed { min-height: 360px; border: 2px dashed var(--tint-dark); border-radius: var(--radius); display: grid; place-items: center; color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.booking-embed::before { content: "Kalender indsættes her"; }
.steps--three { grid-template-columns: repeat(3, 1fr); }

/* Om os: team */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card {
  display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--white); border-radius: var(--radius-lg); padding: 32px; text-decoration: none; color: var(--text);
  transition: transform .2s var(--ease);
}
.team-card:hover { transform: translateY(-3px); }
.team-card img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.team-card h3 { font-size: 24px; margin-bottom: 4px; }
.team-card .author-title { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.team-card p { font-size: 15px; }
.team-card .more { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--blue-dark); }

@media (max-width: 1100px) {
  .contact { grid-template-columns: 1fr; }
  .steps--three { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .author-hero { grid-template-columns: 1fr; gap: 20px; }
  .author-hero img { width: 120px; height: 120px; }
  .contact-card { padding: 28px 24px; }
  .form-row--two { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; text-align: left; padding: 24px; }
}
