/* =========================================================
   WEBINAR-BONUS – eigenständiges Add-on
   Wird NACH main.css geladen und berührt bestehende Seiten nicht.
   ========================================================= */

/* ---------- Popup ---------- */
body.webinar-popup-open {
  overflow: hidden;
}

.webinar-popup[hidden] {
  display: none !important;
}

.webinar-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.webinar-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 42, 36, 0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.webinar-popup-card {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 42px 46px 40px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 28px 80px rgba(35, 38, 20, .26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  isolation: isolate;
}

.webinar-popup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(249,215,22,.11), transparent 44%),
    linear-gradient(315deg, rgba(165,170,75,.10), transparent 48%);
}

.webinar-popup-flower {
  position: absolute;
  right: -78px;
  top: -92px;
  z-index: -1;
  width: 310px;
  height: 310px;
  background: url("../images/LebensblumeJS.png") center/contain no-repeat;
  opacity: .08;
  pointer-events: none;
}

.webinar-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(120,124,74,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: var(--text, #292a24);
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.webinar-popup-card .section-kicker {
  margin: 0 48px 12px 0;
}

.webinar-popup-card h2 {
  margin: 0 48px 16px 0;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.16;
  font-weight: 300;
}

.webinar-popup-card > p:not(.section-kicker) {
  margin: 0 0 14px;
  color: var(--text-soft, #5b5d52);
  font-size: 1.08rem;
  line-height: 1.65;
}

.webinar-popup-card .webinar-popup-wish {
  color: var(--text, #292a24);
  font-weight: 700;
}

.webinar-popup-card .button {
  margin-top: 10px;
}

/* ---------- Startseite: kompakter Bonus-Hinweis ---------- */
.bonus-teaser-section {
  padding: 10px 0 22px;
}

.bonus-teaser-section .bonus-teaser {
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid rgba(165,170,75,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.83);
  box-shadow: 0 12px 28px rgba(65,69,38,.07);
  backdrop-filter: blur(6px);
}

.bonus-teaser-section .bonus-teaser-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(249,215,22,.18);
  color: var(--olive-deep, #8d923f);
  font-size: 1.1rem;
}

.bonus-teaser-section .bonus-teaser-copy {
  min-width: 0;
}

.bonus-teaser-section .bonus-teaser-copy .section-kicker {
  margin: 0 0 4px;
  font-size: .76rem;
}

.bonus-teaser-section .bonus-teaser-title {
  margin: 0 0 4px;
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 700;
}

.bonus-teaser-section .bonus-teaser-copy > p:last-child {
  margin: 0;
  color: var(--text-soft, #5b5d52);
  font-size: .96rem;
  line-height: 1.5;
}

.bonus-teaser-section .bonus-teaser-button {
  width: auto;
  min-height: 46px;
  padding-inline: 20px;
  white-space: nowrap;
}

/* ---------- Bonus-Unterseite ---------- */
.bonus-page-hero .page-hero-visual img {
  object-position: center;
}

.bonus-gifts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  align-items: stretch;
}

.bonus-gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 30px;
  overflow: hidden;
}

.bonus-gift-card .section-kicker,
.bonus-gift-card h2,
.bonus-gift-card p {
  margin: 0;
}

.bonus-gift-card h2 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.18;
  font-weight: 300;
}

.bonus-gift-card > p:not(.section-kicker):not(.bonus-validity) {
  color: var(--text-soft, #5b5d52);
}

.bonus-gift-card .button,
.bonus-buy-buttons {
  margin-top: auto;
}

.bonus-gift-number {
  position: absolute;
  right: 18px;
  top: 10px;
  color: rgba(165,170,75,.15);
  font-size: 5.4rem;
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}

.bonus-note {
  padding: 14px 16px;
  border-left: 4px solid var(--olive, #a5aa4b);
  border-radius: 12px;
  background: rgba(165,170,75,.09);
  color: var(--text-soft, #5b5d52);
  font-size: .95rem;
  line-height: 1.55;
}

.bonus-code {
  align-self: flex-start;
  padding: 10px 20px;
  border: 1px dashed var(--olive-deep, #8d923f);
  border-radius: 14px;
  background: rgba(249,215,22,.14);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.bonus-validity {
  color: var(--text-soft, #5b5d52);
  font-size: .93rem;
}

.bonus-buy-buttons {
  display: grid;
  gap: 10px;
}

.bonus-community {
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(0,1fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
}

.bonus-qr {
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(65,69,38,.08);
}

.bonus-qr img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.bonus-community-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1.16;
  font-weight: 300;
}

.bonus-community-copy p:not(.section-kicker) {
  margin: 0 0 10px;
  color: var(--text-soft, #5b5d52);
}

.bonus-partner {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
}

.bonus-partner img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.bonus-partner p {
  margin: 0;
  color: var(--text-soft, #5b5d52);
}

@media (max-width: 960px) {
  .bonus-teaser-section .bonus-teaser {
    grid-template-columns: 46px minmax(0,1fr);
    gap: 16px;
    padding: 22px;
  }

  .bonus-teaser-section .bonus-teaser-button {
    grid-column: 2;
    justify-self: start;
  }

  .bonus-gifts-grid {
    grid-template-columns: 1fr;
  }

  .bonus-community {
    grid-template-columns: 1fr;
  }

  .bonus-qr {
    width: min(100%, 360px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .webinar-popup {
    align-items: end;
    padding: 12px;
  }

  .webinar-popup-card {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 32px 24px 26px;
    border-radius: 24px;
  }

  .webinar-popup-close {
    top: 10px;
    right: 10px;
  }

  .webinar-popup-card h2 {
    margin-right: 30px;
    font-size: 1.8rem;
  }

  .webinar-popup-card > p:not(.section-kicker) {
    font-size: 1rem;
  }

  .webinar-popup-card .button {
    width: 100%;
  }

  .bonus-teaser-section .bonus-teaser {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .bonus-teaser-section .bonus-teaser-icon {
    width: 44px;
    height: 44px;
  }

  .bonus-teaser-section .bonus-teaser-button {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
    margin-top: 4px;
  }

  .bonus-gift-card {
    padding: 24px;
  }

  .bonus-gift-card .button,
  .bonus-buy-buttons .button {
    width: 100%;
  }

  .bonus-community,
  .bonus-partner {
    padding: 24px;
  }

  .bonus-partner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bonus-partner img {
    max-width: 150px;
    margin-inline: auto;
  }
}
