/* ============================================================
   TW Projects — Produkte page (Dossly & Acta)
   Product-specific components on the shared design system
   (core.css + sections.css + leistung.css).
   ============================================================ */

/* ---------- Product sections ---------- */
.product-section { margin-top: clamp(72px, 10vw, 120px); padding-top: clamp(44px, 6vw, 64px); border-top: 1px solid var(--line); }
.product-section:first-of-type { margin-top: clamp(48px, 7vw, 72px); }
.product-section .mono-label { display: inline-block; margin-bottom: 20px; }

.product-hook {
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.08;
  letter-spacing: -0.025em; font-weight: 500; margin: 0 0 20px;
  max-width: 22ch;
}
.product-section .lede { margin-bottom: 0; }
.product-section h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 500; letter-spacing: -0.015em;
  margin: clamp(40px, 6vw, 56px) 0 14px;
}
.product-section > .reveal > p, .product-section p.body {
  color: var(--fg-2); line-height: 1.72; font-size: 1.05rem; margin: 0 0 14px;
}
.product-section strong { color: var(--fg); font-weight: 500; }

/* ---------- Status chip ---------- */
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 22px;
  border: 1px solid var(--line);
}
.status.live { color: #B8E0BD; background: rgba(116, 198, 131, 0.10); }
.status.dev { color: var(--accent); background: var(--accent-soft); }
.status .blink {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: status-blink 2s ease-in-out infinite;
}
@keyframes status-blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Mechanism (named mechanism + numbered steps) ---------- */
.mechanism { margin-top: clamp(28px, 4vw, 40px); padding: clamp(24px, 3.5vw, 40px); border-radius: 20px; }
.mechanism .mechanism-name {
  display: block; font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3);
  margin-bottom: 10px;
}
.mechanism h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 20px; }
.mechanism ol { list-style: none; margin: 0; padding: 0; }
.mechanism ol li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line);
  color: var(--fg-2); line-height: 1.65;
}
.mechanism ol li .num {
  font-family: var(--mono); color: var(--accent);
  font-size: 0.82rem; padding-top: 4px;
}

/* ---------- Produktdemo (Video-Kachel, volle Sektionsbreite) ---------- */
.video-shot { margin-top: clamp(28px, 4vw, 40px); }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: color-mix(in oklab, var(--bg-base) 60%, transparent); }
.shot figure { margin: 0; }
.shot img { display: block; width: 100%; height: auto; }
.shot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--bg-base); }
.shot .shot-placeholder {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  margin: 10px; padding: 20px; text-align: center;
  border: 1px dashed var(--line-2); border-radius: 10px;
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3);
  line-height: 1.7;
}
.shot figcaption {
  padding: 12px 16px; font-family: var(--mono);
  font-size: 0.68rem; letter-spacing: 0.08em; color: var(--fg-3);
  border-top: 1px solid var(--line);
}

/* ---------- Contrast: vorher / nachher ---------- */
.contrast { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 640px) { .contrast { grid-template-columns: 1fr 1fr; } }
.contrast .col {
  padding: clamp(22px, 3vw, 30px); border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg-base) 55%, transparent);
}
.contrast .col.after { border-color: var(--line-2); border-left: 2px solid var(--accent); }
.contrast .col-label {
  display: block; font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3);
  margin-bottom: 16px;
}
.contrast .col.after .col-label { color: var(--accent); }
.contrast ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.contrast li { position: relative; padding-left: 22px; color: var(--fg-2); font-size: 0.94rem; line-height: 1.55; }
.contrast li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); opacity: 0.6;
}
.contrast .col.after li::before { background: var(--accent); opacity: 1; box-shadow: 0 0 8px var(--accent); }

/* ---------- Trust / compliance checklist ---------- */
.trust-list { list-style: none; margin: 16px 0 0; padding: 0; }
.trust-list li {
  position: relative; padding: 14px 0 14px 32px;
  border-top: 1px solid var(--line);
  color: var(--fg-2); line-height: 1.65;
}
.trust-list li:last-child { border-bottom: 1px solid var(--line); }
.trust-list li::before {
  content: "✓"; position: absolute; left: 2px; top: 13px;
  color: var(--accent); font-weight: 600; font-size: 0.95rem;
}

/* product CTA reuses .lcta from leistung.css — only tighter top margin here */
.product-section .lcta { margin-top: clamp(40px, 6vw, 64px); }
