/* Beitrag „Beim ersten Date wird nicht geheiratet": eigene Grafiken. Präfix ed-. */

/* ---------- Fünf Stufen ---------- */
.ed-stufen { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.ed-treppe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: end; height: clamp(300px, 30vw, 420px); margin-top: 64px; }
.ed-treppe button { position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 4px; height: calc(34% + var(--i) * 16.500%); padding: 14px 12px; border-radius: 14px 14px 4px 4px; background: var(--rb-karte); border: 1px solid var(--rb-linie); text-align: left; transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--aus); }
.ed-treppe button:hover { border-color: var(--rb-feld-rand); transform: translateY(-3px); }
.ed-treppe button b { font-size: var(--rb-t-6); line-height: 1; letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); }
.ed-treppe button span { font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); line-height: 1.2; color: var(--rb-tx); hyphens: manual; }
.ed-treppe button[aria-pressed="true"] { background: var(--rb-gruen); border-color: var(--rb-gruen); color: var(--rb-knopf-schrift); }
.ed-treppe button[aria-pressed="true"] span { color: inherit; }
.ed-treppe button small { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 10px; font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); line-height: 1.25; color: var(--rb-leise); text-align: center; }
.ed-treppe button small::after { content: ""; display: block; width: 1px; height: 12px; margin: 6px auto 0; background: var(--rb-feld-rand); }
.ed-tafel { padding: clamp(22px, 2.8vw, 36px); border-radius: var(--rb-r-karte); background: var(--a-einsatz); border: 1px solid var(--rb-linie); min-height: 400px; }
.ed-tafel-stufe { color: var(--rb-marke); font-weight: var(--rb-w-mittel); font-size: var(--rb-t-1); }
.ed-stimme { margin-top: 10px; color: var(--rb-kopf); font-size: var(--rb-t-6); line-height: var(--rb-zh-mittel); letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); text-wrap: balance; min-height: 2.3em; }
.ed-tafel dl { margin: 22px 0 0; display: grid; gap: 16px; }
.ed-tafel dl div { padding-top: 16px; border-top: 1px solid var(--rb-linie); }
.ed-tafel dt { font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); color: var(--rb-leise); }
.ed-tafel dd { margin: 5px 0 0; font-size: var(--rb-t-2); line-height: 1.45; color: var(--rb-tx); min-height: 2.9em; }
.ed-neu dt { color: var(--rb-marke); }
.ed-neu dd { color: var(--rb-kopf); }
@media (max-width: 900px) {
  .ed-stufen { grid-template-columns: minmax(0, 1fr); }
  .ed-treppe { height: 230px; margin-top: 70px; }
  .ed-treppe button { padding: 10px 8px; border-radius: 10px 10px 4px 4px; }
  .ed-treppe button span { display: none; }
  .ed-treppe button small { left: auto; right: 0; width: 7.5em; text-align: right; }   /* das Wort ist breiter als die Stufe: nach links wachsen lassen */
  .ed-treppe button small::after { margin: 6px 28px 0 auto; }
  .ed-tafel { min-height: 0; }
}

/* ---------- Kandidatenreise ---------- */
.ed-reise { outline-offset: 12px; }
.ed-punkte { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-bottom: clamp(22px, 3vw, 40px); }
.ed-punkte::before, .ed-punkte::after { content: ""; position: absolute; left: calc(100% / 14); top: 21px; height: 2px; }
.ed-punkte::before { right: calc(100% / 14); background: var(--rb-feld-rand); }
.ed-punkte::after { width: calc((100% - 100% / 7) * var(--weg, 0)); background: var(--rb-gruen); transition: width .6s var(--aus); }
.ed-punkte li { position: relative; z-index: 1; display: flex; justify-content: center; }
.ed-punkte button { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: var(--rb-t-1); color: var(--rb-leise); line-height: 1.2; text-align: center; }
.ed-punkte button b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rb-fl); border: 2px solid var(--rb-feld-rand); color: var(--rb-tx); font-size: var(--rb-t-2); transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--aus); }
.ed-punkte li.war button b { border-color: var(--rb-gruen); color: var(--rb-marke); }
.ed-punkte li.jetzt button b { background: var(--rb-gruen); border-color: var(--rb-gruen); color: var(--rb-knopf-schrift); transform: scale(1.14); }
.ed-punkte li.jetzt button { color: var(--rb-kopf); }
.ed-buehne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(16px, 2vw, 28px); }
.ed-sieht, .ed-denkt { padding: clamp(22px, 3vw, 40px); border-radius: var(--rb-r-karte); min-height: 330px; display: flex; flex-direction: column; }
.ed-sieht { background: var(--a-einsatz); border: 1px solid var(--rb-linie); }
.ed-nr { display: flex; align-items: baseline; gap: 10px; color: var(--rb-leise); font-size: var(--rb-t-2); }
.ed-nr b { font-size: var(--rb-t-zahl); line-height: 0.85; letter-spacing: var(--rb-lw-zahl); font-weight: var(--rb-w-kopf); color: var(--rb-kopf); font-variant-numeric: tabular-nums; }
.ed-kanal { align-self: flex-start; margin-top: 22px; padding: 5px 13px; border-radius: var(--rb-r-pille); border: 1px solid var(--rb-feld-rand); font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); color: var(--rb-tx); }
.ed-sieht h3 { margin-top: 14px; }
.ed-was { margin-top: 10px; font-size: var(--rb-t-2); line-height: 1.5; color: var(--rb-tx); max-width: 30em; text-wrap: pretty; }
.ed-denkt { background: var(--rb-gruen); color: var(--rb-knopf-schrift); }
.ed-denkt-dach { font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); opacity: .72; }
.ed-gedanke { margin-top: 14px; font-size: var(--rb-t-7); line-height: var(--rb-zh-kopf); letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); text-wrap: balance; }
.ed-ende { margin-top: 14px; font-size: var(--rb-t-4); font-weight: var(--rb-w-mittel); }
.ed-stand { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 26px; font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); }
.ed-stand span { margin-right: 6px; opacity: .72; }
.ed-stand u { width: 26px; height: 8px; border-radius: 4px; text-decoration: none; background: rgba(0, 42, 56, 0.2); transition: background-color .4s; }
.ed-stand u.an { background: var(--rb-knopf-schrift); }
.ed-stand b { margin-left: 8px; }
.js .ed-buehne.neu .ed-sieht > *, .js .ed-buehne.neu .ed-gedanke { animation: ed-rein .55s var(--aus) both; }
@keyframes ed-rein { from { opacity: 0; transform: translateY(12px); } }
.ed-steuer { display: flex; gap: 10px; margin-top: clamp(18px, 2vw, 26px); }
@media (max-width: 760px) {
  .ed-buehne { grid-template-columns: minmax(0, 1fr); }
  .ed-stand { flex-wrap: wrap; }
  .ed-stand b { margin-left: 0; flex-basis: 100%; }
  .ed-sieht, .ed-denkt { min-height: 0; }
  .ed-sieht { min-height: 268px; }
  .ed-denkt { min-height: 236px; }
  .ed-punkte button span { display: none; }
  .ed-punkte button b { width: 36px; height: 36px; font-size: var(--rb-t-1); }
  .ed-punkte::before, .ed-punkte::after { top: 17px; }
  .ed-steuer .rb-kn { flex: 1; } .ed-steuer .rb-kn .rb-kn-f { width: 100%; } .ed-steuer .rb-kn-t { flex: 1; }
}
