.pdf-status { font-size: .9rem; color: var(--text-2); margin: 0 0 16px; }
.pdf-seiten figure { margin: 0 0 24px; }
.pdf-seite { width: 100%; display: block; padding: 0; border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; background: #fff; color: var(--text); }
.pdf-seite:disabled { min-height: 240px; padding: 20px; }
.pdf-seite.bereit { cursor: zoom-in; box-shadow: 0 12px 30px -20px rgb(0 0 0 / .4); }
.pdf-seite img { display: block; width: 100%; height: auto; }
.pdf-seite:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 4px; }
.pdf-seiten figcaption { margin-top: 6px; font-size: .85rem; color: var(--text-2); }

.termin-pdf-vorschau { display: block; flex: 0 0 auto; position: relative; width: 54px; height: 76px; border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; background: #fff; color: var(--text); text-decoration: none; box-shadow: 0 6px 16px -8px rgb(0 0 0 / .45); }
.termin-pdf-vorschau > span { display: grid; place-items: center; height: 100%; font-size: 26px; }
.termin-pdf-vorschau img { display: block; width: 100%; height: 100%; object-fit: cover; }
.termin-pdf-vorschau small { position: absolute; right: 0; bottom: 0; background: var(--navy, #1f2a4f); color: #fff; font-size: 10px; padding: 1px 4px; }
.termin-pdf-vorschau:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
.pdf-dialog { width: min(920px, calc(100% - 24px)); max-height: calc(100dvh - 32px); box-sizing: border-box; padding: 24px; border: 0; border-radius: 14px; background: var(--papier, #fdfbf6); color: var(--text); overflow: auto; }
.pdf-dialog::backdrop { background: rgb(18 12 10 / .85); }
.pdf-dialog h2 { font-size: 1.5rem; margin: 12px 0 20px; padding-right: 10px; }
.pdf-dialog-zu { position: sticky; top: 0; display: block; margin-left: auto; z-index: 1; border: 0; border-radius: 24px; padding: 10px 16px; background: #1f2a4f; color: #fff; cursor: pointer; }
.pdf-dialog .pdf-seite.bereit { cursor: default; }
@media (max-width: 640px) { .pdf-dialog { padding: 14px; } .termin-pdf-vorschau { width: 44px; height: 62px; } }
