/* =============================================
   HOMEPAGE POLISH
   Laadt NA redesign-overrides.css
   ============================================= */

/* ─── 1. TYPOGRAFIE HIËRARCHIE ─── */

/* H1 section spacing: betere ritme */
.section.constrained.text-block {
  padding-top: 1rem !important;
  padding-bottom: 2rem !important;
}

/* H1 iets kleiner op desktop */
.section.text-block h1 {
  font-size: 2.5rem;
  max-width: 720px;
}

/* Investment card: alle tekst puur wit */
.section.investment-card .subtext {
  color: white !important;
}
.ic-guarantee {
  color: white !important;
}

/* Investment card: minder lege ruimte bovenaan */
.section.investment-card {
  margin-top: 0.5rem !important;
}
.section.investment-card .content-wrapper {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

/* Warning heading smaller + max-width */
.section.marketing-warning .main-heading {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.75rem;
}


/* ─── 2. PDP KENNISMAKING — Uit inline, eigen achtergrond ─── */

.pdp-kennismaking {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 1rem;
  box-shadow: -4px 4px #EEC8A6;
  border: 2px solid #fff;
  padding: 2.5rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.pdp-kennismaking-label {
  text-transform: uppercase;
  font-weight: 800;
  color: #008080;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.pdp-kennismaking h2 {
  color: #008080 !important;
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.pdp-kennismaking-text {
  flex: 1;
  min-width: 260px;
}
.pdp-kennismaking-text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.pdp-kennismaking-stats {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 180px;
}
.pdp-stat-card {
  background: #008080;
  border-radius: 0.75rem;
  padding: 1.1rem 1.25rem;
  border: none;
}
.pdp-stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: #FDB701;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}
.pdp-stat-label {
  font-size: 0.8rem;
  color: white;
  font-weight: 500;
  margin-top: 0.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}


/* ─── 2b. CASE STUDY CARDS (cs-*) — Gedeeld over alle pagina's ─── */

.cs-section { max-width: 900px; margin: 0 auto; }
.cs-heading {
  text-align: center;
  color: #008080;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 2rem;
}
.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.cs-card {
  background: white;
  border-radius: 1rem;
  border: 2px solid #fff;
  box-shadow: -4px 4px #EEC8A6;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: -6px 6px #EEC8A6;
}
.cs-card-top {
  padding: 1.75rem 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.cs-card-bottom {
  padding: 0 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cs-card-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #008080;
  opacity: 0.6;
}
.cs-card-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #2D3047;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cs-card-desc {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  line-height: 1.6;
}
.cs-metric {
  background: linear-gradient(135deg, #f0fdfa 0%, #e6f7f5 100%);
  border: 1px solid rgba(0,128,128,0.15);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cs-metric-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.cs-metric-block {
  text-align: center;
  flex: 1;
}
.cs-metric-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #008080;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}
.cs-metric-before {
  color: #999;
}
.cs-metric-after {
  color: #008080;
}
.cs-metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #666;
  margin-top: 0.35rem;
}
.cs-metric-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.cs-metric-tag {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #008080;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,128,128,0.12);
}

@media (max-width: 650px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-card-name { font-size: 1.25rem; }
  /* Mobiel: kleine spacer terug voor H1 */
  .home-h1 { margin-top: 1rem !important; }
}


/* ─── 3. USP FEATURE CARDS — Witte achtergrond + tan shadow ─── */

.section.features-container .feature-card {
  background: white !important;
  border: 2px solid #fff !important;
  box-shadow: -4px 4px #EEC8A6 !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
}
.section.features-container .feature-card:hover {
  box-shadow: -6px 6px #EEC8A6 !important;
}
.section.features-container .feature-card h3 {
  color: #2D3047;
}
.section.features-container .feature-card p {
  color: #555;
}
.section.features-container .feature-card img {
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}


/* ─── 4. SPACING CONSISTENTIE ─── */

.section.constrained {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.section.marketing-warning {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.section.features-container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}


/* ─── 5. FOOTER MOBIEL — Foto terugbrengen ─── */

@media (max-width: 767px) {
  /* Typografie mobiel */
  .section.text-block h1 {
    font-size: 1.65rem !important;
  }
  .section.marketing-warning .main-heading {
    font-size: 1.25rem !important;
    max-width: 100%;
  }

  /* PDP kennismaking mobiel */
  .pdp-kennismaking {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .pdp-kennismaking h2 {
    font-size: 1.3rem;
  }
  .pdp-kennismaking-stats {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: unset;
    width: 100%;
  }
  .pdp-stat-card {
    flex: 1;
    min-width: 100px;
    padding: 0.85rem 1rem;
    text-align: center;
  }
  .pdp-stat-value {
    font-size: 1.3rem;
  }
  .pdp-stat-label {
    font-size: 0.65rem;
  }

  /* Footer: foto WEL tonen, kleiner, LinkedIn erboven */
  .section.footer .profile-circle {
    display: flex !important;
  }
  .section.footer .linkedin-link {
    position: relative;
    z-index: 10;
    margin-bottom: 0.5rem !important;
  }
  .section.footer .profile-image {
    margin: -2rem 0 0 !important;
  }
  .section.footer .profile-image img {
    max-height: 150px !important;
  }
}

@media (max-width: 400px) {
  .section.text-block h1 {
    font-size: 1.4rem !important;
  }
  .pdp-kennismaking h2 {
    font-size: 1.15rem;
  }
  .pdp-stat-card {
    min-width: 80px;
  }
}
