/* ==============================================
   custom.css
   Globale stijlen + animaties (los van Webflow)
   ============================================== */

/* Kleurpalet */
:root {
  --kleur-donker:     #47423d;
  --kleur-knop:       #3d3835;
  --kleur-knop-hover: #2a2624;
  --kleur-kaart:      #f0f0ee;
}

/* Soepele scroll + ruimte voor vaste nav boven ankerpunt */
html { scroll-behavior: smooth; }
#leadform { scroll-margin-top: 110px; }

/* Hero achtergrond lokaal (webflow.css verwijst naar Webflow CDN) */
.hero_image {
  background-image: url("../images/hero-bg.jpg") !important;
}

/* ---- Font rendering ---- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---- Focus state (toegankelijkheid) ---- */
*[tabindex]:focus-visible,
input[type="file"]:focus-visible {
  outline: 0.125rem solid #4d65ff;
  outline-offset: 0.125rem;
}

/* ---- Utility ---- */
.inherit-color * { color: inherit; }
.hide { display: none !important; }
/* GTM noscript fallback */
.gtm-noscript { display: none !important; visibility: hidden !important; }
.container-medium, .container-small, .container-large {
  margin-right: auto !important;
  margin-left: auto !important;
}

/* ---- Rich text ---- */
.w-richtext > :not(div):first-child,
.w-richtext > div:first-child > :first-child { margin-top: 0 !important; }
.w-richtext > :last-child,
.w-richtext ol li:last-child,
.w-richtext ul li:last-child { margin-bottom: 0 !important; }

/* ---- Responsive hide classes ---- */
@media screen and (max-width: 991px) {
  .hide, .hide-tablet { display: none !important; }
}
@media screen and (max-width: 767px) {
  .hide-mobile-landscape { display: none !important; }
}
@media screen and (max-width: 479px) {
  .hide-mobile { display: none !important; }
}

