/* AktivFinans site styling. Brand colours are the client's own, read from the
   new 2025 logo files they sent (AktivFinans_logo_2025.pdf, 1 Oct 2026):
   navy #051e5b and gold #d6a461. Fonts follow the draft front page the client
   approved: Kaisei Opti for headings, Inter for text. */
:root {
	--af-navy: #051e5b;
	--af-gold: #d6a461;
	--af-ink: #1c2033;
	--af-muted: #555b70;
	--af-soft: #f6f4f0;
	--af-line: #e4e1da;
	--af-white: #ffffff;
	--af-radius: 14px;
	--af-max: 1200px;
	--af-header-h: 84px;
}

html { scroll-behavior: smooth; }
html.af-lock { overflow: hidden; }
body {
	font-family: "Inter", system-ui, sans-serif;
	color: var(--af-ink);
	font-size: 17px;
	line-height: 1.6;
	background: var(--af-white);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.elementor-widget-heading .elementor-heading-title {
	font-family: "Kaisei Opti", Georgia, serif;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.005em;
	color: var(--af-navy);
}
a { color: var(--af-navy); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--af-gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.af-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--af-white);
	border-bottom: 1px solid transparent;
	transition: box-shadow .25s ease;
}
.af-header.is-scrolled { box-shadow: 0 6px 24px rgba(5, 30, 91, .08); border-bottom-color: var(--af-line); }
.af-header__inner {
	max-width: 1320px; margin: 0 auto; padding: 0 24px;
	height: var(--af-header-h); display: flex; align-items: center; gap: 22px;
}
.af-header__logo img { display: block; width: 190px; height: auto; }
.af-nav { margin-left: auto; }
.af-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.af-nav__list > li { position: relative; }
.af-nav__list a {
	display: block; padding: 10px 10px; white-space: nowrap; text-decoration: none;
	font-weight: 600; font-size: 17px; color: var(--af-ink);
}
.af-nav__list a:hover,
.af-nav__list .current-menu-item > a,
.af-nav__list .current-menu-ancestor > a { color: var(--af-navy); text-decoration: underline; text-decoration-color: var(--af-gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.af-nav__list .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.af-nav__list .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 260px; list-style: none; margin: 0;
	padding: 10px; background: var(--af-white); border: 1px solid var(--af-line);
	border-radius: var(--af-radius); box-shadow: 0 18px 40px rgba(5, 30, 91, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
/* A bridge so the pointer can travel from the item to the panel. */
.af-nav__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.af-nav__list li:hover > .sub-menu,
.af-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.af-nav__list .sub-menu a { padding: 9px 12px; font-weight: 600; font-size: 16px; }
.af-nav__phone--mobile { display: none; }
.af-header__phone { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.af-header__phone-label { font-size: 13px; color: var(--af-muted); }
.af-header__phone-number { font-weight: 800; font-size: 19px; color: var(--af-navy); white-space: nowrap; }
.af-burger { display: none; }

@media (max-width: 1100px) {
	.af-header__phone, .af-header__cta { display: none; }
	.af-burger {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
		margin-left: auto; width: 46px; height: 46px; padding: 11px; border: 0;
		background: transparent; cursor: pointer;
	}
	.af-burger span { display: block; height: 2px; background: var(--af-navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
	.is-open .af-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.is-open .af-burger span:nth-child(2) { opacity: 0; }
	.is-open .af-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.af-nav {
		position: fixed; inset: var(--af-header-h) 0 0 0; margin: 0; padding: 16px 16px 40px;
		background: var(--af-white); overflow-y: auto; display: none;
	}
	.is-open .af-nav { display: block; }
	.af-nav__list { flex-direction: column; gap: 0; }
	.af-nav__list > li { border-bottom: 1px solid var(--af-line); }
	.af-nav__list a { padding: 14px 4px; font-size: 19px; }
	.af-nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		border: 0; padding: 0 0 10px 14px; display: none; min-width: 0;
	}
	.af-nav__list .is-expanded > .sub-menu { display: block; }
	.af-nav__phone--mobile { display: block; margin-top: 20px; text-align: center; }
	.af-nav__phone--mobile { padding: 14px; border-radius: 999px; background: var(--af-navy); color: var(--af-white); font-weight: 700; text-decoration: none; }
}

/* ---------- Buttons ---------- */
a.af-btn,
.elementor-widget-button.af-btn .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 17px; line-height: 1.1;
	white-space: nowrap; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
a.af-btn:hover,
.elementor-widget-button.af-btn .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(5, 30, 91, .18); }
/* Gold fill carries navy ink: white on #d6a461 is 2.2:1, under the 2.5:1 floor for white on a brand fill. */
a.af-btn--gold,
.elementor-widget-button.af-btn--gold .elementor-button { background: var(--af-gold); color: var(--af-navy); }
.elementor-widget-button.af-btn--navy .elementor-button { background: var(--af-navy); color: var(--af-white); }
.elementor-widget-button.af-btn--ghost .elementor-button { background: transparent; color: var(--af-white); border-color: rgba(255, 255, 255, .7); }
.elementor-widget-button.af-btn--outline .elementor-button { background: transparent; color: var(--af-navy); border-color: var(--af-navy); }
.elementor-widget-button.af-btn .elementor-button:hover { color: inherit; }
.elementor-widget-button.af-btn--gold .elementor-button:hover { color: var(--af-navy); }
.elementor-widget-button.af-btn--navy .elementor-button:hover,
.elementor-widget-button.af-btn--ghost .elementor-button:hover { color: var(--af-white); }
.elementor-widget-button.af-btn--outline .elementor-button:hover { color: var(--af-navy); }

/* ---------- Sections ---------- */
.af-section { padding-top: clamp(64px, 8vw, 110px) !important; padding-bottom: clamp(64px, 8vw, 110px) !important; }
.af-section--soft { background: var(--af-soft); }
.af-eyebrow .elementor-heading-title {
	font-size: 14px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--af-gold) !important;
}
.af-dark .af-eyebrow .elementor-heading-title { color: var(--af-gold) !important; }
.af-h2 .elementor-heading-title { font-size: clamp(30px, 3.4vw, 44px); }
.af-lead, .af-lead p { font-size: 20px; color: var(--af-muted); }
.af-dark, .af-dark p, .af-dark li { color: var(--af-white); }
.af-dark .elementor-heading-title { color: var(--af-white); }
.af-dark .af-lead, .af-dark .af-lead p { color: rgba(255, 255, 255, .88); }

/* Hero */
.af-hero { min-height: 80svh !important; }
.af-hero h1.elementor-heading-title { font-size: clamp(38px, 5.2vw, 66px); color: var(--af-white); max-width: 14ch; }
.af-hero .af-lead p, .af-hero-sub .af-lead p { max-width: 62ch; }
.af-hero-sub { min-height: 380px; }
.af-hero-sub h1.elementor-heading-title { font-size: clamp(34px, 4.2vw, 54px); color: var(--af-white); max-width: 20ch; }
.af-crumbs, .af-crumbs a { font-size: 15px; color: rgba(255, 255, 255, .85) !important; text-decoration: none; }
.af-crumbs a:hover { color: var(--af-gold) !important; }
.af-crumbs p { margin: 0; }

/* Facts under the hero */
.af-facts .elementor-heading-title { color: var(--af-navy); }
.af-fact-num .elementor-heading-title { font-size: 40px; color: var(--af-navy); }

/* Cards */
.af-card {
	background: var(--af-white); border: 1px solid var(--af-line); border-radius: var(--af-radius);
	padding: 32px !important; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.af-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(5, 30, 91, .10); border-color: transparent; }
.af-card .elementor-icon { color: var(--af-gold); font-size: 34px; }
.af-card .elementor-icon svg { fill: var(--af-gold); width: 34px; height: 34px; }
.af-card h3.elementor-heading-title { font-size: 24px; }
.af-card p { color: var(--af-muted); margin: 0; }
/* The whole card is the link: the heading's link stretches over it. */
.af-card .elementor-heading-title a { color: inherit; text-decoration: none; }
.af-card .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--af-radius); }
.af-card-more .elementor-heading-title { font-size: 16px; color: var(--af-navy); }
.af-card-more .elementor-heading-title::after { content: " \2192"; }

/* Check list */
.af-checks .elementor-icon-list-icon i, .af-checks .elementor-icon-list-icon svg { color: var(--af-gold); fill: var(--af-gold); }
.af-checks .elementor-icon-list-text { font-size: 18px; color: var(--af-ink); }
.af-checks .elementor-icon-list-item { padding-bottom: 8px !important; }

/* Split image */
.af-split-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--af-radius); aspect-ratio: 4 / 3; }
.af-video iframe, .af-video .elementor-wrapper { border-radius: var(--af-radius); overflow: hidden; }

