/* ==========================================================================
   WP26 · branche-sider, V3 (hjemmesider/brancher, seo/brancher, oversigterne)
   Lægges efter wp26.css. Bygger på V3-grid'et nederst i wp26.css (--g-*, .g-frame,
   .g-hero, .g-cells, .g-stat, .g-head, .g-contact). Én lys palet, hårfine linjer,
   orange kun som lille accent. Max 6 blokke pr. landingsside.
   Siderne genereres af _admin/tools/rebuild-brancher.py. Ret skabelonen dér.
   Husk: body{zoom:.8} fra 1025px gælder også her.
   ========================================================================== */

.w-branche h1, .w-branche h2, .w-branche h3 { overflow-wrap: break-word; }
.w-branche h1, .w-branche h2 { hyphens: auto; -webkit-hyphens: auto; }
.w-branche .w-word { max-width: 100%; }
.w-branche .w-eyebrow { margin: 0 0 10px; }
.w-branche .gb-sec { padding: 0; }  /* styles.css giver alle <section> 4rem luft; linjerne adskiller her */

/* ── (1) Hero ────────────────────────────────────────────────────────── */
.w-branche .gb-hero { padding-top: 116px; }
.gb-crumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 0 0 28px; font-size: 15px; }
.gb-crumb > span[aria-hidden] { margin: 0 9px; opacity: .55; }
.w-crumb .wb-crumb-cur { margin: 0; }
.w26 .g-hero .gb-h1 { font-size: clamp(38px, 5vw, 76px); line-height: 1.04; max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.w-branche .g-hero .w-lead { max-width: 44ch; margin-top: 20px; }
.w-branche .g-hero .w-btns { margin-top: 30px; gap: 12px; }
.w-branche .g-hero-art { height: 320px; margin-top: 56px; }
.gb-byline { margin: 22px 0 0; font-size: 15px; font-weight: 500; color: var(--g-mute); }
.gb-byline span { margin: 0 10px; opacity: .6; }

/* ── Fælles: hoveder og celler ───────────────────────────────────────── */
.w-branche .gb-head { padding: 80px 48px 40px; }
.w26 .gb-h2 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -0.04em; max-width: 22ch; text-wrap: balance; margin: 0; }
.w-branche .gb-head > p { max-width: 42ch; font-size: 17px; }
.gb-cell { background: var(--g-surface); padding: 48px; min-width: 0; }
.gb-h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.14; letter-spacing: -0.035em; font-weight: 700; margin: 0; max-width: 26ch; text-wrap: balance; color: var(--g-ink); }
.gb-sub { font-size: 17px; line-height: 1.55; color: var(--g-mute); margin: 12px 0 0; max-width: 58ch; }
.gb-k { margin: 0; font-size: 15px; font-weight: 600; color: var(--g-ink); letter-spacing: -0.01em; }
.gb-note { font-size: 15.5px; line-height: 1.55; color: var(--g-mute); margin: 20px 0 0; max-width: 62ch; }
.gb-note a, .wb-faq-a a, .gb-prose-body a { color: var(--w-accent-ink); font-weight: 600; }
.gb-nt, .gb-duo, .w-branche .gb-contact { border-top: 0; }

/* ── (2) Tal-celler ──────────────────────────────────────────────────── */
.gb-stat { justify-content: flex-start; gap: 22px; min-height: 0; padding: 32px 32px 34px; }
.gb-stat:hover { background: var(--g-surface); }
.w-branche .gb-stat p { font-size: 18px; line-height: 1.4; }
.gb-stat svg, .gb-card svg { width: 24px; height: 24px; flex: none; stroke: var(--g-ink); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── (3) Kort + intro + søgeord ──────────────────────────────────────── */
.gb-card { background: var(--g-surface); padding: 34px 32px 36px; min-width: 0; }
.gb-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 650; margin: 20px 0 0; color: var(--g-ink); }
.gb-card p { font-size: 16.5px; line-height: 1.55; color: var(--g-mute); margin: 8px 0 0; }
.gb-row--1 { border-bottom: 1px solid var(--g-line); }
.gb-row--1 .gb-prose { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 18px 64px; align-items: start; }
.gb-prose-body { margin-top: 18px; }
.gb-row--1 .gb-prose-body { margin-top: 0; }
.gb-prose-body p, .gb-prose-body li { font-size: 17.5px; line-height: 1.65; color: var(--g-ink2); letter-spacing: -0.01em; }
.gb-prose-body p { margin: 0 0 16px; }
.gb-prose-body > :last-child { margin-bottom: 0; }
.gb-prose-body strong { color: var(--g-ink); }

