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

*{
    transition: ease all .3s;
    scroll-behavior: smooth;
}
:focus{
    outline: 0;
}
/*------------------------------------------------------------------------------Custom Burger*/
.wp-block-navigation__responsive-container-open svg {
    display: none !important;
}

.wp-block-navigation__responsive-container-open{
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 50px;
    height: 30px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
}

.wp-block-navigation__responsive-container-open::before,
.wp-block-navigation__responsive-container-open::after {
    content: "";
    display: block;
    height: 7px;
    background-color: #fff;
}

.wp-block-navigation__responsive-container-open::before {
    width: 100%;
}

.wp-block-navigation__responsive-container-open::after {
    width: 100%;
}

.wp-block-navigation__responsive-container-open {
    background: linear-gradient(#fff, #fff) no-repeat center right / 70% 7px !important;
}

.custom-anchor-nav{
    z-index: 1 !important;
}
.category-filter-nav{
    width: 70%;
    justify-self: center;
}
.filter-kategorien .category-filter-nav,
.custom-anchor-nav > div{
    letter-spacing: 0px;
    gap: 15px;
    font-weight: 400;
}

header{
    pointer-events: none;
}
header img,
header nav{
    pointer-events: auto;
}

header nav img{
    width: 180px !important;
}
header nav a:hover{
    text-decoration: none !important;
    color: var(--wp--preset--color--accent-2) !important;
}

.wp-block-navigation__responsive-container-close svg {
    display: none !important;
}


.wp-block-navigation__responsive-container-close {
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wp-block-navigation__responsive-container-close::before,
.wp-block-navigation__responsive-container-close::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 50px !important;
    height: 10px !important;
    background-color: var(--wp--preset--color--accent-1) !important;
}

.wp-block-navigation__responsive-container-close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}
.wp-block-navigation__responsive-container-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}
/*------------------------------------------------------------------------------Custom Burger Ende*/

.wp-block-social-links{
    font-size: var(--wp--preset--font-size--xx-large) !important;
}
header{
    height: 100px;
    margin-top: -100px !important;
}
header .header-logo a{
    line-height: 1;
}
body{
    counter-reset: img-counter;
}
.wp-block-image.img-has-number{
    position: relative;
    counter-increment: img-counter;
}
.wp-block-image.img-has-number::after{
    content: counter(img-counter);
    position: absolute;
    bottom: .5rem;
    right: 1.5rem;
    color: var(--wp--preset--color--accent-2);
    font-size: 100px;
    line-height: 1;
    font-weight: 800;
}
.wp-block-group.is-style-camera-corner{
    position: relative;
    box-sizing: border-box;
    justify-self: center;
}
.wp-block-group.is-style-camera-corner:has(img){
    width: 100%;
}
.wp-block-group.is-style-camera-corner::before,
.wp-block-group.is-style-camera-corner::after{
    position: absolute;
    content: '';
    width: 55px;
    height: 55px;
    border: 12px solid var(--wp--preset--color--accent-2);
    pointer-events: none;
}
.wp-block-group.is-style-camera-corner::before{
    top: -50px;
    left: -50px;
    border-right: none;
    border-bottom: none;
}
.wp-block-group.is-style-camera-corner::after{
    bottom: -50px;
    right: -50px;
    border-left: none;
    border-top: none;
}
.wp-block-group.is-style-camera-corner:has(img)::before{
    top: -25px;
    left: -25px;
}
.wp-block-group.is-style-camera-corner:has(img)::after{
    bottom: -25px;
    right: -25px;
}

.custom-list{
    gap: 1em;
    display: flex;
    flex-direction: column;
    list-style-type: none;
}
.custom-list li a{
    position: relative;
    display: block;
    width: 100%;
}
.custom-list li a::after{
    content: '+';
    color: red;
    aspect-ratio: 1;
    width: 30px;
    text-align: center;
    place-content: center;
    position: absolute;
    top: 0;
    border-radius: 100px;
    outline: 2px solid red;
    outline-offset: 5px;
    cursor: pointer;
}
.custom-list-left li a::after{
    left: -60px;
}
.custom-list-right li a::after{
    right: -60px;
}
.wp-block-button:hover,
.wp-block-button:hover a{
    background-color: var(--wp--preset--color--accent-2) !important;
    scale: 1.02;
}
.start-raster .wp-block-cover h3,
.start-raster .wp-block-cover p{
    cursor: pointer;
}
.start-raster .wp-block-cover:not(:last-child):hover h3,
.start-raster .wp-block-cover:not(:last-child):hover p{
    color: #fff !important;
    background-color: var(--wp--preset--color--accent-2) !important;
}

