/* ==========================================================================
   HostingMeister 1.0 · hoofdstijlen
   Kleuren en lettertypes komen uit theme.json (CSS-variabelen --wp--preset--*).
   ========================================================================== */

:root {
	--hm-night: var(--wp--preset--color--night, #070b14);
	--hm-navy: var(--wp--preset--color--navy, #0b1426);
	--hm-surface: var(--wp--preset--color--surface, #111d35);
	--hm-border: var(--wp--preset--color--border, #22345a);
	--hm-primary: var(--wp--preset--color--primary, #2563eb);
	--hm-primary-hover: #1d4ed8;
	--hm-accent: var(--wp--preset--color--accent, #60a5fa);
	--hm-cyan: var(--wp--preset--color--cyan, #22d3ee);
	--hm-text: var(--wp--preset--color--text, #cbd5e1);
	--hm-muted: var(--wp--preset--color--muted, #94a3b8);
	--hm-white: var(--wp--preset--color--white, #f8fafc);
	--hm-font: var(--wp--preset--font-family--body, system-ui, sans-serif);
	--hm-mono: var(--wp--preset--font-family--mono, ui-monospace, monospace);

	--hm-radius: 16px;
	--hm-radius-sm: 10px;
	--hm-gutter: clamp(1rem, 4vw, 2rem);
	--hm-max: 1200px;
	--hm-header-h: 72px;
	--hm-focus: 0 0 0 3px var(--hm-night), 0 0 0 5px var(--hm-accent);
	--hm-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hm-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	background: var(--hm-night);
	color: var(--hm-text);
	font-family: var(--hm-font);
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--hm-accent);
	text-underline-offset: .2em;
	text-decoration-thickness: 1px;
	transition: color .2s var(--hm-ease);
}

a:hover {
	color: var(--hm-white);
}

:focus-visible {
	outline: none;
	box-shadow: var(--hm-focus);
	border-radius: 6px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--hm-white);
	line-height: 1.2;
	letter-spacing: -.02em;
	margin: 0 0 .6em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

::selection {
	background: var(--hm-primary);
	color: var(--hm-white);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.hm-skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: .75rem 1.25rem;
	background: var(--hm-white);
	color: var(--hm-night);
	font-weight: 700;
	border-radius: var(--hm-radius-sm);
	text-decoration: none;
}

.hm-container {
	width: 100%;
	max-width: calc(var(--hm-max) + 2 * var(--hm-gutter));
	margin-inline: auto;
	padding-inline: var(--hm-gutter);
}

.hm-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

/* ---------- Knoppen ---------- */

.hm-button,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 48px;
	padding: .8rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--hm-radius-sm);
	background: var(--hm-primary);
	color: var(--hm-white);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 24px -10px rgba(37, 99, 235, .8), inset 0 1px 0 rgba(255, 255, 255, .15);
	transition: background-color .2s var(--hm-ease), transform .2s var(--hm-ease), box-shadow .2s var(--hm-ease), border-color .2s var(--hm-ease);
}

.hm-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	background: var(--hm-primary-hover);
	color: var(--hm-white);
	transform: translateY(-1px);
}

.hm-button .hm-icon {
	transition: transform .2s var(--hm-ease);
}

.hm-button:hover .hm-icon--arrow {
	transform: translateX(3px);
}

.hm-button--small {
	min-height: 42px;
	padding: .55rem 1.1rem;
	font-size: .9375rem;
}

.hm-button--ghost {
	background: rgba(148, 163, 184, .06);
	border-color: var(--hm-border);
	color: var(--hm-white);
	box-shadow: none;
}

.hm-button--ghost:hover {
	background: rgba(148, 163, 184, .12);
	border-color: var(--hm-accent);
}

.hm-button--light {
	background: var(--hm-white);
	color: var(--hm-night);
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}

.hm-button--light:hover {
	background: #e2e8f0;
	color: var(--hm-night);
}

.hm-button--disabled,
.hm-button--disabled:hover {
	background: transparent;
	border: 1px dashed var(--hm-border);
	color: var(--hm-muted);
	box-shadow: none;
	cursor: default;
	transform: none;
}

.hm-button--light.hm-button--disabled {
	border-color: rgba(248, 250, 252, .55);
	color: var(--hm-white);
}

/* ---------- Header ---------- */

.hm-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(7, 11, 20, .78);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s var(--hm-ease), background-color .25s var(--hm-ease);
}

.admin-bar .hm-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .hm-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .hm-header {
		top: 0;
	}
}

.hm-header.is-scrolled {
	background: rgba(7, 11, 20, .92);
	border-bottom-color: rgba(34, 52, 90, .7);
}

.hm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--hm-header-h);
}

.hm-logo {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	color: var(--hm-white);
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -.02em;
}

.hm-logo:hover {
	color: var(--hm-white);
}

.hm-logo__mark {
	display: inline-flex;
	filter: drop-shadow(0 6px 14px rgba(37, 99, 235, .45));
}

.hm-logo__mark svg {
	width: 34px;
	height: 34px;
}

.hm-logo__text strong {
	font-weight: 800;
	color: var(--hm-white);
}

.custom-logo-link {
	display: inline-flex;
}

.custom-logo {
	max-height: 44px;
	width: auto;
}

.hm-nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.hm-menu,
.hm-nav .menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-menu a {
	display: block;
	padding: .5rem .75rem;
	border-radius: 8px;
	color: var(--hm-text);
	font-size: .9375rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.hm-menu a:hover,
.hm-menu .current-menu-item > a,
.hm-menu .current_page_item > a {
	color: var(--hm-white);
	background: rgba(148, 163, 184, .08);
}

.hm-menu .current-menu-item > a,
.hm-menu .current_page_item > a {
	box-shadow: inset 0 -2px 0 var(--hm-accent);
}

/* Submenu's (optioneel, één niveau). */
.hm-menu li {
	position: relative;
}

.hm-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: .4rem;
	min-width: 220px;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--hm-surface);
	border: 1px solid var(--hm-border);
	border-radius: 12px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .2s var(--hm-ease);
}

.hm-menu li:hover > .sub-menu,
.hm-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.hm-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--hm-border);
	border-radius: var(--hm-radius-sm);
	background: rgba(148, 163, 184, .06);
	color: var(--hm-white);
	cursor: pointer;
}

