/* ================================================================
   ROSTED BANG — bygget på Wondats ejendomstemplate
   Minimalistisk · monokrom · billedfokuseret

   Alle regler starter med .rb-site (klasse på <body>), så de vinder
   over Hello Elementors theme.css og Elementor-kittets globale stile
   (.elementor-kit-N a/button/h2 = 0,1,1). Knapper og links har egne
   :hover-regler, fordi kittets a:hover er 0,2,1.
   ================================================================ */

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

:root {
	--rb-accent:   #9b7a52;   /* varm egetræstone – bruges sparsomt */
	--rb-ink:      #14110f;
	--rb-ink-2:    #57534e;
	--rb-ink-3:    #8a857f;
	--rb-line:     #e7e4df;
	--rb-line-2:   #d6d2cc;
	--rb-bg:       #ffffff;
	--rb-bg-alt:   #f7f5f2;
	--rb-bg-dark:  #14110f;
	--rb-maxw:     1280px;
	--rb-pad:      40px;
	--rb-hh:       76px;      /* headerhøjde */
	--rb-top:      0px;       /* adminbar-forskydning */
	--rb-t:        0.4s cubic-bezier(0.16, 1, 0.3, 1);
	--rb-ease:     cubic-bezier(0.16, 1, 0.3, 1);
	--rb-body:     'RB Inter', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--rb-display:  'RB Archivo', 'Archivo', 'RB Inter', system-ui, sans-serif;
}
body.admin-bar { --rb-top: 32px; }
@media (max-width: 782px) { body.admin-bar { --rb-top: 46px; } }

/* ---------- Grundlag ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--rb-hh) + var(--rb-top) + 12px); }
body.rb-site {
	margin: 0;
	font-family: var(--rb-body);
	color: var(--rb-ink);
	background: var(--rb-bg);
	line-height: 1.6;
	font-size: 16px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer, .rb-lightbox),
.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer, .rb-lightbox) *,
.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer, .rb-lightbox) *::before,
.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer, .rb-lightbox) *::after { box-sizing: border-box; }
.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer) :where(p, ul, ol, dl, dd, blockquote, figure, h1, h2, h3, h4) { margin: 0; padding: 0; }
.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer) :where(ul, ol) { list-style: none; }
.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer, .rb-lightbox) img { max-width: 100%; height: auto; display: block; border: 0; border-radius: 0; box-shadow: none; }
.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer) a { text-decoration: none; color: inherit; }
/* Knap-nulstilling. Hello giver alle knapper rød kant og rød hover, og kittet giver
   dem padding/versaler (.elementor-kit-N button = 0,1,1). .rb-site.rb-site = 0,2,0 vinder
   over kittet, men taber til komponenternes egne regler (0,3,0), som står senere. */
.rb-site.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-lightbox) :where(button) {
	font: inherit; color: inherit; background: transparent; border: 0; border-radius: 0;
	padding: 0; margin: 0; box-shadow: none; text-transform: none; letter-spacing: inherit; line-height: inherit;
	width: auto; min-height: 0; white-space: normal; text-align: inherit; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.rb-site.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-lightbox) :where(button):is(:hover, :focus, :active) {
	color: inherit; background-color: transparent; box-shadow: none; text-decoration: none;
}
.rb-site :where(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer, .rb-lightbox) :focus-visible { outline: 2px solid var(--rb-accent); outline-offset: 3px; }

/* Elementor-indpakning: widgets fylder hele bredden uden luft */
.rb-site .elementor-widget[data-widget_type^="rb_"] { width: 100%; max-width: 100%; margin: 0; }
.rb-site .elementor-widget[data-widget_type^="rb_"] > .elementor-widget-container { margin: 0; padding: 0; }

.rb-site .rb-wrap { max-width: var(--rb-maxw); margin: 0 auto; padding: 0 var(--rb-pad); width: 100%; }

/* ---------- Typografi ---------- */
.rb-site :is(.rb-block, .rb-header, .rb-mobile-menu, .rb-footer) :is(h1, h2, h3, h4) {
	font-family: var(--rb-display);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--rb-ink);
	text-transform: none;
	margin: 0;
}
.rb-site .rb-block h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.rb-site .rb-block h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
.rb-site .rb-block h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

.rb-site .rb-label {
	display: inline-block;
	font-family: var(--rb-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rb-ink-3);
	line-height: 1.4;
}
.rb-site .rb-lead { font-size: 1.08rem; color: var(--rb-ink-2); line-height: 1.7; }
.rb-site .rb-muted { color: var(--rb-ink-2); }

/* ---------- Knapper ---------- */
.rb-site .rb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	font-family: var(--rb-body);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	border-radius: 2px;
	border: 1px solid transparent;
	transition: all var(--rb-t);
	cursor: pointer;
	white-space: nowrap;
	box-shadow: none;
}
.rb-site .rb-btn svg { transition: transform var(--rb-t); flex-shrink: 0; }
.rb-site .rb-btn:hover svg { transform: translateX(4px); }
.rb-site .rb-btn.rb-btn-dark, .rb-site .rb-btn.rb-btn-dark:is(:hover, :focus, :visited) { background: var(--rb-ink); color: #fff; border-color: var(--rb-ink); }
.rb-site .rb-btn.rb-btn-dark:hover { background: #2c2722; border-color: #2c2722; }
.rb-site .rb-btn.rb-btn-light, .rb-site .rb-btn.rb-btn-light:is(:hover, :focus, :visited) { background: #fff; color: var(--rb-ink); border-color: var(--rb-line-2); }
.rb-site .rb-btn.rb-btn-light:hover { border-color: var(--rb-ink); }
.rb-site .rb-btn.rb-btn-ghost, .rb-site .rb-btn.rb-btn-ghost:is(:hover, :focus, :visited) { color: var(--rb-ink); background: transparent; border: 0; border-bottom: 1px solid var(--rb-ink); border-radius: 0; padding: 4px 0; }
.rb-site .rb-btn.rb-btn-ghost-light, .rb-site .rb-btn.rb-btn-ghost-light:is(:hover, :focus, :visited) { color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.4); border-radius: 0; padding: 4px 0; }
.rb-site .rb-btn.rb-btn-ghost-light:hover { border-bottom-color: #fff; }

/* ================================================================
   SCROLL-ANIMATIONER (skjules kun når JS kører – html.rb-js)
   ================================================================ */
.rb-js .rb-site .rb-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--rb-ease), transform 0.9s var(--rb-ease);
	will-change: opacity, transform;
}
.rb-js .rb-site .rb-reveal.is-visible { opacity: 1; transform: none; }

.rb-site .rb-reveal-img { overflow: hidden; }
.rb-js .rb-site .rb-reveal-img img {
	transform: scale(1.08);
	opacity: 0;
	transition: transform 1.2s var(--rb-ease), opacity 1.1s var(--rb-ease);
	will-change: transform, opacity;
}
.rb-js .rb-site .rb-reveal-img.is-visible img { transform: scale(1); opacity: 1; }

.rb-js .rb-site .rb-reveal-group > * {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s var(--rb-ease), transform 0.8s var(--rb-ease);
}
.rb-js .rb-site .rb-reveal-group.is-visible > * { opacity: 1; transform: none; }
.rb-site .rb-reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.07s; }
.rb-site .rb-reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.rb-site .rb-reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.rb-site .rb-reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.rb-site .rb-reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.35s; }
.rb-site .rb-reveal-group.is-visible > *:nth-child(7) { transition-delay: 0.42s; }
.rb-site .rb-reveal-group.is-visible > *:nth-child(8) { transition-delay: 0.49s; }
.rb-site .rb-reveal-group.is-visible > *:nth-child(n+9) { transition-delay: 0.56s; }

