/*
Theme Name: Groenatelier
Theme URI: https://groenatelier.org
Author: Groenatelier
Description: Chauffeuratelier in Arnhem. Sedan, tourer en salon. Geen speelgarage, geen tuinwinkel.
Version: 1.1.3
Text Domain: groenatelier
*/

:root {
	--gat-graphite: #1c1c1c;
	--gat-bone: #f0ebe3;
	--gat-teal: #3d6b6a;
	--gat-paper: #faf7f2;
	--gat-line: #d8d2c8;
	--gat-display: "Syne", sans-serif;
	--gat-text: "Public Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--gat-text);
	color: var(--gat-graphite);
	background: var(--gat-bone);
	line-height: 1.7;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--gat-display); font-weight: 650; margin: 0 0 0.4em; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.3rem, 2.3vw, 1.95rem); }
a { color: var(--gat-teal); }
address { font-style: normal; }
.gat-btn, .gat-ghost {
	display: inline-block; padding: 12px 18px; text-decoration: none; font-weight: 650;
	font-family: var(--gat-text); border: 0; cursor: pointer; letter-spacing: 0.03em;
}
.gat-btn { background: var(--gat-teal); color: #fff; }
.gat-btn:hover { background: #2f5554; }
.gat-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--gat-graphite); color: var(--gat-graphite); }
.gat-ghost:hover { background: var(--gat-paper); }
.gat-kicker { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gat-teal); font-weight: 700; }

