/*
Theme Name: Robes Bewindvoering
Description: Nabouw van de Wix-site van Robes Bewindvoering. Maakt bij activeren de pagina's en het menu aan.
Author: Seven IT
Version: 1.2
Requires PHP: 7.0
Text Domain: robes
*/

:root {
	--paars: #560d72;
	--groen: #00973a;
	--donker: #252525;
	--licht: #fafafa;
	--beige: #e6deca;
	--geel: #f4eab1;
	/* Wix gebruikte Avenir Light en DIN Next (licentiefonts); Avenir staat op Apple-apparaten, elders valt dit terug. */
	--tekst: "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--donker); font: 300 16px/1.4 var(--tekst); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Arial Black", "Arial Bold", Arial, sans-serif; font-weight: 900; color: var(--paars); margin: 0 0 12px; line-height: 1.2; }
p { margin: 0 0 1.4em; }
.wrap { max-width: 1012px; margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kop */
.header-top { display: flex; align-items: flex-start; height: 92px; }
.logo { margin: 21px 0 0 27px; }
.logo img { height: 55px; width: auto; }
.opensign { position: relative; margin: 26px 20px 0 auto; padding: 10px 22px; background: #3aa76a; color: #fff; font: italic 700 20px/1.2 Georgia, serif; border: 2px solid #fff; border-radius: 6px; box-shadow: 0 0 0 2px #3aa76a; }
.opensign::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 24px; height: 24px; margin: 0 0 -8px -12px; border: solid #3aa76a; border-width: 2px 0 0 2px; transform: rotate(45deg); }
.opensign.dicht { background: #a33; box-shadow: 0 0 0 2px #a33; }
.opensign.dicht::before { border-color: #a33; }

.main-nav { background: var(--paars); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; justify-content: center; }
.menu > li { position: relative; border-left: 1px solid rgba(255, 255, 255, .7); }
.menu a { display: block; padding: 0 15px; line-height: 41px; color: #fff; text-decoration: none; white-space: nowrap; }
.menu > li > a { text-transform: uppercase; }
.menu a:hover, .menu a:focus, .menu .current-menu-item > a { background: var(--groen); }
.sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 100%; background: var(--paars); z-index: 10; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { display: block; }
.nav-toggle { position: absolute; opacity: 0; }
.nav-label { display: none; }

/* Home */
.hero { height: 748px; background: var(--donker) url(assets/hero.jpg) center / cover; }
.hero .wrap { position: relative; height: 100%; }
.hero h1 { position: absolute; left: 57%; top: 338px; width: 390px; max-width: 43%; font: 700 30px/1.2 var(--tekst); color: var(--paars); }
.hero h1 span { color: var(--groen); }

.missie { background: var(--licht); padding: 12px 0 8px; }
.kicker { margin: 0; font: 900 20px/1.1 "Arial Black", Arial, sans-serif; letter-spacing: 1.2px; color: var(--paars); }
.missie h2.groot { font-size: 55px; line-height: 1.1; letter-spacing: 3.3px; }
.missie-grid { display: grid; grid-template-columns: minmax(0, 547px) 404px; justify-content: space-between; gap: 12px; }
.missie-grid .tekst { font-size: 18px; }
.missie-grid .tekst .intro { line-height: 1.8; margin-bottom: 80px; }
.missie-grid .tekst h2 { font-size: 22px; }
.missie-grid .tekst .smal { max-width: 508px; }
.quote { margin: 22px 0 30px; max-width: 480px; font-size: 26px; line-height: 1.2; color: var(--paars); }

.balk { background: var(--donker); border-bottom: 10px solid var(--groen); }
.balk h2 { margin: 0; padding: 27px 0 35px; font: 300 20px/32px var(--tekst); letter-spacing: 11px; color: #fff; text-align: center; }
.doelgroepen { display: grid; grid-template-columns: repeat(3, 311px); justify-content: space-between; padding-bottom: 34px; }
.doelgroep { padding: 25px 46px 0; text-align: center; font-size: 15px; line-height: 24px; color: #545454; }
.doelgroep img { margin: 0 auto; }
.pijl { display: block; width: 190px; margin: 19px auto 40px; line-height: 34px; background: var(--paars); color: #fff; font-size: 18px; text-decoration: none; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.pijl:hover, .pijl:focus { background: var(--groen); }

.ervaring { padding: 34px 0 0; }
.ervaring h2 { max-width: 585px; font: 300 30px/1.4 var(--tekst); }
.ervaring p { max-width: 458px; font-size: 18px; line-height: 1.2; margin-bottom: 22px; }
.ervaring .wie { font-size: 11px; margin: 0; }

/* Intakeblok */
.intake { align-self: start; background: var(--geel); box-shadow: 0 1px 4px rgba(0, 0, 0, .6); padding-bottom: 14px; }
.intake--beige { background: var(--beige); box-shadow: none; border-radius: 20px 0; overflow: hidden; }
.intake > img, .intake > video { width: 100%; }
.intake > img { height: 232px; object-fit: cover; }
.intake h2 { margin: 6px 8px; font-size: 26px; }
.intake p { margin: 0 8px 6px; max-width: 310px; font-size: 20px; line-height: 1.2; }
.contactlijst { list-style: none; margin: 0; padding: 0; font-size: 20px; line-height: 1.2; }
.contactlijst li { display: flex; align-items: center; gap: 16px; min-height: 48px; margin: 0 0 18px; padding: 0 16px; }
.contactlijst img { width: 26px; flex: none; }

/* Pagina's */
.banner { height: 433px; background: var(--licht) url(assets/hero.jpg) center / cover; }
.page-grid { display: grid; grid-template-columns: minmax(0, 570px) 396px; justify-content: space-between; gap: 14px; padding-top: 6px; padding-bottom: 80px; }
.page-grid .intake { margin-top: 28px; }
.page-breed { padding-top: 6px; padding-bottom: 80px; }
.content h2 { font-size: 22px; margin-top: 30px; }
.content > h2:first-child { font-size: 26px; margin-top: 0; margin-bottom: 20px; }
.content ul { margin: 0 0 1.4em; padding-left: 40px; }
.centered { padding-top: 95px; padding-bottom: 60px; }
.centered .content { max-width: 716px; margin: 0 auto; font-size: 18px; line-height: 1.25; }
.centered .content h2 { font-size: 36px; }
.centered .content > h2:first-child { font-size: 40px; letter-spacing: 2px; text-align: center; margin-bottom: 50px; }
.centered .content img { margin-left: -30px; }

/* FAQ: uitklapbare vragen (details/summary, werkt zonder JavaScript) */
.faq { margin-top: 26px; padding: 14px 26px 30px; background: var(--licht); }
.faq details { border-bottom: 1px solid #9fd6c1; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 32px 0; font: 900 16px/1.15 "Arial Black", Arial, sans-serif; color: var(--paars); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 20px; text-align: center; font: 200 28px/16px var(--tekst); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.5em; font-size: 13px; line-height: 1.55; color: #6e6e6e; }
.faq details p:last-child { margin-bottom: 44px; }

/* Contactformulier */
.robes-form { margin-top: 40px; }
.robes-form input, .robes-form textarea { display: block; width: 591px; max-width: 100%; height: 40px; margin: 0 0 22px; padding: 6px 10px; border: 1px solid #dbdbdb; background: transparent; color: var(--groen); font: inherit; }
.robes-form textarea { height: 100px; }
.robes-form button { width: 655px; max-width: 100%; height: 51px; border: 1px solid #605e5e; background: var(--groen); color: #000; font: inherit; cursor: pointer; }
.robes-form .hp { position: absolute; left: -9999px; }
.form-melding { padding: 12px; border: 1px solid var(--groen); }

/* Voet */
.site-footer { background: var(--groen); color: var(--donker); }
.footer-grid { display: grid; grid-template-columns: 362px 1fr 39px; min-height: 300px; padding-bottom: 20px; }
.footer-adres { display: flex; flex-direction: column; color: #fff; }
.footer-adres h2 { margin: 0 0 14px; font: 700 33px/47px var(--tekst); color: #fff; }
.footer-adres p { max-width: 219px; margin-bottom: 24px; line-height: 24px; }
.footer-adres .copy { max-width: none; margin: auto 0 28px; }
.site-footer .contactlijst { padding-top: 16px; }
.site-footer .contactlijst li { padding: 0; margin-bottom: 22px; }
.site-footer .contactlijst li > span { max-width: 310px; }
.linkedin { margin-top: 21px; }

@media (max-width: 860px) {
	.header-top { height: auto; padding-bottom: 14px; }
	.logo { margin-left: 0; }
	.opensign { margin-right: 0; }
	.nav-label { display: block; padding: 0 16px; line-height: 41px; color: #fff; cursor: pointer; }
	.nav-toggle:focus + .nav-label { outline: 2px solid #fff; outline-offset: -2px; }
	.menu { display: none; }
	.nav-toggle:checked ~ .menu { display: block; }
	.menu > li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
	.sub-menu { display: block; position: static; padding-left: 20px !important; }
	.hero { height: 420px; }
	.hero h1 { left: 16px; right: 16px; top: auto; bottom: 20px; width: auto; max-width: none; padding: 10px; background: rgba(255, 255, 255, .85); font-size: 24px; }
	.banner { height: 200px; }
	.missie h2.groot { font-size: 32px; letter-spacing: 1px; }
	.missie-grid, .page-grid, .doelgroepen, .footer-grid { grid-template-columns: minmax(0, 1fr); }
	.missie-grid .tekst .intro { margin-bottom: 30px; }
	.balk h2 { letter-spacing: 3px; padding: 20px 0; }
	.doelgroep { max-width: 311px; margin: 0 auto; }
	.centered { padding-top: 40px; }
	.centered .content > h2:first-child { font-size: 28px; letter-spacing: 0; margin-bottom: 30px; }
	.centered .content h2 { font-size: 26px; }
	.centered .content img { margin-left: 0; }
	.footer-grid { padding-top: 10px; }
	.footer-adres .copy { margin-top: 0; }
	.linkedin { margin: 0 0 20px; }
}