/* Team */
.af-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--af-radius); }
.af-person h3.elementor-heading-title { font-size: 22px; margin-top: 8px; }
.af-person .af-role p { color: var(--af-muted); margin: 0; font-size: 16px; }
.af-person .af-contact p { margin: 0; font-size: 16px; }

/* Prose from the client's own pages */
.af-prose { max-width: 72ch; }
.af-prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.6em 0 .5em; }
.af-prose h2:first-child, .af-prose h3:first-child { margin-top: 0; }
.af-prose h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.af-prose p, .af-prose li { color: var(--af-ink); }
.af-prose ul { padding-left: 0; list-style: none; }
.af-prose ul li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.af-prose ul li::before {
	content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px;
	border-radius: 50%; background: var(--af-gold);
}
.af-prose ol { padding-left: 1.3em; }
.af-prose a { color: var(--af-navy); font-weight: 700; text-decoration: none; box-shadow: inset 0 -.38em 0 rgba(214, 164, 97, .28); }
.af-prose a:hover { box-shadow: inset 0 -.38em 0 rgba(214, 164, 97, .55); }
.af-prose img { border-radius: var(--af-radius); height: auto; }
.af-prose strong { color: var(--af-navy); }

/* Sticky aside card */
/* Text column + aside: the text takes the room, the aside a fixed width.
   The card, not the column, is sticky, so both start on the same line. */
.af-aside { flex: 0 0 380px !important; width: 380px !important; max-width: 100%; }
/* Elementor sets position: relative on every container; without !important the
   top offset turns into a 92px shift instead of a sticky offset. */
.af-aside-card { position: sticky !important; top: calc(68px + 24px); border-radius: var(--af-radius) !important; }
.e-con:has(> .af-aside) > .e-con:not(.af-aside), .e-con-inner:has(> .af-aside) > .e-con:not(.af-aside) { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
@media (max-width: 1024px) { .af-aside { flex: 1 1 auto !important; width: 100% !important; } .af-aside-card { position: relative !important; top: 0; } }
.af-aside-card { background: var(--af-navy); border-radius: var(--af-radius); padding: 34px !important; }
.af-aside-card .elementor-heading-title { color: var(--af-white); }
.af-aside-card p { color: rgba(255, 255, 255, .88); }
.af-aside-card .af-phone .elementor-heading-title { font-size: 30px; }
.af-aside-card .af-phone a { color: var(--af-white); text-decoration: none; }

/* CTA band */
.af-cta { background: var(--af-navy); position: relative; overflow: hidden; }
.af-cta::before {
	content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(214, 164, 97, .22), rgba(214, 164, 97, 0) 70%); pointer-events: none;
}
.af-cta .af-phone .elementor-heading-title { font-size: clamp(30px, 3.6vw, 46px); }
.af-cta .af-phone a { color: var(--af-gold); text-decoration: none; }

/* Offices */
.af-office { background: var(--af-white); border: 1px solid var(--af-line); border-radius: var(--af-radius); padding: 28px !important; }
.af-office h3.elementor-heading-title { font-size: 22px; }
.af-office p { margin: 0; }

