/* ideal-heim-bau · Unternehmensseite V12 · only the native SP Page Builder About page */
body.ihb-page:has(.ihb-about-hero) {background:#f6f8fb;}
body.ihb-page:has(.ihb-about-hero) .ihb-content{padding-top:0!important;overflow:hidden;}
body.ihb-page:has(.ihb-about-hero) .ihb-content>h1,
body.ihb-page:has(.ihb-about-hero) .ihb-content>.page-header,
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-page-title,
body.ihb-page:has(.ihb-about-hero) .ihb-content .sp-pagebuilder-title,
body.ihb-page:has(.ihb-about-hero) .ihb-content .page-header,
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-page-title-wrap {display:none!important;}
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section{margin:0!important;}
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section>.sppb-container-inner,
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section>.sppb-row-container {
 width:min(1320px,calc(100% - 96px));max-width:1320px;margin:0 auto;padding:0!important;
}
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section .sppb-row{margin:0!important;gap:0;}
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section .sppb-row>.sppb-row-column{min-width:0;}
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section .sppb-addon-wrapper{min-width:0;}
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-addon p{font-size:16px;line-height:1.78;color:#53697d;}
body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-addon a:focus-visible {outline:2px solid #c4a27f;outline-offset:4px;}
.ihb-about-eyebrow p,.ihb-about-kicker p{font-family:var(--ihb-sans,Arial,sans-serif)!important;font-size:11px!important;color:#a98055!important;line-height:1.4!important;letter-spacing:.19em;font-weight:800;text-transform:uppercase;margin:0 0 18px!important;}
.ihb-about-heading .sppb-addon-title{font-family:var(--ihb-serif,Georgia,serif)!important;font-size:clamp(39px,4vw,65px)!important;line-height:1.12!important;letter-spacing:-.048em!important;font-weight:400!important;color:#203d56!important;margin:0 0 25px!important;}
.ihb-about-heading em,.ihb-about-hero-title em {font-weight:400;color:#b89975;}
.ihb-about-body p{margin:0 0 16px!important;max-width:720px;}
.ihb-about-body p.ihb-about-lead{font-size:21px!important;color:#24415a!important;line-height:1.55!important;}
.ihb-about-link.sppb-btn,
a.sppb-btn.ihb-about-text-link {display:inline-flex!important;align-items:center!important;gap:8px;appearance:none;background:transparent!important;border:0!important;border-bottom:1px solid #a78967!important;padding:9px 0 8px!important;border-radius:0!important;color:#21415b!important;font-size:11px!important;font-weight:850!important;letter-spacing:.1em!important;line-height:1.4!important;text-transform:uppercase!important;box-shadow:none!important;text-decoration:none!important;transition:color .2s,transform .2s!important;}
a.sppb-btn.ihb-about-text-link:hover{color:#ac8356!important;transform:translateX(3px);}
a.sppb-btn.ihb-about-button-primary,
a.sppb-btn.ihb-about-button-outline {display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:53px!important;gap:12px!important;white-space:normal!important;padding:17px 25px!important;background:#e1c7a5!important;border:1px solid #e1c7a5!important;border-radius:2px!important;color:#16344c!important;font-size:11px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.09em!important;box-shadow:none!important;line-height:1.4!important;transition:background .2s,border-color .2s,transform .2s!important;}
a.sppb-btn.ihb-about-button-primary:hover,a.sppb-btn.ihb-about-button-outline:hover{background:#f2ddbf!important;border-color:#f2ddbf!important;color:#16344c!important;transform:translateY(-2px);}
/* hero: native editable Image addon behind native editable headings and button */
.ihb-about-hero{background:#172b40!important;position:relative;min-height:660px;isolation:isolate;padding:160px 0 125px!important;overflow:hidden;}
.ihb-about-hero>.sppb-container-inner{position:relative;z-index:2;}
.ihb-about-hero .sppb-column-addons {position:relative;isolation:isolate;}
.ihb-about-hero .sppb-column-addons>.sppb-addon-wrapper:has(.ihb-about-hero-image){position:absolute!important;inset:-165px -100vw -130px!important;z-index:-2;pointer-events:none;}
.ihb-about-hero .sppb-column-addons>.sppb-addon-wrapper:has(.ihb-about-hero-image) :is(.clearfix,.sppb-addon,.sppb-addon-content,.sppb-addon-single-image-container,.sppb-addon-single-image,.sppb-addon-single-image-container a){height:100%!important;width:100%!important;display:block!important;}
.ihb-about-hero .ihb-about-hero-image img {width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 52%!important;display:block!important;}
.ihb-about-hero .sppb-column-addons:before {content:"";position:absolute;inset:-165px -100vw -130px;background:linear-gradient(90deg,rgba(12,31,49,.91),rgba(17,40,61,.80) 42%,rgba(12,31,49,.45)),linear-gradient(0deg,rgba(13,31,48,.25),transparent);z-index:-1;pointer-events:none;}
.ihb-about-hero .ihb-about-kicker p{color:#f3dabb!important;margin:0 0 24px!important;}
.ihb-about-hero-title .sppb-addon-title{color:#fff!important;font-family:var(--ihb-serif,Georgia,serif)!important;max-width:960px;font-size:clamp(62px,7vw,112px)!important;line-height:1.03!important;letter-spacing:-.055em!important;font-weight:400!important;margin:0 0 24px!important;}
.ihb-about-hero-sub p{font-size:20px!important;line-height:1.65!important;color:#f0f3f8!important;max-width:660px!important;margin:0 0 28px!important;}
/* wide editorial layouts beat SP Page Builder generated per-column ID widths */
.ihb-about-intro,.ihb-about-craft{padding:110px 0!important;background:#fff!important;}
.ihb-about-intro .sppb-row,.ihb-about-craft .sppb-row{display:grid!important;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr)!important;gap:clamp(35px,5vw,94px)!important;align-items:center;}
.ihb-about-intro .sppb-row>.sppb-row-column,.ihb-about-craft .sppb-row>.sppb-row-column{width:auto!important;max-width:none!important;flex:none!important;padding:0!important;min-width:0;}
.ihb-about-intro-image img,.ihb-about-craft-image img{display:block;width:100%!important;height:520px!important;object-fit:cover!important;}
.ihb-about-intro .ihb-about-intro-image img{object-position:center 48%!important;}
.ihb-about-craft{background:#f3f6fa!important;}
.ihb-about-craft-image img{height:560px!important;}
/* historical facts */
.ihb-about-facts{padding:55px 0!important;background:#1d3a56!important;}
.ihb-about-facts .sppb-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.ihb-about-facts .sppb-row>.sppb-row-column{max-width:none!important;width:auto!important;flex:none!important;padding:18px clamp(12px,3vw,42px)!important;border-right:1px solid #ffffff25;}
.ihb-about-facts .sppb-row>.sppb-row-column:first-child{padding-left:0!important;}
.ihb-about-facts .sppb-row>.sppb-row-column:last-child{border:0;}
.ihb-about-fact-number .sppb-addon-title{font-family:var(--ihb-serif,Georgia,serif)!important;font-size:clamp(38px,4.1vw,65px)!important;font-weight:400!important;color:#f0dec5!important;line-height:1.2!important;margin:0 0 7px!important;}
.ihb-about-fact-copy p{color:#d4e0eb!important;font-size:14px!important;margin:0!important;max-width:270px;}
/* method */
.ihb-about-method-head,.ihb-about-promise-head,.ihb-about-cert-head,.ihb-about-team-head{padding:105px 0 38px!important;}
.ihb-about-method-head{background:#fff!important;}
.ihb-about-method{background:#fff!important;padding:0 0 112px!important;}
.ihb-about-method .sppb-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;}
.ihb-about-method .sppb-row>.sppb-row-column{width:auto!important;max-width:none!important;flex:none!important;padding:34px 28px!important;background:#f3f6f9;border-top:2px solid #bd9b77;min-width:0;min-height:275px;}
.ihb-about-step-no .sppb-addon-title{font:400 47px/1 var(--ihb-serif,Georgia,serif)!important;color:#b9966d!important;margin:0 0 26px!important;}
.ihb-about-step-title .sppb-addon-title{font-size:19px!important;line-height:1.2!important;font-weight:750!important;color:#1d3550!important;margin:0 0 12px!important;}
.ihb-about-step-copy p{font-size:14px!important;line-height:1.65!important;margin:0!important;}
/* reasons / promise */
.ihb-about-promise-head{background:#edf2f7!important;}
.ihb-about-promise{padding:0 0 110px!important;background:#edf2f7!important;}
.ihb-about-promise .sppb-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;}
.ihb-about-promise .sppb-row>.sppb-row-column{width:auto!important;max-width:none!important;flex:none!important;padding:34px 31px!important;background:#fff;min-width:0;border-bottom:2px solid #c5a47d;}
.ihb-about-promise-title .sppb-addon-title{font-family:var(--ihb-serif,Georgia,serif)!important;color:#203e58!important;font-weight:400!important;font-size:30px!important;line-height:1.22!important;margin:0 0 16px!important;}
.ihb-about-promise-copy p{font-size:15px!important;margin:0!important;}
/* original archival certificate scans */
.ihb-about-cert-head{background:#fff!important;}
.ihb-about-cert-head .ihb-about-body p{max-width:920px;}
.ihb-about-cert-note{color:#7e8793!important;font-size:13px!important;line-height:1.6!important;padding:14px 17px;margin-top:13px!important;background:#f3f6fa;max-width:920px!important;border-left:2px solid #c0a079;}
.ihb-about-cert-grid{background:#fff!important;padding:0 0 17px!important;}
.ihb-about-cert-grid:last-of-type{padding-bottom:105px!important;}
.ihb-about-cert-grid .sppb-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
.ihb-about-cert-grid .sppb-row>.sppb-row-column{width:auto!important;max-width:none!important;flex:none!important;min-width:0;background:#f6f8fa;padding:17px 17px 20px!important;display:flex;flex-direction:column;border:1px solid #dfe7ef;transition:border-color .2s,transform .2s;}
.ihb-about-cert-grid .sppb-row>.sppb-row-column:hover{border-color:#bca27f;transform:translateY(-2px);}
.ihb-about-cert-grid .sppb-column,.ihb-about-cert-grid .sppb-column-addons{height:100%;}
.ihb-about-cert-grid .sppb-column-addons{display:flex;flex-direction:column;}
.ihb-about-cert-image{background:#fff;padding:13px;display:flex;justify-content:center;align-items:center;}
.ihb-about-cert-image img{width:100%!important;height:220px!important;object-fit:contain!important;display:block!important;}
.ihb-about-cert-title .sppb-addon-title{font-size:16px!important;line-height:1.3!important;margin:21px 0 18px!important;color:#254157!important;font-weight:700!important;}
.ihb-about-cert-grid .sppb-addon-wrapper:has(.ihb-about-cert-link){margin-top:auto;}
a.sppb-btn.ihb-about-cert-link{background:transparent!important;color:#23405a!important;border:0!important;border-bottom:1px solid #b3936c!important;border-radius:0!important;padding:7px 0!important;display:inline-flex!important;font-size:10px!important;font-weight:850!important;letter-spacing:.08em!important;text-transform:uppercase!important;box-shadow:none!important;line-height:1.5!important;}
a.sppb-btn.ihb-about-cert-link:hover{color:#b18d61!important;}
/* management photos: no stock faces, original lower-resolution portraits */
.ihb-about-team-head{background:#eaf0f6!important;}
.ihb-about-team{background:#eaf0f6!important;padding:0 0 115px!important;}
.ihb-about-team .sppb-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;}
.ihb-about-team .sppb-row>.sppb-row-column{width:auto!important;max-width:none!important;flex:none!important;padding:28px!important;min-width:0;background:#fff;}
.ihb-about-team .sppb-column-addons{display:grid;grid-template-columns:minmax(150px,215px) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:26px;align-items:start;}
.ihb-about-team .sppb-column-addons>.sppb-addon-wrapper:has(.ihb-about-team-image){grid-row:1/3;grid-column:1;}
.ihb-about-team .sppb-column-addons>.sppb-addon-wrapper:has(.ihb-about-team-name){grid-row:1;grid-column:2;}
.ihb-about-team .sppb-column-addons>.sppb-addon-wrapper:has(.ihb-about-team-info){grid-row:2;grid-column:2;}
.ihb-about-team-image img{width:100%!important;max-width:215px!important;height:235px!important;object-fit:cover!important;object-position:center 15%!important;display:block!important;}
.ihb-about-team-name .sppb-addon-title{font:400 clamp(26px,2.35vw,37px)/1.15 var(--ihb-serif,Georgia,serif)!important;color:#213c55!important;letter-spacing:-.03em!important;margin:16px 0 8px!important;}
.ihb-about-team-info p{margin:0 0 10px!important;font-size:14px!important;line-height:1.6!important;}
.ihb-about-team-info .ihb-about-team-role{font-size:12px!important;color:#a27b53!important;text-transform:uppercase;letter-spacing:.08em;font-weight:750;}
.ihb-about-team-info a{color:#24435e!important;text-decoration:underline!important;text-decoration-color:#c3a27b!important;text-underline-offset:4px;}
/* final CTA */
.ihb-about-final{background:#18334d!important;padding:115px 0!important;}
.ihb-about-final .sppb-column-addons{max-width:900px;}
.ihb-about-final .ihb-about-heading .sppb-addon-title{color:#fff!important;font-size:clamp(50px,5.5vw,82px)!important;}
.ihb-about-final .ihb-about-heading em{color:#dfc5a4!important;}
.ihb-about-final .ihb-about-eyebrow p{color:#e6cdb0!important;}
.ihb-about-final .ihb-about-body p{font-size:19px!important;color:#e0eaf2!important;margin-bottom:26px!important;}
@media(max-width:1000px){
 body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section>.sppb-container-inner,body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section>.sppb-row-container{width:calc(100% - 56px);}
 .ihb-about-method .sppb-row,.ihb-about-cert-grid .sppb-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 .ihb-about-team .sppb-column-addons{grid-template-columns:160px minmax(0,1fr);gap:14px;}
 .ihb-about-team-image img{height:225px!important;}
 .ihb-about-team .sppb-row>.sppb-row-column{padding:19px!important;}
}
@media(max-width:700px){
 body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section>.sppb-container-inner,body.ihb-page:has(.ihb-about-hero) .ihb-content .sppb-section>.sppb-row-container{width:calc(100% - 34px);}
 .ihb-about-hero{min-height:590px!important;padding:115px 0 90px!important;}
 .ihb-about-hero .sppb-column-addons>.sppb-addon-wrapper:has(.ihb-about-hero-image){inset:-120px -50vw -95px!important;}
 .ihb-about-hero .sppb-column-addons:before{inset:-120px -50vw -95px;}
 .ihb-about-hero-title .sppb-addon-title{font-size:clamp(53px,11.8vw,77px)!important;}
 .ihb-about-hero-sub p{font-size:17px!important;}
 .ihb-about-heading .sppb-addon-title{font-size:clamp(36px,9vw,51px)!important;}
 .ihb-about-intro,.ihb-about-craft{padding:72px 0!important;}
 .ihb-about-intro .sppb-row,.ihb-about-craft .sppb-row{grid-template-columns:1fr!important;gap:28px!important;}
 .ihb-about-intro-image img,.ihb-about-craft-image img{height:310px!important;}
 .ihb-about-facts{padding:15px 0!important;}
 .ihb-about-facts .sppb-row{grid-template-columns:1fr!important;}
 .ihb-about-facts .sppb-row>.sppb-row-column{border:0;border-bottom:1px solid #ffffff22;padding:20px 0!important;}
 .ihb-about-method-head,.ihb-about-promise-head,.ihb-about-cert-head,.ihb-about-team-head{padding:73px 0 30px!important;}
 .ihb-about-method,.ihb-about-promise,.ihb-about-team{padding-bottom:75px!important;}
 .ihb-about-method .sppb-row,.ihb-about-promise .sppb-row{grid-template-columns:1fr!important;}
 .ihb-about-method .sppb-row>.sppb-row-column{min-height:0;padding:28px!important;}
 .ihb-about-cert-grid{padding-bottom:13px!important;}
 .ihb-about-cert-grid .sppb-row{gap:12px!important;}
 .ihb-about-cert-grid .sppb-row>.sppb-row-column{padding:10px!important;}
 .ihb-about-cert-image{padding:6px!important;}
 .ihb-about-cert-image img{height:165px!important;}
 .ihb-about-cert-title .sppb-addon-title{font-size:13px!important;margin:12px 0!important;}
 a.sppb-btn.ihb-about-cert-link{font-size:9px!important;}
 .ihb-about-team .sppb-row{grid-template-columns:1fr!important;}
 .ihb-about-team .sppb-column-addons{grid-template-columns:130px minmax(0,1fr);column-gap:18px;}
 .ihb-about-team-image img{height:177px!important;}
 .ihb-about-team-name .sppb-addon-title{font-size:27px!important;margin:0 0 10px!important;}
 .ihb-about-final{padding:78px 0!important;}
 .ihb-about-final .ihb-about-heading .sppb-addon-title{font-size:clamp(45px,10vw,65px)!important;}
}
@media(max-width:370px){
 .ihb-about-team .sppb-column-addons{grid-template-columns:105px minmax(0,1fr);gap:12px;}
 .ihb-about-team-image img{height:157px!important;}
 .ihb-about-team-name .sppb-addon-title{font-size:22px!important;}
 .ihb-about-team-info p{font-size:12px!important;}
 .ihb-about-cert-grid .sppb-row{grid-template-columns:1fr!important;}
}
@media(prefers-reduced-motion:reduce){.ihb-about-cert-grid .sppb-row>.sppb-row-column,a.sppb-btn.ihb-about-button-primary,a.sppb-btn.ihb-about-button-outline{transition:none!important;}}

/* IHB-ABOUT-HERO-V38-4 - BEGIN */
/* Fix: render image on the real section box instead of the 200vw SP Page Builder Image addon.
   This eliminates the pathological scaling/cropping produced by `inset: -100vw`. */
body.ihb-page:has(.ihb-about-hero) .ihb-about-hero {
  background-color: #102b42 !important;
  background-image:
    linear-gradient(90deg, rgba(10, 30, 47, .94) 0%, rgba(13, 34, 52, .81) 34%, rgba(13, 34, 52, .43) 69%, rgba(13, 34, 52, .17) 100%),
    url('../images/ueber-uns-hero-v38-4.webp') !important;
  background-position: center center, center center !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: scroll, scroll !important;
}
/* Remove the old background image inside the oversized, absolutely positioned addon. */
body.ihb-page:has(.ihb-about-hero) .ihb-about-hero .sppb-column-addons > .sppb-addon-wrapper:has(.ihb-about-hero-image) {
  display: none !important;
}
/* The old overlay is also 200vw wide; the section background already contains the overlay. */
body.ihb-page:has(.ihb-about-hero) .ihb-about-hero .sppb-column-addons::before {
  content: none !important;
  display: none !important;
}
/* Caption on generated depiction; it is not an archive photograph. */
body.ihb-page:has(.ihb-about-hero) .ihb-about-hero::after {
  content: 'Symbolische KI-Visualisierung';
  position: absolute;
  right: clamp(16px, 3vw, 52px);
  bottom: 14px;
  z-index: 3;
  pointer-events: none;
  font: 400 10px/1.4 Arial, sans-serif;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .63);
}
@media (max-width: 820px) {
  body.ihb-page:has(.ihb-about-hero) .ihb-about-hero {
    background-position: center center, 70% center !important;
  }
}
@media (max-width: 520px) {
  body.ihb-page:has(.ihb-about-hero) .ihb-about-hero {
    background-position: center center, 78% center !important;
    background-image:
      linear-gradient(90deg, rgba(10, 30, 47, .92) 0%, rgba(13, 34, 52, .78) 66%, rgba(13, 34, 52, .59) 100%),
      url('../images/ueber-uns-hero-v38-4.webp') !important;
  }
}
/* IHB-ABOUT-HERO-V38-4 - END */
