/* ============================================================
   Salespage-Erweiterung — baut auf advertorial.css auf.
   Nur Komponenten, die es im Advertorial nicht gibt.
   ============================================================ */

/* ---------- Countdown-Bar (dezent) ---------- */

.countdown-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 9px 16px;
}

.countdown-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 12px;
  font-size: 14px;
}

.countdown-tag {
  background: color-mix(in srgb, var(--accent) 9%, #ffffff);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 3px 8px;
}

.countdown-text { font-weight: 600; }

.countdown-digits {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 15.5px;
  color: var(--accent);
}

.countdown-sep { opacity: 0.55; font-weight: 700; }

body.hide-countdown .countdown-bar { display: none; }

/* ---------- Trust-Strip ---------- */

.trust-strip {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
}

.trust-strip-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

.trust-item { display: flex; align-items: center; gap: 7px; font-weight: 600; }

.trust-item .stars { font-size: 14px; }

.trust-item .check { width: 18px; height: 18px; font-size: 11px; }

/* ---------- Sales shell (breiter als Artikel) ---------- */

.sales { max-width: 1040px; margin: 0 auto; padding: 36px 24px 0 24px; }

.sales h2 {
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 56px 0 10px 0;
  text-wrap: pretty;
}

.sales .section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 17.5px;
  max-width: 640px;
  margin: 0 auto 30px auto;
  text-wrap: pretty;
}

/* ---------- Hero ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 440px) 1fr;
  gap: 44px;
  align-items: start;
}

.gallery-main { position: relative; background: transparent; }

.gallery-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }

.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.92);
  color: var(--ink); font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); z-index: 4; padding-bottom: 3px;
}
.gallery-arrow:hover { background: #ffffff; }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }

.gallery-counter {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(29, 33, 41, 0.78); color: #ffffff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 99px; z-index: 4; pointer-events: none;
}

/* Reale Produktbilder (ersetzen die früheren .img-placeholder-Kästen) */
.usp-card > img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 16px; }
.ws-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
.lifestyle-banner img { width: 100%; height: 320px; object-fit: cover; border-radius: 14px; display: block; }

.gallery-thumbs { margin-top: 10px; }
.gallery-thumbs-track {
  display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin;
}
.gallery-thumbs-track::-webkit-scrollbar { height: 5px; }
.gallery-thumbs-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.gallery-thumb {
  flex: 0 0 74px; width: 74px; height: 74px; border-radius: 9px; overflow: hidden;
  border: 2px solid var(--line); background: #f6f6f4; cursor: pointer; position: relative;
  transition: border-color 0.12s ease;
}
.gallery-thumb.is-active { border-color: var(--accent); }
.gallery-thumb:not(.is-active):hover { border-color: var(--ink-faint); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-caption { font-size: 11.5px; color: var(--ink-faint); margin: 7px 0 0 0; line-height: 1.4; }

.hero-info h1 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0 0 6px 0;
  text-wrap: pretty;
}

.hero-info .hero-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-info .stars-row { margin: 4px 0 14px 0; }

ul.hero-usps { margin: 0 0 24px 0; }

.hero-usps li { font-size: 16.5px; }

/* Preis-Teaser */

.price-teaser {
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: #fff7f7;
  padding: 20px 24px;
}

.price-teaser .pt-head {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.price-teaser .pt-line { font-size: 16px; color: var(--ink-soft); }

.price-teaser .pt-line s { color: var(--ink-faint); }

.price-teaser .pt-best { font-size: 21px; font-weight: 800; margin: 6px 0; }

.price-teaser .pt-best span { color: var(--accent); }

.price-teaser .pt-save {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 5px;
  padding: 3px 9px;
  margin-top: 2px;
}

.price-teaser .cta-button { margin-top: 16px; width: 100%; }

/* ---------- USP-Karten ---------- */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.usp-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.usp-card .img-placeholder { display: block; margin-bottom: 16px; }

.usp-card h4 { margin: 0 0 8px 0; font-size: 17.5px; }

.usp-card p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-card.best {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 32px rgba(201, 17, 15, 0.12);
}

.pricing-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-soft);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 5px 14px;
  white-space: nowrap;
}

.pricing-card.best .pricing-ribbon { background: var(--accent); }

.pricing-card h3 { margin: 8px 0 2px 0; font-size: 20px; font-family: var(--font-head); }

.pricing-card .pc-sub { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 14px; }