/* Header: logo + phone on first row, nav on the second — not address-then-nav */
.gat-kop { background: var(--gat-paper); border-bottom: 1px solid var(--gat-line); }
.gat-kop-boven {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 6vw 12px;
}
.gat-logo {
	font-family: var(--gat-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--gat-graphite);
	text-decoration: none;
	letter-spacing: -0.03em;
}
.gat-logo span { color: var(--gat-teal); }
.gat-bel {
	text-align: right;
	flex-shrink: 0;
	padding: 6px 0 6px 22px;
	border-left: 2px solid var(--gat-teal);
}
.gat-bel a {
	display: block;
	color: var(--gat-graphite);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.02rem;
	letter-spacing: 0.02em;
}
.gat-bel small { display: block; color: var(--gat-teal); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.gat-nav {
	padding: 0 6vw;
	border-top: 1px solid var(--gat-line);
	background: var(--gat-graphite);
}
.gat-nav ul { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 11px 0; }
.gat-nav a { color: var(--gat-bone); text-decoration: none; font-size: 0.86rem; font-weight: 650; letter-spacing: 0.04em; }
.gat-nav .current-menu-item a { color: #fff; box-shadow: inset 0 -2px 0 var(--gat-teal); }
.gat-open {
	display: none;
	background: var(--gat-graphite);
	color: var(--gat-bone);
	border: 0;
	padding: 8px 12px;
	cursor: pointer;
	font-family: inherit;
}
.gat-lade { display: none; background: var(--gat-graphite); color: var(--gat-bone); padding: 18px 6vw 26px; }
.gat-lade a { color: #fff; }
.gat-lade.is-open, .gat-lade:not([hidden]) { display: block; }
.gat-lade button { background: transparent; color: var(--gat-bone); border: 1px solid var(--gat-teal); padding: 6px 10px; margin-bottom: 12px; cursor: pointer; }

/* Divider: short vertical ticks */
.gat-ticks {
	height: 36px;
	margin: 0;
	background:
		repeating-linear-gradient(
			90deg,
			var(--gat-graphite) 0 1.5px,
			transparent 1.5px 11px
		) center / 100% 13px no-repeat;
	background-color: var(--gat-bone);
}

/* Class tiles */
.gat-hal { padding: 48px 6vw 20px; }
.gat-tegels {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
	margin: 28px 0 8px;
}
.gat-tegel {
	display: block;
	width: 100%;
	padding: 0 0 16px;
	border: 0;
	background: var(--gat-paper);
	color: inherit;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	box-shadow: inset 0 0 0 1px var(--gat-line);
}
.gat-tegel.is-on { box-shadow: inset 0 0 0 2px var(--gat-teal); }
.gat-tegel figure { min-height: 170px; margin: 0 0 14px; background-size: cover; background-position: center; }
.gat-tegel-sedan { background-image: url("images/sedan.jpg"); }
.gat-tegel-tourer { background-image: url("images/tourer.jpg"); }
.gat-tegel-salon { background-image: url("images/salon.jpg"); }
.gat-tegel-sedan-b { background-image: url("images/sedan-b.jpg"); }
.gat-tegel-tourer-b { background-image: url("images/tourer-b.jpg"); }
.gat-tegel-salon-b { background-image: url("images/salon-b.jpg"); }
.gat-tegel h3 { padding: 0 16px; font-size: 1.25rem; }
.gat-tegel p { padding: 0 16px; margin: 0; font-size: 0.92rem; }
.gat-tegel strong { display: block; padding: 10px 16px 0; font-family: var(--gat-display); font-size: 1.45rem; color: var(--gat-teal); }

/* Days widget */
.gat-dagen-strook {
	padding: 36px 6vw 56px;
	background: var(--gat-paper);
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 28px;
	align-items: end;
}
.gat-dagen-strook label { display: block; font-weight: 700; font-size: 0.9rem; }
.gat-dagen-strook input[type="number"] {
	display: block;
	width: 8rem;
	margin-top: 8px;
	padding: 12px 14px;
	border: 1px solid var(--gat-line);
	background: #fff;
	font-family: inherit;
	font-size: 1.2rem;
}
.gat-som {
	font-family: var(--gat-display);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	margin: 0;
	line-height: 1.25;
}

/* Hours */
.gat-uren { padding: 48px 6vw 72px; background: var(--gat-graphite); color: var(--gat-bone); }
.gat-uren a { color: #9ec4c3; }
.gat-uren .gat-kicker { color: #9ec4c3; }
.gat-uren-rij { display: flex; flex-wrap: wrap; gap: 0; margin: 24px 0; }
.gat-uren-rij article { flex: 1 1 180px; padding: 16px 20px 16px 0; border-right: 1px solid #3a3a3a; }
.gat-uren-rij article:last-child { border-right: 0; }
.gat-uren-rij h3 { font-size: 1.05rem; }

/* Notes teaser / blog strips */
.gat-stroken { padding: 48px 6vw 72px; }
.gat-stroken > p { margin: 0 0 1.1rem; }
.gat-stroken article {
	display: grid;
	grid-template-columns: minmax(240px, 36vw) 1fr;
	gap: 32px;
	align-items: stretch;
	padding: 0 0 32px;
	margin: 28px 0 0;
	background: transparent;
	min-height: 260px;
	border-bottom: 1px solid var(--gat-line);
}
.gat-stroken article.gat-strook-om { grid-template-columns: 1fr minmax(240px, 36vw); }
.gat-stroken article.gat-strook-om figure { order: 2; }
.gat-ritnotities article {
	display: grid;
	grid-template-columns: minmax(180px, 28vw) 1fr;
	gap: 28px;
	align-items: center;
	padding: 0;
	margin: 0 0 18px;
	background: var(--gat-paper);
	min-height: 168px;
}
.gat-stroken article:last-of-type,
.gat-ritnotities article:last-of-type { margin-bottom: 0; }
.gat-stroken figure {
	min-height: 280px;
	margin: 0;
	overflow: hidden;
	background-color: var(--gat-graphite);
}
.gat-stroken figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.gat-ritnotities figure { min-height: 168px; margin: 0; background-size: cover; background-position: center; }
.gat-stroken div,
.gat-ritnotities div { padding: 8px 4px 4px 0; }
.gat-stroken time,
.gat-ritnotities time { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gat-teal); }
.gat-n-a { background-image: url("images/note-a.jpg"); }
.gat-n-b { background-image: url("images/note-b.jpg"); }
.gat-n-c { background-image: url("images/note-c.jpg"); }
.gat-n-d { background-image: url("images/note-d.jpg"); }
.gat-feat-rit { min-height: 320px; background: #1c1c1c url("images/featrit.jpg") 50% 45%/cover; margin: 0; }
.gat-index-rit { min-height: 320px; background: #1c1c1c url("images/indexrit.jpg") 50% 45%/cover; margin: 0; }
.gat-review-kast { min-height: 320px; background: #1c1c1c url("images/reviewkast.jpg") 50% 50%/cover; margin: 0; }
.gat-contact-hal { min-height: 42vh; background: #1c1c1c url("images/contacthal.jpg") 50% 45%/cover; margin: 0; }
.gat-leeg-hal { min-height: 38vh; background: #1c1c1c url("images/leeghal.jpg") 40% 50%/cover; margin: 0; }

.gat-wrap { padding: 56px 6vw 80px; width: 100%; max-width: none; }
.gat-faq details { border-bottom: 1px solid var(--gat-line); padding: 12px 0; }
.gat-faq summary { cursor: pointer; font-weight: 700; }
.gat-form { max-width: 36rem; }
.gat-form label { display: block; margin: 0 0 14px; font-weight: 700; font-size: 0.92rem; }
.gat-form input, .gat-form textarea, .gat-form select {
	width: 100%; padding: 12px 14px; border: 1px solid var(--gat-line); font-family: inherit; background: #fff;
	margin-top: 6px;
}
.gat-form input:focus, .gat-form textarea:focus, .gat-form select:focus {
	outline: 2px solid var(--gat-teal); border-color: var(--gat-teal);
}
.gat-form input[type="checkbox"] { width: auto; margin-right: 8px; }
.gat-wrap table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.gat-wrap th, .gat-wrap td { border-bottom: 1px solid var(--gat-line); padding: 8px 10px; text-align: left; }
.gat-note { background: #e4eceb; padding: 10px 14px; }
.gat-note-bad { background: #f0e0dc; }

.gat-hal-foto { min-height: 42vh; background: #1c1c1c url("images/hal.jpg") 50% 45%/cover; margin: 0; }
.gat-atelier-foto { min-height: 42vh; background: #1c1c1c url("images/werkplaats.jpg") 50% 45%/cover; margin: 0; }
.gat-sleutel-foto { min-height: 320px; background: #1c1c1c url("images/sleutel.jpg") 50% 50%/cover; margin: 0; }
.gat-rit-foto { min-height: 320px; background: #1c1c1c url("images/rit.jpg") 50% 45%/cover; margin: 0; }
.gat-werk-foto { min-height: 38vh; background: #1c1c1c url("images/werkplaats.jpg") 40% 50%/cover; margin: 0; }
.gat-salon-foto { min-height: 300px; background: #1c1c1c url("images/salon.jpg") 50% 50%/cover; margin: 0; }

.gat-inzet { display: flex; flex-wrap: wrap; gap: 16px; }
.gat-inzet article {
	width: calc(33.33% - 12px);
	padding: 0 0 20px;
	background: var(--gat-paper);
	box-shadow: inset 0 4px 0 var(--gat-teal);
}
.gat-inzet figure { min-height: 168px; margin: 0 0 14px; background-size: cover; background-position: center; }
.gat-inzet h3, .gat-inzet p, .gat-inzet .gat-kicker, .gat-inzet strong { padding-left: 16px; padding-right: 16px; }
.gat-inzet strong { display: block; font-family: var(--gat-display); font-size: 1.5rem; margin-top: 8px; color: var(--gat-teal); }

/* Ritkaartjes: trip tickets */
.gat-kaarten {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 28px 0 0;
}
.gat-kaart {
	position: relative;
	display: grid;
	grid-template-columns: 72px 1fr;
	min-height: 168px;
	background:
		linear-gradient(90deg, var(--gat-teal) 0 72px, var(--gat-paper) 72px);
	box-shadow: 0 1px 0 var(--gat-line);
}
.gat-kaart::before {
	content: "";
	position: absolute;
	left: 72px;
	top: 10px;
	bottom: 10px;
	width: 0;
	border-left: 2px dotted #c4bdb2;
}
.gat-kaart-nr {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	align-self: center;
	justify-self: center;
	color: #fff;
	font-size: 0.68rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 700;
}
.gat-kaart-body { padding: 18px 20px 16px 28px; display: flex; flex-direction: column; }
.gat-kaart-body p { margin: 0; flex: 1; font-size: 0.98rem; }
.gat-kaart-body strong {
	align-self: flex-end;
	margin-top: 14px;
	padding: 4px 10px;
	border: 1.5px solid var(--gat-teal);
	color: var(--gat-teal);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* Unique footer: sleutelkast with numbered hooks */
.gat-kast { background: var(--gat-graphite); color: var(--gat-bone); padding: 0 0 28px; }
.gat-kast-rail {
	height: 22px;
	background:
		radial-gradient(circle, var(--gat-teal) 3px, transparent 3.5px) 6vw 10px / 28px 22px repeat-x;
}
.gat-kast-vakken {
	display: grid;
	grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
	gap: 28px;
	padding: 18px 6vw 32px;
}
.gat-haak { position: relative; padding-top: 10px; }
.gat-haak-nr {
	display: inline-block;
	font-family: var(--gat-display);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	color: var(--gat-teal);
	margin-bottom: 8px;
}
.gat-kast a { color: #9ec4c3; }
.gat-kast iframe { width: 100%; height: 140px; border: 0; filter: grayscale(1) contrast(1.05); margin-bottom: 10px; }
.gat-plaat {
	margin: 0 6vw;
	padding: 12px 0 0;
	border-top: 1px solid #3a3a3a;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9ec4c3;
}
.gat-rechten {
	margin: 10px 6vw 0;
	padding: 0;
	font-size: 0.82rem;
}

.gat-koek {
	position: fixed; bottom: 0; left: 0; right: 0;
	background: var(--gat-graphite); color: var(--gat-bone);
	padding: 14px 6vw; display: none; z-index: 20;
	border-top: 3px solid var(--gat-teal);
}
.gat-koek a { color: #9ec4c3; }
.gat-koek.is-open { display: block; }
.gat-koek .gat-ghost { box-shadow: inset 0 0 0 1.5px var(--gat-bone); color: var(--gat-bone); margin-right: 8px; }

@media (max-width: 880px) {
	.gat-nav { display: none; }
	.gat-open { display: block; }
	.gat-tegels, .gat-dagen-strook, .gat-kast-vakken, .gat-kaarten, .gat-stroken article, .gat-ritnotities article { display: block; }
	.gat-inzet article { width: 100%; }
	.gat-uren-rij article { border-right: 0; border-bottom: 1px solid #3a3a3a; }
	.gat-stroken article, .gat-stroken article.gat-strook-om { grid-template-columns: 1fr; }
	.gat-stroken article.gat-strook-om figure { order: 0; }
	.gat-stroken figure { min-height: 200px; }
	.gat-ritnotities figure { min-height: 180px; }
	.gat-stroken div, .gat-ritnotities div { padding: 16px 18px 20px; }
	.gat-bel { border-left: 0; padding-left: 0; }
}