/* Form (Basin) */
.af-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.af-form .af-field { display: flex; flex-direction: column; gap: 6px; }
.af-form .af-field--full { grid-column: 1 / -1; }
.af-form label { font-weight: 600; font-size: 16px; color: var(--af-ink); }
.af-form input[type="text"], .af-form input[type="email"], .af-form input[type="tel"], .af-form textarea {
	width: 100%; font: inherit; font-size: 17px; padding: 13px 15px; border: 1.5px solid #cfd2dc;
	border-radius: 10px; background: var(--af-white); color: var(--af-ink); box-shadow: none; min-height: 50px;
}
.af-form textarea { min-height: 140px; resize: vertical; }
.af-form input:focus, .af-form textarea:focus { border-color: var(--af-navy); outline: none; box-shadow: 0 0 0 3px rgba(5, 30, 91, .12); }
.af-form .af-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.af-form .af-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--af-navy); }
.af-form button {
	justify-self: start; padding: 16px 32px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--af-navy); color: var(--af-white); font: inherit; font-weight: 700; font-size: 17px;
}
.af-form button[disabled] { opacity: .6; cursor: default; }
.af-form .af-hp { position: absolute; left: -9999px; }
.af-form .af-note { font-size: 14px; color: var(--af-muted); margin: 0; }
.af-form-status { grid-column: 1 / -1; font-weight: 600; margin: 0; }
.af-form-status.is-ok { color: #1f6b3a; }
.af-form-status.is-err { color: #a3261b; }
@media (max-width: 640px) { .af-form { grid-template-columns: 1fr; } }

/* News */
.af-news .elementor-post__title a, .af-news h3 a { color: var(--af-navy); text-decoration: none; }
.af-postlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.af-post { background: var(--af-white); border: 1px solid var(--af-line); border-radius: var(--af-radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.af-post:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(5, 30, 91, .10); }
.af-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.af-post__body { padding: 22px 24px 26px; }
.af-post time { font-size: 14px; color: var(--af-muted); }
.af-post h3 { font-size: 21px; margin: 6px 0 8px; }
.af-post h3 a { color: var(--af-navy); text-decoration: none; }
.af-post h3 a::after { content: ""; position: absolute; inset: 0; }
.af-post p { font-size: 16px; color: var(--af-muted); margin: 0; }
@media (max-width: 1024px) { .af-postlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .af-postlist { grid-template-columns: 1fr; } }

/* Single post */
.af-single { max-width: 760px; margin: 0 auto; padding: 56px 24px 90px; }
.af-single h1 { font-size: clamp(32px, 4vw, 48px); }
.af-single .af-single__meta { color: var(--af-muted); font-size: 15px; margin-bottom: 24px; }
.af-single img { max-width: 100%; height: auto; border-radius: var(--af-radius); }

/* Footer */
.af-footer { background: var(--af-navy); }
.af-footer, .af-footer p, .af-footer li { color: rgba(255, 255, 255, .82); font-size: 16px; }
.af-footer .elementor-heading-title { color: var(--af-white); font-size: 18px; }
.af-footer a { color: var(--af-white); text-decoration: none; }
.af-footer a:hover { color: var(--af-gold); }
/* logo.png has an opaque white background, so a filter paints a white box; logo-white.png is the logo in white on transparent. */
.af-footer .af-footer-logo img { width: 190px; content: url("logo-white.png"); }
.af-footer .af-footer-logo, .af-footer .af-footer-logo .elementor-widget-container { text-align: left; }
.af-footer .af-footer-logo img { margin: 0; }
.af-footer-bottom p { font-size: 14px; color: rgba(255, 255, 255, .7); margin: 0; }

/* Reveal on scroll (added by site.js, off with reduced motion). */
@media (prefers-reduced-motion: no-preference) {
	.af-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
	.af-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.af-card, .af-post, .af-btn, .elementor-button { transition: none !important; }
}

/* Pager + Hello's single post markup */
.af-pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.af-pager a { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--af-line); text-decoration: none; font-weight: 700; background: var(--af-white); }
.af-pager a[aria-current] { background: var(--af-navy); color: var(--af-white); border-color: var(--af-navy); }
body.single-post .site-main { max-width: 760px; margin: 0 auto; padding: 56px 24px 90px; }
body.single-post .page-header .entry-title { font-size: clamp(32px, 4vw, 48px); }
body.single-post .page-content img { max-width: 100%; height: auto; border-radius: var(--af-radius); }
body.single-post .page-content a { color: var(--af-navy); font-weight: 700; text-decoration: none; box-shadow: inset 0 -.38em 0 rgba(214, 164, 97, .28); }
body.page .site-main > .page-header { display: none; }

.af-header__cta { padding: 13px 22px; font-size: 16px; }
@media (max-width: 1320px) { .af-header__phone { display: none; } }
@media (max-width: 1100px) { .af-header a.af-header__cta { display: none; } .af-header__logo img { width: 160px; } }


/* ================= Polish, 30 Sep 2026 ================= */

/* Header slims down once the page moves. */
.af-header__inner { transition: height .3s ease; }
.af-header.is-scrolled .af-header__inner { height: 68px; }
.af-header__logo img { transition: transform .3s ease; transform-origin: left center; }
.af-header.is-scrolled .af-header__logo img { transform: scale(.88); }
.af-header__phone:hover .af-header__phone-number { color: var(--af-gold); }

/* Buttons: an arrow that nudges on hover. Colour changes stay instant. */
.elementor-widget-button.af-btn .elementor-button-text::after,
a.af-btn--gold.af-header__cta::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform .2s ease; }
.elementor-widget-button.af-btn .elementor-button:hover .elementor-button-text::after,
a.af-btn--gold.af-header__cta:hover::after { transform: translateX(4px); }
.elementor-widget-button.af-btn--ghost .elementor-button:hover { background: rgba(255, 255, 255, .12); }
.elementor-widget-button.af-btn--outline .elementor-button:hover { background: var(--af-navy); color: var(--af-white); }

/* Hero: content enters on load. */
@media (prefers-reduced-motion: no-preference) {
	.af-hero > .elementor-element, .af-hero-sub > .elementor-element {
		animation: af-rise .9s cubic-bezier(.2, .7, .2, 1) both;
	}
	.af-hero > .elementor-element:nth-child(2), .af-hero-sub > .elementor-element:nth-child(2) { animation-delay: .1s; }
	.af-hero > .elementor-element:nth-child(3), .af-hero-sub > .elementor-element:nth-child(3) { animation-delay: .2s; }
	.af-hero > .elementor-element:nth-child(4) { animation-delay: .3s; }
}
@keyframes af-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Cards: equal height, "Læs mere" sits at the bottom, icon lifts on hover. */
.af-card { height: 100%; display: flex; flex-direction: column; }
.af-card .af-card-more { margin-top: auto !important; padding-top: 8px; }
.af-card .elementor-widget-icon { transition: transform .25s ease; }
.af-card:hover .af-card-more .elementor-heading-title { color: var(--af-gold); }
.af-card-more .elementor-heading-title::after { display: inline-block; transition: transform .2s ease; }
.af-card:hover .af-card-more .elementor-heading-title::after { transform: translateX(4px); }

/* Photos: a slow zoom inside their frame on hover. */
.af-split-img, .af-person .elementor-widget-image { overflow: hidden; border-radius: var(--af-radius); }
.af-split-img img, .af-person img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.af-split-img:hover img, .af-person:hover img { transform: scale(1.04); }

/* Fine grain on the navy bands and the footer (house rule: surface texture). */
.af-cta, .af-footer, .af-hero-sub--plain, .af-text-block { position: relative; isolation: isolate; }
.af-hero-sub--plain::before {
	content: ""; position: absolute; left: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; z-index: -1; pointer-events: none;
	background: radial-gradient(circle, rgba(214, 164, 97, .20), rgba(214, 164, 97, 0) 70%);
}
.af-cta::after, .af-footer::after, .af-hero-sub--plain::after, .af-text-block::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.af-cta::before { z-index: -1; }

/* Front page form on the navy band: the form sits on a white panel. */
.af-home-contact > .elementor-element, .af-home-contact > .e-con-inner > .elementor-element { align-self: center; }
h1, h2, h3, .elementor-heading-title { text-wrap: balance; }
.af-home-contact .af-form-card { background: var(--af-white); border-radius: calc(var(--af-radius) + 4px); padding: clamp(24px, 3vw, 40px) !important; box-shadow: 0 30px 60px rgba(5, 8, 40, .35); }
.af-home-contact .af-form-card, .af-home-contact .af-form-card p, .af-home-contact .af-form-card label { color: var(--af-ink); }
.af-home-contact .af-form-card .af-note { color: var(--af-muted); }
.af-home-contact .af-phone .elementor-heading-title { font-size: clamp(30px, 3.6vw, 46px); }
.af-home-contact .af-phone a { color: var(--af-gold); text-decoration: none; }
.af-form button { transition: transform .15s ease, box-shadow .15s ease; }
.af-form button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(5, 30, 91, .22); }
@media (max-width: 1024px) { .af-home-contact { text-align: center; } .af-home-contact .af-form-card { text-align: left; } }

/* Scroll reveal: staggered per row (site.js sets --af-d). */
@media (prefers-reduced-motion: no-preference) {
	.af-reveal { transition-delay: var(--af-d, 0s); transition-duration: .8s; transition-timing-function: cubic-bezier(.2, .7, .2, 1); }
	.af-reveal--img { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--af-radius)); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
	.af-reveal--img.is-in { clip-path: inset(0 0 0 0 round var(--af-radius)); }
}
@media (prefers-reduced-motion: reduce) {
	.af-split-img img, .af-person img, .af-card .elementor-widget-icon { transition: none !important; }
}

@media (max-width: 640px) {
	.elementor-widget-button.af-btn .elementor-button, a.af-btn { white-space: normal; text-align: center; max-width: 100%; }
}

/* ================= Subpages, 30 Sep 2026 ================= */

/* One hero height on every subpage. The lead is capped at ~170 characters in
   gen.py (short_lead), so the content fits; the rest goes back into the page. */
.af-hero-sub { height: 440px !important; min-height: 0 !important; justify-content: center !important; overflow: hidden; }
.af-hero-sub h1.elementor-heading-title { font-size: clamp(34px, 3.6vw, 50px); max-width: 24ch; }
.af-hero-sub .af-lead p { margin: 0; }
@media (max-width: 1024px) { .af-hero-sub { height: 400px !important; } }
@media (max-width: 640px) {
	.af-hero-sub { height: 420px !important; padding-top: 40px !important; padding-bottom: 40px !important; }
	.af-hero-sub h1.elementor-heading-title { font-size: 30px; }
	.af-hero-sub .af-lead p { font-size: 17px; }
}

