main.container { max-width: 1100px; }
header.grid { align-items: center; }
.actions { display: flex; gap: .5rem; justify-content: flex-end; }
img { width: 100%; height: auto; border: 1px solid #eee; border-radius: 6px; }
section { margin-bottom: 1.5rem; }

/* Lightbox Vollbild-Darstellung */
dialog#lightbox {
  max-width: 95vw;
  max-height: 95vh;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.9);
}
dialog#lightbox article {
  padding: 0;
  margin: 0;
  background: transparent;
  max-width: none;
}
dialog#lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: none;
}
dialog#lightbox .close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
dialog#lightbox .close:hover {
  background: rgba(255, 255, 255, 1);
}

