/* Zweigeteiltes Login-Grundlayout und wiederverwendbare Formularelemente. */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 15%, #31518d 0, transparent 35%),
    linear-gradient(135deg, #0c172b, #182a4b);
  font:
    14px/1.45 Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: var(--ink);
}
.shell {
  width: min(960px, 100%);
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 80px #02081466;
}
.brand {
  position: relative;
  padding: 58px;
  color: var(--on-navy);
  background: linear-gradient(150deg, #15284a, #284a84);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.brand:after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 70px solid #ffffff0b;
  border-radius: 50%;
  right: -170px;
  bottom: -150px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #a9c4f8;
  font-weight: 750;
}
.brand h1 {
  font-size: 42px;
  line-height: 1.04;
  margin: 16px 0;
  letter-spacing: -0.045em;
}
.brand p {
  max-width: 390px;
  color: #d4e1fa;
  font-size: 15px;
}
.source {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c5d7f7;
  font-size: 12px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #43d49e;
  box-shadow: 0 0 0 5px #43d49e22;
}
.login {
  padding: 58px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login h2 {
  font-size: 26px;
  margin: 0 0 6px;
  letter-spacing: -0.03em;
}
.lead {
  color: var(--muted);
  margin: 0 0 30px;
}
.field {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  color: #40506c;
}
.field input {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fbfe;
  color: var(--ink);
  font: inherit;
  outline: none;
}
.field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px #4169e118;
  background: #fff;
}
.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 49px;
  border: 0;
  border-radius: 7px;
  font-family: inherit;
  background: var(--navy);
  color: var(--on-navy);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.submit svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.admin-link {
  display: block;
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.admin-link:hover {
  color: var(--ink2);
}
.submit:hover {
  background: var(--accent);
}
.error {
  display: none;
  padding: 11px 13px;
  margin: 0 0 18px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--status-critical) 14%, var(--surface));
  color: var(--status-critical);
  font-size: 12px;
}
.error.show {
  display: block;
}
.foot {
  margin-top: 24px;
  color: #929caf;
  font-size: 11px;
  text-align: center;
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 11px;
}
.or-divider span {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.portal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  color: var(--ink2);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.portal-link:hover {
  border-color: var(--ink2);
  color: var(--ink);
}
@media (max-width: 720px) {
  .shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .brand {
    padding: 34px;
  }
  .brand h1 {
    font-size: 30px;
  }
  .brand p,
  .source {
    display: none;
  }
  .login {
    padding: 38px 30px;
  }
}

/* agt-Typografie und visuelle Designanpassungen. */
@font-face {
  font-family: "TT Hoves Pro";
  src: local("TT Hoves Pro Regular"), local("TT Hoves Pro");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves Pro";
  src: local("TT Hoves Pro DemiBold"), local("TT Hoves Pro Bold");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
body {
  background: var(--bg);
  font-family: "TT Hoves Pro", Arial, sans-serif;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.shell {
  width: min(1040px, 100%);
  min-height: 600px;
  border-radius: 10px;
  box-shadow: none;
}
.brand {
  padding: 52px;
  background: var(--navy);
}
.brand:after {
  display: none;
}
.logo-lockup {
  display: inline-block;
}
.brand-logo {
  display: block;
  width: 130px;
  height: auto;
  filter: brightness(0) invert(1);
}
.eyebrow {
  margin-top: 70px;
  color: color-mix(in srgb, var(--on-navy) 80%, transparent);
  letter-spacing: 0.12em;
}
.brand h1 {
  font-size: 50px;
  font-weight: 500;
  letter-spacing: -0.055em;
}
.brand p {
  color: color-mix(in srgb, var(--on-navy) 80%, transparent);
}
.source {
  color: color-mix(in srgb, var(--on-navy) 80%, transparent);
}
.dot {
  background: var(--blue);
  box-shadow: none;
}
.login {
  padding: 64px;
}
.login h2 {
  font-size: 32px;
  font-weight: 500;
}
.lead {
  color: var(--muted);
}
.field {
  color: var(--ink);
  font-weight: 500;
}
.field input {
  border-color: var(--line);
  border-radius: 7px;
  background: var(--surface2);
  font-family: inherit;
}
.field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #3165ff18;
  background: var(--surface2);
}
.foot {
  color: #858b9c;
}
@media (max-width: 720px) {
  body {
    padding: 14px;
  }
  .brand {
    padding: 30px;
  }
  .brand-logo {
    width: 160px;
  }
  .eyebrow {
    margin-top: 38px;
  }
  .login {
    padding: 38px 30px;
  }
}
