:root { color-scheme: dark; font-family: Inter, "Segoe UI", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #121213; color: #fff; }
main {
  min-height: 100svh;
  background: linear-gradient(90deg, #121213 0%, #121213e8 30%, #12121333 66%, #12121300), url("/baustelle.jpg") center / cover no-repeat;
  padding: clamp(20px, 5vw, 72px);
  display: grid;
  align-items: stretch;
}
.welcome { width: min(100%, 455px); display: grid; align-content: space-between; gap: 40px; }
.welcome-copy { text-align: center; }
h1 { margin: 20px 0 0; font-size: clamp(2.1rem, 4.3vw, 3.75rem); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.brand {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(104px, 13vw, 158px);
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 32px #0008;
}
.brand img { display: block; width: 83%; height: auto; animation: turn 14s linear infinite; }
.brand::before, .brand::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  mask-image: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}
.brand::before { background: #be131b; }
.brand::after { background: conic-gradient(transparent 0deg 252deg, #ff444d 275deg, #ffc2c5 312deg, transparent 329deg); animation: turn 3s linear infinite; }
@keyframes turn { to { transform: rotate(1turn); } }
form {
  display: grid;
  gap: 8px;
  background: #171718ee;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid #ffffff2e;
  border-radius: 14px;
}
h2 { margin: 0 0 7px; font-size: 1.3rem; }
label { margin-top: 4px; }
input, button { min-height: 45px; border-radius: 8px; font: inherit; }
input { width: 100%; padding: 8px 11px; border: 1px solid #6b6767; color: inherit; background: #252526; }
button { margin-top: 8px; border: 0; background: #be131b; color: #fff; font-weight: 750; cursor: pointer; }
button:hover { background: #a10d14; }
:focus-visible { outline: 3px solid #ff898e; outline-offset: 3px; }
.error { margin: 0; color: #ffacb0; }
@media (max-width: 620px) {
  main { background: linear-gradient(#1212136e, #121213dc 55%, #121213), url("/baustelle.jpg") 69% top / cover no-repeat; }
}
@media (prefers-reduced-motion: reduce) {
  .brand img, .brand::after { animation: none; }
}
