/**
 * Lillebælt VVS & Klima – premium frontend (v1.0)
 */

:root {
	--lb-header-h: 4.75rem;
	--lb-mobile-bar-h: 4rem;
	--lb-orange: #f59e0b;
	--lb-orange-deep: #d97706;
	--lb-blue: #38bdf8;
	--lb-blue-deep: #0ea5e9;
	--lb-marine: #0b1724;
	--lb-marine-deep: #060e16;
	--lb-glow: rgba(56, 189, 248, 0.18);
}

html { scroll-behavior: smooth; }
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: var(--lb-marine-deep) !important;
}

.lb-main--home {
	background: var(--lb-marine-deep);
}

.lb-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 0.75rem 1.25rem;
	background: var(--lb-orange);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.lb-skip-link:focus {
	left: 1rem;
	top: 1rem;
}
:focus-visible {
	outline: 2px solid var(--lb-orange);
	outline-offset: 3px;
}

/* Eyebrows / accents */
.lb-eyebrow,
.lb-eyebrow--orange {
	margin: 0 0 0.75rem;
	color: var(--lb-orange) !important;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.lb-text-accent { color: var(--lb-blue); }
.lb-hero__title strong,
.lb-tryghed__title strong {
	color: var(--lb-blue);
	font-weight: inherit;
}
.lb-section-title {
	text-transform: uppercase;
	letter-spacing: -0.03em;
	line-height: 1.08;
}
.lb-section-title--light { color: #fff !important; }
.lb-section-lead {
	max-width: 42ch;
	margin: 0.85rem 0 0;
	color: #64748b;
	font-size: 1.05rem;
	line-height: 1.55;
}
.lb-section-lead--light { color: rgba(226, 232, 240, 0.82) !important; }

/* Header */
.lb-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background:
		linear-gradient(180deg, rgba(6, 14, 22, 0.96) 0%, rgba(11, 23, 36, 0.92) 100%) !important;
	border-bottom: 1px solid rgba(56, 189, 248, 0.12);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.lb-header__inner { gap: 1rem; min-height: var(--lb-header-h); }
.lb-header__brand { gap: 0.75rem; }
.lb-header__logo img,
.lb-header .custom-logo,
.lb-footer .custom-logo {
	display: block;
	height: auto;
	max-height: 58px;
	width: auto;
}
.lb-header.has-logo .lb-header__title { display: none; }
.lb-header__nav { flex: 1 1 auto; justify-content: center; }
.lb-header__nav .wp-block-navigation-item__content {
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88) !important;
	transition: color 0.2s ease;
}
.lb-header__nav .wp-block-navigation-item__content:hover {
	color: var(--lb-blue) !important;
}
.lb-header__phone {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	white-space: nowrap;
}
.lb-header__phone a { color: #fff; text-decoration: none; }
.lb-header__phone a:hover { color: var(--lb-orange); }
.lb-header__actions { gap: 0.9rem; }

@media (prefers-reduced-motion: no-preference) {
	.lb-header { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
	.lb-header.is-scrolled {
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
		border-bottom-color: rgba(245, 158, 11, 0.25);
	}
}
@media (max-width: 960px) {
	.lb-header__cta { display: none; }
	.lb-header__phone { display: none; }
}

/* Mobile bar */
.lb-mobile-bar {
	display: none;
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 250;
	gap: 0.65rem;
	padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom));
	background: rgba(6, 14, 22, 0.96);
	border-top: 1px solid rgba(56, 189, 248, 0.22);
	backdrop-filter: blur(12px);
}
.lb-mobile-bar a {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}
.lb-mobile-bar__call {
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.28);
}
.lb-mobile-bar__cta {
	color: #fff;
	background: var(--lb-orange);
}
@media (max-width: 781px) {
	.lb-mobile-bar { display: flex; }
	body { padding-bottom: calc(var(--lb-mobile-bar-h) + env(safe-area-inset-bottom)); }
}

/* Hero */
.lb-hero,
.lb-main--home .wp-block-cover.is-position-center-left {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	color: #fff;
	background-color: #060e16;
	background-image:
		linear-gradient(
			90deg,
			rgba(6, 14, 22, 0.92) 0%,
			rgba(6, 14, 22, 0.78) 36%,
			rgba(6, 14, 22, 0.42) 58%,
			rgba(6, 14, 22, 0.18) 100%
		),
		url("../images/hero-van-bridge.png");
	background-size: cover;
	background-position: center;
}
.lb-hero::after,
.lb-main--home .wp-block-cover.is-position-center-left::after {
	content: none;
}
.lb-hero .wp-block-cover__inner-container,
.lb-main--home .wp-block-cover.is-position-center-left .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}
.lb-hero .wp-block-cover__image-background,
.lb-main--home .wp-block-cover.is-position-center-left .wp-block-cover__image-background {
	filter: none;
	transform: none;
}
.lb-hero .wp-block-cover__background,
.lb-main--home .wp-block-cover.is-position-center-left .wp-block-cover__background {
	opacity: 0.55 !important;
}