/* Heroens elementer glider ind forskudt ved sideindlæsning */
.rb-site .rb-hero .rb-reveal:nth-child(2) { transition-delay: 0.08s; }
.rb-site .rb-hero .rb-hero-bottom .rb-reveal:nth-child(1) { transition-delay: 0.18s; }
.rb-site .rb-hero .rb-hero-bottom .rb-reveal:nth-child(2) { transition-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
	.rb-js .rb-site .rb-reveal, .rb-js .rb-site .rb-reveal-img img, .rb-js .rb-site .rb-reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; } /* !important: skal slå alle animationstilstande */
	html { scroll-behavior: auto; }
}

/* ================================================================
   HEADER
   ================================================================ */
.rb-site .rb-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--rb-ink); color: #fff; padding: 12px 18px; }
.rb-site .rb-skip:focus { left: 12px; top: calc(var(--rb-top) + 12px); color: #fff; }

.rb-site .rb-header {
	position: sticky;
	top: var(--rb-top);
	z-index: 100;
	background: rgba(255,255,255,0.86);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--rb-line);
	transition: background var(--rb-t), box-shadow var(--rb-t);
}
.rb-site .rb-header.is-scrolled { background: rgba(255,255,255,0.94); box-shadow: 0 10px 30px -24px rgba(20,17,15,0.35); }
.rb-site .rb-header-inner { display: flex; align-items: stretch; height: var(--rb-hh); gap: 32px; }

.rb-site .rb-brand, .rb-site .rb-brand:hover {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: var(--rb-ink);
	font-family: var(--rb-display);
	font-weight: 800;
	font-size: 1.12rem;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 1;
}
.rb-site .rb-brand-img { height: 38px; width: auto; }
.rb-site .rb-brand-mono {
	margin-left: 12px;
	padding-left: 12px;
	border-left: 1px solid var(--rb-ink);
	letter-spacing: -0.08em;
	font-weight: 800;
	transition: letter-spacing var(--rb-t);
}
.rb-site .rb-brand:hover .rb-brand-mono { letter-spacing: 0.02em; }

.rb-site .rb-nav { display: flex; align-items: stretch; gap: 30px; margin-left: auto; }
.rb-site .rb-nav-drop { display: flex; align-items: center; }
.rb-site .rb-nav-link, .rb-site .rb-nav-link:is(:hover, :focus, :visited) {
	position: relative;
	display: inline-flex;
	align-items: center;
	align-self: center;
	gap: 6px;
	padding: 4px 0;
	font-family: var(--rb-body);
	font-size: 0.86rem;
	font-weight: 500;
	color: var(--rb-ink);
	white-space: nowrap;
	transition: color var(--rb-t);
}
.rb-site .rb-nav-link::after {
	content: '';
	position: absolute;
	left: 0; bottom: -2px;
	width: 0; height: 1px;
	background: var(--rb-ink);
	transition: width var(--rb-t);
}
.rb-site .rb-nav-link:hover::after,
.rb-site .rb-nav-link.is-active::after,
.rb-site .rb-nav-drop:hover .rb-nav-link::after,
.rb-site .rb-nav-drop.is-open .rb-nav-link::after { width: 100%; }
.rb-site .rb-chev { transition: transform var(--rb-t); }
.rb-site .rb-nav-drop:hover .rb-chev, .rb-site .rb-nav-drop.is-open .rb-chev { transform: rotate(180deg); }

