* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background-color: #000000;
}

/* Ruhiger, einfarbiger Hintergrund ohne Bild */
.background {
  position: fixed;
  inset: 0;
  background: radial-gradient(
      circle at top,
      #17130d 0%,
      #050505 40%,
      #000000 100%
    );
  z-index: -2;
}

.overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.9)
  );
  z-index: -1;
}

.content {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.card {
  max-width: 620px;
  margin: auto;
  padding: 40px 28px 40px;
  text-align: center;
  background: transparent;
}

.card--transformed {
}

.card--transformed::before {
}

.card--transformed h1,
.card--transformed .latin,
.card--transformed .latin-large,
.card--transformed .name {
}

.card--transformed .latin,
.card--transformed .latin-large {
}

h1 {
  font-size: 2.8rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.dates {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 26px;
}

.thanks {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 14px;
  max-width: 640px;
}

.latin {
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
}

.memorial-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  pointer-events: none; /* Footer wirkt rein informativ, stört nicht beim Scrollen/Tippen */
}

.memorial-footer-links {
  position: fixed;
  right: 14px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  opacity: 0.25;
  pointer-events: auto; /* Links sollen klickbar sein */
}

.memorial-footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.memorial-footer-link:hover,
.memorial-footer-link:focus-visible {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.9;
}

.memorial-footer-line {
  width: 82%;
  max-width: 480px;
  margin: 0 auto 6px;
  border-top: 1px solid rgba(200, 160, 80, 0.22);
  box-shadow: 0 0 8px rgba(40, 30, 15, 0.45);
}

.memorial-footer-text {
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 480px) {
  .content {
    padding: 18px 14px;
  }

  .memorial-footer {
    padding-bottom: 16px;
  }

  .card {
    padding: 30px 16px 30px;
  }

  h1 {
    font-size: 2.2rem;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
  }

  .dates {
    font-size: 0.98rem;
    margin-bottom: 20px;
  }

  .thanks,
  .latin {
    font-size: 0.95rem;
  }
}