#hero {
	position: absolute;
	display: block;
	top: 0px;
	height: 75vh;
	width: 100%;
	min-height: 500px;
	transition: opacity .35s ease;
	transition: transform .3s ease;
}

#hero .inside {
	position: relative;
	height: 75vh;
	min-height: 500px;
}

#hero.header-shift {
    transform: translateY(var(--header_height));
}

#hero .content-image,
#hero .content-image figure {
	height: 75vh;
	min-height: 500px;
	position: relative;
}

#hero .hero_image {
	position: absolute;
	inset: 0;
	z-index: 0;
}

#hero .content-image img,
#hero .content-player video {
	width: 100vw;
    height: 75vh;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

#hero .content-image.right img {
	margin-left: 500px;
	width: calc(100% - 500px);
}

#hero .first_block {
	position: relative;
	display: block;
	max-width: var(--max_width);
	margin: auto;
	margin-top: -70vh;
	padding-left: 60px;
}

#hero .content-text {
	position: absolute;
	top: 50%;
	left: 60px;
	transform: translateY(-50%);
	z-index: 2;
	width: min(600px, calc(100% - 120px));
	height: 75vh;
	min-height: 500px;
	display: flex;
	align-items: center;
	transition: transform .6s cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}

#hero .content-text .rte {
	padding-top: 20%;
}

#hero .hero_text.hero-text-hidden {
	transform: translateX(calc(-150% - 50px)) translateY(-50%);
}

#hero .hero_text.blur {
	isolation: isolate;
}

#hero .hero_text.blur::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	right: -320px;
	bottom: 0;
	left: -60px;
	background: #fff;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	mask-image: linear-gradient(
		90deg,
		#000 0%,
		#000 35%,
		rgba(0, 0, 0, .85) 55%,
		rgba(0, 0, 0, .35) 78%,
		transparent 100%
	);
	-webkit-mask-image: linear-gradient(
		90deg,
		#000 0%,
		#000 35%,
		rgba(0, 0, 0, .85) 55%,
		rgba(0, 0, 0, .35) 78%,
		transparent 100%
	);
}

#hero .hero_text .rte {
	position: relative;
	z-index: 1;
}

.start #hero .content-text {
	color: #000000;
}

#hero .content-text p {
	max-width: 500px;
}

/* Leistungen: Hero-Inhalt an die Vorlage angleichen, ohne den Header zu verändern. */
#hero .hero_text h1 {
	max-width: 600px;
	margin: 0 0 28px;
	color: #17345d;
	font-size: clamp(42px, 5vw, 68px);
	line-height: .98;
	font-weight: 800;
}

#hero .content-text {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

#hero .content-text h1,
#hero .content-text h2 {
	max-width: 600px;
	margin: 0 0 28px;
	color: #17345d;
	font-size: clamp(42px, 5vw, 68px);
	line-height: .98;
	font-weight: 800;
}

#hero .hero_text .rte p {
	color: #17345d;
	font-size: 20px;
	line-height: 1.45;
}

#hero .content-image.blur::after {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    bottom: 0;
	
    background: rgba(2555,255,255,0.95);
	width: max(700px, 60vw);
	min-width: 700px;
    mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 50%,
        transparent 100%
    );

    -webkit-mask-image: linear-gradient(
        90deg,
        #000 00%,
        #000 50%,
        transparent 100%
    );
}

#hero .content-image.blur.right::after {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    bottom: 0;
	
    background: rgba(2555,255,255,1);
	width: clamp(600px, 50vw, 50vw);
    mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 75%,
        transparent 100%
    );

    -webkit-mask-image: linear-gradient(
        90deg,
        #000 00%,
        #000 75%,
        transparent 100%
    );
}



.cards .rs-column {
	width: 32.5%;
	margin-right: 1.0%;
	margin-top: 1%;
}

.cards .rs-column.-large-col-6-1 {
	width: 15.8%;
}

.cards .rs-column.-large-last {
	margin-right: 0px;
}

.card_linkbox1  {
	position: relative;
	color: #000000;
	font-size: 14px;
	line-height: 18px;
	overflow: hidden;
}

.card_linkbox1 h3 {
	padding: 0px 0px;
	margin-bottom: 0px;
}
.card_linkbox1 .text_container {
	transition: transform .4s ease;
	z-index:2;
	padding: 0px 20px;
}
.card_linkbox1 figure {
	overflow: hidden;
	position: relative;
	display: block;
	z-index:1;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
.card_linkbox1 img,
.card_linkbox1 picture {
	display: block;
}

.card_linkbox1 img {
    transition:transform 1.2s cubic-bezier(.22,.61,.36,1);
    transform: scale(1);
}

/* Leistungen-Seite: Inhaltsbereich nach Layoutvorlage, Header bleibt unberührt. */
#container .leistungen-content {
	color: #17345d;
	background: #eaf6fd;
	margin: 0;
}

#container .leistungen-content .leistungen-intro {
	max-width: 1440px;
	margin: 0 auto;
	padding: 74px 70px 110px;
	text-align: center;
}

#container .leistungen-content .leistungen-kicker {
	margin: 0 0 18px;
	color: #ef3033;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

#container .leistungen-content .leistungen-intro h2 {
	max-width: 620px;
	margin: 0 auto 22px;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.08;
	color: #17345d;
}

#container .leistungen-content .leistungen-intro p {
	max-width: 760px;
	margin: 0 auto;
	font-size: 20px;
	line-height: 1.5;
	color: #57728a;
}

#container .leistungen-content .leistung-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(42px, 7vw, 120px);
	max-width: 1440px;
	margin: 0 auto;
	padding: 74px 70px;
	background: #fff;
}

#container .leistungen-content .leistung-row:nth-of-type(odd) {
	background: #eaf6fd;
}

#container .leistungen-content .leistung-row.reverse .leistung-image {
	grid-column: 2;
}

