/* =============================================================================
   Over ons — page styles
   Prefix: .ao-
   Requires: home.css loaded first (hp-* utility classes, CSS custom properties)
   ============================================================================= */

/* =============================================================================
   SECTION 1 — HERO
   ============================================================================= */

.ao-hero {
  background-color: #5c3a2e;
  position: relative;
  padding: clamp(5rem, 4rem + 5vw, 8rem) 0 0;
  border: none;
  margin: 0;
}

.ao-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(242, 228, 207, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  clip-path: inset(0);
}

.ao-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem) 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ao-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ao-hero__title {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl, clamp(2.25rem, 2rem + 3vw, 3.5rem));
  font-weight: 700;
  color: var(--clr-text-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1.25rem;
}

.ao-hero__sub {
  font-size: var(--fs-md, 1.0625rem);
  color: rgba(242, 228, 207, 0.8);
  line-height: 1.7;
  max-width: 44ch;
}

.ao-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ao-hero__svg {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.3));
}

/* Wave: mahogany → cream */
.ao-hero__wave {
  width: 100%;
  line-height: 0;
  background-color: #f2e4cf;
  border: none;
  display: block;
}

.ao-hero__wave svg {
  display: block;
  width: 100%;
  height: auto;
}


/* =============================================================================
   SECTION 2 — ONS VERHAAL
   ============================================================================= */

.ao-story {
  background-color: var(--clr-bg-alt);
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0;
}

.ao-story__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}

/* Left: decorative year + quote */
.ao-story__left {
  position: relative;
  padding-top: 1rem;
}

.ao-story__year-label {
  font-size: var(--fs-xs, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-subtle);
  display: block;
  margin-bottom: 0.5rem;
}

.ao-story__year-bg {
  font-family: var(--ff-display);
  font-size: clamp(6rem, 10vw, 9rem);
  font-weight: 700;
  color: #2f5048;
  opacity: 0.08;
  line-height: 1;
  user-select: none;
  margin: 0;
}

.ao-story__quote {
  font-family: var(--ff-display);
  font-size: var(--fs-lg, 1.1875rem);
  font-style: italic;
  color: var(--clr-text-heading);
  line-height: 1.5;
  margin: 1.5rem 0 0.75rem;
  padding-left: 1.25rem;
  border-left: 3px solid #5c3a2e;
}

.ao-story__quote-attr {
  font-size: var(--fs-sm, 0.875rem);
  color: var(--clr-text-muted);
  font-weight: 600;
  padding-left: 1.25rem;
  display: block;
}

/* Right: text */
.ao-story__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ao-story__title {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl, clamp(1.75rem, 1.5rem + 2vw, 2.5rem));
  font-weight: 700;
  color: var(--clr-text-heading);
  margin: 0.25rem 0 1.5rem;
  line-height: 1.2;
}

.ao-story__body {
  font-size: var(--fs-base, 1rem);
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.ao-story__body:last-child {
  margin-bottom: 0;
}


/* =============================================================================
   SECTION 3 — WAARDEN
   ============================================================================= */

.ao-values {
  background-color: var(--clr-bg-subtle);
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0 0;
}

.ao-values__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  padding-bottom: clamp(4rem, 3rem + 4vw, 7rem);
}

.ao-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.ao-value-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-top: 3px solid #2f5048;
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.ao-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ao-value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--clr-forest-100, #eaf2e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.ao-value-card__title {
  font-family: var(--ff-display);
  font-size: var(--fs-lg, 1.1875rem);
  font-weight: 700;
  color: var(--clr-text-heading);
  margin: 0 0 0.6rem;
  line-height: 1.25;
}

.ao-value-card__body {
  font-size: var(--fs-sm, 0.875rem);
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Wave: light green → dark forest */
.ao-values__wave {
  width: 100%;
  line-height: 0;
  background-color: #2f5048;
  border: none;
  display: block;
}

.ao-values__wave svg {
  display: block;
  width: 100%;
  height: auto;
}


/* =============================================================================
   SECTION 4 — WERKWIJZE-SAMENVATTING
   ============================================================================= */

.ao-process {
  background-color: #2f5048;
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0;
}

.ao-process__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.ao-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

/* Dashed connector line between steps (desktop only) */
.ao-process__grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(184, 200, 160, 0.3) 0px,
    rgba(184, 200, 160, 0.3) 8px,
    transparent 8px,
    transparent 18px
  );
  pointer-events: none;
}

.ao-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.ao-step__icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 350ms cubic-bezier(0.34, 1.3, 0.64, 1);
}

.ao-step:hover .ao-step__icon-box {
  transform: scale(1.08) rotate(-3deg);
}

.ao-step--forest .ao-step__icon-box {
  background: rgba(47, 80, 72, 0.5);
  border: 1px solid rgba(184, 200, 160, 0.25);
  color: #b8c8a0;
}

.ao-step--mahogany .ao-step__icon-box {
  background: rgba(92, 58, 46, 0.5);
  border: 1px solid rgba(242, 228, 207, 0.2);
  color: #f2e4cf;
}

.ao-step__num {
  font-size: var(--fs-xs, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.45;
  color: #b8c8a0;
  font-family: var(--ff-body);
}

.ao-step__title {
  font-family: var(--ff-display);
  font-size: var(--fs-md, 1.0625rem);
  font-weight: 700;
  color: var(--clr-text-light);
  margin: 0;
  line-height: 1.3;
}

.ao-step__text {
  font-size: var(--fs-sm, 0.875rem);
  color: rgba(184, 200, 160, 0.8);
  line-height: 1.7;
  margin: 0;
  max-width: 22ch;
}


/* =============================================================================
   SECTION 5 — CTA OVERRIDE
   ============================================================================= */

.ao .hp-cta {
  background-color: #5c3a2e;
}


/* =============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================= */

@media (max-width: 960px) {
  /* Hero: single column, hide visual */
  .ao-hero__inner {
    grid-template-columns: 1fr;
  }

  .ao-hero__visual {
    display: none;
  }

  /* Story: single column, hide decorative left */
  .ao-story__inner {
    grid-template-columns: 1fr;
  }

  .ao-story__left {
    display: none;
  }

  /* Values: 2 columns */
  .ao-values__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Process: 2x2 grid, hide dashed connector */
  .ao-process__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ao-process__grid::before {
    display: none;
  }
}

@media (max-width: 600px) {
  /* Values: single column */
  .ao-values__grid {
    grid-template-columns: 1fr;
  }

  /* Process: single column */
  .ao-process__grid {
    grid-template-columns: 1fr;
  }

  .ao-step__text {
    max-width: 100%;
  }
}
