.archiv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.archiv-dokument {
  display: block;
  text-decoration: none;
  color: inherit;

  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.archiv-dokument:hover,
.archiv-dokument:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.archiv-dokument-image {
  aspect-ratio: 210 / 297;
  background: #f2f2f2;
  overflow: hidden;
}

.archiv-dokument-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.archiv-dokument-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #00000040;
}

.archiv-dokument-content {
  padding: 1rem;
  display: grid;
  gap: 0.4rem;
}

.archiv-dokument-titel {
  font-family: "SuisseIntl SemiBold";
  font-size: 18px;
  line-height: 1.3;
}

.archiv-dokument-jahr {
  font-family: "SuisseNeue Light";
  font-size: 16px;
  color: #555;
}

.archiv-grid .archiv-dokument[hidden] {
  display: none;
}
