.bildlink { display:block; cursor:zoom-in }
#referenzbild { position:fixed; inset:0; margin:auto; padding:0; border:0; width:min(986px, 96vw, 136.52vh); width:min(986px, 96vw, 136.52dvh); max-width:none; height:min(650px, 63.286vw, 90vh); height:min(650px, 63.286vw, 90dvh); max-height:none; overflow:hidden; background:transparent; box-shadow:0 5px 32px #0006; z-index:100; pointer-events:none }
#referenzbild img { display:block; width:100%; height:100%; object-fit:cover }
#referenzbild:modal { pointer-events:auto; cursor:zoom-out }
#referenzbild::backdrop { background:#10242cbb }
