/* 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, .ci-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: 39px;
}
.main-nav li:last-child {
        padding-right: 5px;
}
.main-nav li a{
	font-size: 1.5vw;
	color: #177357;
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .main-nav li a{
	    font-size: 2.0vw;
    }
    .main-nav li {
        padding-right: 35px;
    }
}
.main_nav_outer, .main_nav_anfrage{
	display: flex;
    -ms-flex-align: center;
    align-items: center;
}
/* Mobilnav */
.mobil-nav{
    width: 100%;
	color: #177357;
}
.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: #fff;
    margin-bottom: -5px;
}

.day {
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    background: #e30613;
}

.month, .year {
    font-size: 1.2rem;
    background: #9d9c98;
}
.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;
}
/** Timeline v2 **/

.d-flex-2 {
	display: flex;
	align-items: center;
}
.timeline-area {
	padding: 80px 0;
}
.all-timelines {
	position: relative;
}
.timelines h2 {
    margin-bottom: 40px;
    color: #0a0a0a;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
}
.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: 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: 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;
}
.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;
}
/* Hollow-Buttons auf hellem Hintergrund: Zirm-Grün, bei Hover Zirm-Rot.
   Die höhere Spezifität überschreibt die blauen Foundation-Defaults. */
.button.hollow.ld-button-outline {
    border-color: #177357;
    color: #177357;
    background-color: transparent;
}
.button.hollow.ld-button-outline:hover,
.button.hollow.ld-button-outline:focus {
    border-color: #e22f22;
    color: #e22f22;
    background-color: transparent;
}

/* 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, 4.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;
    align-items: center;
    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 {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    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;
}
.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;
}
/* Hollow-Buttons auf grünem Hintergrund: Weiß, bei Hover Zirm-Rot. */
.ld-section--green .button.hollow.ld-button-secondary,
.ld-cta .button.hollow.ld-button-secondary {
    border-color: #fff;
    color: #fff;
    background-color: transparent;
}
.ld-section--green .button.hollow.ld-button-secondary:hover,
.ld-section--green .button.hollow.ld-button-secondary:focus,
.ld-cta .button.hollow.ld-button-secondary:hover,
.ld-cta .button.hollow.ld-button-secondary:focus {
    border-color: #e22f22;
    color: #e22f22;
    background-color: transparent;
}

/* 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;
    }
}


/* ========================================================================
   Flachdachisolierungen – Nutzung des bestehenden Leistung-Methoden-Bausteins
   auf grünem Hintergrund. Keine neue MIGX-Vorlage erforderlich.
   ======================================================================== */
.ld-methods.ld-section--green .ld-method-card {
    overflow: hidden;
    height: 100%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.09);
}
.ld-methods.ld-section--green .ld-method-card img {
    margin-bottom: 0;
}
.ld-methods.ld-section--green .ld-method-card h3 {
    margin: 0;
    padding: 1rem 1.2rem .35rem;
    color: #075b44;
}
.ld-methods.ld-section--green .ld-method-card .ld-richtext {
    padding: 0 1.2rem 1.2rem;
    color: #34413c;
}
.ld-methods.ld-section--green .ld-method-card .ld-richtext p,
.ld-methods.ld-section--green .ld-method-card .ld-richtext li {
    color: #34413c;
}

/* ==========================================================
 *    Job Landingpages 2026 – Dachdeckerei Zirm
 *       Anhängen an assets/css/style.css
 *          ========================================================== */