/* ---- Text clamp utilities ---- */
.text-style-3lines {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.text-style-2lines {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---- Spacing utilities (Webflow-conventie: zet alle kanten behalve de benoemde op 0) ---- */
.margin-0  { margin: 0rem !important; }
.padding-0 { padding: 0rem !important; }
.spacing-clean { padding: 0rem !important; margin: 0rem !important; }
.margin-top    { margin-right: 0 !important; margin-bottom: 0 !important; margin-left: 0 !important; }
.padding-top   { padding-right: 0 !important; padding-bottom: 0 !important; padding-left: 0 !important; }
.margin-bottom { margin-top: 0 !important; margin-right: 0 !important; margin-left: 0 !important; }
.padding-bottom { padding-top: 0 !important; padding-right: 0 !important; padding-left: 0 !important; }
.margin-horizontal  { margin-top: 0 !important; margin-bottom: 0 !important; }
.padding-horizontal { padding-top: 0 !important; padding-bottom: 0 !important; }
.margin-vertical    { margin-right: 0 !important; margin-left: 0 !important; }
.padding-vertical   { padding-right: 0 !important; padding-left: 0 !important; }


/* ==============================================
   ANIMATIES — tijdelijk uitgeschakeld voor snelheid
   ============================================== */
/* [data-animate] en .is-visible weggehaald; animations.js ook uitgeschakeld in index.html */


/* ==============================================
   PARTNER LOGO MARQUEE
   ============================================== */

.section_bedrijven {
  overflow: hidden;
}

.slide-wrap {
  display: flex !important;
  width: max-content !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: flex-start !important;
  gap: 100px;
  align-items: center;
  padding: 40px 0;
  animation: marquee-scroll 28s linear infinite;
}

.slide-wrap:hover {
  animation-play-state: paused;
}

.logo-img._50-r-m.partners {
  width: auto !important;
  max-width: 260px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ==============================================
   FORMULIER PLACEHOLDERS
   ============================================== */

.form-embed-placeholder {
  padding: 2rem;
  background: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 8px;
  text-align: center;
  color: #999;
  font-family: sans-serif;
}

.form-embed-placeholder.form-embed-large {
  padding: 3rem 2rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-embed-placeholder h2 {
  color: #bbb;
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.form-embed-placeholder p {
  margin: 0;
}

.form-embed-placeholder.form-embed-live {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: initial;
  color: inherit;
  font-family: inherit;
  min-height: 0;
  display: block;
}


/* ==============================================
   LEADFORM
   ============================================== */

.section_leadform {
  padding: 9rem 0 4rem;
  background: #fff;
}

.leadform-card {
  background: var(--kleur-kaart);
  border-radius: 1rem;
  padding: 2.5rem 3rem 3rem;
  position: relative;
  overflow: visible;
}

.leadform-brochure {
  position: absolute;
  top: -9rem;
  right: 2rem;
  width: 300px;
  height: auto;
  transform: rotate(5deg);
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.2));
}

.leadform-title {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--kleur-donker);
  margin: 0 0 0.5rem;
  padding-right: 340px;
}

.leadform-subtitle {
  font-size: 0.9375rem;
  color: #555;
  margin: 0 0 1.5rem;
}

/* ==============================================
   FRESHSALES EMBED — leadform opmaak
   ============================================== */

.section_leadform .fs-webform-container {
  background-color: var(--kleur-kaart) !important;
  padding: 0 !important;
}

.section_leadform .fserv-container,
.section_leadform .fserv-container * {
  box-sizing: border-box !important;
  background-color: var(--kleur-kaart) !important;
}

.section_leadform .fserv-container {
  background-color: var(--kleur-kaart) !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.section_leadform .fserv-form-name,
.section_leadform .fserv-form-description,
.section_leadform .powered-by {
  display: none !important;
}

/* 2-column field grid */
.section_leadform .fserv-form {
  background-color: transparent !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 16px !important;
  padding: 0 !important;
  width: 100% !important;
}

.section_leadform .fserv-field,
.section_leadform .fserv-field-wrapper,
.section_leadform .fserv-field-content,
.section_leadform .formserv-text-field,
.section_leadform .formserv-email-field,
.section_leadform .formserv-tel-field,
.section_leadform .formserv-select-field {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  display: block !important;
}

.section_leadform .fserv-hidden {
  display: none !important;
}

.section_leadform .fserv-label,
.section_leadform label {
  display: block !important;
  color: var(--kleur-donker) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  margin-left: 4px !important;
}

/* Text / email / tel inputs */
.section_leadform .fserv-input-text {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  color: #333 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  display: block !important;
  outline: none !important;
}

/* Select2 dropdown */
.section_leadform .formserv-select-field .select2-container {
  width: 100% !important;
  display: block !important;
  min-width: 0 !important;
}

.section_leadform .select2-selection--single {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 14px !important;
}

.section_leadform .select2-selection__rendered {
  line-height: normal !important;
  padding: 0 !important;
  color: #aaa !important;
  font-size: 14px !important;
}

.section_leadform .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 14px !important;
  height: auto !important;
  position: absolute !important;
}

/* Phone field */
.section_leadform .fs-country-phone {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  height: 46px !important;
  overflow: visible !important;
  padding: 0 10px !important;
}

.section_leadform .iti,
.section_leadform .iti--allow-dropdown {
  width: 100% !important;
  display: block !important;
}

/* Checkbox + submit: full width */
.section_leadform .fserv-form > div:nth-last-child(2),
.section_leadform .fserv-form > div:last-child {
  grid-column: 1 / -1 !important;
  background-color: transparent !important;
  border-top: none !important;
  padding: 0 !important;
  margin-top: 4px !important;
}

/* Submit button */
.section_leadform .fserv-button-submit,
.section_leadform input[type="submit"],
.section_leadform button[type="submit"] {
  background-color: var(--kleur-knop) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0 32px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  width: 100% !important;
  height: 52px !important;
  cursor: pointer !important;
  display: block !important;
  margin-top: 8px !important;
}

.section_leadform .fserv-button-submit:hover {
  background-color: var(--kleur-knop-hover) !important;
}

/* Mobile */
@media screen and (max-width: 767px) {
  .leadform-card {
    padding: 2rem 1.25rem 2rem;
    overflow: hidden;
  }

  .leadform-brochure {
    position: static;
    display: block;
    width: 160px;
    margin: 0 auto 1.5rem;
    transform: rotate(5deg);
  }

  .leadform-title {
    padding-right: 0;
  }

  .section_leadform .fserv-form {
    grid-template-columns: 1fr !important;
  }
}


/* ==============================================
   SLIMME KEUZE SECTIE
   ============================================== */

.section_slimmekeuze {
  background-color: #fff;
}

.slimmekeuze_grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.slimmekeuze_copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.slimmekeuze_header {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--kleur-donker);
  margin: 0;
}

.slimmekeuze_subheader {
  font-weight: 700;
  line-height: 1.5;
  color: var(--kleur-donker);
  margin: 0;
}

.slimmekeuze_tekst {
  font-family: Raleway, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #333;
  margin: 0;
}

.slimmekeuze_infographic {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slimmekeuze_img {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.slimmekeuze_caption {
  font-family: Raleway, sans-serif;
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin: 0.75rem 0 0;
  line-height: 1.4;
}

@media screen and (max-width: 767px) {
  .slimmekeuze_grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}


/* ==============================================
   WERKNEMER CTA
   ============================================== */

.werknemer_heading {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
}

.werknemer_tekst {
  color: #e0e0e0;
  font-family: Raleway, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .werknemer_wrapper {
    height: auto !important;
    padding: 2.5rem 1.5rem !important;
  }
  .werkenmer_tekst_links {
    max-width: 100% !important;
    padding: 0 !important;
  }
}


/* ==============================================
   FIETSMERKEN MARQUEE
   ============================================== */

.section_fietsmerken {
  overflow: hidden;
}

.section_fietsmerken .heading-3 {
  text-align: center;
  padding-bottom: 0;
  padding-top: 0;
}

.fietsmerken-slide {
  animation-duration: 36s !important;
}

.logo-img._50-r-m.fietsmerken {
  width: auto !important;
  max-width: 200px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}

.logo-img._50-r-m.fietsmerken:hover {
  filter: none;
  opacity: 1;
}


/* ==============================================
   FAQ ACCORDION
   ============================================== */

.faq_title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--kleur-donker);
  margin: 0 0 2.5rem;
}

.accordion-wrapper {
  align-items: stretch !important;
  width: 100%;
}

.accordion-wrapper .accordion-item {
  width: 100%;
  box-sizing: border-box;
}

details.accordion-item > summary {
  list-style: none;
  cursor: pointer;
}
details.accordion-item > summary::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--kleur-donker);
  border-bottom: 2.5px solid var(--kleur-donker);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-top: 3px;
}

details.accordion-item[open] .accordion-icon {
  transform: rotate(-135deg);
  margin-top: 9px;
}

.accordion-wrapper .accordion-item + .accordion-item {
  margin-top: 0.75rem;
}

.accordion-item-content p {
  font-family: Raleway, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #444;
  margin: 0;
}

.faq_cta {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--outer_space);
  text-align: center;
  margin: 2rem 0 1rem;
}

.faq_cta_button {
  display: block;
  width: fit-content;
  margin: 0 auto;
}
