/*
Theme Name: Rijsdijk Onderhoud
Theme URI: https://rijsdijk-onderhoud.dustinlabs.com
Author: Codex
Author URI: https://openai.com
Description: Maatwerkthema voor Totaal Onderhoudsbedrijf Rijsdijk.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: rijsdijk-onderhoud
*/

:root {
	--ink: #082130;
	--muted: #536979;
	--line: rgba(8, 33, 48, 0.12);
	--blue: #0b84c6;
	--deep-blue: #075c91;
	--aqua: #48d5e8;
	--mint: #69c78c;
	--sun: #f7c65d;
	--ice: #f4fbff;
	--white: #ffffff;
	--shadow: 0 18px 50px rgba(8, 33, 48, 0.12);
	--radius: 8px;
	--shell: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0;
	background:
		radial-gradient(circle at 14% 12%, rgba(72, 213, 232, 0.12) 0 2px, transparent 3px),
		radial-gradient(circle at 82% 18%, rgba(11, 132, 198, 0.12) 0 1px, transparent 3px),
		linear-gradient(180deg, #f8fdff 0%, #ffffff 44%, #eef8fc 100%);
	background-size: 120px 120px, 170px 170px, auto;
}

body.rijsdijk-site {
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

p,
h1,
h2,
h3 {
	margin-top: 0;
}

p {
	color: var(--muted);
}

svg {
	display: block;
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}

.site-shell {
	width: min(var(--shell), calc(100% - 40px));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: 10px;
	z-index: 100;
	padding: 10px 14px;
	background: var(--ink);
	color: var(--white);
	border-radius: 6px;
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.86);
	border-bottom: 1px solid rgba(8, 33, 48, 0.08);
	backdrop-filter: blur(18px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: 78px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 245px;
}

.brand strong {
	display: block;
	font-size: 0.98rem;
	line-height: 1.18;
	color: var(--ink);
}

.brand small {
	display: block;
	margin-top: 1px;
	font-size: 0.78rem;
	color: var(--muted);
}

.brand-mark {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	color: var(--white);
	background: linear-gradient(145deg, var(--blue), var(--aqua));
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	box-shadow: 0 12px 26px rgba(11, 132, 198, 0.22);
	overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
	content: "";
	position: absolute;
	background: rgba(255, 255, 255, 0.72);
}

.brand-mark::before {
	width: 22px;
	height: 3px;
	border-radius: 2px;
	transform: rotate(-28deg);
}

.brand-mark::after {
	width: 3px;
	height: 18px;
	top: 22px;
	left: 25px;
	border-radius: 2px;
	transform: rotate(-28deg);
}

.brand-mark span {
	position: absolute;
	right: 7px;
	top: 7px;
	width: 7px;
	height: 10px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 7px 7px 7px 2px;
	transform: rotate(35deg);
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 22px;
	color: #21465a;
	font-weight: 700;
	font-size: 0.94rem;
}

.main-nav a {
	position: relative;
	padding-block: 8px;
}

.main-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 3px;
	height: 2px;
	background: var(--aqua);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
	transform: scaleX(1);
}

.nav-cta,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-cta,
.button-primary {
	color: var(--white);
	background: linear-gradient(135deg, var(--blue), var(--deep-blue));
	box-shadow: 0 15px 30px rgba(7, 92, 145, 0.24);
}

.button-secondary {
	color: var(--ink);
	background: rgba(255, 255, 255, 0.76);
	border-color: rgba(8, 33, 48, 0.14);
	box-shadow: 0 12px 28px rgba(8, 33, 48, 0.08);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(7, 92, 145, 0.25);
}

.hero {
	position: relative;
	min-height: 760px;
	padding: 118px 0 88px;
	background:
		linear-gradient(90deg, rgba(244, 251, 255, 0.96) 0%, rgba(244, 251, 255, 0.88) 34%, rgba(244, 251, 255, 0.18) 68%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(232, 248, 255, 0.92)),
		url("assets/images/glashelder-hero.jpg") center right / cover no-repeat;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(112deg, rgba(255, 255, 255, 0) 0 130px, rgba(255, 255, 255, 0.44) 132px 134px),
		radial-gradient(circle at 17% 74%, rgba(105, 199, 140, 0.16) 0 1px, transparent 3px),
		radial-gradient(circle at 30% 28%, rgba(72, 213, 232, 0.2) 0 2px, transparent 4px);
	pointer-events: none;
}

.hero-shine {
	position: absolute;
	top: -120px;
	left: 48%;
	width: 220px;
	height: 1100px;
	background: rgba(255, 255, 255, 0.34);
	transform: rotate(24deg);
	filter: blur(1px);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.03fr) minmax(280px, 0.68fr);
	align-items: end;
	gap: 44px;
	z-index: 1;
}