.pricing-visual { position: relative; width: 100%; margin-bottom: 16px; }

.pricing-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 10px; display: block; background: #2a2f37; }

.discount-bubble {
  position: absolute;
  top: 12px; right: 12px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(8deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.pricing-card .pc-total { font-size: 14px; color: var(--ink-soft); }

.pricing-card .pc-total s { color: var(--ink-faint); margin-left: 4px; }

.pricing-card .pc-price { font-size: 31px; font-weight: 800; margin: 4px 0 2px; color: var(--accent); line-height: 1.05; }

.pricing-card .pc-price strong { font-weight: 800; }

.pricing-card .pc-price span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }

.pricing-card .pc-per { font-size: 13px; color: var(--ink-faint); margin-bottom: 14px; }

.pricing-card .cta-button { width: 100%; margin-top: auto; padding: 13px 18px; font-size: 16px; }

.pricing-card .pc-guarantee { font-size: 12.5px; color: var(--green); font-weight: 600; margin-top: 9px; }

.pay-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pay-row { align-items: center; }

.pay-row-label {
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
}

.pay-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.pay-paypal { gap: 0; font-style: italic; font-weight: 800; letter-spacing: -0.02em; }
.pay-paypal i { color: #003087; }
.pay-paypal b { color: #0070BA; font-weight: 800; }

.pay-klarna { background: #FFB3C7; border-color: #FFB3C7; color: #17120F; letter-spacing: -0.01em; }

.pay-card .mc { display: inline-flex; align-items: center; }
.mc-c1, .mc-c2 { width: 19px; height: 19px; border-radius: 50%; }
.mc-c1 { background: #EB001B; }
.mc-c2 { background: #F79E1B; margin-left: -8px; mix-blend-mode: multiply; }

.pay-apple {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  font-weight: 600;
  font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.pay-invoice { font-weight: 600; color: var(--ink-soft); }
.pay-invoice .inv-ico { color: var(--ink-faint); flex-shrink: 0; }

.pay-row.mini { justify-content: flex-start; gap: 6px; margin-top: 14px; }
.pay-row.mini .pay-logo { height: 30px; padding: 0 10px; font-size: 12.5px; gap: 5px; border-radius: 6px; }
.pay-row.mini .mc-c1, .pay-row.mini .mc-c2 { width: 14px; height: 14px; }
.pay-row.mini .mc-c2 { margin-left: -6px; }

.secure-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ---------- Garantie ---------- */

.guarantee-box {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: center;
  margin: 56px 0;
}

.guarantee-seal {
  width: 104px; height: 104px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.guarantee-seal .g1 { font-size: 26px; font-weight: 800; line-height: 1; }
.guarantee-seal .g2 { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }

.guarantee-box h3 { margin: 0 0 8px 0; color: #ffffff; font-family: var(--font-head); font-size: 22px; }

.guarantee-box p { margin: 0; font-size: 16px; }

/* ---------- FAQ ---------- */

.faq { max-width: var(--col); margin: 0 auto; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 16.5px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .faq-body { padding: 0 20px 18px 20px; font-size: 16px; color: var(--ink-soft); }

.faq .faq-body p { margin: 0 0 10px 0; }

.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Review-Karten (Grid-Variante) ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-grid .testimonial h5 { margin: 0 0 6px 0; font-size: 16px; }

.review-date { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Wirkstoff-Stories (Education) ---------- */

.edu-col { max-width: 780px; margin: 0 auto; }

.wirkstoff-story {
  display: flex;
  gap: 22px;
  margin-bottom: 34px;
}

.ws-media {
  position: relative;
  flex-shrink: 0;
  width: 124px;
  height: 124px;
  margin-top: 3px;
}

.ws-num {
  position: absolute;
  top: -9px;
  left: -9px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2.5px var(--paper);
}

.ws-body { min-width: 0; }

.ws-body h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ws-dose {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 4px;
  padding: 3px 8px;
}

.ws-body p { margin: 0 0 12px 0; font-size: 16.5px; color: var(--ink-soft); }

.stat-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper-warm);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin-bottom: 8px;
}

.stat-callout .stat-num {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.stat-callout span:last-child { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

.source-link {
  font-size: 13px;
  color: var(--ink-faint) !important;
  text-decoration-color: var(--line);
}

.info-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 34px 0 0 0;
}

.info-duo .note-box { margin: 0; }

.info-duo-text { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

.ingredients-table { margin-top: 14px; }

/* ---------- Lifestyle-Banner ---------- */

.lifestyle-banner { margin-top: 56px; }

.lifestyle-banner .img-placeholder { display: block; }

/* ---------- Redaktions-Garantie ---------- */

.editorial-guarantee {
  max-width: 680px;
  margin: 56px auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 38px;
}

.editorial-guarantee img { height: 40px; margin-bottom: 14px; }

.editorial-guarantee h3 { font-family: var(--font-head); font-size: 21px; margin: 0 0 12px 0; }

.editorial-guarantee p { font-size: 16px; color: var(--ink-soft); margin: 0 0 12px 0; }

.editorial-guarantee .eg-sign { font-weight: 700; color: var(--ink); margin: 4px 0 0 0; }

.review-grid.two { grid-template-columns: 1fr 1fr; }

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-gallery, .gallery-main, .hero-info { min-width: 0; max-width: 100%; }
  .hero-gallery .badge-testsieger { top: 8px; right: 8px; }
  .gallery-main { margin: 0 auto; }
  .gallery-thumbs { max-width: 100%; margin: 10px auto 0 auto; }
  .usp-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 16px; }

  /* Buy-Boxes untereinander: liegendes Karten-Layout (Bild links, Infos rechts) */
  .pricing-grid .pricing-card:nth-child(1) { order: 3; } /* 1 Monat zuletzt */
  .pricing-grid .pricing-card:nth-child(2) { order: 1; } /* 6 Monate zuerst */
  .pricing-grid .pricing-card:nth-child(3) { order: 2; } /* 3 Monate */

  .pricing-card {
    display: grid;
    grid-template-columns: 124px 1fr;
    grid-template-areas:
      "ribbon ribbon"
      "visual title"
      "visual sub"
      "visual total"
      "visual price"
      "visual per"
      "cta cta"
      "guarantee guarantee";
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
    text-align: left;
    padding: 0 18px 16px 18px;
  }

  .pricing-card .pricing-ribbon {
    grid-area: ribbon;
    position: static;
    transform: none;
    border-radius: 12px 12px 0 0;
    margin: 0 -18px 16px -18px;
    padding: 9px 18px;
    text-align: left;
    white-space: normal;
  }

  .pricing-card h3 { grid-area: title; margin: 0 0 2px 0; }
  .pricing-card .pc-sub { grid-area: sub; margin-bottom: 8px; }
  .pricing-card .pricing-visual { grid-area: visual; width: 100%; margin: 0; align-self: center; }
  .pricing-card .pricing-visual img { aspect-ratio: 1 / 1; }
  .pricing-card .pricing-visual .discount-bubble { right: 8px; top: 8px; width: 46px; height: 46px; font-size: 11px; }
  .pricing-card .pc-perday { display: none; }
  .pricing-card .pc-total { grid-area: total; }
  .pricing-card .pc-price { grid-area: price; }
  .pricing-card .pc-per { grid-area: per; margin-bottom: 0; }
  .pricing-card .cta-button { grid-area: cta; margin-top: 16px; }
  .pricing-card .pc-guarantee { grid-area: guarantee; text-align: center; }
  .review-grid, .review-grid.two { grid-template-columns: 1fr; }
  .guarantee-box { grid-template-columns: 1fr; text-align: center; padding: 28px 24px; }
  .guarantee-seal { margin: 0 auto; }
  .info-duo { grid-template-columns: 1fr; }
  .wirkstoff-story { gap: 14px; }
  .ws-media { width: 92px; height: 92px; }
  .lifestyle-banner img { height: 220px; }
  .lifestyle-banner .img-placeholder { height: 220px !important; }
  .stat-callout { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 720px) {
  .sales { padding-top: 24px; padding-left: 18px; padding-right: 18px; }
  .sales h2 { font-size: 25px; margin-top: 44px; }
  .ct-long { display: none; }
  .pay-row.mini { justify-content: center; }
  .trust-strip-inner { font-size: 13px; gap: 6px 16px; }
  .price-teaser { padding: 16px 18px; }
  .pricing-card h3 { font-size: 18px; }
  .pricing-card .pc-price { font-size: 27px; }
  .usp-card { padding: 18px; }
  .guarantee-box { margin: 44px 0; }
  .editorial-guarantee { padding: 26px 20px; }
  .info-duo .note-box, .ingredients-table { padding: 18px; }
  .secure-row { font-size: 12.5px; gap: 6px 18px; }
}
