/*!
 * Bryze Thermomix — frontend styles
 * Alle classes prefixed met .bth- om conflicts met EH/BCP/thema te voorkomen.
 * CSS variables komen uit :root, ingesteld in template-head.php.
 */

/* === Reset === */
.bth-body { margin: 0; padding: 0; font-family: 'Manrope', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--bth-text); background: var(--bth-bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.bth-body *, .bth-body *::before, .bth-body *::after { box-sizing: border-box; }
.bth-body img { max-width: 100%; height: auto; display: block; }
.bth-body a { color: var(--bth-accent); text-decoration: none; }
.bth-body a:hover { text-decoration: underline; }
.bth-body p { margin: 0 0 1em; }
.bth-body h1, .bth-body h2, .bth-body h3 { margin: 0 0 .5em; font-weight: 700; line-height: 1.2; }
.bth-body button { font-family: inherit; cursor: pointer; border: 0; }
.bth-body input, .bth-body select, .bth-body button { font-family: inherit; font-size: inherit; }

/* === Layout === */
.bth-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.bth-text-center { text-align: center; }
.bth-text-accent { color: var(--bth-accent); }
.bth-mt-lg { margin-top: 48px; }

.bth-h2 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); margin-bottom: 32px; }
.bth-h3 { font-size: 1.25rem; }

/* === Buttons ===
   Geprefixt met .bth-body om specificiteit hoger te zetten dan ".bth-body a" (en de WP-theme link-kleur).
   Anders krijg je groen/blauw button-tekst i.p.v. wit. */
