/*Vars*/
:root{
    --mainpadding: 5vw;
	font-size: 62.5%;

    --maintrans: all .3s ease-in-out;
    --max-width: 1434px;

    --wp--preset--shadow--natural: 0px 0px 7.3px 0px rgba(0, 0, 0, 0.22);


    --gf-local-bg-color: var(--wp--preset--color--ci) !important;
}

:focus-visible{
    outline: 1px solid var(--wp--preset--color--ci) !important;
    border: 0px !important;
}

*{
    scroll-behavior: smooth;
}

[id]{
	scroll-margin-top: 5rem;
}

/*Format*/

.minbtn{
    min-width: 290px;
    text-align: center;
    display: inline-block;
}

.page:not(:has(header)) .wp-block-columns:first-of-type, .single section:first-of-type{
    margin-top: var(--wp--preset--spacing--60) !important;
}

.wp-block-search__inside-wrapper {
    border-radius: 1rem;
    border:0;
    padding: 0;
    gap: 0;

    .wp-block-search__button{
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
        background-color: var(--wp--preset--color--ci);
        margin-left: 0;
    }

    .wp-block-search__input{
        border-top-left-radius: 1rem;
        border-bottom-left-radius: 1rem;
        border: 1px solid var(--wp--preset--color--ci);
        padding: 2rem;
    }
}

.pt{
    padding-top: var(--mainpadding);
}

.px{
    padding-left: var(--mainpadding) !important;
    padding-right: var(--mainpadding) !important;
}

.mt-2{
    margin-top: 2rem;
    display: inline-block;
}

.t-center{
    text-align: center;
}

hr{
    border: 0px;
    height: 1px;
    background-color: var(--wp--preset--color--mid-light);
    margin-block-start: 4rem !important;
    margin-block-end: 2rem !important;
}

.page .wp-block-columns:first-of-type,
.single section:first-of-type{
    margin-top: 5rem !important;
}

.mb-0{
    margin-bottom: 0;
}

.mt-0{
    margin-top: 0;
}

a{
    transition: var(--maintrans);
}

.wp-block-separator {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.map{
    aspect-ratio: 16 / 5;
    width: 100%;
    height: auto;
    margin-bottom: 0;
    filter: grayscale(1);
}

.btn{
        background:  var(--wp--preset--color--ci);
        border-color: var(--wp--preset--color--ci);
        border-width: 2px;
        border-style: solid;
        padding-top: 0.667em;
        padding-right: 1.33em;
        padding-bottom: 0.667em;
        padding-left: 1.33em;
        border-radius: 5em;
        font-size: 1em;
        color: var(--wp--preset--color--light);
        transition: var(--maintrans);
        box-sizing: border-box;

        &:hover{
            background: var(--wp--preset--color--text);
            border-color: var(--wp--preset--color--text);
            color: var(--wp--preset--color--light);
            cursor: pointer;
        }
}
.wp-block-buttons .wp-block-button__link:hover{
    background: var(--wp--preset--color--text);
    border-color: var(--wp--preset--color--text);
    color: var(--wp--preset--color--light) !important;
    cursor: pointer;
}


.is-style-outline .wp-block-button__link:hover{
    background: var(--wp--preset--color--ci);
    border-color: var(--wp--preset--color--ci);
    color: var(--wp--preset--color--light) !important;
    cursor: pointer;
}


.btn.outline{
        background: transparent none;
        color: var(--wp--preset--color--ci);

        &:hover{
            border-color: var(--wp--preset--color--ci);
            background: var(--wp--preset--color--ci);
            color: var(--wp--preset--color--light);
        }

        &.white{
            border-color: var(--wp--preset--color--light);
            color: var(--wp--preset--color--light);

            &:hover{
                background-color: var(--wp--preset--color--light);
                color: var(--wp--preset--color--ci);
            }
        }

        &.black{
        border-color: var(--wp--preset--color--text);
        color: var(--wp--preset--color--text);

        path{
            stroke-width: 0 !important;
        }

        &:hover{
            background-color: var(--wp--preset--color--text);
            color: var(--wp--preset--color--light);

            path{
                fill:var(--wp--preset--color--light) !important;
                stroke: var(--wp--preset--color--light) !important;
            }
        }

        
    }
}

.wp-block-column{
    p.has-text-align-center{
        max-width: 700px !important;
    }
}

.infobubble{
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;

    span{
        padding: .25rem 2ch;
        background-color: color-mix(in srgb, var(--wp--preset--color--ci) 10%, transparent);
        color: var(--wp--preset--color--ci);
        border-radius: 2rem;
    }
}

/*Nav*/

/*MainNav*/

body.navopen{
    overflow: hidden;
}

nav{
    
    padding: 1em 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--wp--preset--color--light);
    box-sizing: border-box;

    .wrap{

        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        max-width: var(--max-width);
        margin: 0 auto;

        figure{
        max-width: 212px;
        margin-bottom: 0;

            img{
                object-fit: contain;
                width: 100%;
                height: auto;
            }
        }

        & > div{
            display: flex;
            gap: 1em;
            flex-direction: row;
            align-items: center;

            ul{
                list-style: none;
                display: flex;
                gap: 1em;
                flex-direction: row;
                padding: 0;
                margin: 0;

                a{
                    color: var(--wp--preset--color--text);
                    padding: 1em 0;
                    line-height: 3;

                    &:hover{
                        color: var(--wp--preset--color--ci);
                    }
                }

                .current_page_item,
                .current-menu-parent{
                    & > a{
                        color: var(--wp--preset--color--ci);
                    }
                }
            }
        }

        .menu-item {
            position: relative;
        }

         /* Sub-Menü standardmäßig verstecken */
        .sub-menu {
            opacity: 0;
            display: block;
            pointer-events: none;
            position: absolute;
            top: 200%; /* direkt unter dem Hauptmenüpunkt */
            left: 0;
            background-color: white;
            padding: 0;
            margin: 0;
            list-style: none;
            border-radius: 1rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: var(--maintrans);
        }

        /* Submenü-Elemente */
        .sub-menu li {
            white-space: nowrap;
            border-bottom: 1px solid var(--wp--preset--color--ci);

            &:last-of-type{
                border-bottom: 0;
            }
        }

        .sub-menu li a {
            display: block;
            padding: 1em;
            line-height: 1;
            text-decoration: none;
            color: var(--wp--preset--color--text);
            &:hover{
                        color: var(--wp--preset--color--ci);
                    }

        }

        .sub-menu .list a{
            background: var(--wp--preset--color--ci);
            color: var(--wp--preset--color--light);
            border-bottom-left-radius: 1rem;
            border-bottom-right-radius: 1rem;

            &:hover{
                background: var(--wp--preset--color--text);
                color: var(--wp--preset--color--light);
            }
        }

        /* Hover: Submenü anzeigen */
        .menu-item:hover > .sub-menu {
            pointer-events: all;
            opacity: 1;
             top: 100%;
        }


    }


    .toggle{
        background: transparent;
        border: none;
        padding: 0;
        width: 2.5rem;
        height: 3rem;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;

        span{
            transition: var(--maintrans);
            width: 100%;
            height: 2px;
            background: var(--wp--preset--color--ci);
            display: block;
            margin-bottom: .7rem;

            &:last-of-type{
                margin-bottom: 0;
            }
        }

        &:hover{
            cursor: pointer;

            span{
                background: var(--wp--preset--color--text);
            }
        }

        &.active{
            span{
                margin-bottom: 0;

                 &:last-of-type{
                    margin-top: -2px;
                }
            }
        }
    }
}

