/*
        Theme Name: Optik Wagner
        Description: Theme for Optik Wagner
        Author: SAY Media Consulting
        Author URI: https://www.say-consulting.de
        Template: twentytwentyfive
        Version: 1.0
        Tags:
*/

*, html{
    scroll-behavior: smooth !important;
}
body{
    background: radial-gradient(closest-corner, #d0ecff, #fff5f0);
}
:where(.wp-site-blocks) > * {
    margin-block-start: 0 !important;
}
.text-start-large{
    font-size: var(--wp--preset--font-size--large);
    font-family: "Libre Baskerville, serif";
}
h3{
    hyphens: auto;
}
.outline-offset{
    outline: 2px solid var(--wp--preset--color--custom-color-1);
    outline-offset: -20px;
}
.no-cookie-logo{
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    margin-left: 1em !important;
    margin-bottom: 2em !important;
}
.wp-block-group-is-layout-grid .wp-block-image img{
    height: 100%;
    object-fit: cover;
    display: block;
}

/*------------------------------------------------------------------------------Startseite*/
.aktionen-sektion .wp-block-columns{
    overflow: hidden;
}
.aktionen-sektion .wp-block-columns img{
    object-fit: cover;
    width: -webkit-fill-available;
}
.aktionen-sektion .wp-block-columns figure,
.aktionen-sektion .wp-block-columns img{
    height: 100%;
}
.start-top-cover{
    position: relative;
}
.start-top-cover .wp-block-columns img{
    position: absolute;
    bottom: 0;
    left: 0;
}
/*------------------------------------------------------------------------------Ende Startseite*/

/*------------------------------------------------------------------------------Hintergrund Sehtest Kreise*/
.augentest_kreise_hintergrund{
    z-index: -1;
    height: 100vh;
    width: 100vw;
    position: fixed;
}
.kreis-blau {
    --scale-start: 1.2;
    --scale-end: 1.5;
    --x: -30%;
    --y: 25%;
    --r-start: -17deg;
    --r-end: 5deg;
    --t: 12s;
    --d: 1s;
}
.kreis-gelb {
    --scale-start: .7;
    --scale-end: 1;
    --x: 15%;
    --y: -50%;
    --r-start: 25deg;
    --r-end: 20deg;
    --t: 6s;
    --d: 3s;
}
.kreis-lila {
    --scale-start: 1.1;
    --scale-end: .8;
    --x: -30%;
    --y: -80%;
    --r-start: 140deg;
    --r-end: 145deg;
    --t: 8s;
    --d: 1.5s;
}
.kreis-gruen {
    --scale-start: 2.3;
    --scale-end: 2;
    --x: -10%;
    --y: 90%;
    --r-start: 17deg;
    --r-end: 13deg;
    --t: 10s;
    --d: 2s;
}
.augentest_kreise_hintergrund svg{
    transform: translate(var(--x), var(--y)) rotate(var(--r-start)) scale(var(--scale-start));
    animation: idle_pulse var(--t) infinite alternate ease-in-out;
    animation-delay: var(--d);
    filter: opacity(0.1);
}
@keyframes idle_pulse{
    from {
        transform: translate(var(--x), var(--y)) rotate(var(--r-start)) scale(var(--scale-start));
    }
    to {
        transform: translate(var(--x), var(--y)) rotate(var(--r-end)) scale(var(--scale-end));
    }
}
/*------------------------------------------------------------------------------Ende Hintergrund Sehtest Kreise*/

/*------------------------------------------------------------------------------Rotierendes Siegel*/
/*.rotierendes_siegel{
    position: relative;
    margin: 0 !important;
}
.rotierendes_siegel::after{
    content: '↘';
    color: #fff;
    font-size: 40px;
    position: absolute;
    height: fit-content;
    width: fit-content;
    top: 30%;
        animation: idle_rotation 5s infinite linear;
    animation-direction: reverse;
}
.rotierendes_siegel svg{
        animation: idle_rotation 10s infinite linear;
    background-color: var(--wp--preset--color--custom-color-1);
    border-radius: 100%;
    display: block;
    margin: 0 !important;
}
.rotierendes_siegel svg path{
    transform-origin: center;
        scale: .8;
    fill: none;
}
.rotierendes_siegel svg text{
    font-family: 'Libre Franklin Thin';
    font-size: 10px;
    word-spacing: 13px;
    fill: #fff;
}*/
@keyframes idle_rotation{
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/*------------------------------------------------------------------------------Ende Rotierendes Siegel*/

/*------------------------------------------------------------------------------Anfuerungszeichen Zitat Deko*/
.wp-block-quote{
    position: relative;
}
.wp-block-quote::before{
    top: -60px;
}
.wp-block-quote::after{
    bottom: -60px;
    transform: rotate(180deg);
}
.wp-block-quote::before,
.wp-block-quote::after{
    content: '“';
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--wp--preset--color--custom-color-1);
    color: var(--wp--preset--color--custom-color-4);
    width: 60px;
    height: 60px;
    border-radius: 60px;
    line-height: 80px;
    font-family: "Libre Baskerville, serif";
    font-size: 4rem;
}
/*------------------------------------------------------------------------------Ende Anfuerungszeichen Zitat Deko*/

/*------------------------------------------------------------------------------Kontakt Sektion*/
.kontakt-sektion .wp-block-cover img{
    place-self: center;
    filter: opacity(.7);
}
/*-------------------------------------------------------------Kontaktformular*/
form input:not([type='checkbox']):hover,
form textarea:hover{
    scale: 1.05;
}
form input:not([type='checkbox']),
form textarea{
    padding: 1.5em;
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: none;
    box-shadow: 1px 1px 3px #ccc;
    transition: .05s ease all;
}
form input::placeholder,
form textarea::placeholder{
    font-family: var(--wp--preset--font-family--libre-franklin-thin);
    font-size: 1.2em;
}
textarea{
    resize: vertical;
}
.wpcf7-spinner{
    display: none !important;
}
form .flex{
    display: flex;
    flex-direction: column;
    gap: .7em;
}
.datenschutz,
form .wpcf7-not-valid-tip{
    font-size: var(--wp--preset--font-size--small);
    margin-top: .5em;
}
form .wpcf7-list-item{
    text-align: justify;
    margin: 0;
}
.datenschutz p{
    margin: 0;
}
form input[type='submit']{
    background-color: var(--wp--preset--color--custom-color-1);
    color: #fff;
    cursor: pointer;
    font-size: 1.2em;
    padding: .7em;
    font-weight: 600;
}
form input[disabled]{
    opacity: .5;
    cursor: not-allowed;
}
ul:not(.wp-block-navigation, .wp-block-navigation-submenu, .slick-dots, .wp-block-social-links, .wp-block-latest-posts, .wp-block-post-template) li{
    position: relative;
    list-style-type: none;
}
ul:not(.wp-block-navigation, .wp-block-navigation-submenu, .slick-dots, .wp-block-social-links, .wp-block-latest-posts, .wp-block-post-template){
    padding-left: 35px;
}
ul:not(.wp-block-navigation, .wp-block-navigation-submenu, .slick-dots, .wp-block-social-links, .wp-block-latest-posts, .wp-block-post-template) li::before{
    content: "";
    position: absolute;
    left: -25px;
    top: 0;
    background: url("../../../wp-content/uploads/2025/05/kreis_gruen.svg");
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 10px;
    padding: 1px;
    color: #fff;
    width: 12px;
    aspect-ratio: 1 / 1;
    margin-top: 8px;
    filter: brightness(0);
}
.grp_acc_q{
    position:relative;
    pointer: cursor;
}
.grp_acc:hover{
    transform: scale(1.02);
}
.grp_acc_q:after{
    position: absolute;
    right: 0;
    content: "+";
    font-size: 20px;
    font-weight: 600;
}
.grp_acc_a{
    display: none;
}
/*---------------------------------------------------------------Kontakt Icons*/
.contact-icons > div{
    /*    width: 25%;*/
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .1s ease all;
}
.contact-icons > div:hover{
    scale: 1.05;
}
@keyframes idle_move{
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/*------------------------------------------------------------------------------Ende Kontakt Sektion*/

@media(max-width: 699px){
    body .is-layout-grid{
        display: flex !important;
        flex-direction: column !important;
    }
    .start-top-cover .wp-block-columns img{
        width: 250px !important;
    }
}
@media(max-width: 899px){
    header .wp-block-navigation__submenu-container, header .wp-block-navigation__responsive-container:not(.is-menu-open){
        display: none !important;
    }
    header .wp-block-navigation__container{
        font-size: var(--wp--preset--font-size--x-large)!important;
        gap: 1em !important;
    }
    header  .wp-block-navigation__responsive-container-open{
        display: flex !important;
    }
    .mobile-border-bottom{
        border-right: none;
        border-bottom: solid 1px var(--wp--preset--color--custom-color-6);
        padding-bottom: 1.5em;
    }
    footer .wp-block-column p,
    footer .wp-block-column h2{
        text-align: center;
    }
    footer .wp-block-column nav{
        align-content: center;
    }
    footer .wp-block-column ul{
        align-items: center;
        justify-content: center;
    }
    .start-boxen-sektion .wp-block-column .img-grp-small{
        margin-bottom: 6em;
    }
    .start-boxen-sektion .wp-block-column .img-grp-small img{
        max-width: 180px;
    }
    .start-boxen-sektion .wp-block-column .img-grp-large .wp-block-columns{
        flex-direction: column-reverse;
        gap: .5em;
    }
    .start-boxen-sektion .wp-block-column .img-grp-large .wp-block-column:first-child{
        padding-top: 0 !important;
    }
    .start-boxen-sektion .wp-block-column .img-grp-large figure{
        max-width: 180px;
        width: 50%;
    }
    .start-boxen-sektion .wp-block-column .img-grp-large img{
        float: right;
    }
    .aktionen-sektion .wp-block-columns img{
        max-height: 180px;
    }
}
@media(min-width: 900px){
    .nav_is-sticky{
        position: sticky;
        top: 150px;
    }
}
@media(min-width:699) and (max-width: 1199px){
}
@media(max-width: 1199px){
    .mobile-col-reverse{
        flex-direction: column-reverse;
    }
    .start-top-cover .wp-block-columns img{
        width: 35%;
    }
    .no-cookie-logo{
        max-width: 80px;
    }
}
@media(min-width: 1200px){
    .overlap-left{
        transform: translate(-70px);
    }
    .overlap-right{
        transform: translate(70px);
    }
    .mobile-only{
        display: none;
    }
    .start-top-cover .wp-block-columns img{
        width: 27%;
    }
    .no-cookie-logo{
        max-width: 110px;
    }
}