/* Split with an advisor portrait. */
.af-split-img--portrait img { aspect-ratio: 4 / 5; max-height: 560px; object-position: center 20%; }
.af-caption p { margin: 0; font-size: 15px; color: var(--af-muted); }
.af-caption strong { color: var(--af-navy); font-size: 17px; }
.af-prose--split p:last-child { margin-bottom: 0; }

/* Heading-left rows: the client's text fills the frame without a lonely column. */
.af-row-head { position: sticky !important; top: calc(68px + 32px); align-self: flex-start; }
.af-row-head .elementor-heading-title { font-size: clamp(26px, 2.6vw, 36px); }
.af-row .af-prose > :first-child { margin-top: 0; }
.af-row .af-prose { max-width: 72ch; }
@media (max-width: 1024px) { .af-row-head { position: relative !important; top: 0; } }

/* How a case runs. */
.af-step { background: var(--af-white); border: 1px solid var(--af-line); border-radius: var(--af-radius); padding: 28px !important; height: 100%; }
.af-section:not(.af-section--soft) .af-step { background: var(--af-soft); border-color: transparent; }
.af-step-num .elementor-heading-title { font-size: 40px; font-weight: 800; line-height: 1; color: var(--af-gold); }
.af-step h3.elementor-heading-title { font-size: 22px; }
.af-step p { color: var(--af-muted); margin: 0; font-size: 17px; }

html { scroll-padding-top: 90px; }
@media (max-width: 1024px) {
	.af-home-contact, .af-home-contact > .e-con-inner, .af-row, .af-row > .e-con-inner, .af-split, .af-split > .e-con-inner { flex-direction: column !important; }
	.af-home-contact > .elementor-element, .af-home-contact > .e-con-inner > .elementor-element,
	.af-row > .e-con-inner > .elementor-element, .af-split > .e-con-inner > .elementor-element { width: 100% !important; }
}
.af-prose a, .af-lead p { overflow-wrap: anywhere; }
/* Hero children fill the frame's width; Elementor shrink-wraps them on mobile. */
.af-hero-sub > .e-con-inner { align-items: stretch !important; flex-wrap: nowrap !important; justify-content: center !important; }
.af-hero-sub > .e-con-inner > .elementor-element { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
@media (min-width: 1025px) {
	.af-row > .e-con-inner > .af-row-head { flex: 0 0 34% !important; width: 34% !important; }
	.af-row > .e-con-inner > .elementor-element:not(.af-row-head) { flex: 1 1 0 !important; width: auto !important; }
	.af-split > .e-con-inner > .elementor-element:first-child { flex: 1 1 0 !important; width: auto !important; }
	.af-split > .e-con-inner > .elementor-element:last-child { flex: 0 0 40% !important; width: 40% !important; }
}

/* ================= Varied subpage sections, 30 Sep 2026 ================= */
/* Photo split: the client's photo fills its column, sides alternate in gen.py. */
.af-split--photo .af-split-img img { aspect-ratio: 4 / 3; max-height: 520px; }
@media (min-width: 1025px) {
	.af-split--photo > .e-con-inner > .elementor-element { flex: 1 1 0 !important; width: auto !important; }
	.af-listsplit > .e-con-inner > .elementor-element:first-child { flex: 0 0 42% !important; width: 42% !important; }
	.af-listsplit > .e-con-inner > .elementor-element:last-child { flex: 1 1 0 !important; width: auto !important; }
	.af-text-block > .e-con-inner > .elementor-element:first-child { flex: 0 0 36% !important; width: 36% !important; }
	.af-text-block > .e-con-inner > .elementor-element:last-child { flex: 1 1 0 !important; width: auto !important; }
}
@media (max-width: 1024px) {
	.af-split--photo, .af-split--photo > .e-con-inner, .af-listsplit, .af-listsplit > .e-con-inner, .af-text-block, .af-text-block > .e-con-inner { flex-direction: column !important; }
	.af-split--photo > .e-con-inner > .elementor-element, .af-listsplit > .e-con-inner > .elementor-element, .af-text-block > .e-con-inner > .elementor-element { width: 100% !important; }
}

/* Checklist panel: the client's list as a white panel with gold checks. */
.af-check-panel { background: var(--af-white); border-radius: calc(var(--af-radius) + 4px); padding: clamp(24px, 3vw, 40px) !important; box-shadow: 0 20px 50px rgba(5, 30, 91, .08); }
.af-section:not(.af-section--soft) .af-check-panel { background: var(--af-soft); box-shadow: none; }
.af-check-panel .elementor-icon-list-item { padding: 12px 0 !important; border-bottom: 1px solid var(--af-line); align-items: flex-start !important; }
.af-check-panel .elementor-icon-list-item:last-child { border-bottom: 0; }
.af-check-panel .elementor-icon-list-icon { margin-top: 5px; }
.af-check-panel .elementor-icon-list-text { font-weight: 600; color: var(--af-navy); }

/* Info cards: short sections of the client's text side by side. */
.af-info-card { background: var(--af-white); border-radius: var(--af-radius); padding: 30px !important; height: 100%; box-shadow: 0 12px 34px rgba(5, 30, 91, .06); }
.af-section:not(.af-section--soft) .af-info-card { background: var(--af-soft); box-shadow: none; }
.af-info-card h3.elementor-heading-title { font-size: 22px; }
.af-info-card .af-prose p, .af-info-card .af-prose li { font-size: 17px; color: var(--af-muted); }

/* Navy text band. */
.af-text-block { background: var(--af-navy); }
.af-text-block .af-prose p, .af-text-block .af-prose li, .af-text-block .af-prose strong { color: rgba(255, 255, 255, .9); }
.af-text-block .af-prose a { color: var(--af-white); }
.af-text-block .af-prose ul li::before { background: var(--af-gold); }

/* Whole card is one click target (house rule card-rows). Elementor makes every
   widget and inner wrapper position: relative, which shrinks the heading link's
   ::after to the heading alone. Only the card itself may be positioned. */
.af-card { position: relative !important; cursor: pointer; }
.af-card > .e-con-inner,
.af-card .elementor-element:not(.af-card),
.af-card .elementor-widget-container,
.af-card .elementor-heading-title { position: static !important; }
.af-card .elementor-heading-title a::after { z-index: 2; }
.af-card .elementor-widget-icon { transform: none; }
.af-card:hover .elementor-widget-icon .elementor-icon { transform: translateY(-3px) scale(1.08); transition: transform .25s ease; }
.af-post { cursor: pointer; }

/* ================= Client wishes, 2 Oct 2026 =================
   New logo and colours, video hero, the client's office photos everywhere,
   a contact button on every page. */

/* Gold is 2.2:1 on white: small gold text only on navy. On light surfaces the
   eyebrow and the step numbers are navy, and the gold stays in fills, icons and lines. */
.af-section:not(.af-dark) .af-eyebrow .elementor-heading-title,
.af-eyebrow .elementor-heading-title { color: var(--af-navy) !important; }
.af-dark .af-eyebrow .elementor-heading-title, .af-hero .af-eyebrow .elementor-heading-title, .af-hero-sub .af-eyebrow .elementor-heading-title { color: var(--af-gold) !important; }
.af-step-num .elementor-heading-title { color: var(--af-navy); }
.af-card:hover .af-card-more .elementor-heading-title { color: var(--af-navy); }
.af-header__phone:hover .af-header__phone-number { color: var(--af-navy); }
.af-header__logo img { width: 200px; }
@media (max-width: 1100px) { .af-header__logo img { width: 168px; } }
.af-footer .af-footer-logo img { content: none; width: 210px; }

/* ---------- Video hero ---------- */
.af-hero--video { position: relative; overflow: hidden; min-height: 100svh !important; isolation: isolate; }
.af-hero--video > .e-con-inner { position: static; }
.af-hero-media { position: static !important; margin: 0 !important; width: auto !important; }
.af-hero-media .elementor-widget-container { position: static; }
.af-hero-video { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.af-hero-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.af-hero-video video.is-playing { opacity: 1; }
/* Elementor paints its overlay on ::before; keep it above the video, under the text. */
.af-hero--video::before { z-index: 0 !important; }
.af-hero--video > .e-con-inner > .elementor-element:not(.af-hero-media), .af-hero--video > .elementor-element:not(.af-hero-media) { position: relative; z-index: 1; }
.af-hero--video h1.elementor-heading-title { font-size: clamp(40px, 5.6vw, 72px); max-width: 15ch; }
.af-choices { max-width: 1100px; }
.af-choices > .af-choice { flex: 1 1 0 !important; }
.af-choice {
	position: relative !important; padding: 26px 28px !important; border-radius: var(--af-radius);
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	transition: background-color .2s ease, transform .2s ease;
}
.af-choice:hover { background: rgba(255, 255, 255, .2); transform: translateY(-3px); }
.af-choice h2.elementor-heading-title { font-size: clamp(22px, 2vw, 28px); color: var(--af-white); }
.af-choice .elementor-heading-title a { color: inherit; text-decoration: none; }
.af-choice .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--af-radius); }
.af-choice .elementor-element, .af-choice .elementor-widget-container, .af-choice .elementor-heading-title { position: static !important; }
.af-choice-more .elementor-heading-title {
	font-family: "Inter", system-ui, sans-serif; font-size: 15px; font-weight: 600; white-space: nowrap;
	padding: 12px 20px; border-radius: 999px; background: var(--af-white); color: var(--af-navy);
}
.af-choice-more .elementor-heading-title::after { content: " \2192"; }
@media (max-width: 767px) {
	.af-choices { flex-direction: column !important; }
	.af-choice { padding: 18px 20px !important; }
}
/* Scroll cue: desktop only (house rule), a mouse with a falling wheel. */
.af-scroll-cue {
	position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
	width: 28px; height: 44px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 16px;
	display: flex; justify-content: center; transition: opacity .3s ease;
}
.af-scroll-cue__wheel { width: 4px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--af-white); animation: af-wheel 1.8s ease-in-out infinite; }
.af-scroll-cue.is-gone { opacity: 0; pointer-events: none; }
@keyframes af-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (max-width: 1023.98px) { .af-scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .af-scroll-cue__wheel { animation: none; } .af-choice { transition: none; } }

