/* ============================================================
   custom.css — light visual polish layered over main.css
   Keep edits here so the underlying HTML5 UP template stays intact.
   ============================================================ */

:root {
	--brand-light: #259ae8;
	--brand-dark:  #0d4a73;
	--brand-bg:    #f6f8fb;
	--bg:          #FEF7E6;  /* matches the cream background of the logos */
	--hover-cool:  #EAF1F8;  /* subtle cool-blue tint for interactive states */
	--ink:         #1a2733;
	--ink-soft:    #45586a;
	--line:        #d9e1ea;
	--success:     #1b7f3a;
	--danger:      #b32626;
	--whatsapp:    #075E54;  /* official WhatsApp Business dark, AAA contrast with white */
	--whatsapp-dk: #054640;  /* darker hover state */
	--shadow:      0 6px 20px rgba(13, 74, 115, .08);
	--radius:      10px;
	--font-serif:  Georgia, Garamond, "Times New Roman", serif;
	--font-sans:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base typography overrides ---------- */
body {
	font-family: var(--font-sans);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
}
.page-vraag, .page-advies, .page-les, .page-info, .page-home {
	padding-top: 0;
}
h1, h2, h3 {
	font-family: var(--font-serif);
	color: var(--brand-dark);
	letter-spacing: .2px;
}
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 .6em; }
h3 { font-size: 1.2rem;  line-height: 1.3;  margin: 0 0 .4em; }
p  { margin: 0 0 1em; }
a  { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--brand-light); }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Layout helpers ---------- */
.container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 1.25rem;
}
.container--wide { max-width: 1320px; }
.section { padding: 3.5rem 0; }
.section--narrow { padding: 2.5rem 0; }
.section--alt   { background: var(--bg); }
.section__title { text-align: center; margin-bottom: 2rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(254, 247, 230, .96);  /* same hue as --bg, slightly translucent */
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(140%) blur(6px);
}
.site-header__inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .65rem 1.25rem;
}
.site-header__brand {
	display: flex; align-items: center; gap: .65rem;
	text-decoration: none; color: var(--brand-dark);
	font-family: var(--font-serif);
	font-size: 1.15rem;
	font-weight: 600;
}
.site-header__brand img { height: 38px; width: auto; display: block; }
.site-header__brand-text { white-space: nowrap; }
.site-header__brand-text .c { color: var(--brand-light); }
.site-header__brand-text .d { color: var(--brand-dark); }

.site-nav {
	margin-left: auto;
	display: flex;
	gap: .25rem;
}
.site-nav a {
	display: inline-block;
	padding: .55rem .85rem;
	border-radius: 8px;
	text-decoration: none;
	color: var(--ink);
	font-weight: 500;
	font-size: .98rem;
}
.site-nav a:hover { background: var(--hover-cool); color: var(--brand-dark); }
.site-nav a[aria-current="page"] { color: var(--brand-dark); background: var(--hover-cool); }

.site-header__toggle {
	display: none;
	margin-left: auto;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: .5rem .6rem;
	cursor: pointer;
}
.site-header__toggle span {
	display: block;
	width: 22px; height: 2px;
	background: var(--brand-dark);
	margin: 4px 0;
	transition: transform .2s, opacity .2s;
}

/* ---------- Hero ---------- */
.hero { padding: 3.5rem 0 2rem; }
.hero__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 2.5rem;
	align-items: center;
}
.hero__text h1 { font-size: 2.4rem; line-height: 1.15; }
.brand-line { display: block; margin-top: .25em; }
.brand-line .c { color: var(--brand-light); }
.brand-line .d { color: var(--brand-dark); }
.hero__visual img { width: 100%; max-width: 360px; margin-left: auto; display: block; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* ---------- Buttons ---------- */
/* These rules deliberately undo a bunch of opinionated defaults from the
   HTML5 UP main.css (.button rule near line 2107): uppercase text,
   white-space:nowrap, max-width:20rem, fixed 3.75em height, large letter-spacing. */
.button,
input[type="submit"].button,
button.button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .75rem 1.25rem;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .15s, color .15s, box-shadow .15s, transform .05s;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	white-space: normal;
	height: auto;
	max-width: none;
	text-align: center;
}
.button:active { transform: translateY(1px); }