.hm-nav-toggle .hm-icon {
	width: 22px;
	height: 22px;
}

.hm-nav-toggle__close {
	display: none;
}

.hm-nav-open .hm-nav-toggle__open {
	display: none;
}

.hm-nav-open .hm-nav-toggle__close {
	display: inline-flex;
}

@media (max-width: 959px) {
	/* Zonder JavaScript: menu gewoon zichtbaar onder het logo. */
	.hm-header__inner {
		flex-wrap: wrap;
		padding-block: .75rem;
	}

	.hm-nav {
		width: 100%;
		flex-wrap: wrap;
	}

	/* Met JavaScript: uitklapmenu. */
	.hm-js .hm-header__inner {
		flex-wrap: nowrap;
		padding-block: 0;
	}

	.hm-js .hm-nav-toggle {
		display: inline-flex;
	}

	.hm-js .hm-nav {
		position: fixed;
		inset: var(--hm-header-h) 0 auto 0;
		max-height: calc(100vh - var(--hm-header-h));
		overflow-y: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1rem var(--hm-gutter) 1.5rem;
		background: var(--hm-navy);
		border-bottom: 1px solid var(--hm-border);
		box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s var(--hm-ease), transform .2s var(--hm-ease), visibility .2s;
	}

	.hm-js .admin-bar .hm-nav {
		inset-block-start: calc(var(--hm-header-h) + 46px);
	}

	.hm-nav-open .hm-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.hm-js .hm-menu {
		flex-direction: column;
		align-items: stretch;
	}

	.hm-js .hm-menu a {
		padding: .85rem 1rem;
		font-size: 1.0625rem;
	}

	.hm-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: transparent;
		padding: 0 0 0 1rem;
	}

	.hm-header__cta {
		width: 100%;
	}

	.hm-nav-open {
		overflow: hidden;
	}
}

/* ---------- Algemene secties ---------- */

.hm-main {
	display: block;
}

