/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

body {opacity: 0;}

body, h2, p{
    font-family: "inter-variable",sans-serif !important;
    font-variant-numeric: slashed-zero !important;
    font-feature-settings: "cv02", "cv03", "cv04" !important;
}

/* Nichts verpassen! */
.fancy-font{
    font-family: "ivypresto-display", serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0 !important;
}

.fancy-font.green {
    color: #BDE038;
}

.font-correction {
    margin-left: -3px;
}

.font-underline {
    text-decoration: underline;
}

.post-content p, #home-header-landscape .intro-text{
    hyphens: auto;
    overflow-wrap: break-word;
}

strong{
    font-weight: 600!important;
}

/* ----- Logo ----- */
.ZHI-Logo-home {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-width: 156px;
    transition: all 0.3s ease;
    align-items: flex-start;
}
  
.ZHI-Logo-home img {
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .ZHI-Logo-home:hover img:nth-child(1) {
        transform: translateY(-5px); /* nach oben */
    }

    .ZHI-Logo-home:hover img:nth-child(3) {
        transform: translateY(5px); /* nach unten */
    }
}


/* ----- HOME Header ----- */
#zhi-header-podcast {
    z-index: 9999!important;
    position: absolute;
    right: 0;
}

.zhi-header-text {
    z-index: 9999!important;
}

.zhi-header-text .zhi-split-start{
    opacity: 0;
}

.zhi-header .intro-text {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 400;
    color: #fff;
}

@media only screen and (min-width: 2000px) {
    .zhi-header .intro-text {
        padding-right: 200px;
    }
}

.zhi-header .intro-text div {
    display: inline;
}

.custom-btn.zhi-header-btn {
    transform: translateY(-6px);
}

.zhi-header .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0); /* Start transparent */
    transition: background-color 1s ease;
    z-index: 1;
}

#home-header-landscape {
    display:none;
}


