/* Anmeldeseite im Glas-Look. Marken-Farben von Certus Revenue: Cyan/Blau auf Nachtblau. */
@font-face { font-family: "Nunito KZ"; src: url("../assets/fonts/nunito-800-latin.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --bg: #05070c; --text: #eef6fa; --muted: #93a3b8; --cyan: #6eecfa; --accent: #5cd0e6; --blau: #4a8fe8; --navy: #0b2750;
  --font: ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --zahl: "Nunito KZ", ui-rounded, var(--font);
  --logo: Georgia, "Times New Roman", serif; --ease: cubic-bezier(.22, 1, .36, 1); --cut: 78px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, p { margin: 0; } button, input { font: inherit; color: inherit; }
a { color: inherit; }

.buehne { position: fixed; inset: 0; z-index: 0; background: radial-gradient(900px 600px at 50% 45%, rgba(5, 7, 12, 0), rgba(5, 7, 12, .55)), url("../assets/baender.svg") center / cover no-repeat, var(--bg); }
.mitte { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 36px 16px 28px; }
.wortmarke { font: 700 32px/1 var(--logo); letter-spacing: -.01em; text-decoration: none; }
.wortmarke b { color: var(--accent); font-weight: 700; margin-left: .3em; text-shadow: 0 0 24px rgba(92, 208, 230, .55); }

/* Glasplatte mit zwei abgeschrägten Ecken, dazu zwei lose Glas-Dreiecke */
.glas { position: relative; width: min(560px, 100%); padding: 44px 40px 34px; transition: height .55s var(--ease); isolation: isolate; }
.glas::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 30px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03) 55%, rgba(110, 236, 250, .035));
  -webkit-backdrop-filter: blur(24px) saturate(1.35); backdrop-filter: blur(24px) saturate(1.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -40px 60px -40px rgba(0, 0, 0, .35); }
