@font-face {
  font-family: "Familjen Grotesk";
  src: url("/assets/fonts/familjen-grotesk.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --om-gap: 3rem;
  --om-grid: minmax(0, 1fr) minmax(0, 1fr);
  --forest: #0c3a2f;
  --forest-2: #0f473a;
  --mint: #35d07e;
  --mint-ink: #0a2b22;
  --mint-soft: #edf7f1;
  --paper: #ffffff;
  --shell: #f4f5f3;
  --text: #14211c;
  --muted: #5f6b65;
  --line: #e4e8e5;
  --line-dark: rgba(255, 255, 255, 0.16);

  --sans: "Familjen Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r: 18px;
  --r-sm: 12px;
  --wide: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
}

.page {
  width: 100%;
  background: var(--paper);
  overflow-x: hidden;
}

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.lede {
  color: var(--muted);
  max-width: 34rem;
  font-size: 1rem;
}

/* ---------- Knapper ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mint);
  color: var(--mint-ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
}

.btn:hover { background: #2bbd70; }

.ic {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.dark a:focus-visible { outline-color: var(--mint); }

/* ---------- Topbjælke ---------- */

.topbar {
  background: var(--forest);
  color: #fff;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.topbar nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

.topbar nav a:hover,
.topbar nav a[aria-current] { color: #fff; }

.topbar nav .btn { color: var(--mint-ink); }

.topbar nav .nav-link {
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.topbar nav a[aria-current] { border-bottom-color: var(--mint); }

/* ---------- Hero ---------- */

.hero {
  background: var(--forest);
  color: #fff;
  text-align: center;
  padding: 4.5rem 0 5rem;
}

/* Forsidens hero fylder resten af første skærmbillede */
.hero--full {
  min-height: calc(100vh - 4.6rem);
  min-height: calc(100svh - 4.6rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin-bottom: 1rem;
}

.hero h1 .accent { color: var(--mint); display: block; }

.hero__sub {
  color: rgba(255, 255, 255, 0.78);
  max-width: 30rem;
  margin: 0 auto 3rem;
}

.hero__cards {
  display: grid;
  gap: 1.25rem;
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: left;
}

@media (min-width: 46rem) {
  .hero__cards { grid-template-columns: 1fr 1.15fr; }
}

.hero__portrait {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--forest-2);
  aspect-ratio: 4 / 5;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__facts {
  background: var(--forest-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.hero__note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
  max-width: 20rem;
}

.hero__facts h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  color: #fff;
}

.hero__facts h2 em { font-style: normal; color: var(--mint); }

.factbox {
  background: #fff;
  color: var(--text);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.25rem;
}

.factbox strong {
  font-family: var(--sans);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
}

.factbox span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Sektioner ---------- */

section { padding: 4.5rem 0; }

.section__head { margin-bottom: 2.5rem; }

@media (min-width: 48rem) {
  .section__head--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* ---------- Profilrække ---------- */

.sources { padding-bottom: 1rem; }

.sources ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.75rem;
}

.sources li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.9rem 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.sources li a:hover { border-color: var(--mint); }

.sources .ic { width: 1.1rem; height: 1.1rem; color: var(--muted); }

/* ---------- Mint-panel med kort ---------- */

.panel {
  background: var(--mint-soft);
  border-radius: var(--r);
  padding: 3rem 2rem;
  text-align: center;
}

.panel h2 { margin-bottom: 0.75rem; }
.panel .lede { margin: 0 auto 2.5rem; }

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  text-align: left;
}

@media (min-width: 44rem) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.cards li {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 1.5rem;
}

.cards .mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--mint-soft);
  color: var(--mint-ink);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.cards .mark .ic {
  width: 1.35rem;
  height: 1.35rem;
}

.cards h3 { margin-bottom: 0.4rem; }
.cards p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Rækker ---------- */

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rows li {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
}

.rows li:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 48rem) {
  .rows li {
    display: grid;
    grid-template-columns: 15rem 1fr;
    gap: 3rem;
    align-items: baseline;
  }
}

.rows h3 { font-size: 1.3rem; }
.rows p { color: var(--muted); font-size: 0.95rem; }
.rows a { font-family: var(--sans); font-weight: 500; }

/* ---------- Split med portræt ---------- */

.split { display: grid; gap: 2rem; align-items: start; }

@media (min-width: 52rem) {
  .split { grid-template-columns: 17rem 1fr; gap: 3rem; align-items: center; }
}

/* Billede og tekst samlet i ét felt, så de læses som én blok */
.split--panel {
  background: var(--mint-soft);
  border-radius: var(--r);
  padding: 2.5rem;
}

@media (min-width: 52rem) {
  .split--panel { padding: 3rem; }
}

.split img {
  width: 100%;
  max-width: 17rem;
  height: auto;
  border-radius: var(--r);
  display: block;
  background: var(--mint-soft);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- Tidslinje ---------- */

.timeline { list-style: none; margin: 0; padding: 0; }

.timeline li {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
}

.timeline li:last-child { border-bottom: 1px solid var(--line); }

@media (min-width: 48rem) {
  .timeline li {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 3rem;
  }
}

.years {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--mint-ink);
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.timeline p:last-child { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }

/* ---------- Profilliste ---------- */

.profiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 44rem) {
  .profiles { grid-template-columns: repeat(3, 1fr); }
}

.profiles li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1rem 1.15rem;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 500;
}

.profiles li a:hover { border-color: var(--mint); }

.profiles .ic { width: 1.2rem; height: 1.2rem; color: var(--muted); }

.profiles .pf b { font-weight: 500; display: block; }

.profiles .pf > span {
  display: block;
  color: var(--muted);
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.85rem;
}

/* ---------- Prosa ---------- */

.prose { max-width: 36rem; }
.prose p { color: var(--muted); }

/* ---------- CTA-bånd ---------- */

.band {
  background: var(--forest);
  color: #fff;
  border-radius: var(--r);
  padding: 3.5rem 2rem;
  text-align: center;
}

.band h2 { margin-bottom: 0.75rem; }
.band h2 em { font-style: normal; color: var(--mint); }

.band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 30rem;
  margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--paper);
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-cols {
  display: grid;
  gap: 2rem;
  margin: 2rem 0 2.5rem;
}

