body {   
    padding: 0;
    background-color: #f4f4f4;
    cursor: url('images/cursor.cur'), auto; 
}

.fussbereich {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 2rem 0;
}

.hintergrund-dunkel {
    background-color: #1a1a1a;
}

.text-hell {
    color: #ccc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 0;
    margin-right: 0;
}

.fuss-inhalt {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.fuss-spalte {
    flex: 1 1 300px;
    margin-bottom: 1.5rem;
}

.fuss-titel {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.fuss-untertitel {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.fuss-links {
    list-style: none;
    padding: 0;
}

.fuss-link {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.fuss-link:hover {
    color: #fff;
}

 
h1 {
    position: absolute;
    display: flex;
    flex-direction: column;
    font-size: 400%;
    top: 2%;
    left: 45%;
    text-align: center;
    color: #222;
    
}

.name{
    display: flex;
    position: absolute;
    top: 9%;
    left: 42%;
    font-size: 200%;
    color: #555;
}

 
.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    right: -250px;
    background: linear-gradient(180deg, #222, #444);
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease-in-out;
    padding-top: 60px;
    z-index: 1000;
    cursor: url('images/cursor.cur'), auto;
}

 
.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 15px;
    transition: 0.3s;
    cursor: url('images/cursor.cur'), auto;
}

.sidebar a:hover {
   
    cursor: url('images/hammer.cur'), auto;
    background: rgba(255, 255, 255, 0.2);
    padding-left: 30px;
    cursor: url('images/cursor.cur'), auto;
}

 
.closebtn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    cursor: url('images/hammer.cur'), auto;
    color: #ff5757;
}

 
.openbtn {
    font-size: 20px;
    position: absolute;
    top: 7%;
    right: 2%;
    background: #222;
    color: white;
    padding: 12px 18px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: url('images/cursor.cur'), auto;
}

.openbtn:hover {
    background: #444;
}

.Logo {
    right: 90%;
    top: 3%;
    width: 200px;
}



.product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 250px;
    height: 300px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s;
    
    cursor: url('images/cursor.cur'), auto;
}

.product img {
    width: 60%;
    height: 200px;
    object-fit: contain;
}

.product h2 {
    font-size: 18px;
    margin: 10px 0;
}

.product p {
    color: #444;
    font-size: 12px;
}

.product a {
    background: blue;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    cursor: url('images/cursor.cur'), auto;
}

.product a:hover {
    background: #cc5500;
}

.product:hover {
    transform: scale(1.05);
}

 
@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product {
        height: 280px;
    }
    .product img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product {
        height: 300px;
        padding: 8px;
    }
    .product img {
        height: 140px;
    }
}

 
.cart-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 2%;
    right: 2%;
    cursor: pointer;
}

.cart-icon {
    font-size: 30px;
    color: #333;
}

.cart-counter {
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 18px;
    margin-left: 8px;
}

/* Smartphones */
@media (max-width: 600px) {
    h1 {
        position: static;
        font-size: 200%;
        margin: 20px auto 10px;
        text-align: center;
    }

    .name {
        position: static;
        font-size: 120%;
        text-align: center;
        margin: 10px auto;
        flex-direction: column;
        align-items: center;
    }

    .Logo {
        position: static;
        display: block;
        margin: 10px auto;
        width: 120px;
    }

    .openbtn {
        position: static;
        display: block;
        margin: 20px auto;
        font-size: 16px;
        padding: 10px 14px;
    }

    .cart-container {
        position: static;
        justify-content: center;
        margin-top: 10px;
    }

    .product {
        width: 90%;
        margin: auto;
    }

    .fuss-inhalt {
        flex-direction: column;
        align-items: center;
    }

    .fuss-spalte {
        flex: 1 1 100%;
        text-align: center;
    }
}
@media (max-width: 1024px) {
    h1 {
        font-size: 300%;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 5px;  /* kleiner Abstand nach unten */
        position: static; 
    }

    .name {
        font-size: 150%;
        text-align: center;
        margin-top: 0;
        margin-bottom: 15px;
        position: static; 
        display: block;
    }

    .openbtn {
        font-size: 18px;
        top: 4%;
        right: 4%;
        position: absolute;
    }

    .buttonhinzu {
        position: relative;
        top: -10px;
        margin-bottom: 10px;
    }

    .product {
        width: 65%;
    }
}
