/* Allgemeine Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

/* Main Content */
main {
    padding: 40px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* Artikel Grid */
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.artikel-kachel {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.artikel-kachel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.artikel-bild {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.artikel-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.artikel-kachel:hover .artikel-bild img {
    transform: scale(1.05);
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #999;
}

.no-image i {
    font-size: 48px;
}

.artikel-info {
    padding: 20px;
}

.artikel-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.preis {
    font-size: 22px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 15px;
}

.artikel-beschreibung {
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.artikel-link {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.artikel-link:hover {
    background-color: #2980b9;
}

.keine-artikel {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: #777;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    .artikel-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

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


/* Kategorie-Filter Styles */
.kategorie-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.kategorie-btn {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.kategorie-btn:hover {
    background-color: #e0e0e0;
}

.kategorie-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.kategorie-gruppe {
    margin-bottom: 40px;
}

.kategorie-titel {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
    .kategorie-filter {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
}


/* Cookie-Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(33, 33, 33, 0.95);
    color: #fff;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-content a {
    color: #3498db;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-cookie.accept {
    background-color: #3498db;
    color: #fff;
}

.btn-cookie.accept:hover {
    background-color: #2980b9;
}

.btn-cookie.decline {
    background-color: #6c757d;
    color: #fff;
}

.btn-cookie.decline:hover {
    background-color: #5a6268;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .cookie-content p {
        margin-bottom: 0;
        margin-right: 20px;
    }
}

.footer-rechtliches {
    color: rgba(254, 254, 254, 0.8); 
    list-style: none;
}

.footer-rechtliches a {
    color: rgba(254, 254, 254, 0.8);
    text-decoration: none;
}