/* Sommer Brandrådgivning – site.css
   Designgrundlag: SBR-008 Designarkitektur og Novamira-designet "Sommer Brandrådgivning".
   Roligt og funktionelt: ingen gradienter, skygger eller 3D-effekter. Orange bruges sparsomt. */

/* ---------------------------------------------------------------- Skrifter */
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600.woff2") format("woff2"); }

/* ---------------------------------------------------------------- Tokens */
:root {
	--bg: #FAF8F5;
	--surface: #FFFFFF;
	--ink: #241C17;
	--text: #3F352E;
	--muted: #6B5E54;
	--line: #E4DDD3;
	--line-strong: #CFC6BA;
	--accent: #FF6B1A;
	--accent-dark: #D14411;
	--accent-soft: rgba(255, 107, 26, 0.10);
	--panel: #211A15;
	--panel-text: #E6DED4;

	--font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

	--r-sm: 8px;
	--r-md: 16px;
	--r-pill: 999px;

	--gutter: 16px;
	--section: 72px;
	--header-h: 68px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --section: 104px; --header-h: 76px; } }

/* ---------------------------------------------------------------- Grundlag */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
:where(h1, h2, h3, h4) { margin: 0; color: var(--ink); font-family: var(--font-head); text-wrap: balance; }
:where(p, ul, ol, dl, dd, figure) { margin: 0; }
:where(ul, ol) { padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; border-radius: 4px; }
address { font-style: normal; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sbr-skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.sbr-skip:focus { top: 12px; }

.sbr-container { width: 100%; max-width: 1216px; margin-inline: auto; padding-inline: var(--gutter); }
.sbr-section { padding-block: var(--section); }
.sbr-icon { flex: none; width: 1.15em; height: 1.15em; }

.sbr-h2 { font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.375rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
.sbr-lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink); }
@media (min-width: 1024px) { .sbr-lead { font-size: 1.1875rem; } }

/* ---------------------------------------------------------------- Knapper */
.sbr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px;
	border: 1.5px solid transparent; border-radius: var(--r-pill);
	font: 600 0.9375rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.sbr-btn--primary { background: var(--accent); color: #fff; }
.sbr-btn--primary:hover { background: #EC5D0F; }
.sbr-btn--ghost { border-color: var(--accent); color: var(--ink); background: transparent; }
.sbr-btn--ghost:hover { background: var(--accent-soft); }
.sbr-btn--block { width: 100%; }

/* ---------------------------------------------------------------- Header */
.sbr-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.admin-bar .sbr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sbr-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sbr-header { top: 0; } }
.sbr-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.sbr-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.sbr-brand__logo { width: 44px; height: 44px; }
.sbr-brand__name { font: 700 1.0625rem/1.15 var(--font-head); letter-spacing: -0.01em; }
@media (min-width: 1024px) { .sbr-brand__logo { width: 52px; height: 52px; } .sbr-brand__name { font-size: 1.125rem; } }

.sbr-header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }
.sbr-header__phone .sbr-icon { color: var(--accent-dark); }
.sbr-header__phone:hover span { text-decoration: underline; text-underline-offset: 3px; }

.sbr-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.sbr-burger .sbr-icon { width: 26px; height: 26px; }
.sbr-burger__close, .sbr-burger[aria-expanded="true"] .sbr-burger__open { display: none; }
.sbr-burger[aria-expanded="true"] .sbr-burger__close { display: inline-flex; }

