:root { color-scheme: dark; font-family: Inter, "Segoe UI", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: grid; grid-template-rows: 1fr auto; background: #121213; color: #fff; }
main {
  display: grid;
  grid-template-columns: minmax(0, 455px) auto;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: clamp(24px, 6vw, 86px);
  background: linear-gradient(90deg, #121213 0%, #121213e8 32%, #12121322 78%), url("baustelle.jpg") center / cover;
}
main section { text-align: center; }
h1 { margin: 18px 0 0; font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.13; text-wrap: balance; }
.brand { margin-inline: auto; background: #fff; border-radius: 16px; padding: 0 14px; box-shadow: 0 8px 30px #0008; }
.brand img { display: block; width: 100%; height: auto; }
.login { margin: 24px auto 0; max-width: 360px; padding: 22px; border: 1px solid #ffffff40; border-radius: 16px; background: #121213f2; text-align: left; }
.login h2 { margin: 0 0 16px; font-size: 1.15rem; }
.login label, .login input, .login button { display: block; width: 100%; }
.login label { font-size: .95rem; }
.login input { margin: 6px 0 14px; padding: 10px; border: 1px solid #ffffff60; border-radius: 8px; background: #25292e; color: #fff; font: inherit; }
.login button { padding: 11px; border: 0; border-radius: 8px; background: #14618c; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.login :focus-visible { outline: 2px solid #82d9ff; outline-offset: 3px; }
.login-error { color: #ffb7a6; }
.pn-logo { width: clamp(85px, 15vw, 200px); height: auto; justify-self: end; animation: float 5s ease-in-out infinite; }
footer { padding: 14px; text-align: center; color: #d1d1d1; font-size: .9rem; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
  main { grid-template-columns: 1fr; align-content: center; justify-items: center; background: linear-gradient(#12121373, #121213e0 65%, #121213), url("baustelle.jpg") 69% top / cover; }
  main section { width: min(100%, 455px); }
  .pn-logo { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pn-logo { animation: none; }
}
footer a { color: inherit; }
