/**
 * Hostema ontwerpsysteem.
 * Wordt geladen ná de GeneratePress-stylesheet (zie functions.php) en overschrijft
 * bewust alleen wat nodig is voor de Hostema-uitstraling. Geen webfonts, geen
 * icon-library, geen zware libraries — puur CSS voor snelheid en onderhoudbaarheid.
 */

/* -----------------------------------------------------------------------
 * 1. Design tokens
 * -------------------------------------------------------------------- */
:root {
	--hostema-ink: #1e2a32;
	--hostema-muted: #57646c;
	--hostema-primary: #1b4b57;
	--hostema-primary-dark: #123540;
	--hostema-accent: #dd7a2c;
	--hostema-accent-dark: #b8631f;
	--hostema-bg: #ffffff;
	--hostema-bg-soft: #f5f7f6;
	--hostema-primary-tint: #e6eef0;
	--hostema-accent-tint: #fbefe6;
	--hostema-border: #e2e8e6;
	--hostema-success-bg: #eaf6ee;
	--hostema-success-text: #1f6d3b;
	--hostema-error-bg: #fcebea;
	--hostema-error-text: #a4281f;

	--hostema-radius: 14px;
	--hostema-radius-sm: 10px;
	--hostema-shadow: 0 1px 2px rgba(16, 24, 32, 0.05), 0 10px 28px -16px rgba(16, 24, 32, 0.18);

	--hostema-container: 1180px;
	--hostema-prose: 720px;

	--hostema-section-pad: clamp(2.75rem, 6vw, 5.5rem);
	--hostema-gap: clamp(1rem, 2vw, 1.75rem);

	--wp--style--global--content-size: var(--hostema-prose);
	--wp--style--global--wide-size: var(--hostema-container);
}

/* -----------------------------------------------------------------------
 * 2. Basistypografie (systeemfonts: snel, geen extra requests)
 * -------------------------------------------------------------------- */
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--hostema-ink);
	background-color: var(--hostema-bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.hostema-hero__title,
.hostema-page-header__title,
.hostema-cta__title {
	font-family: inherit;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--hostema-ink);
}

p {
	line-height: 1.65;
}

a {
	color: var(--hostema-primary);
}

a:hover {
	color: var(--hostema-accent);
}

:focus-visible {
	outline: 2.5px solid var(--hostema-accent);
	outline-offset: 2px;
}

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

* {
	box-sizing: border-box;
}

.site-content, body {
	overflow-x: hidden;
}

/* -----------------------------------------------------------------------
 * 2b. Header
 * -------------------------------------------------------------------- */
.site-header {
	border-bottom: 1px solid var(--hostema-border);
}

.main-navigation .main-nav ul li a {
	font-weight: 600;
	font-size: 0.98rem;
}

.site-branding img,
.custom-logo {
	max-height: 52px;
	width: auto;
}

.main-navigation .sub-menu {
	border-radius: var(--hostema-radius-sm);
	box-shadow: var(--hostema-shadow);
	border: 1px solid var(--hostema-border);
	overflow: hidden;
	padding: 0.4rem 0;
}

.main-navigation .sub-menu a {
	font-weight: 500;
	font-size: 0.94rem;
}

/* -----------------------------------------------------------------------
 * 3. Layout: secties en container
 * -------------------------------------------------------------------- */
.hostema-section {
	padding-block: var(--hostema-section-pad);
}

.hostema-section--muted,
.hostema-section--trust {
	background-color: var(--hostema-primary-tint);
}

.hostema-section--hero {
	position: relative;
	overflow: hidden;
	padding-block-start: clamp(3.5rem, 8vw, 6.5rem);
	background:
		radial-gradient(circle at 12% 15%, rgba(221, 122, 44, 0.12), transparent 42%),
		radial-gradient(circle at 88% 10%, rgba(27, 75, 87, 0.14), transparent 48%),
		var(--hostema-bg);
}

.hostema-section--hero .hostema-container-inner {
	position: relative;
	z-index: 1;
}