.linie { position: absolute; height: 1px; width: calc(var(--cut) * 1.4142); pointer-events: none; z-index: 0; }
.linie-o { left: 0; top: var(--cut); transform-origin: 0 0; transform: rotate(-45deg); background: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); }
.linie-u { right: 0; bottom: var(--cut); transform-origin: 100% 0; transform: rotate(-45deg); background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(110, 236, 250, .3)); }
.ecke { position: absolute; width: calc(var(--cut) - 6px); height: calc(var(--cut) - 6px); pointer-events: none; z-index: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .2); }
.ecke-o { left: -4px; top: -4px; border-radius: 16px 0 0 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
.ecke-u { right: -4px; bottom: -4px; border-radius: 0 0 16px 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(255, 255, 255, .16); }

.inhalt { position: relative; z-index: 1; transition: opacity .28s ease, filter .28s ease, transform .28s var(--ease); }
.ansicht[hidden] { display: none; }
h1 { font: 800 33px/1.1 var(--zahl); letter-spacing: -.01em; }
h1 b { color: var(--cyan); font-weight: 800; text-shadow: 0 0 26px rgba(110, 236, 250, .35); }
.unter { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; }

.feld { display: block; margin-bottom: 14px; min-width: 0; }
.feld > span:first-child { display: block; font-size: 13.5px; color: #cfdbe6; margin-bottom: 6px; }
.eingabe { position: relative; display: flex; align-items: center; height: 52px; border-radius: 14px; background: rgba(4, 8, 14, .38); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .2s, box-shadow .2s, background .2s; }
.eingabe:hover { border-color: rgba(255, 255, 255, .18); }
.eingabe:focus-within { border-color: rgba(110, 236, 250, .65); background: rgba(4, 8, 14, .5); box-shadow: 0 0 0 4px rgba(110, 236, 250, .12); }
.eingabe > svg { flex: none; width: 19px; height: 19px; margin-left: 14px; fill: none; stroke: #7e8fa5; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eingabe input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; padding: 0 14px 0 10px; font-size: 15px; }
.eingabe input::placeholder { color: #62728a; }
.auge { flex: none; width: 44px; height: 44px; margin-right: 3px; display: grid; place-items: center; background: none; border: 0; border-radius: 12px; cursor: pointer; color: #7e8fa5; }
.auge:hover { color: var(--text); } .auge svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.auge[aria-pressed="true"] { color: var(--cyan); }

.zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; font-size: 13.5px; }
.haken { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: #cfdbe6; }
.haken input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.haken i { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .28); display: grid; place-items: center; transition: background .2s, border-color .2s, box-shadow .2s; }
.haken i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #04202a; border-bottom: 2px solid #04202a; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.haken input:checked + i { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 12px rgba(110, 236, 250, .4); } .haken input:checked + i::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.haken input:focus-visible + i { outline: 2px solid var(--cyan); outline-offset: 3px; }
.leise { color: var(--muted); text-decoration: none; white-space: nowrap; } .leise:hover { color: var(--cyan); }

.haupt { position: relative; width: 100%; height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; cursor: pointer; overflow: hidden;
  font: 800 16px/1 var(--zahl); color: #04202a; background: linear-gradient(180deg, #8ff3fd, #6eecfa 45%, #4aa7ec); box-shadow: 0 8px 28px rgba(92, 208, 230, .38), inset 0 1px 0 rgba(255, 255, 255, .6); transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.haupt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%); transform: translateX(-120%); }
.haupt:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(92, 208, 230, .5), inset 0 1px 0 rgba(255, 255, 255, .6); } .haupt:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.haupt:active { transform: translateY(1px) scale(.995); }
.haupt svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); } .haupt:hover svg { transform: translateX(3px); }

.oder { position: relative; text-align: center; margin: 20px 0 16px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #6f8098; }
.oder::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent); }
.oder span { position: relative; padding: 0 12px; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .zwei .feld { margin-bottom: 14px; }
.sso { height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; cursor: pointer; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.sso:hover { background: rgba(110, 236, 250, .07); border-color: rgba(110, 236, 250, .3); transform: translateY(-1px); }
.sso svg.google { fill: initial; stroke: none; }
.sso svg { width: 19px; height: 19px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.wechsel { text-align: center; margin-top: 18px; color: var(--muted); font-size: 14px; }
.wechsel a { color: var(--cyan); font-weight: 600; text-underline-offset: 3px; } .wechsel a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 10px; }

.hinweis { font-size: 12.5px; color: #6f8098; text-align: center; min-height: 1.4em; transition: color .3s; }
.hinweis.an { color: var(--cyan); }

/* Übergang: Inhalt blendet aus, Glas-Symbol und Leuchtpunkt erscheinen, neuer Inhalt blendet ein */
.uebergang { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.symbol { position: absolute; width: 58px; height: 58px; border-radius: 15px; background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: scale(.6); transition: transform .5s var(--ease); }
.symbol::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(45deg, transparent calc(50% - .5px), rgba(255, 255, 255, .3) calc(50% - .5px), rgba(255, 255, 255, .3) calc(50% + .5px), transparent calc(50% + .5px)); }
.orb { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #eafcff 0 18%, #6eecfa 40%, rgba(110, 236, 250, 0) 72%); box-shadow: 0 0 40px 14px rgba(110, 236, 250, .45); opacity: 0; transform: scale(.2); transition: transform .45s var(--ease), opacity .3s; }
.glas[data-phase="aus"] .inhalt { opacity: 0; filter: blur(7px); transform: scale(.985); }
.glas[data-phase="mitte"] .inhalt, .glas[data-phase="rein"] .inhalt { opacity: 0; filter: blur(7px); transform: scale(.985); transition: none; }
.glas[data-phase="mitte"] .uebergang, .glas[data-phase="aus"] .uebergang { opacity: 1; }
.glas[data-phase="mitte"] .symbol, .glas[data-phase="aus"] .symbol { transform: scale(1); }
.glas[data-phase="mitte"] .orb { opacity: 1; transform: scale(1.5); }
.glas[data-phase="rein"] .uebergang { opacity: 0; transition: opacity .35s; }
.glas[data-phase="rein"] .orb { opacity: 0; transform: scale(2.4); transition: transform .5s var(--ease), opacity .35s; }

@media (max-width: 520px) { .glas { padding: 38px 20px 28px; --cut: 44px; } h1 { font-size: 28px; } .wortmarke { font-size: 28px; } .zeile { flex-wrap: wrap; } }
@media (max-width: 420px) { .zwei:has(.feld) { grid-template-columns: 1fr; gap: 0; } }
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (prefers-reduced-transparency: reduce) { .glas::before, .ecke { background: rgba(14, 18, 30, .95); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Fehlermeldung, nur ein Knopf bei "oder weiter mit", gesperrter Knopf */
.fehler { margin: -8px 0 16px; padding: 11px 14px; border-radius: 12px; font-size: 14px; color: #ffd1d8; background: rgba(255, 123, 138, .12); box-shadow: inset 0 0 0 1px rgba(255, 123, 138, .35); }
.fehler[hidden] { display: none; }
.zwei.einzeln { grid-template-columns: 1fr; }
.sso:disabled { cursor: not-allowed; opacity: .55; transform: none; background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.haupt:disabled { cursor: progress; filter: saturate(.7) brightness(.9); transform: none; }
.erfolg { margin: -8px 0 16px; padding: 11px 14px; border-radius: 12px; font-size: 14px; color: #c9f5dc; background: rgba(106, 207, 157, .12); box-shadow: inset 0 0 0 1px rgba(106, 207, 157, .35); }
.erfolg[hidden] { display: none; }