@media (min-width: 40rem) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

.footer-cols h3 {
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: var(--text); text-decoration: underline; }

.footer-note {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 34rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ================= Om-siden: opslagsværk ================= */

.profile {
  display: grid;
  gap: 3.5rem;
  padding: 4rem 0 4.5rem;
}

@media (min-width: 62rem) {
  .profile {
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: 5rem;
    align-items: start;
  }
}

.profile h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0.75rem;
}

.role {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.updated {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.profile__main > p { max-width: 38rem; }

.profile__main .lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

/* --- Tal: åben række, ingen fyldt boks --- */

.stats {
  list-style: none;
  margin: 2.5rem 0 0.9rem;
  padding: 1.5rem 0;
  border-top: 2px solid var(--text);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 44rem) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li + li { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

.stats strong {
  display: block;
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.stats span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4rem;
  max-width: 9rem;
}

.method {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

/* --- Afsnit uden kasser --- */

.doc {
  margin-top: 4.5rem;
}

.doc > h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

/* --- Opslagsliste: term til venstre, forklaring til højre --- */

.duo { list-style: none; margin: 0; padding: 0; }

.duo li {
  padding: 0 0 1.75rem;
}

@media (min-width: 56rem) {
  .duo li {
    display: grid;
    grid-template-columns: var(--om-grid);
    gap: var(--om-gap);
    align-items: baseline;
  }
}

.duo h3 {
  font-size: 1rem;
  margin: 0;
}

.duo p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.2rem 0 0;
  max-width: 32rem;
}

@media (min-width: 40rem) {
  .duo p { margin-top: 0; }
}

/* --- Værktøjer --- */

.tools { margin-top: 2.25rem; }
.tools:first-of-type { margin-top: 0; }

.tools h3 {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.tools ul { list-style: none; margin: 0; padding: 0; }

.tools li {
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 40rem;
}

.tools li b { color: var(--text); font-family: var(--sans); font-weight: 600; }

/* --- Spørgsmål --- */

.faq { margin: 0; }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  font-family: var(--sans);
  font-weight: 500;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.9rem;
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1;
}

.faq details[open] summary::after { content: "\2013"; }

.faq summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

.faq p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.2rem;
  max-width: 38rem;
}

/* --- Sidespalte: følger med, ingen etiketter i kasser --- */

@media (min-width: 62rem) {
  .side { position: sticky; top: 2rem; }
}

.side img {
  width: 100%;
  height: auto;
  border-radius: 999px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 22%;
  max-width: 13rem;
  display: block;
  background: var(--mint-soft);
  margin-bottom: 2.25rem;
}

.side section {
  padding: 0;
  margin-bottom: 2.25rem;
  border: 0;
}

.side h2 {
  font-size: 0.95rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1rem;
}

.side .mailto {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.iconrow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.iconrow a { display: block; color: var(--muted); }
.iconrow a:hover { color: var(--text); }
.iconrow .ic { width: 1.15rem; height: 1.15rem; }

.record { list-style: none; margin: 0; padding: 0; }

.record li { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.record li:first-child { border-top: 0; padding-top: 0; }

.record .years {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.15rem;
  font-variant-numeric: tabular-nums;
}

.record h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }

.record p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* --- Rigtige brand-mærker i profillinks --- */

.bi {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  flex: none;
  color: var(--muted);
}

.brandmark {
  width: 1.05rem;
  height: auto;
  flex: none;
  display: block;
}

.sources li a:hover .bi,
.profiles li a:hover .bi { color: var(--text); }

.iconrow .bi { width: 1.1rem; height: 1.1rem; }
.iconrow .brandmark { width: 1.1rem; }
.profiles .bi { width: 1.2rem; height: 1.2rem; }
.profiles .brandmark { width: 1.2rem; }

/* ================= Undersider ================= */

.pagehead {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.pagehead h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  margin-bottom: 1rem;
}

.pagehead .lede { font-size: 1.1rem; max-width: 36rem; }

.answer {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--text);
  max-width: 38rem;
  font-size: 1.15rem;
  line-height: 1.6;
}

.prompt { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }

.prompt h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.prompt pre {
  background: var(--shell);
  border-radius: var(--r-sm);
  padding: 1rem 1.15rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0.75rem 0 1rem;
  max-width: 40rem;
}

.prompt .why {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  max-width: 38rem;
}

.prompt .why + .why { margin-top: 0.4rem; }

.topbar nav { flex-wrap: wrap; row-gap: 0.4rem; }

@media (max-width: 46rem) {
  .topbar nav { gap: 1rem; font-size: 0.88rem; }
  .topbar .wrap { flex-wrap: wrap; }
}

/* --- Brødkrummer --- */

.crumbs {
  padding: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }

@media (min-width: 44rem) {
  .cards--two { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* --- Rækker med billede --- */

.medialist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.medialist li { border-bottom: 1px solid var(--line); }

.medialist a {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 0;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

@media (min-width: 52rem) {
  .medialist a {
    grid-template-columns: 13rem 1fr 1.2fr 3rem;
    gap: 2.5rem;
  }
}

.medialist img {
  width: 100%;
  max-width: 13rem;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-sm);
  display: block;
  background: var(--mint-soft);
}

.medialist h3 {
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.medialist p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  max-width: 26rem;
}

.medialist .go {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--muted);
  justify-self: start;
}

@media (min-width: 52rem) {
  .medialist .go { justify-self: end; }
}

.medialist a:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; }
.medialist a:hover .go { border-color: var(--mint); color: var(--text); }
.medialist a:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; border-radius: 6px; }

.medialist .norow {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 0;
  align-items: center;
}

@media (min-width: 52rem) {
  .medialist .norow { grid-template-columns: 13rem 1fr 1.2fr 3rem; gap: 2.5rem; }
}

.medialist .norow img { opacity: 0.55; }
.medialist .norow h3 { color: var(--muted); }

.medialist .tag {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  justify-self: start;
  white-space: nowrap;
}

/* --- Mørk hero på undersider --- */

.crumbs--under {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.crumbs--under + section { padding-top: 3.5rem; }

.pagehead--dark {
  background: var(--forest);
  color: #fff;
  border-bottom: 0;
  padding: 4rem 0 4.5rem;
}

.pagehead--dark h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  margin-bottom: 1.25rem;
}

.pagehead--dark .lede {
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
}



/* Om-siden i mørk hero */

.pagehead--dark .role {
  color: var(--mint);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.pagehead--dark .updated {
  color: rgba(255, 255, 255, 0.5);
  margin: 1.75rem 0 0;
}

.crumbs--under + .wrap .profile { padding-top: 3rem; }


/* --- Om-siden: hero med portræt --- */

.pagehead--split .wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 52rem) {
  .pagehead--split .wrap {
    grid-template-columns: 1fr 20rem;
    gap: 4rem;
  }
}

.pagehead--split .portrait {
  width: 100%;
  max-width: 20rem;
  height: auto;
  border-radius: var(--r);
  display: block;
  justify-self: start;
}

/* --- Om-siden: én spalte under hero --- */

.omdoc {
  padding: 3rem 0 4rem;
}

.omdoc > p { max-width: 38rem; }

.omdoc .lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 36rem;
}

