.umzugsrechner{
 display: flex;
 flex-wrap: wrap;
 align-items: flex-start;
 position: relative; 
 gap: 20px;
}

.item-auswahl{
    flex: 1;
}

/*.section-category{
    margin-bottom: 50px;
}*/

.heading-container{
    display: flex;
    justify-content: space-between; /* Verteilung der Elemente */
    align-items: center;
    color: #eeeeee;
    padding: 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    padding-right: 15px;
    cursor: pointer;
    
}

.heading-container > h2{
    font-size: 24px;
    line-height: 1;
    margin: 0;
    display: inline;
}

.arrow-icon{
    max-width: 30px;
    line-height: 0;
    transition: transform 0.2s ease-in-out;
}

.arrow-icon.rotate{
    transform: rotate(-180deg);
}

.item-container{
    display: none;
}

.item-container.visible{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
    gap: 20px;
    margin-bottom: 10px;
}

.item{
    border: 1px solid rgb(226, 226, 226);
    border-radius: 2px;
    padding: 10px 0 10px 0;
    background-color: #ffffff;
    min-width: 150px;
    max-width: 160px;
    text-align: center;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.178));
    display: flex;
    flex-direction: column;
    
}

.item h3:first-of-type{
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    font-weight: 700;
    color: rgb(19, 19, 19);
    padding: 0px 5px;
    
}

.item img{
    width: 55px;
    margin: auto;
    
}

.amount-controls{
    text-align: center;
}

.plus, .minus, .plus:focus, .minus:focus{
    background-color: #065153;
    color: white;
    border: none;
    border-radius: 0;
    font-weight: bold;
    line-height: 0;
    font-size: 18px;
    width: 25px;
    height: 25px;
}

.plus:hover, .minus:hover{
    background-color: #FDF916;
    color: black;
    border-radius: 0;
    font-weight: bold;
    line-height: 0;
}

.count{
    padding: 0px 5px 0px 5px;
    font-size: 24px;
    color: rgb(19, 19, 19);
}

.background-box{
    position: sticky;
    top: 25vh;
    width: 30%;
    justify-content: center;
    text-align: center;
    padding: 20px 0px 20px 0px;
    border-radius: 2px;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.253));
}

.result-text{
    font-size: 24px;
    color: rgb(14, 14, 14);
}

.anfrage{
    background-color: #065153;
    color: white;
    border: none;
    border-radius: 0;
    font-weight: bold;
    padding: 10px;
}

.anfrage:hover{
    background-color: #FDF916;
    color: black;
    border-radius: 0;
    font-weight: bold;
}

.hidden-textarea {
    display: none;
}

@media (max-width: 600px) {
    .item {
        flex: 1 1 100%; /* Bei kleineren Bildschirmen nehmen die Items 100% Breite ein */        
    }

    .background-box{
        width: 100%;
    }
}