.hm-section {
	padding-block: clamp(4rem, 9vw, 7rem);
}

.hm-section--tight {
	padding-block: clamp(2.5rem, 6vw, 4rem);
}

.hm-section--alt {
	background:
		radial-gradient(60% 50% at 50% 0%, rgba(37, 99, 235, .10), transparent 70%),
		var(--hm-navy);
	border-block: 1px solid rgba(34, 52, 90, .6);
}

.hm-section__head {
	max-width: 720px;
	margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}

.hm-section__head--left {
	margin-inline: 0;
	text-align: left;
}

.hm-section__head h2 {
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem);
}

.hm-section__head p:last-child {
	color: var(--hm-muted);
	font-size: 1.0625rem;
	margin-bottom: 0;
}

.hm-kicker {
	display: inline-block;
	margin-bottom: .9rem;
	color: var(--hm-accent);
	font-family: var(--hm-mono);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.hm-section__head .hm-kicker {
	margin-bottom: .9rem !important;
	color: var(--hm-accent) !important;
	font-size: .8125rem !important;
}

.hm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin-bottom: 1.5rem;
	padding: .4rem .9rem .4rem .75rem;
	border: 1px solid rgba(96, 165, 250, .3);
	border-radius: 999px;
	background: rgba(37, 99, 235, .1);
	color: #bfdbfe;
	font-size: .875rem;
	font-weight: 500;
}

.hm-dot {
	position: relative;
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--hm-cyan);
	box-shadow: 0 0 0 0 rgba(34, 211, 238, .6);
	animation: hm-pulse 2.4s infinite;
}

@keyframes hm-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 211, 238, .55);
	}

	70% {
		box-shadow: 0 0 0 8px rgba(34, 211, 238, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
	}
}

.hm-grid {
	display: grid;
	gap: clamp(1rem, 2.5vw, 1.5rem);
}

.hm-grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.hm-grid--4 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.hm-grid--posts {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

/* ---------- Hero ---------- */

.hm-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(4rem, 10vw, 8rem) clamp(4rem, 9vw, 7rem);
	isolation: isolate;
}

.hm-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(45% 55% at 85% 20%, rgba(34, 211, 238, .14), transparent 70%),
		radial-gradient(55% 60% at 15% 0%, rgba(37, 99, 235, .28), transparent 70%),
		linear-gradient(180deg, var(--hm-navy) 0%, var(--hm-night) 100%);
}

.hm-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 75%);
}

.hm-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	align-items: center;
	gap: clamp(2.5rem, 6vw, 5rem);
}

.hm-hero__title {
	margin-bottom: 1.5rem;
	font-size: clamp(2.5rem, 1.2rem + 5vw, 4.5rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.035em;
	background: linear-gradient(180deg, #fff 30%, #bfdbfe 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hm-hero__text {
	max-width: 36rem;
	margin-bottom: 2.25rem;
	color: var(--hm-text);
	font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
	line-height: 1.65;
}

.hm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .875rem;
}

/* Decoratieve terminal */
.hm-terminal {
	position: relative;
	border: 1px solid var(--hm-border);
	border-radius: var(--hm-radius);
	background: linear-gradient(180deg, rgba(17, 29, 53, .95), rgba(11, 20, 38, .95));
	box-shadow: 0 0 0 1px rgba(96, 165, 250, .08), 0 40px 80px -30px rgba(37, 99, 235, .55);
	font-family: var(--hm-mono);
	font-size: .9375rem;
	overflow: hidden;
	transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}

.hm-terminal::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, rgba(96, 165, 250, .6), transparent 40%, transparent 60%, rgba(34, 211, 238, .4));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.hm-terminal__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: .85rem 1.1rem;
	border-bottom: 1px solid var(--hm-border);
	background: rgba(7, 11, 20, .5);
}

.hm-terminal__bar span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #334155;
}

.hm-terminal__bar span:first-child {
	background: #475569;
}

.hm-terminal__bar em {
	margin-left: auto;
	color: var(--hm-muted);
	font-size: .8125rem;
	font-style: normal;
}

.hm-terminal__body {
	padding: 1.4rem 1.4rem 1.6rem;
	color: var(--hm-text);
}

