/* 44er.com gate: one orange panel (cloudflare.com hero) with the 44er wordmark as live pixel material (unfair.so).
   Below it one password field; the legal line sits quietly under the panel. Background art is drawn on canvas. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --rahmen: #f4f4f2; --orange: #ff4c00; --tinte: #1a1a1a; --grau: #8b8a85; --fuss: 44px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--rahmen); color: var(--tinte); font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1 { margin: 0; }

.tuer { position: relative; margin: 10px 10px 0; height: calc(100dvh - 10px - var(--fuss)); min-height: 520px; border-radius: 20px; background: var(--orange); overflow: hidden; }
.tuer canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Password: a white slab under the wordmark, text centred, an Enter keycap that wakes up once something is typed. */
.tor-form { position: absolute; z-index: 1; left: 50%; top: var(--unter-logo, 62%); transform: translateX(-50%); width: min(340px, calc(100% - 48px)); }
.feld { position: relative; display: flex; align-items: center; height: 56px; background: #fff; border-radius: 14px; box-shadow: 0 1px 0 rgba(26, 26, 26, .06), 0 14px 32px -16px rgba(120, 30, 0, .55); transition: box-shadow .2s ease, transform .2s ease; }
.feld:focus-within { box-shadow: 0 0 0 3px rgba(26, 26, 26, .9), 0 14px 32px -16px rgba(120, 30, 0, .55); }
.feld input { flex: 1; min-width: 0; height: 100%; padding: 0 56px; border: 0; outline: 0; background: transparent; color: var(--tinte); font: inherit; font-size: 16px; text-align: center; letter-spacing: .18em; caret-color: var(--orange); }
.feld input::placeholder { color: #a5a49f; letter-spacing: .01em; }
.taste { position: absolute; right: 9px; top: 50%; width: 38px; height: 38px; margin-top: -19px; display: grid; place-items: center; border: 1px solid #e3e2dd; border-radius: 9px; background: #fff; color: #b4b3ae; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease; }
.tor-form.voll .taste { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.taste:active { transform: scale(.94); }
.taste:focus-visible { outline: 2px solid var(--tinte); outline-offset: 2px; }
.tor-form[data-zustand="pruefe"] .taste { animation: puls .6s ease-in-out infinite alternate; }
@keyframes puls { to { opacity: .45; } }
.tor-form.falsch .feld { animation: wackeln .38s ease; }
@keyframes wackeln { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.meldung { min-height: 20px; margin: 14px 0 0; font-size: 14px; font-weight: 500; text-align: center; }

.fuss { height: var(--fuss); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 12px; color: var(--grau); }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--tinte); }
.fuss a:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; border-radius: 2px; }

@media (max-width: 760px) {
  .tuer { margin: 6px 6px 0; height: calc(100dvh - 6px - var(--fuss)); min-height: 460px; border-radius: 14px; }
  .fuss { font-size: 11px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .taste, .tor-form.falsch .feld { animation: none; } }
