/* =============================================================================================
   ELEMENT 05 – BILD LINKS / TEXT RECHTS
============================================================================================= */
.wf-element-05 {
    position: relative;
    display: block;
    clear: both;
    width: 100%;
    overflow: visible;
}


/* =========================================
   HINTERGRUND
========================================= */

.wf-element-05.wf-bg1 {
    background-color: #2d2c29;
}


/* =========================================
   INHALTSBEREICH
========================================= */
.wf-element-05 .wf-element-05-content {
    position: relative;
    display: grid;
    grid-template-columns: 7fr 5fr;
    grid-template-areas: "image text";
    align-items: center;
    width: 100%;
    padding-bottom: 0;
    overflow: visible;
}


/* =========================================
   BILD LINKS
========================================= */

.wf-element-05 .wf-element-05-image {
    position: relative;
    grid-area: image;
    z-index: 2;
}

.wf-element-05 .wf-element-05-image picture {
    display: block;
    width: 100%;
}

.wf-element-05 .wf-img-overlap {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* =========================================
   TEXT RECHTS
========================================= */

.wf-element-05 .wf-element-05-text {
    grid-area: text;
    color: #fff;
}

.wf-element-05 .wf-element-05-text,
.wf-element-05 .wf-text-box.right {
    position: relative;
    width: auto;
    max-width: 400px;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    z-index: 2;
    overflow: visible;
}


/* =========================================
   ÜBERSCHRIFT
========================================= */
.wf-element-05 .wf-section-title {
    position: relative;
}

.wf-element-05 .wf-headline {
    font-weight: 300;
}

.wf-element-05 .wf-headline > span {
    display: block;
}


.wf-element-05 .wf-headline-offset {
    margin-left: 40px;
}


/* =========================================
   SUBTITLE / SCHREIBSCHRIFT
========================================= */
.wf-element-05 .wf-subtitle {
    position: relative;
    z-index: 3;
    margin-top: -0.1em;
    margin-bottom: -0.05em;
    font-family: "Intervensi", cursive;
    font-size: 80px;
    line-height: 1.4;
    white-space: normal;
}

.wf-element-05 .wf-subtitle span {
    display: inline-block;
    background:
        url("../Images/button-texture.jpg")
        no-repeat
        center top;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================================
   TEXT
========================================= */
.wf-element-05 .wf-element-05-text > p {
    position: relative;
    width: 100%;
    max-width: 500px;
    color: #fff;
}


/* =========================================
   LINK
========================================= 

.wf-element-05 .link {
    position: relative;
    margin-top: 20px;
}

.wf-element-05 .link a {
    color: #c49372;
    text-decoration: none;
}

.wf-element-05 .link i {
    position: relative;
    top: 2px;
}*/


/* =========================================
   LINK
========================================= */
.wf-element-05 .link {
    margin-top: 25px;
}

.wf-element-05 .link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #c49372;
    color: #9a694f;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition:
        color 250ms ease,
        gap 250ms ease,
        border-color 250ms ease;
}

.wf-element-05 .link a:hover {
    gap: 16px;
    border-color: #30251f;
    color: #fff;
}

.wf-element-05 .link a:focus-visible {
    outline: 2px solid #e1ac3b;
    outline-offset: 5px;
}

.wf-element-05 .link i {
    position: relative;
    top: 1px;
}


/* =============================================================================================
   DESKTOP AB 1200px
============================================================================================= */

@media (min-width: 1200px) {

    .wf-element-05 .wf-element-05-text,
    .wf-element-05 .wf-text-box.right {
        padding-top: 20px;
    }

}


/* =============================================================================================
   TABLET GROSS: 992–1024px
============================================================================================= */

@media (min-width: 992px) and (max-width: 1024px) {

    .wf-element-05 .wf-element-05-content {
		 grid-template-columns: 54% 46%;
		padding-bottom: 0px;
	}

    .wf-element-05 .wf-element-05-text,
    .wf-element-05 .wf-text-box.right {
        max-width: 350px;
        margin-left: 10%;
        margin-right: 10%;
    }

    .wf-element-05 .wf-section-title {
        padding-top: 0;
    }

    .wf-element-05 .wf-headline {
		font-size: 2.2em;
		line-height: 1.2;		
	}
    
	
	.wf-element-05 .wf-subtitle {
        margin-top: 0.2em;
        font-family: "Intervensi", cursive;
        font-size: 60px;
        line-height: 1.4;
    }

    .wf-element-05 .wf-img-overlap {
        height: 400px;
        object-fit: cover;
        object-position: center;
    }

}


/* =============================================================================================
   TABLET: 768–991px
============================================================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .wf-element-05 .wf-element-05-content {
		display: block;
		width: 100%;
		padding-bottom: 60px;
	}

    .wf-element-05 .wf-element-05-text,
    .wf-element-05 .wf-text-box.right {
        max-width: none;
        margin-left: 8%;
        margin-right: 8%;
    }

    .wf-element-05 .wf-section-title {
        padding-top: 2rem;
    }

    .wf-element-05 .wf-headline {
		font-size: 2.2em;
		line-height: 1.2;		
	}	
	
	
	.wf-element-05 .wf-subtitle {
        margin-top: 0.2em;
        font-family: "Intervensi", cursive;
        font-size: 55px;
        line-height: 1.4;
        white-space: normal;
    }

	.wf-element-05 .wf-element-05-image {
		width: 100%;
	}

    .wf-element-05 .wf-img-overlap {
        width: 100%;
        height: 420px;
        object-fit: cover;
        object-position: center;
    }

}


/* =============================================================================================
   MOBILE BIS 767px
============================================================================================= */
@media (max-width: 767px) {

    .wf-element-05 {
        overflow: hidden;
    }


    /* -------------------------------------
       Inhalt untereinander
    ------------------------------------- */
    .wf-element-05 .wf-element-05-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding-bottom: 20px;
    }


    /* -------------------------------------
     Bild – Smartphone wie Referenz
   ------------------------------------- */
	.wf-element-05 .wf-element-05-image {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.wf-element-05 .wf-element-05-image picture {
		display: block;
		width: 100%;
	}

	.wf-element-05 .wf-img-overlap {
		display: block;
		width: 100%;
		height: auto;
		max-width: 100%;
	}

    /* -------------------------------------
       Textbereich
    ------------------------------------- */
    .wf-element-05 .wf-element-05-text,
    .wf-element-05 .wf-text-box.right {
        position: relative;
        width: auto;
        max-width: none;
        margin-left: 5%;
        margin-right: 5%;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        gap: 0.2em;
        z-index: 2;
        overflow: visible;
        text-align: left;
    }


    /* -------------------------------------
       Headline
    ------------------------------------- */

    .wf-element-05 .wf-section-title {
        padding-top: 2rem;
    }

    .wf-element-05 .wf-headline {
        text-align: left;
        font-size: 2.4em;
        line-height: 1.4em;
        margin: 0;
    }

    .wf-element-05 .wf-headline-offset {
        margin-left: 40px;
        margin-top: -6px;
    }


    /* -------------------------------------
       Schreibschrift
    ------------------------------------- */

    .wf-element-05 .wf-subtitle {
        position: relative;
        z-index: 3;
        margin-top: 0.2em;
        font-family: "Intervensi", cursive;
        font-size: 60px;
        line-height: 1.4;
        white-space: normal;
    }


    /* -------------------------------------
       Parallax auf Mobile aus
    ------------------------------------- */

    .wf-element-05 .cromo-parallax {
        transform: none !important;
    }

}


/* =============================================================================================
   ELEMENT 05 – END
============================================================================================= */