/* Dropdown med billeder */
.rb-site .rb-drop-panel {
	position: absolute;
	left: 0; right: 0; top: 100%;
	background: #fff;
	border-top: 1px solid var(--rb-line);
	border-bottom: 1px solid var(--rb-line);
	box-shadow: 0 30px 60px -40px rgba(20,17,15,0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.35s var(--rb-ease), transform 0.45s var(--rb-ease), visibility 0s linear 0.35s;
}
.rb-site .rb-nav-drop:hover .rb-drop-panel,
.rb-site .rb-nav-drop.is-open .rb-drop-panel,
.rb-site .rb-nav-drop:focus-within .rb-drop-panel {
	opacity: 1; visibility: visible; transform: none;
	transition: opacity 0.35s var(--rb-ease), transform 0.45s var(--rb-ease), visibility 0s;
}
.rb-site .rb-drop-inner { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding-top: 32px; padding-bottom: 36px; }
.rb-site .rb-drop-intro .rb-label { margin-bottom: 14px; }
.rb-site .rb-drop-intro p { font-size: 0.92rem; color: var(--rb-ink-2); line-height: 1.6; margin-bottom: 22px; }
.rb-site .rb-drop-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.rb-site .rb-drop-item, .rb-site .rb-drop-item:is(:hover, :focus, :visited) { display: block; color: var(--rb-ink); }
.rb-site .rb-drop-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--rb-bg-alt); }
.rb-site .rb-drop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--rb-ease); }
.rb-site .rb-drop-item:hover .rb-drop-media img { transform: scale(1.06); }
.rb-site .rb-drop-name { display: block; margin-top: 10px; font-family: var(--rb-display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; transition: opacity var(--rb-t); }
.rb-site .rb-drop-item:hover .rb-drop-name { opacity: 0.6; }
.rb-site .rb-drop-item.is-active .rb-drop-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.rb-site .rb-header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.rb-site .rb-header-cta .rb-btn { padding: 12px 20px; }
.rb-site .rb-header .rb-burger, .rb-site .rb-header .rb-burger:is(:hover, :focus) { display: none; flex-direction: column; gap: 5px; padding: 10px 8px; margin-right: -8px; background: transparent; }
.rb-site .rb-burger span { display: block; width: 24px; height: 2px; background: var(--rb-ink); transition: transform 0.3s ease, opacity 0.3s ease; }
.rb-site .rb-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rb-site .rb-burger.is-open span:nth-child(2) { opacity: 0; }
.rb-site .rb-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobilmenu */
.rb-site .rb-mobile-menu {
	position: fixed;
	top: calc(var(--rb-hh) + var(--rb-top));
	left: 0; right: 0; bottom: 0;
	background: #fff;
	z-index: 99;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.45s var(--rb-ease), visibility 0s linear 0.45s;
	padding: 24px var(--rb-pad) 32px;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.rb-site .rb-mobile-menu.is-open { transform: translateX(0); visibility: visible; transition: transform 0.45s var(--rb-ease), visibility 0s; }
.rb-site .rb-mobile-nav > a, .rb-site .rb-m-row > a,
.rb-site .rb-mobile-nav > a:is(:hover, :focus, :visited), .rb-site .rb-m-row > a:is(:hover, :focus, :visited) {
	font-family: var(--rb-display);
	font-size: 1.7rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--rb-ink);
	padding: 13px 0;
	display: flex;
	align-items: center;
}
.rb-site .rb-mobile-nav > a { border-bottom: 1px solid var(--rb-line); }
.rb-site .rb-m-group { border-bottom: 1px solid var(--rb-line); }
.rb-site .rb-m-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rb-site .rb-m-row > a { flex: 1; }
.rb-site .rb-mobile-menu .rb-m-toggle, .rb-site .rb-mobile-menu .rb-m-toggle:is(:hover, :focus) {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--rb-line-2); border-radius: 50%; color: var(--rb-ink); background: transparent;
}
.rb-site .rb-m-toggle svg { transition: transform var(--rb-t); }
.rb-site .rb-m-group.is-open .rb-m-toggle svg { transform: rotate(180deg); }
.rb-site .rb-m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--rb-t); }
.rb-site .rb-m-group.is-open .rb-m-sub { grid-template-rows: 1fr; }
.rb-site .rb-m-sub-inner { overflow: hidden; display: flex; flex-direction: column; }
.rb-site .rb-m-sub-inner a, .rb-site .rb-m-sub-inner a:is(:hover, :focus, :visited) {
	font-size: 1.02rem; font-weight: 500; color: var(--rb-ink-2); padding: 9px 0 9px 16px;
	border-left: 1px solid var(--rb-line); margin-left: 2px;
}
.rb-site .rb-m-sub-inner a:last-child { margin-bottom: 16px; }
.rb-site .rb-m-foot { margin-top: auto; padding-top: 32px; }
.rb-site .rb-m-foot .rb-btn { width: 100%; }
.rb-site .rb-m-kontakt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 0.9rem; }
.rb-site .rb-m-kontakt a, .rb-site .rb-m-kontakt a:is(:hover, :focus, :visited) { color: var(--rb-ink-2); }

/* ================================================================
   HERO-SLIDER
   ================================================================ */
.rb-site .rb-hero {
	position: relative;
	min-height: calc(100vh - var(--rb-hh) - var(--rb-top));
	min-height: calc(100svh - var(--rb-hh) - var(--rb-top));
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--rb-bg-dark);
	color: #fff;
}
.rb-site .rb-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.rb-site .rb-hero-media picture { display: block; width: 100%; height: 100%; }
.rb-site .rb-hero .rb-hero-media :is(img, video) {
	position: absolute; inset: 0;
	width: 100%; height: 100%; max-width: none; object-fit: cover;
}
/* Stillbilledet zoomer langsomt ind ved indlæsning – samme ro som templatens billeder */
.rb-js .rb-site .rb-hero .rb-hero-media img { transform: scale(1.06); transition: transform 2.4s var(--rb-ease); }
.rb-js .rb-site .rb-hero.is-klar .rb-hero-media img { transform: scale(1); }
.rb-site .rb-hero .rb-hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.rb-site .rb-hero.is-spiller .rb-hero-media video { opacity: 1; }
.rb-site .rb-hero-shade {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(to right, rgba(20,17,15,0.55) 0%, rgba(20,17,15,0.18) 55%, rgba(20,17,15,0) 80%),
		linear-gradient(to top, rgba(20,17,15,0.85) 0%, rgba(20,17,15,0.25) 50%, rgba(20,17,15,0.3) 100%);
}
.rb-site .rb-hero-inner { position: relative; z-index: 2; padding-bottom: 96px; padding-top: 110px; }
.rb-site .rb-hero .rb-hero-label { color: rgba(255,255,255,0.72); margin-bottom: 22px; }
.rb-site .rb-hero h1 { color: #fff; max-width: 17ch; }
.rb-site .rb-hero h1 em { font-style: normal; opacity: 0.72; }
.rb-site .rb-hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.rb-site .rb-hero-sub { color: rgba(255,255,255,0.84); max-width: 46ch; font-size: 1.05rem; line-height: 1.7; }
.rb-site .rb-hero-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }

.rb-site .rb-hero .rb-hero-pause, .rb-site .rb-hero .rb-hero-pause:is(:hover, :focus) {
	position: absolute; bottom: 24px; z-index: 3;
	right: max(var(--rb-pad), calc((100% - var(--rb-maxw)) / 2 + var(--rb-pad))); /* flugter med indholdets højre kant */
	width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff; background: rgba(20,17,15,0.25); border: 1px solid rgba(255,255,255,0.35);
	opacity: 0.7; transition: opacity var(--rb-t), background var(--rb-t);
}
.rb-site .rb-hero .rb-hero-pause:hover { opacity: 1; background: rgba(20,17,15,0.5); }
.rb-site .rb-hero-pause .rb-ik-afspil { display: none; }
.rb-site .rb-hero-pause[aria-pressed="true"] .rb-ik-pause { display: none; }
.rb-site .rb-hero-pause[aria-pressed="true"] .rb-ik-afspil { display: block; }
.rb-site .rb-hero:not(.is-spiller):not(.is-pauset) .rb-hero-pause { visibility: hidden; }