/* ---------- Two-column check list ---------- */
.af-checks--2col .elementor-icon-list-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 480px) { .af-checks--2col .elementor-icon-list-items { grid-template-columns: 1fr; } }

/* ---------- Photo cards ---------- */
.af-card--photo { padding: 0 !important; overflow: hidden; }
.af-card--photo .af-card-body { padding: 26px 28px 30px !important; flex: 1 1 auto; }
.af-card-img { margin: 0 !important; overflow: hidden; }
.af-card-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.af-card--photo:hover .af-card-img img { transform: scale(1.04); }
.af-card-body { display: flex; flex-direction: column; }
.af-card-body .af-card-more { margin-top: auto !important; padding-top: 8px; }

/* ---------- Mosaic of office photos ---------- */
.af-mosaic .af-mosaic-img, .af-mosaic .af-mosaic-img .elementor-widget-container { overflow: hidden; border-radius: var(--af-radius); height: 100%; }
.af-mosaic .af-mosaic-img img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.af-mosaic .af-mosaic-img:hover img { transform: scale(1.04); }
.af-mosaic--home .af-mosaic-img img { aspect-ratio: 3 / 4; }
.af-mosaic--home > .af-mosaic-img:nth-child(odd) { margin-top: 28px !important; }
.af-mosaic--team .af-mosaic-img img { aspect-ratio: 4 / 3; }
@media (max-width: 1024px) {
	.af-mosaic--home > .af-mosaic-img:nth-child(odd) { margin-top: 0 !important; }
	.af-mosaic--home > .af-mosaic-img:nth-child(5) { display: none; }
	.af-mosaic--strip > .af-mosaic-img:nth-child(3) { display: none; }
}
.af-people > .e-con-inner > .elementor-element:first-child { align-self: center; }
@media (max-width: 1024px) {
	.af-people, .af-people > .e-con-inner, .af-about, .af-about > .e-con-inner, .af-talk, .af-talk > .e-con-inner { flex-direction: column !important; }
	.af-people > .e-con-inner > .elementor-element, .af-about > .e-con-inner > .elementor-element, .af-talk > .e-con-inner > .elementor-element { width: 100% !important; }
}

/* ---------- Talk + form (front page) ---------- */
.af-talk .af-split-img--group img { aspect-ratio: 16 / 9; }
.af-talk .af-phone .elementor-heading-title { font-size: clamp(28px, 3vw, 40px); }
.af-talk .af-phone a { color: var(--af-navy); text-decoration: none; }
.af-form-card { background: var(--af-white); border: 1px solid var(--af-line); border-radius: calc(var(--af-radius) + 4px); padding: clamp(24px, 3vw, 40px) !important; box-shadow: 0 24px 60px rgba(5, 30, 91, .08); }
.af-form-narrow, .e-con.af-form-narrow { width: 100%; max-width: 640px; margin-inline: auto !important; }
.af-form-card h3.elementor-heading-title { font-size: 26px; }

/* ---------- Stats band ---------- */
.af-stats-band { background: var(--af-navy); padding-top: 56px !important; padding-bottom: 56px !important; position: relative; isolation: isolate; }
.af-stat { text-align: center; }
.af-stat-num .elementor-heading-title { font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--af-gold) !important; }
.af-stat-num .elementor-heading-title a { color: inherit; text-decoration: none; }
.af-stat p { margin: 0; color: var(--af-white); font-size: 18px; }
.af-stats-band::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Portrait film (Gitte) ---------- */
.af-portrait-video { margin: 0 auto; width: min(100%, 360px); }
.af-portrait-video video { width: 100%; aspect-ratio: 9 / 16; display: block; border-radius: calc(var(--af-radius) + 4px); background: var(--af-navy); box-shadow: 0 30px 60px rgba(5, 30, 91, .18); }
.af-portrait-video figcaption { margin-top: 12px; font-size: 15px; color: var(--af-muted); text-align: center; }