.hero-copy {
	max-width: 680px;
}

.eyebrow {
	margin-bottom: 12px;
	color: var(--deep-blue);
	font-size: 0.79rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0;
}

h1 {
	max-width: 760px;
	margin-bottom: 22px;
	color: #061c2a;
	font-size: 4.1rem;
	line-height: 0.98;
	letter-spacing: 0;
}

h2 {
	margin-bottom: 18px;
	color: var(--ink);
	font-size: 2.45rem;
	line-height: 1.08;
	letter-spacing: 0;
}

h3 {
	margin-bottom: 10px;
	color: var(--ink);
	font-size: 1.15rem;
	line-height: 1.22;
	letter-spacing: 0;
}

.hero-lead {
	max-width: 660px;
	margin-bottom: 28px;
	color: #294d61;
	font-size: 1.22rem;
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
}

.trust-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.trust-bar span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	color: #1b4b5e;
	font-size: 0.9rem;
	font-weight: 800;
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(8, 33, 48, 0.1);
	border-radius: var(--radius);
	box-shadow: 0 10px 24px rgba(8, 33, 48, 0.07);
}

.trust-bar span::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mint);
	box-shadow: 0 0 0 4px rgba(105, 199, 140, 0.16);
}

.hero-panel {
	display: flex;
	justify-content: flex-end;
}

.glass-card {
	position: relative;
	width: min(100%, 360px);
	padding: 24px;
	background: rgba(255, 255, 255, 0.66);
	border: 1px solid rgba(255, 255, 255, 0.76);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	backdrop-filter: blur(18px);
	overflow: hidden;
}

.glass-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 18px;
	right: 18px;
	height: 1px;
	background: rgba(255, 255, 255, 0.96);
}

.glass-card p {
	margin-bottom: 12px;
	color: #315c6d;
}

.glass-card strong {
	display: block;
	color: var(--ink);
	font-size: 1.35rem;
	line-height: 1.25;
}

.section {
	padding: 92px 0;
}

.section-tight {
	padding: 48px 0;
}

.intro-band {
	background: var(--white);
	border-block: 1px solid rgba(8, 33, 48, 0.08);
}

.intro-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 42px;
	align-items: center;
}

.intro-grid h2 {
	margin-bottom: 0;
	font-size: 2rem;
}

.intro-grid p:last-child {
	margin: 0;
	font-size: 1.05rem;
}

.section-heading {
	max-width: 780px;
	margin: 0 auto 38px;
	text-align: center;
}

.section-heading.align-left {
	margin-inline: 0;
	text-align: left;
}

.section-heading p:last-child {
	margin-bottom: 0;
	font-size: 1.05rem;
}

.services-section {
	position: relative;
	background:
		linear-gradient(180deg, #f7fcff 0%, #eef8fc 100%);
}

.services-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 12% 18%, rgba(72, 213, 232, 0.12) 0 2px, transparent 4px),
		radial-gradient(circle at 78% 68%, rgba(105, 199, 140, 0.12) 0 2px, transparent 4px);
	background-size: 120px 120px, 160px 160px;
	pointer-events: none;
}

.service-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.service-card {
	position: relative;
	min-height: 250px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid rgba(8, 33, 48, 0.1);
	border-radius: var(--radius);
	box-shadow: 0 16px 36px rgba(8, 33, 48, 0.08);
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card::before {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	top: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.92);
}

.service-card::after {
	content: "";
	position: absolute;
	right: -20px;
	top: -40px;
	width: 98px;
	height: 150px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
	transform: rotate(26deg);
	pointer-events: none;
}

.service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(11, 132, 198, 0.26);
	box-shadow: 0 20px 45px rgba(8, 33, 48, 0.12);
}

