/* ------------------------------------------------------------------ *
 * Spoed elektricien & storingsdienst (dienst-ID 24)
 * Alleen geladen door single-diensten-spoed-elektricien-storingsdienst.php.
 * Alle regels zijn gescoped onder .sw-sp.
 * ------------------------------------------------------------------ */

.sw-sp :where(h2, h3, p, figure) { margin: 0; }
.sw-sp h2 { font-family: var(--sw-font-heading); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; color: var(--sw-ink); margin-bottom: 16px; }
.sw-sp h3 { font-family: var(--sw-font-heading); font-size: 22px; line-height: 1.25; color: var(--sw-ink); margin: 28px 0 10px; }
.sw-sp h3:first-child { margin-top: 0; }
.sw-sp p { font-family: var(--sw-font-body); font-size: 16px; line-height: 1.75; color: var(--sw-muted-2); }
.sw-sp p + p { margin-top: 14px; }
.sw-sp p a { color: var(--sw-red); text-decoration: underline; text-underline-offset: 2px; }
.sw-sp-eyebrow { display: inline-block; font-family: var(--sw-font-body); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sw-red); margin-bottom: 12px; }
.sw-sp-center { text-align: center; }
.sw-sp-lead { font-size: 18px !important; max-width: 680px; }
.sw-sp-center .sw-sp-lead { margin: 0 auto; }
.sw-sp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sw-sp-btn-outline { color: var(--sw-ink); border: 1.5px solid var(--sw-ink); background: transparent; }
.sw-sp-btn-outline:hover { color: var(--sw-red); border-color: var(--sw-red); }
.sw-sp .sw-sp-textlink { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--sw-red); text-decoration: none; }

/* Tekst + foto naast elkaar */
.sw-sp-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sw-sp-split + .sw-sp-split { margin-top: clamp(48px, 6vw, 80px); }
.sw-sp-split--rev > :first-child { order: 2; }
.sw-sp-head + .sw-sp-split { margin-top: 48px; }
.sw-sp-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sw-border-1); }
.sw-sp-photo--tall { aspect-ratio: 4 / 5; }
.sw-sp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-sp-floating { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; gap: 12px; align-items: center; background: var(--sw-white); border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); font-size: 14px; color: var(--sw-ink); line-height: 1.4; }
.sw-sp-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sw-red-chip-bg); color: var(--sw-red); font-family: var(--sw-font-heading); font-weight: 800; }
.sw-sp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 6px; }

/* Donkere noodbalk */
.sw-sp-alert { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.sw-section--dark.sw-sp-dark h2 { color: var(--sw-white); }
.sw-section--dark.sw-sp-dark p { color: rgba(255, 255, 255, .82); }
.sw-section--dark.sw-sp-dark strong { color: var(--sw-white); }

/* Werkwijze als tijdlijn */
.sw-sp-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; position: relative; }
.sw-sp-timeline::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--sw-red) 0 8px, transparent 8px 16px); opacity: .4; }
.sw-sp-step { position: relative; text-align: center; }
.sw-sp-step-n { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--sw-white); border: 2px solid var(--sw-red); color: var(--sw-red); font-family: var(--sw-font-heading); font-weight: 800; font-size: 20px; }
.sw-sp-step h3 { font-size: 19px; margin: 0 0 8px; }
.sw-sp-step p { font-size: 14.5px; }
.sw-sp-step small { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--sw-ink); }

/* FAQ */
.sw-sp-faq { max-width: 820px; margin: 36px auto 0; }
.sw-sp-faq details { background: var(--sw-white); border: 1px solid var(--sw-border-1); border-radius: 14px; margin-bottom: 12px; }
.sw-sp-faq summary { position: relative; cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-family: var(--sw-font-heading); font-weight: 700; font-size: 17px; color: var(--sw-ink); }
.sw-sp-faq summary::-webkit-details-marker { display: none; }
.sw-sp-faq summary::after { content: "+"; position: absolute; right: 22px; top: 12px; font-size: 26px; font-weight: 400; color: var(--sw-red); }
.sw-sp-faq details[open] summary::after { content: "\2013"; }
.sw-sp-faq details p { padding: 0 22px 20px; font-size: 15px; }

/* Werkgebied + andere diensten (template) */
.sw-sp-regio .sw-sp-sub { margin-top: 56px; }
/* FAQ en werkgebied zijn allebei wit: geen dubbele sectie-padding tussen beide. */
.sw-section.sw-sp-regio { padding-top: clamp(16px, 2vw, 32px); }

@media (max-width: 900px) {
	.sw-sp-split, .sw-sp-alert { grid-template-columns: 1fr; }
	.sw-sp-split--rev > :first-child { order: 0; }
	.sw-sp-timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
	.sw-sp-timeline::before { display: none; }
}
@media (max-width: 600px) {
	.sw-sp-timeline { grid-template-columns: 1fr; }
}
