/* ============================================================
   JURISTLEXONLINE.NL — HOME PAGE STYLES
   Specifieke styling voor de homepage secties
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-deep);
  overflow: hidden;
}

/* Achtergrondafbeelding */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(15%) contrast(1.05);
}

/* Gradient overlay — navy dominant links, transparant rechts */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 25, 46, 0.92) 0%,
    rgba(8, 42, 71, 0.78) 50%,
    rgba(8, 42, 71, 0.40) 100%
  );
}

/* Subtiele goud-lijn textuur overlay (5% opacity) */
.hero__texture {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(190, 150, 80, 0.025) 80px,
    rgba(190, 150, 80, 0.025) 81px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 160px 0 100px;
  max-width: 680px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero__eyebrow-text {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.hero__title {
  color: var(--off-white);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
}

/* Gouden separator */
.hero__rule {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.75rem 0;
  opacity: 0.8;
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(250, 250, 248, 0.75);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Statistieken onderin hero */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  border-top: 1px solid rgba(190, 150, 80, 0.2);
  background: rgba(5, 25, 46, 0.65);
  backdrop-filter: blur(8px);
}

.hero__stats-inner {
  display: flex;
  divide: x;
}

.hero__stat {
  flex: 1;
  text-align: center;
  padding: 1.75rem 1rem;
  border-right: 1px solid rgba(190, 150, 80, 0.15);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}

.hero__stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(250, 250, 248, 0.5);
}

@media (max-width: 768px) {
  .hero__stats-inner {
    flex-wrap: wrap;
  }

  .hero__stat {
    flex: 0 0 50%;
  }

  .hero__stat:nth-child(2) {
    border-right: none;
  }

  .hero__stat:nth-child(1),
  .hero__stat:nth-child(2) {
    border-bottom: 1px solid rgba(190, 150, 80, 0.15);
  }
}


/* ══════════════════════════════════════════════════════════
   QUOTE BANNER
══════════════════════════════════════════════════════════ */

.quote-banner {
  position: relative;
  min-height: clamp(280px, 50vw, 420px);
  overflow: hidden;
}

.quote-banner__img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 50vw, 420px);
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(20%) contrast(1.05);
}

.quote-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 25, 46, 0.78) 0%,
    rgba(8, 42, 71, 0.45) 100%
  );
}

.quote-banner__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--gutter);
}

.quote-banner__content blockquote {
  text-align: center;
  max-width: 700px;
  margin: 0;
}

.quote-banner__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  color: var(--off-white);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  max-width: none;
}

.quote-banner__rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1rem;
}

.quote-banner__cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — HOME PAGE
══════════════════════════════════════════════════════════ */

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

  .process__step {
    padding: 2rem 1.5rem 1.75rem 0;
    border-bottom: 1px solid rgba(8, 42, 71, 0.08);
  }

  .process__step:nth-child(2n) {
    border-right: none;
    padding-right: 0;
    padding-left: 1.5rem;
  }

  .process__step:nth-child(2n+1) {
    padding-left: 0;
  }

  .process__step:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .practice-area-card {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    display: block;
  }

  .hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(5, 25, 46, 0.92) 0%,
      rgba(8, 42, 71, 0.82) 100%
    );
  }

  .hero__content {
    padding: 110px 0 2rem;
    max-width: none;
  }

  .hero__eyebrow {
    margin-bottom: 1.25rem;
  }

  .hero__eyebrow-text {
    letter-spacing: 0.14em;
  }

  .hero__title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    letter-spacing: 0.06em;
  }

  .hero__subtitle {
    max-width: none;
    margin-bottom: 1.75rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hero__stats {
    position: relative;
  }

  .hero__stat {
    padding: 1.1rem 0.75rem;
  }

  .hero__stat-number {
    font-size: 1.4rem;
  }

  .hero__stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
  }

  .section-header {
    margin-bottom: clamp(2rem, 5vw, 3rem);
  }

  .services__intro {
    max-width: none;
  }

  .about .grid--about-split {
    gap: 2rem;
  }

  .about__img-wrap {
    height: clamp(240px, 55vw, 360px);
  }

  .about__img-deco {
    display: none;
  }

  .about__content {
    padding: 0;
  }

  .practice-areas .section-header p {
    max-width: none;
  }

  .process__steps {
    grid-template-columns: 1fr;
    margin-top: var(--space-md);
  }

  .process__step {
    padding: 1.5rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(8, 42, 71, 0.08);
  }

  .process__step:not(:first-child),
  .process__step:nth-child(2n) {
    padding-left: 0;
  }

  .process__step:last-child {
    border-bottom: none;
  }

  .process__step-num {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .contact-cta__title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .contact-cta__sub {
    font-size: 1rem;
    max-width: none;
    padding: 0 0.5rem;
  }

  .contact-cta__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.5rem;
  }

  .contact-cta__actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .quote-banner__content {
    padding: 1.5rem var(--gutter);
  }
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: 76px;
  }

  .hero__content {
    padding-top: 96px;
  }

  .hero__stat-label {
    font-size: 0.58rem;
  }

  .hero__stat-number {
    font-size: 1.25rem;
  }

  .card__text,
  .practice-area-card__text {
    font-size: 0.8125rem;
  }
}

