.gwg-bha{--bha-accent:var(--gwg-bha-accent,#0080c8);--bha-heading:var(--gwg-std-heading-family,var(--e-global-typography-primary-font-family,inherit));font-family:var(--gwg-std-text-family,var(--e-global-typography-text-font-family,inherit));font-size:var(--gwg-std-text-size,20px);font-weight:var(--gwg-std-text-weight,500);color:var(--gwg-std-text-color,#555);container-type:inline-size;text-align:left}
.gwg-bha *{box-sizing:border-box}.gwg-bha__feature{display:grid;grid-template-columns:46% minmax(0,1fr);align-items:stretch;isolation:isolate;position:relative;gap:var(--gwg-bha-gap,0px)}
.gwg-bha__visual{position:relative;min-width:0;margin:16px -12% 0 0;overflow:hidden;border-radius:48px 0 0 24px;min-height:390px;clip-path:polygon(0 0,100% 0,78% 100%,0 100%)}
.gwg-bha .gwg-bha__photo{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:48% center;margin:0;border-radius:0}
.gwg-bha__panel{position:relative;min-width:0;align-self:stretch;background:#fff;border-radius:32px;padding:clamp(24px,3.2cqi,46px) clamp(22px,3cqi,42px);margin-left:-7%;padding-left:clamp(35px,5cqi,70px);box-shadow:0 12px 32px rgba(27,57,75,.055);display:flex;flex-direction:column;justify-content:center;clip-path:polygon(14% 0,100% 0,100% 100%,0 100%)}
.gwg-bha__header{margin:0 0 22px}.gwg-bha .gwg-bha__header p{font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;margin:0;overflow-wrap:anywhere}
.gwg-bha__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(14px,2cqi,30px);row-gap:0}
.gwg-bha .gwg-bha__card{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:16px 0;background:none;border:0;border-radius:0;box-shadow:none;color:inherit;text-decoration:none!important;transition:color .2s ease}
.gwg-bha .gwg-bha__card:nth-child(-n+2){border-bottom:1px solid #e5e9ec}.gwg-bha__icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#e8f4fa;color:var(--bha-accent);transition:background .2s ease,color .2s ease}.gwg-bha__icon svg{width:26px;height:26px}.gwg-bha__copy{display:flex;flex-direction:column;gap:4px;min-width:0}.gwg-bha__label{font-family:var(--bha-heading);font-weight:var(--gwg-std-heading-weight,700);font-size:calc(var(--gwg-std-heading-size,40px)*.55);color:var(--gwg-std-heading-color,var(--bha-accent));overflow-wrap:anywhere}.gwg-bha__description{font-size:var(--gwg-std-text-size,20px);font-weight:var(--gwg-std-text-weight,500);overflow-wrap:anywhere}.gwg-bha a.gwg-bha__card:hover .gwg-bha__icon{background:var(--bha-accent);color:#fff}.gwg-bha a.gwg-bha__card:hover .gwg-bha__label{text-decoration:underline;text-underline-offset:3px}
.gwg-bha__footer{margin-top:22px}.gwg-bha .gwg-bha__footer a{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;max-width:100%;background:#0077b5;color:#fff;font-family:var(--bha-heading);font-size:var(--gwg-std-text-size,20px);font-weight:650;border-radius:5px;text-decoration:none;transition:background .2s ease}.gwg-bha .gwg-bha__footer a:hover{background:#005e91}.gwg-bha a:focus-visible{outline:2px solid #005e91;outline-offset:4px}
.gwg-bha__feature--no-photo{grid-template-columns:minmax(0,1fr)}.gwg-bha__feature--no-photo .gwg-bha__panel{margin:0;clip-path:none;padding:clamp(20px,3cqi,42px)}
@container (max-width:1000px){.gwg-bha__feature{grid-template-columns:1fr;gap:0}.gwg-bha__visual{margin:0;min-height:0;aspect-ratio:2/1;clip-path:none;border-radius:24px 24px 0 0}.gwg-bha__panel{margin:0;clip-path:none;border-radius:0 0 24px 24px;padding:28px}.gwg-bha__feature--no-photo .gwg-bha__panel{border-radius:24px}}
@container (max-width:520px){.gwg-bha__visual{aspect-ratio:1.6/1;border-radius:16px 16px 0 0}.gwg-bha__panel{padding:20px 16px;border-radius:0 0 16px 16px}.gwg-bha__grid{gap:0 14px}.gwg-bha .gwg-bha__card{flex-direction:column;gap:8px;padding:13px 0}.gwg-bha__icon{width:38px;height:38px;flex-basis:38px}.gwg-bha__icon svg{width:21px;height:21px}.gwg-bha__header{margin-bottom:10px}.gwg-bha__footer a{width:100%;text-align:center}}
@container (max-width:300px){.gwg-bha__grid{grid-template-columns:1fr}.gwg-bha .gwg-bha__card{flex-direction:row;border-bottom:1px solid #e5e9ec}.gwg-bha .gwg-bha__card:last-child{border:0}}
@media(prefers-reduced-motion:reduce){.gwg-bha *{transition:none!important}}
@container (min-width:1001px){.gwg-bha__panel{clip-path:none;margin-left:0;padding-left:clamp(26px,3cqi,42px);border-radius:32px}.gwg-bha__visual{clip-path:none;border-radius:48px 0 48px 24px;margin-right:-5%;transform:skewX(-7deg);transform-origin:bottom left}.gwg-bha .gwg-bha__photo{transform:skewX(7deg) scale(1.16)}.gwg-bha__feature--no-photo .gwg-bha__panel{margin:0}}

@media (max-width:1024px){.gwg-bha{font-size:var(--gwg-std-text-size,20px)}.gwg-bha__label{font-size:calc(var(--gwg-std-heading-size,30px)*.55)}}
@media (max-width:767px){.gwg-bha{font-size:var(--gwg-std-text-size,12px)}.gwg-bha__label{font-size:calc(var(--gwg-std-heading-size,20px)*.8)}.gwg-bha__description,.gwg-bha .gwg-bha__footer a{font-size:var(--gwg-std-text-size,12px)}}

/* Keep the website link text-only, including theme-generated decorations. */
.gwg-bha .gwg-bha__footer a::before,.gwg-bha .gwg-bha__footer a::after{content:none!important;display:none!important}
/* Let the stacked layout take only the height required by its content. */
@container (max-width:1000px){
 .gwg-bha__feature{height:auto;min-height:0;grid-template-rows:none;grid-auto-rows:max-content;align-content:start;align-items:start}
 .gwg-bha__panel{height:auto;min-height:0;align-self:start;justify-content:flex-start}
 .gwg-bha__visual{height:auto;min-height:0;align-self:start;width:100%}
}
@media (max-width:1024px){
 .elementor-widget-gwg_buergerhaus_angebote,.elementor-widget-gwg_buergerhaus_angebote > .elementor-widget-container,.gwg-bha{height:auto!important;min-height:0!important;flex-grow:0;align-content:start}
}
@media (max-width:767px){
 .gwg-bha{margin-bottom:0;padding-bottom:0}
 .gwg-bha__panel{padding-bottom:20px}
 .gwg-bha__footer{margin-bottom:0}
}

/* Inline-size containment removes intrinsic width. Explicitly size the
   Elementor flex item and query container before resolving breakpoints. */
.elementor .elementor-widget-gwg_buergerhaus_angebote{
 width:100%;max-width:100%;min-width:0;align-self:stretch;
 --container-widget-width:100%;--container-widget-flex-grow:0;
}
.elementor-widget-gwg_buergerhaus_angebote > .elementor-widget-container,
.gwg-bha{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.gwg-bha__feature,.gwg-bha__grid{min-width:0;max-width:100%}
@media (max-width:1024px){
 .elementor .elementor-widget-gwg_buergerhaus_angebote{flex:0 1 auto;align-self:stretch;width:100%;max-width:100%;min-width:0}
 .gwg-bha__feature{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;align-items:start;align-content:start;height:auto;min-height:0}
 .gwg-bha__visual{margin:0;width:100%;min-height:0;height:auto;aspect-ratio:2/1;transform:none;clip-path:none;border-radius:24px 24px 0 0}
 .gwg-bha .gwg-bha__photo{transform:none}
 .gwg-bha__panel{width:100%;margin:0;min-height:0;height:auto;clip-path:none;border-radius:0 0 24px 24px;padding:28px;justify-content:flex-start}
}
@media (max-width:767px){
 .gwg-bha__visual{aspect-ratio:1.6/1;border-radius:16px 16px 0 0}
 .gwg-bha__panel{padding:20px 16px;border-radius:0 0 16px 16px}
 .gwg-bha__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
 .gwg-bha .gwg-bha__card{flex-direction:column;gap:8px;padding:13px 0}
 .gwg-bha__icon{width:38px;height:38px;flex:0 0 38px}
 .gwg-bha__footer a{width:100%;text-align:center}
}
@container (max-width:300px){.gwg-bha__grid{grid-template-columns:minmax(0,1fr)}}
