/* BiP Layout 1.0.0 – Farben aus dem Logo, Schriften lokal */
@font-face{font-family:'Bricolage Grotesque';src:url('fonts/bricolage.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'Atkinson Hyperlegible';src:url('fonts/atkinson-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Atkinson Hyperlegible';src:url('fonts/atkinson-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Caveat';src:url('fonts/caveat-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}

:root{
--bip-ink:#00221F;--bip-green:#509328;--bip-green-text:#3B7019;--bip-lime:#9CF25C;
--bip-tint:#F0F8E8;--bip-line:#DCE8D2;--bip-bg:#FAFBF6;--bip-hover:#E4F6D3;
--bip-head:'Bricolage Grotesque',system-ui,-apple-system,'Segoe UI',sans-serif;
--bip-body:'Atkinson Hyperlegible',system-ui,-apple-system,'Segoe UI',sans-serif;
--bip-hand:'Caveat','Segoe Print',cursive;
}

/* ---------- Grundlagen, gilt für alle Seiten ---------- */
html body{background:var(--bip-bg);color:var(--bip-ink);font-family:var(--bip-body);font-size:18px;line-height:1.6}
html body button,html body input,html body select,html body textarea{font-family:var(--bip-body)}
html body h1,html body h2,html body h3,html body h4,html body h5,html body .entry-title,html body .widget-title{font-family:var(--bip-head);font-weight:700;color:var(--bip-ink);letter-spacing:-.015em;line-height:1.15}
html body h1,html body .entry-title{font-size:clamp(30px,3.4vw,40px)}
/* Blog, Kategorien, Suche: kleinere Beitragstitel */
html body.blog .entry-title,html body.archive .entry-title,html body.search .entry-title{font-size:clamp(22px,2.2vw,27px);line-height:1.2}
html body.blog .page-title,html body.archive .page-title,html body.search .page-title{font-size:clamp(28px,3vw,36px)}
html body .entry-title a,html body .entry-title a:visited{color:var(--bip-ink);text-decoration:none}
html body .entry-title a:hover{color:var(--bip-green-text)}
html body.archive .inside-article,html body.blog .inside-article{padding:32px 36px}
html body .read-more,html body a.read-more.button,html body .read-more-container a{display:inline-flex;align-items:center;min-height:44px;padding:10px 22px;border-radius:999px;background:var(--bip-ink);color:#fff!important;font-weight:700;font-size:16px;text-decoration:none}
html body .read-more:hover,html body .read-more-container a:hover{background:var(--bip-green)}
html body h2{font-size:clamp(26px,3vw,34px)}
html body h3{font-size:clamp(21px,2.2vw,25px)}
html body h4{font-size:20px}
html body a{color:var(--bip-green-text)}
html body a:hover,html body a:focus{color:var(--bip-ink)}
html body small{font-size:88%}
.bip-layout .entry-content img,.bip-layout .featured-image img{border-radius:18px}
.bip-layout .site-content .inside-article,.bip-layout .separate-containers .inside-article{border-radius:24px}
.bip-layout .su-button,.bip-layout .su-button span{border-radius:999px!important}

/* Infoleiste */
.bip-topbar{background:var(--bip-green);color:#fff;font-size:15px;line-height:1.4}
.bip-topbar__in{max-width:1200px;margin:0 auto;padding:9px 24px;display:flex;flex-wrap:wrap;gap:6px 24px;justify-content:space-between;align-items:center}
.bip-topbar__right{display:inline-flex;gap:10px;align-items:center}
html body .bip-topbar a{color:#fff;font-weight:700}
html body .bip-topbar a:hover{color:var(--bip-lime)}

/* Kopf und Menü */
.bip-layout .site-header{background:#fff;box-shadow:0 1px 0 var(--bip-line)}
.bip-layout .site-header .inside-header{padding-top:14px;padding-bottom:14px;align-items:center}
.bip-layout .site-header .inside-header{max-width:1280px}
.bip-layout .site-logo a{display:flex;align-items:center;gap:12px;text-decoration:none}
.bip-layout .site-header .header-image{height:56px;width:auto;max-height:none;aspect-ratio:128/109;object-fit:cover;object-position:0 50%}
.bip-layout .site-logo a::after{content:"B\00FC rgerinitiative\A Dresden-Prohlis e.V.";white-space:pre;font-family:var(--bip-head);font-weight:700;font-size:19px;line-height:1.15;letter-spacing:-.01em;color:var(--bip-ink)}
@media (min-width:769px) and (max-width:1200px){
.bip-layout .main-navigation .main-nav ul li a{font-size:15px;padding-left:9px;padding-right:9px}
.bip-layout .site-logo a::after{font-size:17px}
.bip-layout .site-header .header-image{height:48px}
}
@media (min-width:769px) and (max-width:1180px){
.bip-layout .site-header .inside-header{flex-direction:column;align-items:center;gap:10px}
.bip-layout .main-navigation .main-nav>ul{justify-content:center}
}
.bip-layout .main-navigation,.bip-layout .main-navigation ul ul{background:#fff}
.bip-layout .main-navigation .main-nav ul li a{font-family:var(--bip-body);font-weight:700;font-size:16px;color:var(--bip-ink);line-height:42px;padding-left:12px;padding-right:12px;border-radius:999px}
.bip-layout .main-navigation .main-nav>ul>li{margin:0 1px}
.bip-layout .main-navigation .main-nav ul li:hover>a,.bip-layout .main-navigation .main-nav ul li:focus-within>a,.bip-layout .main-navigation .main-nav ul li.current-menu-item>a{background:var(--bip-hover);color:var(--bip-ink)}
.bip-layout .main-navigation .main-nav ul li a[href$="/kontakt/"]{background:var(--bip-lime);color:var(--bip-ink)}
.bip-layout .main-navigation .menu-toggle,.bip-layout .main-navigation .menu-toggle:hover{color:var(--bip-ink);background:transparent;font-weight:700}
@media (max-width:768px){
.bip-layout .main-navigation.toggled .main-nav ul li a{border-radius:12px}
.bip-layout .site-header .header-image{height:44px}
.bip-layout .site-logo a::after{font-size:16px}
}

/* Seitenleiste auf Unterseiten */
.bip-layout .sidebar .widget{background:var(--bip-tint);border-radius:22px;padding:26px}
.bip-layout .sidebar .widget-title{font-size:22px;color:var(--bip-ink)}

/* Unterstützer und Fußzeile */
.bip-partners{display:none;background:#fff;border-top:1px solid var(--bip-line)}
.bip-front .bip-partners{display:block}
.bip-partners__in{max-width:1200px;margin:0 auto;padding:30px 24px;display:flex;flex-wrap:wrap;gap:18px 40px;align-items:center;justify-content:space-between}
.bip-partners__in{flex-direction:column;justify-content:center;gap:18px}
.bip-partners__label{margin:0;font-family:var(--bip-head);font-weight:700;font-size:20px;text-align:center;color:var(--bip-ink)}
.bip-partners__logos{justify-content:center}
.bip-partners__logos{display:flex;flex-wrap:wrap;gap:18px 36px;align-items:center}
.bip-partners__logos{gap:22px 48px}
.bip-partners__logos img{height:48px;width:auto;display:block;border-radius:0}
.bip-partners__logos img[src*="LHDD"]{height:78px}
@media (max-width:600px){.bip-partners__logos img{height:36px}.bip-partners__logos img[src*="LHDD"]{height:60px}}
.bip-layout .site-footer .site-info{background:var(--bip-ink);color:#fff;font-size:15px}
.bip-layout .site-footer .site-info a{color:#fff}
.bip-layout .site-footer .site-info a:hover{color:var(--bip-lime)}
.bip-footlinks{display:inline-flex;flex-wrap:wrap;gap:4px 18px;margin-left:12px}

/* ---------- Startseite ---------- */
.bip-front #page{max-width:none;padding:0}
.bip-front .site-content{padding:0;display:block}
.bip-front .content-area{width:100%;float:none}
.bip-front .inside-article{padding:0!important;background:transparent!important;border-radius:0!important}
.bip-front .entry-content{margin:0}
.bip-front .entry-header,.bip-front .crp_related,.bip-front #ez-toc-container,.bip-front .featured-image,.bip-front .page-header-image{display:none}
.bip-front .entry-content p{margin:0}
.bip-front .entry-content ul{margin:0;padding:0;list-style:none}
.bip-front .entry-content img{border-radius:0}
.bip-front .entry-content h1,.bip-front .entry-content h2,.bip-front .entry-content h3{margin:0}

.bip-wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px;box-sizing:border-box}
.bip-hand{font-family:var(--bip-hand);font-weight:700;font-size:30px;line-height:1.2;color:var(--bip-green-text)}
.bip-hand--tilt{transform:rotate(-2deg);transform-origin:left center;display:inline-block}
.bip-front .bip-h2{font-size:clamp(32px,4vw,50px);line-height:1.05;letter-spacing:-.02em}
.bip-front .bip-h2--s{font-size:clamp(28px,3.3vw,42px);line-height:1.1}
.bip-front .bip-h2--welcome{font-size:clamp(24px,2.4vw,31px);line-height:1.2;letter-spacing:-.015em}
.bip-btns{display:flex;flex-wrap:wrap;gap:12px}
html body .bip-btn{display:inline-flex;align-items:center;min-height:48px;padding:12px 28px;border-radius:999px;font-weight:700;text-decoration:none;box-sizing:border-box;transition:transform .2s}
html body .bip-btn:hover{transform:translateY(-2px)}
html body .bip-btn--dark{background:var(--bip-ink);color:#fff}
html body .bip-btn--dark:hover{color:#fff}
html body .bip-btn--lime{background:var(--bip-lime);color:var(--bip-ink)}
html body .bip-btn--lime:hover{color:var(--bip-ink)}

.bip-zoom{overflow:hidden;border-radius:20px;position:relative}
.bip-zoom img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.bip-zoom:hover img,.bip-card:hover .bip-zoom img{transform:scale(1.08)}
@media (prefers-reduced-motion:reduce){.bip-zoom img,.bip-card,.bip-btn{transition:none}}

/* Aufmacher */
.bip-hero{background:linear-gradient(180deg,var(--bip-tint) 0%,var(--bip-bg) 100%)}
.bip-hero .bip-wrap{padding-top:64px;padding-bottom:84px;display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.bip-hero__text{flex:1 1 440px}
.bip-hero__text .bip-hand{font-size:32px;margin-bottom:10px}
.bip-front .bip-hero h1{font-size:clamp(42px,5.6vw,74px);line-height:1.02;letter-spacing:-.025em;margin:0 0 24px}
.bip-hero h1 span{color:var(--bip-green)}
.bip-hero__lead{font-size:20px;max-width:30em;margin:0 0 32px!important}
.bip-hero__media{flex:1 1 460px;position:relative}
.bip-hero__media .bip-zoom{border-radius:28px;aspect-ratio:5/4}
.bip-hero__media .bip-zoom img{object-position:72% 50%;transform:rotate(.8deg) scale(1.05)}
.bip-hero__media .bip-zoom:hover img{transform:rotate(.8deg) scale(1.12)}
/* Zoom fuer alle Bilder: Beitragsbilder, Blogvorschau, Bilder im Text */
.bip-layout .featured-image,.bip-layout .post-image,.bip-layout .inside-page-header .page-header-image,.bip-layout .entry-content .wp-block-image,.bip-layout .entry-content .wp-caption,.bip-layout .entry-content figure,.bip-layout .entry-content .gallery-item,.bip-layout .entry-content a:has(>img){overflow:hidden;border-radius:18px}
.bip-layout .entry-content a:has(>img){display:inline-block;line-height:0}
.bip-layout .featured-image img,.bip-layout .post-image img,.bip-layout .entry-content img{transition:transform .6s ease}
.bip-layout .featured-image:hover img,.bip-layout .post-image:hover img,.bip-layout .entry-content figure:hover img,.bip-layout .entry-content .wp-caption:hover img,.bip-layout .entry-content a:hover>img,.bip-layout .entry-content .gallery-item:hover img,.bip-layout article:hover .post-image img{transform:scale(1.06)}
.bip-layout .sidebar img,.bip-partners img{transition:none}
.bip-sponsors{display:flex;flex-direction:column;align-items:center;gap:22px;padding-top:6px}
.bip-layout .sidebar #custom_html-3 .widget-title{font-size:18px;white-space:nowrap;margin-bottom:18px}
.bip-sponsors__item{display:flex;align-items:center;justify-content:center;width:100%;background:#fff;border-radius:16px;padding:12px 14px;box-sizing:border-box;transition:transform .2s}
.bip-sponsors__item:hover{transform:translateY(-2px)}
.bip-sponsors__item img{display:block;width:100%!important;max-width:100%;height:auto!important;object-fit:contain;border-radius:0!important}
.bip-partners__logos a[href*="andreas-fiedler"]{background:url(/wp-content/uploads/2026/11/logo-andreas-fiedler-online-marketing-dresden.webp) center/contain no-repeat}
.bip-partners__logos a[href*="andreas-fiedler"] img{opacity:0;width:228px!important;height:48px!important}
@media (max-width:600px){.bip-partners__logos a[href*="andreas-fiedler"] img{width:171px!important;height:36px!important}}
.bip-board{display:flex;gap:12px;align-items:flex-start;padding:14px 18px;border-radius:14px;background:var(--bip-tint);font-size:15px;line-height:1.5}
.bip-board svg{flex:0 0 auto;margin-top:2px}
.bip-board p{margin:0}
.bip-board strong{color:var(--bip-ink)}
.bip-week{padding:clamp(48px,6vw,80px) 0 0}
.bip-week .bip-headrow{margin-bottom:26px}
.bip-badge{position:absolute;left:-18px;bottom:-26px;background:#fff;border-radius:20px;padding:16px 22px;box-shadow:0 12px 30px rgba(0,34,31,.14);display:flex;align-items:center;gap:16px;max-width:300px}
.bip-badge__bars{display:flex;gap:4px;align-items:flex-end}
.bip-badge__bars i{display:block;width:10px;border-radius:3px}
.bip-badge strong{display:block;font-family:var(--bip-head);font-size:22px;line-height:1.1}
.bip-badge span{font-size:15px}
@media (max-width:600px){.bip-badge{left:12px;bottom:-22px}}

/* Willkommen */
.bip-welcome .bip-wrap{padding-top:88px;padding-bottom:24px;display:flex;flex-wrap:wrap;gap:40px 64px;align-items:flex-start}
.bip-welcome__text{flex:1 1 520px;display:flex;flex-direction:column;gap:18px}
.bip-welcome__aside{flex:1 1 340px;display:flex;flex-direction:column;gap:16px}
.bip-note{background:var(--bip-tint);border-radius:22px;padding:24px 26px;display:flex;flex-direction:column;gap:10px}
.bip-note--dark{background:var(--bip-ink);color:#fff}
.bip-note--dark strong{color:var(--bip-lime)}
.bip-note__title{font-family:var(--bip-head);font-weight:700;font-size:22px;line-height:1.2}
.bip-note .bip-hand{font-size:28px}

/* Angebote */
.bip-offers .bip-wrap{padding-top:88px;padding-bottom:72px}
.bip-center{text-align:center;max-width:660px;margin:0 auto 44px}
.bip-center .bip-h2{margin-bottom:14px!important}
.bip-grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:22px}
html body .bip-card{text-decoration:none;color:var(--bip-ink);background:#fff;border:1px solid var(--bip-line);border-radius:26px;padding:12px 12px 26px;display:flex;flex-direction:column;gap:12px;box-sizing:border-box;transition:transform .2s}
html body .bip-card:hover{transform:translateY(-4px);color:var(--bip-ink)}
html body .bip-card--lime{background:var(--bip-lime);border-color:var(--bip-lime)}
html body .bip-card--dark{background:var(--bip-ink);border-color:var(--bip-ink);color:#fff}
html body .bip-card--dark:hover{color:#fff}
.bip-card .bip-zoom{border-radius:18px;aspect-ratio:4/3}
.bip-credit{position:absolute;right:8px;bottom:8px;background:rgba(0,34,31,.72);color:#fff;font-size:11px;line-height:1.3;padding:3px 8px;border-radius:999px;pointer-events:none}
.bip-card__title{font-family:var(--bip-head);font-weight:700;font-size:27px;line-height:1.1;padding:6px 16px 0}
.bip-card__text{padding:0 16px}
.bip-card__meta{padding:4px 16px 0;font-size:15px;font-weight:700;color:var(--bip-green-text)}
.bip-card__news{font-family:var(--bip-head);font-weight:700;font-size:24px;line-height:1.2;padding:0 16px}

/* Sozialberatung */
.bip-band{padding:0 24px 88px}
.bip-band__box{max-width:1200px;margin:0 auto;background:var(--bip-tint);border-radius:32px;padding:56px clamp(24px,5vw,64px);display:flex;flex-wrap:wrap;gap:40px 64px;align-items:flex-start;box-sizing:border-box}
.bip-band__col{flex:1 1 400px;display:flex;flex-direction:column;gap:18px}
.bip-band__col--list{gap:12px}
.bip-row{background:#fff;border-radius:18px;padding:16px 22px;display:flex;gap:16px;align-items:center}
.bip-dot{width:14px;height:14px;border-radius:4px;flex:none;background:var(--bip-lime)}
.bip-dot--g{background:var(--bip-green)}
.bip-dot--d{background:var(--bip-ink)}
/* Sozialberatung: alle Punkte einheitlich gruen */
.bip-band .bip-dot,.bip-band .bip-dot--g,.bip-band .bip-dot--d,.bip-goals .bip-dot,.bip-goals .bip-dot--g,.bip-goals .bip-dot--d{background:var(--bip-green)}
/* ---------- Handy ---------- */
@media (max-width:768px){
.bip-topbar__in{flex-direction:column;align-items:center;text-align:center;gap:2px;padding:7px 16px;font-size:14px}
.bip-topbar__in>span:first-child{white-space:nowrap;font-size:clamp(12px,3.6vw,14px)}
.bip-topbar__in>span:first-child strong{font-size:0}
.bip-topbar__in>span:first-child strong::before{content:"\00D6 ffnungszeiten: ";font-size:clamp(12px,3.6vw,14px)}
.bip-topbar a[href^="tel:"]::before{content:"Telefon ";font-weight:400}
.bip-layout .main-navigation.toggled .main-nav ul li a{font-size:22px;line-height:54px}
.bip-hero .bip-wrap{padding-top:40px;padding-bottom:44px;gap:36px}
.bip-welcome .bip-wrap{padding-top:48px}
.bip-offers .bip-wrap{padding-top:44px;padding-bottom:36px}
.bip-center{margin-bottom:28px}
.bip-band{padding:0 12px 36px}
.bip-band__box{padding:36px 18px}
.bip-person a[href^="mailto:"]{font-size:15px;white-space:nowrap}
.bip-front .bip-goals .bip-wrap{padding-bottom:20px;gap:32px}
.bip-week{padding-top:24px}
.bip-partners__logos{flex-direction:column;gap:26px}
.bip-partners__logos img,.bip-partners__logos img[src*="LHDD"]{width:min(280px,78vw)!important;height:auto!important}
.bip-partners__logos a[href*="andreas-fiedler"] img{width:min(280px,78vw)!important;height:auto!important;aspect-ratio:480/101}
}
/* Ziele kompakter, ohne Trennstriche */
.bip-goals ul.bip-checks{gap:2px 28px}
.bip-goals .bip-checks li{border-bottom:0;padding:5px 0;line-height:1.4;font-size:17px}
.bip-goals ul.bip-checks{display:block;columns:2 300px;column-gap:40px}
.bip-goals ul.bip-checks li{break-inside:avoid;margin-bottom:6px}
/* Inhaltsuebersicht auf dem Handy ohne aeusseren Kasten */
@media (max-width:768px){html body div#ez-toc-container.ez-toc-v2_0_0,html body div#ez-toc-container{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:20px 0 28px!important}}
/* Galerien: sauberes Raster, auf dem Handy 2 Bilder pro Zeile */
.bip-layout .entry-content .gallery{display:grid;grid-template-columns:repeat(var(--gcols,3),minmax(0,1fr));gap:10px;margin:0 0 1.5em}
.bip-layout .entry-content .gallery-columns-2{--gcols:2}.bip-layout .entry-content .gallery-columns-3{--gcols:3}.bip-layout .entry-content .gallery-columns-4{--gcols:4}.bip-layout .entry-content .gallery-columns-5{--gcols:5}.bip-layout .entry-content .gallery-columns-6{--gcols:6}
.bip-layout .entry-content .gallery br{display:none}
.bip-layout .entry-content .gallery .gallery-item{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;aspect-ratio:4/3}
.bip-layout .entry-content .gallery .gallery-icon,.bip-layout .entry-content .gallery .gallery-icon a{display:block;height:100%}
.bip-layout .entry-content .gallery img{width:100%;height:100%;object-fit:cover;border:0!important;display:block}
@media (max-width:768px){.bip-layout .entry-content .gallery{--gcols:2!important;gap:8px}}
/* "Das solltest du auch lesen": Raster, auf dem Handy 2 pro Zeile */
html body .crp_related.crp-thumbs-grid ul{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin:10px 0 0!important;padding:0!important}
html body .crp_related.crp-thumbs-grid li{margin:0!important;padding:0!important;width:auto!important;list-style:none}
html body .crp_related.crp-thumbs-grid li,html body .crp_related.crp-thumbs-grid li a{border:0!important;box-shadow:none!important;background:none!important;height:auto!important;min-height:0!important}
html body .crp_related.crp-thumbs-grid li a{display:flex!important;flex-direction:column;gap:6px;text-decoration:none;color:var(--bip-ink);width:100%!important;overflow:visible!important}
html body .crp_related.crp-thumbs-grid figure{margin:0!important;width:100%!important;height:auto!important;overflow:hidden;border-radius:14px;aspect-ratio:4/3}
html body .crp_related.crp-thumbs-grid .crp_title{text-shadow:none!important;text-align:left!important;bottom:auto!important}
html body .crp_related.crp-thumbs-grid ul{align-items:start;justify-items:stretch!important}
html body .crp_related.crp-thumbs-grid li{width:100%!important}
html body .crp_related.crp-thumbs-grid a{aspect-ratio:auto!important;max-width:none!important;align-items:stretch!important;text-align:left!important}
html body .crp_related.crp-thumbs-grid .crp_title{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;border-radius:0!important}
html body .crp_related.crp-thumbs-grid li{overflow:visible!important;max-height:none!important}
html body .crp_related.crp-thumbs-grid li a figure{position:relative!important;display:block!important;height:0!important;padding:0 0 75% 0!important;aspect-ratio:auto!important}
html body .crp_related.crp-thumbs-grid li a figure img{position:absolute!important;top:0;left:0;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;border:0!important;box-shadow:none!important;border-radius:0!important;transition:transform .6s ease}
html body .crp_related.crp-thumbs-grid li a:hover img{transform:scale(1.06)}
html body .crp_related.crp-thumbs-grid .crp_title{position:static!important;background:none!important;color:var(--bip-ink)!important;font-size:15px;font-weight:700;line-height:1.3;padding:0!important;width:auto!important}
@media (max-width:768px){html body .crp_related.crp-thumbs-grid ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html body .crp_related.crp-thumbs-grid .crp_title{font-size:14px}}
/* Ueberschriften in Seiten und Beitraegen auf dem Handy: lange Woerter passen */
@media (max-width:768px){
html body .entry-content h1{font-size:26px}
html body:not(.bip-front) .entry-content h2{font-size:22px;line-height:1.2}
html body:not(.bip-front) .entry-content h3{font-size:19px}
html body .entry-content h1,html body .entry-content h2,html body .entry-content h3{overflow-wrap:break-word;hyphens:manual}
}
/* Kontaktformulare: leicht gruener Hintergrund statt grau */
.su-note:has(.wpforms-container),.su-note:has(.wpforms-container) .su-note-inner{background:var(--bip-tint)!important;border-color:var(--bip-tint)!important;border-radius:22px!important}
.su-note:has(.wpforms-container) .su-note-inner{padding:24px!important}
.wpforms-container .wpforms-uploader{background:#fff!important;border-color:var(--bip-line)!important;border-radius:12px!important}
.wpforms-container input[type=text],.wpforms-container input[type=email],.wpforms-container input[type=tel],.wpforms-container textarea,.wpforms-container select{border-color:var(--bip-line)!important;border-radius:10px!important}
/* Gegebenheiten vor Ort kompakt */
.bip-place ul.bip-facts li{border-bottom:0;padding:5px 0;align-items:center;white-space:nowrap;font-size:17px}
.bip-place ul.bip-facts svg{margin-top:0}
@media (max-width:420px){.bip-place ul.bip-facts li{font-size:15px;gap:10px}}
/* Karte und Hinweisbox in Beitraegen */
.bip-layout:not(.bip-front) .entry-content .bip-map{color:#fff;margin:10px 0 24px}
.bip-layout:not(.bip-front) .entry-content .bip-map strong{color:#fff}
.bip-layout:not(.bip-front) .entry-content .bip-note{margin:0 0 1.5em}
.bip-layout:not(.bip-front) .entry-content .bip-note p{margin:0}
/* Footer: alle vier Logos in einer Reihe auf dem Computer */
@media (min-width:1000px){
.bip-partners__in{max-width:1320px}
.bip-partners__logos{flex-wrap:nowrap;gap:0 44px;width:100%;justify-content:center}
.bip-partners__logos img[src*="Vonovia"]{height:40px}
}
.bip-layout .entry-content p.bip-bildnachweis{font-size:12px;color:#5A6B66;margin:-6px 0 18px;text-align:right}
.bip-thumb{position:relative;display:block;overflow:hidden;border-radius:18px;line-height:0}
.bip-thumb img{display:block;width:100%;height:auto}
.bip-thumb .bip-credit{line-height:1.3;z-index:2}
/* Lange Beitragsueberschriften etwas kleiner */
html body.single .entry-header .entry-title{font-size:clamp(25px,2.5vw,31px);line-height:1.2}
/* ---------- Footer mit Kontakt, Bürozeiten, Spendenkonto ---------- */
.bip-layout .site-footer .footer-widgets{background:var(--bip-ink);color:#fff}
.bip-layout .site-footer .footer-widgets-container{max-width:1200px;margin:0 auto;padding:56px 24px 40px;box-sizing:border-box}
.bip-layout .site-footer .footer-widgets .inside-footer-widgets{gap:48px}
.bip-layout .site-footer .footer-widgets .widget{background:none;padding:0;margin:0;font-size:16px;line-height:1.55;color:#fff}
.bip-layout .site-footer .footer-widgets .widget-title{font-family:var(--bip-head);font-weight:700;font-size:21px;color:var(--bip-lime);margin:0 0 16px;letter-spacing:-.01em}
.bip-layout .site-footer .footer-widgets a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
.bip-layout .site-footer .footer-widgets a:hover{color:var(--bip-lime);text-decoration-color:var(--bip-lime)}
.bip-foot p{margin:0 0 14px}
.bip-foot strong{color:#fff}
html body .bip-foot__tel a{font-family:var(--bip-head);font-weight:700;font-size:22px;color:var(--bip-lime)!important;text-decoration:none!important}
.bip-foot__mails{margin:0}
.bip-foot__mails dt{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#B9CDB0;margin:10px 0 0}
.bip-foot__mails dd{margin:0;font-size:15px;word-break:break-word}
.bip-foot__times>div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-top:1px solid #2E4D47}
.bip-foot__times>div:last-child{border-bottom:1px solid #2E4D47}
.bip-foot__times span{color:#D8E6CF}
.bip-foot__times strong{text-align:right;white-space:nowrap}
.bip-foot__hint{font-size:14px;color:#B9CDB0;margin-top:14px!important}
.bip-foot__bank{background:#0E3530;border-radius:16px;padding:16px 18px;font-size:16px;line-height:1.6}
@media (max-width:768px){.bip-layout .site-footer .footer-widgets-container{padding:40px 22px 28px}.bip-layout .site-footer .footer-widgets .inside-footer-widgets{gap:34px}}
/* Abstand zwischen Terminen und Neuigkeiten */
.bip-week .bip-wrap{padding-bottom:clamp(44px,5vw,72px)}
.bip-hours{background:var(--bip-ink);color:#fff;border-radius:22px;padding:22px 26px;display:flex;flex-direction:column;gap:10px}
.bip-hours__title{font-weight:700;color:var(--bip-lime)}
.bip-hours__row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bip-hours__hint{font-size:15px;line-height:1.5;border-top:1px solid #2E4D47;padding-top:12px;margin-top:4px}
.bip-person{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;margin-top:12px}
.bip-person__name{font-family:var(--bip-head);font-weight:700;font-size:22px}

/* Zielgruppe und Ziele */
.bip-goals .bip-wrap{padding-top:0;padding-bottom:88px;display:flex;flex-wrap:wrap;gap:48px 64px;align-items:flex-start}
.bip-goals__group{flex:1 1 340px;display:flex;flex-direction:column;gap:12px}
.bip-goals__aims{flex:2 1 560px;display:flex;flex-direction:column;gap:18px}
.bip-goals__group .bip-row{background:var(--bip-tint)}
.bip-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px 28px}
.bip-checks li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--bip-line)}
.bip-checks svg{flex:none;margin-top:3px}

/* Neues */
.bip-news .bip-wrap{padding-bottom:88px}
.bip-headrow{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:32px}
.bip-news .bip-card{padding-bottom:26px}

/* Anfahrt */
.bip-place .bip-wrap{padding-bottom:88px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.bip-place figure{margin:0;flex:1 1 460px;display:flex;flex-direction:column;gap:10px}
.bip-place figure .bip-zoom{border-radius:28px;aspect-ratio:16/10}
.bip-place figcaption{font-size:14px}
.bip-place__text{flex:1 1 420px;display:flex;flex-direction:column;gap:18px}
.bip-facts li{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--bip-line)}
.bip-facts svg{flex:none;margin-top:3px}

/* Kontakt */
.bip-contact{padding:0 24px 64px}
.bip-contact__box{max-width:1200px;margin:0 auto;background:var(--bip-ink);color:#fff;border-radius:32px;padding:56px clamp(24px,5vw,64px);display:flex;flex-wrap:wrap;gap:44px;box-sizing:border-box}
.bip-contact__box h2{color:#fff}
.bip-contact__col{flex:1 1 320px;display:flex;flex-direction:column;gap:16px}
.bip-contact .bip-hand{color:var(--bip-lime);font-size:34px}
html body .bip-contact a{color:#fff}
html body .bip-contact a.bip-tel{color:var(--bip-lime);font-weight:700;font-size:22px;text-decoration:none}
.bip-contact__mails{display:flex;flex-direction:column;gap:4px}
.bip-contact__mails span{font-size:15px;opacity:.85}
.bip-times__row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #2E4D47}
.bip-times__row:last-child{border-bottom:1px solid #2E4D47}
.bip-map{flex:1 1 320px;min-height:300px;border-radius:22px;background:#0E3530;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:24px;box-sizing:border-box;overflow:hidden}
.bip-map iframe{width:100%;height:100%;min-height:300px;border:0;border-radius:16px;display:block}
.bip-map p{font-size:15px;opacity:.9;max-width:26em}
.bip-map button{cursor:pointer;border:0}

/* Inhaltsübersicht (Easy Table of Contents) */
html body #ez-toc-container{background:#fff!important;border:1px solid var(--bip-line)!important;border-radius:22px!important;padding:22px 24px 24px!important;box-shadow:0 8px 24px rgba(0,34,31,.06)!important;width:100%!important;max-width:100%!important;box-sizing:border-box;margin:28px 0 36px!important;display:block!important}
html body #ez-toc-container .ez-toc-title-container{display:flex;align-items:center;margin:0 0 12px}
html body #ez-toc-container .ez-toc-title{font-family:var(--bip-hand)!important;font-weight:700!important;font-size:30px!important;line-height:1.1!important;color:var(--bip-green-text)!important;margin:0!important}
html body #ez-toc-container .ez-toc-title-toggle:empty{display:none}
html body #ez-toc-container nav>ul.ez-toc-list{counter-reset:bipt;display:block;columns:2 260px;column-gap:8px;margin:0!important;padding:0!important}
html body #ez-toc-container ul.ez-toc-list li{counter-increment:bipt;break-inside:avoid;margin:0 0 8px!important;padding:0!important;list-style:none!important;line-height:1.3}
html body #ez-toc-container ul.ez-toc-list li a{display:flex!important;align-items:center;gap:12px;background:var(--bip-tint);border-radius:14px;padding:9px 14px;font-family:var(--bip-body);font-weight:700;font-size:17px;color:var(--bip-ink)!important;text-decoration:none!important;min-height:46px;box-sizing:border-box;transition:background .2s}
html body #ez-toc-container ul.ez-toc-list li a:hover,html body #ez-toc-container ul.ez-toc-list li a:focus{background:var(--bip-lime)}
html body #ez-toc-container.ez-toc-counter ul.ez-toc-list li a::before,html body #ez-toc-container ul.ez-toc-list li a::before{content:counter(bipt)!important;flex:none;width:28px;height:28px;border-radius:50%;background:var(--bip-ink);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;margin:0!important}
html body #ez-toc-container ul.ez-toc-list ul{display:none}
/* Lime-Buttons immer mit dunkler Schrift */
html body a.bip-btn--lime,html body a.bip-btn--lime:visited,html body button.bip-btn--lime{color:#0F2F2A!important}
html body a.bip-btn--lime:hover,html body a.bip-btn--lime:focus{color:#0F2F2A!important}
/* Bildnachweis im Bild (Startseite Anfahrt) */
.bip-place figure{position:relative}
.bip-place figure figcaption{position:absolute;right:10px;bottom:10px;margin:0;padding:3px 9px;font-size:11px;line-height:1.3;color:#fff;background:rgba(0,34,31,.72);border-radius:999px;z-index:2;max-width:calc(100% - 20px)}
/* Videos Handarbeit */
.bip-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:8px 0 34px}
.bip-video{margin:0;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 1px 0 rgba(15,47,42,.06),0 10px 28px rgba(15,47,42,.08)}
.bip-video .wp-video{width:100%!important;max-width:none!important;margin:0}
.bip-video .wp-video .mejs-container,.bip-video .wp-video video{width:100%!important;height:auto!important;aspect-ratio:16/10;background:#0F2F2A}
.bip-video .mejs-mediaelement video{object-fit:cover}
.bip-video .mejs-poster{background-size:cover!important;width:100%!important;height:100%!important}
.bip-video .mejs-overlay-button{transform:scale(1.15)}
.bip-video .mejs-controls{background:linear-gradient(transparent,rgba(15,47,42,.85))}
.bip-video figcaption{padding:12px 16px 14px;font-size:16px;line-height:1.35;color:var(--bip-ink,#0F2F2A);font-weight:600}
.bip-videos br{display:none}
@media (max-width:768px){.bip-videos{grid-template-columns:1fr;gap:18px}}
