/* Fehlerseite (403) */
:root {
  --bg: #131316;
  --fg: #f1f1f3;
  --muted: #a3a3ad;
}

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 "WP Emoji", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.error {
  min-height: 100%;
  box-sizing: border-box;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.error h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(34px, 8vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #5b5b66;
}

.error p {
  margin: 0;
  color: var(--muted);
}

.reload {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.reload:hover {
  filter: brightness(0.85);
}

.reload:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Vollbild-Fehler im Seiten-Inneren (z. B. 400) */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
}
