.event-image-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  cursor: zoom-in;
  line-height: 0;
  touch-action: manipulation;
}
.event-image-button img { display: block; width: 100%; height: auto; border-radius: 8px; }
.event-image-button:focus-visible { outline: 3px solid #2166c6; outline-offset: 5px; }
.event-image-button::after {
  content: 'Vergrößern';
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(15, 31, 56, .85);
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  pointer-events: none;
}
.event-image-card { position: relative; overflow: visible; }
@media (hover: hover) and (pointer: fine) {
  .event-image-button { transition: transform .2s ease, box-shadow .2s ease; }
  .event-image-button:hover {
    transform: scale(1.18);
    z-index: 5;
    box-shadow: 0 12px 35px rgba(15, 31, 56, .3);
  }
  .event-image-card:has(.event-image-button:hover) { z-index: 5; }
}
.event-image-dialog {
  width: min(1100px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #14233b;
  box-sizing: border-box;
  overflow: auto;
}
.event-image-dialog::backdrop { background: rgba(8, 16, 30, .85); }
.event-image-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.event-image-dialog-title { margin: 0; font-size: 1rem; line-height: 1.4; }
.event-image-dialog-close { flex-shrink: 0; min-height: 44px; padding: 8px 14px; cursor: pointer; }
.event-image-dialog-picture { display: block; width: auto; height: auto; max-width: 100%; max-height: 76vh; max-height: 76dvh; object-fit: contain; margin: 0 auto; }
.event-image-dialog-original { display: block; margin-top: 14px; text-align: center; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .event-image-button { transition: none; } }
