/* Freigestellte Illustration als Randdekor, Originalfotos als Fotoinhalt. */
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -66px;
  left: -80px;
  width: clamp(180px, 23vw, 350px);
  height: clamp(150px, 21vw, 300px);
  pointer-events: none;
  opacity: .42;
  background: url("images/gerste-hopfen-illustration-v1.png") left top / contain no-repeat;
}

.gift-section::before,
.gift-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(150px, 25vw, 380px);
  height: clamp(130px, 23vw, 340px);
  pointer-events: none;
  opacity: .44;
  background: url("images/gerste-hopfen-illustration-v1.png") left bottom / contain no-repeat;
}
.gift-section::before { top: -32px; left: -110px; transform: rotate(95deg); }
.gift-section::after { right: -65px; bottom: -72px; transform: scaleX(-1); }

.how-it-works {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  border-top: 1px solid #d9b78a;
  border-bottom: 1px solid #d9b78a;
  background: #f9efdc;
}

.room { z-index: 0; width: 39%; height: 100%; opacity: 1; }
.room-left { mask-image: linear-gradient(90deg,#000 0%,#000 44%,#000b 67%,transparent 100%); }
.room-right { mask-image: linear-gradient(270deg,#000 0%,#000 44%,#000b 67%,transparent 100%); }

.how-copy {
  z-index: 1;
  isolation: isolate;
  width: 100%;
  padding: 24px clamp(22px, 16vw, 235px) 38px;
  background: transparent;
}
.how-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,transparent,#fcf4e3e0 19%,#fcf4e3 37%,#fcf4e3 63%,#fcf4e3e0 81%,transparent);
  mask-image: linear-gradient(180deg,transparent,#000 15%,#000 85%,transparent);
}
.how-copy h2 { font-size: clamp(35px, 3.4vw, 49px); }
.how-copy .heart-rule { margin: 4px 0 12px; }
.how-copy ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; max-width: 850px; margin: 0 auto; }
.how-copy li { position: relative; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 8px; row-gap: 8px; text-align: center; }
.how-copy li:not(:last-child)::after { content: "→"; position: absolute; right: -24px; top: 25px; color: #b7854a; font-size: 35px; }
.how-copy .step-number { width: 35px; height: 35px; flex: none; border-radius: 50%; background: #7b1515; color: #fff; font: 700 20px/35px Georgia,serif; }
.how-copy .step-icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #f3dfbd; color: #771212; }
.step-icon svg { width: 40px; height: 40px; }
.how-copy .step-text { grid-column: 1 / -1; font-size: 19px; line-height: 1.25; }

@media (max-width: 850px) {
  .how-it-works { min-height: 350px; }
  .how-copy { width: 100%; padding: 28px 25px 44px; }
  .how-copy::before { background: linear-gradient(90deg,#fcf4e399,#fcf4e3ec 24%,#fcf4e3ec 76%,#fcf4e399); }
  .room { opacity: .8; }
  .how-copy li { flex-direction: unset; }
}

@media (max-width: 600px) {
  .hero::after { top: 180px; left: -50px; width: 155px; height: 120px; opacity: .35; }
  .gift-section::before,.gift-section::after { width: 170px; height: 140px; opacity: .28; }
  .how-it-works { display: block; min-height: 0; padding-top: 130px; }
  .room { position: absolute; top: 0; width: 50%; height: 180px; opacity: .88; mask-image: linear-gradient(180deg,#000 12%,transparent 100%); }
  .room-left { left: 0; }
  .room-right { right: 0; }
  .how-copy { width: 100%; margin: 0; padding: 28px 20px 55px; background: linear-gradient(180deg,#fcf4e3ce,#fcf4e3 20%); }
  .how-copy::before { display: none; }
  .how-copy ol { grid-template-columns: 1fr; gap: 28px; width: fit-content; max-width: 100%; margin: auto; }
  .how-copy li { grid-template-columns: 32px 58px 1fr; justify-content: start; text-align: left; }
  .how-copy .step-number { width: 32px; height: 32px; font-size: 18px; line-height: 32px; }
  .how-copy .step-icon { width: 58px; height: 58px; }
  .step-icon svg { width: 33px; height: 33px; }
  .how-copy .step-text { grid-column: auto; font-size: 17px; }
  .how-copy li:not(:last-child)::after { content: "↓"; top: auto; bottom: -28px; left: 47px; right: auto; font-size: 23px; }
}
