/* ==========================================================================
   Sektion: Prozess-Switch (Weiterentwicklung / Neuentwicklung, grün)
   ========================================================================== */
.ps-intro { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.ps-intro h2 { margin-bottom: 0; }
.ps-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}
/* Linke Seite: Zeitplan als Zeitstrahl */
.ps-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 56px);
  background: #255f30;
  color: #fff;
}
.ps-zeit-label { margin: 0 0 1.2em; font-size: .85em; font-weight: 700; letter-spacing: .14em; }
.contentblock ol.ps-zeitplan, ol.ps-zeitplan { margin: 0; padding: 0; list-style: none; }
.ps-zeit { position: relative; padding: 0 0 26px 40px; }
.ps-zeit::before {
  position: absolute; top: 4px; left: 0; z-index: 1;
  width: 22px; height: 22px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  content: "";
  background: transparent;
  transition: background .25s, transform .25s;
}
.ps-zeit::after {
  position: absolute; top: 26px; bottom: 0; left: 10px;
  width: 2px;
  content: "";
  background: rgba(255, 255, 255, .55);
}
.ps-zeit.is-active::before { background: #fff; transform: scale(1.15); }
.ps-zeit-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.ps-zeit-phase { grid-column: 1 / -1; font-size: .82em; font-weight: 700; letter-spacing: .12em; opacity: .85; }
.ps-zeit-titel { font-size: 1.35em; font-weight: 700; line-height: 1.25; opacity: .7; transition: opacity .25s; }
.ps-zeit-dauer { align-self: center; font-weight: 600; white-space: nowrap; opacity: .7; transition: opacity .25s; }
.ps-zeit.is-active .ps-zeit-titel, .ps-zeit.is-active .ps-zeit-dauer, .ps-zeit-btn:hover .ps-zeit-titel { opacity: 1; }
.ps-zeit-gesamt { margin: 0; padding-top: 20px; border-top: 2px solid rgba(255, 255, 255, .55); font-weight: 600; }

.ps-content { padding: 3em 3em 2em; color: var(--body); }

.ps-switch { container-type: inline-size; margin-bottom: 1.4em; padding: 1.4em 1.6em 1.6em; border-radius: var(--radius); background: var(--bg-soft); }
.ps-switch-label { margin: 0 0 .8em; color: var(--ink); font-size: 1.05em; font-weight: 700; }
.ps-switch-pill { display: flex; gap: .4em; padding: .35em; border: 1px solid var(--line); border-radius: 9999px; background: #fff; }
.ps-switch-btn {
  flex: 1 1 0%;
  min-width: 0;
  padding: .75em 1em;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--ink);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.ps-switch-btn.is-active { background: var(--green); color: #fff; }
@media (hover: hover) and (pointer: fine) { .ps-switch-btn:not(.is-active):hover { background: var(--green-soft); color: var(--green); } }

.ps-item + .ps-item { border-top: 1px solid var(--line); }
.contentblock .ps-item-head { margin: 0; font-size: 1em; }
.ps-item-btn {
  display: flex;
  align-items: center;
  gap: .8em;
  width: 100%;
  padding: 1.1em 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.ps-nr {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: .9em;
  font-weight: 800;
  transition: background .2s, color .2s;
}
.ps-item.is-open .ps-nr { background: var(--green); color: #fff; }
.ps-titel { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; color: var(--ink); font-size: 1.2em; font-weight: 700; line-height: 1.3; }
.ps-item.is-open .ps-titel { color: var(--green); }
.ps-toggle { position: relative; flex: 0 0 auto; width: 1.1em; height: 1.1em; }
.ps-toggle::before, .ps-toggle::after {
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 2px;
  border-radius: 1px;
  content: "";
  background: var(--green);
  transition: transform .25s ease;
}
.ps-toggle::after { transform: rotate(90deg); }
.ps-item.is-open .ps-toggle::after { transform: rotate(0deg); }
.ps-item-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.ps-item.is-open .ps-item-body { grid-template-rows: 1fr; }
.ps-item-inner { overflow: hidden; }
.ps-item-text { padding: 0 0 1.3em 3.1em; color: var(--body); line-height: 1.7; }
.ps-item-text p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
  .ps-card { grid-template-columns: minmax(0, 1fr); }
  .ps-content { padding: 2em 1.6em 1.2em; }
}
@media (max-width: 575px) {
  .ps-zeit-btn { grid-template-columns: 1fr; }
  .ps-zeit-dauer { justify-self: start; font-size: .9em; }
  .ps-zeit-titel { font-size: 1.15em; }
  .ps-switch { padding: 1.1em 1em; }
  .ps-switch-btn { padding: .7em .5em; font-size: .92em; }
  .ps-titel { font-size: 1.08em; -webkit-hyphens: auto; hyphens: auto; }
  .ps-item-text { padding-left: 0; }
}
@container (max-width: 22em) {
  .ps-switch-pill { flex-direction: column; border-radius: var(--radius); }
  .ps-switch-btn { flex: 0 0 auto; border-radius: 10px; }
}
