/* process_steps "Ablauf" (templates/blocks/process_steps_block.html):
   timeline, horizontal from 992px, vertical below. Tokens: agrex.css. */
.agx-ps__head { margin-bottom: 40px; }
.agx-ps .agx-eyebrow { margin-bottom: 12px; }
.agx-ps__title { margin: 0; }

/* Vertical timeline (below 992px): line on the left through the dots. */
.agx-ps__steps {
  --agx-ps-dot: 12px;
  position: relative;
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agx-ps__steps::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: calc(var(--agx-ps-dot) / 2 - 0.5px);
  width: 1px;
  background: var(--agx-line);
}
.agx-ps__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 32px;
}
.agx-ps__dot {
  position: absolute;
  top: 6px;
  left: 0;
  width: var(--agx-ps-dot);
  height: var(--agx-ps-dot);
  border: 1.5px solid var(--agx-teal);
  border-radius: 50%;
  background: var(--agx-white);
}
.agx-ps__step:first-child .agx-ps__dot { background: var(--agx-teal); }
.agx-ps__num {
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--agx-ink);
  font-variant-numeric: tabular-nums;
}
.agx-ps__step-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--agx-ink);
}
.agx-ps__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--agx-text);
}

/* CTA row */
.agx-ps__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--agx-line);
}
.agx-ps__note { margin: 0; font-size: 15px; color: var(--agx-text); }
@media (min-width: 576px) {
  .agx-ps__cta { flex-direction: row; align-items: center; }
}

/* Horizontal timeline (from 992px): line at the dots' height, from the
   first dot to the right edge; one column per step. */
@media (min-width: 992px) {
  .agx-ps__steps {
    grid-template-columns: repeat(var(--agx-ps-n, 4), minmax(0, 1fr));
    gap: 0;
  }
  .agx-ps__steps::before {
    top: calc(var(--agx-ps-dot) / 2 - 0.5px);
    bottom: auto;
    left: calc(var(--agx-ps-dot) / 2);
    right: 0;
    width: auto;
    height: 1px;
  }
  .agx-ps__step { padding: 0 24px 0 0; }
  .agx-ps__dot { position: relative; top: 0; margin-bottom: 8px; }
  .agx-ps__num { font-size: 44px; }
}
