/* ==========================================================================
   Referenzen & Vertriebspartner (/projects/)
   ========================================================================== */
@media (min-width: 768px) {
  #refFeatured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ds-featured h3 a,
.ds-projitem h4 a { color: inherit; text-decoration: none; }
.ds-featured h3 a:hover,
.ds-projitem h4 a:hover { color: var(--smy-red-bright); }

.ds-ref-result { color: var(--text-primary); font-weight: 500; }
.ds-ref-quote {
  margin-bottom: var(--space-md);
  padding-left: var(--space-sm);
  border-left: 2px solid var(--border-accent);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

/* Kundenlogo: weiße Fläche mit Schutzraum, Logo nur proportional skaliert */
.ds-ref-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 4rem;
  margin-bottom: var(--space-sm);
  padding: var(--space-xs);
  background: #fff;
  border-radius: var(--radius-sm);
}
.ds-ref-logo__img { width: 100%; height: 100%; object-fit: contain; }

/* ─── Vertriebspartner ─── */
.ds-vp { background: var(--bg-elevated); border-block: 1px solid var(--border-subtle); }
.ds-vp__head { max-width: 46rem; margin-inline: auto; text-align: center; }
.ds-vp__head .ds-eyebrow { justify-content: center; }
.ds-vp__head .ds-section-title,
.ds-vp__head .ds-lead { margin-inline: auto; }
.ds-vp__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 22rem));
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding: 0;
  list-style: none;
}
.ds-vp__link { display: block; border-radius: var(--radius-md); text-decoration: none; }
.ds-vp__link:hover .ds-vp__mark { border-color: var(--border-accent); box-shadow: 0 0 0 1px var(--border-accent); }
.ds-vp__link:hover .ds-vp__name { color: var(--smy-red-bright); }
.ds-vp__link:focus-visible { outline: 2px solid var(--smy-red-bright); outline-offset: 3px; }

/* Einheitliche Fläche: das Padding hält den Schutzraum um jedes Logo frei */
.ds-vp__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7.5rem;
  padding: var(--space-md);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease;
}
/* Weiße Fläche hält die Logos auf hellem und dunklem Grund lesbar. */
.ds-vp__mark.has-logo { background: #fff; }
.ds-vp__wordmark {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}
/* Logos nur proportional skalieren, nie umfärben */
.ds-vp__logo { width: 100%; height: 3.5rem; object-fit: contain; }
@media (max-width: 760px) {
  .ds-vp__mark.has-logo { height: 6rem; }
  .ds-vp__logo { height: 2.5rem; }
}

.ds-vp__name {
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  transition: color 0.25s ease;
}
.ds-vp__service {
  margin-top: var(--space-2xs);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
}
@media (max-width: 760px) {
  .ds-vp__name { font-size: 0.875rem; }
}
