/* AURISERVIA Staging v1.10.5 – nur Projektlogik in projekte.html. */
.project-story-section .section-heading{margin-bottom:2.8rem}
.project-storyline{
  list-style:none;counter-reset:project-step;margin:0 auto;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.35rem;
}
.project-storyline li{
  position:relative;isolation:isolate;min-width:0;min-height:152px;
  display:flex;flex-direction:column;justify-content:space-between;gap:1.1rem;
  padding:1.55rem 1.6rem 1.65rem;
  background:var(--petrol);color:var(--white);
  border:1px solid rgba(22,78,99,.15);border-radius:1rem;
  box-shadow:0 10px 28px rgba(13,13,13,.09);
}
.project-storyline li::before{
  content:"";position:absolute;top:0;left:1.55rem;width:3rem;height:3px;
  background:var(--gold);border-radius:0 0 4px 4px;
}
.project-step-number{
  display:block;color:var(--gold);font-size:clamp(1.45rem,2.2vw,2rem);
  line-height:1;font-weight:800;letter-spacing:.05em;
}
.project-storyline h3{
  margin:0;font-size:clamp(.89rem,1.4vw,1.13rem);line-height:1.4;
  font-family:var(--font-ui);font-weight:750;letter-spacing:.045em;
  overflow-wrap:normal;hyphens:auto;
}
/* Die Verbindungspunkte verdeutlichen die Reihenfolge ohne zusätzliche Textbausteine. */
.project-storyline li:not(:nth-child(3n))::after{
  content:"";position:absolute;right:-.99rem;top:50%;width:.52rem;height:.52rem;
  transform:translateY(-50%) rotate(-45deg);
  border-right:2px solid var(--petrol);border-bottom:2px solid var(--petrol);
  z-index:2;
}
@media(max-width:900px){
  .project-storyline{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-storyline li{min-height:143px}
  .project-storyline li::after{display:none}
  .project-storyline li:nth-child(odd):not(:last-child)::after{
    display:block;right:-.99rem;top:50%;transform:translateY(-50%) rotate(-45deg);
  }
}
@media(max-width:560px){
  .project-story-section .section-heading{margin-bottom:2rem}
  .project-storyline{grid-template-columns:minmax(0,1fr);gap:1.2rem}
  .project-storyline li{min-height:112px;flex-direction:row;align-items:center;justify-content:flex-start;gap:1.25rem;padding:1.25rem 1.35rem}
  .project-storyline li::before{left:0;top:1.25rem;width:3px;height:2.3rem;border-radius:0 4px 4px 0}
  .project-storyline li h3{font-size:.98rem}
  .project-storyline li::after,.project-storyline li:nth-child(odd):not(:last-child)::after{
    display:none;
  }
  .project-storyline li:not(:last-child)::after,
  .project-storyline li:nth-child(odd):not(:last-child)::after{
    content:"";display:block;right:auto;left:50%;top:auto;bottom:-.84rem;
    transform:translateX(-50%) rotate(45deg);
    border-right:2px solid var(--petrol);border-bottom:2px solid var(--petrol);
  }
}