@media screen and ( max-width: 1500px){
    nav{
        padding-left: var(--mainpadding);
        padding-right: var(--mainpadding);
    }
}

@media screen and ( min-width: 991px){
    nav {
        .toggle {
            display: none;
        }
    }
}

@media screen and ( max-width: 990px){
    nav{
        position: relative;

        .wrap{
            .main-navigation{
                    position: absolute;
                    top: 50px;
                    background: var(--wp--preset--color--light);
                    height: 100vh;
                    z-index: 10;
                    width: 100%;
                    left: 0;
                    opacity: 0;
                    transition: var(--maintrans);
                    padding: 0;
                    box-sizing: border-box;
                    pointer-events: none;
                    overflow: scroll;

                     ul{
                        flex-direction: column;
                        gap: 0;

                        a{
                            display: block;
                            text-align: center;
                            padding: 2rem;
                            border-bottom: 1px solid var(--wp--preset--color--ci);
                        }
                    }
            }

            .outline{
                display: none;
            }

              /* Sub-Menü standardmäßig verstecken */
            .sub-menu {
                opacity: 1;
                display: block;
                pointer-events: none;
                position: relative;
                top: auto; /* direkt unter dem Hauptmenüpunkt */
                left: 0;
                border-radius: 0;
                box-shadow: none;
                background: var(--wp--preset--color--mid-light);
            }

            .sub-menu .list a{
                border-bottom-left-radius: 0;
                border-bottom-right-radius: 0;
            }

            .sub-menu li {
                border-bottom: 0;
            }

            
           
        }

        &.open{
            .wrap{
                .main-navigation{
                        opacity: 1;
                        top: 84px;
                        pointer-events: all;
                        padding-bottom: 84px;
                }

                 .sub-menu {
                    pointer-events: all;
                 }
            }
        }

       
    }
}

/*Head*/

header{
    position: relative;
    aspect-ratio: 1868 / 446;

    figure{
        line-height: 0;
        margin-bottom: 0;

        img{
            width: 100%;
            height: auto;
        }
    }

    .overlay{
        color: var(--wp--preset--color--light);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(256deg, rgba(0, 0, 0, 0.00) 23.56%, rgba(0, 0, 0, 0.44) 61.07%);
       
        display: flex;
        align-items: flex-end;
        padding: var(--mainpadding);

        h1{
            color: currentColor;
            width: var(--max-width);
            margin: 0 auto;

            small{
                display: block;
                font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.469), 20px);
                font-weight: normal;
                margin-top: 1em;
            }
        }  
    }
}

.counter{
    background: var(--wp--preset--color--accent-light);

    padding: 2rem 0;

    .counter-wrapper{
       
        margin-left: auto;
        margin-right: auto;

        display: flex;
        flex-direction: row;

        .counter-item{
            flex-grow: 1;
            text-align: center;
            color: var(--wp--preset--color--ci);
            padding: 0 1rem;

            &:nth-of-type(2){
                border-left: 1px solid var(--wp--preset--color--accent);
                border-right: 1px solid var(--wp--preset--color--accent);
            }


            .counter-number{
                font-weight: 500;
                font-size: 2rem;
            }
        }
    }
}

/*Main*/

main{
    .is-layout-flex,
    p{
        max-width: var(--max-width);
        margin-left: auto;
        margin-right: auto;
    }
    
}

@media screen and ( max-width: 1500px){
    main{
        .is-layout-flex,
        p{
            padding-left: var(--mainpadding);
            padding-right: var(--mainpadding);

            .is-layout-flex, p{
                padding-left: 0;
                padding-right: 0;
            }
        }
        
    }
}

/*cardwrap*/

