/* ── voor-bedrijven.css ─────────────────────────────────────────────────────
   Page-specific styles for templates/pages/voor-bedrijven.html.twig
   All shared tokens and cw-* utilities come from site.css.
   ──────────────────────────────────────────────────────────────────────────── */

/* ── Hero section: soft gradient + house background (homepage-style) ─────── */
.cw-section--hero-bedrijven {
  background-color: var(--cw-bg-soft);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(238, 246, 255, 0.88) 55%, rgba(238, 246, 255, 0.82) 100%),
    url('/images/2025/07/07/achtergrond-huis.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(40px, 6vw, 70px);
  overflow: hidden;
}

.cw-section--hero-bedrijven .cw-section-header {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.cw-section--hero-bedrijven .cw-heading--hero {
  font-size: clamp(1.65rem, 4.5vw, 50px);
  line-height: 1.12;
  color: var(--cw-navy);
}

.cw-section--hero-bedrijven .cw-lead {
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--cw-text);
}

/* ── Hero split: same 40/60 containers as legacy ─────────────────────────── */
.cw-split--hero-bedrijven {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  column-gap: 50px;
}

.cw-split--hero-bedrijven .cw-split__media--hero {
  flex: 0 0 calc(40% - 25px);
  width: calc(40% - 25px);
  max-width: calc(40% - 25px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
}

.cw-split--hero-bedrijven .cw-hero-card {
  flex: 0 0 calc(60% - 25px);
  width: calc(60% - 25px);
  max-width: calc(60% - 25px);
  min-width: 0;
  box-sizing: border-box;
}

/* Keep hero image at natural column width (no artificial max-height) */
.cw-img--hero-bedrijven {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0;
}

.cw-split__media--hero .cw-figure {
  margin: 0 0 24px;
  width: 100%;
}

/* ── Hero card: white rounded panel (same container as legacy) ───────────── */
.cw-hero-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 30px 30px 35px;
  box-shadow: none;
}

.cw-hero-card__body h3 {
  font-family: var(--cw-font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--cw-navy);
  margin: 0 0 8px;
  text-transform: none;
}

.cw-hero-card__body h3:not(:first-child) {
  margin-top: 24px;
}

.cw-hero-card__body p {
  color: var(--cw-text-muted);
  margin: 0 0 12px;
  line-height: 1.7;
}

.cw-hero-card__body p:last-child {
  margin-bottom: 0;
}

/* ── Buttons: #0093df + consistent padding on this page ──────────────────── */
.page-content .cw-btn,
.page-content .cw-btn--primary {
  background: #0093df;
  border-color: #0093df;
  color: #fff;
  padding: 12px 28px;
  font-weight: 700;
  border-radius: var(--cw-radius-pill);
  text-transform: uppercase;
  box-sizing: border-box;
}

.page-content .cw-btn--primary:hover,
.page-content .cw-btn:hover {
  background: #0078af;
  border-color: #0078af;
  color: #fff;
}

.cw-hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ── Phone mockup media column ───────────────────────────────────────────── */
.cw-split__media--phone {
  flex: 0 0 280px;
  max-width: 280px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .cw-split--hero-bedrijven {
    gap: 32px;
    column-gap: 32px;
  }

  .cw-split--hero-bedrijven .cw-split__media--hero,
  .cw-split--hero-bedrijven .cw-hero-card {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .cw-hero-card {
    padding: 28px 24px 32px;
    margin-bottom: 0;
  }

  .cw-split__media--hero .cw-figure {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .cw-section--hero-bedrijven {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .cw-hero-card {
    padding: 24px 18px 28px;
    border-radius: 20px;
  }

  .cw-split__media--phone {
    flex: 1 1 auto;
    max-width: 240px;
    margin: 0 auto;
  }

  .page-content .cw-btn,
  .page-content .cw-btn--primary {
    width: 100%;
    max-width: 420px;
    padding: 12px 28px;
  }
}

@media (max-width: 480px) {
  .cw-section--hero-bedrijven .cw-heading--hero {
    font-size: clamp(1.5rem, 7.5vw, 2rem);
  }
}
