/*
 Theme Name:   Magneet Agency Child
 Theme URI:    https://bureaumagneet.nl/
 Description:  Thema voor custom code
 Author:       Magneet Agency
 Author URI:   https://bureaumagneet.nl/
 Template:     bricks
 Version:      januari 2024
 Text Domain:  bricks
*/

/* ─── ALGEMEEN ─── */

img { object-fit: cover; }
p a { text-decoration: underline; font-weight: bold; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body { color: #3d2a52; font-size: 18px; }
p { line-height: 1.7; color: #4a3660; font-size: 18px; }

::selection {
  background: rgba(55, 0, 81, 0.12);
  color: #370051;
}

/* ─── BLOCKQUOTE ─── */

blockquote {
  margin: 2.5rem auto;
  padding: 2rem 0;
  border: none;
  font-family: "dupincel-variable", serif;
  font-size: clamp(1.75rem, calc(1.75rem + ((1vw - 0.32rem) * 1.25)), 2.8rem);
  line-height: 1.35;
  color: #370051;
  font-style: italic;
  font-weight: 300;
  text-align: center;
  max-width: 800px;
}

blockquote p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

blockquote cite,
blockquote footer {
  display: block;
  margin-top: 1.25rem;
  font-family: "Cabinet", sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 500;
  color: #4a3660;
}

blockquote cite::before {
  content: "— ";
}

/* ─── TYPOGRAFIE ───
   Doelgroep: oogkliniek — leesbaarheid is prioriteit.
   Body: 18px / 20px. Headings: fluid clamp().
   Margins: meer boven dan onder (1.5:1 ratio) — heading hoort bij zijn content.
   Line-height: 1.1–1.2 voor headings, 1.7 voor body.
─── */

h1 {
  font-size: clamp(2.2rem, calc(2.2rem + ((1vw - 0.32rem) * 2.0833)), 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.8rem, calc(1.8rem + ((1vw - 0.32rem) * 1.6667)), 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.3rem, calc(1.3rem + ((1vw - 0.32rem) * 0.625)), 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h4 {
  font-size: clamp(1.1rem, calc(1.1rem + ((1vw - 0.32rem) * 0.4167)), 1.5rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h5 {
  font-size: clamp(1rem, calc(1rem + ((1vw - 0.32rem) * 0.2083)), 1.2rem);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5, h6 {
  color: #370051;
}

/* Tekst die groter moet (intro's, highlights) */
.text-large,
.bm-t-small { font-size: 20px; line-height: 1.6; }

/* Kleinere tekst (captions, meta) */
.text-small { font-size: 18px; }

/* ─── GSAP FOUC PREVENTIE ───
   Verbergt elementen via CSS vóórdat GSAP laadt.
   GSAP's autoAlpha onthult ze gecontroleerd.
   Fallback: .no-js class toont alles als JS faalt.
─── */

[data-gsap],
.gsap-anim {
  visibility: hidden;
}

.no-js [data-gsap],
.no-js .gsap-anim {
  visibility: visible;
}

/* ─── FOCUS STATES ─── */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(55, 0, 81, 0.4);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── MEDIA SECTIES ─── */

.s-bm-media-blog { width: 100%; }
.c-bm-media-blog { width: 100%; max-width: 1280px; align-content: center; justify-self: center; justify-items: center; }
.mc-bm-media-blog { width: 100%; max-width: 690px; }
.s-bm-media-groot { width: 100%; display: flex; justify-content: center; }
.c-bm-media-groot { width: 100%; max-width: 1280px; }
.mc-bm-media-groot { width: 100%; }
.s-bm-media-fullscreen { width: 100%; }
.c-bm-media-fullscreen { width: 100%; }
.mc-bm-media-fullscreen { width: 100%; }
.iframe-img-bm-media-blog { width: 100%; }
.iframe-img-bm-media-groot { width: 100%; }
.iframe-img-bm-media-fullscreen { width: 100%; min-width: 100%; height: 100vh; }
.media-placeholder { display: flex; align-items: center; justify-content: center; }
.media-v-play-btn { font-size: 10rem; }

/* ─── GRID CLASSES ─── */

.twee-items { grid-template-columns: repeat(auto-fill, minmax(490px, 1fr)); }
.drie-items { grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)); }
.vier-items { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* ─── SPACING ─── */

.ge-top { padding-top: 0; }
.k-top { padding-top: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 1.0417)), 3rem); }
.m-top { padding-top: clamp(3rem, calc(3rem + ((1vw - 0.32rem) * 3.125)), 6rem); }
.gr-top { padding-top: clamp(5rem, calc(5rem + ((1vw - 0.32rem) * 4.1667)), 9rem); }
.ge-bottom { padding-bottom: 0; }
.k-bottom { padding-bottom: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 1.0417)), 3rem); }
.m-bottom { padding-bottom: clamp(3rem, calc(3rem + ((1vw - 0.32rem) * 3.125)), 6rem); }
.gr-bottom { padding-bottom: clamp(5rem, calc(5rem + ((1vw - 0.32rem) * 4.1667)), 9rem); }

/* ─── HEADER ─── */

.s-bm-header.brxe-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* ─── MENU LINKS ─── */

#menu-main-menu a {
  position: relative;
  text-decoration: none;
  color: #370051;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.25s ease;
}

