/* LAYOUT */
.cb-textimg-teaser .cb-block-inner {
	display: flex;
}
/* Text-Spalte */
.cb-textimg-teaser .cb-block-col-text {
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 40%;
	position: relative;
	padding: 4rem 4rem 5rem 3rem;
}
.cb-textimg-teaser .cb-block-col-text h2 {
	font-family: "Tertre";
	text-transform: uppercase;
	font-size: 1.25em;
	font-weight: bold;
	line-height: normal;
	margin-bottom: 1em;
}
.cb-textimg-teaser .cb-block-button-wrapper {
	display: flex;
	flex-flow: row wrap;
	margin-top: 5em;
	gap:1em;
}
.cb-textimg-teaser .cb-block-button-wrapper div {
	flex-basis: 47%;
	margin-bottom: 1.5em;
}
.cb-textimg-teaser .cb-block-button-wrapper a {
	width: fit-content;
	position: relative;
}
.cb-textimg-teaser .cb-block-button-wrapper a:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.25em;
	height: 2px;
	width: 2.5em;
	background-color: var(--black);
	transition: width ease 0.3s;
}
.cb-textimg-teaser .cb-block-button-wrapper a:hover {
	color: var(--black);
}
.cb-textimg-teaser .cb-block-button-wrapper a:hover:after {
	width: 100%;
}

/* Bild-Spalte */
.cb-textimg-teaser .cb-block-col-img {
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 60%;
}
.cb-textimg-teaser .cb-block-col-img img {
	max-height: 500px;
	min-height: 100%; /* ich habe keine Ahnung, warum das funktioniert... */
	width: 100%;
	object-fit: cover;
}

@media only screen and (max-width: 786px){
	.cb-textimg-teaser .cb-block-inner {
		flex-flow: column-reverse;
	}
	.cb-textimg-teaser .cb-block-col-text {
		padding: 1rem 1rem 2rem 1rem;
	}
}