/* Erfaring i fuld bredde frem for sammenpresset sidespalte */

.record--wide li { padding: 1.25rem 0; }

@media (min-width: 44rem) {
  .record--wide li {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 2.5rem;
    align-items: baseline;
  }
  .record--wide .years { margin: 0; }
}

.record--wide h3 { font-size: 1.05rem; }
.record--wide p { max-width: 34rem; }

/* Kontaktblokken nederst */

.omdoc .mailto {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.omdoc .iconrow { gap: 1.25rem; }

/* --- Punkter i hero --- */

.points {
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  max-width: 30rem;
}

.points li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.98rem;
}

.points .ic {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--mint);
  flex: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* --- Talbånd --- */

.statband {
  margin: 3rem 0;
  padding: 2.5rem 0 0;
  border-top: 2px solid var(--text);
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 52rem) {
  .statband { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

.statband h2 { font-size: 1.5rem; margin-bottom: 0.9rem; }
.statband p { color: var(--muted); max-width: 24rem; }

.statband .stats {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.statband .stats li {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.statband .stats li:first-child { border-top: 1px solid var(--line); }
.statband .stats li + li { border-left: 0; padding-left: 0; }
.statband .stats strong { font-size: 2.25rem; }
.statband .stats span { max-width: none; margin-top: 0.15rem; }


/* Lys udgave af punkterne, til brødteksten */

.points--light {
  max-width: 34rem;
}

.points--light li {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--text);
}

.points--light .ic { color: var(--mint-ink); }


/* --- Liste med panel ved siden af --- */

.tabs { display: grid; gap: 2rem; }

@media (min-width: 56rem) {
  .tabs { grid-template-columns: var(--om-grid); gap: var(--om-gap); align-items: start; }
}

.tabs input { position: absolute; opacity: 0; pointer-events: none; }

.tabs__nav { display: grid; gap: 0.4rem; }

.tabs__nav label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
}

.tabs__nav label:hover { background: var(--shell); }
.tabs__nav .ic { width: 1.15rem; height: 1.15rem; color: var(--mint-ink); flex: none; }
.tabs__nav label span { flex: 1; }

.tabs__nav label em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.tabs input:focus-visible ~ .tabs__nav label[for] { outline: none; }
.tabs input:focus-visible + .tabs__nav label,
.tabs__nav label:focus-within { outline: 3px solid var(--mint); outline-offset: 2px; }

.tabs__panels {
  background: var(--shell);
  border-radius: var(--r);
  padding: 2rem;
  min-height: 12rem;
}

.tabs__panel { display: none; }
.tabs__panel h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.tabs__panel p { color: var(--muted); margin: 0; }

.tabs input#eks1:checked ~ .tabs__nav label[for=eks1] { background: #ffffff; border-color: #e2e2e2; }
.tabs input#eks1:checked ~ .tabs__panels .tabs__panel--1 { display: block; }
.tabs input#eks2:checked ~ .tabs__nav label[for=eks2] { background: #ffffff; border-color: #e2e2e2; }
.tabs input#eks2:checked ~ .tabs__panels .tabs__panel--2 { display: block; }
.tabs input#eks3:checked ~ .tabs__nav label[for=eks3] { background: #ffffff; border-color: #e2e2e2; }
.tabs input#eks3:checked ~ .tabs__panels .tabs__panel--3 { display: block; }
.tabs input#eks4:checked ~ .tabs__nav label[for=eks4] { background: #ffffff; border-color: #e2e2e2; }
.tabs input#eks4:checked ~ .tabs__panels .tabs__panel--4 { display: block; }
.tabs input#eks5:checked ~ .tabs__nav label[for=eks5] { background: #ffffff; border-color: #e2e2e2; }
.tabs input#eks5:checked ~ .tabs__panels .tabs__panel--5 { display: block; }
.tabs input#eks6:checked ~ .tabs__nav label[for=eks6] { background: #ffffff; border-color: #e2e2e2; }
.tabs input#eks6:checked ~ .tabs__panels .tabs__panel--6 { display: block; }
.tabs input#eks7:checked ~ .tabs__nav label[for=eks7] { background: #ffffff; border-color: #e2e2e2; }
.tabs input#eks7:checked ~ .tabs__panels .tabs__panel--7 { display: block; }
.tabs input#eks8:checked ~ .tabs__nav label[for=eks8] { background: #ffffff; border-color: #e2e2e2; }
.tabs input#eks8:checked ~ .tabs__panels .tabs__panel--8 { display: block; }

/* --- Tal til venstre, punkter til højre --- */

.factgrid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
  padding-top: 2.5rem;
  border-top: 2px solid var(--text);
}

@media (min-width: 52rem) {
  .factgrid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}

.statboxes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.statboxes li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 8.5rem;
}