#menu-main-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #370051;
  transition: width 0.3s ease;
}

#menu-main-menu a:hover { color: #5a1a7a; }
#menu-main-menu a:hover::after { width: 100%; }
#menu-main-menu .current-menu-item a::after,
#menu-main-menu .current_page_item a::after { width: 100%; }

/* ─── CTA BUTTONS ─── */

.bm-header-cta-container,
.cta-container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-container { margin-top: 2rem; }
.cta-space { margin-top: 2rem; }

.pri-cta,
.sec-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content; min-height: 48px; padding: 6px 22px; border-radius: 14px;
  border: 2px solid #370051; font-weight: 600; text-decoration: none; line-height: 1.2;
  background-size: 200% 200%; background-position: left center;
  transition: background-position 0.35s ease, color 0.25s ease, border-color 0.25s ease;
}

.pri-cta {
  background-image: linear-gradient(120deg, #370051 0%, #5a1a7a 40%, #7a3aa0 50%, #5a1a7a 60%, #370051 100%);
  color: #fff; border-color: #370051;
}
.pri-cta:hover { background-position: right center; }

.sec-cta {
  background-image: linear-gradient(120deg, #ffffff 0%, #f8f3fb 40%, #ece1f5 50%, #f8f3fb 60%, #ffffff 100%);
  color: #370051; border-color: rgba(55, 0, 81, 0.2);
}
.sec-cta:hover {
  background-position: right center;
  background-image: linear-gradient(120deg, #370051 0%, #5a1a7a 40%, #7a3aa0 50%, #5a1a7a 60%, #370051 100%);
  color: #fff; border-color: #370051;
}

.button-icon { display: flex; width: 18px; }
.button-icon path { fill: currentColor; }

/* ─── EMBED ─── */

.embed-container { position: relative; overflow: hidden; padding-top: 56.25%; height: 100%; width: 100%; }
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ─── GRID ─── */

.bm-grid-items-container { display: grid; gap: 30px; width: 100%; }

/* ─── TEKST BLOKKEN ─── */

.bm-t-center { max-width: 690px; margin-left: auto; margin-right: auto; }
.bm-t-center .cta-container { text-align: center; }
.bm-t-small { max-width: 500px; font-size: 22px; }

/* ─── WELKOM SECTIE ─── */

.h-tmt-titel.brxe-heading { line-height: 1.12; }
.bt-tmt-tekst.brxe-text-basic { line-height: 1.7; color: #4a3660; font-size: 18px; }

/* ─── TEKST MET MEDIA ─── */

.brxe-container.c-t-img {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-column-gap: 30px; grid-row-gap: 30px; align-items: stretch;
}

.bm-media { height: 100%; border-radius: 20px; display: flex; overflow: hidden; }

.dr-t-img img.t-img,
.bm-media img,
.bm-media video,
.bm-media iframe { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 20px; }

.t-img-text.titext-design {
  width: 100%; max-width: 100%; background: #ffffff; border-radius: 20px;
  padding: clamp(2rem, calc(2rem + ((1vw - 0.32rem) * 6.25)), 8rem);
  display: flex; flex-direction: column; justify-content: center; height: 100%;
}

.t-img-text .t-m-fullscreen-center { width: 100%; max-width: 500px; }
.t-m-section-full { padding: 0rem !important; height: 90vh; }
.t-m-fullscreen { width: 100% !important; padding: 0rem !important; height: 100%; }
.t-m-fullscreen .t-img-text { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.t-m-fullscreen .t-m-fullscreen-center { max-width: 500px; }
.t-m-fullscreen .bm-media { height: 100%; min-height: 100%; }
.t-m-fullscreen .iframe-img-bm-media { min-width: 100%; min-height: 100%; }

.t-media-usps { margin-top: 2rem; }
span.t-media-usp-icon { display: flex; align-items: center; }
.t-media-usp { display: flex; gap: 5px; padding: 6px 0; }
.t-media-usp-text { font-size: 18px; font-weight: 500; }

/* ─── ZOEKRESULTATEN ─── */

.bm-search-results { margin: 20px 0; padding: 0; }
.bm-search-result { display: flex; flex-wrap: wrap; margin-bottom: 30px; border-bottom: 1px solid #e5e5e5; padding-bottom: 20px; }
.bm-search-result-image { flex: 1 1 100px; margin-right: 20px; }
.bm-search-result-image img { max-width: 100%; height: auto; }
.bm-search-result-content { flex: 1 1 calc(100% - 120px); }
.bm-search-result-content h3 { font-size: 20px; margin-top: 0; margin-bottom: 10px; }
.bm-search-excerpt { font-size: 18px; color: #666; margin-bottom: 15px; }

/* ─── OVERZICHT KAARTEN ─── */

.c-ovz h2 { margin-bottom: 2rem; }
.bm-ovz-container { display: grid; width: 100%; gap: 30px; margin-bottom: clamp(3rem, calc(3rem + ((1vw - 0.48rem) * 2.5)), 5rem); }
.bm-ovz-container.twee-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bm-ovz-container.drie-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bm-ovz-container.vier-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bm-ovz-block {
  display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 20px; overflow: hidden; text-decoration: none;
  transition: border-color 0.25s ease;
}
.bm-ovz-block:hover { border-color: rgba(0, 0, 0, 0.15); }

.bm-ovz-img-wrapper { display: block; overflow: hidden; position: relative; }
.bm-ovz-img-wrapper::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(0deg, rgba(55, 0, 81, 0.35) 0%, transparent 60%);
}

.bm-ovz-img {
  width: 100%; height: 300px; object-fit: cover; object-position: center; display: block;
  transition: transform 0.4s ease;
}
.bm-ovz-block:hover .bm-ovz-img { transform: scale(1.03); }

.bm-ovz-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.bm-ovz-text { display: flex; flex-direction: column; gap: 10px; }
.bm-ovz-title { margin: 0; font-size: 18px; line-height: 1.4; color: #370051; }
.bm-ovz-excerpt { margin: 0; font-size: 18px; line-height: 1.65; color: #4a3660; max-width: 375px; }
.bm-ovz-arrow { display: inline-flex; align-items: center; justify-content: center; width: 30px; margin-top: auto; margin-left: auto; transition: transform 0.25s ease; }
.bm-ovz-block:hover .bm-ovz-arrow { transform: translateX(4px); }
.bm-ovz-arrow img { width: 100%; height: auto; display: block; }
.cta-container.ovz-cta, .cta-container.ovz-cta-c { width: 100%; justify-content: center; }

/* ─── DIVIDERS ─── */

.divder-nb.brxe-divider.horizontal .line,
.divider-vb.brxe-divider.horizontal .line { border-top-color: rgba(0, 0, 0, 0.08) !important; }

/* ─── HERO KAARTEN — "HOE KUNNEN WIJ HELPEN" ─── */

.hero-info-wrap { display: grid; grid-auto-rows: 1fr; gap: 30px; }

.hero-link {
  border: 3px solid #ffffff;
  background-color: #EBE0F3;
  border-radius: 20px;
  padding: 3rem 2rem 1rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  max-width: 360px;
  justify-content: space-between;
  gap: 15px;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.hero-link:hover {
  background-color: #F2E9F7;
  border-color: rgba(255, 255, 255, 0.8);
}

img.hero-link-arrow {
  width: 100%;
  max-width: 30px;
  place-self: end;
  transition: transform 0.25s ease;
}

.hero-link:hover img.hero-link-arrow { transform: translateX(4px); }

.hero-link-text h3 {
  font-size: 22px;
  color: #370051;
  margin-bottom: 0.25rem;
}

.hero-link-text p {
  font-size: 18px;
  color: #4a3660;
  line-height: 1.5;
}

/* ─── HERO 2 (subpagina's) ─── */

.s-hero-2.brxe-section::before {
  background-image: linear-gradient(180deg, rgba(55, 0, 81, 0.15) 0%, rgba(55, 0, 81, 0.6) 100%) !important;
}

.d-hero-2 {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bt-h-hero-2 h1 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bt-sh-hero-2 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.6;
  max-width: 600px;
}

/* ─── USP SECTIE ─── */

.usp-list {
  display: flex; width: 100%; justify-content: space-between; color: #370051;
  background: #ffffff; padding: 2rem 10rem; border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.usp-item { display: inline-flex; flex-direction: row; align-items: center; width: fit-content; gap: 12px; }
span.usp-icon { display: flex; }
.usp-text { font-weight: 500; font-size: 18px; }

/* ─── BEHANDELING SLIDER ─── */

.behandeling-slider .splide__slide { margin-right: 30px !important; }
.behandeling-slider .splide__list { gap: 0px !important; }

.behandeling-card {
  display: flex; flex-direction: column; text-decoration: none; background: #fff; height: 100%;
  border-radius: 20px; border: 1px solid rgba(0, 0, 0, 0.08); overflow: hidden;
  transition: border-color 0.25s ease;
}
.behandeling-card:hover { border-color: rgba(0, 0, 0, 0.15); }

.behandeling-card__image { position: relative; overflow: hidden; }
.behandeling-card__image::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(0deg, rgba(55, 0, 81, 0.3) 0%, transparent 50%);
}

.behandeling-card__image img {
  width: 100%; height: 230px; display: block; object-fit: cover;
  transition: transform 0.4s ease;
}
.behandeling-card:hover .behandeling-card__image img { transform: scale(1.03); }

.behandeling-card__content { padding: 20px; position: relative; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.behandeling-card__content h3 { margin-bottom: 10px; font-size: 18px; color: #370051; }
.behandeling-card__content p { font-size: 18px; }
.behandeling-card__arrow { display: block; margin-top: 20px; width: 30px; place-self: end; transition: transform 0.25s ease; }
.behandeling-card:hover .behandeling-card__arrow { transform: translateX(4px); }
.behandeling-card__arrow img { width: 100%; }

.splide__arrow { background: none; border: none; }

.behandeling-slider-nav { display: flex; justify-content: flex-end; gap: 20px; margin-bottom: 30px; }
.behandeling-slider-nav .splide__arrow {
  background: #fff; border-radius: 50%; width: 50px; height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.behandeling-slider-nav .splide__arrow:hover { background: #370051; border-color: #370051; }
.behandeling-slider-nav .splide__arrow:hover svg path { fill: white; }
.behandeling-slider-nav .splide__arrow--prev { left: revert; right: 8rem; }

/* ─── GRID KAARTEN (tarieven etc) ─── */

.bm-grid-items-container { display: grid; width: 100%; gap: 30px; }
.bm-grid-items-container.twee-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bm-grid-items-container.drie-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bm-grid-items-container.vier-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bm-grid-card {
  display: flex; flex-direction: column; height: 100%; background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 20px; overflow: hidden;
}

.bm-grid-card__image { width: fit-content; background-color: rgba(0, 0, 0, 0.03); border: 1px solid rgba(0, 0, 0, 0.05); padding: 0.6rem; border-radius: 10px; }
.bm-grid-items-img { display: block; width: 100%; max-width: 30px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }
.bm-grid-card__content { display: flex; flex-direction: column; flex-grow: 1; padding: 32px; gap: 14px; }
.bm-grid-items-naam { color: #370051; }
.bm-grid-items-naam h2 { font-size: clamp(1.4rem, calc(1.4rem + ((1vw - 0.32rem) * 0.625)), 2rem); margin-bottom: 0.75rem; }
.bm-grid-items-naam h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; color: #370051; }
.bm-grid-items-naam p { margin: 0; font-size: 18px; line-height: 1.65; color: #4a3660; }
.bm-grid-items-naam ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.bm-grid-items-naam li { font-size: 18px; line-height: 1.65; color: #4a3660; padding: 2px 0; }
.bm-grid-items-naam a { color: inherit; text-decoration: none; }
.bm-grid-items-naam strong { font-weight: 600; }

/* ─── FAQ ─── */

.bm-faq-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  margin-bottom: 0.75rem;
}

.bm-faq-item:last-child {
  margin-bottom: 0;
}

.bm-faq-question {
  cursor: pointer;
  padding: 0.25rem 0;
}

.bm-h3-question {
  font-family: "Cabinet", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #370051;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: color 0.2s ease;
}

.bm-faq-question:hover .bm-h3-question {
  color: #5a1a7a;
}

.bm-h3-question .fa-solid {
  font-size: 14px;
  color: #370051;
  opacity: 0.4;
  transition: transform 0.3s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.bm-faq-question:hover .bm-h3-question .fa-solid {
  opacity: 0.7;
}

.bm-faq-answer {
  overflow: hidden;
  color: #4a3660;
  font-size: 18px;
  line-height: 1.7;
}

.bm-faq-answer > div {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  max-width: 85%;
}

.bm-faq-answer p {
  margin-bottom: 0.75rem;
}

.bm-faq-answer p:last-child {
  margin-bottom: 0;
}

/* ─── NAVIGEER BEHANDELINGEN ─── */

.navigeer-behandelingen-list { display: flex; flex-wrap: wrap; gap: 20px; }

.navigeer-behandeling-link {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 52px;
  padding: 12px 26px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 14px;
  background: #ffffff; color: #3c315d; text-decoration: none; font-size: 18px; font-weight: 500; line-height: 1.3;
  background-size: 200% 200%; background-position: left center;
  transition: background-position 0.35s ease, border-color 0.25s ease, color 0.25s ease;
}
.navigeer-behandeling-link:hover {
  color: #ffffff; border-color: #370051;
  background-image: linear-gradient(120deg, #370051 0%, #5a1a7a 40%, #7a3aa0 50%, #5a1a7a 60%, #370051 100%);
  background-position: right center;
}
.navigeer-behandeling-link-text { display: inline-block; }
.navigeer-behandelingen-titel { margin-bottom: 2rem; }

/* ─── BEHANDELINGEN OVERZICHT (query loop) ─── */

.d-bh.brxe-div {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px;
  transition: background-color 0.25s ease;
}
.d-bh.brxe-div:hover { background-color: rgba(0, 0, 0, 0.02); }
.dl-h-bh.brxe-heading { transition: color 0.25s ease; }
.d-bh.brxe-div:hover .dl-h-bh.brxe-heading { color: #5a1a7a; }

/* ─── CONTACTFORMULIER SECTIE ─── */

/* Sectie-achtergrond */
.s-cf {
  background: #36244e;
}

/* Twee-kolom layout: tekst links, formulier rechts */
.c-cf {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 991px) {
  .c-cf { grid-template-columns: 1fr; }
}

/* Tekst links — sticky */
.dl-cf { position: sticky; top: 8rem; }

@media (max-width: 991px) {
  .dl-cf { position: static; }
}

.s-cf .dl-cf,
.s-cf .dl-cf p,
.s-cf .dl-cf h2,
.s-cf .dl-cf .bt-cf,
.s-cf .dl-cf .bt-cf p,
.s-cf .dl-cf .bt-cf h2 { color: #ffffff !important; }
.s-cf .dl-cf p { opacity: 0.8; }
.s-cf .dl-cf a { color: #d4b8ff; }

/* Formulier rechts — witte kaart, ruime padding */
.dr-cf {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(2.5rem, 5vw, 3.5rem);
}

/* ─── FLUENT FORMS — UX/UI BEST PRACTICES ─── */

/* Spacing tussen veldgroepen */
.fluentform .ff-el-group { margin-bottom: 20px; }

/* Label → veld */
.fluentform .ff-el-input--label { margin-bottom: 8px; }
.fluentform .ff-el-input--label label {
  font-family: "Cabinet", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: #2a1540;
}

/* Verplicht-sterretje */
.fluentform .ff-el-is-required.asterisk-right label::after {
  color: #9b59b6;
  padding-left: 2px;
}

/* Inputvelden — wit met subtiele rand, zoals referentie */
.fluentform .ff-el-form-control {
  font-family: "Cabinet", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #370051;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.fluentform .ff-el-form-control::placeholder {
  color: rgba(55, 0, 81, 0.3);
  font-weight: 400;
}

.fluentform .ff-el-form-control:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.fluentform .ff-el-form-control:focus {
  outline: none;
  border-color: #370051;
}

/* Textarea — meer hoogte, zelfde stijl */
.fluentform textarea.ff-el-form-control {
  min-height: 128px;       /* 16×8 */
  resize: vertical;
  line-height: 1.6;
}

/* Kolom-spacing — 16px (2×8) gap tussen kolommen */
.fluentform .ff-t-container { gap: 16px; }
.fluentform .ff-t-cell { padding: 0 !important; }

/* ─── CHECKBOXES & RADIOS ─── */

/* Visuele groepering: checkbox-secties krijgen een lichte achtergrond */
.fluentform .ff-el-form-check { margin-bottom: 0; }

.fluentform .ff-el-form-check-input[type="checkbox"],
.fluentform .ff-el-form-check-input[type="radio"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 20px !important;       /* iets groter voor betere touch */
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  background: #ffffff !important;
  cursor: pointer;
  position: relative;
  top: 0;
  flex-shrink: 0;
  display: inline-block !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fluentform .ff-el-form-check-input[type="checkbox"] { border-radius: 5px !important; }
.fluentform .ff-el-form-check-input[type="radio"] { border-radius: 50% !important; }

.fluentform .ff-el-form-check-input[type="checkbox"]:hover,
.fluentform .ff-el-form-check-input[type="radio"]:hover {
  border-color: #370051 !important;
  background: #ffffff !important;
}

.fluentform .ff-el-form-check-input[type="checkbox"]:checked,
.fluentform .ff-el-form-check-input[type="radio"]:checked {
  background-color: #370051 !important;
  border-color: #370051 !important;
}

.fluentform .ff-el-form-check-input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.fluentform .ff-el-form-check-input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

/* Checkbox/radio labels — 48px touch zone via padding */
.fluentform .ff-el-form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  color: #370051;
  padding: 6px 0;        /* creëert 48px klikbaar gebied */
  min-height: 40px;
}

.fluentform .ff-el-form-check-label span { line-height: 1.4; }

/* GDPR */
.fluentform .ff-el-tc {
  margin-top: 8px;
}

.fluentform .ff_tc_label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.fluentform .ff_tc_checkbox {
  display: inline-flex !important;
  flex-shrink: 0 !important;
  margin-top: 2px;
}

.fluentform .ff_t_c {
  font-size: 14px;
  line-height: 1.55;
  color: #5a4570;
  padding-left: 4px;
}

/* Submit button — volledige breedte, prominent */
.ff-btn.ff-btn-submit {
  width: 100% !important;
  border-radius: 14px !important;
  min-height: 54px;
  font-family: "Cabinet", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  margin-top: 16px;       /* 2×8 extra ruimte boven de knop */
  background-size: 200% 200% !important;
  background-position: left center !important;
  transition: background-position 0.35s ease !important;
}

.ff-btn.ff-btn-submit:hover {
  background-position: right center !important;
}

/* Error states */
.fluentform .ff-el-is-error .ff-el-form-control {
  border-color: #c0392b;
}

.fluentform .error.text-danger {
  font-size: 13px;
  line-height: 1.4;
  color: #c0392b;
  margin-top: 6px;
}

/* ─── FOOTER CTA ─── */

.h-footer-cta-titel { line-height: 1.1; }

/* ─── FOOTER ─── */

.bt-footer-menu-titel.brxe-text-basic {
  font-family: "Cabinet", sans-serif; text-transform: uppercase;
  font-size: 13px !important; letter-spacing: 0.08em; font-weight: 700;
  opacity: 0.5; margin-bottom: 1rem;
}

.bm-footer-nav.brxe-nav-menu .bricks-nav-menu > li > a {
  font-size: 18px; color: #370051; opacity: 0.7;
  transition: opacity 0.2s ease; padding: 4px 0;
}
.bm-footer-nav.brxe-nav-menu .bricks-nav-menu > li > a:hover { opacity: 1; }

/* Openingstijden: zelfde stijl als footer-links */
.bt-footer-t.brxe-text-basic {
  font-size: 18px !important; color: #370051; opacity: 0.7; line-height: 1.8;
}

.d-footer-socials a { transition: opacity 0.2s ease; }
.d-footer-socials a:hover { opacity: 0.6; }

/* ─── BREADCRUMBS ─── */

.bm-breadcrumbs.brxe-breadcrumbs .item { opacity: 0.6; transition: opacity 0.2s ease; }
.bm-breadcrumbs.brxe-breadcrumbs a.item:hover { opacity: 1; }
.bm-breadcrumbs.brxe-breadcrumbs .separator { opacity: 0.3; margin: 0 6px; }

/* ─── SLIDERS ─── */

.ly-slide__image img { vertical-align: bottom; width: 100%; aspect-ratio: 16 / 9; height: 80vh; }
.c-slider .splide__list { gap: 0 !important; }
.ly-slider .splide__slide { position: relative; height: 80vh; background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; justify-content: flex-end; padding-right: 5rem; }
.ly-slide__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.ly-slide__content { position: relative; z-index: 2; color: #fff; width: 100%; max-width: 1280px; padding: 2rem; display: flex; flex-direction: column; align-items: flex-end; }
.ly-slide__content h3 { margin-bottom: 1rem; }
.ly-slide__content .btn { display: inline-block; margin-top: 1rem; }
.c-slider .splide__slide { border-radius: 0; }
.ly-slider { margin-left: auto; margin-right: auto; }
.ly-slider--fullscreen { width: 100%; max-width: none; }
.ly-slider--container { max-width: 1280px; }
.ly-slider--blog { max-width: 690px; }
.ly-slider--blog li, .ly-slider--container li, .ly-slider--blog .ly-slide__overlay, .ly-slider--container .ly-slide__overlay { border-radius: 20px !important; }
.ly-slider--container, .ly-slider--blog { padding-left: 2rem; padding-right: 2rem; }

/* Quote slider */
.bm-quoteslider { width: 100%; margin: 0 auto; padding: 5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); justify-items: center; overflow: hidden; }
.bm-quoteslider-container { display: flex; width: 100%; padding-left: clamp(1rem, calc(1rem + ((1vw - 0.32rem) * 13.5417)), 14rem); }
.bm-quoteslider__sidebar { flex: 0 0 clamp(18rem, calc(18rem + ((1vw - 0.32rem) * 22.9167)), 40rem) !important; display: flex; flex-direction: column; justify-content: center; margin-right: 20px; }
.bm-quoteslider__sidebar h2 { font-size: clamp(3.5rem, calc(3.5rem + ((1vw - 0.48rem) * 0.625)), 4rem); color: #012240 !important; line-height: 1.1; }
.splide { flex: 1; width: 100%; }
.splide__slide { border-radius: 20px; display: flex; flex-direction: column; padding-bottom: 4rem; }
.splide__track--draggable { padding-top: 2rem; }
.splide__list { gap: 35px; }
.bm-quote-button-c { display: flex; flex-direction: row; align-items: center; margin-top: 20px; gap: 10px; }
.my-prev-arrow-1, .my-next-arrow-1 { background: none; border: none; cursor: pointer; margin: 5px 0; }
.bm-s-slide { background-color: #f0f3f6; padding: 2rem; border-radius: 20px; height: 100%; position: relative; display: flex; flex-direction: column; }
img.slider-img { width: 100%; object-fit: cover; border-radius: 50%; max-width: 150px; height: 150px; margin-top: -8rem; margin-bottom: 2rem; }
.item-slider-img-bg { height: 65px; }
.item-slider-img-wrap { display: flex; justify-content: center; }
.item-slider-btn-wrap { display: flex; height: 100%; align-items: flex-end; }
.item-slider-usp-list { padding-bottom: 5rem; width: 100%; }
ul.item-slider-usp-list { padding-inline-start: 0px !important; }
.item-slider-usp-item { list-style: none; display: flex; gap: 12px; align-items: center; font-size: 20px; color: #353e5c; margin-bottom: 10px; }
.slide-title { font-size: 26px; font-weight: 500; color: #012240; margin: 0; }
.slide-text { font-size: 20px; color: #012240; border-style: solid; border-width: 0px 0px 1px 0px; border-color: rgba(161, 161, 161, 0.76); padding-bottom: 2rem; margin-bottom: 2rem; width: 100%; }
.bm-s-slide hr { border-color: #a1a1a1; }

/* Slider arrows */
.custom-slider-arrows { display: flex; gap: 12px; align-items: center; }
.custom-slider-arrows button { background: none; border: none; padding: 0; cursor: pointer; }
.custom-slider-arrows img { width: 40px; height: 40px; display: block; }
.custom-slider-arrows .slider-next img { transform: scaleX(-1); }
.custom-slider-arrows button:hover { opacity: 0.85; }
#brxe-yotysp .splide__arrows.x-splide__arrows.splide__arrows--ltr { display: none; }
#brxe-oyvxgj .splide__track { display: flex; }
#brxe-oyvxgj .splide__list { display: flex; align-items: stretch; }
#brxe-oyvxgj .splide__slide { display: flex; height: auto; }

/* ─── CAROUSEL ─── */

.bm-carousel { position: relative; }
.bm-carousel-container { width: 100%; justify-items: center; }
.bm-carousel-head { display: flex; justify-content: end; gap: 24px; margin-bottom: 30px; width: 100%; max-width: 1280px; }
.bm-carousel-title { margin: 0; }
.bm-carousel-nav { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.bm-carousel-prev, .bm-carousel-next {
  width: 42px; height: 42px; border: none; border-radius: 999px; background: #370051;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  appearance: none; -webkit-appearance: none;
  background-size: 200% 200%; background-position: left center;
  transition: background-position 0.35s ease, opacity 0.25s ease;
}
.bm-carousel-prev:hover, .bm-carousel-next:hover {
  background-image: linear-gradient(120deg, #370051 0%, #4a006e 45%, #5c008b 50%, #4a006e 55%, #370051 100%);
  background-position: right center;
}

.bm-carousel-nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: #ffffff; }
.bm-carousel-nav-icon svg { width: 100%; height: 100%; display: block; }
.bm-carousel-nav-icon path { fill: currentColor; }
.bm-carousel-prev .bm-carousel-nav-icon { transform: rotate(180deg); }
#bm-splide-carousel .splide__track { overflow: hidden; }
#bm-splide-carousel .splide__slide { height: auto; }

.bm-carousel-slide {
  display: flex; flex-direction: column; height: 100%; background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 20px; overflow: hidden;
  transition: border-color 0.25s ease;
}
.bm-carousel-slide:hover { border-color: rgba(0, 0, 0, 0.15); }

.bm-carousel-slide-image-wrap { overflow: hidden; }
.bm-carousel-slide-image { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; transition: transform 0.4s ease; }
.bm-carousel-slide:hover .bm-carousel-slide-image { transform: scale(1.03); }
.bm-carousel-slide--image-only .bm-carousel-slide-image { aspect-ratio: 16 / 9; }
.bm-carousel-slide-content { display: flex; flex-direction: column; flex-grow: 1; padding: 20px; gap: 14px; }
.bm-carousel-slide-title { margin: 0; font-size: 18px; line-height: 1.35; color: #370051; }
.bm-carousel-slide-text { color: #370051; }
.bm-carousel-slide-text p { margin: 0; font-size: 18px; line-height: 1.65; color: #4a3660; }
.bm-carousel-slide-usps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bm-carousel-slide-usp { display: flex; align-items: flex-start; gap: 10px; font-size: 18px; line-height: 1.5; color: #370051; }
.bm-carousel-slide-usp-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: #370051; flex-shrink: 0; margin-top: 2px; }
.bm-carousel-slide-usp-icon svg { width: 20px; height: 20px; display: block; }
.bm-carousel-slide-usp-icon path { fill: currentColor; }
.bm-carousel-slide-button-wrap { margin-top: auto; padding-top: 10px; }
.bm-carousel .button-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; }
.bm-carousel .button-icon svg { width: 100%; height: 100%; display: block; }
.bm-carousel .button-icon path { fill: currentColor; }

/* Team marquee */
.team-marquee { overflow: hidden; width: 100%; }
.team-track { display: flex; gap: 40px; width: max-content; animation: teamScroll 30s linear infinite; }
.team-item img { height: 300px; width: 375px; display: block; }
@keyframes teamScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── RESPONSIVE ─── */

@media screen and (max-width: 992px) {
  .ly-slider .splide__slide { height: 50vh; }
  div#custom-slider { padding: 2rem; }
  ul#custom-slider-list { max-height: 360px !important; gap: revert; }
  .iframe-img-bm-media-groot, .iframe-img-bm-media { max-height: 300px; width: 100%; }
  .mobile-order { display: flex !important; flex-direction: column; }
  .mobile-order .t-img-text { order: 1; }
  .mobile-order .bm-media { order: 2; }
  .bm-grid-items-container, .bm-ovz-container { display: flex; flex-direction: column; }
  .bm-quoteslider-container { flex-direction: column; padding-left: 0; }
  .bm-quoteslider__sidebar { margin: 0; }
  .bm-quoteslider { padding: 5rem 2rem; }
  .splide__list { gap: 0px; }
  .behandeling-slider-nav .splide__arrow { margin-top: 3rem; }
  .usp-list { padding: 2rem 2rem; border-radius: 10px; flex-direction: column; }
}

@media (max-width: 991px) {
  .bm-ovz-container.drie-items, .bm-ovz-container.vier-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  h1 { letter-spacing: -0.015em; }
  body, p { font-size: 16px; }
  .text-large, .bm-t-small { font-size: 18px; }
  .bm-header-cta-container, .cta-container { flex-direction: column; align-items: stretch; }
  .pri-cta, .sec-cta { width: 100%; justify-content: center; }
  .bm-ovz-container.twee-items, .bm-ovz-container.drie-items, .bm-ovz-container.vier-items, .bm-ovz-container.default-class { grid-template-columns: 1fr; }
  .bm-ovz-img { height: 240px; }
  .bm-ovz-content { padding: 18px; }
  .bm-grid-items-container.twee-items, .bm-grid-items-container.drie-items, .bm-grid-items-container.vier-items, .bm-grid-items-container.default-class { grid-template-columns: 1fr; }
  .bm-grid-card__content { padding: 22px; }
  .bm-carousel-head { flex-direction: column; align-items: flex-start; margin-bottom: 20px; }
  .bm-carousel-nav { align-self: flex-end; }
  .bm-carousel-slide-content { padding: 18px; }
  .bm-carousel-slide-title { font-size: 18px; }
  .hero-link { padding: 2rem 1.5rem 1rem 1.5rem; }
  .bm-faq-item { padding: 1rem 1.25rem; }
  .t-img-text.titext-design { padding: clamp(1.5rem, 5vw, 3rem); }
}