/* Mobil/tablet-menu (< 1024px) */
@media (max-width: 1023.98px) {
	.sbr-header__phone span { display: none; }
	.sbr-header__phone { width: 44px; height: 44px; justify-content: center; }
	.sbr-header__phone .sbr-icon { width: 22px; height: 22px; }
	.sbr-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		display: none; flex-direction: column;
		padding: 16px var(--gutter) 32px; overflow-y: auto;
		background: var(--bg);
	}
	.admin-bar .sbr-nav { top: calc(var(--header-h) + 46px); }
	.sbr-nav.is-open { display: flex; }
	.sbr-nav__list { list-style: none; }
	.sbr-nav__item { border-bottom: 1px solid var(--line); position: relative; }
	.sbr-nav__link { display: block; padding: 16px 0; font: 700 1.25rem/1.2 var(--font-head); color: var(--ink); text-decoration: none; }
	.sbr-nav__link[aria-current="page"] { color: var(--accent-dark); }
	.sbr-nav__toggle { display: none; }
	.sbr-sub { list-style: none; padding: 0 0 12px 0; }
	.sbr-sub a { display: block; padding: 9px 0 9px 16px; border-left: 1.5px solid var(--line-strong); color: var(--text); text-decoration: none; }
	.sbr-sub a[aria-current="page"] { border-left-color: var(--accent); color: var(--ink); font-weight: 600; }
	.sbr-nav__contact { margin-top: 24px; }
	.sbr-nav__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.125rem; color: var(--ink); text-decoration: none; }
	.sbr-nav__phone .sbr-icon { color: var(--accent-dark); }
	body.sbr-menu-open { overflow: hidden; }
}
@media (max-width: 600px) { .admin-bar .sbr-nav { top: var(--header-h); } }

