/* ==========================================================================
   ALLES IS LEEG — Home-pagina (aug 2026 herontwerp)
   Nieuwe merkrichting: wit dominant, navy af en toe, goud enkel als accent.
   Alleen geladen op index.html — alle klassen hieronder zijn met "ail-"
   voorvoegsel geïsoleerd van de rest van de site (main.css/components.css),
   zodat andere pagina's (nog navy-dominant) ongewijzigd blijven.
   ========================================================================== */

:root {
  --color-white-bg: #FAFAF8;
  --color-deep-navy: #0B1A2E;
  --color-steel-navy: #0F2340;
  --color-or-profond: #C9A44A;
  --color-or-clair: #E8C96A;
  --color-text-dark: #0B1A2E;
  --color-off-white: #FAFAF8;
  --color-warm-muted: #7A93A8;
}

body {
  background: var(--color-white-bg);
}

.page-home main {
  overflow: hidden;
}

/* ==========================================================================
   Shared home building blocks
   ========================================================================== */

.ail-section {
  padding: 120px 5%;
}

.ail-section--tight {
  padding: 64px 5%;
}

@media (max-width: 600px) {
  .ail-section {
    padding: 72px 5%;
  }
  .ail-section--tight {
    padding: 48px 5%;
  }
}

.ail-container {
  max-width: 1280px;
  margin: 0 auto;
}

.ail-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-or-profond);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ail-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-or-profond);
  display: inline-block;
}

.ail-eyebrow--light {
  color: var(--color-or-clair);
}

.ail-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.ail-title--on-navy {
  color: var(--color-off-white);
}

.ail-lede {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-warm-muted);
}

.ail-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.ail-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ail-header--center .ail-eyebrow {
  justify-content: center;
}

.ail-header--center .ail-eyebrow::before {
  display: none;
}

/* Buttons — outline variant for use on light backgrounds
   (existing .btn-ghost uses a white border, invisible on white sections) */
.btn-outline-navy {
  background: transparent;
  color: var(--color-text-dark);
  border: 1px solid rgba(11, 26, 46, 0.25);
}

.btn-outline-navy:hover {
  border-color: var(--color-text-dark);
  background: rgba(11, 26, 46, 0.04);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-off-white);
  border: 1px solid rgba(250, 250, 248, 0.3);
}

.btn-outline-light:hover {
  border-color: rgba(250, 250, 248, 0.7);
  transform: translateY(-2px);
}

/* Placeholder chip — flags unfilled content inline, removed once Ward
   replaces the surrounding copy */
.ail-ph {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85em;
  font-style: italic;
  color: var(--color-warm-muted);
  background: rgba(122, 147, 168, 0.12);
  border: 1px dashed rgba(122, 147, 168, 0.45);
  border-radius: 3px;
  padding: 0.05em 0.5em;
}

.ail-ph--on-navy {
  color: var(--color-or-clair);
  background: rgba(232, 201, 106, 0.08);
  border-color: rgba(232, 201, 106, 0.35);
}

/* Generic placeholder media block — stands in for real photos/video */
.ail-media-ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: repeating-linear-gradient(
    135deg,
    rgba(11, 26, 46, 0.045),
    rgba(11, 26, 46, 0.045) 10px,
    rgba(11, 26, 46, 0.02) 10px,
    rgba(11, 26, 46, 0.02) 20px
  );
  border: 1px dashed rgba(11, 26, 46, 0.25);
  border-radius: 4px;
  color: var(--color-warm-muted);
  text-align: center;
  padding: 24px;
}

.ail-media-ph i {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  color: var(--color-or-profond);
}

.ail-media-ph span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Stagger container — children fade/slide in with incremental delay
   once the container enters the viewport (see js/main.js initStaggerReveal) */
.ail-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ail-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ail-stagger > * {
    transition-delay: 0s !important;
  }
}

/* Card hover-lift, shared across the home sections' card grids */
.ail-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 26, 46, 0.1);
}

/* ==========================================================================
   1. Hero
   ========================================================================== */

.ail-hero {
  position: relative;
  background: var(--color-deep-navy);
  padding: 168px 5% 100px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ail-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ail-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55) saturate(1.05);
}

.ail-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(5, 12, 22, 0.95) 0%,
    rgba(5, 12, 22, 0.88) 24%,
    rgba(5, 12, 22, 0.55) 52%,
    rgba(5, 12, 22, 0.28) 78%,
    rgba(5, 12, 22, 0.15) 100%
  );
}

