/* Anmeldung, Fehler bei der Anmeldung, Abmeldung */

body.anmeldung { background: var(--weiss); }

.anmeldung-raster {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(0, 1.25fr);
  min-height: 100vh;
}

.anmeldung-spalte {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 48px 64px 32px;
}
.anmeldung-logo img { width: 220px; height: auto; }

.anmeldung-box {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.anmeldung-box .seitenkopf-text { gap: 10px; }
.anmeldung-box .formular { gap: 18px; }
.anmeldung-box .hilfe {
  font-size: 14px;
  line-height: 22px;
  color: var(--warmgrau);
  padding-top: 20px;
  border-top: 1px solid var(--sandstein);
}
.anmeldung-box .hilfe a { font-weight: 600; white-space: nowrap; }

.anmeldung-fuss {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 13px;
  line-height: 20px;
  color: var(--warmgrau);
}
.anmeldung-fuss > span:first-child { flex-basis: 100%; }
.anmeldung-fuss a { color: var(--warmgrau); }
.anmeldung-fuss a:hover { color: var(--tinte); }

/* Rechte Seite: Fensterraster auf tinte */
.anmeldung-bild {
  position: relative;
  background: var(--tinte);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px;
}
.anmeldung-bild img {
  width: 100%;
  max-width: 640px;
  height: auto;
}
.anmeldung-bild .label {
  position: absolute;
  left: 48px;
  bottom: 40px;
  color: var(--taubenblau);
}

/* Abmeldung: Karte auf tinte */
body.abmeldung {
  min-height: 100vh;
  background: var(--tinte) url("../img/fensterraster-tintenblau.svg") no-repeat right -60px center / auto 82%;
  display: flex;
  align-items: center;
  padding: 48px 7vw;
}
.abmeldung-karte {
  width: 100%;
  max-width: 460px;
  background: var(--weiss);
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.abmeldung-karte .anmeldung-logo img { width: 200px; }
.abmeldung-karte .aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }

noscript .meldung { margin-top: 8px; }

@media (max-width: 900px) {
  .anmeldung-raster { grid-template-columns: minmax(0, 1fr); }
  .anmeldung-bild { display: none; }
  .anmeldung-spalte { padding: 32px 20px 24px; gap: 40px; }
  .anmeldung-logo img { width: 180px; }
  body.abmeldung { background-position: center bottom -40px; background-size: 120% auto; padding: 24px 16px; align-items: flex-start; }
  .abmeldung-karte { padding: 28px 22px; margin-top: 8vh; }
}