#container .leistungen-content .leistung-row.reverse .leistung-copy {
	grid-column: 1;
	grid-row: 1;
}

#container .leistungen-content .leistung-copy h3 {
	margin: 0 0 20px;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.15;
	color: #17345d;
}

#container .leistungen-content .leistung-copy h3::after {
	content: "";
	display: block;
	width: 74px;
	height: 4px;
	margin-top: 22px;
	background: #ef3033;
}

#container .leistungen-content .leistung-copy p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: #57728a;
}

#container .leistungen-content .leistung-image {
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
}

#container .leistungen-content .leistung-image img {
	display: block;
	width: 100%;
	height: clamp(220px, 22vw, 330px);
	object-fit: cover;
}

@media (max-width: 800px) {
	#container .leistungen-content .leistungen-intro,
	#container .leistungen-content .leistung-row {
		padding: 48px 24px;
	}

	#container .leistungen-content .leistung-row,
	#container .leistungen-content .leistung-row.reverse {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
	}

	#container .leistungen-content .leistung-row.reverse .leistung-image,
	#container .leistungen-content .leistung-row.reverse .leistung-copy {
		order: initial;
		grid-column: auto;
		grid-row: auto;
	}
}

/* Startseite V1: Leistungen-Artikel mit den vorhandenen Contao-Elementen. */
.layout_v1.start .mod_article.leistungen {
	position: relative;
	margin: 0;
	padding: 74px 36px 86px;
	background: #f7fafc;
	color: #10264b;
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
	align-items: center;
	gap: clamp(44px, 6vw, 96px);
	width: min(1180px, 100%);
	max-width: none;
	margin: 0 auto 54px;
	padding: 0;
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > figure {
	grid-column: 2;
	grid-row: 1;
	width: 100%;
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(16, 38, 75, .12);
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > figure img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > .rte {
	grid-column: 1;
	grid-row: 1;
	max-width: 560px;
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > .rte .leistungen-kicker {
	margin: 0 0 18px;
	color: #2d78c8;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > .rte .leistungen-kicker::before {
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	margin-bottom: 18px;
	background: #2d78c8;
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > .rte h2 {
	margin: 0 0 22px;
	color: #10264b;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.06;
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > .rte p {
	margin: 0 0 16px;
	color: #304c70;
	font-size: 17px;
	line-height: 1.6;
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > .rte .button_blue {
	margin-top: 26px;
}

.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > .rte .button_blue a {
	display: inline-block;
	padding: 14px 22px;
	background: #2d78c8;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.layout_v1.start .mod_article.leistungen > .rs-columns.ce_rs_columns_start {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	width: min(1180px, 100%);
	max-width: none;
	margin: 0 auto;
	padding: 0;
}

.layout_v1.start .mod_article.leistungen > .rs-columns.ce_rs_columns_start > .rs-column {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

.layout_v1.start .mod_article.leistungen > .rs-columns.ce_rs_columns_start .content-text {
	height: 100%;
	padding: 28px 26px 30px;
	border-left: 4px solid #2d78c8;
	background: #fff;
	box-shadow: 0 5px 18px rgba(16, 38, 75, .08);
}

.layout_v1.start .mod_article.leistungen > .rs-columns.ce_rs_columns_start .content-text h2 {
	margin: 0 0 16px;
	color: #10264b;
	font-size: 23px;
	line-height: 1.18;
}

.layout_v1.start .mod_article.leistungen > .rs-columns.ce_rs_columns_start .content-text h2::after {
	content: "";
	display: block;
	width: 30px;
	height: 3px;
	margin-top: 14px;
	background: #2d78c8;
}

.layout_v1.start .mod_article.leistungen > .rs-columns.ce_rs_columns_start .content-text p {
	margin: 0;
	color: #304c70;
	font-size: 14px;
	line-height: 1.55;
}

@media (max-width: 800px) {
	.layout_v1.start .mod_article.leistungen {
		padding: 54px 20px 64px;
	}

	.layout_v1.start .mod_article.leistungen > .max_width.content-text.media {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 30px;
		margin-bottom: 34px;
	}

	.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > .rte {
		order: 1;
		max-width: none;
	}

	.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > figure {
		order: 2;
	}

	.layout_v1.start .mod_article.leistungen > .max_width.content-text.media > figure img {
		height: 240px;
	}

	.layout_v1.start .mod_article.leistungen > .rs-columns.ce_rs_columns_start {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}
.card_linkbox1:hover img {
    transform: scale(1.08);
}

/* Startseite: Teaser im Kartenraster */
.start .second_block {
	padding: 28px 36px 34px;
	background: #eef7ff;
}

.start .mod_article:has(.cards) {
	padding: 28px 36px 34px;
	background: #eef7ff;
}

.start .cards {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	max-width: none;
	margin: 0;
}

/* #teaser.cards übernimmt die Breite des umgebenden Content-Wrappers. */
.start #teaser > .rs-columns.cards {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.start .cards .rs-column,
.start .cards .rs-column.-large-col-6-1,
.start .cards .rs-column.-large-last {
	width: auto;
	margin: 0;
}

.start .card_linkbox1 {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 9px;
	box-shadow: 0 3px 12px rgba(11, 31, 68, .10);
	color: #0b1f44;
}

.start .card_linkbox1 figure {
	width: 100%;
	aspect-ratio: 1.2 / 1;
	border-radius: 9px 9px 0 0;
	background: #dcecff;
}

.start .card_linkbox1 picture,
.start .card_linkbox1 img {
	width: 100%;
	height: 100%;
}

.start .card_linkbox1 img {
	object-fit: cover;
}

.start .card_linkbox1 .text_container {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	padding: 16px 12px 20px;
	text-align: center;
}

.start .card_linkbox1 h3 {
	margin: 0 0 22px;
	color: #0b1f44;
	font-size: clamp(18px, 1.5vw, 24px);
	line-height: 1.15;
	text-align: center;
}

.start .card_linkbox1 h3::after {
	display: block;
	width: 32px;
	height: 3px;
	margin: 12px auto 0;
	background: #ef2929;
	content: "";
}

.start .card_linkbox1 p {
	margin: auto 0 0;
	color: #0b1f44;
	font-size: clamp(14px, 1.1vw, 18px);
	line-height: 1.45;
}

/* Die Startseiten-Teaser verwenden aktuell card_linkbox2. */
.start .card_linkbox2 {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 9px;
	box-shadow: 0 3px 12px rgba(11, 31, 68, .10);
	color: #0b1f44;
}

.start .card_linkbox2 figure {
	width: 100%;
	aspect-ratio: 1.2 / 1;
	height: auto;
	border-radius: 9px 9px 0 0;
	background: #dcecff;
}

.start .card_linkbox2 picture,
.start .card_linkbox2 img {
	width: 100%;
	height: 100%;
}

.start .card_linkbox2 img {
	object-fit: cover;
}

.start .card_linkbox2 .text_container {
	position: static;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: initial;
	height: auto;
	padding: 16px 12px 20px;
	text-align: center;
}

/* Die bereits im Text gepflegten Links werden als Karten-Buttons dargestellt. */
.start #teaser .card_linkbox2 .text_container .rte {
	display: flex;
	flex: 1;
	width: 100%;
	flex-direction: column;
}

.start #teaser .card_linkbox2 .text_container .rte > p:last-child {
	margin: auto 0 0;
	padding-top: 18px;
	text-align: center;
}

.start #teaser .card_linkbox2 .text_container .rte > p:last-child > a:last-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	padding: 10px 18px;
	background: #2d78c8;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, transform .2s ease;
}

.start #teaser .card_linkbox2 .text_container .rte > p:last-child > a:last-child:hover,
.start #teaser .card_linkbox2 .text_container .rte > p:last-child > a:last-child:focus-visible {
	background: #1d5fa5;
	transform: translateY(-2px);
}

.start .card_linkbox2 h3 {
	margin: 0 0 22px;
	color: #0b1f44;
	font-size: clamp(18px, 1.5vw, 24px);
	line-height: 1.15;
	text-align: center;
}

.start .card_linkbox2 h3::after {
	display: block;
	width: 32px;
	height: 3px;
	margin: 12px auto 0;
	background: #ef2929;
	content: "";
}

.start .card_linkbox2 p {
	margin: auto 0 0;
	color: #0b1f44;
	font-size: clamp(14px, 1.1vw, 18px);
	line-height: 1.45;
}

.start .card_linkbox2 .text_container::before {
	display: none;
}

@media (max-width: 1100px) {
	.start .cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 650px) {
	.start .second_block {
		padding: 22px 16px 26px;
	}

	.start .cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

@media (max-width: 600px) {
	.start .cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.start .cards {
		grid-template-columns: 1fr;
	}
}

/* Leistungsseite V1: Contentbereich in der Gestaltung der Startseite. */
.layout_v1 #container .content-text:has(.leistungen-content) {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.layout_v1 #container .leistungen-content {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 72px 36px 92px;
	background: #f7fafc;
	color: #10264b;
}

.layout_v1 #container .leistungen-content > section:first-child {
	width: min(820px, 100%);
	margin: 0 auto 58px;
	text-align: center;
}

.layout_v1 #container .leistungen-content > section:first-child .leistungen-kicker {
	margin: 0 0 18px;
	color: #2d78c8;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.layout_v1 #container .leistungen-content > section:first-child .leistungen-kicker::before {
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	margin: 0 auto 18px;
	background: #2d78c8;
}

.layout_v1 #container .leistungen-content > section:first-child h2 {
	margin: 0 auto 22px;
	color: #10264b;
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.08;
}

.layout_v1 #container .leistungen-content > section:first-child > p:last-child {
	max-width: 720px;
	margin: 0 auto;
	color: #304c70;
	font-size: 17px;
	line-height: 1.6;
}

