/* ============================================================
   PZTec — PDF Reader (Produktseite /pdf-reader)
   Ergänzt style.css; nutzt nur dessen Tokens (--paper, --card,
   --green, --accent, --serif …), damit Hell/Dunkel mitläuft.
   ============================================================ */

/* ---------- Karte auf der Startseite ---------- */
.ref__media--pdf { background: radial-gradient(circle at 30% 20%, #cfe0d2 0%, #7da08a 55%, #2f5d46 100%); min-height: 320px; }
.is-dark .ref__media--pdf { background: radial-gradient(circle at 30% 20%, #3b5a49 0%, #213429 60%, #18271f 100%); }
.shot-window {
  width: 100%; max-width: 560px; height: auto; border-radius: 12px;
  border: 1px solid rgba(31,42,34,.18); background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  transform: rotate(-1.2deg); transition: transform .6s var(--ease);
}
.ref:hover .shot-window { transform: rotate(0) translateY(-4px); }

/* ---------- Hero der Produktseite ---------- */
.pr-hero .hero__title .accent { display: block; }
.pr-hero .hero__lead { max-width: 640px; }
.pr-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 7px 16px; border-radius: 999px;
}
.is-dark .pr-status { background: #b5513b; }
.pr-hero__facts {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px;
}
.pr-hero__facts li {
  font-size: .9rem; color: var(--ink-2); background: var(--card); box-shadow: var(--shadow);
  border-radius: 999px; padding: 6px 16px;
}
.pr-hero__shot { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 860px; position: relative; z-index: 2; }
.pr-shot {
  width: 100%; height: auto; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(0,0,0,.6);
}
.pr-shot--ph {
  display: grid; place-items: center; aspect-ratio: 9 / 7; background: var(--paper-2);
  border: 2px dashed var(--ink-3); color: var(--ink-2); text-align: center; padding: 20px; font-size: .95rem;
}

/* ---------- Eckdaten ---------- */
.pr-specs { max-width: 920px; margin-inline: auto; grid-template-columns: repeat(2, 1fr); }
.pr-specs > div { padding: 14px 18px; }
.pr-specs dd { font-size: .98rem; }
.pr-specs dd small { display: block; color: var(--ink-2); font-size: .85rem; font-weight: 400; }

/* ---------- Funktionsabschnitte mit Bild ---------- */
.pr-feature {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-block: clamp(28px, 4vw, 52px);
}
.pr-feature + .pr-feature { border-top: 1px solid var(--line-soft); }
.pr-feature--flip { grid-template-columns: 1.15fr 1fr; }
.pr-feature--flip .pr-feature__text { order: 2; }
.pr-feature h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 8px 0 12px; line-height: 1.15; }
.pr-feature p { color: var(--ink-2); }
.pr-feature ul { list-style: none; display: grid; gap: 6px; margin-top: 16px; }
.pr-feature li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .96rem; }
.pr-feature li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 2px; background: var(--accent); }
.pr-feature figure figcaption { font-size: .8rem; color: var(--ink-3); margin-top: 10px; }

/* ---------- Systemvoraussetzungen ---------- */
.pr-req { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 920px; margin-inline: auto; }
.pr-req > div { background: var(--card); box-shadow: var(--shadow); border-radius: var(--r); padding: 28px 26px; }
.pr-req h3 { font-size: 1.35rem; margin-bottom: 10px; }
.pr-req ul { list-style: none; display: grid; gap: 6px; }
.pr-req li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .96rem; }
.pr-req li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 2px; background: var(--green); }

/* ---------- Preis ---------- */
.pr-price {
  max-width: 560px; margin-inline: auto; text-align: center;
  background: var(--card); box-shadow: var(--shadow); border-radius: 28px; padding: clamp(28px, 5vw, 44px) clamp(22px, 5vw, 40px);
  border-top: 5px solid var(--accent);
}
.pr-price__amount { font-family: var(--serif); font-size: clamp(3rem, 9vw, 4.6rem); line-height: 1; letter-spacing: -.02em; }
.pr-price__amount small { font-family: var(--sans); font-size: 1rem; color: var(--ink-2); letter-spacing: 0; display: block; margin-top: 8px; }
.pr-price ul { list-style: none; display: grid; gap: 8px; margin: 24px 0 28px; text-align: left; }
.pr-price li { position: relative; padding-left: 28px; color: var(--ink-2); }
.pr-price li::before {
  content: ""; position: absolute; left: 4px; top: .35em; width: 7px; height: 12px;
  border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(40deg);
}
.pr-price .btn { justify-content: center; }
.pr-price__note { font-size: .85rem; color: var(--ink-3); margin-top: 14px; }

/* ---------- Downloads ---------- */
.dl-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.dl {
  background: var(--card); box-shadow: var(--shadow); border-radius: var(--r);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.dl h3 { font-size: 1.3rem; }
.dl__what { color: var(--ink-2); font-size: .95rem; }
.dl__meta { display: grid; gap: 6px; margin-top: 4px; font-size: .85rem; }
.dl__meta dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.dl__meta dd { color: var(--ink-2); min-width: 0; }
.dl__hash { font-family: var(--mono); font-size: .74rem; word-break: break-all; user-select: all; }
.dl__row { display: grid; gap: 12px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-soft); }
.dl__row .btn { align-self: flex-start; }
.dl__file { font-family: var(--mono); font-size: .82rem; overflow-wrap: anywhere; }
.dl .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.dl-note { margin-top: 22px; color: var(--ink-2); font-size: .92rem; max-width: 760px; }
.dl-note code, .pr-faq code, .legal code { font-family: var(--mono); font-size: .85em; background: var(--paper-2); padding: 1px 6px; border-radius: 6px; }

/* ---------- Kaufen ---------- */
.pr-buy { max-width: 640px; margin-inline: auto; text-align: center; }
.pr-buy p { color: var(--ink-2); }
.pr-buy .btn { margin-top: 24px; }
.pr-buy__steps { list-style: none; counter-reset: s; display: grid; gap: 10px; margin: 26px 0 0; text-align: left; }
.pr-buy__steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); }
.pr-buy__steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: var(--on-green); font-family: var(--serif);
}

/* ---------- Links zu Handbuch / Lizenz ---------- */
.pr-docs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* ---------- Lizenzseite ---------- */
.lic-note {
  background: var(--soft-green); border-radius: 14px; padding: 14px 18px; color: var(--ink);
  margin-top: 22px; font-size: .95rem;
}
.lic-variant { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--green); background: var(--paper-2); border-radius: 0 10px 10px 0; }
.lic-variant strong { display: block; font-size: .78rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.legal .lic-clause p { white-space: pre-line; }

@media (max-width: 960px) {
  .pr-feature, .pr-feature--flip { grid-template-columns: 1fr; }
  .pr-feature--flip .pr-feature__text { order: 0; }
}
@media (max-width: 720px) {
  .dl-grid { grid-template-columns: 1fr; }
  .pr-specs { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ref__media--pdf { min-height: 220px; padding: 24px 16px; }
  .pr-docs .btn, .pr-buy .btn { width: 100%; justify-content: center; }
}
.pr-news { list-style: disc; padding-left: 1.3em; max-width: 760px; color: var(--ink-2); display: grid; gap: 8px; }
