:root {
  --blau: #2b529e;
  --blau-hell: #5a86cc;
  --alarm: #d93f3f;
  --gruen: #50c878;
  --warn: #f39c12;
  --neutral: #f4f4f9;
  --text: #2c3e50;
  --muted: #5c6b7a;
  --weiss: #ffffff;
  --line: #e4e7ef;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(ellipse 55% 45% at 50% 38%, rgb(90 134 204 / 28%), transparent 70%),
    var(--neutral);
}

a {
  color: var(--blau);
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(92vw, 36rem);
  margin-inline: auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.mark {
  width: min(78vw, 24rem);
  height: auto;
  mix-blend-mode: multiply;
}

.bar {
  display: flex;
  gap: 0.45rem;
  margin-top: 2.25rem;
}

.bar span {
  width: 2.25rem;
  height: 0.28rem;
  border-radius: 999px;
  filter: brightness(1);
  transition: filter 0.22s ease, box-shadow 0.22s ease;
}

.bar span.is-lit {
  filter: brightness(1.55);
  transition-duration: 0.08s;
}

.bar span:nth-child(1).is-lit {
  box-shadow: 0 0 10px rgb(80 200 120 / 65%);
}

.bar span:nth-child(2).is-lit {
  box-shadow: 0 0 10px rgb(243 156 18 / 65%);
}

.bar span:nth-child(1) {
  background: var(--gruen);
}

.bar span:nth-child(2) {
  background: var(--warn);
}

.bar span:nth-child(3) {
  background: var(--alarm);
  box-shadow: 0 0 0 0 rgb(217 63 63 / 45%);
  animation: live 2.4s ease-out infinite;
}

@keyframes live {
  70% {
    box-shadow: 0 0 0 8px rgb(217 63 63 / 0%);
  }
}

.note {
  margin: 1.75rem 0 0;
  max-width: 36rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-align: center;
}

.sheet {
  flex: 1;
  width: min(92vw, 40rem);
  margin: 2.5rem auto 1.5rem;
}

.back {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
}

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

.card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--blau);
  border-radius: 16px;
  background: var(--weiss);
  box-shadow: 0 10px 30px rgb(43 82 158 / 8%);
  padding: 1.6rem 1.5rem 1.4rem;
}

.card h1 {
  margin: 0 0 1.25rem;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.card h2 {
  margin: 1.35rem 0 0.4rem;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 500;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card a {
  color: var(--blau);
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.updated {
  margin-top: 1.4rem;
  color: #9aa6b2;
  font-size: 0.75rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.7rem;
  padding: 1rem 1.25rem 1.15rem;
  color: #8b97a3;
  font-size: 0.72rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.legal:hover {
  color: var(--blau);
}

.sep {
  color: #c5ccd4;
}

.credit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
}

.brand img {
  height: 1.25rem;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.brand:hover img,
.brand:focus-visible img {
  opacity: 0.85;
  filter: grayscale(0);
}

.brand:focus-visible {
  outline: 2px solid var(--blau-hell);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .bar span:nth-child(3),
  .brand img {
    animation: none;
    transition: none;
  }

  .bar span.is-lit {
    filter: none;
    box-shadow: none;
  }
}
