/* fira-sans-condensed-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 200;
  src: url('/assets/fonts/fira-sans-condensed/fira-sans-condensed-v11-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-condensed-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/fira-sans-condensed/fira-sans-condensed-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-condensed-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/fira-sans-condensed/fira-sans-condensed-v11-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-condensed-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 800;
  src: url('/assets/fonts/fira-sans-condensed/fira-sans-condensed-v11-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
body {
    font-family: 'Fira Sans Condensed',"Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

.grid-container {
    max-width: 125rem;
}
/* Helper */
h1, h2, h3{
	color: #177357;
}
.h1-outer span, .h2-outer span, .h3-outer span{
	color: #e22f22;
}
img.rot{
    border: solid 8px #e22f22;
}
img.orange{
    border: solid 8px #fb7e06;
}
img.blau{
    border: solid 8px #067dcd;
}
.cblock a.extlink:after
{
    font-family: "Font Awesome 5 Free";
    content: "\f35d";
    padding-left:7px;
    font-size: 1em;
    font-weight: 600;
}
.cblock a.no-extlink:after{
    content: "" !important;
}
.migxcontent .grid-x .cell {
    display: flex;
}
/* CGI - Button */
.ci-button{
	background-color: #e22f22;
	border: solid 2px #e22f22;
	font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem);
	margin-bottom: 0;
	padding-left: clamp(1.5rem, 0.9rem + 0.35vw, 2rem);
	padding-right: clamp(1.5rem, 0.9rem + 0.35vw, 2rem);
}
.ci-button:hover, .cgi-button:focus {
    background-color: #197256;
}
/* Banner */
.banner{
	position: relative;
}
.banner-inner{
	position: absolute;
	width: 100%;
	top: 30%;
}
.banner-inner-content{
	color: #fff;
}
.banner-inner-content h1{
	font-weight: 800;
	color: #fff;
}
.banner-inner-content span{
	background-color: #fff;
	color: #e22f22;
	text-transform: uppercase;
	font-weight: 800;
}
/* Leistungen */
.LeistungenOuter{
	position: relative;
}
.LeistungenContent{
	position: absolute;
	bottom: 0;
	background: #197256d6;
	width: 100%;
	padding: 1rem 0.75rem;
	color: #fff;
}
.LeistungenOuter::before,
.LeistungenOuter::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 3px;
    background: #e22f22;
    transition: width 0.5s ease;
    z-index: 10;
}

.LeistungenOuter::before {
    top: 0;
}

.LeistungenOuter::after {
    bottom: 0;
}

.LeistungenOuter:hover::before,
.LeistungenOuter:hover::after {
    width: 100%;
}
/*items*/
.greenBoxinner{
	background: #197256;
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.greenBoxinner > .right{
		border-left: 4px solid #e22f22;
	}
}
@media screen and (max-width: 39.9375em) {
	.greenBoxinner > .right{
		border-top: 4px solid #e22f22;
	}
}
.greenBoxinner p{
	color: #fff;
	padding: 1rem;
	margin-bottom: 0;
}
.greenBox  div.left{
    background-position: top right;
	background-repeat: no-repeat;	
	background-size: 100% 100%;
}
.greenBox  div.right{
    background-position: top left;
	background-repeat: no-repeat;
}
@media screen and (max-width: 0em), screen and  (max-width: 63.9375em) {
	.greenBox  div.right{
		background-position: center;
	}
}

