/* Kestler: eckige Bedienelemente und kompakter Formularabschluss. */
button,.fusion-button,input:not([type=checkbox]):not([type=radio]),textarea,select,.flip-box-front,.flip-box-back,.kestler-gallery-dialog,.kestler-gallery-dialog button,.kestler-photo-dialog{border-radius:0!important}
input[type=file]::file-selector-button{border-radius:0!important}
.kestler-engagement-banner .kestler-engagement-banner__values{color:#000!important}
.kestler-founder-portrait-host{position:relative!important;overflow:visible!important;z-index:2}
#main .kestler-founder-portrait{position:absolute;right:max(16px,calc((100% - 1200px)/2 - 180px));bottom:0;width:clamp(280px,25vw,400px);height:clamp(400px,40vw,580px);overflow:hidden;margin:0;padding:0;z-index:100}
#main .kestler-founder-portrait img{display:block;width:100%!important;height:auto!important;max-width:none!important;margin:0;padding:0;border:0;border-radius:0}
@media(min-width:1341px){#main .kestler-founder-card .content-container{padding-right:260px!important}}
@media(max-width:1340px){.kestler-founder-portrait-host{padding-bottom:420px!important}#main .kestler-founder-portrait{right:24px;bottom:0;width:300px;height:420px}}
@media(max-width:640px){.kestler-founder-portrait-host{padding-bottom:360px!important}#main .kestler-founder-portrait{right:50%;transform:translateX(50%);bottom:0;width:250px;height:360px}}
.wpcf7{container-type:inline-size}
.wpcf7 .wpcf7-form{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;column-gap:24px;row-gap:0}
.wpcf7 .wpcf7-form>*{grid-column:1/-1;min-width:0}
.wpcf7 .wpcf7-form>p:has(>input[type=submit]){margin-bottom:0!important;align-self:center}
.wpcf7 .wpcf7-form>.frc-captcha{margin:14px 0 0!important;justify-self:start;max-width:100%}
@container(min-width:520px){.wpcf7 .wpcf7-form{grid-template-columns:max-content minmax(300px,1fr)}.wpcf7 .wpcf7-form>p:has(>input[type=submit]){grid-column:1}.wpcf7 .wpcf7-form>.frc-captcha{grid-column:2;margin:0!important}}
/* Vorhandener ConsentManager: nur Oberfläche, keine neuen Dienste oder Speicherregeln. */
#consent-manager{box-sizing:border-box;position:fixed!important;margin:0!important;translate:none!important;min-width:0!important;left:24px!important;bottom:24px!important;top:auto!important;right:auto!important;transform:none!important;width:min(560px,calc(100vw - 48px))!important;max-height:calc(100dvh - 48px);overflow:auto;padding:26px!important;border:0!important;border-top:4px solid #f36f21!important;border-radius:0!important;background:#fff!important;color:#202124!important;box-shadow:0 14px 60px #0004!important;z-index:99998!important;text-align:left!important}
#consent-manager:not(.visible){display:none!important}
#consent-manager.visible{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
#consent-manager #consent-manager__form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#consent-manager h6,#consent-manager p,#consent-manager fieldset,#consent-manager__show-options{grid-column:1/-1}
#consent-manager h6{font-size:23px!important;line-height:1.2!important;font-weight:700!important;letter-spacing:0!important;color:#202124!important;margin:0 0 3px!important}
#consent-manager p{font-size:16px!important;line-height:1.5!important;margin:0 0 8px!important;letter-spacing:0!important;color:#56585c!important}
#consent-manager a{color:#b64909!important;text-decoration:underline}
#consent-manager button{box-sizing:border-box;width:100%;min-height:48px;border:1px solid #c9c9c9!important;padding:12px 10px!important;margin:0!important;font-family:inherit;font-size:17px;font-weight:700;line-height:1.25;color:#202124!important;background:#f3f1ed!important;border-radius:0!important}
#consent-manager #consent-manager__accept-all{background:#f36f21!important;border-color:#f36f21!important}
#consent-manager #consent-manager__show-options{font-size:15px!important;padding:4px 0;text-align:center;cursor:pointer}
#consent-manager fieldset{padding:12px 0!important;margin:0!important;border:0!important}
#consent-manager fieldset label{display:flex;align-items:center;gap:12px;font-size:16px!important;line-height:1.4;margin:8px 0!important}
#consent-manager .consent-property-toggle,#consent-manager .consent-property-toggle:before,#consent-manager .consent-property-toggle:after{border-radius:0!important}
#consent-manager-toggle{box-sizing:border-box!important;width:44px!important;height:44px!important;padding:8px!important;background:#fff!important;border:1px solid #f36f21!important;border-radius:0!important;box-shadow:0 3px 16px #0002!important;left:16px!important;bottom:16px!important;z-index:99997!important;cursor:pointer}
#consent-manager-toggle svg{width:26px;height:26px;fill:#f36f21}
.consent-required-text{font-size:16px;line-height:1.5;color:#202124;background:#f4f1eb;padding:18px;cursor:pointer}
@media(max-width:640px){#consent-manager{left:12px!important;bottom:12px!important;width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px);padding:20px!important}#consent-manager h6{font-size:21px!important}#consent-manager p{font-size:15px!important}#consent-manager button{font-size:16px!important}#consent-manager-toggle{left:10px!important;bottom:10px!important}}

.frc-captcha,.frc-container,.frc-button{border-radius:0!important}
/* Die alte .center-Zentrierung darf den Hinweis nicht aus dem Bildschirm schieben. */
html body aside#consent-manager.center.visible{position:fixed!important;inset:auto auto 24px 24px!important;margin:0!important;transform:none!important;-webkit-transform:none!important;translate:none!important;transition:none!important;width:min(560px,calc(100vw - 48px))!important;min-width:0!important;max-width:calc(100vw - 48px)!important;max-height:calc(100dvh - 48px)!important}
@media(max-width:640px){html body aside#consent-manager.center.visible{inset:auto auto 12px 12px!important;width:min(560px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important}}
#main input[type=checkbox]{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:24px;height:24px;min-width:24px;min-height:24px;margin:2px 12px 0 0;border:2px solid #6d6e71;border-radius:0!important;background:#fff;vertical-align:middle;cursor:pointer;display:inline-grid;place-content:center;flex:none}
#main input[type=checkbox]:checked{background:#f36f21;border-color:#f36f21}
#main input[type=checkbox]:checked:after{content:'';display:block;width:6px;height:12px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg);margin-top:-3px}
#main input[type=checkbox]:focus-visible{outline:3px solid #f36f21;outline-offset:3px}
#main .wpcf7-acceptance .wpcf7-list-item{margin-left:0}
#main .wpcf7-acceptance label{display:flex;align-items:flex-start;gap:0}
#main .wpcf7-acceptance .wpcf7-list-item-label{flex:1;min-width:0}
#consent-manager .consent-property-toggle{box-sizing:border-box;width:24px!important;height:24px!important;min-width:24px!important;flex:none;border:2px solid #6d6e71!important;background:#fff!important;border-radius:0!important;position:relative;margin:0!important}
#consent-manager .consent-property-toggle:before{display:none!important}
#consent-manager .consent-property-toggle:after{display:none!important}
#consent-manager .consent-property-toggle.-enabled{background:#f36f21!important;border-color:#f36f21!important}
#consent-manager .consent-property-toggle.-enabled:after{content:''!important;display:block!important;position:absolute!important;left:6px!important;top:1px!important;right:auto!important;bottom:auto!important;width:6px!important;height:12px!important;border:solid #fff!important;border-width:0 3px 3px 0!important;background:transparent!important;transform:rotate(45deg)!important;border-radius:0!important}

/* Verifizierung im normalen Zustand auf derselben Höhe wie Senden. */
#main .wpcf7-form>.frc-captcha{box-sizing:border-box;min-height:54px;padding-bottom:10px!important}
#main .frc-captcha .frc-container{box-sizing:border-box;height:42px;min-height:42px}
#main .frc-captcha .frc-container>svg{width:28px;height:28px;margin:6px 8px 0}
#main .frc-captcha .frc-content{margin-top:3px}
#main .frc-captcha .frc-text{font-size:13px;line-height:15px}
#main .frc-captcha .frc-button{font-size:13px;line-height:15px;padding:2px 6px}
#main .frc-captcha .frc-banner{height:10px;line-height:10px;font-size:10px}
#main .frc-captcha.frc-error .frc-container{height:auto;min-height:42px}
#main .frc-captcha .frc-content:not(:has(.frc-button)) .frc-text{font-size:18px;line-height:24px}
#main .wpcf7-form>p:empty{display:none}
#main .wpcf7-form>p:has(>.cf7apps-honeypot-wrap){margin:0!important;height:0}
#main .kestler-cv-upload{margin-bottom:12px}
.fusion-social-links-footer .fusion-social-networks-wrapper{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}
.fusion-social-links-footer .fusion-social-network-icon{display:inline-flex;align-items:center;justify-content:center;margin:0!important;color:#f36f21!important;line-height:1!important}
.fusion-social-links-footer button.fusion-social-network-icon{padding:0!important;border:0!important;background:transparent!important;min-width:0;min-height:0;cursor:pointer}
.fusion-social-links-footer .fusion-social-network-icon svg{display:block;width:1em;height:1em;fill:currentColor;overflow:visible}
.kestler-social-coming-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;padding:32px;width:min(480px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border:0;border-top:4px solid #f36f21;border-radius:0;color:#202124;font-family:inherit}
.kestler-social-coming-dialog::backdrop{background:#000b}
.kestler-social-coming-dialog h2{font-size:28px;line-height:1.15;color:#f36f21;margin:0 48px 18px 0;text-transform:none}
.kestler-social-coming-dialog p{font-size:20px;line-height:1.5;margin:0}
.kestler-social-coming-close{position:absolute;right:10px;top:10px;width:40px;height:40px;padding:0;border:1px solid #f36f21;background:#fff;color:#f36f21;font:32px/1 Arial;cursor:pointer}
/* Zwei responsive Überschriftgrößen auf allen deutschen Inhaltsseiten. */
:root{--kestler-heading-large:48px;--kestler-heading-small:26px}
html body #main h1,html body #main h2{font-size:var(--kestler-heading-large)!important;line-height:1.15!important;font-weight:700!important}
html body #main h3,html body #main h4,html body #main h5,html body #main h6{font-size:var(--kestler-heading-small)!important;line-height:1.2!important;font-weight:700!important}
html body #main h2.kestler-history-heading,html body #main .kestler-engagement-banner h2{font-size:var(--kestler-heading-large)!important}
html body #main .content-box-heading,html body #main .kestler-project-intro h2{font-size:var(--kestler-heading-small)!important;line-height:1.2!important}
html body #main :is(h1,h2,h3,h4,h5,h6) :is(span,strong,b,em,a){font-size:inherit!important;line-height:inherit!important}
html body #main .fusion-flip-boxes .fusion-flip-box .flip-box-front .flip-box-heading,html body #main .fusion-flip-box .flip-box-back .flip-box-heading,html body #main .fusion-flip-box .flip-box-back-inner>p:first-child>.s2,html body #main .fusion-flip-box .flip-box-back-inner strong,html body #main .kestler-history-subline{font-size:var(--kestler-heading-small)!important;line-height:1.2!important}
html body #consent-manager h6,.kestler-social-coming-dialog h2,.kestler-gallery-dialog .kestler-gallery-title{font-size:var(--kestler-heading-small)!important;line-height:1.2!important}
@media(max-width:900px){:root{--kestler-heading-large:40px;--kestler-heading-small:24px}}
@media(max-width:640px){:root{--kestler-heading-large:32px;--kestler-heading-small:22px}.fusion-social-links-footer .fusion-social-networks-wrapper{gap:16px}.kestler-social-coming-dialog{padding:25px}.kestler-social-coming-dialog p{font-size:18px}}
.kestler-projects-with-intro{display:block!important}
#main .kestler-project-intro{width:100%;max-width:1200px;margin:0 auto 40px;box-sizing:border-box}
#main .kestler-project-intro>h1{text-align:center;color:#f36f21;margin:0 0 30px}
#main .kestler-project-intro-inner{display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);align-items:center;gap:40px;background:#fff;padding:28px}
#main .kestler-project-owner-photo{margin:0;width:100%;aspect-ratio:1007/941;overflow:hidden}
#main .kestler-project-owner-photo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:left center;border:0;border-radius:0}
#main .kestler-project-owner-copy{min-width:0}
#main .kestler-project-owner-copy h2{color:#f36f21;margin:0 0 8px}
#main .kestler-project-owner-copy p{font-size:20px;line-height:1.5;margin:0 0 20px}
#main .kestler-project-owner-copy .kestler-project-eyebrow{font-size:15px;text-transform:uppercase;letter-spacing:1px;margin:0 0 10px;color:#6d6e71}
#main .kestler-project-owner-copy .kestler-project-role{font-size:18px;color:#6d6e71;margin-bottom:20px}
#main a.kestler-project-contact{background:#f36f21!important;color:#202124!important;text-decoration:none}
@media(max-width:700px){#main .kestler-project-intro-inner{grid-template-columns:minmax(0,1fr);gap:24px;padding:20px}#main .kestler-project-owner-photo{max-width:360px;justify-self:center}#main .kestler-project-owner-copy p{font-size:18px}}

/* Freigegeben: reduzierte Untertitel und reine orange Schliessen-X. */
:root{--kestler-heading-small:26px}@media(max-width:900px){:root{--kestler-heading-small:24px}}@media(max-width:640px){:root{--kestler-heading-small:22px}}
html body .kestler-gallery-dialog button.kestler-gallery-close,html body .kestler-photo-dialog button.kestler-photo-close,html body .kestler-social-coming-dialog button.kestler-social-coming-close,html body .ilightbox-close,html body .fusion-modal .close{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:#f36f21!important;border-radius:0!important}
html body .kestler-gallery-dialog button.kestler-gallery-close:hover,html body .kestler-photo-dialog button.kestler-photo-close:hover,html body .kestler-social-coming-dialog button.kestler-social-coming-close:hover{background:transparent!important;opacity:.78}
html body .kestler-gallery-dialog button.kestler-gallery-close:focus-visible,html body .kestler-photo-dialog button.kestler-photo-close:focus-visible,html body .kestler-social-coming-dialog button.kestler-social-coming-close:focus-visible{outline:0!important;transform:scale(1.15);opacity:1}
html body #main .portfolio-gallery-content .title-block{display:flex!important;align-items:center;min-height:44px;height:auto!important;box-sizing:border-box;padding:5px!important}
html body #main .portfolio-gallery-content .title-block .title{flex:1;min-width:0;width:auto!important;white-space:normal!important;text-overflow:clip!important;overflow:visible!important;hyphens:auto;word-break:normal;overflow-wrap:normal;margin:0!important;line-height:1.2!important}
html body #main .portfolio-gallery-content .title-block .open-close-button{position:static!important;float:none!important;flex:none;margin-left:8px!important}

/* Projekt-Titel innerhalb des orangefarbenen Balkens zentrieren. */
html body #main .portfolio-gallery-content .title-block{position:relative!important;display:flex!important;align-items:center!important;min-height:44px!important;height:auto!important;padding:6px 5px!important}
html body #main .portfolio-gallery-content .title-block .title{position:static!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;display:block!important;height:auto!important;max-height:none!important;align-self:center!important;padding:0 4px!important;margin:0!important;line-height:1.2!important}
html body #main .portfolio-gallery-content .title-block .open-close-button{align-self:center!important;top:auto!important;transform:none!important;margin-top:0!important;margin-bottom:0!important}

/* Acht Projektbereiche als vier plus vier, mit vollständig sichtbaren Titelbalken. */
html body #main .kestler-projects-with-intro{position:relative!important;width:min(1200px,calc(100vw - 64px))!important;max-width:none!important;padding-inline:0!important;margin-inline:0!important;left:50%!important;transform:translateX(-50%)!important}
html body #main .portfolio-gallery-content{display:block!important;width:100%!important;max-width:1200px!important;margin-inline:auto!important}
html body #main #pfhub_portfolio_container_2{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important;width:100%!important;max-width:1200px!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:0!important;position:relative!important;overflow:visible!important;opacity:1!important;box-sizing:border-box}
html body #main #pfhub_portfolio-container-loading-overlay_2{display:none!important}
html body #main #pfhub_portfolio_container_2>.portelement_2{position:relative!important;inset:auto!important;float:none!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;margin:0!important;transform:none!important;transition:none!important;align-self:start;overflow:hidden!important;box-sizing:border-box;border-radius:0!important}
html body #main .portelement_2>.default-block_2{position:relative!important;width:100%!important;height:auto!important;min-height:0!important}
html body #main .portelement_2 .image-block_2{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:4/3;overflow:hidden!important}
html body #main .portelement_2 .image-block_2>a{display:block!important;width:100%!important;height:100%!important}
html body #main .portelement_2 .image-block_2 img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;transform:none!important;object-fit:cover!important}
html body #main #pfhub_portfolio_container_2 .title-block{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;box-sizing:border-box;width:100%!important;height:54px!important;min-height:54px!important;padding:8px!important;gap:8px!important;overflow:visible!important}
html body #main #pfhub_portfolio_container_2 .title-block .title{position:static!important;inset:auto!important;flex:1;min-width:0!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;transform:none!important;letter-spacing:0!important;line-height:1.2!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;color:#fff!important}
html body #main #pfhub_portfolio_container_2 .title-block .open-close-button{position:static!important;inset:auto!important;display:grid!important;place-items:center;flex:none!important;width:24px!important;height:32px!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:none!important;color:#fff!important;transform:none!important}
html body #main #pfhub_portfolio_container_2 .title-block .open-close-button:before{content:'';display:block;width:9px;height:9px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-5px}
html body #main #pfhub_portfolio_container_2 .portelement_2.large .open-close-button:before{transform:rotate(225deg);margin-top:5px}
html body #main .portelement_2>.wd-portfolio-panel{display:none!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;box-sizing:border-box;overflow:hidden;padding:12px!important}
html body #main .portelement_2.large>.wd-portfolio-panel{display:block!important}
html body #main .portelement_2 .wd-portfolio-panel>*{max-width:100%!important;box-sizing:border-box}
@media(max-width:1099px){html body #main #pfhub_portfolio_container_2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}}
@media(max-width:639px){html body #main .kestler-projects-with-intro{width:calc(100vw - 32px)!important}html body #main #pfhub_portfolio_container_2{grid-template-columns:minmax(0,1fr);gap:18px!important}}
html body #main #pfhub_portfolio_container_2:before,html body #main #pfhub_portfolio_container_2:after{content:none!important;display:none!important}
/* Reine orange Navigationspfeile, unsichtbare großzügige Klickfläche bleibt erhalten. */
html body .kestler-gallery-dialog button.kestler-gallery-previous,html body .kestler-gallery-dialog button.kestler-gallery-next,html body .flex-direction-nav a,html body .fusion-carousel .fusion-nav-prev,html body .fusion-carousel .fusion-nav-next{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:#f36f21!important;border-radius:0!important}
html body .kestler-gallery-dialog button.kestler-gallery-previous:hover,html body .kestler-gallery-dialog button.kestler-gallery-next:hover{background:transparent!important;color:#f36f21!important;opacity:.8}
html body .kestler-gallery-dialog button.kestler-gallery-previous:focus-visible,html body .kestler-gallery-dialog button.kestler-gallery-next:focus-visible{outline:0!important;text-shadow:0 0 2px #f36f21;opacity:1}

/* Preserve the original monochrome project background video, including the outer edges. */
html body.page-id-5698 #section1 > .fullwidth-video video{filter:grayscale(1)!important;-webkit-filter:grayscale(1)!important}

/* Approved 35% larger founder cutout; preserve the orange bottom edge and text clearance. */
@media(min-width:1800px){#main .kestler-founder-portrait{right:max(16px,calc((100% - 1200px)/2 - 300px));width:clamp(378px,33.75vw,540px);height:clamp(540px,54vw,783px)}#main .kestler-founder-card .content-container{padding-right:260px!important}#main .kestler-founder-card h2{padding-right:150px!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}}
@media(min-width:641px) and (max-width:1799px){.kestler-founder-portrait-host{padding-bottom:567px!important}#main .kestler-founder-portrait{right:24px;bottom:0;width:405px;height:567px}#main .kestler-founder-card .content-container,#main .kestler-founder-card h2{padding-right:0!important}}
@media(max-width:640px){.kestler-founder-portrait-host{padding-bottom:486px!important}#main .kestler-founder-portrait{width:min(337.5px,calc(100vw - 32px));height:486px}}

/* One continuous monochrome video: remove only the legacy inner translucent panel. */
html body.page-id-5698 #main .kestler-projects-with-intro{background-color:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;--awb-bg-color:transparent;--awb-bg-color-hover:transparent;--awb-backdrop-filter:none;--awb-backdrop-filter-hover:none}

html body #main .kestler-history-subline .kestler-value-word{color:#6d6e71!important}