.hm-terminal__body p {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin: 0 0 .7rem;
	white-space: nowrap;
}

.hm-terminal__prompt {
	color: var(--hm-accent);
}

.hm-terminal__ok {
	color: var(--hm-cyan);
	font-size: .7rem;
}

.hm-terminal__tag {
	margin-left: auto;
	padding: .1rem .55rem;
	border: 1px solid rgba(96, 165, 250, .3);
	border-radius: 6px;
	color: #bfdbfe;
	font-size: .75rem;
}

.hm-terminal__muted {
	color: var(--hm-muted);
}

.hm-terminal__cursor {
	display: inline-block;
	width: .55em;
	height: 1.1em;
	margin-left: .1rem;
	background: var(--hm-accent);
	animation: hm-blink 1.1s steps(1) infinite;
}

@keyframes hm-blink {
	50% {
		opacity: 0;
	}
}

@media (max-width: 959px) {
	.hm-hero__inner {
		grid-template-columns: 1fr;
	}

	.hm-terminal {
		transform: none;
		max-width: 520px;
	}
}

@media (max-width: 420px) {
	.hm-terminal {
		font-size: .8125rem;
	}

	.hm-hero__actions .hm-button {
		width: 100%;
	}
}

/* ---------- Kaarten ---------- */

.hm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2rem);
	border: 1px solid var(--hm-border);
	border-radius: var(--hm-radius);
	background: linear-gradient(180deg, rgba(17, 29, 53, .9) 0%, rgba(11, 20, 38, .9) 100%);
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
	transition: transform .25s var(--hm-ease), border-color .25s var(--hm-ease), box-shadow .25s var(--hm-ease);
}

.hm-card--service::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .8), transparent);
	opacity: 0;
	transition: opacity .25s var(--hm-ease);
}

.hm-card--service:hover,
.hm-card--post:hover,
.hm-card--service:target {
	transform: translateY(-4px);
	border-color: rgba(96, 165, 250, .5);
	box-shadow: 0 0 0 1px rgba(96, 165, 250, .2), 0 24px 50px -20px rgba(37, 99, 235, .55);
}

.hm-card--service:hover::before,
.hm-card--service:target::before {
	opacity: 1;
}

.hm-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1.5rem;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(37, 99, 235, .25), rgba(34, 211, 238, .12));
	border: 1px solid rgba(96, 165, 250, .35);
	color: var(--hm-accent);
}

.hm-card__icon .hm-icon {
	width: 28px;
	height: 28px;
}

.hm-card__icon--small {
	width: 42px;
	height: 42px;
	margin: 0;
	border-radius: 11px;
}

.hm-card__icon--small .hm-icon {
	width: 22px;
	height: 22px;
}

.hm-card__title {
	margin-bottom: .6rem;
	font-size: 1.375rem;
}

.hm-card__title a {
	color: var(--hm-white);
	text-decoration: none;
}

.hm-card__title a:hover {
	color: var(--hm-accent);
}

.hm-card__text {
	color: var(--hm-text);
}

.hm-card__text p:last-child {
	margin-bottom: 0;
}

.hm-card__label {
	margin: .5rem 0 .75rem;
	color: var(--hm-muted);
	font-family: var(--hm-mono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.hm-checklist {
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
}

.hm-checklist li {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	padding: .35rem 0;
	color: var(--hm-text);
}

.hm-checklist .hm-icon {
	width: 18px;
	height: 18px;
	margin-top: .3rem;
	color: var(--hm-cyan);
}

.hm-card__footer {
	margin-top: auto;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(34, 52, 90, .7);
}

.hm-badge {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .35rem .8rem;
	border: 1px solid rgba(96, 165, 250, .3);
	border-radius: 999px;
	background: rgba(37, 99, 235, .1);
	color: #bfdbfe;
	font-size: .875rem;
	font-weight: 500;
}

.hm-badge .hm-icon {
	width: 16px;
	height: 16px;
}

.hm-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: var(--hm-accent);
	font-weight: 600;
	text-decoration: none;
}

.hm-link-arrow .hm-icon {
	width: 18px;
	height: 18px;
	transition: transform .2s var(--hm-ease);
}

.hm-link-arrow:hover .hm-icon {
	transform: translateX(3px);
}

/* ---------- Voordelen ---------- */

.hm-benefit {
	padding: 1.75rem;
	border: 1px solid rgba(34, 52, 90, .8);
	border-radius: var(--hm-radius);
	background: rgba(7, 11, 20, .45);
}

.hm-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 1.25rem;
	border-radius: 12px;
	background: var(--hm-primary);
	color: var(--hm-white);
	box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .9);
}