.cardwrap{
    display: flex;

    gap: var(--wp--preset--spacing--30);
    flex-wrap: wrap;
    box-sizing: border-box;

    &.ausbildungen{

        max-width: 1432px;
        margin: 0 auto;

        flex-direction: row;

        .card{
            flex: 0 0 calc(50% - var(--wp--preset--spacing--30) / 2);
            box-sizing: border-box;
            padding: var(--wp--preset--spacing--30);
            border-radius: 1rem;
            box-shadow: var(--wp--preset--shadow--natural);

			display:flex;
			flex-direction: column;

            h3,
            .h3{
                font-size: 2rem;
				font-weight: 500;
				line-height: 1;
				color: var(--wp--preset--color--text);
				display: block;
				margin: 1em 0;
            }

            figure{
                width: 100%;
                height: auto;

                img{
                    max-width: 100%;
                    aspect-ratio: 656 / 260;
                    object-fit: cover;
                    height: auto;
                    border-radius: 1rem;
                }
            }

            p{
                margin-bottom: 3rem;
            }
			& > span{
				margin-top: auto;
			}
            .btn{
                display: inline-block;
                
                &:first-of-type{
                    margin-right: 1rem;
                }
            }
        }
    }

    &.seminare{

        max-width: 1432px;
        margin: 0 auto;

        flex-direction: row;

        details{
                    margin-top: 2rem;
                    summary{
                       
                        list-style: none;
                        position: relative;

                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        &::marker{
                            content: '';
                        }

                        h3{
                            font-size: 1.8rem;
                        }

                        svg {
                            transition: var(--maintrans);
                            path{
                                fill: var(--wp--preset--color--ci);
                            }
                        }
                    }


                    &[open]{
                        summary{
                            svg{
                                rotate: -180deg;
                            }
                        }
                    }
                }

        .card{
            flex: 0 0 100%;
            box-sizing: border-box;
            padding: var(--wp--preset--spacing--30);
            border-radius: 1rem;
            box-shadow: var(--wp--preset--shadow--natural);

            h3,
            .h3{
                font-size: 2rem;
				font-weight: 500;
				line-height: 1;
				color: var(--wp--preset--color--text);
				display: block;
				margin: 1em 0;
            }

            hr{
                border: none;
                height: 1px;
                background: var(--wp--preset--color--mid-light);
            }


            p{
                margin-bottom: 3rem;
            }

            .btn{
                display: inline-block;
                
                &:first-of-type{
                    margin-right: 1rem;
                }
            }
        }
    }

    &.ausbildungenslider{
        max-width: var(--max-width);
        margin: 0 auto;
        flex-direction: row;
        flex-wrap: nowrap; 
        overflow-x: auto;
        overflow-y: hidden;
        gap: 3rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;

        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer & Edge */

        &::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        .card{
            border-radius: 1rem;
            box-shadow: inset 0 0 0 2px var(--wp--preset--color--ci);
            padding: 2rem;
            flex: 0 0 calc(25% - 2.25rem);
            box-sizing: border-box;

            h3,.h3{
                font-size: clamp(1.39rem, 1.39rem + ((1vw - 0.2rem) * 1.075), 28px);
                transition: var(--maintrans);
                max-width: 15ch;

				font-weight: 500;
				line-height: 1;
				color: var(--wp--preset--color--text);
				display: block;
				margin: 1em 0;
            }

            &:hover{
                background:  var(--wp--preset--color--ci);

                h3,.h3{
                    color: var(--wp--preset--color--light);
                }
            }
        }
    }

    &.detailslider{
        max-width: var(--max-width);
        margin: 0 auto;
        flex-direction: row;
        flex-wrap: nowrap; 
        overflow-x: auto;
        overflow-y: hidden;
        gap: 3rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;

        padding: 2em .25em;

        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer & Edge */

        &::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        .card{
            border-radius: 1rem;
            box-shadow: var(--wp--preset--shadow--natural);
            background-color: var(--wp--preset--color--light);
            padding: 2rem;
            flex: 0 0 calc(33.5% - 2.25rem);
            box-sizing: border-box;
            overflow: hidden;
            position: relative;

            h3,.h3{
                font-size: 1em;
                transition: var(--maintrans);
				font-weight: 500;
				line-height: 1;
				color: var(--wp--preset--color--text);
				display: block;
				margin: 1em 0;
            }

            img{
                display: block;
                margin: 0 auto;
            }

            .cardinfo{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(255, 255, 255, .8);
                padding: 2rem;
                box-sizing: border-box;
                border-radius: 1rem;
                display: flex;
                justify-content: center;
                flex-direction: column;
                transition: var(--maintrans);
                transform: translateY(100%);
                opacity: 0;
                text-align: left;
            }

            &:hover{
                .cardinfo{
                    transform: none;
                    opacity: 1;
                }
            }

        }


        &.infoanlassslide{

            .card{
                display:flex;
                flex-direction: column;
                align-items: flex-start;
                background: transparent no-repeat center center;
                background-size: cover;
                color: #fff;
                font-size: 1em;
                position: relative;
                border-radius: 1rem;

                &:before{
                    content: "";
                    background: rgb(0 0 0 / 0.5);
                    position: absolute;
                    inset: 0;
                    display: block;
                    z-index: 0;
                    transition: background 0.3s ease;
                    border-radius: 1rem;
                }
                &:hover:before{
                    background: rgb(0 0 0 / 0.45);
                }
                *{
                    position: relative;
                }

                strong{
                    font-size: 26px;
                }
                .button{
                    margin-top: 100px;

                    display: inline-flex;
                    padding-top: 0.667em;
                    padding-right: 1.33em;
                    padding-bottom: 0.667em;
                    padding-left: 1.33em;
                    justify-content: center;
                    align-items: center;
                    gap: 10px;
                    border-radius: 40px;
                    border: 2px solid #FFF;

                }
            }
        }

        
    }

    &.dozenten{
        flex-direction: row;
        gap: 3rem;
        margin-top: var(--mainpadding);
        margin-top: 0;

        justify-content: center;

        &.flexstart{
            justify-content: flex-start;
        }

        .card{
            box-shadow: var(--wp--preset--shadow--natural);
            flex: 0 0 calc(25% - 2.25rem);
            border-radius: 1rem;
            padding: 2rem;
            box-sizing: border-box;
            
            figure{
                aspect-ratio: 1 / 1;
                width: 100%;
                height: auto;
                border-radius: 1rem;
                margin-bottom: .75em !important;

                img{
                    aspect-ratio: 1 / 1;
                    width: 100%;
                    height: auto;
                    border-radius: 1rem;
                    object-fit: cover;
                }
            }

            h3,.h3{
                font-size: 2rem !important;
				font-weight: 500;
				line-height: 1;
				color: var(--wp--preset--color--text);
				display: block;
				margin: 1em 0 !important;
                text-align: left;
            }
        }
    }
}

@media screen and (max-width: 990px){
    .cardwrap{
        flex-direction: column;

        &.ausbildungen{
            flex-direction: column;
        }

        &.dozenten{
            gap: 1rem;
            
            .card{
                 flex: 0 0 calc(50% - 2.25rem);
            }

             &.detailslider{
                gap: 3rem;
                padding-left: 0;
                padding-right: 0;
             }
        }
    }

    #dozenten{
        .slidecontrols{
           padding-left: 0;
            padding-right: 0;
        }
    }
}


@media screen and (max-width: 768px){
    .cardwrap{

        &.dozenten{
             flex-direction: column;
             flex-wrap: nowrap;

             &.detailslider{
                flex-direction: row;
             }

        }
    }
}


.slidecontrols{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    max-width: var(--max-width);
    margin: 3rem auto 0;

    button{
        display: flex;
        align-items: center;
    }
}


#startdaten h2{
    max-width: var(--max-width);
    margin: 1em auto !important;
    text-align: left !important;
}

#startdaten p{
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/*Forms*/

.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea,
.gform-theme--framework .gfield:where(.gfield--type-multiselect,.gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-search input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
    font-family: var(--wp--preset--font-family--main);
    font-size: 1em !important;
    padding: 1em !important;
    border: 1px solid var(--wp--preset--color--mid) !important;
    border-radius: 1em !important;

    &::placeholder{
        color: var(--wp--preset--color--mid) !important;
    }

    &:focus-visible{
        outline: 1px solid var(--wp--preset--color--ci) !important;
        border:  1px solid var(--wp--preset--color--light) !important;
    }
}