.rb-site .rb-scroll-hint {
	position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3;
	color: rgba(255,255,255,0.6);
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
	pointer-events: none;
}
.rb-site .rb-scroll-hint .rb-line { width: 1px; height: 30px; background: rgba(255,255,255,0.4); animation: rbScrollLinje 2s ease-in-out infinite; transform-origin: top; }
@keyframes rbScrollLinje { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ================================================================
   TALBÅND
   ================================================================ */
.rb-site .rb-stats { border-bottom: 1px solid var(--rb-line); }
.rb-site .rb-stats-grid { display: grid; grid-template-columns: 0.8fr repeat(3, 1fr); }
.rb-site .rb-stats-grid > div { padding: 48px 32px; border-right: 1px solid var(--rb-line); }
.rb-site .rb-stats-grid > div:first-child { padding-left: 0; }
.rb-site .rb-stats-grid > div:last-child { border-right: none; }
.rb-site .rb-stat-intro { display: flex; align-items: center; font-family: var(--rb-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
.rb-site .rb-stat-num { font-family: var(--rb-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; }
.rb-site .rb-stat-label { font-size: 0.84rem; color: var(--rb-ink-2); margin-top: 10px; line-height: 1.5; }

/* ================================================================
   SEKTIONER · TO KOLONNER
   ================================================================ */
.rb-site .rb-section { padding: 110px 0; }
.rb-site .rb-section-sm { padding: 80px 0; }
.rb-site .rb-bg-alt { background: var(--rb-bg-alt); }
.rb-site .rb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.rb-site .rb-split-intro .rb-label { margin-bottom: 20px; }
.rb-site .rb-split-intro h2 { max-width: 14ch; }
.rb-site .rb-split-body p { margin-bottom: 18px; }
.rb-site .rb-split-body p:last-of-type { margin-bottom: 28px; }
.rb-site .rb-split-body p:last-child { margin-bottom: 0; }

.rb-site .rb-section-head {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.rb-site .rb-section-head h2 { max-width: 16ch; }
.rb-site .rb-section-head .rb-label { margin-bottom: 16px; display: block; }
.rb-site .rb-note { font-size: 0.88rem; }

/* ================================================================
   KORTGITTER
   Billedhøjden regnes ud fra gitterets bredde (container-enheder),
   så det store kort altid flugter med de små.
   ================================================================ */
.rb-site .rb-kort-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 14px; container-type: inline-size; }
.rb-site .rb-kort, .rb-site .rb-kort:is(:hover, :focus, :visited) { display: block; color: var(--rb-ink); min-width: 0; }
.rb-site .rb-kort--bred { grid-column: span 2; }
.rb-site .rb-kort-media {
	position: relative; overflow: hidden; background: var(--rb-bg-alt);
	height: calc((100cqw - 28px) / 3 * 1.18);
}
.rb-site .rb-kort-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--rb-ease); }
.rb-site .rb-kort:hover .rb-kort-media img { transform: scale(1.05); }
.rb-site .rb-kort-tag {
	position: absolute; top: 14px; left: 14px;
	display: inline-flex; align-items: center; gap: 7px;
	padding: 5px 12px;
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.4;
	color: var(--rb-ink); background: #fff; border-radius: 100px;
}
.rb-site .rb-kort-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rb-accent); }
.rb-site .rb-kort-body { padding: 18px 2px 4px; }
.rb-site .rb-kort-over { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rb-ink-3); margin-bottom: 7px; }
.rb-site .rb-kort-titel { font-family: var(--rb-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 12px; transition: opacity var(--rb-t); }
.rb-site .rb-kort--bred .rb-kort-titel { font-size: 1.3rem; }
.rb-site .rb-kort:hover .rb-kort-titel { opacity: 0.6; }
.rb-site .rb-kort-meta { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--rb-ink-2); }
.rb-site .rb-kort-meta svg { color: var(--rb-ink); transition: transform var(--rb-t); }
.rb-site .rb-kort:hover .rb-kort-meta svg { transform: translateX(4px); }

