
.Kollektion-vorschau a,
.pure-vorschau a,
.refill-vorschau a {
    text-decoration: none;
    color: inherit;
}
html, body {
    max-width: 100%;
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
}

body {
    background-color: #e8e1d7;
    color: #3a352f;
    margin: 0;
    padding: 10px;
}

main a {
    text-decoration: none;
    color: inherit;
}

/* --- Header --- */
.main-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 98%;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(235, 228, 217, 0.97);
    border-bottom: 1px solid #c7c0b6;
}

#name {
    font-size: 3rem;
}

.main-header nav {
    display: flex;
    gap: 30px;
}

.logo-bereich {
    display: flex;
    align-items: center;
    gap: 150px;
}

.button {
    margin-right: 20px;
}

.button a {
    margin-left: 30px;
    color: #4e4a43;
    text-decoration: none;
    font-size: 1.2rem;
}

/* --- Footer --- */
footer {
    background-color: #d6cec3;
    padding: 10px 5%;
    border-top: 1px solid #b2aa9e;
    margin-top: 30px;
    padding-left: 10px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

footer h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #3a352f;
}

footer p,
footer a,
footer address {
    display: block;
    margin-bottom: 10px;
    color: #555047;
    text-decoration: none;
    font-style: normal;
    font-size: 0.9rem;
}

footer a:hover {
    color: #a8894a;
}

.footer-logo {
    height: 150px;
    width: auto;
}




.warenkorb-btn {
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 80;
    cursor: pointer;
    border-radius: 6px;
    background-color: #aba08b;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 15px;
}

.warenkorb-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.warenkorb-btn:active {
    background-color: #004494;
    transform: scale(0.95);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}
.Warenkorb {
    display: none;
    position: fixed;
    right: 20px;
    top: 80px;
    border-radius: 20px;
    background: #d8cfc3;
    border: 1px solid #000;
    padding: 20px;
    z-index: 1000;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(236, 88, 88, 0.1);
}

.wk-Entfernen {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: right;
}

.wk-item {
    border-bottom: 1px solid #eee;
    padding: 10px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wk-name {
    display: block;
}

.wk-details {
    font-size: 0.9em;
    color: #666;
}

.wk-delete-btn {
    color: red;
    border: none;
    background: none;
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
}

.wk-delete-btn:hover {
    transform: scale(1.2);
}

/* 2-Column Layout for Preview Sections */
.Kollektion-vorschau section,
.pure-vorschau section,
.refill-vorschau section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 20px;
    align-items: start;
    justify-items: center;
}
#vorschau-bilder {
    display: flex;
    justify-content: space-around;
    height: 350px;
    padding: 15px;
    border-radius: 20px;
}
#vorschau-bilder img {
    border-radius: 20px;
}

.Kollektion-vorschau h2,
.pure-vorschau h2,
.refill-vorschau h2 {
    margin-top: 0px;
    margin-bottom: 0%;
}

.Kollektion-vorschau p,
.pure-vorschau p,
.refill-vorschau p {
    margin-bottom: 25px;
}
/*Animation: Vorschau*/
@keyframes vorschauEinfahrt {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Diese Klasse triggert die Animation */
.animation-aktiv {
    animation: vorschauEinfahrt 1s ease-out forwards;
}

/* --- Warenkorb Icon --- */
.cart {
    position: relative;
    font-size: 28px;
    cursor: pointer;
}

.cart i {
    color: #333;
}

.cart-count {
    position: absolute;
    top: -6px;          /* Höhe relativ zum Icon */
    right: -10px;       /* Abstand rechts */
    background: rgb(215, 86, 86);
    color: white;
    font-size: 14px;
    min-width: 18px;    /* genug Platz für 2-stellige Zahlen */
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 18px;  /* Zahl vertikal zentrieren */
    text-align: center;
}

/* --- Responsiv: verhindert seitliches Scrollen --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000;
}
.modal-content {
    background: white; padding: 30px; border-radius: 12px;
    text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.btn-primary { background: #333; color: white; padding: 10px 20px; border: none; cursor: pointer; border-radius: 5px; }
.btn-secondary { background: none; border: none; color: #666; cursor: pointer; margin-left: 10px; }

.produkt {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.produkt.animate-in {
    opacity: 1;
    transform: translateY(0);
}
/* ========================= */
/* Responsive Anpassung */
/* ========================= */

/* Tablets */
@media (max-width: 1100px){

    .Kollektion-vorschau section,
    .pure-vorschau section,
    .refill-vorschau section{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    }

    .Kollektion-vorschau section a,
    .pure-vorschau section a,
    .refill-vorschau section a{
    width:45%;
    text-align:center;
    }

    #vorschau-bilder img{
    width:100%;
    height:auto;
    }
    .main-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }


}


/* Smartphones */
@media (max-width: 768px){
    
    .main-header {
        flex-direction: column;
        padding: 10px;
    }
    .main-header nav {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .button a {
        margin: 5px;
        font-size: 1rem;
        margin-left: 30px;
    }
    .warenkorb-btn {
        margin-right: 20px;
    }

    #name {
        font-size: 2rem;
    }

    .Kollektion-vorschau section,
    .pure-vorschau section,
    .refill-vorschau section {
        flex-direction: column;
        align-items: center;
    }

    .Kollektion-vorschau section a,
    .pure-vorschau section a,
    .refill-vorschau section a {
        width: 90%;
    }

    #vorschau-bilder img{
    width:100%;
    }

    .vorschau-name{
    font-size:1.4rem;
    }

    .vorschau-preis{
    font-size:1.1rem;
    }
    .footer-container {
    flex-direction: column;
    gap: 25px;
    }

    .footer-logo {
        height: 160px;
    }
    
    .produkt_bilder {
        flex-direction: column;
        align-items: center;
        height: auto;
        transform: scale(1);
    }

    .produkt_bilder img {
        max-width: 90%;
    }
   

}
/* Sehr kleine Smartphones */
@media (max-width: 480px) {

    .footer-logo {
        height: 150px;
    }

    
}