/* ---------- Offices on the navy band ---------- */
.af-cta .af-office { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.af-cta .af-office h3.elementor-heading-title { color: var(--af-gold); font-size: 18px; }
.af-cta .af-office p { color: var(--af-white); }

/* ---------- Contact button on every page (house rule sticky-contact-widget) ---------- */
.af-sticky { position: fixed; right: 24px; bottom: 24px; z-index: 90; visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.af-sticky.is-shown { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.af-sticky__btn {
	position: relative; width: 66px; height: 66px; padding: 0; border: 3px solid var(--af-white); border-radius: 50%;
	background: var(--af-navy); cursor: pointer; box-shadow: 0 12px 30px rgba(5, 30, 91, .3); transition: transform .2s ease;
}
.af-sticky__btn:hover { transform: translateY(-3px); }
.af-sticky__face { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.af-sticky__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.35); transform-origin: 50% 25%; }
.af-sticky__btn::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--af-gold); animation: af-pulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes af-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.af-sticky__panel {
	position: absolute; right: 0; bottom: 82px; width: min(380px, calc(100vw - 32px)); max-height: calc(100svh - 120px); overflow-y: auto;
	background: var(--af-white); border-radius: calc(var(--af-radius) + 4px); box-shadow: 0 30px 70px rgba(5, 30, 91, .28);
	padding: 24px 24px 22px; display: none;
}
.af-sticky.is-open .af-sticky__panel { display: block; }
.af-sticky__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding-right: 30px; }
.af-sticky__head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.af-sticky__title { font-family: "Kaisei Opti", Georgia, serif; font-weight: 700; font-size: 21px; line-height: 1.2; color: var(--af-navy); margin: 0; }
.af-sticky__sub { margin: 2px 0 0; font-size: 14px; color: var(--af-muted); }
.af-sticky__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--af-soft); color: var(--af-navy); font-size: 22px; line-height: 1; cursor: pointer; }
.af-sticky__phone { display: block; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--af-soft); color: var(--af-navy); font-weight: 700; text-decoration: none; text-align: center; }
.af-sticky .af-form { grid-template-columns: 1fr; gap: 12px; }
.af-sticky .af-form input[type="text"], .af-sticky .af-form input[type="email"], .af-sticky .af-form input[type="tel"] { min-height: 46px; padding: 10px 13px; font-size: 16px; }
.af-sticky .af-form textarea { min-height: 84px; font-size: 16px; }
.af-sticky .af-form button { justify-self: stretch; }
@media (prefers-reduced-motion: reduce) { .af-sticky__btn::after { animation: none; transform: scale(1.18); opacity: .7; } .af-sticky, .af-sticky__btn { transition: none; } }
@media (max-width: 640px) { .af-sticky { right: 16px; bottom: 16px; } .af-sticky__btn { width: 60px; height: 60px; } }

.af-form-card--soft { background: var(--af-soft); border-color: transparent; box-shadow: none; }

/* Header: the framed 2025 logo needs its width; the phone block yields first. */
.af-header__logo { flex: 0 0 auto; }
.af-header__logo img { width: 200px; }
.af-nav__list a { font-size: 16px; padding: 10px 9px; }
@media (max-width: 1480px) { .af-header__phone { display: none; } }
@media (max-width: 1100px) { .af-header__logo img { width: 168px; } }
/* Eyebrows in the text face: the serif in small caps reads as decoration. */
.af-eyebrow .elementor-heading-title { font-family: "Inter", system-ui, sans-serif !important; font-weight: 600 !important; letter-spacing: .12em; }
.af-hero .af-eyebrow .elementor-heading-title { color: var(--af-white) !important; text-shadow: 0 1px 12px rgba(5, 30, 91, .5); }
.af-hero .af-eyebrow .elementor-heading-title::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; border-radius: 50%; background: var(--af-gold); vertical-align: 2px; }
@media (max-width: 1240px) { .af-header a.af-header__cta { display: none; } }

/* The client's YouTube films inside their text. */
.af-yt { margin: 1.4em 0; }
.af-yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--af-radius); }

/* The rest of a long text after its split (gen.py more_section): it reads as
   the split's continuation, so it sits close under it on the same surface. */
/* Only on the same surface: a split on white followed by .af-more on the soft
   band (/loeste-opgaver/gaeld/) needs the band's own top padding, or the cards
   start at the band's edge. */
.af-split:not(.af-section--soft) + .af-more:not(.af-section--soft),
.af-split.af-section--soft + .af-more.af-section--soft { padding-top: 0 !important; }
.af-more .af-info-card .af-prose p:last-child { margin-bottom: 0; }
.af-prose--cols { max-width: none; }
@media (min-width: 1025px) { .af-prose--cols { columns: 2; column-gap: 64px; } .af-prose--cols > * { break-inside: avoid; } }

/* Text + portrait film (.af-about): the text column takes the width, the film
   column is exactly as wide as the film and sits flush with the right edge.
   A 9:16 film centred in a 42 % column left a band of empty space on the right. */