/* Mørkt afslutningskort */
.rb-site .rb-kort.rb-kort--cta, .rb-site .rb-kort.rb-kort--cta:is(:hover, :focus, :visited) {
	position: relative; overflow: hidden; background: var(--rb-bg-dark); color: #fff;
	display: flex; align-items: flex-end; min-height: 360px;
}
.rb-site .rb-kort-cta-bg { position: absolute; inset: 0; }
.rb-site .rb-kort-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; transition: transform 0.9s var(--rb-ease), opacity var(--rb-t); }
.rb-site .rb-kort--cta:hover .rb-kort-cta-bg img { transform: scale(1.05); opacity: 0.34; }
.rb-site .rb-kort-cta-inner { position: relative; padding: 30px; }
.rb-site .rb-kort--cta .rb-label { color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.rb-site .rb-block .rb-kort--cta h3 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.rb-site .rb-kort--cta p { color: rgba(255,255,255,0.75); font-size: 0.94rem; line-height: 1.6; margin-bottom: 22px; max-width: 30ch; }

/* ================================================================
   MØRK SEKTION (vision)
   ================================================================ */
.rb-site .rb-dark { background: var(--rb-bg-dark); color: #fff; }
.rb-site .rb-dark .rb-label { color: rgba(255,255,255,0.5); }
.rb-site .rb-block.rb-dark :is(h2, h3) { color: #fff; }
.rb-site .rb-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rb-site .rb-vision--vend .rb-vision-img { order: 2; }
.rb-site .rb-vision-img { aspect-ratio: 4 / 5; overflow: hidden; background: #221d1a; }
.rb-site .rb-vision-img img { width: 100%; height: 100%; object-fit: cover; }
.rb-site .rb-vision-img.rb-fokus-top img { object-position: 50% 15%; }
.rb-site .rb-vision-text .rb-label { margin-bottom: 18px; display: block; }
.rb-site .rb-vision-text h2 { max-width: 14ch; margin-bottom: 26px; }
.rb-site .rb-vision-text p { color: rgba(255,255,255,0.72); margin-bottom: 18px; line-height: 1.75; }
.rb-site .rb-vision-text .rb-btn { margin-top: 14px; }
.rb-site .rb-citat { border-left: 1px solid rgba(255,255,255,0.3); padding-left: 24px; margin: 0 0 28px; }
.rb-site .rb-vision-text .rb-citat p { font-family: var(--rb-display); font-weight: 500; font-size: 1.22rem; line-height: 1.5; letter-spacing: -0.01em; color: #fff; margin-bottom: 14px; }
.rb-site .rb-citat p::before { content: '“'; }
.rb-site .rb-citat p::after { content: '”'; }
.rb-site .rb-citat cite { font-style: normal; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

/* ================================================================
   FAQ
   ================================================================ */
.rb-site .rb-faq-split { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 64px; align-items: start; }
.rb-site .rb-faq-split h2 { margin-top: 14px; max-width: 12ch; }
.rb-site .rb-faq-list { border-top: 1px solid var(--rb-line); }
.rb-site .rb-faq-item { border-bottom: 1px solid var(--rb-line); }
.rb-site .rb-faq-item .rb-faq-q, .rb-site .rb-faq-item .rb-faq-q:is(:hover, :focus) {
	width: 100%;
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 26px 0;
	text-align: left;
	font-family: var(--rb-display);
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--rb-ink);
	background: transparent;
}
.rb-site .rb-faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.rb-site .rb-faq-icon::before, .rb-site .rb-faq-icon::after { content: ''; position: absolute; background: var(--rb-ink); transition: transform var(--rb-t); }
.rb-site .rb-faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.rb-site .rb-faq-icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.rb-site .rb-faq-item.is-open .rb-faq-icon::after { transform: scaleY(0); }
.rb-site .rb-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--rb-t); }
.rb-site .rb-faq-item.is-open .rb-faq-a { grid-template-rows: 1fr; }
.rb-site .rb-faq-a-inner { overflow: hidden; }
.rb-site .rb-faq-a-inner p { padding-bottom: 26px; color: var(--rb-ink-2); line-height: 1.75; max-width: 60ch; }

/* ================================================================
   KONTAKTBÅND
   ================================================================ */
.rb-site .rb-cta-band { background: var(--rb-bg-alt); }
.rb-site .rb-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.rb-site .rb-cta-inner h2 { max-width: 18ch; margin-top: 14px; }
.rb-site .rb-cta-inner p { margin-top: 14px; max-width: 46ch; }
.rb-site .rb-cta-inner .rb-hero-actions { gap: 14px; }

/* ================================================================
   SIDEHOVED + LØSNINGSHOVED
   ================================================================ */
.rb-site .rb-page-head { border-bottom: 1px solid var(--rb-line); padding: 52px 0 44px; background: var(--rb-bg); }
.rb-site .rb-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: var(--rb-ink-3); margin-bottom: 28px; }
.rb-site .rb-breadcrumb a, .rb-site .rb-breadcrumb a:is(:hover, :focus, :visited) { color: var(--rb-ink-3); transition: color var(--rb-t); }
.rb-site .rb-breadcrumb a:hover { color: var(--rb-ink); }
.rb-site .rb-breadcrumb span { opacity: 0.5; }
.rb-site .rb-page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.rb-site .rb-page-head .rb-label { margin-bottom: 16px; display: block; }
.rb-site .rb-page-head h1 { max-width: 18ch; }
.rb-site .rb-page-head .rb-lead { max-width: 46ch; }
.rb-site .rb-page-hero-wrap { padding-top: 40px; }

.rb-site .rb-detail-head { padding: 48px 0 36px; }
.rb-site .rb-detail-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.rb-site .rb-detail-title-wrap { max-width: 60ch; }
.rb-site .rb-pill {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 5px 12px; margin-bottom: 18px;
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
	border: 1px solid var(--rb-line); border-radius: 100px; background: #fff;
}
.rb-site .rb-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rb-accent); }
.rb-site .rb-block.rb-detail-head h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 14px; }
.rb-site .rb-detail-loc { display: inline-flex; align-items: center; gap: 8px; color: var(--rb-ink-2); font-size: 0.98rem; }
.rb-site .rb-detail-box { text-align: right; }
.rb-site .rb-pl { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rb-ink-3); margin-bottom: 6px; }
.rb-site .rb-pv { font-family: var(--rb-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.05; }
.rb-site .rb-detail-hero { aspect-ratio: 16 / 8.5; overflow: hidden; background: var(--rb-bg-alt); }
.rb-site .rb-detail-hero img { width: 100%; height: 100%; object-fit: cover; }

.rb-site .rb-facts { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--rb-line); border-radius: 2px; margin: 48px 0 0; }
.rb-site .rb-facts--4 { grid-template-columns: repeat(4, 1fr); }
.rb-site .rb-facts--3 { grid-template-columns: repeat(3, 1fr); }
.rb-site .rb-fact { padding: 26px 24px; border-right: 1px solid var(--rb-line); }
.rb-site .rb-fact:last-child { border-right: none; }
.rb-site .rb-fact-icon { color: var(--rb-ink-3); margin-bottom: 14px; }
.rb-site .rb-fact-num { font-family: var(--rb-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.15; }
.rb-site .rb-fact-label { font-size: 0.78rem; color: var(--rb-ink-2); margin-top: 8px; }

/* Beskrivelse */
.rb-site .rb-desc-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: start; }
.rb-site .rb-block .rb-desc-body h2 { font-size: 1.7rem; margin-bottom: 22px; max-width: 22ch; }
.rb-site .rb-desc-body p { color: var(--rb-ink-2); line-height: 1.8; margin-bottom: 18px; }
.rb-site .rb-desc-features { border-top: 1px solid var(--rb-ink); padding-top: 24px; }
.rb-site .rb-block .rb-desc-features h4 { font-family: var(--rb-body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rb-ink-3); margin-bottom: 18px; }
.rb-site .rb-desc-features li, .rb-site .rb-case-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rb-line); font-size: 0.94rem; line-height: 1.45; }
.rb-site .rb-desc-features li svg, .rb-site .rb-case-list li svg { color: var(--rb-ink); flex-shrink: 0; }

/* ================================================================
   GALLERI
   ================================================================ */
.rb-site .rb-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; container-type: inline-size; }
.rb-site .rb-gallery .rb-gallery-item, .rb-site .rb-gallery .rb-gallery-item:is(:hover, :focus) {
	display: block; width: 100%; padding: 0; border: 0; border-radius: 0;
	position: relative; overflow: hidden; cursor: zoom-in;
	height: calc((100cqw - 24px) / 3 * 1.25);
	background: var(--rb-bg-alt);
}
.rb-site .rb-gallery-item.rb-span-2 { grid-column: span 2; }
.rb-site .rb-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--rb-ease); }
.rb-site .rb-gallery-item:hover img { transform: scale(1.04); }
.rb-site .rb-gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(20,17,15,0); transition: background var(--rb-t); pointer-events: none; }
.rb-site .rb-gallery-item:hover::after { background: rgba(20,17,15,0.08); }

/* ================================================================
   CASE
   ================================================================ */