.lb-hero__content {
	max-width: 38rem;
	padding: 1.25rem 1.5rem 1.25rem 0;
}
.lb-hero__brand {
	margin: 0 0 0.35rem;
	color: #fff !important;
	font-size: clamp(2.6rem, 7vw, 4.6rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.lb-hero__title,
.lb-hero h1 {
	margin: 0 0 1.1rem;
	max-width: 16ch;
	color: #fff !important;
	font-size: clamp(1.85rem, 4.2vw, 3rem) !important;
	font-weight: 800 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.03em;
	text-transform: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 8px 24px rgba(0, 0, 0, 0.45);
}
.lb-hero .lb-eyebrow,
.lb-hero .lb-eyebrow--orange {
	color: #fbbf24 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
.lb-hero__lead,
.lb-hero p:not(.lb-eyebrow):not(.lb-hero__brand) {
	max-width: 42ch;
	margin: 0 0 1.75rem;
	color: #f1f5f9 !important;
	font-size: 1.08rem;
	font-style: normal;
	font-weight: 500;
	line-height: 1.6;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.lb-hero__actions { gap: 0.85rem; }
.lb-btn-ghost .wp-block-button__link {
	background: rgba(255, 255, 255, 0.04) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.38) !important;
	border-radius: 4px !important;
}
.lb-btn-ghost .wp-block-button__link:hover {
	border-color: var(--lb-orange) !important;
	color: var(--lb-orange) !important;
	background: rgba(245, 158, 11, 0.08) !important;
}
.lb-btn-primary .wp-block-button__link,
.wp-element-button.has-orange-background-color {
	border-radius: 4px !important;
	font-weight: 700;
	box-shadow: 0 10px 28px rgba(245, 158, 11, 0.28);
}
.lb-btn-header .wp-block-button__link {
	padding: 0.65rem 1.05rem !important;
	font-size: 0.8125rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
}
.lb-btn-primary .wp-block-button__link:hover {
	background: var(--lb-orange-deep) !important;
	box-shadow: 0 14px 34px rgba(217, 119, 6, 0.35);
}

/* Trust bar */
.lb-trustbar__inner { gap: 1rem 2rem; }
.lb-trustbar__item {
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}
.lb-trustbar__item::before {
	content: "";
	display: inline-block;
	width: 0.4rem;
	height: 0.4rem;
	margin-right: 0.55rem;
	border-radius: 50%;
	background: var(--lb-orange);
	box-shadow: 0 0 10px rgba(245, 158, 11, 0.65);
	vertical-align: middle;
}

/* Service cards */
.lb-service-cards { align-items: stretch !important; }
.lb-service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 440px;
	padding: 1.45rem 1.25rem;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(56, 189, 248, 0.12);
	background-color: #0b1724;
	background-size: cover;
	background-position: center;
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.lb-service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 14, 22, 0.28) 15%, rgba(6, 14, 22, 0.9) 100%);
	pointer-events: none;
}
.lb-service-card > * { position: relative; z-index: 1; }
.lb-service-card--vvs { background-image: url("../images/service-vvs.png"); }
.lb-service-card--varme { background-image: url("../images/service-varme.png"); }
.lb-service-card--koel { background-image: url("../images/service-koel.png"); }
.lb-service-card--vent { background-image: url("../images/service-vent.png"); }
.lb-service-card .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 440px;
	padding: 1.45rem 1.25rem !important;
	background: linear-gradient(180deg, transparent 20%, rgba(6, 14, 22, 0.88) 100%);
}
.lb-service-card__icon {
	margin: 0 0 0.65rem;
	color: var(--lb-blue) !important;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}
.lb-service-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.12rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.lb-service-card h3 a {
	color: #fff;
	text-decoration: none;
}
.lb-service-card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.9rem;
	line-height: 1.45;
}
.lb-service-card__more { margin-top: 0.95rem !important; }
.lb-service-card__more a {
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
@media (prefers-reduced-motion: no-preference) {
	.lb-service-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
		border-color: rgba(245, 158, 11, 0.45);
	}
	.lb-service-card:hover .lb-service-card__more a { color: var(--lb-orange); }
}
@media (max-width: 781px) {
	.lb-service-cards { flex-wrap: wrap !important; }
	.lb-service-cards > .wp-block-column { flex-basis: 100% !important; }
}

