/* Vacaturepagina's Energiek Installaties
   Zelfde lettertypes en kleuren als de homepage (Poppins / Ubuntu, limegroen #c9d300) */

:root {
	--lime: #c9d300;
	--lime-dark: #a7af00;
	--ink: #333333;
	--text: #6f6f6f;
	--muted: #8d8d8d;
	--soft: #f7f7f9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: "Ubuntu", sans-serif;
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h6 {
	font-family: "Poppins", sans-serif;
	color: var(--ink);
	font-weight: 600;
	letter-spacing: -0.5px;
	margin: 0;
}
h6 {
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--lime);
	margin-bottom: 10px;
}
p { margin: 0 0 16px; }
a { color: var(--ink); }
img { max-width: 100%; display: block; }

/* ---------- Layout: links beeld, rechts inhoud (zoals de homepage) ---------- */
.layout { display: flex; min-height: 100vh; }
.hero {
	position: sticky;
	top: 0;
	height: 100vh;
	width: 46%;
	flex-shrink: 0;
	background-color: #222;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
	display: flex;
	flex-direction: column;
	padding: 75px;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20,20,20,.25) 0%, rgba(20,20,20,0) 30%, rgba(20,20,20,.15) 50%, rgba(20,20,20,.88) 100%);
}
.hero > * { position: relative; }
.hero .logo { width: 100px; }
.hero-text { margin-top: auto; }
.hero h1 {
	color: #fff;
	font-size: clamp(42px, 5vw, 80px);
	line-height: 1.02;
	font-weight: 700;
	margin-bottom: 18px;
	-webkit-hyphens: manual;
	hyphens: manual;
}
.hero h1.small { font-size: clamp(36px, 3.4vw, 56px); line-height: 1.08; }
.hero h1 span { color: var(--lime); }
.hero p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 440px; margin: 0; }

/* Foto-uitsnedes */
.hero-team    { background-image: url("../img/team-lachend.jpg"); background-position: center 38%; }
.hero-dirkjan { background-image: url("../img/dirk-jan-bus.jpg"); background-position: 33% center; }
.hero-joris   { background-image: url("../img/joris-bus.jpg");    background-position: 42% center; }

.content { flex: 1; min-width: 0; }
.topnav { padding: 30px 75px 0; }
.topnav a {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--muted);
}
.topnav a:hover { color: var(--ink); }
.section { padding: 75px; max-width: 780px; }
.topnav + .section { padding-top: 45px; }
.section + .section { padding-top: 0; }
.section h2 { font-size: 34px; line-height: 1.25; margin-bottom: 20px; }
.lead { font-size: 17px; }

.team-photo { margin: 34px 0 0; }
.team-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 60%; }

/* ---------- Knoppen in de stijl van de homepage ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 182px;
	height: 57px;
	padding: 0 26px;
	border: 0;
	border-radius: 2px;
	background: var(--lime);
	color: #fff;
	font-family: "Ubuntu", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}
.btn::before {
	content: "";
	position: absolute;
	inset: 0 100% 0 0;
	background: rgba(0,0,0,.18);
	transition: right 1.1s cubic-bezier(.19,1,.22,1);
}
.btn:hover::before, .btn:focus-visible::before { right: 0; }
.btn span { position: relative; }
.btn.outline { background: transparent; border: 1px solid rgba(255,255,255,.35); }

/* ---------- Vacature-knoppen op de overzichtspagina ---------- */
.jobs-nav { display: grid; gap: 14px; margin-top: 8px; }
.job-link {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	background: var(--soft);
	border-left: 4px solid var(--lime);
	text-decoration: none;
	transition: background .3s;
}
.job-link:hover { background: #eff1d2; }
.job-link .txt { flex: 1; }
.job-link strong { display: block; font-family: "Poppins", sans-serif; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.3; }
.job-link small { color: var(--muted); font-size: 14px; line-height: 1.45; display: block; margin-top: 2px; }
.job-link .arrow {
	flex-shrink: 0;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	background: var(--lime);
	color: #fff;
	font-size: 18px;
	border-radius: 2px;
}

/* ---------- Vacaturetekst ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; padding: 0; list-style: none; }
.chips li {
	font-size: 12px;
	font-weight: 500;
	color: var(--ink);
	background: var(--soft);
	padding: 5px 12px;
	border-radius: 2px;
}
.job h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin: 34px 0 12px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.ticks li::before {
	content: "";
	position: absolute;
	left: 2px; top: 8px;
	width: 11px; height: 6px;
	border-left: 2px solid var(--lime-dark);
	border-bottom: 2px solid var(--lime-dark);
	transform: rotate(-45deg);
}

/* ---------- Solliciteren ---------- */
.apply-wrap { background: var(--ink); color: rgba(255,255,255,.8); }
.apply-wrap h2 { color: #fff; }
.apply-wrap .lead { color: rgba(255,255,255,.85); }
.apply-wrap .lead a { color: var(--lime); text-decoration: none; }
.callback {
	margin-top: 44px;
	padding-top: 34px;
	border-top: 1px solid rgba(255,255,255,.15);
}
.callback h4 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.callback > p { color: rgba(255,255,255,.7); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 12px; font-weight: 500; letter-spacing: .5px; color: #fff; }
label .opt { color: rgba(255,255,255,.5); font-weight: 400; }
input, textarea {
	font: inherit;
	font-size: 15px;
	color: #fff;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 2px;
	padding: 13px 14px;
	width: 100%;
	outline: none;
	transition: border-color .2s;
}
input { height: 50px; }
input:focus, textarea:focus { border-color: var(--lime); }
textarea { resize: vertical; min-height: 84px; }
.hp { position: absolute; left: -9999px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 4px; }
.privacy { font-size: 12px; color: rgba(255,255,255,.5); margin: 0; flex: 1 1 220px; }
.form-msg { grid-column: 1 / -1; margin: 0; color: var(--lime); font-weight: 500; min-height: 1em; }
.form-msg.error { color: #ff8a80; }
.direct { margin-top: 30px; display: flex; gap: 10px 26px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.direct span { color: rgba(255,255,255,.7); }
.direct a { color: var(--lime); font-weight: 500; text-decoration: none; }
.direct a:hover { text-decoration: underline; }

/* ---------- Andere vacature ---------- */
.other { padding-top: 60px !important; }
.other .job-link strong { font-size: 18px; }

footer.site-foot { padding: 34px 75px; font-size: 12px; color: var(--muted); }
footer.site-foot a { color: var(--muted); }

/* ---------- Tablet & mobiel ---------- */
@media (max-width: 991px) {
	.layout { display: block; }
	.hero { position: relative; width: 100%; height: 78vh; min-height: 520px; padding: 40px; }
	.topnav { padding: 26px 40px 0; }
	.section { padding: 56px 40px; max-width: none; }
	footer.site-foot { padding: 30px 40px; }
}
@media (max-width: 600px) {
	.hero { padding: 28px 20px 34px; }
	.hero .logo { width: 76px; }
	.hero p { font-size: 16px; }
	.topnav { padding: 22px 20px 0; }
	.section { padding: 44px 20px; }
	.topnav + .section { padding-top: 30px; }
	.section h2 { font-size: 27px; }
	.job-link { padding: 20px; }
	.job-link strong { font-size: 18px; }
	form { grid-template-columns: 1fr; }
	.btn { width: 100%; }
	footer.site-foot { padding: 26px 20px; }
}
