/*
Theme Name: RANKON
Theme URI: https://rankon.dk/
Author: RANKON
Description: Eget tema til rankon.dk. Hurtigt, uden page builder.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: rankon
*/

/* ---------- Fonte (selvhostet) ---------- */
@font-face { font-family: "Bricolage"; src: url("assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	/* Fast luft mellem sektioner (8 pt grid). Hver sektion har værdien i top og bund. */
	--space-section: 48px;
	--space-head: 40px;
	--ink: #0a3a2a;
	--ink-2: #0f4a36;
	--paper: #f4f1ea;
	--paper-2: #e9e4d6;
	--card: #fbf9f3;
	--muted: #4f6159;
	--muted-light: #9cc0b1;
	--line: rgba(10, 58, 42, .12);
	--line-light: rgba(244, 241, 234, .14);
	--signal: #1cd070;
	--ink-3: #04241a;
	--mint: #6cf2a4;

	--f-display: "Bricolage", "Inter", system-ui, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-serif: "Instrument Serif", Georgia, serif;
	--f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--wrap: 1280px;
	--gutter: clamp(20px, 4vw, 48px);
	--radius: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-tap-highlight-color: rgba(10, 58, 42, .12); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a, button, summary { touch-action: manipulation; }
p a, .prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a:hover, .prose a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.8vw, 68px); }
h3 { font-size: 22px; letter-spacing: -.015em; line-height: 1.2; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
/* På mørk bund er en mørk ring usynlig. */
.stats :focus-visible, .cases :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: var(--signal); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: 820px; }
.eyebrow { color: var(--muted); margin: 0 0 20px; }
.section { padding-block: var(--space-section); }
.section__head { max-width: 760px; margin-bottom: var(--space-head); }
.section__intro { color: var(--muted); font-size: 18px; max-width: 560px; margin-top: 20px; }