/* ----- HOME Projekte ----- */
.zhi-projekte-img-col > div {
    align-items: center;
}
.zhi-projekte-img-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.zhi-projekte-img-container img {
    grid-area: 1 / 1 / 2 / 2; 
    opacity: 0;
    transition: all 0.3s ease;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.zhi-projekte-img-container img.active {
    opacity: 1;
}

.zhi-projekte-txt-container h2{
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.zhi-projekte-divider{
    margin-bottom: 30px;
    display: flex    ;
    justify-content: space-between;
    align-items: center;
}

.zhi-projekte-line{
    width: 45%;
    border-top: 4px solid #000;
}

.zhi-projekte-txt-container i, .zhi-leistung-arrow i{
    font-size: 30px;
    transition: all 0.3s ease;
}

.zhi-projekte-arrow, .zhi-leistung-arrow{
    height: 0;
    display: flex;
    align-items: center;
    position: relative;
    left: -30px;
    transition: all 0.3s ease;
    color: #BDE038;
    justify-content: flex-end;
    opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
    .zhi-projekte-txt-container a:hover h2, .zhi-projekte-txt-container a:hover i{
        color: #BDE038;
    }

    .zhi-projekte-txt-container a:hover .zhi-projekte-arrow, .home-leistung-container:hover .zhi-leistung-arrow {
        left: 0;
        opacity: 1;
    }
}
@media (hover: none), (pointer: coarse) {
    /* Styles for touch devices */
    .zhi-projekte-txt-container a .zhi-projekte-arrow, .home-leistung-container .zhi-leistung-arrow {
        left: 0;
        opacity: 1;
    }
}


/* ----- HOME LEISTUNG ----- */
.home-leistung-container h2 {
    transition: all 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .home-leistung-container:hover h2 {
        color: #BDE038 !important;
    }
}

.zhi-leistung-wrapper{
    width: fit-content;
}

.arrow-seperator{
    height: 4px;
    width: 100%;
    background: #000;
    margin-bottom: 20px;
}

/* Default Button */
.custom-btn {
	font-variation-settings: "wght" 400;
	transition: all 0.3s ease;
	letter-spacing: 3px;
}

.custom-btn i{
	font-size: 24px;
	color: #BDE038 !important;
	transition: all 0.3s ease;
	right: 7px;
    position: relative;
}

.custom-btn.left i{
    left: 0px;
    margin-right: 10px;
}

@media (hover: hover) and (pointer: fine) {
    .custom-btn:hover {
        font-variation-settings: "wght" 600;
    }

    .custom-btn:hover i{
        right: -3px;
    }

    .custom-btn.left:hover i{
        left: -10px;
    }
}

/* TOP Navigation */
.top-nav li a .menu-text{
    position: relative;
    transition: all 0.3s ease;
}

.top-nav li a .menu-text:after{
    content: "";
    position: absolute;
    bottom: 3px;
    height: 2px;
    width: calc(100% - 2.5px);
    opacity: 0;
    transition: all 0.3s ease;
}

.top-nav.black li a .menu-text:after{background: #000;}
.top-nav.white li a .menu-text:after{background: #ffffff;}

@media (hover: hover) and (pointer: fine) {
    .top-nav li:hover .menu-text:after, .top-nav .current-menu-item .menu-text:after {
        bottom: -2px;
        opacity: 1;
    }

    .top-nav li:hover .menu-text, .top-nav .current-menu-item .menu-text {
        font-variation-settings: "wght" 600;
    }
}

.main-nav-prof{ width: 72px}
.main-nav-leist{ width: 126px}
.main-nav-proj{ width: 103px}
.main-nav-aktu{ width: 115px}
.main-nav-kont{ width: 93px}

.navbar-container{
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    transform: translateY(0);
}

.navbar-container.hide-navbar{
    transform: translateY(-100%);
}


/* Sticky Navbar */
.home-navbar {
    transition: all 0.3s ease;
    
}

.home-navbar.sticky-navbar {
    background: rgb(255, 255, 255) !important;
}

.home-navbar.sticky-navbar .menu-text{
    color: #000 !important;
}

.home-navbar.sticky-navbar li a .menu-text:after {
    background: #000 !important;;
}

.home-navbar.sticky-navbar .mobile-menu-toggle > *{
    color: #000 !important;
}

.logo-small{
    display: none;
}

.sticky-navbar .logo-small{
    display: block;
}

.sticky-navbar .logo-big{
    display: none;
}

.sticky-navbar{
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.sticky-navbar .awb-menu__main-ul{
    align-items: center;
}

@media only screen and (min-width: 1190px) {
    .mobile-menu-toggle{
        display: none !important;
    }
}

@media only screen and (max-width: 1190px) {
    .top-nav{
        display: none;
    }

    .sticky-navbar .mobile-menu-toggle {
        padding-top: 11px!important;
    }
}


/* Leistungen -  Sidebar*/
.leistungen-sidebar .awb-off-canvas {
    height: fit-content !important;
    position: absolute !important;
    top: 240px;
}

.leistungen-sidebar a{
    position: relative;

    line-height: 110%;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.leistungen-sidebar a .menu-text{
    color: #898989 !important;
}

.leistungen-sidebar a:after{
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
    bottom: 0;
    transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .leistungen-sidebar a:hover .menu-text{
        color: #000 !important;
    }

    .leistungen-sidebar a:hover:after{
        content: "";
        position: absolute;
        height: 2px;
        width: 150%;
        background: #000;
        bottom: 0;
    }
}

@media only screen and (max-width: 1830px) {
    .leistungen-sidebar {
        display: none !important;
    }
}

/* Formular */
.kontaktform input, .kontaktform textarea{
	padding: 0 !important;
}


.kontaktform textarea{
    resize: none !important;
}

.datenschutz-box label {
    padding-left: 35px !important;
    font-size: 14px !important;
}

.datenschutz-box label:before {
    border-radius: 0 !important;
    height: 20px !important;
    width: 20px !important;
    top: 11px !important;
}

.datenschutz-box label:after{
    border-radius: 0 !important;
    height: 14px !important;
    width: 14px !important;
    top: 11px !important;
}

.kontakt-mail i{
    opacity: 0;
    color: #bde038;
    position: relative;
    left: -30px;
    transition: all 0.3s ease;
    top: 7px;
}

@media (hover: hover) and (pointer: fine) {
    .kontakt-mail:hover i {
        opacity: 1;
        left: 0px;
    }
}
@media (hover: none), (pointer: coarse) {
    /* Styles for touch devices */
    .kontakt-mail i {
        opacity: 1;
        left: 0px;
    }
    .kontakt-mail:hover {
        color:#121212;
    }
}

/* Footer */
.fixed-footer {
    position: fixed !important;
    bottom: 0;
    width: 100%;
	z-index: 0!important;
}

.foo-title{
    font-family: "inter-variable",sans-serif !important;
    font-variant-numeric: slashed-zero !important;
    font-feature-settings: "cv02", "cv03", "cv04" !important;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 160%;
    letter-spacing: 0.2em;
    text-transform: uppercase;

}

.foo-copy-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px 50px;
    flex-wrap: wrap;
}


.foo-copy-links{
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
}

.foo-copy-links a{
    display: flex;
    gap: 10px;
    align-items: center;
}

.foo-copy-links i{
    font-size: 25px;
    color: #BDE038;
}

@media only screen and (max-width: 872px) {
    .foo-copy-wrapper {
        flex-direction: column-reverse;
    }
}


@media only screen and (max-width: 642px) {
    .foo-link-priv{
        margin-left: 0 !important;
    }
    .foo-copy-links {
        display: flex    ;
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
    }
}


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

    .foo-copy-links {
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        align-items: flex-start;
    }
    .foo-sep{
        display: none;
    }

    br{
        display: none;
    }
}



.foo-link-priv{
    gap: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 50px;
 
}

/* Text Animation */
.zhi-split .zhi-line p {
    margin-bottom: 0;
}

.zhi-split {
    hyphens: auto;
    overflow-wrap: break-word;
}

.zhi-fadeIn,
.zhi-split,
h1 .zhi-split-1,
h1 .zhi-split-2,
h1 .zhi-split-3 {
    opacity: 0;
}

/* Headline Animation */
h1 .zhi-split,
h1 .zhi-split-1,
h1 .zhi-split-2,
h1 .zhi-split-3 {
    display: inline-block;
    height: 1em;
}

h1 .zhi-mask-line-mask {
    line-height: 1.15;
    padding-right: 3px;
}

#zhi-home-header h1 .zhi-mask-line-mask {
    padding: 0px;
}

h2.zhi-split,
.zhi-split h2{
    line-height: 1.2!important;
}

/* Profil Network Animation */
#network-animation {
    animation: spin 25s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Responsive */
@media only screen and (max-width: 1024px) {
    .zhi-header .intro-text {
        font-size: 20px;
    }

    .zhi-projekte-img-container,
    .zhi-projekte-img-container img {
        height: 100%;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    /* Stile für Querformat */
    .landscape-hide {
        display: none!important;
    }
    #home-header-landscape .intro-text {
        color:#000;
    }
    #home-header-landscape {
        display:block;
    }
    .home-navbar {
        padding:30px!important;
    }
    #zhi-home-header h1 {
        font-size:50px!important;
    }
    .zhi-header-text > div {
        padding: 0px 30px!important;
    }
    .zhi-split-1.home {
        display: inline-flex;
        column-gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }
    .ZHI-Logo-home.logo-big {
        max-width: 120px;
    }
    .ZHI-Logo-home.logo-big img[alt="Holz"]{
        max-width: 65px;
    }
    .page-id-279 h1 { /* Projekte */
        font-size: 28px!important;
    }

    .page-id-279 h2 { /* Projekte */
        font-size: 26px!important;
    }
}

@media only screen and (max-width: 640px) {
    .zhi-header .intro-text {
        font-size: 18px;
    }

    .ZHI-Logo-home.logo-big {
        max-width: 120px;
    }

    .ZHI-Logo-home.logo-big img[alt="Holz"]{
        max-width: 65px;
    }

    .zhi-projekte-img-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 2fr;
        height: auto;
    }

    .zhi-projekte-img-container img {
        grid-area: unset;
        opacity: 1;
        height: auto;
    }

    .page-id-279 h1 { /* Projekte */
        font-size: 28px!important;
    }

    .page-id-279 h2 { /* Projekte */
        font-size: 26px!important;
    }

    #zhi-kontaktdaten {
        font-size: 30px;
    }
}