/* =========================================================
   Leseprobe im Dialog — dasselbe Muster wie auf der Landing Page.
   Trigger: <button data-reader-open="ID"> · Ziel: <dialog id="ID">
   ========================================================= */
.report-figure{margin:0;padding:28px;background:#EDF0F5;border:1px solid var(--line);border-radius:20px}
.report-figure img{width:auto;max-width:100%;max-height:520px;height:auto;margin:0 auto;display:block;
  box-shadow:0 10px 28px #12172A18;background:#fff;transition:transform .2s}
.report-figure figcaption{font-size:14px;line-height:1.55;margin-top:22px;color:var(--ink-2)}
.report-figure figcaption span{color:var(--ink-3)}

dialog.reader{border:1px solid var(--line);padding:0;border-radius:18px;
  width:min(1280px,calc(100vw - 40px));max-width:none;
  height:min(94vh,1100px);height:min(94dvh,1100px);max-height:94dvh;
  background:#fff;color:var(--ink);box-shadow:0 30px 100px #0004;overflow:hidden}
dialog.reader::backdrop{background:rgba(10,18,35,.64);backdrop-filter:blur(5px)}
dialog.reader[open]{animation:reader-appear .2s ease-out}
@keyframes reader-appear{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.reader-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.reader-header{display:flex;justify-content:space-between;align-items:center;gap:20px;
  padding:18px 24px;border-bottom:1px solid var(--line);flex:none}
.reader-header h2{font:600 23px/1.2 var(--disp);margin:0 0 5px}
.reader-header p{font-size:14px;color:var(--ink-3);margin:0}
.reader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:10px 24px;background:#fff;flex:none}
.reader-header button,.reader-toolbar button{border:1px solid var(--line);border-radius:8px;padding:9px 14px;
  min-height:42px;background:#fff;color:var(--ink);font:500 14px var(--sans);cursor:pointer}
.reader-toolbar button:hover,.reader-close:hover{background:var(--blue-tint)}
.reader-close{white-space:nowrap;flex:none}
.reader-scroll-hint{font-size:14px;color:var(--ink-3)}
.reader-viewport{flex:1;min-height:0;overflow:auto;padding:24px;background:#E9EDF3;overscroll-behavior:contain}
.reader-page{width:100%;margin:0 auto 24px}
.reader-page:last-child{margin-bottom:0}
.reader-page img{display:block;width:100%;height:auto;max-width:none;box-shadow:0 3px 20px #12172a18;background:#fff}
.reader-viewport.is-zoomed .reader-page{width:180%;min-width:1100px}
@media(max-width:650px){
  dialog.reader{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}
  .reader-header{padding:16px;gap:10px}
  .reader-header h2{font-size:21px}.reader-header p{font-size:12px}
  .reader-header button{padding:8px 10px}.reader-toolbar{padding:10px 16px}
  .reader-viewport{padding:12px}.reader-viewport.is-zoomed .reader-page{min-width:1000px}
  .report-figure{padding:18px}
}
@media(prefers-reduced-motion:reduce){dialog.reader[open]{animation:none}}

/* ---------- Screenshot-Figur (Dashboard) ---------- */
.shot{margin:0;padding:0}
.shot-open{appearance:none;border:1px solid var(--line);padding:0;background:#EDF0F5;display:block;width:100%;
  cursor:zoom-in;font:inherit;color:var(--blue);border-radius:18px;overflow:hidden;position:relative;
  transition:border-color .2s ease,box-shadow .2s ease}
.shot-open:hover{border-color:rgba(0,79,255,.35);box-shadow:var(--sh-2)}
.shot-open img{display:block;width:100%;height:auto;max-width:none}
.shot-zoom{position:absolute;right:16px;bottom:16px;display:inline-flex;align-items:center;gap:7px;
  background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:999px;padding:8px 15px;
  font-size:14px;font-weight:600;color:var(--ink);box-shadow:0 4px 14px rgba(18,23,42,.12)}
.shot figcaption{margin-top:14px}
@media(max-width:650px){.shot-zoom{right:10px;bottom:10px;padding:6px 12px;font-size:13px}}