.layout_v1 #container .leistungen-content > section:not(:first-child) {
	display: grid;
	grid-template-columns: minmax(0, 56%) minmax(0, 44%);
	align-items: stretch;
	width: min(1180px, 100%);
	min-height: 330px;
	margin: 0 auto 28px;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 20px rgba(16, 38, 75, .08);
}

.layout_v1 #container .leistungen-content > section:not(:first-child):nth-child(odd) {
	grid-template-columns: minmax(0, 44%) minmax(0, 56%);
}

.layout_v1 #container .leistungen-content > section:not(:first-child) > figure {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	min-height: 330px;
	margin: 0;
	overflow: hidden;
}

.layout_v1 #container .leistungen-content > section:not(:first-child):nth-child(odd) > figure {
	grid-column: 2;
}

.layout_v1 #container .leistungen-content > section:not(:first-child) > figure img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 330px;
	object-fit: cover;
}

.layout_v1 #container .leistungen-content > section:not(:first-child) > .leistung-copy {
	display: flex;
	grid-column: 2;
	grid-row: 1;
	flex-direction: column;
	justify-content: center;
	padding: 46px 52px;
	background: #fff;
}

.layout_v1 #container .leistungen-content > section:not(:first-child):nth-child(odd) > .leistung-copy {
	grid-column: 1;
}

.layout_v1 #container .leistungen-content > section:not(:first-child) > .leistung-copy h3 {
	margin: 0 0 20px;
	color: #10264b;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.15;
}

.layout_v1 #container .leistungen-content > section:not(:first-child) > .leistung-copy h3::after {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-top: 18px;
	background: #2d78c8;
}

.layout_v1 #container .leistungen-content > section:not(:first-child) > .leistung-copy p {
	margin: 0;
	color: #304c70;
	font-size: 16px;
	line-height: 1.6;
}

