/*
Theme Name: Budget Website 2026
Theme URI: https://budget-website.nl/
Author: Probu
Description: Nieuw, conversiegericht thema voor budget-website.nl — frisse variant met sticky header, scrollende stippen en een snel aanvraagformulier.
Version: 1.3.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: budget-website-2026
*/

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
a { color: #4338CA; }
a:hover { color: #312E81; }
input, textarea, select, button { font-family: inherit; }
img { max-width: 100%; height: auto; }

.bw-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #1A1446; color: #FFFFFF; padding: 10px 16px; border-radius: 8px; }
.bw-skip:focus { left: 8px; }

/* Header */
.bw-header { transition: box-shadow .25s ease; }
.bw-header.is-scrolled { box-shadow: 0 8px 24px rgba(26, 20, 70, .10); }
.admin-bar .bw-header { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .bw-header { top: 46px !important; } }
@media (max-width: 600px) { .admin-bar .bw-header { top: 0 !important; } }
@media (max-width: 820px) { .bw-nav { display: none !important; } }
/* Mobiel menu */
.bw-burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: #F1F0FF; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.bw-burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #1A1446; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.bw-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.bw-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bw-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.bw-burger:focus-visible { outline: 3px solid #4338CA; outline-offset: 2px; }
.bw-mnav { flex-basis: 100%; display: flex; flex-direction: column; gap: 4px; padding: 10px 0 6px; }
.bw-mnav[hidden] { display: none; }
.bw-mnav a { color: #1A1446; text-decoration: none; font-weight: 600; font-size: 19px; padding: 12px 4px; border-bottom: 1px solid #ECEAF7; }
.bw-mnav a.bw-mnav__cta { margin-top: 12px; border: 0; background: #FF6B4A; border-radius: 999px; text-align: center; padding: 14px 20px; }
@media (max-width: 820px) {
	.bw-burger { display: inline-flex; flex: none; margin-left: auto; }
	.bw-root .bw-header > div { gap: 12px !important; flex-wrap: wrap !important; }
	.bw-header-cta { margin-left: auto; }
}
@media (max-width: 560px) { .bw-header-cta { display: none !important; } }
@media (min-width: 821px) { .bw-mnav { display: none !important; } }


/* FAQ */
.bw-faq { background: #FFFFFF; border-radius: 16px; }
.bw-faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; color: #1A1446; min-height: 64px; box-sizing: border-box; }
.bw-faq summary::-webkit-details-marker { display: none; }
.bw-faq-sign { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #F1F0FF; position: relative; }
.bw-faq-sign::before, .bw-faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #312E81; transform: translate(-50%, -50%); }
.bw-faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.bw-faq[open] .bw-faq-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.bw-faq p { margin: 0; padding: 0 22px 22px; color: #4B4869; }
.bw-faq summary:focus-visible { outline: 3px solid #4338CA; outline-offset: 2px; border-radius: 16px; }

/* Layoutkiezer */
#layout button[data-part]:hover { background: #E4E2FF !important; }
#layout button:focus-visible, .bw-root a:focus-visible { outline: 3px solid #4338CA; outline-offset: 2px; }

.bw-admin-hint { grid-column: 1 / -1; margin: 0; padding: 18px 20px; border: 2px dashed #A5B4FC; border-radius: 16px; color: #4B4869; font-size: 15px; }

/* Gravity Forms in de aanvraagkaart */
.bw-form-card .gform_wrapper { margin: 0 !important; }
.bw-form-card .gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px !important; }
.bw-form-card .gfield { grid-column: span 12; margin: 0 !important; padding: 0 !important; }
.bw-form-card .gfield--width-half { grid-column: span 6; }
@media (max-width: 560px) { .bw-form-card .gfield--width-half { grid-column: span 12; } }
.bw-form-card .gfield_label, .bw-form-card .gform-field-label--type-sub { font-weight: 600 !important; font-size: 15px !important; color: #1A1446 !important; margin-bottom: 6px !important; }
.bw-form-card .gfield_required { color: #C2410C !important; }
.bw-form-card input[type="text"], .bw-form-card input[type="email"], .bw-form-card input[type="tel"], .bw-form-card textarea {
	width: 100% !important; box-sizing: border-box; border: 1px solid #D4D2EA !important; border-radius: 10px !important;
	padding: 12px 14px !important; font-size: 16px !important; min-height: 48px; background: #FFFFFF !important; color: #1A1446 !important; box-shadow: none !important;
}
.bw-form-card textarea { min-height: 96px !important; height: 96px; resize: vertical; }
.bw-form-card input:focus, .bw-form-card textarea:focus { outline: none; border-color: #4338CA !important; box-shadow: 0 0 0 3px rgba(67, 56, 202, .18) !important; }
.bw-form-card .gfield--type-checkbox legend, .bw-form-card .gfield--type-checkbox .gfield_label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bw-form-card .gchoice { display: flex; align-items: center; gap: 10px; }
.bw-form-card input[type="checkbox"] { width: 22px !important; height: 22px !important; accent-color: #4338CA; margin: 0 !important; }
.bw-form-card .gchoice label { font-size: 16px !important; color: #1A1446 !important; margin: 0 !important; }
.bw-form-card .gform_footer { margin: 18px 0 0 !important; padding: 0 !important; }
.bw-form-card .gform_button, .bw-form-card input[type="submit"] {
	width: 100% !important; background: #FF6B4A !important; color: #1A1446 !important; border: none !important; font-weight: 700 !important;
	font-size: 18px !important; padding: 16px !important; border-radius: 14px !important; cursor: pointer; min-height: 56px; line-height: 1.2 !important;
}
.bw-form-card .gform_button:hover { background: #FF8A6B !important; }
.bw-form-card .gfield_validation_message, .bw-form-card .validation_message { color: #B42318 !important; font-size: 14px !important; background: none !important; border: none !important; padding: 4px 0 0 !important; }
.bw-form-card .gform_validation_errors { border-radius: 12px !important; }
.bw-thanks { text-align: center; padding: 32px 8px; font-size: 17px; line-height: 1.5; color: #1A1446; }
.bw-thanks strong { display: block; font-family: 'Bricolage Grotesque', Inter, sans-serif; font-size: 26px; margin-bottom: 6px; }

/* Overige pagina's */
.bw-page-hero { position: relative; background: #F1F0FF; padding: 72px 24px 64px; overflow: hidden; }
.bw-page-hero h1 { position: relative; max-width: 1100px; margin: 0 auto; font-family: 'Bricolage Grotesque', Inter, sans-serif; font-weight: 800; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; color: #1A1446; }
.bw-page-hero .bw-blob { position: absolute; right: -60px; top: -80px; width: 280px; height: 260px; background: #FFD23F; border-radius: 52% 48% 44% 56% / 42% 46% 54% 58%; }
.bw-page-hero .bw-blob2 { position: absolute; right: 160px; bottom: -90px; width: 160px; height: 150px; background: #FF8A6B; border-radius: 0 60% 60% 55% / 0 55% 70% 60%; }
.bw-content { max-width: 1100px; margin: 0 auto; padding: 64px 24px 104px; color: #1A1446; }
.bw-content h2, .bw-content h3 { font-family: 'Bricolage Grotesque', Inter, sans-serif; letter-spacing: -0.015em; }
.bw-content p, .bw-content li { color: #2E2A50; }
.bw-content .gform_wrapper input[type="submit"], .bw-content .gform_button, .bw-content .button, .bw-content .sow-button-base a {
	background: #FF6B4A !important; color: #1A1446 !important; border: none !important; border-radius: 14px !important; font-weight: 700 !important; padding: 14px 24px !important;
}
.bw-post + .bw-post { margin-top: 48px; padding-top: 48px; border-top: 1px solid #E7E5F4; }
.bw-post h2 a { color: #1A1446; text-decoration: none; }
[hidden] { display: none !important; }