.ginput_container_consent,
#gform_1 .ginput_container_consent,
.gchoice,
#gform_1 .gchoice{
    display: flex;
    align-items: center;
    gap: .5em;
    margin-bottom: 1em;

}

@media screen and (max-width: 640px){
    
    #gform_1 .gchoice{
        margin-bottom: 0;
    }

}


#gform_1 .gchoice label,
#gform_1 .ginput_container_consent label{
    margin-left: 0!important;
}

input[type="checkbox"],
input[type="radio"]{
    width: 1.5em !important;
    height: 1.5em !important;
    accent-color: var(--wp--preset--color--ci) !important; /* Modernes CSS: Farbe der Checkbox */
    color: var(--wp--preset--color--light) !important;
    border-radius: 2em !important;
    border: 1px solid var(--wp--preset--color--mid) !important;
    padding: 0!important;
}

input[type="submit"],
#gform_1 .gform_button.button{
        background: transparent none !important;
        border-color: var(--wp--preset--color--ci) !important;
        border-width: 2px !important;
        border-style: solid !important;
        padding-top: 0.667em !important;
        padding-right: 1.33em !important;
        padding-bottom: 0.667em !important;
        padding-left: 1.33em !important;
        border-radius: 5em !important;
        font-size: 1em !important;
        color: var(--wp--preset--color--ci) !important;
        transition: var(--maintrans);

        &:hover{
            background: var(--wp--preset--color--ci) !important;
            color: var(--wp--preset--color--light) !important;
            cursor: pointer;
        }
}

.home .gform_wrapper.gravity-theme .gfield textarea.large{
    height: 10ch;
}

#gform_1 .gfield-choice-input,
#gform_1 .ginput_container_consent input[type="checkbox"]{
    padding: 0 !important;
    accent-color: var(--wp--preset--color--ci) !important; /* Modernes CSS: Farbe der Checkbox */

     &:focus-visible{
        outline: 1px solid var(--wp--preset--color--ci) !important;
        border:  1px solid var(--wp--preset--color--light) !important;
        accent-color: var(--wp--preset--color--ci) !important; /* Modernes CSS: Farbe der Checkbox */
    }
}

#gform_1 .gfield_radio{
    display: flex;
}


/*Ausbildungen*/

.ausbildungsdetail{

    
   section:nth-of-type(2n+5)  {
        background: color-mix(in srgb, var(--wp--preset--color--ci) 20%, transparent);
        padding: var(--mainpadding)  !important;
        padding-left: var(--mainpadding);
            padding-right: var(--mainpadding);
        }

    section{

        scroll-margin-top: 15rem;

        max-width: var(--max-width);
        margin: 0 auto var(--wp--preset--spacing--60);

       

        &:last-of-type{
            margin-bottom: 0 !important;
        }

        &.aktiv-werden{
            max-width: unset;
            margin: 0;

            padding-left: var(--mainpadding) !important;
            padding-right: var(--mainpadding) !important;

             & > *{
                max-width: var(--max-width);
                margin: 0 auto;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                gap: var(--wp--preset--spacing--60);
                align-items: center;

                figure{
                flex: 0 0 calc(40% - var(--wp--preset--spacing--60) / 2);
                border-radius: 1rem;
                background: var(--wp--preset--color--mid-light);
                aspect-ratio: 1 / 1;

                    img{
                        aspect-ratio: 1 / 1;
                        border-radius: 1rem;
                        width: 100%;
                        height: auto;
                    }
                }

                div{
                    flex: 0 0 calc(60% - var(--wp--preset--spacing--60) / 2);

                    p{
                        margin-bottom: 4rem;
                    }
                }

                .btnwrap{
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                gap: 2rem;
                max-width: 600px;

                    .btn{
                        flex: 0 0 calc(50% - 2rem / 2);
                        box-sizing: border-box;
                        text-align: center;
                    }
                }
            }
        }

        &#intro,
        &#allgemein{
            
            padding-left: var(--mainpadding);
            padding-right: var(--mainpadding);
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: var(--wp--preset--spacing--60);
            align-items: center;

            figure{
                flex: 0 0 calc(40% - var(--wp--preset--spacing--60) / 2);
                border-radius: 1rem;
                background: var(--wp--preset--color--mid-light);
                aspect-ratio: 1 / 1;

                img{
                    aspect-ratio: 1 / 1;
                    border-radius: 1rem;
                    width: 100%;
                    height: auto;
                }
            }

            div{
                flex: 0 0 calc(60% - var(--wp--preset--spacing--60) / 2);

                p{
                    margin-bottom: 3rem;
                    padding-left: 0;
                    padding-right: 0;
                }
            }

            .btnwrap{
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                gap: 2rem;
                max-width: 600px;

                .btn{
                    flex: 0 0 calc(50% - 2rem / 2);
                    box-sizing: border-box;
                    text-align: center;
                }
            }

        }

        &#allgemein{
            flex-direction: row-reverse;

            margin-top: var(--wp--preset--spacing--60);
        }

        

        &#iconbox{
            margin: 0 auto var(--wp--preset--spacing--60);
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
			justify-content: center;
            gap: 2rem;

            padding-left: var(--mainpadding);
            padding-right: var(--mainpadding);

            .card{
                flex: 0 0 calc(25% - 2rem);
                text-align: center;
                box-sizing: border-box;
                padding: 2rem;
                box-shadow: var(--wp--preset--shadow--natural);
                border-radius: 1rem;

                 svg{
                    stroke: var(--wp--preset--color--ci);

                    path{
                        fill: var(--wp--preset--color--ci);
                    }

                    circle{
                        stroke: var(--wp--preset--color--ci);
                    }
                }

                &:nth-of-type(1){

                    svg{
                    
                        path{
                            stroke: var(--wp--preset--color--ci);
                        }
                    }
                }

                &:nth-of-type(3){

                    svg{
                    
                        path{
                            stroke: var(--wp--preset--color--ci);
                            fill: var(--wp--preset--color--light);
                        }
                    }
                }

            }

			.card:not(:has(p)){
				display: none;
			}
           
        }

        &#nutzen{
            max-width: unset;
          /*  background-color: var(--wp--preset--color--accent-light);
            background-color: color-mix(in srgb, var(--wp--preset--color--ci) 10%, transparent);*/
            padding: var(--mainpadding) 0;
            margin-bottom: 0;

            h2{
                text-align: center;
            }

            
        }

        &#scrollspy{
            position: sticky;
			z-index: 10;
            margin: 0;
            top: 0;
            background-color: rgba(255, 255, 255, .8);
            max-width: unset;
            box-shadow: inset 0 -2px 0 0 var(--wp--preset--color--mid-light);

            padding-left: var(--mainpadding);
            padding-right: var(--mainpadding);

            div{
                max-width: var(--max-width);
                margin: 0 auto;
                

                a{
                    color: var(--wp--preset--color--text);
                    font-weight: 500;
                    font-size: 1.8rem;
                    padding: 2rem 0;
                    display: inline-block;
                    margin-right: 2rem;
                    border-bottom: 2px solid var(--wp--preset--color--mid-light);

                  
                    &.active{
                        color: var(--wp--preset--color--ci);
                        border-color: var(--wp--preset--color--ci);

                    }
                }
            }
        }

        &#kursinformationen{

            h2{
                text-align: center;
            }

            .accordion{
                max-width: 1000px;
                margin: 0 auto;

                details{
                    margin-top: 2rem;
                    summary{
                        box-shadow: var(--wp--preset--shadow--natural);
                        padding: 1rem 2rem;
                        border-radius: 1rem;
                        list-style: none;
                        position: relative;

                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        &::marker{
                            content: '';
                        }

                        h3{
                            font-size: 1.8rem;
                        }

                        svg {
                            transition: var(--maintrans);
                            path{
                                fill: var(--wp--preset--color--ci);
                            }
                        }
                    }

                    p{
                        padding: 0 2rem 0;
                    }

                    &[open]{
                        summary{
                            svg{
                                rotate: -180deg;
                            }
                        }
                    }
                }
            }
        }

        &#cta{
            background: var(--wp--preset--color--ci);
            color: var(--wp--preset--color--light);
            padding: var(--mainpadding);
            max-width: unset;

            text-align: center;

            h2{
                color: var(--wp--preset--color--light);
                margin-bottom: 5rem;
            }
        }


        &#startdaten{
         /*   background: var(--wp--preset--color--accent-light);
            background-color: color-mix(in srgb, var(--wp--preset--color--ci) 10%, transparent); */
            max-width: unset;
            padding: var(--mainpadding) 0;

            > div{
                max-width: var(--max-width);
                margin: 0 auto;
            }

            h2{
                text-align: center;
                margin-top: 0;
            }
            
        }

    }
	section.infoanlaesse{
      /*  background: var(--wp--preset--color--accent-light);
		background: color-mix(in srgb, var(--wp--preset--color--ci) 20%, transparent);*/
        max-width: none;
        margin-bottom: 0;
		padding: var(--mainpadding) 0;
		h2{
			max-width: var(--max-width);
			margin: 0 auto;
		}
	}
	section.infoanlaesse:not(:has(.card)){
		display:none;
	}

	#startdaten:not(:has(.item)){
		display: none;
	}
}

