/* Schlanke Konto-Seiten (signup.html, google.html) — seit 2026-10-24.
   Eine Spalte, ein Ziel: Konto erstellen. Baut auf den Tokens und Formular-Regeln
   aus styles.css auf (Inputs, .password-field, button[type=submit]). */

body.auth-simple {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(197,160,89,0.10), transparent 60%),
    var(--bg);
}

.as-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
}
.as-logo img { height: 34px; width: auto; display: block; }
.as-top-alt { font-size: 0.92rem; color: var(--ink-muted); }
.as-top-alt a { color: var(--gold); font-weight: 600; text-decoration: none; }
.as-top-alt a:hover { color: #d4b575; }

.as-main {
  flex: 1;
  display: grid;
  place-items: start center;
  padding: clamp(1rem, 6vh, 4rem) 16px 2rem;
}

.as-card {
  width: min(420px, 100%);
  padding: clamp(1.6rem, 5vw, 2.4rem);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.as-card form, .as-done { display: flex; flex-direction: column; gap: 0.55rem; }
.as-card form[hidden], .as-done[hidden] { display: none; }

.as-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.as-sub { color: var(--ink-muted); font-size: 0.98rem; line-height: 1.5; margin-bottom: 0.9rem; }
.as-sub strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

.as-card label { margin-top: 0.35rem; }

.as-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  border-radius: 12px;
  background: #fff;
  color: #1f1f1f;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid #dadce0;
  transition: box-shadow 140ms ease;
}
.as-google:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.as-google svg { width: 20px; height: 20px; flex-shrink: 0; }
.as-google[hidden], .as-or[hidden] { display: none; }

.as-or {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.9rem 0 0.3rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}
.as-or::before, .as-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.as-hint { min-height: 1.1rem; font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.as-hint.is-ok { color: var(--gold); }

.as-captcha { display: flex; justify-content: center; }
.as-captcha:empty { display: none; }

.as-error {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.45);
  color: #f3c7c1;
  font-size: 0.92rem;
  line-height: 1.45;
}
.as-error[hidden] { display: none; }

.as-card button[type="submit"] { margin-top: 0.4rem; }

.as-legal { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.5; text-align: center; margin-top: 0.4rem; }
.as-legal a { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; }
.as-legal a:hover { color: var(--gold); }

.as-linkbtn {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: var(--gold); cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
  white-space: normal;
}
.as-linkbtn:disabled { opacity: 0.5; cursor: default; }

.as-done { text-align: center; align-items: center; }
.as-done-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-soft);
  margin-bottom: 0.4rem;
}
.as-done-icon svg { width: 26px; height: 26px; fill: var(--gold); }

.as-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.4rem; border-radius: 12px;
  background: linear-gradient(150deg, var(--gold), var(--gold-strong));
  color: #1A2B3C; font-weight: 700; text-decoration: none;
}
.as-btn-secondary[hidden] { display: none; }

.as-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--gold);
  animation: as-spin 0.9s linear infinite;
  margin-bottom: 0.4rem;
}
@keyframes as-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .as-spinner { animation: none; } }

.as-footer {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  padding: 1.2rem 16px 1.6rem;
  font-size: 0.82rem;
}
.as-footer a { color: rgba(255,255,255,0.45); text-decoration: none; }
.as-footer a:hover { color: var(--gold); }

@media (max-width: 420px) {
  .as-top-alt { font-size: 0.85rem; }
  .as-logo img { height: 28px; }
  .as-card { border: 0; box-shadow: none; background: transparent; padding: 0.6rem 0 0; }
}
