/* Schlichtes Design in den Farben des Kitsch-Logos (Pink-Theme des Kitsch Commanders). */
:root {
  --bg: #FAF5F8;
  --surface: #FFFFFF;
  --border: #EEDDE7;
  --field: #E4CEDB;
  --text: #2E1A27;
  --muted: #76566A;
  --accent: #B53389;
  --accent-hover: #9A2272;
  --ring: rgba(181, 51, 137, 0.16);
  --info-bg: #F2FAF8;
  --info-border: #CDEDE5;
  --mint: #14A88E;
  --danger-bg: #FDF2F4;
  --danger-border: #F3CDD5;
  --danger: #A12036;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(900px 480px at 50% -120px, #FCE7F3 0%, rgba(252, 231, 243, 0) 70%), var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 36px 30px;
  box-shadow: 0 1px 2px rgba(46, 26, 39, 0.04), 0 16px 40px -20px rgba(46, 26, 39, 0.18);
}

.logo {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 0 26px;
}

h1 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 8px;
}

.lead { margin: 0 0 24px; font-size: 15px; color: var(--muted); }
.lead strong { color: var(--text); font-weight: 600; }

.info, .alert {
  margin: 0 0 22px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.info { background: var(--info-bg); border: 1px solid var(--info-border); color: var(--text); }
.alert { background: var(--danger-bg); border: 1px solid var(--danger-border); color: var(--danger); }

form { display: flex; flex-direction: column; }

label { font-size: 13px; font-weight: 600; margin: 0 0 6px; }

input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  margin: 0 0 18px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--field);
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
input:hover { border-color: #D6B4C8; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
input::placeholder { color: #B79AAB; }

input.code {
  height: 52px;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 22px;
  letter-spacing: .35em;
  text-indent: .35em;
  text-align: center;
}
input.code::placeholder { color: #E2CEDA; }

.captcha { margin: 2px 0 20px; min-height: 78px; }

button {
  height: 48px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .15s;
}
button:hover { background: var(--accent-hover); }
button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring), 0 0 0 1px var(--accent); }

.secondary { margin: 18px 0 0; font-size: 14px; text-align: center; }

a { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.small { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

.check {
  width: 48px;
  height: 48px;
  margin: 0 0 18px;
  border-radius: 50%;
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  display: grid;
  place-items: center;
}
.check svg { width: 24px; height: 24px; }
.check path { fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 480px) {
  .page { align-items: flex-start; padding: 20px 12px; }
  .card { padding: 26px 22px 24px; }
}

/* reCAPTCHA hat eine feste Breite von 304 px. */
@media (max-width: 360px) {
  .g-recaptcha { transform: scale(.9); transform-origin: 0 0; }
}