.markeninner img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.markeninner a:hover img,
.markeninner a:focus img {
    filter: grayscale(0%);
    opacity: 1;
}
/* Gray-Box */
.gray-box{
	background-color: #f5f5f5;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
}
.number{
	font-size: clamp(1.5rem, 0.9rem + 0.35vw, 2rem);
	color: #177357;
}
.numberOuter {
    position: relative;
}
.numberOuter::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 60px;
    background: #e62b2b;
    top: 50%;
    right: 5px;
    transform: translateY(-50%) rotate(28deg);
    transform-origin: center;
}
.gray-box-img {
    min-height: 500px;
	background-image: url('/assets/bilder/kompetenz/kometenz-startseite-zirm.jpg');
    
    background-size: cover;
    background-position: center;

    clip-path: polygon(
        0 0,
        85% 0,
        100% 50%,
        85% 100%,
        0 100%
    );
}
@media screen and (max-width: 39.9375em) {
	.gray-box-img {
		clip-path: polygon(
			0 0,
			100% 0,
			100% 85%,
			50% 100%,
			0 85%
		);
	}
}
/* PDF Link */
.cblock a.pdflink:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f1c1";
    padding-right: 0.5rem;
}
/* Navigation */
#navigation{
    padding-bottom: 15px;
}
.main-nav ul {
    width: 100%;
}
.main-nav li {
	float: left;
	list-style: none;
	padding-right: 25px;
}
.main-nav li a{
	
	font-size: 1.5vw;
	color: #177357;
}
.main_nav_outer, .main_nav_anfrage{
	display: flex;
    -ms-flex-align: center;
    align-items: center;
}
/* Mobilnav */
.mobil-nav{
    width: 100%;
	color: #177357;
}
.navigation{
    
}
.mobil-nav .top-bar-menu{
    color: #177357;
}
.mobil-nav .menu-icon.dark::after{
    background: #177357;
    box-shadow: 0 7px 0 #177357, 0 14px 0 #177357;
}
.mobil-nav a{
    color: #177357;
}
.mobil-nav li:hover a{
    font-weight: bold;
}
.mobil-nav li li a, .mobil-nav li:hover li a{
    font-weight: normal;
}
.mobil-nav li li:hover a{
    font-weight: bold;
}
.mobil-nav .menu .active > a{
    background: none;
    text-decoration: underline;
}
.off-canvas a, .menu a{
	color: #177357;
}
.menu .active>a {
	background: #177357;
	color: #fff;
}

.off-canvas{
	background-color: #fff;
}
/* Sidenavigation */
.sidenav ul{
    list-style: none;
}

.sidenav .level1{
    font-size: 1.6rem;
    padding-left: 30px;
}
.sidenav .level2 {
    font-size: 1.3rem;
}
.sidenav .level1::before {
    position: absolute;
    content: url(/assets/img/layout/navicons_level1.png);
    margin-left: -30px;
}
.sidenav .level2::before {
    padding-right: 10px;
    content: url(/assets/img/layout/navicons_level2.png);
}
.sidenav li.active .level2 {
    display: block;
}
/* Termine */
.terminlist{
    padding-bottom: 25px;
}
.day, .month, .year{
	text-align: center;
	color: #ffffff;
	margin-bottom: -5px;
	background: #0f5075;
}
.day{
	font-size: 2rem;
	font-weight: bold;
	position: relative;
}
.day::after{
	display: block;
    border: inset 6px;
    content: '';
    border-left-style: solid;
    border-color: transparent transparent transparent #efeac7;
    position: absolute;
    top: 50%;
    margin-top: -6px;
}
.month, .year{
	font-size: 1.2rem;
}
/** Timeline v2 **/

.timelines h2 {
	text-align: center;
	color: #fff;
	font-weight: 600;
	margin-bottom: 40px;
	font-size: 32px;
}
.d-flex-2 {
	display: flex;
	align-items: center;
}
.timeline-area {
	padding: 80px 0;
}
.all-timelines {
	position: relative;
}
.timelines h2 {
	text-align: center;
	color: #0a0a0a;
	font-weight: 600;
	margin-bottom: 40px;
}
.all-timelines::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	height: 100%;
	width: 2px;
	background: #006e9d;
	top: 20px;
}
.single-timeline {
	margin-bottom: 22px;
}
.timeline-blank {
	width: 50%;
}
.timeline-text {
	width: 50%;
	padding-left: 30px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}
.timeline-text h6 {
	color: #006e9d;
	font-weight: 900;
	display: inline-block;
	font-size: 1rem;
}
.timeline-text span {
	color: #0a0a0a;
	display: block;
	width: 100%;
}
.single-timeline:nth-child(even) .timeline-text span {
	text-align: right;
}
.t-square {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	left: -6px;
	background: #006e9d;
}
.single-timeline:nth-child(even) {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}
.single-timeline:nth-child(even) .t-square {
	right: -6px;
	left: unset;
}
.single-timeline:nth-child(even) .timeline-text {
	padding-left: 0;
	padding-right: 30px;
	text-align: right;
}