.layout_v1 #container .leistungen-content > section:last-child {
	margin-bottom: 0;
}

@media (max-width: 800px) {
	.layout_v1 #container .leistungen-content {
		padding: 54px 20px 66px;
	}

	.layout_v1 #container .leistungen-content > section:first-child {
		margin-bottom: 38px;
		text-align: left;
	}

	.layout_v1 #container .leistungen-content > section:first-child .leistungen-kicker::before {
		margin-left: 0;
	}

	.layout_v1 #container .leistungen-content > section:first-child h2,
	.layout_v1 #container .leistungen-content > section:first-child > p:last-child {
		margin-left: 0;
	}

	.layout_v1 #container .leistungen-content > section:not(:first-child),
	.layout_v1 #container .leistungen-content > section:not(:first-child):nth-child(odd) {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.layout_v1 #container .leistungen-content > section:not(:first-child) > figure,
	.layout_v1 #container .leistungen-content > section:not(:first-child):nth-child(odd) > figure {
		order: 1;
		min-height: 240px;
	}

	.layout_v1 #container .leistungen-content > section:not(:first-child) > figure img {
		height: 240px;
		min-height: 240px;
	}

	.layout_v1 #container .leistungen-content > section:not(:first-child) > .leistung-copy,
	.layout_v1 #container .leistungen-content > section:not(:first-child):nth-child(odd) > .leistung-copy {
		order: 2;
		padding: 32px 26px 36px;
	}
}

/* Projekte V1: Projektinhalte in der Gestaltung der Startseite. */
.layout_v1 #container #article-59 {
	margin: 0;
	padding: 72px 36px 58px;
	background: #f7fafc;
}

.layout_v1 #container #article-59 > .max_width.content-text {
	width: min(820px, 100%);
	max-width: none;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

.layout_v1 #container #article-59 > .max_width.content-text::before {
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	margin: 0 auto 22px;
	background: #2d78c8;
}

.layout_v1 #container #article-59 > .max_width.content-text .rte > p:first-child {
	margin: 0 0 24px;
	color: #304c70;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.6;
}

.layout_v1 #container #article-59 > .max_width.content-text h2 {
	margin: 0 0 22px;
	color: #10264b;
	font-size: clamp(34px, 4vw, 50px);
	line-height: 1.08;
}

.layout_v1 #container #article-59 > .max_width.content-text .rte > p:not(:first-child) {
	margin: 0 0 16px;
	color: #304c70;
	font-size: 16px;
	line-height: 1.6;
}

.layout_v1 #container #article-76 {
	margin: 0;
	padding: 0 36px 92px;
	background: #f7fafc;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text {
	display: grid;
	grid-template-columns: minmax(0, 44%) minmax(0, 56%);
	align-items: stretch;
	width: min(1180px, 100%);
	max-width: none;
	min-height: 360px;
	margin: 0 auto 28px;
	padding: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 20px rgba(16, 38, 75, .08);
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text:nth-of-type(even) {
	grid-template-columns: minmax(0, 56%) minmax(0, 44%);
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: subgrid;
	grid-template-rows: auto;
	min-width: 0;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > figure {
	grid-column: 1;
	grid-row: 1 / span 20;
	width: 100%;
	height: 100%;
	min-height: 360px;
	margin: 0;
	overflow: hidden;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text:nth-of-type(even) > .rte > figure {
	grid-column: 2;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > figure img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > figure figcaption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > h3,
.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > p {
	grid-column: 2;
	margin-right: 0;
	margin-left: 0;
	padding-right: 48px;
	padding-left: 48px;
	color: #304c70;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text:nth-of-type(even) > .rte > h3,
.layout_v1 #container #article-76 > .mod_newslist > .content-text:nth-of-type(even) > .rte > p {
	grid-column: 1;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > h3 {
	align-self: end;
	margin-top: 42px;
	margin-bottom: 18px;
	color: #10264b;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.15;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > h3::after {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-top: 18px;
	background: #2d78c8;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > p {
	align-self: start;
	margin-bottom: 12px;
	font-size: 15px;
	line-height: 1.55;
}

.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > p:last-child {
	margin-bottom: 42px;
}

@media (max-width: 800px) {
	.layout_v1 #container #article-59 {
		padding: 54px 20px 42px;
	}

	.layout_v1 #container #article-59 > .max_width.content-text {
		text-align: left;
	}

	.layout_v1 #container #article-59 > .max_width.content-text::before {
		margin-left: 0;
	}

	.layout_v1 #container #article-76 {
		padding: 0 20px 66px;
	}

	.layout_v1 #container #article-76 > .mod_newslist > .content-text,
	.layout_v1 #container #article-76 > .mod_newslist > .content-text:nth-of-type(even) {
		display: block;
		min-height: 0;
	}

	.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte,
	.layout_v1 #container #article-76 > .mod_newslist > .content-text:nth-of-type(even) > .rte {
		display: flex;
		flex-direction: column;
	}

	.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > figure,
	.layout_v1 #container #article-76 > .mod_newslist > .content-text:nth-of-type(even) > .rte > figure {
		order: 1;
		min-height: 240px;
	}

	.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > figure img {
		height: 240px;
		min-height: 240px;
	}

	.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > h3,
	.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > p,
	.layout_v1 #container #article-76 > .mod_newslist > .content-text:nth-of-type(even) > .rte > h3,
	.layout_v1 #container #article-76 > .mod_newslist > .content-text:nth-of-type(even) > .rte > p {
		grid-column: auto;
		padding-right: 26px;
		padding-left: 26px;
	}

	.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > h3 {
		order: 2;
		margin-top: 30px;
	}

	.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > p {
		order: 3;
	}

	.layout_v1 #container #article-76 > .mod_newslist > .content-text > .rte > p:last-child {
		margin-bottom: 32px;
	}
}