.job-page{background:#f5f5f5;}
.job-breadcrumb{padding:1rem 0 0.75rem;}
.job-page .breadcrumbs{margin:0;}
.job-hero{padding:0 0 2rem;}
.job-hero__panel{background:#fff;border-radius:1rem;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.08);}
.job-hero__copy{padding:2rem 1.5rem 1.5rem;}
.job-kicker{display:flex;align-items:center;gap:.75rem;font-size:.95rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#e22f22;margin-bottom:1rem;}
.job-kicker:after{content:"";display:block;width:3.5rem;height:2px;background:#e22f22;}
.job-hero__title{font-size:clamp(2.4rem,5vw,4rem);line-height:.95;font-weight:800;color:#0a5b49;margin:0 0 1rem;}
.job-hero__lead{font-size:1.2rem;line-height:1.65;color:#333;margin-bottom:1.5rem;}
.job-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;}
.job-actions .button{margin:0;}
.job-button-secondary{background:transparent!important;border:2px solid #177357!important;color:#177357!important;}
.job-button-secondary:hover,.job-button-secondary:focus{border-color:#e22f22!important;color:#e22f22!important;background:transparent!important;}
.job-hero__image-wrap{position:relative;height:100%;}
.job-hero__image{width:100%;height:100%;object-fit:cover;display:block;}
.job-hero__scribble{position:absolute;right:1.25rem;bottom:1.5rem;color:#fff;font-size:2rem;line-height:1.05;font-weight:700;text-align:right;text-shadow:0 4px 18px rgba(0,0,0,.35);max-width:11rem;}
.job-hero__scribble:after{content:"";display:block;width:5rem;height:6px;border-radius:3px;background:#e22f22;margin:.75rem 0 0 auto;transform:rotate(-8deg);}
.job-keyfacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#e6ecea;border-radius:.9rem;overflow:hidden;margin-top:1rem;}
.job-keyfact{background:#fff;padding:1rem;display:flex;align-items:center;gap:.85rem;min-height:5rem;}
.job-keyfact i{font-size:1.45rem;color:#0a5b49;flex:0 0 1.8rem;}
.job-keyfact strong{display:block;color:#0a5b49;font-size:1.05rem;line-height:1.15;}
.job-keyfact span{display:block;color:#4f4f4f;font-size:.95rem;line-height:1.3;}
.job-section{padding:2.5rem 0;}
.job-section--tight{padding:2rem 0;}
.job-card-panel{background:#fff;border-radius:1rem;box-shadow:0 8px 24px rgba(0,0,0,.06);overflow:hidden;height:100%;}
.job-card-panel__body{padding:1.5rem;}
.job-section-title{font-size:clamp(2rem,4vw,3.2rem);line-height:1.02;color:#0a5b49;margin:0 0 1rem;font-weight:800;}
.job-body-text{font-size:1.1rem;line-height:1.7;color:#383838;}
.job-image{width:100%;height:100%;display:block;object-fit:cover;}
.job-value-grid,.job-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;}
.job-value-card,.job-offer-card{background:#fff;border:1px solid #e7ece9;border-radius:.85rem;padding:1.2rem;box-shadow:0 4px 14px rgba(0,0,0,.04);}
.job-value-card i,.job-offer-card i{font-size:1.8rem;color:#0a5b49;margin-bottom:.7rem;display:block;}
.job-offer-card i{color:#e22f22;}
.job-value-card h3,.job-offer-card h3{font-size:1.15rem;color:#0a5b49;margin:0 0 .45rem;font-weight:700;}
.job-value-card p,.job-offer-card p{font-size:.98rem;line-height:1.55;color:#4a4a4a;margin:0;}
.job-split{display:grid;grid-template-columns:1fr;gap:1.25rem;}
.job-box{background:#fff;border-radius:1rem;padding:1.5rem;box-shadow:0 8px 24px rgba(0,0,0,.05);height:100%;}
.job-box h2{font-size:clamp(1.9rem,3vw,2.6rem);color:#0a5b49;line-height:1.05;margin:0 0 1rem;font-weight:800;}
.job-list{list-style:none;margin:0;padding:0;}
.job-list li{display:flex;gap:.85rem;align-items:flex-start;padding:.9rem 0;border-top:1px solid #ebeeec;color:#3d3d3d;font-size:1.05rem;line-height:1.45;}
.job-list li:first-child{border-top:0;padding-top:0;}
.job-list i{color:#177357;font-size:1.2rem;line-height:1.4;margin-top:.1rem;}
.job-list--offer i{color:#e22f22;}
.job-steps{display:grid;grid-template-columns:1fr;gap:1rem;}
.job-step{background:#fff;border-radius:1rem;padding:1.35rem;box-shadow:0 8px 24px rgba(0,0,0,.05);display:flex;gap:1rem;align-items:flex-start;height:100%;}
.job-step__number{width:2.4rem;height:2.4rem;border-radius:50%;background:#177357;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 2.4rem;}
.job-step__icon{font-size:2rem;color:#0a5b49;flex:0 0 2.25rem;margin-top:.1rem;}
.job-step h3{font-size:1.12rem;color:#0a5b49;margin:0 0 .35rem;font-weight:700;}
.job-step p{font-size:.98rem;line-height:1.55;color:#4a4a4a;margin:0;}
.job-form-section{padding:2.75rem 0 3rem;}
.job-form-panel{border-radius:1rem;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.08);background:#0b5445;color:#fff;}
.job-form-bg{position:relative;min-height:38rem;}
.job-form-bg:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg, rgba(5,57,47,.88) 0%, rgba(5,57,47,.68) 40%, rgba(5,57,47,.08) 100%);z-index:1;}
.job-form-bg img{width:100%;height:100%;object-fit:cover;display:block;}
.job-form-copy{position:absolute;z-index:2;left:0;top:0;bottom:0;width:min(100%,32rem);padding:2rem 1.5rem;display:flex;flex-direction:column;justify-content:center;}
.job-form-copy .job-kicker{color:#d5f1ea;}
.job-form-copy .job-kicker:after{background:#d5f1ea;}
.job-form-copy .job-section-title{color:#fff;}
.job-form-copy p{font-size:1.1rem;line-height:1.65;color:#eef8f5;}
.job-handwritten{font-size:2rem;line-height:1.05;font-weight:700;max-width:12rem;margin-top:1rem;}
.job-handwritten:after{content:"";display:block;width:5.2rem;height:6px;border-radius:3px;background:#e22f22;margin-top:.8rem;transform:rotate(-8deg);}
.job-form-card-wrap{display:flex;align-items:center;justify-content:center;padding:1.5rem;background:#0b5445;}
.job-form-card{background:#fff;color:#1c1c1c;border-radius:1rem;padding:1.35rem;box-shadow:0 14px 36px rgba(0,0,0,.14);width:100%;max-width:30rem;}
.job-form-card input,.job-form-card textarea{margin-bottom:.85rem;border:1px solid #d9dfdb;border-radius:.6rem;padding:.95rem 1rem;height:auto;box-shadow:none;}
.job-form-card textarea{min-height:8rem;resize:vertical;}
.job-form-card .button {
    width: 100%;
    margin-bottom: .6rem;
    border-color: #e22f22;
    background-color: #e22f22;
    color: #fff;
}
.job-form-card .help-text,.job-form-card .error{font-size:.9rem;line-height:1.4;display:block;}
.job-form-card .error{color:#c62828;margin:-.4rem 0 .6rem;}
.job-form-card .help-text{color:#666;margin-top:.35rem;}
.job-form-card .privacy{display:flex;align-items:flex-start;gap:.75rem;font-size:.95rem;line-height:1.45;color:#444;margin:.35rem 0 1rem;}
.job-form-card .privacy input{margin:.2rem 0 0;}
.job-thanks{padding:4rem 0 5rem;}
.job-thanks__panel{background:#fff;border-radius:1rem;padding:2.2rem;box-shadow:0 10px 28px rgba(0,0,0,.07);text-align:center;max-width:48rem;margin:0 auto;}
.job-thanks__icon{width:4.25rem;height:4.25rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e7f4ef;color:#177357;font-size:2rem;margin-bottom:1rem;}
.job-thanks__panel h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.05;color:#0a5b49;margin:0 0 1rem;font-weight:800;}
.job-thanks__panel p{font-size:1.1rem;line-height:1.7;color:#444;margin:0 0 1rem;}
.job-thanks__actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;margin-top:1.5rem;}
@media screen and (min-width: 40em){
	  .job-hero__copy{padding:2.5rem;}
	    .job-keyfacts{grid-template-columns:repeat(4,minmax(0,1fr));}
	      .job-split{grid-template-columns:repeat(2,minmax(0,1fr));}
	        .job-steps{grid-template-columns:repeat(3,minmax(0,1fr));}
	}
	@media screen and (min-width: 64em){
		  .job-hero__panel{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1.18fr);}
		    .job-section--about .grid-x{align-items:stretch;}
		      .job-value-grid,.job-offer-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
		        .job-form-panel{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(22rem,30rem);}
			  .job-form-card-wrap{padding:2rem;}
		  }


		  /* MIGX Job-Richtext-Listen */
		  .job-rich-list ul{list-style:none;margin:0;padding:0;}
		  .job-rich-list li{position:relative;padding:.85rem 0 .85rem 2.25rem;border-top:1px solid #ebeeec;color:#3d3d3d;font-size:1.05rem;line-height:1.45;}
		  .job-rich-list li:first-child{border-top:0;padding-top:0;}
		  .job-rich-list li:before{position:absolute;left:.1rem;top:.9rem;width:1.35rem;height:1.35rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.78rem;content:"✓";background:#177357;color:#fff;}
		  .job-rich-list li:first-child:before{top:.05rem;}
		  .job-rich-list--offer li:before{background:#e22f22;}
		  .job-card-panel--image{min-height:100%;}
		  .job-form-intro p{color:#eef8f5;}
/* Primärer Hero-Button: Zirm-Grün, Hover Zirm-Rot */
.job-actions .button.job-button-primary {
    background-color: #177357;
    border-color: #177357;
    color: #fff;
}

.job-actions .button.job-button-primary:hover,
.job-actions .button.job-button-primary:focus {
    background-color: #e22f22;
    border-color: #e22f22;
    color: #fff;
}
.job-form-card .button:hover,
.job-form-card .button:focus {
    background-color: #177357;
    border-color: #177357;
    color: #fff;
}
/* ==========================================================
   Job-Bewerbungsformular – Datei-Upload
   An das Ende von /assets/css/style.css anhängen
   ========================================================== */

.job-upload {
    margin: .25rem 0 1rem;
}

.job-upload__label {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: 100%;
    padding: .9rem 1rem;
    border: 1.5px dashed #177357;
    border-radius: .65rem;
    background: #f4faf7;
    color: #174f40;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.job-upload__label:hover,
.job-upload__label:focus-within {
    border-color: #e22f22;
    background: #fff7f6;
    color: #b9271e;
}

.job-upload__label i {
    flex: 0 0 auto;
    font-size: 1.6rem;
    color: #177357;
}

.job-upload__label:hover i {
    color: #e22f22;
}

.job-upload__label strong,
.job-upload__label small {
    display: block;
}

.job-upload__label strong {
    font-size: .95rem;
    line-height: 1.3;
}

.job-upload__label small {
    margin-top: .2rem;
    font-size: .78rem;
    line-height: 1.35;
    color: #666;
}

.job-upload__input {
    margin: .55rem 0 0;
    font-size: .85rem;
}

.job-upload + .error,
.job-upload .error {
    display: block;
    margin-top: .35rem;
}

/* ==========================================================
   Startseite MIGX / Responsive Hero 2026
   An das Ende von /assets/css/style.css anhängen
   ========================================================== */
.start-home{overflow:hidden;}
.home-hero{position:relative;background:#177357;color:#fff;margin-bottom:2rem;overflow:hidden;}
.home-hero__grid{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);min-height:clamp(30rem,42vw,47rem);}
.home-hero__copy{position:relative;z-index:3;display:flex;align-items:center;background:#177357;}
.home-hero__copy-inner{width:min(100%,42rem);margin-left:max(1rem,calc((100vw - 75rem)/2));padding:3rem 2.25rem 5rem 1rem;}
.home-hero__kicker{display:inline-block;background:#fff;color:#e22f22;text-transform:uppercase;font-weight:800;letter-spacing:.04em;padding:.22rem .5rem;margin-bottom:1rem;}
.home-hero__title{font-size:clamp(2.7rem,4.8vw,5rem);line-height:.94;font-weight:800;color:#fff;margin:0 0 1.15rem;}
.home-hero__text{font-size:clamp(1.05rem,1.2vw,1.3rem);line-height:1.55;max-width:34rem;}
.home-hero__text p:last-child{margin-bottom:0;}
.home-hero__actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.6rem;}
.home-hero__actions .button{margin:0;}
.home-hero__button-secondary{border-color:#fff!important;color:#fff!important;background:transparent!important;}
.home-hero__button-secondary:hover,.home-hero__button-secondary:focus{border-color:#e22f22!important;color:#fff!important;background:#e22f22!important;}
.home-hero__media{position:relative;min-width:0;overflow:hidden;background:#ececec;}
.home-hero__media:before{content:"";position:absolute;z-index:2;left:-1.25rem;top:-5%;height:110%;width:2.4rem;background:#e22f22;transform:rotate(-8deg);transform-origin:center;pointer-events:none;}
.home-hero__media picture,.home-hero__media img{display:block;width:100%;height:100%;}
.home-hero__media img{object-fit:cover;object-position:var(--hero-pos-desktop,center center);}
.home-hero:after{content:"";position:absolute;z-index:4;left:0;right:0;bottom:-1px;height:4.2rem;background:#fff;clip-path:polygon(0 70%,39% 70%,50% 0,61% 70%,100% 70%,100% 100%,0 100%);pointer-events:none;}
.home-intro{padding:1rem 0 2.5rem;}
.home-intro__icon img{display:block;width:100%;height:auto;max-width:9.6rem;}
.home-intro__lead{font-size:1.05rem;line-height:1.6;}
.home-intro__lead p:last-child,.home-intro__content p:last-child{margin-bottom:0;}
.home-intro__content{font-size:1.05rem;line-height:1.7;}
.home-services{padding:2.75rem 0;margin-bottom:3rem;}
.home-services__image-wrap{min-height:30rem;overflow:hidden;clip-path:polygon(0 0,88% 0,100% 50%,88% 100%,0 100%);}
.home-services__image{display:block;width:100%;height:100%;min-height:30rem;object-fit:cover;}
.home-services__intro{margin-bottom:1.3rem;}
.home-services-list{counter-reset:start-service;}
.home-service-item{counter-increment:start-service;display:grid;grid-template-columns:4rem minmax(0,1fr);gap:1rem;padding:.6rem 0;align-items:start;}
.home-service-item__number{position:relative;min-height:4.3rem;padding-top:.15rem;}
.home-service-item__number .number:before{content:counter(start-service,decimal-leading-zero);}
.home-service-item__number:after{content:"";position:absolute;width:2px;height:3.75rem;background:#e62b2b;top:50%;right:.35rem;transform:translateY(-50%) rotate(28deg);}
.home-service-item__content p{margin:0;line-height:1.5;}
.home-service-item__content a{color:inherit;}
.home-service-item__content a:hover,.home-service-item__content a:focus{color:#e22f22;}
.home-references,.home-news{padding:1.25rem 0 2.5rem;}
.home-section-intro{max-width:52rem;margin-bottom:1.5rem;}
.home-free-content:empty{display:none;}
.home-cta{padding:1rem 0 2rem;}
.home-cta .greenBoxinner{overflow:hidden;}
.home-cta__text{padding:1.5rem;}
.home-cta__image{overflow:hidden;min-height:17.5rem;}
.home-cta__image img{width:100%;height:100%;min-height:17.5rem;object-fit:cover;display:block;}
.home-brands{padding-bottom:2rem;}
@media screen and (max-width:63.9375em){
  .home-hero__grid{grid-template-columns:minmax(0,48%) minmax(0,52%);min-height:34rem;}
  .home-hero__copy-inner{margin-left:0;padding:2.5rem 1.75rem 4.5rem;}
  .home-hero__title{font-size:clamp(2.5rem,5vw,4rem);}
}
@media screen and (max-width:39.9375em){
  .home-hero{margin-bottom:1rem;}
  .home-hero__grid{display:flex;flex-direction:column;min-height:0;}
  .home-hero__media{order:1;height:56vw;min-height:15rem;max-height:24rem;}
  .home-hero__media:before{display:none;}
  .home-hero__media img{object-position:var(--hero-pos-mobile,center center);}
  .home-hero__copy{order:2;}
  .home-hero__copy-inner{padding:2rem 1rem 2.35rem;}
  .home-hero__title{font-size:clamp(2.35rem,11vw,3.5rem);}
  .home-hero__text{font-size:1.05rem;}
  .home-hero__actions{display:grid;grid-template-columns:1fr;}
  .home-hero__actions .button{width:100%;}
  .home-hero:after{display:none;}
  .home-intro{padding-top:1.5rem;}
  .home-services__image-wrap{min-height:18rem;clip-path:none;border-radius:.5rem;}
  .home-services__image{min-height:18rem;}
  .home-service-item{grid-template-columns:3.2rem minmax(0,1fr);gap:.75rem;}
  .home-service-item__number:after{height:3.2rem;}
  .home-cta__text{padding:1.25rem;}
}
/* ==========================================================
   Dachdeckerei Zirm – Startseiten-Hero v1.4
   Desktop: Originalbanner + dynamisch zentrierter Text
   Medium/Small: eigenes Bild oben, Text darunter
   ========================================================== */

/* ----------------------------------------------------------
   DESKTOP ab 64em
   ---------------------------------------------------------- */
@media screen and (min-width: 64em) {

    .home-hero {
        position: relative;
        width: 100%;
        max-width: none;
        margin: 0 0 2rem;
        overflow: hidden;
        background: #177357;
    }

    /*
     * Die Höhe kommt ausschließlich vom Originalbild [[*Banner]].
     * Kein aspect-ratio, keine fixe Höhe, kein max-height.
     */
    .home-hero__grid {
        position: relative;
        display: block !important;
        width: 100%;
        max-width: none;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .home-hero__media {
        position: relative !important;
        inset: auto !important;
        z-index: 1;
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible;
        background: transparent;
    }

    .home-hero__media picture {
        display: block;
        width: 100%;
        height: auto !important;
    }

    .home-hero__media img {
        display: block;
        width: 100%;
        height: auto !important;
        max-width: none;
        object-fit: initial !important;
        object-position: initial !important;
    }

    /*
     * Die Gestaltung steckt vollständig im Banner.
     * Keine zusätzlichen CSS-Schrägen oder Dachformen.
     */
    .home-hero__media::before,
    .home-hero__media::after,
    .home-hero::after {
        display: none !important;
        content: none !important;
    }

    /*
     * Text liegt über dem Banner.
     *
     * Der linke Textbereich nutzt etwa die linke Hälfte des Banners.
     * Innerhalb dieser Fläche wird der Inhalt horizontal UND vertikal
     * dynamisch zentriert.
     */
    .home-hero__copy {
        position: absolute !important;
        z-index: 3;
        top: 0;
        bottom: 0;
        left: 0;

        width: 50%;
        height: 100%;

        display: flex !important;
        align-items: center;
        justify-content: center;

        background: transparent !important;
        pointer-events: none;
    }

    .home-hero__copy-inner {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 2.5rem clamp(3rem, 5vw, 7rem) 4.5rem 2.5rem !important;

        pointer-events: auto;
        text-align: left;
    }

    /*
     * Der Text darf die verfügbare Breite der grünen Fläche benutzen.
     * Frühere ch/rem-Begrenzungen werden aufgehoben.
     */
    .home-hero__title {
        width: 100%;
        max-width: none !important;
        margin: 0 0 1rem;
        font-size: clamp(3rem, 4.4vw, 5rem);
        line-height: .96;
        text-align: left;
    }

    .home-hero__text {
        width: 100%;
        max-width: none !important;
        font-size: clamp(1.05rem, 1.2vw, 1.3rem);
        line-height: 1.5;
        text-align: left;
    }

    .home-hero__actions {
        justify-content: flex-start;
        text-align: left;
    }
}


/* ----------------------------------------------------------
   MEDIUM + SMALL bis 63.9375em

   Beide Breakpoints verwenden denselben Aufbau:
   1. eigenes Bild
   2. Text darunter

   Die Bildquelle wird im <picture> unterschieden:
   Medium = [[*Banner Medium]]
   Small  = [[*Banner Small]]
   ---------------------------------------------------------- */
@media screen and (max-width: 63.9375em) {

    .home-hero {
        width: 100%;
        max-width: none;
        margin: 0 0 1.5rem;
        overflow: hidden;
        background: #177357;
    }

    .home-hero__grid {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .home-hero__media {
        position: relative !important;
        order: 1;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible;
        background: transparent;
    }

    .home-hero__media picture,
    .home-hero__media img {
        display: block;
        width: 100%;
        height: auto !important;
    }

    .home-hero__media img {
        object-fit: initial !important;
        object-position: initial !important;
    }

    .home-hero__media::before,
    .home-hero__media::after,
    .home-hero::after {
        display: none !important;
        content: none !important;
    }

    .home-hero__copy {
        position: relative !important;
        order: 2;
        width: 100%;
        height: auto;
        background: #177357 !important;
    }

    .home-hero__copy-inner {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 2.25rem 2.5rem 2.75rem !important;
        text-align: left;
    }

    .home-hero__title {
        width: 100%;
        max-width: none !important;
        text-align: left;
    }

    .home-hero__text {
        width: 100%;
        max-width: none !important;
        text-align: left;
    }

    .home-hero__actions {
        justify-content: flex-start;
    }
}


/* ----------------------------------------------------------
   SMALL – lediglich kompaktere Innenabstände / Buttons.
   Layout bleibt identisch zu Medium.
   ---------------------------------------------------------- */
@media screen and (max-width: 39.9375em) {

    .home-hero__copy-inner {
        padding: 1.75rem 1.25rem 2.25rem !important;
    }

    .home-hero__title {
        font-size: clamp(2.35rem, 11vw, 3.5rem);
    }

    .home-hero__text {
        font-size: 1.05rem;
    }

    .home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-hero__actions .button {
        width: 100%;
    }
}
/* ==========================================================
   Dachdeckerei Zirm – Start-Intro mit optionaler 2. Spalte
   An das Ende von /assets/css/style.css anhängen
   ========================================================== */

.home-intro__item {
    min-width: 0;
}

.home-intro__item .home-intro__icon img {
    width: 100%;
    max-width: 8.5rem;
    height: auto;
}

/* Optische Trennung nur, wenn tatsächlich zwei Intros aktiv sind. */
@media screen and (min-width: 40em) {
    .home-intro__item--second {
        border-left: 1px solid rgba(23, 115, 87, .18);
        padding-left: 1.5rem;
    }
}

@media screen and (max-width: 39.9375em) {
    .home-intro__item--second {
        padding-top: 1.25rem;
        border-top: 1px solid rgba(23, 115, 87, .18);
    }
}
/* ==========================================================
   Dachdeckerei Zirm – Jobformular Validierung v1.5
   An das Ende von /assets/css/style.css anhängen
   ========================================================== */

.job-required {
    color: #e22f22;
    font-weight: 700;
}

.job-form-error-summary {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border-left: .25rem solid #e22f22;
    border-radius: .35rem;
    background: #fff2f0;
    color: #8f1d16;
    font-size: .95rem;
    line-height: 1.45;
}

.job-field-error {
    display: block;
    margin: -.45rem 0 .8rem;
    color: #b42318;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.35;
}

.job-field-error:empty {
    display: none;
}

.job-field-error--privacy {
    margin-top: -.5rem;
}

.job-form-card input[aria-invalid="true"],
.job-form-card textarea[aria-invalid="true"] {
    border-color: #e22f22 !important;
    box-shadow: 0 0 0 1px #e22f22;
}

.job-form-card .privacy input[aria-invalid="true"] {
    outline: 2px solid #e22f22;
    outline-offset: 2px;
}

.job-required-note {
    margin: .5rem 0 0;
    color: #666;
    font-size: .82rem;
    line-height: 1.35;
}
/* ==========================================================
   Dachdeckerei Zirm – Leistungsübersicht im bestehenden
   Leistung-Detail-Flex-Template
   An das Ende von assets/css/style.css anhängen
   ========================================================== */

.ld-service-overview {
    padding: 2.5rem 0 4rem;
    background: #fff;
}

.ld-service-overview__title {
    margin: 0 0 1.75rem;
    color: #075640;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 800;
}

.ld-service-overview__grid {
    align-items: stretch;
}

.ld-service-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: .75rem;
    box-shadow: 0 9px 24px rgba(0,0,0,.10);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ld-service-tile:hover,
.ld-service-tile:focus {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,.15);
    text-decoration: none;
}

.ld-service-tile__image {
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: #edf0ee;
}

.ld-service-tile__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ld-service-tile:hover .ld-service-tile__image img,
.ld-service-tile:focus .ld-service-tile__image img {
    transform: scale(1.035);
}

.ld-service-tile__caption {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-height: 5.5rem;
    padding: 1.15rem 1.25rem;
    background: #075f48;
}

.ld-service-tile__caption h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.1;
    font-weight: 800;
}

@media screen and (max-width: 39.9375em) {
    .ld-service-overview {
        padding: 2rem 0 3rem;
    }

    .ld-service-tile__caption {
        min-height: 4.75rem;
    }
}
/* ==========================================================
   Dachdeckerei Zirm – Über uns
   An das Ende von assets/css/style.css anhängen
   ========================================================== */

.about-timeline,
.about-today,
.about-cta {
    background: #fff;
}

.about-timeline {
    padding: 3rem 0 4rem;
}

.about-timeline__title,
.about-today__title,
.about-cta__title {
    margin: 0;
    color: #075640;
    font-weight: 800;
    line-height: 1.05;
}

.about-timeline__title {
    margin-bottom: 2.25rem;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
}

/* LARGE: horizontale Zeitleiste */
.about-timeline__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
}

.about-timeline__track::before {
    content: "";
    position: absolute;
    top: .45rem;
    left: 6%;
    right: 6%;
    height: 2px;
    background: #5b9d87;
}

.about-timeline__item {
    position: relative;
    min-width: 0;
}

.about-timeline__dot {
    position: relative;
    z-index: 2;
    width: .95rem;
    height: .95rem;
    margin: 0 auto 1.15rem;
    border: 3px solid #e23a2f;
    border-radius: 50%;
    background: #fff;
}

.about-timeline__card {
    height: 100%;
    padding: 1rem;
    border-radius: .65rem;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0,0,0,.10);
}

.about-timeline__year {
    margin-bottom: .45rem;
    color: #075640;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
}

.about-timeline__text {
    color: #253733;
    font-size: .95rem;
    line-height: 1.45;
}

.about-today {
    padding: 1rem 0 4rem;
}

.about-today__image {
    overflow: hidden;
    border-radius: .75rem;
}

.about-today__image img {
    display: block;
    width: 100%;
    height: auto;
}

.about-today__title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3.3vw, 3.4rem);
}

.about-today__content {
    color: #253733;
    font-size: 1.08rem;
    line-height: 1.6;
}

.about-today__content ul {
    margin: 1.35rem 0 0;
    list-style: none;
}

.about-today__content li {
    position: relative;
    margin-bottom: .55rem;
    padding-left: 1.7rem;
    font-weight: 600;
}

.about-today__content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #075f48;
    font-weight: 800;
}

.about-cta {
    padding: 1rem 0 4rem;
}

.about-cta__inner {
    padding: 2.5rem;
    border-top: 1px solid #d9e4df;
    text-align: center;
}

.about-cta__title {
    margin-bottom: .7rem;
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.about-cta__text {
    max-width: 46rem;
    margin: 0 auto;
    color: #364641;
    font-size: 1.05rem;
    line-height: 1.55;
}

.about-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* MEDIUM und SMALL: Timeline vertikal statt gequetscht */
@media screen and (max-width: 63.9375em) {
    .about-timeline {
        padding: 2.5rem 0 3rem;
    }

    .about-timeline__track {
        display: block;
        padding-left: 2.4rem;
    }

    .about-timeline__track::before {
        top: .4rem;
        bottom: .4rem;
        left: .48rem;
        right: auto;
        width: 2px;
        height: auto;
    }

    .about-timeline__item {
        position: relative;
        margin-bottom: 1rem;
    }

    .about-timeline__item:last-child {
        margin-bottom: 0;
    }

    .about-timeline__dot {
        position: absolute;
        top: 1rem;
        left: -2.38rem;
        margin: 0;
    }

    .about-timeline__card {
        padding: 1rem 1.15rem;
    }

    .about-timeline__year {
        font-size: 1.5rem;
    }

    .about-today {
        padding-bottom: 3rem;
    }
}

@media screen and (max-width: 39.9375em) {
    .about-timeline__track {
        padding-left: 2rem;
    }

    .about-timeline__dot {
        left: -1.98rem;
    }

    .about-cta__inner {
        padding: 2rem 0;
    }

    .about-cta__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-cta__actions .button {
        width: 100%;
    }
}
