/*
Theme Name: BHV95
Theme URI: https://bhv95.nl/
Author: BHV95 / Broekhofopleidingen
Author URI: https://bhv95.nl/
Description: WordPress-thema voor BHV95.nl met online BHV-theorie, praktijkdagdelen, cursusdata en aanmeldformulier.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: bhv95
*/
:root {
  --navy: #102a43;
  --navy-2: #243b53;
  --blue: #0f6f9f;
  --blue-soft: #e8f4f8;
  --orange: #f97316;
  --orange-dark: #d9480f;
  --green: #16836b;
  --white: #ffffff;
  --off-white: #f7fafc;
  --gray-50: #f8fafc;
  --gray-100: #eef2f6;
  --gray-200: #d9e2ec;
  --gray-400: #829ab1;
  --gray-600: #52606d;
  --gray-800: #243b53;
  --shadow: 0 18px 50px rgba(16, 42, 67, .13);
  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 58px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--orange); }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.025em; }
h1 { font-size: 5.25rem; font-size: clamp(2.5rem, 6vw, 5.25rem); }
h2 { font-size: 3.35rem; font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.lead { font-size: 1.28rem; font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--gray-600); max-width: 720px; }
.muted { color: var(--gray-600); }

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: .92rem;
}
.topbar-inner { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar a { text-decoration: none; font-weight: 700; }
.topbar a:hover { color: #ffd2b1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 226, 236, .8);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 230px; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 750; }
.nav-links a:hover { color: var(--orange-dark); }
.menu-button { display: none; border: 0; background: transparent; padding: 9px; cursor: pointer; }
.menu-button span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(16, 42, 67, .18); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-outline { border-color: var(--gray-200); color: var(--navy); background: var(--white); }
.btn-small { min-height: 43px; padding-inline: 18px; }

.hero {
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 82% 20%, rgba(249, 115, 22, .17), transparent 25%),
    radial-gradient(circle at 68% 80%, rgba(15, 111, 159, .18), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f5fbfd 55%, #e9f4f8 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 80px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  right: -190px;
  top: -145px;
}
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 68px; position: relative; z-index: 1; }
.hero-copy h1 span { color: var(--orange); }
.hero-copy .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; }
.hero-point { display: flex; align-items: center; gap: 9px; font-weight: 750; color: var(--navy-2); }
.check {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: .8rem;
}
.hero-card {
  position: relative;
  padding: 32px;
  border-radius: 32px;
  color: var(--white);
  background: linear-gradient(155deg, var(--navy) 0%, #164f6f 100%);
  box-shadow: 0 32px 70px rgba(16, 42, 67, .25);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  pointer-events: none;
}
.shield-visual {
  width: 112px;
  height: 128px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 96% 15%, 92% 66%, 75% 88%, 50% 100%, 25% 88%, 8% 66%, 4% 15%);
  background: linear-gradient(145deg, var(--orange), #ff9f43);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.12);
}
.shield-visual span { font-size: 4.4rem; font-weight: 300; line-height: 1; }
.hero-card h2 { font-size: 2.1rem; }
.hero-card p { margin-top: 12px; color: #d9edf5; }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.mini-stat { padding: 17px; border-radius: 17px; background: rgba(255,255,255,.1); }
.mini-stat strong { display: block; font-size: 1.4rem; color: #fff; }
.mini-stat span { font-size: .88rem; color: #cce6f1; }

.trust-strip { border-block: 1px solid var(--gray-100); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 94px; padding: 20px; border-right: 1px solid var(--gray-100); font-weight: 800; text-align: center; }
.trust-item:last-child { border-right: 0; }
.trust-icon { font-size: 1.45rem; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
.section-head .lead { max-width: 600px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 28px; border: 1px solid var(--gray-100); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 35px rgba(16,42,67,.07); }
.card-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; background: var(--blue-soft); font-size: 1.7rem; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray-600); }
.step-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: white; font-weight: 900; margin-bottom: 20px; }

.options { background: var(--gray-50); }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.option-card { position: relative; overflow: hidden; padding: 34px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.option-card.featured { color: var(--white); background: linear-gradient(145deg, var(--navy), #155d80); }
.option-card .tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; background: rgba(249,115,22,.12); color: var(--orange-dark); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.option-card.featured .tag { background: rgba(255,255,255,.12); color: #ffd7b7; }
.option-card h3 { font-size: 1.75rem; }
.option-card > p { margin-top: 12px; color: var(--gray-600); }
.option-card.featured > p { color: #d6e9f2; }
.option-list { list-style: none; padding: 0; margin: 24px 0 0; }
.option-list li { display: flex; gap: 11px; margin: 11px 0; }
.option-list li::before { content: "✓"; color: var(--green); font-weight: 900; }
.option-card.featured .option-list li::before { color: #ffb57c; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 24px; }
.price strong { font-size: 2.4rem; line-height: 1; }
.price small { color: var(--gray-600); }
.option-card.featured .price small { color: #d6e9f2; }

.dates-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.location-card { border-radius: 26px; overflow: hidden; border: 1px solid var(--gray-100); box-shadow: 0 15px 40px rgba(16,42,67,.08); }
.location-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 28px; color: white; background: var(--navy); }
.location-head span { font-size: .9rem; color: #cfe7f1; }
.date-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 24px; background: var(--white); }
.date-pill { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 15px; border-radius: 14px; background: var(--gray-50); border: 1px solid var(--gray-100); font-weight: 800; }
.date-pill span { color: var(--orange-dark); font-size: .8rem; }

.included { background: linear-gradient(135deg, var(--navy), #144e6c); color: white; }
.included-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.included .lead { color: #d6e9f2; margin-top: 18px; }
.included-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.included-item { display: flex; gap: 13px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.08); }
.included-item strong { display: block; }
.included-item span { color: #cce6f1; font-size: .9rem; }

.signup { background: var(--gray-50); }
.signup-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 44px; }
.signup-copy { position: sticky; top: 120px; }
.signup-copy .lead { margin-top: 18px; }
.contact-box { margin-top: 28px; padding: 23px; border-radius: 18px; background: var(--white); box-shadow: 0 10px 30px rgba(16,42,67,.07); }
.contact-box a { font-weight: 800; text-decoration: none; color: var(--orange-dark); }
.form-card { padding: 34px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 19px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 800; }
.field label .required { color: var(--orange-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15,111,159,.12); }
.field input[readonly] { background: var(--gray-50); color: var(--gray-600); cursor: not-allowed; }
.radio-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card label { display: block; min-height: 100%; padding: 17px; border: 2px solid var(--gray-100); border-radius: 14px; cursor: pointer; transition: .2s; }
.radio-card label strong { display: block; }
.radio-card label span { display: block; color: var(--gray-600); font-size: .86rem; margin-top: 3px; }
.radio-card input:checked + label { border-color: var(--orange); background: rgba(249,115,22,.055); box-shadow: 0 0 0 3px rgba(249,115,22,.1); }
.form-section-title { grid-column: 1/-1; padding-top: 8px; font-size: 1.05rem; font-weight: 900; }
.price-box { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 16px; color: white; background: var(--navy); }
.price-box strong { font-size: 1.6rem; }
.price-box small { display: block; color: #cce6f1; }
.checkbox { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 10px; }
.checkbox input { margin-top: 5px; }
.checkbox label { color: var(--gray-600); font-size: .9rem; }
.checkbox a { color: var(--orange-dark); font-weight: 700; }
.invoice-copy { padding: 15px 17px; border: 1px solid var(--gray-200); border-radius: 14px; background: var(--gray-50); }
.invoice-copy label { line-height: 1.45; }
.invoice-copy label strong { color: var(--navy); }
.form-actions { grid-column: 1/-1; display: flex; align-items: center; gap: 16px; }
.form-status { font-size: .92rem; color: var(--gray-600); }
.form-status.error { color: #b42318; }
.form-status.success { color: var(--green); }
.honeypot { position: absolute !important; left: -9999px !important; }

.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 40px auto 0; }
details { border: 1px solid var(--gray-100); border-radius: 16px; background: var(--white); padding: 0 20px; }
summary { list-style: none; cursor: pointer; padding: 19px 0; font-weight: 850; }
summary::-webkit-details-marker { display: none; }
details p { padding: 0 0 20px; color: var(--gray-600); }

.cta { padding: 58px 0; background: var(--orange); color: white; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta h2 { font-size: 3rem; font-size: clamp(1.8rem, 4vw, 3rem); }
.cta p { margin-top: 8px; color: #fff4eb; }
.cta .btn { background: white; color: var(--navy); flex: 0 0 auto; }

.footer { background: #091d2e; color: white; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 42px; }
.footer-logo { width: 220px; filter: brightness(0) invert(1); opacity: .96; }
.footer p, .footer a { color: #b9d2df; }
.footer a { text-decoration: none; }
.footer a:hover { color: white; }
.footer h3 { font-size: 1rem; margin-bottom: 13px; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; margin-top: 38px; border-top: 1px solid rgba(255,255,255,.1); color: #8fb0bf; font-size: .85rem; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(9,29,46,.72); }
.modal.open { display: grid; }
.modal-card { width: min(520px, 100%); padding: 34px; border-radius: 24px; background: white; box-shadow: 0 30px 80px rgba(0,0,0,.25); text-align: center; }
.modal-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: white; background: var(--green); font-size: 2rem; }
.modal-card h2 { font-size: 2rem; }
.modal-card p { margin-top: 12px; color: var(--gray-600); }
.modal-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

@media (max-width: 980px) {
  .nav-links { position: absolute; display: none; flex-direction: column; align-items: stretch; gap: 0; top: 78px; left: 0; right: 0; padding: 18px; background: white; border-bottom: 1px solid var(--gray-100); box-shadow: 0 18px 30px rgba(16,42,67,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-links .btn { margin-top: 8px; }
  .menu-button { display: block; }
  .hero-grid, .included-grid, .signup-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 72px 0; min-height: auto; }
  .hero-card { max-width: 650px; }
  .signup-copy { position: static; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--gray-100); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .topbar-inner { justify-content: center; min-height: 38px; }
  .topbar-inner span { display: none; }
  .brand { width: 190px; }
  .nav { min-height: 70px; }
  .nav-links { top: 70px; }
  .section { padding: 66px 0; }
  .section-head { display: block; }
  .section-head .lead { margin-top: 16px; }
  .cards-3, .option-grid, .dates-grid, .included-list, .form-grid, .date-list { grid-template-columns: 1fr; }
  .field.full, .form-section-title, .price-box, .checkbox, .form-actions { grid-column: auto; }
  .radio-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .hero-actions .btn { width: 100%; }
  .mini-stats { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--gray-100); }
  .trust-item:last-child { border-bottom: 0; }
  .price-box { align-items: flex-start; flex-direction: column; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Duidelijk gescheiden formulieren voor open inschrijving en incompany */
.course-form-panel {
  margin-top: 6px;
  padding: 22px;
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
}

.course-form-panel[hidden] {
  display: none !important;
}

.course-form-heading {
  margin-bottom: 18px;
}

.course-form-heading h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.course-form-heading p {
  margin: 0;
  color: var(--gray-600, #52606d);
}
