@charset "UTF-8";

.whc-hero-h1 {
  color: var(--primary);
}

.whc-intro-lead {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2.5rem;
}

.hw-value-card {
  text-align: center;
  padding: 1rem 1rem 0;
}

.hw-value-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
  transition: transform .25s ease, background-color .25s ease;
}

.hw-value-ring svg {
  display: block;
  max-width: 70%;
  height: auto;
}

.hw-value-card:hover .hw-value-ring {
  transform: scale(1.1);
  background: var(--secondary);
}

.hw-value-card h3 {
  font-family: var(--brand-font-heading, 'Cardo', serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: .6rem;
}

.hw-value-card p {
  color: var(--muted);
}

.hw-value-card--promise {
  background: #f3f4f6;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
}

.hw-value-col.pm-reveal {
  transform: translateY(24px) scale(.96);
}
.hw-value-col.pm-reveal.is-visible {
  transform: translateY(0) scale(1);
}
.hw-value-col:nth-child(1) { transition-delay: 0s; }
.hw-value-col:nth-child(2) { transition-delay: .2s; }
.hw-value-col:nth-child(3) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .hw-value-col { transition-delay: 0s !important; }
}

.hero-img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-img {
    aspect-ratio: auto;
    height: auto;
    object-fit: initial;
  }
}

.hw-inline-img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 1rem;
}

.hw-brand-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow .25s ease, transform .25s ease;
  overflow: hidden;
}

.hw-brand-circle:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.hw-brand-logo {
  max-width: 62%;
  max-height: 62%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .25s ease;
}

.hw-brand-circle:hover .hw-brand-logo {
  transform: scale(1.15);
}

.hw-brand-name-only {
  font-family: var(--brand-font-heading, 'Cardo', serif);
  font-style: italic;
  color: var(--muted);
  font-size: .5rem;
  line-height: 1.1;
  text-align: center;
  padding: 0 2px;
}

@media (min-width: 768px) {
  .hw-brand-circle {
    width: 84px;
    height: 84px;
  }

  .hw-brand-name-only {
    font-size: .7rem;
  }
}

@media (min-width: 992px) {
  .hw-brand-circle {
    width: 112px;
    height: 112px;
  }

  .hw-brand-name-only {
    font-size: .8rem;
  }

  .hw-brands-row > .col {
    flex: 0 0 auto;
    width: 14.2857%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hw-brand-circle,
  .hw-brand-logo { transition: none !important; }
}

/* WH Care's own 3-panel hero (whc_philosophie.inc.php) — three photos side
   by side, full page width with a small side gutter, capped at a fixed
   height (no fixed aspect ratio — object-fit:cover just crops each photo
   to fill whatever box results) so a wide viewport doesn't blow the hero
   up huge. On mobile there's no room for all three at once, so it becomes
   a horizontally scrollable, snap-scrolling strip instead. */
.whc-tri-hero-wrap {
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}

.whc-tri-hero {
  display: flex;
  gap: 6px;
}

.whc-tri-hero__panel {
  flex: 1 1 0;
  min-width: 0;
  height: 70vh;
  overflow: hidden;
  border-radius: 1rem;
}

.whc-tri-hero__panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Staggered fade-in, one panel after another, instead of all three
   popping in together the instant this (above-the-fold) element is
   observed as visible — same nth-child stagger pattern as .hw-value-col
   further down this page. */
.whc-tri-hero__panel:nth-child(1) { transition-delay: .1s; }
.whc-tri-hero__panel:nth-child(2) { transition-delay: .3s; }
.whc-tri-hero__panel:nth-child(3) { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  .whc-tri-hero__panel { transition-delay: 0s !important; }
}

@media (max-width: 767.98px) {
  .whc-tri-hero {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .whc-tri-hero__panel {
    flex: 0 0 80%;
    height: 45vh;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whc-tri-hero {
    scroll-behavior: auto;
  }
}
