/*
Theme Name: Prima Helder Schoonmaak
Theme URI: https://primahelderschoonmaak.nl
Author: Prima Helder Schoonmaak
Author URI: https://primahelderschoonmaak.nl
Description: Maatwerk WordPress-thema voor Prima Helder Schoonmaak — een professioneel schoonmaakbedrijf in Amsterdam. Bevat een homepage, een diensten- en offertepagina, een contactpagina en juridische pagina's, met zachte scroll-animaties en een volledig aanpasbare bedrijfsinformatie via de Customizer.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prima-helder
*/

/* ==========================================================================
   0. Tokens
   ========================================================================== */
:root {
	--ink: #14181b;
	--ink-soft: #363c40;
	--muted: #5c6469;
	--paper: #f6f4ef;
	--paper-deep: #efece4;
	--white: #ffffff;
	--line: #ded9cd;
	--accent: #0c7c8c;
	--accent-dark: #0a6672;
	--accent-tint: #e2eeed;

	--font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

	--wrap: 1220px;
	--radius: 4px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   1. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.08;
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
	color: var(--ink);
}

p { margin: 0 0 1em; max-width: 62ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: fixed; top: -60px; left: 12px; z-index: 999;
	background: var(--ink); color: var(--white);
	padding: 10px 16px; border-radius: var(--radius);
	transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	border-radius: var(--radius);
	border: 1.5px solid transparent;
	transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper); transform: translateY(-2px); }
.btn--small { padding: 10px 18px; font-size: 0.85rem; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(246, 244, 239, 0.92);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(20, 24, 27, 0.06); }
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 88px;
}
.site-logo { flex-shrink: 0; }
.site-logo__img { height: 32px; width: auto; }

.site-nav { flex: 1; min-width: 0; }
.site-nav__list { display: flex; gap: 22px; }
.site-nav__list a {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--ink-soft);
	position: relative;
	padding: 6px 0;
}
.site-nav__list a::after {
	content: '';
	position: absolute; left: 0; right: 100%; bottom: 0;
	height: 2px; background: var(--accent);
	transition: right 0.3s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after { right: 0; }

.site-header__actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.phone-link { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); }
.phone-link__icon { color: var(--accent); display: inline-flex; }
.phone-link:hover { color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle__bar { width: 22px; height: 2px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav-mobile {
	display: none;
	flex-direction: column;
	gap: 4px;
	padding: 10px 24px 26px;
	border-top: 1px solid var(--line);
}
.site-nav-mobile.is-open { display: flex; }
.site-nav-mobile__list { display: flex; flex-direction: column; }
.site-nav-mobile__list a {
	display: block; padding: 13px 0;
	font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
	border-bottom: 1px solid var(--line);
}
.phone-link--mobile { padding: 16px 0 0; color: var(--accent); font-family: var(--font-display); font-weight: 700; }

@media (max-width: 900px) {
	.site-nav, .site-header__actions .phone-link { display: none; }
	.site-header__actions .btn { display: none; }
	.nav-toggle { display: flex; }
	.site-header__inner { height: 72px; }
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero { background: var(--paper); overflow: hidden; padding: 88px 0 96px; }
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 560px) 1fr;
	align-items: center;
	gap: 40px;
}
.hero__kicker {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--accent-dark);
	margin: 0 0 18px;
}
.hero__title {
	font-size: clamp(2.6rem, 5.2vw, 4rem);
	margin-bottom: 0.4em;
}
.hero__text { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; }
.hero__actions { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }
.hero__trust { font-size: 0.85rem; color: var(--muted); margin: 0; }

.hero__visual { position: relative; height: 340px; }
.hero__dots {
	position: absolute;
	opacity: 0;
	transform: translateY(16px) scale(0.96);
	animation: phsHeroIn 1s var(--ease) forwards;
}
.hero__dots--top { top: 0; right: -10px; width: 62%; animation-delay: 0.15s; }
.hero__dots--bottom { bottom: 0; left: -10px; width: 58%; animation-delay: 0.45s; }