.rb-site .rb-case-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.rb-site .rb-case--vend .rb-case-main { order: 2; }
.rb-site .rb-case .rb-case-main, .rb-site .rb-case .rb-case-main:is(:hover, :focus) {
	display: block; width: 100%; padding: 0; border: 0; border-radius: 0;
	aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; background: var(--rb-bg-alt);
}
.rb-site .rb-case-main img { width: 100%; height: 100%; object-fit: cover; }
.rb-js .rb-site .rb-case-main.is-visible img { transition: transform 1.2s var(--rb-ease), opacity 1.1s var(--rb-ease); }
.rb-site .rb-case-main.is-visible:hover img { transform: scale(1.03); }
.rb-site .rb-case-text .rb-label { margin-bottom: 16px; display: block; }
.rb-site .rb-case-text h2 { max-width: 15ch; margin-bottom: 22px; }
.rb-site .rb-case-text > p { line-height: 1.75; margin-bottom: 16px; max-width: 54ch; }
.rb-site .rb-case-list { margin: 22px 0 0; border-top: 1px solid var(--rb-line); }
.rb-site .rb-case-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 28px; }
.rb-site .rb-case .rb-case-thumb, .rb-site .rb-case .rb-case-thumb:is(:hover, :focus) {
	display: block; width: 100%; padding: 0; border: 0; border-radius: 0;
	aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: var(--rb-line);
}
.rb-site .rb-case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--rb-ease), opacity var(--rb-t); }
.rb-site .rb-case-thumb:hover img { transform: scale(1.08); opacity: 0.85; }
.rb-site .rb-case-text .rb-btn { margin-top: 28px; }

/* ================================================================
   PROCES-TRIN – linjen tegnes trin for trin, når sektionen ses
   ================================================================ */
.rb-site .rb-proces-head { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.rb-site .rb-proces-head .rb-label { grid-column: 1 / -1; margin-bottom: -44px; }
.rb-site .rb-proces-head h2 { max-width: 14ch; }
.rb-site .rb-proces-head .rb-lead { max-width: 52ch; }
.rb-site .rb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--rb-line); }
.rb-site .rb-step { position: relative; padding: 30px 28px 8px 0; }
.rb-site .rb-step::before {
	content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 0;
	background: var(--rb-ink); transition: width 1s var(--rb-ease);
}
.rb-site .rb-reveal-group.is-visible .rb-step::before { width: 100%; }
.rb-site .rb-reveal-group.is-visible .rb-step:nth-child(2)::before { transition-delay: 0.25s; }
.rb-site .rb-reveal-group.is-visible .rb-step:nth-child(3)::before { transition-delay: 0.5s; }
.rb-site .rb-reveal-group.is-visible .rb-step:nth-child(4)::before { transition-delay: 0.75s; }
.rb-site .rb-reveal-group.is-visible .rb-step:nth-child(5)::before { transition-delay: 1s; }
.rb-site .rb-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.rb-site .rb-step-num { font-family: var(--rb-display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.03em; line-height: 1; }
.rb-site .rb-step-icon { color: var(--rb-ink-3); transition: color var(--rb-t), transform var(--rb-t); }
.rb-site .rb-step:hover .rb-step-icon { color: var(--rb-ink); transform: translateY(-3px); }
.rb-site .rb-block .rb-step h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.25; }
.rb-site .rb-step p { color: var(--rb-ink-2); font-size: 0.92rem; line-height: 1.7; }

/* ================================================================
   KONTAKTFORMULAR
   ================================================================ */
.rb-site .rb-detail-contact { background: var(--rb-bg-alt); }
.rb-site .rb-dc-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rb-site .rb-dc-text .rb-label { display: block; margin-bottom: 14px; }
.rb-site .rb-block .rb-dc-text h2 { font-size: 2rem; margin-bottom: 16px; max-width: 16ch; }
.rb-site .rb-dc-text > p { line-height: 1.7; }
.rb-site .rb-info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--rb-line-2); }
.rb-site .rb-info dt { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rb-ink-3); margin-bottom: 6px; }
.rb-site .rb-info dd { margin: 0; font-size: 0.96rem; line-height: 1.55; }
.rb-site .rb-info dd a, .rb-site .rb-info dd a:is(:hover, :focus, :visited) { color: var(--rb-ink); border-bottom: 1px solid var(--rb-line-2); transition: border-color var(--rb-t); }
.rb-site .rb-info dd a:hover { border-bottom-color: var(--rb-ink); }
.rb-site .rb-dc-agent { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.rb-site .rb-dc-agent-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--rb-ink); flex-shrink: 0; }
.rb-site .rb-dc-agent .rb-dc-initialer { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--rb-display); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; }
.rb-site .rb-dc-agent strong { display: block; font-size: 0.95rem; }
.rb-site .rb-dc-agent span { font-size: 0.85rem; color: var(--rb-ink-2); }
.rb-site .rb-dc-agent a, .rb-site .rb-dc-agent a:is(:hover, :focus, :visited) { color: var(--rb-ink); font-weight: 600; }

