.rezepte-filter { margin-bottom: 30px; }
.rezepte-filter > div {
margin-bottom: 15px;
}
.rezepte-filter > div > span:first-child {
font-weight: bold;
margin-right: 10px;
display: inline-block;
min-width: 120px;
}
#rezept-suche {
width: 100%;
max-width: 400px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
margin-bottom: 15px;
}
.filter-option {
display: inline-block;
background: #fff;
border: 1px solid #ddd;
padding: 8px 12px;
margin: 2px;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s ease;
}
.filter-option:hover {
background: #f0f0f0;
border-color: #999;
}
.filter-option.active {
background: #007cba;
color: white;
border-color: #005a87;
}
#filter-reset {
background: #666;
color: white;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
margin-top: 10px;
}
#filter-reset:hover {
background: #555;
} #rezepte-ergebnisse.loading {
opacity: 0.5;
pointer-events: none;
position: relative;
}
#rezepte-ergebnisse.loading::before {
content: "Lädt...";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255,255,255,0.9);
padding: 20px;
border-radius: 4px;
z-index: 999;
} .rezept-card {
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
background: #fff;
transition: box-shadow 0.3s ease;
}
.rezept-card:hover {
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.rezept-thumbnail img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 4px;
}
.rezept-content h3 {
margin: 15px 0 10px 0;
}
.rezept-content h3 a {
text-decoration: none;
color: #333;
}
.rezept-content h3 a:hover {
color: #007cba;
}
.rezept-meta {
display: flex;
gap: 15px;
margin-bottom: 10px;
font-size: 14px;
color: #666;
}
.rezept-meta span {
background: #f0f0f0;
padding: 4px 8px;
border-radius: 4px;
}
.rezept-kategorien,
.rezept-tags {
font-size: 14px;
margin-bottom: 10px;
}
.rezept-tags {
color: #007cba;
}
.rezept-link {
display: inline-block;
background: #007cba;
color: white;
padding: 8px 16px;
text-decoration: none;
border-radius: 4px;
margin-top: 10px;
}
.rezept-link:hover {
background: #005a87;
color: white;
} @media (max-width: 768px) {
.rezepte-filter > div > span:first-child {
display: block;
margin-bottom: 5px;
min-width: auto;
}
.rezept-meta {
flex-direction: column;
gap: 5px;
}
}