/* Mitarbeit: Ablauf links, Anmeldung rechts. Baut auf styles-v2.css auf. */

.ma { padding: calc(var(--kopf) + var(--s-9)) 0 var(--s-11); }

.ma-raster {
  display: grid;
  grid-template-columns: minmax(0, 26rem);
  justify-content: center;
}

.ma-kicker {
  margin: 0 0 var(--s-4);
  color: var(--rasen);
  font-size: var(--fs-small);
  font-variation-settings: 'wdth' 96, 'wght' 650;
}

.ma-text h1 { max-width: 13ch; }
.ma-ganz { white-space: nowrap; }

.ma-lead {
  margin: var(--s-6) 0 0;
  max-width: 58ch;
  color: var(--tinte-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.ma-ablauf {
  list-style: none;
  counter-reset: schritt;
  margin: var(--s-8) 0 0;
  padding: 0;
  border-top: 1px solid var(--linie);
  max-width: 62ch;
}

.ma-ablauf li {
  counter-increment: schritt;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--linie);
}

.ma-ablauf li::before {
  content: counter(schritt, decimal-leading-zero);
  grid-row: span 2;
  font-family: 'Big Shoulders Display', 'Archivo', 'Arial Narrow', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--rasen);
  font-variant-numeric: tabular-nums;
}

.ma-ablauf b { font-variation-settings: 'wdth' 96, 'wght' 650; }
.ma-ablauf span { color: var(--tinte-2); font-size: var(--fs-small); line-height: 1.55; }

.ma-fuss { margin: var(--s-6) 0 0; color: var(--tinte-3); font-size: var(--fs-small); }

.ma-tor {
  position: sticky;
  top: calc(var(--kopf) + var(--s-6));
  padding: var(--s-7) var(--s-6);
  border: 1px solid var(--linie);
  border-radius: var(--r);
  background: var(--papier-2);
}

.ma-tor h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); margin-bottom: var(--s-5); }
.ma-tor .field { margin-bottom: var(--s-4); }
.ma-knopf { width: 100%; }
.ma-gesendet { margin: 0 0 var(--s-5); color: var(--tinte-2); overflow-wrap: anywhere; }
.ma-tor [data-ma="an"] .knopf-leer,
.ma-tor [data-ma="gesendet"] .knopf-leer { margin-top: var(--s-3); }

.ma-knopf { transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease; }
.ma-knopf:active { transform: scale(0.97); }
.ma-knopf:disabled { opacity: 0.6; cursor: progress; }

@media (max-width: 900px) {
  .ma { padding-top: calc(var(--kopf) + var(--s-7)); }
  .ma-raster { grid-template-columns: 1fr; }
  .ma-tor { position: static; padding: var(--s-6) var(--s-5); }
}