.hm-benefit__title {
	font-size: 1.125rem;
	margin-bottom: .5rem;
}

.hm-benefit p {
	margin: 0;
	color: var(--hm-muted);
	font-size: .9375rem;
	line-height: 1.65;
}

/* ---------- Over ons ---------- */

.hm-about__inner {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}

.hm-about__head h2 {
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem);
	margin-bottom: 0;
}

.hm-about__content {
	font-size: 1.0625rem;
}

@media (max-width: 799px) {
	.hm-about__inner {
		grid-template-columns: 1fr;
	}
}

/* ---------- Prijzen ---------- */

.hm-card--price {
	align-items: flex-start;
	gap: .25rem;
}

.hm-card--price .hm-card__head {
	display: flex;
	align-items: center;
	gap: .85rem;
	margin-bottom: 1.25rem;
}

.hm-card--price .hm-card__title {
	margin: 0;
	font-size: 1.1875rem;
}

.hm-price {
	margin: 0 0 .5rem;
}

.hm-price__value {
	color: var(--hm-white);
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -.02em;
}

.hm-card--price .hm-card__text {
	color: var(--hm-muted);
	margin-bottom: 1.5rem;
}

.hm-card--price .hm-button {
	width: 100%;
	margin-top: auto;
}

.hm-notice {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	max-width: 760px;
	margin: 2.5rem auto 0;
	padding: 1rem 1.25rem;
	border: 1px solid rgba(96, 165, 250, .3);
	border-radius: 12px;
	background: rgba(37, 99, 235, .08);
	color: #dbeafe;
	font-size: .9375rem;
}

.hm-notice .hm-icon {
	margin-top: .15rem;
	color: var(--hm-accent);
}

/* ---------- FAQ ---------- */

.hm-faq__inner {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}

@media (max-width: 799px) {
	.hm-faq__inner {
		grid-template-columns: 1fr;
	}
}

.hm-faq__list {
	display: grid;
	gap: .75rem;
}

.hm-faq__item,
.wp-block-details {
	border: 1px solid var(--hm-border);
	border-radius: 14px;
	background: var(--hm-surface);
	transition: border-color .2s var(--hm-ease);
}

.hm-faq__item[open],
.wp-block-details[open] {
	border-color: rgba(96, 165, 250, .5);
}

.hm-faq__item summary,
.wp-block-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	color: var(--hm-white);
	font-size: 1.0625rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	border-radius: 14px;
}

.hm-faq__item summary::-webkit-details-marker,
.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.hm-faq__item summary .hm-icon {
	color: var(--hm-accent);
	transition: transform .25s var(--hm-ease);
}

.hm-faq__item[open] summary .hm-icon {
	transform: rotate(45deg);
}

.hm-faq__answer,
.wp-block-details > :not(summary) {
	padding: 0 1.35rem 1.25rem;
	color: var(--hm-text);
}

.hm-faq__answer p {
	margin: 0;
}

/* ---------- CTA / contact ---------- */

.hm-cta {
	padding-top: 0;
}

.hm-cta__box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.5rem 3rem;
	padding: clamp(2rem, 5vw, 3.5rem);
	border-radius: 24px;
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(34, 211, 238, .35), transparent 60%),
		linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
	box-shadow: 0 30px 60px -30px rgba(37, 99, 235, .8);
	overflow: hidden;
}

.hm-cta__box > div {
	max-width: 600px;
}

.hm-cta__box h2 {
	font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.25rem);
	margin-bottom: .5rem;
}

.hm-cta__box p {
	margin: 0;
	color: #dbeafe;
	font-size: 1.0625rem;
}

/* ---------- Pagina's en berichten ---------- */

