/* DB Timmerwerken - stylesheet
   Kleuren: donkerblauw en rood uit het logo, aangevuld met lichtblauw
   (uit de oude headerfoto), warm gebroken wit en een houttint. */

:root {
	--navy: #003366;        /* logo blauw */
	--navy-deep: #00284f;   /* header / footer */
	--red: #d62828;         /* accent, afgeleid van logo rood */
	--red-dark: #b01e1e;
	--sky: #c5dde9;         /* lichtblauw uit top00.jpg */
	--sky-soft: #eaf2f7;
	--wood: #b9875a;        /* houttint voor kleine details */
	--paper: #f7f5f0;       /* pagina achtergrond */
	--white: #ffffff;
	--text: #1d2a3a;
	--muted: #5a6675;
	--line: #dfe3e8;

	--font-head: "EB Garamond", Georgia, "Times New Roman", serif;
	--font-body: "Inter", Arial, Helvetica, sans-serif;
	--radius: 16px;
	--content: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }

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

.site-header {
	background: var(--navy-deep);
	border-bottom: 4px solid var(--red);
}

.header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 22px 24px;
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.brand {
	display: flex;
	align-items: center;
	gap: 22px;
	text-decoration: none;
	color: var(--white);
}

.brand-logo {
	background: var(--white);
	padding: 8px 12px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.brand-logo img { width: 190px; height: auto; }

.brand-name {
	font-weight: 600;
	font-size: 16px;
	letter-spacing: .01em;
}

.main-nav {
	margin-left: auto;
}

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px 26px;
}

.main-nav a {
	color: var(--white);
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	transition: color .15s, border-color .15s;
}

.main-nav a:hover { color: var(--sky); border-bottom-color: var(--sky); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--red); }

/* ---------- Content ---------- */

main {
	max-width: calc(var(--content) + 48px);
	margin: 0 auto;
	padding: 56px 24px 72px;
}

h1, h2 {
	font-family: var(--font-head);
	color: var(--navy);
	font-weight: 500;
	line-height: 1.2;
}

h1 {
	font-size: clamp(32px, 5vw, 44px);
	margin: 0 0 28px;
}

h1 .phone {
	white-space: nowrap;
	color: var(--red);
}

h2 {
	font-size: 30px;
	margin: 48px 0 16px;
}

h3 {
	font-size: 17px;
	color: var(--navy);
	margin: 0 0 4px;
}

p { margin: 0 0 18px; }

.lead {
	font-size: 19px;
	color: var(--navy);
	font-weight: 500;
}

/* Fotostrook: de drie foto's als een groot afgerond beeldvlak */
.photo-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	border-radius: var(--radius);
	overflow: hidden;
	margin: 0 0 40px;
	box-shadow: 0 10px 30px rgba(0, 40, 79, .15);
}

.photo-strip img {
	width: 100%;
	aspect-ratio: 200 / 113;
	object-fit: cover;
}

.photo-strip.bottom { margin: 48px 0 0; }

/* Lijst met specialisaties */
.check-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.check-list li {
	position: relative;
	padding: 6px 0 6px 30px;
	font-weight: 500;
}

.check-list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 15px;
	width: 12px;
	height: 12px;
	background: var(--red);
	border-radius: 2px;
}

.note {
	color: var(--muted);
	font-style: italic;
}

/* Kader "Even voorstellen" */
.panel {
	background: var(--sky-soft);
	border-left: 4px solid var(--navy);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 28px 32px 12px;
	margin: 0 0 32px;
}

.panel h2 { margin-top: 0; }

/* Werkzaamheden */
.work-list {
	display: grid;
	gap: 22px;
}

.work-item {
	padding-left: 18px;
	border-left: 3px solid var(--sky);
}

.work-item p { margin: 0; }

.work-item:hover { border-left-color: var(--red); }

/* Knop */
.button {
	display: inline-block;
	background: var(--red);
	color: var(--white);
	text-decoration: none;
	font: 600 15px var(--font-body);
	padding: 12px 24px;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s;
}

.button:hover { background: var(--red-dark); color: var(--white); }

.button.secondary {
	background: transparent;
	color: var(--navy);
	box-shadow: inset 0 0 0 2px var(--navy);
}

.button.secondary:hover { background: var(--navy); color: var(--white); }

.cta { margin: 32px 0 0; }

/* Contact */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 40px;
	margin-bottom: 8px;
}

.contact-grid p { margin-bottom: 14px; }

.label {
	display: inline-block;
	min-width: 78px;
	color: var(--muted);
}

.contact-form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	margin-top: 12px;
}

.field { margin-bottom: 18px; }

.field label {
	display: block;
	font-weight: 600;
	font-size: 15px;
	color: var(--navy);
	margin-bottom: 6px;
}

.field input,
.field textarea {
	width: 100%;
	font: 16px var(--font-body);
	color: var(--text);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 11px 13px;
}

.field textarea { min-height: 170px; resize: vertical; }

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(0, 51, 102, .15);
	background: var(--white);
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.form-message {
	margin: 16px 0 0;
	font-size: 15px;
	color: var(--muted);
}

.form-message.error { color: var(--red); }

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

.site-footer {
	background: var(--navy-deep);
	color: var(--white);
	font-size: 15px;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 36px 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	text-align: center;
}

.footer-inner > :first-child { text-align: left; }
.footer-inner > :last-child { text-align: right; }

.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sky); }

.footer-name { font-weight: 600; }
.footer-name span { display: block; font-weight: 400; color: var(--sky); font-size: 13px; letter-spacing: .08em; }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
	padding: 12px 24px;
}

/* ---------- Mobiel ---------- */

@media (max-width: 860px) {
	.header-inner { gap: 18px; }
	.main-nav { margin-left: 0; width: 100%; }
	.main-nav ul { justify-content: flex-start; gap: 4px 20px; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.header-inner { padding: 16px; }
	.brand { gap: 14px; }
	.brand-logo img { width: 150px; }
	.brand-name { display: none; }
	.main-nav a { font-size: 15px; }
	main { padding: 36px 16px 56px; }
	.photo-strip { gap: 4px; border-radius: 12px; }
	.panel { padding: 22px 20px 8px; }
	.contact-grid { grid-template-columns: 1fr; }
	.contact-form { padding: 20px; }
	.footer-inner { grid-template-columns: 1fr; text-align: center; padding: 28px 16px; }
	.footer-inner > :first-child,
	.footer-inner > :last-child { text-align: center; }
}
