/*
Theme Name: Horstink Dierenarts
Theme URI: https://horstinkdierenarts.nl
Author: Olivier Horstink
Author URI: https://horstinkdierenarts.nl
Description: Licht classic theme voor horstinkdierenarts.nl, zonder Elementor. Homepage voor praktijken die een waarnemer zoeken.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: horstink-dierenarts
*/

/* ---------- Kleuren en letters (design/Palet.dc.html) ---------- */
:root {
	--ondergrond: #F4F7F9;
	--hemel: #E3F1F5;
	--band: #E6F0F4;
	--aqua: #A3E1E8;
	--stof: #8FABB9;
	--lei: #456478;
	--nacht: #24273B;
	--tekst: #3D4B60;
	--gedempt: #5E7183;
	--lijn: #D3DDE5;
	--lijn-zacht: #DCE4EA;
	--rand-knop: #BCCFDA;
	--contact-tekst: #D3DCE6;
	--contact-gedempt: #A9B9C9;
	--contact-lijn: #3A4258;
	--letter: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
	--rand: 32px;   /* zijmarge */
	--sectie: 96px; /* verticale ruimte per sectie */
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	background: var(--ondergrond);
	color: var(--tekst);
	font-family: var(--letter);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

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

h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--nacht); font-family: var(--letter); }

a { color: var(--lei); }
a:hover { color: var(--nacht); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--lei); outline-offset: 3px; }

.wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: var(--rand);
	padding-right: var(--rand);
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	background: var(--nacht);
	color: #fff;
	padding: 10px 16px;
	border-radius: 999px;
	font-size: 15px;
	text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Typografie ---------- */