#startdaten:has(.gform-theme){
	& > *{
		text-align: left !important;
		padding: 0 !important;

	}
}

/*Startdaten*/

.startdatewrap{
    display: flex;
    flex-direction: row;
    gap: 1rem;

    & > * {
        flex: 1 1 200px;
    }

    &.head{
        font-size: 2rem;
        font-weight: 500;
    }

    &.item{
        margin-top: 1rem;

        position: relative;

        &::before{
            content: '';
            position: absolute;
            height: 100%;
            width: calc(100% + 2rem);
            background-color: color-mix(in srgb, var(--wp--preset--color--ci) 10%, transparent);
            border-radius: 5rem;
            z-index: -1;
            top: 0;
            left: -2rem;
            transition: var(--maintrans);
            opacity: 0;
        }

       


        div{

            display: flex;
            align-items: center;
            gap: 1rem;
            font-weight: 500;

            svg{
                path{
                    fill: var(--wp--preset--color--ci);
                }
            }

            &::before{
                content: '';
                display: none;
                position: relative;
                margin-bottom: .5rem;
                color: var(--wp--preset--color--ci);
            }
        }

        .date{
            &::before{
                content: 'Startdatum';
            }
        }

        .time{
            &::before{
                content: 'Uhrzeit';
            }
        }

        .duration{
            color: var(--wp--preset--color--mid);

            &::before{
                content: 'Dauer';
            }
        }

        .location{
            color: var(--wp--preset--color--mid);

            &::before{
                content: 'Ort';
            }
        }

        .costs{
            &::before{
                content: 'Kosten';
            }

        }

        .button{

            min-width: 290px;

            .btn{
                width: 100%;
                text-align: center;
            }
        }
    }
}

#startdaten:has([data-dauer="0"]) .duration{
	display: none !important;
}

@media screen and (max-width: 990px){
    .startdatewrap{
        display: flex;
        flex-direction: column;
        gap: 1rem;

        &.head{
            display: none;
        }

        &.item{
            margin-top: 1rem;

            padding-bottom: 1rem;


            div{
               display: block;
               flex: none;
               align-items: flex-start;
               text-align: center;
               margin-bottom: 2rem;

                &::before{
                    display: block;
                    color: var(--wp--preset--color--text);
                    
                    font-size: 1.8rem;
                }
            }

           & .button {
                .btn {
                    display: block;
                }
            }

        }
    }
    
}


/*Seminare*/


