
:root {
  --overlay-color: rgba(0, 0, 0, 0.35);
}

html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: #f5f6f8;
  display: grid;
  place-items: center; /* zentriert den Container */
  position: relative;
  overflow: hidden;
}

/* Legt das Hintergrundbild als Pseudo-Ebene VOR dem Container ab */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('hintergrund.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05); /* leicht vergrößert für saubere Ränder */
  filter: brightness(0.9) saturate(1.05);
  z-index: 1; /* VOR dem Container */
}

/* Halbtransparenter Farbfilm über dem Bild für bessere Lesbarkeit */
body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-color);
  z-index: 2; /* vor dem Bild, hinter dem Container */
}

.container {
  position: relative;
  z-index: 3; /* liegt ÜBER den ::before/::after Ebenen */
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 28px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  max-width: 460px;
}

h1 {
  margin: 0 0 12px 0;
  color: #b22222;
  font-weight: 700;
}
p {
  margin: 10px 0;
  color: #222;
  line-height: 1.5;
}