.services {
  background: var(--off-white);
}

.services__intro {
  font-size: var(--text-subtitle);
  line-height: 1.65;
  color: rgba(43, 43, 43, 0.75);
}


/* ══════════════════════════════════════════════════════════
   OVER ONS — SPLIT SECTIE
══════════════════════════════════════════════════════════ */

.about {
  background: var(--white);
}

.about .grid--about-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.about__img-wrap {
  position: relative;
  height: clamp(420px, 38vw, 520px);
  overflow: hidden;
}

.about__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(10%);
}

/* Goud kader-effect achter afbeelding */
.about__img-deco {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  opacity: 0.35;
  z-index: -1;
}

.about__content {
  padding: var(--space-lg) 0;
  min-width: 0;
}

.about__content h2,
.about__content p {
  max-width: none;
}

.about__values {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.about__value {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(8, 42, 71, 0.08);
}

.about__value-icon {
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.65rem;
}

.about__value-text {
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--anthracite);
  max-width: none;
}

.about__value-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
  margin-bottom: 0.2rem;
}


/* ══════════════════════════════════════════════════════════
   WERKGEBIEDEN — DONKERE SECTIE
══════════════════════════════════════════════════════════ */

.practice-areas {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Subtiele laurier-textuur op navy */
.practice-areas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 80% 20%,
    rgba(190, 150, 80, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.practice-areas .section-header h2,
.practice-areas .section-header .eyebrow {
  color: var(--off-white);
}

.practice-areas .section-header h2 {
  color: var(--off-white);
}

.practice-area-card {
  border: 1px solid rgba(190, 150, 80, 0.2);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.practice-area-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.practice-area-card:hover {
  border-color: rgba(190, 150, 80, 0.4);
  background: rgba(190, 150, 80, 0.04);
}

.practice-area-card:hover::after {
  transform: scaleX(1);
}

.practice-area-card__icon {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--gold);
  display: block;
}

.practice-area-card__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--off-white);
  margin-bottom: 0.75rem;
}

.practice-area-card__text {
  font-size: var(--text-small);
  color: rgba(250, 250, 248, 0.6);
  line-height: 1.7;
  max-width: none;
}


/* ══════════════════════════════════════════════════════════
   PROCESS — STAPPEN SECTIE
══════════════════════════════════════════════════════════ */

.process {
  background: var(--off-white);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(8, 42, 71, 0.12);
}

.process__step {
  padding: 2.5rem 2rem 2rem 0;
  border-right: 1px solid rgba(8, 42, 71, 0.08);
  position: relative;
}

.process__step:last-child {
  border-right: none;
}

.process__step:not(:first-child) {
  padding-left: 2rem;
}

.process__step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: rgba(8, 42, 71, 0.08);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.process__step-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.process__step-text {
  font-size: var(--text-small);
  color: rgba(43, 43, 43, 0.7);
  line-height: 1.65;
  max-width: none;
}


/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════ */

.testimonials {
  background: var(--white);
}


/* ══════════════════════════════════════════════════════════
   CONTACT CTA — DONKERE SECTIE
══════════════════════════════════════════════════════════ */

.contact-cta {
  background: var(--navy-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  opacity: 0.4;
}

.contact-cta__title {
  color: var(--off-white);
  max-width: 560px;
  margin: 0 auto var(--space-sm);
}

.contact-cta__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: rgba(250, 250, 248, 0.6);
  max-width: 44ch;
  margin: 0 auto var(--space-lg);
}

.contact-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIES
══════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
