#cookieform {
    position: fixed;
    z-index: 800;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, .75);
    overflow: hidden;

}
#cookieform form,
#cookieform form p {
    hyphens: none;
    font-size: .875rem;
}
#cookieform form p a {
    display: block;
    color: var(--grau-4);
}

#cookieform form {
    position: relative;
    padding: 0 2em 0 2em;
    width: auto;
    margin: 0;
    background-color: var(--grau-1);
    -webkit-box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, .5);
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .9s ease;
}

#cookieform div.info {
    margin: .75em 0 1.5em 0;
    border: solid var(--grau-3);
    border-width: 0 0 1px 0;
}

#cookieform div.info div {
   display: none;
    overflow: hidden;
    transition: height .5s ease-in;
}
#cookieform div.info div p {
    color: var(--grau-3);
}

#cookieform div.open div {
    display: block;
}

#cookieform .footer {
    display: flex;
    flex-direction: row;
    gap: .25em;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: stretch;
    margin: 2em 0;
}
#cookieform button {
    color: var(--grau-1);
    font-family: var(--font-txt-1);
    font-weight: 600;
    background-color: var(--gelb);
    padding: .25rem .5rem 1.5rem .5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
#cookieform button[name="toggle"] {
    background-color: transparent;
    color: var(--grau-3);
    font-size: .9rem;
    padding: .25rem 0;


}
#cookieform button.cookieButton {
    font-size: .75rem;
    font-weight: 500;
    padding: .25rem .5rem;
    position: fixed;
    bottom: 0;
    background-color: var(--grau-3);
    right: 0;
}
#cookieform button[name="toggle"]:hover {
     color: var(--grau-4);
 }
#cookieform input[type="checkbox"]{
    position: relative;
}
#cookieform input[type="checkbox"] ~ label {
    position: relative;
    margin-left: 30px;
    font-weight: 600;

    font-size: 1.125rem;
}
#cookieform input[type="checkbox"] ~ label::before {
    position: absolute;
    background: url("assets/ico-check.svg") transparent center no-repeat;
    background-size: contain;
    content: "";
    top: 3px;
    left: -50px;
    width: 40px;
    height: 23px;
}
#cookieform input[type="checkbox"]:checked ~ label::before {
    background: url("assets/ico-check-aktiv.svg") transparent center no-repeat;
    background-size: contain;
}
/* show Form show Button */
.cookieOn #cookieform {
    height: 100vh;
}

.cookieOn #cookieform form {
    opacity: 1;
}
.cookieOn #cookieform button.cookieButton {
    display: none;
}
@media only screen and (min-width: 60em) {

    #cookieform form {
        position: relative;
        padding: 2em 2em 0 2em;
        width: 40em;
        margin: 0 auto;
        background-color: var(--grau-1);
        -webkit-box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, .25);
        box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, .25);
        opacity: 0;
        transition: opacity .9s ease;
    }

    #cookieform div.info div {
        display: block;
        height: 0;
        overflow: hidden;
        transition: height .3s ease-out;
    }
    #cookieform div.info div p {
        hyphens: none;

        color: var(--grau-4);
    }

    #cookieform div.open div {
        height: 10em;
    }
}