/* Implement AI · stylesheet
   Følger DESIGN.md: papir, blæk, fjord som eneste accent, signal kun til mennesket og fokus.
   Serif (Newsreader) til H1 og H2, Schibsted Grotesk til resten. */

@font-face { font-family: "Newsreader"; src: url("../fonts/nr-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/sg-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/sg-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/sg-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/sg-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --sec: clamp(4rem, 9vw, 6rem);
  --paper: #F6F5F1;
  --paper-2: #ECEAE3;
  --paper-3: #E1DED4;
  --card: #FBFAF7;
  --ink: #1B2B33;
  --ink-2: #33444C;
  --muted: #56656B;
  --fjord: #1E5160;
  --fjord-deep: #133A45;
  --night: #0F1F26;
  --night-2: #1A2E36;
  --on-dark: #EEF2EF;
  --on-dark-muted: #A9BDB2;
  --sage: #A9BDB2;
  --signal: #F2C14E;
  --line: #D9D5CA;
  --radius: 4px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--fjord); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); border-radius: 2px; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .6em; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
.lead { text-wrap: pretty; }
h1 { font-size: clamp(2.6rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: clamp(1.125rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 52ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--signal); color: var(--ink); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand svg { width: 28px; height: 28px; }
.nav { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--fjord); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang { font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; padding: .4rem .55rem; border: 1px solid var(--line); border-radius: var(--radius); }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1.25rem; }
.mobile-nav a { display: block; padding: .8rem 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

@media (min-width: 900px) {
  .nav { display: flex; gap: 1.75rem; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.4rem; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1; text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--fjord); color: #fff; }
.btn-primary:hover { background: var(--fjord-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-small { min-height: 40px; padding: .45rem .9rem; font-size: .95rem; }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; gap: 2.75rem; }
.hero-grid > *, .guide-grid > *, .about > * { min-width: 0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-note { margin-top: 1.25rem; font-size: .95rem; color: var(--muted); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 7fr 5fr; align-items: center; gap: 4rem; } }

/* Workflow panel: sidens bærende element */
.flow { margin: 0; background: var(--night); color: var(--on-dark); border-radius: 6px; padding: 2rem 1.75rem 1.75rem; }
.flow-title { font-weight: 700; font-size: 1rem; color: var(--sage); margin: 0 0 1.25rem; }
.flow ol { list-style: none; margin: 0; padding: 0; position: relative; }
.flow ol::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--sage); transform-origin: top; animation: draw 1.6s cubic-bezier(.6,0,.2,1) .2s both; }
.flow li { position: relative; padding: 0 0 1.3rem 2.6rem; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 2px solid var(--sage); }
.flow li strong { display: block; font-size: 1.05rem; color: #fff; }
.flow li span { font-size: .95rem; color: #BFD0C8; }
.flow li.human::before { background: var(--signal); border-color: var(--signal); }
.flow li.human strong { color: var(--signal); }
.flow-caption { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(169,189,178,.35); font-size: .92rem; color: #BFD0C8; }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Værktøjer */
.tools { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.25rem 0; font-size: .98rem; }
.tools p { margin: 0; max-width: none; color: var(--muted); }
.tools strong { color: var(--ink); }

/* Sektioner */
.section { padding: var(--sec) 0; }
.section-alt { background: var(--paper-2); }
.section-head { margin-bottom: 3rem; }
.section-head .lead { margin-bottom: 0; }

/* Situationer */
.situations { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.situations li { border-top: 1px solid var(--line); padding: 1.25rem 0; display: grid; gap: .35rem; }
.situations li:first-child { border-top-color: var(--ink); }
.situations h3 { margin-bottom: .35em; }
.situations p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .situations li { grid-template-columns: 1fr 2fr; gap: 3rem; } .situations h3 { margin: 0; } }

/* Ydelser */
.services { border-top: 1px solid var(--ink); }
.service { display: grid; gap: .75rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; letter-spacing: -0.01em; margin: 0; }
.service .for { font-size: .95rem; color: var(--muted); margin: .35rem 0 0; }
.service p { margin: 0 0 .75rem; }
.service ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.service li { margin: .2rem 0; }
@media (min-width: 820px) { .service { grid-template-columns: 1fr 1.5fr; gap: 3rem; } }

/* Priser */
.price-toggle { display: inline-flex; border: 1px solid var(--ink); border-radius: var(--radius); padding: 2px; margin-bottom: .6rem; }
.price-toggle button { font: inherit; font-weight: 700; border: 0; background: transparent; color: var(--ink); padding: .55rem 1rem; border-radius: 2px; cursor: pointer; min-height: 44px; }
.price-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.vat-note { font-size: .95rem; color: var(--muted); margin-bottom: 2rem; }
.prices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.price-row { display: grid; gap: .4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.price-row h3 { margin: 0; font-size: 1.15rem; }
.price-row p { margin: 0; color: var(--muted); font-size: .98rem; }
.price { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { display: block; font-family: "Schibsted Grotesk", system-ui, sans-serif; font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-row.featured { background: var(--card); border: 1px solid var(--ink); border-radius: var(--radius); padding: 1.4rem 1.25rem; margin: 1rem 0; }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; background: var(--paper-3); color: var(--ink); padding: .15rem .55rem; border-radius: 4px; margin-left: .4rem; vertical-align: middle; }
@media (min-width: 820px) {
  .price-row { grid-template-columns: 1.1fr 1.6fr .8fr; gap: 2rem; align-items: baseline; }
  .price { text-align: right; }
}
.price-foot { margin-top: 1.75rem; font-size: .95rem; color: var(--muted); }

/* Proces: en ægte rækkefølge, derfor numre */
.steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.steps li { display: grid; gap: .25rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top-color: var(--ink); }
.steps h3 { margin: 0; }
.steps p { margin: 0; color: var(--muted); }
.steps .dur { display: block; font-size: .95rem; color: var(--muted); font-weight: 500; font-variant-numeric: normal; }
@media (min-width: 800px) { .steps li { grid-template-columns: 11rem 1fr 2fr; gap: 3rem; align-items: baseline; } }

/* Principper */
.principles { display: grid; gap: 1.75rem 3rem; }
.principles h3 { margin-bottom: .3em; }
.principles p { margin: 0; color: var(--muted); }
.principles > div { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .principles { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* Om */
.about { display: grid; gap: 2rem; align-items: start; }
.portrait { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.about > picture, .about picture { display: block; min-width: 0; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.facts li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
/* Fotos: portræt og billeder. Ingen kant, ingen skygge (DESIGN.md 6) */
.photo, .about-photo { margin: 2rem 0 0; }
.photo picture, .photo img, .about-photo picture, .about-photo img { display: block; width: 100%; height: auto; }
.photo img, .about-photo img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.section-alt .photo img, .section-alt .about-photo img { background: var(--paper-3); }
.photo figcaption, .about-photo figcaption { margin-top: .6rem; font-size: .9375rem; color: var(--muted); max-width: 64ch; }
@media print { .photo img, .about-photo img { max-width: 60%; } }
@media (min-width: 820px) { .about { grid-template-columns: 320px 1fr; gap: 4rem; } .about:not(:has(.portrait)):not(.grant) { grid-template-columns: 1fr; max-width: 46rem; } }
@media (min-width: 960px) { .about:not(:has(.portrait)):not(.grant) { margin-left: 18rem; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font-size: 1.6rem; font-weight: 400; color: var(--ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* Kontakt */
.contact { background: var(--fjord-deep); color: var(--on-dark); }
.contact h2 { color: #fff; }
.contact .lead { color: #BFD0C8; }
.contact a { color: #fff; }
.contact-grid { display: grid; gap: 2.5rem; }
.faq { max-width: 52rem; }
.contact-id { margin: 1.25rem 0 0; font-size: .9375rem; color: #BFD0C8; }
.next-contact { margin: 1rem 0 0; color: #BFD0C8; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.form { display: grid; gap: 1rem; }
.form label { font-weight: 700; font-size: .95rem; display: grid; gap: .35rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--card); border: 1px solid transparent; border-radius: var(--radius); padding: .75rem .85rem; min-height: 48px; width: 100%; }
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--fjord); }
.form .btn-primary { background: var(--paper); color: var(--ink); justify-self: start; }
.form .btn-primary:hover { background: #fff; }
.form-note { font-size: .9rem; color: #BFD0C8; margin: 0; }
.promise { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.promise li { padding: .55rem 0 .55rem 1.6rem; position: relative; }
.promise li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: .7rem; height: 1px; background: var(--on-dark); }

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-muted); padding: 3rem 0; font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 1rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; max-width: none; }
.site-footer .wrap { gap: .6rem; }

/* Juridiske sider */
.legal { padding: 3rem 0 5rem; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow ol::before { animation: none; }
  .faq summary::after { transition: none; }
}

/* Tilskudsforløb */
.grant h3 { margin-bottom: .5rem; }
.grant .facts { margin-top: .5rem; }
.grant-note { font-size: .95rem; color: var(--muted); margin-top: 1rem; }
.grant-steps { margin: .5rem 0 0; padding-left: 1.3rem; }
.grant-steps li { margin: 0 0 .7rem; padding-left: .3rem; }
.grant-steps li::marker { font-weight: 800; color: var(--fjord); }
@media (min-width: 820px) { .about.grant { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Undersider */
.hero-sub { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.hero-sub h1 { max-width: 20ch; font-size: clamp(2.4rem, 6vw, 4rem); }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }
.wrap.narrow { max-width: var(--wrap); }
.wrap.narrow > * { max-width: 52rem; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.checklist li { padding: .9rem 0 .9rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.3rem; width: .9rem; height: .5rem; border-left: 2px solid var(--fjord); border-bottom: 2px solid var(--fjord); transform: rotate(-45deg); }
.steps-inline { margin-top: 1.5rem; }
.price-box { margin-top: 2rem; background: var(--card); border: 1px solid var(--ink); border-radius: var(--radius); padding: 1.5rem 1.4rem; display: grid; gap: .5rem; }
.price-box h3 { margin: 0; }
.price-box p { margin: 0; color: var(--muted); font-size: .95rem; }
.price-box a { font-weight: 700; }
@media (min-width: 700px) { .price-box { grid-template-columns: 1fr auto; align-items: center; } .price-box a { grid-column: 1 / -1; } }
.contact .cta-signal { background: var(--paper); color: var(--ink); }
.contact .cta-signal:hover { background: #fff; }
.more { display: inline-block; margin-top: .75rem; font-weight: 700; }

/* Eksempler på forsiden */
.examples { display: grid; border-bottom: 1px solid var(--line); }
.example { display: grid; gap: .4rem 3rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.example:first-child { border-top-color: var(--ink); }
.example > * { min-width: 0; }
.example .who { font-size: .875rem; font-weight: 500; color: var(--muted); margin: 0 0 .6rem; }
.example h3 { margin-bottom: .5rem; }
.example p { margin: 0; color: var(--muted); font-size: .98rem; }
.example .before-after { margin-top: .5rem; font-size: .98rem; color: var(--ink); font-weight: 500; }
@media (min-width: 800px) {
  .example { grid-template-columns: 11rem 1fr 1fr; align-items: baseline; }
  .example .who { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .example h3, .example .card-h, .example > p:not(.who):not(.before-after) { grid-column: 2; }
  .example .before-after { grid-column: 3; grid-row: 1 / span 3; margin: 0; }
  .examples:not(:has(.who)) .example { grid-template-columns: 1fr 1.4fr; }
  .examples:not(:has(.who)) .example .card-h { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .examples:not(:has(.who)) .example > p { grid-column: 2; }
}

/* Artikler */
.byline { font-size: .95rem; color: var(--muted); margin-bottom: .75rem; }
.article h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.5rem; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { font-size: 1.1rem; line-height: 1.7; }
.article ul { padding-left: 1.2rem; max-width: 64ch; }
.article li { margin-bottom: .6rem; }
.example h3 a { color: var(--ink); text-decoration: none; }
.example h3 a:hover { color: var(--fjord); text-decoration: underline; }
.book-direct { display: none; }
.book-direct.on { display: inline-flex; margin-top: 1.25rem; }

/* Beregner */
.calc-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .calc-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; } }
.calc { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.calc label { display: grid; gap: .4rem; font-weight: 700; font-size: .98rem; }
.calc input[type=number], .calc select { font: inherit; font-weight: 500; border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .8rem; min-height: 48px; background: var(--card); color: var(--ink); }
.calc input[type=number]:focus, .calc select:focus { border-color: var(--fjord); }
.calc input[type=range] { width: 100%; accent-color: var(--fjord); min-height: 32px; }
.calc output { color: var(--fjord); }
.calc-out { background: var(--card); border: 1px solid var(--ink); border-radius: var(--radius); padding: 1.75rem; display: grid; gap: .25rem; }
.calc-out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.calc-out .k { color: var(--muted); }
.calc-out .v { white-space: nowrap; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -0.01em; text-align: right; font-variant-numeric: tabular-nums; }
.calc-out .hl { border-bottom: 0; }
.calc-out .hl .v { color: var(--ink); font-size: 2.1rem; }
.calc-note { font-size: .88rem; color: var(--muted); margin: .5rem 0 0; }
.industries { margin-top: 1.5rem; color: var(--muted); }
.deliv { display: grid; gap: 1rem; } @media (min-width: 760px) { .deliv { grid-template-columns: 1fr 1fr; } }
.calc-grid > * { min-width: 0; }
.calc input, .calc select { width: 100%; }
@media (max-width: 420px) { .calc-out { padding: 1.25rem 1rem; } .calc-out > div { flex-direction: column; align-items: flex-start; gap: .1rem; } .calc-out .v { white-space: nowrap; text-align: left; } .calc-out .hl .v { font-size: 1.75rem; } }
.price-row > * { min-width: 0; }
@media (max-width: 480px) { .price { white-space: normal; } .price small { white-space: normal; } }
.card-h { font-size: 1.5rem; margin-bottom: .5rem; } .card-h a { color: var(--ink); text-decoration: none; } .card-h a:hover { color: var(--fjord); text-decoration: underline; }

/* Hero-faner */
.flow-tabs { display: flex; gap: 1.1rem; margin: -.5rem 0 1.5rem; border-bottom: 1px solid rgba(169,189,178,.25); overflow-x: auto; scrollbar-width: none; }
.flow-tabs button { font: inherit; font-size: .9rem; font-weight: 500; color: var(--on-dark-muted); background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: .5rem 0; margin-bottom: -1px; cursor: pointer; min-height: 44px; white-space: nowrap; }
.flow-tabs button[aria-selected="true"] { color: var(--on-dark); border-bottom-color: var(--on-dark); }
.flow-tabs button:hover { color: var(--on-dark); }
.flow ol.swap li { animation: rise .35s ease both; }
.flow ol.swap li:nth-child(2) { animation-delay: .06s; } .flow ol.swap li:nth-child(3) { animation-delay: .12s; } .flow ol.swap li:nth-child(4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Guide */
.guide-sec { background: var(--paper-2); }
.guide-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .guide-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; } }
.guide { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.guide fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .35rem; }
.guide legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.guide label { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; min-height: 48px; }
.guide label:has(input:checked) { border-color: var(--ink); }
.guide input { accent-color: var(--fjord); width: 1.1rem; height: 1.1rem; margin: 0; }
.guide-out { background: var(--night); color: var(--on-dark); border-radius: 6px; padding: 2rem 1.75rem; position: sticky; top: 5.5rem; }
.guide-out .who { color: var(--on-dark-muted); font-weight: 500; font-size: .875rem; margin: 0 0 .5rem; }
.guide-out h3 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin: 0 0 .6rem; }
.guide-out p { color: #D5E0DB; margin: 0 0 .75rem; }
.guide-out .g-price { color: #fff; font-weight: 700; font-size: 1.1rem; }
.guide-out .g-note { font-size: .92rem; border-top: 1px solid rgba(169,189,178,.35); padding-top: .75rem; }
.guide-out .g-note:empty { display: none; }
.guide-out .btn-primary { background: var(--paper); color: var(--ink); margin-top: .5rem; }
.guide-out .btn-primary:hover { background: #fff; }
@media (prefers-reduced-motion: reduce) { .flow ol.swap li, .flow li.human::before { animation: none; } }

/* Print */
@media print {
  .site-header, .mobile-nav, .btn, .menu-btn, .lang, .contact, .site-footer, .price-toggle, .flow-tabs, .calc-sec, .guide-sec { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 1.2rem 0; page-break-inside: avoid; }
  .flow, .guide-out, .price-row.featured, .example, .price-box { border: 1px solid #999; background: #fff !important; color: #000 !important; }
  .flow li strong, .flow li span, .flow-title, .flow-caption { color: #000 !important; }
  a { color: #000; text-decoration: none; }
  .faq details { display: block; } .faq details > * { display: block; }
}

/* Relaterede ydelser */
.related { padding-top: 0; }
.related-h { font-family: inherit; font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-bottom: .75rem; }

/* Tilbud, eksempel */
.offer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); position: relative; }
.offer::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--ink); border-radius: var(--radius) var(--radius) 0 0; }
.offer-head { display: grid; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink); margin-bottom: 1.5rem; }
@media (min-width: 700px) { .offer-head { grid-template-columns: 1fr auto; } .offer-meta { text-align: right; } }
.offer-kicker { font-size: .875rem; font-weight: 500; color: var(--muted); margin: 0 0 .3rem; }
.offer-title { font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin: 0; }
.offer-meta p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.55; }
.offer h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; color: var(--ink); }
.offer p { font-size: 1rem; }
.offer .checklist { border-top: 0; }
.offer .checklist li { padding: .5rem 0 .5rem 1.8rem; font-size: .98rem; }
.offer .checklist li::before { top: .95rem; width: .75rem; height: .4rem; }
.offer-table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.offer-table td { padding: .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.offer-table td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.offer-sum td { border-bottom: 0; border-top: 1px solid var(--ink); font-weight: 800; font-size: 1.05rem; }
.offer-small { font-size: .9rem; color: var(--muted); margin-top: .75rem; }
@media print { .offer { box-shadow: none; } .related { display: none; } }

/* Sektionshoved: nummereret notat (DESIGN.md, sektion 4)
   Tallene sættes af CSS, så rækkefølgen kan ændres frit i HTML. */
main { counter-reset: sec; }
.section-head { border-top: 2px solid var(--ink); padding-top: 1.25rem; display: grid; gap: .75rem; counter-increment: sec; }
.section-head .eyebrow, .section-head::before { font-size: .875rem; font-weight: 500; color: var(--muted); margin: 0; }
.section-head::before { content: counter(sec, decimal-leading-zero); content: counter(sec, decimal-leading-zero) / ""; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head .lead { max-width: 56ch; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: 4rem 11rem 1fr; column-gap: 1.5rem; align-items: baseline; }
  .section-head::before { grid-row: 1 / span 2; }
  .section-head .eyebrow { grid-column: 2; grid-row: 1 / span 2; }
  .section-head h2, .section-head .lead { grid-column: 3; }
  .section-head:not(:has(.eyebrow)) h2, .section-head:not(:has(.eyebrow)) .lead { grid-column: 2 / -1; }
}
@media (max-width: 959px) {
  .section-head { grid-template-columns: auto 1fr; column-gap: .75rem; }
  .section-head::before { grid-column: 1; }
  .section-head .eyebrow { grid-column: 2; }
  .section-head h2, .section-head .lead { grid-column: 1 / -1; }
}

/* Undersider: samme blæklinje over hver H2-sektion */
.section > .wrap.narrow > h2:first-child { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.article h2:first-child, .section.contact h2, .related-h { border-top: 0 !important; padding-top: 0 !important; }

.guide-sec { background: transparent; }
.guide-sec.section-alt { background: var(--paper-2); }
@media print { .section-head::before { color: #000; } }

/* Hero bryder gridet: workflow-panelet hænger ned over værktøjslinjen (DESIGN.md 5) */
@media (min-width: 960px) {
  .hero { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: 3rem; }
  .hero .flow { position: relative; z-index: 1; margin-bottom: -6rem; align-self: end; }
  .hero-sub .flow { margin-bottom: 0; align-self: start; }
  .tools { padding: 1.75rem 0; }
  .tools p { max-width: calc(58% - 2rem); }
  .tools + .section { padding-top: clamp(6rem, 10vw, 8rem); }
}

/* Animation der forklarer: trinnene tændes i rækkefølge, mennesket sidst */
.flow li::before { transition: background-color .3s, border-color .3s; }
.flow ol.run li:not(.human)::before { animation: lit .45s ease both; }
.flow ol.run li.human::before { animation: lit-human .45s ease both; }
.flow ol.run li:nth-child(1)::before { animation-delay: .25s; }
.flow ol.run li:nth-child(2)::before { animation-delay: .65s; }
.flow ol.run li:nth-child(3)::before { animation-delay: 1.05s; }
.flow ol.run li:nth-child(4)::before { animation-delay: 1.5s; }
@keyframes lit { from { background: var(--night); } 50% { background: var(--on-dark); } to { background: var(--night); } }
@keyframes lit-human { from { background: var(--night); border-color: var(--sage); } to { background: var(--signal); border-color: var(--signal); } }

/* Mikrointeraktioner: små og rolige */
.more::after, .card-h a::after, .related-list a::after { content: "\2009→"; display: inline-block; transition: transform .15s ease; }
.more:hover::after, .card-h a:hover::after, .related-list a:hover::after { transform: translateX(3px); }
.price-row:not(.featured) { transition: background-color .15s; }
@media (hover: hover) { .price-row:not(.featured):hover h3 { color: var(--fjord); } }
.btn-primary:active { transform: translateY(1px); }

/* Mobil: fast bookingknap, når hero er ude af syne og kontakt ikke er (DESIGN.md 8) */
.m-cta { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 30; display: flex; transform: translateY(150%); transition: transform .25s ease; }
.m-cta.show { transform: none; }
@media (min-width: 560px) { .m-cta { display: none; } }

/* Kontaktformular: besked i egen stemme efter klik */
.form-done { margin: 0; padding: .9rem 1rem; border: 1px solid rgba(238,242,239,.4); border-radius: var(--radius); color: var(--on-dark); }
.form-done[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .flow ol.run li::before { animation: none; }
  .flow ol.run li.human::before { background: var(--signal); border-color: var(--signal); }
  .m-cta, .more::after, .card-h a::after, .related-list a::after { transition: none; }
}
@media print { .m-cta { display: none !important; } }

/* Ydelser og priser: ydelsesnavnet linker til undersiden */
.price-row h3 a { color: inherit; text-decoration: none; }
.price-row h3 a::after { content: "\2009→"; display: inline-block; color: var(--fjord); transition: transform .15s ease; }
.price-row h3 a:hover { text-decoration: underline; }
.price-row h3 a:hover::after { transform: translateX(3px); }

/* Om: principperne som korte løfter */
.about-sub { margin: 2.25rem 0 .75rem; font-size: 1.1rem; }
.principles-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.principles-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.principles-list strong { color: var(--ink); }

/* Undersider: ingen sektionsnumre, kun blæklinjen */
.hero-sub ~ .section .section-head { display: block; }
.hero-sub ~ .section .section-head::before, .hero-sub ~ .section .section-head .eyebrow { display: none; }
.hero-sub ~ .section .section-head h2 { margin-bottom: .6rem; }

/* Ydelser uden priser og én tydelig indgang (runde 14) */
@media (min-width: 820px) { .service-list .price-row { grid-template-columns: 1fr 2fr; gap: 3rem; } }
.price-box.entry { margin-top: 2.5rem; padding: 2rem 1.75rem; border-color: var(--ink); }
.price-box.entry h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; letter-spacing: -0.01em; margin-bottom: .4rem; }
.price-box.entry .price { font-size: 2.25rem; }
.price-box.entry .btn { justify-self: start; margin-top: .5rem; }
.price-box .priv { margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.price-box .price small, .price small { display: block; font-variant-numeric: normal; }

/* Diagram: hvor SMV'er går i stå (runde 16). Søjlerne tegnes, når diagrammet kommer i syne. */
.stall { margin: 0 0 3rem; display: grid; gap: 2.5rem; padding: 2rem 0 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .stall { grid-template-columns: 1fr 1fr; column-gap: 4rem; } }
.st-col { min-width: 0; }
.st-h { font-size: 1.1rem; margin: 0 0 .25rem; }
.st-note { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.stall ol { list-style: none; margin: 0; padding: 0; }
.stall li { display: grid; grid-template-columns: 1fr 3.25rem; grid-template-areas: "lbl lbl" "bar val"; column-gap: .75rem; align-items: center; padding: .45rem 0; }
.st-lbl { grid-area: lbl; font-size: .95rem; }
.st-bar { grid-area: bar; position: relative; height: 12px; background: var(--paper-2); border-radius: 2px; }
.section-alt .st-bar { background: var(--paper-3); }
.st-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); background: var(--fjord); border-radius: 2px; transform-origin: left center; }
.st-val { grid-area: val; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: .95rem; }
.st-funnel .st-step .st-bar { height: 18px; }
/* Faldet fra 44 til 10: en stiplet skygge viser, hvor mange der stod før */
.st-drop .st-bar::before { content: ""; position: absolute; inset: -3px auto -3px 0; width: 44%; border: 1px dashed var(--ink); border-radius: 2px; }
.st-drop .st-lbl, .st-drop .st-val { color: var(--ink); font-weight: 700; }
.st-gap { margin: 1rem 0 0; padding: .9rem 1rem; border-left: 2px solid var(--ink); background: var(--card); font-size: .95rem; }
.st-group + .st-group { margin-top: 1.75rem; }
.st-group h4 { font-size: .95rem; font-weight: 500; color: var(--muted); margin: 0 0 .5rem; }
.stall sup, .situations sup { font-size: .7em; line-height: 0; margin-left: .15em; }
.stall sup a, .situations sup a { text-decoration: none; font-weight: 700; }
.st-tie { grid-column: 1 / -1; font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; max-width: 40ch; }
.sources { margin: -1.5rem 0 3rem; font-size: .85rem; color: var(--muted); }
.sources summary { cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.sources ol { margin: .25rem 0 0; padding-left: 1.25rem; }
.sources li { margin: 0 0 .4rem; max-width: 80ch; }
.sources a { color: var(--muted); }
.sources:target, .sources:has(li:target) { color: var(--ink); }

/* Animation: kun når JS er klar, og brugeren ikke har slået bevægelse fra. Kun søjlerne tegnes, tekst og tal står fast. */
.stall.pre .st-bar i { transform: scaleX(0); }
.stall.play .st-bar i { transform: scaleX(1); transition: transform .9s cubic-bezier(.3,0,.2,1); transition-delay: calc(var(--i) * 220ms); }
.stall.play .st-group .st-bar i { transition-delay: calc(1.4s + var(--i) * 120ms); }
.stall.play .st-group + .st-group .st-bar i { transition-delay: calc(2.1s + var(--i) * 120ms); }
.stall.play .st-group + .st-group + .st-group .st-bar i { transition-delay: calc(2.8s + var(--i) * 120ms); }

/* Tilbud på en anden opgave */
.tailored { margin-top: 1.5rem; padding: 1.5rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.tailored h3 { margin: 0; font-size: 1.15rem; }
.tailored p { margin: 0; color: var(--muted); }
.tailored .btn { justify-self: start; margin-top: .5rem; }
@media (min-width: 820px) { .tailored { grid-template-columns: 1fr auto; column-gap: 3rem; align-items: center; } .tailored .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; } }
@media print { .stall.pre .st-bar i { transform: none; } .stall.pre * { opacity: 1 !important; } .sources { display: block; } }

/* Rytme: to bånd i samme farve deler afstand, og "Leder du efter noget andet?" får luft efter et farvet bånd */
.section:not(.section-alt):not(.contact):not(.related) + .section:not(.section-alt):not(.contact):not(.related),
.section-alt + .section-alt { padding-top: 0; }
.section-alt + .related { padding-top: clamp(2.5rem, 6vw, 4rem); }

/* Undersider: tekst efter en tjekliste står ikke på linjen */
.checklist + p { margin-top: 1.25rem; }

/* Undersider: trin i den smalle spalte får plads til teksten */
@media (min-width: 800px) {
  .narrow .steps li { grid-template-columns: 9rem 1fr; column-gap: 2rem; row-gap: .25rem; }
  .narrow .steps li > p { grid-column: 2; }
}

/* Samarbejde: leverancekort i to spalter bruger én spalte inde i hvert kort */
@media (min-width: 760px) {
  .deliv { gap: 0 3rem; }
  .deliv .example { grid-template-columns: 1fr; }
  .deliv .example .who, .deliv .example h3, .deliv .example > p, .deliv .example > p:not(.who):not(.before-after) { grid-column: auto; grid-row: auto; }
  .deliv .example .who { margin: 0 0 .6rem; }
  .deliv .example:nth-child(-n+2) { border-top-color: var(--ink); }
}

/* Touch-mål */
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .6rem; }
.btn-small { min-height: 44px; }
.crumbs a { display: inline-block; padding: .7rem 0; margin: -.7rem 0; }
.price-box a { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
.stall sup a, .situations sup a { display: inline-block; min-width: 1.6em; padding: .6em .3em; margin: -.6em -.15em; text-align: center; }
.calc input[type=range] { min-height: 44px; }

/* Footer: links som liste, så skilletegn ikke brydes */
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; }
.foot-links li { margin: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-meta { color: var(--on-dark-muted); }

/* Indgangsboksen på telefon */
.price-box.entry h3 { text-wrap: balance; }
@media (max-width: 599px) {
  .price-box.entry { padding: 1.5rem 1.25rem; }
  .price-box.entry h3 { font-size: 1.5rem; }
}

/* Hero: knapperne i fuld bredde på smalle skærme */
@media (max-width: 479px) { .hero .actions .btn { flex: 1 1 100%; } }

/* Forløb på forsiden: sporet viser rækkefølgen, godkendelsen er markeret i signalgult */
.steps.track { border-bottom: 0; }
.steps.track li { position: relative; display: block; padding: 0 0 1.75rem 2.25rem; border: 0; }
.steps.track li:last-child { padding-bottom: 0; }
.steps.track .dur { margin-bottom: .2rem; }
.steps.track h3 { margin-bottom: .3rem; }
.steps.track li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 16px; height: 16px; border-radius: 50%; background: var(--fjord); border: 2px solid var(--fjord); }
.steps.track li.gate::before { background: var(--signal); border-color: var(--signal); }
.steps.track li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: calc(.3rem + 20px); bottom: calc(4px - .3rem); width: 2px; background: var(--fjord); transform-origin: top; }
.steps.track .gate-note { display: inline-block; margin-top: .6rem; padding: .1rem .5rem; font-size: .875rem; font-weight: 700; color: var(--ink); background: var(--signal); border-radius: var(--radius); }
@media (min-width: 800px) {
  .steps.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 2rem; }
  .steps.track li, .steps.track li:last-child { padding: 2.25rem 0 0; }
  .steps.track li::before { top: 0; }
  .steps.track li:not(:last-child)::after { left: 20px; top: 7px; bottom: auto; width: calc(100% + 2rem - 24px); height: 2px; transform-origin: left; }
}
.steps.track.pre li::before { background: var(--paper-2); border-color: var(--muted); }
.steps.track.pre li:not(:last-child)::after { transform: scaleY(0); }
@media (min-width: 800px) { .steps.track.pre li:not(:last-child)::after { transform: scaleX(0); } }
.steps.track.play li::before { transition: background-color .25s ease, border-color .25s ease; }
.steps.track.play li::after { transition: transform .45s cubic-bezier(.4,0,.2,1); }
.steps.track.play li:nth-child(1)::before { transition-delay: .1s; }
.steps.track.play li:nth-child(1)::after { transition-delay: .35s; }
.steps.track.play li:nth-child(2)::before { transition-delay: .8s; }
.steps.track.play li:nth-child(2)::after { transition-delay: 1.05s; }
.steps.track.play li:nth-child(3)::before { transition-delay: 1.5s; }
.steps.track.play li:nth-child(3)::after { transition-delay: 1.75s; }
.steps.track.play li:nth-child(4)::before { transition-delay: 2.2s; }
@media (prefers-reduced-motion: reduce) { .steps.track li::before, .steps.track li::after { transition: none !important; } }
@media print {
  .steps.track.pre li::before { background: var(--fjord); border-color: var(--fjord); }
  .steps.track.pre li.gate::before { background: var(--signal); border-color: var(--signal); }
  .steps.track.pre li:not(:last-child)::after { transform: none; }
}

/* Om: portræt følger teksten på desktop */
@media (min-width: 820px) {
  .about { grid-template-columns: 360px 1fr; }
  .about > picture { position: sticky; top: 6rem; }
  .about .portrait { max-width: 360px; }
}

/* Citatkort i Om (erstatter workshopbilledet) */
.quote-card { margin: 3.5rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--ink); display: grid; gap: 1.25rem; }
.quote-card blockquote { margin: 0; }
.quote-main { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); max-width: 30ch; margin: 0; }
.quote-sub { margin: 1rem 0 0; font-size: 1.06rem; color: var(--ink-2); max-width: 52ch; }
.quote-card figcaption { font-size: .95rem; font-weight: 700; color: var(--ink); }
@media (min-width: 820px) { .quote-card { margin-left: calc(360px + 4rem); } }
.foot-desc { color: var(--on-dark); font-weight: 500; }

/* Forsiden: H1 bærer søgeordet, sloganet står som stor tekst under */
.hero-kicker { font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--fjord); margin: 0 0 1rem; max-width: none; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; color: var(--ink); margin: 0 0 .6em; max-width: none; }

/* Nummererede trin i brancheeksempler */
.plain-steps { list-style: none; counter-reset: ps; margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--ink); }
.plain-steps li { counter-increment: ps; position: relative; padding: .85rem 0 .85rem 2.6rem; border-bottom: 1px solid var(--line); }
.plain-steps li::before { content: counter(ps); position: absolute; left: 0; top: .8rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--fjord); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; }

/* SMV:Digital-kampagne, runden 9. til 16. november 2026 (skjules af main.js efter runden) */
.cbar { background: var(--night); color: var(--on-dark); font-size: .95rem; }
.cbar[hidden] { display: none; }
.cbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; min-height: 3rem; padding-top: .45rem; padding-bottom: .45rem; }
.cbar p { margin: 0; max-width: none; }
.cbar strong { color: #fff; }
.cbar .days { color: #fff; font-weight: 700; }
.cbar a { color: #fff; font-weight: 700; margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; }

.split-wrap { display: grid; gap: 2rem; }
@media (min-width: 820px) { .split-wrap { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; } }
.split-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1.75rem; display: grid; gap: 1.25rem; }
.split-bar { position: relative; height: 64px; border-radius: 4px; overflow: hidden; background: var(--paper-2); border: 1px solid var(--ink); }
.split-bar .state, .split-bar .you { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 1rem; font-weight: 700; white-space: nowrap; }
.split-bar .state { left: 0; background: var(--fjord); color: #fff; width: var(--state, 50%); overflow: hidden; z-index: 1; transition: width 1.1s cubic-bezier(.6,0,.2,1); }
.split-bar .you { right: 0; color: var(--ink); }
.split-card.pre .split-bar .state { width: 0; }
.split-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; }
.split-legend div { border-top: 1px solid var(--line); padding-top: .6rem; }
.split-legend .k { display: block; font-size: .9rem; color: var(--muted); }
.split-legend .v { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); }
.split-card input[type=range] { width: 100%; min-height: 44px; accent-color: var(--fjord); }
.split-note { font-size: .92rem; color: var(--muted); margin: 0; }

.tl-wrap { position: relative; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; }
.tl::before { content: ""; position: absolute; left: 12px; top: .5rem; bottom: 1.8rem; width: 2px; background: var(--line); }
.tl-wrap .fill { position: absolute; z-index: 1; left: 12px; top: .5rem; width: 2px; height: var(--fill, 0); background: var(--fjord); transition: height 1.4s cubic-bezier(.6,0,.2,1); }
.tl li { position: relative; padding: 0 0 1.6rem 2.4rem; }
.tl li::before { content: ""; position: absolute; left: 6px; top: .3rem; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sage); background: var(--paper); z-index: 2; transition: background .3s, border-color .3s; }
.tl li.done::before { background: var(--fjord); border-color: var(--fjord); }
.tl li.now::before { background: var(--signal); border-color: var(--signal); }
.tl .d { display: block; font-size: .9rem; color: var(--muted); font-variant-numeric: normal; }
.tl h3 { margin: .1rem 0 .2rem; font-size: 1.1rem; }
.tl p { margin: 0; color: var(--ink-2); }
.tl .here { display: inline-block; margin-top: .4rem; font-size: .85rem; font-weight: 700; color: var(--ink); }

.check-grid { display: grid; gap: 2rem; }
@media (min-width: 820px) { .check-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.check { display: grid; }
.check label { display: flex; gap: .75rem; align-items: flex-start; padding: .8rem 0; border-top: 1px solid var(--line); cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--fjord); flex: none; }
.meter { height: 8px; background: var(--paper-2); border-radius: 4px; overflow: hidden; margin: 1rem 0 .5rem; }
.meter i { display: block; height: 100%; width: var(--m, 0%); background: var(--fjord); transition: width .4s ease; }
.verdict { margin: 0 0 1rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .split-bar .state, .tl-wrap .fill, .meter i, .tl li::before { transition: none !important; } }
@media print { .cbar { display: none; } }

/* Kvittering efter "Skriv mailen" med reserve til webmail */
.form-done p { margin: 0 0 .6rem; color: var(--on-dark); }
.form-done a { color: #fff; }
.form-done .copy-msg { background: var(--paper); color: var(--ink); border-color: var(--paper); margin-top: .2rem; }
.form-done .copy-status { font-size: .92rem; color: var(--on-dark-muted); margin-left: .5rem; }

/* Lange danske ord i overskrifter må deles på smalle skærme */
@media (max-width: 420px) { h1, h2, .hero-title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }

/* Linjelængde: lister følger brødtekstens 64ch på indholdssider */
.checklist li, .article li, .plain-steps li, .article p { max-width: 64ch; }
@media print {
  .split-card.pre .split-bar .state { width: var(--state, 50%); }
  .split-card input[type=range] { display: none; }
  .tl-wrap .fill { display: none; }
}

/* Kilder-folderen under diagrammet: samme affordance som FAQ */
.sources { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sources summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; font-weight: 700; position: relative; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after { content: "+"; position: absolute; right: .25rem; top: .75rem; font-size: 1.6rem; font-weight: 400; color: var(--ink); transition: transform .2s; }
.sources[open] summary::after { transform: rotate(45deg); }
.sources ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.sources li { margin: .35rem 0; font-size: .95rem; }

/* Relaterede links som notat-række i stedet for knap-chips */
.related-h { font-family: inherit; font-size: 1rem; font-weight: 700; margin: 0 0 .75rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; border-top: 1px solid var(--ink); padding-top: .9rem; }
.related-list a { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0; border-radius: 0; }

/* Footer i navngivne kolonner */
.foot-cols { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1rem 0 .5rem; }
.foot-h { font-weight: 700; color: var(--on-dark); margin: 0 0 .2rem; }
.foot-cols .foot-links { display: block; }
.foot-cols .foot-links li { margin: 0; }
.foot-cols .foot-links a { min-height: 36px; }
.foot-bottom { border-top: 1px solid rgba(169,189,178,.25); padding-top: .9rem; margin-top: .5rem; }

/* Tillidssektion: indholdet flugter med overskriftens kolonne */
@media (min-width: 960px) { .head-indent { margin-left: 18rem; } }
.head-indent .quote-card { margin-left: 0; }
.head-indent .principles-list { max-width: 64ch; }

/* Hero-fakta under knapperne */
.hero-facts { margin: .9rem 0 0; font-size: .92rem; color: var(--muted); max-width: 48ch; }

/* Undersidernes hero-panel (diagram) */
.hero-sub.hero-grid, .hero-sub .hero-grid { align-items: start; }
.hero-sub .flow { margin-top: .5rem; }
@media (max-width: 959px) { .hero-sub .flow { margin-top: 1.5rem; } }

/* Ét fokuspunkt pr. side: prisboksen i fjord */
.price-box { background: var(--fjord); border-color: var(--fjord); color: var(--on-dark); }
.price-box h3, .price-box .price { color: #fff; }
.price-box p, .price-box .priv, .price-box .price small { color: #D3DEE1; } /* 6.4:1 på fjordblå; tokenet --on-dark-muted er lavet til nat, ikke fjord */
.price-box a { color: #fff; }
.price-box.entry .btn-primary { background: var(--paper); color: var(--ink); }
.price-box.entry .btn-primary:hover { background: #fff; }

/* Skabelonen som genstand, der kan kopieres */
.template { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--fjord); border-radius: var(--radius); padding: 1.5rem clamp(1.1rem, 3vw, 2rem) 1.75rem; margin: 0 0 1rem; }
.template h3 { font-family: inherit; font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 .4rem; }
.template .template-tools + h3 { margin-top: .75rem; }
.template p { margin: 0 0 .6rem; }
.template ul { margin: 0 0 .6rem; padding-left: 1.2rem; }
.template li { margin: .3rem 0; }
.template .ph, .note .ph { background: var(--paper-3); color: var(--ink-2); padding: 0 .3em; border-radius: 2px; white-space: nowrap; }
.template .note, .article .note { font-size: .92rem; color: var(--muted); }
.template-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 .5rem; }
.copy-template { background: var(--fjord); color: #fff; border-color: var(--fjord); }
.copy-template:hover { background: var(--fjord-deep); }
.template .copy-status { font-size: .92rem; color: var(--muted); }
@media print { .template-tools { display: none; } .template { border-left-color: #000; } }

/* På denne side: fast spalte i højre margen på lange artikler */
.toc { display: none; }
@media (min-width: 1280px) {
  .toc { display: block; position: fixed; top: 8.5rem; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); width: 13rem; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 5; }
  .toc.show { opacity: 1; pointer-events: auto; }
  .toc p { font-weight: 700; margin: 0 0 .5rem; color: var(--ink); }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
  .toc a { display: block; padding: .3rem 0 .3rem .8rem; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; margin-left: -2px; }
  .toc a:hover { color: var(--ink); }
  .toc a.is-current { color: var(--ink); border-left-color: var(--fjord); font-weight: 700; }
}
@media print { .toc { display: none; } }

/* Foto i undersidernes hero (brancher) */
.hero-photo { margin: .5rem 0 0; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: auto; }
.hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--paper-2); }
@media (max-width: 959px) { .hero-photo { margin-top: 1.5rem; } }

/* Artikler: Kort fortalt-boks i heroen, byline og tættere krop */
.key-points { margin: 1.75rem 0 0; padding: 1.2rem 1.4rem 1.25rem; background: var(--paper-2); border-left: 3px solid var(--fjord); border-radius: 0 var(--radius) var(--radius) 0; max-width: 52rem; }
.key-points p { margin: 0 0 .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fjord); }
.key-points ul { margin: 0; padding-left: 1.1rem; }
.key-points li { margin-bottom: .4rem; line-height: 1.55; color: var(--ink-2); }
.key-points li:last-child { margin-bottom: 0; }
.section.article-body { padding-top: clamp(2.25rem, 5vw, 3.5rem); }
@media print { .key-points { border: 1px solid #999; background: #fff; } }

/* Forsidens hero: foto bag teksten med papirfarvet overgang, så teksten står på næsten ensfarvet bund (Pexels 34101671) */
.hero { position: relative; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg picture, .hero-bg img { display: block; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 100% 0%; animation: kb 22s ease-out both; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246,245,241,.04) 0%, rgba(246,245,241,.08) 48%, rgba(246,245,241,.8) 78%, var(--paper) 100%); }
/* Under 960 px ligger fotoet som et bånd på 22 rem øverst med personen i midten, og teksten starter under ham */
@media (max-width: 959px) {
  .hero:not(.hero-sub) { padding-top: 20rem; }
  .hero:not(.hero-sub) .hero-bg { bottom: auto; height: 22rem; }
  .hero:not(.hero-sub) .hero-bg img { object-position: 65% 25%; }
}
@media (min-width: 960px) {
  .hero-bg::after { background: linear-gradient(90deg, var(--paper) 0%, rgba(246,245,241,.95) 28%, rgba(246,245,241,.6) 44%, rgba(246,245,241,.22) 58%, rgba(246,245,241,.08) 100%), linear-gradient(180deg, rgba(246,245,241,0) 0%, rgba(246,245,241,0) 42%, rgba(246,245,241,.6) 66%, var(--paper) 100%); }
}
@media (min-width: 960px) { .hero:not(.hero-sub) .hero-grid { min-height: 48rem; } } /* plads til personen på fotoet over panelet */
@keyframes kb { from { transform: scale(1.07); } to { transform: scale(1); } }

/* Forsidens hero: teksten kommer trinvis, panelet lige efter */
.hero:not(.hero-sub) .hero-grid > div > * { animation: rise-in .65s cubic-bezier(.2,.7,.2,1) both; }
.hero:not(.hero-sub) .hero-grid > div > :nth-child(2) { animation-delay: .07s; }
.hero:not(.hero-sub) .hero-grid > div > :nth-child(3) { animation-delay: .16s; }
.hero:not(.hero-sub) .hero-grid > div > :nth-child(4) { animation-delay: .24s; }
.hero:not(.hero-sub) .hero-grid > div > :nth-child(5) { animation-delay: .32s; }
.hero:not(.hero-sub) .hero-grid > div > :nth-child(6) { animation-delay: .38s; }
.hero:not(.hero-sub) .hero-grid > .flow { animation: rise-in .75s cubic-bezier(.2,.7,.2,1) .3s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Afsnit længere nede toner ind, første gang de rulles i syne (klassen sættes af main.js) */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv:nth-child(2) { transition-delay: .07s; } .rv:nth-child(3) { transition-delay: .14s; } .rv:nth-child(4) { transition-delay: .21s; } .rv:nth-child(5) { transition-delay: .28s; } .rv:nth-child(n+6) { transition-delay: .34s; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .hero:not(.hero-sub) .hero-grid > div > *, .hero:not(.hero-sub) .hero-grid > .flow { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}
@media print { .hero-bg { display: none; } }

/* Gul markering under de sidste ord i forsidens overskrift, tegnes efter teksten er kommet ind */
.hero-title .hl { background: linear-gradient(transparent 64%, rgba(242,193,78,.6) 64%, rgba(242,193,78,.6) 93%, transparent 93%) no-repeat 0 0 / 0% 100%; animation: hl-in .7s cubic-bezier(.2,.7,.2,1) 1s forwards; }
@keyframes hl-in { to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-title .hl { animation: none; background-size: 100% 100%; } }
@media print { .hero-title .hl { background: none; } }

/* Bredt foto under heroen på ydelsessiderne */
.band-sec { padding: 0 0 clamp(.5rem, 2vw, 1.5rem); }
.photo-band { margin: 0; }
.photo-band picture, .photo-band img { display: block; width: 100%; height: auto; }
.photo-band img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; background: var(--paper-2); }
@media (min-width: 700px) { .photo-band img { aspect-ratio: 2.4 / 1; } }
@media print { .band-sec { display: none; } }

/* Kontakt: sådan foregår samtalen, tre trin med gule tal */
.call-steps { list-style: none; counter-reset: cs; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .85rem; max-width: 34rem; }
.call-steps li { counter-increment: cs; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .5rem; align-items: baseline; }
.call-steps li::before { content: counter(cs); grid-row: 1 / span 2; font-family: var(--serif); font-size: 1.75rem; line-height: 1; color: var(--signal); }
.call-steps strong { color: #fff; }
.call-steps span { display: block; font-size: .98rem; line-height: 1.5; color: #BFD0C8; }
.promise-line { margin: 1.4rem 0 0; font-size: .95rem; color: #BFD0C8; max-width: 34rem; }
.contact .promise-line a { color: #fff; }

/* Branchelabel på forsidens eksempler kan være et link til branchesiden */
.example .who a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.example .who a:hover { color: var(--fjord); text-decoration-color: var(--fjord); }

/* Video i Sådan foregår det: afspilknap, ikke autoplay */
.video { margin: 2.5rem 0 0; }
.band-sec .video { margin: 0; }
.video-frame { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: .5rem; background: var(--card); box-shadow: 0 1px 2px rgba(27,43,51,.06), 0 12px 32px rgba(27,43,51,.08); }
.video video { display: block; width: 100%; height: auto; border-radius: 4px; background: var(--night); }
/* Gul afspilknap oven på plakaten; forsvinder, når videoen kører */
.video-play { position: absolute; inset: .5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; width: auto; border: 0; background: rgba(246,245,241,.28); border-radius: 4px; cursor: pointer; font: inherit; color: var(--ink); transition: background .2s; }
.video-play:hover { background: rgba(246,245,241,.45); }
.video-play:focus-visible { outline: 3px solid var(--fjord); outline-offset: 2px; }
.video-play-ring { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: var(--signal); color: var(--ink); box-shadow: 0 10px 30px rgba(27,43,51,.25); transition: transform .2s; }
.video-play:hover .video-play-ring { transform: scale(1.06); }
.video-play-ring svg { width: 2.4rem; height: 2.4rem; margin-left: .3rem; }
.video-play-text { font-weight: 700; font-size: 1.05rem; background: var(--card); padding: .45rem .9rem; border-radius: 999px; box-shadow: 0 2px 10px rgba(27,43,51,.12); }
.video.playing .video-play { display: none; }
@media (max-width: 600px) { .video-play-ring { width: 4rem; height: 4rem; } .video-play-ring svg { width: 1.8rem; height: 1.8rem; } .video-play-text { font-size: .95rem; } }
.video figcaption { margin-top: .7rem; font-size: .9375rem; color: var(--muted); max-width: 64ch; }
@media print { .video { display: none; } }

/* Faner over videoen på forsiden: vælg eksempel */
.video-tabs { display: flex; gap: 1.25rem; margin: 0 0 1rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.video-tabs button { font: inherit; font-size: .95rem; font-weight: 500; color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: .6rem 0; margin-bottom: -1px; cursor: pointer; min-height: 44px; white-space: nowrap; }
.video-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 700; }
.video-tabs button:hover { color: var(--ink); }
