/* Energieaudit — process steps as linked green chevron arrows */

.ee-page-content .benefit-section {
  padding: 4rem 0;
}

.ee-page-content .section-subtitle-2 {
  color: #006a68;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.ee-page-content .section-title-2 {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: #191c1e;
}

.ee-audit-steps {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.ee-audit-steps__step {
  --ee-arrow-notch: 14px;
  position: relative;
  flex: 1 1 0;
  min-width: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.75rem calc(var(--ee-arrow-notch) + 6px) 0.75rem calc(var(--ee-arrow-notch) + 10px);
  background: #006a68;
  color: #fff;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(0.625rem, 1.1vw, 0.8125rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  clip-path: polygon(
    0 0,
    calc(100% - var(--ee-arrow-notch)) 0,
    100% 50%,
    calc(100% - var(--ee-arrow-notch)) 100%,
    0 100%,
    var(--ee-arrow-notch) 50%
  );
  margin-left: calc(var(--ee-arrow-notch) * -1 + 2px);
}

.ee-audit-steps__step:first-child {
  margin-left: 0;
  padding-left: 0.75rem;
  clip-path: polygon(
    0 0,
    calc(100% - var(--ee-arrow-notch)) 0,
    100% 50%,
    calc(100% - var(--ee-arrow-notch)) 100%,
    0 100%
  );
  z-index: 1;
}

.ee-audit-steps__step:nth-child(2) { z-index: 2; }
.ee-audit-steps__step:nth-child(3) { z-index: 3; }
.ee-audit-steps__step:nth-child(4) { z-index: 4; }
.ee-audit-steps__step:nth-child(5) { z-index: 5; }
.ee-audit-steps__step:nth-child(6) { z-index: 6; }

.ee-audit-steps__step--last,
.ee-audit-steps__step:last-child {
  padding-right: 0.75rem;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%,
    var(--ee-arrow-notch) 50%
  );
  z-index: 7;
}

.ee-audit-steps__step:hover {
  background: #31b0ae;
}

@media (max-width: 767px) {
  .ee-audit-steps__step {
    min-width: 96px;
    flex: 0 0 auto;
  }
}