@media all and (max-width: 991px) {
}
@media all and (max-width: 768px) {
	.all-timelines::before {
		right: unset;
		top: 0;
	}
	.single-timeline:nth-child(2n) .timeline-text {
		padding-left: 30px;
		padding-right: 0;
		text-align: left;
	}
	.single-timeline:nth-child(2n) .t-square {
		left: -6px;
		right: unset;
	}
	.timeline-blank {
		display: none;
	}
	.timeline-text {
		width: 100%; 
	}
	.single-timeline:nth-child(even) .timeline-text span {
		text-align: left !important;
	}
}
@media all and (max-width: 575px) {
}
@media all and (max-width: 360px) {
	.all-timelines::before {
		top: 32px;
	}
}

/** Timeline V2 - ENDE **/
/* Blog */
.aktItem{
	background-color: #f5f5f5;
}
.aktText{
	color: #323232;
	padding-top: 1rem;
	overflow-wrap: break-word;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto; 
}
.aktText .title{
	color: #197256;
}
.aktBild img{
	margin-left: -0.9375rem;
}
.read-more{
	color: #e22f22;
}
.posts{
    padding-top: 25px;
}
.post_date{
    padding-right: 5px;
}
.post_text{
    padding-left: 15px;
}
.post{
	padding-bottom: 25px;
}
.post h2{
		font-size: 1.5rem;
		line-height: 1.1;
}
.post h2 a{
	color: #e30613;
	font-size: 1.5rem;
}
.vorschau{
	border: solid 5px #5a5a5a;
}
.day{
	font-size: 2rem;
	font-weight: bold;
	background: #e30613;
}
.month, .year{
	font-size: 1.2rem;
	background: #9d9c98;
}
.readmore{
	background-color: transparent;
	border: 1px solid #5a5a5a;
    border-radius: 5px;
    color: #5a5a5a;
    padding-left: 35px;
    padding-right: 35px;
    float: right;
}
.readmore:hover, .readmore:focus {
    background-color: #ebebeb;
    color: #5a5a5a;
}
.aktuelles a.readmore{
    position: absolute;
    bottom: 0;
}
.paging{
	padding-bottom: 25px;
}
.paging li:before{
	content: none !important;
}
.paging li{
	float:left;
	list-style: none;
	padding-right: 15px;
}
.blogTags h3, .blogArchiv h3{
    color: #0f5075;
    font-size: 1.5rem;
}
.blogTags a, .blogArchiv a{
	color: #5a5a5a;
}
.blogTags ul, .blogArchiv ul{
    list-style: none;
}
/* Kontakt */
.faerstaeggt {
    display: none;
}
.content input.error, .content textarea.error, .content div.error {
    border-color: #ff0000;
}
.content div.error {
    border: dotted 1px #ff0000;
}
.alert .alert-error{
    color: #ff0000;
}
.kontaktForm tbody tr:nth-child(even), .kontaktForm tr{
    background: none;
}
.kontaktForm tbody{
    border: none;
}
/* Footer */
.footer, .footer a{
	color: #fff;
}
.footer a:hover,.footer a:focus{
	color: #fff;
	text-decoration: underline;
	text-decoration-color: #e22f22;
}
.footer-outer{
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: #197256;
}
.footer-top{
	margin-top: 2rem;
	display: flex;
    align-items: flex-end;
}
.footer-top img{
	width: 100%;
}
.footer_callout span{
	font-size: 2rem;
}
.footer-nav {
  display: grid;
  justify-content: end;
  gap: 0.25rem;
}
.footer-nav a::before {
  content: "⊙ ";
}
.footer-nav ul{
	list-style: none;
}
/* Back to Top */
	.cd-top {
		z-index:500;
		display: inline-block;
	  	height: 40px;
	  	width: 40px;
	  	position: fixed;
	  	bottom: 53px;
	  	right: 10px;
	  	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	  /* image replacement properties */
	  	overflow: hidden;
	  	text-indent: 100%;
	  	white-space: nowrap;
	  	background: rgba(120, 138, 146, 0.8) url(/assets/img/layout/cd-top-arrow.svg) no-repeat center 50%;
	  	/*visibility: hidden;*/
	  	opacity: 0;
	  	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	  	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	  	transition: opacity .3s 0s, visibility 0s .3s;
	}
	.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	  	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	  	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	  	transition: opacity .3s 0s, visibility 0s 0s;
	}
	.cd-top.cd-is-visible {
	  /* the button becomes visible */
	  visibility: visible;
	  opacity: 1;
	}
	.cd-top.cd-fade-out {
	  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	  	opacity: .5;
	}
	.no-touch .cd-top:hover {
	  	background-color: #788a92;
	  	opacity: 1;
	}
