@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/Roboto-Variable.woff2") format("woff2");
}

:root {
  --blue: #0065b1;
  --blue-deep: #05324f;
  --ink: #26343e;
  --muted: #66737d;
  --line: #dfe7ec;
  --soft: #f5f8fa;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Roboto", Arial, sans-serif;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: inherit;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(390px, .82fr) minmax(560px, 1.18fr);
}

.login-brand-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(38px, 5vw, 76px);
  background:
    linear-gradient(145deg, rgba(0, 48, 83, .97), rgba(0, 101, 177, .9)),
    url("content-unternehmen.webp") center / cover;
  color: #fff;
}

.login-brand-panel::after {
  position: absolute;
  right: -170px;
  bottom: 11%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .035), 0 0 0 140px rgba(255, 255, 255, .025);
  content: "";
}

.login-brand {
  position: relative;
  z-index: 1;
  width: 210px;
}

.login-brand img {
  display: block;
  width: 100%;
}

.login-brand-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.login-brand-copy > span,
.login-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: #a9dcfa;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.login-brand-copy h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.login-brand-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.login-brand-panel > small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .55);
}

.login-form-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(30px, 6vw, 100px);
}

.login-card {
  width: min(100%, 620px);
}

.login-back {
  display: inline-flex;
  margin-bottom: clamp(45px, 8vh, 90px);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 400;
}

.login-back:hover {
  color: var(--blue);
}

.login-eyebrow {
  color: var(--blue);
}

.login-card h2 {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.login-card > p {
  margin: 0 0 36px;
  color: var(--muted);
  line-height: 1.75;
}

.login-form {
  display: grid;
  gap: 20px;
}

.login-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 8px;
}

.login-form label > span {
  color: #46545e;
  font-size: .83rem;
  font-weight: 600;
}

.login-form input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

.login-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 101, 177, .1);
}

.login-form button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 22px;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.login-form button:hover {
  background: #00528f;
}

.login-form button span {
  font-size: 1.3rem;
}

.login-notice {
  display: grid;
  gap: 6px;
  margin: 0 0 25px;
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  background: #eaf5fb;
  color: var(--blue-deep);
  font-size: .9rem;
  line-height: 1.55;
}

.login-notice.error {
  border-color: #b42318;
  background: #fff1f0;
  color: #7a271a;
}

.login-notice.success {
  border-color: #16803b;
  background: #edf9f0;
  color: #145c2b;
}

.login-notice code {
  font-weight: 600;
}

@media (max-width: 920px) {
  .login-page {
    grid-template-columns: 1fr;
  }

  .login-brand-panel {
    min-height: auto;
    gap: 45px;
    padding: 35px 30px 45px;
  }

  .login-brand-copy h1 {
    font-size: clamp(2.2rem, 9vw, 4rem);
  }

  .login-brand-panel > small {
    display: none;
  }

  .login-form-panel {
    min-height: auto;
    padding: 50px 30px 70px;
  }

  .login-back {
    margin-bottom: 45px;
  }
}

@media (max-width: 560px) {
  .login-brand-panel,
  .login-form-panel {
    padding-right: 22px;
    padding-left: 22px;
  }

  .login-brand {
    width: 176px;
  }

  .login-field-row {
    grid-template-columns: 1fr;
  }
}