.card_linkbox2 {
	position: relative;
	color: #FFFFFF;
	font-size: 14px;
	line-height: 18px;
	overflow: hidden;
}

.card_linkbox2 h3 {
	color: #FFFFFF;
	font-weight: 900;
	font-size: 25px;
	line-height: 30px;
	margin-bottom: 0px;
}
.card_linkbox2 .content-text {
	position: relative;
	display: flex;
	flex-direction: column;
}

.card_linkbox2 figure {
	overflow: hidden;
	position: relative;
	display: block;
	z-index:1;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
.card_linkbox2 img,
.card_linkbox2 picture {
	display: block;
}

.card_linkbox2 img {
    transition:transform 1.2s cubic-bezier(.22,.61,.36,1);
    transform: scale(1);
}
.card_linkbox2:hover img {
    transform: scale(1.08);
}
.card_linkbox2 .text_container {
	transition: transform .4s ease;
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: end;
	top: 0px;
	height: calc(100% - 60px);
	z-index:2;
	padding: 30px;
}
.card_linkbox2:hover .text_container {
    transform: translateY(-3px);
}

.card_linkbox2 .text_container::before {
    content: "";
    position: absolute;
    left: -230px;
    bottom: -230px;

    width: 600px;
    height: 450px;

    background: radial-gradient(
        ellipse at left bottom,
        rgba(0,0,0,.9) 10%,
        rgba(0,0,0,.65) 30%,
        rgba(0,0,0,.3) 60%,
        transparent 100%
    );

    filter: blur(60px);

    z-index: -1;
}

/* V1-Unterseiten: Hero-H1 auf maximal 50px begrenzen. */
.layout_v1:not(.start) #hero,
.layout_v1:not(.start) #hero .inside,
.layout_v1:not(.start) #hero .content-image,
.layout_v1:not(.start) #hero .content-image figure,
.layout_v1:not(.start) #hero .content-image img,
.layout_v1:not(.start) #hero .content-player video,
.layout_v1:not(.start) #hero .content-text {
	min-height: 700px;
}

.layout_v1:not(.start) #hero .hero_text h1,
.layout_v1:not(.start) #hero .content-text h1 {
	font-size: clamp(34px, 5vw, 50px);
	line-height: 1.08;
}

/* Startseite V1: Karten-Headline etwas weiter vom Bild absetzen, Copy kompakter. */
.layout_v1.start #teaser .card_linkbox2 .text_container {
	padding-top: 28px;
}

.layout_v1.start #teaser .card_linkbox2 .rte p {
	font-size: clamp(13px, 1vw, 16px);
	line-height: 1.45;
}

/* V1-Hero: Textbereich auf Desktop weiter nach rechts einrücken. */
.layout_v1 #hero .content-text {
	--v1-hero-text-left: max(100px, calc((100vw - var(--max_width)) / 2 + var(--padding_l_r) + 41px));
	left: var(--v1-hero-text-left);
	width: min(600px, calc(100% - 160px));
}

/* V1-Startseite: Abstand unter dem festen Header für Logo und Hero-Headline. */
.layout_v1.start #hero .content-text .rte {
	padding-top: 20%;
}

/* V1-Startseite: Hero und Folgecontent müssen dieselbe Mindesthöhe berücksichtigen. */
.layout_v1.start #hero,
.layout_v1.start #hero .inside,
.layout_v1.start #hero .content-image,
.layout_v1.start #hero .content-image figure,
.layout_v1.start #hero .content-image img,
.layout_v1.start #hero .content-player video,
.layout_v1.start #hero .content-text {
	min-height: 700px;
}

.layout_v1 #hero .hero_text.blur::before {
	top: 50%;
	right: -160px;
	bottom: auto;
	left: calc(0px - var(--v1-hero-text-left));
	height: max(75vh, 700px);
	background: #fff;
	transform: translateY(-50%);
	mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 100%);
}

@media (max-width: 800px) {
	.layout_v1 #hero .content-text {
		--v1-hero-text-left: 28px;
		width: calc(100% - 56px);
	}
}

/* Über-uns V1: persönliche Inhaltsseite in der Gestaltung der Startseite. */
.layout_v1 #container #article-58 {
	margin: 0;
	padding: 72px 36px 92px;
	background: #f7fafc;
}

.layout_v1 #container #article-58 > .max_width.content-text {
	box-sizing: border-box;
	width: min(900px, 100%);
	max-width: none;
	margin: 0 auto;
	padding: 48px 54px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(16, 38, 75, .08);
	text-align: center;
}

.layout_v1 #container #article-58 > .max_width.content-text::before {
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	margin: 0 auto 26px;
	background: #2d78c8;
}

.layout_v1 #container #article-58 > .max_width.content-text .rte > p {
	margin: 0 0 20px;
	color: #304c70;
	font-size: 17px;
	line-height: 1.65;
}

.layout_v1 #container #article-58 > .max_width.content-text .rte > p:first-child {
	color: #10264b;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.55;
}

.layout_v1 #container #article-58 > .max_width.content-text .rte > p:last-child {
	margin-top: 30px;
	margin-bottom: 0;
	color: #10264b;
	font-size: 18px;
	font-weight: 600;
}

.layout_v1 #container #article-58 > .max_width.content-text .rte a {
	color: #2d78c8;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

@media (max-width: 800px) {
	.layout_v1 #container #article-58 {
		padding: 54px 20px 66px;
	}

	.layout_v1 #container #article-58 > .max_width.content-text {
		padding: 32px 26px;
		text-align: left;
	}

	.layout_v1 #container #article-58 > .max_width.content-text::before {
		margin-left: 0;
	}

	.layout_v1 #container #article-58 > .max_width.content-text .rte > p:first-child {
		font-size: 18px;
	}
}

