/* z. B. in style.css */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;  /* dehnt den Content aus, schiebt den Footer ans Ende */
}

/* Tab-System Styling */
.tabs-container {
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 0;
  background: #f8f9fa;
}

.tabs {
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.tabs .tab {
  background: none;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  border-radius: 0;
  color: #6c757d;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tabs .tab:hover {
  background: #e9ecef;
  color: #495057;
}

.tabs .tab.active {
  background: #fff;
  color: #0d6efd;
  border-bottom: 3px solid #0d6efd;
  font-weight: 600;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
  display: block;
}

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

/* Baugruppen Grid */
.baugruppen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.baugruppen-grid .btn {
  text-align: left;
  padding: 1rem;
  height: auto;
  white-space: normal;
}

/* Filter Sidebar */
.shop-container {
  display: flex;
  gap: 2rem;
}

.filter-sidebar {
  flex: 0 0 250px;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  height: fit-content;
}

.article-table-container {
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .tabs .tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .shop-container {
    flex-direction: column;
  }

  .filter-sidebar {
    flex: none;
  }
}

/* In style.css oder inline */
.marken-card {
  transition: transform 0.2s, box-shadow 0.2s;
}


/* Quadratisches Feld für Markenlogos */
.marken-box {
  width: 100%;
  aspect-ratio: 1 / 1;           /* Macht es quadratisch */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;              /* optional Hintergrund */
}

.marken-logo {
  max-width: 50%;                    /* nimmt 75% der Box-Breite */
  height: 75%;                   /* nimmt 75% der Box-Höhe */
  object-fit: contain;            /* Logo bleibt proportional */
  transition: transform 0.2s ease-in-out;
  filter: grayscale(100%);
}

.marken-card:hover .marken-logo {
  transform: scale(1.05);         /* leichter Hover-Zoom */
  filter: grayscale(0%) contrast(105%);
}





