/* ==========================================================
   Mulder Rijopleidingen — stylesheet
   Kleuren gebaseerd op het logo (zwart / wit / oranje)
   ========================================================== */

:root {
  --black: #0b0b0c;
  --black-soft: #17171a;
  --white: #ffffff;
  --offwhite: #f6f6f4;
  --orange: #f2650c;
  --orange-dark: #d9560a;
  --gray: #6b7280;
  --gray-light: #e5e5e5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.12);
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; margin: 0 0 16px; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-tint { background: var(--offwhite); }

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.section-intro { max-width: 640px; color: var(--gray); }
.section-dark .section-intro { color: #c9c9cc; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(242,101,12,0.35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-small { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-color: var(--gray-light); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}
.logo { display: flex; align-items: center; margin-right: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--orange); }
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--black); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 170px 0 120px;
  overflow: hidden;
  text-align: center;
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 260px; margin-bottom: 32px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 900px; }
.hero .accent { color: var(--orange); }
.hero-sub { max-width: 620px; color: #d4d4d8; font-size: 1.1rem; margin-top: 16px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.hero-fade {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(242,101,12,0.18), transparent 60%);
  z-index: 1;
}

/* ---------- About / Lesauto ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid.reverse .about-photo { order: 2; }
.about-grid.reverse .about-text { order: 1; }
.photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* Fotoslider lesauto: schuift automatisch, ook te swipen */
.carousel {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  touch-action: pan-y;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .6s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 10px; height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.carousel-dot[aria-current="true"] { width: 26px; background: var(--orange); }
.carousel-dot:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

.photo-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #eee, #eee 10px, #f6f6f4 10px, #f6f6f4 20px);
  border: 2px dashed var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  padding: 24px;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.price-card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
}
.price-card h3 { margin-bottom: 4px; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--orange); margin-bottom: 20px; }
.price-card ul { margin-bottom: 28px; }
.price-card li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 0.95rem; }
.price-card li:last-child { border-bottom: none; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.price-card-featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--shadow); transform: scale(1.03); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white); font-size: 0.75rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---------- Addon pricing ---------- */
.addon-pricing { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12); }
.addon-pricing h3 { color: var(--white); margin-bottom: 20px; }
.addon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; margin-bottom: 20px; }
.addon-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.95rem; }
.addon-list li span { color: #d4d4d8; }
.addon-list li strong { color: var(--orange); }

/* ---------- Plango ---------- */
.plango-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.plango-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.check-list li { padding: 8px 0 8px 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ---------- Reviews ---------- */
.reviews-placeholder {
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--gray);
}

/* ---------- FAQ / Accordion ---------- */
.accordion { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.12); }
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  padding: 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.accordion-trigger span { color: var(--orange); font-size: 1.4rem; transition: transform .2s ease; }
.accordion-item.open .accordion-trigger span { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.accordion-panel p { color: #c9c9cc; padding-bottom: 20px; padding-right: 40px; }
.accordion-panel a { color: var(--orange); font-weight: 600; text-decoration: underline; }
.accordion-panel a:hover { color: var(--white); }

.map-embed {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  margin-right: 40px;
  border: 1px solid rgba(255,255,255,0.12);
}
#pickup-map { width: 100%; height: 180px; pointer-events: none; filter: saturate(0.85); background: var(--offwhite); }
.pickup-pin { background: none; border: none; }
.map-embed-link {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 10px;
  text-decoration: none;
}
.map-embed-cta {
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: background .15s ease;
}
.map-embed-link:hover .map-embed-cta { background: var(--orange-dark); }
.accordion-item.open .accordion-panel { max-height: 600px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info { margin: 24px 0; }
.contact-info li { padding: 6px 0; }
.contact-info a { color: var(--orange); font-weight: 600; }
.contact-info a:hover { color: var(--orange-dark); text-decoration: underline; }
.social-links { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--offwhite); color: var(--black);
  border: 1px solid var(--gray-light);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.social-icon:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.social-icon-muted { color: var(--gray); cursor: default; border-style: dashed; }
.social-icon-muted:hover { background: var(--offwhite); color: var(--gray); transform: none; }
.contact-form { background: var(--offwhite); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray-light);
  background: var(--white);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
.form-note { font-size: 0.8rem; color: var(--gray); margin: 0; }
.contact-form button:disabled { opacity: 0.7; cursor: wait; transform: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; }
.form-status.success { background: #e7f6ec; color: #1a6b3c; }
.form-status.error { background: rgba(242,101,12,0.1); color: var(--orange-dark); }
.text-link { color: var(--orange); font-weight: 600; text-decoration: underline; }
.text-link:hover { color: var(--orange-dark); }
.section-dark .text-link:hover { color: var(--white); }

/* ---------- Missing data highlight ---------- */
.missing-data {
  background: rgba(242,101,12,0.15);
  border-bottom: 2px dashed var(--orange);
  padding: 1px 4px;
  color: var(--orange-dark);
  font-weight: 600;
}
.section-dark .missing-data { color: #ffb27a; }
.missing-data-note {
  font-size: 0.85rem;
  color: var(--orange-dark);
  background: rgba(242,101,12,0.08);
  border-left: 3px solid var(--orange);
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 16px;
}
.missing-data-note.light { color: #ffb27a; background: rgba(242,101,12,0.1); }

/* ---------- Juridische pagina's (privacy, voorwaarden) ---------- */
.legal-page { padding: 150px 0 96px; }
.legal-content { max-width: 760px; }
.legal-content h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-content h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal-content p, .legal-content li { color: #33343a; }
.legal-content ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal-content ol { padding-left: 22px; margin: 0 0 16px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a:not(.btn) { color: var(--orange); font-weight: 600; text-decoration: underline; }
.legal-meta { color: var(--gray); font-size: 0.9rem; }
.legal-example { display: block; margin-top: 1.6em; } /* één lege regel tussen regel en voorbeeld */
.legal-back { display: inline-block; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 56px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h3 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9a9a9d;
  margin: 0 0 16px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand p { color: #c9c9cc; font-size: 0.9rem; margin: 0; }
.footer-brand .social-icon { border-color: rgba(242,101,12,0.4); background: rgba(255,255,255,0.05); color: var(--orange); }
.footer-brand .social-icon:hover { background: var(--orange); color: var(--white); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a:hover { color: var(--orange); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom { padding-top: 20px; font-size: 0.8rem; color: #9a9a9d; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .pricing-grid { gap: 16px; }
  .price-card { padding: 30px 18px; }
  .price { font-size: 1.8rem; }
  .about-grid, .plango-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid.reverse .about-photo, .about-grid.reverse .about-text { order: initial; }
  .price-card-featured { transform: none; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .header-cta.open { display: block; }
}

@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
  .price-card { padding: 36px 28px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 40px; } /* sectiepadding is hier kleiner dan de vaste header */
  .legal-page { padding: 120px 0 64px; }
  .addon-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 140px 0 80px; }
}