/* Desktop-menu (>= 1024px) */
@media (min-width: 1024px) {
	.sbr-burger, .sbr-nav__contact { display: none; }
	.sbr-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
	.sbr-nav__item { position: relative; display: flex; align-items: center; }
	.sbr-nav__link {
		display: block; padding: 10px 14px; border-radius: var(--r-pill);
		color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem;
	}
	.sbr-nav__link:hover { background: rgba(36, 28, 23, 0.05); }
	.sbr-nav__link[aria-current="page"] { color: var(--accent-dark); }
	.sbr-nav__item--sub .sbr-nav__link { padding-right: 4px; }
	.sbr-nav__toggle { display: inline-flex; width: 28px; height: 36px; align-items: center; justify-content: center; margin-right: 6px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: var(--r-pill); }
	.sbr-nav__toggle .sbr-icon { width: 16px; height: 16px; transition: transform .15s; }
	.sbr-nav__toggle[aria-expanded="true"] .sbr-icon { transform: rotate(180deg); }
	.sbr-sub {
		position: absolute; top: 100%; right: 0; z-index: 60; /* folder ud mod venstre, så den ikke rammer højre kant */
		min-width: 340px; padding: 10px; list-style: none;
		background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
		visibility: hidden; opacity: 0; transform: translateY(4px);
		transition: opacity .15s, transform .15s, visibility .15s;
	}
	.sbr-nav__item--sub:hover .sbr-sub,
	.sbr-nav__item--sub:focus-within .sbr-sub,
	.sbr-nav__toggle[aria-expanded="true"] + .sbr-sub { visibility: visible; opacity: 1; transform: none; }
	.sbr-sub a { display: block; padding: 10px 14px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: 0.9375rem; line-height: 1.35; }
	.sbr-sub a:hover { background: var(--bg); }
	.sbr-sub a[aria-current="page"] { color: var(--accent-dark); font-weight: 600; }
	.sbr-header__phone { margin-left: 16px; padding-left: 20px; border-left: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- Hero */
.sbr-hero { padding-block: 48px 64px; }
.sbr-hero__grid { display: grid; gap: 40px; align-items: center; }
.sbr-hero__title { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; max-width: 14ch; margin-bottom: 24px; }
.sbr-hero__text > p { max-width: 58ch; }
.sbr-hero__text > p + p { margin-top: 14px; }
.sbr-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.sbr-hero__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.sbr-hero__phone .sbr-icon { color: var(--accent-dark); }
.sbr-hero__phone:hover span { text-decoration: underline; text-underline-offset: 3px; }
.sbr-hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
@media (min-width: 1024px) {
	.sbr-hero { padding-block: 88px 104px; }
	.sbr-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; }
	.sbr-hero__img { aspect-ratio: 5 / 6; }
}

/* ---------------------------------------------------------------- Hvad står du med? */
.sbr-situations { padding-top: 0; }
.sbr-situations .sbr-h2 { margin-bottom: 32px; }
.sbr-situations__grid { display: grid; gap: 16px; list-style: none; }
@media (min-width: 700px) { .sbr-situations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sbr-situations__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .sbr-situations .sbr-h2 { margin-bottom: 40px; } }
/* Står det sidste kort alene på sin række, fylder det hele rækken (bredt kort). */
@media (min-width: 700px) and (max-width: 1099.98px) { .sbr-situations__grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .sbr-situations__grid > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
@media (min-width: 700px) { .sbr-situations__grid > li:last-child:is(:nth-child(odd), :nth-child(3n+1)) .sbr-situation__text { max-width: 72ch; } }
.sbr-situations__grid > li { display: flex; }
.sbr-situation {
	display: flex; flex-direction: column; gap: 12px; width: 100%;
	padding: 28px 24px 24px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
	color: var(--text); text-decoration: none;
	transition: border-color .15s;
}
.sbr-situation::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.sbr-situation:hover { border-color: var(--accent); }
.sbr-situation__title { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.sbr-situation__text { font-size: 0.9688rem; color: var(--muted); flex: 1; }
.sbr-situation__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--accent-dark); font-weight: 600; font-size: 0.9375rem; }
.sbr-situation__link .sbr-icon { transition: transform .15s; }
.sbr-situation:hover .sbr-situation__link .sbr-icon { transform: translateX(3px); }
@media (min-width: 1100px) { .sbr-situation { padding: 32px 28px 28px; } }

/* ---------------------------------------------------------------- DNA */
.sbr-dna { background: var(--panel); color: var(--panel-text); padding-block: var(--section); }
.sbr-dna .sbr-h2 { color: #fff; }
.sbr-dna__inner { display: grid; gap: 24px; }
.sbr-dna__text { display: grid; gap: 14px; font-size: 1.0625rem; max-width: 62ch; }
.sbr-dna__text p:last-child { color: #fff; }
@media (min-width: 1024px) {
	.sbr-dna__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
	.sbr-dna__text { font-size: 1.125rem; }
}

/* ---------------------------------------------------------------- Rådgivning (kompakt) */
.sbr-areas .sbr-h2 { margin-bottom: 32px; }
.sbr-arealist { display: grid; gap: 0 40px; list-style: none; }
@media (min-width: 700px) { .sbr-arealist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sbr-arealist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; } }
.sbr-arealist__item { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 0 28px; border-top: 1px solid var(--line-strong); }
.sbr-arealist__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.sbr-arealist__title a { text-decoration: none; }
.sbr-arealist__title a::after { content: ""; position: absolute; inset: 0; }
.sbr-arealist__text { font-size: 0.9375rem; color: var(--muted); flex: 1; }
.sbr-arealist__more { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--accent-dark); }
.sbr-arealist__more .sbr-icon { width: 1em; height: 1em; transition: transform .15s; }
.sbr-arealist__item:hover .sbr-arealist__title a { text-decoration: underline; text-underline-offset: 3px; }
.sbr-arealist__item:hover .sbr-arealist__more .sbr-icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- Erfaring */
.sbr-experience { background: var(--surface); border-block: 1px solid var(--line); }
.sbr-split { display: grid; gap: 24px; }
.sbr-split__body { display: grid; gap: 14px; max-width: 64ch; }
@media (min-width: 1024px) { .sbr-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }

/* ---------------------------------------------------------------- Proces */
.sbr-process-section__head { display: grid; gap: 16px; max-width: 60ch; margin-bottom: 40px; }
.sbr-process { position: relative; display: grid; gap: 20px; list-style: none; counter-reset: none; }
.sbr-process::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1.5px; background: var(--line-strong); }
.sbr-process__step { position: relative; display: flex; align-items: center; gap: 16px; }
.sbr-process__num {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--bg); border: 1.5px solid var(--ink);
	font: 700 1rem/1 var(--font-head); color: var(--ink);
}
.sbr-process__step:first-child .sbr-process__num { background: var(--accent); border-color: var(--accent); color: #fff; }
.sbr-process__label { font: 600 1.0625rem/1.3 var(--font-head); color: var(--ink); }
@media (min-width: 900px) {
	.sbr-process { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
	.sbr-process::before { left: 10%; right: 10%; top: 22px; bottom: auto; width: auto; height: 1.5px; }
	.sbr-process__step { flex-direction: column; text-align: center; gap: 16px; }
	.sbr-process__label { max-width: 14ch; }
}

/* ---------------------------------------------------------------- Kontakt-bånd (forside) */
.sbr-contact-band { background: var(--surface); border-top: 1px solid var(--line); }
.sbr-contact-band__inner { display: grid; gap: 32px; align-items: start; }
.sbr-contact-band__text { display: grid; gap: 14px; max-width: 60ch; }
.sbr-contact-band__text .sbr-h2 { margin-bottom: 4px; }
@media (min-width: 1024px) { .sbr-contact-band__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; } }
.sbr-contact-card { padding: 28px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); }
.sbr-contact-card__list { display: grid; gap: 16px; margin-bottom: 24px; }
.sbr-contact-card__list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sbr-contact-card__list dt { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.sbr-contact-card__list dt .sbr-icon { color: var(--accent-dark); }
.sbr-contact-card__list dd a { color: var(--ink); font-weight: 600; text-decoration: none; }
.sbr-contact-card__list dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sbr-contact-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sbr-contact-card__actions .sbr-btn { flex: 1 1 160px; }

/* ---------------------------------------------------------------- Undersider */
.sbr-page__head { padding-block: 48px 32px; }
.sbr-page__title { font-size: clamp(2rem, 1.45rem + 2.4vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; max-width: 22ch; }
.sbr-crumb { margin-bottom: 14px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.sbr-crumb a { color: var(--accent-dark); text-decoration: none; }
.sbr-crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sbr-page__media { margin-bottom: 40px; }
.sbr-page__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-md); }
.sbr-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-top: 10px; }
.sbr-caption__text { flex: 1 1 420px; max-width: 72ch; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); font-style: italic; }
.sbr-credit { margin-left: auto; font-size: 0.75rem; color: var(--muted); text-align: right; }
.sbr-credit a { color: inherit; text-underline-offset: 2px; }
.sbr-page__single, .sbr-page__wide { padding-bottom: var(--section); }
.sbr-page__single .sbr-prose { max-width: 72ch; }
.sbr-page__layout { display: grid; gap: 48px; padding-bottom: var(--section); }
@media (min-width: 1024px) {
	.sbr-page__head { padding-block: 72px 40px; }
	.sbr-page__layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: start; }
}