.bth-body .bth-btn { display: inline-block; padding: 14px 32px; border-radius: 4px; font-weight: 700; text-align: center; cursor: pointer; transition: transform .1s, opacity .2s; font-size: 1rem; color: #fff; text-decoration: none; border: 0; line-height: 1.2; }
.bth-body .bth-btn:hover,
.bth-body .bth-btn:focus,
.bth-body .bth-btn:visited { color: #fff; text-decoration: none; transform: translateY(-1px); opacity: .92; }
.bth-body .bth-btn-accent,
.bth-body .bth-btn-accent:hover,
.bth-body .bth-btn-accent:focus,
.bth-body .bth-btn-accent:visited { background: var(--bth-accent); color: var(--bth-accent-text); }
.bth-body .bth-btn-cta,
.bth-body .bth-btn-cta:hover,
.bth-body .bth-btn-cta:focus,
.bth-body .bth-btn-cta:visited { background: var(--bth-cta); color: var(--bth-cta-text); }

/* === Promo banner === */
.bth-promo-banner { background: var(--bth-bg); border-bottom: 1px solid var(--bth-border); padding: 12px 0; text-align: center; position: sticky; top: 0; z-index: 100; }
.bth-promo-text { color: var(--bth-accent); font-weight: 700; font-size: .95rem; }

/* === Hero === */
.bth-hero { padding: 24px 0 64px; }
.bth-hero-inner { display: flex; flex-direction: column; gap: 24px; }
.bth-logo-wrap { display: flex; align-items: center; }
.bth-brand-logo { height: 40px; width: auto; max-width: 220px; object-fit: contain; }  /* fallback; inline style uit content overschrijft */
.bth-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.bth-hero-image-col { position: relative; }
/* Hero-image: overflow visible zodat BBQ-badge eventueel buiten de hoek mag steken */
.bth-hero-image-col { overflow: visible; }
.bth-hero-image { aspect-ratio: 16/10; background-size: cover; background-position: center; border-radius: 8px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; min-height: 400px; overflow: visible; }
.bth-hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.6) 100%); border-radius: 8px; pointer-events: none; }
.bth-hero-title { position: relative; z-index: 2; color: #fff; font-size: clamp(1.5rem, 3vw, 2.4rem); max-width: 80%; margin: 0; }
.bth-badge { position: absolute; z-index: 3; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.bth-badge-bbq { top: -20px; left: -20px; width: 120px; height: 120px; background: var(--bth-badge-bbq); color: #fff; transform: rotate(-8deg); font-size: .9rem; padding: 8px; }
.bth-badge-bbq strong { display: block; font-size: 1rem; line-height: 1.1; }
.bth-badge-bbq small { display: block; font-size: .7rem; opacity: .9; margin-top: 2px; }

.bth-hero-cta-col { position: relative; }

/* === Funnel (groene CTA-kaart) === */
/* overflow zit op .bth-funnel-track (de stappen-slider), NIET op .bth-funnel — anders clipt de badge in de hoek */
.bth-funnel { background: var(--bth-accent); border-radius: 8px; padding: 32px; color: #fff; position: relative; min-height: 480px; display: flex; flex-direction: column; overflow: visible; }
.bth-funnel-corner-badge { position: absolute; top: -28px; right: -28px; width: 110px; height: 110px; background: var(--bth-badge-demo); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; text-align: center; line-height: 1.1; padding: 8px; z-index: 5; transform: rotate(8deg); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.bth-funnel-progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 16px; padding-top: 8px; }
.bth-funnel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .2s; }
.bth-funnel-dot.is-active { background: #fff; }

.bth-funnel-form { flex: 1; display: flex; }
.bth-funnel-track { display: flex; width: 100%; flex: 1; position: relative; overflow: hidden; }
.bth-funnel-step { width: 100%; flex-shrink: 0; opacity: 0; pointer-events: none; transition: opacity .3s; padding: 0; margin: 0; border: 0; position: absolute; inset: 0; display: flex; flex-direction: column; }
.bth-funnel-step.is-active { opacity: 1; pointer-events: auto; position: relative; }

.bth-funnel-back { position: absolute; top: -8px; left: -8px; background: transparent; color: #fff; font-size: 1.5rem; padding: 8px; border-radius: 4px; z-index: 4; }
.bth-funnel-back:hover { background: rgba(255,255,255,.1); }

.bth-funnel-title { font-size: 1.5rem; font-weight: 800; margin: 8px 0 4px; line-height: 1.15; }
.bth-funnel-subtitle { font-size: 1.4rem; font-weight: 800; margin: 0 0 4px; line-height: 1.15; }
.bth-funnel-small { font-weight: 500; font-size: .95rem; opacity: .95; margin: 0 0 16px; }
.bth-funnel-divider { border: 0; border-top: 1px solid rgba(255,255,255,.3); margin: 12px 0 20px; }
.bth-funnel-question { font-weight: 600; margin: 0 0 16px; }
.bth-funnel-intro { font-size: .9rem; opacity: .95; }
.bth-funnel-label { display: block; font-size: .9rem; margin: 12px 0 6px; opacity: .95; }

.bth-funnel-option { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; cursor: pointer; transition: background .15s, border-color .15s; }
.bth-funnel-option:hover { background: rgba(255,255,255,.14); }
.bth-funnel-option input { position: absolute; opacity: 0; pointer-events: none; }
.bth-funnel-radio { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; flex-shrink: 0; position: relative; transition: border-color .15s; }
.bth-funnel-option input:checked + .bth-funnel-radio { border-color: #fff; }
.bth-funnel-option input:checked + .bth-funnel-radio::after { content: ''; position: absolute; inset: 3px; background: #fff; border-radius: 50%; }
.bth-funnel-option:has(input:checked) { border-color: #fff; background: rgba(255,255,255,.18); }
.bth-funnel-option-label { font-weight: 500; }

.bth-funnel-input, .bth-funnel-select { width: 100%; padding: 12px 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: #fff; margin-bottom: 10px; font-size: 1rem; }
.bth-funnel-input::placeholder { color: rgba(255,255,255,.7); }
.bth-funnel-input:focus, .bth-funnel-select:focus { outline: none; border-color: #fff; }
.bth-funnel-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.bth-funnel-select option { color: #000; }

.bth-funnel-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .8rem; opacity: .9; margin: 12px 0; }
.bth-funnel-consent input { margin-top: 3px; flex-shrink: 0; }
.bth-funnel-consent a { color: #fff; text-decoration: underline; }

.bth-funnel-next { width: 100%; margin-top: auto; }

.bth-funnel-success { text-align: center; justify-content: center; align-items: center; }

/* === USPs === */
.bth-usps { padding: 32px 0; border-top: 1px solid var(--bth-border); border-bottom: 1px solid var(--bth-border); }
.bth-usps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: center; }
.bth-usp { display: flex; align-items: center; gap: 12px; justify-content: center; color: var(--bth-text); font-weight: 600; }
.bth-usp-icon { width: 36px; height: 36px; object-fit: contain; }
.bth-usp-label { font-size: .95rem; }

/* === Benefits 2x2 === */
.bth-benefits { padding: 64px 0; }
.bth-benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.bth-benefit-card { display: flex; flex-direction: column; }
.bth-benefit-image { aspect-ratio: 16/9; background-size: cover; background-position: center; border-radius: 6px; margin-bottom: 16px; }
.bth-benefit-text h3 { color: var(--bth-text); margin-bottom: 8px; }
.bth-benefit-text p { color: var(--bth-text-muted); font-size: .95rem; }

/* === Testimonials === */
.bth-testimonials { padding: 64px 0; }
.bth-testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bth-testimonial { display: flex; gap: 16px; margin: 0; }
.bth-testimonial-img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.bth-testimonial blockquote { margin: 0 0 8px; font-size: .9rem; line-height: 1.5; color: var(--bth-text-muted); }
.bth-testimonial cite { font-weight: 700; font-style: normal; color: var(--bth-accent); }

/* === Functions grid === */
.bth-functions { padding: 64px 0; }
.bth-functions-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.bth-function { text-align: center; }
.bth-function-image { aspect-ratio: 1; background-size: cover; background-position: center; border-radius: 6px; margin-bottom: 8px; }
.bth-function-label { font-size: .85rem; color: var(--bth-text); font-weight: 600; }

/* === For everyone === */
.bth-everyone { padding: 64px 0; background: var(--bth-surface); }
.bth-everyone-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.bth-everyone-image { aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: 6px; }
.bth-everyone-text h2 { font-size: 1.75rem; }
.bth-everyone-text p { color: var(--bth-text-muted); }

/* === Recipes === */
.bth-recipes { padding: 64px 0; background: var(--bth-bg); }
.bth-recipes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.bth-recipes-text p { color: var(--bth-text-muted); margin-bottom: 24px; }
.bth-recipes-image img { max-width: 100%; }

/* === Process === */
.bth-process { padding: 64px 0; }
.bth-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bth-step-image { aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: 6px; margin-bottom: 16px; }
.bth-step-num { color: var(--bth-accent); }
.bth-step h3 { font-size: 1.1rem; }
.bth-step p { color: var(--bth-text-muted); font-size: .9rem; }

/* === Accessories === */
.bth-accessories { padding: 64px 0; background: var(--bth-surface); }
.bth-accessories-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 12px; }
.bth-accessory { background: var(--bth-surface-2); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.bth-accessory-large { grid-row: span 2; grid-column: span 1; }
.bth-accessory-image { flex: 1; display: flex; align-items: center; justify-content: center; }
.bth-accessory-image img { max-height: 100%; max-width: 80%; object-fit: contain; opacity: .9; }
.bth-accessory-label { color: var(--bth-text-muted); font-weight: 600; }

/* === About === */
.bth-about { padding: 64px 0; }
.bth-about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
.bth-about-logo { height: 40px; width: auto; margin-bottom: 24px; opacity: .9; }
.bth-about-text h2 { margin-bottom: 16px; }
.bth-about-text p { color: var(--bth-text-muted); font-size: 1rem; line-height: 1.6; }
/* Image: 16/10 ipv 4/3 zodat 'ie minder tall is, en max-height cap zodat 'ie bij korte teksten niet uit verhouding gaat */
.bth-about-image { aspect-ratio: 16/10; background-size: cover; background-position: center; border-radius: 8px; max-height: 320px; width: 100%; align-self: center; }

/* === Footer === */
.bth-footer { padding: 32px 0; border-top: 1px solid var(--bth-border); margin-top: 32px; }
.bth-footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.bth-footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.bth-footer-links a { color: var(--bth-text-muted); font-size: .85rem; }
.bth-footer-copy { font-size: .8rem; color: var(--bth-text-muted); margin: 0; }

/* === Responsive === */
@media (max-width: 960px) {
    .bth-hero-grid { grid-template-columns: 1fr; }
    .bth-benefits-grid { grid-template-columns: 1fr; }
    .bth-testimonials-grid { grid-template-columns: 1fr; }
    .bth-functions-grid { grid-template-columns: repeat(3, 1fr); }
    .bth-everyone-grid { grid-template-columns: 1fr; }
    .bth-recipes-grid { grid-template-columns: 1fr; }
    .bth-process-grid { grid-template-columns: 1fr; }
    .bth-accessories-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .bth-about-grid { grid-template-columns: 1fr; }
    .bth-about-image { max-height: 240px; aspect-ratio: 16/9; }
}

@media (max-width: 600px) {
    .bth-container { padding: 0 16px; }
    .bth-usps-grid { grid-template-columns: repeat(2, 1fr); }
    .bth-functions-grid { grid-template-columns: repeat(2, 1fr); }
    .bth-hero-title { font-size: 1.25rem; max-width: 100%; }
    .bth-funnel { padding: 24px 20px; min-height: 420px; }
    /* op mobiel niet buiten viewport laten steken — kleiner + dichter naar binnen */
    .bth-funnel-corner-badge { width: 80px; height: 80px; font-size: .85rem; top: -12px; right: -12px; }
    .bth-badge-bbq { width: 90px; height: 90px; top: -10px; left: -10px; font-size: .8rem; }
}
