/* ══════════════════════════════════════════════════════════════════
   LEISTUNGEN — Zickzack-Sektionen mit Timeline
   ══════════════════════════════════════════════════════════════════ */

.bpl__flow { position: relative; }

/* Durchgehende Linie hinter den Sektionen — nur ab Desktop sichtbar */
.bpl__flow .bp-inner::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--bp-red-line) 8%, var(--bp-red-line) 92%, transparent);
  pointer-events: none;
}

/* ---- Zickzack-Element -------------------------------------------- */
.bpl__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(40px, 6vw, 76px) 0;
}

.bpl__item:first-child { padding-top: 0; }
.bpl__item:last-child { padding-bottom: 0; }

.bpl__item--flip .bpl__media { order: 2; }

/* Punkt auf der Timeline */
.bpl__item::before {
  content: '';
  position: absolute;
  top: clamp(40px, 6vw, 76px);
  left: 50%;
  z-index: 2;
  width: 11px;
  height: 11px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--bp-red);
  box-shadow: 0 0 0 5px var(--bp-bg), 0 0 0 6px var(--bp-red-line);
}

.bpl__item:first-child::before { top: 0; }

/* ---- Bildseite ---------------------------------------------------- */
.bpl__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bp-bg-soft);
  border: 1px solid var(--bp-line);
  box-shadow: var(--bp-shell);
}

.bpl__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bpl__num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--bp-red), var(--bp-red-dark));
  box-shadow: 0 12px 26px -12px rgba(133, 14, 21, 0.6);
}

/* ---- Textseite ---------------------------------------------------- */
.bpl__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.bpl__body .bp-h2 { margin: 0; }

.bpl__lead {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 1.75;
  color: var(--bp-text-muted);
}

.bpl__body .bp-checks { margin: 0; }

.bpl__body .bp-btn { margin-top: 6px; }

/* ---- Nummerierte Teilschritte ------------------------------------- */
.bpl__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.bpl__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bp-bg-softer);
  border: 1px solid var(--bp-line-light);
  transition: border-color 0.3s var(--bp-ease), transform 0.3s var(--bp-ease);
}

.bpl__step:hover {
  border-color: var(--bp-red-line);
  transform: translateX(3px);
}

.bpl__step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bp-red);
  background: var(--bp-red-soft);
  border: 1px solid var(--bp-red-line);
}

.bpl__step-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bpl__step-text {
  margin: 3px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--bp-text-muted);
}

.bpl__steps--compact .bpl__step { padding: 11px 14px; }

/* ---- Zitat --------------------------------------------------------- */
.bpl__quote {
  margin: 0;
  width: 100%;
  padding: 20px 22px;
  border-radius: 16px;
  border-left: 3px solid var(--bp-red);
  background: var(--bp-red-soft);
}

.bpl__quote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  color: var(--bp-text);
}

.bpl__quote cite {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bp-red);
}

/* ---- Ämterliste ---------------------------------------------------- */
.bpl__offices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.bpl__office {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--bp-line);
}

.bpl__office strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bp-red);
}

.bpl__office span {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--bp-text-muted);
}

/* ---- CTA ------------------------------------------------------------ */
.bpl__cta-wrap { padding: 0 0 var(--bp-section-y); }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .bpl__flow .bp-inner::before,
  .bpl__item::before { display: none; }

  .bpl__item {
    grid-template-columns: 1fr;
    gap: clamp(22px, 4vw, 32px);
  }

  /* Bild steht auf schmalen Viewports immer oben */
  .bpl__item--flip .bpl__media { order: 0; }

  .bpl__offices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .bpl__offices { grid-template-columns: 1fr; }
  .bpl__body .bp-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bpl__step { transition: none; }
  .bpl__step:hover { transform: none; }
}