/* Brødtekst i sidernes indhold (Gutenberg-blokke) */
.sbr-prose { max-width: 70ch; font-size: 1.0625rem; }
.sbr-prose > * + * { margin-top: 1em; }
.sbr-prose h2 {
	margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-strong);
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); font-weight: 700; line-height: 1.2;
}
.sbr-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); }
.sbr-prose h2 + * { margin-top: 16px; }
.sbr-prose h3 { margin-top: 32px; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.sbr-prose ul, .sbr-prose ol { padding-left: 1.25em; }
.sbr-prose li + li { margin-top: 6px; }
.sbr-prose li::marker { color: var(--accent-dark); }
.sbr-prose a { color: var(--accent-dark); text-underline-offset: 3px; }
.sbr-prose strong { color: var(--ink); }

/* Krydslink til andet rådgivningsområde */
.sbr-prose .sbr-xlink a {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; text-decoration: none;
}
.sbr-prose .sbr-xlink a::after { content: "→"; transition: transform .15s; }
.sbr-prose .sbr-xlink a:hover { text-decoration: underline; }
.sbr-prose .sbr-xlink a:hover::after { transform: translateX(3px); }

/* Fremhævet informationsboks */
.sbr-prose .sbr-note {
	margin-top: 32px; padding: 20px 24px;
	background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
	border-radius: var(--r-sm);
}
.sbr-prose .sbr-note h2, .sbr-prose .sbr-note h3 { margin: 0 0 8px; padding: 0; border: 0; font-size: 1.0625rem; }
.sbr-prose .sbr-note > * + * { margin-top: 8px; }

/* Afsluttende handlingsfelt */
.sbr-cta, .sbr-prose .sbr-cta {
	margin-top: 64px; padding: 32px 28px;
	background: var(--panel); color: var(--panel-text); border-radius: var(--r-md);
}
.sbr-cta h2, .sbr-prose .sbr-cta h2 { margin: 0 0 12px; padding: 0; border: 0; color: #fff; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); }
.sbr-cta > * + * { margin-top: 12px; }
.sbr-cta p:last-child { margin-top: 24px; }
.sbr-prose .sbr-cta .sbr-cta-btn a, .sbr-cta .sbr-btn {
	display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px;
	background: var(--accent); color: #fff; border-radius: var(--r-pill);
	font: 600 0.9375rem/1.2 var(--font-body); text-decoration: none;
}
.sbr-prose .sbr-cta .sbr-cta-btn a:hover, .sbr-cta .sbr-btn:hover { background: #EC5D0F; }
@media (min-width: 1024px) { .sbr-cta, .sbr-prose .sbr-cta { padding: 40px; } }
.sbr-page__wide .sbr-cta { max-width: 760px; }

/* Sidemenu på rådgivningssider */
.sbr-aside { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1024px) { .sbr-aside { position: sticky; top: calc(var(--header-h) + 32px); } .admin-bar .sbr-aside { top: calc(var(--header-h) + 64px); } }
.sbr-aside__label { margin-bottom: 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sbr-aside__nav ul { list-style: none; border-left: 1.5px solid var(--line); }
.sbr-aside__nav a { display: block; margin-left: -1.5px; padding: 8px 0 8px 16px; border-left: 1.5px solid transparent; color: var(--text); text-decoration: none; font-size: 0.9375rem; line-height: 1.35; }
.sbr-aside__nav a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.sbr-aside__nav a[aria-current="page"] { border-left-color: var(--accent); color: var(--ink); font-weight: 600; }
.sbr-aside__contact { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 10px; }
.sbr-aside__phone { display: inline-flex; align-items: center; gap: 10px; font: 700 1.25rem/1.2 var(--font-head); color: var(--ink); text-decoration: none; }
.sbr-aside__phone .sbr-icon { color: var(--accent-dark); }
.sbr-aside__mail { color: var(--text); font-size: 0.9375rem; }
.sbr-aside__contact .sbr-btn { margin-top: 8px; }

/* Om os */
.sbr-about__grid { display: grid; gap: 40px; }
/* Portrættet har lav opløsning (361 px) – vises derfor højst 300 px bredt, så det står skarpt. */
.sbr-about__portrait { max-width: 300px; }
.sbr-about__portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 40%; border-radius: var(--r-md); }
.sbr-about__portrait figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }
.sbr-about__portrait figcaption strong { color: var(--ink); }
.sbr-about .sbr-cta { margin-bottom: var(--section); }
@media (max-width: 1023.98px) { .sbr-about__portrait { max-width: 240px; order: -1; } }
@media (min-width: 1024px) {
	.sbr-about__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: start; }
	.sbr-about__portrait { position: sticky; top: calc(var(--header-h) + 32px); }
	.sbr-about .sbr-cta { max-width: calc(100% - 440px); }
}

/* ---------------------------------------------------------------- Kontakt-siden */
.sbr-contact { padding-block: 48px var(--section); }
.sbr-contact__grid { display: grid; gap: 40px; align-items: start; }
.sbr-contact__intro .sbr-page__title { margin-bottom: 20px; }
.sbr-contact__intro > p + p { margin-top: 12px; }
.sbr-contact__h { margin: 40px 0 12px; font-size: 1.125rem; font-weight: 700; }
.sbr-contact__list { display: grid; }
.sbr-contact__list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.sbr-contact__list dt { color: var(--muted); }
.sbr-contact__list dd { color: var(--ink); }
.sbr-contact__list dd a { font-weight: 600; text-decoration: none; }
.sbr-contact__list dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
	.sbr-contact { padding-top: 72px; }
	.sbr-contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
}