/* 4K-Anpassungen  */
@media screen and (min-width: 1980px){
    .main-nav li a{
        font-size: 1.6rem;    
    }
    .banner img{
        width: 100%;
    }
}

/* ================================================================
   Leistungsdetailseiten / MIGX Inhaltsbausteine 2026 – Layout v2
   Responsive, ohne zwingende Schrägen / clip-paths.
   Alle Inhaltsbereiche bleiben über MultiColumn/MIGX sortierbar.
   ================================================================ */

/* Desktop-Subnavigation */
.main-nav > nav > ul {
    display: flex;
    align-items: center;
    margin: 0;
}
.main-nav > nav > ul > li {
    float: none;
    position: relative;
}
.main-nav > nav > ul > li.has-submenu > a::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    font-size: .7em;
    padding-left: .4rem;
}
.main-nav > nav > ul > li > ul {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    min-width: 18rem;
    margin: 0;
    padding: .5rem 0;
    background: #fff;
    border-top: 3px solid #e22f22;
    box-shadow: 0 12px 28px rgba(0,0,0,.15);
}
.main-nav > nav > ul > li:hover > ul,
.main-nav > nav > ul > li:focus-within > ul {
    display: block;
}
.main-nav > nav > ul > li > ul > li {
    float: none;
    display: block;
    width: 100%;
    padding: 0;
}
.main-nav > nav > ul > li > ul > li a {
    display: block;
    width: 100%;
    padding: .7rem 1rem;
    font-size: 1.05rem;
    line-height: 1.25;
    white-space: nowrap;
    color: #177357;
}
.main-nav > nav > ul > li > ul > li a:hover,
.main-nav > nav > ul > li > ul > li a:focus,
.main-nav > nav > ul > li > ul > li.active > a {
    color: #fff;
    background: #177357;
}

/* Grundgerüst */
.leistung-detail {
    overflow: hidden;
    background: #fff;
}
.ld-breadcrumb-bar {
    background: #0e674e;
    color: #fff;
}
.ld-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    min-height: 2.55rem;
    font-size: .88rem;
}
.ld-breadcrumb,
.ld-breadcrumb a {
    color: #fff;
}
.ld-breadcrumb a:hover,
.ld-breadcrumb a:focus {
    text-decoration: underline;
}

/* Das MIGX ist zugleich das FAQ-2-Spalten-Raster. Alle normalen Rows
   spannen über beide Spalten, einzelne FAQ-Einträge jeweils über eine. */
.leistung-detail__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 0;
}
.leistung-detail__content > *:not(.ld-faq-item) {
    grid-column: 1 / -1;
}
/* Das bestehende globale .migxcontent .grid-x .cell {display:flex}
   wird für die neue Leistungsseite zurückgesetzt. */
.leistung-detail .grid-x > .cell {
    display: block;
}

.ld-section {
    position: relative;
    z-index: 0;
    margin: 0;
    padding: clamp(2.5rem, 4.5vw, 5rem) 0;
}
.ld-section::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #fff;
}
.ld-section > * {
    position: relative;
    z-index: 1;
}
.ld-section--white::before,
.ld-hero::before,
.ld-final::before {
    background: #fff;
}
.ld-section--light::before {
    background: #f4f5f4;
}
.ld-section--green::before {
    background: #0e674e;
}
.ld-section--green,
.ld-section--green h1,
.ld-section--green h2,
.ld-section--green h3,
.ld-section--green h4,
.ld-section--green .ld-richtext,
.ld-section--green .ld-richtext p,
.ld-section--green .ld-richtext li {
    color: #fff;
}