.rb-site .rb-dc-form { background: #fff; padding: 36px; border: 1px solid var(--rb-line); }
.rb-site .rb-dc-form .rb-field { margin-bottom: 16px; min-width: 0; }
.rb-site .rb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rb-site .rb-dc-form .rb-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; line-height: 1.4; color: var(--rb-ink); }
.rb-site .rb-dc-form .rb-field :is(input, textarea) {
	width: 100%; padding: 12px 14px; margin: 0;
	border: 1px solid var(--rb-line-2); border-radius: 2px;
	font-family: var(--rb-body); font-size: 1rem; line-height: 1.4;
	background: #fff; color: var(--rb-ink); box-shadow: none;
	transition: border-color var(--rb-t);
}
.rb-site .rb-dc-form .rb-field :is(input, textarea):focus { outline: none; border-color: var(--rb-ink); }
.rb-site .rb-dc-form .rb-field textarea { resize: vertical; min-height: 110px; }
.rb-site .rb-dc-form .rb-btn { width: 100%; margin-top: 6px; }
.rb-site .rb-form-note { font-size: 0.78rem; color: var(--rb-ink-3); margin-top: 14px; text-align: center; }
.rb-site .rb-form-besked { padding: 14px 16px; margin-bottom: 20px; font-size: 0.92rem; border-left: 2px solid; }
.rb-site .rb-form-besked.is-ok { background: #eef4ef; border-color: #1c6b4a; color: #164f38; }
.rb-site .rb-form-besked.is-fejl { background: #f8eeec; border-color: #a33a2b; color: #7d2a1f; }
.rb-site .rb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ================================================================
   LIGHTBOX
   ================================================================ */
.rb-site .rb-lightbox {
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(20,17,15,0.95);
	display: flex; align-items: center; justify-content: center;
	padding: 40px;
	opacity: 0; visibility: hidden;
	transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.rb-site .rb-lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s ease, visibility 0s; }
.rb-site .rb-lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; transition: opacity 0.25s ease; }
.rb-site .rb-lightbox img.is-loading { opacity: 0.3; }
.rb-site .rb-lightbox .rb-lb-close, .rb-site .rb-lightbox .rb-lb-close:is(:hover, :focus) {
	position: absolute; top: 18px; right: 22px; width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0.8;
}
.rb-site .rb-lightbox .rb-lb-nav, .rb-site .rb-lightbox .rb-lb-nav:is(:hover, :focus) {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 56px; height: 56px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: #fff; border: 1px solid rgba(255,255,255,0.3); opacity: 0.8;
	transition: opacity var(--rb-t), background var(--rb-t);
}
.rb-site .rb-lightbox .rb-lb-nav:hover, .rb-site .rb-lightbox .rb-lb-close:hover { opacity: 1; background: rgba(255,255,255,0.08); }
.rb-site .rb-lb-prev { left: 22px; }
.rb-site .rb-lb-next { right: 22px; }
.rb-site .rb-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.82rem; letter-spacing: 0.08em; }
.rb-site .rb-lb-alt { position: absolute; bottom: 22px; left: 28px; right: 28px; text-align: left; color: rgba(255,255,255,0.7); font-size: 0.86rem; pointer-events: none; padding-right: 90px; }

/* ================================================================
   FOOTER
   ================================================================ */
