.tempel-brief .brief-einstieg {
  position: relative;
  isolation: isolate;
}

.brief-einstieg > .brief-inhalt {
  position: relative;
  z-index: 1;
}

.lotus-hintergrund {
  --lotus-fortschritt: 1;
  --lotus-auslauf: linear-gradient(90deg, transparent 7%, #0002 37%,
    #0005 calc(50% + 21.5rem), #000c calc(50% + 25rem), #000 100%);
  --oeffnung-aussen: clamp(0, calc(var(--lotus-fortschritt) * 1.65), 1);
  --oeffnung-mitte: clamp(0, calc((var(--lotus-fortschritt) - 0.22) * 1.48), 1);
  --oeffnung-innen: clamp(0, calc((var(--lotus-fortschritt) - 0.48) / 0.52), 1);
  --schimmer: clamp(0, calc((var(--lotus-fortschritt) - 0.72) / 0.28), 1);
  position: absolute;
  z-index: 0;
  inset: -1.5rem 0 0;
  overflow: hidden;
  opacity: 0.32;
  pointer-events: none;
}

@supports (mask-image: linear-gradient(#000, transparent)) or (-webkit-mask-image: linear-gradient(#000, transparent)) {
  .lotus-hintergrund {
    opacity: 1;
    -webkit-mask-image: var(--lotus-auslauf);
    mask-image: var(--lotus-auslauf);
  }
}

.lotus-bluete {
  position: absolute;
  top: 54%;
  left: 72%;
  width: clamp(25rem, 55vw, 46rem);
  aspect-ratio: 1.47;
  transform: translate(-50%, calc(-49% - var(--lotus-fortschritt) * 5%));
}

.lotus-bluete::before,
.lotus-bluete::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.lotus-bluete::before {
  inset: 3% 3% 6%;
  background: radial-gradient(ellipse at 63% 45%, #db955944, #eab87917 57%, transparent 72%);
}

.lotus-bluete::after {
  inset: auto 17% 8%;
  height: 15%;
  background: radial-gradient(ellipse, #9f50343d, transparent 72%);
}

.lotus-blatt {
  position: absolute;
  bottom: 18%;
  left: 50%;
  width: var(--blatt-breite);
  height: var(--blatt-laenge);
  transform-origin: center bottom;
  transform: translateX(-50%) rotate(calc(var(--winkel) * (0.11 + 0.89 * var(--blatt-entfaltung))))
    scale(calc(0.7 + 0.3 * var(--blatt-entfaltung)), calc(0.88 + 0.12 * var(--blatt-entfaltung)));
}

.lotus-blatt::before,
.lotus-blatt::after {
  position: absolute;
  clip-path: var(--blatt-form);
  content: "";
}

.lotus-blatt::before {
  inset: 0;
  background: linear-gradient(157deg, #f8d49d, #d6a06b 46%, #8f4b39 82%, #722f30);
}

.lotus-blatt::after {
  inset: 1px 1.5px 2px;
  background:
    linear-gradient(90deg, transparent 49.6%, #f5cd985c 50%, transparent 50.55%),
    radial-gradient(ellipse at -22% 12%, transparent 59%, #f6ce9850 59.4%, transparent 60.2%),
    radial-gradient(ellipse at 121% 21%, transparent 57%, #f7ce9855 57.4%, transparent 58.2%),
    linear-gradient(95deg, #56262630 15%, transparent 38%, #ffdbb620 49%, transparent 64%, #571f2844 92%),
    linear-gradient(167deg, var(--blatt-spitze), var(--blatt-mitte) 53%, var(--blatt-basis));
}

.lotus-blatt--aussen {
  --blatt-entfaltung: var(--oeffnung-aussen);
  --blatt-form: polygon(50% 0%, 62% 7%, 75% 16%, 85% 26%, 92% 39%, 94% 52%,
    91% 65%, 84% 76%, 74% 84%, 61% 92%, 50% 100%, 38% 92%, 24% 84%,
    14% 75%, 8% 64%, 6% 52%, 8% 39%, 15% 26%, 26% 15%, 39% 7%);
  --blatt-spitze: #e6af7c;
  --blatt-mitte: #af6054;
  --blatt-basis: #722936;
  z-index: 1;
}

.lotus-blatt--mitte {
  --blatt-entfaltung: var(--oeffnung-mitte);
  --blatt-form: polygon(50% 0%, 58% 10%, 70% 22%, 79% 34%, 86% 47%, 88% 60%,
    85% 72%, 78% 82%, 64% 91%, 50% 100%, 36% 91%, 22% 82%, 15% 72%,
    12% 60%, 14% 47%, 21% 34%, 31% 21%, 42% 10%);
  --blatt-spitze: #f0bf8f;
  --blatt-mitte: #b96759;
  --blatt-basis: #7d3440;
  z-index: 2;
}

.lotus-blatt--innen {
  --blatt-entfaltung: var(--oeffnung-innen);
  --blatt-form: polygon(50% 0%, 60% 13%, 70% 25%, 76% 37%, 81% 51%, 81% 61%,
    77% 73%, 71% 83%, 60% 94%, 50% 100%, 39% 94%, 28% 83%,
    22% 73%, 19% 61%, 19% 51%, 24% 37%, 31% 25%, 41% 13%);
  --blatt-spitze: #f1c59a;
  --blatt-mitte: #b97162;
  --blatt-basis: #833d45;
  z-index: 4;
}

.lotus-kern {
  position: absolute;
  z-index: 3;
  bottom: 33%;
  left: 37%;
  width: 26%;
  height: 19%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #ffd08aa8, #e6a14e38 45%, transparent 70%);
  opacity: var(--schimmer);
}

@media (max-width: 52rem) {
  .lotus-hintergrund {
    --lotus-auslauf: radial-gradient(ellipse 52% 43% at 50% 27%, #0005 46%, #0004 72%, transparent 100%);
  }

  .lotus-bluete {
    top: clamp(8.5rem, 25%, 16rem);
    left: 50%;
    width: min(108%, 38rem);
  }
}