.statboxes strong {
  display: block;
  font-family: var(--sans);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.statboxes span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.factgrid__side .points { margin: 0 0 1.25rem; max-width: none; }
.factgrid__side .method { margin: 0; }


/* --- Indledning: tal til venstre, tekst til højre --- */

.intro {
  display: grid;
  gap: 2.5rem;
  padding: 1rem 0 1rem;
}

@media (min-width: 56rem) {
  .intro {
    grid-template-columns: var(--om-grid);
    gap: var(--om-gap);
    align-items: start;
  }
}

.intro__facts .statboxes { gap: 1rem; }

.intro__facts .method {
  margin: 1.25rem 0 0;
  max-width: none;
}

.intro__text > p {
  max-width: 34rem;
  margin-bottom: 1.15em;
}

.intro__text .points {
  margin: 2rem 0 0;
  max-width: 34rem;
}


/* --- CV i venstre spalte, kompakt --- */

.cv { margin-top: 2.5rem; }

.cv h2 {
  font-size: 1.5em;
  margin-bottom: 1rem;
}

.record--compact li { padding: 0.85rem 0; border: 0; }
.record--compact li:first-child { padding-top: 0; }
.record--compact .years { font-size: 0.75rem; margin-bottom: 0.1rem; }
.record--compact h3 { font-size: 0.9rem; margin-bottom: 0.15rem; }

.record--compact p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 24rem;
}

