/* =========================================
   MAIN LAYOUT & HEADERS
   ========================================= */
.section-header {
    justify-content: space-between;
    margin-top: 2rem;
}

.section-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.see-all {
    color: var(--clr-red);
    font-size: 0.9rem;
    font-weight: 500;
}

/* =========================================
   CATEGORY SLIDER (CLEAN ICON STYLE)
   ========================================= */
.category-section {
    margin-top: 10rem;
}

.category-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-wrapper::-webkit-scrollbar { display: none; }

.category-item {
    flex: 0 0 auto;
    text-align: center;
    width: 70px;
}

.cat-icon-wrap {
    width: 65px;
    height: 65px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Kein Hintergrund/Rahmen für den "reinen" Icon-Look */
    background: transparent; 
}

.cat-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Wichtig für Bilder ohne Hintergrund */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Spezial-Stil für das "Alle"-Icon (falls es ein Icon ist) */
.cat-icon-wrap i {
    font-size: 2.5rem;
    color: var(--clr-red);
}

/* =========================================
   MODERN PRODUCT GRID (PIC 2 STYLE)
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Spalten auf Mobile */
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.modern-card {
    background: var(--clr-light);
    border-radius: 25px;
    padding: 1rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    /* border: 1px solid var(--clr-red); */
    
}

.modern-card:active {
    transform: scale(0.98);
}

.fav-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    background: none;
    border: none;
    font-size: 1.4rem;
    /* color: #ccc; */
    cursor: pointer;
    z-index: 5;
    color: var(--clr-red);
}

.fav-btn.active {
    color: var(--clr-red);
}


.card-image{
    /* height: 140px;  */
    border-radius: 20px;
    
}

.card-image img{
    border-radius: 20px;
}




.modern-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.modern-card .price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-green);
    filter:  drop-shadow(0 0 30px white);
}

.add-btn {
    background: var(--clr-red);
    color: white;
    width: 32px;
    height: 32px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;

    
    line-height: 40px;
    border-radius: 50px;
    font-weight: 500px;
    /* color: var(--clr-red); */
    
    
    
}

/* =========================================
   HINTER DEN KULISSEN (SERVICE-CARD STYLE)
   ========================================= */
.production-section {
    margin: 3rem 0;
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten, nicht scrollbar */
    gap: 1rem;
    text-align: center;
}

.step-card-round {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-image {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Kreisform wie gewünscht */
    overflow: hidden;
    margin-bottom: 0.8rem;
    border: 2px solid var(--clr-red);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-card-round p {
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 500;
}

.step-card-round span {
    display: block;
    color: var(--clr-red);
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

/* Responsive Fix für sehr kleine Handys */
@media (max-width: 360px) {
    .production-grid { gap: 0.5rem; }
    .step-image { width: 65px; height: 65px; }
}

/* Dark Mode Anpassungen */
body.dark-mode .modern-card, 
body.dark-mode .cat-circle,
body.dark-mode .step-card {
    background: #2a2a2a;
    border-color: #333;
}

body.dark-mode .modern-card .price,
body.dark-mode .category-item span {
    color: white;
}

/* Service Cards Design */
.service-cards-section {
    margin-bottom: 10rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.service-card {
    background: var(--clr-lightgrey);
    padding: 1.5rem 0.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 1.8rem;
    color: var(--clr-red);
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--clr-grey);
}

/* Dark Mode Anpassung für Service Cards */
body.dark-mode .service-card {
    background: #2a2a2a;
}








.event-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}
.event-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 1rem;
}
.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.event-card span {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 8px;
    font-size: 0.9rem;
    text-align: center;
}











