/* AIMIR Premium Animated Login 39.3.33.8.3 — nur die Anmeldeseite */
:root {
  --aimir-navy: #091832;
  --aimir-ink: #111f36;
  --aimir-muted: #8492aa;
  --aimir-blue: #2b75f6;
  --aimir-outline: #d6e0ef;
  --aimir-focus: 0 0 0 4px rgba(46,116,246,.15);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body.auth-body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 32px 24px;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  position: relative;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--aimir-ink);
  background:
    radial-gradient(ellipse 580px 520px at 8% 8%, rgba(255,255,255,.97), transparent 75%),
    radial-gradient(ellipse 810px 640px at 94% 93%, rgba(188,208,247,.56), transparent 70%),
    radial-gradient(ellipse 730px 420px at 55% 25%, rgba(239,247,255,.88), transparent 75%),
    linear-gradient(135deg,#eaf1fc 0%,#f4f7ff 51%,#e2ecfa 100%);
}
body.auth-body::before, body.auth-body::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.76);
}
body.auth-body::before { width: 650px; height: 650px; left: -430px; top: 12%; box-shadow: 0 0 0 120px rgba(255,255,255,.085); }
body.auth-body::after { width: 740px; height: 740px; right: -515px; top: -470px; box-shadow: 0 0 0 115px rgba(255,255,255,.13); }

.auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  width: min(100%, 1130px);
  min-height: 638px;
  border-radius: 21px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 35px 90px rgba(20,43,88,.19), 0 8px 22px rgba(42,66,102,.065);
}