.boventitel {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gedempt);
}
.kop-1 {
	font-weight: 600;
	font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.75rem);
	line-height: 1.06;
	letter-spacing: -.025em;
}
.kop-2 {
	font-weight: 600;
	font-size: clamp(1.95rem, 1.45rem + 1.9vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -.015em;
}

/* ---------- Knoppen ---------- */
.knop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.3;
	padding: 14px 26px;
	border-radius: 999px;
	border: 1px solid var(--nacht);
	background: var(--nacht);
	color: #fff;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	-webkit-tap-highlight-color: transparent;
}
.knop:hover, .knop:focus-visible { color: #fff; background: var(--lei); border-color: var(--lei); }
.knop-rand { background: transparent; border-color: var(--rand-knop); color: var(--nacht); }
.knop-rand:hover, .knop-rand:focus-visible { color: var(--nacht); background: #fff; border-color: var(--stof); }
.knop-klein { font-size: 15px; padding: 10px 20px; }

/* ---------- Kop (header) ---------- */
.site-header { border-bottom: 1px solid var(--lijn-zacht); }
.kop {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	padding-top: 22px;
	padding-bottom: 22px;
}
.logo { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo-tekst { font-weight: 600; font-size: 20px; color: var(--nacht); }
.menu { order: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; }
.menu a { color: var(--tekst); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.menu a:hover { color: var(--nacht); text-decoration: underline; text-decoration-color: var(--stof); text-underline-offset: 5px; }
.kop-contact { order: 2; }

/* ---------- Hero ---------- */
.hero .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 64px;
	padding-top: 88px;
	padding-bottom: 96px;
}
.hero-tekst {
	flex: 1 1 460px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 28px;
}
.hero-intro { font-size: 19px; max-width: 34em; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-foto { flex: 0 1 380px; min-width: 0; min-height: 340px; position: relative; }
.hero-foto img {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	border-radius: 6px;
	background: var(--hemel);
	opacity: .88;
	filter: saturate(.85) contrast(.94) brightness(1.04);
}

/* ---------- Secties ---------- */
.sectie .wrap { padding-top: var(--sectie); padding-bottom: var(--sectie); }
.sectie-kop { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }

/* Aanbod */
.aanbod { background: #fff; border-top: 1px solid var(--lijn-zacht); border-bottom: 1px solid var(--lijn-zacht); }
.aanbod .wrap { display: flex; flex-direction: column; gap: 48px; }
.aanbod-lijst { display: flex; flex-wrap: wrap; border-top: 1px solid var(--lijn-zacht); }
.aanbod-item {
	flex: 1 1 250px;
	min-width: 0;
	padding: 32px 28px 8px 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.aanbod-nr { font-weight: 600; font-size: 16px; color: var(--lei); }
.aanbod-item h3 { font-size: 20px; font-weight: 500; line-height: 1.35; }
.aanbod-item p { font-size: 16px; }

/* Ervaring */
.ervaring .wrap { display: flex; flex-wrap: wrap; gap: 64px; }
.ervaring-tekst { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ervaring-tekst p { max-width: 32em; }
.ervaring-lijst { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.ervaring-lijst div {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0;
	border-top: 1px solid var(--lijn);
}
.ervaring-lijst div:last-child { border-bottom: 1px solid var(--lijn); }
.ervaring-lijst dt { color: var(--nacht); font-weight: 500; }
.ervaring-lijst dd { color: var(--gedempt); font-size: 15px; text-align: right; }

/* Werkwijze */
.werkwijze { background: var(--band); }
.werkwijze .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.werkwijze-tekst { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.werkwijze .boventitel { color: #55687A; }
.punten { display: flex; flex-direction: column; gap: 22px; }
.punt { display: flex; flex-direction: column; gap: 4px; }
.punt h3 { font-size: 18px; font-weight: 500; line-height: 1.4; }
.punt p { font-size: 16px; }
.tool-kaart {
	flex: 1 1 420px;
	min-width: 0;
	background: #fff;
	border-radius: 6px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.tool-kaart .boventitel { color: var(--lei); }
.tool-kaart h3 { font-weight: 600; font-size: 32px; line-height: 1.15; }
.tool-kaart > p { font-size: 16px; }
.voorbeeld { border: 1px solid var(--lijn-zacht); border-radius: 6px; overflow: hidden; }
.voorbeeld-kop {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 12px;
	padding: 12px 16px;
	background: var(--ondergrond);
	font-size: 14px;
	color: var(--gedempt);
}
.voorbeeld-body { padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.voorbeeld-klein { font-size: 14px; color: var(--gedempt); }
.voorbeeld-dosis { font-size: 24px; font-weight: 500; line-height: 1.35; color: var(--nacht); }
.slot { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--gedempt); }
.slot svg { flex: 0 0 auto; }

/* Werkgebied */
.werkgebied .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.werkgebied-tekst { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.werkgebied-tekst p { max-width: 30em; }
.werkgebied-tekst .bijzin { color: var(--gedempt); font-size: 16px; }
.kaartje { flex: 0 1 410px; min-width: 0; display: flex; justify-content: center; }
.kaartje svg { width: 100%; max-width: 410px; height: auto; overflow: visible; }
.kaartje text { font-family: var(--letter); font-size: 13px; fill: var(--tekst); }
.kaartje .plaats-hoofd { font-size: 14px; font-weight: 600; fill: var(--nacht); }

/* Contact */
.contact { background: var(--nacht); color: var(--contact-tekst); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-tekst { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact .boventitel { color: var(--aqua); }
.contact h2 {
	color: #fff;
	font-weight: 600;
	font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem);
	line-height: 1.08;
	letter-spacing: -.015em;
}
.contact-tekst p { max-width: 30em; }
.contact-tekst .contact-noot { color: var(--contact-gedempt); font-size: 16px; }
.contact-lijst { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.contact-lijst a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 22px 0;
	border-top: 1px solid var(--contact-lijn);
	color: #fff;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.contact-lijst a:last-child { border-bottom: 1px solid var(--contact-lijn); }
.contact-soort { font-size: 20px; flex: 0 0 auto; transition: color .15s ease; }
.contact-waarde { color: var(--contact-gedempt); font-size: 16px; text-align: right; min-width: 0; overflow-wrap: anywhere; transition: color .15s ease; }
.contact-lijst a:hover .contact-soort, .contact-lijst a:focus-visible .contact-soort { color: var(--aqua); }
.contact-lijst a:hover .contact-waarde, .contact-lijst a:focus-visible .contact-waarde { color: #fff; }
.contact a:focus-visible { outline-color: var(--aqua); }

/* ---------- Voet (footer) ---------- */
.site-footer { background: var(--nacht); }
.voet {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 28px;
	padding-bottom: 40px;
	font-size: 14px;
	color: var(--contact-gedempt);
	border-top: 1px solid var(--contact-lijn);
}

/* ---------- Gewone pagina's (geen homepage) ---------- */
.pagina-wrap { max-width: 824px; padding-top: 72px; padding-bottom: 96px; }
.pagina-titel {
	font-weight: 600;
	font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	margin-bottom: 28px;
}
.pagina-inhoud > * + * { margin-top: 1em; }
.pagina-inhoud h2 { font-size: 28px; font-weight: 600; line-height: 1.2; margin-top: 1.6em; }
.pagina-inhoud h3 { font-size: 21px; font-weight: 500; line-height: 1.3; margin-top: 1.4em; }
.pagina-inhoud ul, .pagina-inhoud ol { padding-left: 1.3em; }
.post-password-form input[type="password"] {
	font: inherit;
	font-size: 16px;
	width: 100%;
	max-width: 320px;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid var(--rand-knop);
	border-radius: 6px;
	background: #fff;
	color: var(--nacht);
}
.post-password-form input[type="submit"] {
	font: inherit;
	font-weight: 500;
	font-size: 16px;
	margin-top: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1px solid var(--nacht);
	background: var(--nacht);
	color: #fff;
	cursor: pointer;
}
.post-password-form input[type="submit"]:hover { background: var(--lei); border-color: var(--lei); }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
	:root { --sectie: 80px; }

	.kop { gap: 14px 16px; padding-top: 18px; padding-bottom: 16px; }
	.logo { flex: 1 1 0; min-width: 0; margin-right: 0; }
	.logo img { width: 100%; max-width: 300px; height: auto; }
	.menu { order: 3; flex: 1 1 100%; gap: 8px 28px; }

	/* Tablet: foto in eigen 4:5-verhouding naast de tekst, anders vallen Olivier of Giorgio half weg. */
	.hero .wrap { gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
	.hero-tekst { flex-basis: 340px; gap: 24px; }
	.hero-foto { flex-basis: 300px; aspect-ratio: 4 / 5; }
	.hero-intro { font-size: 18px; }

	.ervaring .wrap, .werkwijze .wrap, .werkgebied .wrap, .contact .wrap { gap: 48px; }
}

/* ---------- Telefoon ---------- */
@media (max-width: 640px) {
	:root { --sectie: 64px; --rand: 20px; }

	/* Kaartje schaalt mee; plaatsnamen iets groter zodat ze op 390 px leesbaar blijven. */
	.kaartje text { font-size: 15.5px; }
	.kaartje .plaats-hoofd { font-size: 16.5px; }

	.logo img { max-width: 260px; }
	.menu { justify-content: space-between; gap: 8px; }

	.hero .wrap { gap: 32px; padding-top: 44px; padding-bottom: 56px; }
	.hero-tekst { flex-basis: 100%; gap: 22px; }
	.hero-intro { font-size: 17.5px; }
	.knoppen .knop { flex: 1 1 auto; }
	.hero-foto { flex: 1 1 100%; align-self: flex-start; aspect-ratio: 4 / 5; max-height: 520px; }

	.aanbod .wrap { gap: 32px; }
	.aanbod-item { flex-basis: 100%; padding: 24px 0 22px; }
	.aanbod-item + .aanbod-item { border-top: 1px solid var(--lijn-zacht); }

	.ervaring .wrap, .werkwijze .wrap, .werkgebied .wrap, .contact .wrap { gap: 40px; }
	.ervaring-lijst div { gap: 16px; padding: 16px 0; }

	.tool-kaart { padding: 24px; gap: 18px; }
	.tool-kaart h3 { font-size: 26px; }

	.kaartje { flex-basis: 100%; }

	.contact-lijst a { padding: 18px 0; }
	.contact-soort { font-size: 18px; }
	.contact-waarde { font-size: 15px; }

	.pagina-wrap { padding-top: 48px; padding-bottom: 64px; }
}

@media (max-width: 370px) {
	.menu { font-size: 14px; }
}
