.projekt-history-stepper__headline {
  margin: 0 0 32px;
  text-align: center;
  font-weight: 500;
}
.projekt-history-stepper__nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin-bottom: 32px;
}
.projekt-history-stepper__nav > :first-child {
  margin-left: auto;
}
.projekt-history-stepper__nav > :last-child {
  margin-right: auto;
}
.projekt-history-stepper .projekt-history-stepper__nav-item {
  flex: 0 0 auto;
  padding: 12px 20px;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: var(--fs-text, 18px);
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.projekt-history-stepper__content {
  display: grid;
}
.projekt-history-stepper__panel {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.projekt-history-stepper__panel.is-active {
  visibility: visible;
  pointer-events: auto;
}
.projekt-history-stepper__panel.is-sichtbar {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .projekt-history-stepper__panel {
    transition: none;
  }
}
.projekt-history-stepper__image {
  flex: 0 0 45%;
}
.projekt-history-stepper__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.projekt-history-stepper__body {
  flex: 1 1 auto;
}
.projekt-history-stepper .projekt-history-stepper__panel-headline {
  margin: 0 0 16px;
  font-family: "Montserrat", sans-serif;
  font-size: var(--fs-h3-klein, 32px);
  font-weight: 500;
}
.projekt-history-stepper__panel-text {
  margin: 0;
  max-width: 55ch;
}
@media (min-width: 768px) {
  .projekt-history-stepper__panel {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
  .projekt-history-stepper__panel:nth-child(even) {
    flex-direction: row-reverse;
  }
}