.flag_telefon_popup{
    cursor:pointer;
}
.telefon_popup_overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:rgba(0,0,0,.6);
    z-index:900;
    justify-content:center;
    align-items:center;
}
.telefon_popup_overlay.active{
    display:flex;
}
.telefon_popup_box{
    position:relative;
    background-color:#fff;
    border-radius:12px;
    padding:50px 40px 40px;
    max-width:560px;
    width:90%;
    max-height:85vh;
    overflow-y:auto;
    box-shadow:0 20px 60px rgba(0,0,0,.3);
    animation:telefonPopupIn .3s ease-out;
}
@keyframes telefonPopupIn{
    from{opacity:0;transform:translateY(30px) scale(.95)}
    to{opacity:1;transform:translateY(0) scale(1)}
}
.telefon_popup_closer{
    position:absolute;
    top:12px;
    right:12px;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    color:var(--primaryTextColor);
    border-radius:50%;
    transition:all .3s;
    font-size:1.3em;
}
.telefon_popup_closer:hover{
    background-color:rgba(0,0,0,.08);
}
.telefon_popup_content{
    color:var(--primaryTextColor);
    line-height:1.7;
}
.telefon_popup_content .content_row{
    margin:0;
    padding:0;
}
.telefon_popup_content .content_container{
    padding:0;
}
.telefon_popup_content .text .headline h1,
.telefon_popup_content .text .headline h2,
.telefon_popup_content .text .headline h3{
    font-size:1.5rem;
    margin-bottom:10px;
    color:var(--primaryColor);
}
.telefon_popup_content .text .inhalt a{
    color:var(--primaryColor);
    text-decoration:underline;
}
.telefon_popup_content .text .inhalt a:hover{
    opacity:.8;
}
@media screen and (max-width:600px){
    .telefon_popup_box{
        width:95%;
        padding:40px 24px 30px;
        border-radius:12px 12px 0 0;
        max-height:90vh;
        position:fixed;
        bottom:0;
        left:0;
        right:0;
        animation:telefonPopupInMobile .3s ease-out;
    }
    @keyframes telefonPopupInMobile{
        from{opacity:0;transform:translateY(100%)}
        to{opacity:1;transform:translateY(0)}
    }
}
