/* Anmeldeseite. Links die blaue Fläche mit Titel und den acht Anwendungen, rechts die Karte für den Code. */
body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; height: auto; }
#sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.bild { background: var(--blau); color: #fff; padding: 8vh 6vw; display: flex; flex-direction: column; justify-content: center; }
.bild h1 { margin: 0; font-family: var(--din); font-weight: 700; font-size: clamp(54px, 6.4vw, 124px); line-height: .98; letter-spacing: -.035em; max-width: 8ch; }
.bild p { margin: 28px 0 0; font-size: clamp(19px, 1.5vw, 28px); line-height: 1.3; max-width: 26ch; }
.faelle { list-style: none; margin: 7vh 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(10px, 1.1vw, 20px); }
.faelle li { width: clamp(56px, 5.4vw, 104px); aspect-ratio: 1; border-radius: 26%; background: #fff; color: var(--blau); display: grid; place-items: center; font-size: clamp(32px, 3.2vw, 62px); }
.faelle .ico { stroke-width: 1.5; }

.tor { display: grid; place-items: center; padding: 6vh 5vw; }
.karte { width: 100%; max-width: 560px; background: var(--emaille); border-radius: 32px; padding: 48px 48px 44px; display: flex; flex-direction: column; align-items: flex-start; }
.schloss { width: 76px; height: 76px; border-radius: 22px; background: var(--blau-hell); color: var(--blau); display: grid; place-items: center; font-size: 44px; }
.karte h2 { margin: 26px 0 0; font-family: var(--din); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -.025em; }
.karte > p { margin: 10px 0 0; font-size: 20px; line-height: 1.35; color: var(--grau); }
.feld { margin-top: 30px; width: 100%; display: flex; align-items: center; background: var(--halle); border: 3px solid var(--halle); border-radius: 18px; padding: 0 8px 0 22px; }
.feld:focus-within { border-color: var(--blau); }
.feld input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--din); font-weight: 600; font-size: 30px; letter-spacing: .08em; padding: 16px 0 17px; }
.feld input:focus { outline: none; }
.zeigen { width: 50px; height: 50px; border: 0; border-radius: 14px; background: transparent; color: var(--grau); font-size: 28px; display: grid; place-items: center; cursor: pointer; flex: none; }
.zeigen:hover, .zeigen[aria-pressed="true"] { background: var(--blau-hell); color: var(--blau-tief); }
.hinweis { min-height: 28px; margin: 12px 0 0 !important; font-size: 18px !important; font-weight: 600; color: var(--rot) !important; }
.karte .knopf { margin-top: 10px; width: 100%; justify-content: center; font-size: 24px; padding: 17px 22px 18px; border-radius: 18px; }
.karte.falsch .feld { border-color: var(--rot); animation: nein .32s; }
@keyframes nein { 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }

@media (max-width: 900px) {
  body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .bild { padding: 34px 24px 30px; }
  .bild h1 { max-width: none; font-size: 44px; }
  .bild p { margin-top: 12px; }
  .faelle { margin-top: 22px; grid-template-columns: repeat(8, 1fr); gap: 7px; width: 100%; }
  .faelle li { width: auto; font-size: 22px; }
  .tor { padding: 22px 16px 32px; place-items: start center; }
  .karte { padding: 30px 24px 28px; border-radius: 26px; }
  .karte h2 { font-size: 30px; }
}