.rb-site .rb-footer { background: var(--rb-bg-dark); color: #fff; overflow: hidden; }
.rb-site .rb-footer-top { padding-top: 80px; padding-bottom: 60px; }
.rb-site .rb-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.rb-site .rb-footer .rb-footer-brand h3 { color: #fff; font-size: 1.4rem; margin-bottom: 16px; text-transform: uppercase; font-weight: 800; }
.rb-site .rb-footer-brand p { color: rgba(255,255,255,0.55); max-width: 34ch; font-size: 0.92rem; line-height: 1.7; }
.rb-site .rb-social { display: flex; gap: 10px; margin-top: 24px; }
.rb-site .rb-social a, .rb-site .rb-social a:is(:hover, :focus, :visited) {
	width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); transition: all var(--rb-t);
}
.rb-site .rb-social a:hover { background: #fff; color: var(--rb-ink); border-color: #fff; }
.rb-site .rb-footer .rb-footer-col h4 { font-family: var(--rb-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.rb-site .rb-footer-col a, .rb-site .rb-footer-col p,
.rb-site .rb-footer-col a:is(:focus, :visited) { display: block; color: rgba(255,255,255,0.62); font-size: 0.92rem; margin-bottom: 11px; transition: color var(--rb-t); line-height: 1.6; }
.rb-site .rb-footer-col a:hover { color: #fff; }
.rb-site .rb-footer-giant {
	font-family: var(--rb-display);
	font-weight: 800;
	font-size: min(11.4vw, 10.6rem);
	line-height: 0.8;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
	padding: 10px 0 30px;
	user-select: none;
}
.rb-site .rb-footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding-top: 22px; padding-bottom: 22px;
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.rb-site .rb-footer-bottom a, .rb-site .rb-footer-bottom a:is(:focus, :visited) { color: rgba(255,255,255,0.4); transition: color var(--rb-t); }
.rb-site .rb-footer-bottom a:hover { color: #fff; }
.rb-site .rb-footer-legal { display: flex; gap: 22px; }

/* ================================================================
   RESPONSIVE – Elementors brudpunkter: tablet ≤ 1024, mobil ≤ 767
   ================================================================ */
@media (max-width: 1180px) {
	.rb-site .rb-nav { gap: 22px; }
	.rb-site .rb-drop-inner { grid-template-columns: 1fr; gap: 24px; }
	.rb-site .rb-drop-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
	.rb-site .rb-drop-intro p { display: none; }
	.rb-site .rb-drop-intro .rb-label { margin: 0; }
}
@media (max-width: 1024px) {
	:root { --rb-pad: 28px; }
	.rb-site .rb-nav, .rb-site .rb-header-cta .rb-btn { display: none; }
	.rb-site .rb-header .rb-burger, .rb-site .rb-header .rb-burger:is(:hover, :focus) { display: flex; }
	.rb-site .rb-header-cta { margin-left: auto; }
	.rb-site .rb-split, .rb-site .rb-vision, .rb-site .rb-faq-split, .rb-site .rb-desc-split, .rb-site .rb-dc-inner, .rb-site .rb-case-grid, .rb-site .rb-proces-head { grid-template-columns: 1fr; gap: 44px; }
	.rb-site .rb-vision--vend .rb-vision-img, .rb-site .rb-case--vend .rb-case-main { order: 0; }
	.rb-site .rb-proces-head { gap: 20px; margin-bottom: 44px; }
	.rb-site .rb-proces-head .rb-label { margin-bottom: 0; }
	.rb-site .rb-stats-grid { grid-template-columns: 1fr 1fr 1fr; }
	.rb-site .rb-stats-grid > div { border-right: none; padding: 30px 20px 30px 0; }
	.rb-site .rb-stats-grid > div:first-child { grid-column: 1 / -1; padding-bottom: 0; }
	.rb-site .rb-kort-grid { grid-template-columns: repeat(2, 1fr); }
	.rb-site .rb-kort-media { height: calc((100cqw - 14px) / 2 * 1.1); }
	.rb-site .rb-kort.rb-kort--cta { grid-column: 1 / -1; min-height: 300px; }
	.rb-site .rb-facts, .rb-site .rb-facts--4, .rb-site .rb-facts--5 { grid-template-columns: repeat(2, 1fr); }
	.rb-site .rb-fact { border-right: none; border-bottom: 1px solid var(--rb-line); }
	.rb-site .rb-fact:nth-child(odd) { border-right: 1px solid var(--rb-line); }
	.rb-site .rb-fact:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
	.rb-site .rb-fact:nth-last-child(-n+1) { border-bottom: none; }
	.rb-site .rb-facts--4 .rb-fact:nth-last-child(2) { border-bottom: none; }
	.rb-site .rb-vision-img { aspect-ratio: 16 / 11; }
	.rb-site .rb-case .rb-case-main { aspect-ratio: 16 / 12; }
	.rb-site .rb-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.rb-site .rb-footer-brand { grid-column: 1 / -1; }
	.rb-site .rb-scroll-hint { display: none; }
}
@media (max-width: 767px) {
	:root { --rb-pad: 20px; --rb-hh: 64px; }
	.rb-site .rb-section { padding: 72px 0; }
	.rb-site .rb-section-sm { padding: 60px 0; }
	.rb-site .rb-brand, .rb-site .rb-brand:hover { font-size: 1rem; }
	.rb-site .rb-brand-img { height: 32px; }
	.rb-site .rb-mobile-nav > a, .rb-site .rb-m-row > a, .rb-site .rb-mobile-nav > a:is(:hover, :focus, :visited), .rb-site .rb-m-row > a:is(:hover, :focus, :visited) { font-size: 1.5rem; padding: 11px 0; }

	.rb-site .rb-hero-inner { padding-bottom: 76px; padding-top: 90px; }
	.rb-site .rb-hero .rb-hero-pause, .rb-site .rb-hero .rb-hero-pause:is(:hover, :focus) { bottom: 20px; }
	.rb-site .rb-hero h1 { font-size: clamp(2.1rem, 9.4vw, 2.8rem); }
	.rb-site .rb-hero-bottom { margin-top: 24px; gap: 24px; }
	.rb-site .rb-hero-sub { font-size: 0.98rem; }
	.rb-site .rb-hero-actions { gap: 18px; }


	.rb-site .rb-stats-grid { grid-template-columns: 1fr; }
	.rb-site .rb-stats-grid > div { padding: 22px 0; border-bottom: 1px solid var(--rb-line); display: flex; align-items: baseline; gap: 18px; }
	.rb-site .rb-stats-grid > div:first-child { padding: 36px 0 14px; border-bottom: 0; }
	.rb-site .rb-stats-grid > div:last-child { border-bottom: 0; }
	.rb-site .rb-stat-num { font-size: 1.8rem; flex: 0 0 136px; white-space: nowrap; }
	.rb-site .rb-stat-label { margin-top: 0; }

	.rb-site .rb-section-head { margin-bottom: 32px; gap: 22px; }
	.rb-site .rb-kort-grid { grid-template-columns: 1fr; gap: 30px; }
	.rb-site .rb-kort--bred { grid-column: auto; }
	.rb-site .rb-kort-media { height: calc(100cqw * 1.02); }
	.rb-site .rb-kort--bred .rb-kort-media { height: calc(100cqw * 0.8); }

	.rb-site .rb-gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
	.rb-site .rb-gallery .rb-gallery-item, .rb-site .rb-gallery .rb-gallery-item:is(:hover, :focus) { height: calc((100cqw - 8px) / 2 * 1.3); }
	.rb-site .rb-gallery-item.rb-span-2 { grid-column: 1 / -1; }
	.rb-site .rb-gallery .rb-gallery-item.rb-span-2 { height: calc(100cqw * 0.72); }

	.rb-site .rb-page-head { padding: 34px 0 32px; }
	.rb-site .rb-breadcrumb { margin-bottom: 20px; }
	.rb-site .rb-page-head-row { gap: 18px; }
	.rb-site .rb-page-hero-wrap { padding-top: 24px; }
	.rb-site .rb-detail-head { padding: 34px 0 26px; }
	.rb-site .rb-detail-head-row { gap: 20px; }
	.rb-site .rb-detail-box { text-align: left; }
	.rb-site .rb-detail-hero { aspect-ratio: 4 / 3.4; }
	.rb-site .rb-facts { margin-top: 28px; }
	.rb-site .rb-fact { padding: 20px 16px; }
	.rb-site .rb-fact-num { font-size: 1.08rem; }

	.rb-site .rb-case-grid { gap: 30px; }
	.rb-site .rb-case .rb-case-main { aspect-ratio: 4 / 4.2; }
	.rb-site .rb-case-thumbs { gap: 6px; margin-top: 22px; }

	.rb-site .rb-steps { grid-template-columns: 1fr; border-top: 0; }
	.rb-site .rb-step { padding: 22px 0 22px 0; border-top: 1px solid var(--rb-line); display: grid; grid-template-columns: 58px 1fr; column-gap: 12px; }
	.rb-site .rb-step::before { top: -1px; }
	.rb-site .rb-step-top { grid-row: 1 / span 2; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; margin: 0; }
	.rb-site .rb-step-num { font-size: 1.6rem; }

	.rb-site .rb-dc-form { padding: 24px 20px; }
	.rb-site .rb-field-row { grid-template-columns: 1fr; gap: 0; }
	.rb-site .rb-info { grid-template-columns: 1fr; gap: 18px; }
	.rb-site .rb-cta-inner { gap: 28px; }
	.rb-site .rb-cta-inner .rb-hero-actions { width: 100%; }
	.rb-site .rb-cta-inner .rb-btn { flex: 1 1 100%; }

	.rb-site .rb-faq-split { gap: 28px; }
	.rb-site .rb-faq-item .rb-faq-q, .rb-site .rb-faq-item .rb-faq-q:is(:hover, :focus) { font-size: 1.02rem; padding: 22px 0; }

	.rb-site .rb-lightbox { padding: 0; }
	.rb-site .rb-lightbox img { max-width: 100vw; max-height: 78vh; }
	.rb-site .rb-lightbox .rb-lb-nav, .rb-site .rb-lightbox .rb-lb-nav:is(:hover, :focus) { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; }
	.rb-site .rb-lb-alt { display: none; }
	.rb-site .rb-lb-count { bottom: 28px; }

	.rb-site .rb-footer-top { padding-top: 60px; padding-bottom: 40px; }
	.rb-site .rb-footer-grid { gap: 32px 20px; }
	.rb-site .rb-footer-col:last-child { grid-column: 1 / -1; }
	.rb-site .rb-footer-bottom { flex-direction: column; gap: 10px; }
}

/* Gitterceller må gerne krympe (ellers skubber lange ord/knapper siden bredere end skærmen) */
.rb-site :is(.rb-split, .rb-vision, .rb-faq-split, .rb-desc-split, .rb-dc-inner, .rb-case-grid, .rb-proces-head, .rb-stats-grid, .rb-footer-grid, .rb-steps) > * { min-width: 0; }

@media (prefers-reduced-motion: reduce) {
	.rb-js .rb-site .rb-hero .rb-hero-media img { transform: none; transition: none; }
}