.ail-hero__grid {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.ail-hero__content {
  max-width: 600px;
}

.ail-hero__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 72px);
  letter-spacing: -2px;
  line-height: 1.08;
  color: var(--color-off-white);
  margin-bottom: 20px;
}

.ail-hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-warm-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.ail-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.ail-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ail-review-badge:hover {
  border-color: var(--color-or-profond);
  transform: translateY(-2px);
}

.ail-review-badge__stars {
  color: var(--color-or-profond);
  letter-spacing: 1px;
  font-size: 15px;
  line-height: 1;
}

.ail-review-badge__text {
  font-size: 13px;
  color: var(--color-off-white);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ail-review-badge__text small {
  font-weight: 400;
  color: var(--color-warm-muted);
}

.ail-google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .ail-hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(5, 12, 22, 0.9) 0%,
      rgba(5, 12, 22, 0.8) 40%,
      rgba(5, 12, 22, 0.6) 70%,
      rgba(5, 12, 22, 0.45) 100%
    );
  }
}

@media (max-width: 600px) {
  .ail-hero {
    padding: 140px 5% 64px;
    min-height: auto;
  }
  .ail-hero__bg::after {
    background: rgba(5, 12, 22, 0.78);
  }
  .ail-hero__content {
    max-width: 100%;
  }
  .ail-hero__cta {
    flex-direction: column;
  }
  .ail-hero__cta .btn {
    width: 100%;
  }
}

/* ==========================================================================
   2. Trust bar (navy contrast-sectie)
   ========================================================================== */

.ail-trust {
  background: transparent;
  padding: 36px 5%;
  border-bottom: 1px solid rgba(11, 26, 46, 0.07);
}

.ail-trust__row {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ail-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ail-trust__item i {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
  color: var(--color-or-profond);
  flex-shrink: 0;
}

.ail-trust__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.3;
}

.ail-trust__label {
  font-size: 11px;
  color: var(--color-warm-muted);
  letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
  .ail-trust__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
}

/* ==========================================================================
   3. Vertrouwen / Het team
   ========================================================================== */

.ail-team {
  background: var(--color-white-bg);
}

.ail-team__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: center;
}

.ail-team__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  margin-bottom: 28px;
}

.ail-team__media img:first-child {
  transition: transform 0.4s ease;
}

.ail-team__media:hover img:first-child {
  transform: scale(1.03);
}

.ail-team__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 4px;
  display: block;
}

.ail-team__inset {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 45%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  border: 6px solid var(--color-white-bg);
  box-shadow: 0 16px 36px rgba(11, 26, 46, 0.18);
}

.ail-team__inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.ail-team__cta {
  margin-top: 28px;
}

.ail-team__quote {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--color-or-profond);
  font-style: italic;
  color: var(--color-text-dark);
  font-size: 15px;
  line-height: 1.6;
}

.ail-team__quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-warm-muted);
}

@media (max-width: 1024px) {
  .ail-team__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ail-team__media {
    aspect-ratio: 16 / 10;
    margin-bottom: 48px;
  }
  .ail-team__inset {
    width: 38%;
    bottom: -24px;
    right: 16px;
  }
}

@media (max-width: 600px) {
  .ail-team__inset {
    width: 44%;
    bottom: -20px;
    right: 5%;
  }
}

/* ==========================================================================
   4. Diensten overview
   ========================================================================== */

.ail-services {
  background: var(--color-white-bg);
}

.ail-services__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  align-items: stretch;
}

.ail-service-card {
  background: #fff;
  border: 1px solid rgba(11, 26, 46, 0.08);
  border-radius: 6px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}

.ail-service-card--primary {
  padding: 56px 48px;
}

.ail-service-card i {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
  color: var(--color-or-profond);
  margin-bottom: 24px;
}

.ail-service-card--primary i {
  width: 36px;
  height: 36px;
}

.ail-service-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.ail-service-card--primary h3 {
  font-size: 30px;
}

.ail-service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-warm-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.ail-service-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-or-profond);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.ail-service-link i {
  width: 14px;
  height: 14px;
  margin: 0;
  color: var(--color-or-profond);
}

.ail-service-link:hover {
  gap: 10px;
}

