:root {
  --hintergrund: #ffffc8;
  --schrift: #7b2435;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 100%;
  min-height: 100%;
  background: var(--hintergrund);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--schrift);
}

.seite {
  position: relative;
  width: min(100vw, calc(100vh * 1.619));
  height: min(100vh, calc(100vw / 1.619));
  background: var(--hintergrund);
  overflow: hidden;
}

.deko {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.datum {
  position: absolute;
  top: 8.0%;
  left: 58.0%;
  transform: translateX(-50%);
  width: 54%;
  text-align: center;
  font-size: clamp(20px, 3.6vh, 32px);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.gedenktext {
  position: absolute;
  left: 34.0%;
  top: 25.0%;
  width: 21.5%;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
  z-index: 2;
}

.gedenktext h1 {
  margin: 0 0 0.45em;
  font-family: "Segoe Script", "Lucida Handwriting", "Brush Script MT", cursive;
  font-size: clamp(34px, 6.0vh, 54px);
  line-height: 0.93;
  font-weight: 600;
}

.untertitel {
  margin: 0 0 1.3em;
  font-size: clamp(18px, 2.8vh, 27px);
  line-height: 1.1;
  font-weight: 700;
}

.gebet {
  margin: 0;
  font-size: clamp(14px, 2.05vh, 19px);
  line-height: 1.45;
  font-weight: 700;
}

.amen {
  margin: 1.15em 0 0;
  font-family: "Segoe Script", "Lucida Handwriting", "Brush Script MT", cursive;
  font-size: clamp(27px, 4.5vh, 42px);
  line-height: 1;
}

.video-bereich {
  position: absolute;
  top: 27.0%;
  right: 5.4%;
  width: 38.0%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 18px rgba(80, 38, 20, 0.45);
  border: 1px solid rgba(255, 246, 200, 0.85);
  z-index: 3;
}

.video-bereich video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

@media (max-width: 900px) {
  body {
    align-items: flex-start;
    overflow: auto;
  }

  .seite {
    width: 100vw;
    height: calc(100vw / 1.619);
    min-height: 580px;
  }
}