.start-raster .cover-grp p{
    width: max-content;
}
.start-raster .cover-grp h3{
    width: fit-content;
}
.start-raster .cover-grp p,
.start-raster .cover-grp h3{
    margin-left: 0 !important;
}
footer .wp-block-group.is-style-camera-corner{
    justify-self: right;
    width: auto !important;
}
.footer-contact-stack p{
    white-space: nowrap;
}
footer .wp-block-button img{
    width: 35px;
    padding-left: 1rem;
}
/*------------------------------------------------------------------------------Start Cover*/
.headline{
    position: relative;
    display: inline-block;
    min-height: 8rem;
    width: 100%;
}
.headline span{
    width: 100%;
    text-align: center;
}
.headline span.headline-1,
.headline span.headline-2,
.headline span.headline-3,
.headline span.headline-4{
    position: absolute;
    left: 0;
    top: 0;
    /*white-space: nowrap;*/
    opacity: 0;
    animation: cycleHeadline 20s infinite;
}
.headline span.headline-1{
    animation-delay: 0s;
}
.headline span.headline-2{
    animation-delay: -15s;
}
.headline span.headline-3{
    animation-delay: -10s;
}
.headline span.headline-4{
    animation-delay: -5s;
}
@keyframes cycleHeadline{
    0%, 15% {
        opacity: 1;
        display: block;
    }
    17.5%, 97.5% {
        opacity: 0;
        display: none;
    }
    100% {
        opacity: 1;
        display: block;
    }
}
/*------------------------------------------------------------------------------Start Cover Ende*/

/*------------------------------------------------------------------------------Kontakt*/
.contact-grp,
.contact-fields,
.contact-fields .input-block p,
.contact-fields span{
    display: flex;
}
.contact-grp input,
.contact-grp textarea{
    font-family: var(--wp--preset--font-family--outfit-thin);
    font-size: var(--wp--preset--font-size--small) !important;
}
.contact-grp textarea{
    height: 32px;
}
.contact-grp,
.contact-fields{
    flex-direction: column;
}
.input-block p{
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}
.input-block p label{
    flex-basis: 50%;
}
.contact-grp label{
    font-size: var(--wp--preset--font-size--medium) !important;
}
.contact-grp small{
    font-size: var(--wp--preset--font-size--small) !important;
}
.contact-fields p{
    margin: .5rem;
}
.contact-fields .captcha{
    color: var(--wp--preset--color--accent-1);
}
.contact-fields .captcha input{
    font-size: var(--wp--preset--font-size--small) !important;
}
.contact-fields span,
.contact-fields span input,
.contact-fields span textarea{
    width: 100%;
    background-color: var(--wp--preset--color--accent-3);
}
.contact-fields input[type="submit"]{
    width: auto;
    background-color: var(--wp--preset--color--accent-2);
    color: #fff;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.6rem 1.2rem 0.6rem 1.2rem;
}
.contact-fields p:has(input[type="submit"]){
    text-align: center;
}
.contact-fields input,
.contact-fields textarea{
    border: none;
    padding-left: .7rem;
    padding-right: .7rem;
    padding-top: .7rem;
    padding-bottom: .7rem;
}
.contact-fields .captcha{
    width: 100%;
}
.contact-grp .datenschutz h3{
    font-size: var(--wp--preset--font-size--small) !important;
    margin: 0;
}
.contact-grp .datenschutz p{
    font-size: var(--wp--preset--font-size--small) !important;
    margin: 0;
}
.contact-grp .wpcf7-not-valid-tip{
    position: absolute;
    bottom: -15px;
    height: 20px;
    font-size: 16px;
    background-color: #fff;
}
/*------------------------------------------------------------------------------Kontakt Ende*/