.hostema-container-inner {
	max-width: var(--hostema-container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.hostema-prose {
	max-width: var(--hostema-prose);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	padding-block: 0.75rem;
}

.hostema-prose p,
.hostema-prose li {
	color: var(--hostema-muted);
	font-size: 1.05rem;
}

.hostema-prose h2 {
	font-size: clamp(1.35rem, 2.4vw, 1.65rem);
	margin-top: 2rem;
}

.hostema-service-heading {
	font-size: clamp(1.2rem, 2vw, 1.4rem);
	scroll-margin-top: 100px;
}

.hostema-back-link {
	margin-top: 2rem;
	font-weight: 600;
}

.hostema-back-link a {
	text-decoration: none;
}

.hostema-back-link a:hover {
	text-decoration: underline;
}

.hostema-section__title {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	text-align: center;
	margin: 0 0 0.75rem;
}

.hostema-section__title::after {
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	border-radius: 999px;
	background: var(--hostema-accent);
	margin: 0.85rem auto 0;
}

.hostema-section__intro {
	text-align: center;
	max-width: 620px;
	margin: 0 auto 2.5rem;
	color: var(--hostema-muted);
}

.hostema-section__footer {
	text-align: center;
	margin-top: 2.5rem;
}

/* -----------------------------------------------------------------------
 * 4. Hero
 * -------------------------------------------------------------------- */
.hostema-hero {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.hostema-eyebrow {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hostema-accent-dark);
	background: var(--hostema-accent-tint);
	border: 1px solid rgba(221, 122, 44, 0.25);
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	margin-bottom: 1.25rem;
}

.hostema-hero__title {
	font-size: clamp(2rem, 5vw, 3rem);
	margin: 0 0 1.1rem;
}

.hostema-hero__intro {
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	color: var(--hostema-muted);
	margin: 0 auto 2rem;
	max-width: 620px;
}

.hostema-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem;
}

/* -----------------------------------------------------------------------
 * 5. Knoppen
 * -------------------------------------------------------------------- */
.hostema-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 999px;
	padding: 0.75rem 1.5rem;
	border: 1.5px solid transparent;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	min-height: 44px;
	line-height: 1.2;
}

.hostema-button--primary {
	background-color: var(--hostema-accent);
	color: #ffffff;
}

.hostema-button--primary:hover,
.hostema-button--primary:focus-visible {
	background-color: var(--hostema-accent-dark);
	color: #ffffff;
}

.hostema-button--ghost {
	background-color: transparent;
	border-color: var(--hostema-border);
	color: var(--hostema-primary);
}

.hostema-button--ghost:hover,
.hostema-button--ghost:focus-visible {
	border-color: var(--hostema-primary);
	color: var(--hostema-primary);
	background-color: var(--hostema-bg-soft);
}

.hostema-button--large {
	padding: 0.9rem 1.9rem;
	font-size: 1.05rem;
}

.hostema-button--whatsapp {
	background-color: #25d366;
	color: #ffffff;
}

.hostema-button--whatsapp:hover,
.hostema-button--whatsapp:focus-visible {
	background-color: #1da851;
	color: #ffffff;
}

@media (prefers-reduced-motion: no-preference) {
	.hostema-button:hover {
		transform: translateY(-1px);
	}
}

/* Call-to-action knop in de hoofdnavigatie (menu-item classname: hostema-cta-button). */
.hostema-cta-button > a {
	background-color: var(--hostema-accent) !important;
	color: #ffffff !important;
	border-radius: 999px;
	padding: 0.5em 1.15em !important;
}

.hostema-cta-button > a:hover,
.hostema-cta-button > a:focus-visible {
	background-color: var(--hostema-accent-dark) !important;
	color: #ffffff !important;
}

/* -----------------------------------------------------------------------
 * 6. Vertrouwensbalk
 * -------------------------------------------------------------------- */
.hostema-trust-bar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--hostema-gap);
}

.hostema-trust-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 600;
	color: var(--hostema-ink);
}

.hostema-trust-item .hostema-icon {
	flex-shrink: 0;
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	padding: 9px;
	color: var(--hostema-primary);
	background: var(--hostema-bg);
	border-radius: 999px;
}

/* -----------------------------------------------------------------------
 * 7. Kaarten / grid (diensten, tarieven)
 * -------------------------------------------------------------------- */
.hostema-grid {
	display: grid;
	gap: var(--hostema-gap);
}

.hostema-grid--services {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hostema-grid--pricing {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	align-items: stretch;
}

.hostema-card {
	display: block;
	background: var(--hostema-bg);
	border: 1px solid var(--hostema-border);
	border-radius: var(--hostema-radius);
	padding: 1.75rem;
	box-shadow: var(--hostema-shadow);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.hostema-card:hover,
.hostema-card:focus-visible {
	border-color: var(--hostema-primary);
	box-shadow: 0 1px 2px rgba(16, 24, 32, 0.05), 0 16px 32px -16px rgba(16, 24, 32, 0.24);
}

@media (prefers-reduced-motion: no-preference) {
	.hostema-card:hover {
		transform: translateY(-2px);
	}
}

.hostema-card__link {
	display: inline-block;
	margin-top: 0.85rem;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--hostema-primary);
}

.hostema-card__icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--hostema-radius-sm);
	background: var(--hostema-primary-tint);
	color: var(--hostema-primary);
	margin-bottom: 1rem;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.hostema-card:hover .hostema-card__icon,
