/* Startseite: Bildergalerie (Masonry) */
.vl-gallery {
  padding: 0 clamp(8px, 2vw, 24px);
  margin: 0 0 clamp(64px, 9vw, 120px);
}
.vl-gallery__grid {
  columns: 3; column-gap: clamp(6px, .9vw, 14px);
  max-width: 1800px; margin: 0 auto;
}
/* Abstand als Innenabstand statt margin: margins wandern beim Spaltenumbruch
   an den Anfang der nächsten Spalte und verschieben deren Oberkante */
.vl-gallery__item {
  display: block; break-inside: avoid; -webkit-column-break-inside: avoid;
  padding-bottom: clamp(6px, .9vw, 14px);
  color: #fff; text-decoration: none;
}
.vl-gallery__frame {
  position: relative; display: block; overflow: hidden; background: #f1f1f1;
}
.vl-gallery__frame img {
  display: block; width: 100%; height: auto;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.vl-gallery__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 40%);
  opacity: 0; transition: opacity .35s ease;
}
.vl-gallery__label {
  position: absolute; left: 14px; bottom: 12px; z-index: 1;
  font-family: Anuphan, system-ui, sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease;
}
.vl-gallery__item:hover img, .vl-gallery__item:focus-visible img { transform: scale(1.03); }
.vl-gallery__item:hover .vl-gallery__frame::after, .vl-gallery__item:focus-visible .vl-gallery__frame::after,
.vl-gallery__item:hover .vl-gallery__label, .vl-gallery__item:focus-visible .vl-gallery__label { opacity: 1; transform: none; }
.vl-gallery__item:focus-visible { outline: none; }
.vl-gallery__item:focus-visible .vl-gallery__frame { outline: 2px solid #ff001a; outline-offset: 2px; }

.vl-gallery__more { text-align: center; margin-top: clamp(28px, 4vw, 48px); }
.vl-gallery__more a {
  display: inline-block; font-family: Anuphan, system-ui, sans-serif; font-size: 15px; font-weight: 500;
  color: #000; text-decoration: none; border: 1.5px solid #000; border-radius: 999px; padding: 12px 24px;
  transition: background .2s, color .2s;
}
.vl-gallery__more a:hover { background: #000; color: #fff; }

@media screen and (max-width: 991px) { .vl-gallery__grid { columns: 2; } }
@media screen and (max-width: 479px) {
  .vl-gallery { padding: 0 6px; }
  .vl-gallery__grid { column-gap: 6px; }
  .vl-gallery__item { padding-bottom: 6px; }
  /* Auf dem Handy gibt es kein Hover: Bereich dezent immer zeigen */
  .vl-gallery__label { font-size: 11px; left: 10px; bottom: 8px; opacity: .95; transform: none; }
  .vl-gallery__frame::after { opacity: .7; }
}
@media (hover: none) {
  .vl-gallery__label { opacity: .95; transform: none; }
  .vl-gallery__frame::after { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .vl-gallery__frame img, .vl-gallery__label, .vl-gallery__frame::after { transition: none; }
}

/* Nur für Screenreader und Suchmaschinen sichtbare Überschriften */
.vl-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Intro-Logo: Seitenverhältnis aus width/height, Höhe automatisch */
.intro .image { height: auto; }
