/* Components shared by several templates. */

/* ---------- Sections and grids ---------- */
.sec {
	background: var(--page);
	padding: clamp(64px, 8vw, 104px) 20px;
}
.sec--surface {
	background: var(--surface);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.sec--ink {
	background: var(--ink);
	color: var(--white);
}
.sec--inner {
	padding: clamp(56px, 7vw, 96px) 20px;
}
.wrap {
	max-width: 77.5rem;
	margin: 0 auto;
}
.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.stack {
	display: grid;
	gap: 22px;
}
.sec-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: end;
	gap: 16px;
}
.sec-head__text {
	display: grid;
	gap: 14px;
}

/* ---------- Type ---------- */
.eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent-text);
}
.eyebrow--on-dark {
	color: var(--accent);
}
.h-xl {
	font-size: clamp(2.375rem, 4.6vw, 3.75rem);
	font-weight: 800;
}
.h-l {
	font-size: clamp(2rem, 3.6vw, 2.875rem);
	font-weight: 800;
	margin: 0;
	font-family: 'Big Shoulders Display', sans-serif;
	text-transform: uppercase;
	line-height: 1;
}
.h-m {
	font-size: clamp(2rem, 3.6vw, 2.75rem);
	font-weight: 800;
}
.h-card {
	font-size: clamp(1.125rem, 1rem + 0.624vw, 1.5rem);
	font-weight: 800;
	margin: 0;
	font-family: 'Big Shoulders Display', sans-serif;
	text-transform: uppercase;
}
.on-dark {
	color: var(--white);
}
.lead {
	color: var(--muted);
	line-height: 1.6;
	font-size: clamp(1rem, 0.708rem + 0.442vw, 1.063rem);
}
.lead--on-dark {
	color: var(--dmuted);
}
.text-link {
	color: var(--text);
	font-weight: 600;
	border-bottom: 2px solid var(--accent);
	padding-bottom: 2px;
}
.text-link:hover {
	color: var(--accent-text);
}

/* ◆ lists */
.ticks {
	display: grid;
	gap: 12px;
	font-size: 1rem;
	color: var(--text);
}
.ticks li {
	display: flex;
	gap: 12px;
}
.ticks__mark {
	color: var(--accent);
	font-weight: 700;
}
.dots {
	display: grid;
	gap: 8px;
	font-size: 0.938rem;
	color: var(--muted);
}
.dots li {
	display: flex;
	gap: 10px;
}
.dots__mark {
	color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	padding: 14px 22px;
	border-radius: 6px;
	border: 0;
	cursor: pointer;
	font-size: inherit;
	line-height: normal;
}
.btn--accent {
	background: var(--accent);
	color: var(--ink);
}
.btn--accent:hover {
	background: var(--accent-hover);
	color: var(--ink);
}
.btn--neutral {
	background: var(--btn2);
	color: var(--white);
	font-weight: 600;
}
.btn--neutral:hover {
	background: var(--accent);
	color: var(--ink);
}
.btn--outline {
	border: 1.5px solid var(--text);
	color: var(--text);
	font-weight: 600;
	padding: 13px 22px;
}
.btn--outline:hover {
	background: var(--btn2);
	color: var(--white);
}
.btn--nowrap {
	white-space: nowrap;
}
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- FAQ accordion ---------- */
.faq {
	display: grid;
	border-top: 1px solid var(--line);
}
.faq__item {
	border-bottom: 1px solid var(--line);
}
.faq__h {
	margin: 0;
	font: inherit;
	text-transform: none;
	letter-spacing: normal;
	line-height: normal;
}
.js .faq__a[data-closed] {
	display: none;
}
.faq__q {
	width: 100%;
	display: grid;
	grid-template-columns: 40px 1fr 32px;
	gap: 12px;
	align-items: center;
	text-align: left;
	background: transparent;
	border: 0;
	padding: 18px 0;
	cursor: pointer;
	color: var(--text);
}
.faq--home .faq__q {
	padding: 20px 0;
}
.faq__nr {
	font-family: 'Big Shoulders Display', sans-serif;
	font-size: clamp(1.031rem, 0.917rem + 0.572vw, 1.375rem);
	font-weight: 800;
	color: var(--accent-text);
}
.faq__text {
	font-size: clamp(1rem, 0.708rem + 0.442vw, 1.063rem);
	font-weight: 600;
}
.faq__icon {
	font-size: clamp(1.125rem, 1rem + 0.624vw, 1.5rem);
	color: var(--accent);
	text-align: right;
	line-height: 1;
}
.faq__a {
	margin: 0;
	padding: 0 0 20px 52px;
	color: var(--muted);
	line-height: 1.6;
	font-size: 0.969rem;
}
.faq--home .faq__a {
	padding-bottom: 22px;
}