/* Sachverständiger V1: Beratungs- und FAQ-Bereich in der Gestaltung der Startseite. */
.layout_v1 #container #article-83 {
	margin: 0;
	padding: 72px 36px 92px;
	background: #f7fafc;
	color: #10264b;
}

.layout_v1 #container #article-83 > .content-text {
	width: min(1180px, 100%);
	max-width: none;
	margin: 0 auto 54px;
	padding: 0;
}

.layout_v1 #container #article-83 > .content-text:first-child {
	text-align: center;
}

.layout_v1 #container #article-83 > .content-text:first-child::before {
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	margin: 0 auto 24px;
	background: #2d78c8;
}

.layout_v1 #container #article-83 > .content-text:first-child h2 {
	margin: 0 0 30px;
	color: #10264b;
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.08;
}

.layout_v1 #container #article-83 > .content-text:first-child .rte {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	text-align: left;
}

.layout_v1 #container #article-83 > .content-text:first-child .rte h3,
.layout_v1 #container #article-83 > .content-text:first-child .rte p {
	margin: 0;
	padding: 22px 24px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(16, 38, 75, .07);
}

.layout_v1 #container #article-83 > .content-text:first-child .rte h3 {
	margin-bottom: -18px;
	padding-bottom: 6px;
	color: #10264b;
	font-size: 18px;
	line-height: 1.25;
}

.layout_v1 #container #article-83 > .content-text:first-child .rte h3::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin-top: 12px;
	background: #2d78c8;
}

.layout_v1 #container #article-83 > .content-text:first-child .rte p {
	color: #304c70;
	font-size: 15px;
	line-height: 1.55;
}

.layout_v1 #container #article-83 > .content-text:nth-child(2) {
	width: min(1180px, 100%);
	margin-bottom: 0;
	padding: 48px 54px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(16, 38, 75, .08);
}

.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte h2,
.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte h3 {
	margin: 28px 0 14px;
	color: #10264b;
	line-height: 1.2;
}

.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte h2 {
	margin-top: 0;
	font-size: clamp(28px, 3vw, 40px);
}

.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte h3 {
	font-size: 23px;
}

.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte h3::after {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-top: 12px;
	background: #2d78c8;
}

.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte p,
.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte li {
	color: #304c70;
	font-size: 15px;
	line-height: 1.6;
}

.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte ul,
.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte ol {
	padding-left: 24px;
}

.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte > p:last-child {
	margin-top: 28px;
	text-align: center;
}

.layout_v1 #container #article-83 > .content-text:nth-child(2) .rte > p:last-child a {
	display: inline-block;
	margin: 6px 4px;
	padding: 12px 18px;
	background: #2d78c8;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

/* Der zweite Inhaltsteil liegt als eigener Artikel innerhalb von article-83. */
.layout_v1 #container #article-142 {
	box-sizing: border-box;
	width: min(1180px, 100%);
	max-width: none;
	margin: 50px auto 54px;
	padding: 48px 54px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(16, 38, 75, .08);
}

.layout_v1 #container #article-142 .content-text {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.layout_v1 #container > #article-142 {
	width: min(1180px, calc(100% - 72px));
}

@media (max-width: 800px) {
	.layout_v1 #container #article-83 {
		padding: 54px 20px 66px;
	}

	.layout_v1 #container #article-83 > .content-text:first-child {
		text-align: left;
	}

	.layout_v1 #container #article-83 > .content-text:first-child::before {
		margin-left: 0;
	}

	.layout_v1 #container #article-83 > .content-text:first-child .rte {
		display: block;
	}

	.layout_v1 #container #article-83 > .content-text:first-child .rte h3,
	.layout_v1 #container #article-83 > .content-text:first-child .rte p {
		margin: 0 0 12px;
	}

	.layout_v1 #container #article-83 > .content-text:nth-child(2) {
		padding: 32px 26px;
	}

	.layout_v1 #container #article-142 {
		margin-bottom: 32px;
		padding: 32px 26px;
	}

	.layout_v1 #container > #article-142 {
		width: calc(100% - 40px);
	}
}

/* Aktuelles V1: Newsbereich in der Gestaltung der Startseite. */
.layout_v1 #container #article-91 {
	margin: 0;
	padding: 72px 36px 92px;
	background: #f7fafc;
}

.layout_v1 #container #article-91 > .max_width.content-text {
	width: min(980px, 100%);
	max-width: none;
	margin: 0 auto;
	padding: 0;
}

.layout_v1 #container #article-91 > .max_width.content-text::before {
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	margin: 0 auto 24px;
	background: #2d78c8;
}

.layout_v1 #container #article-91 > .max_width.content-text .rte {
	text-align: center;
	background: #fff;
	border-left: 4px solid #2d78c8;
	box-shadow: 0 5px 18px rgba(16, 38, 75, .07);
}

.layout_v1 #container #article-91 > .max_width.content-text .rte h2 {
	margin: 0;
	padding: 28px 34px 8px;
	border-left: 0;
	background: transparent;
	color: #10264b;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
	text-align: left;
	box-shadow: none;
}

.layout_v1 #container #article-91 > .max_width.content-text .rte h2::after {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-top: 16px;
	background: #2d78c8;
}

.layout_v1 #container #article-91 > .max_width.content-text .rte p {
	margin: 0;
	padding: 12px 34px 30px;
	background: transparent;
	color: #304c70;
	font-size: 17px;
	line-height: 1.6;
	text-align: left;
	box-shadow: none;
}

@media (max-width: 800px) {
	.layout_v1 #container #article-91 {
		padding: 54px 20px 66px;
	}

	.layout_v1 #container #article-91 > .max_width.content-text::before {
		margin-left: 0;
	}

	.layout_v1 #container #article-91 > .max_width.content-text .rte {
		text-align: left;
	}

	.layout_v1 #container #article-91 > .max_width.content-text .rte h2 {
		padding: 24px 22px 8px;
	}

	.layout_v1 #container #article-91 > .max_width.content-text .rte p {
		padding: 12px 22px 24px;
		font-size: 16px;
	}
}

