section {
    --ecke: 110px;
    --maxWidth: 1180px;
    position: absolute;
    z-index: 1;
    width: calc(100% - 16px);
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    box-sizing: border-box;
    overflow-y: scroll;
    scrollbar-color: var(--blue) var(--yellow);
    transition: all 0.4s ease-in-out;
    margin: 0 8px 0 8px;
    box-sizing: border-box;
    transform: translateY(400px);
}

section > * {
    clip-path: polygon(0 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% 100%, 0 100%);
    background: var(--lightBlue);
    border: solid 2px var(--blue);
    padding: 20px 50px 100px 30px;
    position: sticky;
    top: 0;
    margin-top: 30px;
    margin-bottom: 100px;
    box-sizing: border-box;
    transition: all 0.4s ease-in-out;
    max-width: var(--maxWidth);
    margin-left: auto;
    margin-right: auto;
}

section.active {
    display: block !important;
    z-index: 100;
    transform: translateY(0);
}

.closeBtn {
    position: absolute;
    z-index: 200;
    top: 0;
    right: 0;
    border: none;
    margin: 0;
    box-sizing: border-box;
    width: var(--ecke);
    height: var(--ecke);
    padding: 2px;
    background: var(--blue);
    transition: all 0.4s ease-in-out;
    border: initial;
    outline: initial;
    cursor: pointer;
}

.closeBtn svg {
    position: relative;
    top: 34px;
    right: 30px;
    width: 30px;
    height: 30px;
    stroke: var(--yellow);
    stroke-width: 10px;
    transition: all 0.4s ease-in-out;
}

.closeBtn:hover svg {
    transform: scale(1.1);
}

section:has(.closeBtn:hover ) {
--ecke: 120px;
}


@media screen and (max-width: 480px) {
    section {
        --ecke: 90px;
    }

    section:has(.closeBtn:hover ) {
        --ecke: 100px;
    }
    .closeBtn svg {
        top: 25px;
        right: 21px;
    }
    section > * {
        padding: 10px;
        overflow-x: hidden;
    }


}