.hm-page-header {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 3.5rem);
	border-bottom: 1px solid rgba(34, 52, 90, .6);
	isolation: isolate;
}

.hm-page-header__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(50% 80% at 10% 0%, rgba(37, 99, 235, .25), transparent 70%),
		radial-gradient(40% 70% at 90% 10%, rgba(34, 211, 238, .1), transparent 70%),
		var(--hm-navy);
}

.hm-page-header__inner {
	max-width: calc(760px + 2 * var(--hm-gutter));
}

.hm-page-header__title {
	margin: 0;
	font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -.03em;
}

.hm-page-header__desc {
	margin: 1rem 0 0;
	color: var(--hm-muted);
	font-size: 1.125rem;
}

.hm-meta {
	margin: 1rem 0 0;
	color: var(--hm-muted);
	font-size: .9375rem;
}

.hm-card .hm-meta {
	margin: 0 0 .5rem;
	font-size: .875rem;
}

.hm-card__media {
	display: block;
	margin: calc(-1 * clamp(1.5rem, 3vw, 2rem)) calc(-1 * clamp(1.5rem, 3vw, 2rem)) 1.25rem;
	border-radius: var(--hm-radius) var(--hm-radius) 0 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.hm-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hm-card--post .hm-link-arrow {
	margin-top: auto;
	padding-top: 1rem;
}

.hm-featured {
	max-width: 960px;
	margin: 0 auto 2.5rem;
	border-radius: var(--hm-radius);
	overflow: hidden;
	border: 1px solid var(--hm-border);
}

.hm-featured img {
	display: block;
	width: 100%;
}

/* Leesbare lopende tekst (ook voor de blokeditor-inhoud). */
.hm-prose {
	max-width: 760px;
	margin-inline: auto;
	font-size: 1.0625rem;
}

.hm-about .hm-prose {
	margin-inline: 0;
}

.hm-prose > * + * {
	margin-top: 1.25em;
}

.hm-prose > :first-child {
	margin-top: 0;
}

.hm-prose p,
.hm-prose ul,
.hm-prose ol {
	margin-bottom: 0;
}

.hm-prose h2 {
	margin-top: 2.25em;
	font-size: 1.75rem;
}

.hm-prose h3 {
	margin-top: 1.75em;
	font-size: 1.375rem;
}

.hm-prose ul,
.hm-prose ol {
	padding-left: 1.4em;
}

.hm-prose li + li {
	margin-top: .4em;
}

.hm-prose li::marker {
	color: var(--hm-accent);
}

.hm-prose strong {
	color: var(--hm-white);
}

.hm-prose blockquote {
	margin-inline: 0;
	padding-left: 1.25rem;
	border-left: 3px solid var(--hm-primary);
	color: var(--hm-white);
	font-size: 1.1875rem;
}

.hm-prose code,
.hm-prose kbd {
	padding: .15em .4em;
	border-radius: 6px;
	background: var(--hm-surface);
	border: 1px solid var(--hm-border);
	font-family: var(--hm-mono);
	font-size: .875em;
}

.hm-prose pre {
	overflow-x: auto;
	padding: 1.25rem;
	border-radius: 12px;
	background: var(--hm-navy);
	border: 1px solid var(--hm-border);
	font-family: var(--hm-mono);
	font-size: .9375rem;
}

.hm-prose pre code {
	padding: 0;
	border: 0;
	background: none;
}

.hm-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9375rem;
}

.hm-prose th,
.hm-prose td {
	padding: .75rem;
	border-bottom: 1px solid var(--hm-border);
	text-align: left;
}

.hm-prose th {
	color: var(--hm-white);
}

.hm-prose hr,
.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--hm-border);
	margin-block: 2.5em;
}

.hm-prose img {
	border-radius: 12px;
}

.hm-prose figcaption,
.wp-element-caption {
	margin-top: .6rem;
	color: var(--hm-muted);
	font-size: .875rem;
	text-align: center;
}

/* Brede en volle uitlijning in de blokeditor. */
.hm-prose > .alignwide {
	max-width: var(--hm-max);
	width: calc(100vw - 2 * var(--hm-gutter));
	margin-inline: calc(50% - min(50vw - var(--hm-gutter), var(--hm-max) / 2));
}