.wb-table-wrap { margin: 24px 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; background: var(--g-surface); box-shadow: 0 0 0 1px var(--g-line); }
.wb-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.4; }
.wb-table th, .wb-table td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--g-line); vertical-align: top; }
.wb-table tbody tr:last-child th, .wb-table tbody tr:last-child td { border-bottom: 0; }
.wb-table thead th { font-size: 13.5px; font-weight: 600; color: var(--g-mute); background: #fafafa; }
.wb-table tbody th { font-weight: 600; color: var(--g-ink); }
.wb-table td { color: var(--g-ink2); }
.wb-compare .wb-us { color: var(--w-accent-ink); }
.wb-compare .wb-yes { color: #1f7a45; font-weight: 600; }
.wb-compare .wb-no { color: var(--w-accent-ink); font-weight: 600; }
.wb-compare .wb-meh { color: var(--g-mute); }
.wb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.wb-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; background: var(--g-surface); box-shadow: inset 0 0 0 1px var(--g-line2);
  font-size: 14.5px; font-weight: 600; color: var(--g-ink2); text-decoration: none; transition: box-shadow 250ms var(--w-ease), color 250ms var(--w-ease); }
.wb-chips a:hover { box-shadow: inset 0 0 0 1px var(--g-ink); color: var(--g-ink); }

/* ── (4) Pris + proces ───────────────────────────────────────────────── */
.gb-price-num { margin: 22px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--g-mute); line-height: 1; }
.gb-price-num .w-price { display: inline-block; margin: 0 .08em; font-size: clamp(48px, 5vw, 72px); font-weight: 700; letter-spacing: -0.055em; line-height: .95; color: var(--g-ink); }
.gb-price .gb-k { margin-top: 30px; }
.gb-checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; }
.gb-checks li, .gb-tldr li { display: flex; gap: 10px; font-size: 16px; line-height: 1.4; color: var(--g-ink2); }
.gb-checks svg, .gb-tldr svg { width: 17px; height: 17px; flex: none; margin-top: 2px; stroke: var(--w-accent); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gb-pills { margin: 20px 0 0; font-size: 14.5px; font-weight: 500; color: var(--g-mute); }
.gb-pills span { margin: 0 8px; opacity: .6; }
.gb-price .w-btns { margin-top: 30px; gap: 14px 26px; }
.gb-steps ol { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--g-line); }
.gb-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--g-line); }
.gb-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.gb-step-n { font-size: 15px; font-weight: 600; color: var(--w-accent-ink); font-variant-numeric: tabular-nums; padding-top: 3px; }
.gb-steps h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 650; color: var(--g-ink); }
.gb-steps p { margin: 6px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--g-mute); }

/* ── (5) FAQ ─────────────────────────────────────────────────────────── */
.gb-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); border-bottom: 1px solid var(--g-line); }
.gb-faq-head { padding: 64px 48px; border-right: 1px solid var(--g-line); }
.gb-faq-head .gb-sub { max-width: 34ch; }
.w26 .gb-faq-head .gb-h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }
.wb-faq.gb-faq { background: var(--g-surface); padding: 28px 48px 36px; margin: 0; }
.wb-faq details { border-bottom: 1px solid var(--g-line); }
.wb-faq details:last-child { border-bottom: 0; }
.wb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 2px; cursor: pointer; list-style: none;
  font-size: 18.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; color: var(--g-ink); }