@media (max-width: 1024px) {
  .ail-services__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. Situaties
   ========================================================================== */

.ail-situations {
  background: var(--color-white-bg);
}

.ail-situations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ail-situation-card {
  background: #fff;
  border: 1px solid rgba(11, 26, 46, 0.08);
  border-left: 3px solid var(--color-or-profond);
  border-radius: 2px;
  padding: 32px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.ail-situation-card i {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  color: var(--color-or-profond);
  flex-shrink: 0;
  margin-top: 2px;
}

.ail-situation-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.2px;
  color: var(--color-text-dark);
}

@media (max-width: 1024px) {
  .ail-situations__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ail-situations__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. Werkwijze
   ========================================================================== */

.ail-process {
  background: var(--color-white-bg);
}

.ail-process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.ail-process__timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(11, 26, 46, 0.12);
}

.ail-process__step {
  position: relative;
}

.ail-process__number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white-bg);
  border: 1px solid var(--color-or-profond);
  color: var(--color-or-profond);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.ail-process__step i {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  color: var(--color-or-profond);
  margin-bottom: 14px;
}

.ail-process__step h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--color-text-dark);
}

.ail-process__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-or-profond);
}

.ail-process__link i {
  width: 14px;
  height: 14px;
}

@media (max-width: 1024px) {
  .ail-process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .ail-process__timeline::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .ail-process__timeline {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. Onze werken
   ========================================================================== */

.ail-work {
  background: var(--color-white-bg);
}

.ail-work__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ail-case-card {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(11, 26, 46, 0.08);
}

.ail-case-card__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 4 / 3;
}

.ail-case-card__half {
  position: relative;
}

.ail-case-card__half .ail-media-ph {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border-width: 0;
}

.ail-case-card__half:first-child .ail-media-ph {
  border-right: 1px dashed rgba(11, 26, 46, 0.25);
}

.ail-case-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  background: var(--color-or-clair);
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 1;
}

.ail-case-card__body {
  padding: 18px 20px;
  background: #fff;
}

.ail-case-card__body p {
  font-size: 13px;
  color: var(--color-warm-muted);
}

.ail-work__footer {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .ail-work__row {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .ail-case-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  .ail-work__row {
    grid-auto-flow: column;
    grid-template-columns: repeat(3, 85%);
  }
}

/* ==========================================================================
   8. Reviews
   ========================================================================== */

.ail-reviews {
  background: var(--color-white-bg);
}

.ail-reviews__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.ail-reviews__header .ail-header {
  margin-bottom: 0;
}

.ail-rating-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(11, 26, 46, 0.1);
  padding: 16px 24px;
  border-radius: 4px;
}

.ail-rating-badge__score {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-or-profond);
  line-height: 1;
}

.ail-rating-badge__stars {
  color: var(--color-or-profond);
  letter-spacing: 2px;
  font-size: 15px;
  margin-bottom: 4px;
  display: block;
}

.ail-rating-badge__count {
  font-size: 12px;
  color: var(--color-warm-muted);
}

.ail-reviews__footer {
  text-align: center;
  margin-top: 32px;
}

/* ==========================================================================
   9. Zakelijk callout — smal, navy, geen full-width sectie
   ========================================================================== */

.ail-b2b-wrap {
  background: var(--color-white-bg);
  padding: 0 5% 120px;
}

@media (max-width: 600px) {
  .ail-b2b-wrap {
    padding: 0 5% 72px;
  }
}

.ail-b2b-logos {
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: center;
}

.ail-b2b-logos__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-warm-muted);
  margin-bottom: 24px;
}

.ail-b2b-logos__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ail-b2b-logo {
  width: 150px;
  height: 56px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ail-b2b-logo span {
  font-size: 10px;
}

.ail-b2b-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.ail-b2b-logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 600px) {
  .ail-b2b-logo {
    width: 120px;
    height: 48px;
  }
}

.ail-b2b {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--color-deep-navy);
  border-radius: 6px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ail-b2b__text {
  max-width: 520px;
}

.ail-b2b__text .ail-eyebrow {
  margin-bottom: 10px;
}

.ail-b2b__text h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--color-off-white);
  margin-bottom: 8px;
}

.ail-b2b__text p {
  font-size: 14px;
  color: var(--color-warm-muted);
}

@media (max-width: 600px) {
  .ail-b2b {
    padding: 32px 28px;
  }
}

/* ==========================================================================
   10. Slot-CTA
   ========================================================================== */

.ail-final-cta {
  background: var(--color-deep-navy);
  text-align: center;
}

.ail-final-cta .ail-container {
  max-width: 720px;
}

.ail-final-cta__sub {
  font-size: 16px;
  color: var(--color-warm-muted);
  margin: 16px 0 40px;
}

.ail-final-cta__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