/* ---------- Knapper ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); text-decoration: none; font: 600 16px/1 var(--f-body); padding: 18px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .25s var(--ease), background .25s; }
.btn::after { content: "→"; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--small { padding: 12px 18px; font-size: 14px; }
.btn--light { background: var(--signal); color: var(--ink); }
.link-arrow { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link-arrow::after { content: " →"; }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow--light { color: var(--paper); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 234, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { font: 800 22px/1 var(--f-display); letter-spacing: .02em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.brand--light { color: var(--paper); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 28px; }
.nav__list a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__list a:hover::after, .nav__list .current-menu-item a::after { transform: scaleX(1); }
.site-header__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #2fbf4f; box-shadow: 0 0 0 3px rgba(47, 191, 79, .18); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); padding: 24px 0 32px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu .nav__list { flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-menu .nav__list a { display: block; width: fit-content; padding-block: 3px; font: 600 30px/1.3 var(--f-display); letter-spacing: -.02em; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-section); min-height: calc(100svh - var(--header-h) - 1px); display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__title { font-size: clamp(52px, 7.6vw, 112px); line-height: .95; letter-spacing: -.035em; }
.hero__title em { display: inline-block; }
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 540px; margin: 32px 0 40px; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__visual { position: relative; padding-bottom: 56px; }

.serp { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px 18px; box-shadow: 0 30px 60px -30px rgba(10, 58, 42, .25); }
.serp__bar { display: flex; align-items: center; gap: 14px; }
.serp__logo { font: 600 20px/1 var(--f-body); letter-spacing: -.02em; }
.serp__query { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 15px; }
.serp__tabs { display: flex; gap: 18px; color: var(--muted); margin: 16px 0 6px; font-size: 11px; border-bottom: 1px solid var(--line); }
.serp__tabs span { padding-bottom: 10px; }
.serp__tabs .is-on { color: var(--ink); border-bottom: 2px solid var(--ink); }
.serp__result { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); position: relative; }
.serp__result:last-child { border-bottom: 0; }
.serp__result.is-top { background: rgba(28, 208, 112, .28); margin-inline: -12px; padding-inline: 12px; border-radius: 10px; border-bottom: 0; margin-top: 10px; }
.serp__rank { position: absolute; right: 12px; top: 16px; background: var(--ink); color: var(--signal); padding: 4px 8px; border-radius: 6px; }
.serp__site { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.serp__site b { width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-size: 11px; color: var(--ink); }
.serp__title { color: #1a0dab; font-size: 18px; line-height: 1.3; }
.serp__desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.serp__line { height: 9px; border-radius: 6px; background: var(--paper-2); width: 92%; }
.serp__line--short { width: 64%; }
.ai-card { position: absolute; left: -36px; bottom: 0; width: min(330px, 82%); background: var(--ink); color: var(--paper); border-radius: 16px; padding: 18px 20px; box-shadow: 0 24px 50px -20px rgba(10, 58, 42, .5); }
.ai-card__label { color: var(--signal); }
.ai-card__q { font-size: 15px; margin: 10px 0 8px; }
.ai-card__a { font-size: 14px; color: var(--muted-light); margin: 0; }
.ai-card mark { background: var(--signal); color: var(--ink); padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Tal ---------- */
.stats { background: var(--ink); color: var(--paper); padding-block: var(--space-section); }
.stats__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 32px; }
.stats__item { font-size: 15px; line-height: 1.4; color: var(--muted-light); }
.stats__item b { display: block; font: 600 22px/1.1 var(--f-display); color: var(--signal); margin-bottom: 6px; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; min-height: 420px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service:hover { transform: translateY(-2px); border-color: rgba(10, 58, 42, .3); box-shadow: 0 20px 40px -24px rgba(10, 58, 42, .3); }
.service__file { align-self: flex-start; background: var(--paper-2); padding: 6px 10px; border-radius: 6px; margin-bottom: 56px; }
.service h3 { font-size: 32px; margin-bottom: 14px; }
.service p { color: var(--muted); font-size: 16px; }
.service ul { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 11px; }
.service ul li::before { content: "+ "; color: var(--muted); }
.service__more { margin-top: 24px; font-weight: 600; font-size: 15px; }
.service__more::after { content: " →"; display: inline-block; transition: transform .25s var(--ease); }
.service:hover .service__more::after { transform: translateX(4px); }

/* ---------- Cases ---------- */
.cases { background: var(--ink); color: var(--paper); }
.cases .eyebrow, .cases .section__intro { color: var(--muted-light); }
.cases__layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 4vw, 56px); }
.cases__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.cases__tab { display: grid; grid-template-columns: 36px 1fr; gap: 2px 8px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-light); color: var(--muted-light); padding: 20px 0; cursor: pointer; font: inherit; transition: color .25s; }
.cases__tab .mono:first-child { grid-row: span 2; padding-top: 6px; }
.cases__tab-name { font: 600 22px/1.2 var(--f-display); letter-spacing: -.015em; }
.cases__tab-tag { font-size: 10.5px; }
.cases__tab:hover, .cases__tab[aria-selected="true"] { color: var(--paper); }
.cases__tab[aria-selected="true"] .mono:first-child { color: var(--signal); }
.case { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 3vw, 44px); align-items: stretch; animation: caseIn .5s var(--ease); }
.case[hidden] { display: none; }
.case > *, .cases__layout > * { min-width: 0; }
@keyframes caseIn { from { opacity: 0; transform: translateY(8px); } }
.case__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); aspect-ratio: 7 / 5; align-self: start; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case__media img { transform: scale(1.025); }
.case--type .case__media { display: grid; place-items: center; background: var(--signal); color: var(--ink); }
.case__big { font: 600 clamp(72px, 9vw, 140px)/1 var(--f-display); letter-spacing: -.05em; }
.case__count { position: absolute; left: 16px; top: 16px; background: rgba(10, 58, 42, .75); color: var(--paper); padding: 6px 10px; border-radius: 6px; }
.case__body { display: flex; flex-direction: column; }
.case__body h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.case__body p { color: var(--muted-light); }
.case__stats { display: grid; gap: 0; margin: 12px 0 28px; border-top: 1px solid var(--line-light); }
.case__stats div { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.case__stats dt { font: 600 30px/1 var(--f-display); color: var(--signal); min-width: 120px; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.case__stats dd { margin: 0; color: var(--muted-light); font-size: 15px; }
.case__body .link-arrow { margin-top: auto; align-self: flex-start; color: var(--paper); }
.cases__logos { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: clamp(56px, 7vw, 88px) 0 0; padding-top: 28px; border-top: 1px solid var(--line-light); color: var(--muted-light); }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.team__people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { margin: 0; }
.person img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease); }
.person:hover img { filter: grayscale(0); }
.person__name { display: block; font: 600 22px/1.2 var(--f-display); margin-top: 14px; }
.person__role { color: var(--muted); }
.promises { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.promises li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.promises li > .mono { color: var(--muted); padding-top: 4px; }
.promises h3 { font-size: 20px; margin-bottom: 4px; }
.promises p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Proces ---------- */
.process { background: var(--paper-2); }
.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.process__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.process__media img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .mono { color: var(--muted); }
.steps h3 { margin: 28px 0 8px; }
.steps p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 600 20px/1.3 var(--f-display); letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font: 400 26px/1 var(--f-body); transition: transform .3s var(--ease); }
.faq__item[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.faq__a { overflow: hidden; }
.faq__item p { color: var(--muted); padding-bottom: 24px; max-width: 640px; margin: 0; }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: var(--paper); padding-block: var(--space-section); }
.cta .eyebrow { color: var(--muted-light); }
.cta h2 { font-size: clamp(48px, 7vw, 104px); letter-spacing: -.035em; max-width: 900px; }
.cta p:not(.eyebrow) { color: var(--muted-light); font-size: 19px; max-width: 520px; margin: 28px 0 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: 32px; border-top: 1px solid var(--line-light); }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 48px 56px; }
.site-footer__intro p { color: var(--muted-light); max-width: 340px; margin-top: 18px; }
.site-footer__intro .mono { text-transform: none; font-size: 13px; line-height: 1.9; }
.site-footer__intro a { text-decoration: none; }
.site-footer__contact a { display: block; width: fit-content; padding-block: 10px; }
.site-footer__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__col h2 { font: 500 12px/1 var(--f-mono); color: var(--muted-light); margin-bottom: 18px; letter-spacing: .04em; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { text-decoration: none; color: var(--paper); opacity: .85; }
.site-footer__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__hello { display: flex; gap: 48px; overflow: hidden; border-block: 1px solid var(--line-light); padding-block: 18px; color: var(--muted-light); white-space: nowrap; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 24px 32px; color: var(--muted-light); }
.site-footer__bottom span:last-child { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: var(--paper); }

/* ---------- Undersider ---------- */
.page-head { padding-block: var(--space-section) var(--space-head); }
.page-head__title { font-size: clamp(44px, 6vw, 84px); letter-spacing: -.04em; }
.prose { padding-bottom: var(--space-section); font-size: 18px; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.prose ol { list-style: decimal; padding-left: 1.2em; margin: 0 0 1em; }
.prose img { border-radius: var(--radius); }
.post-thumb img { border-radius: var(--radius); margin-bottom: 40px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 80px; }
.post-card { text-decoration: none; display: grid; gap: 10px; align-content: start; }
.post-card img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; }
.post-card .mono { color: var(--muted); }
.post-card h2 { font-size: 24px; }
.post-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Indgang ---------- */
/* Ren CSS: indholdet er aldrig skjult, hvis JavaScript ikke indlæses. */
[data-enter] { animation: enter .9s var(--ease) both; }
[data-enter-delay="1"] { animation-delay: .15s; }
[data-enter-delay="2"] { animation-delay: .45s; }
[data-enter-delay="3"] { animation-delay: .6s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
	.services__grid { grid-template-columns: 1fr 1fr; }
	.service { min-height: 360px; }
	.stats__list { grid-template-columns: repeat(3, 1fr); }
	.site-header__meta { display: none; }
	.cases__layout { grid-template-columns: 1fr; }
	.cases__tabs { flex-direction: row; flex-wrap: wrap; border-top: 0; gap: 8px; }
	.cases__tab { border: 1px solid var(--line-light); border-radius: 999px; padding: 10px 16px; display: flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 44px; }
	.cases__tab .mono:first-child { padding-top: 0; }
	.cases__tab-name { font-size: 16px; }
	.cases__tab-tag { display: none; }
	.cases__tab[aria-selected="true"] { border-color: var(--paper); }
}
@media (min-width: 901px) {
	.mobile-menu { display: none; }
}
@media (max-width: 900px) {
	.nav { display: none; }
	.site-header__inner { gap: 16px; }
	.site-header__inner > .btn { margin-left: auto; padding-block: 15px; }
	.menu-toggle { display: flex; }
	.hero { min-height: 0; }
	.hero__grid, .team__grid, .process__grid, .faq__grid, .case { grid-template-columns: 1fr; }
	.hero__visual { max-width: 520px; margin-inline: auto 0; }
	.ai-card { left: 0; }
	.process__media { aspect-ratio: 16 / 10; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__intro { grid-column: 1 / -1; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	/* Trykflader på mindst 44px. */
	.link-arrow { display: inline-block; padding-block: 10px; background-position: 0 calc(100% - 8px); }
	.site-footer__col ul { gap: 0; }
	.site-footer__col a { display: inline-block; padding-block: 12px; }
	.site-footer__bottom a { display: inline-block; padding-block: 14px; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.services__grid, .steps, .post-grid { grid-template-columns: 1fr; }
	.stats__list { grid-template-columns: 1fr 1fr; }
	.site-header__inner > .btn { display: none; }
	.menu-toggle { margin-left: auto; }
	.service { min-height: 0; }
	.service__file { margin-bottom: 32px; }
	.case__stats dt { min-width: 96px; font-size: 26px; }
	.hero__actions { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================
   Bevægelse (kun når <html class="motion">)
   ========================================================== */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Ord der glider op */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .1em .22em; margin: -.14em -.1em -.22em; }
.w__i { display: inline-block; }
.motion [data-split] .w__i { transform: translateY(105%); transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.motion [data-split].is-in .w__i { transform: none; }


/* Elementer der toner frem */
.motion [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1s cubic-bezier(.16, 1, .3, 1); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Billeder der åbner sig bag en maske */
.motion [data-mask] img { clip-path: inset(100% 0 0 0); transform: scale(1.12); will-change: transform; transition: clip-path 1.3s cubic-bezier(.77, 0, .175, 1), filter .5s var(--ease); }
.motion [data-mask].is-in img { clip-path: inset(0 0 0 0); }
.motion .case:hover .case__media img { transform: none; }
.motion .person img { transform: none; border-radius: var(--radius); }
.person { overflow: hidden; }

/* Hero-kort med parallax */
.serp, .ai-card { will-change: transform; }

/* Tekstbånd */
.marquee { overflow: hidden; padding-block: var(--space-section); border-top: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); width: max-content; will-change: transform; }
.marquee__track span:not(.marquee__dot) { font: 600 clamp(56px, 9vw, 140px)/1 var(--f-display); letter-spacing: -.045em; white-space: nowrap; }
.marquee__track em { font-weight: 400; }
.marquee__dot { width: clamp(14px, 1.6vw, 24px); height: clamp(14px, 1.6vw, 24px); border-radius: 50%; background: var(--signal); flex: none; box-shadow: 0 0 0 1px var(--ink); }

/* Cases folder sig ud */
.motion .cases { clip-path: inset(0 4% round 40px); will-change: clip-path; }

/* Proces med fastlåst billede og aktivt trin */
@media (min-width: 901px) {
	.process__grid { align-items: start; }
	.process__media { position: sticky; top: calc(var(--header-h) + 32px); }
}
.motion .steps li { transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), opacity .6s var(--ease), transform 1s cubic-bezier(.16, 1, .3, 1); }
.motion .steps li .mono, .motion .steps li p, .motion .steps li h3 { transition: color .6s var(--ease); }
.motion .steps li.is-in:not(.is-active) { opacity: .55; }
.steps li.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); opacity: 1; }
.steps li.is-active .mono, .steps li.is-active p { color: var(--muted-light); }

/* Lys der følger musen på servicekort */
.service { position: relative; overflow: hidden; isolation: isolate; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(28, 208, 112, .45), transparent 60%); opacity: 0; transition: opacity .4s var(--ease); }
.service:hover::before { opacity: 1; }

/* Hero-tekst følger scroll */
.hero__copy { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
	.marquee__track { transform: none !important; }
}

/* ==========================================================
   Undersider
   ========================================================== */
.sub-hero { padding-block: var(--space-section); }
.sub-hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.sub-hero--img .sub-hero__grid, .sub-hero__grid:has(.sub-hero__big) { grid-template-columns: 1.1fr .9fr; }
.sub-hero__title { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.04em; max-width: 1000px; }
.sub-hero__lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 620px; margin: 28px 0 32px; }
.sub-hero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 7 / 6; }
.sub-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero__big { background: var(--signal); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-content: center; text-align: center; gap: 12px; }
.sub-hero__big span { font: 600 clamp(80px, 12vw, 180px)/1 var(--f-display); letter-spacing: -.05em; }
.sub-hero--dark { background: var(--ink); color: var(--paper); }
.sub-hero--dark .eyebrow, .sub-hero--dark .sub-hero__lead, .sub-hero--dark .crumbs { color: var(--muted-light); }
.sub-hero--dark .link-arrow { color: var(--paper); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.sub-hero--dark .chips li { border-color: var(--line-light); }

.stats__list--3 { grid-template-columns: repeat(3, 1fr); }
.stats__list--4 { grid-template-columns: repeat(4, 1fr); }
.stats__list--5 { grid-template-columns: repeat(5, 1fr); }

.tone-sand { background: var(--paper-2); }
.tone-card { background: var(--card); }

.block-text__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.block-text__head { position: sticky; top: calc(var(--header-h) + 32px); }
.block-text__note { color: var(--muted); margin-top: 24px; }
.prose-lite { font-size: 18px; color: var(--ink); }
.prose-lite p { color: #14573f; }
.prose-lite a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ticks { display: grid; gap: 0; margin: 8px 0 24px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 8px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.service--static { min-height: 0; }
.service--static .service__file { margin-bottom: 32px; }

.steps--row { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 0; }

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.results div { padding: 32px 24px 32px 0; border-bottom: 1px solid var(--line-light); }
.results dt { font: 600 clamp(44px, 5vw, 72px)/1 var(--f-display); color: var(--signal); letter-spacing: -.035em; margin-bottom: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.results dd { margin: 0; color: var(--muted-light); max-width: 300px; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
.case-card { text-decoration: none; display: grid; gap: 10px; align-content: start; }
.case-card__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 7 / 5; background: var(--ink); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case-card:hover .case-card__media img { transform: scale(1.03); }
.case-card__media--type { background: var(--signal); display: grid; place-items: center; }
.case-card__media--type span:first-child { font: 600 clamp(56px, 6vw, 96px)/1 var(--f-display); letter-spacing: -.05em; }
.case-card__tag { color: var(--muted); margin-top: 8px; }
.case-card h3 { font-size: 28px; }
.case-card p { color: var(--muted); margin: 0; }
.case-card p b { color: var(--ink); font-family: var(--f-display); }

.link-list { border-top: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 clamp(24px, 3vw, 40px)/1.1 var(--f-display); letter-spacing: -.025em; transition: padding .4s var(--ease); }
.link-list a::after { content: "→"; font-family: var(--f-body); font-weight: 400; transition: transform .4s var(--ease); }
.link-list a:hover { padding-left: 16px; }
.link-list a:hover::after { transform: translateX(6px); }
.link-list .mono { margin-left: auto; color: var(--muted); font-weight: 500; }

.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__lines { margin-top: 36px; border-top: 1px solid var(--line); }
.contact__lines li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
.contact__lines .mono { color: var(--muted); }
.contact__lines a { text-decoration: none; }
.contact__lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.form label { display: grid; gap: 6px; }
.form .mono { color: var(--muted); }
.form input, .form textarea { font: inherit; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.form .btn { justify-self: start; margin-top: 8px; }

@media (max-width: 1100px) {
	.cards--3, .cards--5 { grid-template-columns: 1fr 1fr; }

	.stats__list--4, .stats__list--5 { grid-template-columns: repeat(3, 1fr); }
	.case-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.sub-hero--img .sub-hero__grid, .sub-hero__grid:has(.sub-hero__big), .block-text__grid, .contact__grid { grid-template-columns: 1fr; }
	.block-text__head { position: static; }
	.sub-hero__big { aspect-ratio: 16 / 9; }
	.results { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.cards--2, .cards--3, .cards--5, .steps--row, .case-grid, .results { grid-template-columns: 1fr; }
	.stats__list--3, .stats__list--4, .stats__list--5 { grid-template-columns: 1fr 1fr; }
	.contact__lines li { grid-template-columns: 1fr; gap: 4px; }
	.link-list .mono { display: none; }
}
.chapters { display: grid; gap: 0; border-top: 1px solid var(--line); }
.chapter { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.chapter__n { color: var(--muted); padding-top: 6px; grid-row: span 9; }
.chapter h3 { font-size: 24px; margin-bottom: 10px; }
.chapter p { color: #14573f; font-size: 17px; }
.chapter p:last-child { margin-bottom: 0; }
.chapter .ticks { margin: 0 0 12px; }
.chapter p a { text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 28px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table tr:first-child th { font: 500 12px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--paper); }
.table th[scope="row"] { font-weight: 600; }
.block-cards .table-wrap { margin-top: 32px; }
.block-text__grid > *, .results > div, .contact__grid > * { min-width: 0; }
.results dt { white-space: normal; text-wrap: balance; }

/* ---------- Undermenuer ---------- */
.nav__list > li { position: relative; }
.nav .menu-item-has-children > a { padding-right: 16px; }
.nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.nav .sub-menu { position: absolute; top: 100%; left: -18px; min-width: 240px; padding: 10px; margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(10, 58, 42, .35); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav .menu-item-has-children:hover > .sub-menu, .nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav .menu-item-has-children:hover > a::before, .nav .menu-item-has-children:focus-within > a::before { transform: translateY(-30%) rotate(225deg); }
.nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.nav .sub-menu a::after { display: none; }
.nav .sub-menu a:hover, .nav .sub-menu a:focus-visible { background: var(--paper-2); }
.mobile-menu .sub-menu { display: grid; gap: 0; margin: 2px 0 14px 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.mobile-menu .sub-menu a { font: 500 17px/1.3 var(--f-body) !important; letter-spacing: 0 !important; padding-block: 9px !important; color: var(--muted); }

/* ---------- Lange ord må aldrig forlade en boks ---------- */
h1, h2, h3, dt, .case__big, .sub-hero__big span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.service h3 { font-size: clamp(22px, 2vw, 30px); }
.cards--4 .service h3, .services__grid:not([class*="cards--"]) .service h3 { font-size: clamp(21px, 1.8vw, 28px); }
.service, .steps li, .case-card, .results div, .chapter, .stats__item { min-width: 0; }
.stats__item b { white-space: normal; }

/* ---------- Mørke kort ---------- */
.tone-dark { background: var(--ink); color: var(--paper); }
.tone-dark .eyebrow, .tone-dark .section__intro { color: var(--muted-light); }
.tone-dark .service { background: var(--ink-2); border-color: var(--line-light); color: var(--paper); }
.tone-dark .service p, .tone-dark .service ul li::before { color: var(--muted-light); }
.tone-dark .service ul { border-color: var(--line-light); color: var(--paper); }
.tone-dark .service__file { background: rgba(28, 208, 112, .14); color: var(--signal); }
.tone-dark .service:hover { border-color: rgba(244, 241, 234, .35); }
.tone-dark .service::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(28, 208, 112, .16), transparent 60%); }
.tone-dark :focus-visible { outline-color: var(--signal); }
.service ul li { text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: 14px; line-height: 1.45; }
.services__grid .service ul.mono li { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.service .service__list li::before { content: none; }
.service .service__list { font-size: 14.5px; }
.service__more::after { margin-left: 6px; }

/* ---------- Trin: kort der stabler sig ---------- */
.stage__head { margin-bottom: var(--space-head); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.stage__head .eyebrow, .stage__head h2 { grid-column: 1; }
.stage__head h2 { font-size: clamp(34px, 4vw, 60px); }
.stage__intro { grid-column: 2; grid-row: span 2; align-self: end; color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 34em; margin: 0; }
@media (max-width: 900px) { .stage__head { grid-template-columns: 1fr; } .stage__intro { grid-column: 1; grid-row: auto; } }

.stack { display: grid; gap: 20px; }
.stack__card { position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 14px); display: grid; grid-template-columns: 1.15fr 1fr; min-height: min(56vh, 420px); border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: 0 -12px 40px -24px rgba(10, 58, 42, .45); transform-origin: 50% 0; will-change: transform; }
.stack__text { background: var(--signal); color: var(--ink); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
.stack__text .mono { font-size: 12px; letter-spacing: .06em; color: rgba(10, 58, 42, .62); }
.stack__text h3 { font-size: clamp(30px, 3.6vw, 56px); line-height: 1; letter-spacing: -.03em; margin: auto 0 14px; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.stack__text p { color: rgba(10, 58, 42, .8); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; max-width: 32em; margin: 0; overflow-wrap: break-word; }
.stack__text a { color: inherit; }
.stack__visual { position: relative; background: var(--ink); background-image: radial-gradient(rgba(244, 241, 234, .13) 1px, transparent 1px); background-size: 26px 26px; display: grid; place-items: center; padding: 28px; }
.stack__visual svg { width: min(78%, 300px); height: auto; max-height: 100%; overflow: visible; }
.slab .s-t { fill: var(--paper); }
.slab .s-l { fill: #cfd9cf; }
.slab .s-r { fill: #8fae9f; }
.slab polygon, .slab ellipse { stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.slab .s-studs ellipse { fill: #e3ded2; }
.slab--top .s-t { fill: var(--signal); }
.slab--top .s-studs ellipse { fill: #12a85a; }
.motion .slab--top > g { transition: none; }
@media (max-width: 900px) {
	.stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--header-h) + 12px + var(--i) * 10px); }
	.stack__visual { min-height: 150px; padding: 18px; }
	.stack__visual svg { width: 150px; }
}

/* ---------- Tekster fra rankon.dk ---------- */
.hero__sub { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 36em; margin-top: -8px; }
.service__sub { font-weight: 600; color: var(--ink); margin: -4px 0 4px; }
.case__lead { font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--f-display); color: var(--paper); margin-bottom: 10px; }

/* ---------- Blog ---------- */
.blog-hero { padding-bottom: var(--space-section); }
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.blog-filter a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease); }
.blog-filter a:hover { background: var(--ink); color: var(--paper); }
.blog-group { padding-block: var(--space-section); border-top: 1px solid var(--line); }
.blog-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.blog-group__head h2 { font-size: clamp(30px, 3.4vw, 48px); }
.blog-group__head .mono { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.post-grid { padding-bottom: 0; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; gap: 14px; min-width: 0; transition: transform .35s var(--ease), border-color .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); border-color: rgba(10, 58, 42, .3); }
.post-card h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.15; letter-spacing: -.015em; overflow-wrap: break-word; hyphens: auto; }
.post-card__meta { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.post-card .service__more { margin-top: 6px; }
.related { background: var(--paper-2); }

/* Enkelt indlæg */
.post-head { padding-block: var(--space-section) var(--space-head); }
.post-head h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.035em; overflow-wrap: break-word; hyphens: auto; }
.post-head__lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); margin: 24px 0 0; max-width: 40em; }
.post-head__meta { margin-top: 24px; color: var(--muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding-top: 20px; border-top: 1px solid var(--line); }
.prose { font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: #24443a; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; margin-top: 2em; letter-spacing: -.02em; }
.prose h3 { font-size: clamp(20px, 1.8vw, 24px); margin-top: 1.6em; }
.prose strong { color: var(--ink); }
.prose li + li { margin-top: .4em; }
.prose aside { background: var(--signal); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.prose aside > p:first-child { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; color: rgba(10, 58, 42, .7); }
.prose aside ul { margin: 0; }
.prose aside li { color: var(--ink); }
.prose blockquote { border-left: 3px solid var(--signal); padding: 4px 0 4px 24px; font: italic 400 clamp(22px, 2vw, 28px)/1.35 var(--f-serif); color: var(--ink); }
.prose blockquote p { color: var(--ink); }
.prose dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.prose dl > div, .prose dt + dd { min-width: 0; }
.prose dt { font: 600 clamp(26px, 2.6vw, 36px)/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; }
.prose dd { margin: 6px 0 14px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.prose figure { margin-inline: 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose .wp-block-table { overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font: 500 12px/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.prose .schema-faq-section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.prose .schema-faq-question { display: block; font: 600 20px/1.3 var(--f-display); color: var(--ink); margin-bottom: 8px; }
.prose .schema-faq-answer { margin: 0; }
@media (max-width: 700px) { .prose { font-size: 17px; } .post-grid { grid-template-columns: 1fr; } }

/* ---------- Faste afstande pr. skærmstørrelse ---------- */
@media (max-width: 1023px) { :root { --space-section: 32px; --space-head: 32px; } }
@media (max-width: 767px) { :root { --space-section: 24px; --space-head: 24px; } }

/* ---------- Mobil ---------- */
.mobile-cta { display: none; }
@media (max-width: 900px) {
	/* Kontaktbjælke i bunden */
	.mobile-cta { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; padding: 8px; background: rgba(244, 241, 234, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 16px 40px -18px rgba(10, 58, 42, .45); transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s var(--ease); }
	.mobile-cta.is-on { transform: none; opacity: 1; }
	.menu-open .mobile-cta { transform: translateY(calc(100% + 24px)); opacity: 0; }
	.mobile-cta__book { flex: 1; justify-content: center; min-height: 48px; }
	.mobile-cta__call { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: var(--ink); }
	.site-footer { padding-bottom: 88px; }

	/* Cases: faner som én række man kan swipe */
	.cases__tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter, 20px) * -1); padding-inline: var(--gutter, 20px); scrollbar-width: none; }
	.cases__tabs::-webkit-scrollbar { display: none; }
	.cases__tab { scroll-snap-align: start; flex: 0 0 auto; }
}
@media (max-width: 767px) {
	/* Knapperne kommer før den lange SEO-tekst i toppen */
	.hero__copy { display: flex; flex-direction: column; }
	.hero__copy .hero__actions { order: 3; margin-top: 4px; }
	.hero__copy .hero__sub { order: 4; font-size: 15px; margin-top: 20px; }
	.hero__actions .btn { width: 100%; justify-content: center; min-height: 52px; }
	.hero__actions { flex-direction: column; align-items: stretch; gap: 14px; }
	.hero__actions .link-arrow { text-align: center; }
	/* Det dekorative Google-eksempel fylder mindre */
	.hero__visual { padding-bottom: 0; margin-top: 8px; }
	.serp { padding: 16px; }
	.serp__tabs, .serp__result:not(.is-top) { display: none; }
	.ai-card { position: relative; left: auto; bottom: auto; width: auto; margin: -14px 14px 0; }
	/* Små versaler bliver læsbare */
	.service ul.mono li, .services__grid .service ul.mono li { font-size: 12px; line-height: 1.5; }
	.blog-filter a { padding: 13px 18px; }
	.stack__visual { min-height: 120px; }
	.stack__visual svg { width: 120px; }
	.stack__text { gap: 14px; }
	.stack__text h3 { margin-top: 8px; }
}
/* Overskrifter deler kun ord ved meget lange ord, så navne som RANKON aldrig deles */
h1, h2 { hyphens: manual; -webkit-hyphens: manual; }
