/* Beginn Teaser-Variante mit Bild */
.homepage .bg-imageteaser {
	background: url(../images/bg-hellblau.jpg) repeat-x 0 0/auto 130px;
	padding: 0 0 30px;
	clear: both;
}

/* wenn die Teaser in der normalen Inhaltsspalte 
	- also nicht auf der Startseite - verwendet werden */
.row.border-bottom .bg-imageteaser {
	background-color: var(--hintergrund);
	padding: 0;
	clear: both;
}

/* ohne padding, wenn die Teaser in der normalen Inhaltsspalte 
	- also nicht auf der Startseite - verwendet werden.
	Dort sind wir bereits in einem container. */
.row.border-bottom .container.imageteaser-wrapper {
	padding-left: 0;
	padding-right: 0;
}

.imageteaser-wrapper .col-12 {
	margin: 15px 0;
}

.imageteaser-wrapper .col-12.heading {
	margin-top: 30px;
	margin-bottom: 0;
	/* text-align: center; */
}

.imageteaser-wrapper .col-12.heading :is(h2, h3, h4, h5, h6) {
	text-align: center;
}



.hoverteaser.image {
	position: relative;
	background: #fff;
	height: 100%; /* stellt sicher, dass bei "kurzen" Inhalten der Hintergrund des umgebenden divs nicht durchscheint B.Luessem 09.08.2018 */
	width: 100%;
	margin: 0 auto;
	padding: 0;
	border: 1px solid #ccc;
	min-height: 300px;
	max-width: 360px;
	box-shadow: 0 0 10px rgba(138, 138, 138, 0.3);
}

.hoverteaser.image .hiding {
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	padding: 0;
	margin: 0;
}

.hoverteaser.image:is(:hover,:focus,:active) .hiding {
	opacity: 0;
}

.hoverteaser.image .hiding .image {
	width: 100%;
	height: 150px;
	display: flex;
	position: relative;
}

.hoverteaser.image .hiding .no-image {
	background-color: #ffdb4d;
	background-image: linear-gradient(rgb(255, 219, 77) 0%, rgb(255, 153, 0) 100%);
	display: block;
	width: 100%;
	height: 150px;
	padding-top: 20%;
	text-align: center;
}

.hoverteaser.image .hiding .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	overflow: hidden;
}

.hoverteaser.image .hiding .image-container .image-caption {
	position: absolute !important; /* important für Druck erforderlich */
	right: 0;
	bottom: calc(100% - 150px);
	background: #fff;
	color: #000;
	padding: 0 5px;
	opacity: 0.75;
	font-size: 1rem;
	line-height: 1.2;
}

.hoverteaser.image .hiding .text {
	padding: 10px 15px;
	min-height: 150px;
}

.hoverteaser.image .hiding .text h3 {
	text-align: left;
	font-size: 1.25rem;
	line-height: 1.5rem;
	margin: 0;
	padding-top: 0;
	hyphens: manual;
	word-break: break-word;
	font-weight: 600;
}

.hoverteaser.image .hiding .text h3 .topline {
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.hoverteaser.image .showing .overlay {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: .5s ease;
	color: #fff;
	letter-spacing: -0.2px;
	text-decoration: none;
}

.hoverteaser.image .showing .overlay:is(:focus,:hover,:active) {
	opacity: 1;
	outline: none;
}

.hoverteaser.image .showing .text {
	padding: 10px 15px;
	flex-grow: 1;
}

.hoverteaser.image .showing p {
	font-size: 1.125rem;
	font-weight: 300;
	padding-bottom: 0;
	margin-bottom: 0;
}

.hoverteaser.image .showing .more {
	border-top: 1px solid #fff;
	padding: 8px 15px 10px;
	width: 100%;
	font-size: 1.125rem;
	font-weight: 300;
	line-height: 1;
}

.hoverteaser.image a .hovertip {
	display: none;
}






@media (min-width: 768px) {
	/* .imageteaser-wrapper .col-12.heading {
		text-align: left;
	} */
	
	.imageteaser-wrapper .col-12.heading :is(h2, h3, h4, h5, h6) {
		text-align: left;
	}
	
	.hoverteaser.image a .hovertip {
		font-size: 0.875rem;
		font-weight: 400;
		line-height: 1.2;
		color: var(--zwei);
		background-color: var(--hintergrund);
		position: absolute;
		left: 0;
		top: calc(100% + 5px);
		z-index: 20;
		display: block;
	}
}





@media (min-width: 992px) {
	/* 50% Breite (statt 33.3333%) wenn die Bild-Teaser in der normalen Inhaltsspalte 
	   - also nicht auf der Startseite - verwendet werden -> nur 2 in einer Zeile. */
	.row.border-bottom .imageteaser-wrapper .col-lg-4 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}




@media (prefers-color-scheme: dark), (inverted-colors: inverted) {
	.homepage .bg-imageteaser {
		background-image: none;
	}
	
	.imageteaser-wrapper .hoverteaser.image {
		background-color: #171717;
		border: none;
		box-shadow: none;
	}
}