.sbr-panel { padding: 24px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
@media (min-width: 640px) { .sbr-panel { padding: 32px; } }

.sbr-tabs__list { display: flex; gap: 4px; padding: 4px; margin-bottom: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); }
.sbr-tabs__tab {
	flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--r-pill);
	background: transparent; color: var(--muted); font: 600 0.9375rem/1.2 var(--font-body); cursor: pointer;
}
.sbr-tabs__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.sbr-tabs__tab:not([aria-selected="true"]):hover { color: var(--ink); }
.sbr-tabs__panel[hidden] { display: none; }
@media (max-width: 479.98px) { .sbr-tabs__tab .sbr-icon { display: none; } .sbr-tabs__tab { padding-inline: 8px; white-space: nowrap; } }

/* Contact Form 7 */
.wpcf7 form { display: grid; gap: 16px; }
.wpcf7 p { margin: 0; }
.sbr-form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .sbr-form__row { grid-template-columns: 1fr 1fr; } }
.wpcf7 label { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%; padding: 12px 14px;
	border: 1px solid var(--line-strong); border-radius: var(--r-sm);
	background: var(--bg); color: var(--ink); font: 400 1rem/1.4 var(--font-body);
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wpcf7 .wpcf7-submit {
	justify-self: start; min-height: 48px; padding: 12px 28px; border: 0; border-radius: var(--r-pill);
	background: var(--accent); color: #fff; font: 600 0.9375rem/1.2 var(--font-body); cursor: pointer;
}
.wpcf7 .wpcf7-submit:hover { background: #EC5D0F; }
.wpcf7 .wpcf7-submit:disabled { opacity: .6; cursor: default; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
.wpcf7 .wpcf7-not-valid { border-color: var(--accent-dark); }
.wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; color: var(--accent-dark); font-size: 0.875rem; }
.wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: 0.9375rem; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #3a8c5f; background: rgba(58, 140, 95, .08); color: #245a3c; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: var(--accent-dark); background: rgba(209, 68, 17, .06); color: var(--accent-dark); }
.sbr-form__note { font-size: 0.875rem; color: var(--muted); }
.sbr-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Bookingen arver sidens skrifter */
.sbr-tabs .sbr-booking { font-family: var(--font-body); }

/* ---------------------------------------------------------------- Footer */
.sbr-footer { background: var(--panel); color: var(--panel-text); font-size: 0.9375rem; }
.sbr-footer a { color: #fff; text-decoration: none; }
.sbr-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sbr-footer__inner { display: grid; gap: 28px; padding-block: 56px 40px; }
.sbr-footer__company { display: flex; align-items: center; gap: 14px; }
.sbr-footer__company img { background: #fff; border-radius: 50%; padding: 3px; }
.sbr-footer__name { font: 700 1.0625rem/1.2 var(--font-head); color: #fff; }
.sbr-footer__contact { display: grid; gap: 14px; line-height: 1.6; }
.sbr-footer__links { display: grid; gap: 8px; list-style: none; align-content: start; }
.sbr-footer__bottom { padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 0.875rem; color: #B9AEA2; }
.sbr-footer__contact span { white-space: nowrap; }
@media (min-width: 900px) {
	.sbr-footer__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 56px; padding-block: 72px 48px; align-items: start; }
	.sbr-footer__contact { grid-template-columns: repeat(3, max-content); gap: 16px 48px; }
}
@media (min-width: 900px) and (max-width: 1179.98px) {
	.sbr-footer__contact { grid-template-columns: repeat(2, max-content); }
}

/* ---------------------------------------------------------------- Bevægelse */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- Vandmærke */
/* Logo som vandmærke bag teksten på Forretningsbetingelser (60) og Data og privatliv (61).
   SBR-008: 17,5 % dækning i dokumenter; 25 % på skærm pga. råhvid baggrund (Erik 17.10.2026). */
body.page-id-60::before,
body.page-id-61::before {
	content: "";
	position: fixed;
	left: -6vmin;
	bottom: -12vmin;
	width: min(78vmin, 640px);
	aspect-ratio: 1;
	background: url("../img/watermark-logo.png") no-repeat center / contain;
	opacity: .25;
	pointer-events: none;
	z-index: -1;
}

/* Udskriv-knap og firmalinje til udskrift (kun juridiske sider) */
.sbr-print-brand { display: none; }
.sbr-print-btn { margin-top: 16px; min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }

/* ---------------------------------------------------------------- Print */
@media print {
	/* Skærm-vandmærket skjules; udskriften får vandmærket på 1. side via @page :first i page.php */
	body.page-id-60::before, body.page-id-61::before { display: none; }
	.sbr-print-btn { display: none !important; }
	.sbr-print-brand { display: block; margin: 0 0 8pt; font-size: 10pt; color: #555; }
	.sbr-header, .sbr-footer, .sbr-aside, .sbr-cta, .sbr-tabs { display: none !important; }
	body { background: #fff; }
}
