/* =========================================================================
   OR4S v4 – design
   Farver og skrifttyper kommer fra theme.json (kan ændres i Udseende → Editor → Stilarter).
   ========================================================================= */

:root {
	--or4s-ink: var(--wp--preset--color--ink, #0b1627);
	--or4s-ink-soft: var(--wp--preset--color--ink-soft, #24344c);
	--or4s-creme: var(--wp--preset--color--creme, #f8f5f0);
	--or4s-creme-varm: var(--wp--preset--color--creme-varm, #f5efe6);
	--or4s-sand: var(--wp--preset--color--sand, #ebe5db);
	--or4s-moss: var(--wp--preset--color--moss, #2c4539);
	--or4s-moss-soft: var(--wp--preset--color--moss-soft, #3e5a4c);
	--or4s-salvie: var(--wp--preset--color--salvie, #7ba088);
	--or4s-graa: var(--wp--preset--color--graa, #525f71);
	--or4s-kant: var(--wp--preset--color--kant, #e2dbd0);
	--or4s-lys-tekst: rgba(245, 239, 230, 0.78);
	--or4s-lys-daempet: rgba(245, 239, 230, 0.6);
	--or4s-skygge: 0 1px 2px rgba(11, 22, 39, 0.04), 0 8px 32px rgba(11, 22, 39, 0.06);
	--or4s-skygge-loft: 0 2px 4px rgba(11, 22, 39, 0.06), 0 16px 48px rgba(11, 22, 39, 0.10);
	--or4s-container: 1200px;
	--or4s-gutter: 1.5rem;
}

body {
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
}

/* Ingen mellemrum mellem topmenu, indhold og sidefod */
.wp-site-blocks > * { margin-block: 0; }
.or4s-indhold > .alignfull { margin-block: 0; }
.or4s-indhold > :first-child:not(.alignfull) { margin-top: 4rem; }
.or4s-indhold > :last-child:not(.alignfull) { margin-bottom: 5rem; }

img { max-width: 100%; height: auto; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; width: 100%; }

/* ---------- Container og sektioner ---------- */

.or4s-container {
	width: 100%;
	max-width: var(--or4s-container);
	margin-inline: auto !important;
	padding-inline: var(--or4s-gutter);
	box-sizing: border-box;
}
.or4s-container--smal { max-width: calc(56rem + 2 * var(--or4s-gutter)); }
.or4s-container--mellem { max-width: calc(72rem + 2 * var(--or4s-gutter)); }
.or4s-container--tekst { max-width: calc(48rem + 2 * var(--or4s-gutter)); }

.or4s-sektion,
.or4s-sektion.has-background {
	padding-block: clamp(4.5rem, 9vw, 8rem);
	padding-inline: 0;
	margin: 0;
}
.or4s-trinliste > *, .or4s-hold > *, .or4s-pakker > *, .or4s-statusliste > * { margin: 0 !important; }
.or4s-kantet { border-block: 1px solid var(--or4s-kant); }
.or4s-kant-top { border-top: 1px solid var(--or4s-kant); }
.or4s-kant-bund { border-bottom: 1px solid var(--or4s-kant); }

/* ---------- Typografi ---------- */

h1, h2, h3, h4 { text-wrap: balance; }
/* Fast regel: overskrifter bruger aldrig kursiv. Kun sidens store topoverskrift (h1) har en afslutning i dæmpet farve. */
h1 em { font-style: normal; color: var(--or4s-ink-soft); }
.or4s-moerk h1 em, .or4s-hero h1 em { color: rgba(245, 239, 230, 0.8); }
h2 em, h3 em, h4 em { font-style: normal; color: inherit; }

.or4s-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--or4s-graa);
	margin-bottom: 1.5rem !important;
}
.or4s-moerk .or4s-eyebrow, .or4s-hero .or4s-eyebrow, .or4s-footer .or4s-eyebrow { color: var(--or4s-lys-daempet); }

.or4s-lead { font-size: 1.125rem; line-height: 1.7; color: var(--or4s-ink-soft); max-width: 42rem; }
.or4s-moerk .or4s-lead, .or4s-hero .or4s-lead { color: var(--or4s-lys-tekst); }
.or4s-daempet { color: var(--or4s-ink-soft); line-height: 1.7; }
.or4s-moerk .or4s-daempet { color: var(--or4s-lys-tekst); }
.or4s-lille { font-size: 0.875rem; }
.or4s-centreret, .or4s-afslutning { text-align: center; }
.or4s-afslutning .wp-block-buttons { justify-content: center; }
.or4s-afslutning .or4s-daempet { margin-inline: auto; }

.or4s-h-stor { font-size: clamp(2.25rem, 4.2vw, 3.5rem) !important; line-height: 1.02 !important; }
.or4s-h-mellem { font-size: clamp(1.6rem, 3vw, 2rem) !important; line-height: 1.1 !important; }
.or4s-h-lille { font-size: 1.35rem !important; }
.or4s-h-spm { font-family: var(--wp--preset--font-family--inter) !important; font-size: 1rem !important; font-weight: 600 !important; letter-spacing: 0 !important; margin-top: 1.5rem !important; }
.or4s-h-login { font-size: clamp(2.5rem, 4vw, 4rem) !important; line-height: 1.05 !important; }

.or4s-intro { max-width: 42rem; margin-bottom: 4rem; }
.or4s-intro > * { margin-block: 0; }
.or4s-intro > * + * { margin-top: 1rem; }

.or4s-nummer {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 3rem;
	line-height: 1;
	color: var(--or4s-salvie);
	margin: 0 0 1.5rem !important;
}
.or4s-nummer--stor { font-size: 3.75rem; margin-bottom: 0.75rem !important; }

/* ---------- Knapper ---------- */

.wp-block-button__link { text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; line-height: 1.2; }
.wp-block-buttons { gap: 1rem; }
.is-style-moss .wp-block-button__link { background: var(--or4s-moss); color: var(--or4s-creme); border: 1px solid var(--or4s-moss); }
.is-style-moss .wp-block-button__link:hover { background: var(--or4s-moss-soft); border-color: var(--or4s-moss-soft); }
.is-style-ink .wp-block-button__link { background: var(--or4s-ink); color: var(--or4s-creme); border: 1px solid var(--or4s-ink); }
.is-style-ink .wp-block-button__link:hover { background: var(--or4s-ink-soft); }
.is-style-outline-lys .wp-block-button__link { background: transparent; color: var(--or4s-creme); border: 1px solid rgba(245, 239, 230, 0.4); }
.is-style-outline-lys .wp-block-button__link:hover { background: var(--or4s-creme); color: var(--or4s-ink); }
.is-style-outline-moerk .wp-block-button__link { background: transparent; color: var(--or4s-ink); border: 1px solid rgba(11, 22, 39, 0.3); padding: 0.7rem 1.25rem; font-size: 0.875rem; }
.is-style-outline-moerk .wp-block-button__link:hover { border-color: var(--or4s-ink); }
.is-style-outline-moss .wp-block-button__link { background: transparent; color: var(--or4s-moss); border: 1px solid var(--or4s-moss); }
.is-style-outline-moss .wp-block-button__link:hover { background: var(--or4s-moss); color: var(--or4s-creme); }

/* ---------- Topmenu ---------- */

.or4s-header {
	position: relative;
	z-index: 50;
	background: var(--or4s-ink);
	color: var(--or4s-creme);
}
.home .or4s-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.admin-bar.home .or4s-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.home .or4s-header { top: 46px; } }

.or4s-header__indre { padding-block: 1.25rem; gap: 1.5rem; }
.or4s-header .or4s-logo img { width: clamp(140px, 15vw, 210px) !important; height: auto; }
.or4s-header__hoejre { gap: 2rem; }
.or4s-nav { font-size: 0.875rem; gap: 2rem; }
.or4s-nav a { color: rgba(245, 239, 230, 0.8); text-decoration: none; }
.or4s-nav a:hover, .or4s-nav .current-menu-item > a { color: var(--or4s-creme); }
.or4s-nav .wp-block-navigation__container { gap: 2rem; }
.or4s-header__knapper { gap: 0.75rem; flex-wrap: nowrap; }
.or4s-header__knapper .wp-block-button__link { padding: 0.75rem 1.4rem; font-size: 0.95rem; }
.or4s-nav .wp-block-navigation__responsive-container-open svg,
.or4s-nav .wp-block-navigation__responsive-container-close svg { fill: var(--or4s-creme); width: 28px; height: 28px; }
.or4s-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--or4s-ink) !important; color: var(--or4s-creme) !important; padding: 2rem var(--or4s-gutter); }
.or4s-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem; font-size: 1.25rem; }
.or4s-nav .wp-block-navigation__responsive-container.is-menu-open a { color: var(--or4s-creme); }
.or4s-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { fill: var(--or4s-creme); }

@media (min-width: 900px) { .or4s-kun-mobil { display: none !important; } }
@media (max-width: 899px) { .or4s-header__knapper { display: none !important; } }

/* ---------- Forside: topbillede ---------- */

.or4s-hero.wp-block-cover {
	padding: 0;
	background: var(--or4s-ink);
	color: var(--or4s-creme);
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
}
.or4s-hero .wp-block-cover__image-background { opacity: 0.4; }
.or4s-hero .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(90deg, #0b1627 0%, rgba(11, 22, 39, 0.85) 50%, rgba(11, 22, 39, 0.3) 100%) !important;
}
.or4s-hero .wp-block-cover__inner-container { width: 100%; color: var(--or4s-creme); }
.or4s-hero__indhold { padding-top: clamp(9rem, 16vw, 12rem); padding-bottom: clamp(5rem, 9vw, 8rem); }
.or4s-hero__indhold > * { margin-block: 0; }
.or4s-hero__titel {
	font-size: clamp(3rem, 7vw, 7rem) !important;
	line-height: 0.95 !important;
	max-width: 64rem;
	color: var(--or4s-creme);
}
.or4s-hero .or4s-lead { margin-top: 2rem; max-width: 39rem; line-height: 1.65; }
.or4s-hero__knapper { margin-top: 2.5rem; }
.or4s-hero__knapper .wp-block-button__link { padding: 1.05rem 2rem; }
.or4s-trinliste {
	margin-top: clamp(4rem, 8vw, 6rem) !important;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	max-width: 48rem;
	border-top: 1px solid rgba(245, 239, 230, 0.15);
	padding-top: 2.5rem;
}
@media (min-width: 782px) { .or4s-trinliste { grid-template-columns: repeat(4, 1fr); } }
.or4s-trin > * { margin: 0; }
.or4s-trin__nr { font-family: var(--wp--preset--font-family--fraunces); font-size: 1.875rem; color: rgba(245, 239, 230, 0.4); line-height: 1; }
.or4s-trin__tekst { margin-top: 0.5rem !important; font-size: 0.875rem; color: var(--or4s-lys-tekst); }

/* ---------- Undersider: mørk top ---------- */

.or4s-side-hero { padding-block: clamp(4rem, 8vw, 6rem) clamp(4rem, 7vw, 5.5rem); }
.or4s-side-hero .or4s-container > * { margin-block: 0; }
.or4s-side-hero .or4s-container--smal { max-width: calc(66rem + 2 * var(--or4s-gutter)); }
.or4s-side-hero h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 1.05; max-width: 68rem; color: var(--or4s-creme); }
.or4s-side-hero .or4s-lead { margin-top: 2rem !important; font-size: 1.18rem; max-width: 46rem; color: rgba(245, 239, 230, 0.72); }
.or4s-side-hero .or4s-nummer { display: inline-block; margin: 0 1.5rem 1.5rem 0 !important; }
.or4s-side-hero .or4s-nummer + .or4s-eyebrow { display: inline-block; }
.or4s-tilbage { font-size: 0.875rem; margin-bottom: 2rem !important; }
.or4s-tilbage a { color: var(--or4s-lys-daempet); text-decoration: none; }
.or4s-tilbage a:hover { color: var(--or4s-creme); }

/* ---------- Gitre ---------- */

.or4s-split { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 782px) {
	.or4s-split { grid-template-columns: repeat(12, 1fr); }
	.or4s-split__venstre { grid-column: 1 / span 5; }
	.or4s-split__hoejre { grid-column: 7 / span 6; }
}
.or4s-split > *, .or4s-split__venstre > *, .or4s-split__hoejre > * { margin-block: 0; }
.or4s-split__hoejre > * + * { margin-top: 1.5rem; }
.or4s-split__venstre > .wp-block-image { margin-top: 2rem; }
@media (min-width: 1024px) { .or4s-klistret { position: sticky; top: 6rem; } }

.or4s-halv { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .or4s-halv { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.or4s-halv--midt { align-items: center; }
.or4s-halv > * { margin-block: 0; }
.or4s-halv > .wp-block-group > * { margin-block: 0; }
.or4s-halv > .wp-block-group > * + * { margin-top: 1.5rem; }

.or4s-felter { display: grid; gap: 1px; background: var(--or4s-kant); }
@media (min-width: 782px) { .or4s-felter--2 { grid-template-columns: 1fr 1fr; } }
.or4s-felter > * { margin: 0 !important; }
.or4s-felt { background: var(--or4s-creme); padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: flex-start; }
.or4s-felt > * { margin-block: 0; }
.or4s-felt > * + * { margin-top: 1rem; }
.or4s-felt h2, .or4s-felt h3 { font-size: clamp(1.6rem, 2.5vw, 1.9rem); }
.or4s-felt .or4s-daempet { flex: 1; }
.or4s-felt .wp-block-buttons { margin-top: 1.5rem; }
.or4s-felt__pris { font-weight: 500; font-size: 0.875rem; border-top: 1px solid var(--or4s-kant); padding-top: 1rem; align-self: stretch; margin-top: 1.5rem !important; }
.or4s-split__hoejre.or4s-felter--2 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .or4s-split__hoejre.or4s-felter--2 { grid-template-columns: 1fr 1fr; } }
.or4s-split__hoejre .or4s-felt { padding: 2rem; }

.or4s-skygge img { box-shadow: var(--or4s-skygge-loft); }
.or4s-skygge-blod img { box-shadow: var(--or4s-skygge); }

/* ---------- Tilstandsrapport: rød/gul/grøn ---------- */

.or4s-statusliste { margin-top: 2.5rem !important; display: grid; gap: 1rem; }
.or4s-statusliste > * { margin: 0; }
.or4s-status { position: relative; border-left: 2px solid var(--or4s-kant); padding: 0.4rem 0 0.4rem 2.75rem; }
.or4s-status > * { margin: 0; }
.or4s-status::before { content: ""; position: absolute; left: 1.25rem; top: 0.85rem; width: 12px; height: 12px; border-radius: 50%; }
.or4s-status--roed::before { background: var(--wp--preset--color--roed); }
.or4s-status--gul::before { background: var(--wp--preset--color--gul); }
.or4s-status--groen::before { background: var(--wp--preset--color--groen); }
.or4s-status__titel strong { font-weight: 500; }

/* ---------- Pakker ---------- */

.or4s-pakker { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .or4s-pakker { grid-template-columns: repeat(3, 1fr); } }
.or4s-pakke { border: 1px solid var(--or4s-creme); border-radius: 1rem; padding: clamp(2rem, 3vw, 2.5rem); display: flex; flex-direction: column; margin: 0 !important; }
@media (min-width: 900px) { .or4s-pakke:not(.or4s-pakke--fremhaevet) { padding-top: calc(clamp(2rem, 3vw, 2.5rem) + 2.75rem); } }
.or4s-pakke > * { margin-block: 0; }
.or4s-pakke h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.or4s-pakke--fremhaevet { background: var(--or4s-creme); color: var(--or4s-ink); border-color: var(--or4s-ink); }
.or4s-pakke__maerke { color: var(--or4s-salvie) !important; }
.or4s-pakke__tagline { font-size: 0.875rem; color: rgba(245, 239, 230, 0.7); margin-bottom: 2rem !important; }
.or4s-pakke--fremhaevet .or4s-pakke__tagline { color: var(--or4s-ink-soft); }
.or4s-pakke__pris { font-family: var(--wp--preset--font-family--fraunces); font-size: 2.25rem; line-height: 1.1; margin-bottom: 2rem !important; }
.or4s-pakke .wp-block-list { flex: 1; margin-bottom: 2.5rem; font-size: 0.875rem; }
.or4s-pakke .wp-block-buttons, .or4s-pakke .wp-block-button { width: 100%; }
.or4s-pakke .wp-block-button__link { width: 100%; box-sizing: border-box; }
.or4s-pakker__note { color: var(--or4s-lys-daempet); margin-top: 2rem !important; max-width: 42rem; }

/* ---------- Lister med flueben ---------- */

.is-style-flueben { list-style: none; padding-left: 0; margin-left: 0; }
.is-style-flueben li { position: relative; padding-left: 1.75rem; margin-bottom: 0.75rem; }
.is-style-flueben li::before {
	content: ""; position: absolute; left: 0; top: 0.3em; width: 1rem; height: 1rem;
	background: var(--or4s-salvie);
	-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%3Cpath d='M20 6 9 17l-5-5'/%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%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.or4s-pakke:not(.or4s-pakke--fremhaevet) .is-style-flueben li::before { background: rgba(245, 239, 230, 0.6); }

/* ---------- Kontaktbokse ---------- */

.or4s-bokse { display: grid; gap: 1.5rem; margin-block: 3rem !important; }
@media (min-width: 600px) { .or4s-bokse--2 { grid-template-columns: 1fr 1fr; } }
.or4s-bokse > * { margin: 0 !important; }
.or4s-boks {
	position: relative; padding: 1.5rem 1.5rem 1.5rem 3.5rem;
	background: var(--or4s-creme); border: 1px solid var(--or4s-kant);
	transition: border-color .2s;
}
.or4s-boks:hover { border-color: var(--or4s-ink); }
.or4s-boks > * { margin: 0; }
.or4s-boks::before {
	content: ""; position: absolute; left: 1.5rem; top: 1.65rem; width: 1.15rem; height: 1.15rem; background: var(--or4s-salvie);
}
.or4s-ikon-mail::before { -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%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%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%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.or4s-ikon-telefon::before { -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%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%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%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat; }
.or4s-ikon-sted::before { -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%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%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%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.or4s-boks__label { font-size: 0.875rem; color: var(--or4s-graa); }
.or4s-boks__vaerdi { font-weight: 500; }
.or4s-boks__vaerdi a { text-decoration: none; }
.or4s-boks__vaerdi a:hover { text-decoration: underline; }

/* ---------- Kontaktside ---------- */

.or4s-kontakt { display: grid; gap: 4rem; }
@media (min-width: 1024px) {
	.or4s-kontakt { grid-template-columns: repeat(12, 1fr); }
	.or4s-kontakt__info { grid-column: span 5; }
	.or4s-kontakt__formular { grid-column: span 7; }
}
.or4s-kontakt > * { margin: 0 !important; }
.or4s-kontakt__info > *, .or4s-kontakt__formular > * { margin-block: 0; }
.or4s-kontakt__info .or4s-eyebrow { margin-bottom: 1rem !important; }
.or4s-kontakt__info h2 { margin-bottom: 1.5rem; }
.or4s-kontakt__info .or4s-boks { background: rgba(235, 229, 219, 0.4); margin-top: 1.5rem; }
.or4s-kontakt__formular { background: rgba(235, 229, 219, 0.3); border: 1px solid var(--or4s-kant); padding: clamp(1.5rem, 4vw, 2.5rem); scroll-margin-top: 2rem; }
.or4s-kontakt__formular .or4s-eyebrow { margin-bottom: 0.5rem !important; }
.or4s-kontakt__formular h2 { margin-bottom: 1.25rem; }

.or4s-formular p { margin: 0 0 1.25rem; }
.or4s-formular__raekke { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .or4s-formular__raekke { grid-template-columns: 1fr 1fr; } }
.or4s-formular label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.or4s-formular input, .or4s-formular textarea,
.or4s-loginform input[type="text"], .or4s-loginform input[type="password"] {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 0.95rem;
	padding: 0.7rem 0.85rem; border: 1px solid var(--or4s-kant); border-radius: 0;
	background: var(--or4s-creme); color: inherit;
}
.or4s-formular input:focus, .or4s-formular textarea:focus,
.or4s-loginform input:focus { outline: 2px solid var(--or4s-ink); outline-offset: 1px; }
.or4s-formular__knap, .or4s-loginform input[type="submit"] {
	background: var(--or4s-ink) !important; color: var(--or4s-creme) !important; border: 0; cursor: pointer;
	padding: 0.95rem 2rem !important; border-radius: 4px; font: inherit; font-weight: 500;
}
.or4s-formular__knap:hover, .or4s-loginform input[type="submit"]:hover { background: var(--or4s-ink-soft) !important; }
.or4s-formular__honning { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.or4s-formular__besked { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-left: 3px solid; }
.or4s-formular__besked--ok { background: rgba(70, 145, 101, 0.1); border-color: var(--wp--preset--color--groen); }
.or4s-formular__besked--fejl { background: rgba(202, 43, 43, 0.08); border-color: var(--wp--preset--color--roed); }

/* ---------- Holdet: flip-kort ---------- */

.or4s-hold { display: grid; gap: 1.5rem; }
@media (min-width: 600px) { .or4s-hold { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .or4s-hold { grid-template-columns: repeat(3, 1fr); } }
.or4s-hold > * { margin: 0 !important; }

.or4s-flip { perspective: 1200px; border-radius: 1rem; cursor: pointer; outline: none; }
.or4s-flip p, .or4s-flip h3 { margin: 0; }
.or4s-flip__indre {
	position: relative; height: 100%;
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	transform-style: preserve-3d;
	border-radius: 1rem;
}
@media (hover: hover) { .or4s-flip:hover .or4s-flip__indre { transform: rotateY(180deg); } }
.or4s-flip:focus-within .or4s-flip__indre,
.or4s-flip:focus-visible .or4s-flip__indre,
.or4s-flip.er-vendt .or4s-flip__indre { transform: rotateY(180deg); }
.or4s-flip__for, .or4s-flip__bag {
	-webkit-backface-visibility: hidden; backface-visibility: hidden;
	border-radius: 1rem; box-shadow: var(--or4s-skygge-loft); margin: 0 !important;
}
.or4s-flip__for { position: relative; background: var(--or4s-ink); color: var(--or4s-creme); overflow: hidden; display: flex; flex-direction: column; }
.or4s-flip__foto { aspect-ratio: 3 / 4; overflow: hidden; }
.or4s-flip__foto img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.or4s-flip__info { padding: 1.25rem 1.5rem 1.5rem; margin: 0 !important; }
.or4s-flip__info > * { margin: 0 !important; }
.or4s-flip h3 { font-size: 1.55rem; line-height: 1.2; }
.or4s-flip__rolle { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; margin: 0.25rem 0 0.75rem !important; }
.or4s-flip__mail, .or4s-flip__tlf { position: relative; padding-left: 1.4rem; font-size: 0.875rem; margin-top: 0.35rem !important; }
.or4s-flip__mail::before, .or4s-flip__tlf::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 0.9rem; height: 0.9rem; background: currentColor; }
.or4s-flip__mail::before { -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%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%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%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.or4s-flip__tlf::before { -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%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%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%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat; }
.or4s-flip__info a { color: inherit; text-decoration: none; }
.or4s-flip__info a:hover { color: var(--or4s-salvie); }
.or4s-flip__bag {
	position: absolute; inset: 0; transform: rotateY(180deg);
	background: var(--or4s-creme-varm); color: var(--or4s-ink);
	padding: 2rem; display: flex; flex-direction: column;
}
.or4s-flip__bag h3 { font-size: 1.25rem; }
.or4s-flip__bag .or4s-flip__rolle { color: var(--or4s-graa); opacity: 1; margin-bottom: 1.5rem !important; }
.or4s-flip__bag p:not([class*="or4s-flip__"]) { font-size: 0.875rem; color: var(--or4s-ink-soft); line-height: 1.65; margin-bottom: 1.25rem !important; }
.or4s-flip__label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--or4s-salvie); margin-bottom: 0.25rem !important; }
.or4s-flip__hint { margin-top: auto !important; padding-top: 1rem; border-top: 1px solid var(--or4s-kant); font-size: 0.75rem; color: var(--or4s-graa); }
@media (hover: none) { .or4s-flip__hint { display: none; } }
.or4s-flip__label { margin-bottom: 0.9rem !important; }
.or4s-flip__bag .is-style-cv ~ p:not([class*="or4s-flip__"]) { line-height: 1.6; margin-bottom: 0 !important; }

/* CV-tidslinje (bagsiden af holdkortene – kan også vælges på andre lister) */
.is-style-cv { list-style: none; margin: 0 0 1.6rem !important; padding: 0 0 0 1.1rem; border-left: 2px solid var(--or4s-kant); }
.is-style-cv li { position: relative; margin: 0 0 1.1rem; font-size: 0.875rem; line-height: 1.55; color: var(--or4s-ink-soft); }
.is-style-cv li:last-child { margin-bottom: 0; }
.is-style-cv li::before { content: ""; position: absolute; left: calc(-1.1rem - 6px); top: 0.4em; width: 10px; height: 10px; border-radius: 50%; background: var(--or4s-salvie); }
.is-style-cv li strong { display: block; font-weight: 600; font-size: 0.95rem; color: var(--or4s-ink); }

/* ---------- Ydelsesside ---------- */

.or4s-container--tekst > * { margin-block: 0; }
.or4s-prisskilt { display: inline-block; border: 1px solid var(--or4s-kant); padding: 0.5rem 1.25rem; font-size: 0.875rem; margin-bottom: 2.5rem !important; }
.or4s-container--tekst > .or4s-lead { margin-bottom: 3rem; max-width: none; }
.or4s-punkter { display: grid; gap: 0.75rem; margin-bottom: 4rem !important; }
@media (min-width: 600px) { .or4s-punkter { grid-template-columns: 1fr 1fr; } }
.or4s-punkter > * { margin: 0 !important; }
.or4s-punkt { position: relative; border: 1px solid var(--or4s-kant); padding: 1rem 1rem 1rem 2.75rem; font-size: 0.875rem; }
.or4s-punkt p { margin: 0; }
.or4s-punkt::before { content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 1rem; height: 1rem; background: var(--or4s-salvie); -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%3Cpath d='M20 6 9 17l-5-5'/%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%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.or4s-video {
	aspect-ratio: 16 / 9; background: rgba(235, 229, 219, 0.4); border: 1px solid var(--or4s-kant);
	display: flex; align-items: center; justify-content: center; flex-direction: column; margin-bottom: 4rem !important;
}
.or4s-video::before { content: ""; width: 3rem; height: 3rem; background: var(--or4s-ink-soft); opacity: 0.4; -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%3Cpolygon points='10 8 16 12 10 16 10 8'/%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%3Cpolygon points='10 8 16 12 10 16 10 8'/%3E%3C/svg%3E") center / contain no-repeat; margin-bottom: 0.75rem; }
.or4s-video__tekst { font-size: 0.875rem; color: var(--or4s-ink-soft); margin: 0; }
.or4s-sektion.has-sand-background-color .or4s-video { background: var(--or4s-creme); }
.or4s-tekst > * { margin-block: 0; }
.or4s-tekst h2 { margin-top: 3rem; margin-bottom: 1rem; }
.or4s-tekst h2:first-child { margin-top: 0; }
.or4s-faq { margin-top: 4rem !important; padding-top: 3rem; border-top: 1px solid var(--or4s-kant); }
.or4s-faq > * { margin-block: 0; }
.or4s-faq > h2 { margin-bottom: 1rem; }
.or4s-faq p { margin-top: 0.5rem; }

.or4s-afslutning { padding-block: 4rem; }
.or4s-afslutning .or4s-container > * { margin-block: 0; }
.or4s-afslutning h2 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3rem); }
.or4s-afslutning .wp-block-buttons { margin-top: 2rem; }

/* ---------- Cases ---------- */

.or4s-cases > * + * { margin-top: 5rem !important; }
.or4s-case { display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 782px) {
	.or4s-case { grid-template-columns: repeat(12, 1fr); }
	.or4s-case__side { grid-column: span 3; }
	.or4s-case__tekst { grid-column: span 9; }
}
.or4s-case > *, .or4s-case__side > *, .or4s-case__tekst > * { margin-block: 0; }
.or4s-case__tekst h2 { margin-bottom: 1.5rem; }
.or4s-case__tekst .or4s-daempet { margin-bottom: 2rem; }
.or4s-container--mellem > .or4s-eyebrow { margin-bottom: 1rem !important; }
.or4s-container--mellem > h2 { margin: 0 0 2.5rem; }
.or4s-container--tekst > h2 { margin: 0 0 2.5rem; }
.or4s-kundehistorie { border-left: 2px solid var(--or4s-salvie); padding-left: 1.5rem; }
.or4s-kundehistorie > * { margin-block: 0; }
.or4s-kundehistorie h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.or4s-kundehistorie .or4s-daempet { margin-bottom: 1.5rem; }

.wp-block-quote.or4s-citat { border-left: 2px solid var(--or4s-salvie); padding: 0.5rem 0 0.5rem 1.5rem; margin: 0; }
.or4s-kundehistorie .wp-block-quote.or4s-citat { border: 0; padding-left: 0; }
.or4s-citat::before { content: "\201C"; display: block; font-family: var(--wp--preset--font-family--fraunces); font-size: 2.5rem; line-height: 0.6; color: var(--or4s-salvie); margin-bottom: 0.5rem; }
.or4s-citat p { font-family: var(--wp--preset--font-family--fraunces); font-style: normal; font-size: 1.25rem; line-height: 1.35; margin: 0 0 0.75rem; }
.or4s-citat cite { font-style: normal; font-size: 0.875rem; color: var(--or4s-ink-soft); }

/* ---------- Login ---------- */

.or4s-main--uden-menu .or4s-indhold > .or4s-login { margin: 0 !important; }
.or4s-login { display: grid; min-height: 100vh; }
@media (min-width: 782px) { .or4s-login { grid-template-columns: 1fr 1fr; } }
.or4s-login > * { margin: 0 !important; }
.or4s-login__venstre { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.or4s-login__venstre::after { content: ""; position: absolute; right: -8rem; bottom: -8rem; width: 24rem; height: 24rem; border-radius: 50%; background: rgba(123, 160, 136, 0.2); filter: blur(64px); pointer-events: none; }
.or4s-login__venstre > * { margin: 0 !important; position: relative; z-index: 1; }
.or4s-login__venstre > .wp-block-group { max-width: 28rem; }
.or4s-login__venstre > .wp-block-group > * { margin-block: 0; }
.or4s-login__venstre > .wp-block-group > h1 { margin-bottom: 1.5rem; color: var(--or4s-creme); }
.or4s-login__logo { max-width: 220px; }
.or4s-login__fod { color: rgba(245, 239, 230, 0.4); }
.or4s-login__hoejre { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 5vw, 3rem); }
.or4s-login__boks { width: 100%; max-width: 28rem; }
.or4s-login__boks > * { margin-block: 0; }
.or4s-login__boks .or4s-eyebrow { margin-bottom: 1rem !important; position: relative; padding-left: 1.3rem; }
.or4s-ikon-laas::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 0.85rem; height: 0.85rem; background: currentColor; -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%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%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%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat; }
.or4s-login__boks h2 { margin-bottom: 0.75rem; font-size: 2.6rem !important; }
.or4s-login__boks .or4s-daempet { margin-bottom: 2rem; }
.or4s-loginform p { margin: 0 0 1.25rem; }
.or4s-loginform label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.or4s-loginform .login-remember label { display: flex; gap: 0.5rem; align-items: center; font-weight: 400; }
.or4s-loginform input[type="submit"] { width: 100%; }
.or4s-login__kunde { margin-top: 2rem !important; padding-top: 2rem; border-top: 1px solid var(--or4s-kant); font-size: 0.875rem; color: var(--or4s-ink-soft); }
.or4s-login__kunde a { color: var(--or4s-ink); font-weight: 500; text-underline-offset: 4px; }

/* ---------- Sidefod ---------- */

.or4s-footer { background: var(--or4s-ink); color: rgba(245, 239, 230, 0.7); padding-block: 4rem 3rem; font-size: 0.875rem; }
.or4s-footer__gitter { display: grid; gap: 2.5rem; }
@media (min-width: 782px) { .or4s-footer__gitter { grid-template-columns: 2fr 1fr 1fr; } }
.or4s-footer__gitter > * { margin: 0 !important; }
.or4s-footer__om > *, .or4s-footer__kolonne > * { margin-block: 0; }
.or4s-footer__om .or4s-logo { margin-bottom: 1.25rem; }
.or4s-footer__om p { max-width: 20rem; }
.or4s-footer strong { color: var(--or4s-creme); }
.or4s-footer__titel { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245, 239, 230, 0.5); margin-bottom: 0.75rem !important; }
.or4s-footer p { line-height: 2; }
.or4s-footer__om p { line-height: 1.6; }
.or4s-footer a { color: inherit; text-decoration: none; }
.or4s-footer a:hover { color: var(--or4s-creme); }
.or4s-footer__bund { margin-top: 3rem !important; padding-top: 2rem; border-top: 1px solid rgba(245, 239, 230, 0.1); font-size: 0.75rem; color: rgba(245, 239, 230, 0.5); }
.or4s-footer__bund p { margin: 0; }

/* ---------- Almindelige sider og indlæg ---------- */

.or4s-artikel { padding-block: 5rem; padding-inline: var(--or4s-gutter); }

/* WordPress' sorte værktøjslinje (kun for indloggede): webstedsikonet skal være lille */
#wpadminbar img:not(.avatar) { width: 20px !important; height: 20px !important; max-width: 20px !important; }
