/* Anmeldung & Registrierung — minimal, schnell, mobile-first.
   Ziel: 15-Jährige, TikTok/X-Niveau. Wenig Text, große Felder, ein Button. */

.auth-seite {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 56px 16px 56px;
}

/* Hero über dem Login — kurze Vorstellung was FreundeNETZ ist und für wen. */
.hero {
  width: 100%;
  max-width: 760px;
  text-align: center;
}
.hero__pille {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--akzent);
  border-radius: 999px;
  background: var(--akzent-soft);
  color: var(--akzent);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero__titel {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text);
}
.hero__lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 600px;
  margin: 0 auto 28px;
}
.hero__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  text-align: left;
}
.hero__feature {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.hero__feature:hover {
  border-color: var(--akzent);
  transform: translateY(-1px);
}
.hero__feature-icon {
  font-size: 22px;
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--akzent-soft);
  border-radius: 10px;
}
.hero__feature-text {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13.5px;
}
.hero__feature-text strong {
  font-size: 14.5px;
  color: var(--text);
}
.hero__feature-text span {
  color: var(--text-mute);
  line-height: 1.45;
}

.auth-karte {
  width: 100%;
  max-width: 420px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--schatten-md);
  text-align: center;
}

.auth-logo {
  margin: 0 auto 16px;
  width: 64px;
  height: 64px;
}
.auth-logo img {
  width: 100%; height: 100%;
  border-radius: 14px;
}

.auth-titel {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.brand-blau { color: #2563EB; }
.brand-grau { color: #6B7280; font-weight: 700; }
@media (prefers-color-scheme: dark) {
  .brand-blau { color: #818CF8; }
  .brand-grau { color: #9CA3AF; }
}
.auth-sub {
  color: var(--text-mute);
  font-size: 14px;
  margin: 0 0 22px;
}

.auth-form { display: grid; gap: 12px; text-align: left; }

.feld--gross input {
  font-size: 17px !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--line-strong) !important;
}
.feld--gross input:focus {
  border-color: var(--akzent) !important;
}

.auth-mehr {
  margin-top: 4px;
}
.auth-mehr summary {
  cursor: pointer;
  color: var(--akzent);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 0;
  list-style: none;
}
.auth-mehr summary::-webkit-details-marker { display: none; }
.auth-mehr summary::before {
  content: "+ ";
  font-weight: 700;
}
.auth-mehr[open] summary::before { content: "− "; }

.auth-typ {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.auth-typ__opt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-mute);
  user-select: none;
}
.auth-typ__opt:has(input:checked) {
  border-color: var(--akzent);
  background: var(--akzent-soft);
  color: var(--text);
}
.auth-typ__opt input { margin: 0; }

.auth-recht {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 6px 0 4px;
  flex-wrap: wrap;
}
.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-mute);
  cursor: pointer;
}
.auth-check input { margin: 0; }
.auth-check a { color: var(--text); text-decoration: underline; }

.auth-cta {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 0;
  border-radius: 12px;
  background: var(--akzent);
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.06s ease;
}
.auth-cta:hover { background: var(--akzent-hover); }
.auth-cta:active { transform: translateY(1px); }
.auth-cta:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-foot {
  margin: 18px 0 0;
  color: var(--text-mute);
  font-size: 13px;
}
