/* AuftragsProfit Produktseite: ergänzt NUR produktseiten-spezifische
   Komponenten. Farben/Typografie/Radius kommen aus ../styles.css
   (:root-Tokens), hier nichts davon neu definieren. */

.product-page { background: var(--surface-warm); }

/* Minimaler Header statt voller Hauptnavigation (Freigabe Punkt 5) */
.product-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(6px);
}
.product-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}
.product-brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
}
.product-brand-mark img { width: 100%; height: 100%; display: block; }
.product-brand-text { display: flex; flex-direction: column; line-height: 1.1; color: var(--white, #fff); }
.product-brand-text strong { font-size: 1.05rem; letter-spacing: -.01em; }
.profit-accent { color: var(--orange-500); }
.product-brand-text small { color: rgba(255, 255, 255, .66); font-size: .76rem; margin-top: 3px; }
.product-back-link {
  color: var(--white, #fff);
  opacity: 0.75;
  font-size: 15px;
  text-decoration: none;
}
.product-back-link:hover { opacity: 1; }

.product-hero { padding-top: 56px; }

.price-row { margin: 20px 0 8px; }
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 40px;
  font-weight: 800;
  color: var(--white, #fff);
}
.price-tag small {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.product-key-visual {
  width: 100%;
  height: auto;
  max-width: 480px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  aspect-ratio: 1 / 1;
}

/* 2. Problem/Aha Proof-Beispiel */
.proof-example {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-soft);
}
.proof-example-grid { display: flex; flex-direction: column; gap: 16px; }
.proof-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.proof-row:first-child { border-top: none; padding-top: 0; }
.proof-row .label { color: var(--ink-600); font-weight: 600; }
.proof-row .value { font-weight: 800; font-size: 22px; color: var(--ink-950); }
.proof-row.accent .value { color: var(--orange-600); }
.proof-caption { margin-top: 24px; color: var(--ink-600); }

/* 3. Feature-Liste */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-700);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal-600);
}
.proof-visual {
  width: 100%;
  height: auto;
  max-width: 440px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: block;
}

/* 4. Video-Block */
.video-block {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.product-video {
  width: 100%;
  max-width: 340px;
  /* height:auto ist hier Pflicht: ohne das übernimmt Chromium die
     HTML-Attribute width/height (1080/1920, die echten Pixelmasse)
     direkt als Rendering-Höhe und ignoriert aspect-ratio, dadurch
     stand das Video verzerrt bei 340x1920px im Layout (QA-Fund). */
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  background: var(--ink-950);
}
.video-caption { color: rgba(255, 255, 255, .70); font-size: 15px; }

/* 6. Negativ-Liste */
.not-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.not-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--ink-700);
  font-weight: 600;
}
.not-note { margin-top: 20px; color: var(--ink-500); max-width: 70ch; }

/* 7. Produktpaket */
.package-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.package-card h3 { margin-bottom: 8px; color: var(--teal-700); }

/* 8. FAQ (native details/summary, kein JS nötig) */
.container-narrow { max-width: 760px; }
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 24px;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  color: var(--ink-950);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--teal-700);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding-bottom: 20px; color: var(--ink-600); margin: 0; }
.faq-item summary:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 4px; }

/* 9. Abschluss-CTA */
.final-cta-layout {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 640px;
}
.final-cta-layout h2 { color: var(--white); }
.maker-note { color: rgba(255, 255, 255, 0.72); font-size: 15px; margin-top: 8px; }
.maker-note a { color: var(--white); }

/* Checkout-CTA darf sich beim Laden/Hover nicht verschieben (CLS) */
.checkout-cta { display: inline-flex; white-space: nowrap; }

@media (max-width: 720px) {
  .product-key-visual, .proof-visual { max-width: 100%; }
  .proof-example { padding: 28px 24px; }
}