.hm-prose > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.alignleft {
	float: left;
	margin: .3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: .3em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
	text-align: center;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .875rem;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--hm-border);
	color: var(--hm-white);
	box-shadow: none;
}

/* Brede paginatemplate */
.hm-wide__content > * {
	max-width: calc(760px + 2 * var(--hm-gutter));
	margin-inline: auto;
	padding-inline: var(--hm-gutter);
}

.hm-wide__content > .alignwide {
	max-width: calc(var(--hm-max) + 2 * var(--hm-gutter));
}

.hm-wide__content > .alignfull {
	max-width: none;
	padding-inline: 0;
}

.hm-wide__content > * + * {
	margin-top: 1.5rem;
}

/* Blokpatronen */
.hm-pattern-hero {
	padding: clamp(4rem, 9vw, 7rem) var(--hm-gutter) clamp(3rem, 6vw, 4.5rem) !important;
	background:
		radial-gradient(45% 60% at 85% 10%, rgba(34, 211, 238, .14), transparent 70%),
		radial-gradient(55% 70% at 10% 0%, rgba(37, 99, 235, .3), transparent 70%),
		var(--hm-navy);
	border-bottom: 1px solid rgba(34, 52, 90, .6);
}

.hm-pattern-hero > * {
	max-width: 760px;
	margin-inline: auto;
}