.lb-service-extras {
	gap: 1rem 1.5rem;
	padding: 1.15rem 1.25rem;
	border: 1px solid rgba(56, 189, 248, 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
}
.lb-service-extra {
	margin: 0;
	color: rgba(226, 232, 240, 0.88);
	font-size: 0.88rem;
}
.lb-service-extra a {
	color: var(--lb-orange);
	font-weight: 700;
	text-decoration: none;
}
.lb-service-extra a:hover { color: #fff; }

/* Tryghed */
.lb-tryghed {
	position: relative;
	min-height: 640px;
	color: #fff;
	background-color: #060e16;
	background-image:
		linear-gradient(rgba(6, 14, 22, 0.76), rgba(6, 14, 22, 0.76)),
		url("../images/tryghed-family.png");
	background-size: cover;
	background-position: center;
}
.lb-tryghed__title {
	color: #fff !important;
	font-size: clamp(1.95rem, 4.2vw, 2.9rem) !important;
	text-transform: uppercase;
	letter-spacing: -0.02em;
}
.lb-tryghed__lead {
	max-width: 46ch;
	color: rgba(226, 232, 240, 0.92) !important;
	font-size: 1.05rem;
	line-height: 1.6;
}
.lb-check-list {
	list-style: none;
	margin: 1.2rem 0 1.6rem;
	padding: 0;
}
.lb-check-list li {
	position: relative;
	margin: 0.7rem 0;
	padding-left: 1.55rem;
	color: rgba(255, 255, 255, 0.94);
	font-size: 0.98rem;
}
.lb-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--lb-orange);
	font-weight: 800;
}
.lb-tryghed__panel,
.lb-tryghed__badge {
	margin-left: auto;
	max-width: 320px;
	padding: 1.9rem 1.6rem;
	background:
		linear-gradient(145deg, rgba(8, 19, 30, 0.92), rgba(11, 23, 36, 0.78));
	border: 1px solid rgba(56, 189, 248, 0.28);
	border-left: 3px solid var(--lb-orange);
	backdrop-filter: blur(10px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.lb-tryghed__badge-kicker {
	margin: 0 0 0.85rem;
	color: var(--lb-orange) !important;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.lb-tryghed__badge-lines {
	margin: 0;
	color: #fff !important;
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.lb-tryghed__divider {
	margin: 1.25rem 0 !important;
	border: none !important;
	height: 1px !important;
	background: rgba(56, 189, 248, 0.28) !important;
}
.lb-tryghed__panel-note {
	margin: 0;
	color: rgba(226, 232, 240, 0.8) !important;
	font-size: 0.88rem;
	line-height: 1.55;
}

/* Quality section */
.lb-has-blueprint {
	position: relative;
	overflow: hidden;
}
.lb-has-blueprint::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.12;
	background-image: url("../images/blueprint-overlay.svg");
	background-size: 920px auto;
	background-position: right -40px center;
	background-repeat: no-repeat;
}
.lb-quality__cols > * { position: relative; z-index: 1; }
.lb-quality__values { gap: 0.85rem !important; margin-top: 1.4rem; }
.lb-quality__value {
	margin: 0;
	padding: 0.95rem 0.85rem;
	background: #fff;
	border-top: 2px solid var(--lb-blue-deep);
	font-size: 0.88rem;
	color: #475569;
	box-shadow: 0 8px 24px rgba(11, 23, 36, 0.06);
}
.lb-quality__value strong {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--lb-marine);
	font-size: 0.92rem;
}
.lb-quality__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 6px;
	box-shadow: 0 18px 40px rgba(11, 23, 36, 0.18);
}
.lb-product-slot {
	height: 100%;
	padding: 1.4rem 1.25rem 1.25rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-top: 3px solid var(--lb-orange);
	box-shadow: 0 14px 36px rgba(11, 23, 36, 0.08);
}
.lb-product-slot__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #f8fafc;
}

@media (max-width: 900px) {
	.lb-quality__cols { flex-direction: column; }
	.lb-tryghed__panel,
	.lb-tryghed__badge { margin: 1.5rem 0 0; max-width: none; }
	.lb-hero__brand { letter-spacing: 0.05em; }
}

/* CTA bar */
.lb-cta-bar {
	position: relative;
	overflow: hidden;
}
.lb-cta-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 40% 80% at 100% 50%, rgba(245, 158, 11, 0.14), transparent 60%),
		radial-gradient(ellipse 35% 70% at 0% 50%, rgba(56, 189, 248, 0.12), transparent 55%);
}
.lb-cta-bar__inner { position: relative; z-index: 1; gap: 1.5rem 2rem; }
.lb-cta-bar__contacts { gap: 1.5rem 2rem; }
.lb-cta-bar__item {
	margin: 0;
	min-width: 140px;
	font-size: 0.9rem;
	color: #cbd5e1;
}
.lb-cta-bar__item a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.lb-cta-bar__item a:hover { color: var(--lb-orange); }
.lb-cta-bar__actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