.seminardetail{
    section{

        scroll-margin-top: 5rem;

        max-width: var(--max-width);
        margin: 0 auto var(--wp--preset--spacing--60);

        &:first-of-type{
            margin-top: var(--wp--preset--spacing--60) !important;
        }

        &:last-of-type{
            margin-bottom: 0 !important;
        }

        &#allgemein{
            
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: var(--wp--preset--spacing--60);
            align-items: center;

            figure{
                flex: 0 0 calc(40% - var(--wp--preset--spacing--60) / 2);
                border-radius: 1rem;
                background: var(--wp--preset--color--mid-light);
                aspect-ratio: 1 / 1;

                img{
                    aspect-ratio: 1 / 1;
                    border-radius: 1rem;
                    width: 100%;
                    height: auto;
                }
            }

            div{
                flex: 0 0 calc(60% - var(--wp--preset--spacing--60) / 2);

                p{
                    margin-bottom: 4rem;
                }
            }

            .btnwrap{
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                gap: 2rem;
                max-width: 500px;

                .btn{
                    flex: 0 0 calc(50% - 2rem / 2);
                    box-sizing: border-box;
                    text-align: center;
                }
            }

        }

        &#intro{
            flex-direction: row-reverse;
            padding: 0 var(--mainpadding);

            p{
                padding-left: 0;
                padding-right: 0;
            }
        }

        &#kursinformationen{

            h2{
                text-align: center;
            }

            .accordion{
                max-width: 1000px;
                margin: 0 auto;

                details{
                    margin-top: 2rem;
                    summary{
                        box-shadow: var(--wp--preset--shadow--natural);
                        padding: 1rem 2rem;
                        border-radius: 1rem;
                        list-style: none;
                        position: relative;

                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        &::marker{
                            content: '';
                        }

                        h3{
                            font-size: 1.8rem;
                        }

                        svg {
                            transition: var(--maintrans);
                            path{
                                fill: var(--wp--preset--color--ci);
                            }
                        }
                    }

                    p{
                        padding: 0 2rem 2rem;
                    }

                    &[open]{
                        summary{
                            svg{
                                rotate: -180deg;
                            }
                        }
                    }
                }
            }
        }

    

        &#cta{
            background: var(--wp--preset--color--ci);
            color: var(--wp--preset--color--light);
            padding: var(--mainpadding);
            max-width: unset;
            text-align: center;

            h2{
                color: var(--wp--preset--color--light);
                margin-bottom: 5rem;
            }
        }

        &#startdaten{
            background: var(--wp--preset--color--accent-light);
            background-color: color-mix(in srgb, var(--wp--preset--color--ci) 10%, transparent);
            max-width: unset;
            padding: var(--mainpadding) 0;

            > div{
                max-width: var(--max-width);
                margin: 0 auto;
            }


            h2{
                text-align: center;
                margin-top: 0;
            }


            
        }

        &#dozenten{
            background: var(--wp--preset--color--accent-light);
            background: color-mix(in srgb, var(--wp--preset--color--ci) 10%, transparent);
            padding: var(--mainpadding) 0;
        }

    }
}

#dozenten{
             max-width: unset;
             margin-bottom: 0;
             padding: 0 0 var(--mainpadding) 0;
             text-align: center;

             padding-top: 2em !important;
             padding-bottom: 4em !important;

             h3{
                font-size: 2.5rem;
                margin-bottom: .5em;
                margin-top: 0;
             }


           .singledozent{
                max-width: calc(var(--max-width) / 1.25);
                margin: 0 auto;
                background: var(--wp--preset--color--light);
                box-shadow: var(--wp--preset--shadow--natural);
                padding: var(--mainpadding);
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                gap: var(--wp--preset--spacing--60);
                align-items: center;
                box-sizing: border-box;
                border-radius: 1rem;


                & > div{
                    flex: 0 0 calc(50% - var(--wp--preset--spacing--60) / 2);
                    text-align: left;
                }

                

                
            }

            figure {
                    flex: 0 0 calc(50% - var(--wp--preset--spacing--60) / 2);
                    border-radius: 1rem;
                    aspect-ratio: 1 / 1;
                    margin-bottom: 0;

                    img{
                        width: 100%;
                        height: auto;
                        aspect-ratio: 1 / 1;
                        max-width: unset;
                        object-fit: cover;
                        border-radius: 1rem;
                    }
                }


			& > div + div{
				margin-top: var(--wp--preset--spacing--40);
			}
        }

/*Footer*/

.trustlogos{

    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 4rem var(--mainpadding);
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    
    figure{
        filter: grayscale(1);
        transition: var(--maintrans);
        img{
            aspect-ratio: 4 / 3;
            height: 100px;
            width: auto;
            object-fit: contain;
            object-position: center center;
        }

        &:hover{
            filter: grayscale(0);
        }
    }
}

footer{
    background: var(--wp--preset--color--accent-light);
    background-color: color-mix(in srgb, var(--wp--preset--color--ci) 10%, transparent);
    padding: var(--mainpadding);
    box-sizing: border-box;

    & > div{
        max-width: var(--max-width);
        margin: 0 auto;

        .widget{
            .wp-block-columns{
                margin-top: 0;
                margin-bottom: 0;
            }
        }

        .menu-schnellnavigation-container{
            ul{
                list-style: none;
                margin: 0;
                padding: 0;
                display: flex;
                flex-wrap: wrap;
                gap: 0;
                flex-direction: row;

                li{
                    flex: 0 0 50%;

                    a{
                        color: var(--wp--preset--color--text);
                        padding: 0 0 1em 0;
                        display: block;
                        &:hover{
                            color: var(--wp--preset--color--ci);
                        }
                    }

                    &.current-menu-item{
                        font-weight: 500;
                    }
                }
            }
        }

        #block-9{
            font-size: 1.25rem;
            font-weight: 500;

            .wp-block-columns{
                justify-content: space-between;
                flex-wrap: wrap !important;
            }
    
            .wp-block-column{
                flex-grow: unset;
                flex-basis: unset;
            }

            ul{
                list-style: none;
                margin: 0;
                padding: 0;
                display: flex;
                gap: .5em;
                flex-direction: row;

                a{
                    color: var(--wp--preset--color--text);
                    &:hover{
                        color: var(--wp--preset--color--ci);
                    }
                }
            }
        }
    }
}



.d-none{
    display: none !important;
}

dialog#popover{
	background: var(--wp--preset--color--accent-light);
    background-color: color-mix(in srgb, var(--wp--preset--color--ci) 90%, transparent);
	
	position: fixed;
	flex-direction: column;
	justify-content: center;
	inset: 0;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	width: 100svw;
	width: 100dvw;
	height: 100svh;
	height: 100dvh;
	max-width: 100vw;
	max-height: 100vh;
	border:none;
	padding: var(--mainpadding);
	margin: 0;
    box-sizing: border-box;

	div{
		max-width: 1320px;
		margin: 0 auto;
		background: #fff;
		flex: 0;
		width: 100%;
		min-height: 0;
		position: relative;
		overflow: hidden;
        border-radius: 1rem;

		button{
			position: absolute;
			top: 0;
			right: 0;
			background: none;
			border: none;
			font-size: 2em;
			color: #000;
			background: #fff;
			height: 40px;
			width: 40px;
			display: flex;
			justify-content: center;
			align-items: center;
			outline: none;

		}
		iframe{
			width: 100%;
			height: 100%;
			border: none;
		}
		svg{
			position: absolute;
			width: 100px;
			height: 100px;
			left: calc(50% - 50px);
			top: calc(50% - 50px);
		}
	}
}
dialog#popover[open] {
	display: flex;
	animation: showDialog 0.5s ease forwards;
	
	div{
		animation: showDialogContent 0.75s ease forwards;
	}
}
dialog#popover[closing] {
	animation: hideDialog 0.5s ease forwards;
	div{
		animation: hideDialogContent 0.25s ease forwards;
	}
}
dialog#popover::backdrop{
	display:none;
}