/* Kontakt V1: Inhaltskarten im Stil der übrigen Informationsseiten. */
.layout_v1 #container #article-60 {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 72px 36px 92px;
	background: #f7fafc;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}


.layout_v1 #container #article-60 > .content-text {
	min-width: 0;
	margin: 0;
	padding: 32px;
	background: #fff;
	border-top: 4px solid #2d78c8;
	box-shadow: 0 5px 18px rgba(16, 38, 75, .07);
}

.layout_v1 #container #article-60 h2 {
	margin: 0 0 24px;
	color: #10264b;
	font-size: clamp(25px, 2.4vw, 34px);
	line-height: 1.15;
}

.layout_v1 #container #article-60 p {
	margin: 0 0 16px;
	color: #304c70;
	font-size: 17px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.layout_v1 #container #article-60 p:last-child {
	margin-bottom: 0;
}

.layout_v1 #container #article-60 a {
	color: #2d78c8;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.layout_v1 #container #article-60 a:hover,
.layout_v1 #container #article-60 a:focus-visible {
	color: #10264b;
}

.layout_v1 #container #article-60 > .ce_form {
	grid-column: 1 / -1;
}

/* Das derzeit feldlose Formular benötigt keinen Platz im Kartenraster. */
.layout_v1 #container #article-60 > .ce_form:not(:has(input:not([type="hidden"]), textarea, select, button)) {
	display: none;
}

@media (max-width: 1100px) {
	.layout_v1 #container #article-60 {
		grid-template-columns: 1fr;
	}

	.layout_v1 #container #article-60 > .content-text:first-child,
	.layout_v1 #container #article-60 > .content-text:last-child {
		max-width: var(--max_width);
	}
}

/* Kontaktformular: Kontaktdaten oben, Nachricht und Formular darunter. */
.layout_v1 #container #article-60 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.layout_v1 #container #article-60 > .content-text:nth-child(2) {
	grid-column: 1 / -1;
	grid-row: 2;
	margin-bottom: -24px;
	box-shadow: none;
	padding-bottom: 16px;
}
.layout_v1 #container #article-60 > .ce_form {
	grid-row: 3;
	padding: 16px 32px 36px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(16, 38, 75, .07);
}
.layout_v1 #article-60 .formbody {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.layout_v1 #article-60 .widget {
	min-width: 0;
	margin: 0;
}
.layout_v1 #article-60 .full-width,
.layout_v1 #article-60 .widget-explanation,
.layout_v1 #article-60 .widget-captcha,
.layout_v1 #article-60 .widget-submit {
	grid-column: 1 / -1;
}
.layout_v1 #article-60 label {
	display: block;
	margin-bottom: 8px;
	color: #10264b;
	font-size: 16px;
	font-weight: 600;
}

.layout_v1 #article-60 input:not([type="hidden"]):not([type="submit"]),
.layout_v1 #article-60 textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #b8c8d9;
	border-radius: 3px;
	background: #f7fafc;
	color: #10264b;
	font: inherit;
	font-size: 16px;
}
.layout_v1 #article-60 textarea {
	min-height: 180px;
	resize: vertical;
}

/* Pflichtbestätigung zur Datenschutzerklärung: eine kompakte Zeile vor dem Senden. */
.layout_v1 #article-60 .widget-checkbox.privacy-check {
	grid-column: 1 / -1;
	min-width: 0;
}
.layout_v1 #article-60 .privacy-check fieldset {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.layout_v1 #article-60 .privacy-check span {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.layout_v1 #article-60 .privacy-check input[type="checkbox"] {
	box-sizing: border-box;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	padding: 0;
	accent-color: #2d78c8;
}
.layout_v1 #article-60 .privacy-check label {
	display: inline;
	margin: 0;
	color: #304c70;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}
.layout_v1 #article-60 input:focus-visible,
.layout_v1 #article-60 textarea:focus-visible,
.layout_v1 #article-60 button:focus-visible {
	outline: 2px solid #2d78c8;
	outline-offset: 3px;
}
.layout_v1 #article-60 button.submit {
	padding: 15px 26px;
	border: 0;
	border-radius: 3px;
	background: #2d78c8;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.layout_v1 #article-60 button.submit:hover {
	background: #10264b;
}

/* Einheitliches Textlink-Styling innerhalb des Hauptinhalts. */
.layout_v1 #main .rte a:not([class*="button"]) {
	color: #2d78c8;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.layout_v1 #main .rte a:not([class*="button"]):hover,
.layout_v1 #main .rte a:not([class*="button"]):focus-visible {
	color: #10264b;
}

/* Button-Links können ihre Klasse am umschließenden Absatz tragen. */
.layout_v1 #main .rte [class*="button"] a,
.layout_v1 #main .rte a[class*="button"] {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
	text-decoration-thickness: initial;
	text-underline-offset: initial;
}

/* Kartenlinks behalten das jeweils eigene Karten- und Button-Styling. */
.layout_v1 #main .card_linkbox1 .rte a,
.layout_v1 #main .card_linkbox2 .rte a {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
	text-decoration-thickness: initial;
	text-underline-offset: initial;
}

.layout_v1 #main .card_linkbox1 .rte [class*="button"] a,
.layout_v1 #main .card_linkbox2 .rte [class*="button"] a,
.layout_v1 #main .card_linkbox1 .rte a[class*="button"],
.layout_v1 #main .card_linkbox2 .rte a[class*="button"] {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}
.layout_v1 #article-60 .error {
	color: #a52323;
}
.layout_v1 #article-60 .form-note p {
	font-size: 14px;
}

/* Inhaltskarten: gleiche Breite, Farben und Oberflächen wie die Projektnews. */
.layout_v1 #container .mod_article:has(> .card) {
	margin: 0;
	padding: 0 36px 92px;
	background: #f7fafc;
}