.hostema-card:focus-visible .hostema-card__icon {
	background: var(--hostema-primary);
	color: #ffffff;
}

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

.hostema-card__title {
	font-size: 1.15rem;
	margin: 0 0 0.5rem;
}

.hostema-card__text {
	color: var(--hostema-muted);
	margin: 0;
	font-size: 0.98rem;
}

.hostema-price-card {
	background: var(--hostema-bg);
	border: 1px solid var(--hostema-border);
	border-radius: var(--hostema-radius);
	padding: 1.85rem;
	box-shadow: var(--hostema-shadow);
	display: flex;
	flex-direction: column;
}

.hostema-price-card--highlight {
	border-color: var(--hostema-accent);
	position: relative;
}

.hostema-price-card h3 {
	font-size: 1.1rem;
	margin: 0 0 0.6rem;
}

.hostema-price-card__price {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--hostema-primary);
	margin: 0 0 0.75rem;
}

.hostema-price-card__price span {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--hostema-muted);
}

.hostema-price-card p:not(.hostema-price-card__price) {
	color: var(--hostema-muted);
	font-size: 0.95rem;
	margin: 0;
}

/* -----------------------------------------------------------------------
 * 8. Werkwijze (stappen)
 * -------------------------------------------------------------------- */
.hostema-process {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--hostema-gap);
	max-width: var(--hostema-container);
	margin-inline: auto;
}

.hostema-process-step {
	text-align: center;
	padding: 0 0.5rem;
}

.hostema-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--hostema-primary);
	color: #fff;
	font-weight: 700;
	margin-bottom: 0.9rem;
}

.hostema-process-step__title {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
}

.hostema-process-step p {
	color: var(--hostema-muted);
	margin: 0;
}

/* -----------------------------------------------------------------------
 * 9. Regio
 * -------------------------------------------------------------------- */