/*------------------------------------------------------------------------------Akkordeon*/
.wp-block-accordion .wp-block-accordion-item{
    border-bottom: 1px solid var(--wp--preset--color--contrast);
    padding-bottom: 1rem;
}
.wp-block-accordion .wp-block-accordion-heading span.wp-block-accordion-heading__toggle-icon{
    font-size: 0 !important;
    color: transparent !important;
    display: inline-block;
    position: relative;
    width: 45px;
    height: 45px;
}
.wp-block-accordion .wp-block-accordion-heading span.wp-block-accordion-heading__toggle-icon::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://xn--filmproduktion-nrnberg-7lc.de/wp-content/uploads/2026/07/Pfeil.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon{
    transform: rotate(90deg) !important;
}

.wp-block-accordion-item{
    word-break: break-word;
    hyphens: auto;
}
/*------------------------------------------------------------------------------Akkordeon Ende*/
.schema-faq-section .schema-faq-question:hover,
.wp-block-accordion button:hover span{
    text-decoration: none !important;
    color: var(--wp--preset--color--accent-2) !important;
}
/*------------------------------------------------------------------------------Yoast FAQ*/
.schema-faq-section{
    border-bottom: 1px solid var(--wp--preset--color--contrast);
    padding-bottom: 1rem;
}
.schema-faq-section .schema-faq-question{
    position: relative;
    width: 100%;
    display: block;
    font-weight: 300;
    font-size: var(--wp--preset--font-size--x-large);
    padding-top: 1rem;
    padding-bottom: 1rem;
    cursor: pointer;
}
.schema-faq-section .schema-faq-question::after{
    content: '';
    position: absolute;
    top: 2rem;
    right: 0;
    width: 45px;
    height: 45px;
    background-image: url(https://xn--filmproduktion-nrnberg-7lc.de/wp-content/uploads/2026/07/Pfeil.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: ease all .3s;
}
.schema-faq-section.active .schema-faq-question::after{
    transform: rotate(90deg) !important;
}
.schema-faq-section .schema-faq-answer{
    display: none;
    margin-top: 0;
}
.schema-faq-section.active .schema-faq-answer{
    display: block;
}
/*------------------------------------------------------------------------------Yoast FAQ Ende*/

/*------------------------------------------------------------------------------Partner Grid*/
.partner-grid > div,
.partner-grid > div img{
    aspect-ratio: 16/9;
    object-fit: contain;
}
/*------------------------------------------------------------------------------Partner Grid Ende*/

/*------------------------------------------------------------------------------Referenzen Loop*/
.referenzen-loop .category-alle figure,
.referenzen-loop .category-alle figure img{
    aspect-ratio: 16/9;
}
.referenzen-loop .category-alle figure{
    position: relative;
}
.referenzen-loop .category-alle .wp-block-post-title{
    position: absolute;
    bottom: 4.2rem;
    left: 1rem;
}
.referenzen-loop .category-alle .taxonomy-category{
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}
.referenzen-loop .taxonomy-category a:first-of-type,
.referenzen-loop .taxonomy-category span:first-of-type{
    display: none;
}
.filter-kategorien{
    z-index: 5 !important;
}
.filter-kategorien .category-filter-nav{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    font-size: var(--wp--preset--font-size--medium);
    height: 100px;
    align-content: center;
}
.filter-kategorien .category-filter-nav span:last-child{
    display: none;
}
.filter-kategorien .category-filter-nav a{
    text-wrap: pretty;
    box-sizing: border-box;
    min-width: 0;
    word-break: break-word;
}
.referenzen-loop .wp-block-query .wp-block-post.smooth-fade-in {
    animation: fadeInSmooth 0.5s ease forwards;
}

@keyframes fadeInSmooth {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.referenzen-loop .wp-block-post .wp-block-post-featured-image{
    overflow: hidden;
}
.referenzen-loop .wp-block-post:hover .wp-block-post-featured-image img{
    scale: 1.1;
}
.referenzen-loop .wp-block-post:hover .has-accent-1-background-color{
    background-color: var(--wp--preset--color--accent-2) !important;
}
/*------------------------------------------------------------------------------Referenzen Loop Ende*/

/*------------------------------------------------------------------------------Teaser Hover Cover*/
.teaser-hover-cover{
    cursor: pointer;
}
.hidden-cover-button{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/*------------------------------------------------------------------------------Teaser Hover Cover Ende*/

/*------------------------------------------------------------------------------Post-Type Einzelnes Video*/
blockquote cite{
    font-weight: 800 !important;
    font-size: var(--wp--preset--font-size--medium) !important;
    text-transform: uppercase;
}
.wp-block-latest-posts__featured-image img{
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100% !important;
}
.wp-block-latest-posts__list li{
    position: relative
}
.wp-block-latest-posts__list li .wp-block-latest-posts__post-title{
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
    background-color: var(--wp--preset--color--accent-1);
    padding: .5rem 1rem .5rem 1rem;
}
.wp-block-latest-posts__featured-image{
    overflow: hidden;
    aspect-ratio: 16/9;
}
.wp-block-latest-posts__list li:hover img{
    scale: 1.1;
}
.wp-block-latest-posts__list li:hover .wp-block-latest-posts__post-title{
    background-color: var(--wp--preset--color--accent-2) !important;
}
/*------------------------------------------------------------------------------Post-Type Einzelnes Video Ende*/

.leistungen-img,
.leistungen-img img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.rechtliches-grp h1{
    font-size: var(--wp--preset--font-size--xx-large) !important;
}
.rechtliches-grp h2,
.rechtliches-grp h3,
.rechtliches-grp h4{
    font-size: var(--wp--preset--font-size--medium) !important;
}
.rechtliches-grp p,
.rechtliches-grp li{
    font-size: var(--wp--preset--font-size--small);
}

.page-id-1429 footer .footer-first-section{
    display: none;
}

.kontakt-nav-leiste p:hover,
.kontakt-nav-leiste p a:hover{
    color: var(--wp--preset--color--accent-2) !important;
}
.kontakt-nav-leiste figure,
.kontakt-nav-leiste figure img{
    width: 50px;
}
footer .portrait,
footer .portrait img{
    height: auto !important;
}
@media(prefers-reduced-motion: no-preference){

}
@media(max-width: 781px){
    .headline{
        margin-top: 100px !important;
    }
    .start-raster{
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .start-raster .cover-grp h3,
    .start-raster .cover-grp p{
        padding: .2rem .5rem .2rem .5rem !important;
    }
    .wp-block-group.is-style-camera-corner::before,
    .wp-block-group.is-style-camera-corner::after{
        width: 35px;
        height: 35px;
        border: 8px solid var(--wp--preset--color--accent-2);
    }
    .wp-block-group.is-style-camera-corner::before{
        top: -30px;
        left: -20px;
        border-right: none;
        border-bottom: none;
    }
    .wp-block-group.is-style-camera-corner::after{
        bottom: -30px;
        right: -20px;
        border-left: none;
        border-top: none;
    }
    .wp-block-group.is-style-camera-corner:has(img)::before{
        top: -15px;
        left: -15px;
    }
    .wp-block-group.is-style-camera-corner:has(img)::after{
        bottom: -15px;
        right: -15px;
    }
    footer .footer-contact-stack{
        gap: 2rem;
        width: 80%;
        margin: 0 auto !important;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    footer .footer-contact-stack .wp-block-columns{
        text-align-last: center;
        gap: 1rem;
    }
    footer .footer-contact-stack .wp-block-columns .wp-block-column{
        padding-right: 0 !important;
        border-right: none;
    }
    footer .footer-contact-stack .wp-block-columns .wp-block-column:first-child{
        padding-bottom: 1rem !important;
        border-bottom: 2px solid var(--wp--preset--color--contrast);
    }
    .referenzen-loop .category-alle .wp-block-post-title{
        bottom: 4.7rem;
    }
    .filter-kategorien .category-filter-nav{
        height: 190px;
    }
    .schema-faq-section .schema-faq-question{
        font-size: var(--wp--preset--font-size--large);
    }
    .mobile-col-reverse{
        flex-direction: column-reverse;
    }
    .input-block p{
        flex-direction: column;
    }
    .custom-anchor-nav{
        top: 100px !important;
    }
    .filter-kategorien{
        top: 100px !important;
    }
    .referenzen-loop .category-alle .taxonomy-category{
        width: min-content;
    }
    .referenzen-loop .wp-block-post-title,
    .referenzen-loop .taxonomy-category{
        padding: .2rem .5rem .2rem .5rem !important;
    }
    .post-template-default main{
        margin-top: 100px !important;
    }
    .wp-block-social-links{
        font-size: 46px !important;
    }
    form br{
        display: none;
    }
}
@media(max-width: 1199px){
    .wp-block-quote::after{
        top: -4rem;
        font-size: 7rem;
    }
}
@media(min-width: 1200px){
    header.scrolled img{
        filter: none !important;
    }
    header.scrolled .wp-block-navigation__responsive-container-open::before,
    header.scrolled .wp-block-navigation__responsive-container-open::after{
        background-color: var(--wp--preset--color--accent-1);
    }
    header.scrolled .wp-block-navigation__responsive-container-open {
        background: linear-gradient(var(--wp--preset--color--accent-1), var(--wp--preset--color--accent-1)) no-repeat center right / 70% 7px !important;
    }
    /*    h1, h2, h3, h4{
            font-size: 62px !important;
        }
        p{
            font-size: 30px !important;
        }
        .sub-headline{
            font-size: 35px !important;
        }*/
    .hero-cover .headline span.headline-1,
    .hero-cover .headline span.headline-2,
    .hero-cover .headline span.headline-3,
    .hero-cover .headline span.headline-4,
    .hero-cover h1{
        font-size: 6rem !important;
    }
}
@media(max-width: 1599px){
    header.smc-header{
        background-color: #fff;
    }
    header .wp-block-navigation__responsive-container-open::before,
    header .wp-block-navigation__responsive-container-open::after{
        background-color: var(--wp--preset--color--accent-1);
    }
    header .wp-block-navigation__responsive-container-open {
        background: linear-gradient(var(--wp--preset--color--accent-1), var(--wp--preset--color--accent-1)) no-repeat center right / 70% 7px !important;
    }
    header img{
        filter: none !important;
    }
    .filter-kategorien.header--hidden,
    .custom-anchor-nav.header--hidden{
        transform: translateY(-100%);
    }
    .category-filter-nav{
        width: 100%;
    }
}
@media(min-width: 782px) and (max-width: 1599px){
    .custom-anchor-nav{
        top: 130px !important;
    }
    .filter-kategorien{
        top: 130px !important;
    }
}
@media(max-width: 1999px){
    .is-style-custom-wrapper .partner-grid{
        max-width: 800px !important;
    }
    .partner-grid > div img{
        width: 180px;
        max-height: 80px;
    }
    .is-style-custom-wrapper > .is-style-camera-corner{
        max-width: 2000px !important;
    }
    .is-style-custom-wrapper .start-raster{
        /*        max-width: 1400px !important;*/
        max-width: 1100px !important;
    }
    .is-style-custom-wrapper .start-akkordeon,
    .is-style-custom-wrapper .start-faq{
        max-width: 1200px !important;
    }
    .is-style-custom-wrapper .start-raster .wp-block-cover{
        min-height: 0;
        aspect-ratio: 16/9;
    }
    footer .is-style-custom-wrapper .wp-block-columns,
    footer .sub-footer-infos{
        max-width: 1200px !important;
    }
    .wp-block-latest-posts__list{
        max-width: 1000px !important;
    }
}
@media(min-width: 2000px){
    h1, h2, h3, h4{
        font-size: 77px !important;
    }
    p{
        font-size: 39px !important;
    }
    .wp-block-post-content p{
        font-size: var(--wp--preset--font-size--medium) !important;
    }
    .sub-headline{
        font-size: 39px !important;
    }
    header .header-logo,
    header .header-logo img{
        width: 230px !important;
    }
    footer .portrait,
    footer .portrait img{
        height: 500px !important;
        width: 500px !important;
    }
    footer .sub-footer-logo,
    footer .sub-footer-logo img{
        width: 400px !important;
    }
    .is-style-custom-wrapper > .is-style-camera-corner{
        max-width: 2400px !important;
    }
    .is-style-custom-wrapper .start-raster{
        max-width: 1900px !important;
    }
    .is-style-custom-wrapper .start-raster .wp-block-cover{
        min-height: 600px;
    }
    .is-style-custom-wrapper .partner-grid{
        max-width: 1350px !important;
    }
    .partner-grid > div img{
        width: 250px;
        max-height: 120px;
    }
    .wp-block-accordion-heading__toggle{
        font-size: 55px !important;
    }
    .rechtliches-grp h1{
        font-size: var(--wp--preset--font-size--xx-large) !important;
    }
    .rechtliches-grp h2,
    .rechtliches-grp h3,
    .rechtliches-grp h4{
        font-size: var(--wp--preset--font-size--x-large) !important;
    }
    footer .is-style-custom-wrapper .wp-block-columns,
    footer .sub-footer-infos{
        max-width: 1600px !important;
    }
    main .alignwide{
        max-width: 1400px !important;
    }
}