.wb-faq summary::-webkit-details-marker { display: none; }
.wb-faq summary:hover { color: var(--w-accent-ink); }
.wb-faq summary:focus-visible { outline: 3px solid var(--w-accent); outline-offset: 4px; border-radius: 8px; }
.wb-faq-i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; transition: transform 300ms var(--w-ease); }
.wb-faq details[open] .wb-faq-i { transform: rotate(45deg); }
.wb-faq-a p { margin: 0 0 22px; padding: 0 2px; max-width: 68ch; font-size: 16.5px; line-height: 1.6; color: var(--g-ink2); }

/* ── (6) Kontakt ─────────────────────────────────────────────────────── */
.w-branche .gb-contact .w-lead { max-width: 38ch; }
.w-branche .gb-contact .gb-h2 { max-width: 18ch; }
.w-branche .gb-contact > div:last-child { display: flex; flex-direction: column; justify-content: center; }
.w-branche .gb-contact .w-reach { margin-top: 0; }
.w-branche .gb-contact .w-reach a { background: var(--g-surface); }
.w-branche .gb-contact .w-btns { margin-top: 24px; }

/* ── Artikel: brødteksten i en celle, TL;DR ved siden af ─────────────── */
.gb-art-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 2fr); border-top: 1px solid var(--g-line); border-bottom: 1px solid var(--g-line); }
.gb-tldr { position: sticky; top: 96px; align-self: start; padding: 56px 36px; }
.gb-tldr ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.gb-tldr li { font-size: 15.5px; }
.gb-article { background: var(--g-surface); border-left: 1px solid var(--g-line); padding: 64px 64px 72px; min-width: 0; }
.gb-art-grid--solo { grid-template-columns: 1fr; }
.gb-art-grid--solo .gb-article { border-left: 0; }
.gb-art-grid--solo .w-prose { margin: 0 auto; }
.gb-article .w-prose { max-width: 760px; margin: 0; }
.gb-article .w-prose > :first-child { margin-top: 0; }
.gb-article .w-prose h2 { font-size: clamp(28px, 2.6vw, 38px); margin: 56px 0 16px; }
.gb-article .w-prose h3 { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 650; margin: 34px 0 10px; }
.gb-article .w-prose p { font-size: 19px; color: var(--g-ink2); }
.gb-article .w-prose ul, .gb-article .w-prose ol { margin: 0 0 22px; padding-left: 1.25em; font-size: 19px; line-height: 1.6; color: var(--g-ink2); letter-spacing: -0.015em; }
.gb-article .w-prose li { margin: 0 0 10px; padding-left: .2em; }
.gb-article .w-prose li::marker { color: var(--g-mute); font-weight: 600; }
.gb-article .w-prose strong { color: var(--g-ink); }
.gb-article .w-prose a { color: var(--w-accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gb-article .wb-table-wrap { margin: 28px 0 30px; }
.gb-rel { display: flex; flex-direction: column; padding: 34px 32px 30px; background: var(--g-surface); text-decoration: none; color: inherit; min-width: 0; transition: background-color 300ms var(--w-ease); }
.gb-rel:hover { background: #f7f7f7; }
.gb-rel .gb-k { color: var(--w-accent-ink); font-size: 14px; margin-bottom: 10px; }
.gb-rel h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 650; }
.gb-rel p:not(.gb-k) { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--g-mute); }
.gb-rel .w-link { margin-top: auto; padding-top: 20px; font-size: 16px; }

/* ── Oversigter (hubs) ───────────────────────────────────────────────── */
.gb-links { grid-template-columns: repeat(4, 1fr); }
.gb-links > *:nth-child(4n) { border-right: 0; }
.gb-links--lg { grid-template-columns: 1fr 1fr; }
.gb-links--lg > * { border-right: 1px solid var(--g-line); }
.gb-links--lg > *:nth-child(2n), .gb-links--lg > *:last-child { border-right: 0; }
.gb-link { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 112px; padding: 24px 52px 24px 26px; background: var(--g-surface);
  text-decoration: none; color: inherit; min-width: 0; transition: background-color 300ms var(--w-ease); }
.gb-link:hover { background: #f7f7f7; }
.gb-links--lg .gb-link { padding: 34px 64px 34px 32px; min-height: 160px; }
.gb-lc-t { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; color: var(--g-ink); overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.gb-links--lg .gb-lc-t { font-size: 24px; letter-spacing: -0.03em; }
.gb-lc-m { font-size: 14.5px; line-height: 1.45; color: var(--g-mute); }
.gb-links--lg .gb-lc-m { font-size: 16.5px; max-width: 46ch; }
.gb-lc-go { position: absolute; top: 24px; right: 22px; width: 18px; height: 18px; stroke: var(--g-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--w-ease); }
.gb-links--lg .gb-lc-go { top: 34px; right: 30px; width: 22px; height: 22px; }
.gb-link:hover .gb-lc-go { transform: translateX(3px); }
.gb-badge { align-self: flex-start; margin-top: 8px; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--g-line2); font-size: 12.5px; font-weight: 600; color: var(--g-ink2); }
.gb-link:focus-visible, .gb-rel:focus-visible, .wb-chips a:focus-visible { outline: 3px solid var(--w-accent); outline-offset: -3px; }

/* ── Responsivt ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .w-branche .g-cells--2 { grid-template-columns: 1fr; }
  .w-branche .g-cells--2 > * { border-right: 0; }
  .gb-row--1 .gb-prose { grid-template-columns: 1fr; }
  .gb-faq-grid { grid-template-columns: 1fr; }
  .gb-faq-head { border-right: 0; border-bottom: 1px solid var(--g-line); padding-bottom: 40px; }
  .gb-art-grid { grid-template-columns: 1fr; }
  .gb-tldr { position: static; border-bottom: 1px solid var(--g-line); }
  .gb-article { border-left: 0; }
  .gb-links { grid-template-columns: 1fr 1fr; }
  .gb-links > * { border-right: 1px solid var(--g-line); }
  .gb-links > *:nth-child(2n), .gb-links > *:last-child { border-right: 0; }
}
@media (max-width: 760px) {
  .w-branche .gb-hero { padding-top: 96px; }
  .gb-crumb { font-size: 14px; margin-bottom: 20px; }
  .w-branche .g-hero-art { height: 200px; margin-top: 40px; }
  .w-branche .gb-head { padding: 56px 20px 28px; }
  .gb-cell, .gb-card, .gb-stat, .gb-rel { padding: 28px 20px; }
  .w-branche .gb-stat p { font-size: 17px; }
  .gb-prose-body p, .gb-prose-body li { font-size: 16.5px; }
  .gb-checks { grid-template-columns: 1fr; }
  .gb-price-num .w-price { font-size: 52px; }
  .wb-table { font-size: 14.5px; }
  .wb-table th, .wb-table td { padding: 10px 12px; }
  .gb-faq-head { padding: 48px 20px 28px; }
  .wb-faq.gb-faq { padding: 8px 20px 24px; }
  .wb-faq summary { font-size: 17px; padding: 18px 0; }
  .wb-faq-a p { font-size: 16px; }
  .gb-tldr { padding: 36px 20px; }
  .gb-article { padding: 40px 20px 48px; }
  .gb-article .w-prose p, .gb-article .w-prose ul, .gb-article .w-prose ol { font-size: 17.5px; }
  .gb-article .w-prose h2 { margin-top: 44px; }
  .gb-link { min-height: 0; padding: 18px 36px 18px 16px; }
  .gb-lc-go { top: 18px; right: 12px; width: 16px; height: 16px; }
  .gb-lc-t { font-size: 16px; }
  .gb-lc-m { font-size: 13.5px; }
  .gb-links--lg { grid-template-columns: 1fr; }
  .gb-links--lg > * { border-right: 0; }
  .gb-links--lg .gb-link { padding: 26px 52px 26px 20px; min-height: 0; }
  .gb-links--lg .gb-lc-t { font-size: 21px; }
}
@media (max-width: 420px) {
  .gb-links { grid-template-columns: 1fr; }
  .gb-links > * { border-right: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-faq-i, .gb-rel, .gb-link, .gb-lc-go, .wb-chips a { transition: none; }
  .gb-link:hover .gb-lc-go { transform: none; }
}
@media (prefers-contrast: more) {
  .wb-faq-a p, .gb-steps p, .gb-card p, .gb-rel p, .gb-lc-m, .gb-sub, .gb-note { color: var(--g-ink2); }
}
