/* Ablauf Page Specific Styles */

.ablauf-hero {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.9) 100%);
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.ablauf-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.ablauf-header {
  position: relative;
  z-index: 1;
}

.ablauf-title {
  font-size: 4.5rem;
  font-weight: 200;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: hsl(0, 0%, 100%);
  margin-bottom: 2rem;
}

.ablauf-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: hsl(0, 0%, 75%);
  letter-spacing: 0.02em;
  line-height: 1.8;
  max-width: 700px;
}

@media (min-width: 1024px) {
  .ablauf-title {
    font-size: 6.5rem;
  }
}

.ablauf-container {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.ablauf-content {
  position: relative;
  z-index: 1;
}

.ablauf-intro {
  font-size: 1.375rem;
  font-weight: 300;
  color: hsl(0, 0%, 75%);
  line-height: 1.9;
  max-width: 900px;
  margin: 0 auto 6rem;
  text-align: center;
}

.ablauf-steps {
  display: grid;
  gap: 0;
  position: relative;
}

.ablauf-step {
  position: relative;
  padding: 5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ablauf-step:last-child {
  border-bottom: none;
}

.ablauf-step-inner {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 5rem;
  align-items: start;
}

.ablauf-step-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 5rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  position: sticky;
  top: 120px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ablauf-step:hover .ablauf-step-number {
  color: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.ablauf-step-content {
  padding-left: 3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ablauf-step-content::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, transparent 100%);
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ablauf-step:hover .ablauf-step-content::before {
  height: 100%;
}

.ablauf-step:hover .ablauf-step-content {
  border-left-color: rgba(255, 255, 255, 0.15);
  padding-left: 3.5rem;
}

.ablauf-step-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: hsl(0, 0%, 100%);
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.ablauf-step-description {
  font-size: 1.125rem;
  font-weight: 300;
  color: hsl(0, 0%, 65%);
  line-height: 2;
  margin-bottom: 2rem;
}

.ablauf-step-goal {
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, hsl(0, 0%, 7%) 0%, hsl(0, 0%, 5%) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  margin-top: 2.5rem;
}

.ablauf-step-goal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.ablauf-step-goal-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(0, 0%, 100%);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ablauf-step-goal-text {
  font-size: 1rem;
  font-weight: 300;
  color: hsl(0, 0%, 80%);
  line-height: 1.8;
}

.ablauf-summary {
  margin-top: 6rem;
  padding: 5rem;
  background: linear-gradient(135deg, hsl(0, 0%, 7%) 0%, hsl(0, 0%, 5%) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  text-align: center;
}

.ablauf-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.ablauf-summary-title {
  font-size: 2rem;
  font-weight: 300;
  color: hsl(0, 0%, 100%);
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.ablauf-summary-text {
  font-size: 1.25rem;
  font-weight: 300;
  color: hsl(0, 0%, 70%);
  line-height: 2;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .ablauf-step-inner {
    grid-template-columns: 80px 1fr;
    gap: 3rem;
  }

  .ablauf-step-number {
    font-size: 3.5rem;
    top: 100px;
  }

  .ablauf-step-content {
    padding-left: 2rem;
  }

  .ablauf-step:hover .ablauf-step-content {
    padding-left: 2.5rem;
  }
}

@media (max-width: 768px) {
  .ablauf-title {
    font-size: 2.5rem;
  }

  .ablauf-subtitle {
    font-size: 1rem;
  }

  .ablauf-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .ablauf-intro {
    font-size: 1.125rem;
    margin-bottom: 4rem;
  }

  .ablauf-step {
    padding: 3rem 0;
  }

  .ablauf-step-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ablauf-step-number {
    position: relative;
    top: 0;
    font-size: 3rem;
  }

  .ablauf-step-content {
    padding-left: 1.5rem;
  }

  .ablauf-step:hover .ablauf-step-content {
    padding-left: 2rem;
  }

  .ablauf-step-title {
    font-size: 1.75rem;
  }

  .ablauf-step-description {
    font-size: 1rem;
  }

  .ablauf-step-goal {
    padding: 1.5rem 2rem;
  }

  .ablauf-summary {
    padding: 3rem 2rem;
    margin-top: 4rem;
  }

  .ablauf-summary-title {
    font-size: 1.5rem;
  }

  .ablauf-summary-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .ablauf-title {
    font-size: 2rem;
  }

  .ablauf-step-number {
    font-size: 2.5rem;
  }

  .ablauf-step-content {
    padding-left: 1rem;
  }

  .ablauf-step:hover .ablauf-step-content {
    padding-left: 1.5rem;
  }

  .ablauf-step-title {
    font-size: 1.5rem;
  }

  .ablauf-step-description {
    font-size: 0.9375rem;
  }

  .ablauf-step-goal {
    padding: 1.25rem 1.5rem;
  }

  .ablauf-summary {
    padding: 2rem 1.5rem;
  }
}