.ld-kicker {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
    color: #414a46;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .055em;
    line-height: 1.25;
    text-transform: uppercase;
}
.ld-kicker::before {
    content: "";
    display: inline-block;
    flex: 0 0 1.85rem;
    width: 1.85rem;
    height: 3px;
    background: #e22f22;
}
.ld-section--green .ld-kicker {
    color: #fff;
}
.ld-section__title {
    max-width: none;
    margin: 0 0 1rem;
    color: #075b44;
    font-size: clamp(2rem, 1.55rem + 1.25vw, 3.25rem);
    font-weight: 800;
    line-height: 1.02;
}
.ld-richtext {
    font-size: clamp(1rem, .95rem + .12vw, 1.125rem);
    line-height: 1.5;
}
.ld-richtext > :last-child,
.ld-card > :last-child,
.ld-benefit .ld-richtext > :last-child,
.ld-method-card .ld-richtext > :last-child,
.ld-faq-item__answer > :last-child {
    margin-bottom: 0;
}
.ld-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem;
    margin-top: 1.5rem;
}
.ld-actions .button {
    margin: 0;
}
.ld-button-outline {
    border: 1px solid #177357;
    color: #0e674e;
    background: transparent;
}
.ld-button-outline:hover,
.ld-button-outline:focus {
    border-color: #0e674e;
    color: #fff;
    background: #0e674e;
}

/* Hero – nahe am Entwurf, aber ohne fragile diagonale Geometrie */
.ld-hero {
    padding: 0;
}
.ld-hero .grid-x {
    min-height: clamp(31rem, 44vw, 44rem);
}
.ld-hero__copy {
    display: flex !important;
    align-items: center;
    order: 1;
    background: #fff;
}
.ld-hero__copy-inner {
    width: 100%;
    padding: clamp(2.5rem, 5vw, 6rem) clamp(1rem, 4vw, 5rem) clamp(2.5rem, 5vw, 6rem) 0;
}
.ld-hero__title {
    max-width: none;
    margin: 0 0 1.25rem;
    color: #075b44;
    font-size: clamp(3rem, 2.15rem + 2.25vw, 5.75rem);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.025em;
}
.ld-hero__text {
    max-width: 38rem;
}
.ld-hero__media {
    position: relative;
    display: flex !important;
    min-height: 30rem;
    order: 2;
    overflow: hidden;
    background: #dfe4e1;
}
.ld-hero__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ld-hero__badge {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(15.5rem, 38%);
    padding: 1.8rem 1.7rem;
    color: #fff;
    background: rgba(14,103,78,.96);
    font-size: 1.15rem;
    line-height: 1.25;
}
.ld-hero__badge::after {
    content: "";
    display: block;
    width: 2rem;
    height: 3px;
    margin-top: 1rem;
    background: #fff;
}
.ld-hero__badge p:last-child {
    margin-bottom: 0;
}

/* Intro + 4 Vorteile */
.ld-intro-benefits__intro {
    padding-right: clamp(0rem, 2vw, 2rem);
}
.ld-benefits-grid {
    border-top: 1px solid #dde3df;
    border-left: 1px solid #dde3df;
}
.ld-benefit {
    display: grid !important;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    min-height: 10.5rem;
    padding: clamp(1.25rem, 2.2vw, 2rem);
    border-right: 1px solid #dde3df;
    border-bottom: 1px solid #dde3df;
    background: rgba(255,255,255,.65);
}
.ld-benefit__icon {
    color: #0e674e;
    font-size: 2rem;
    line-height: 1;
}
.ld-benefit h3 {
    margin: 0 0 .4rem;
    color: #15231e;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.08;
}
.ld-benefit .ld-richtext {
    font-size: .95rem;
}

/* Dämmmethoden */
.ld-methods__intro {
    padding-right: clamp(0rem, 2vw, 2rem);
}
.ld-methods__button {
    margin-top: 1.25rem;
}
.ld-method-card {
    height: 100%;
    background: transparent;
}
.ld-method-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 2.55;
    margin-bottom: .85rem;
    object-fit: cover;
}
.ld-method-card h3 {
    margin: 0 0 .35rem;
    color: #075b44;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.12;
}
.ld-method-card .ld-richtext {
    font-size: .95rem;
}

