.filter-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	background: #151922;
	padding: 20px 30px;
	border-radius: 12px;
	margin-bottom: 40px;
	align-items: center;
	border: 1px solid #1c222d;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.filter-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #ff3b3b;
	font-weight: bold;
	letter-spacing: 1px;
}

/* Optische Trennung */
.v-divider {
	width: 1px;
	height: 40px;
	background: #2a2f3d;
	margin: 0 10px;
}

.search-box { flex-grow: 2; min-width: 200px; }
.sort-box { min-width: 180px; }

.search-box input, .sort-box select {
	width: 100%;
	background: #1a1e2a;
	border: 1px solid #2a2f3d;
	color: #eaeaea;
	padding: 12px 15px;
	border-radius: 6px;
	outline: none;
	transition: border-color 0.2s;
}

.search-box input:focus, .sort-box select:focus {
	border-color: #ff3b3b;
}

.btn-filter, .btn-reset {
	height: 45px; /* Einheitliche Höhe für beide */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 25px;
	border-radius: 6px;
	font-weight: bold;
	font-size: 0.9rem;
	cursor: pointer;
	border: none;
	transition: all 0.2s ease;
	text-decoration: none;
}

.btn-filter {
	background: #ff3b3b;
	color: white;
}

.btn-filter:hover {
	background: #d32f2f;
}

.btn-reset {
	background: #2a2f3d;
	color: #eaeaea;
}

.btn-reset:hover {
	background: #3f475c;
	color: white;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    content: "";
}

/* Bild-Begrenzung und Zentrierung */
.image-container {
    width: 100%;          /* Sorgt dafür, dass der Container die volle Breite nutzt */
    height: 200px;        /* Deine gewünschte Höhe */
    display: flex;        /* Aktiviert Flexbox */
    align-items: center;  /* Zentriert vertikal */
    justify-content: center; /* Zentriert horizontal */
    margin: 0 auto;       /* Zusätzliche Sicherheit für die Zentrierung des Containers */
    overflow: hidden;     /* Verhindert Ausbrechen bei großen Bildern */
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;  /* Behält Proportionen bei ohne zu verzerren */
    display: block;       /* Entfernt den Standard-Abstand unter Bildern */
}
.clickable { cursor: pointer; }
.status-text.success { color: #28a745; font-weight: bold; }
.stats-list2 { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; }

.card h3 {
    margin-bottom: 15px;
    /* Erhöhe min-height, damit auch 3-zeilige Namen (wie Max Performance...) 
       den Platz nicht sprengen. 4.5em entspricht ca. 3 Zeilen. */
    min-height: 4.5em; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 2. Die MPS-Anzeige wird zum "Anker" */
.mps-display {
    margin-top: auto; /* Drückt alles ab hier nach unten */
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff3b3b;
}

/* 3. Die Beschreibung braucht ebenfalls eine feste Höhe, 
      damit sie die Card nicht ungleichmäßig nach unten zieht */
.card > p {
    min-height: 3em; /* Platz für 2 Zeilen Beschreibung */
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Der Container für die Stats */
.stats-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
	
	/* NEU: Drückt diesen Block nach ganz unten */
	margin-top: auto; 
	padding-top: 20px;
}

/* Der Container für die Stats */
.stats-list2 {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
	
	/* NEU: Drückt diesen Block nach ganz unten */
	padding-top: 20px;
}

.mps-label {
	font-weight: 800;
	font-size: 0.8rem;
	color: #eaeaea;
	letter-spacing: 1px;
}

.mps-value {
	font-weight: 900;
	font-size: 1.4rem; /* Größerer Wert für die Gesamtsumme */
	color: #ff3b3b;
	line-height: 1;
}

.stat-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #2a2f3d;
	padding-bottom: 4px;
}

.stat-label {
	color: #888;
	font-size: 0.9rem;
}

.stat-value {
	color: #ff3b3b;
	font-weight: bold;
	font-size: 1rem;
}
.supply-info { margin-top: 15px; font-size: 0.7rem; color: #555; text-transform: uppercase; }

.brand-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #ff3b3b;
	letter-spacing: 2px;
	font-weight: 800;
	
	/* NEU: Abstand nach oben, damit das Badge nicht überlappt */
	padding-top: 15px; 
	margin-bottom: 8px;
	
	display: block;
	position: relative;
}

/* Der kleine rote Strich unter dem Hersteller */
.brand-label::after {
	content: '';
	display: block;
	width: 20px;
	height: 2px;
	background: #ff3b3b;
	margin: 6px auto 0;
}

h2 {
    margin-bottom: 20px;
    border-left: 5px solid #ff3b3b;
    padding-left: 10px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.card {
    background: #1a1e2a;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
	position: relative;
	border: 1px solid transparent; /* Platzhalter für den Rand-Effekt */
    transition: all 0.3s ease; /* Weicher Übergang für alle Effekte */
    flex-direction: column;
    overflow: hidden; /* Verhindert, dass Inhalte über die Ecken ragen */
}

.card img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 2. Der Hover-Effekt */
.card:hover {
    transform: translateY(-5px) scale(1.02); /* Leichtes Anheben statt nur Vergrößern */
    background: #1f2433; /* Ganz leichte Aufhellung des Hintergrunds */
    border-color: #ff3b3b; /* Der rote Rand erscheint */
    
    /* Ein glühender Schatten in deinem Rot-Ton */
    box-shadow: 0 10px 20px rgba(255, 59, 59, 0.15), 
                0 0 15px rgba(255, 59, 59, 0.1);
    
    cursor: pointer;
}

/* 3. Optional: Den Text beim Hover leicht aufhellen */
.card:hover h3 {
    color: #ff3b3b;
    transition: color 0.3s ease;
}