.service-icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 18px;
	padding: 12px;
	color: var(--deep-blue);
	background: linear-gradient(145deg, rgba(72, 213, 232, 0.18), rgba(255, 255, 255, 0.78));
	border: 1px solid rgba(11, 132, 198, 0.16);
	border-radius: var(--radius);
}

.service-card p {
	margin-bottom: 0;
}

.audience-section {
	background: var(--white);
}

.split-layout {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 46px;
	align-items: start;
}

.audience-list {
	display: grid;
	gap: 12px;
}

.audience-list article {
	padding: 22px 24px;
	background: #f8fcff;
	border: 1px solid rgba(8, 33, 48, 0.1);
	border-left: 4px solid var(--aqua);
	border-radius: var(--radius);
}

.audience-list article:nth-child(2n) {
	border-left-color: var(--mint);
}

.audience-list p {
	margin-bottom: 0;
}

.why-section {
	background:
		linear-gradient(135deg, #082130 0%, #0c3a52 50%, #0a708e 100%);
	color: var(--white);
	overflow: hidden;
}

.why-section h2,
.why-section h3,
.why-section .eyebrow {
	color: var(--white);
}

.why-section p {
	color: rgba(255, 255, 255, 0.78);
}

.why-grid {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 52px;
	align-items: center;
}

.before-after {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 430px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.before-after::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: rgba(255, 255, 255, 0.9);
	z-index: 2;
}

.before-after::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(110deg, transparent 0 44%, rgba(255, 255, 255, 0.4) 48%, transparent 52%),
		radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.5) 0 2px, transparent 3px);
	pointer-events: none;
}

.before,
.after {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding: 22px;
}

.before {
	background:
		linear-gradient(180deg, rgba(55, 72, 65, 0.24), rgba(42, 61, 55, 0.74)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 24px, rgba(0, 0, 0, 0.08) 24px 48px);
}

.after {
	background:
		linear-gradient(180deg, rgba(120, 219, 237, 0.28), rgba(255, 255, 255, 0.86)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0 24px, rgba(92, 191, 213, 0.16) 24px 48px);
}

.before span,
.after span {
	position: relative;
	z-index: 3;
	padding: 8px 11px;
	border-radius: 6px;
	font-weight: 900;
}

.before span {
	background: rgba(8, 33, 48, 0.68);
	color: var(--white);
}

.after span {
	background: rgba(255, 255, 255, 0.84);
	color: var(--deep-blue);
}

.check-list {
	display: grid;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 34px;
	color: rgba(255, 255, 255, 0.92);
	font-weight: 750;
}

.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	background: var(--mint);
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(105, 199, 140, 0.16);
}

.check-list li::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 9px;
	width: 6px;
	height: 10px;
	border: solid var(--ink);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.maintenance-band {
	padding: 52px 0;
	background: linear-gradient(90deg, #e9f9fd, #ffffff 54%, #f0fff6);
	border-block: 1px solid rgba(8, 33, 48, 0.08);
}

.maintenance-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
	align-items: center;
}

.maintenance-inner h2 {
	margin-bottom: 0;
	font-size: 2rem;
}

.maintenance-inner p:last-child {
	margin-bottom: 0;
}

.steps-section {
	background: var(--white);
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.steps article {
	position: relative;
	padding: 26px;
	background: #f8fcff;
	border: 1px solid rgba(8, 33, 48, 0.1);
	border-radius: var(--radius);
}

.steps span {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	color: var(--white);
	font-weight: 900;
	background: var(--deep-blue);
	border-radius: var(--radius);
}

.steps p {
	margin-bottom: 0;
}

.contact-section {
	background:
		linear-gradient(180deg, rgba(244, 251, 255, 0.72), rgba(255, 255, 255, 1)),
		radial-gradient(circle at 88% 20%, rgba(72, 213, 232, 0.16) 0 2px, transparent 4px);
	background-size: auto, 130px 130px;
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 42px;
	align-items: start;
}

.contact-copy {
	position: sticky;
	top: 108px;
}

.contact-details {
	margin-top: 24px;
	padding: 22px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(8, 33, 48, 0.1);
	border-radius: var(--radius);
	box-shadow: 0 14px 34px rgba(8, 33, 48, 0.08);
}

.contact-details p {
	margin: 0;
}

.contact-details p + p {
	margin-top: 8px;
}

.quote-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: 28px;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(8, 33, 48, 0.1);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	backdrop-filter: blur(14px);
}

