/* Übersichtsseiten (Events & Stories …): einheitliches Projektraster */
.vl-index {
  --side: clamp(16px, 4vw, 56px); --gap: clamp(12px, 1.4vw, 24px);
  font-family: Anuphan, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; color: #000;
  padding: 0 var(--side) clamp(64px, 9vw, 120px);
}
.vl-index__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px;
  padding: clamp(32px, 5vw, 72px) 0 clamp(28px, 3.5vw, 48px);
}
.vl-index__label { display: block; margin-bottom: clamp(14px, 2vw, 22px); font-size: 14px; font-weight: 500; color: #6b6b6b; }
.vl-index__title {
  margin: 0; font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-weight: 400;
  line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; max-width: 18ch;
}
.vl-index__lead { margin: clamp(14px, 1.6vw, 20px) 0 0; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.6; color: #555; max-width: 52ch; }

/* Filter */
.vl-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.vl-filter button {
  font: 500 14px/1 Anuphan, system-ui, sans-serif; color: #000; cursor: pointer;
  background: #fff; border: 1.5px solid #d6d6d6; border-radius: 999px; padding: 10px 16px;
  transition: border-color .2s, background .2s, color .2s;
}
.vl-filter button:hover { border-color: #000; }
.vl-filter button[aria-pressed="true"] { background: #000; border-color: #000; color: #fff; }
.vl-filter button:focus-visible { outline: 2px solid #ff001a; outline-offset: 2px; }

/* Raster */
.vl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) var(--gap); margin: 0; padding: 0; list-style: none; }
.vl-cards > li[hidden] { display: none; }
.vl-card { display: block; color: #000; text-decoration: none; }
.vl-card__frame { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: #f1f1f1; }
.vl-card__frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.vl-card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.vl-card__title { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.35; transition: color .2s; }
.vl-card__meta { display: block; margin-top: 1px; font-size: 13px; color: #8a8a8a; }
.vl-card__arrow { font-size: 15px; line-height: 1; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
a.vl-card:hover .vl-card__frame img, a.vl-card:focus-visible .vl-card__frame img { transform: scale(1.03); }
a.vl-card:hover .vl-card__title { color: #ff001a; }
a.vl-card:hover .vl-card__arrow, a.vl-card:focus-visible .vl-card__arrow { opacity: 1; transform: none; }
a.vl-card:focus-visible { outline: none; }
a.vl-card:focus-visible .vl-card__frame { outline: 2px solid #ff001a; outline-offset: 3px; }

/* Demnächst */
.vl-card--soon .vl-card__frame img { filter: grayscale(1) blur(2px); opacity: .45; transform: scale(1.05); }
.vl-card--soon .vl-card__frame::after {
  content: "Demnächst"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 14px; font-weight: 500; color: #000; background: #fff; border-radius: 999px; padding: 9px 16px;
}
.vl-card--soon .vl-card__title { color: #6b6b6b; }

@media screen and (max-width: 991px) {
  .vl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .vl-index__head { grid-template-columns: 1fr; }
  .vl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vl-card__arrow { display: none; }
  .vl-card__body { padding-top: 10px; }
  .vl-card__title { font-size: 14px; }
  .vl-card__meta { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .vl-card__frame img, .vl-card__arrow, .vl-card__title { transition: none; }
}

/* Varianten: drei Spalten (6 Projekte) und Querformat (Journal) */
.vl-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vl-cards--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vl-cards--wide .vl-card__frame { aspect-ratio: 3 / 2; }
@media screen and (max-width: 767px) {
  .vl-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vl-cards--wide { grid-template-columns: 1fr; }
}