.hm-pattern-hero__title {
	font-size: clamp(2.25rem, 1.3rem + 3.5vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -.03em;
}

.hm-pattern-hero__text {
	color: var(--hm-text);
	font-size: 1.1875rem;
	margin-bottom: 2rem;
}

.hm-pattern-section {
	padding-block: clamp(3rem, 6vw, 5rem) !important;
}

.hm-pattern-cards {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.hm-block-card {
	padding: 1.75rem;
	border: 1px solid var(--hm-border);
	border-radius: var(--hm-radius);
	background: linear-gradient(180deg, rgba(17, 29, 53, .9), rgba(11, 20, 38, .9));
}

.hm-block-card > :last-child {
	margin-bottom: 0;
}

.hm-block-notice {
	padding: 1rem 1.25rem 1rem 3rem;
	border: 1px solid rgba(96, 165, 250, .3);
	border-radius: 12px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7 12 12 15.5 14'/%3E%3C/svg%3E") no-repeat 1.1rem 1.15rem,
		rgba(37, 99, 235, .08);
	color: #dbeafe;
}

.hm-pattern-faq .wp-block-details + .wp-block-details {
	margin-top: .75rem;
}

/* Navigatie tussen berichten en paginering */
.post-navigation .nav-links,
.posts-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 1rem;
	margin-top: 3rem;
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 1.25rem;
	border: 1px solid var(--hm-border);
	border-radius: 12px;
	background: var(--hm-surface);
	text-decoration: none;
}

.post-navigation a:hover {
	border-color: var(--hm-accent);
}

.post-navigation .nav-next {
	text-align: right;
}

.hm-post-nav__label {
	display: block;
	color: var(--hm-muted);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.hm-post-nav__title {
	display: block;
	color: var(--hm-white);
	font-weight: 600;
}

.pagination {
	margin-top: 3rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 .9rem;
	border: 1px solid var(--hm-border);
	border-radius: 10px;
	color: var(--hm-text);
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--hm-primary);
	border-color: var(--hm-primary);
	color: var(--hm-white);
}

.hm-tags {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.hm-tags a {
	padding: .3rem .8rem;
	border: 1px solid var(--hm-border);
	border-radius: 999px;
	color: var(--hm-text);
	font-size: .875rem;
	text-decoration: none;
}

.hm-tags a:hover {
	border-color: var(--hm-accent);
	color: var(--hm-white);
}

/* Zoeken, 404 en lege staten */
.hm-search {
	display: flex;
	gap: .5rem;
	max-width: 520px;
}

.hm-search__field,
.hm-comments input[type="text"],
.hm-comments input[type="email"],
.hm-comments input[type="url"],
.hm-comments textarea {
	flex: 1;
	width: 100%;
	min-height: 48px;
	padding: .75rem 1rem;
	border: 1px solid var(--hm-border);
	border-radius: 10px;
	background: var(--hm-navy);
	color: var(--hm-white);
	font: inherit;
}

.hm-search__field::placeholder {
	color: var(--hm-muted);
}

.hm-search__field:focus,
.hm-comments input:focus,
.hm-comments textarea:focus {
	outline: none;
	border-color: var(--hm-accent);
	box-shadow: 0 0 0 3px rgba(96, 165, 250, .25);
}

.hm-search-again {
	margin-bottom: 2.5rem;
}

.hm-404 {
	max-width: 640px;
	text-align: center;
}

.hm-404__code {
	margin: 0;
	font-size: clamp(5rem, 15vw, 9rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.05em;
	background: linear-gradient(135deg, var(--hm-primary), var(--hm-cyan));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hm-404 h1 {
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
}

.hm-404__search {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
}

.hm-404__search .hm-search {
	width: 100%;
}

.hm-empty {
	padding: 3rem 2rem;
	border: 1px dashed var(--hm-border);
	border-radius: var(--hm-radius);
	text-align: center;
}

/* Reacties */
.hm-comments {
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--hm-border);
}

.hm-comments__list,
.hm-comments__list .children {
	list-style: none;
	padding-left: 0;
}

.hm-comments__list .children {
	padding-left: 1.5rem;
}

.hm-comments .comment-body {
	margin-bottom: 1.25rem;
	padding: 1.25rem;
	border: 1px solid var(--hm-border);
	border-radius: 12px;
	background: var(--hm-surface);
}

.hm-comments .avatar {
	border-radius: 50%;
	vertical-align: middle;
	margin-right: .5rem;
}

.hm-comments .comment-meta a {
	color: var(--hm-muted);
	font-size: .875rem;
}

.hm-comments label {
	display: block;
	margin-bottom: .35rem;
	color: var(--hm-white);
	font-weight: 600;
}

.hm-comments .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

/* ---------- Footer ---------- */

.hm-footer {
	margin-top: clamp(2rem, 5vw, 4rem);
	border-top: 1px solid rgba(34, 52, 90, .7);
	background: linear-gradient(180deg, var(--hm-navy) 0%, var(--hm-night) 100%);
}

.hm-front .hm-cta + .hm-footer,
.hm-is-front .hm-footer {
	margin-top: 0;
}

.hm-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 2.5rem;
	padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}

.hm-footer__text {
	max-width: 26rem;
	margin: 1.25rem 0 1rem;
	color: var(--hm-muted);
}

.hm-footer__status {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin: 0;
	color: var(--hm-text);
	font-size: .9375rem;
}

.hm-footer__heading {
	margin-bottom: 1rem;
	color: var(--hm-white);
	font-family: var(--hm-mono);
	font-size: .8125rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.hm-footer-menu,
.hm-footer__nav .menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: .35rem 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-footer-menu a,
.hm-footer__nav .menu a {
	display: inline-block;
	padding: .3rem 0;
	color: var(--hm-text);
	text-decoration: none;
}

.hm-footer-menu a:hover,
.hm-footer__nav .menu a:hover {
	color: var(--hm-white);
	text-decoration: underline;
}

.hm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	padding-block: 1.5rem 2rem;
	border-top: 1px solid rgba(34, 52, 90, .6);
	color: var(--hm-muted);
	font-size: .875rem;
}

.hm-footer__bottom p {
	margin: 0;
}

.hm-footer__bottom a {
	color: var(--hm-text);
}

@media (max-width: 719px) {
	.hm-footer__inner {
		grid-template-columns: 1fr;
	}
}

/* ---------- WordPress-standaardclasses ---------- */

.sticky .hm-card__title::after {
	content: " ★";
	color: var(--hm-accent);
}

.bypostauthor > .comment-body {
	border-color: rgba(96, 165, 250, .5);
}

.gallery-caption,
.wp-caption-text {
	color: var(--hm-muted);
	font-size: .875rem;
}

.wp-caption {
	max-width: 100%;
}

.hm-pattern-hero > .hm-kicker {
	display: block;
	margin-bottom: 0;
}