.dialogoopen{
    overflow: hidden;
}

@keyframes showDialog {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes showDialogContent {
	0% {
		flex: 0;
	}
	100% {
		flex: 1;
	}
}
@keyframes hideDialog {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes hideDialogContent {
	0% {
		flex: 1;
	}
	100% {
		flex: 0;
	}
}


/* RJ: GWS Slider  */

.gws-slider{
	display: flex;
	flex-direction: row;
	overflow-x: auto;
	overflow-y: hidden;
	gap: 2rem;
	padding: 2rem calc((100vw - var(--max-width)) / 2);

	scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gws-slider::-webkit-scrollbar { 
    width: 0;
    height: 0;
}

.gws-slider.no-scroll{
	overflow-x: hidden;
	overflow-y: hidden;
}


.gws-slide{
	flex: 0 0 max(28vw, 400px);
	max-width: max(28vw, 400px);
	box-sizing: border-box;
	
	border-radius:1rem;
	padding-top:3rem;
	padding-right:3rem;
	padding-bottom:3rem;
	padding-left:3rem;
	box-shadow:var(--wp--preset--shadow--natural);
	scroll-snap-align: center;
	background: var(--wp--preset--color--light);
	scroll-behavior: smooth;;
}

.gws-slider.big img{
	margin: auto;
	display: block;
}
.gws-slider.big .gws-slide{
	text-align: center;
}

.gws-slider.no-scroll:not(.infinite)+.gws-pager{
	display: none;
}

.gws-pager{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: 0 auto 2rem;
	max-width: var(--max-width);
}
.gws-pager span{
	display: flex;
	width: 133px;
	padding: 20px 60px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 40px;
	border: 2px solid #212121;
	background: #FFF;
	cursor: pointer;
}

.gws-slider.infoanlaesse .gws-slide{
	display:flex;
	flex-direction: column;
	align-items: flex-start;
	background: transparent no-repeat center center;
	background-size: cover;
	color: #fff;
	font-size: 20px;
	position: relative;

	&:before{
		content: "";
		background: rgb(0 0 0 / 0.5);
		position: absolute;
		inset: 0;
		display: block;
		z-index: 0;
		transition: background 0.3s ease;
	}
	&:hover:before{
		background: rgb(0 0 0 / 0.45);
	}
	*{
		position: relative;
	}

	strong{
		font-size: 26px;
	}
	.button{
		margin-top: 100px;

		display: inline-flex;
		padding: 20px 30px;
		justify-content: center;
		align-items: center;
		gap: 10px;
		border-radius: 40px;
		border: 2px solid #FFF;

	}
}

/* END RJ: GWS Slider  */



.frontbanner{
	--ci: var(--c-main);
	--light: var(--c-dark);
	--dark: var(--c-dark);

	/* margin-top: 100px; */

	padding: 1rem;
	background: var(--ci);
	color: var(--light);
	text-align: center;
}

.frontbanner *{
	color: var(--light);
}

.frontbanner p{
    margin-top: 0;
}

.frontbanner :last-child{
	margin-bottom: 0;
}

.frontbanner a{
	text-decoration: underline;
	color: var(--light) !important;
}

.frontbanner .text-align-right{
	text-align: right;
}

.frontbanner .btn{
	background: var(--dark);
	border-radius: 100px;
  padding: .5em 1em;
	text-align: center;
	font-size: .8em;
	border: 1px solid var(--dark);
	font-weight: 500;
	color: var(--light);
	transition: all .3s ease-in-out;
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, .1);
}

.frontbanner .btn:hover{
	background: var(--light);
	color: var(--dark);
}

@media screen and (max-width: 768px){
	.frontbanner .text-align-right{
		text-align: center;
		margin-top: 2em;
	}
	
	.frontbanner p{
		text-align: center;
	}

}

.fixbtn{
    position: fixed;
    right: -4rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0;
    font-size: 1.8rem;
}

.scrolled{
    .fixbtn{
        right: 1rem;
        opacity: 1;
    }
}

@media screen and (max-width: 768px){
    .fixbtn{
        bottom: var(--bannerheight);
        top: auto;
    }

}

.stoerer{
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: var(--wp--preset--color--ci);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30ch;
    height: 30ch;
    padding: 3ch;
    text-align: center;
    transform: rotate(10deg);

    position: absolute;
    z-index: 10;
    top: 180px;
    left: calc(50vw + 400px);
}

@media screen and (max-width: 1400px){
	.stoerer{
    	left: unset;
		right: 10px;
		top: max(100px,12vw);
	}
}

.stoerer *{
	color:inherit;
	margin:0;
	padding: 0;
}

.stoerer h3{
	font-size: 1.5em;
	font-weight: 500;
}

/*Filter Seminare*/

.filter{
    display: flex;
    gap: 2rem;
    width: 100%;
    align-items: center;

    select{
        border-radius: 9px;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
        border: 0;
        background-color: var(--wp--preset--color--light);
        background-image: url("data:image/svg+xml,%3Csvg width='18' height='12' viewBox='0 0 18 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.70236 11.6742L17.7124 2.58443C17.8979 2.37419 18 2.09355 18 1.7943C18 1.49506 17.8979 1.21441 17.7124 1.00418L17.1227 0.334782C16.7384 -0.1008 16.1138 -0.1008 15.7301 0.334782L9.00373 7.96767L2.26988 0.326313C2.08447 0.116078 1.8373 0 1.57374 0C1.30989 0 1.06272 0.116078 0.877163 0.326313L0.287558 0.99571C0.102144 1.20611 0 1.48659 0 1.78584C0 2.08508 0.102144 2.36572 0.287558 2.57596L8.30496 11.6742C8.49096 11.8849 8.73929 12.0007 9.00329 12C9.26831 12.0007 9.51651 11.8849 9.70236 11.6742Z' fill='%23000'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: 10px; /* oder 'cover', je nach Bedarf */
        background-position: calc(100% - 15px) center;
        padding:10px 30px 10px 13px;
        font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.469), 20px);
        min-width: 215px;
        appearance: none;

        &:focus{
            outline: 2px solid var(--wp--preset--color--accent);
        }

		&:not(:has(:nth-child(2))){
			display:none;
		}
    }
}




/*
///////////////////
///////////////////
///////////////////
Responsive
///////////////////
///////////////////
///////////////////
*/



@media screen and (max-width: 990px){

    /*Header*/

    header{
        min-height: 357px;
        margin-top: 0!important;
        aspect-ratio: unset;

        & figure {
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                min-height: 357px;
            }
        }

        .overlay {
            background: rgba(0, 0, 0, 0.44);
        }
    }

    /*counter*/

    .counter {
        padding: 0 var(--mainpadding);
        .counter-wrapper {
            flex-direction: column;
            & .counter-item {
                padding: 2rem;
                &:nth-of-type(2) {
                    border-top: 1px solid var(--wp--preset--color--accent);
                    border-bottom: 1px solid var(--wp--preset--color--accent);
                    border-left: 0px;
                    border-right: 0px;
                }
            }
        }
    }

    /*Seminare*/

    .seminardetail {
        & section {
            &#intro {
                flex-direction: row-reverse;
                padding: 0 var(--mainpadding);

                p{
                    padding-left: 0;
                    padding-right: 0;
                }
            }

            &#startdaten {
                padding: var(--mainpadding);
            }

            &#kursinformationen {
                padding: var(--mainpadding);
            }

            &#dozenten {
                padding: var(--mainpadding) ;
            }
        }
    }

    /*Dozenten*/

    #dozenten {
        & > .singledozent {
            flex-direction: column;
            gap: 2rem;
            align-items: center;
            box-sizing: border-box;
            border-radius: 1rem;

            figure {
                flex: 0 0 100%;
                width: 100%;
            }

            .dozentinfo{
                p{
                    padding-left: 0;
                    padding-right: 0;
                }
            }
        }
    }

    /*Ausbildungen*/

    


    .ausbildungsdetail {
            & section {
                padding-left: var(--mainpadding);
                padding-right: var(--mainpadding);

                .btn{
                    display: block;
                    text-align: center;
                }

                p {
                    padding-left: 0!important;
                    padding-right: 0!important;
                }

                &#intro, &#allgemein {
                    flex-direction: column;
                    gap: 2rem;

                    .btnwrap {
                        flex-direction: column;
                        gap: 1rem;
                        max-width: 100%;
                    }
                }

                 &#iconbox {
                        margin: 0 auto var(--wp--preset--spacing--60);
                        flex-direction: column;
                        gap: 0.5rem;
                 }

                 &.aktiv-werden {
                    
                    & > * {
                        flex-direction: column;
                        gap: 2rem;
                        align-items: center;

                            div {
                                flex: 0 0 100%;
                            }

                        .btnwrap {
                            flex-direction: column;
                            gap: 1rem;
                            max-width: 100%;
                        }
                    }
                }

                &#scrollspy{
                    position: relative;
                    top: auto !important;

                    & div {
                        a{
                            margin: 0;
                            font-size: 1em;
                            text-align: center;
                            padding: 1rem 0;
                            display: block;
                        }
                    }
                                    
                }

                
            }

        section:nth-of-type(2n+5) {
            padding: var(--mainpadding)!important;
        }
    }

    /*Cardwrap*/

    .cardwrap {
        &.detailslider {
            padding: var(--mainpadding);

            .card {
                flex: 0 0 100%;
            }
        }

        &.ausbildungenslider {
            .card {
                flex: 0 0 100%;
            }
        }
    }

    .slidecontrols{
        padding-left: var(--mainpadding);
        padding-right: var(--mainpadding);
    }

    /*filter*/
    .filter{
        flex-wrap: wrap;

        select{
            width: 100%;
        }
    }

    /*infobubble*/

    .infobubble {
        font-size: 1rem;
    }
    

    /*Footer*/

    footer{
        .wp-block-columns{
            display: block;

            .wp-block-column{
                margin-bottom: 3rem;
            }
        }

        & > div {
            margin-bottom: 3rem;

            & .menu-schnellnavigation-container {
                ul {
                    list-style: none;
                    margin: 0;
                    padding: 0;
                    display: block;
                    flex-wrap: wrap;
                    gap: 0;
                    flex-direction: row;

                    li{
                        a{

                        }
                    }
                }
            }
        }
    }

    /*Elemente*/

    .contactbox{
        width: calc(100% - (2 * var(--mainpadding)));

        padding: 0 !important;
        box-sizing: border-box;
        flex-direction: column-reverse;

        .wp-block-column{
            margin: 0;
            padding: 0 !important;

            img{
                border-top-left-radius: 1rem !important;
                border-top-right-radius: 1rem !important;
            }

            .gform_wrapper{
                padding: 0 var(--mainpadding) var(--mainpadding);
                margin-top: 0;
            }

            h2{
                padding: var(--mainpadding);
            }
        }
    }
    
}