/* main.css forces `color: #000 !important` on .button and a cyan `!important`
   hover, plus an inset box-shadow. We override all three with !important. */
.button--primary,
.button--primary:hover,
.button--primary:active,
.button--primary:focus {
	background: var(--brand-dark) !important;
	color: #fff !important;
	box-shadow: none !important;
}
.button--primary:hover,
.button--primary:focus {
	background: var(--brand-light) !important;
}

.button--ghost,
.button--ghost:hover,
.button--ghost:active,
.button--ghost:focus {
	background: transparent !important;
	color: var(--brand-dark) !important;
	border-color: var(--line) !important;
	box-shadow: none !important;
}
.button--ghost:hover,
.button--ghost:focus {
	background: var(--hover-cool) !important;
}

.button--whatsapp,
.button--whatsapp:hover,
.button--whatsapp:active,
.button--whatsapp:focus {
	background: var(--whatsapp) !important;
	color: #fff !important;
	box-shadow: none !important;
}
.button--whatsapp:hover,
.button--whatsapp:focus {
	background: var(--whatsapp-dk) !important;
}

/* Submit input inside form */
.contact-form button[type="submit"] {
	-webkit-appearance: none;
	appearance: none;
}

/* ---------- Cards ---------- */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
}
.cards--small { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
	display: block;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow);
	transition: transform .15s, border-color .15s, box-shadow .15s;
}
.card:hover {
	transform: translateY(-2px);
	border-color: var(--brand-light);
	box-shadow: 0 10px 30px rgba(13,74,115,.12);
}
.card.card--static { cursor: default; }
.card.card--static:hover { transform: none; border-color: var(--line); box-shadow: var(--shadow); }
.card__icon {
	display: inline-block;
	position: relative;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--hover-cool);
	color: var(--brand-dark);
	margin-bottom: .85rem;
}
/* Each FA glyph has a different optical centre inside its em-box; flex-centring
   gives different results per glyph. Absolute-centring the ::before pseudo
   places the glyph mathematically dead-centre regardless of font metrics. */
.card__icon.icon::before,
.card__icon.icon.style2::before,
.card__icon.icon.major::before {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	line-height: 1;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-size: 22px;
	display: block;
}
.card h3 { margin-bottom: .35rem; }
.card p  { color: var(--ink-soft); }
.card__more {
	display: inline-block;
	margin-top: .75rem;
	font-weight: 600;
	color: var(--brand-dark);
}
.cards .card p {
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	text-wrap: pretty;
	overflow-wrap: break-word;
}

/* ---------- Trust bar ---------- */
.trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.25rem;
	text-align: center;
}
.trust__item {
	padding: 1rem;
	border-radius: var(--radius);
	background: var(--bg);
	border: 1px solid var(--line);
}
.trust__item strong {
	display: block;
	font-family: var(--font-serif);
	font-size: 1.5rem;
	color: var(--brand-dark);
	margin-bottom: .25rem;
}
.trust__item span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Two column rows ---------- */
.two-col {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 2.5rem;
	align-items: start;
}
.two-col__visual {
	display: flex; flex-direction: column; gap: .75rem;
	align-items: stretch;
}
.two-col__visual img {
	display: block;
	width: 100%;
	max-width: 320px;
	border-radius: var(--radius);
	margin: 0 auto;
}
.check-list { padding: 0; list-style: none; margin: 0; }
.check-list li {
	padding-left: 1.6rem;
	position: relative;
	margin-bottom: .5rem;
}
.check-list li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	color: var(--success);
	font-weight: 700;
}

