/* ========================================
   Process Section – Horizontal Scroll Cards
   kiwebsites.com
   ======================================== */

#prozess {
  position: relative;
  height: 600px;
  background: #f5f5f5;
  color: #111;
  overflow: hidden;
}

body.revealed #prozess {
  background: #f5f5f5;
  color: #111;
}

.prozess-header {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.prozess-header h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: var(--fw-bold);
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prozess-wrap {
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.horizontal-track {
  display: flex;
  align-items: center;
  will-change: transform;
  padding: 0 40px;
  gap: 0;
}

/* ---- Step Cards ---- */
.step-card {
  min-width: 380px;
  max-width: 420px;
  background:
    radial-gradient(circle at bottom left, rgba(223, 34, 50, 0.06), transparent 45%),
    radial-gradient(circle at bottom right, rgba(223, 34, 50, 0.04), transparent 45%),
    #ffffff;
  padding: 44px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  opacity: 0.15;
  transform: scale(0.92);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.step-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(223, 34, 50, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* ---- Step Header ---- */
.step-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.step-icon svg {
  fill: #df2232;
  width: 44px;
  height: 44px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 8px rgba(223, 34, 50, 0.25));
}

.step-card.active .step-icon svg {
  transform: scale(1.12);
}

.step-label {
  color: #999;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 6px;
}

.step-title {
  font-size: 1.6rem;
  font-weight: var(--fw-bold);
  margin: 0 0 10px;
  line-height: 1.25;
  color: #111;
}

.step-subtitle {
  color: #df2232;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-text {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.step-duration {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.5);
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-duration svg {
  width: 16px;
  height: 16px;
  fill: #df2232;
}

/* ---- Arrow Connectors ---- */
.arrow-connector {
  width: 140px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.arrow-path {
  fill: none;
  stroke: #df2232;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 0.5s ease;
}

.flip-y {
  transform: scaleY(-1);
}

/* ---- CTA Card ---- */
.step-card.cta-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 340px;
}

.cta-card__title {
  font-size: 1.8rem;
  font-weight: var(--fw-black);
  margin-bottom: 24px;
  color: #111;
}

.cta-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #df2232;
  color: #fff;
  border-radius: 200px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-card__btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(223, 34, 50, 0.35);
}

.cta-card__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  #prozess {
    height: 500px;
  }

  .step-card {
    min-width: 300px;
    max-width: 320px;
    padding: 32px;
  }

  .step-title {
    font-size: 1.3rem;
  }

  .arrow-connector {
    width: 80px;
  }

  .horizontal-track {
    padding: 0 20px;
  }
}
