/* Header mit neuer Struktur und lebendigeren Farben */
header {
    background: #ffffff;
    color: #333;
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: rotate(-5deg);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    background-color: #4CAF50;
    transform: translateY(-3px);
}

.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Hauptinhalt mit neuer Box-Schatten- und Hintergrundstruktur */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.container::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    background: #c8e6c9;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    z-index: -1;
}

/* Überschriften */
h1, h2 {
    color: #2e7d32;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.5px;
}

/* Lebendigere Button-Stile */
.btn {
    background: #ffffff;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    padding: 15px 25px;
    border: 2px solid #4CAF50;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
    font-weight: bold;
}

.btn:hover {
    background: #4CAF50;
    color: #fff;
    border: 2px solid #388E3C;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

input[type="submit"] {
    padding: 15px 30px;
    background: #ffffff;
    color: #333;
    border: 2px solid #4CAF50;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

input[type="submit"]:hover {
    background: #4CAF50;
    color: #fff;
    border: 2px solid #388E3C;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

select, input[type="date"] {
    padding: 15px;
    margin: 20px 0;
    border: 3px solid #a5d6a7;
    border-radius: 15px;
    width: 100%;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

select:focus, input[type="date"]:focus {
    border-color: #2e7d32;
}

/* Kartenlayout für Kategorien */
.categories-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
}

.category {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: calc(33.333% - 35px);
    text-align: center;
    transition: transform 0.4s, box-shadow 0.3s;
    position: relative;
}

.category:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.category-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.category h2 {
    padding: 30px 0;
    background: #66bb6a;
    color: #fff;
}

/* Neuer, dynamischer Footer-Bereich */
footer {
    background: linear-gradient(45deg, #2e7d32, #388e3c);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-contact p {
    margin: 15px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.social-media a {
    margin: 0 25px;
    display: inline-block;
}

.social-media img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s, filter 0.3s;
}

.social-media a:hover img {
    transform: scale(1.2);
    filter: brightness(1.3);
}

/* Warenkorb-Stile */
.cart-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th, .cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cart-table th {
    background: #f5f5f5;
    color: #333;
}

.cart-summary {
    text-align: right;
    padding: 10px 0;
}

.remove-btn {
    color: red;
    text-decoration: none;
    font-weight: bold;
}

.remove-btn:hover {
    text-decoration: underline;
}

/* Responsives Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-top: 10px;
    }

    .container {
        padding: 25px;
    }

    .categories-wrapper {
        flex-direction: column;
    }

    .category {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 45px;
    }

    .btn {
        padding: 15px 25px;
    }

    input[type="submit"] {
        padding: 15px 25px;
    }
}

}