/* Bild + Text */
.ld-image-text {
    padding-top: clamp(2.5rem, 4vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 4vw, 4.5rem);
}
.ld-image-text__row {
    min-height: 30rem;
}
.ld-image-text__media {
    display: flex !important;
    overflow: hidden;
    background: #e8ece9;
}
.ld-image-text__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 30rem;
    object-fit: cover;
}
.ld-image-text__content {
    display: flex !important;
    align-items: center;
}
.ld-image-text__content .ld-section__body {
    width: 100%;
    padding: clamp(2rem, 4vw, 4.5rem);
}
.ld-image-text--right .ld-image-text__media {
    order: 2;
}
.ld-image-text--right .ld-image-text__content {
    order: 1;
}
.ld-check-list ul {
    margin-left: 0;
    list-style: none;
}
.ld-check-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: .55rem;
}
.ld-check-list li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f058";
    position: absolute;
    left: 0;
    top: .05rem;
    color: #0e674e;
}

/* Sanierungscheck – 6 kompakte Kacheln */
.ld-sanierungscheck__intro {
    max-width: 58rem;
    margin-bottom: 1.6rem;
}
.ld-check-grid > .cell {
    display: flex !important;
}
.ld-check-card {
    width: 100%;
    min-height: 12rem;
    padding: 1.35rem 1rem;
    text-align: center;
    background: #fff;
    border: 1px solid #eaeeeb;
}
.ld-check-card > i {
    display: block;
    margin: .1rem 0 .9rem;
    color: #0e674e;
    font-size: 2rem;
}
.ld-check-card h3 {
    margin: 0 0 .45rem;
    color: #26332e;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}
.ld-check-card div {
    color: #5b635f;
    font-size: .88rem;
    line-height: 1.3;
}
.ld-check-card div p:last-child {
    margin-bottom: 0;
}

/* Grüner CTA mit optionalem Hintergrundbild */
.ld-cta {
    color: #fff;
    overflow: visible;
}
.ld-cta::before {
    z-index: 1;
    background: rgba(0,92,67,.93);
}
.ld-cta__bg {
    position: absolute !important;
    z-index: 0 !important;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    object-fit: cover;
}
.ld-cta__content {
    z-index: 2 !important;
}
.ld-cta .ld-section__title {
    max-width: 60rem;
    color: #fff;
}
.ld-cta__buttons {
    justify-content: flex-end;
}
.ld-button-secondary {
    border-color: #fff;
    color: #fff;
    background: transparent;
}
.ld-button-secondary:hover,
.ld-button-secondary:focus {
    border-color: #fff;
    background: #fff;
    color: #0e674e;
}

/* FAQ – einzelne MIGX-Rows bilden auf Desktop automatisch 2 Spalten */
.ld-faq-item {
    width: 100%;
    margin: 0 0 .65rem;
    background: #f3f4f3;
    border: 0;
}
.ld-faq-item summary {
    position: relative;
    padding: 1rem 3.2rem 1rem 1.15rem;
    cursor: pointer;
    color: #25312d;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    list-style: none;
}
.ld-faq-item summary::-webkit-details-marker {
    display: none;
}
.ld-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: #0e674e;
    font-size: 1.4rem;
    font-weight: 400;
}
.ld-faq-item[open] summary::after {
    content: "−";
}
.ld-faq-item__answer {
    padding: 0 1.15rem 1.1rem;
    color: #434b47;
}
.ld-faq-item[open] {
    box-shadow: inset 0 3px 0 #e22f22;
}

