.text-2-images-wrapper {
    /* grid-template-rows: repeat(3, auto) 10.46875vw; */
}

.text-2-images-headline {
    grid-area: 1 / 4 / span 1 / span 4;
}

.text-2-images-textblock {
    grid-area: 2 / 4 / span 1 / span 3;
    padding-bottom: var(--grid-gap);
}

.text-2-images-img-right {
    grid-area: 2 / 8 / span 2 / span 6;
    aspect-ratio: 880/775;
}

.text-2-images-img-left {
    grid-area: 3 / 2 / span 3 / span 3;
    aspect-ratio: 430/505;
	margin-top: max(2.5rem, 7.5vw);
	align-self: flex-end;
}

.text-2-images-btn-wrapper {
    grid-area: 4 / 8 / span 1 / span 6;
	margin-top: 2em;
	align-self: flex-end;
    column-gap: calc(var(--grid-gap) * 2);
    row-gap: var(--grid-gap);
    flex-wrap: wrap;
}

.text-2-images-img-wrapper {
    background-color: grey;
    font-size: 0;
}

.text-2-images-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-right.text-2-images-wrapper {
    grid-template-rows: repeat(6, auto) 6.875vw;
}

.text-right .text-2-images-img-left {
    grid-area: 1 / 2 / span 6 / span 8;
    aspect-ratio: 1180/770;
}

.text-right .text-2-images-img-right {
    grid-area: 6 / 11 / span 2 / span 3;
    aspect-ratio: 1;
}

.text-right .text-2-images-headline {
    grid-area: 1 / 10 / span 1 / span 3;
    margin-bottom: max(1.5rem, 2.1875vw);
}

.text-right .text-2-images-textblock {
    grid-area: 2 / 10 / span 1 / span 3;
    padding-bottom: 0;
}

.text-right .text-2-images-btn-wrapper {
    grid-area: 4 / 10 / span 1 / span 3;
}

.text-right .text-2-images-headline, .text-right .text-2-images-textblock, .text-right .text-2-images-btn-wrapper {
    margin-left: max(1rem, 2.8125vw);
}

.text-2-images-wanderbetrieb-wrapper {
    grid-area: 1 / 8 / span 1 / span 6;
}

.text-2-images-headline, .text-2-images-wanderbetrieb-wrapper {
    margin-bottom: max(1.5rem, 3.75vw);
}

.text-2-images-wanderbetrieb {
    width: max(7rem, 16.25vw);
}

.text-2-images-additional-textblock {
	grid-area: 5/6/span 2/span 8;
	margin-top: max(1.5rem, 3.75vw);
}

@media (max-width: 1199.98px) {
    .text-2-images-headline {
        grid-area: 1 / 2 / span 1 / span 6;
    }
    
    .text-2-images-textblock {
        grid-area: 2 / 2 / span 1 / span 5;
    }

    .text-right .text-2-images-img-right {
        grid-area: 6 / 10 / span 2 / span 4;
    }

    .text-right.text-2-images-wrapper {
        grid-template-rows: repeat(6, auto) 11vw;
    }
}

@media (max-width: 991.98px) {
    .text-2-images-headline {
        grid-area: 1 / 2 / span 1 / span 12;
    }

    .text-2-images-textblock {
        grid-area: 2 / 2 / span 1 / span 12;
    }

    .text-2-images-img-left {
        grid-area: 3 / 2 / span 2 / span 6;
    }

    .text-2-images-img-right {
        grid-area: 3 / 8 / span 1 / span 6;
        aspect-ratio: unset;
    }

    .text-right.text-2-images-wrapper {
        grid-template-rows: repeat(4, auto);
    }

    .text-right .text-2-images-headline {
        grid-area: 1 / 2 / span 1 / span 12;
    }

    .text-right .text-2-images-textblock {
        grid-area: 2 / 2 / span 1 / span 12;
    }

    .text-right .text-2-images-btn-wrapper {
        grid-area: 3 / 2 / span 1 / span 12;
        margin-block: max(1.5rem, 2.5vw);
    }

    .text-right .text-2-images-img-left {
        grid-area: 4 / 2 / span 1 / span 6;
        aspect-ratio: 4/3;
    }

    .text-right .text-2-images-img-right {
        grid-area: 4 / 8 / span 1 / span 6;
        aspect-ratio: 4/3;
    }

    .text-right .text-2-images-headline, .text-right .text-2-images-textblock, .text-right .text-2-images-btn-wrapper {
        margin-left: unset;
    }

    .text-2-images-wanderbetrieb-wrapper {
        justify-content: flex-end;
        align-items: center;
    }
	
	.text-2-images-additional-textblock {
		grid-area: 5/3/5/span 10;
	}

}

@media (max-width: 575.98px) {
    .text-2-images-wrapper {
        grid-template-rows: repeat(5, auto);
    }

    .text-2-images-img-left {
        grid-area: 4 / 2 / span 1 / span 12;
        aspect-ratio: 4/3;
        margin-top: 2rem;
    }

    .text-2-images-img-right {
        grid-area: 5 / 2 / span 1 / span 12;
        aspect-ratio: 4/3;
        margin-top: 2rem;
    }

    .text-2-images-btn-wrapper {
        grid-area: 3 / 2 / span 1 / span 12;
        margin-top: max(1.5rem, 3.75vw);
    }

    .text-2-images-textblock {
        padding-bottom: 0;
    }

    .text-right .text-2-images-img-left {
        grid-area: 4 / 2 / span 1 / span 12;
        margin-top: unset;
    }

    .text-right .text-2-images-img-right {
        grid-area: 5 / 2 / span 1 / span 12;
    }
	
	.text-2-images-additional-textblock {
		grid-area: 6/2/6/span 12;
	}
}