/* Selbst-Registrierung (20.10.2026) – gleiche Welt wie die Anmeldung: Nachtblau, Eisblau-Akzent, Glas. Die Seite darf scrollen
   (zwei Schritte mit mehreren Feldern), deshalb eigene Datei statt login.css (die fixiert am Handy alles auf eine Bildschirmhöhe). */
:root { --bg: #050a13; --text: #d6e4f2; --hell: #eef6ff; --grau: #7d92aa; --grau2: #5f7690; --akzent: #4aaef5; --baby: #9fd8ff; --rot: #ff8a96;
  --gruen: #7fe0b0; --linie: rgba(170, 205, 240, .16); --feld: rgba(3, 8, 16, .6);
  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.reg-seite { min-height: 100vh; min-height: 100dvh; color: var(--text); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased;
  background: radial-gradient(1000px 620px at 50% -10%, #0c1d36 0%, transparent 65%), radial-gradient(700px 500px at 50% 120%, #071628 0%, transparent 60%), var(--bg); }
.aurora { position: fixed; inset: 0; pointer-events: none; filter: blur(90px); opacity: .3; }
.aurora i { position: absolute; border-radius: 50%; }
.aurora .a1 { width: 52vw; height: 52vw; left: -14vw; top: -26vw; background: radial-gradient(closest-side, rgba(92, 200, 255, .55), transparent 70%); animation: t1 26s ease-in-out infinite alternate; }
.aurora .a2 { width: 46vw; height: 46vw; right: -12vw; top: -18vw; background: radial-gradient(closest-side, rgba(40, 110, 230, .45), transparent 70%); animation: t2 32s ease-in-out infinite alternate; }
.aurora .a3 { width: 40vw; height: 40vw; left: 30vw; bottom: -24vw; background: radial-gradient(closest-side, rgba(120, 180, 255, .28), transparent 70%); animation: t1 38s ease-in-out infinite alternate-reverse; }
@keyframes t1 { to { transform: translate(8vw, 6vh) scale(1.1); } }
@keyframes t2 { to { transform: translate(-6vw, 8vh) scale(1.08); } }
.gitter { position: fixed; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(120, 190, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 190, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%); mask: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%); }

.reg-buehne { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.reg { width: 100%; max-width: 560px; display: grid; gap: 14px; padding: 26px 30px 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 40%, rgba(255, 255, 255, 0)), rgba(9, 17, 30, .72);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); border: 1px solid rgba(170, 205, 240, .14);
  box-shadow: 0 40px 100px rgba(0, 3, 10, .6), inset 0 1px 0 rgba(255, 255, 255, .08); animation: rein .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rein { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

.reg-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reg-logo { display: block; flex: 0 1 266px; min-width: 0; }
.reg-logo img { height: 36px; width: 100%; object-fit: contain; object-position: left center; display: block; filter: drop-shadow(0 0 22px rgba(60, 150, 255, .35)); }
/* Sprachwahl (21.10.2026): acht Sprachen als Dropdown aus sprachwahl.js – hier nur der Knopf im Glas-Stil der Karte */
.reg-sprachen { display: inline-flex; flex: none; }
.reg-sprachen .sm8-sw-knopf { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--linie); background: rgba(3, 8, 16, .45); color: var(--text); font: 650 12.5px/1 var(--mono); letter-spacing: .05em; }
.reg-sprachen .sm8-sw-kurz { text-transform: uppercase; }
@media (hover: hover) { .reg-sprachen .sm8-sw-knopf:hover { color: var(--hell); border-color: rgba(169, 220, 255, .42); } }

.reg h1 { margin: 6px 0 0; color: var(--hell); font-size: clamp(26px, 4.4vw, 32px); line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.reg-unter { margin: -6px 0 0; color: var(--grau); font-size: 14px; line-height: 1.5; }

.reg-schritte { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reg-schritte li { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 12px; border: 1px solid var(--linie);
  color: var(--grau2); background: rgba(3, 8, 16, .3); transition: border-color .2s, color .2s, background .2s; }
.reg-schritte li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 12px/1 var(--mono);
  border: 1px solid currentColor; flex: none; }
.reg-schritte li b { font-size: 13.5px; font-weight: 600; }
.reg-schritte li.aktiv { color: var(--hell); border-color: rgba(74, 174, 245, .55); background: rgba(74, 174, 245, .1); }
.reg-schritte li.aktiv span { color: #04162b; background: var(--akzent); border-color: var(--akzent); }
.reg-schritte li.fertig { color: var(--baby); }
.reg-schritte li.fertig span { color: #04162b; background: var(--baby); border-color: var(--baby); }

.reg-teil { display: grid; gap: 12px; }
.reg-teil[hidden] { display: none; }
.reg-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }  /* Felder auf einer Linie, auch bei zweizeiliger Beschriftung */
.reg-feld { display: grid; gap: 6px; min-width: 0; }
.reg-feld > span { color: var(--grau); font-size: 12.5px; font-weight: 600; }
.reg-feld small { color: var(--grau2); font-weight: 500; font-size: 11.5px; }
.reg input, .reg select { width: 100%; min-height: 46px; padding: 11px 13px; font: inherit; font-size: 15px; color: var(--hell); background: var(--feld);
  border: 1px solid var(--linie); border-radius: 12px; transition: border-color .18s, box-shadow .18s; }
.reg select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%238fa6bf' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
.reg select option { color: #0b1626; background: #eef6ff; }
.reg input::placeholder { color: #4d6380; }
.reg input:focus, .reg select:focus { outline: none; border-color: rgba(74, 174, 245, .75); box-shadow: 0 0 0 3px rgba(74, 174, 245, .18); }
.reg input:-webkit-autofill, .reg input:-webkit-autofill:hover, .reg input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--hell); -webkit-box-shadow: 0 0 0 1000px #07111f inset; caret-color: var(--hell); transition: background-color 9999s; }
.reg .falsch input, .reg .falsch select, .reg input.falsch, .reg select.falsch { border-color: rgba(255, 138, 150, .8); box-shadow: 0 0 0 3px rgba(255, 138, 150, .14); }
/* Auswahlfelder = gemeinsames Dropdown (dropdown.js/.css, 26.10.2026): Knopf sieht aus wie die Eingabefelder, Liste wie im Dashboard */
.reg .dd-knopf { display: flex; width: 100%; min-height: 46px; padding: 11px 10px 11px 13px; gap: 6px; font-size: 15px; color: var(--hell);
  background: var(--feld); border: 1px solid var(--linie); border-radius: 12px; }
.reg .dd-knopf:hover { border-color: rgba(170, 205, 240, .3); }
.reg .dd-knopf .ico { width: 18px; height: 18px; color: #8fa6bf; }
.reg .dd-knopf.dd-platzhalter .dd-titel { color: #4d6380; }
.reg .dd-knopf.offen, .reg .dd-knopf:focus-visible { border-color: rgba(74, 174, 245, .75); box-shadow: 0 0 0 3px rgba(74, 174, 245, .18); }
.reg .falsch .dd-knopf, .reg select.falsch + .dd-knopf { border-color: rgba(255, 138, 150, .8); box-shadow: 0 0 0 3px rgba(255, 138, 150, .14); }
.reg-datum .dd-knopf { padding: 0 6px 0 10px; gap: 2px; font-size: 14px; }  /* drei schmale Felder: „September“ und „YYYY“ passen ganz */
.reg-datum .dd-knopf .ico { width: 13px; height: 13px; }
.reg-hinweis { margin: -4px 0 0; color: var(--grau2); font-size: 12px; line-height: 1.45; }
.reg-hinweis.ok { color: var(--gruen); }
.reg-hinweis.rot { color: var(--rot); }

.reg-datum { display: grid; grid-template-columns: .75fr 1.45fr 1fr; gap: 6px; }
.reg-datum select { padding-left: 10px; padding-right: 26px; background-position: right 6px center; background-size: 16px; }
.reg-at { position: relative; display: block; }
.reg-at em { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--grau); font-style: normal; pointer-events: none; }
.reg-at input { padding-left: 30px; }

.reg-ref-rahmen { position: relative; display: block; }
.reg-ref-rahmen input { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.reg-schloss { position: absolute; right: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--baby); display: none; }
.reg-ref.fest .reg-schloss { display: block; }
.reg-ref.fest small { display: none; }
.reg-ref.fest input { color: var(--baby); border-style: dashed; border-color: rgba(159, 216, 255, .4); background: rgba(74, 174, 245, .07); cursor: default; padding-right: 40px; }

.reg-haken { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--linie); background: rgba(3, 8, 16, .35);
  color: var(--text); font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.reg-haken input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--akzent); cursor: pointer; }
.reg-haken.falsch { border-color: rgba(255, 138, 150, .7); }

.reg-knopf { width: 100%; min-height: 48px; padding: 12px; border: 1px solid rgba(160, 215, 255, .5); border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; color: #04162b; background: linear-gradient(180deg, #6cc0fa, #3a9be6);
  box-shadow: 0 10px 28px rgba(40, 140, 230, .3), inset 0 1px 0 rgba(255, 255, 255, .35); transition: filter .18s, transform .12s; }
.reg-knopf:hover { filter: brightness(1.08); }
.reg-knopf:active { transform: translateY(1px); }
.reg-knopf:focus-visible, .reg-sprachen .sm8-sw-knopf:focus-visible, .reg-fuss a:focus-visible { outline: 2px solid var(--baby); outline-offset: 2px; }
.reg-knopf:disabled { cursor: progress; filter: saturate(.6) brightness(.9); }
.reg-knopf.leise { color: var(--text); background: rgba(3, 8, 16, .45); border-color: var(--linie); box-shadow: none; font-weight: 600; }
.reg-knoepfe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; }

.reg-meldung { min-height: 0; margin: 0; text-align: center; font-size: 13.5px; line-height: 1.45; color: var(--rot); }
.reg-meldung:empty { display: none; }
.reg-meldung.ok { color: var(--gruen); }
.reg-fuss { margin: 2px 0 0; text-align: center; color: var(--grau); font-size: 13.5px; }
.reg-fuss a { color: var(--baby); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(159, 216, 255, .35); }
.reg-fuss a:hover { color: var(--hell); border-color: var(--hell); }

.reg-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

@media (max-width: 560px) {
  .reg-buehne { place-items: start center; padding: max(12px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom)); }
  .reg { padding: 20px 16px 18px; border-radius: 18px; gap: 12px; }
  .reg-zwei { grid-template-columns: 1fr; }

  .reg-schritte li { padding: 8px 9px; }
}
@media (prefers-reduced-motion: reduce) { .aurora i, .reg { animation: none; } }
@media (max-width: 860px) { .reg input, .reg select, .reg .dd-knopf { font-size: 16px; } }  /* iOS zoomt sonst beim Antippen (auch iPad) */

/* Passwort vergessen (20.10.2026): gleiche Karte, schmaler, drei Schritte, großes Code-Feld */
.reg.reg-schmal { max-width: 480px; }
.reg-schritte.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reg-schritte.drei li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reg-info { margin: 0; padding: 11px 13px; border-radius: 12px; border: 1px solid rgba(74, 174, 245, .28); background: rgba(74, 174, 245, .08);
  color: var(--text); font-size: 13.5px; line-height: 1.5; }
.reg-info:empty { display: none; }
.reg .reg-code { text-align: center; font: 700 26px/1 var(--mono); letter-spacing: .5em; padding-left: calc(13px + .5em); }
.reg-knopf:disabled:not([type=submit]) { cursor: default; }
@media (max-width: 560px) {
  .reg-schritte.drei li { padding: 8px 7px; gap: 6px; }
  .reg-schritte.drei li b { font-size: 12.5px; }
}
/* „Schon registriert“ (20.10.2026): direkter Weg zur Anmeldung bzw. zu „Passwort vergessen?“ */
.reg-wege { display: inline-flex; gap: 14px; margin-top: 6px; }
.reg-wege a { color: var(--baby); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(159, 216, 255, .35); }
.reg-wege a:hover { color: var(--hell); border-color: var(--hell); }
.reg-knoepfe.gestapelt { grid-template-columns: 1fr; }  /* Passwort vergessen: Prüfen groß, „Neuen Code senden“ darunter */
/* Standort bleibt ein editierbarer Vorschlag, unabhängig von der Sprache. */
.reg-standort-hinweis { margin: -2px 0 2px; color: #8fa6bf; font-size: 12px; line-height: 1.55; }

/* Neuanmeldungen pausiert (Go-Live 29.11.2026): Formular aus, Hinweis-Karte an */
.reg.ist-zu > h1, .reg.ist-zu > .reg-unter, .reg.ist-zu > .reg-schritte, .reg.ist-zu > .reg-teil, .reg.ist-zu > .reg-meldung,
.reg.ist-zu > .reg-fuss { display: none !important; }
.reg-zu { display: grid; gap: 14px; }
body[data-zu="1"] .reg > h1, body[data-zu="1"] .reg > .reg-unter, body[data-zu="1"] .reg > .reg-schritte,
body[data-zu="1"] .reg > .reg-teil, body[data-zu="1"] .reg > .reg-meldung, body[data-zu="1"] .reg > .reg-fuss { display: none !important; }
body[data-zu="1"] .reg-zu[hidden] { display: grid !important; }
.reg-zu-symbol { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-top: 6px;
  border: 1px solid rgba(159, 216, 255, .3); background: radial-gradient(circle at 50% 30%, rgba(74, 174, 245, .22), rgba(74, 174, 245, .04)); }
.reg-zu-symbol svg { width: 26px; height: 26px; fill: none; stroke: var(--baby); stroke-width: 1.8; stroke-linecap: round; }
.reg-zu h1 { margin: 0; }
.reg-zu .reg-unter { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.6; }
.reg-zu-code { font-family: var(--mono); letter-spacing: .06em; color: var(--hell); white-space: nowrap; }
a.reg-knopf { display: grid; place-items: center; text-decoration: none; text-align: center; }
.reg-zu .reg-knoepfe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 420px) { .reg-zu .reg-knoepfe { grid-template-columns: 1fr; } }

/* Anbieter (28.11.2026): wer hinter Soul-M8 steht – klein unter dem Formular */
.reg-anbieter { margin: 0; text-align: center; font-size: 11.5px; line-height: 1.5; color: rgba(190, 206, 228, .55); }
/* Rechtsseiten (30.11.2026): Link „Nutzungsbedingungen“ im 18+-Haken und die Zeile mit Datenschutz, Erstattung, Inhaltsrichtlinien */
.reg-haken a { color: var(--baby); text-decoration: underline; text-decoration-color: rgba(159, 216, 255, .45); text-underline-offset: 2px; }
.reg-haken a:hover { color: var(--hell); text-decoration-color: currentColor; }
.reg-recht { margin: -4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; line-height: 1.5; }
.reg-recht a { color: var(--grau); text-decoration: none; border-bottom: 1px solid rgba(125, 146, 170, .35); }
.reg-recht a:hover { color: var(--hell); border-color: var(--hell); }
.reg-haken a:focus-visible, .reg-recht a:focus-visible { outline: 2px solid var(--baby); outline-offset: 2px; border-radius: 3px; }

/* Wahl „Business | Soul-OS“ (05.12.2026, Wunsch des Users) – auf Login und Registrierung gleich */
.bereich-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px;
  background: rgba(3, 8, 16, .55); border: 1px solid rgba(120, 180, 235, .2); }
.bereich-wahl a { display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 0; padding: 9px 8px 8px; border-radius: 10px;
  color: #8fa6bf; text-decoration: none; text-align: center; transition: background .2s, color .2s, box-shadow .2s; }
.bereich-wahl a b { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: inherit; }
.bereich-wahl a svg { width: 17px; height: 17px; flex: none; }
.bereich-wahl a small { font-size: 11px; line-height: 1.3; color: inherit; opacity: .85; overflow-wrap: normal; word-break: normal; hyphens: none; }
.bereich-wahl a:hover { color: #eef6ff; background: rgba(74, 174, 245, .1); }
.bereich-wahl a[aria-current="page"] { color: #04121f; background: linear-gradient(180deg, #a6dbff, #4aaef5);
  box-shadow: 0 6px 18px rgba(74, 174, 245, .32), inset 0 1px rgba(255, 255, 255, .55); }
.bereich-wahl a[aria-current="page"] small { opacity: .78; }
.bereich-wahl a:focus-visible { outline: 2px solid #9fd8ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .bereich-wahl a { transition: none; } }
.reg .bereich-wahl { margin: 14px 0 2px; }
