/* mk-pass — Anmeldeseite. Farben, Schriften und Fokusringe kommen aus
   /shared/base.css der Hauptseite; hier steht nur, was diese Seite ausmacht. */

.pass {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  padding: 1.5rem;
  gap: 2rem;
}

.pass__karte {
  width: min(24rem, 100%);
  text-align: center;
}

.pass__marke {
  font-family: var(--sonder, var(--display));
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gedaempft, #5f5b53);
  margin: 0 0 2.5rem;
}

.pass h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  line-height: 1.1;
  margin: 0 0 .75rem;
}

.pass__text {
  font-family: var(--lauf);
  color: var(--gedaempft, #5f5b53);
  line-height: 1.5;
  margin: 0 0 1.5rem;
  text-wrap: pretty;
}

.pass__text code {
  font-size: .9em;
  background: var(--flaeche, #f6f5f2);
  padding: .1em .35em;
  border-radius: 3px;
}

.pass__knopf {
  font: inherit;
  font-family: var(--lauf);
  font-weight: 600;
  display: inline-block;
  width: 100%;
  padding: .85rem 1.25rem;
  border: 1px solid var(--tinte);
  border-radius: 999px;
  background: var(--tinte);
  color: var(--papier);
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--ease, ease), opacity .18s;
}

.pass__knopf:hover { opacity: .88; }
.pass__knopf:active { transform: scale(.985); }

.pass__knopf--still {
  background: transparent;
  color: var(--tinte);
}

.pass__liste {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-family: var(--lauf);
  text-align: left;
}

.pass__liste li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
  border-top: 1px solid var(--haarlinie, #dedbd4);
}

.pass__widerruf {
  font: inherit;
  font-size: .875rem;
  border: 0;
  background: none;
  color: var(--gedaempft, #5f5b53);
  text-decoration: underline;
  cursor: pointer;
}

.pass__fuss {
  font-family: var(--lauf);
  font-size: .8125rem;
  color: var(--gedaempft, #5f5b53);
  margin: 0;
}

/* Ein Fehlschlag darf nicht wie ein Ladezustand aussehen. */
.pass__text[data-art="fehler"] { color: var(--k-achtung, #d3032e); }

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