/*
 * JHB Ambulante Hilfen – Prozessmodul
 * Version 1.4.2
 *
 * Eigenständige Komponente, bewusst nach dem Seiten-Stylesheet geladen.
 * Dadurch bleibt das Modul unabhängig von Cache-/Minify-Ständen des großen
 * Seitenbundles und lässt sich ohne globale Overrides warten.
 */

.jhb-ambulant-page .jah-section--process {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 148px;
  padding: 82px 0 96px;
  background:
    radial-gradient(640px 300px at 8% 18%, rgba(233, 98, 11, .055), transparent 72%),
    radial-gradient(620px 320px at 92% 82%, rgba(85, 113, 95, .055), transparent 74%),
    linear-gradient(180deg, #fffdfa 0%, #faf6ef 100%);
}

.jhb-ambulant-page .jah-section--process .jah-section-head {
  max-width: 760px;
  margin: 0 auto 42px;
}

.jhb-ambulant-page .jah-section--process .jah-section-head h2 {
  max-width: none;
}

.jhb-ambulant-page .jah-process-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.28fr) minmax(0, .92fr);
  grid-template-areas: "payer journey prepare";
  width: min(100%, 1120px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(24, 50, 67, .09);
  border-radius: 30px;
  background: rgba(255, 253, 249, .94);
  box-shadow:
    0 28px 72px rgba(20, 39, 49, .09),
    inset 0 1px 0 rgba(255, 255, 255, .96);
}

.jhb-ambulant-page .jah-process-story::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(233, 98, 11, .85),
    rgba(233, 98, 11, .22) 42%,
    rgba(85, 113, 95, .42) 76%,
    rgba(85, 113, 95, .82)
  );
}

.jhb-ambulant-page .jah-process-story::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 30%;
  top: -170px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 98, 11, .065), transparent 69%);
  pointer-events: none;
}

.jhb-ambulant-page .jah-process-story__payer,
.jhb-ambulant-page .jah-process-story__journey,
.jhb-ambulant-page .jah-process-story__prepare {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 42px 34px 40px;
}

.jhb-ambulant-page .jah-process-story__payer {
  grid-area: payer;
  border-right: 1px solid rgba(24, 50, 67, .075);
  background: linear-gradient(155deg, rgba(255, 246, 237, .84), rgba(255, 253, 249, .34));
}

.jhb-ambulant-page .jah-process-story__journey {
  grid-area: journey;
  padding-inline: 42px;
  background: rgba(255, 255, 255, .56);
}

.jhb-ambulant-page .jah-process-story__prepare {
  grid-area: prepare;
  border-left: 1px solid rgba(24, 50, 67, .075);
  background: linear-gradient(205deg, rgba(238, 246, 239, .78), rgba(255, 253, 249, .35));
}

.jhb-ambulant-page .jah-process-story__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
}

.jhb-ambulant-page .jah-process-story__number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(24, 50, 67, .08);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #b65317;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 7px 18px rgba(20, 39, 49, .055);
}

.jhb-ambulant-page .jah-process-story__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 6px 10px;
  border: 1px solid rgba(233, 98, 11, .15);
  border-radius: 999px;
  background: rgba(255, 253, 249, .72);
  color: #9a531f;
  font-size: .64rem;
  font-weight: 880;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.jhb-ambulant-page .jah-process-story h3 {
  margin: 0;
  color: var(--jah-ink, #183243);
  font-size: clamp(1.34rem, 1.55vw, 1.62rem);
  font-weight: 860;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.jhb-ambulant-page .jah-process-story__copy {
  margin-top: 20px;
  color: #526b7a;
  font-size: .97rem;
  line-height: 1.66;
}

.jhb-ambulant-page .jah-process-story__copy p {
  margin: 0 0 10px;
}

.jhb-ambulant-page .jah-process-story__copy p:last-child {
  margin-bottom: 0;
}

.jhb-ambulant-page .jah-process-story__copy strong {
  color: #2d4a5c;
  font-weight: 820;
}

.jhb-ambulant-page .jah-process-story__service-note {
  position: relative;
  margin: 24px 0 0;
  padding: 16px 0 0 17px;
  border-top: 1px solid rgba(184, 80, 18, .13);
  color: #496651;
  font-size: .86rem;
  font-weight: 720;
  line-height: 1.48;
}

.jhb-ambulant-page .jah-process-story__service-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5d8565;
  box-shadow: 0 0 0 5px rgba(93, 133, 101, .10);
}

.jhb-ambulant-page .jah-process-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.jhb-ambulant-page .jah-process-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 66px;
  padding: 0 0 20px;
}

.jhb-ambulant-page .jah-process-steps li:last-child {
  min-height: 42px;
  padding-bottom: 0;
}

.jhb-ambulant-page .jah-process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: linear-gradient(180deg, rgba(233, 98, 11, .34), rgba(85, 113, 95, .19));
}

.jhb-ambulant-page .jah-process-steps__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(233, 98, 11, .17);
  border-radius: 50%;
  background: #fffdfa;
  color: #b65317;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .07em;
  box-shadow: 0 8px 20px rgba(20, 39, 49, .07);
}

.jhb-ambulant-page .jah-process-steps__text {
  padding-top: 8px;
  color: #324e60;
  font-size: .94rem;
  font-weight: 760;
  line-height: 1.44;
}

.jhb-ambulant-page .jah-process-prep-list {
  display: grid;
  gap: 13px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.jhb-ambulant-page .jah-process-prep-list li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #405a69;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.47;
}

.jhb-ambulant-page .jah-process-prep-list__icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(85, 126, 90, .12);
  color: #4e7656;
  font-size: .69rem;
  font-weight: 900;
}

@media (min-width: 768px) and (max-width: 1050px) {
  .jhb-ambulant-page .jah-process-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas:
      "payer journey"
      "prepare journey";
  }

  .jhb-ambulant-page .jah-process-story__prepare {
    border-top: 1px solid rgba(24, 50, 67, .075);
    border-left: 0;
    border-right: 1px solid rgba(24, 50, 67, .075);
  }
}

@media (max-width: 767px) {
  .jhb-ambulant-page .jah-section--process {
    scroll-margin-top: 106px;
    padding: 54px 0 62px;
  }

  .jhb-ambulant-page .jah-section--process .jah-section-head {
    margin-bottom: 28px;
  }

  .jhb-ambulant-page .jah-process-story {
    grid-template-columns: 1fr;
    grid-template-areas:
      "payer"
      "journey"
      "prepare";
    border-radius: 24px;
  }

  .jhb-ambulant-page .jah-process-story__payer,
  .jhb-ambulant-page .jah-process-story__journey,
  .jhb-ambulant-page .jah-process-story__prepare {
    padding: 28px 22px 30px;
    border-left: 0;
    border-right: 0;
  }

  .jhb-ambulant-page .jah-process-story__journey,
  .jhb-ambulant-page .jah-process-story__prepare {
    border-top: 1px solid rgba(24, 50, 67, .075);
  }

  .jhb-ambulant-page .jah-process-story h3 {
    font-size: 1.38rem;
  }

  .jhb-ambulant-page .jah-process-story__copy {
    font-size: .95rem;
  }

  .jhb-ambulant-page .jah-process-steps__text {
    font-size: .93rem;
  }
}
