/* Compatibility layer over the original Horgen Labs visual design. */
html{scroll-behavior:smooth;scroll-padding-top:110px}body{overflow-x:hidden}.hl-block{display:contents}#hl-content{display:contents}img{max-width:100%}a,button,input,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ea5297;outline-offset:5px}.navbar{transition:background .22s ease,padding .22s ease}.navbar-brand{transition:width .3s ease}.hl-form-note{font-size:12px!important;line-height:1.6!important;margin-top:14px}.hl-contact-form input[type=submit]{cursor:pointer}.hl-contact-form label{display:block}.hl-custom{background:#efefef;color:#321c38}.hl-custom h3{font-size:16px;letter-spacing:.12em;text-transform:uppercase;color:#7c3b6f}.hl-custom h2{margin:12px 0 25px}.hl-prose{max-width:1050px}.hl-prose [data-field=body]{font-size:20px;line-height:1.6}.hl-split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.hl-split img{width:100%;aspect-ratio:1.45;object-fit:cover}.hl-profile img{aspect-ratio:1.1}.hl-profile-link{display:inline-block;margin-top:24px;color:#7c3b6f}.hl-callout{text-align:center;background:#321c38;color:white}.hl-callout h2,.hl-callout p{color:inherit}.hl-theme-light>section{background:#f5f3f4!important;color:#321c38!important}.hl-theme-purple>section{background:linear-gradient(115deg,#321c38,#7c3b6f)!important;color:#fff!important}.hl-theme-purple h2,.hl-theme-purple h3,.hl-theme-purple p,.hl-theme-purple [data-field]{color:inherit!important}.hl-map-placeholder{display:flex;align-items:center;justify-content:center;min-height:350px;background:#e6e1e6;padding:40px;text-align:center}.hl-map-placeholder a{display:inline-block;padding:15px 24px;border:2px solid #7c3b6f;color:#522950}.hl-embed-link{position:absolute;right:20px;bottom:15px;z-index:2;padding:10px 16px;background:#fff;color:#522950}.hl-edit-mode [data-field]:hover{outline:2px dashed #ea5297;outline-offset:5px;cursor:text}.hl-edit-mode [contenteditable=true]{outline:2px solid #ea5297!important;outline-offset:5px;min-height:1em}.hl-edit-mode [data-image-field]:hover{outline:4px solid #ea5297;outline-offset:-4px;cursor:pointer}.hl-edit-mode .hl-selected>section{outline:3px solid #ea5297;outline-offset:-3px}.hl-edit-mode .hl-block-hidden>section{opacity:.4}.hl-edit-mode .hl-block-hidden>section::after{content:'Im Entwurf ausgeblendet';display:block;background:#321c38;color:#fff;padding:12px;text-align:center}.hl-edit-mode .navbar{position:absolute!important}.hl-new-page #hl-content>.hl-block:first-child>section{padding-top:180px}.hl-new-page .navbar{background:#321c38}.hl-edit-mode .hl-drag-over>section{box-shadow:inset 0 8px #ea5297}
.chosen-flats,.form-heading{display:none!important}.hl-edit-mode .popup-anim{animation:none!important;transform:scale(1)!important;opacity:1!important}
@media(max-width:767px){.hl-split{grid-template-columns:1fr;gap:30px}.hl-custom{padding:55px 0}.hl-prose [data-field=body]{font-size:17px}.hl-map-placeholder{min-height:240px}html{scroll-padding-top:90px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.parallax-image{transform:none!important}.popup-anim{transform:scale(1)!important;opacity:1!important}}
.hl-contact-form .wpcf7-form-control-wrap{display:block;width:100%;min-width:0}.hl-contact-form input:not([type=checkbox]):not([type=radio]),.hl-contact-form textarea{width:100%;max-width:100%;min-width:0}.hl-contact-form .row>*{min-width:0}
/* Structured news retain the original cards and gradient. */
.hl-news-grid .news-card{height:100%}.hl-news-grid .card-img-top{aspect-ratio:1.78;object-fit:cover}.hl-news-grid .card-body{height:auto;min-height:330px}.news-pin{font-size:11px;margin-left:8px;color:#6c3563}.news-read{display:inline-block;margin:20px 0 0;color:#6c3563;font-weight:600}.news-archive-link{text-align:center;margin:40px 0 0}.news-archive-link a{color:white;text-decoration:underline}.news-event{font-weight:600}.hl-news-detail{background:#f4f0f4;padding-top:170px}.hl-news-detail article{max-width:960px;margin:auto;background:white;padding:45px}.hl-news-detail h1{margin-bottom:30px}.news-cover{width:100%;max-height:550px;object-fit:cover;margin-bottom:32px}.news-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:30px 0}.news-gallery img{width:100%;height:auto}.hl-news-page #news{padding-top:180px}@media(max-width:600px){.hl-news-detail article{padding:22px}.hl-news-detail{padding-top:120px}.hl-news-grid .card-body{min-height:0}}
.hl-news-page .navbar:not(.scrolled){background:#321c38}
/* The animated colour layer stays behind the news links. */
.hl-news-grid .news-card .card-body{isolation:isolate}
.hl-news-grid .news-card .card-body::before{pointer-events:none;z-index:-1}
.hl-news-grid .news-card .card-body>div{position:relative;z-index:1}
.hl-news-grid .news-card:hover .news-read,.hl-news-grid .news-card:hover .news-pin,.hl-news-grid .news-card:hover .news-event{color:#fff}
.hl-news-grid .news-read{position:relative;z-index:2}
/* A selected region and its exact field remain visible beyond hover. */
.hl-edit-mode [data-editor-section].hl-section-selected{outline:3px solid #ea5297!important;outline-offset:-3px}
.hl-edit-mode .hl-field-selected{outline:3px solid #ea5297!important;outline-offset:5px;box-shadow:0 0 0 7px #ea52971c}
.hl-edit-mode [data-link-field].hl-field-selected{outline-offset:6px!important}
.hl-edit-mode .hl-selected.hl-has-section>section{outline:none}
.hl-edit-mode footer.hl-selected{outline:3px solid #ea5297;outline-offset:-3px}
.hl-edit-mode [data-footer-field]{cursor:pointer}
.hl-edit-mode [data-footer-field]:hover{outline:2px dashed #ea5297;outline-offset:4px}
.language-unavailable{opacity:.5;cursor:default}
/* The standalone archive does not inherit the homepage's body-scoped gradient. */
.hl-news-page #news.cards-gradient-section{background:linear-gradient(110deg,#ea5297,#426d8a)}
/* Each imported block wraps a section: :first-of-type used to reserve header space repeatedly. */
:root{--hl-section-space:clamp(40px,4.5vw,64px);--hl-download-space:clamp(36px,3.5vw,48px)}
#hl-content>.hl-block section:is(.section-padding,.section-padding-lg){padding-bottom:var(--hl-section-space)}
#hl-content>.hl-block:not(:first-child) section:is(.section-padding,.section-padding-lg){padding-top:var(--hl-section-space)!important}
#hl-content>.hl-block>section.hl-downloads-section{padding-bottom:var(--hl-download-space)}
#hl-content>.hl-block:not(:first-child)>section.hl-downloads-section{padding-top:var(--hl-download-space)!important}
.hl-downloads-section{color:#fff}
.hl-downloads-section h2{color:inherit;text-align:center;margin:0 0 26px;font-size:clamp(28px,3vw,40px);line-height:1.25}
.hl-download-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px 20px}
.hl-download-item{min-width:0}
.hl-download-link{display:flex;align-items:center;gap:12px;min-height:64px;height:100%;padding:16px 18px;border:1px solid #ffffff55;border-radius:5px;color:inherit;font-size:clamp(16px,1.4vw,20px);line-height:1.45;font-weight:600;text-decoration:none;overflow-wrap:anywhere;transition:background .15s,border-color .15s}
.hl-download-link:hover{color:inherit;background:#ffffff12;border-color:currentColor;text-decoration:underline;text-underline-offset:4px}
.hl-download-icon{width:21px;height:24px;flex:0 0 21px;object-fit:contain}
svg.hl-download-icon{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hl-theme-light .hl-download-link{border-color:#61345644}
.hl-theme-light img.hl-download-icon{filter:brightness(.35)}
.hl-download-incomplete{opacity:.6;border-style:dashed}
.hl-download-empty{grid-column:1/-1;margin:0;text-align:center;font-size:15px;line-height:1.6}
@media(max-width:600px){.hl-download-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.hl-download-link{padding:14px 16px;min-height:58px}}
