html{scroll-behavior:smooth}body{overflow-wrap:break-word}.wp-site-blocks{min-height:100vh}.kf-hero{position:relative}.kf-hero h1{max-width:920px;font-size:clamp(2.7rem,6vw,5.7rem);letter-spacing:-.035em;text-transform:uppercase}.kf-section{padding-block:clamp(3rem,7vw,6rem)}.kf-card{height:100%;border:1px solid #e8e8e8;overflow:hidden}.kf-card .wp-block-group{padding:1.4rem}.kf-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.kf-overline{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800}.kf-footer a{color:inherit}.kf-hero .wp-block-cover__inner-container{width:100%}.wp-block-button__link{transition:filter .2s,transform .2s}.wp-block-button__link:hover{filter:brightness(.92);transform:translateY(-1px)}:focus-visible{outline:3px solid var(--wp--preset--color--orange);outline-offset:3px}@media(max-width:781px){.kf-section{padding-block:2.5rem}.kf-hero h1{font-size:clamp(2.4rem,11vw,4rem)}}

/* Contact Form 7: uses the global WordPress theme color palette. */
.wpcf7{--kf-field-border:#b9c0c5;--kf-field-bg:#fff;--kf-field-radius:5px;--kf-gap:1.15rem;color:var(--wp--preset--color--text,#222)}
.wpcf7 form{max-width:100%}.wpcf7 .kf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--kf-gap)}
.wpcf7 .kf-form-field{min-width:0;margin:0 0 var(--kf-gap)}.wpcf7 .kf-form-grid .kf-form-field{margin:0}
.wpcf7 .kf-form-full{grid-column:1/-1}.wpcf7 label{display:block;font-weight:600;line-height:1.5}
.wpcf7 .wpcf7-form-control-wrap{display:block;margin-top:.4rem}
.wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),.wpcf7 select,.wpcf7 textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:48px;padding:.75rem .85rem;background:var(--kf-field-bg);border:1px solid var(--kf-field-border);border-radius:var(--kf-field-radius);color:var(--wp--preset--color--text,#222);font:inherit}
.wpcf7 textarea{min-height:135px;resize:vertical}.wpcf7 input[type=file]{height:auto;padding:.65rem}
.wpcf7 input:focus-visible,.wpcf7 select:focus-visible,.wpcf7 textarea:focus-visible{outline:3px solid var(--wp--preset--color--orange,#E67E22);outline-offset:2px;border-color:var(--wp--preset--color--anthrazit,#1F2933)}
.wpcf7 input[type=submit]{background:var(--wp--preset--color--orange,#E67E22);color:var(--wp--preset--color--anthrazit,#1F2933);font:inherit;font-weight:700;border:0;border-radius:4px;padding:.9rem 1.6rem;min-height:48px;cursor:pointer;transition:filter .2s}
.wpcf7 input[type=submit]:hover{filter:brightness(.92)}.wpcf7 input[type=submit]:disabled{opacity:.6;cursor:wait}
.wpcf7 .wpcf7-list-item{margin:0 .85rem 0 0}.wpcf7 .wpcf7-acceptance label{display:flex;gap:.6rem;align-items:flex-start;font-weight:400}.wpcf7 .wpcf7-acceptance input{margin-top:.35rem}
.wpcf7 .wpcf7-not-valid-tip{font-size:.875rem;color:#a42626;margin-top:.3rem}.wpcf7 form .wpcf7-response-output{margin:1.2rem 0 0;padding:1rem;border-radius:4px}
.wpcf7 form.sent .wpcf7-response-output{border-color:#278044}.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output{border-color:#b45309}
@media(max-width:640px){.wpcf7 .kf-form-grid{grid-template-columns:1fr}.wpcf7 .kf-form-full{grid-column:auto}.wpcf7 input[type=submit]{width:100%}}

/* v1.4: Dropdown navigation contrast. Header links are white, but submenu links
   need a dark foreground on the light submenu background. */
.wp-block-navigation .wp-block-navigation__submenu-container {
  background-color: #fff !important;
  color: #1F2933 !important;
  border: 1px solid #d9dde1 !important;
  min-width: 235px;
  z-index: 1000;
}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__label,
.wp-block-navigation .wp-block-navigation__submenu-container a {
  color: #1F2933 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: block;
  padding: .75rem 1rem;
}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
  background-color: #F5F6F7 !important;
  color: #1F2933 !important;
}
/* The mobile navigation modal should also have readable links. */
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: #fff !important;
  color: #1F2933 !important;
}
.wp-block-navigation__responsive-container.is-menu-open a,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: #1F2933 !important;
}

/* Erdbau Landingpage v1.6 – uses global theme palette */
.kf-erdbau-section{box-sizing:border-box;padding:clamp(3rem,6vw,5.5rem) clamp(1.25rem,4vw,3.5rem);margin-block:0!important;max-width:none!important}
.kf-erdbau-section> *{max-width:1160px;margin-left:auto;margin-right:auto}
.kf-erdbau-section h2{font-size:clamp(1.8rem,3.3vw,3.2rem);line-height:1.13;letter-spacing:-.025em}
.kf-erdbau-section p{line-height:1.75;max-width:850px}
.kf-erdbau-kicker{font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--orange,#E67E22)}
.kf-erdbau-hero{background:var(--wp--preset--color--anthrazit,#1F2933);color:white;padding-top:clamp(4rem,9vw,8rem);padding-bottom:clamp(4rem,8vw,7rem);background-image:linear-gradient(110deg,rgba(0,0,0,.3),transparent);}
.kf-erdbau-hero h1{color:white;font-size:clamp(2.7rem,6.5vw,5.7rem);line-height:1.05;letter-spacing:-.04em;max-width:1000px}
.kf-erdbau-hero h2{color:#fff;max-width:900px;font-size:clamp(1.5rem,3vw,2.4rem)}
.kf-erdbau-hero p{color:#f2f2f2}.kf-erdbau-hero .kf-erdbau-kicker{color:#f0a65e}
.kf-erdbau-trust{border-top:1px solid rgba(255,255,255,.28);padding-top:1.25rem;font-size:.95rem}
.kf-erdbau-cards{gap:1.25rem;align-items:stretch}.kf-erdbau-cards>.wp-block-column{display:flex;min-width:0}
.kf-erdbau-card{border:1px solid #dfe3e5;border-top:4px solid var(--wp--preset--color--orange,#E67E22);padding:1.6rem;background:#fff;box-shadow:0 10px 28px rgba(20,30,40,.045);width:100%;box-sizing:border-box;border-radius:4px}
.kf-erdbau-card h3{font-size:1.3rem;margin-top:0}.kf-erdbau-card p{margin-bottom:0}
.kf-erdbau-services,.kf-erdbau-process,.kf-erdbau-references,.kf-erdbau-faq{background:var(--wp--preset--color--hell,#F5F6F7)}
.kf-erdbau-soft{background:#f4eee5}.kf-erdbau-feature{border-left:6px solid var(--wp--preset--color--orange,#E67E22)}
.kf-erdbau-region{background:var(--wp--preset--color--anthrazit,#1F2933);color:#fff}.kf-erdbau-region h2{color:#fff}
.kf-erdbau-faq-item{background:#fff;border:1px solid #e2e4e7;padding:1.2rem 1.5rem;margin-bottom:.75rem;border-radius:4px}.kf-erdbau-faq-item h3{font-size:1.13rem;margin:0}.kf-erdbau-faq-item p{margin-bottom:0}
.kf-erdbau-contact{background:var(--wp--preset--color--anthrazit,#1F2933);color:white}.kf-erdbau-contact h2{color:#fff}.kf-erdbau-contact a{color:#f4ad6d}
.kf-erdbau-note{font-size:.9rem;opacity:.85}
@media(max-width:781px){.kf-erdbau-section{padding:3rem 1.15rem}.kf-erdbau-cards>.wp-block-column{display:block}}

/* Erdbau v1.7: broad editorial landing page, no global side effects */
.kf-erdbau-page{overflow:hidden;--kf-eb-max:1380px}
.kf-erdbau-page>.wp-block-post-content{margin:0!important;max-width:none!important;width:100%}
.kf-erdbau-page .wp-block-post-content>.wp-block-group{max-width:none!important}
.kf-erdbau-page .kf-erdbau-hero{position:relative;isolation:isolate;box-sizing:border-box;width:100%;max-width:none!important;min-height:660px;padding:clamp(5rem,9vw,10rem) max(24px,calc((100vw - var(--kf-eb-max))/2))!important;margin:0!important;background:linear-gradient(105deg,#19232c 0%,#1f2933 58%,#34404b 100%);overflow:hidden}
.kf-erdbau-page .kf-erdbau-hero:before{content:"";position:absolute;z-index:-1;inset:0 0 0 49%;background:repeating-linear-gradient(115deg,transparent 0 35px,rgba(255,255,255,.045) 36px 37px),radial-gradient(circle at 60% 40%,rgba(230,126,34,.19),transparent 58%);transform:skewX(-8deg);pointer-events:none}
.kf-erdbau-page .kf-erdbau-hero:after{content:"ERDBAU";position:absolute;right:-.05em;bottom:-.28em;font-size:clamp(8rem,22vw,24rem);font-weight:900;letter-spacing:-.09em;color:rgba(255,255,255,.045);line-height:1;pointer-events:none}
.kf-erdbau-page .kf-erdbau-hero>*{position:relative;z-index:1;max-width:1000px;margin-left:0;margin-right:0}
.kf-erdbau-page .kf-erdbau-hero h1{font-size:clamp(3.4rem,7.2vw,7.5rem);max-width:1050px;line-height:.98;letter-spacing:-.065em;text-wrap:balance}
.kf-erdbau-page .kf-erdbau-hero h2{font-size:clamp(1.45rem,2.4vw,2.5rem);font-weight:500;max-width:780px}
.kf-erdbau-page .kf-erdbau-hero p:not(.kf-erdbau-kicker){max-width:760px;font-size:clamp(1rem,1.2vw,1.18rem)}
.kf-erdbau-page .kf-erdbau-hero .wp-block-buttons{margin-top:2rem}
.kf-erdbau-page .kf-erdbau-hero .wp-block-button__link{padding:1rem 1.5rem;border-radius:2px}
.kf-erdbau-page .kf-erdbau-section,.kf-erdbau-page .kf-erdbau-feature{width:100%;max-width:none!important;padding:clamp(4rem,7vw,7rem) max(24px,calc((100vw - var(--kf-eb-max))/2))!important;margin:0!important}
.kf-erdbau-page .kf-erdbau-section>*,.kf-erdbau-page .kf-erdbau-feature>*{max-width:var(--kf-eb-max);margin-left:auto;margin-right:auto}
.kf-erdbau-page .kf-erdbau-section h2,.kf-erdbau-page .kf-erdbau-feature h2{font-size:clamp(2.3rem,4.4vw,4.6rem);max-width:1050px;letter-spacing:-.055em;line-height:1.04;text-wrap:balance}
.kf-erdbau-page .kf-erdbau-section>p,.kf-erdbau-page .kf-erdbau-feature>p{max-width:960px}
.kf-erdbau-page .kf-erdbau-cards{gap:1.5rem;margin-block:1.5rem}
.kf-erdbau-page .kf-erdbau-card{position:relative;border:1px solid #e4e6e8;border-top:0;border-radius:2px;padding:2.25rem 2rem 2.5rem;box-shadow:0 18px 50px rgba(20,30,40,.045);transition:transform .25s ease,box-shadow .25s ease}
.kf-erdbau-page .kf-erdbau-card:before{content:"";position:absolute;top:0;left:0;width:64px;height:5px;background:var(--wp--preset--color--orange,#E67E22)}
.kf-erdbau-page .kf-erdbau-card:hover{transform:translateY(-6px);box-shadow:0 24px 55px rgba(20,30,40,.12)}
.kf-erdbau-page .kf-erdbau-card h3{font-size:clamp(1.35rem,1.65vw,1.8rem);letter-spacing:-.03em}
.kf-erdbau-page .kf-erdbau-feature{border-left:0;position:relative}
.kf-erdbau-page .kf-erdbau-feature:before{content:"";position:absolute;left:max(24px,calc((100vw - var(--kf-eb-max))/2));top:3rem;bottom:3rem;width:5px;background:var(--wp--preset--color--orange,#E67E22)}
.kf-erdbau-page .kf-erdbau-feature>*{padding-left:clamp(1.5rem,4vw,5rem)}
.kf-erdbau-page .kf-erdbau-jump{background:#e9edf0;padding:1.2rem max(24px,calc((100vw - var(--kf-eb-max))/2))!important;margin:0!important;max-width:none!important}
.kf-erdbau-page .kf-erdbau-jump>.wp-block-group__inner-container{max-width:none}
.kf-erdbau-page .kf-erdbau-jump p{display:inline-block;margin:.3rem 2rem .3rem 0;font-size:.9rem}
.kf-erdbau-page .kf-erdbau-jump a{display:inline-block;color:#1f2933;text-decoration:none;font-weight:700;margin-right:1.5rem;padding:.3rem 0;border-bottom:2px solid #e67e22}
.kf-erdbau-page .kf-erdbau-facts{box-sizing:border-box;max-width:none!important;padding:2.4rem max(24px,calc((100vw - var(--kf-eb-max))/2));margin:0!important;background:#e67e22;gap:2rem}
.kf-erdbau-page .kf-erdbau-facts>.wp-block-column{border-right:1px solid rgba(31,41,51,.22);padding-right:1.5rem}
.kf-erdbau-page .kf-erdbau-facts>.wp-block-column:last-child{border:0}
.kf-erdbau-page .kf-erdbau-facts p{margin:.3rem 0;color:#1f2933;font-weight:650}
.kf-erdbau-page .kf-erdbau-facts .kf-fact-num{font-size:clamp(2.3rem,4vw,4rem);font-weight:900;line-height:1;letter-spacing:-.06em}
.kf-erdbau-page .kf-erdbau-faq-item{padding:1.6rem 2rem;border-left:4px solid #e67e22}
@media(max-width:781px){.kf-erdbau-page .kf-erdbau-hero{min-height:0;padding:5rem 1.3rem!important}.kf-erdbau-page .kf-erdbau-hero:after{font-size:9rem;bottom:-.1em}.kf-erdbau-page .kf-erdbau-section,.kf-erdbau-page .kf-erdbau-feature{padding:3.5rem 1.3rem!important}.kf-erdbau-page .kf-erdbau-feature:before{left:1.3rem}.kf-erdbau-page .kf-erdbau-jump,.kf-erdbau-page .kf-erdbau-facts{padding:1.4rem 1.3rem!important}.kf-erdbau-page .kf-erdbau-facts>.wp-block-column{border-right:0;border-bottom:1px solid rgba(31,41,51,.2);padding-bottom:1rem}.kf-erdbau-page .kf-erdbau-cards{gap:1rem}.kf-erdbau-page .kf-erdbau-hero h1{font-size:clamp(2.9rem,11vw,5rem)}}
@media(prefers-reduced-motion:reduce){.kf-erdbau-page .kf-erdbau-card{transition:none}.kf-erdbau-page .kf-erdbau-card:hover{transform:none}}

/* Erdbau regional service area */
.kf-erdbau-region-grid{gap:1.25rem;margin-block:2rem!important;align-items:stretch}
.kf-erdbau-region-grid>.wp-block-column{display:flex}
.kf-erdbau-region-card{background:#f5f6f7;border-top:4px solid #e67e22;border-radius:12px;padding:clamp(1.2rem,2vw,2rem);height:100%;box-shadow:0 8px 30px rgba(31,41,51,.06)}
.kf-erdbau-region-card h3{margin-top:0;font-size:clamp(1.2rem,1.7vw,1.55rem)}
.kf-erdbau-region-card p{line-height:1.8}
.kf-erdbau-region-note{font-size:.92rem;color:#4b5563;border-left:3px solid #d9c3a5;padding-left:1rem}
@media(max-width:781px){.kf-erdbau-region-grid{gap:1rem}}

/* Version 2.0: Kontrast, Bild-Platzhalter, Editorial-Design */
.kf-erdbau-page .kf-erdbau-region{background:#1f2933;color:#f1f5f9}
.kf-erdbau-page .kf-erdbau-region>p:not(.kf-erdbau-kicker),.kf-erdbau-page .kf-erdbau-region>p:not(.kf-erdbau-kicker) strong{color:#f1f5f9!important;opacity:1}
.kf-erdbau-page .kf-erdbau-region-card{display:flex;flex-direction:column;background:#fff!important;color:#1f2933!important;border:0;border-radius:14px;padding:0!important;overflow:hidden;box-shadow:0 20px 44px rgba(0,0,0,.22);transition:transform .25s ease}
.kf-erdbau-page .kf-erdbau-region-card:hover{transform:translateY(-5px)}
.kf-erdbau-page .kf-erdbau-region-card h3{color:#1f2933!important;margin:1.4rem 1.5rem .5rem!important;font-size:clamp(1.15rem,1.5vw,1.5rem)}
.kf-erdbau-page .kf-erdbau-region-card p{color:#344254!important;opacity:1!important;margin:.2rem 1.5rem 1.8rem!important;line-height:1.65;font-size:.99rem}
.kf-erdbau-page .kf-erdbau-region-card .kf-eb-photo{margin:0!important;max-width:none!important;width:100%;position:relative}
.kf-erdbau-page .kf-erdbau-region-card .kf-eb-photo img{display:block;width:100%;height:205px;object-fit:cover}
.kf-erdbau-page .kf-erdbau-region-card .kf-eb-photo figcaption{position:absolute;bottom:0;right:0;margin:0;padding:.35rem .6rem;background:rgba(31,41,51,.84);color:#fff!important;font-size:.68rem;max-width:90%;text-align:right}
.kf-erdbau-page .kf-erdbau-region-note{color:#e7edf4!important;border-left:4px solid #e67e22;background:rgba(255,255,255,.075);padding:1.2rem 1.5rem;border-radius:0 8px 8px 0;line-height:1.7;opacity:1!important}
.kf-erdbau-page .kf-erdbau-region-note strong{color:#fff!important}
.kf-erdbau-page .kf-erdbau-jump{display:flex;align-items:center;gap:2rem;justify-content:space-between;background:#f5f6f7!important;border-bottom:1px solid #dce2e7;padding-top:1.6rem!important;padding-bottom:1.6rem!important}
.kf-erdbau-page .kf-erdbau-jump .kf-eb-jump-label{margin:0!important;min-width:200px;font-weight:850;color:#1f2933!important;letter-spacing:.075em;font-size:.75rem;border-left:4px solid #e67e22;padding-left:1rem}
.kf-erdbau-page .kf-erdbau-jump .kf-eb-jump-links{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:0!important;max-width:none;font-size:.9rem}
.kf-erdbau-page .kf-erdbau-jump .kf-eb-jump-links a{margin:0!important;display:inline-flex;align-items:center;gap:.4rem;padding:.75rem 1rem!important;background:#fff;color:#1f2933!important;border:1px solid #dfe5ea!important;border-radius:9px;box-shadow:0 4px 12px rgba(31,41,51,.05);transition:background .2s,transform .2s;text-decoration:none}
.kf-erdbau-page .kf-erdbau-jump .kf-eb-jump-links a:hover{background:#fff1e5;transform:translateY(-2px);border-color:#e67e22!important}
.kf-erdbau-page .kf-eb-visual-break{background:#f0e7da;position:relative}
.kf-erdbau-page .kf-eb-visual-break h2{max-width:1000px}
.kf-erdbau-page .kf-eb-photo-grid{gap:1.5rem;margin-top:2.5rem;align-items:stretch}
.kf-erdbau-page .kf-eb-photo-grid .kf-eb-photo{margin:0!important;max-width:none!important}
.kf-erdbau-page .kf-eb-photo-grid img{display:block;width:100%;height:340px;object-fit:cover;border-radius:12px}
.kf-erdbau-page .kf-eb-photo-grid figcaption{font-size:.78rem;color:#53616e;margin-top:.5rem}
.kf-erdbau-page .kf-erdbau-card{border-radius:12px}
.kf-erdbau-page .kf-erdbau-card:after{content:'↗';position:absolute;right:1.4rem;top:1.25rem;font-size:1.5rem;color:#e67e22}
@media(max-width:1000px){.kf-erdbau-page .kf-erdbau-jump{display:block}.kf-erdbau-page .kf-erdbau-jump .kf-eb-jump-label{margin-bottom:1rem!important}}
@media(max-width:781px){.kf-erdbau-page .kf-erdbau-region-card .kf-eb-photo img{height:230px}.kf-erdbau-page .kf-eb-photo-grid img{height:230px}.kf-erdbau-page .kf-erdbau-jump .kf-eb-jump-links a{flex:1 1 42%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.kf-erdbau-page .kf-erdbau-region-card,.kf-erdbau-page .kf-erdbau-jump a{transition:none}}

/* v2.1: globally visible regional radius above footer */
.kf-footer-area{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 80% 45%,#2b3c4b 0%,#1f2933 53%,#17212a 100%);color:#fff!important;padding:clamp(3.5rem,6vw,6rem) max(22px,calc((100vw - 1360px)/2)) 1.4rem!important;margin:0!important}
.kf-footer-area:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:.28;background-image:repeating-linear-gradient(140deg,transparent 0 65px,rgba(255,255,255,.09) 66px,transparent 67px),linear-gradient(90deg,rgba(0,0,0,.2),transparent 65%)}
.kf-footer-area .kf-footer-area-inner{max-width:1360px!important;margin-inline:auto!important}
.kf-footer-area-columns{gap:clamp(2rem,6vw,7rem);align-items:center}
.kf-footer-area .kf-footer-eyebrow{color:#f49b45!important;letter-spacing:.14em;font-weight:800;font-size:.82rem;margin-bottom:1.15rem}
.kf-footer-area .kf-footer-area-title{color:#fff!important;font-size:clamp(2.2rem,4.1vw,4.5rem);line-height:1.06;letter-spacing:-.045em;margin:0 0 1.3rem;max-width:680px}
.kf-footer-area .kf-footer-area-text{color:#e6ebef!important;max-width:660px;font-size:clamp(1.02rem,1.2vw,1.2rem);line-height:1.7}
.kf-footer-area .kf-footer-area-actions{margin-top:2rem}
.kf-footer-area .kf-footer-area-button .wp-block-button__link{background:#e67e22!important;color:#1f2933!important;font-weight:800;border-radius:7px;padding:.95rem 1.4rem;text-decoration:none}
.kf-footer-area .kf-footer-area-button .wp-block-button__link:hover{background:#ff9d43!important}
.kf-footer-radius-wrap{position:relative;width:min(100%,480px);min-height:340px;margin-inline:auto!important;display:grid;place-items:center}
.kf-footer-radius{position:relative;box-sizing:border-box;width:285px;height:285px;border:2px dashed rgba(255,255,255,.76);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;background:radial-gradient(circle,rgba(230,126,34,.10),transparent 70%)}
.kf-footer-radius:before{content:"";position:absolute;inset:33px;border:1px dashed rgba(255,255,255,.28);border-radius:50%}
.kf-footer-radius:after{content:"";position:absolute;width:9px;height:9px;border-radius:50%;background:#e67e22;right:15px;top:48px;box-shadow:0 0 0 5px rgba(230,126,34,.16)}
.kf-footer-area .kf-footer-pin{color:#f28b27!important;font-size:4.5rem;line-height:1;margin:0!important;font-weight:900}
.kf-footer-area .kf-footer-center-name{color:#fff!important;font-size:1.55rem;font-weight:850;margin:.2rem 0 0!important}
.kf-footer-area .kf-footer-center-sub{color:#c9d3dc!important;font-size:.85rem;margin:0!important}
.kf-footer-area .kf-footer-radius-label{position:absolute;right:0;top:12px;display:flex;flex-direction:column;gap:.1rem;border:1px solid #e67e22;border-radius:9px;background:#1c2934;padding:.75rem 1rem;box-shadow:0 8px 25px rgba(0,0,0,.22);color:#fff!important;font-size:.85rem;line-height:1.4}
.kf-footer-area .kf-footer-radius-label strong,.kf-footer-area .kf-footer-radius-label span{color:#fff!important;display:block}
.kf-footer-area .kf-footer-area-note{color:#cbd5df!important;opacity:1!important;border-top:1px solid rgba(255,255,255,.17);padding-top:1.1rem;margin:1rem 0 0!important;font-size:.78rem;line-height:1.6}
@media(max-width:781px){.kf-footer-area{padding:3rem 1.3rem 1.3rem!important}.kf-footer-area-columns{gap:1rem}.kf-footer-radius-wrap{min-height:290px}.kf-footer-radius{width:230px;height:230px}.kf-footer-radius-label{top:0!important;right:0!important;font-size:.72rem!important;padding:.5rem .7rem!important}.kf-footer-area .kf-footer-area-title{font-size:clamp(2.1rem,8vw,3.1rem)}}
@media(max-width:420px){.kf-footer-radius{width:205px;height:205px}.kf-footer-radius-wrap{min-height:260px}.kf-footer-radius-label{top:0!important}}

/* v2.2 compact regional footer: preserve editable Gutenberg blocks */
.kf-footer-area{padding:2rem max(24px,calc((100vw - 1380px)/2)) 1rem!important;background:radial-gradient(ellipse at 78% 45%,#2b3b48 0%,#1f2933 60%,#18232c 100%)!important}
.kf-footer-area .kf-footer-area-inner{width:100%!important;max-width:1380px!important}
.kf-footer-area .kf-footer-area-columns{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(290px,.75fr)!important;gap:clamp(2rem,5vw,5rem)!important;margin:0!important;align-items:center!important}
.kf-footer-area .kf-footer-area-columns>.wp-block-column{width:auto!important;flex-basis:auto!important;min-width:0!important;margin:0!important}
.kf-footer-area .kf-footer-eyebrow{font-size:.72rem!important;letter-spacing:.14em!important;margin:0 0 .45rem!important}
.kf-footer-area .kf-footer-area-title{font-size:clamp(1.75rem,2.6vw,2.75rem)!important;line-height:1.13!important;letter-spacing:-.035em!important;margin:0 0 .6rem!important;max-width:none!important}
.kf-footer-area .kf-footer-area-text{font-size:clamp(.92rem,1vw,1.02rem)!important;line-height:1.5!important;margin:0!important;max-width:700px!important}
.kf-footer-area .kf-footer-area-actions{margin:.9rem 0 0!important}
.kf-footer-area .kf-footer-area-button .wp-block-button__link{padding:.68rem 1.05rem!important;font-size:.9rem!important}
.kf-footer-area .kf-footer-radius-wrap{width:100%!important;max-width:350px!important;min-height:224px!important;margin:0 auto!important}
.kf-footer-area .kf-footer-radius{width:214px!important;height:214px!important;border-width:1.5px!important}
.kf-footer-area .kf-footer-radius:before{inset:27px!important}
.kf-footer-area .kf-footer-pin{font-size:3.2rem!important}
.kf-footer-area .kf-footer-center-name{font-size:1.28rem!important}
.kf-footer-area .kf-footer-center-sub{font-size:.76rem!important}
.kf-footer-area .kf-footer-radius-label{top:0!important;right:-3px!important;padding:.52rem .7rem!important;font-size:.73rem!important;line-height:1.35!important}
.kf-footer-area .kf-footer-area-note{font-size:.72rem!important;line-height:1.4!important;padding:.55rem 0 0!important;margin:.65rem 0 0!important;max-width:none!important}
@media(min-width:1050px){.kf-footer-area .kf-footer-area-title{white-space:nowrap!important}}
@media(max-width:781px){.kf-footer-area{padding:1.8rem 1.3rem 1rem!important}.kf-footer-area .kf-footer-area-columns{grid-template-columns:1fr!important;gap:.8rem!important}.kf-footer-area .kf-footer-area-title{font-size:clamp(1.7rem,6vw,2.4rem)!important;white-space:normal!important}.kf-footer-area .kf-footer-radius-wrap{min-height:215px!important;max-width:300px!important}.kf-footer-area .kf-footer-radius{width:190px!important;height:190px!important}.kf-footer-area .kf-footer-radius-label{right:0!important;top:0!important}.kf-footer-area .kf-footer-area-note{margin-top:.5rem!important}}
@media(max-width:420px){.kf-footer-area .kf-footer-radius-wrap{min-height:196px!important}.kf-footer-area .kf-footer-radius{width:175px!important;height:175px!important}}

/* v2.3: skyline between the regional banner and the actual footer */
.kf-construction-skyline{position:relative!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:clamp(92px,12vw,180px)!important;min-height:0!important;margin:0!important;padding:0!important;background-color:#f5f6f7!important;background-image:url('../images/baustellen-silhouette.png')!important;background-repeat:repeat-x!important;background-size:auto 100%!important;background-position:center bottom!important;border:0!important;overflow:hidden!important}
.kf-footer-area .kf-footer-pin{font-size:0!important;line-height:0!important;display:flex!important;justify-content:center;align-items:center;margin:0 auto .4rem!important;height:40px!important;width:40px!important}
.kf-footer-area .kf-footer-pin::before{content:'';display:block;width:30px;height:38px;background:#f28b27;clip-path:path('M15 0C6.7 0 0 6.7 0 15c0 11 15 23 15 23s15-12 15-23C30 6.7 23.3 0 15 0zm0 9a6 6 0 1 1 0 12 6 6 0 0 1 0-12z');}
@media(max-width:600px){.kf-construction-skyline{height:95px!important;background-size:auto 95px!important}.kf-footer-area .kf-footer-pin{height:34px!important}}

/* Version 2.4: Erdbau-Leistungskarten sind reine Informationskarten, keine Links. */
.kf-erdbau-page .kf-erdbau-services .kf-erdbau-card::after{content:none!important;display:none!important}
.kf-erdbau-page .kf-erdbau-services .kf-erdbau-card,
.kf-erdbau-page .kf-erdbau-services .kf-erdbau-card:hover{transform:none!important;cursor:default;box-shadow:0 18px 50px rgba(20,30,40,.045)!important}

/* v2.6: Mehr Luft zwischen Regionalbanner und Baustellen-Silhouette auf Desktop.
   Mobil bleibt die bisherige kompakte Darstellung unverändert. */
@media (min-width: 782px) {
  .kf-construction-skyline {
    border-top: 38px solid #f5f6f7 !important;
    height: clamp(130px, 15vw, 218px) !important;
    background-origin: padding-box !important;
    background-clip: padding-box !important;
  }
}

/* v2.7: Tatsächlich sichtbarer Abstand VOR der Silhouette auf Desktop.
   v2.6 hatte einen Rahmen innerhalb der Grafik statt eines Außenabstands. */
@media (min-width: 782px) {
  body .wp-site-blocks .kf-construction-skyline,
  body .kf-construction-skyline {
    margin-block-start: 38px !important;
    margin-top: 38px !important;
    border: 0 !important;
    height: clamp(92px, 12vw, 180px) !important;
    background-origin: border-box !important;
    background-clip: border-box !important;
  }
}
@media (max-width: 781px) {
  body .kf-construction-skyline { margin-top: 0 !important; margin-block-start: 0 !important; }
}

/* v2.8: Desktop – Inhalt des Regionalbanners nach oben, Abstand INNERHALB
   des dunklen Banners; keine helle Luecke vor der Silhouette. Mobil unveraendert. */
@media (min-width: 782px) {
  body .wp-site-blocks .kf-construction-skyline,
  body .kf-construction-skyline {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    border-top: 0 !important;
    height: clamp(92px, 12vw, 180px) !important;
  }
  body .kf-footer-area {
    padding-top: .5rem !important;
    padding-bottom: 3.5rem !important;
  }
  body .kf-footer-area .kf-footer-area-note {
    margin-top: .55rem !important;
  }
}

/* v2.9: Authentische K&F Baustellenbilder */
.kf-eb-real-hero-photo{margin-top:0!important;margin-bottom:2.5rem!important;max-width:1160px!important}
.kf-eb-real-hero-image{margin:0!important;overflow:hidden;border-radius:16px;box-shadow:0 16px 38px rgba(31,41,51,.13)}
.kf-eb-real-hero-image img{display:block;width:100%;height:clamp(290px,40vw,520px);object-fit:cover;object-position:center 60%}
.kf-real-projects{padding-top:clamp(55px,7vw,100px)!important;padding-bottom:clamp(55px,7vw,100px)!important}
.kf-real-project-grid{margin-top:2rem!important;gap:22px!important}
.kf-real-project-grid>.wp-block-column{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 28px rgba(31,41,51,.08)}
.kf-real-photo{display:block;width:100%;height:250px;object-fit:cover;object-position:center}
.kf-real-project-grid>.wp-block-column p{padding:0 18px 18px;margin-top:15px}
@media(max-width:781px){.kf-real-photo{height:230px}.kf-eb-real-hero-image img{height:280px}}

/* v3.2: Drei echte Erdbau-Baustellenfotos als responsives Referenzraster. */
.kf-erdbau-project-photos{align-items:stretch!important;gap:20px!important;margin-top:28px!important}
.kf-erdbau-project-photos .wp-block-column{min-width:0!important}
.kf-erdbau-project-photos figure{margin:0!important;height:100%;overflow:hidden;border-radius:12px;background:#f5f6f7}
.kf-erdbau-project-photos img{display:block;width:100%;height:250px;object-fit:cover;object-position:center 55%}
.kf-erdbau-project-photos figcaption{padding:12px 14px;margin:0!important;font-size:14px;line-height:1.45;color:#1f2933}
@media(max-width:781px){.kf-erdbau-project-photos{gap:18px!important}.kf-erdbau-project-photos img{height:230px}}

/* v3.3 – globaler, barrierearm bedienbarer Zurück-nach-oben-Button */
.kf-back-to-top{position:fixed!important;right:clamp(16px,2.5vw,36px)!important;bottom:clamp(18px,2.5vw,36px)!important;z-index:9998!important;width:52px!important;height:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:14px!important;background:#e67e22!important;color:#1f2933!important;box-shadow:0 8px 24px rgba(15,23,30,.24)!important;cursor:pointer!important;opacity:0!important;visibility:hidden!important;transform:translateY(12px)!important;pointer-events:none!important;transition:opacity .2s ease,transform .2s ease,visibility .2s ease,background .2s ease!important}
.kf-back-to-top.kf-back-to-top--visible{opacity:1!important;visibility:visible!important;transform:translateY(0)!important;pointer-events:auto!important}
.kf-back-to-top:hover{background:#f39a42!important}
.kf-back-to-top:focus-visible{outline:3px solid #fff!important;outline-offset:3px!important}
.kf-back-to-top svg{width:23px;height:23px;display:block;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.kf-back-to-top{width:46px!important;height:46px!important;right:16px!important;bottom:18px!important;border-radius:12px!important}}
@media(prefers-reduced-motion:reduce){.kf-back-to-top{transition:none!important}}

/* v3.4: Leistungsübersicht im Stil der Erdbau-Landingpage */
.kf-leistungen-page{--kf-l-max:1180px;overflow:clip}
.kf-leistungen-page .kf-l-hero{max-width:none!important;width:100%;box-sizing:border-box;margin:0!important;padding:clamp(85px,10vw,150px) max(24px,calc((100vw - 1180px)/2)) clamp(85px,9vw,135px)!important;background:linear-gradient(110deg,#19232c,#1f2933 60%,#34404b);color:#fff;position:relative;isolation:isolate;overflow:hidden}
.kf-leistungen-page .kf-l-hero:before{content:"";position:absolute;z-index:-1;inset:0 0 0 53%;background:repeating-linear-gradient(125deg,transparent 0 38px,rgba(255,255,255,.045) 39px 40px),radial-gradient(circle at 80% 40%,rgba(230,126,34,.16),transparent 60%);pointer-events:none}
.kf-leistungen-page .kf-l-hero>*{max-width:960px;margin-left:0!important}
.kf-leistungen-page .kf-l-hero h1{color:#fff;font-size:clamp(3.5rem,8vw,7rem);letter-spacing:-.055em;line-height:1.02;margin:.5rem 0 1.4rem}
.kf-leistungen-page .kf-l-hero h2{color:#fff;font-size:clamp(1.55rem,3vw,2.5rem);line-height:1.2;max-width:800px}
.kf-leistungen-page .kf-l-hero p{color:#e4e9ec;max-width:760px;font-size:1.1rem;line-height:1.75}
.kf-leistungen-page .kf-l-kicker,.kf-leistungen-page .kf-l-eyebrow{font-size:.79rem!important;font-weight:800!important;letter-spacing:.11em!important;text-transform:uppercase;color:#d96f19!important}
.kf-leistungen-page .kf-l-hero .kf-l-kicker{color:#f4a15b!important}
.kf-leistungen-page .wp-block-buttons{gap:.8rem;margin-top:1.7rem}
.kf-leistungen-page .wp-block-button__link{background:#e67e22;color:#19232c;font-weight:800;border-radius:5px;padding:.85rem 1.3rem;text-decoration:none}
.kf-leistungen-page .is-style-outline .wp-block-button__link{background:transparent;border:1px solid currentColor;color:inherit}
.kf-leistungen-page .kf-l-intro,.kf-leistungen-page .kf-l-service,.kf-leistungen-page .kf-l-process,.kf-leistungen-page .kf-l-region,.kf-leistungen-page .kf-l-cta{box-sizing:border-box;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding:clamp(55px,7vw,100px) 24px!important}
.kf-leistungen-page .kf-l-intro{padding-bottom:25px!important}
.kf-leistungen-page .kf-l-intro h2{font-size:clamp(2rem,4.3vw,3.8rem);letter-spacing:-.045em}
.kf-leistungen-page .kf-l-service{position:relative;border-top:1px solid #d9dfe3;min-height:370px;display:flex;flex-direction:column;justify-content:center;padding-top:65px!important;padding-bottom:65px!important}
.kf-leistungen-page .kf-l-service>*{max-width:680px;margin-left:0!important}
.kf-leistungen-page .kf-l-service h2{font-size:clamp(2.2rem,4.2vw,4rem);letter-spacing:-.04em;margin:.25rem 0}
.kf-leistungen-page .kf-l-service h3{font-size:clamp(1.2rem,2vw,1.65rem);margin:.3rem 0 1rem;color:#354450}
.kf-leistungen-page .kf-l-service p{line-height:1.8}
.kf-leistungen-page .kf-l-service .kf-l-tags{font-size:.9rem;color:#59646b;font-weight:700}
.kf-leistungen-page .kf-l-service-01{padding-right:min(47%,520px)!important;min-height:490px}
.kf-leistungen-page .kf-l-service-01 .kf-l-photo{position:absolute;right:24px;top:50%;transform:translateY(-50%);width:39%;max-width:445px;margin:0!important}
.kf-leistungen-page .kf-l-photo img{width:100%;height:340px;object-fit:cover;border-radius:9px;display:block}
.kf-leistungen-page .kf-l-service-02,.kf-leistungen-page .kf-l-service-04{background:#f5f6f7;border-radius:8px;padding-left:clamp(24px,5vw,65px)!important}
.kf-leistungen-page .kf-l-process{border-top:1px solid #d9dfe3}
.kf-leistungen-page .kf-l-process h2,.kf-leistungen-page .kf-l-region h2,.kf-leistungen-page .kf-l-cta h2{font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.04em}
.kf-leistungen-page .kf-l-steps{gap:1.25rem;margin-top:2.2rem}
.kf-leistungen-page .kf-l-steps>.wp-block-column{background:#f5f6f7;border-top:4px solid #e67e22;border-radius:5px;padding:1.5rem}
.kf-leistungen-page .kf-l-step-number{color:#e67e22;font-size:2rem;font-weight:900}
.kf-leistungen-page .kf-l-region{border-top:1px solid #d9dfe3}
.kf-leistungen-page .kf-l-cta{background:#1f2933;color:#fff;border-radius:9px;margin-bottom:65px!important;padding:clamp(40px,6vw,80px)!important}
.kf-leistungen-page .kf-l-cta h2{color:#fff}.kf-leistungen-page .kf-l-cta p{color:#e7e9eb}
@media(max-width:781px){.kf-leistungen-page .kf-l-hero{padding:65px 20px!important}.kf-leistungen-page .kf-l-hero h1{font-size:clamp(2.9rem,12vw,4.5rem)}.kf-leistungen-page .kf-l-service-01{padding-right:24px!important}.kf-leistungen-page .kf-l-service-01 .kf-l-photo{position:static;transform:none;width:100%;max-width:none;margin:28px 0 0!important}.kf-leistungen-page .kf-l-photo img{height:auto;max-height:400px}.kf-leistungen-page .kf-l-service{min-height:0}.kf-leistungen-page .kf-l-steps{display:block}.kf-leistungen-page .kf-l-steps>.wp-block-column{margin-bottom:14px}.kf-leistungen-page .kf-l-cta{margin-bottom:35px!important}}

/* v3.5 – eigenständige Detailseiten und echte Projektfotos */
.kf-d-hero{box-sizing:border-box;background:linear-gradient(125deg,#1f2933,#2d3b46)!important;color:white;padding:clamp(65px,8vw,120px) max(24px,calc((100vw - 1120px)/2))!important;margin:0!important;max-width:none!important}
.kf-d-hero>*{max-width:790px}.kf-d-hero h1{font-size:clamp(3rem,6.5vw,6rem);letter-spacing:-.045em;color:white;margin:.25em 0}.kf-d-hero h2{font-size:clamp(1.5rem,2.8vw,2.4rem);color:#f1f3f4;line-height:1.25}.kf-d-hero p{color:#e4e9eb;font-size:1.07rem;line-height:1.8}.kf-d-kicker{color:#e67e22!important;font-size:.78rem!important;font-weight:800!important;letter-spacing:.12em;text-transform:uppercase}
.kf-d-hero .wp-block-button__link,.kf-d-cta .wp-block-button__link{background:#e67e22!important;color:#19232c!important;font-weight:800!important;border-radius:5px}
.kf-d-split,.kf-d-feature,.kf-d-services,.kf-d-gallery,.kf-d-cta{box-sizing:border-box;max-width:1180px!important;margin:0 auto!important;padding:clamp(55px,7vw,95px) 24px!important}
.kf-d-split h2,.kf-d-feature h2,.kf-d-services h2,.kf-d-gallery h2,.kf-d-cta h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.12;letter-spacing:-.035em}
.kf-d-split{display:grid!important;grid-template-columns:1fr 1fr;gap:20px 65px;align-items:center}.kf-d-split>.wp-block-shortcode{grid-column:2;grid-row:1/span 4}.kf-d-split img{height:460px!important;width:100%;object-fit:cover;border-radius:12px}
.kf-d-feature{background:#f5f6f7;border-radius:12px;display:grid!important;grid-template-columns:1fr 1.1fr;gap:12px 55px;align-items:center}.kf-d-feature>.wp-block-shortcode{grid-column:2;grid-row:1/span 4}.kf-d-feature img{height:440px!important;width:100%;object-fit:cover;border-radius:10px}
.kf-d-card-grid{gap:16px!important}.kf-d-card-grid>.wp-block-column{background:#f5f6f7;border-top:4px solid #e67e22;padding:25px;border-radius:4px}.kf-d-card-grid h3{margin-top:0;font-size:1.2rem}.kf-d-card-grid p{line-height:1.65}
.kf-d-photo-grid{gap:18px!important}.kf-d-photo-grid .wp-block-column{min-width:0}.kf-d-photo-grid img{display:block;width:100%;height:245px;object-fit:cover;border-radius:7px}.kf-d-caption{font-size:.86rem;font-weight:700;color:#47525b;margin-top:12px}
.kf-d-band{background:#1f2933!important;color:white;padding:70px max(24px,calc((100vw - 1100px)/2))!important;max-width:none!important;margin:0!important}.kf-d-band h2{color:white}.kf-d-band p:not(.kf-d-kicker){padding:13px 0;border-bottom:1px solid #4b5963;color:#e5eaee}
.kf-d-cta{background:#f5f6f7;border-radius:12px;margin-bottom:60px!important}
.kf-leistungen-page .kf-l-service-02 .wp-block-shortcode,.kf-leistungen-page .kf-l-service-03 .wp-block-shortcode{max-width:480px;margin-top:22px!important}.kf-leistungen-page .kf-l-service-02 .wp-block-shortcode img,.kf-leistungen-page .kf-l-service-03 .wp-block-shortcode img{width:100%;height:250px;object-fit:cover;border-radius:8px}
@media(max-width:781px){.kf-d-split,.kf-d-feature{display:block!important}.kf-d-split>.wp-block-shortcode,.kf-d-feature>.wp-block-shortcode{margin-top:25px}.kf-d-split img,.kf-d-feature img{height:auto!important;max-height:430px}.kf-d-photo-grid{display:block!important}.kf-d-photo-grid>.wp-block-column{margin-bottom:28px}.kf-d-card-grid{display:block!important}.kf-d-card-grid>.wp-block-column{margin-bottom:14px}.kf-d-hero{padding:65px 22px!important}}

/* v3.6: Leistungen – echte Fotos bleiben innerhalb der jeweiligen Leistungszeile.
   Greift auch bei bereits in WordPress gespeicherten Seiteninhalten. */
@media (min-width: 782px) {
  .kf-leistungen-page .kf-l-service-02,
  .kf-leistungen-page .kf-l-service-03 {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(280px,42%)!important;
    grid-template-rows:repeat(6,auto)!important;
    column-gap:clamp(24px,4vw,60px)!important;
    align-content:center!important;
    align-items:start!important;
    min-height:440px!important;
  }
  .kf-leistungen-page .kf-l-service-02 > :not(.wp-block-shortcode):not(.kf-l-photo),
  .kf-leistungen-page .kf-l-service-03 > :not(.wp-block-shortcode):not(.kf-l-photo) {
    grid-column:1!important;min-width:0!important;max-width:100%!important;
  }
  .kf-leistungen-page .kf-l-service-02 > .wp-block-shortcode,
  .kf-leistungen-page .kf-l-service-03 > .wp-block-shortcode,
  .kf-leistungen-page .kf-l-service-02 > .kf-l-photo,
  .kf-leistungen-page .kf-l-service-03 > .kf-l-photo {
    grid-column:2!important;grid-row:1 / -1!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;align-self:center!important;
    position:static!important;transform:none!important;
  }
}
.kf-leistungen-page .kf-l-service-02 > .wp-block-shortcode,
.kf-leistungen-page .kf-l-service-03 > .wp-block-shortcode {
  box-sizing:border-box!important;overflow:hidden!important;
}
.kf-leistungen-page .kf-l-service-02 > .wp-block-shortcode img,
.kf-leistungen-page .kf-l-service-03 > .wp-block-shortcode img,
.kf-leistungen-page .kf-l-service-02 > .kf-l-photo img,
.kf-leistungen-page .kf-l-service-03 > .kf-l-photo img {
  display:block!important;width:100%!important;max-width:100%!important;
  height:clamp(260px,27vw,370px)!important;object-fit:cover!important;
  border-radius:10px!important;
}
@media (max-width:781px) {
  .kf-leistungen-page .kf-l-service-02,
  .kf-leistungen-page .kf-l-service-03 {display:flex!important;flex-direction:column!important;}
  .kf-leistungen-page .kf-l-service-02 > .wp-block-shortcode,
  .kf-leistungen-page .kf-l-service-03 > .wp-block-shortcode,
  .kf-leistungen-page .kf-l-service-02 > .kf-l-photo,
  .kf-leistungen-page .kf-l-service-03 > .kf-l-photo {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    margin:24px 0 0!important;
  }
  .kf-leistungen-page .kf-l-service-02 > .wp-block-shortcode img,
  .kf-leistungen-page .kf-l-service-03 > .wp-block-shortcode img {height:250px!important;}
}

/* v3.7: repariert bereits gespeicherte Leistungen-Seiten mit außerhalb
   der Leistungsgruppe liegenden Bildern (fehlerhafte v3.5 Blockstruktur). */
@media (min-width: 782px) {
 .kf-leistungen-page .kf-l-service-02,
 .kf-leistungen-page .kf-l-service-03 {
   position:relative!important;display:flex!important;flex-direction:column!important;
   justify-content:center!important;align-items:flex-start!important;
   box-sizing:border-box!important;padding-right:min(46%,540px)!important;
   min-height:430px!important;overflow:hidden!important;
 }
 .kf-leistungen-page .kf-l-service-02 > *,
 .kf-leistungen-page .kf-l-service-03 > * {max-width:100%!important;}
 .kf-leistungen-page .kf-l-service-02::after,
 .kf-leistungen-page .kf-l-service-03::after {
   content:"";position:absolute;top:50%;right:25px;transform:translateY(-50%);
   width:39%;height:320px;border-radius:10px;background-position:center;
   background-size:cover;background-repeat:no-repeat;pointer-events:none;
 }
 .kf-leistungen-page .kf-l-service-02::after {background-image:url('../images/tiefbau-leitungsgraben.webp')}
 .kf-leistungen-page .kf-l-service-03::after {background-image:url('../images/strassenbau-pflaster-einfahrt.webp')}
 .kf-leistungen-page .kf-l-service-02 > .kf-l-photo,
 .kf-leistungen-page .kf-l-service-03 > .kf-l-photo {display:none!important;}
}
/* Entfernt nur die beiden irrtümlich freistehenden Bilder, nicht andere Galerien. */
.kf-leistungen-page .kf-l-service-02 + figure.kf-l-photo,
.kf-leistungen-page .kf-l-service-03 + figure.kf-l-photo,
.kf-leistungen-page .kf-l-service-02 + .wp-block-image.kf-l-photo,
.kf-leistungen-page .kf-l-service-03 + .wp-block-image.kf-l-photo {display:none!important;}
@media (max-width:781px) {
 .kf-leistungen-page .kf-l-service-02,
 .kf-leistungen-page .kf-l-service-03 {position:relative!important;display:block!important;padding-bottom:290px!important;}
 .kf-leistungen-page .kf-l-service-02::after,
 .kf-leistungen-page .kf-l-service-03::after {
   content:"";position:absolute;bottom:24px;left:24px;right:24px;height:235px;
   border-radius:9px;background-size:cover;background-position:center;background-repeat:no-repeat;
 }
 .kf-leistungen-page .kf-l-service-02::after {background-image:url('../images/tiefbau-leitungsgraben.webp')}
 .kf-leistungen-page .kf-l-service-03::after {background-image:url('../images/strassenbau-pflaster-einfahrt.webp')}
 .kf-leistungen-page .kf-l-service-02 > .kf-l-photo,
 .kf-leistungen-page .kf-l-service-03 > .kf-l-photo {display:none!important;}
}


/* v3.8 – Detailseiten: WP-Standard-Seitenrahmen und Gutenberg-Constrained-Layout
   neutralisieren; saubere Bild/Text-Anordnung statt verschobener Raster. */
body.kf-detail-live main.wp-block-group > .wp-block-group:has(.kf-d-hero) {
 padding:0!important;margin:0!important;max-width:none!important;width:100%!important;
}
body.kf-detail-live main.wp-block-group > .wp-block-group:has(.kf-d-hero) > .wp-block-post-title {display:none!important}
body.kf-detail-live main.wp-block-group > .wp-block-group:has(.kf-d-hero) > .wp-block-post-content,
body.kf-detail-live .wp-block-post-content:has(.kf-d-hero) {
 width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
body.kf-detail-live .kf-d-hero {width:100%!important;max-width:none!important;}
body.kf-detail-live .kf-d-hero > * {margin-left:0!important;margin-right:0!important;}
body.kf-detail-live .kf-d-split,
body.kf-detail-live .kf-d-feature {
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 grid-template-rows:auto auto auto!important;gap:16px 55px!important;
 align-items:center!important;width:min(100% - 48px,1180px)!important;
}
body.kf-detail-live .kf-d-split > :not(.wp-block-shortcode),
body.kf-detail-live .kf-d-feature > :not(.wp-block-shortcode) {grid-column:1!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;}
body.kf-detail-live .kf-d-split > .wp-block-shortcode,
body.kf-detail-live .kf-d-feature > .wp-block-shortcode {
 grid-column:2!important;grid-row:1 / 4!important;align-self:center!important;
 width:100%!important;max-width:100%!important;margin:0!important;
}
body.kf-detail-live .kf-d-split .kf-real-photo,
body.kf-detail-live .kf-d-feature .kf-real-photo {display:block!important;width:100%!important;height:420px!important;object-fit:cover!important;border-radius:12px!important;}
body.kf-detail-live .kf-d-services,
body.kf-detail-live .kf-d-gallery,
body.kf-detail-live .kf-d-cta {width:min(100% - 48px,1180px)!important;}
body.kf-detail-live .kf-d-band {width:100%!important;max-width:none!important;}
@media(max-width:781px) {
 body.kf-detail-live .kf-d-split,body.kf-detail-live .kf-d-feature {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;width:calc(100% - 32px)!important;}
 body.kf-detail-live .kf-d-split > .wp-block-shortcode,body.kf-detail-live .kf-d-feature > .wp-block-shortcode {width:100%!important;margin-top:14px!important;}
 body.kf-detail-live .kf-d-split .kf-real-photo,body.kf-detail-live .kf-d-feature .kf-real-photo {height:auto!important;max-height:390px!important;}
 body.kf-detail-live .kf-d-services,body.kf-detail-live .kf-d-gallery,body.kf-detail-live .kf-d-cta {width:calc(100% - 32px)!important;}
}

/* v3.9 – Tiefbau eigenständige Bereiche, Gutenberg-kompatibel */
.kf-tb-hero{padding:clamp(75px,8vw,130px) max(24px,calc((100vw - 1180px)/2))!important;background:#1f2933!important;color:#fff!important}
.kf-tb-hero h1,.kf-tb-hero h2,.kf-tb-hero p{color:#fff!important;max-width:850px!important}
.kf-tb-hero h1{font-size:clamp(46px,6vw,88px)!important;line-height:1.03!important}
.kf-tb-hero h2{font-size:clamp(24px,3vw,39px)!important;color:#f2c399!important}
.kf-tb-intro,.kf-tb-drainage,.kf-tb-kanal,.kf-tb-access,.kf-tb-end{max-width:1180px!important;margin:0 auto!important;padding:clamp(52px,7vw,95px) 24px!important}
.kf-tb-intro h2,.kf-tb-drainage h2,.kf-tb-kanal h2,.kf-tb-access h2,.kf-tb-process h2,.kf-tb-end h2{font-size:clamp(30px,4vw,52px)!important;line-height:1.12!important;max-width:850px!important}
.kf-tb-intro>p,.kf-tb-drainage>p,.kf-tb-kanal>p,.kf-tb-access>p{max-width:780px!important}
.kf-tb-intro .kf-baustellenfoto,.kf-tb-access .kf-baustellenfoto{max-width:100%!important;overflow:hidden!important;border-radius:12px!important;margin:32px 0 0!important}
.kf-tb-intro img,.kf-tb-access img{width:100%!important;max-height:470px!important;object-fit:cover!important;border-radius:12px!important}
.kf-tb-drainage{background:#f5f6f7!important;max-width:none!important;padding-left:max(24px,calc((100vw - 1180px)/2))!important;padding-right:max(24px,calc((100vw - 1180px)/2))!important}
.kf-tb-kanal{border-top:4px solid #e67e22!important}
.kf-tb-access{background:#fff8f1!important;max-width:none!important;padding-left:max(24px,calc((100vw - 1180px)/2))!important;padding-right:max(24px,calc((100vw - 1180px)/2))!important}
.kf-tb-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin:30px 0!important}
.kf-tb-cards>.wp-block-column{margin:0!important;min-width:0!important;background:#fff!important;border:1px solid #dce1e5!important;border-radius:12px!important;padding:26px!important;box-shadow:0 10px 28px rgba(31,41,51,.045)!important}
.kf-tb-cards h3{margin:0 0 10px!important;color:#1f2933!important;font-size:clamp(19px,2vw,24px)!important}
.kf-tb-cards p{margin:0!important;color:#44515e!important}
.kf-tb-process{background:#1f2933!important;color:#fff!important;padding:70px max(24px,calc((100vw - 1180px)/2))!important}
.kf-tb-process h2,.kf-tb-process>.kf-d-kicker{color:#fff!important}
.kf-tb-end{padding-bottom:105px!important}
@media(max-width:781px){.kf-tb-cards{grid-template-columns:1fr!important}.kf-tb-hero{padding:65px 22px!important}.kf-tb-intro,.kf-tb-drainage,.kf-tb-kanal,.kf-tb-access,.kf-tb-end{padding:48px 22px!important}.kf-tb-process{padding:55px 22px!important}}

/* v4.0 – Echte Projektfotos auf der Tiefbau-Seite */
.kf-tb-gallery{max-width:1180px!important;margin:0 auto!important;padding:30px 24px 85px!important}
.kf-tb-gallery h2{font-size:clamp(29px,3.8vw,48px)!important;line-height:1.14!important;margin-bottom:28px!important}
.kf-tb-gallery-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
.kf-tb-gallery-item{min-width:0!important;margin:0!important;overflow:hidden!important;border-radius:12px!important;background:#f5f6f7!important}
.kf-tb-gallery-item .wp-block-shortcode{margin:0!important;line-height:0!important}
.kf-tb-gallery-item img.kf-real-photo{display:block!important;width:100%!important;max-width:100%!important;height:270px!important;object-fit:cover!important;border-radius:0!important;margin:0!important}
.kf-tb-gallery-item p{margin:0!important;padding:17px 19px!important;color:#1f2933!important;font-weight:700!important;font-size:15px!important}
@media(max-width:781px){.kf-tb-gallery{padding:24px 22px 55px!important}.kf-tb-gallery-grid{grid-template-columns:1fr!important}.kf-tb-gallery-item img.kf-real-photo{height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important}}

/* v4.1 – Tiefbau: ganzes Projektfoto zeigen und ohne Schwerpunkt-Aufzaehlungen */
.kf-tb-intro img.kf-real-photo{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;border-radius:12px!important}
.kf-tb-intro .wp-block-shortcode{width:100%!important;max-width:100%!important}
/* Auch auf bereits gespeicherten WordPress-Seiten sofort wirksam */
.kf-tb-drainage>.kf-d-kicker,.kf-tb-kanal>.kf-d-kicker,.kf-tb-access>.kf-d-kicker{display:none!important}
.kf-tb-drainage>.kf-tb-cards,.kf-tb-kanal>.kf-tb-cards,.kf-tb-access>.kf-tb-cards{display:none!important}

/* v4.2 – Tiefbau: Sprungnavigation direkt unter der Projektanfrage */
.kf-tb-hero .kf-tb-jumpnav{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;max-width:1000px!important;margin:28px 0 0!important;padding:0!important}
.kf-tb-jumpnav a{display:inline-flex!important;align-items:center!important;gap:9px!important;padding:12px 17px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:8px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;font-size:15px!important;font-weight:700!important;text-decoration:none!important;line-height:1.3!important;transition:background .2s,border-color .2s!important}
.kf-tb-jumpnav a:hover,.kf-tb-jumpnav a:focus-visible{background:#e67e22!important;border-color:#e67e22!important;color:#1f2933!important}
.kf-tb-jumpnav a span{color:#f2c399!important}.kf-tb-jumpnav a:hover span{color:#1f2933!important}
#drainage,#kanalbau,#baustrassen,#bauueberfahrten{scroll-margin-top:110px!important}
.kf-tb-anchor-target{display:block!important;height:0!important;overflow:hidden!important}
@media(max-width:600px){.kf-tb-hero .kf-tb-jumpnav{gap:9px!important}.kf-tb-jumpnav a{font-size:14px!important;padding:11px 13px!important}}

/* v4.3 – eigenständige, gut bedienbare mobile Gutenberg-Navigation */
@media (max-width: 781px) {
  /* Kopfzeile: Logo links, Menüauslöser rechts – kein ungewollter Zeilenumbruch. */
  .wp-site-blocks > header .wp-block-group:has(> .wp-block-navigation),
  header.wp-block-template-part .wp-block-group:has(> .wp-block-navigation) {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: .75rem !important;
  }
  header .wp-block-site-logo img { max-width: 90px; height: auto; }
  header .wp-block-site-title { font-size: 1rem !important; line-height: 1.2; }
  header .wp-block-navigation__responsive-container-open {
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 48px; height: 48px; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.35); border-radius: 10px;
    background: rgba(255,255,255,.09); color: #fff !important;
    transition: background .2s ease, border-color .2s ease;
  }
  header .wp-block-navigation__responsive-container-open:hover,
  header .wp-block-navigation__responsive-container-open:focus-visible {
    background: #E67E22; border-color: #E67E22; color: #1F2933 !important;
  }
  header .wp-block-navigation__responsive-container-open svg { width: 27px; height: 27px; }

  /* Vollbildmenü mit eigenem Header, ausreichend Kontrast und Scrollmöglichkeit. */
  .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important; inset: 0 !important;
    background: #1F2933 !important; color: #fff !important;
    padding: 0 !important; z-index: 999999 !important;
    overflow-y: auto !important; overscroll-behavior: contain;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
    min-height: 100%; width: 100%; max-width: none;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    padding: 88px clamp(22px, 6vw, 42px) 48px !important;
    box-sizing: border-box; max-width: 680px; margin: 0 auto;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    position: fixed !important; top: 19px !important; right: clamp(20px, 6vw, 40px) !important;
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35);
    border-radius: 10px; background: #2d3945; color: #fff !important;
    z-index: 2;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
    width: 25px; height: 25px;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex !important; flex-direction: column !important; align-items: stretch !important;
    justify-content: flex-start !important; width: 100%; gap: 0 !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%; box-sizing: border-box; color: #fff !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
    border-bottom: 1px solid rgba(255,255,255,.16);
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
    display: block; width: 100%; padding: 16px 0 !important;
    font-size: clamp(1.23rem, 5vw, 1.6rem) !important;
    font-weight: 750; line-height: 1.35;
  }
  .wp-block-navigation__responsive-container.is-menu-open a,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label {
    color: #fff !important; opacity: 1 !important; text-decoration: none !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open a:hover,
  .wp-block-navigation__responsive-container.is-menu-open a:focus-visible { color: #F2A45C !important; }
  /* Gutenberg zeigt Untermenüs mobil aufgeklappt – deutlich eingerückt, ohne weiße Box. */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    display: flex !important; position: static !important; flex-direction: column !important;
    width: 100% !important; min-width: 0 !important; height: auto !important;
    padding: 0 0 14px 18px !important; margin: 0 !important;
    background: transparent !important; border: 0 !important;
    box-shadow: none !important; opacity: 1 !important; visibility: visible !important;
    gap: 0 !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
    border-left: 2px solid rgba(230,126,34,.65);
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    display: block; padding: 10px 0 10px 17px !important;
    font-size: 1.03rem !important; font-weight: 500; line-height: 1.4;
    background: transparent !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
    background: transparent !important; color: #F2A45C !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  header .wp-block-navigation__responsive-container-open { transition: none; }
}

/* v4.4: crisp supplied company logo, readable on the dark header. */
header .wp-block-site-logo {flex:0 1 auto!important;min-width:0!important;margin:0!important}
header .wp-block-site-logo a {display:block!important;line-height:0!important}
header .wp-block-site-logo img {width:260px!important;max-width:100%!important;height:auto!important;object-fit:contain!important;image-rendering:auto!important}
header .wp-block-site-title {display:none!important}
@media(max-width:781px){header .wp-block-site-logo img{width:205px!important;max-width:min(205px,58vw)!important;height:auto!important}}
@media(max-width:380px){header .wp-block-site-logo img{width:175px!important;max-width:56vw!important}}

/* v4.5 – eigenständige Straßenbau- und Pflasterseite */
.kf-sb-hero{padding-bottom:80px!important}
.kf-sb-jump{max-width:1180px!important;margin:0 auto!important;padding:34px 24px 20px!important}
.kf-sb-jump-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.kf-sb-jump-links a{display:inline-flex;align-items:center;gap:13px;padding:12px 16px;border:1px solid #d7dce0;border-radius:9px;color:#1f2933;font-size:14px;font-weight:750;text-decoration:none;transition:.2s}
.kf-sb-jump-links a:hover,.kf-sb-jump-links a:focus-visible{background:#1f2933;color:white;border-color:#1f2933}
.kf-sb-jump-links span{color:#e67e22}
.kf-sb-intro{max-width:1180px!important;margin:0 auto!important;padding:45px 24px 90px!important}
.kf-sb-intro h2,.kf-sb-projects h2,.kf-sb-steps h2{font-size:clamp(30px,4vw,50px)!important;line-height:1.12!important;max-width:850px}
.kf-sb-intro>p:not(.kf-d-kicker){max-width:820px;font-size:18px;line-height:1.8}
.kf-sb-intro .wp-block-shortcode{margin-top:30px}
.kf-sb-intro img.kf-real-photo{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;border-radius:13px!important}
.kf-sb-section{max-width:1180px!important;margin:0 auto!important;padding:78px 24px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:65px;scroll-margin-top:110px}
.kf-sb-section.kf-sb-reverse .kf-sb-copy{order:2}.kf-sb-section.kf-sb-reverse .kf-sb-visual{order:1}
.kf-sb-section .kf-sb-copy,.kf-sb-section .kf-sb-visual{min-width:0!important;margin:0!important}
.kf-sb-section h2{font-size:clamp(30px,3.4vw,46px)!important;line-height:1.12!important;margin:12px 0 22px!important}
.kf-sb-section .kf-sb-copy>p:not(.kf-d-kicker){font-size:17px!important;line-height:1.85!important;color:#4a5560}
.kf-sb-visual .wp-block-shortcode{margin:0!important;line-height:0!important}
.kf-sb-visual img.kf-real-photo{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;border-radius:14px!important}
.kf-sb-section:nth-of-type(even){background:#f5f6f7;border-radius:18px}
.kf-sb-projects,.kf-sb-steps{max-width:1180px!important;margin:0 auto!important;padding:85px 24px!important}
.kf-sb-project-grid,.kf-sb-step-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-top:35px!important}
.kf-sb-project,.kf-sb-step{margin:0!important;min-width:0!important}
.kf-sb-project{overflow:hidden;border-radius:12px;background:#f5f6f7}
.kf-sb-project .wp-block-shortcode{margin:0!important;line-height:0!important}
.kf-sb-project img.kf-real-photo{width:100%!important;height:230px!important;object-fit:cover!important;display:block!important;border-radius:0!important}
.kf-sb-project>p{font-size:16px;font-weight:750;padding:18px 20px!important;margin:0!important}
.kf-sb-steps{padding-top:50px!important}
.kf-sb-step{background:#f5f6f7;border-radius:12px;padding:28px!important}
.kf-sb-stepnum{font-size:31px!important;color:#e67e22!important;font-weight:850!important;margin:0 0 18px!important}
.kf-sb-step h3{font-size:23px!important;margin:0 0 12px!important}
.kf-sb-step p:last-child{line-height:1.7;color:#4a5560}
.kf-sb-cta{margin-top:40px!important}
@media(max-width:781px){.kf-sb-hero{padding-bottom:55px!important}.kf-sb-jump{padding:28px 20px 5px!important}.kf-sb-jump-links a{font-size:13px;padding:11px 13px}.kf-sb-intro{padding:35px 20px 55px!important}.kf-sb-section{padding:50px 20px!important;grid-template-columns:1fr!important;gap:24px!important}.kf-sb-section.kf-sb-reverse .kf-sb-copy,.kf-sb-section.kf-sb-reverse .kf-sb-visual{order:initial}.kf-sb-projects,.kf-sb-steps{padding:55px 20px!important}.kf-sb-project-grid,.kf-sb-step-grid{grid-template-columns:1fr!important}.kf-sb-project img.kf-real-photo{height:auto!important;aspect-ratio:4/3!important}.kf-sb-section:nth-of-type(even){border-radius:0}}

/* 4.6: Eigene Pflaster-Projektfotos */
.kf-sb-photo-gallery{max-width:1180px!important;margin:0 auto!important;padding:75px 24px!important}
.kf-sb-photo-gallery h2{font-size:clamp(30px,4vw,48px)!important;line-height:1.14!important}
.kf-sb-photo-gallery>p:not(.kf-d-kicker){max-width:750px;line-height:1.75}
.kf-sb-photo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px!important;margin-top:32px!important}
.kf-sb-photo-card{min-width:0!important;margin:0!important;background:#f5f6f7;border-radius:12px;overflow:hidden}
.kf-sb-photo-card .wp-block-shortcode{margin:0!important;line-height:0!important}
.kf-sb-photo-card img.kf-real-photo{display:block!important;width:100%!important;height:255px!important;object-fit:cover!important;border-radius:0!important}
.kf-sb-photo-card>p{margin:0!important;padding:14px 17px!important;font-size:14px;font-weight:700;color:#1f2933}
@media(max-width:781px){.kf-sb-photo-gallery{padding:50px 20px!important}.kf-sb-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.kf-sb-photo-card img.kf-real-photo{height:170px!important}.kf-sb-photo-card>p{font-size:12px;padding:11px!important}}
@media(max-width:480px){.kf-sb-photo-grid{grid-template-columns:1fr!important}.kf-sb-photo-card img.kf-real-photo{height:auto!important;aspect-ratio:4/3!important}}

/* 4.8 Maschinenpark – eigenständiges responsives Seitenlayout */
body.page-slug-maschinenpark .wp-block-post-title{display:none}
.kf-mp-hero{background:#1f2933;color:#fff;padding:95px max(24px,calc((100vw - 1140px)/2)) 105px!important;box-sizing:border-box}
.kf-mp-hero>*{max-width:850px!important;margin-left:0!important}
.kf-mp-eyebrow{font-size:12px!important;letter-spacing:.16em!important;color:#e67e22!important;font-weight:800!important;text-transform:uppercase;margin:0 0 20px!important}
.kf-mp-hero h1{font-size:clamp(48px,7vw,88px)!important;letter-spacing:-.045em;line-height:1.04!important;color:#fff!important;margin:0 0 17px!important}
.kf-mp-hero h2{font-size:clamp(24px,3vw,37px)!important;color:#d9c3a5!important;line-height:1.2!important;margin:0 0 25px!important}
.kf-mp-hero>p:not(.kf-mp-eyebrow){font-size:18px!important;line-height:1.8!important;color:#e4e9ed!important;max-width:730px!important}
.kf-mp-hero .wp-block-button__link,.kf-mp-cta .wp-block-button__link{background:#e67e22!important;color:#1f2933!important;border-radius:8px!important;font-weight:800;padding:15px 25px!important}
.kf-mp-jump,.kf-mp-intro,.kf-mp-note{max-width:1160px!important;margin:0 auto!important;padding:55px 24px!important}
.kf-mp-links{display:flex;gap:10px;flex-wrap:wrap}
.kf-mp-links a{display:inline-flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 17px;border:1px solid #d6dce0;border-radius:8px;text-decoration:none;color:#1f2933;font-size:14px;font-weight:700;transition:background .2s,border-color .2s}
.kf-mp-links a:hover,.kf-mp-links a:focus-visible{background:#fdf0e3;border-color:#e67e22}
.kf-mp-links span{color:#e67e22}
.kf-mp-intro{padding-top:30px!important}
.kf-mp-intro h2,.kf-mp-note h2{font-size:clamp(31px,4vw,49px)!important;line-height:1.14!important;max-width:850px}
.kf-mp-intro>p:not(.kf-mp-eyebrow),.kf-mp-note>p:not(.kf-mp-eyebrow){max-width:760px;font-size:17px;line-height:1.85;color:#485461}
.kf-mp-intro .wp-block-shortcode{line-height:0;margin-top:30px}
.kf-mp-intro img.kf-real-photo{display:block;width:100%!important;height:auto!important;max-height:570px!important;object-fit:contain!important;border-radius:13px!important}
.kf-mp-section{max-width:1160px!important;margin:0 auto!important;padding:65px 24px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:65px;scroll-margin-top:110px}
.kf-mp-section .kf-mp-copy,.kf-mp-section .kf-mp-photo{min-width:0!important;margin:0!important}
.kf-mp-section.kf-mp-reverse .kf-mp-copy{order:2}.kf-mp-section.kf-mp-reverse .kf-mp-photo{order:1}
.kf-mp-section h2{font-size:clamp(29px,3.5vw,44px)!important;line-height:1.14!important;margin:0 0 23px!important}
.kf-mp-copy>p:not(.kf-mp-eyebrow){font-size:17px!important;line-height:1.85!important;color:#485461}
.kf-mp-photo .wp-block-shortcode{line-height:0!important;margin:0!important}
.kf-mp-photo img.kf-real-photo{display:block!important;width:100%!important;height:auto!important;max-height:490px!important;object-fit:contain!important;border-radius:13px!important}
.kf-mp-note{background:#f5f6f7;border-radius:16px;padding:55px!important;margin-top:40px!important;margin-bottom:65px!important}
.kf-mp-cta{max-width:1160px!important;margin:0 auto 70px!important;padding:65px!important;background:#1f2933;border-radius:16px;color:#fff}
.kf-mp-cta h2{color:#fff!important;font-size:clamp(30px,4vw,48px)!important;margin:0 0 20px!important}
.kf-mp-cta>p:not(.kf-mp-eyebrow){color:#e4e9ed!important;font-size:17px;line-height:1.7;max-width:680px}
@media(max-width:781px){.kf-mp-hero{padding:65px 22px 75px!important}.kf-mp-jump,.kf-mp-intro,.kf-mp-note{padding:42px 20px!important}.kf-mp-section{grid-template-columns:1fr!important;gap:22px!important;padding:45px 20px!important}.kf-mp-section.kf-mp-reverse .kf-mp-copy,.kf-mp-section.kf-mp-reverse .kf-mp-photo{order:initial}.kf-mp-cta{padding:45px 23px!important;margin:25px 20px 55px!important}.kf-mp-note{margin:20px!important}.kf-mp-links a{flex:1 1 44%}}
@media(max-width:480px){.kf-mp-links a{flex:1 1 100%}}


/* v5.0 – Maschinenpark-Banner: Gutenberg-Layoutbegrenzung vollständig aufheben.
   Greift auch bei bereits gespeicherten Seiten und Standard-Seitentemplates. */
body.kf-maschinenpark-live main.wp-block-group,
body.kf-maschinenpark-live main.wp-block-group > .wp-block-group:has(.kf-mp-hero),
body.kf-maschinenpark-live .wp-block-post-content:has(.kf-mp-hero),
body.kf-maschinenpark-live .wp-block-post-content:has(.kf-mp-hero) > .kf-mp-hero {
  width:100%!important;max-width:none!important;
}
body.kf-maschinenpark-live main.wp-block-group > .wp-block-group:has(.kf-mp-hero),
body.kf-maschinenpark-live .wp-block-post-content:has(.kf-mp-hero) {
  padding:0!important;margin:0!important;
}
body.kf-maschinenpark-live main.wp-block-group .wp-block-post-title:has(+ .wp-block-post-content .kf-mp-hero),
body.kf-maschinenpark-live main.wp-block-group > .wp-block-group:has(.kf-mp-hero) > .wp-block-post-title {
  display:none!important;
}
body.kf-maschinenpark-live .kf-mp-hero {
  display:block!important;position:relative!important;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:clamp(70px,8vw,115px) max(24px,calc((100vw - 1140px)/2)) clamp(75px,8vw,120px)!important;
  background:linear-gradient(115deg,#19232c,#1f2933 65%,#34404b)!important;
  color:#fff!important;overflow:hidden;isolation:isolate;
}
body.kf-maschinenpark-live .kf-mp-hero::before {
  content:"";position:absolute;inset:0 0 0 55%;z-index:-1;
  background:repeating-linear-gradient(125deg,transparent 0 36px,rgba(255,255,255,.045) 37px 38px);
  pointer-events:none;
}
body.kf-maschinenpark-live .kf-mp-hero > * {max-width:850px!important;margin-left:0!important;margin-right:0!important;}
body.kf-maschinenpark-live .kf-mp-hero h1,
body.kf-maschinenpark-live .kf-mp-hero h2 {overflow-wrap:break-word;hyphens:auto;}
@media(max-width:781px){
 body.kf-maschinenpark-live .kf-mp-hero {padding:64px 22px 74px!important;}
 body.kf-maschinenpark-live .kf-mp-hero h1 {font-size:clamp(40px,10vw,68px)!important;}
 body.kf-maschinenpark-live .kf-mp-hero::before {inset:0 0 0 30%;}
}

/* v5.1 – Unternehmensseite */
body.kf-unternehmen-live main.wp-block-group,body.kf-unternehmen-live .wp-block-post-content:has(.kf-ue-hero){max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body.kf-unternehmen-live main.wp-block-group>.wp-block-group:has(.kf-ue-hero){max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body.kf-unternehmen-live .wp-block-post-title{display:none!important}
.kf-ue-hero{width:100%!important;max-width:none!important;margin:0!important;padding:clamp(70px,8vw,115px) max(24px,calc((100vw - 1140px)/2))!important;background:linear-gradient(115deg,#19232c,#1f2933 65%,#34404b)!important;color:#fff!important;position:relative;overflow:hidden}
.kf-ue-hero:before{content:"";position:absolute;inset:0 0 0 58%;background:repeating-linear-gradient(125deg,transparent 0 35px,rgba(255,255,255,.045) 36px 37px);pointer-events:none}
.kf-ue-hero>*{max-width:830px!important;margin-left:0!important;margin-right:0!important;position:relative}
.kf-ue-hero h1{color:#fff!important;font-size:clamp(40px,5.7vw,76px)!important;line-height:1.08!important;letter-spacing:-.035em}
.kf-ue-hero p:not(.kf-ue-eyebrow){color:#e5e9ed!important;font-size:clamp(17px,2vw,20px);line-height:1.7}
.kf-ue-eyebrow{color:#e67e22!important;font-size:12px!important;font-weight:800!important;letter-spacing:.15em!important;text-transform:uppercase}
.kf-ue-hero .wp-block-button__link,.kf-ue-cta .wp-block-button__link{background:#e67e22!important;color:#fff!important;border-radius:6px!important;padding:15px 24px!important;text-decoration:none!important}
.kf-ue-intro,.kf-ue-jump,.kf-ue-services,.kf-ue-region{max-width:1140px!important;margin:0 auto!important;padding:75px 24px!important}
.kf-ue-intro h2,.kf-ue-services h2,.kf-ue-region h2{font-size:clamp(31px,4vw,51px)!important;line-height:1.14!important;max-width:850px}
.kf-ue-intro>p:not(.kf-ue-eyebrow),.kf-ue-services>p:not(.kf-ue-eyebrow),.kf-ue-region>p:not(.kf-ue-eyebrow){font-size:17px;line-height:1.85;color:#485461;max-width:850px}
.kf-ue-intro img.kf-real-photo{display:block;width:100%!important;height:auto!important;max-height:550px!important;object-fit:contain!important;border-radius:14px!important;margin-top:30px}
.kf-ue-jump{padding-top:28px!important;padding-bottom:40px!important;border-top:1px solid #e4e7ea;border-bottom:1px solid #e4e7ea}
.kf-ue-links{display:flex;flex-wrap:wrap;gap:10px}.kf-ue-links a{display:inline-flex;align-items:center;padding:12px 17px;border:1px solid #d9c3a5;border-radius:8px;color:#1f2933;text-decoration:none;font-weight:650}.kf-ue-links a:hover{border-color:#e67e22;color:#e67e22}
.kf-ue-section{max-width:1140px!important;margin:0 auto!important;padding:70px 24px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:65px;align-items:center;scroll-margin-top:110px}
.kf-ue-section>.kf-ue-copy,.kf-ue-section>.kf-ue-photo{margin:0!important;min-width:0!important}.kf-ue-reverse>.kf-ue-copy{order:2}.kf-ue-reverse>.kf-ue-photo{order:1}
.kf-ue-section h2{font-size:clamp(30px,3.6vw,45px)!important;line-height:1.15!important}.kf-ue-section .kf-ue-copy>p:not(.kf-ue-eyebrow){font-size:17px;line-height:1.85;color:#485461}
.kf-ue-photo .wp-block-shortcode{line-height:0!important}.kf-ue-photo img.kf-real-photo{display:block!important;width:100%!important;height:auto!important;max-height:490px!important;object-fit:contain!important;border-radius:14px!important}
.kf-ue-services{scroll-margin-top:110px}.kf-ue-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:35px}.kf-ue-service{padding:30px;background:#f5f6f7;border-radius:12px;border-left:4px solid #e67e22}.kf-ue-service h3{font-size:23px!important;line-height:1.3!important;margin:0 0 12px!important}.kf-ue-service p{font-size:16px;line-height:1.7;color:#485461}.kf-ue-service a{font-weight:700;color:#c36516;text-decoration:none}
.kf-ue-region{background:#f5f6f7;border-radius:16px;scroll-margin-top:110px;margin-top:25px!important;margin-bottom:60px!important;padding:60px!important}
.kf-ue-cta{max-width:1140px!important;margin:0 auto 75px!important;padding:65px!important;background:#1f2933;border-radius:16px;color:#fff}.kf-ue-cta h2{color:#fff!important;font-size:clamp(32px,4vw,50px)!important}.kf-ue-cta>p:not(.kf-ue-eyebrow){color:#e5e9ed!important;font-size:17px;line-height:1.75;max-width:700px}
@media(max-width:781px){.kf-ue-hero{padding:65px 22px!important}.kf-ue-intro,.kf-ue-jump,.kf-ue-services{padding:45px 20px!important}.kf-ue-section{grid-template-columns:1fr!important;gap:20px!important;padding:45px 20px!important}.kf-ue-reverse>.kf-ue-copy,.kf-ue-reverse>.kf-ue-photo{order:initial}.kf-ue-service-grid{grid-template-columns:1fr}.kf-ue-region{padding:38px 24px!important;margin:15px 20px 45px!important}.kf-ue-cta{padding:42px 24px!important;margin:20px 20px 55px!important}.kf-ue-links a{flex:1 1 44%}}
@media(max-width:480px){.kf-ue-links a{flex:1 1 100%}}


/* v5.2 — Projektakten: gestaltete Ordnerkarten mit aufklappbaren Einblicken */
body.kf-projekte-live main.wp-block-group,body.kf-projekte-live .wp-block-post-content:has(.kf-pa-hero){max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body.kf-projekte-live main.wp-block-group>.wp-block-group:has(.kf-pa-hero){max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body.kf-projekte-live .wp-block-post-title{display:none!important}
.kf-pa-hero{background:#1f2933!important;color:#fff!important;padding:clamp(78px,9vw,140px) max(24px,calc((100vw - 1160px)/2)) clamp(90px,9vw,130px)!important;position:relative;overflow:hidden;isolation:isolate}
.kf-pa-hero:before{content:"";position:absolute;right:-6%;top:-28%;width:45%;height:150%;border:1px solid #ffffff19;transform:rotate(25deg);z-index:-1;box-shadow:-65px 0 0 #ffffff05,-130px 0 0 #ffffff05}
.kf-pa-hero>*{max-width:900px!important;margin-left:0!important}
.kf-pa-kicker{font-size:12px!important;font-weight:800!important;letter-spacing:.16em!important;color:#e67e22!important;text-transform:uppercase}
.kf-pa-hero h1{font-size:clamp(48px,7vw,90px)!important;line-height:1.05!important;color:white!important;letter-spacing:-.055em!important;margin:20px 0 25px!important}
.kf-pa-hero h1 em{color:#e67e22;font-style:normal}
.kf-pa-hero p:not(.kf-pa-kicker){color:#d7dde2!important;font-size:clamp(17px,1.8vw,21px)!important;max-width:670px!important;line-height:1.7}
.kf-pa-hero .wp-block-buttons{margin-top:32px!important;gap:14px!important}
.kf-pa-hero .is-style-outline a{border-color:#aab3ba!important;color:#fff!important}
.kf-pa-intro{padding:76px 24px 34px!important;max-width:1200px!important}
.kf-pa-intro>*{max-width:820px!important;margin-left:0!important}
.kf-pa-intro h2,.kf-pa-note h2{font-size:clamp(32px,4vw,51px)!important;letter-spacing:-.035em!important;line-height:1.14!important}
.kf-pa-intro p:not(.kf-pa-kicker){font-size:17px!important;line-height:1.8;color:#55616b}
.kf-pa-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0 0}
.kf-pa-jumps a{padding:11px 17px;border:1px solid #d9dfe3;border-radius:100px;color:#26343e;text-decoration:none;font-weight:700;font-size:14px;transition:all .2s}
.kf-pa-jumps a:hover{border-color:#e67e22;color:#bf5d0d;background:#fff8f1}
.kf-pa-gallery{max-width:1200px!important;padding:32px 24px 100px!important;scroll-margin-top:100px}
.kf-pa-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 26px;align-items:start}
.kf-pa-file{min-width:0;scroll-margin-top:110px;transition:transform .25s}
.kf-pa-file:hover{transform:translateY(-5px)}
.kf-pa-file-tab{width:max-content;min-width:130px;max-width:80%;height:35px;background:#e67e22;color:#fff;border-radius:13px 13px 0 0;padding:9px 17px 6px;font-size:11px;font-weight:800;letter-spacing:.14em;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-left:19px}
.kf-pa-file-tab span{font-size:17px;font-weight:400}
.kf-pa-file-shell{background:#fff;border:1px solid #e2e5e8;border-radius:13px;overflow:hidden;box-shadow:0 13px 34px #1f293313;position:relative}
.kf-pa-file-shell:before{content:"";position:absolute;left:0;top:0;width:100%;height:5px;background:#e67e22;z-index:1}
.kf-pa-file-image{aspect-ratio:16/10;overflow:hidden;background:#dfe4e7}
.kf-pa-file-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.kf-pa-file:hover .kf-pa-file-image img{transform:scale(1.035)}
.kf-pa-file-content{padding:27px 29px 24px}
.kf-pa-category{font-size:10px;font-weight:800;letter-spacing:.12em;color:#a45b20;display:flex;align-items:center;gap:10px}
.kf-pa-category i{width:4px;height:4px;background:#b9c1c7;border-radius:50%}
.kf-pa-file h3{font-size:clamp(24px,2.5vw,33px)!important;line-height:1.2!important;margin:12px 0!important;letter-spacing:-.035em;color:#1f2933}
.kf-pa-file-content>p{color:#66717a;line-height:1.7;font-size:15px;margin:0 0 22px}
.kf-pa-details{border-top:1px solid #e7e9ec;padding-top:16px}
.kf-pa-details summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;font-weight:800;color:#1f2933}
.kf-pa-details summary::-webkit-details-marker{display:none}
.kf-pa-details summary span{background:#f2f4f5;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:19px;color:#d67520;transition:transform .2s}
.kf-pa-details[open] summary span{transform:rotate(45deg)}
.kf-pa-details-inner{padding:19px 0 5px;color:#56636d;line-height:1.7;font-size:14px}
.kf-pa-details-inner strong{color:#1f2933}
.kf-pa-details-inner p{margin:8px 0 13px}
.kf-pa-details-inner a{color:#b95e13;font-weight:800;text-decoration:none}
.kf-pa-note{max-width:1152px!important;background:#f5f6f7;padding:55px clamp(25px,5vw,75px)!important;border-radius:20px;margin-bottom:90px!important}
.kf-pa-note>*{max-width:800px!important;margin-left:0!important}
.kf-pa-note p:not(.kf-pa-kicker){color:#58656e;line-height:1.8}
.kf-pa-cta{max-width:1152px!important;background:#1f2933!important;color:#fff!important;border-radius:20px;padding:clamp(36px,6vw,75px)!important;margin-bottom:100px!important;position:relative;overflow:hidden}
.kf-pa-cta>*{max-width:760px!important;margin-left:0!important}
.kf-pa-cta h2{color:#fff!important;font-size:clamp(32px,4vw,53px)!important;letter-spacing:-.04em}
.kf-pa-cta p:not(.kf-pa-kicker){color:#d6dce1!important;line-height:1.8}
@media(max-width:700px){.kf-pa-hero{padding:70px 22px 80px!important}.kf-pa-files{grid-template-columns:1fr;gap:28px}.kf-pa-gallery{padding:20px 18px 60px!important}.kf-pa-intro{padding:55px 22px 25px!important}.kf-pa-file-content{padding:22px}.kf-pa-note,.kf-pa-cta{border-radius:12px;margin-left:16px!important;margin-right:16px!important;margin-bottom:55px!important}.kf-pa-hero h1{font-size:clamp(43px,11vw,68px)!important}}
@media(prefers-reduced-motion:reduce){.kf-pa-file,.kf-pa-file-image img,.kf-pa-details summary span{transition:none!important}}

/* K&F v5.6 – eigenständige Startseite */
.kf-home-page{overflow:hidden}.kf-home-page *{box-sizing:border-box}.kf-home-wrap{width:min(1200px,calc(100% - 48px));margin-inline:auto}.kf-home-page h1,.kf-home-page h2,.kf-home-page h3{font-family:inherit;letter-spacing:-.045em;line-height:1.06;margin:0}.kf-home-page h2{font-size:clamp(2.25rem,4.6vw,4.65rem);font-weight:850}.kf-home-page h2 em,.kf-home-page h1 em{font-style:normal;color:#E67E22}.kf-home-kicker,.kf-home-eyebrow{display:block;font-size:.76rem;font-weight:850;letter-spacing:.16em;color:#E67E22;text-transform:uppercase;margin-bottom:22px}.kf-home-page p{line-height:1.75}.kf-home-page a{text-decoration:none}.kf-home-hero{min-height:min(780px,85vh);position:relative;background:#1F2933;color:#fff;display:flex;align-items:center;padding:105px 0 95px;isolation:isolate}.kf-home-hero-image,.kf-home-hero-shade{position:absolute;inset:0;z-index:-1}.kf-home-hero-image .wp-block-shortcode,.kf-home-hero-image .kf-real-photo{height:100%!important;width:100%!important;margin:0!important}.kf-home-hero-image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 48%}.kf-home-hero-shade{background:linear-gradient(90deg,rgba(18,26,33,.97) 0%,rgba(18,26,33,.89) 38%,rgba(18,26,33,.35) 100%),linear-gradient(0deg,rgba(18,26,33,.55),transparent 45%)}.kf-home-hero-content{position:relative;z-index:2}.kf-home-hero h1{font-size:clamp(3.7rem,8.4vw,8.2rem);font-weight:900;text-transform:uppercase;max-width:940px}.kf-home-hero-content>p{font-size:clamp(1.05rem,1.7vw,1.35rem);max-width:620px;color:#e3e6e8;margin:28px 0 34px}.kf-home-actions{display:flex;flex-wrap:wrap;gap:14px}.kf-home-btn,.kf-home-btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:26px;padding:16px 23px;font-size:.92rem;font-weight:800;border-radius:5px;transition:transform .2s,background .2s}.kf-home-btn{background:#E67E22;color:#1F2933!important}.kf-home-btn:hover{background:#f4a35a;transform:translateY(-2px)}.kf-home-btn-outline{border:1px solid #a9b0b7;color:#fff!important}.kf-home-btn-outline:hover{background:rgba(255,255,255,.1)}.kf-home-hero-bottom{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;gap:20px;padding:17px max(24px,calc((100vw - 1200px)/2));border-top:1px solid rgba(255,255,255,.25);font-size:.7rem;letter-spacing:.14em;font-weight:800;color:#d8dde1}.kf-home-intro{padding:100px 0;background:#fff}.kf-home-intro-grid{display:grid;grid-template-columns:1fr .85fr;gap:10%;align-items:center}.kf-home-intro-grid p{font-size:1.14rem;color:#4d5963;margin:0 0 22px}.kf-home-textlink{display:inline-flex;gap:14px;align-items:center;color:#c76712!important;font-weight:850;border-bottom:2px solid #E67E22;padding-bottom:8px}.kf-home-services{background:#f5f6f7;padding:100px 0}.kf-home-section-head{display:flex;justify-content:space-between;align-items:end;gap:55px;margin-bottom:44px}.kf-home-section-head>p{max-width:380px;color:#53616b;margin:0}.kf-home-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.kf-home-service-card{background:#fff;border:1px solid #e3e6e8;overflow:hidden;min-width:0;transition:transform .25s,box-shadow .25s}.kf-home-service-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px #1f29331a}.kf-home-service-image{height:235px;overflow:hidden}.kf-home-service-image .wp-block-shortcode,.kf-home-project-photo .wp-block-shortcode,.kf-home-equipment-photo .wp-block-shortcode,.kf-home-about-photo .wp-block-shortcode{margin:0!important;height:100%;line-height:0}.kf-home-service-image img,.kf-home-project-photo img,.kf-home-equipment-photo img,.kf-home-about-photo img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}.kf-home-service-body{padding:27px}.kf-home-index{font-size:.7rem;font-weight:850;letter-spacing:.12em;color:#b96317}.kf-home-service-body h3{font-size:1.7rem;margin:15px 0}.kf-home-service-body p{font-size:.94rem;color:#59636c;min-height:83px}.kf-home-services-footer{margin-top:36px;text-align:right}.kf-home-projects{padding:105px 0;background:#1F2933;color:#fff}.kf-home-projects .kf-home-section-head>p{color:#cbd1d6}.kf-home-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.kf-home-project-card{position:relative;min-width:0;background:#2b3741;border:1px solid #48535c}.kf-home-project-tab{position:absolute;z-index:2;top:-14px;left:0;padding:9px 18px;background:#E67E22;color:#1F2933;font-size:.73rem;font-weight:900;letter-spacing:.1em;border-radius:5px 5px 0 0}.kf-home-project-photo{height:225px;overflow:hidden}.kf-home-project-info{padding:25px}.kf-home-project-info>span{font-size:.7rem;letter-spacing:.13em;color:#e6a46d;font-weight:800}.kf-home-project-info h3{font-size:1.55rem;margin:12px 0 23px}.kf-home-project-info a{color:#fff;font-size:.91rem;font-weight:800}.kf-home-center{text-align:center;margin-top:42px}.kf-home-equipment{padding:105px 0;background:#fff}.kf-home-equipment-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:8%;align-items:center}.kf-home-equipment-photo{height:490px;position:relative}.kf-home-photo-label{position:absolute;bottom:20px;left:0;padding:12px 18px;background:#E67E22;color:#1F2933;font-size:.7rem;letter-spacing:.1em;font-weight:900}.kf-home-equipment-copy p,.kf-home-about p{color:#53616b;font-size:1.06rem;margin:26px 0}.kf-home-equipment-tags{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 30px}.kf-home-equipment-tags span{border:1px solid #d6dce0;padding:9px 12px;font-size:.78rem;font-weight:700}.kf-home-about{background:#eee9e2;padding:100px 0}.kf-home-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}.kf-home-about-photo{height:400px}.kf-home-cta{padding:95px 0;background:#263440;color:#fff}.kf-home-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:40px}.kf-home-cta p{color:#d3d9de;margin:22px 0 0}.kf-home-cta .kf-home-btn{flex-shrink:0}
@media(max-width:900px){.kf-home-service-grid,.kf-home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kf-home-service-card:last-child,.kf-home-project-card:last-child{grid-column:1/-1}.kf-home-equipment-grid{gap:35px}.kf-home-equipment-photo{height:370px}.kf-home-section-head{align-items:start;flex-direction:column;gap:15px}}
@media(max-width:650px){.kf-home-wrap{width:min(100% - 32px,1200px)}.kf-home-hero{min-height:680px;padding:95px 0 100px}.kf-home-hero h1{font-size:clamp(3rem,12vw,4.7rem)}.kf-home-hero-shade{background:linear-gradient(90deg,rgba(18,26,33,.91),rgba(18,26,33,.7)),linear-gradient(0deg,#1f2933,transparent)}.kf-home-hero-bottom{padding:14px 16px}.kf-home-hero-bottom span:last-child{display:none}.kf-home-intro,.kf-home-services,.kf-home-projects,.kf-home-equipment,.kf-home-about,.kf-home-cta{padding:65px 0}.kf-home-intro-grid,.kf-home-equipment-grid,.kf-home-about-grid{grid-template-columns:1fr;gap:28px}.kf-home-service-grid,.kf-home-project-grid{grid-template-columns:1fr}.kf-home-service-card:last-child,.kf-home-project-card:last-child{grid-column:auto}.kf-home-service-body p{min-height:0}.kf-home-equipment-photo,.kf-home-about-photo{height:300px}.kf-home-cta-inner{align-items:start;flex-direction:column}.kf-home-page h2{font-size:clamp(2.1rem,9vw,3.2rem)}.kf-home-service-image{height:220px}.kf-home-project-photo{height:215px}}

/* V5.7: Ruhige Startseite – klare Typografie, kleinere Fotos, reduzierte Kontraste */
.kf-home-page{background:#fff}
.kf-home-page h1,.kf-home-page h2,.kf-home-page h3{letter-spacing:-.025em!important;text-transform:none!important;overflow-wrap:normal;word-break:normal}
.kf-home-page h2{font-size:clamp(1.9rem,3.25vw,3.15rem)!important;font-weight:750!important;line-height:1.17!important}
.kf-home-kicker,.kf-home-eyebrow{letter-spacing:.1em!important;margin-bottom:15px!important;font-size:.72rem!important}
.kf-home-hero{min-height:0!important;height:auto!important;padding:96px 0 88px!important;align-items:center!important;background:#202a33!important}
.kf-home-hero-content{width:min(1100px,calc(100% - 48px))!important}
.kf-home-hero h1{font-size:clamp(2.5rem,4.7vw,4.9rem)!important;font-weight:800!important;line-height:1.13!important;max-width:770px!important;color:#fff!important;background:none!important;box-shadow:none!important;text-shadow:none!important}
.kf-home-hero h1 em{color:#f09a4b!important;background:none!important}
.kf-home-hero-content>p{font-size:1.06rem!important;line-height:1.7!important;max-width:550px!important;margin:24px 0 27px!important}
.kf-home-hero-shade{background:linear-gradient(90deg,rgba(25,35,44,.96) 0%,rgba(25,35,44,.88) 48%,rgba(25,35,44,.63) 100%)!important}
.kf-home-hero-bottom{display:none!important}
.kf-home-hero-image img{object-position:center 55%!important}
.kf-home-btn,.kf-home-btn-outline{padding:13px 19px!important;gap:16px!important;font-size:.87rem!important}
.kf-home-intro,.kf-home-services,.kf-home-projects,.kf-home-equipment,.kf-home-about,.kf-home-cta{padding:70px 0!important}
.kf-home-wrap{width:min(1100px,calc(100% - 48px))!important}
.kf-home-section-head{margin-bottom:30px!important;gap:30px!important}
.kf-home-section-head>p{font-size:.96rem!important}
.kf-home-service-grid,.kf-home-project-grid{gap:17px!important}
.kf-home-service-image{height:175px!important}
.kf-home-project-photo{height:165px!important}
.kf-home-service-body,.kf-home-project-info{padding:21px!important}
.kf-home-service-body h3,.kf-home-project-info h3{font-size:1.35rem!important;line-height:1.25!important;margin:11px 0!important}
.kf-home-service-body p{min-height:0!important;font-size:.9rem!important;line-height:1.6!important}
.kf-home-service-card:hover{transform:none!important;box-shadow:0 5px 16px rgba(31,41,51,.07)!important}
.kf-home-projects{background:#f5f6f7!important;color:#1f2933!important}
.kf-home-projects .kf-home-section-head>p{color:#53616b!important}
.kf-home-project-card{background:#fff!important;border:1px solid #e2e5e8!important}
.kf-home-project-info>span{color:#9b5b25!important}
.kf-home-project-info a{color:#b96117!important}
.kf-home-project-tab{font-size:.65rem!important;padding:7px 12px!important;background:#d9c3a5!important;color:#1f2933!important}
.kf-home-equipment-photo{height:320px!important;overflow:hidden}
.kf-home-about-photo{height:280px!important;overflow:hidden}
.kf-home-about{background:#f8f7f5!important}
.kf-home-photo-label{font-size:.64rem!important;padding:10px 13px!important}
.kf-home-equipment-tags span{padding:7px 10px!important}
.kf-home-cta{background:#263440!important}
@media(max-width:900px){.kf-home-hero{padding:78px 0 75px!important}.kf-home-service-image{height:175px!important}.kf-home-project-photo{height:170px!important}}
@media(max-width:650px){.kf-home-wrap,.kf-home-hero-content{width:calc(100% - 36px)!important}.kf-home-hero{padding:65px 0 65px!important;min-height:0!important}.kf-home-hero h1{font-size:clamp(2.1rem,8.5vw,3.15rem)!important}.kf-home-hero-shade{background:linear-gradient(90deg,rgba(25,35,44,.95),rgba(25,35,44,.79))!important}.kf-home-intro,.kf-home-services,.kf-home-projects,.kf-home-equipment,.kf-home-about,.kf-home-cta{padding:52px 0!important}.kf-home-service-image{height:190px!important}.kf-home-project-photo{height:180px!important}.kf-home-equipment-photo,.kf-home-about-photo{height:245px!important}.kf-home-page h2{font-size:clamp(1.8rem,7.5vw,2.5rem)!important}.kf-home-actions{gap:10px!important}}


/* V5.8: Hero-Foto als kontrolliertes Hintergrundbild statt Shortcode-IMG.
   Verhindert, dass ein Bild mit intrinsischer Hoehe den Banner aufzieht. */
.kf-home-page .kf-home-hero{
  position:relative!important;
  display:flex!important;
  min-height:0!important;
  height:auto!important;
  padding:82px 0 78px!important;
  overflow:hidden!important;
  isolation:isolate;
  background:#263440 url('../images/erdbau-bagger-neu.webp') center 48% / cover no-repeat!important;
}
.kf-home-page .kf-home-hero-shade{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(25,35,44,.95),rgba(25,35,44,.77))!important;
}
.kf-home-page .kf-home-hero-content{
  position:relative!important;
  z-index:1!important;
}
.kf-home-page .kf-home-hero-image{display:none!important}
@media(max-width:650px){
 .kf-home-page .kf-home-hero{padding:62px 0 58px!important;background-position:57% center!important}
}


/* V5.9: Unternehmensfoto ohne Zuschnitt, auch bei Shortcode-Wrappern.
   Die alte 100%-Hoehe mit object-fit:cover schnitt das Motiv ab. */
.kf-home-page .kf-home-about-photo{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  display:block!important;
  align-self:center!important;
}
.kf-home-page .kf-home-about-photo .wp-block-shortcode{
  height:auto!important;
  line-height:normal!important;
  margin:0!important;
}
.kf-home-page .kf-home-about-photo img,
.kf-home-page .kf-home-about-photo img.kf-real-photo{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:10px;
}


/* V6.1: Startseiten-Hero an Header/Logo ausrichten, Schrift entspannen. */
.kf-home-page .kf-home-hero-content{
  width:min(1200px,calc(100% - 48px))!important;
  max-width:1200px!important;
  margin-inline:auto!important;
}
.kf-home-page .kf-home-hero h1{
  max-width:960px!important;
  font-size:clamp(2.65rem,4.5vw,4.65rem)!important;
  font-weight:750!important;
  letter-spacing:-.012em!important;
  line-height:1.22!important;
  text-transform:none!important;
  overflow-wrap:normal;
}
.kf-home-page .kf-home-hero-content>p{
  max-width:650px!important;
  font-size:1.1rem!important;
  letter-spacing:.005em!important;
  line-height:1.85!important;
}
.kf-home-page .kf-home-eyebrow{letter-spacing:.105em!important}
@media(max-width:650px){
 .kf-home-page .kf-home-hero-content{width:calc(100% - 36px)!important}
 .kf-home-page .kf-home-hero h1{font-size:clamp(2.05rem,8vw,3.15rem)!important;line-height:1.18!important;letter-spacing:-.015em!important}
 .kf-home-page .kf-home-hero-content>p{font-size:1rem!important;line-height:1.75!important}
}


/* Version 6.4 – ausschliesslich die drei Leistungskacheln auf Desktop.
   Gleiche Bildhoehe, gleiche Kartenhoehe und Links auf einer Grundlinie. */
@media (min-width: 901px) {
  .kf-home-page .kf-home-service-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }
  .kf-home-page .kf-home-service-grid > .kf-home-service-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    align-self: stretch !important;
    margin: 0 !important;
  }
  .kf-home-page .kf-home-service-card > .kf-home-service-image {
    height: 175px !important;
    min-height: 175px !important;
    flex: 0 0 175px !important;
  }
  .kf-home-page .kf-home-service-card > .kf-home-service-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-height: 0 !important;
  }
  .kf-home-page .kf-home-service-body > .kf-home-textlink {
    margin-top: auto !important;
  }
  .kf-home-page .kf-home-service-body > p {
    margin-bottom: 22px !important;
  }
}


/* Version 6.5 – nur die drei Projektkarten auf Desktop gleich hoch.
   Gleich hohe Bildbereiche, gleiche Ober- und Unterkante, Links unten. */
@media (min-width: 901px) {
  .kf-home-page .kf-home-project-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }
  .kf-home-page .kf-home-project-grid > .kf-home-project-card {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
  .kf-home-page .kf-home-project-card > .kf-home-project-photo {
    height: 165px !important;
    min-height: 165px !important;
    flex: 0 0 165px !important;
    overflow: hidden !important;
  }
  .kf-home-page .kf-home-project-card > .kf-home-project-info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-height: 0 !important;
  }
  .kf-home-page .kf-home-project-info > a {
    margin-top: auto !important;
  }
  .kf-home-page .kf-home-project-info > h3 {
    margin-bottom: 22px !important;
  }
}


/* V6.7: Leistungsseite – Hero am Header/Logo ausrichten und Schrift entzerren. */
@media (min-width:782px){
 .kf-leistungen-page .kf-l-hero{
   padding-left:max(24px,calc((100vw - 1200px)/2))!important;
   padding-right:max(24px,calc((100vw - 1200px)/2))!important;
 }
}
.kf-leistungen-page .kf-l-hero h1{
 font-size:clamp(2.8rem,5vw,5.2rem)!important;
 font-weight:750!important;
 letter-spacing:-.012em!important;
 line-height:1.17!important;
 max-width:950px!important;
}
.kf-leistungen-page .kf-l-hero h2{
 font-size:clamp(1.45rem,2.5vw,2.25rem)!important;
 font-weight:650!important;
 letter-spacing:0!important;
 line-height:1.35!important;
}
.kf-leistungen-page .kf-l-hero p:not(.kf-l-kicker){
 font-size:1.1rem!important;
 line-height:1.85!important;
 letter-spacing:.005em!important;
 max-width:720px!important;
}
.kf-leistungen-page .kf-l-intro h2,
.kf-leistungen-page .kf-l-service h2,
.kf-leistungen-page .kf-l-process h2,
.kf-leistungen-page .kf-l-region h2,
.kf-leistungen-page .kf-l-cta h2{
 letter-spacing:-.018em!important;
 line-height:1.2!important;
}
@media(max-width:781px){
 .kf-leistungen-page .kf-l-hero h1{font-size:clamp(2.35rem,9vw,3.6rem)!important;line-height:1.16!important}
 .kf-leistungen-page .kf-l-hero h2{font-size:clamp(1.35rem,5vw,1.9rem)!important}
}


/* V6.8 – Einheitliche Typografie und linke Fluchtlinie auf allen Leistungs-
   und Unternehmensunterseiten. Gilt nur für Seitensektionen, nie den Header. */
@media (min-width: 782px) {
 :is(.kf-erdbau-page .kf-erdbau-hero,.kf-leistungen-page .kf-l-hero,
     .kf-tb-hero,.kf-sb-hero,.kf-mp-hero,.kf-ue-hero,.kf-pa-hero,.kf-d-hero) {
   padding-left:max(24px,calc((100vw - 1200px)/2))!important;
   padding-right:max(24px,calc((100vw - 1200px)/2))!important;
 }
}
:is(.kf-erdbau-page .kf-erdbau-hero,.kf-leistungen-page .kf-l-hero,
    .kf-tb-hero,.kf-sb-hero,.kf-mp-hero,.kf-ue-hero,.kf-pa-hero,.kf-d-hero) h1 {
 font-size:clamp(2.75rem,5vw,5.2rem)!important;
 font-weight:750!important;
 letter-spacing:-.012em!important;
 line-height:1.16!important;
 text-wrap:balance;
 overflow-wrap:break-word;
 max-width:960px!important;
}
:is(.kf-erdbau-page .kf-erdbau-hero,.kf-leistungen-page .kf-l-hero,
    .kf-tb-hero,.kf-sb-hero,.kf-mp-hero,.kf-ue-hero,.kf-pa-hero,.kf-d-hero) h2 {
 font-size:clamp(1.45rem,2.5vw,2.3rem)!important;
 font-weight:650!important;
 letter-spacing:0!important;
 line-height:1.34!important;
}
:is(.kf-erdbau-page .kf-erdbau-hero,.kf-leistungen-page .kf-l-hero,
    .kf-tb-hero,.kf-sb-hero,.kf-mp-hero,.kf-ue-hero,.kf-pa-hero,.kf-d-hero) p:not([class*="kicker"]):not([class*="eyebrow"]) {
 letter-spacing:.005em!important;
 line-height:1.8!important;
 max-width:760px!important;
}
:is(.kf-erdbau-page .kf-erdbau-section,.kf-erdbau-page .kf-erdbau-feature,
    .kf-leistungen-page .kf-l-intro,.kf-leistungen-page .kf-l-service,
    .kf-tb-intro,.kf-tb-drainage,.kf-tb-kanal,.kf-tb-access,
    .kf-sb-section,.kf-mp-section,.kf-ue-section,.kf-pa-intro) h2 {
 letter-spacing:-.018em!important;
 line-height:1.2!important;
}
@media (max-width:781px) {
 :is(.kf-erdbau-page .kf-erdbau-hero,.kf-leistungen-page .kf-l-hero,
     .kf-tb-hero,.kf-sb-hero,.kf-mp-hero,.kf-ue-hero,.kf-pa-hero,.kf-d-hero) h1 {
  font-size:clamp(2.15rem,8.3vw,3.5rem)!important;
  line-height:1.19!important;
 }
 :is(.kf-erdbau-page .kf-erdbau-hero,.kf-leistungen-page .kf-l-hero,
     .kf-tb-hero,.kf-sb-hero,.kf-mp-hero,.kf-ue-hero,.kf-pa-hero,.kf-d-hero) h2 {
  font-size:clamp(1.3rem,5vw,1.9rem)!important;
 }
}


/* V6.9: Keine schmale Arial-Narrow-Schrift in den Seitenüberschriften.
   Ruhige, normalbreite Systemschrift; Header/Logo bleiben unberührt. */
@media (min-width: 782px) {
  .wp-site-blocks main :is(h1,h2,h3,.wp-block-heading) {
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
    font-stretch:normal!important;
    font-kerning:normal;
    letter-spacing:0!important;
    line-height:1.2!important;
    text-transform:none;
  }
  .wp-site-blocks main h1 {
    font-weight:750!important;
    letter-spacing:.005em!important;
    line-height:1.17!important;
  }
  .wp-site-blocks main h2 {font-weight:700!important;line-height:1.23!important;}
  .wp-site-blocks main h3 {font-weight:700!important;line-height:1.28!important;}
  /* Intro auf Leistungen: schmalen Gutenberg-Constrained-Innenbereich aufheben */
  .kf-leistungen-page .kf-l-intro > :is(.wp-block-heading,p) {
    margin-left:0!important;
    margin-right:0!important;
  }
  /* Einheitliche großzügige Breite in Erdbau- und Maschinenpark-Abschnitten */
  .kf-erdbau-page .kf-erdbau-section :is(h2,h3),
  .kf-mp-section :is(h2,h3),
  .kf-mp-intro :is(h2,h3) {
    letter-spacing:0!important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  }
}

/* Kontaktseite v7.0 */
.kf-ko-page{--ko-dark:#1f2933;--ko-orange:#e67e22;color:var(--ko-dark)}
.kf-ko-page .kf-ko-hero{background:#f5f6f7;padding:clamp(64px,7vw,110px) 24px 78px!important}
.kf-ko-page .kf-ko-hero>.wp-block-group__inner-container,.kf-ko-page .kf-ko-bottom>.wp-block-group__inner-container{max-width:1160px;margin-inline:auto}
.kf-ko-page .kf-ko-kicker{color:#b9570d;font-size:.77rem;font-weight:800;letter-spacing:.13em;line-height:1.5;margin:0 0 20px}
.kf-ko-page .kf-ko-hero h1{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-stretch:normal;font-size:clamp(2.65rem,5vw,4.9rem)!important;font-weight:750;letter-spacing:0!important;line-height:1.14!important;max-width:930px;margin:0 0 22px}
.kf-ko-page .kf-ko-hero p:not(.kf-ko-kicker){max-width:680px;font-size:1.14rem;line-height:1.8;color:#4b5661}
.kf-ko-page .kf-ko-hero .wp-block-buttons{margin-top:30px;gap:14px}
.kf-ko-page .kf-ko-hero .wp-block-button__link{border-radius:6px;padding:15px 24px;font-weight:750;text-decoration:none}
.kf-ko-page .kf-ko-hero-button .wp-block-button__link{background:#e67e22;color:#17212b}
.kf-ko-page .kf-ko-content{max-width:1160px!important;margin:0 auto!important;padding:76px 24px 90px;display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);gap:clamp(30px,6vw,85px);align-items:start}
.kf-ko-page .kf-ko-details,.kf-ko-page .kf-ko-form-panel{min-width:0}
.kf-ko-page .kf-ko-details h2,.kf-ko-page .kf-ko-form-panel h2,.kf-ko-page .kf-ko-bottom h2{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:clamp(2rem,3vw,3rem)!important;letter-spacing:0!important;line-height:1.2!important;margin:0 0 20px}
.kf-ko-page .kf-ko-details>p:not(.kf-ko-kicker),.kf-ko-page .kf-ko-form-panel>p:not(.kf-ko-kicker){line-height:1.75;color:#56616b}
.kf-ko-page .kf-ko-detail-card{padding:23px 0;border-bottom:1px solid #dce0e3}
.kf-ko-page .kf-ko-detail-card:first-of-type{margin-top:22px;border-top:1px solid #dce0e3}
.kf-ko-page .kf-ko-detail-card p{margin:0 0 5px;line-height:1.65}
.kf-ko-page .kf-ko-detail-card .kf-ko-label{font-size:.72rem;color:#b9570d;font-weight:800;letter-spacing:.12em;margin-bottom:7px}
.kf-ko-page .kf-ko-detail-card a{font-size:clamp(1.12rem,1.6vw,1.35rem);font-weight:750;color:#1f2933;text-decoration:none;overflow-wrap:anywhere}
.kf-ko-page .kf-ko-detail-card a:hover{color:#b9570d}
.kf-ko-page .kf-ko-detail-card .kf-ko-hint{color:#66717b;font-size:.89rem}
.kf-ko-page .kf-ko-persons{margin-top:24px;line-height:1.6}
.kf-ko-page .kf-ko-form-panel{background:#f5f6f7;border:1px solid #e1e5e8;border-top:4px solid #e67e22;padding:clamp(25px,4vw,47px);scroll-margin-top:110px}
.kf-ko-page .kf-ko-form-panel h2{margin-bottom:12px}
.kf-ko-page .kf-ko-form-slot{margin-top:26px;min-height:180px;background:#fff;border:1px dashed #bdc5ca;border-radius:6px;padding:22px}
.kf-ko-page .kf-ko-form-note{font-size:.93rem;line-height:1.75;color:#5a6570;margin:0}
.kf-ko-page .kf-ko-privacy{font-size:.85rem;margin-top:20px}
.kf-ko-page .kf-ko-privacy a{color:#a94e0a;text-decoration:underline}
.kf-ko-page .wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),.kf-ko-page .wpcf7 textarea,.kf-ko-page .wpcf7 select{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #cbd2d8;border-radius:5px;background:#fff;padding:12px 14px;font:inherit}
.kf-ko-page .wpcf7 textarea{min-height:130px}
.kf-ko-page .wpcf7 input[type="submit"]{background:#e67e22;border:0;border-radius:5px;padding:14px 22px;font-weight:800;cursor:pointer;color:#17212b}
.kf-ko-page .wpcf7 label{font-weight:650;line-height:1.9}
.kf-ko-page .kf-ko-bottom{background:#1f2933;color:#fff;padding:62px 24px 68px!important}
.kf-ko-page .kf-ko-bottom h2{color:#fff;max-width:900px}
.kf-ko-page .kf-ko-bottom p:not(.kf-ko-kicker){color:#e0e4e7;line-height:1.75}
.kf-ko-page .kf-ko-bottom a{color:#ffad60;font-weight:750;text-underline-offset:6px}
@media(max-width:800px){.kf-ko-page .kf-ko-content{grid-template-columns:1fr;gap:44px;padding-top:50px;padding-bottom:55px}.kf-ko-page .kf-ko-hero{padding-top:60px!important;padding-bottom:55px!important}.kf-ko-page .kf-ko-hero h1{font-size:clamp(2.2rem,8vw,3.6rem)!important}.kf-ko-page .kf-ko-form-panel{padding:26px 22px}}

/* v7.1: Kontakt volle Seitenbreite; Inhalt am Headerlogo ausrichten */
.kf-kontakt-main,.kf-kontakt-main>.wp-block-post-content,.kf-kontakt-main .kf-ko-page{width:100%!important;max-width:none!important;margin-inline:0!important}
.kf-ko-page .kf-ko-hero,.kf-ko-page .kf-ko-bottom{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding-left:max(32px,calc((100% - 1210px)/2))!important;padding-right:max(32px,calc((100% - 1210px)/2))!important}
.kf-ko-page .kf-ko-hero>* ,.kf-ko-page .kf-ko-bottom>*{margin-left:0!important;margin-right:0!important}
.kf-ko-page .kf-ko-hero h1{max-width:950px!important}
.kf-ko-page .kf-ko-hero p:not(.kf-ko-kicker){max-width:740px!important}
.kf-ko-page .kf-ko-content{width:100%!important;box-sizing:border-box;max-width:1210px!important}
@media(max-width:800px){.kf-ko-page .kf-ko-hero,.kf-ko-page .kf-ko-bottom{padding-left:24px!important;padding-right:24px!important}}

/* V7.2 – Gleicher weißer Trennstreifen zwischen Header und Hero
   auf Projekte und Unternehmen wie auf Leistungen. */
@media (min-width: 782px) {
  body.kf-projekte-live main.wp-block-group::before,
  body.kf-unternehmen-live main.wp-block-group::before {
    content: "";
    display: block;
    height: 24px;
    width: 100%;
    background: #fff;
  }
  body.kf-projekte-live main.wp-block-group,
  body.kf-unternehmen-live main.wp-block-group {
    margin-top: 0 !important;
  }
}

/* v7.3 – Contact Form 7: Formularraster für K&F Projektanfrage */
.kf-ko-page .kf-contact-form {width:100%;max-width:100%;}
.kf-ko-page .kf-contact-form .kf-form-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;}
.kf-ko-page .kf-contact-form label {display:block;margin:0 0 18px;font-weight:650;line-height:1.6;min-width:0;}
.kf-ko-page .kf-contact-form .kf-form-row label {min-width:0;}
.kf-ko-page .kf-contact-form .wpcf7-form-control-wrap {display:block;margin-top:7px;}
.kf-ko-page .kf-contact-form :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea) {box-sizing:border-box;width:100%;max-width:100%;}
.kf-ko-page .kf-contact-form .kf-form-privacy {font-size:.86rem;line-height:1.65;color:#59636e;margin:12px 0 20px;}
.kf-ko-page .kf-contact-form .kf-form-privacy a {color:#a94e0a;text-decoration:underline;text-underline-offset:3px;}
@media(max-width:767px){.kf-ko-page .kf-contact-form .kf-form-row{grid-template-columns:1fr;gap:0;}}

/* V7.4 – Formular anstelle des Platzhalters */
.kf-ko-page .kf-ko-form-slot:has(.wpcf7){border:0;padding:0;background:transparent;min-height:0}
.kf-ko-page .kf-ko-form-slot .wp-block-shortcode{margin:0}

/* V7.5 – Telefon und Projektort: Felder in einer Linie, auch bei umbrochenen Labels */
@media(min-width:768px){
 .kf-ko-page .kf-contact-form .kf-form-row{align-items:stretch;}
 .kf-ko-page .kf-contact-form .kf-form-row>label{display:grid;grid-template-rows:minmax(3.2em,auto) auto;align-content:start;min-width:0;}
 .kf-ko-page .kf-contact-form .kf-form-row>label>.wpcf7-form-control-wrap{margin-top:7px;align-self:start;}
}

/* V7.6: CF7 Pflicht-Checkbox zum Datenschutzhinweis */
.kf-ko-page .kf-contact-form .kf-privacy-consent{margin:20px 0 24px}
.kf-ko-page .kf-contact-form .kf-privacy-consent .wpcf7-form-control-wrap{display:block}
.kf-ko-page .kf-contact-form .kf-privacy-consent .wpcf7-list-item{margin:0}
.kf-ko-page .kf-contact-form .kf-privacy-consent .wpcf7-list-item label{display:flex;align-items:flex-start;gap:11px;margin:0;font-weight:400;line-height:1.55;cursor:pointer}
.kf-ko-page .kf-contact-form .kf-privacy-consent input[type=checkbox]{width:19px;height:19px;min-width:19px;margin:3px 0 0;accent-color:#e67e22;cursor:pointer}
.kf-ko-page .kf-contact-form .kf-privacy-consent .wpcf7-list-item-label{font-size:.92rem;color:#35414b}
.kf-ko-page .kf-contact-form .kf-privacy-consent a{color:#a94e0a;text-decoration:underline;text-underline-offset:2px}

/* v7.8: Projekt-Einleitung ausblenden, auch wenn Gutenberg das Template gespeichert hat. */
.kf-home-projects .kf-home-section-head > p { display:none!important; }

/* V7.9: Startseiten-Abschluss: lesbarer Kontrast auf dunklem Hintergrund. */
.kf-home-page .kf-home-cta{background:#30414e!important;color:#ffffff!important;}
.kf-home-page .kf-home-cta h2,.kf-home-page .kf-home-cta h2 *:not(em):not(strong),.kf-home-page .kf-home-cta h2 strong{color:#ffffff!important;}
.kf-home-page .kf-home-cta h2 em,.kf-home-page .kf-home-cta h2 .kf-home-accent{color:#f28a2b!important;}
.kf-home-page .kf-home-cta p:not(.kf-home-kicker):not(.kf-home-eyebrow){color:#f0f3f5!important;}
.kf-home-page .kf-home-cta .kf-home-kicker,.kf-home-page .kf-home-cta .kf-home-eyebrow{color:#ff9d45!important;}

/* V8.0 – Unternehmensversprechen auf der Startseite */
.kf-home-promise{background:#fff;padding:62px 0!important;border-bottom:1px solid #e5e8ea}
.kf-home-promise-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(30px,6vw,95px)}
.kf-home-promise h2{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:clamp(2.25rem,4vw,3.8rem)!important;font-weight:800!important;line-height:1.14!important;letter-spacing:0!important;margin:12px 0 0!important}
.kf-home-promise-lead{font-size:1.08rem;font-weight:750;color:#1f2933;margin:0 0 10px}
.kf-home-promise-services{font-size:1.02rem;line-height:1.85;color:#485563;margin:0}
/* Bagger statt Wolken: Bildausschnitt fokussiert auf die Maschine */
.kf-home-equipment-photo img{object-position:50% 56%!important}
@media(max-width:767px){.kf-home-promise{padding:45px 0!important}.kf-home-promise-inner{grid-template-columns:1fr;gap:20px}.kf-home-promise h2{font-size:clamp(2rem,8vw,2.8rem)!important}}

/* V8.1: Keine doppelte Einleitung, auch bei gespeicherter V8.0-Blockvorlage. */
.kf-home-page .kf-home-promise{display:none!important;}
.kf-home-page .kf-home-intro{padding-top:clamp(54px,6vw,90px)!important;}

/* V8.2: Startseiten-Leistungskarten mit aussagekraeftigen Motiven.
   Auch bei gespeicherter Gutenberg-Startseitenvorlage sichtbar. */
.kf-home-page .kf-home-service-grid > .kf-home-service-card:nth-child(1) .kf-home-service-image{background:#b6a487 url('../images/erdbau-bagger-walze.webp') center 57% / cover no-repeat!important}
.kf-home-page .kf-home-service-grid > .kf-home-service-card:nth-child(2) .kf-home-service-image{background:#b6a487 url('../images/tiefbau-leitungsgraben.webp') center 54% / cover no-repeat!important}
.kf-home-page .kf-home-service-grid > .kf-home-service-card:nth-child(1) .kf-home-service-image img,
.kf-home-page .kf-home-service-grid > .kf-home-service-card:nth-child(2) .kf-home-service-image img{opacity:0!important}

/* V8.4: Sanftes Nachladen ohne weissen Ladebildschirm.
   Inhalte bleiben auch ohne JavaScript sofort sichtbar. */
html{background-color:#f5f6f7}
body{background-color:#fff}
@media (prefers-reduced-motion: no-preference){
  .kf-soft-reveal-in{animation:kf-soft-arrive .7s cubic-bezier(.2,.7,.2,1) both}
  @keyframes kf-soft-arrive{from{opacity:.72;transform:translate3d(0,12px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
  .kf-image-ready{animation:kf-image-arrive .65s ease-out both}
  @keyframes kf-image-arrive{from{opacity:.65;filter:brightness(.96)}to{opacity:1;filter:brightness(1)}}
}
/* Verhindert sichtbare Spruenge beim Bildaufbau, ohne das Bild zu verstecken. */
.kf-home-page img,.kf-ko-page img{height:auto}

/* V8.6: Teamfoto vollstaendig und ohne abgeschnittene Koepfe darstellen. */
.kf-unternehmen-live .kf-unternehmen-teamfoto,.kf-ue-page .kf-unternehmen-teamfoto{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;border-radius:4px}

/* v8.7 – FAQ und GEO: klare Antworten, passend zum K&F Layout */
.kf-geo-faq{max-width:1160px!important;margin:0 auto!important;padding:clamp(54px,6vw,90px) 24px!important;box-sizing:border-box}
.kf-geo-faq .kf-geo-eyebrow{color:#c35c09;font-size:.78rem;font-weight:800;letter-spacing:.1em;margin:0 0 16px}
.kf-geo-faq>h2{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:clamp(2rem,3.5vw,3.3rem)!important;line-height:1.2!important;letter-spacing:0!important;margin:0 0 30px!important}
.kf-geo-faq .kf-geo-faq-entry{border-top:1px solid #dfe4e8;padding:21px 0 22px!important;margin:0!important}
.kf-geo-faq .kf-geo-faq-entry h3{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:clamp(1.12rem,1.7vw,1.35rem)!important;letter-spacing:0!important;line-height:1.35!important;margin:0 0 9px!important}
.kf-geo-faq .kf-geo-faq-entry p{max-width:850px;line-height:1.75;color:#4c5964;margin:0!important}
.kf-geo-faq .kf-geo-faq-contact{margin:24px 0 0!important;line-height:1.7}
.kf-geo-faq .kf-geo-faq-contact a{color:#b75509;font-weight:750;text-underline-offset:4px}
@media(max-width:767px){.kf-geo-faq{padding:44px 20px!important}}


/* V8.8 – Datei-Upload im Kontaktformular */
.kf-ko-page .wpcf7 input[type="file"]{display:block;width:100%;max-width:100%;box-sizing:border-box;background:#fff;border:1px dashed #b8c3cc;border-radius:6px;padding:13px;color:#25313c;font:inherit;font-size:.92rem}
.kf-ko-page .wpcf7 input[type="file"]::file-selector-button{background:#e9edf0;border:0;border-radius:4px;padding:10px 14px;margin-right:14px;color:#1f2933;font-weight:700;cursor:pointer}
.kf-ko-page .wpcf7 input[type="file"]:focus-visible{outline:2px solid #e67e22;outline-offset:3px}
.kf-ko-page .kf-upload-hint{display:block;margin:6px 0 17px;font-size:.82rem;line-height:1.5;color:#5c6772}

/* V8.9  - Button zum Entfernen einer versehentlich ausgewaehlten Datei */
.kf-ko-page .wpcf7 .kf-upload-clear{display:inline-flex;align-items:center;gap:6px;margin:9px 0 13px;padding:7px 11px;background:#fff;border:1px solid #c6cdd3;border-radius:5px;color:#34414d;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.kf-ko-page .wpcf7 .kf-upload-clear:hover{background:#fbeee2;border-color:#e67e22;color:#9d4809}
.kf-ko-page .wpcf7 .kf-upload-clear:focus-visible{outline:2px solid #e67e22;outline-offset:2px}
.kf-ko-page .wpcf7 .kf-upload-clear[hidden]{display:none!important}

/* V9.1 – gut sichtbare, dezente Kontaktleiste auf allen Seiten unter dem Header */
.kf-global-contact-strip{background:#f5f6f7;border-bottom:1px solid #e1e5e8;color:#1f2933;width:100%;box-sizing:border-box}
.kf-global-contact-strip__inner{max-width:1200px;margin:0 auto;padding:11px 24px;display:flex;align-items:center;justify-content:flex-end;gap:clamp(15px,2.5vw,36px);flex-wrap:wrap;box-sizing:border-box}
.kf-global-contact-strip__prompt{font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:#a94e0a;margin-right:auto}
.kf-global-contact-strip a{display:inline-flex;align-items:center;gap:7px;color:#1f2933!important;font-size:.92rem;font-weight:700;text-decoration:none!important;line-height:1.4;white-space:nowrap}
.kf-global-contact-strip a:hover,.kf-global-contact-strip a:focus-visible{color:#ad520d!important;text-decoration:underline!important;text-underline-offset:3px}
.kf-global-contact-strip a span{color:#c05d0c;font-size:1.1em}
@media(max-width:650px){.kf-global-contact-strip__inner{justify-content:center;gap:7px 16px;padding:10px 14px}.kf-global-contact-strip__prompt{display:none}.kf-global-contact-strip a{font-size:.82rem;white-space:normal;overflow-wrap:anywhere}}

/* V9.2 - Anthrazit-Kontaktband, auf Desktop und Mobil im gleichen Design. */
.kf-global-contact-strip{background:#303d49!important;border:0!important;border-bottom:1px solid #465461!important;color:#fff!important;width:100%;box-sizing:border-box}
.kf-global-contact-strip__inner{max-width:1200px!important;margin:0 auto!important;padding:9px 24px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:clamp(20px,3vw,40px)!important;flex-wrap:wrap;box-sizing:border-box}
.kf-global-contact-strip__prompt{display:none!important}
.kf-global-contact-strip a{display:inline-flex!important;align-items:center!important;gap:9px!important;color:#fff!important;font-size:.9rem!important;font-weight:600!important;line-height:1.45!important;text-decoration:none!important;white-space:nowrap;transition:color .2s ease}
.kf-global-contact-strip a svg{width:18px;height:18px;flex:0 0 18px;color:#f5a15a;display:block}
.kf-global-contact-strip a:hover,.kf-global-contact-strip a:focus-visible{color:#ffbd84!important;text-decoration:underline!important;text-underline-offset:4px}
.kf-global-contact-strip a:focus-visible{outline:2px solid #f5a15a;outline-offset:4px;border-radius:2px}
@media(max-width:650px){.kf-global-contact-strip__inner{justify-content:center!important;gap:8px 20px!important;padding:10px 15px!important}.kf-global-contact-strip a{font-size:.84rem!important;white-space:normal;overflow-wrap:anywhere}.kf-global-contact-strip a svg{width:17px;height:17px;flex-basis:17px}}
@media(max-width:390px){.kf-global-contact-strip__inner{flex-direction:column;align-items:center!important;gap:7px!important}}

/* V9.3 – Desktop-Kontakt direkt im Header, unterhalb der Navigation.
   Mobile Kontaktleiste aus v9.2 bleibt optisch und positionell unveraendert. */
.kf-header-contact-desktop{display:none!important}
@media (min-width: 782px){
  .kf-global-contact-strip{display:none!important}
  .wp-block-template-part:has(.kf-header-contact-desktop) .alignwide:has(> .wp-block-navigation){
    position:relative!important;
    padding-bottom:49px!important;
  }
  .kf-header-contact-desktop{
    display:block!important;
    position:absolute!important;
    right:0!important;
    bottom:10px!important;
    width:auto!important;
    max-width:calc(100% - 280px)!important;
    background:transparent!important;
    border:0!important;
    margin:0!important;
    padding:0!important;
    z-index:2;
  }
  .kf-header-contact-desktop__inner{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:clamp(16px,2.4vw,32px)!important;
    margin:0!important;
    padding:0!important;
    flex-wrap:wrap!important;
  }
  .kf-header-contact-desktop a{
    display:inline-flex!important;
    align-items:center!important;
    gap:7px!important;
    font-size:clamp(.76rem,.9vw,.87rem)!important;
    font-weight:550!important;
    line-height:1.4!important;
    color:#e9edf1!important;
    text-decoration:none!important;
    white-space:nowrap!important;
  }
  .kf-header-contact-desktop a svg{
    width:16px!important;height:16px!important;flex:0 0 16px!important;
    color:#f5a15a!important;
  }
  .kf-header-contact-desktop a:hover,.kf-header-contact-desktop a:focus-visible{
    color:#ffbd84!important;text-decoration:underline!important;text-underline-offset:4px;
  }
}
@media (min-width:782px) and (max-width:1060px){
 .kf-header-contact-desktop{max-width:calc(100% - 220px)!important}
 .kf-header-contact-desktop__inner{gap:9px 20px!important}
}

/* V9.4: Desktop contact closer to navigation, less empty header space.
   Mobile layout from V9.2/V9.3 remains untouched. */
@media (min-width: 782px){
  .wp-block-template-part:has(.kf-header-contact-desktop) .alignwide:has(> .wp-block-navigation){
    padding-bottom:26px!important;
  }
  .kf-header-contact-desktop{bottom:5px!important}
  .kf-header-contact-desktop__inner{gap:clamp(14px,2vw,26px)!important}
}

/* V9.5 – Keine zeitversetzte Einblendung von Seiteninhalten.
   Animationen duerfen das initiale Rendering nicht verzoegern. */
.kf-soft-reveal-in, .kf-image-ready {
 animation:none!important;
 transition:none!important;
}
html, body, main, main > .wp-block-group, main .wp-block-group,
main .kf-home-service-grid, main .kf-home-projects, main .kf-ko-content {
 animation-delay:0s!important;
 visibility:visible;
}