/* Abschlussbereich */
.ld-final {
    margin-top: clamp(2.5rem, 4vw, 4.5rem);
    padding-top: 0;
    padding-bottom: 0;
    border-top: 1px solid #e4e8e5;
}
.ld-final .grid-x {
    min-height: 21rem;
}
.ld-final__media {
    display: flex !important;
    overflow: hidden;
    background: #e8ece9;
}
.ld-final__media img {
    width: 100%;
    height: 100%;
    min-height: 21rem;
    object-fit: cover;
}
.ld-final__content {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 3.5vw, 4rem);
}
.ld-final__quote {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.ld-final__quote blockquote {
    position: relative;
    margin: 0;
    padding: 0 0 1rem;
    border: 0;
    color: #34413c;
    font-size: clamp(1.45rem, 1.15rem + .55vw, 2rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.25;
}
.ld-final__quote blockquote::after {
    content: "";
    display: block;
    width: 2rem;
    height: 3px;
    margin-top: 1rem;
    background: #e22f22;
}

/* weiterhin verfügbare generische Karten-Bausteine */
.ld-cards .grid-x > .cell {
    display: flex !important;
}
.ld-card {
    width: 100%;
    padding: 1.3rem;
    background: #fff;
    border-top: 3px solid #e22f22;
    box-shadow: 0 6px 20px rgba(0,0,0,.055);
}
.ld-card h3,
.ld-card h4 {
    margin-top: 0;
    color: #075b44;
    font-weight: 800;
}
.ld-text .ld-section__inner {
    max-width: 76rem;
}

/* Tablet */
@media screen and (max-width: 63.9375em) {
    .ld-hero .grid-x {
        min-height: 0;
    }
    .ld-hero__copy-inner {
        padding-right: 2rem;
    }
    .ld-hero__badge {
        width: min(16rem, 46%);
    }
    .ld-methods__intro {
        margin-bottom: 1rem;
    }
    .ld-cta__buttons {
        justify-content: flex-start;
    }
    .ld-final__quote {
        text-align: left;
    }
}

/* Smartphone */
@media screen and (max-width: 39.9375em) {
    .ld-breadcrumb {
        min-height: 2.25rem;
        font-size: .78rem;
    }
    .leistung-detail__content {
        grid-template-columns: 1fr;
    }
    .leistung-detail__content > * {
        grid-column: 1 / -1;
    }
    .ld-section {
        padding: 2.5rem 0;
    }
    .ld-kicker {
        font-size: .74rem;
    }
    .ld-section__title {
        font-size: clamp(1.8rem, 8.7vw, 2.5rem);
    }
    .ld-actions {
        display: block;
    }
    .ld-actions .button {
        display: block;
        width: 100%;
        margin: 0 0 .7rem;
        text-align: center;
    }

    /* Mobil bewusst ohne Überlagerung oder Schrägen: Bild oben, Text darunter. */
    .ld-hero {
        padding: 0;
    }
    .ld-hero__media {
        min-height: 16.5rem;
        order: 1;
    }
    .ld-hero__copy {
        order: 2;
    }
    .ld-hero__copy-inner {
        padding: 2.35rem 0 2.75rem;
    }
    .ld-hero__title {
        max-width: none;
        font-size: clamp(2.55rem, 13vw, 3.7rem);
    }
    .ld-hero__badge {
        position: absolute;
        right: 0;
        bottom: 0;
        width: min(14rem, 66%);
        padding: 1rem 1.1rem;
        font-size: .96rem;
    }
    .ld-benefit {
        min-height: 0;
        border-left: 0;
    }
    .ld-benefits-grid {
        border-left: 0;
    }
    .ld-method-card img {
        aspect-ratio: 16 / 8.5;
    }
    .ld-image-text {
        padding: 0;
    }
    .ld-image-text__row {
        min-height: 0;
    }
    .ld-image-text__media,
    .ld-image-text__content,
    .ld-image-text--right .ld-image-text__media,
    .ld-image-text--right .ld-image-text__content {
        order: initial;
    }
    .ld-image-text__media img {
        min-height: 16rem;
        max-height: 22rem;
    }
    .ld-image-text__content .ld-section__body {
        padding: 2.5rem 0;
    }
    .ld-check-card {
        display: grid;
        grid-template-columns: 2.6rem 1fr;
        column-gap: .85rem;
        min-height: 0;
        text-align: left;
    }
    .ld-check-card > i {
        grid-row: 1 / span 2;
        margin-top: .15rem;
        font-size: 1.7rem;
        text-align: center;
    }
    .ld-check-card h3 {
        margin-top: .1rem;
    }
    .ld-cta__bg {
        opacity: .42;
    }
    .ld-faq-item {
        grid-column: 1 / -1;
    }
    .ld-final {
        margin-top: 2.5rem;
    }
    .ld-final__media img {
        min-height: 15rem;
        max-height: 20rem;
    }
    .ld-final__content,
    .ld-final__quote {
        padding: 2.25rem 0;
    }
    .ld-final__quote {
        justify-content: flex-start;
        padding-top: 0;
    }
}