.quote-form label,
.quote-form .full {
	display: grid;
	gap: 7px;
}

.quote-form .full {
	grid-column: 1 / -1;
}

.quote-form span {
	color: var(--ink);
	font-weight: 850;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 13px;
	color: var(--ink);
	font: inherit;
	background: #f9fdff;
	border: 1px solid rgba(8, 33, 48, 0.16);
	border-radius: 6px;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.quote-form textarea {
	resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
	background: var(--white);
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(11, 132, 198, 0.14);
}

.form-notice {
	grid-column: 1 / -1;
	margin: 0;
	padding: 12px 14px;
	border-radius: 6px;
	font-weight: 800;
}

.form-notice.success {
	color: #0d5130;
	background: #e8f9ef;
	border: 1px solid rgba(105, 199, 140, 0.46);
}

.form-notice.error {
	color: #713300;
	background: #fff4df;
	border: 1px solid rgba(247, 198, 93, 0.55);
}

.site-footer {
	padding: 32px 0 92px;
	color: rgba(255, 255, 255, 0.84);
	background: var(--ink);
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.footer-inner p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
}

.footer-inner a {
	color: var(--aqua);
	font-weight: 900;
}

.mobile-sticky-cta {
	display: none;
}

@media (max-width: 1040px) {
	.header-inner {
		flex-wrap: wrap;
		padding-block: 12px;
	}

	.main-nav {
		order: 3;
		width: 100%;
		justify-content: center;
		gap: 18px;
	}

	.hero {
		min-height: 720px;
		padding-top: 92px;
	}

	h1 {
		font-size: 3.35rem;
	}

	h2 {
		font-size: 2.1rem;
	}

	.service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.split-layout,
	.why-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.contact-copy {
		position: static;
	}
}

@media (max-width: 760px) {
	.site-shell {
		width: min(100% - 28px, var(--shell));
	}

	.site-header {
		position: relative;
	}

	.header-inner {
		min-height: 0;
	}

	.brand {
		min-width: 0;
		width: 100%;
	}

	.brand strong {
		font-size: 0.94rem;
	}

	.main-nav {
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 2px;
	}

	.nav-cta {
		display: none;
	}

	.hero {
		min-height: 0;
		padding: 74px 0 64px;
		background:
			linear-gradient(180deg, rgba(244, 251, 255, 0.97) 0%, rgba(244, 251, 255, 0.9) 48%, rgba(244, 251, 255, 0.58) 100%),
			url("assets/images/glashelder-hero.jpg") 64% center / cover no-repeat;
	}

	.hero-grid,
	.intro-grid,
	.maintenance-inner,
	.steps,
	.quote-form {
		grid-template-columns: 1fr;
	}

	h1 {
		font-size: 2.55rem;
		line-height: 1.02;
	}

	h2 {
		font-size: 1.82rem;
	}

	.hero-lead {
		font-size: 1.06rem;
	}

	.hero-actions .button {
		width: 100%;
	}

	.hero-panel {
		justify-content: flex-start;
	}

	.glass-card {
		width: 100%;
	}

	.section {
		padding: 66px 0;
	}

	.section-tight,
	.maintenance-band {
		padding: 40px 0;
	}

	.section-heading {
		margin-bottom: 28px;
		text-align: left;
	}

	.service-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: 0;
	}

	.before-after {
		min-height: 300px;
	}

	.quote-form {
		padding: 20px;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.mobile-sticky-cta {
		position: fixed;
		left: 14px;
		right: 14px;
		bottom: 14px;
		z-index: 70;
		display: flex;
		justify-content: center;
		padding: 14px 16px;
		color: var(--white);
		font-weight: 900;
		background: linear-gradient(135deg, var(--blue), var(--deep-blue));
		border: 1px solid rgba(255, 255, 255, 0.28);
		border-radius: var(--radius);
		box-shadow: 0 18px 38px rgba(7, 92, 145, 0.32);
	}
}

@media (max-width: 420px) {
	.brand {
		align-items: flex-start;
	}

	.brand-mark {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.main-nav {
		gap: 14px;
		font-size: 0.88rem;
	}

	h1 {
		font-size: 2.18rem;
	}

	.trust-bar span {
		width: 100%;
	}
}
