.bh-pro-panel, .bh-pro-profile, .bh-pro-entry {color:#16191c;font-size:1rem;line-height:1.55;padding-block:2rem 4rem;overflow-wrap:anywhere}
.bh-pro-panel {max-width:56rem}
.bh-pro-panel h1, .bh-pro-profile h1 {font-size:clamp(2rem,4vw,3.8rem);line-height:1.07;letter-spacing:-.04em;margin:.6em 0 .3em}
.bh-pro-profile h2, .bh-pro-panel legend {font-size:clamp(1.35rem,2.4vw,2rem);line-height:1.2;font-weight:650}
.bh-pro-panel fieldset, .pro-project-form {margin-block:1.5rem;padding:1.25rem;border:1px solid #cbd1d7;min-width:0}
.pro-fields, .pro-hero, .pro-projects, .pro-facts {display:grid;gap:1.25rem}
.pro-fields {grid-template-columns:repeat(2,minmax(0,1fr))}
.pro-field {display:grid;gap:.35rem;margin:.5rem 0;font-weight:550}
.pro-field input, .pro-field textarea, .pro-field select {box-sizing:border-box;width:100%;min-width:0;padding:.65rem;border:1px solid #808a96;background:white;color:#171a1d;font:inherit;border-radius:0}
.pro-field textarea {resize:vertical}
.pro-buttons, .pro-nav, .pro-check {display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.pro-check {display:block;margin:1rem 0}
.pro-check input {width:1.15rem;height:1.15rem;vertical-align:middle}
.pro-buttons {margin:1rem 0}
.bh-pro-panel .button, .bh-pro-profile .button, .bh-pro-entry .button {display:inline-block;background:#303acb;color:white;padding:.7rem 1.15rem;border:0;text-decoration:none;font:inherit;font-weight:600;cursor:pointer}
.pro-upload img {width:auto;max-width:10rem;max-height:6rem;object-fit:contain}
.pro-message {border-inline-start:4px solid #3742d7;background:#f0f3ff;padding:.65rem 1rem}
.pro-project-form summary, .pro-case summary {cursor:pointer;font-weight:650;padding:.4rem 0}
.pro-hero {grid-template-columns:1fr 1.1fr;align-items:center;gap:clamp(1.5rem,5vw,5rem)}
.pro-id {display:flex;align-items:center;gap:1.25rem}
.pro-id img {object-fit:contain;width:clamp(5rem,10vw,9rem);max-height:8rem}
.pro-id h1 {margin:.2em 0}
.pro-kicker {display:inline-block;border-top:2px solid #3742d7;padding-top:.45rem;color:#364093;font-weight:650}
.pro-affiliation {font-size:.94rem;color:#465363}
.pro-hero figure, .pro-projects article {margin:0;border:1px solid #d5dbe0}
.pro-hero figure img, .pro-projects img {width:100%;height:auto;max-height:30rem;object-fit:contain;display:block;background:#f4f6f7}
.pro-hero figcaption, .pro-projects article>div {padding:1rem 1.25rem}
.pro-hero figcaption {display:flex;gap:.5rem 2rem;justify-content:space-between;flex-wrap:wrap}
.pro-hero figcaption span {display:block}
.pro-area-label {color:#465363}
.pro-facts {grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr));border-block:1px solid #ced4da;padding:1.25rem 0;margin-top:2rem}
.pro-facts dt {color:#4c5863}.pro-facts dd {font-weight:650;margin:0}
.pro-nav {border-bottom:1px solid #ced4da;padding:1rem 0;gap:1rem 2rem}
.bh-pro-profile section {padding-block:clamp(1.5rem,4vw,3.5rem);border-bottom:1px solid #d5dbe0}
.bh-pro-profile section>p {max-width:72ch}
.pro-projects {grid-template-columns:repeat(auto-fit,minmax(min(17rem,100%),1fr))}
.bh-pro-panel :focus-visible, .bh-pro-profile :focus-visible {outline:3px solid #333ed5;outline-offset:3px}
@media(max-width:700px){.pro-hero,.pro-fields{grid-template-columns:1fr}.pro-id{flex-wrap:wrap}.bh-pro-panel fieldset{padding:.8rem}.pro-nav{gap:.65rem 1rem}}
@media print{
    @page{margin:15mm}
    body:has(.bh-pro-profile) header,body:has(.bh-pro-profile) footer,body:has(.bh-pro-profile) #wpadminbar,body:has(.bh-pro-profile) [id^="cmplz-"],.bh-pro-profile .pro-screen,.bh-pro-profile summary{display:none!important}
    .bh-pro-profile{margin:0!important;padding:0!important;width:auto!important;font-size:10pt}
    .pro-projects{display:block}.pro-projects article{break-inside:avoid;margin:1rem 0}.pro-projects img,.pro-hero figure img{max-height:48mm}.pro-projects article>div{padding:.5rem}
    .bh-pro-profile section{padding-block:.6rem}.bh-pro-profile h1{font-size:24pt}.bh-pro-profile h2{font-size:17pt}.bh-pro-profile a{color:inherit}
    .bh-pro-profile .pro-facts {margin-block:4mm;padding-block:2.5mm}
    .bh-pro-profile .pro-projects article {margin-block:2mm}
    .bh-pro-profile .pro-projects article > img {max-height:39mm}
    .bh-pro-profile #kontakt {break-inside:avoid;page-break-inside:avoid}
    .bh-pro-profile #kontakt .pro-buttons {margin-block:1mm 0}
}