.omdoc .medialist { border-top: 0; }

/* --- Punkterne som kort med tekst --- */

.cards-title {
  font-size: 1.75rem;
  margin: 2.5rem 0 1.5rem;
}

.points--cards {
  display: grid;
  gap: 1rem;
  max-width: none;
  grid-auto-rows: 1fr;
}

@media (min-width: 40rem) {
  .points--cards { grid-template-columns: 1fr 1fr; }
}

.points--cards li {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
}

.points--cards h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.points--cards p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* --- Erfaring med baggrund --- */

.cv {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* --- Ekspertise som eget felt --- */

.doc--panel {
  background: var(--shell);
  border-radius: var(--r);
  padding: 2.5rem;
}

@media (min-width: 56rem) {
  .doc--panel { padding: 3rem; }
}

.doc--panel .tabs__panels {
  background: var(--paper);
  border: 1px solid #e2e2e2;
}
.doc--panel .tabs__nav label:hover { background: rgba(0, 0, 0, 0.03); }

/* --- Spørgsmål og profiler ved siden af hinanden --- */

.pair {
  margin-top: 4.5rem;
  display: grid;
  gap: var(--om-gap);
}

@media (min-width: 56rem) {
  .pair { grid-template-columns: var(--om-grid); align-items: start; }
}

.pair h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.pair .profiles { grid-template-columns: 1fr; }


.tabs input:checked ~ .tabs__nav label {
  background: #ffffff;
  border-color: #e2e2e2;
}