/* The available width of the process, including split layouts, determines its direction. */
.nx-flow-frame {
  container: nexora-flow / inline-size;
  min-width: 0;
  width: 100%;
}
/* Separate a preceding introduction or contact link from the first station. */
:is(#main, #inhalt, main) .s51-body > * + .nx-flow-frame,
:is(#main, #inhalt, main) .c51-wrap > * + .nx-flow-frame {
  margin-block-start: clamp(1.35rem, 2.4vw, 2rem);
}
:is(#main, #inhalt, main) .nx-flow {
  --station: 2.9rem;
  --flow-columns: 3;
  --ink: #504660;
  --rail: #b4abc3;
  --row-gap: 1.45rem;
  --column-gap: clamp(1.4rem, 3vw, 2.65rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--row-gap);
  list-style: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
:is(#main, #inhalt, main) .nx-flow > li {
  position: relative;
  display: grid;
  grid-template-columns: var(--station) minmax(0,1fr);
  align-items: start;
  gap: 0 1rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  list-style: none;
  background: transparent;
  box-shadow: none;
}
:is(#main, #inhalt, main) .nx-flow > li::before,
:is(#main, #inhalt, main) .nx-flow > li::after,
:is(#main, #inhalt, main) .nx-flow > li::marker {
  content: none;
}
.nx-flow-stop {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--station);
  height: var(--station);
  border-radius: 32%;
  border: 1px solid #c8c1d2;
  color: var(--ink);
  background: linear-gradient(145deg, #fff 24%, #efeaf5);
  box-shadow: inset 0 1px #fff, 0 3px 0 -1px #d9d3e2, 0 6px 11px -6px #55456355;
}
.nx-flow > :last-child .nx-flow-stop {
  border-color: #b8bd82;
  background: linear-gradient(145deg, #fbfce9, #e4e9a8);
  box-shadow: inset 0 1px #fff, 0 3px 0 -1px #cbcf9a, 0 6px 11px -6px #5c5f3455;
  color: #424622;
}
.nx-flow-stop > svg {display: block; width: 1.55rem; height: 1.55rem}
:is(#main, #inhalt, main) .nx-flow-copy {min-width: 0; padding: .18rem 0 0}
:is(#main, #inhalt, main) .nx-flow-copy > h3 {
  font: inherit;
  font-size: clamp(1.12rem, 1rem + .35vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: #17131c;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}
:is(#main, #inhalt, main) .nx-flow-copy > p {
  margin: .5rem 0 0;
  max-width: 65ch;
  line-height: 1.55;
  color: #49434f;
}
.nx-flow-link {
  position: absolute;
  pointer-events: none;
  left: calc(var(--station) / 2 - 9px);
  top: calc(var(--station) + 5px);
  bottom: calc(0px - var(--row-gap) + 5px);
  width: 18px;
  color: var(--rail);
}
.nx-flow-link > svg {display: block; width: 100%; height: 100%; overflow: visible}
.nx-flow-link > .nx-flow-across {display: none}
.nx-flow-base, .nx-flow-accent {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.nx-flow-accent {
  stroke: #726283;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.nx-flow-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5px;
  height: 5px;
  box-sizing: content-box;
  border: solid #837591;
  border-width: 0 1.5px 1.5px 0;
  transform: translate(-50%,0) rotate(45deg);
}
:is(#main, #inhalt, main) .nx-flow-four {--flow-columns: 4}
@container nexora-flow (min-width: 50rem) {
  :is(#main, #inhalt, main) .nx-flow {
    grid-template-columns: repeat(var(--flow-columns), minmax(0, 1fr));
    column-gap: var(--column-gap);
  }
  :is(#main, #inhalt, main) .nx-flow > li {display: block}
  :is(#main, #inhalt, main) .nx-flow .nx-flow-copy {padding: 1.05rem 0 0}
  :is(#main, #inhalt, main) .nx-flow .nx-flow-link {
    top: calc(var(--station) / 2 - 12px);
    bottom: auto;
    left: calc(var(--station) + 7px);
    right: calc(7px - var(--column-gap));
    width: auto;
    height: 24px;
  }
  :is(#main, #inhalt, main) .nx-flow .nx-flow-across {display: block}
  :is(#main, #inhalt, main) .nx-flow .nx-flow-down {display: none}
  :is(#main, #inhalt, main) .nx-flow .nx-flow-link::after {
    bottom: auto;
    left: auto;
    right: 0;
    top: 50%;
    transform: translate(0,-50%) rotate(-45deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .nx-flow.is-tracing .nx-flow-accent {
    animation: nx-flow-trace 520ms cubic-bezier(.32,.02,.39,1) both;
  }
  .nx-flow.is-tracing > li:nth-child(2) .nx-flow-accent {animation-delay: 500ms}
  .nx-flow.is-tracing > li:nth-child(3) .nx-flow-accent {animation-delay: 1000ms}
  @keyframes nx-flow-trace {from {stroke-dashoffset: 1} to {stroke-dashoffset: 0}}
}
@media print {
  .nx-flow {break-inside: avoid}
  .nx-flow-stop {box-shadow: none}
  .nx-flow-accent {animation: none}
}
