/* ==========================================================================
   Jelgo Smartphone Reparaties — thema
   Uitwerking van het goedgekeurde ontwerp (design/jelgo/d.html).
   Opbouw: 1. tokens  2. basis  3. chrome (balk/kop/voet)  4. secties
           5. catalogus & toestel  6. formulieren  7. core-widgets
   Eén ding bijstellen? Begin bij de tokens hieronder.
   ========================================================================== */

@font-face {
	font-family: Lustra;
	src: url('assets/lustra-text-bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* 1. Tokens ---------------------------------------------------------------
   De --sp-* namen komen uit core/admin/assets/stapel.css: door ze hier te
   overschrijven volgen de builder-widgets vanzelf de huisstijl.             */
:root {
	--j-green: #2bd52b;
	--j-blue: #3069fc;
	--j-ink: #141718;
	--j-muted: #565e60;
	--j-soft: #f3f5f4;
	--j-line: #dce1df;
	--j-dark: #121b1a;
	--j-accent: linear-gradient(110deg, var(--j-green), var(--j-blue));
	--j-title: Lustra, 'Arial Black', Arial, sans-serif;

	--sp-container: 1160px;
	--sp-narrow: 760px;
	--sp-gutter: 20px;
	--sp-gap: 32px;
	--sp-primary: var(--j-ink);
	--sp-primary-contrast: #fff;
	--sp-secondary: var(--j-dark);
	--sp-text: var(--j-ink);
	--sp-muted: var(--j-muted);
	--sp-bg: #fff;
	--sp-surface: var(--j-soft);
	--sp-line: var(--j-line);
	--sp-radius: 1.25rem;
	--sp-btn-radius: 8px;
	--sp-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--sp-font-heading: var(--j-title);
}

@media (min-width: 1000px) {
	:root { --sp-gutter: 40px; }
}

/* 2. Basis ---------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { font: 1rem/1.65 var(--sp-font); color: var(--j-ink); }
h1, h2, h3 { font-family: var(--j-title); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h3 { font-size: 1.3rem; }
a { color: inherit; text-underline-offset: .25em; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--j-blue); outline-offset: 5px; }

.j-eyebrow {
	font-size: .88rem; letter-spacing: .1em; text-transform: uppercase;
	font-weight: 700; margin-bottom: .6rem; color: var(--j-muted);
}
.j-lead { font-size: 1.13rem; color: var(--j-muted); max-width: 42rem; line-height: 1.65; }
.j-muted { color: var(--j-muted); }
.j-small { font-size: .85rem; }
.j-textlink { font-size: .9rem; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Springlink: enkel zichtbaar zodra hij toetsenbordfocus krijgt. */
.sp-skip { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: 1rem; background: #fff; border-radius: 8px; }
.sp-skip:focus { top: 1rem; }

/* 3. Chrome: bovenbalk, kop, voet, mobiele knoppenbalk --------------------- */
.j-utility { background: var(--j-dark); color: #fff; font-size: .78rem; padding: .55rem 0; }
.j-utility .sp-container { display: flex; justify-content: space-between; gap: 1rem; }
.j-utility .j-place { display: none; }
.j-dot {
	display: inline-block; width: .45rem; height: .45rem;
	background: var(--j-green); border-radius: 50%; margin-right: .5rem;
}
@media (min-width: 650px) { .j-utility .j-place { display: block; } }

.site-header {
	position: sticky; top: var(--sp-adminbar-h, 0px); z-index: 20;
	background: #fff; border-bottom: 1px solid var(--j-line);
}
.site-header .header-inner {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 72px; gap: 1rem;
}
.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo img { width: 112px; height: auto; object-fit: contain; }
.site-logo strong { font-family: var(--j-title); font-size: 1.1rem; }

.menu-btn {
	border: 1px solid var(--j-line); background: #fff; border-radius: 8px;
	padding: .65rem .85rem; display: flex; flex-direction: column; gap: 4px; cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--j-ink); }

.site-header .header-inner { flex-wrap: wrap; }
/* Op een gsm klapt het menu open als volle breedte onder het logo, niet ernaast. */
.site-nav { display: none; padding-bottom: 1rem; flex-basis: 100%; }
.site-nav.is-open { display: block; }
.site-nav .sp-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.site-nav .sp-menu a {
	display: block; padding: .65rem .8rem; text-decoration: none;
	font-size: .88rem; font-weight: 650; border-radius: 7px;
}
.site-nav .sp-menu a:hover,
.site-nav .sp-menu .is-active > a,
.site-nav .sp-menu [aria-current] { background: var(--j-soft); }
/* De menu-ingang naar de afspraakpagina is de zwarte knop uit het ontwerp.
   Op de href matchen i.p.v. op een klasse: zo blijft het werken als Stef de
   volgorde of het label van het menu-item wijzigt. */
.site-nav .sp-menu > li > a[href*="maak-afspraak"] { background: var(--j-ink); color: #fff; }
.site-nav .sp-menu > li > a[href*="maak-afspraak"]:hover { background: #2d3835; }

@media (min-width: 1000px) {
	.menu-btn { display: none; }
	.site-header .header-inner { flex-wrap: nowrap; }
	.site-nav, .site-nav.is-open { display: block; padding: 0; flex-basis: auto; }
	.site-nav .sp-menu { flex-direction: row; align-items: center; gap: .1rem; }
	.site-nav .sp-menu a { font-size: .8rem; padding: .65rem .7rem; }
	.site-header .header-inner { min-height: 80px; }
	.site-logo img { width: 128px; }
}

.site-footer {
	background: var(--j-dark); color: #c3cec9; border-top: 1px solid #34413b;
	padding: 2rem 0 7rem; font-size: .78rem;
}
.site-footer .footer-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem; flex-wrap: wrap;
}
.site-footer a { color: inherit; }
.site-footer img { width: 125px; max-height: 55px; object-fit: contain; }
.site-footer .footer-menu,
.site-footer .footer-menu ul,
.site-footer .footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.site-footer .footer-menu li { list-style: none; }
@media (min-width: 1000px) { .site-footer { padding-bottom: 2rem; } }

/* Vaste knoppenbalk onderaan op telefoon — bellen en afspraak maken. */
.j-mobile-actions {
	position: fixed; bottom: 0; inset-inline: 0; z-index: 30; background: #fff;
	border-top: 1px solid var(--j-line);
	padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
	display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem;
}
.j-mobile-actions .sp-btn { min-height: 46px; font-size: .82rem; padding: .7rem; }
@media (min-width: 1000px) { .j-mobile-actions { display: none; } }

/* De eigen secties staan in de builder op "volledige breedte", zodat hun achtergrond
   (de grijze strook, de randen van de troevenrij) van rand tot rand loopt. De inhoud
   zelf moet wél in de leeskolom blijven: core zet in zo'n sectie .sp-container op
   max-width:none, en dat draaien we hier terug voor onze eigen blokken. */
.sp-w-full :is(.j-hero, .j-proof, .j-contact, .sp-section) > .sp-container {
	max-width: var(--sp-container);
	padding-inline: var(--sp-gutter);
}

/* 4. Secties -------------------------------------------------------------- */
.j-hero { padding-block: 3rem; }
.j-hero-grid { display: grid; gap: 2.5rem; }
.j-hero h1 { margin: 0; text-wrap: balance; }
.j-hero h1 .j-hl { display: inline-block; text-wrap: balance; }
.j-hero .j-lead { margin-top: 1.5rem; max-width: 35rem; }
.j-hero-note { font-size: .84rem; color: var(--j-muted); margin-top: 1.15rem; }
.j-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.j-hero-visual {
	position: relative; background: #e9eeeb; min-height: 350px;
	border-radius: var(--sp-radius); overflow: hidden; border: 1px solid #dde4df;
}
.j-hero-visual::before {
	position: absolute; content: ''; height: 3px; top: 0; inset-inline: 0;
	background: var(--j-accent); z-index: 2;
}
.j-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.j-visual-note {
	position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem; z-index: 1;
	background: #fff; border-radius: 10px; padding: 1rem 1.15rem;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .8rem;
}
.j-visual-note strong { font-size: .98rem; }
a.j-visual-note { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.j-visual-note:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(48, 105, 252, .7); }
a.j-visual-note:hover span[aria-hidden] { color: var(--j-blue); }
@media (min-width: 1000px) {
	.j-hero { padding-block: 4.5rem; }
	.j-hero-grid { grid-template-columns: 1.12fr 1fr; align-items: center; gap: 4rem; }
	.j-hero-visual { min-height: 470px; }
}

.j-proof { border-block: 1px solid var(--j-line); }
.j-proof-grid { display: grid; grid-template-columns: 1fr 1fr; }
.j-proof-item { padding: 1.6rem .75rem; border-bottom: 1px solid var(--j-line); }
.j-proof-item:nth-last-child(-n+2) { border-bottom: 0; }
.j-proof-item strong { display: block; font-family: var(--j-title); font-size: 1.6rem; letter-spacing: -.03em; }
.j-proof-item span { font-size: .8rem; color: var(--j-muted); display: block; max-width: 12rem; }
@media (min-width: 1000px) {
	.j-proof-grid { grid-template-columns: repeat(4, 1fr); }
	.j-proof-item { border-bottom: 0; border-right: 1px solid var(--j-line); padding: 1.8rem 2rem; }
	.j-proof-item:first-child { padding-left: 0; }
	.j-proof-item:last-child { border: 0; }
}

.j-section-head {
	display: flex; justify-content: space-between; align-items: end;
	gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.j-section-head .j-lead { max-width: 29rem; font-size: 1rem; }
.j-section-head h2 { margin: 0; }

.j-brand-grid { display: grid; gap: 1rem; }
.j-brand-card {
	display: flex; flex-direction: column; padding: 1.6rem; background: #fff;
	border: 1px solid var(--j-line); border-radius: var(--sp-radius); text-decoration: none;
}
.j-brand-card:hover { border-color: var(--j-blue); }
.j-brand-card h3 { margin: 0; }
.j-brand-card .j-number { font-size: .75rem; color: var(--j-muted); margin-top: .4rem; }
.j-brand-photo {
	height: 190px; flex: 0 0 190px; display: flex; align-items: center;
	justify-content: center; overflow: hidden; margin: 1.25rem 0; min-width: 0;
}
/* Vaste hoogte i.p.v. height:auto: de toestelfoto's zijn maar 170×210, en via de srcset (400w/900w)
   rekent de browser hun "natuurlijke" grootte dan veel te klein uit, vooral op een gsm. */
.j-brand-photo img { width: auto; height: 180px; max-width: 100%; object-fit: contain; }
.j-brand-card .j-link-row {
	display: flex; justify-content: space-between; align-items: center;
	padding-top: 1rem; border-top: 1px solid var(--j-line); font-size: .85rem; font-weight: 650;
}
@media (min-width: 650px) { .j-brand-grid { grid-template-columns: repeat(3, 1fr); } }

.j-other-strip {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 0;
	border-bottom: 1px solid var(--j-line); margin-top: .75rem;
}
.j-other-strip h3 { margin: 0; }
.j-other-strip p { font-size: .9rem; color: var(--j-muted); margin: .4rem 0 0; }

.j-steps { display: grid; gap: 2rem; margin: 2.5rem 0 0; padding: 0; list-style: none; counter-reset: steps; }
.j-steps li { counter-increment: steps; border-top: 1px solid #cbd3cf; padding-top: 1.3rem; }
.j-steps li::before { content: '0' counter(steps); font-size: .78rem; color: var(--j-muted); display: block; margin-bottom: 1.4rem; }
.j-steps h3 { font-size: 1.2rem; margin: 0; }
.j-steps p { margin: .75rem 0 0; color: var(--j-muted); font-size: .92rem; }
@media (min-width: 650px) { .j-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .j-steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }

.j-about-photo { border-radius: var(--sp-radius); overflow: hidden; background: var(--j-soft); }
.j-about-photo img { width: 100%; height: 320px; object-fit: cover; display: block; }
.j-repair-list { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: .5rem; margin-top: 1.6rem; }
.j-repair-list li { border: 1px solid var(--j-line); padding: .45rem .75rem; border-radius: 6px; font-size: .8rem; }

/* Donkere contactband — staat in de layout, dus op elke pagina behalve contact/afspraak. */
.j-contact { background: var(--j-dark); color: #fff; position: relative; padding-block: 5rem; }
.j-contact::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--j-accent); }
.j-contact-grid { display: grid; gap: 2.5rem; }
.j-contact p { color: #bdc9c4; }
.j-contact .j-eyebrow { color: #bdc9c4; }
.j-contact h2 { max-width: 15ch; margin: 0; }
.j-contact .sp-btn-primary { background: #fff; color: var(--j-ink); border-color: #fff; }
.j-contact .sp-btn-outline { background: transparent; color: #fff; border-color: #63726c; }
.j-contact-details { display: grid; gap: 1.3rem; margin: 0; }
.j-contact-details dt { color: #acbdb4; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.j-contact-details dd { margin: .25rem 0 0; font-size: 1.05rem; }
.j-contact-details a { overflow-wrap: anywhere; }
@media (min-width: 1000px) {
	.j-contact-grid { grid-template-columns: 1.2fr 1fr; gap: 5rem; }
	.j-contact-details { grid-template-columns: 1fr 1fr; }
}

/* 5. Catalogus & toestel --------------------------------------------------- */
.j-breadcrumb { padding-top: 1.5rem; font-size: .78rem; color: var(--j-muted); }
.j-breadcrumb ol { padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .65rem; }
.j-breadcrumb li + li::before { content: '/'; margin-right: .65rem; color: #9da6a1; }

.j-page-intro { padding-block: 2.8rem; }
.j-page-intro h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0; }
.j-page-intro .j-lead { margin-top: 1.25rem; }

.j-catalog-toolbar {
	display: flex; justify-content: space-between; align-items: end;
	flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem;
}
.j-search { width: 100%; max-width: 30rem; }
.j-search label { display: block; font-size: .85rem; font-weight: 650; margin-bottom: .4rem; }

.j-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.j-model-card {
	border: 1px solid var(--j-line); border-radius: 12px; padding: 1.2rem;
	text-decoration: none; display: flex; flex-direction: column; gap: 1.3rem;
}
.j-model-card:hover { border-color: var(--j-blue); }
.j-model-card h2 { font-size: 1.07rem; letter-spacing: -.02em; margin: 0; }
.j-model-card .j-textlink { font-size: .76rem; }
.j-model-image {
	height: 170px; background: #fff; border-radius: 7px; padding: .5rem;
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden;
}
.j-model-image img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
@media (min-width: 650px) { .j-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .j-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.j-empty { margin: 2rem 0; padding: 1.5rem; border: 1px dashed #adb8b0; border-radius: 10px; }

.j-device-grid { display: grid; gap: 2rem; }
.j-device-grid > * { min-width: 0; }
.j-device-summary {
	background: var(--j-soft); border: 1px solid var(--j-line);
	border-radius: var(--sp-radius); padding: 1.8rem; order: 2;
}
.j-device-summary .j-model-image { height: 190px; margin-bottom: 1.5rem; }
.j-device-summary h2 { font-size: 1.35rem; margin: 0; }
.j-device-summary ul { list-style: none; margin: 1rem 0 1.5rem; padding: 0; font-size: .85rem; color: var(--j-muted); }
.j-device-summary li { margin-top: .5rem; }
.j-device-summary li::before { content: '✓'; margin-right: .5rem; color: #166128; }
.j-device-grid > div { order: 1; }
@media (min-width: 1000px) {
	.j-device-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 3rem; }
	.j-device-summary { align-self: start; order: 0; }
}

.j-table-wrap { overflow-x: auto; border: 1px solid var(--j-line); border-radius: 12px; }
.j-table-wrap table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; }
.j-table-wrap caption { text-align: left; padding: 1.2rem; font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--j-line); }
.j-table-wrap th, .j-table-wrap td { padding: 1.1rem 1rem; border-bottom: 1px solid var(--j-line); vertical-align: top; }
.j-table-wrap thead { background: var(--j-soft); }
.j-table-wrap thead th { font-size: .72rem; font-weight: 650; color: var(--j-muted); }
.j-table-wrap tbody th { font-weight: 650; }
.j-table-wrap tbody tr:last-child > * { border-bottom: 0; }
.j-table-wrap td.j-col-prijs { font-weight: 700; white-space: nowrap; }
.j-table-wrap :is(td, th).j-col-cta { width: 1%; white-space: nowrap; }
.j-rep-cta {
	display: inline-flex; gap: .35rem; align-items: center; padding: .5rem .8rem; border-radius: 8px;
	background: var(--j-ink); color: #fff; font-size: .8rem; font-weight: 650; text-decoration: none;
}
.j-rep-cta:hover { background: #2d3835; }
.j-prijs-info { margin: .6rem 0 0; font-weight: 700; }
/* De beeldkolom krijgt een vaste breedte; zonder max-width:none drukt de
   core-regel img{max-width:100%} het beeld samen tot een streepje. */
.j-table-wrap :is(td, th).j-col-img { width: 86px; }
.j-rep-img { width: 54px; height: 54px; max-width: none; object-fit: contain; }
.j-table-note { margin-top: .8rem; font-size: .8rem; color: var(--j-muted); }

.j-guarantee { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--j-line); }
.j-guarantee h2 { font-size: 1.4rem; margin: 0; }
.j-guarantee p { margin-top: .8rem; color: var(--j-muted); font-size: .94rem; }

/* Tot de breedte met zijbalk wordt elke tabelrij een blokje: kop + prijs naast elkaar, rest eronder.
   Met de afspraakknop erbij zijn het zes kolommen, en die passen pas naast de zijbalk vanaf 1000 px. */
@media (max-width: 999px) {
	.j-table-wrap { overflow: visible; }
	.j-table-wrap table, .j-table-wrap caption, .j-table-wrap tbody { display: block; }
	.j-table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.j-table-wrap tbody tr {
		display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--j-line);
		padding: .9rem 1rem; gap: .3rem 1rem;
	}
	.j-table-wrap tbody tr:last-child { border: 0; }
	.j-table-wrap tbody th, .j-table-wrap tbody td { padding: 0; border: 0; }
	.j-table-wrap tbody th { order: 1; }
	.j-table-wrap tbody td.j-col-prijs { order: 2; text-align: right; }
	.j-table-wrap tbody td.j-col-omschrijving { order: 3; grid-column: 1 / -1; font-size: .8rem; color: var(--j-muted); }
	.j-table-wrap tbody td.j-col-duur { order: 4; grid-column: 1 / -1; font-size: .8rem; color: var(--j-muted); }
	.j-table-wrap tbody td.j-col-duur::before { content: 'Duur: '; }
	.j-table-wrap tbody td.j-col-img { display: none; }
	.j-table-wrap tbody td.j-col-cta { order: 5; grid-column: 1 / -1; width: auto; }
}

/* 6. Formulieren ---------------------------------------------------------- */
input, select, textarea {
	width: 100%; padding: .8rem .9rem; border: 1px solid #afb9b3; border-radius: 7px;
	background: #fff; color: var(--j-ink); min-height: 50px; font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #69736d; }
input[type=checkbox] { width: auto; min-height: 0; }

.sp-form { border: 1px solid var(--j-line); border-radius: var(--sp-radius); padding: 1.3rem; }
.sp-form .sp-field label { font-size: .85rem; font-weight: 650; display: block; margin-bottom: .4rem; }
.sp-form .sp-check { display: flex; gap: .6rem; align-items: start; font-weight: 400; }
.sp-form .sp-check input { margin-top: .35rem; }
.sp-req { color: var(--j-blue); }
@media (min-width: 650px) { .sp-form { padding: 2rem; } }

.j-form-layout { display: grid; gap: 2.5rem; }
.j-form-layout > * { min-width: 0; }
.j-aside { padding: 1.8rem; background: var(--j-soft); border-radius: var(--sp-radius); align-self: start; }
.j-aside h2 { font-size: 1.35rem; margin: 0; }
.j-aside p { font-size: .9rem; color: var(--j-muted); margin-top: 1rem; }
.j-aside address { font-style: normal; font-size: .9rem; margin-top: 1.5rem; }
.j-aside address a { overflow-wrap: anywhere; }
.j-aside hr { border: 0; border-top: 1px solid var(--j-line); margin: 1.5rem 0; }
@media (min-width: 1000px) { .j-form-layout { grid-template-columns: minmax(0, 1fr) 330px; } }

/* 7. Core-widgets in deze huisstijl ---------------------------------------- */
.sp-btn {
	min-height: 52px; padding: .85rem 1.3rem; border-radius: var(--sp-btn-radius);
	font-size: .94rem; font-weight: 700; border-width: 1px; gap: 1rem;
}
.sp-btn-primary:hover { background: #2d3835; border-color: #2d3835; filter: none; transform: none; }
.sp-btn-outline { color: var(--j-ink); border-color: #bfc7c3; }
.sp-btn-outline:hover { background: var(--j-soft); color: var(--j-ink); }
.sp-btn-s { min-height: 44px; font-size: .82rem; padding: .6rem 1rem; }

.sp-section.j-soft { background: var(--j-soft); }
.sp-heading.sp-accent::after { background: var(--j-accent); height: 3px; width: 1.7rem; }
.sp-card { border: 1px solid var(--j-line); border-radius: var(--sp-radius); }
.sp-text a { color: var(--j-blue); }
.sp-text h2, .sp-text h3 { margin-top: 1.5em; }
.sp-text h2:first-child, .sp-text h3:first-child { margin-top: 0; }
.sp-text ul, .sp-text ol { padding-left: 1.2em; }
.sp-text table td, .sp-text table th { border-color: var(--j-line); }

/* 8. Afdrukken ------------------------------------------------------------ */
@media print {
	.site-header, .j-mobile-actions, .j-actions, .j-utility, .site-footer, .menu-btn, .j-contact { display: none; }
	body { font-size: 11pt; }
}

/* Lange tabellen en woorden in gewone pagina's (cookiebeleid, voorwaarden) mogen op een gsm niet buiten beeld lopen. */
.sp-col { min-width: 0; }
.sp-text table { display: block; max-width: 100%; overflow-x: auto; }
.sp-text h1, .sp-text h2, .sp-text h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 649px) {
	.sp-text h2 { font-size: clamp(1.25rem, 6vw, 1.6rem); }
	.sp-text h3 { font-size: 1.1rem; }
}

/* 8. Kleurvlakken (v2) ------------------------------------------------------
   De klant vond v1 (git-tag jelgo-v1) te wit. Alles wat kleur toevoegt staat
   in dit blok: weghalen = terug naar v1. Groen en blauw komen uit het logo. */
:root {
	--j-tint: linear-gradient(125deg, #e6f9e6 0%, #e9f0ff 100%);
	--j-tint-blue: #edf2ff;
	--j-band: linear-gradient(110deg, var(--j-green) 0%, #5b8cff 100%);
}

/* Hero: zacht groen-blauw vlak i.p.v. wit. */
.j-hero { background: var(--j-tint); }
.j-hero-visual { border-color: #fff; box-shadow: 0 24px 60px -30px rgba(48, 105, 252, .45); }

/* Troevenrij: donkere band met een icoon per troef in het logo-verloop (het verloop over de hele
   band vond Stef niet mooi: kleur zit nu enkel in de icoontegels). */
.j-proof { background: var(--j-dark); border-block: 0; color: #fff; }
.j-proof-item, .j-proof-item:nth-last-child(-n+2) { border-color: #2a3833; }
.j-proof-item { display: flex; gap: .9rem; align-items: flex-start; }
.j-proof-item strong { font-size: 1.2rem; }
@media (max-width: 649px) {
	.j-proof-grid { grid-template-columns: 1fr; }
	.j-proof-item { padding: 1.1rem 0; }
	.j-proof-item:nth-last-child(2) { border-bottom: 1px solid #2a3833; }
}
@media (min-width: 1000px) { .j-proof-item strong { white-space: nowrap; } }
.j-proof-item span { color: #bdc9c4; }
.j-proof-item .j-proof-icon {
	max-width: none; font-size: 0;
	flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
	background: var(--j-accent); color: #fff !important; box-shadow: 0 8px 20px -10px rgba(48, 105, 252, .9);
}
.j-proof-icon .j-icon { width: 22px; height: 22px; }

/* "Welk toestel heb je?": lichtblauw vlak, witte kaarten met een gekleurde bovenrand. */
#toestellen { background: var(--j-tint-blue); }
#toestellen .j-brand-card { border-color: #fff; position: relative; overflow: hidden; }
#toestellen .j-brand-card::before {
	content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--j-accent);
}
#toestellen .j-other-strip { border-color: #cfdaf5; }

/* "Zo werkt het": donker vlak met de stapnummers in merkkleur. */
.sp-section.j-soft { background: var(--j-dark); color: #fff; }
.sp-section.j-soft :is(h2, h3) { color: #fff; }
.sp-section.j-soft :is(p, .j-lead) { color: #bdc9c4; }
.sp-section.j-soft .j-eyebrow { color: #bdc9c4; }
.j-soft .j-steps li { border-top-color: #34413b; }
.j-step-icon {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
	background: rgba(255, 255, 255, .08); color: var(--j-green);
	position: absolute; right: 0; top: 1.3rem;
}
.j-steps li { position: relative; }
.j-step-icon .j-icon { width: 20px; height: 20px; }
.j-contact-details dt { display: flex; align-items: center; gap: .45rem; }
.j-contact-details dt .j-icon { width: 15px; height: 15px; color: var(--j-green); }
.j-soft .j-steps li::before {
	font-family: var(--j-title); font-size: 1.6rem; color: transparent;
	background: var(--j-accent); -webkit-background-clip: text; background-clip: text;
}

/* Binnenpagina's: broodkruimel + paginakop krijgen hetzelfde zachte vlak als de hero, van rand tot rand.
   De kop staat in de leeskolom; border-image met "fill" en een outset tekent het vlak toch over de volle breedte. */
body:not(.is-home) main > .sp-section:first-child:has(.j-page-intro),
main > .j-breadcrumb, main > .j-page-intro { border-image: var(--j-tint) fill 0 / / 0 100vmax; }
/* Compacte kop: de kop zelf houdt zijn ademruimte, maar de sectie eromheen en de sectie erna niet nog eens. */
body:not(.is-home) main > .sp-section:first-child:has(.j-page-intro) { padding-block: .5rem; }
body:not(.is-home) main > .sp-section:first-child:has(.j-page-intro) + .sp-section,
body:not(.is-home) main > .sp-section:first-child:has(.j-page-intro) + .sp-section > .sp-container > .sp-row > .sp-col > .sp-widget > .sp-section { padding-top: 2rem; }
.j-page-intro { padding-block: 2rem; }
/* Staat er in die eerste sectie meer dan de kop (tekst, knop: bv. Andere merken, de voorwaarden),
   dan krijgt enkel de kop het gekleurde vlak en staat de rest gewoon op wit, met normale ruimte onderaan. */
body:not(.is-home) main > .sp-section:first-child:has(.j-page-intro):has(.sp-widget:not(.sp-w-paginakop)) {
	border-image: none; padding-bottom: 4.5rem; margin-bottom: 0;
}
body:not(.is-home) main > .sp-section:first-child:has(.sp-widget:not(.sp-w-paginakop)) .j-page-intro {
	border-image: var(--j-tint) fill 0 / / .5rem 100vmax 0; margin-bottom: 1.5rem;
}
main > .j-page-intro { margin-bottom: 2rem; }

/* Knoppen: merkblauw i.p.v. zwart (wit op #3069fc = 4,6:1, ook leesbaar voor kleine tekst). */
.sp-btn-primary, .j-rep-cta, .sp-cookies .sp-cookies-accept,
.site-nav .sp-menu > li > a[href*="maak-afspraak"] {
	background: var(--j-blue); border-color: var(--j-blue); color: #fff;
	box-shadow: 0 8px 22px -12px rgba(48, 105, 252, .8);
}
.sp-btn-primary:hover, .j-rep-cta:hover, .sp-cookies .sp-cookies-accept:hover,
.site-nav .sp-menu > li > a[href*="maak-afspraak"]:hover { background: #1f55e0; border-color: #1f55e0; }
.j-contact .sp-btn-primary { background: var(--j-blue); color: #fff; border-color: var(--j-blue); }

/* Modellen en toestelfoto's: een lichtblauw vlak achter het toestel. */
.j-model-image, .j-device-summary .j-model-image { background: var(--j-tint-blue); }
.j-model-card:hover { border-color: var(--j-green); }
/* Gekleurde woorden in titels (Jelgo::kop): effen merkkleur, geen verloop.
   Op licht het logo-blauw (4,6:1), op de donkere vlakken het logo-groen. */
.j-hl { color: var(--j-blue); }
:is(.j-soft, .j-contact) .j-hl { color: var(--j-green); }

/* De cookiebalk laadt zijn eigen stijl na het thema; via de variabele volgt hij toch. */
.sp-cookies { --sp-primary: var(--j-blue); }