@media (min-width: 1025px) {
	.af-about > .e-con-inner > .elementor-element:first-child { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
	.af-about > .e-con-inner > .elementor-element:last-child { flex: 0 0 360px !important; width: 360px !important; align-items: stretch !important; }
	.af-about .af-portrait-video { width: 100%; margin: 0; }
}

/* Staggered team photos: the offset is a transform with room reserved under the
   grid. A margin pushed the photos out of the grid and into the button below. */
.af-mosaic--home > .af-mosaic-img:nth-child(odd) { margin-top: 0 !important; transform: translateY(28px); }
@media (min-width: 1025px) { .af-mosaic--home { margin-bottom: 28px !important; } }
@media (max-width: 1024px) { .af-mosaic--home > .af-mosaic-img:nth-child(odd) { transform: none; } }
/* A button row under a grid of photos or cards always gets air (house: ≥ 40 px). */
.af-section .e-grid + .e-con:has(.elementor-widget-button) { margin-top: 24px !important; }
.af-listsplit + .af-more { padding-top: 0 !important; }

/* List split: the checklist panel is a card, not a photo, so it takes the text
   column's height with its items centred. A short list no longer leaves the
   text hanging far below a small panel. */
@media (min-width: 1025px) {
	.af-listsplit > .e-con-inner { align-items: stretch !important; }
	.af-listsplit .af-check-panel { align-self: stretch !important; display: flex !important; flex-direction: column; justify-content: center !important; }
	.af-listsplit > .e-con-inner > .elementor-element:first-child { justify-content: center !important; }
}
/* Checklist points can be whole sentences (the client's own lists): regular
   weight and tighter rows keep a long list within one screen. */
.af-check-panel .elementor-icon-list-item { padding: 9px 0 !important; }
.af-check-panel .elementor-icon-list-text { font-size: 16px !important; font-weight: 500 !important; line-height: 1.5; }

/* Text after a split (gen.py more_section, 2 Oct 2026): a single paragraph is a
   note box with an info icon, a lead above cards keeps the text measure, one
   lone card is not stretched over the whole row. */
.af-notebox { position: relative; width: 100%; background: var(--af-white); border-radius: var(--af-radius); padding: 30px 34px 30px 82px !important; box-shadow: 0 12px 34px rgba(5, 30, 91, .06); }
.af-section:not(.af-section--soft) .af-notebox { background: var(--af-soft); box-shadow: none; }
.af-notebox .af-prose { position: relative; }
/* On the text widget: Elementor's container uses its own ::before for overlays. */
.af-notebox .af-prose::before { content: ""; position: absolute; left: -50px; top: 0; width: 28px; height: 28px; background: var(--af-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.af-notebox .af-prose p:last-child { margin-bottom: 0; }
.af-note-wrap { width: 100%; }
.af-more-lead { max-width: 72ch; }
@media (max-width: 767px) { .af-notebox { padding: 64px 22px 24px !important; } .af-notebox .af-prose::before { left: 0; top: -40px; } }

/* Note boxes and merged cards run the full container width like every other
   section (2 Oct 2026); longer text flows in two balanced columns inside. */
.af-notebox .af-prose, .af-note-wrap .af-prose { max-width: none; }
.af-prose--cols h3, .af-prose--cols h4 { break-after: avoid; }
.af-prose--cols > :first-child { margin-top: 0; }
/* Contact panel close button: the theme's button padding and pink hover pushed
   the x off centre. */
.af-sticky__close { display: grid; place-items: center; padding: 0 !important; font-family: Arial, sans-serif; }
.af-sticky__close:hover, .af-sticky__close:focus { background: var(--af-soft) !important; color: var(--af-navy) !important; border: 0 !important; }
.af-sticky__close:focus-visible { outline: 2px solid var(--af-navy); outline-offset: 2px; }
/* Paragraphs may flow on into the next column, so the two columns end level. */
.af-prose--cols > p, .af-prose--cols > ul, .af-prose--cols > ol { break-inside: auto; orphans: 3; widows: 3; }
.af-prose--cols li { break-inside: avoid; }

/* reCAPTCHA v3 (Basin forms): badge stays in the DOM but is never seen; the
   sentence under the footer covers Google's terms. Not display:none. */
.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.af-recaptcha { margin: 0; padding: 0 24px 28px; background: var(--af-navy); color: var(--af-white); opacity: .7; font-size: 12px; text-align: center; }
.af-recaptcha a { color: var(--af-white); text-decoration: none; font-weight: 600; }

/* ================= Client corrections, 15 Oct 2026 ================= */

/* Trustpilot bar above the header: the number of reviews, not the score. */
.af-topbar { background: var(--af-soft); border-bottom: 1px solid var(--af-line); text-align: center; position: relative; z-index: 101; }
.af-topbar__tp { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; font-size: 14px; color: var(--af-ink); text-decoration: none; }
.af-topbar__tp strong { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.af-topbar__brand { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #191919; }
.af-topbar__tp:hover strong { color: var(--af-navy); text-decoration-color: var(--af-gold); }

/* Header CTA: "Bliv kontaktet" with a quieter second line inside the button. */
.af-header a.af-header__cta { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 46px 10px 24px; position: relative; line-height: 1.15; }
.af-header__cta-main { font-weight: 700; font-size: 16px; }
.af-header__cta-sub { font-weight: 400; font-size: 12.5px; opacity: .85; }
.af-header a.af-btn--gold.af-header__cta::after { position: absolute; right: 20px; top: 50%; margin: -.6em 0 0; }
.af-header a.af-btn--gold.af-header__cta:hover::after { transform: translateX(4px); }

/* Menu right-aligned as one group: any spare room sits between logo and menu. */
.af-header__inner { justify-content: flex-start; }
.af-nav { margin-left: auto; }
.af-nav__list { justify-content: flex-end; }

/* Third level (Privat > Tvangsauktion > ..., Privat > Gældssanering > ...). */
@media (min-width: 1101px) {
	.af-nav__list .sub-menu .sub-menu { left: 100%; top: -11px; margin-left: 6px; }
	.af-nav__list .sub-menu .sub-menu::before { left: -12px; top: 0; bottom: 0; width: 12px; height: auto; }
	.af-nav__list .sub-menu .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
	.af-nav__list .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); margin-left: 12px; }
	.af-nav__list .sub-menu > li { position: relative; }
}
@media (max-width: 1100px) {
	.af-nav__list .sub-menu .sub-menu { padding-left: 14px; }
}

/* ---------- Map of Denmark with the offices ---------- */
.af-map { display: grid; gap: 28px; align-items: center; }
.af-map--list { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.af-map__figure { margin: 0; }
.af-map__svg { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; overflow: visible; }
.af-map__land { fill: rgba(5, 30, 91, .08); stroke: rgba(5, 30, 91, .35); stroke-width: 1.2; stroke-linejoin: round; }
.af-map__region { font: 600 15px "Inter", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; fill: rgba(5, 30, 91, .45); text-anchor: middle; }
.af-map__marker { fill: var(--af-gold); stroke: var(--af-navy); stroke-width: 2; }
.af-map__num { font: 700 12px "Inter", system-ui, sans-serif; fill: var(--af-navy); text-anchor: middle; dominant-baseline: middle; }
.af-map__pulse { fill: var(--af-gold); opacity: 0; transform-box: fill-box; transform-origin: center; }
.af-map__pin.is-on .af-map__marker { fill: var(--af-navy); stroke: var(--af-gold); }
.af-map__pin.is-on .af-map__num { fill: var(--af-white); }
@media (prefers-reduced-motion: no-preference) {
	.af-map__pulse { animation: af-map-pulse 2.8s ease-out infinite; }
	.af-map__pin:nth-of-type(2) .af-map__pulse { animation-delay: .7s; }
	.af-map__pin:nth-of-type(3) .af-map__pulse { animation-delay: 1.4s; }
	.af-map__pin:nth-of-type(4) .af-map__pulse { animation-delay: 2.1s; }
}
@keyframes af-map-pulse { 0% { opacity: .5; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
.af-map__list { display: grid; gap: 26px; }
.af-map__group-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--af-navy); }
.af-map__list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.af-map__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--af-white); border: 1px solid var(--af-line); line-height: 1.45; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.af-map__list li.is-on { border-color: var(--af-gold); box-shadow: 0 10px 26px rgba(5, 30, 91, .08); }
.af-map__list strong { color: var(--af-navy); }
.af-map__badge { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--af-gold); color: var(--af-navy); font-weight: 700; font-size: 13px; }
/* On the navy band. */
.af-dark .af-map__land { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .45); }
.af-dark .af-map__region { fill: rgba(255, 255, 255, .55); }
.af-dark .af-map__group-title { color: var(--af-gold); }
.af-dark .af-map__list li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--af-white); }
.af-dark .af-map__list strong { color: var(--af-white); }
.af-dark .af-map__list li.is-on { border-color: var(--af-gold); box-shadow: none; }
@media (max-width: 1024px) { .af-map--list { grid-template-columns: 1fr; } .af-map__svg { max-width: 340px; } }

/* ---------- Footer: company details under the logo ---------- */
.af-footer-company p { margin: 0; line-height: 1.7; }
.af-footer-company strong { color: var(--af-white); font-weight: 700; }
.af-footer-company .af-gap { display: block; height: 12px; }
.af-talk .af-split-img--talk img { aspect-ratio: 3 / 2; object-position: center 35%; }
/* Map: the drawing takes the room, the addresses are a compact list beside it. */
.af-map--list { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; }
.af-map__svg { max-width: 480px; }
.af-map__list { gap: 22px; }
.af-map__list ul { gap: 0; }
.af-map__list li { padding: 11px 4px; border: 0; border-bottom: 1px solid var(--af-line); border-radius: 0; background: none; font-size: 15px; gap: 12px; }
.af-map__list li:last-child { border-bottom: 0; }
.af-map__list li.is-on { box-shadow: none; }
.af-map__list li.is-on strong { text-decoration: underline; text-decoration-color: var(--af-gold); text-underline-offset: 3px; }
.af-dark .af-map__list li { background: none; border-color: rgba(255, 255, 255, .16); }
.af-map__badge { flex-basis: 26px; height: 26px; font-size: 12px; margin-top: 1px; }
@media (min-width: 1025px) {
	.af-findus > .e-con-inner > .elementor-element:first-child { flex: 0 0 34% !important; width: 34% !important; }
	.af-findus > .e-con-inner > .elementor-element:last-child { flex: 1 1 0 !important; width: auto !important; }
}
/* Kontakt: form card and a navy contact card side by side. */
.af-contact-card .af-phone .elementor-heading-title { font-size: clamp(30px, 3vw, 40px); }
.af-contact-card .af-phone a { color: var(--af-gold); text-decoration: none; }
.af-contact-card a { color: var(--af-white); }
.af-contact-facts { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; gap: 10px; }
.af-contact-facts li { position: relative; padding-left: 28px; color: rgba(255, 255, 255, .9); }
.af-contact-facts li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--af-gold); border-bottom: 2px solid var(--af-gold); transform: rotate(-45deg); }
.af-section--soft .af-map { margin-top: 18px; }

