/* BDG Kundenprojekte — values ported 1:1 from the prototype's css/style.css
   (.filter-bar, .filter-chip, .filter-count, .projects-grid, .project-card,
   .logo-panel, .project-body, .tag-row, .tag). */

/* ---------- filter bar ---------- */
.bdgp-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.bdgp-chip {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0b1120;
  background: #ffffff;
  border: 1.5px solid #e6e9f0;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bdgp-chip:hover {
  border-color: rgba(227, 0, 57, 0.45);
}

.bdgp-chip.is-active {
  background: #e30039;
  border-color: #e30039;
  color: #fff;
}

.bdgp-chip:focus-visible {
  outline: 2px solid #e30039;
  outline-offset: 2px;
}

.bdgp-count {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #98a0b3;
  margin-top: 6px;
}

/* ---------- grid ---------- */
.bdgp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 960px) {
  .bdgp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .bdgp-grid { grid-template-columns: 1fr; }
}

/* ---------- card ---------- */
.bdgp-card {
  background: #ffffff;
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, opacity 0.3s ease;
}

.bdgp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 0, 57, 0.45);
  box-shadow: 0 16px 40px rgba(11, 17, 32, 0.1);
}

.bdgp-card.is-hidden { display: none; }

.bdgp-logo {
  height: 110px;
  display: grid;
  place-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid #e6e9f0;
  background: #fdfdfd;
}

.bdgp-logo img {
  max-height: 62px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.bdgp-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.bdgp-body h3 {
  font-family: "Poppins", sans-serif;
  font-size: 17.5px;
  font-weight: 600;
  color: #0b1120;
  margin: 0;
}

.bdgp-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5b6473;
  margin: 0;
  flex-grow: 1;
}

/* ---------- chips on the card ---------- */
.bdgp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bdgp-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: #0b1120;
  background: #f5f6f9;
  border: 1px solid #e6e9f0;
  border-radius: 999px;
  padding: 5px 13px;
  white-space: nowrap;
}

/* ---------- states ---------- */
.bdgp-noresults,
.bdgp-empty {
  text-align: center;
  font-size: 15px;
  color: #5b6473;
  margin: 32px 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .bdgp-card { transition: none; }
  .bdgp-card:hover { transform: none; }
}
