/* Keimbrot – Bild-Lightbox (ab 1.0.14) */
.kb-lightbox { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center;
  background: rgba(30, 20, 12, .92); padding: 56px 72px; box-sizing: border-box; }
.kb-lightbox.offen { display: flex; }
html.kb-lb-gesperrt { overflow: hidden; }
.kb-lb-figur { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }
.kb-lb-figur img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); object-fit: contain; }
.kb-lb-figur figcaption { color: #f3e7d8; font-size: .95rem; margin-top: 12px; text-align: center; }
.kb-lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 999px; cursor: pointer;
  width: 48px; height: 48px; font-size: 32px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: none; }
.kb-lightbox button:hover, .kb-lightbox button:focus { background: #d9661f; color: #fff; outline: none; }
.kb-lb-zu { top: 14px; right: 16px; font-size: 30px !important; }
.kb-lb-zurueck { left: 14px; top: 50%; transform: translateY(-50%); }
.kb-lb-weiter { right: 14px; top: 50%; transform: translateY(-50%); }
.kb-lb-einzeln .kb-lb-zurueck, .kb-lb-einzeln .kb-lb-weiter { display: none; }
.kb-lb-zaehler { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); color: #f3e7d8; font-size: .9rem; }
.entry-content .gallery a, .panel-content .gallery a { cursor: zoom-in; }
@media (max-width: 700px) {
  .kb-lightbox { padding: 56px 8px 70px; }
  .kb-lb-zurueck, .kb-lb-weiter { top: auto; bottom: 14px; transform: none; }
  .kb-lb-zurueck { left: calc(50% - 60px); }
  .kb-lb-weiter { right: calc(50% - 60px); }
  .kb-lb-figur img { max-height: calc(100vh - 160px); }
}