@keyframes phsHeroIn {
	to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.hero__dots { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 900px) {
	.hero { padding: 56px 0 64px; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { height: 220px; order: -1; margin-bottom: 8px; }
}

/* ==========================================================================
   5. Section head
   ========================================================================== */
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 44px;
	flex-wrap: wrap;
}
.section-head__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.section-head__link {
	font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
	color: var(--accent-dark); white-space: nowrap;
	border-bottom: 1.5px solid var(--accent-dark);
	padding-bottom: 2px;
}
.section-head__link:hover { color: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   6. Diensten (home grid)
   ========================================================================== */
.diensten { padding: 96px 0; }
.diensten-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.dienst-card { background: var(--white); padding: 34px 30px; }
.dienst-card__title {
	font-size: 1.1rem;
	position: relative;
	padding-left: 18px;
}
.dienst-card__title::before {
	content: '';
	position: absolute; left: 0; top: 6px;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent);
}
.dienst-card__text { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 900px) {
	.diensten-grid { grid-template-columns: 1fr; }
	.diensten { padding: 64px 0; }
}

/* ==========================================================================
   7. Werkwijze (steps)
   ========================================================================== */
.werkwijze { padding: 96px 0; background: var(--paper); }
.stappen {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	counter-reset: stap;
}
.stap { border-top: 3px solid var(--ink); padding-top: 20px; }
.stap__nummer {
	display: block;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.85rem;
	color: var(--accent-dark);
	margin-bottom: 14px;
}
.stap__titel { font-size: 1.05rem; margin-bottom: 8px; }
.stap__tekst { color: var(--muted); font-size: 0.93rem; margin: 0; }

@media (max-width: 900px) {
	.werkwijze { padding: 64px 0; }
	.stappen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.stappen { grid-template-columns: 1fr; }
}

/* ==========================================================================
   8. Waarom
   ========================================================================== */
.waarom { padding: 96px 0; }
.waarom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.waarom-item__titel { font-size: 1.15rem; }
.waarom-item__tekst { color: var(--muted); margin: 0; }

@media (max-width: 900px) {
	.waarom { padding: 64px 0; }
	.waarom-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   9. CTA band
   ========================================================================== */
.cta-band { background: var(--ink); color: var(--white); padding: 64px 0; }
.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}
.cta-band__title { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.cta-band__text { color: #c7ccce; margin: 0; }

/* ==========================================================================
   10. Page header (binnenpagina's)
   ========================================================================== */
.page-header { padding: 72px 0 56px; background: var(--paper); }
.page-header--404 { padding: 120px 0; }
.page-intro__kicker {
	font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
	color: var(--accent-dark); margin: 0 0 14px;
}
.page-intro__title { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 0.4em; }
.page-intro__text { color: var(--ink-soft); font-size: 1.05rem; max-width: 60ch; margin: 0; }

/* ==========================================================================
   11. Diensten detail (diensten & offerte pagina)
   ========================================================================== */
.diensten-detail { padding: 80px 0 20px; }
.diensten-detail-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	margin-bottom: 40px;
}
.dienst-detail { background: var(--white); padding: 34px 30px 38px; }
.dienst-detail__index {
	display: block;
	font-family: var(--font-display); font-weight: 800; font-size: 0.85rem;
	color: var(--line); margin-bottom: 16px;
}
.dienst-detail__titel { font-size: 1.1rem; }
.dienst-detail__tekst { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 900px) {
	.diensten-detail-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12. Offerte / contact formulieren
   ========================================================================== */
.offerte { padding: 60px 0 100px; }
.offerte__inner {
	display: grid;
	grid-template-columns: minmax(0, 340px) 1fr;
	gap: 56px;
	background: var(--paper);
	border: 1px solid var(--line);
	padding: 48px;
}
.offerte__titel { font-size: 1.7rem; }
.offerte__tekst { color: var(--ink-soft); }
.offerte__contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.offerte__contact a { font-family: var(--font-display); font-weight: 700; color: var(--accent-dark); }
.offerte__contact a:hover { color: var(--accent); }

.contact-section { padding: 20px 0 100px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 56px; }
.contact-info__block { margin-bottom: 26px; }
.contact-info__label {
	font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
	text-transform: none; color: var(--accent-dark); margin-bottom: 8px;
}
.contact-info__block p { margin: 0; color: var(--ink-soft); }
.contact-info__block a:hover { color: var(--accent); }
.contact-map { margin-top: 30px; border: 1px solid var(--line); filter: grayscale(0.15); }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--line); padding: 44px; }
.contact-form__titel { font-size: 1.4rem; margin-bottom: 20px; }

@media (max-width: 900px) {
	.offerte__inner, .contact-grid { grid-template-columns: 1fr; padding: 32px 24px; gap: 36px; }
	.contact-form-wrap { padding: 28px 22px; }
}

.phs-form__row { margin-bottom: 20px; }
.phs-form__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.phs-form label {
	display: block; font-family: var(--font-display); font-weight: 700;
	font-size: 0.85rem; margin-bottom: 8px;
}
.phs-form label span { color: var(--accent-dark); margin-left: 2px; }
.phs-form input,
.phs-form textarea,
.phs-form select {
	width: 100%;
	padding: 13px 14px;
	border: 1.5px solid var(--line);
	background: var(--white);
	border-radius: var(--radius);
	transition: border-color 0.2s var(--ease);
}
.phs-form input:focus,
.phs-form textarea:focus,
.phs-form select:focus { border-color: var(--accent); outline: none; }
.phs-form textarea { resize: vertical; min-height: 110px; }
.phs-form__note { font-size: 0.82rem; color: var(--muted); margin: 16px 0 0; }
.phs-form__note a { color: var(--accent-dark); border-bottom: 1px solid var(--accent-dark); }
.phs-hp { position: absolute; left: -9999px; top: -9999px; }

.phs-notice {
	padding: 16px 18px;
	border-radius: var(--radius);
	margin-bottom: 24px;
	font-size: 0.92rem;
	font-weight: 500;
}
.phs-notice--success { background: var(--accent-tint); color: var(--accent-dark); border: 1px solid var(--accent); }
.phs-notice--error { background: #fbe9e7; color: #9b3b2f; border: 1px solid #d8674f; }

@media (max-width: 560px) {
	.phs-form__row--split { grid-template-columns: 1fr; }
}

/* ==========================================================================
   13. Juridische pagina's
   ========================================================================== */
.legal-section { padding: 20px 0 100px; }
.legal-wrap { display: flex; justify-content: center; }
.legal-content { max-width: 74ch; width: 100%; }
.legal-updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content p { max-width: none; color: var(--ink-soft); }
.legal-content ul { margin: 0 0 1em; padding-left: 22px; list-style: disc; color: var(--ink-soft); }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent-dark); border-bottom: 1px solid var(--accent-dark); }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #c7ccce; }
.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 72px 0 48px;
}
.footer-logo { height: 13px; width: auto; margin-bottom: 18px; filter: invert(1); }
.footer-col__text { color: #9aa2a5; font-size: 0.92rem; }
.footer-col__title {
	color: var(--white); font-family: var(--font-display); font-weight: 700;
	font-size: 0.9rem; margin-bottom: 18px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.92rem; color: #c7ccce; }
.footer-nav a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-contact a:hover { color: var(--white); }
.footer-hours { white-space: pre-line; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { font-size: 0.85rem; color: #c7ccce; border-bottom: 1px solid transparent; }
.footer-social a:hover { color: var(--white); border-color: var(--white); }

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 22px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.82rem;
	color: #8a9194;
}
.footer-legal-nav__list { display: flex; gap: 20px; }
.footer-legal-nav__list a:hover { color: var(--white); }

@media (max-width: 900px) {
	.site-footer__top { grid-template-columns: 1fr 1fr; padding: 56px 0 36px; }
}
@media (max-width: 560px) {
	.site-footer__top { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   15. Scroll reveal (single orchestrated moment per section)
   ========================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}
