/* Home — hero, key figures, values, about teaser. */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, calc(100svh - var(--nw-header-h)), 860px);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(8rem, 13vw, 10rem);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -2;
  background: var(--nw-red-ink);
}

.hero__media img {
  object-fit: cover;
  object-position: 72% 35%;
  animation: nw-hero-zoom 18s ease-out both;
}

@media (orientation: portrait) and (max-width: 767.98px) {
  .hero__media img { object-position: 50% 30%; }
}

@keyframes nw-hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(24 10 12 / 90%) 0%, rgb(24 10 12 / 70%) 40%, rgb(24 10 12 / 22%) 76%, rgb(24 10 12 / 10%) 100%),
    linear-gradient(0deg, rgb(24 10 12 / 60%) 0%, transparent 38%);
}

.hero__eyebrow {
  animation: nw-rise 0.6s var(--nw-ease) both;
}

/* Sized so "Neumann-Wolff AG" (kept on one line) fits down to 320px. */
.hero__title {
  max-width: 1000px;
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: clamp(1.8rem, 8.4vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  animation: nw-rise 0.7s var(--nw-ease) 0.06s both;
}

.hero__group {
  max-width: 680px;
  margin: 0 0 1.25rem;
  color: var(--nw-rose-200);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  animation: nw-rise 0.7s var(--nw-ease) 0.12s both;
}

.hero__intro {
  max-width: 560px;
  margin: 0 0 2.25rem;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  animation: nw-rise 0.7s var(--nw-ease) 0.18s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: nw-rise 0.7s var(--nw-ease) 0.24s both;
}

.hero__scroll {
  position: absolute;
  bottom: clamp(5.75rem, 10vw, 7rem);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgb(255 255 255 / 75%);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__scroll:hover {
  color: #fff;
}

.hero__scroll .icon {
  animation: nw-bob 2.2s ease-in-out infinite;
}

@keyframes nw-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 767.98px) {
  .hero__scroll { display: none; }
  .hero__scrim {
    background:
      linear-gradient(90deg, rgb(24 10 12 / 88%) 0%, rgb(24 10 12 / 62%) 100%),
      linear-gradient(0deg, rgb(24 10 12 / 60%) 0%, transparent 40%);
  }
}

/* Key figures, overlapping the bottom of the hero. */
.stats {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(3.75rem, 7vw, 5rem));
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(0.75rem, 2.5vw, 1.75rem);
  border-radius: var(--nw-radius-lg);
  background: #fff;
  box-shadow: var(--nw-shadow-lg);
}

.stats__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 0.5rem clamp(0.75rem, 2vw, 1.5rem);
}

.stats__item + .stats__item {
  border-left: 1px solid var(--nw-line);
}

.stats__value {
  margin: 0;
  color: var(--nw-red);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.stats__label {
  color: var(--nw-muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .stats__item:nth-child(3) {
    border-left: 0;
  }
}

/* Values — bento grid, first card featured. */
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.6rem;
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-radius);
  background: #fff;
  transition: transform 0.35s var(--nw-ease), box-shadow 0.35s var(--nw-ease), border-color 0.35s ease;
}

.value-card:hover {
  border-color: var(--nw-rose-300);
  box-shadow: var(--nw-shadow);
  transform: translateY(-4px);
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--nw-rose-50);
}

.value-card__icon img {
  width: 48px;
  height: 48px;
}

.value-card__text {
  margin: 0;
  color: var(--nw-ink);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.value-card--feature {
  position: relative;
  grid-column: span 2;
  justify-content: space-between;
  min-height: 230px;
  overflow: hidden;
  border-color: transparent;
  background:
    radial-gradient(circle at 92% 8%, rgb(217 179 184 / 32%), transparent 45%),
    linear-gradient(135deg, var(--nw-red) 0%, var(--nw-red-deep) 100%);
  isolation: isolate;
}

.value-card--feature::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgb(255 255 255 / 7%);
}

.value-card--feature .value-card__icon {
  background: rgb(255 255 255 / 94%);
}

.value-card--feature .value-card__text {
  max-width: 420px;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (max-width: 991.98px) {
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .values__grid { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }

  .value-card {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
  }

  .value-card__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .value-card__icon img {
    width: 36px;
    height: 36px;
  }

  .value-card__text { font-size: 1rem; }

  .value-card--feature {
    grid-column: auto;
    min-height: 0;
    padding: 1.25rem 1.1rem;
  }

  .value-card--feature .value-card__text { font-size: 1.3rem; }
}

/* About teaser. */
.about-teaser .split__media {
  max-width: 540px;
}

/* "Since 1949" pill under the section title. */
.since-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--nw-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nw-shadow-sm);
}

.since-badge strong {
  color: var(--nw-red);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.since-badge span {
  padding-left: 0.75rem;
  border-left: 1px solid var(--nw-line);
  color: var(--nw-muted);
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .about-teaser .split__media { margin-inline: auto; }
}
