/* ============================================================
   HERO — Ambtenaar.online
   Variant gestuurd door body-class: .hero-variant-{naam}
   Varianten: content-first | split | duotone | organic |
              editorial | floating-pill | search-bar
   ============================================================ */

/* ============================================================
   1. CONTENT-FIRST (default homepage)
   Editoriële hero: groot serif-citaat links, foto rechts
   ============================================================ */

.hero-content-first {
  background: var(--color-cream);
  padding: clamp(48px, 6vw, 96px) 0 clamp(48px, 6vw, 88px);
}

.hero-content-first .ed-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.hero-content-first .ed-hero-copy {
  max-width: 580px;
}

.hero-content-first .eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-xwide);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.hero-content-first h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  font-weight: var(--fw-regular);
  color: var(--color-navy);
  margin: 0;
  text-wrap: balance;
}

.hero-content-first h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-content-first .ed-hero-lead {
  margin-top: var(--space-5);
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  color: var(--color-text-muted);
  max-width: 52ch;
}

.hero-content-first .ed-hero-cta {
  margin-top: var(--space-8);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-content-first .ed-hero-img {
  margin: 0;
}

.hero-content-first .ed-hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-cream-deep);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

.hero-content-first .ed-hero-photo-frame img,
.hero-content-first .ed-hero-photo-frame .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Logo-strip — stijl wordt bepaald door components.css */

.logo-strip-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-xwide);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  text-align: center;
}

.logo-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-8);
  align-items: center;
  justify-items: center;
  opacity: 0.7;
}

.logo-strip-grid img {
  max-height: 40px;
  width: auto;
  filter: grayscale(1);
}

/* ============================================================
   2. CLASSIC SPLIT (foto rechts, tekst links)
   ============================================================ */

.hero-classic {
  background: var(--color-cream);
  padding: clamp(48px, 6vw, 96px) 0;
  position: relative;
  overflow: hidden;
}

.hero-classic .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.hero-classic .hero-copy {
  max-width: 580px;
}

.hero-classic .eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-xwide);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.hero-classic h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: var(--ls-tight);
  font-weight: var(--fw-regular);
  color: var(--color-navy);
  margin: 0;
  text-wrap: balance;
}

.hero-classic h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-classic .hero-lead {
  margin-top: var(--space-5);
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  color: var(--color-text-muted);
  max-width: 52ch;
}

.hero-classic .hero-cta {
  margin-top: var(--space-8);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-classic .hero-stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(11, 26, 54, 0.12);
  flex-wrap: wrap;
}

.hero-classic .hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-classic .hero-stats strong {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: var(--fw-regular);
  color: var(--color-navy);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}

.hero-classic .hero-stats span {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.hero-classic .hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-cream-deep);
  box-shadow: var(--shadow-lg);
}

.hero-classic .hero-photo img,
.hero-classic .hero-photo .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   3. SEARCH BAR (full-bleed navy band, optioneel onder hero)
   ============================================================ */

.search-bar {
  background: var(--color-navy);
  color: var(--color-text-inverse);
  padding: var(--space-12) 0;
}

.search-bar-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 22px;
  gap: var(--space-2);
}

.search-bar-form .search-field {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.search-bar-form .search-field + .search-field {
  border-left: 1px solid rgba(255,255,255,0.12);
}

.search-bar-form .search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.search-bar-form .search-field input::placeholder {
  color: rgba(255,255,255,0.5);
}

.search-bar-form .search-field-icon {
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

.search-bar-btn {
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  background: var(--color-accent);
  color: #fff;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background var(--transition);
}

.search-bar-btn:hover {
  background: var(--color-accent-hover);
}

.search-bar-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
}

.search-bar-shortcuts > span {
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.search-bar-shortcuts a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  transition: all var(--transition);
}

.search-bar-shortcuts a:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

/* ============================================================
   4. RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .hero-content-first .ed-hero-grid,
  .hero-classic .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-content-first .ed-hero-img,
  .hero-classic .hero-photo {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .search-bar-form {
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
    padding: 8px;
  }

  .search-bar-form .search-field + .search-field {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
}