@media screen and (max-width: 990px) {

    .singleblog{
        .cardwrap {
            &.detailslider {
                padding: var(--mainpadding) 0 0;
            }
        }

        .slidecontrols {
            padding-left: 0;
            padding-right: 0;
        }
    }
    
}

.frontsem{
	color: var(--wp--preset--color--text);
	background: #fff;
	.price{
		font-family: Roboto;
		font-size: 1.5em;
		font-style: normal;
		font-weight: 500;
	}
	.price small{
		font-size: .6em;
	}
	hr{
		margin: 1em 0 !important;
	}
	h3,.h3{
		font-size: 1.75em !important;
		line-height: 1.4;
		margin: 0 0 .5em !important;
	}
}

.semausb{
	display: flex;
	flex-direction: column;
	gap: 1lh;
	justify-content: space-between;
}


.news{
	padding: 0;
	margin: 0;

	
	.card{
		flex: 0 0 calc(33.5% - 2.25rem);
		padding: 0 !important;
		box-shadow: none !important;
		border-radius: 0% !important;
		img{
			width: 100%;
			height: auto;
			border-radius: 1rem;
			aspect-ratio: 16 / 9;
			object-fit: cover;
			margin-bottom: 1em !important;
		}
		span{
			display: block;
			color: var(--wp--preset--color--mid);
		}
		h3, .h3{
			font-size: 2.2rem !important;
			font-weight: normal !important;
			margin: .25em 0 0 0 !important;
		}
	}
}
.singleblog{
    .wp-block-columns:first-of-type{
        margin-top: 5rem !important;
    }
}