/* home */
body.home {
    position: relative;
}
body.error404,
body.pacbird {
    --llp-bg: url(/wp-content/uploads/2026/10/llp-bg-tukan-dark.webp);
}
body.home .llp-navigation .is-menu-open,
body.work .llp-navigation .is-menu-open,
body.error404 .llp-navigation .is-menu-open,
body.pacbird .llp-navigation .is-menu-open {
    background-image: url(/wp-content/uploads/2026/10/llp-bg-tukan-dark.webp);
}
body.home figure.frontImage {
    position: absolute;
    top: 85px;
    left: 25px;
    right: 25px;
    margin: 0 auto !important;
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
    transform: scale(.3);
    text-align: center;
    min-width: 450px;
    max-width: 525px;
    width: 50%;
    perspective: 1000px;
    transform-style: preserve-3d;
}
body.home figure.frontImage img {
    backface-visibility: hidden;
    padding: 0;
    width: 100%;
}
body.home figure.frontImage img.back-image {
    backface-visibility: hidden;
    transform: rotateX(180deg);
}
body.home video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 100vw;
    min-height: 100vh;
    min-height: 100svh;
}
body.home figure.frontImage.visible {
    opacity: 1 !important;
    transform: scale(1);
}
body.home figure.frontImage.flipped {
    transform: rotateX(180deg);
}
body.home .home-headline-container {
    position: absolute;
    bottom: 30px;
    width: 100%;
    margin-top: 0;
    gap: 0;
}
body.home figure.frontImage.small-viewport {
    top: 75px;
    max-width: 300px;
    min-width: 200px;
    width: 100%;
}
body.home .home-headline-container.small-viewport {
    bottom: 15px !important;
}
body.home .home-headline-container.small-viewport h1 {
    font-size: 25px !important;
}
body.home .home-headline-container h1 {
    margin-bottom: 0 ! important;
    color: var(--primary-white) !important;
    transition: color 1s ease;
}
body.home .home-headline-container h1.llp-pink {
    color: var(--primary-pink) !important;
    transition: color 1s ease;
}
body.home footer {
    background-color: black;
}
/* Hintergrund beim Laden leicht abdunkeln (vorher per ScrollMagic/GSAP) */
body.home .wp-site-blocks {
    animation: llp-home-dim 1s ease-out both;
}
@keyframes llp-home-dim {
    from { background-color: rgba(0, 0, 0, 0); }
    to   { background-color: rgba(0, 0, 0, 0.5); }
}
/* about */
body.about {
    --llp-bg: url(/wp-content/uploads/2026/10/llp-bg-about.webp);
}
body.about .llp-navigation .is-menu-open {
    background-image: url(/wp-content/uploads/2026/10/llp-bg-about.webp);
}
body.about a {
    text-decoration: none;
}
/* services / jobs */
body.services {
    --llp-bg: url(/wp-content/uploads/2026/10/llp-bg-services.webp);
}
body.services .llp-navigation .is-menu-open {
    background-image: url(/wp-content/uploads/2026/10/llp-bg-services.webp);
}
body.jobs {
    --llp-bg: url(/wp-content/uploads/2026/10/llp-bg-jobs.webp);
}
body.jobs .llp-navigation .is-menu-open {
    background-image: url(/wp-content/uploads/2026/10/llp-bg-jobs.webp);
}
body.services h1,
body.jobs h1 {
    text-align: center;
}
body.services :is(.llp-accordion, .sp-easy-accordion) .ea-header a,
body.jobs :is(.llp-accordion, .sp-easy-accordion) .ea-header a {
    max-width: 200px !important;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
body.services :is(.llp-accordion, .sp-easy-accordion) .ea-header,
body.services :is(.llp-accordion, .sp-easy-accordion) .ea-body,
body.jobs :is(.llp-accordion, .sp-easy-accordion) .ea-header,
body.jobs :is(.llp-accordion, .sp-easy-accordion) .ea-body {
    max-width: 260px;
    width: 100% !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-align: center;
}
/* work */
body.home .entry-content,
body.about .entry-content,
body.work .entry-content {
    width: 100% !important;
}
/* Advanced Backgrounds ab 1.13 setzt 20px Innenabstand – Vollbild-Blöcke bündig halten */
body.home .entry-content .nk-awb-fullheight,
body.work .entry-content .nk-awb-fullheight {
    padding: 0 !important;
    /* sichtbare Höhe ohne Adressleiste (mobil), springt nicht beim Scrollen */
    min-height: 100vh;
    min-height: 100svh;
}
body.work .llp-client-logos {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
body.work .llp-client-logos img {
    width: 100%;
    filter: invert();
}
/* contact */
body.contact,
body.confirmation {
    --llp-bg: url(/wp-content/uploads/2026/10/llp-bg-contact.webp);
    background-position: 65% 50% !important;
}
body.contact .llp-navigation .is-menu-open,
body.confirmation .llp-navigation .is-menu-open {
    background-image: url(/wp-content/uploads/2026/10/llp-bg-contact.webp);
    background-position: 65% 50% !important;
}
body.contact h1:not(h1.custom-pagetitle) {
    margin: 0 0 50px 0 !important;
}
body.contact .ea-card {
    margin-bottom: 0 !important;
}
body.contact .ea-header a {
    font-size: var(--large-font-size) !important;
}
body.contact .ea-body {
    margin-top: 15px;
    margin-bottom: 25px;
}
body.contact :is(.llp-accordion, .sp-easy-accordion) .ea-header a.collapsed::after,
body.contact :is(.llp-accordion, .sp-easy-accordion) .ea-header a::after {
    font-size: var(--large-font-size);
}
body.contact .wp-block-columns {
    margin: 25px 0 !important;
}
body.contact :is(.llp-accordion, .sp-easy-accordion) .ea-header {
    width: 100%;
    max-width: 100%;
}
body.contact :is(.llp-accordion, .sp-easy-accordion) .ea-header a {
    margin-top: 50px;
    font-size: var(--big-font-size) !important;
    text-align: center;
}
body.contact :is(.llp-accordion, .sp-easy-accordion) .ea-header a::after,
body.contact :is(.llp-accordion, .sp-easy-accordion) .ea-header a.collapsed::after {
    font-size: 20px !important;
}
/* legal */
body.imprint section h1,
body.imprint section p,
body.imprint section a,
body.imprint section li,
body.imprint .custom-pagetitle a,
body.imprint .llp-navigation button,
body.imprint .llp-navigation .is-menu-open ul li a,
body.imprint .llp-navigation .is-menu-open .wp-block-navigation__responsive-container-close,
body.imprint .llp-social-icons li,
body.imprint .llp-footer h2 a:hover,
body.privacy section h1,
body.privacy section p,
body.privacy section a,
body.privacy section li,
body.privacy .custom-pagetitle a,
body.privacy .llp-navigation button,
body.privacy .llp-navigation .is-menu-open ul li a,
body.privacy .llp-navigation .is-menu-open .wp-block-navigation__responsive-container-close,
body.privacy .llp-social-icons li,
body.privacy .llp-footer h2 a:hover {
    color: var(--primary-white) !important;
}
/* 
body.imprint main,
body.privacy main {
    align-items: flex-start !important;
}
*/
body.imprint main li,
body.privacy main li {
    font-size: var(--base-font-size) !important;
}
body.imprint,
body.imprint .llp-navigation .is-menu-open,
body.imprint footer,
body.privacy,
body.privacy .llp-navigation .is-menu-open,
body.privacy footer {
    background-color: var(--primary-pink) !important;
}
/* error */
body.error404,
body.work footer,
body.confirmation {
    background-color: var(--primary-black);
}
/* confirmation page */
body.confirmation figure img {
    border-radius: 50%;
    margin-bottom: 50px;
}
@media (max-width: 369px) {
    body.contact .wp-block-column .wp-block-group {
        flex-wrap: wrap;
    }
}
@media (max-width: 499px) {
    body.home .home-headline-container h1 {
        font-size: 25px !important;
    } 
    body.home figure.frontImage {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }
    body.home figure.frontImage img {
        padding: 0 25px;
    }
}
@media (min-width: 500px) and (max-width: 599px) {
    body.home .home-headline-container h1 {
        font-size: 30px !important;
    }
}
@media screen and (min-width: 600px) {
    body.home figure.frontImage {
        top: 100px;
    }
    body.home .home-headline-container h1 {
        font-size: 35px !important;
    }
    body.contact :is(.llp-accordion, .sp-easy-accordion) .ea-header a {
        font-size: 35px !important;
    }
    body.contact :is(.llp-accordion, .sp-easy-accordion) .ea-header a::after,
    body.contact :is(.llp-accordion, .sp-easy-accordion) .ea-header a.collapsed::after {
        font-size: var(--base-h2-size) !important;
    }
    body.imprint .current-menu-item,
    body.imprint .llp-navigation li a:hover,
    body.privacy .current-menu-item,
    body.privacy .llp-navigation li a:hover {
        text-decoration: none;
        color: var(--primary-white) !important;
        transform: scale(1.1);
    }
    body.imprint main li,
    body.privacy main li {
        font-size: var(--large-font-size) !important;
    }
    body.services :is(.llp-accordion, .sp-easy-accordion) .ea-header,
    body.services :is(.llp-accordion, .sp-easy-accordion) .ea-body,
    body.jobs :is(.llp-accordion, .sp-easy-accordion) .ea-header,
    body.jobs :is(.llp-accordion, .sp-easy-accordion) .ea-body {
        max-width: 300px !important;
    }
}
@media (max-width: 781px) {
    body.contact .wp-block-columns {
        row-gap: 0;
        flex-direction: column;
    }
}
@media (max-width: 299px) {
    body.home .home-headline-container h1 {
        font-size: 15px !important;
    } 
}