/* Datly 3. Samme opbygning som Datly 2, ny palet "Hvid med lime" (28-10-2026): hvid grund, lime som eneste farve (highlighter), mørk grøngrå kun til tekst. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113;
}

:root {
  --bg: #ffffff;
  --surface: #f2f4ef;
  --ink: #26302a;         /* mørk grøngrå: kun tekst og tynde linjer */
  --muted: #5a645c;
  --accent: #b8e62e;      /* lime: knapper, highlighter og få fremhævninger */
  --accent-hover: #a8d61f;
  --accent-ink: #1e2a22;  /* tekst på lime */
  --accent-soft: #eef8d2; /* lys lime-flade til udvalgte sektioner */
  --ink-deep: #f2f4ef;    /* footeren er lys */
  --field-mint: #f2f4ef;  /* lys neutral flade */
  --on-ink-soft: #3f4a42; /* sekundær tekst på lime */

  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.5rem, 1.2rem + 4.4vw, 5.5rem);

  --card: #fff;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-btn: 12px;
  --shadow: 0 1px 2px rgb(38 48 42 / .06), 0 12px 32px -12px rgb(38 48 42 / .18);
  --shadow-lg: 0 2px 4px rgb(38 48 42 / .06), 0 28px 56px -20px rgb(38 48 42 / .24);
  --shadow-btn: 0 1px 2px rgb(38 48 42 / .12), 0 8px 18px -8px rgb(120 160 20 / .55);

  --margin: clamp(20px, 3.2vw, 48px);
  --max: 1440px;
  --gap-section: clamp(120px, 14vw, 220px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body.datly { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
p { text-wrap: pretty; }
.datly :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--margin); }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }

