/* =========================================================
   Downloads-Seite — auf legal.css aufgesetzt
   ========================================================= */

.downloads__intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  max-width: 62ch;
  margin: 0 0 56px;
}
.downloads__intro a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
}

.dl-group + .dl-group { margin-top: 56px; }

.dl-group h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.dl-group h2::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
  transform: translateY(-4px);
}

/* Karte ist ein Link – Unterstreichung der Hauptseiten-Linkregel hier abschalten */
.legal-content a.dl-card,
.legal-content a.dl-card:hover { text-decoration: none; color: inherit; }

.dl-card {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: #FFFCF4;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  text-decoration: none;
  color: inherit;
  margin-bottom: 14px;
  transition: transform 0.25s var(--ease, cubic-bezier(0.4,0,0.2,1)),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}
.dl-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 6px 24px -10px rgba(20, 54, 90, 0.18);
}

.dl-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: 4px;
}

.dl-card__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  margin: 0 0 6px;
  color: var(--navy-deep);
  line-height: 1.2;
}
.dl-card__body p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.dl-card__meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.dl-card__action {
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
}
.dl-card:hover .dl-card__action {
  transform: translateY(3px);
  color: var(--navy);
}

.downloads__hint {
  margin-top: 72px;
  padding: 24px 28px;
  background: transparent;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}

@media (max-width: 640px) {
  .dl-card {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 16px 20px;
    padding: 20px;
  }
  .dl-card__action { grid-column: 1 / -1; justify-self: flex-end; }
  .dl-card__icon { width: 56px; height: 56px; }
  .dl-card__body h3 { font-size: 19px; }
}
