.text-image {
    background-color: #e7e1d3;
    z-index: 80;
    display: flex;
    justify-content: center;
    padding: 5vw 0;
}

.text-image .goldschmiede-container {
    /* display: flex;
    flex-direction: row;
    flex-grow: 1; */
    /* align-items: center; */
    /* justify-content: center; */
}

.text-image .goldschmiede-container .text-block h1 {
    position: relative;
}
.text-image .goldschmiede-container .text-block h1::before {
    position: absolute;
    top: 0;
    content: '';
    background-image: url(../../../../library/images/text_ecke.png);
    background-repeat: no-repeat;
    height: 320px;
    width: 320px;
    transform: translate(-200px, -60px);
}

.text-image[data-icon="pineapple"] .goldschmiede-container .text-block h1::before {
    content: none;
}

.text-image[data-icon="pineapple"] {
    position: relative;
    padding: 5vw 0;
    z-index: 91;

    /* padding-bottom: calc(5vw + 11vw);
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 11vw), 50% 100%, 0% calc(100% - 11vw)); */
}

.text-image[data-icon="pineapple"]:after {
    content: '';
    background-image: url(../../../../library/images/ananas_bg.svg);
    background-position: left bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: absolute;
    bottom: calc(0px - (100vw / 1903 * 214));
    left: 50%;
    transform: translateX(-50%) scale(0.99);
    width: calc(100vw / 1903 * 2527);
    height: 100vw;
    pointer-events: none;
    z-index: -1;
}

.text-image .goldschmiede-container .image-block {
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

.text-image .goldschmiede-container .image-block > img:nth-last-child(2):first-child {
    max-width: 75%;
    margin-left: auto;
    height: auto;
}

.text-image .goldschmiede-container .image-block > img:nth-child(2):last-child {
    margin-top: -50%;
    max-width: 50%;
    height: auto;
}

/* .goldschmiede-container {
    width: 100%;
    padding: 0 17%;
}

.goldschmiede-container > * {
    width: 50%;
} */

.text-image .goldschmiede-container {
    display: flex;
    /* flex-direction: row; */
    flex-grow: 1;
    /* align-items: center; */
    /* justify-content: center; */
}

.text-image .goldschmiede-container > .text-block {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    max-width: calc(var(--single-col) * 6);
    padding: 0 var(--single-col);
    position: relative;
}
.text-image .goldschmiede-container > .text-block:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(90deg, rgba(231,225,211,1) 80%, rgba(231,225,211,0) 100%);
}

.text-image .text-block {
    position: relative;
    top: 0;
    transform: unset;
    /* position: absolute;
    width: 32.33333333%;
    top: 41%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%); */
}

.text-image .text-ecke {
    /* -webkit-transform: translate(-117%, -29%); */
    /*    transform: translate(-117%, -29%);*/
    /* left: 50%; */
}

.text-image .image-single {
    position: absolute;
    bottom: -15rem;
    right: 0;
    width: 100vw;
    height: calc(100% + 15rem);
    background-position: bottom right;
    background-size: contain;
    background-repeat: no-repeat; 
    z-index: -1;
}

.text-image {
    position: relative;
}

.text-image .elipse-special {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: block;
    z-index: -1;
}

/* .text-image .ring {
    background-image: url('../../../../../wp-content/uploads/2019/02/Ring-freigestellt.png');
} */

@media screen and (max-width: 1600px) {
    /* .text-image .text-block {
        width: 45%;
    } */

    .text-image .image-single {
        width: 75vw;
    }
}
@media screen and (max-width: 1080px) {
    /* .text-image .text-block {
        width: 60%;
    }

    .text-image .text-block {
        position: relative;
        margin: 10rem 0;
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }

    .text-image .image-single {
        position: absolute;
        bottom: -7rem;
    } */

    .text-image {
        flex-direction: column-reverse;
        flex-wrap: wrap;
    }

    .text-image .goldschmiede-container > .text-block {
        padding: 0;
        width: 100%;
        max-width: none;
    }

    .text-image .goldschmiede-container {
        flex-direction: column-reverse;
        gap: 3rem;
        align-items: center;
        padding: 0 5vw;
        width: 100%;
        max-width: none;
    }

    .text-image .goldschmiede-container .image-block {
        width: 100%;
        max-width: 35rem;
    }
    .text-image .image-single {
        position: static;
        width: 100%;
        display: block;
        height: 50vw;
    }
}

@media screen and (max-width: 849px) {
    /* .text-image .text-block {
        position: relative;
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
        margin-top: 10rem;
        width: 100%;
        padding: 0 5% 17rem 5%;
    }

    .text-image .image-single {
        bottom: -15rem;
    } */
}
@media screen and (max-width: 500px) {
    /* Goldschmiede */
    /* .text-image {
        min-height: 50vh;
        height: auto;
        padding-bottom: 25%;
    }

    .text-image .image-single {
        bottom: -45px;
    }

    .text-image .text-block {
        padding: 0 5% 0rem 5%;
        margin-bottom: 5rem;
    }

    .text-image .goldschmiede-container {
        padding: 0;
    }

    .text-image .text-ecke {
        -webkit-transform: translate(-94%, -26%) scale(0.65);
        transform: translate(-94%, -26%) scale(0.65);
    } */
}
