/* DJV Startseite: nur Inhalt der Startseite (Themen-Raster). Layout steht in layout.css. */

.djv-suche--inhalt {
	width: 50%;
	margin-top: 22px;
}

.djv-suche--inhalt input.djv-suche__feld[type="search"] {
	height: 44px;
	font-size: 15px;
}

.djv-h1 {
	margin: 0;
	color: var(--djv-blau);
	font-family: "Work Sans", sans-serif;
	font-size: 58px;
	font-weight: 700;
	line-height: 1.05;
	overflow-wrap: break-word;
}

.djv-intro {
	margin: 8px 0 0;
	color: var(--djv-text);
	font-size: 16px;
	line-height: 1.5;
}

.djv-h2 {
	margin: 0;
	padding: 80px 0 20px;
	color: var(--djv-blau);
	font-family: "Work Sans", sans-serif;
	font-size: 42px;
	font-weight: 300;
	line-height: 1.2;
}

/* Themen-Raster */
.djv-raster {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.djv-kachel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--djv-kachel);
}

.djv-kachel__bild {
	flex: 0 0 222px;
	height: 222px;
	overflow: hidden;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.djv-kachel__inhalt {
	padding: 30px 40px;
}

.djv-kachel__kat {
	margin-bottom: 10px;
}

.djv-kachel__titel {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0 40px 8px 0;
	color: var(--djv-orange);
	font-family: "Work Sans", sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.6;
}

.djv-kachel__titel::after {
	content: "";
	display: block;
	width: 30%;
	height: 3px;
	background: var(--djv-blau);
}

.djv-kachel__liste {
	margin: 0;
	padding: 0;
	list-style: none;
}

.djv-kachel__liste li {
	padding: 5px 0;
}

.djv-kachel__liste a {
	color: var(--djv-blau);
	font-weight: 500;
	overflow-wrap: anywhere;
}

.djv-kachel__rest {
	margin: 10px 0 0;
	color: var(--djv-text);
}

/* Tablet 768 bis 1024 */
@media (max-width: 1024px) {
	.djv-raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobil */
@media (max-width: 767px) {
	.djv-raster {
		grid-template-columns: minmax(0, 1fr);
	}
	.djv-h1 {
		font-size: 25px;
		line-height: 1.15;
	}
	.djv-h2 {
		font-size: 21px;
		padding: 50px 0 16px;
	}
	.djv-suche--inhalt {
		width: 100%;
	}
	.djv-kachel__inhalt {
		padding: 24px 24px;
	}
}

.djv-kachel__bild .djv-kachel__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