/* Linke, rein visuelle Markenfläche. Keine Daten, keine Formularlogik. */
.auth-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 54px 54px 36px;
  min-width: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 13% 0%, rgba(57,122,223,.60), transparent 47%),
    radial-gradient(circle at 100% 92%, rgba(37,123,238,.37), transparent 43%),
    linear-gradient(142deg, #153b73 0%, #0a2043 42%, #07152c 80%, #102c55 100%);
}
.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(109,173,245,.055) 1px, transparent 1px), linear-gradient(rgba(109,173,245,.055) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(160deg, transparent 26%, black 99%);
}
.auth-panel-inner { position: relative; z-index: 2; padding-top: 57px; }
.auth-brand { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.auth-brand-icon {
  flex: 0 0 100px;
  width: 100px;
  height: 98px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 7px 14px rgba(37,124,246,.28));
  animation: aimir-logo-pulse 7s ease-in-out infinite;
}
.auth-brand-icon svg { display: block; width: 100%; height: 100%; }
.auth-brand-type { min-width: 0; line-height: 1; }
.auth-brand-name {
  position: relative;
  display: inline-block;
  font-size: clamp(44px, 4.9vw, 66px);
  font-weight: 390;
  letter-spacing: .045em;
  line-height: 1.05;
  background-image: linear-gradient(105deg, #e4efff 5%, #c9dbfa 35%, #ffffff 47%, #9ccaff 50%, #deebff 56%, #e4efff 70%);
  background-size: 320% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(101,166,255,.22));
  animation: aimir-wordmark-shine 8s ease-in-out infinite;
}
.auth-tagline { margin-top: 15px; }
.auth-tagline h1 { margin: 0; font-size: 20px; line-height: 1.32; letter-spacing: -.024em; font-weight: 720; color: #f6faff; }
.auth-tagline p { margin: 8px 0 0; color: #a9bcda; font-size: 14px; line-height: 1.55; }
.auth-modules {
  width: min(100%, 395px);
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin-top: 39px;
}
.auth-module {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: 62px;
  padding: 0 17px;
  color: #fff;
  border: 1px solid rgba(125,182,250,.28);
  border-radius: 12px;
  background: linear-gradient(116deg, rgba(44,94,163,.50), rgba(12,41,81,.62));
  box-shadow: inset 0 1px rgba(234,247,255,.085), 0 7px 19px rgba(1,12,34,.16);
  font-size: 13px;
  font-weight: 680;
  animation: aimir-module-enter .68s both cubic-bezier(.2,.72,.26,1);
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.auth-module:hover { background: rgba(57,108,183,.58); border-color: rgba(139,206,255,.56); box-shadow: inset 0 1px rgba(234,247,255,.12),0 9px 25px rgba(1,12,34,.21); }
.auth-module-one { animation-delay: .12s; }
.auth-module-two { animation-delay: .22s; }
.auth-module-three { animation-delay: .32s; }
.auth-module-four { animation-delay: .42s; }
.auth-module-icon { flex: 0 0 32px; height: 32px; width: 32px; display: grid; place-items: center; border-radius: 7px; }
.auth-module-icon svg { display: block; width: 24px; height: 24px; }
.auth-module-icon.is-blue { color: #73baff; }
.auth-module-icon.is-teal { color: #42e5ca; }
.auth-module-icon.is-violet { color: #bda7ff; }
.auth-module-icon.is-gold { color: #ffc076; }
.auth-panel-footer { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; color: #9ab2da; font-size: 10px; font-weight: 700; letter-spacing: .21em; }
.auth-footer-rule { height: 2px; width: 28px; background: #6facff; opacity: .8; }

/* Subtile, GPU-freundliche Bewegung: Lichtpunkte, Wellen und Leuchtflächen. */
.auth-ambient { position: absolute; z-index: 0; inset: 0; pointer-events: none; overflow: hidden; }
.auth-glow { position: absolute; display: block; width: 300px; height: 300px; border-radius: 50%; filter: blur(54px); opacity: .23; animation: aimir-ambient 18s ease-in-out infinite alternate; }
.auth-glow-one { left: -115px; top: -170px; background: #2d8bf8; }
.auth-glow-two { right: -150px; bottom: -180px; width: 410px; height: 410px; opacity: .27; background: #227af1; animation-delay: -8s; }
.auth-orbit { position: absolute; display: block; height: 490px; width: 490px; border: 1px solid rgba(67,146,255,.15); border-radius: 50%; right: -230px; bottom: -230px; }
.auth-orbit-two { width: 650px; height: 650px; bottom: -370px; right: -315px; border-color: rgba(74,153,255,.10); }
.auth-waves { position: absolute; width: 100%; height: 82%; bottom: -6%; right: -3%; opacity: .87; animation: aimir-waves 19s ease-in-out infinite alternate; }
.auth-spark { position: absolute; display: block; z-index: 1; width: 5px; height: 5px; background: #56caff; border-radius: 50%; box-shadow: 0 0 11px 3px rgba(33,141,255,.48); animation: aimir-spark-drift 13s ease-in-out infinite alternate; }
.auth-spark-one { top: 20%; right: 16%; }
.auth-spark-two { top: 43%; right: 9%; width: 4px; height: 4px; animation-delay: -4s; }
.auth-spark-three { bottom: 23%; right: 38%; width: 6px; height: 6px; animation-delay: -8s; }
.auth-spark-four { bottom: 13%; left: 30%; width: 4px; height: 4px; animation-delay: -2s; }
.auth-chart { position: absolute; right: 23px; bottom: 48px; width: 292px; height: 210px; display: flex; align-items: flex-end; gap: 10px; opacity: .43; mask-image: linear-gradient(to top,#000 5%,rgba(0,0,0,.8) 70%,transparent); }
.auth-chart span { flex: 1; display: block; height: var(--bar); border: 1px solid rgba(99,177,255,.4); border-bottom: 0; background: linear-gradient(90deg,rgba(25,95,211,.16),rgba(33,128,255,.85) 62%,rgba(24,94,193,.3)); box-shadow: 0 0 22px rgba(37,128,248,.12); }

/* Rechte Formularfläche. Animationsfrei während der Eingabe. */
.auth-card { background: #fefeff; padding: 48px 45px 48px 58px; display: grid; align-items: center; min-width: 0; }
.auth-card-inner { width: 100%; max-width: 413px; margin: 0 auto; }
.auth-card-head { margin-bottom: 38px; }
.auth-card-accent { display: block; height: 3px; width: 34px; margin-bottom: 21px; border-radius: 4px; background: #287bfa; }
.auth-card-title { margin: 0 0 10px; color: #0b1b35; font-size: clamp(28px,2.85vw,36px); line-height: 1.16; letter-spacing: -.045em; font-weight: 770; }
.auth-card-sub { margin: 0; color: #7f8ca4; font-size: 13px; line-height: 1.6; }
.auth-form { margin: 0; }
.auth-label { display: block; color: #172542; font-size: 13px; font-weight: 750; margin: 20px 0 10px; }
.auth-field { position: relative; }
.auth-field-icon { position: absolute; z-index: 1; top: 50%; left: 17px; transform: translateY(-50%); width: 20px; height: 20px; color: #879ab8; pointer-events: none; }
.auth-input {
  display: block;
  width: 100%;
  height: 52px;
  border-radius: 11px;
  border: 1px solid var(--aimir-outline);
  padding: 0 18px 0 51px;
  background: #fff;
  color: #15233c;
  outline: 0;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  box-shadow: inset 0 1px 2px rgba(30,61,120,.026);
  transition: border-color .17s ease, box-shadow .17s ease;
}
.auth-input::placeholder { color: #93a1b9; opacity: 1; }
.auth-input:hover { border-color: #abc3e4; }
.auth-input:focus { border-color: #5b9df9; box-shadow: var(--aimir-focus); }
.auth-input-password { padding-right: 53px; }
.auth-password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 37px; height: 37px; border: 0; border-radius: 9px; cursor: pointer; color: #8fa1bf; background: transparent; }
.auth-password-toggle:hover { color: #376cbb; background: #edf4ff; }
.auth-password-toggle svg { width: 20px; height: 20px; }
.auth-password-toggle:focus-visible, .btn.btn-primary:focus-visible { outline: 3px solid rgba(43,117,246,.53); outline-offset: 2px; }
.auth-error { margin-top: 17px; padding: 12px 13px; border: 1px solid #f4b6b9; border-radius: 11px; background: #fff1f2; color: #9a1b27; font-size: 13px; line-height: 1.5; font-weight: 650; }
.btn.btn-primary.w-100 { display: flex; align-items: center; justify-content: center; position: relative; margin-top: 32px; width: 100%; min-height: 56px; border: 0; border-radius: 11px; padding: 13px 51px; background: linear-gradient(105deg, #0c1d3d 0%, #173b73 57%, #28599a 100%); box-shadow: 0 11px 20px rgba(16,49,100,.16); color: #fff; font: inherit; font-size: 15px; font-weight: 730; cursor: pointer; transition: filter .17s ease, box-shadow .17s ease, transform .17s ease; }
.btn.btn-primary.w-100 svg { position: absolute; width: 21px; height: 21px; right: 19px; color: #edf7ff; }
.btn.btn-primary.w-100:hover { filter: brightness(1.08); box-shadow: 0 14px 25px rgba(16,49,100,.22); transform: translateY(-1px); }
.btn.btn-primary.w-100:active { transform: translateY(0); }
.auth-card-footer { margin-top: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; color: #7b8ca8; font-size: 11px; }
.auth-card-footer-line { flex: 1 1 16px; min-width: 12px; height: 1px; background: #d8e1ef; }
.auth-lock { height: 16px; width: 16px; color: #748aaa; flex: 0 0 16px; }
.auth-lock svg { display: block; height: 16px; width: 16px; }

@keyframes aimir-wordmark-shine {
  0%, 15% { background-position: 100% 50%; }
  34%, 100% { background-position: 0% 50%; }
}
@keyframes aimir-logo-pulse { 0%,100% { filter: drop-shadow(0 6px 12px rgba(37,124,246,.23)); } 50% { filter: drop-shadow(0 6px 20px rgba(90,186,255,.55)); } }
@keyframes aimir-module-enter { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aimir-ambient { from { transform: translate3d(-10px,4px,0) scale(.95); } to { transform: translate3d(23px,-15px,0) scale(1.06); } }
@keyframes aimir-spark-drift { from { transform: translate3d(-3px,6px,0); opacity: .5; } to { transform: translate3d(14px,-12px,0); opacity: 1; } }
@keyframes aimir-waves { from { transform: translate3d(-6px,9px,0); } to { transform: translate3d(10px,-8px,0); } }

@media (max-width: 1110px) {
  .auth-panel { padding-left: 39px; padding-right: 36px; }
  .auth-brand-icon { flex-basis: 86px; width: 86px; height: 86px; }
  .auth-brand-name { font-size: 56px; }
  .auth-card { padding-left: 38px; padding-right: 38px; }
}
@media (max-width: 820px) {
  body.auth-body { padding: 20px 16px; }
  .auth-shell { width: min(100%, 600px); grid-template-columns: 1fr; min-height: 0; }
  .auth-panel { min-height: 325px; padding: 24px 32px 24px; }
  .auth-panel-inner { padding-top: 0; }
  .auth-brand-icon { width: 68px; height: 68px; flex-basis: 68px; }
  .auth-brand-name { font-size: 48px; }
  .auth-tagline { margin-top: 4px; }
  .auth-tagline h1 { font-size: 17px; }
  .auth-tagline p { font-size: 12px; margin-top: 5px; }
  .auth-modules { margin-top: 20px; gap: 9px; }
  .auth-module { height: 47px; padding: 0 12px; font-size: 12px; gap: 8px; }
  .auth-module-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .auth-module-icon svg { width: 20px; height: 20px; }
  .auth-chart { right: -10px; bottom: 0; opacity: .21; }
  .auth-panel-footer { margin-top: 23px; font-size: 9px; }
  .auth-card { padding: 34px 36px 39px; }
  .auth-card-inner { max-width: 470px; }
  .auth-card-head { margin-bottom: 23px; }
  .auth-card-title { font-size: 32px; }
  .auth-card-footer { margin-top: 34px; }
}
@media (max-width: 440px) {
  body.auth-body { padding: 10px; }
  .auth-shell { border-radius: 16px; }
  .auth-panel { padding: 20px 21px 21px; min-height: 315px; }
  .auth-brand { gap: 10px; }
  .auth-brand-icon { width: 58px; height: 58px; flex-basis: 58px; }
  .auth-brand-name { font-size: 43px; }
  .auth-tagline h1 { font-size: 15.5px; }
  .auth-tagline p { font-size: 12px; }
  .auth-modules { margin-top: 20px; }
  .auth-module { padding: 0 8px; font-size: 11px; height: 46px; gap: 5px; }
  .auth-module-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .auth-module-icon svg { width: 20px; height: 20px; }
  .auth-panel-footer { letter-spacing: .12em; }
  .auth-card { padding: 28px 24px 34px; }
  .auth-card-title { font-size: 29px; }
  .auth-card-sub { font-size: 12px; }
  .auth-card-footer { gap: 5px; font-size: 9px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-panel *, .auth-panel *::before, .auth-panel *::after { animation: none !important; transition: none !important; }
  .btn.btn-primary.w-100 { transition: none !important; }
  .auth-module { opacity: 1 !important; transform: none !important; }
}