/* ---------- Hvem er vi: overview tiles + one card per person (15 Oct 2026) ---------- */
.af-team-group .elementor-heading-title { font-size: 22px; margin-top: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--af-line); }
.af-team-tile { position: relative !important; }
.af-team-tile .elementor-element, .af-team-tile .elementor-widget-container, .af-team-tile .elementor-heading-title { position: static !important; }
.af-team-tile-img { overflow: hidden; border-radius: var(--af-radius); margin-bottom: 8px !important; }
.af-team-tile-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.af-team-tile:hover .af-team-tile-img img { transform: scale(1.04); }
.af-team-tile h3.elementor-heading-title { font-size: 19px; }
.af-team-tile h3 a { color: var(--af-navy); text-decoration: none; }
.af-team-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.af-team-tile:hover h3 a { text-decoration: underline; text-decoration-color: var(--af-gold); text-underline-offset: 4px; }
.af-team-tile .af-role p { margin: 0; font-size: 15px; color: var(--af-muted); line-height: 1.4; }

.af-dept-lead { max-width: 820px; }
.af-staff-grid { margin-top: 14px; }
.af-staff { background: var(--af-white); border-radius: var(--af-radius); padding: 28px !important; box-shadow: 0 12px 34px rgba(5, 30, 91, .06); height: 100%; scroll-margin-top: 110px; }
.af-section:not(.af-section--soft) .af-staff { background: var(--af-soft); box-shadow: none; }
.af-staff:target { outline: 2px solid var(--af-gold); outline-offset: 4px; }
.af-staff-top { align-items: center !important; }
.af-staff-img { flex: 0 0 132px !important; width: 132px !important; overflow: hidden; border-radius: 12px; margin: 0 !important; }
.af-staff-img img { width: 132px; height: 165px; object-fit: cover; object-position: center 18%; display: block; }
.af-staff-head { flex: 1 1 0 !important; min-width: 0; }
.af-staff-head h3.elementor-heading-title { font-size: 24px; }
.af-staff-head .af-role p { margin: 0; color: var(--af-muted); font-size: 16px; }
.af-staff-head .af-contact p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; }
.af-staff-head .af-contact a { color: var(--af-navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.af-staff-head .af-contact a:hover { text-decoration: underline; text-decoration-color: var(--af-gold); }
.af-staff-region p { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(214, 164, 97, .16); color: var(--af-navy); font-size: 15px; font-weight: 600; line-height: 1.45; }
.af-staff-bio p { font-size: 16px; color: var(--af-ink); margin-bottom: .8em; }
.af-staff-bio p:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
	.af-staff { padding: 22px !important; }
	.af-staff-top { flex-direction: column !important; align-items: flex-start !important; }
}
.af-team-tile-img img { width: 100% !important; max-width: none !important; height: auto; }
.af-staff-img img { max-width: none !important; }
.af-aside-card .af-eyebrow .elementor-heading-title { color: var(--af-gold) !important; }

/* ---------- Vision, mission og værdier (15 Oct 2026) ---------- */
.af-vm-card { position: relative; overflow: hidden; background: var(--af-navy); border-radius: calc(var(--af-radius) + 4px); padding: clamp(30px, 4vw, 52px) !important; height: 100%; isolation: isolate; }
.af-vm-card::before { content: "\201C"; position: absolute; right: 26px; top: -30px; z-index: -1; font: 700 220px/1 "Kaisei Opti", Georgia, serif; color: rgba(214, 164, 97, .18); }
.af-vm-label .elementor-heading-title { font-family: "Inter", system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--af-gold) !important; }
.af-vm-quote .elementor-heading-title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; color: var(--af-white) !important; }
.af-value { background: var(--af-white); border-radius: var(--af-radius); padding: 28px !important; height: 100%; border-top: 3px solid var(--af-gold); box-shadow: 0 12px 34px rgba(5, 30, 91, .06); }
.af-value-num .elementor-heading-title { font-family: "Inter", system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--af-muted) !important; }
.af-value-title .elementor-heading-title { font-size: 22px; line-height: 1.3; }
/* Info cards: headings and text start on one line across a row. */
.af-info-card { justify-content: flex-start !important; }
.af-info-grid--2 .af-info-card h3.elementor-heading-title { min-height: 2.6em; }
.af-godt-lead { max-width: 900px; }
/* Gældssanering (15 Oct 2026): budget cards and a compact checklist panel. */
.af-budget-card h3.elementor-heading-title { font-size: 22px; }
.af-budget-card h3 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--af-gold); text-underline-offset: 4px; }
.af-budget-card .af-prose li { font-size: 16px; }
.af-budget-card--pay { border-top: 3px solid var(--af-gold); }
.af-small-note { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(214, 164, 97, .14); font-size: 15px !important; }
@media (min-width: 1025px) {
	.af-listsplit .af-check-panel--compact { align-self: center !important; height: auto !important; justify-content: flex-start !important; }
}
.af-check-panel-title .elementor-heading-title { font-size: 19px; line-height: 1.35; margin-bottom: 6px; }

/* ---------- Løste opgaver: one card per customer story (15 Oct 2026) ---------- */
.af-jump p { margin: 0; }
.af-jump a { font-weight: 700; color: var(--af-navy); text-decoration: none; box-shadow: inset 0 -.38em 0 rgba(214, 164, 97, .35); }
.af-jump a::after { content: " \2193"; }
.af-story { background: var(--af-white); border-radius: calc(var(--af-radius) + 2px); padding: clamp(24px, 3.4vw, 44px) !important; box-shadow: 0 14px 40px rgba(5, 30, 91, .07); align-items: flex-start !important; }
.af-story-side { flex: 0 0 30% !important; width: 30% !important; position: sticky !important; top: 110px; }
.af-story-main { flex: 1 1 0 !important; min-width: 0; }
.af-story-num .elementor-heading-title { font-family: "Inter", system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--af-navy) !important; display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(214, 164, 97, .22); }
.af-story-title .elementor-heading-title { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.af-story-fee p { margin: 6px 0 0; padding: 10px 12px; border-left: 3px solid var(--af-gold); background: var(--af-soft); font-size: 14px; color: var(--af-muted); line-height: 1.45; }
.af-story-body { max-width: none; }
.af-story-body p { font-size: 17px; }
.af-story-body .af-story-lead { font-family: "Kaisei Opti", Georgia, serif; font-weight: 700; font-size: 20px; line-height: 1.45; color: var(--af-navy); margin-bottom: 1em; }
@media (max-width: 1024px) {
	.af-story { flex-direction: column !important; gap: 16px !important; }
	.af-story-side { width: 100% !important; position: relative !important; top: 0; }
}
.af-nav__contact--mobile { display: none; }
@media (max-width: 1100px) {
	.af-nav__contact--mobile { display: block; margin-top: 10px; padding: 14px; border-radius: 999px; background: var(--af-gold); color: var(--af-navy); font-weight: 700; text-align: center; text-decoration: none; }
}
