/* Freigegebene Auswahl: Formulare, Kontrast, kürzere mobile Einstiege und Suche. */
html body.kestler-ux-privacy #main h2{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
html body.home #main .kestler-focus-title-host :is(h1,h2),html body.kestler-ux-services #main .kestler-ux-contrast-heading{color:#6d6e71!important}
.kestler-form-anchor{display:block;height:0;scroll-margin-top:110px}
.kestler-direct-contact{box-sizing:border-box;max-width:1200px;margin:0 auto 24px;padding:18px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;background:#fff;border-top:3px solid #f36f21}
.kestler-direct-contact a{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:10px 16px;color:#202124;font-size:20px;font-weight:700;line-height:1.25;text-align:center;border:1px solid #d9d0c5;border-radius:0;overflow-wrap:anywhere}
.kestler-direct-contact a:hover,.kestler-direct-contact a:focus-visible{border-color:#f36f21;color:#202124}
.kestler-direct-contact a.kestler-direct-contact-primary{background:#f36f21;border-color:#f36f21}
html body.kestler-ux-contact #main .kestler-ux-klara-image{margin-bottom:14px!important;--awb-margin-bottom-large:14px;--awb-margin-bottom-medium:14px;--awb-margin-bottom-small:14px}
html body.kestler-ux-contact #main .kestler-ux-klara-image img{display:block;width:min(260px,100%)!important;height:auto!important;margin:0 auto}
html body.kestler-ux-contact #main .kestler-ux-klara-section{margin-top:12px!important;margin-bottom:12px!important}
.kestler-project-albums-jump{display:none}
#kestler-projektalben,#job-form{scroll-margin-top:110px}
/* Größere unsichtbare Touchflächen; die sichtbaren Social-Icons behalten 22 px. */
html body .fusion-social-links-footer .fusion-social-networks-wrapper{gap:10px}
html body .fusion-social-links-footer .fusion-social-network-icon{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex:0 0 44px;margin:0!important;padding:0!important;font-size:22px!important;line-height:1!important}
html body .fusion-social-links-footer .fusion-social-network-icon svg{width:22px;height:22px}
/* Oben bleibt nur die Lupe sichtbar, bis das Suchfeld bewusst geöffnet wird. */
.fusion-header .kestler-header-search-item{display:flex;align-items:center;align-self:stretch;height:84px;margin:0!important;padding:0!important}
html body .kestler-search-toggle{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#6d6e71;cursor:pointer;vertical-align:middle}
html body .kestler-search-toggle:hover,html body .kestler-search-toggle[aria-expanded=true]{color:#f36f21;background:transparent}
.kestler-search-toggle:focus-visible,.kestler-header-search input:focus-visible,.kestler-search-form input:focus-visible{outline:2px solid #f36f21;outline-offset:2px}
.fusion-mobile-menu-icons .awb-icon-search{display:none!important}
.kestler-header-search{box-sizing:border-box;position:absolute;right:16px;top:100%;z-index:10010;width:min(440px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:20px;background:#fff;border-top:3px solid #f36f21;box-shadow:0 8px 24px #0002;color:#202124;text-align:left}
.kestler-header-search[hidden]{display:none!important}
.kestler-header-search label,.kestler-search-form label{display:block;margin:0 0 8px;font-family:inherit;font-size:18px;font-weight:700;line-height:1.3;color:#202124}
.kestler-header-search form>div,.kestler-search-form>div{display:flex;align-items:stretch;gap:8px}
html body .kestler-header-search input,html body .kestler-search-form input{box-sizing:border-box;flex:1;min-width:0;width:100%;height:48px;padding:10px 12px;border:1px solid #bcb8b2;border-radius:0;background:#fff;color:#202124;font:inherit}
html body .kestler-header-search button[type=submit],html body .kestler-search-form button[type=submit]{flex:none;min-height:48px;padding:10px 16px;border:0;border-radius:0;background:#f36f21;color:#202124;font:inherit;font-weight:700;cursor:pointer}
/* Deutsche Ergebnisliste: vorhandene Abfrage, direkte Ziele, keine Blog-Metadaten. */
html body.search #main #content.kestler-search-content{float:none;width:100%!important;max-width:1200px;margin:0 auto!important;padding:28px 0 40px}
html body.search #main .kestler-search-heading h1{color:#6d6e71;margin:0 0 24px;overflow-wrap:anywhere;word-break:normal}
.kestler-search-form{max-width:720px;margin:0 0 28px}
.kestler-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 28px}
.kestler-search-result{min-width:0;padding:24px;background:#fff;border-top:3px solid #f36f21}
html body.search #main .kestler-search-result h2,html body.search #main .kestler-search-empty h2{font-size:var(--kestler-heading-small)!important;line-height:1.2!important;overflow-wrap:anywhere;margin:0 0 14px}
.kestler-search-result h2 a{color:#202124}
.kestler-search-result p,.kestler-search-empty p{font-size:20px;line-height:1.5;margin:0 0 16px;color:#50545d;overflow-wrap:anywhere}
.kestler-search-result-link{color:#a8430b;font-size:20px;font-weight:700;text-decoration:underline}
.kestler-search-empty{padding:24px;background:#fff;margin:0 0 24px}
.kestler-search-shortcuts{display:flex;gap:12px;flex-wrap:wrap}
.kestler-search-shortcuts a{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 20px;background:#f36f21;color:#202124;font-size:20px;font-weight:700;line-height:1.25;text-align:center;border-radius:0}
@media(max-width:640px){
 .kestler-direct-contact{padding:14px;gap:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 18px}
 .kestler-direct-contact a{font-size:17px;padding:10px 8px;min-width:0}
 html body.kestler-ux-contact #main .kestler-ux-klara-image img{width:min(180px,100%)!important}
 #main .kestler-project-intro>h1{margin-bottom:12px}
 #main .kestler-project-albums-jump{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0 0 16px;padding:8px 14px;background:#f36f21;color:#202124;font-size:18px;font-weight:700}
 #main .kestler-project-intro-inner{grid-template-columns:96px minmax(0,1fr);gap:14px;padding:16px;align-items:start}
 #main .kestler-project-owner-copy{display:contents}
 #main .kestler-project-owner-photo{grid-column:1;grid-row:1/3;width:96px;aspect-ratio:3/4}
 #main .kestler-project-owner-copy .kestler-project-eyebrow{display:none}
 #main .kestler-project-owner-copy h2{grid-column:2;align-self:end;margin:0}
 #main .kestler-project-owner-copy p.kestler-project-role{grid-column:2;align-self:start;font-size:16px;line-height:1.35;margin:0}
 #main .kestler-project-owner-copy>p:not(.kestler-project-role):not(.kestler-project-eyebrow){grid-column:1/-1;font-size:18px;line-height:1.45;margin:0}
 #main .kestler-project-owner-copy>a{grid-column:1/-1;justify-self:start;margin:0;min-height:48px;padding:12px 16px;font-size:18px!important;white-space:normal}
 .kestler-search-results{grid-template-columns:minmax(0,1fr);gap:16px}
 .kestler-search-result,.kestler-search-empty{padding:20px}
 .kestler-search-shortcuts{display:grid;grid-template-columns:minmax(0,1fr)}
 .kestler-search-shortcuts a{font-size:18px}
 .kestler-header-search{right:16px;padding:16px}
}
@media(max-width:320px){html body .fusion-social-links-footer .fusion-social-networks-wrapper{gap:0}.kestler-direct-contact{grid-template-columns:minmax(0,1fr)}}

/* Suchvorlage: derselbe helle Kopf wie auf den regulären Kestler-Seiten. */
html body.search .fusion-header{background:#fff!important}
html body.search .fusion-main-menu>ul>li>a{color:#6d6e71!important}
html body.search .fusion-main-menu>ul>li>a:hover,html body.search .fusion-main-menu>ul>li>a:focus-visible{color:#f36f21!important}
html body.search .fusion-page-title-bar{display:none!important}
html body.search #main{padding-top:24px!important}
/* Am 29.11. ausdrücklich zurück auf Orange geändert; nur diese beiden Wörter. */
html body #main .kestler-history-subline .kestler-value-word{color:#f36f21!important}

/* Navigation geometrisch zentriert, Lupe unabhängig davon rechts, Logo ca. 25% größer. */
html body .fusion-header>.fusion-row{display:grid;--kestler-logo-width:187.5px;grid-template-columns:minmax(187.5px,1fr) max-content minmax(187.5px,1fr);align-items:center;position:relative;min-height:84px}
html body .fusion-header .fusion-logo{grid-column:1;grid-row:1;justify-self:start;margin:0!important;line-height:0}
html body .fusion-header .fusion-logo img{width:var(--kestler-logo-width)!important;max-width:none!important;height:auto!important;max-height:none!important}
html body .fusion-header .fusion-main-menu{grid-column:2;grid-row:1;justify-self:center;float:none}
html body .fusion-header .fusion-main-menu>ul{display:flex;align-items:center;justify-content:center;gap:clamp(14px,2vw,28px);margin:0}
html body .fusion-header .fusion-main-menu>ul>li{padding:0!important;float:none!important}
html body .fusion-header .fusion-main-menu>ul>li>a{padding-left:0!important;padding-right:0!important}
html body .fusion-header .kestler-header-search-actions{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center}
html body .fusion-header>.fusion-row>.fusion-clearfix{display:none}
html body .fusion-header .fusion-mobile-nav-holder,html body .fusion-header .fusion-mobile-menu-search{grid-column:1/-1;grid-row:2}
@media(max-width:800px){
 html body .fusion-header>.fusion-row{--kestler-logo-width:clamp(108px,calc(100vw - 166px),187.5px);grid-template-columns:minmax(0,1fr) auto}
 html body .fusion-header .kestler-header-search-actions{display:none}
 html body .fusion-header .fusion-mobile-menu-icons{grid-column:2;grid-row:1;justify-self:end;margin-top:0;display:flex;align-items:center}
 html body .fusion-header .fusion-mobile-menu-icons .awb-icon-bars{margin-top:0;margin-left:14px}
}

html body .fusion-header .fusion-logo .fusion-logo-link,html body .fusion-header .fusion-logo .fusion-logo-link::before{width:var(--kestler-logo-width)!important;height:calc(var(--kestler-logo-width) * .3)!important}
@media(min-width:801px) and (max-width:980px){html body .fusion-header>.fusion-row{--kestler-logo-width:156px;grid-template-columns:minmax(156px,1fr) max-content minmax(156px,1fr)}html body .fusion-header .fusion-main-menu>ul{gap:11px}}


/* Einheitliche Leseskala: zwei bestehende Überschriftstufen, Fließtext und Hinweise. */
:root{--kestler-body-size:22px;--kestler-note-size:18px}
html body #main .kestler-readable-copy,html body #main .kestler-project-owner-copy p.kestler-readable-copy{font-size:var(--kestler-body-size)!important;line-height:1.5!important;font-family:"Roboto Condensed",Arial,Helvetica,sans-serif!important}
html body #main .kestler-readable-copy :is(span,strong,b,em,a):not([class*="icon"]):not(.fusion-button):not(.fusion-button-text){font-size:inherit!important;line-height:inherit!important;font-family:inherit!important}
html body #main .kestler-readable-note,html body #main .kestler-readable-note :is(span,strong,b,em,a){font-size:var(--kestler-note-size)!important;line-height:1.4!important}
html body #main .kestler-readable-copy.kestler-history-subline{font-size:var(--kestler-heading-small)!important;line-height:1.3!important}
html body #main .wpcf7 :is(input[type=text],input[type=email],input[type=tel],select,textarea){font-size:var(--kestler-body-size)!important;font-family:inherit!important;line-height:1.3!important;min-height:56px;box-sizing:border-box}
html body #main .wpcf7 textarea{line-height:1.5!important}
html body #main .wpcf7 input[type=file],html body #main .wpcf7 input[type=file]::file-selector-button,html body #main .wpcf7 input[type=submit]{font-size:var(--kestler-body-size)!important;font-family:inherit!important;line-height:1.3!important}
html body #main .wpcf7 p:has(>label[for^="kestler-field-"]){margin-bottom:8px!important}
html body #main .frc-captcha .frc-text,html body #main .frc-captcha .frc-button{font-size:16px;line-height:18px}
html body #main .frc-captcha .frc-content{margin-top:0}
html body #main .frc-captcha .frc-button{padding:1px 4px}
html body #main .frc-captcha .frc-banner{height:12px;line-height:12px;font-size:12px}
html body .fusion-copyright-notice{font-size:20px;line-height:1.5}
html body #kestler-footer-credit,html body #kestler-footer-credit *{font-size:12px!important;line-height:1.4!important}
html body a.kestler-readable-email{color:#fff!important;font-weight:700;text-decoration:none}
html body a.kestler-readable-email:hover,html body a.kestler-readable-email:focus-visible{color:#fff!important;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.15em;text-decoration-color:#f36f21}
@media(max-width:900px){:root{--kestler-body-size:20px}html body .fusion-copyright-notice{font-size:18px}}

/* Original-SVG unverändert; nur die interne transparente Randfläche ausgleichen. */
html body .fusion-header .fusion-logo .fusion-logo-link::before{width:calc(var(--kestler-logo-width) * .865714286)!important;height:calc(var(--kestler-logo-width) * .3)!important;margin-left:calc(var(--kestler-logo-width) * -.023571429)!important}

/* Auch alte direkte Div-Texte und Beschriftungen nutzen dieselbe Leseskala. */
html body #main .flip-box-front-inner,html body #main .flip-box-back-inner{font-size:var(--kestler-body-size)!important;line-height:1.5!important}
html body #main .kestler-logo-card>span:last-child{font-size:var(--kestler-note-size)!important;line-height:1.4!important}
html body #main a.fusion-button,html body #main a.fusion-button .fusion-button-text{font-size:var(--kestler-body-size)!important;line-height:1.3!important;white-space:normal!important}
/* Alte feste Maximalbreiten erzeugten rechts weiße Streifen in den Projektkacheln. */
html body #main #pfhub_portfolio_container_2>.portelement_2,html body #main #pfhub_portfolio_container_2 .default-block_2,html body #main #pfhub_portfolio_container_2 .image-block_2,html body #main #pfhub_portfolio_container_2 .title-block{width:100%!important;max-width:none!important;min-width:0!important}
/* Kartenplatzhalter und freigegebene Karte füllen dieselbe vorhandene Spalte aus. */
html body.kestler-ux-contact #main .fusion-modal-text-link:has(.consent-required){display:block;width:100%;align-self:stretch}
html body.kestler-ux-contact #main .consent-required{display:block;width:100%;max-width:100%}
html body.kestler-ux-contact #main .consent-required iframe{display:block;width:100%;max-width:100%}
html body #main .wpcf7 input[type=submit]{box-sizing:border-box;height:54px!important;min-height:54px!important;padding:10px 30px!important}
/* Unter dem Projekt-CTA: automatisch bewegtes Teampanorama bis an den Footer. */
.kestler-team-strip{position:relative;width:100%;overflow:hidden;margin:0;padding:0;background:#4d4d4d;isolation:isolate}
.kestler-team-strip-track{display:flex;width:max-content;animation:kestler-team-run 30s linear infinite;will-change:transform}
.kestler-team-strip-frame{flex:0 0 auto;width:33.333333vw;aspect-ratio:16/9;overflow:hidden}
.kestler-team-strip .kestler-team-strip-frame img{display:block;width:100%;max-width:none;height:100%;object-fit:cover;object-position:center 35%;margin:0;padding:0}
.kestler-team-strip::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,transparent 65%,#4d4d4d 100%)}
.kestler-team-strip+.fusion-footer{margin-top:0!important}
@keyframes kestler-team-run{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(min-width:641px) and (max-width:960px){.kestler-team-strip-frame{width:50vw}}
@media(max-width:640px){.kestler-team-strip-frame{width:82vw}}
@media(prefers-reduced-motion:reduce){.kestler-team-strip{overflow-x:auto}.kestler-team-strip-track{animation:none;transform:none;will-change:auto}.kestler-team-strip-frame[aria-hidden]{display:none}}
html body #main .fusion-flip-boxes .fusion-flip-box .flip-box-back .flip-box-back-inner strong{font-size:var(--kestler-heading-small)!important;line-height:1.3!important}
html body #main .fusion-flip-boxes .fusion-flip-box .flip-box-back .flip-box-back-inner p.kestler-readable-copy{font-size:var(--kestler-body-size)!important;line-height:1.5!important}

html body #main .kestler-project-contact-after-albums{box-sizing:border-box;width:100%;max-width:1200px;margin:40px auto 0}
html body #main .kestler-project-contact-after-albums h2{font-size:var(--kestler-heading-small)!important;line-height:1.2!important}
@media(max-width:640px){html body #main .kestler-project-contact-after-albums{margin-top:24px}html body #main .kestler-project-intro{margin-bottom:20px}}

html body .tooltip.kestler-matthias-hint .tooltip-inner{color:#f36f21!important}

/* Freigegeben: Footer-Abstände halbieren, Symbole näher zusammen; Klickflächen erhalten. */
html body .fusion-footer #footer{padding-top:10px!important;padding-bottom:10px!important}
html body .fusion-copyright-content .fusion-copyright-notice{margin:0 0 8px!important}
html body .fusion-copyright-content .fusion-social-links-footer{margin:0 0 16px!important}
html body .fusion-social-links-footer .fusion-social-networks{margin-top:0!important}
html body .fusion-social-links-footer .fusion-social-networks-wrapper{gap:0}