/* ---------- Form fields ---------- */
.field {
	padding: 14px 16px;
	border: 1.5px solid var(--line);
	border-radius: 8px;
	background: var(--page);
	color: var(--text);
	outline: none;
	width: 100%;
}
.field:focus {
	border-color: var(--accent);
	background: var(--surface);
}
textarea.field {
	resize: vertical;
}
.field--dark {
	border-color: var(--dline3);
	background: var(--dsurface);
	color: var(--white);
}
.field--dark:focus {
	border-color: var(--accent);
	background: var(--dsurface);
}
.field[aria-invalid="true"] {
	border-color: var(--error);
}
.field-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
	gap: 12px;
}

/* ---------- Lead forms ---------- */
.form-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: clamp(24px, 4vw, 40px);
	display: grid;
	gap: 18px;
}
.form-card__intro {
	color: var(--muted);
	line-height: 1.55;
	font-size: 0.938rem;
}
.form-card__submit {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.form-card__button {
	display: inline-flex;
	align-items: center;
	background: var(--btn2);
	color: var(--white);
	font-weight: 700;
	padding: 15px 24px;
	border-radius: 8px;
	border: 0;
	cursor: pointer;
	line-height: normal;
}
.form-card__button:hover {
	background: var(--accent);
	color: var(--ink);
}
.form-card__note {
	font-size: 0.813rem;
	color: var(--muted);
}
.lead-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.lead-form__alert {
	color: var(--error);
	font-size: 0.875rem;
	line-height: 1.5;
	flex-basis: 100%;
}
.lead-form__alert a {
	color: inherit;
	text-decoration: underline;
}
.lead-form__sent {
	font-size: 1rem;
	line-height: 1.55;
	font-weight: 600;
	flex-basis: 100%;
}
.lead-form__sent::before {
	content: '✓ ';
	color: var(--accent);
}
.field-error {
	color: var(--error);
	font-size: 0.813rem;
	flex-basis: 100%;
}
[aria-busy="true"] {
	opacity: .7;
	cursor: progress;
}

.callback {
	background: var(--ink);
	color: var(--white);
	border-radius: 12px;
	padding: clamp(24px, 4vw, 40px);
	display: grid;
	gap: 16px;
}
.callback__text {
	color: var(--dmuted);
	line-height: 1.55;
	font-size: 0.938rem;
}
.callback__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.callback__input {
	flex: 1;
	min-width: min(100%, 11.25rem);
	width: auto;
}
.callback__button {
	display: inline-flex;
	align-items: center;
	background: var(--accent);
	color: var(--ink);
	font-weight: 700;
	padding: 14px 20px;
	border-radius: 8px;
	border: 0;
	cursor: pointer;
	line-height: normal;
}
.callback__button:hover {
	background: var(--accent-hover);
	color: var(--ink);
}

/* Contact details (label / value rows) */
.details {
	display: grid;
	gap: 14px;
	padding: 0 8px;
	font-size: 0.938rem;
	color: var(--text);
}
.details__row {
	display: grid;
	grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
	gap: 12px;
}
.details__label {
	color: var(--muted);
	font-weight: 500;
}
.details__value a {
	color: var(--text);
	font-weight: 600;
}
.details-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: clamp(24px, 4vw, 32px);
	display: grid;
	gap: 14px;
	font-size: 0.938rem;
}
.details-card .details {
	display: contents;
}

/* ---------- Maps ---------- */
.map {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--line);
	border-radius: 12px;
	display: block;
	filter: saturate(.6);
}
.map--4x3 {
	aspect-ratio: 4 / 3;
}

