/*
Theme Name: integra – Berufliche Integration
Description: Barrierearme, responsive Gestaltung mit bearbeitbaren WordPress-Blöcken, Navigation und Vorlagenteilen.
Version: 1.3.4
Author: integra
License: GPL-2.0-or-later
Text Domain: integra-blocks
*/
:root{--integra-blue:#0068a0;--integra-green:#86bc25}
html{scroll-behavior:smooth}body{margin:0}a{ text-underline-offset:.18em }a:focus-visible,button:focus-visible{outline:3px solid #0068a0;outline-offset:4px}
.integra-header{border-top:7px solid var(--integra-green);border-bottom:1px solid #dbe6eb;background:#fff;padding:28px 0 0}
.integra-brand{font-size:50px!important;font-weight:750;letter-spacing:-2px;line-height:1;margin:0!important}.integra-brand a{text-decoration:none;color:var(--integra-blue)}
.integra-tagline{font-size:14px;color:#4e636e;line-height:1.5;margin-top:7px!important}
.integra-header nav.wp-block-navigation{border-top:1px solid #e7edf0;margin-top:24px;padding:14px 0;color:#173f52;font-size:15px;font-weight:650;gap:22px}
.integra-header .wp-block-navigation__submenu-container{font-size:14px;font-weight:400;min-width:240px!important;background:#fff;border:1px solid #e0e8eb!important;box-shadow:0 12px 32px #173f5215}
.integra-header .wp-block-navigation__submenu-container a{padding:10px 16px!important}
.integra-header .wp-block-navigation-item{min-width:0}
.integra-header-logo{margin:0!important}.integra-header-logo img{width:220px;height:auto}
.integra-header-top{gap:24px}.integra-header-contact{font-size:15px;text-align:right}
.integra-main{padding:54px 0 70px;min-height:50vh}.integra-main h1{position:relative;max-width:1080px;border:0;padding-left:0;margin-bottom:36px;text-align:left}.integra-main h1::before{content:"";position:absolute;top:0;bottom:0;left:-24px;width:7px;background:var(--integra-green)}
.integra-main h2{margin-top:42px;margin-bottom:16px;color:#00659b}.integra-main h3{margin-top:30px;margin-bottom:10px}
.integra-main p,.integra-main li{overflow-wrap:anywhere}.integra-main .wp-block-image img{height:auto;max-width:100%}
.integra-main .wp-block-image{margin-top:20px;margin-bottom:24px}.integra-main .wp-block-image img[src*=logo],.integra-main .wp-block-image img[src*=Logo],.integra-main .wp-block-image img[src*=EAAg]{max-width:280px}
.integra-main .wp-block-columns{gap:28px;margin-bottom:28px;align-items:stretch!important}.team-card{height:100%;border:1px solid #dce6ec;border-radius:4px;padding:22px;background:#f8fafb;font-size:15px;line-height:1.6}
.team-card .wp-block-image{margin:0 0 18px}.team-card .wp-block-image img{width:100%;height:225px;object-fit:contain;object-position:center;background:#fff}.team-card p{margin:10px 0!important}
.integra-footer{background:#edf4f7;padding:0 0 28px;border-top:1px solid #d9e5eb}.integra-contact-band{background:#0068a0;color:#fff;padding:30px 0}.integra-contact-band h2{margin:0;color:#fff;font-size:28px}.integra-contact-band p{margin:10px 0 0}.integra-contact-band a{color:#fff}
.integra-footer-grid{padding:32px 0 20px;gap:24px!important}.integra-footer-grid h3{font-size:18px;margin:0 0 10px}.integra-footer-grid p{font-size:14px;line-height:1.7}.integra-footer a{color:#145b7c}.integra-footer-bottom{padding-top:18px;border-top:1px solid #ccdce4;font-size:13px}
.integra-home-actions{padding:28px;background:#edf5e4;border-left:5px solid #86bc25}.integra-home-actions h2{margin-top:0}
.integra-footer .integra-contact-band{padding:30px 28px}
.integra-footer .integra-contact-band a{display:inline-block;min-height:44px;box-sizing:border-box;padding:7px 5px;color:#fff;font-size:18px;font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.integra-footer .integra-contact-band a:hover{background:#004c76;color:#fff}
.integra-footer .integra-contact-band a:focus-visible{outline:3px solid #fff;outline-offset:3px;background:#004c76;color:#fff}
.integra-footer-grid p{font-size:17px;line-height:1.75;color:#203c4c}.integra-footer-grid h3{font-size:20px;line-height:1.3}.integra-footer-grid a{display:inline-block;min-height:44px;box-sizing:border-box;padding:6px 0;font-weight:600}
.integra-footer-bottom{font-size:16px;line-height:1.7}.integra-footer-bottom a{display:inline-block;min-height:44px;padding:6px 2px;box-sizing:border-box}
.integra-main{font-size:20px;line-height:1.75}.integra-main>.wp-block-post-content>p,.integra-main>.wp-block-post-content>ul{max-width:75ch;margin-left:0!important;margin-right:0!important;text-align:left}.team-card{font-size:17px;line-height:1.7}.integra-header nav.wp-block-navigation{font-size:16px}
.integra-main .wp-block-image img[src*="/sym_"]{width:88px;height:88px;object-fit:contain;box-sizing:border-box;padding:8px;background:#344d9b;border-radius:50%}
@media(max-width:800px){.integra-header{padding-top:20px}.integra-main{padding:32px 0 45px}.integra-main h1{padding-left:0;font-size:32px}.integra-main h1::before{left:-14px;width:5px}.integra-header nav.wp-block-navigation{justify-content:flex-start}.integra-footer-grid{flex-wrap:wrap!important}.integra-footer-grid>.wp-block-column{flex-basis:calc(50% - 24px)!important}.team-card .wp-block-image img{height:210px}}
@media(max-width:480px){.integra-footer-grid>.wp-block-column{flex-basis:100%!important}.integra-brand{font-size:42px!important}.integra-contact-band h2{font-size:24px}.integra-main h1{font-size:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.wp-site-blocks>header{margin-left:-24px;margin-right:-24px}
.integra-header{position:relative;padding:18px 24px 0;border-top:0;border-bottom:5px solid #86bc25}
.integra-header .integra-header-logo{position:absolute;left:0;top:0;z-index:5;width:210px;max-width:none!important;margin:0!important}
.integra-header .integra-header-logo img{display:block;width:210px;height:auto}
.integra-header-tools{min-height:48px;gap:12px!important;justify-content:flex-end!important;margin-top:0!important}
.integra-header>.integra-header-tools,.integra-header>.wp-block-navigation{max-width:calc(100% - 220px)!important;margin-left:220px!important;margin-right:0!important}
.integra-header>.wp-block-navigation{margin-top:16px!important;padding:15px 0;border-top:0;font-size:18px;font-weight:500;gap:15px;justify-content:center!important}
.integra-header .wp-block-navigation-item>a{min-height:44px;display:inline-flex;align-items:center}
.integra-header .wp-block-navigation__submenu-container{font-size:17px}
@media(min-width:601px){.integra-header .wp-block-navigation__container>.has-child:nth-last-child(-n+3)>.wp-block-navigation__submenu-container{left:auto;right:0}}
.integra-header-tools .wp-block-buttons{margin:0}
.integra-header-tools .wp-block-button__link{display:inline-flex;align-items:center;min-height:48px;padding:10px 16px;border-radius:3px;background:#354b9d;color:#fff;font-size:17px;font-weight:650;line-height:1.45;text-decoration:none}
.integra-header-tools .wp-block-button__link:hover{background:#24377e;text-decoration:underline}
.integra-header-tools .integra-header-phone{display:none}
@media(max-width:800px){.integra-header-tools .integra-header-reading-link{display:none}.integra-header-tools .integra-header-phone{display:block}}
.integra-header-search{flex:0 1 300px;min-width:210px;margin:0!important}
.integra-header-search .wp-block-search__inside-wrapper{padding:0;border:0;gap:0}
.integra-header-search input{width:100%;min-height:48px;padding:8px 12px;border:1px solid #354b9d;border-radius:0;font:18px/1.5 Arial,Helvetica,sans-serif;color:#203c4c;background:#fff;box-sizing:border-box}
.integra-header-search button{display:flex;align-items:center;justify-content:center;min-width:50px;min-height:48px;margin:0;padding:8px;border:1px solid #354b9d;border-radius:0;background:#354b9d;color:#fff}
.integra-header-search button svg{width:28px;height:28px;fill:currentColor}
.integra-offer-band{margin:0!important;padding:38px 28px 34px;background:#354b9d;color:#fff}
.integra-offer-band>.integra-offer-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));max-width:1600px!important;margin:0 auto!important;gap:16px 26px}
.integra-offer-band .wp-block-column{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 2;column-gap:16px;min-width:0}
.integra-offer-band h2{grid-column:2;grid-row:1;align-self:start;margin:0!important;min-width:0;color:#fff;font-size:22px;line-height:1.35;font-style:italic}
.integra-offer-band h2 a{color:#fff;text-decoration:none}.integra-offer-band h2 a:hover{text-decoration:underline}
.integra-offer-band .wp-block-group.integra-offer-content{display:contents!important}
.integra-offer-band .wp-block-image{grid-column:1;grid-row:2;align-self:start;width:72px;height:72px;margin:0!important}
.integra-offer-band img{display:block;width:72px;height:72px;object-fit:contain;padding:6px;box-sizing:border-box;border-radius:50%;background:#344d9b}
.integra-offer-band p{grid-column:2;grid-row:2;align-self:start;margin:0!important;min-width:0;font-size:18px;line-height:1.75;overflow-wrap:anywhere}
.integra-offer-band :focus-visible{outline:3px solid #fff;outline-offset:5px}
.integra-search-results article{padding:24px 0;border-bottom:1px solid #dbe6eb}
.integra-search-results .wp-block-post-title{font-size:28px;border:0;padding:0}
.integra-main .wp-block-heading[id],.integra-main .wp-block-group[id]{scroll-margin-top:64px}
#grundsaetze-uebersicht .wp-block-buttons{gap:12px;margin-top:22px}
.integra-main .wp-block-button .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:10px 20px;border:0;border-left:5px solid #86bc25;border-radius:5px;background:#354b9d;color:#fff;font-size:18px;font-weight:650;line-height:1.5;text-decoration:none;box-shadow:none}
.integra-main .wp-block-button .wp-block-button__link:hover{background:#24377e;color:#fff;text-decoration:underline;text-underline-offset:4px}
.integra-main .wp-block-button .wp-block-button__link:focus-visible{outline:3px solid #203c4c;outline-offset:4px;background:#24377e;color:#fff;text-decoration:underline}
@media(max-width:480px){#grundsaetze-uebersicht .wp-block-button{flex-basis:100%}.integra-main .wp-block-button .wp-block-button__link{width:100%;justify-content:flex-start}}

/* Consistent editable link cards, document rows and news lists. */
.integra-main .integra-link-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:28px;margin-bottom:32px}
.integra-main .integra-link-cards .wp-block-button{width:100%;height:100%}
.integra-main .integra-link-cards .wp-block-button .wp-block-button__link{width:100%;height:100%;min-height:68px;justify-content:space-between;text-align:left;padding:16px 20px;gap:16px}
.integra-link-cards .wp-block-button__link::after{content:"→";flex-shrink:0;font-size:24px;line-height:1}
.integra-main .wp-block-list:has(>li>a[href$=".pdf"]){padding-left:0;list-style:none;max-width:100%!important}
.integra-main .wp-block-list>li:has(>a[href$=".pdf"]){margin:12px 0;list-style:none}
.integra-main .wp-block-list>li>a[href$=".pdf"]{display:block;position:relative;box-sizing:border-box;min-height:56px;padding:16px 80px 16px 20px;background:#edf4f7;border:1px solid #c8dbe5;border-left:5px solid #86bc25;border-radius:5px;color:#145b7c;font-size:19px;line-height:1.6;text-decoration:underline;text-underline-offset:4px}
.integra-main .wp-block-list>li>a[href$=".pdf"]::after{content:"PDF";position:absolute;right:18px;top:18px;font:700 14px/1.5 Arial,Helvetica,sans-serif;color:#354b9d}
.integra-main .wp-block-list>li>a[href$=".pdf"]:hover{background:#e0edf4;color:#173f52}
.page-id-1150 .integra-main .wp-block-list{padding-left:0;list-style:none;max-width:100%!important;margin:0 0 16px!important}
.page-id-1150 .integra-main .wp-block-list>li{list-style:none}
.page-id-1150 .integra-main .wp-block-list>li>a{display:block;padding:20px 24px;border:1px solid #ccdce5;border-left:5px solid #86bc25;border-radius:5px;background:#f4f8fa;color:#145b7c;text-decoration:none;line-height:1.7}
.page-id-1150 .integra-main .wp-block-list>li>a strong{display:block;font-size:21px;text-decoration:underline;text-underline-offset:4px}
.page-id-1150 .integra-main .wp-block-list>li>a:hover{background:#e0edf4;color:#173f52}
.page-id-1150 .integra-main .wp-block-list>li>a br{display:none}
.integra-main a:focus-visible{outline:3px solid #203c4c;outline-offset:4px}
.integra-main .team-card{border-top:4px solid #86bc25;border-radius:5px}
.integra-main .integra-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:28px;margin-top:28px;margin-bottom:42px;align-items:stretch}
.integra-main .integra-team-grid>.team-card{margin:0!important;min-width:0;min-height:34rem;box-sizing:border-box;width:100%;height:100%}
.integra-main .integra-team-grid:has(p[style*="font-size"]){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){.integra-main .integra-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.integra-main .integra-team-grid>.team-card{min-height:0}.integra-main .integra-team-grid,.integra-main .integra-team-grid:has(p[style*="font-size"]){grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}}
.integra-main details.wp-block-details{padding:18px 22px;margin:18px 0;border:1px solid #c8dbe5;border-left:5px solid #86bc25;border-radius:5px;background:#f4f8fa}
.integra-main details.wp-block-details summary{min-height:44px;font-weight:700;color:#145b7c;cursor:pointer}
.integra-main details.wp-block-details summary:focus-visible{outline:3px solid #203c4c;outline-offset:4px}
@media(max-width:600px){.integra-main .integra-link-cards{grid-template-columns:1fr}.integra-main .wp-block-buttons{gap:12px}.integra-main .wp-block-list>li>a[href$=".pdf"]{padding:14px 62px 14px 16px}.integra-main .wp-block-list>li>a[href$=".pdf"]::after{right:12px}.page-id-1150 .integra-main .wp-block-list>li>a{padding:16px 18px}}



.integra-main .integra-pdf-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin:14px 0;padding:18px 20px;border:1px solid #c8dbe5;border-left:5px solid #86bc25;border-radius:5px;background:#edf4f7}
.integra-main .integra-pdf-row>.integra-pdf-title{flex:1 1 480px;min-width:0;margin:0!important;font-size:19px;line-height:1.6}
.integra-pdf-title a{color:#145b7c;text-decoration:underline;text-underline-offset:4px}
.integra-main .integra-pdf-row>.wp-block-buttons{flex:0 0 auto;margin:0;max-width:100%}
.integra-main .integra-pdf-row .wp-block-button__link{gap:8px}
.integra-main .integra-pdf-preview .wp-block-button__link{position:relative;width:48px;height:48px;padding:0!important;min-width:48px;border-left:0!important;font-size:0!important}
.integra-main .integra-pdf-preview .wp-block-button__link::before{content:"";position:absolute;width:15px;height:15px;border:3px solid currentColor;border-radius:50%;left:12px;top:10px}
.integra-main .integra-pdf-preview .wp-block-button__link::after{content:"";position:absolute;width:13px;height:3px;background:currentColor;transform:rotate(45deg);left:27px;top:30px;border-radius:2px}
@media(max-width:600px){.integra-main .integra-pdf-row{padding:16px;gap:14px}.integra-main .integra-pdf-row>.integra-pdf-title{flex-basis:100%}}

/* Give enlarged text room instead of forcing it into narrow columns. */
.integra-offer-band:has(p[style*="font-size"])>.integra-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.integra-offer-band:has(p[style*="font-size"]) .wp-block-column{flex-basis:calc(50% - 26px)!important;flex-grow:1}
.integra-offer-band:has(p[style*="font-size"]) .integra-offer-content{flex-wrap:wrap!important}
.integra-offer-band:has(p[style*="font-size"]) .integra-offer-content p{flex-basis:100%;overflow-wrap:normal;hyphens:auto}
.integra-footer-grid:has(p[style*="font-size"]){flex-wrap:wrap!important}
.integra-footer-grid:has(p[style*="font-size"])>.wp-block-column{flex-basis:calc(50% - 24px)!important;flex-grow:1}
.integra-main .wp-block-columns:has(p[style*="font-size"]){flex-wrap:wrap!important}
.integra-main .wp-block-columns:has(p[style*="font-size"])>.wp-block-column{flex-basis:calc(50% - 28px)!important;flex-grow:1;min-width:0}
@media(max-width:800px){.integra-main .wp-block-columns:has(p[style*="font-size"])>.wp-block-column{flex-basis:100%!important}}
@media(max-width:600px){.integra-offer-band:has(p[style*="font-size"]) .wp-block-column,.integra-footer-grid:has(p[style*="font-size"])>.wp-block-column{flex-basis:100%!important}}

@media(max-width:1200px){.integra-offer-band>.integra-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integra-offer-grid>.wp-block-column{flex-basis:calc(50% - 26px)!important;flex-grow:1}.integra-header>.wp-block-navigation{font-size:17px;gap:12px}}
@media(max-width:800px){.integra-header{padding:16px 20px 0}.integra-header .integra-header-logo{width:170px}.integra-header .integra-header-logo img{width:170px}.integra-header>.integra-header-tools,.integra-header>.wp-block-navigation{max-width:calc(100% - 172px)!important;margin-left:172px!important}.integra-header-tools{flex-wrap:wrap!important;gap:8px!important}.integra-header-search{flex-basis:100%;min-width:0}.integra-header-tools .wp-block-button__link{font-size:16px;min-height:44px;padding:8px 12px}.integra-header>.wp-block-navigation{margin-top:8px!important;padding:8px 0;justify-content:flex-end!important}.integra-offer-band{padding:32px 24px}.integra-offer-band h2{font-size:21px}.integra-offer-band p{font-size:18px}}
@media(max-width:600px){.integra-offer-band>.integra-offer-grid,.integra-offer-band:has(p[style*=font-size])>.integra-offer-grid{grid-template-columns:minmax(0,1fr)}.integra-header{padding:16px}.integra-header .integra-header-logo{position:static;width:155px;margin:0 auto 16px!important}.integra-header .integra-header-logo img{width:155px}.integra-header>.integra-header-tools,.integra-header>.wp-block-navigation{max-width:100%!important;margin-left:0!important;margin-right:0!important}.integra-header-tools{justify-content:center!important}.integra-header-search{flex-basis:100%}.integra-header>.wp-block-navigation{justify-content:center!important;margin-top:8px!important}.integra-offer-grid>.wp-block-column{flex-basis:100%!important}.integra-offer-band .wp-block-group.integra-offer-content{align-items:center}.integra-offer-band h2{margin-bottom:12px}.integra-offer-band{padding:28px 24px}}