/* Knapper og links */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: var(--step-body); text-decoration: none; border: 0; border-radius: var(--radius-btn); box-shadow: var(--shadow-btn); cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 2px 4px rgb(38 48 42 / .12), 0 14px 26px -10px rgb(120 160 20 / .6); }
/* Highlighter: lime markering bag nøgleord, ligesom logoet */
.hl { background: linear-gradient(transparent 52%, var(--accent) 52%, var(--accent) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.btn:active { transform: translateY(0); }
.btn-light { background: var(--accent); color: var(--accent-ink); }
.btn-light:hover { background: var(--accent-hover); }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-underline-offset .2s var(--ease); }
.link:hover { text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-weight: 500; font-size: var(--step-small); transition: opacity .2s; }
.nav a:not(.btn):hover { opacity: .7; }
.nav .btn { min-height: 44px; font-size: var(--step-small); }
/* Rullemenuer (Ydelser, Brancher): åbner ved hover, fokus og klik */
.nav-group { position: relative; }
.nav-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; background: none; border: 0; padding: 0; color: var(--ink); font-weight: 500; font-size: var(--step-small); cursor: pointer; }
.nav-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-group.is-open .nav-toggle::after { transform: rotate(-135deg) translateY(-1px); }
.nav-sub { list-style: none; position: absolute; top: calc(100% + 6px); left: -14px; z-index: 30; min-width: 270px; display: none; gap: 2px; padding: 8px; background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* bro, så musen kan nå menuen */
.nav-group:hover .nav-sub, .nav-group.is-open .nav-sub { display: grid; }
.nav-sub a { display: block; padding: 10px 12px; border-radius: 6px; }
.nav-sub a:hover { opacity: 1 !important; background: var(--surface); }
.menu-btn { display: none; background: none; border: 0; font-weight: 600; font-size: var(--step-body); min-height: 44px; cursor: pointer; }

/* Hero: sætningen er layoutet */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(64px, 8vw, 128px); padding-bottom: clamp(24px, 4vw, 56px); }
.hero-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(20px, 2.2vw, 32px); display: grid; gap: 18px; }
.hero-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-kpis div { background: var(--bg); border-radius: var(--radius-sm); padding: 14px 16px; }
.hero-kpis small { display: block; font-size: var(--step-small); color: var(--muted); }
.hero-kpis b { font-size: var(--step-lead); letter-spacing: -0.02em; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-spark { width: 100%; height: 72px; }
.hero-sources { list-style: none; display: grid; gap: 8px; font-size: var(--step-small); }
.hero-sources li { display: flex; justify-content: space-between; gap: 12px; background: var(--bg); border-radius: 6px; padding: 9px 12px; }
.hero-sources .ok { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hero-sources .ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-card figcaption { font-size: var(--step-small); color: var(--muted); }
.hero-line { font-size: var(--step-display); line-height: .98; letter-spacing: -0.045em; font-weight: 600; max-width: 15ch; }
.hero-lead { margin-top: 32px; font-size: var(--step-lead); line-height: 1.35; max-width: 42ch; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.hero-byline { display: flex; align-items: center; gap: 14px; margin-top: 32px; font-size: var(--step-small); color: var(--muted); }
.hero-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--shadow); background: #fff; }
.hero-byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hero-byline a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sektioner */
.section { padding-top: var(--gap-section); }
.statement { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; max-width: 30ch; }

/* Beregneren */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.calc h2, .section-title { font-size: var(--step-head); max-width: 16ch; }
.calc-intro p { margin-top: 24px; max-width: 40ch; }
.calc-form { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 48px); display: grid; gap: 28px; }
.calc-field label { display: flex; justify-content: space-between; gap: 16px; font-weight: 500; }
.calc-field output { font-variant-numeric: tabular-nums; }
.calc-field input[type="range"] { width: 100%; margin-top: 12px; accent-color: var(--ink); height: 32px; }
.calc-result { background: var(--accent-soft); color: var(--ink); padding: 24px; border-radius: var(--radius-btn); }
.calc-result strong { color: var(--ink); display: block; font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-result p { margin-top: 10px; }
.calc-result .calc-cta { margin-top: 20px; width: 100%; justify-content: center; text-align: center; padding: 12px 20px; }
.calc-note { font-size: var(--step-small); color: var(--muted); }

/* Showcase: rapporten med tre nummererede dele */
.showcase { margin-top: var(--gap-section); background: var(--field-mint); padding: clamp(80px, 9vw, 144px) 0; }

/* Farveflade: arbejdsgangen på teal */
.field-ink { background: var(--accent-soft); color: var(--ink); margin-top: var(--gap-section); padding: clamp(96px, 11vw, 176px) 0; }
.field-ink .stairs p { color: var(--on-ink-soft); }
.field-ink .stairs .stair-line { color: var(--ink); }
.field-ink .stairs li:last-child .stair-line { width: fit-content; background: linear-gradient(transparent 55%, var(--accent) 55%, var(--accent) 92%, transparent 92%); }
.showcase-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.showcase-text h2 { font-size: var(--step-head); max-width: 14ch; }
.showcase-caption { margin-top: 24px; max-width: 34ch; }
.showcase-steps { list-style: none; margin-top: 32px; display: grid; gap: 14px; counter-reset: trin; }
.showcase-steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.showcase-steps li::before { counter-increment: trin; content: counter(trin); }
.pin, .showcase-steps li::before { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .8125rem; font-weight: 600; letter-spacing: 0; box-shadow: 0 4px 10px -4px rgb(3 59 66 / .4); }
.pin { position: absolute; top: -12px; left: -12px; z-index: 1; }
/* Rapporten: tegnet som et Power BI-lærred (grå flade, hvide visuals, udsnit og sidefaner). Størrelser følger rammens bredde (cqw). */
.kpis, .vis { position: relative; }
.frame { aspect-ratio: 4 / 3; overflow: hidden; background: #eef2f1; border-radius: var(--radius); box-shadow: var(--shadow-lg); container-type: inline-size; }
.report { width: 100%; height: 100%; padding: 3.2cqw 3.6cqw 0; display: grid; grid-template-rows: auto auto 1fr auto; gap: 2.4cqw; font-size: 1.9cqw; }
.pbi-top { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.pbi-title { font-size: 2.7cqw; font-weight: 600; letter-spacing: -0.01em; }
.pbi-slicers { display: flex; gap: 1.2cqw; }
.pbi-slicers span { background: #fff; border: 1px solid #d5dfdc; border-radius: .6cqw; padding: .5cqw 1.4cqw; color: var(--muted); white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqw; }
.kpi, .vis { background: #fff; border: 1px solid #e1e8e6; border-radius: .9cqw; }
.kpi { padding: 2cqw 2.2cqw; }
.kpi b { display: block; font-size: 4.2cqw; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; font-variant-numeric: tabular-nums; }
.kpi small { display: block; margin-top: .6cqw; color: var(--muted); }
.kpi em { display: block; margin-top: .9cqw; font-style: normal; font-size: 1.7cqw; color: var(--muted); }
.kpi em.up { color: #1f7a54; }
.report-body { display: grid; grid-template-columns: 3fr 2fr; gap: 1.8cqw; min-height: 0; }
.vis { padding: 2cqw 2.2cqw; min-height: 0; display: flex; flex-direction: column; }
.vis-title { font-weight: 600; margin-bottom: 1.6cqw; }
.chart-wrap { flex: 1; display: grid; grid-template-columns: auto 1fr; gap: 1cqw; min-height: 0; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: 1.6cqw; line-height: 1; transform: translateY(.5em); }
.chart { display: flex; align-items: flex-end; gap: 1.6cqw; padding: 0 .6cqw; border-bottom: 1px solid #c3d0cc; background: linear-gradient(#e6ecea 1px, transparent 1px) 0 0 / 100% 50%; }
.chart i { flex: 1; background: var(--muted); border-radius: .4cqw .4cqw 0 0; }
.chart i:last-child { background: var(--accent); }
.chart-x { display: flex; gap: 1.6cqw; padding: .8cqw .6cqw 0 calc(1cqw + 2.4cqw); color: var(--muted); font-size: 1.6cqw; }
.chart-x span { flex: 1; text-align: center; }
.table { font-variant-numeric: tabular-nums; }
.table .row { display: flex; justify-content: space-between; align-items: center; gap: 1.2cqw; padding: .8cqw 0; border-bottom: 1px solid #edf1f0; }
.table .head { font-weight: 600; border-bottom-color: #c3d0cc; }
.table .total { font-weight: 600; border-bottom: 0; border-top: 1px solid #c3d0cc; margin-top: -1px; }
.table .row > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table .row > span:last-child { flex: none; white-space: nowrap; }
.table .db { display: flex; align-items: center; justify-content: flex-end; gap: 1cqw; }
.table .db i { width: calc(9cqw * var(--w, 1)); height: 1.4cqw; background: #b9d3cf; border-radius: .3cqw; }
.pbi-tabs { display: flex; align-items: center; gap: 3cqw; padding: 1.4cqw 0 1.6cqw; border-top: 1px solid #d5dfdc; color: var(--muted); }
.pbi-tabs .is-on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -.35cqw 0 var(--accent); padding-bottom: .4cqw; }
.pbi-note { margin-left: auto; }
@container (max-width: 560px) {
  .report { font-size: 2.6cqw; gap: 3cqw; }
  .pbi-title { font-size: 3.4cqw; }
  .pbi-slicers span:last-child, .pbi-note, .kpi em { display: none; }
  .kpi b { font-size: 5cqw; }
  .chart-y, .chart-x { font-size: 2.3cqw; }
  .chart-x { padding-left: calc(1cqw + 3.4cqw); }
  .report-body { grid-template-columns: 1.25fr 1fr; }
  .table .row { padding: .45cqw 0; }
  .vis-title { margin-bottom: .8cqw; }
  .report { gap: 2.4cqw; }
  .table .db i { display: none; }
}

/* Ydelser: tre rapport-udsnit (eksempler) */
.services-links { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 56px; list-style: none; }
.samples { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; margin-top: 56px; align-items: stretch; }
.sample { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-height: 300px; }
.sample-head { display: flex; justify-content: space-between; gap: 12px; font-size: var(--step-small); font-weight: 600; }
.sample-head span:last-child { font-weight: 400; color: var(--muted); }
.sample figcaption { font-size: var(--step-small); }
.sample figcaption a { font-weight: 600; }
.line-chart { width: 100%; height: 100%; min-height: 140px; }

/* Det får I: ét kort pr. ydelse med udbytte, indhold og link */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.service { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 2.6vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: start; transition: box-shadow .2s, transform .2s var(--ease); }
.service:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-visual { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; min-height: 190px; display: grid; align-content: center; }
.service-visual .line-chart { min-height: 130px; }
.service h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); letter-spacing: -0.03em; line-height: 1.1; }
.service h3 a { text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* hele kortet er klikbart */
.service-out { margin-top: 10px; color: var(--muted); line-height: 1.45; }
.service ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; font-size: var(--step-small); line-height: 1.45; }
.service li { position: relative; padding-left: 20px; }
.service li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.service-more { display: inline-block; margin-top: 18px; font-weight: 600; font-size: var(--step-small); color: var(--ink); }
.service:hover .service-more { text-decoration: underline; text-underline-offset: 4px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-align: center; }
.flow .stack { display: grid; gap: 6px; }
.flow span { background: var(--card); border: 1px solid #dbe4e1; border-radius: 6px; padding: 8px 4px; }
.flow .hub { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); padding: 16px 4px; }
.flow .out { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); padding: 16px 4px; }
.flow i { width: 14px; height: 2px; background: var(--muted); position: relative; }
.flow i::after { content: ""; position: absolute; right: -1px; top: -3px; border-left: 5px solid var(--muted); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.mini-table { display: grid; gap: 10px; align-content: start; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.mini-table div { display: flex; justify-content: space-between; gap: 12px; background: var(--bg); padding: 8px 10px; border-radius: 6px; }
.mini-kpi { display: grid; gap: 10px; align-content: start; }
.mini-kpi div { background: var(--bg); padding: 10px 12px; border-radius: var(--radius-sm); }
.mini-kpi small { display: block; font-size: var(--step-small); color: var(--muted); }
.mini-kpi b { font-size: var(--step-lead); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Sådan arbejder vi: trappen */
.stairs { list-style: none; display: grid; gap: 56px; }
.stairs li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.stairs li > * { grid-column: var(--start) / span 6; }
.stairs li:nth-child(1) { --start: 1; }
.stairs li:nth-child(2) { --start: 3; }
.stairs li:nth-child(3) { --start: 5; }
.stairs li:nth-child(4) { --start: 7; }
.stairs .stair-line { font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
.stairs p { margin-top: 12px; max-width: 34ch; color: var(--muted); }

/* Om Daniel */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-photo { width: 144px; height: 144px; background: #fff; border-radius: 50%; object-fit: cover; margin-bottom: 28px; box-shadow: var(--shadow); }
.about-text p { margin-top: 24px; font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 32px; }
.about-facts { display: grid; gap: 16px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stats div { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 32px); }
.about-stats b { display: inline; font-size: clamp(1.35rem, 1rem + 1vw, 1.85rem); line-height: 1.3; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); background: linear-gradient(transparent 55%, var(--accent) 55%, var(--accent) 92%, transparent 92%); }
.about-stats small { display: block; margin-top: 10px; font-size: var(--step-body); color: var(--muted); }
.about-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 2.4vw, 32px); }
.about-card h3 { font-size: var(--step-body); letter-spacing: 0; font-weight: 600; }
.about-card h3 + * { margin-top: 12px; }
.about-card * + h3 { margin-top: 24px; }
.about-list { list-style: none; display: grid; gap: 12px; }
.about-list li { position: relative; padding-left: 22px; line-height: 1.45; }
.about-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--field-mint); border-radius: 999px; padding: 6px 14px; font-size: var(--step-small); font-weight: 500; }

/* Indsigter (bloggen) */
.posts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.post-card a { display: block; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 40px); text-decoration: none; height: 100%; transition: box-shadow .2s, transform .2s var(--ease); }
.post-card a:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card h3 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-top: 12px; }
.post-card p { margin-top: 12px; }
.post-meta { font-size: var(--step-small); color: var(--muted); }

/* Spørgsmål: kort, der foldes ud */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro p { margin-top: 24px; max-width: 30ch; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .2s; }
.faq-item:hover, .faq-item[open] { box-shadow: var(--shadow-lg); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px clamp(20px, 2.4vw, 32px); cursor: pointer; border-radius: var(--radius); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: clamp(1.0625rem, .95rem + .5vw, 1.375rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.faq-icon { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); transition: background-color .2s, transform .3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--accent); transform: rotate(45deg); }
.faq-item p { padding: 0 clamp(20px, 2.4vw, 32px) 24px; max-width: 62ch; line-height: 1.6; color: var(--muted); }

/* Kontakt */
.contact { background: var(--accent); color: var(--accent-ink); margin-top: var(--gap-section); padding: clamp(80px, 10vw, 160px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.contact h2 { font-size: var(--step-head); max-width: 14ch; }
.contact-lead { margin-top: 24px; font-size: var(--step-lead); line-height: 1.35; max-width: 32ch; }
.contact-mail { display: inline-block; margin-top: 48px; font-size: var(--step-head); letter-spacing: -0.03em; font-weight: 500; text-decoration: none; transition: opacity .2s; }
.contact-mail:hover { opacity: .75; }
.contact-phone { margin-top: 12px; }
.contact-phone a { text-decoration: none; }
.contact-points { list-style: none; margin-top: 40px; display: grid; gap: 8px; }
.contact-form { background: var(--bg); color: var(--ink); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgb(38 48 42 / .35); }
.contact-form .form-note { font-size: var(--step-small); color: var(--muted); margin-top: 16px; }
.contact-form .form-note a { color: var(--ink); }
.contact-form .wpforms-container { margin: 0 !important; }
.contact-form .wpforms-field { padding: 0 0 18px !important; }
.contact-form .wpforms-field-label { font-weight: 500 !important; color: var(--ink) !important; font-size: var(--step-small) !important; margin-bottom: 6px !important; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { width: 100% !important; max-width: 100% !important; border: 0 !important; border-radius: var(--radius-sm) !important; background: var(--surface) !important; color: var(--ink) !important; padding: 12px 14px !important; font-size: var(--step-body) !important; box-shadow: none !important; } /* taste-skill-ignore: fjerner WPForms' egen skygge */
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--ink) !important; outline-offset: 0; }
.contact-form button[type="submit"] { width: 100% !important; min-height: 52px !important; background: var(--ink) !important; color: #fff !important; border: 0 !important; border-radius: var(--radius-btn) !important; box-shadow: var(--shadow-btn) !important; font-weight: 500 !important; font-size: var(--step-body) !important; cursor: pointer; }
.contact-form button[type="submit"]:hover { background: #3a463e !important; }

/* Undersider: ydelser, privatliv, viden */
.page-hero { padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(48px, 6vw, 96px); }
.page-hero h1 { font-size: var(--step-display); line-height: .95; letter-spacing: -0.045em; max-width: 14ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero-grid .frame { aspect-ratio: 4 / 3; }
.page-samples { padding-top: var(--gap-section); }
.page-samples .samples { margin-top: 40px; }
.page-hero .lead { margin-top: 24px; font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.page-hero .btn { margin-top: 32px; }
.page-hero .post-meta { margin-top: 20px; }
.page-hero .back { display: inline-block; margin-bottom: 28px; font-weight: 500; font-size: var(--step-small); }
.page-body { padding-bottom: var(--gap-section); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 112px); align-items: start; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em !important; }
.prose h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); margin-top: 2em !important; }
.prose h2:first-child { margin-top: 0 !important; }
.prose h3 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-top: 1.6em !important; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.3em !important; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 600; }

/* Blogindlæg: mindre titel, "Kort fortalt", fold-ud-spørgsmål, forfatter, indholdsfortegnelse og "Læs også" */
.post-hero h1 { font-size: clamp(2.25rem, 1.3rem + 3vw, 3.75rem); line-height: 1.02; max-width: 22ch; }
.prose h2 { scroll-margin-top: 110px; }
.prose ul { list-style: none; padding-left: 0 !important; }
.prose ul > li { position: relative; padding-left: 24px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose .kort-fortalt { background: var(--field-mint); border-radius: var(--radius); padding: 24px 28px; }
.prose .kort-fortalt > * + * { margin-top: 10px !important; }
.prose .kort-fortalt h2 { font-size: var(--step-body); letter-spacing: 0; margin: 0 !important; text-transform: none; }
.prose .kort-fortalt ul > li::before { background: var(--ink); }
.prose .wp-block-details { background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 0; }
.prose .wp-block-details + .wp-block-details { margin-top: 10px !important; }
.prose .wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; font-weight: 500; font-size: var(--step-body); }
.prose .wp-block-details summary::-webkit-details-marker { display: none; }
.prose .wp-block-details summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); font-size: 20px; line-height: 1; transition: transform .3s var(--ease), background-color .2s; }
.prose .wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.prose .wp-block-details > :not(summary) { padding: 0 22px 18px; margin-top: 0 !important; color: var(--muted); }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 56px !important; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { margin-top: 6px !important; }
.author-name { font-weight: 600; margin-top: 0 !important; }
.author-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--step-small); }
.toc ol { list-style: none; margin-top: 12px; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 6px 0; font-size: var(--step-small); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc); color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.related { padding-bottom: 24px; }
.related .post-card h3 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-top: 12px; }
.aside { position: sticky; top: 104px; display: grid; gap: 16px; }
.aside-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.aside-card h2 { font-size: var(--step-lead); letter-spacing: -0.02em; }
.aside-card p { margin-top: 12px; }
.aside-card .btn { margin-top: 20px; width: 100%; justify-content: center; }
.aside-links { list-style: none; margin-top: 12px; display: grid; gap: 4px; }
.aside-links a { display: block; padding: 6px 0; font-weight: 500; text-decoration: none; }
.aside-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pagination .nav-links { display: flex; gap: 24px; margin-top: 56px; font-weight: 500; }
.post-empty { font-size: var(--step-lead); max-width: 36ch; }
.not-found { min-height: 60svh; display: grid; align-content: center; }
.not-found h1 { font-size: var(--step-head); }
.not-found p { margin: 20px 0 32px; font-size: var(--step-lead); }

/* Footer: invitation over et beskåret navn */
.site-footer { background: var(--ink-deep); color: var(--ink); overflow: hidden; padding-top: clamp(64px, 8vw, 120px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.footer-invite { font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; font-weight: 600; max-width: 13ch; }
.footer-invite + .btn { margin-top: 32px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-links h2 { font-size: var(--step-body); letter-spacing: 0; font-weight: 600; }
.footer-links ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--step-small); margin-top: clamp(64px, 8vw, 120px); }
.footer-legal a { text-underline-offset: 3px; }
.site-footer { padding-bottom: 48px; }

/* Bevægelse: dele toner frem, når sektionen kommer ind */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsivt */
@media (max-width: 1020px) {
  .calc, .contact-grid, .footer-top, .page-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .showcase-stage, .hero, .about, .services { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .aside { position: static; max-width: 640px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 80px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--margin) 24px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: var(--step-body); }
  .nav .btn { margin-top: 12px; justify-content: center; }
  .nav-toggle { width: 100%; justify-content: space-between; padding: 14px 0; font-size: var(--step-body); }
  .nav-group:hover .nav-sub { display: none; }
  .nav-sub { position: static; min-width: 0; padding: 0 0 8px 14px; background: none; box-shadow: none; }
  .nav-group.is-open .nav-sub { display: grid; }
  .nav-sub a { padding: 10px 0; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stairs li > * { grid-column: 1 / -1; padding-left: calc((var(--start) - 1) * 3vw); }
  .posts, .samples, .service { grid-template-columns: 1fr; }
  .frame, .page-hero-grid .frame { aspect-ratio: auto; }
  .report { height: auto; }
  .chart-wrap { min-height: 40cqw; }
  .hero { padding-top: 56px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .datly * { transition: none !important; }
}
