@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Rajdhani:wght@500;600;700&display=swap');

.eb-partners-section {
  font-family: 'Lato', sans-serif;
  width: 100%;
  max-width: 1400px;
  padding: 0;
  box-sizing: border-box;
}

.eb-partners-section *, 
.eb-partners-section *::before, 
.eb-partners-section *::after {
  box-sizing: border-box;
}

/* --- SEKTIONS-KOPFZEILE --- */
.eb-partners-header {
  margin-bottom: 40px;
  text-align: left;
}

.eb-partners-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #111111;
  text-transform: capitalize;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Pure CSS zweifacher gelber Unterstrich */
.eb-partners-title::after {
  content: "";
  display: inline-block;
  width: 45px;
  height: 10px;
  background: 
    linear-gradient(#FFD000, #FFD000) no-repeat,
    linear-gradient(#FFD000, #FFD000) no-repeat;
  background-size: 18px 2px, 45px 2px;
  background-position: 0 1px, 0 7px;
}

/* --- FILTER REITER (TABS) --- */
.eb-partners-filter-wrapper {
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 40px;
}

.eb-partners-filters {
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.eb-filter-btn {
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: #888888;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.eb-filter-btn:hover {
  color: #111111;
  border-bottom-color: #dddddd;
}

.eb-filter-btn.eb-active {
  color: #111111;
  border-bottom-color: #FFD000;
  font-weight: 700;
}

/* --- PARTNER GRID --- */
.eb-partners-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.eb-partners-grid.eb-active {
  display: grid;
  animation: ebFadeIn_0cbfc1fa 0.4s ease-in-out forwards;
}

@keyframes ebFadeIn_0cbfc1fa {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- ELEGANTE PARTNER-KARTE --- */
.eb-partner-card {
  display: flex;
  background-color: #fcfcfc;
  border: 1px solid #f0f0f0;
  padding: 30px;
  align-items: center;
  gap: 30px;
  transition: all 0.3s ease;
}

.eb-partner-card:hover {
  background-color: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Logo-Bereich */
.eb-partner-logo-box {
  width: 140px;
  height: 90px;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}

.eb-partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.eb-partner-card:hover .eb-partner-logo-box img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Text-Bereich */
.eb-partner-info {
  flex-grow: 1;
}

.eb-partner-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eb-partner-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #888888;
  margin-bottom: 12px;
}

.eb-partner-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #555555;
  margin: 0 0 15px 0;
}

/* Minimalistischer Link */
.eb-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.eb-partner-link:hover {
  color: #FFD000;
}

.eb-partner-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s ease;
}

.eb-partner-link:hover svg {
  transform: translateX(3px);
}

/* --- RESPONSIVE ANPASSUNGEN --- */
@media (max-width: 991px) {
  .eb-partner-card {
    padding: 20px;
    gap: 20px;
  }
  .eb-partner-logo-box {
    width: 120px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .eb-partners-filters {
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
  }
  .eb-filter-btn {
    font-size: 14px;
    white-space: nowrap;
  }
  .eb-partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .eb-partner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .eb-partner-logo-box {
    width: 100%;
    height: 100px;
  }
}
