/* =============================================
   HOMEPAGE REDESIGN OVERRIDES
   Laden NA style.min.css en custom.min.css
   ============================================= */

/* ─── 1. LOGO CAROUSEL — Infinite scroll + fade edges ─── */

.section.full-width.logo-carousel {
  position: relative;
  -webkit-transform: rotate(-4deg) translateX(-5vw) !important;
  -ms-transform: rotate(-4deg) translateX(-5vw) !important;
  transform: rotate(-4deg) translateX(-5vw) !important;
  width: 110vw;
  overflow: hidden !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: auto;
  display: block !important;
  gap: 0 !important;
}

.logo-track {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  -webkit-animation: scrollLogos 40s linear infinite;
  animation: scrollLogos 40s linear infinite;
  width: -webkit-max-content;
  width: max-content;
}

@-webkit-keyframes scrollLogos {
  0% { -webkit-transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); }
}
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Fade edges */
.section.full-width.logo-carousel::before,
.section.full-width.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.section.full-width.logo-carousel::before {
  left: 0;
  background: -webkit-linear-gradient(left, #f5f0eb, transparent);
  background: linear-gradient(to right, #f5f0eb, transparent);
}
.section.full-width.logo-carousel::after {
  right: 0;
  background: -webkit-linear-gradient(right, #f5f0eb, transparent);
  background: linear-gradient(to left, #f5f0eb, transparent);
}


/* ─── 2. WARNING CARDS — Pill-vorm + rotatie ─── */

.section.marketing-warning .warning-card {
  border-radius: 2rem !important;
  padding: 1rem 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  width: -webkit-fit-content;
  width: fit-content;
  max-width: 90%;
  -webkit-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
}
.section.marketing-warning .warning-card:nth-child(1) {
  -webkit-transform: rotate(-1deg) !important;
  -ms-transform: rotate(-1deg) !important;
  transform: rotate(-1deg) !important;
}
.section.marketing-warning .warning-card:nth-child(2) {
  -webkit-transform: rotate(1.5deg) !important;
  -ms-transform: rotate(1.5deg) !important;
  transform: rotate(1.5deg) !important;
}
.section.marketing-warning .warning-card:nth-child(3) {
  -webkit-transform: rotate(-0.5deg) !important;
  -ms-transform: rotate(-0.5deg) !important;
  transform: rotate(-0.5deg) !important;
}
.section.marketing-warning .warning-card:hover {
  -webkit-transform: rotate(0deg) scale(1.02) !important;
  -ms-transform: rotate(0deg) scale(1.02) !important;
  transform: rotate(0deg) scale(1.02) !important;
}


/* ─── 3. INVESTMENT CARD — Bedragen-cards ─── */

.section.investment-card .content-wrapper {
  max-width: 900px;
  padding: 2.5rem 2rem;
}
.section.investment-card .headline {
  font-size: 1.75rem;
  max-width: 100%;
  margin-bottom: 1rem;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.section.investment-card .subtext {
  max-width: 100%;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255,255,255,0.95) !important;
}

/* Bedragen cards */
.ic-amounts {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}
.ic-card {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  border: 1px solid rgba(255,255,255,0.15) !important;
  position: relative;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.ic-card:hover {
  background: rgba(255,255,255,0.18);
}
.ic-card-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
}
.ic-card-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #FDB701;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.ic-card-detail {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.ic-card:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  right: -13px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  z-index: 1;
}
.ic-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 1.5rem 0;
  border: none !important;
}
.ic-guarantee {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 0.75rem;
  max-width: 600px;
}
.ic-guarantee strong {
  color: white;
  font-weight: 700;
}


/* ─── 4. FEATURES SECTIE — Hierarchie titels + iconen ─── */

.features-main-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #2D3047 !important;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.features-subtitle {
  font-size: 1.1rem;
  font-weight: 800;
  color: #008080 !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 3rem;
}

/* Icoon blokje links uitgelijnd boven de tekst */
.feature-icon {
  width: 48px;
  height: 48px;
  background: #008080;
  border-radius: 0.75rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  -webkit-box-shadow: -2px 2px #EEC8A6;
  box-shadow: -2px 2px #EEC8A6;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  -webkit-align-self: flex-start;
  align-self: flex-start;
}

/* Hover effect op feature cards */
.section.features-container .feature-card {
  -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section.features-container .feature-card:hover {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  -webkit-box-shadow: -6px 6px #EEC8A6;
  box-shadow: -6px 6px #EEC8A6;
}


/* ─── 5. CASE STUDY KNOPPEN — Teal, compact ─── */

.cs-btn {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.35rem;
  background: #008080;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.55rem 1.1rem;
  border-radius: 2rem;
  border: none;
  width: -webkit-fit-content;
  width: fit-content;
  margin-top: auto;
  -webkit-transition: 0.15s;
  transition: 0.15s;
}
.cs-btn:hover {
  background: #006B5F;
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
}
.cs-btn .arrow {
  background: white !important;
  color: #008080 !important;
  margin-left: 0.25rem;
}

/* Case study card hover */
.cs-card {
  -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cs-card:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: -6px 6px #EEC8A6;
  box-shadow: -6px 6px #EEC8A6;
}


/* ─── 6. TESTIMONIALS — Infinite scroll (2 rijen) ─── */

.testimonials-grid {
  padding: 4rem 0;
  overflow: hidden;
}

.testimonial-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: -webkit-max-content;
  width: max-content;
}
.testimonial-row-1 {
  -webkit-animation: slideRight 30s linear infinite;
  animation: slideRight 30s linear infinite;
}
.testimonial-row-2 {
  -webkit-animation: slideLeft 30s linear infinite;
  animation: slideLeft 30s linear infinite;
}

@-webkit-keyframes slideRight {
  0% { -webkit-transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); }
}
@keyframes slideRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@-webkit-keyframes slideLeft {
  0% { -webkit-transform: translateX(-50%); }
  100% { -webkit-transform: translateX(0); }
}
@keyframes slideLeft {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testimonials-grid .testimonial-card {
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: 320px;
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  text-align: left;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}
.testimonials-grid .testimonial-card .testimonial-company {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #008080 !important;
  margin: 0 0 0.75rem 0;
  flex: 0;
}
.testimonials-grid .testimonial-card p {
  font-size: 0.8rem;
  font-weight: 500;
  color: #666 !important;
  line-height: 1.55;
  -webkit-box-flex: 1;
  flex: 1;
  margin-bottom: 1rem;
  text-align: left;
}
.testimonials-grid .testimonial-card .review-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #333 !important;
  margin-bottom: 0;
  flex: 0;
  text-align: left;
}