/* ---------- CTA bar ---------- */
.cta-bar {
	margin-top: 2.5rem;
	padding: 1.5rem;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex; gap: 1.25rem;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.cta-bar h2 { margin: 0 0 .25rem; }
.cta-bar p  { margin: 0; color: var(--ink-soft); }
.cta-bar__buttons { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-bar--inline { margin-top: 1.5rem; padding: 1rem 1.25rem; }

/* ---------- Form ---------- */
.contact-form { margin-top: 1.5rem; }
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.form-field { margin-bottom: 1rem; }
.form-field label {
	display: block;
	font-weight: 600;
	margin-bottom: .35rem;
	color: var(--brand-dark);
}
.form-field input,
.form-field textarea {
	width: 100%;
	padding: .75rem .85rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	font: inherit;
	font-family: var(--font-sans);
	background: #fff;
	color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
	box-sizing: border-box;
}
.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--brand-light);
	box-shadow: 0 0 0 3px rgba(37,154,232,.18);
}
.form-field small { color: var(--ink-soft); display: block; margin-top: .35rem; }
.form-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.form-privacy { font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }

/* Honeypot — hidden from real users but present in DOM */
.hp-field {
	position: absolute !important;
	left: -10000px !important;
	top: auto;
	width: 1px; height: 1px;
	overflow: hidden;
}

/* ---------- Alerts ---------- */
.alert {
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	margin: 1.25rem 0;
	border-left: 4px solid;
	background: #fff;
}
.alert--success { border-color: var(--success); background: #effaf2; color: #0f4d24; }
.alert--error   { border-color: var(--danger);  background: #fdecec; color: #5a1212; }
.alert ul { margin: .5rem 0 0 1.1rem; padding: 0; }

/* ---------- Footer ---------- */
.site-footer {
	margin-top: 4rem;
	background: var(--brand-dark);
	color: #d8e6f1;
	padding: 2.5rem 0 1.25rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--brand-light); text-decoration: underline; }
.site-footer__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 1.25rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}
.site-footer__col strong { display: block; color: #fff; margin-bottom: .6rem; font-size: 1.05rem; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: .35rem; }
.site-footer__col p  { color: #b9cee0; }
.site-footer__copy {
	max-width: 1080px;
	margin: 1.5rem auto 0;
	padding: 1rem 1.25rem 0;
	border-top: 1px solid rgba(255,255,255,.12);
	font-size: .9rem;
	color: #b9cee0;
	text-align: center;
}

/* ---------- WhatsApp floating button ---------- */
.wa-floater {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 100;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--whatsapp);
	color: #fff !important;
	padding: .8rem 1.05rem;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(18,140,126,.4);
	text-decoration: none;
	font-weight: 600;
	font-family: var(--font-sans);
	transition: background .15s, transform .15s;
}
.wa-floater:hover { background: var(--whatsapp-dk); color: #fff !important; transform: translateY(-2px); }
.wa-floater svg { width: 22px; height: 22px; }

/* ---------- Privacy / werkwijze pages ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose ul { margin: 0 0 1em 1.2em; }
.prose li { margin-bottom: .35em; }
.muted { color: var(--ink-soft); margin-top: 2.5rem; }

/* ---------- Hide legacy menu if it ever renders ---------- */
.sitemenu { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual img { margin: 0 auto; }
	.two-col { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.site-header__brand-text { display: none; }

	.site-header__toggle { display: inline-block; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		padding: .5rem .75rem 1rem;
		gap: 0;
	}
	.site-nav.is-open { display: flex; }
	.site-nav a { padding: .85rem .75rem; border-radius: 8px; }
	.site-header__inner { position: relative; }
}

@media (max-width: 480px) {
	h1 { font-size: 1.7rem; }
	.hero__text h1 { font-size: 1.85rem; }
	.section { padding: 2.5rem 0; }
	.wa-floater span { display: none; }
	.wa-floater { padding: .85rem; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .wa-floater, .form-actions { display: none !important; }
	body { color: #000; }
}
