div#sidebar-position {
    z-index: 9;
}

.teamboxmore input#openmore{
    padding: 5px;
    position: absolute;
    left: -100vw;
    visibility: hidden;
}

.teamboxmore .showmore{
    padding: 5px;
    background-color: var(--grey);
    margin-top: -100%;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: -1;
    font-size: 0px;
    padding: 20px 15px;
            -webkit-box-ordinal-group: 3;
                -ms-flex-order: 2;
                    order: 2;
}

.teamboxmore #openmore:checked ~ .showmore {
    margin-top: 0;
    font-size: inherit;
}

.teamboxmore .boxgrid-content {
    /* height: 100%; */
    height: auto;
    /* z-index: 10; */
    position: relative;
    /* pointer-events: none; */
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}

.teamboxmore #openmore:checked ~ .boxgrid-content {
    height: auto;
}

.teamboxmore {
    z-index: 0;
    position: relative;
    /* width: 100% !important; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.teamboxmore  ul, .teamboxmore ol {
    margin: 0 0 15px 20px;
}

.labelmore {
    background-color: var(--primary);
    padding: 17px 20px 15px;
    width: 100%;
    color: #fff;
    display: block;
    text-align: center;
    z-index: 11;
    font-weight: 600;
            -webkit-box-ordinal-group: 4;
                -ms-flex-order: 3;
                    order: 3;
}

.labelmore::after {
    content: ' anzeigen';
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.teamboxmore #openmore:checked ~ .labelmore::after {
    content: ' ausblenden';
}

/*Höhe anderer Boxen*/

.grid-box.teamboxmore + .grid-box {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}