/* Override bestaande testimonials-container layout */
.testimonials-grid .testimonials-container {
  display: block !important;
  overflow: hidden;
}


/* ─── 7. FOOTER — Strakker design ─── */

.section.footer .content-wrapper {
  max-width: 900px;
  padding: 3rem 2rem 2rem;
}
.section.footer h2 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem !important;
}
.section.footer .profile-image {
  margin: -10rem 0 !important;
}
.section.footer .profile-image img {
  max-height: 320px;
  width: auto;
}
.section.footer .contact-info {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.section.footer .address-section p {
  margin: 0.25rem 0 !important;
  font-size: 0.85rem;
}
.section.footer .company-name {
  font-size: 0.9rem !important;
}
.section.footer .kvk {
  font-size: 0.8rem !important;
  opacity: 0.7;
}
.section.footer .phone-button,
.section.footer .whatsapp-button {
  font-size: 0.85rem;
  padding: 0.6rem 1.1rem;
}


/* ─── 8. MOBILE OVERRIDES ─── */

@media (max-width: 767px) {
  .section.text-block h1 {
    font-size: 1.75rem !important;
    padding: 0 0.5rem;
  }
  .section.full-width.logo-carousel {
    margin-bottom: 2rem;
  }
  .section.marketing-warning .main-heading {
    font-size: 1.35rem !important;
    padding: 0 1rem;
  }
  .section.marketing-warning .warning-card {
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    max-width: 95%;
  }
  .section.investment-card .content-wrapper {
    padding: 2rem 1.25rem;
  }
  .section.investment-card .headline {
    font-size: 1.35rem;
    max-width: 100% !important;
    margin-bottom: 0.75rem;
  }
  .section.investment-card .subtext,
  .ic-guarantee {
    max-width: 100% !important;
    font-size: 0.9rem;
  }
  .ic-amounts {
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 0.75rem;
  }
  .ic-card {
    padding: 1rem;
  }
  .ic-card-value {
    font-size: 1.5rem;
  }
  .ic-card:not(:last-child)::after {
    content: '\2193';
    right: 50%;
    top: auto;
    bottom: -13px;
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
  }
  .features-main-title {
    font-size: 1.5rem !important;
  }
  .features-subtitle {
    font-size: 0.8rem;
    margin-bottom: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr !important;
  }
  .feature-card {
    min-width: unset !important;
  }
  .cs-grid {
    grid-template-columns: 1fr !important;
  }
  .cs-card-name {
    font-size: 1.25rem !important;
  }
  .testimonials-grid .testimonial-card {
    width: 260px !important;
    padding: 1.25rem;
  }
  .testimonials-grid .testimonial-card p {
    font-size: 0.75rem !important;
  }
  .testimonial-row-1 {
    -webkit-animation-duration: 20s;
    animation-duration: 20s;
  }
  .testimonial-row-2 {
    -webkit-animation-duration: 22s;
    animation-duration: 22s;
  }

  /* PDP kennismaking en werkwijze blokken: volle breedte mobiel */
  .section.constrained {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .ww-section {
    margin: 0 !important;
  }
  .ww-card-body {
    padding: 1rem !important;
  }

  /* Footer mobiel */
  .section.footer .content-wrapper {
    padding: 2rem 1.25rem 2.5rem !important;
  }
  .section.footer .linkedin-link {
    margin-bottom: 1rem !important;
  }
  .section.footer h2 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  .section.footer .profile-circle {
    display: none !important;
  }
  .section.footer .footer-logo {
    margin: 0.5rem 0 !important;
  }
  .section.footer .contact-info {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 5;
  }
  .section.footer .address-section {
    text-align: left;
    -webkit-order: 2;
    order: 2;
  }
  .section.footer .contact-buttons {
    -webkit-flex-direction: row;
    flex-direction: row;
    gap: 0.75rem;
    -webkit-order: 1;
    order: 1;
  }
  .section.footer .phone-button,
  .section.footer .whatsapp-button {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.9rem !important;
  }
}

@media (max-width: 400px) {
  .section.text-block h1 {
    font-size: 1.5rem !important;
  }
  .section.marketing-warning .main-heading {
    font-size: 1.15rem !important;
  }
  .section.investment-card .headline {
    font-size: 1.2rem;
  }
  .features-main-title {
    font-size: 1.25rem !important;
  }
}
