/* Shared, non-interactive progress: no skipped steps or hidden navigation. */
.kfp-journey { --kfp-flow-ink:#313c35; --kfp-flow-accent:#435d4c; --kfp-flow-border:#dce0d5; box-sizing:border-box; max-width:1080px; margin:20px auto 28px; padding:18px; border:1px solid var(--kfp-flow-border); border-radius:12px; background:#f0f1e9; color:var(--kfp-flow-ink); text-align:left; }
.kfp-journey *, .kfp-journey *::before, .kfp-journey *::after { box-sizing:border-box; }
.kfp-journey ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:0; margin:0; list-style:none; }
.kfp-journey li { display:flex; align-items:center; gap:9px; min-width:0; margin:0; padding:11px 9px; border:1px solid transparent; border-radius:8px; font-size:12px; line-height:1.4; }
.kfp-journey-number { display:grid; place-items:center; flex:0 0 26px; width:26px; height:26px; border:1px solid #b6c1ac; border-radius:50%; font-size:12px; }
.kfp-journey li > div { min-width:0; }
.kfp-journey strong { display:block; font:inherit; font-weight:600; overflow-wrap:anywhere; }
.kfp-journey small { display:block; margin-top:3px; font-size:11px; color:#626b60; overflow-wrap:anywhere; }
.kfp-journey .is-current { background:#fcfbf7; border-color:var(--kfp-flow-accent); }
.kfp-journey .is-current .kfp-journey-number { background:var(--kfp-flow-accent); color:white; border-color:var(--kfp-flow-accent); }
.kfp-journey .is-current small { color:var(--kfp-flow-accent); font-weight:650; }
.kfp-journey .is-complete .kfp-journey-number { color:var(--kfp-flow-accent); background:#e2eadf; border-color:#a9baa5; font-weight:700; }
.kfp > .kfp-journey { grid-column:1/-1; width:100%; max-width:none; margin:0; border:0; border-bottom:1px solid var(--kfp-flow-border); border-radius:0; }
.kfp-order-review > .kfp-journey { margin:0 0 24px; padding:12px; }
@media(max-width:760px) { .kfp-journey ol { grid-template-columns:repeat(2,minmax(0,1fr)); } .kfp-journey { padding:12px; } .kfp-journey li { padding:9px 6px; gap:7px; } }
@container kfp-outer (max-width:760px) { .kfp-journey ol { grid-template-columns:repeat(2,minmax(0,1fr)); } .kfp-journey li { padding:9px 6px; gap:7px; } }

/* Kita: compact four-icon journey, including narrow phones. */
nav.kfp-journey[data-kfa-progress] {
  position: relative;
  padding: 12px 10px 32px;
}
nav.kfp-journey[data-kfa-progress] ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
nav.kfp-journey[data-kfa-progress] ol::before,
nav.kfp-journey[data-kfa-progress] ol::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 12.5%;
  height: 3px;
  border-radius: 3px;
  z-index: 0;
}
nav.kfp-journey[data-kfa-progress] ol::before { width: 75%; background: #cdd5c9; }
nav.kfp-journey[data-kfa-progress] ol::after { width: 0; background: #435d4c; transition: width .25s ease; }
nav.kfp-journey[data-progress-current="2"] ol::after { width: 25%; }
nav.kfp-journey[data-progress-current="3"] ol::after { width: 50%; }
nav.kfp-journey[data-progress-current="4"] ol::after { width: 75%; }
nav.kfp-journey[data-kfa-progress] li {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  z-index: 1;
}
nav.kfp-journey[data-kfa-progress] .kfp-journey-number {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid #b9c5b3;
  background: #f0f1e9;
  color: #788173;
  font-size: 0;
}
nav.kfp-journey[data-kfa-progress] .kfp-journey-number::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: var(--kfp-flow-icon) center / contain no-repeat;
  mask: var(--kfp-flow-icon) center / contain no-repeat;
}
nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="1"] {
  --kfp-flow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='4'/%3E%3Cpath d='m11 11 9 9m-3-3 3-3m-6 0 3-3'/%3E%3C/svg%3E");
}
nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="2"] {
  --kfp-flow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8' cy='9' r='1.5'/%3E%3Cpath d='m4 18 5-5 3 3 4-6 5 8'/%3E%3C/svg%3E");
}
nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="3"] {
  --kfp-flow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14l1 14H4L5 7Z'/%3E%3Cpath d='M8 8V6a4 4 0 0 1 8 0v2'/%3E%3C/svg%3E");
}
nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="4"] {
  --kfp-flow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='19' height='16' rx='2.5'/%3E%3Cpath d='M3 9h18M6 16h4'/%3E%3C/svg%3E");
}
nav.kfp-journey[data-kfa-progress] .is-current .kfp-journey-number {
  background: #435d4c;
  border-color: #435d4c;
  color: white;
  box-shadow: 0 0 0 3px #e2eadf;
}
nav.kfp-journey[data-kfa-progress] .is-complete .kfp-journey-number {
  --kfp-flow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
  background: #e2eadf;
  border-color: #9eb498;
  color: #435d4c;
  box-shadow: none;
}
nav.kfp-journey[data-kfa-progress] strong { font-size: 0; line-height: 14px; }
nav.kfp-journey[data-kfa-progress] strong::after { font-size: 11px; line-height: 14px; font-weight: 550; }
nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="1"] strong::after { content: "Code"; }
nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="2"] strong::after { content: "Übersicht"; }
nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="3"] strong::after { content: "Bestellung"; }
nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="4"] strong::after { content: "Bezahlung"; }
nav.kfp-journey[data-kfa-progress] .is-current strong::after { font-weight: 700; color: #435d4c; }
/* Keep full labels and completion information available to screen readers. */
nav.kfp-journey[data-kfa-progress] small {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
nav.kfp-journey[data-kfa-progress] [aria-current="step"] small,
nav.kfp-journey[data-kfa-progress]:not(:has([aria-current="step"])) li:last-child small {
  left: 0;
  right: 0;
  bottom: -22px;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  color: #435d4c;
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  nav.kfp-journey[data-kfa-progress] ol::after { transition: none; }
}
/* Short visual labels should not duplicate the full accessible labels. */
@supports (content: "Code" / "") {
  nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="1"] strong::after { content: "Code" / ""; }
  nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="2"] strong::after { content: "Übersicht" / ""; }
  nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="3"] strong::after { content: "Bestellung" / ""; }
  nav.kfp-journey[data-kfa-progress] [data-kfa-progress-step="4"] strong::after { content: "Bezahlung" / ""; }
}

/* Kita: four step labels and icons only; status remains accessible. */
nav.kfp-journey[data-kfa-progress] {
  padding: 12px 10px;
}
nav.kfp-journey[data-kfa-progress] [aria-current="step"] small,
nav.kfp-journey[data-kfa-progress]:not(:has([aria-current="step"])) li:last-child small {
  position: absolute;
  left: 0;
  right: auto;
  bottom: auto;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