.hostema-region {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

.hostema-region p {
	color: var(--hostema-muted);
	font-size: 1.05rem;
}

/* -----------------------------------------------------------------------
 * 10. Websitehulp (split-layout)
 * -------------------------------------------------------------------- */
.hostema-split {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.hostema-split__text p {
	color: var(--hostema-muted);
	font-size: 1.05rem;
}

.hostema-split__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hostema-split__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	background: var(--hostema-bg);
	border: 1px solid var(--hostema-border);
	border-radius: var(--hostema-radius-sm);
	padding: 0.9rem 1.1rem;
}

.hostema-split__list .hostema-icon {
	color: var(--hostema-primary);
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 0.15rem;
}

@media (max-width: 782px) {
	.hostema-split {
		grid-template-columns: 1fr;
	}
}

/* -----------------------------------------------------------------------
 * 11. Afsluitende call-to-action
 * -------------------------------------------------------------------- */
.hostema-section--cta {
	background: var(--hostema-primary);
	color: #ffffff;
}

.hostema-cta {
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
}

.hostema-cta__title {
	color: #ffffff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 0.75rem;
}

.hostema-cta p {
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 1.75rem;
	font-size: 1.05rem;
}

.hostema-section--cta .hostema-button--primary {
	background-color: #ffffff;
	color: var(--hostema-primary-dark);
}

.hostema-section--cta .hostema-button--primary:hover,
.hostema-section--cta .hostema-button--primary:focus-visible {
	background-color: var(--hostema-bg-soft);
}

/* -----------------------------------------------------------------------
 * 12. Paginakop (binnenpagina's)
 * -------------------------------------------------------------------- */
.hostema-section--pageheader {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 90% 5%, rgba(27, 75, 87, 0.14), transparent 55%),
		radial-gradient(circle at 5% 95%, rgba(221, 122, 44, 0.08), transparent 45%),
		var(--hostema-primary-tint);
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.hostema-page-header {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

.hostema-page-header__title {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	margin: 0 0 0.75rem;
}

.hostema-page-header__title::after {
	content: "";
	display: block;
	width: 52px;
	height: 4px;
	border-radius: 999px;
	background: var(--hostema-accent);
	margin: 1rem auto 0.75rem;
}

.hostema-page-header__intro {
	color: var(--hostema-muted);
	font-size: 1.1rem;
	margin: 0;
}

/* -----------------------------------------------------------------------
 * 13. Contactpagina
 * -------------------------------------------------------------------- */
.hostema-section--contact-intro .hostema-contact-intro {
	max-width: var(--hostema-prose);
	margin-inline: auto;
	text-align: center;
}

.hostema-contact-intro p {
	color: var(--hostema-muted);
}

.hostema-section--form {
	padding-block-start: 0;
}

.hostema-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: var(--hostema-gap);
	align-items: start;
	max-width: 1040px;
	margin-inline: auto;
}

.hostema-contact-quick {
	background: var(--hostema-bg);
	border: 1px solid var(--hostema-border);
	border-radius: var(--hostema-radius);
	box-shadow: var(--hostema-shadow);
	padding: clamp(1.5rem, 4vw, 2rem);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: sticky;
	top: 1.5rem;
}

.hostema-contact-quick__title {
	font-size: 1.15rem;
	margin: 0;
}

.hostema-contact-quick__intro {
	color: var(--hostema-muted);
	margin: 0 0 0.25rem;
}

.hostema-contact-quick__link {
	width: 100%;
	text-align: center;
}

@media (max-width: 782px) {
	.hostema-contact-layout {
		grid-template-columns: 1fr;
	}

	.hostema-contact-quick {
		position: static;
	}
}

.hostema-form-wrapper {
	max-width: 640px;
	margin-inline: auto;
	background: var(--hostema-bg);
	border: 1px solid var(--hostema-border);
	border-radius: var(--hostema-radius);
	box-shadow: var(--hostema-shadow);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.hostema-contact-form-col .hostema-form-wrapper {
	max-width: none;
	margin-inline: 0;
}

.hostema-form-row {
	margin-bottom: 1.25rem;
}

.hostema-form-row--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

@media (max-width: 600px) {
	.hostema-form-row--split {
		grid-template-columns: 1fr;
	}
}

.hostema-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4rem;
	font-size: 0.95rem;
}

.hostema-form-optional {
	font-weight: 400;
	color: var(--hostema-muted);
}

.hostema-form input[type="text"],
.hostema-form input[type="email"],
.hostema-form input[type="tel"],
.hostema-form textarea {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	padding: 0.7rem 0.85rem;
	border: 1.5px solid var(--hostema-border);
	border-radius: var(--hostema-radius-sm);
	background: var(--hostema-bg);
	color: var(--hostema-ink);
}

.hostema-form input:focus,
.hostema-form textarea:focus {
	border-color: var(--hostema-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(27, 75, 87, 0.15);
}

.hostema-form textarea {
	resize: vertical;
	min-height: 130px;
}

.hostema-form-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.hostema-form-privacy {
	font-size: 0.88rem;
	color: var(--hostema-muted);
	margin: 0 0 1.25rem;
}

.hostema-form button[type="submit"] {
	width: 100%;
	font-size: 1.05rem;
	cursor: pointer;
}

.hostema-form-notice {
	border-radius: var(--hostema-radius-sm);
	padding: 1rem 1.2rem;
	margin-bottom: 1.5rem;
	font-size: 0.98rem;
}

.hostema-form-notice--success {
	background: var(--hostema-success-bg);
	color: var(--hostema-success-text);
}

.hostema-form-notice--error {
	background: var(--hostema-error-bg);
	color: var(--hostema-error-text);
}

/* -----------------------------------------------------------------------
 * 14. Footer
 * GeneratePress levert de kleuren van .site-info normaal via de Customizer;
 * hier zetten we een expliciete, altijd leesbare achtergrond zodat de footer
 * niet afhankelijk is van die instelling.
 * -------------------------------------------------------------------- */
/* Selector op elementtype + class (i.p.v. alleen .site-info) zodat dit altijd
   wint van GeneratePress' eigen gegenereerde .site-info { background-color: var(--base-3) }
   regel, die door zijn latere laadvolgorde anders bij gelijke specificiteit wint. */
footer.site-info {
	background-color: var(--hostema-primary-dark);
	color: #ffffff;
}

.site-info .inside-site-info {
	display: block;
	padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.hostema-footer {
	width: 100%;
	max-width: var(--hostema-container);
	margin-inline: auto;
	padding-block: 1.5rem;
}

.hostema-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	padding-block: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hostema-footer-brand {
	font-weight: 700;
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
}

.hostema-footer-heading {
	font-weight: 600;
	margin: 0 0 0.75rem;
	opacity: 0.9;
}

.hostema-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hostema-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-top: 1.25rem;
	font-size: 0.88rem;
	opacity: 0.85;
}

.hostema-footer a {
	color: inherit;
	text-decoration: none;
}

.hostema-footer a:hover,
.hostema-footer a:focus-visible {
	text-decoration: underline;
}

/* -----------------------------------------------------------------------
 * 15. Responsive: mobiel & tablet fijnslijpen
 * -------------------------------------------------------------------- */
@media (max-width: 480px) {
	.hostema-hero__actions .hostema-button {
		width: 100%;
	}
}