/* Footer */
.lb-footer__heading {
	margin: 0 0 0.75rem;
	color: var(--lb-orange) !important;
	font-size: 0.8rem !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.lb-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lb-footer__list li { margin: 0.45rem 0; }
.lb-footer a {
	color: #fff;
	text-decoration: none;
}
.lb-footer a:hover { color: var(--lb-orange); }
.lb-footer__contact {
	font-size: 0.95rem;
	line-height: 1.7;
}
.lb-footer__rule {
	margin: 2rem 0 1.1rem;
	border: none;
	height: 1px;
	background: rgba(56, 189, 248, 0.28);
}
.lb-footer__tagline {
	margin: 0.75rem 0 0;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.lb-footer__legal {
	margin: 0;
	color: #64748b;
	font-size: 0.78rem;
}

/* Inner pages: dark chrome like the homepage, content in a readable sheet */
.lb-main--service,
.lb-main--about,
.lb-main--contact,
.lb-main--page {
	background: var(--lb-marine-deep) !important;
	padding-top: 0 !important;
	padding-bottom: 3.5rem !important;
	--wp--style--global--content-size: 48rem;
	--wp--style--global--wide-size: 70rem;
}
.lb-main--service .lb-page-hero .wp-block-post-title,
.lb-main--about .lb-page-hero .wp-block-post-title,
.lb-main--contact .lb-page-hero .wp-block-post-title,
.lb-main--page > .wp-block-post-title {
	color: #fff;
	max-width: min(70rem, calc(100% - 1.5rem));
	margin-inline: auto;
	padding: 1.75rem 0 1rem;
}
.lb-main--service .wp-block-post-content,
.lb-main--about .wp-block-post-content,
.lb-main--contact .wp-block-post-content,
.lb-main--page .wp-block-post-content {
	width: min(70rem, calc(100% - 1.5rem));
	max-width: 70rem !important;
	margin-inline: auto;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(6, 14, 22, 0.35);
	padding-bottom: 2.75rem;
}
.lb-main--service .wp-block-cover.alignfull,
.lb-main--about .wp-block-cover.alignfull,
.lb-main--contact .wp-block-cover.alignfull,
.lb-main--page .wp-block-cover.alignfull {
	margin-top: 0;
}

/* Min Side is already a dark portal — skip the white reading sheet. */
.lb-main--page:has(.lb-ms) .wp-block-post-content,
.lb-main--page:has(.lb-ms-shell) .wp-block-post-content {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	overflow: visible;
	padding-bottom: 0;
}
.lb-main--page:has(.lb-ms) > .wp-block-post-title,
.lb-main--page:has(.lb-ms) .lb-page-hero {
	display: none;
}
.lb-lead {
	font-size: 1.15rem;
	line-height: 1.65;
	color: #334155;
	max-width: 62ch;
}
.lb-page-hero-media {
	min-height: 260px;
	margin: 1rem 0 1.5rem;
	background:
		linear-gradient(125deg, rgba(6, 14, 22, 0.62), rgba(11, 23, 36, 0.25)),
		url("../images/hero-van-bridge.png") center/cover;
	border-left: 3px solid var(--lb-orange);
	border-radius: 0 6px 6px 0;
}
.lb-faq details,
.lb-main details {
	border-bottom: 1px solid #e2e8f0;
	padding: 0.95rem 0;
}
.lb-faq summary,
.lb-main details summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--lb-marine);
	list-style: none;
}
.lb-faq summary::-webkit-details-marker,
.lb-main details summary::-webkit-details-marker { display: none; }
.lb-minuba-slot {
	border: 1px dashed #cbd5e1;
	background: #f8fafc;
	padding: 1.25rem !important;
	border-radius: 6px;
}
.lb-minuba-slot__label {
	display: inline-block;
	margin-bottom: 0.5rem;
	padding: 0.2rem 0.45rem;
	background: #e2e8f0;
	color: #64748b;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Motion */
.wp-block-button__link {
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
@media (prefers-reduced-motion: no-preference) {
	.wp-block-button__link:hover { transform: translateY(-2px); }
	.lb-reveal {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	}
	.lb-reveal.is-visible,
	.lb-hero.lb-reveal {
		opacity: 1;
		transform: none;
	}
	.lb-hero__content > * {
		opacity: 0;
		transform: translateY(18px);
		animation: lb-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	}
	.lb-hero__content > *:nth-child(1) { animation-delay: 0.08s; }
	.lb-hero__content > *:nth-child(2) { animation-delay: 0.18s; }
	.lb-hero__content > *:nth-child(3) { animation-delay: 0.28s; }
	.lb-hero__content > *:nth-child(4) { animation-delay: 0.38s; }
	.lb-hero__content > *:nth-child(5) { animation-delay: 0.48s; }
}
@keyframes lb-rise {
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}