/* ---------- Price calculator ---------- */
.calc {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
	overflow: hidden;
	font-family: 'Work Sans', system-ui, sans-serif;
	color: var(--text);
}
.calc__form {
	padding: clamp(28px, 4vw, 48px);
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.calc__title {
	font-size: clamp(2.125rem, 4vw, 3.25rem);
	font-weight: 800;
	color: var(--text);
	margin: 0;
	font-family: 'Big Shoulders Display', sans-serif;
	text-transform: uppercase;
	line-height: 1;
}
.calc__intro {
	color: var(--muted);
	line-height: 1.55;
	font-size: 1rem;
	margin: 0;
}
.calc__fields {
	display: grid;
	gap: 12px;
}
.calc__label {
	display: grid;
	gap: 6px;
	font-size: 0.813rem;
	font-weight: 600;
}
.calc__button {
	margin-top: 4px;
	background: var(--btn2);
	color: var(--white);
	border: 0;
	border-radius: 8px;
	padding: 16px 20px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
}
.calc__button:hover {
	background: var(--accent);
	color: var(--ink);
}
.calc__note {
	font-size: 0.781rem;
	color: var(--muted);
	line-height: 1.5;
	margin: 0;
}
.calc__result {
	background: var(--ink);
	color: var(--white);
	padding: clamp(28px, 4vw, 48px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
}
.calc__state {
	display: contents;
}
.calc__price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}
.calc__amount {
	font-family: 'Big Shoulders Display', sans-serif;
	font-size: clamp(3.5rem, 7vw, 5.5rem);
	font-weight: 900;
	line-height: 1;
}
.calc__amount-note {
	color: var(--dmuted);
	font-size: 0.875rem;
}
.calc__hint {
	color: var(--dmuted);
	line-height: 1.55;
	font-size: 0.938rem;
	margin: 0;
}
.calc__list {
	display: grid;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--dsoft);
	margin: 0;
	padding: 0;
	list-style: none;
}
.calc__list li {
	display: flex;
	gap: 10px;
}
.calc__list-mark {
	color: var(--accent);
}
.calc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.calc__action {
	flex: 1;
	min-width: min(100%, 10rem);
	text-align: center;
	background: var(--accent);
	color: var(--ink);
	font-weight: 700;
	padding: 14px 18px;
	border-radius: 8px;
}
.calc__action:hover {
	background: var(--accent-hover);
	color: var(--ink);
}
.calc__action--outline {
	background: transparent;
	border: 1.5px solid var(--white);
	color: var(--white);
	font-weight: 600;
	padding: 13px 18px;
}
.calc__action--outline:hover {
	background: var(--invert);
	color: var(--ink);
}
.pac-container {
	font-family: var(--font-body);
	z-index: 70;
}

/* ---------- Content + sidebar layout (service, region, blog post) ---------- */
.with-aside {
	max-width: 77.5rem;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.with-aside__main {
	display: grid;
	gap: 40px;
	min-width: 0;
	flex: 1.6 1 34rem;
}
.with-aside__side {
	display: grid;
	gap: 20px;
	position: sticky;
	top: 96px;
	flex: 1 1 18rem;
	min-width: 0;
}
.side-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 26px;
	display: grid;
	gap: 14px;
}
.side-card--tight {
	gap: 12px;
}
.side-card--links {
	gap: 10px;
	font-size: 0.938rem;
	font-weight: 500;
}
.side-card--links .h-card {
	margin: 0 0 4px;
}
.side-card--dark {
	background: var(--ink);
	color: var(--white);
	border: 0;
}
.side-link {
	color: var(--text);
	display: flex;
	gap: 8px;
}
.side-link:hover {
	color: var(--accent-text);
}
.side-link__arrow {
	color: var(--accent);
}
.side-link--all {
	color: var(--accent-text);
	margin-top: 4px;
}
.side-btn {
	display: flex;
	justify-content: center;
	background: var(--accent);
	color: var(--ink);
	font-weight: 700;
	padding: 14px;
	border-radius: 8px;
	white-space: nowrap;
}
.side-btn:hover {
	background: var(--accent-hover);
	color: var(--ink);
}
.side-btn--outline {
	background: transparent;
	border: 1.5px solid var(--text);
	color: var(--text);
	font-weight: 600;
	padding: 13px;
	white-space: normal;
}
.side-btn--outline:hover {
	background: var(--btn2);
	color: var(--white);
}
.side-btn--outline-dark {
	background: transparent;
	border: 1.5px solid var(--white);
	color: var(--white);
	font-weight: 600;
	padding: 13px;
	white-space: normal;
}
.side-btn--outline-dark:hover {
	background: var(--invert);
	color: var(--ink);
}

/* Dark box inside an article ("Wat kost het?", "Nu pech?") */
.dark-box {
	background: var(--ink);
	color: var(--white);
	border-radius: 12px;
	padding: clamp(24px, 4vw, 40px);
	display: grid;
	gap: 14px;
}

/* Rounded photo */
.photo {
	width: 100%;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}
.photo--16x9 {
	aspect-ratio: 16 / 9;
}
.photo--4x3 {
	aspect-ratio: 4 / 3;
}
.photo--4x5 {
	aspect-ratio: 4 / 5;
	object-position: 50% 60%;
}