.layout_v1 #container .card {
	box-sizing: border-box;
	width: min(1180px, 100%);
	max-width: none;
	margin: 0 auto 28px;
	padding: 42px 48px;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	color: #304c70;
	box-shadow: 0 6px 20px rgba(16, 38, 75, .08);
}

.layout_v1 #container .card h2,
.layout_v1 #container .card h3 {
	margin: 0 0 18px;
	color: #10264b;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.15;
}

.layout_v1 #container .card h2::after,
.layout_v1 #container .card h3::after {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-top: 18px;
	background: #2d78c8;
}

.layout_v1 #container .card h2 {
	margin-bottom: 32px;
}

.layout_v1 #container .card p + h3 {
	margin-top: 32px;
}

.layout_v1 #container .card p {
	margin: 0 0 12px;
	color: #304c70;
	font-size: 15px;
	line-height: 1.55;
}

.layout_v1 #container .card p:last-child {
	margin-bottom: 0;
}
/* Textseiten ohne Headbild: Inhalt direkt unter der Menuleiste beginnen lassen. */
body.text #hero {
	display: none !important;
}

body.text #container {
	margin-top: 0 !important;
}

/* Abstand nach dem Textseiten-Inhalt vor dem nachfolgenden Footer-Bereich. */
body.text #main > .inside > .mod_article {
	margin-bottom: clamp(48px, 7vw, 88px);
}

body.text #main > .inside > .mod_article .content-text {
	box-sizing: border-box;
	width: min(100% - 40px, 1080px);
	margin: calc(var(--header_height, 140px) + 16px) auto 0;
	padding: clamp(28px, 5vw, 64px);
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 18px 48px rgba(23, 43, 69, .08);
	color: #26384f;
	font-size: 1rem;
	line-height: 1.75;
}

body.text #main > .inside > .mod_article .content-text h1 {
	margin: 0 0 1.6rem;
	color: #1f3552;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.1;
}

body.text #main > .inside > .mod_article .content-text h2 {
	margin: 2.25rem 0 .75rem;
	color: #263f60;
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
	font-weight: 700;
	line-height: 1.25;
}

body.text #main > .inside > .mod_article .content-text h3 {
	margin: 1.75rem 0 .5rem;
	color: #355579;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
}

body.text #main > .inside > .mod_article .content-text p,
body.text #main > .inside > .mod_article .content-text li {
	max-width: 78ch;
	color: #3b4b60;
	font-size: 1rem;
	line-height: 1.75;
}

body.text #main > .inside > .mod_article .content-text p {
	margin: 0 0 1rem;
}

body.text #main > .inside > .mod_article .content-text ul,
body.text #main > .inside > .mod_article .content-text ol {
	margin: 0 0 1.25rem;
	padding-left: 1.4rem;
}

body.text #main > .inside > .mod_article .content-text a {
	color: #3c78be;
	text-decoration: underline;
	text-underline-offset: .15em;
	text-decoration-thickness: 1px;
}

body.text #main > .inside > .mod_article .content-text a:hover,
body.text #main > .inside > .mod_article .content-text a:focus-visible {
	color: #1f3552;
}

@media (max-width: 640px) {
	body.text #main > .inside > .mod_article .content-text {
		width: calc(100% - 28px);
		margin-top: calc(var(--header_height, 140px) + 12px);
		padding: 24px 20px;
		border-radius: 2px;
		box-shadow: 0 10px 28px rgba(23, 43, 69, .07);
	}

	body.text #main > .inside > .mod_article .content-text h1 {
		margin-bottom: 1.25rem;
	}

	body.text #main > .inside > .mod_article .content-text h2 {
		margin-top: 1.8rem;
	}
}


/* Kontaktseite: gemeinsamer Inhaltsraster auf max_width, Hintergrund vollbreit. */
.layout_v1 #container #article-60 {
	grid-template-columns:
		minmax(0, 1fr)
		minmax(0, calc((var(--max_width) - 24px) / 2))
		minmax(0, calc((var(--max_width) - 24px) / 2))
		minmax(0, 1fr);
}
.layout_v1 #container #article-60 > .content-text:first-child {
	grid-column: 2;
	grid-row: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
}
.layout_v1 #container #article-60 > .content-text:last-child {
	grid-column: 3;
	grid-row: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
}
.layout_v1 #container #article-60 > .content-text:nth-child(2) {
	grid-column: 2 / 4;
	grid-row: 2;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--max_width);
	justify-self: center;
}
.layout_v1 #container #article-60 > .ce_form {
	grid-column: 2 / 4;
	grid-row: 3;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--max_width);
	justify-self: center;
}

@media (max-width: 1752px) {
	.layout_v1 #container #article-60 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.layout_v1 #container #article-60 > .content-text:first-child {
		grid-column: 1;
		grid-row: 1;
	}
	.layout_v1 #container #article-60 > .content-text:last-child {
		grid-column: 2;
		grid-row: 1;
	}
	.layout_v1 #container #article-60 > .content-text:nth-child(2) {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	.layout_v1 #container #article-60 > .ce_form {
		grid-column: 1 / -1;
		grid-row: 3;
	}
}

@media (max-width: 1100px) {
	.layout_v1 #container #article-60 {
		grid-template-columns: minmax(0, 1fr);
	}
	.layout_v1 #container #article-60 > .content-text:first-child {
		grid-column: 1;
		grid-row: 1;
	}
	.layout_v1 #container #article-60 > .content-text:last-child {
		grid-column: 1;
		grid-row: 2;
	}
	.layout_v1 #container #article-60 > .content-text:nth-child(2) {
		grid-column: 1;
		grid-row: 3;
		margin-bottom: 0;
	}
	.layout_v1 #container #article-60 > .ce_form {
		grid-column: 1;
		grid-row: 4;
	}
}
