
.static-site .static-slider img{width:100%;height:auto;display:block}.static-site #main{min-height:360px}.static-site .ym-hlist ul ul{display:none;position:absolute;z-index:1000}.static-site .ym-hlist li{position:relative}.static-site .ym-hlist li:hover>ul{display:block}.static-site .ym-hlist ul ul li{float:none;display:block;white-space:nowrap}.static-site img{max-width:100%;height:auto}.static-note{border:1px solid #c8d3df;background:#f4f8fc;padding:1em;margin:1em 0}.seminar-item,.presse-item{margin:0 0 2rem 0;padding-bottom:1rem;border-bottom:1px solid #d9e1ea}.seminar-item h2{margin-top:0}.date{font-weight:bold;color:#526172}.referenten:after,.ym-grid:after{content:"";display:table;clear:both}@media (max-width:760px){.static-site .ym-hlist ul,.static-site .ym-hlist li{float:none;display:block}.static-site .ym-hlist ul ul{display:block;position:static;padding-left:1em}.static-site header .ym-wbox{min-height:70px}.static-site div.logo_iwp-schriftzug{max-width:70%}}


/* --- v4: match original JYAML dropdown menu more closely --- */

/* YAML skip links remain available in source, but invisible visually */
.ym-skiplinks,
.ym-skiplinks li,
.ym-skiplinks a,
a.ym-skip {
    position:absolute !important;
    left:-9999px !important;
    top:auto !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}

/* Static fallback for the old JYAML dropdown menu */
.static-site .dropdown.dropdown-horizontal {
    width:100%;
    overflow:visible;
    float:left;
    display:block;
    position:relative;
    line-height:0;
    text-align:left;
    font-size:1em;
    z-index:800;
}
.static-site .dropdown.dropdown-horizontal ul,
.static-site .dropdown.dropdown-horizontal li {
    list-style:none none;
    margin:0;
    padding:0;
    border:0;
}
.static-site .dropdown.dropdown-horizontal > ul {
    position:relative;
    display:inline;
    float:left;
}
.static-site .dropdown.dropdown-horizontal li {
    display:block;
    position:relative;
    float:left;
    font-size:1.0em;
    line-height:1em;
}
.static-site .dropdown.dropdown-horizontal li.viewLevel0 {
    margin-right:1px;
}
.static-site .dropdown.dropdown-horizontal li a {
    display:block;
    float:left;
    width:100%;
    cursor:pointer;
    padding:0 !important;
    text-decoration:none;
}
.static-site .dropdown.dropdown-horizontal li span.item-title {
    display:block;
    width:auto;
    padding:0.5em 0.8em 0.5em 0.8em;
}
.static-site .dropdown.dropdown-horizontal .dropitem {
    position:absolute;
    visibility:hidden;
    top:100%;
    left:0;
    z-index:856;
    min-width:100%;
}
.static-site .dropdown.dropdown-horizontal li:hover > .dropitem {
    visibility:visible;
}
.static-site .dropdown.dropdown-horizontal .dropitem ul {
    width:100%;
}
.static-site .dropdown.dropdown-horizontal .dropitem li {
    float:none;
    display:block;
    width:100%;
    white-space:nowrap;
}
.static-site .dropdown.dropdown-horizontal .dropitem a {
    background:#8995AE;
}
.static-site .dropdown.dropdown-horizontal .dropitem .item-title {
    padding:0.5em 0.8em 0.5em 0.8em;
}

@media (max-width:760px){
    .static-site .dropdown.dropdown-horizontal,
    .static-site .dropdown.dropdown-horizontal ul,
    .static-site .dropdown.dropdown-horizontal li,
    .static-site .dropdown.dropdown-horizontal li a {
        float:none;
        display:block;
        width:auto;
    }
    .static-site .dropdown.dropdown-horizontal .dropitem {
        position:static;
        visibility:visible;
        min-width:0;
    }
}


/* --- v5: restore CSS-only tabs on Über uns --- */
.iwp-css-tabs {
    clear: both;
    margin: 0 0 1.5em 0;
}
.iwp-css-tabs .iwp-tab-input {
    position: absolute;
    left: -9999px;
}
.iwp-css-tabs .iwp-tab-label {
    display: inline-block;
    margin: 0 2px -1px 0;
    padding: 0.55em 1.1em;
    border: 1px solid #cfcfcf;
    border-bottom: 0;
    background: #eeeeee;
    color: #333333;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.2;
}
.iwp-css-tabs .iwp-tab-label:hover {
    background: #f7f7f7;
}
#iwp-tab-gf:checked + .iwp-tab-label,
#iwp-tab-sec:checked + .iwp-tab-label {
    background: #ffffff;
    color: #1f4f7a;
    position: relative;
    z-index: 2;
}
.iwp-css-tabs .iwp-tab-panels {
    clear: both;
    border-top: 1px solid #cfcfcf;
    padding-top: 1.2em;
}
.iwp-css-tabs .iwp-tab-panel {
    display: none;
}
#iwp-tab-gf:checked ~ .iwp-tab-panels .iwp-tab-panel-gf,
#iwp-tab-sec:checked ~ .iwp-tab-panels .iwp-tab-panel-sec {
    display: block;
}

/* Make floated team images stay inside each visible tab panel */
.iwp-css-tabs .iwp-tab-panel::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 760px) {
    .iwp-css-tabs .iwp-tab-label {
        display: block;
        margin: 0 0 3px 0;
        border: 1px solid #cfcfcf;
    }
    .iwp-css-tabs .iwp-tab-panels {
        border-top: 0;
        padding-top: 0.8em;
    }
}


/* --- v6: protected e-mail fallback --- */
.iwp-email-protected {
    unicode-bidi: bidi-override;
}


/* --- v9: Presse overview restored as responsive two-column teaser layout --- */
.page-presse .iwp-presse-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.2em;
    row-gap: 2.0em;
    align-items: start;
}

.page-presse .iwp-presse-card {
    margin: 0 0 1.5em 0;
    padding: 0;
    overflow: hidden;
}

.page-presse .iwp-presse-card h2 {
    margin-top: 0;
}

.page-presse .iwp-presse-card img {
    max-width: 100%;
    height: auto;
}

.page-presse .iwp-presse-card::after,
.presse-detail::after {
    content: "";
    display: table;
    clear: both;
}

.page-presse .readmore {
    clear: both;
    margin-top: 0.8em;
}

@media (max-width: 760px) {
    .page-presse .iwp-presse-overview {
        display: block;
    }
    .page-presse .iwp-presse-card {
        margin-bottom: 2em;
    }
    .page-presse .iwp-presse-card img,
    .presse-detail img {
        float: none !important;
        display: block;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
        height: auto;
    }
}


/* --- v10: responsive navigation repair --- */

/* Desktop/tablet: allow wrapping instead of overlap */
.static-site #nav .dropdown.dropdown-horizontal > ul.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li {
    float: none !important;
    display: block;
}

/* Keep readable spacing */
.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a,
.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a span.item-title {
    white-space: nowrap;
}

/* Tablet widths: slightly more compact */
@media (max-width: 980px) {
    .static-site #nav .dropdown.dropdown-horizontal li span.item-title {
        padding: 0.45em 0.65em;
        font-size: 0.95em;
    }
}

/* Mobile menu */
@media (max-width: 760px) {

    .static-site #nav .ym-wbox {
        padding-left: 0;
        padding-right: 0;
    }

    .static-site #nav .dropdown.dropdown-horizontal,
    .static-site #nav .dropdown.dropdown-horizontal > ul.menu {
        display: block;
        width: 100%;
    }

    .static-site #nav .dropdown.dropdown-horizontal > ul.menu > li {
        width: 100%;
        margin: 0;
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .static-site #nav .dropdown.dropdown-horizontal > ul.menu > li:first-child {
        border-top: 0;
    }

    .static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a {
        float: none !important;
        width: auto;
        display: block;
    }

    .static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a span.item-title {
        display: block;
        white-space: normal;
        padding: 0.8em 1em;
        line-height: 1.25;
    }

    /* Submenu becomes stacked */
    .static-site #nav .dropdown.dropdown-horizontal .dropitem {
        position: static;
        visibility: visible !important;
        display: block;
        min-width: 0;
        width: 100%;
        box-shadow: none;
    }

    .static-site #nav .dropdown.dropdown-horizontal .dropitem ul {
        width: 100%;
    }

    .static-site #nav .dropdown.dropdown-horizontal .dropitem li {
        width: 100%;
    }

    .static-site #nav .dropdown.dropdown-horizontal .dropitem .item-title {
        padding-left: 2em;
        font-size: 0.92em;
    }
}


/* --- v11: earlier stable tablet/mobile navigation breakpoint --- */

/*
   The original horizontal JYAML menu becomes unreadable before the old 760px
   breakpoint. From 900px down we therefore switch to a clean vertical menu.
*/
@media (max-width: 900px) {

    .static-site #nav,
    .static-site #nav .ym-wrapper,
    .static-site #nav .ym-wbox {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .static-site #nav .dropdown.dropdown-horizontal {
        float: none !important;
        display: block !important;
        width: 100% !important;
        line-height: normal !important;
        overflow: visible !important;
    }

    .static-site #nav .dropdown.dropdown-horizontal > ul.menu {
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .static-site #nav .dropdown.dropdown-horizontal > ul.menu > li {
        display: block !important;
        float: none !important;
        width: 100% !important;
        clear: both !important;
        height: auto !important;
        line-height: normal !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        border-top: 1px solid rgba(255,255,255,0.18);
    }

    .static-site #nav .dropdown.dropdown-horizontal > ul.menu > li:first-child {
        border-top: 0;
    }

    .static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a {
        display: block !important;
        float: none !important;
        width: auto !important;
        height: auto !important;
        line-height: normal !important;
        padding: 0 !important;
        position: static !important;
    }

    .static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a > span.item-title {
        display: block !important;
        white-space: normal !important;
        padding: 0.75em 1em !important;
        line-height: 1.25 !important;
    }

    /*
      Keep the submenu in normal document flow. This prevents the blue dropdown
      panel from floating over the slider/content.
    */
    .static-site #nav .dropdown.dropdown-horizontal .dropitem,
    .static-site #nav .dropdown.dropdown-horizontal .dropitem-down,
    .static-site #nav .dropdown.dropdown-horizontal .dropitemLevel0 {
        position: static !important;
        visibility: visible !important;
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        line-height: normal !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    .static-site #nav .dropdown.dropdown-horizontal .dropitem-content,
    .static-site #nav .dropdown.dropdown-horizontal .dropitem ul {
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .static-site #nav .dropdown.dropdown-horizontal .dropitem li {
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        line-height: normal !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .static-site #nav .dropdown.dropdown-horizontal .dropitem a {
        display: block !important;
        float: none !important;
        width: auto !important;
        height: auto !important;
        line-height: normal !important;
        padding: 0 !important;
        position: static !important;
    }

    .static-site #nav .dropdown.dropdown-horizontal .dropitem span.item-title {
        display: block !important;
        white-space: normal !important;
        padding: 0.65em 1em 0.65em 2em !important;
        line-height: 1.25 !important;
    }

    /* Avoid the old dropdown layer covering the page */
    .static-site #slider,
    .static-site #main {
        clear: both !important;
    }
}

/* Slightly compact the desktop menu before it reaches tablet mode */
@media (min-width: 901px) and (max-width: 1120px) {
    .static-site #nav .dropdown.dropdown-horizontal li span.item-title {
        padding-left: 0.55em !important;
        padding-right: 0.55em !important;
        font-size: 0.94em !important;
    }
}


/* --- v16: loadposition referent modules, contained without layout side effects --- */
.iwp-referentenmodul {
    clear: both;
    margin: 1.2em 0 0.8em 0;
    overflow: hidden;
}

.iwp-referentenmodul .referenten {
    overflow: hidden;
}

.iwp-referentenmodul .referenten::after {
    content: "";
    display: table;
    clear: both;
}

.iwp-referentenmodul .referenten img {
    max-width: 100%;
    height: auto;
    margin: 0 1em 0.8em 0;
}

.iwp-referentenmodul .iwp-referent-box {
    float: left;
    border: 1px solid #8995AE;
    padding: 20px;
    margin-right: 20px;
    margin-bottom: 1em;
    box-sizing: border-box;
}

@media (max-width: 760px) {
    .iwp-referentenmodul .referenten > div,
    .iwp-referentenmodul .iwp-referent-box {
        float: none !important;
        display: block;
        width: auto;
        margin-right: 0 !important;
        margin-bottom: 1em;
    }
    .iwp-referentenmodul .referenten img {
        float: none !important;
        display: block;
        margin-right: 0;
    }
}


/* --- v19: seminar notice box --- */
.iwp-infobox {
    border: 1px solid #8995AE;
    background: #f4f6f9;
    padding: 1.1em 1.3em;
    margin: 1em 0 1.5em 0;
}
.iwp-infobox p {
    margin: 0;
    font-weight: bold;
}


/* --- v22: Impressum CSS fade slider --- */
.page-impressum .iwp-css-fade-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    line-height: 0;
}

.page-impressum .iwp-css-fade-slider img {
    display: block;
    width: 100%;
    height: auto;
}

.page-impressum .iwp-css-fade-slider img:not(:first-child) {
    position: absolute;
    left: 0;
    top: 0;
}

.page-impressum .iwp-css-fade-slider img {
    animation: iwp-impressum-fade 15s infinite;
    opacity: 0;
}

.page-impressum .iwp-css-fade-slider img:nth-child(1) {
    animation-delay: 0s;
}

.page-impressum .iwp-css-fade-slider img:nth-child(2) {
    animation-delay: 5s;
}

.page-impressum .iwp-css-fade-slider img:nth-child(3) {
    animation-delay: 10s;
}

@keyframes iwp-impressum-fade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .page-impressum .iwp-css-fade-slider img {
        animation: none;
        opacity: 0;
    }
    .page-impressum .iwp-css-fade-slider img:first-child {
        opacity: 1;
    }
}


/* --- v29: privacy-friendly contact page and clearer active/focus menu states --- */

.iwp-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 2em;
    align-items: start;
}

.iwp-contact-text h3 {
    margin-top: 0;
}

.iwp-contact-map {
    margin-top: 0.2em;
}

.iwp-static-mapbox {
    position: relative;
    min-height: 230px;
    border: 1px solid #8995AE;
    background:
        linear-gradient(90deg, rgba(137,149,174,0.16) 1px, transparent 1px),
        linear-gradient(0deg, rgba(137,149,174,0.16) 1px, transparent 1px),
        #f4f6f9;
    background-size: 42px 42px;
    overflow: hidden;
}

.iwp-static-mapbox::before,
.iwp-static-mapbox::after {
    content: "";
    position: absolute;
    background: rgba(137,149,174,0.30);
    transform: rotate(-18deg);
}

.iwp-static-mapbox::before {
    width: 140%;
    height: 22px;
    left: -20%;
    top: 70px;
}

.iwp-static-mapbox::after {
    width: 110%;
    height: 16px;
    left: -10%;
    top: 155px;
    transform: rotate(22deg);
}

.iwp-map-pin {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 42px;
    height: 42px;
    border-radius: 50% 50% 50% 0;
    background: #8995AE;
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 2;
}

.iwp-map-pin::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 13px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
}

.iwp-map-label {
    position: absolute;
    left: 1em;
    right: 1em;
    bottom: 1em;
    background: rgba(255,255,255,0.92);
    border: 1px solid #cfd6df;
    padding: 0.7em;
    z-index: 3;
    line-height: 1.35;
}

.iwp-map-privacy {
    font-size: 0.92em;
    margin: 0.8em 0 0.5em 0;
}

.iwp-route-link {
    display: inline-block;
    padding: 0.5em 0.8em;
    background: #8995AE;
    color: #ffffff !important;
    text-decoration: none;
}

.iwp-route-link:hover,
.iwp-route-link:focus {
    background: #6f7d98;
    color: #ffffff !important;
}

/* Clearer active and keyboard focus states in main menu */
.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li.active > a,
.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li.current > a,
.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a.active_link,
.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a.current_link {
    background: #6f7d98 !important;
    color: #ffffff !important;
    box-shadow: inset 0 -4px 0 #C19417;
}

.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li.active > a span.item-title,
.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li.current > a span.item-title,
.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a.active_link span.item-title,
.static-site #nav .dropdown.dropdown-horizontal > ul.menu > li > a.current_link span.item-title {
    color: #ffffff !important;
}

.static-site #nav .dropdown.dropdown-horizontal a:focus,
.static-site #nav .dropdown.dropdown-horizontal a:hover {
    outline: 2px solid #C19417;
    outline-offset: -2px;
}

@media (max-width: 760px) {
    .iwp-contact-grid {
        display: block;
    }
    .iwp-contact-map {
        margin-top: 1.5em;
    }
}


/* --- v30: compact original-style footer layout --- */

footer .ym-wrapper {
    overflow: hidden;
}

footer .footer-logo,
footer .footer-image,
footer img.footer-logo,
footer .custom-footer-logo {
    float: left;
    margin: 0 1.2em 0.4em 0;
    max-width: 140px;
    height: auto;
}

footer p,
footer .footer-text,
footer .copyright,
footer .footer-content {
    margin: 0.2em 0;
}

footer {
    padding-top: 0.6em !important;
    padding-bottom: 0.6em !important;
    min-height: 0 !important;
}

footer .ym-gbox,
footer .ym-cbox,
footer .ym-col1,
footer .ym-col2,
footer .ym-col3 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Force side-by-side logo/text layout if footer contains image + paragraph */
footer img {
    float: left;
    margin-right: 1.2em;
    margin-bottom: 0.3em;
}

footer::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 760px) {
    footer img {
        float: none;
        display: block;
        margin: 0 auto 0.8em auto;
    }
}


/* --- v31: restore original two-column footer layout --- */

/* Undo the v30 floating footer image behavior */
footer img {
    float: none !important;
    margin: 0 !important;
}

/* Keep the original YAML 50/50 footer grid */
footer .ym-grid {
    display: flex;
    align-items: center;
    width: 100%;
}

footer .ym-grid > .ym-g50 {
    width: 50% !important;
    float: none !important;
    box-sizing: border-box;
}

/* Left column: logo centered */
footer .ym-grid > .ym-g50.ym-gl,
footer .ym-grid > .ym-g50:first-child {
    text-align: center !important;
}

footer .ym-grid > .ym-g50.ym-gl .ym-gbox,
footer .ym-grid > .ym-g50:first-child .ym-gbox {
    text-align: center !important;
}

/* Right column: text left-aligned */
footer .ym-grid > .ym-g50.ym-gr,
footer .ym-grid > .ym-g50:last-child {
    text-align: left !important;
}

footer .ym-grid > .ym-g50.ym-gr .ym-gbox,
footer .ym-grid > .ym-g50:last-child .ym-gbox {
    text-align: left !important;
}

/* Compact footer spacing without changing column behavior */
footer {
    padding-top: 0.7em !important;
    padding-bottom: 0.7em !important;
}

footer p {
    margin-top: 0.2em;
    margin-bottom: 0.45em;
}

/* Mobile: stack columns cleanly */
@media (max-width: 760px) {
    footer .ym-grid {
        display: block;
    }

    footer .ym-grid > .ym-g50 {
        width: 100% !important;
    }

    footer .ym-grid > .ym-g50.ym-gl,
    footer .ym-grid > .ym-g50:first-child,
    footer .ym-grid > .ym-g50.ym-gr,
    footer .ym-grid > .ym-g50:last-child {
        text-align: center !important;
    }

    footer .ym-grid > .ym-g50.ym-gr .ym-gbox,
    footer .ym-grid > .ym-g50:last-child .ym-gbox {
        text-align: center !important;
    }
}





/* --- v34: remove homepage footer gap by undoing footer pull-up --- */
.page-home footer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

html,
body {
    min-height: 100%;
}

body.static-site {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Keep the footer itself as the final visual block. */
footer {
    margin-bottom: 0 !important;
}

/* Preserve the two-column footer layout from v31. */
footer .ym-grid {
    display: flex;
    align-items: center;
    width: 100%;
}


/* --- v35: reduce homepage bottom whitespace to ~100px without footer strip --- */

/* Only compress the empty area between homepage headline block and footer */
.page-home #main .ym-column-main {
    padding-bottom: 100px !important;
    margin-bottom: 0 !important;
}

/* Remove inherited oversized spacing from the last content elements */
.page-home #content > *:last-child,
.page-home #content .ym-clearfix:last-child,
.page-home #content .ym-grid:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure footer stays flush with viewport end */
.page-home footer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* --- v36: directly reduce homepage content height before footer --- */

.page-home #content {
    min-height: 0 !important;
}

.page-home #main,
.page-home .ym-column-main,
.page-home .ym-col3,
.page-home .ym-cbox,
.page-home #content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Create only a controlled 100px visual gap */
.page-home #content::after {
    content: "";
    display: block;
    height: 100px;
}

/* Footer immediately follows */
.page-home footer {
    margin-top: 0 !important;
}


/* --- v37: robust homepage main height override --- */

/* Override old static conversion rule: .static-site #main{min-height:360px} */
body.static-site.page-home #main {
    min-height: 0 !important;
    height: auto !important;
}

/* The blank block is generated by the main wrapper/column, not by footer. */
body.static-site.page-home #main > .ym-wrapper,
body.static-site.page-home #main > .ym-wrapper > .ym-wbox,
body.static-site.page-home #main .ym-column,
body.static-site.page-home #main .ym-column-main,
body.static-site.page-home #main .ym-col3,
body.static-site.page-home #main .ym-cbox,
body.static-site.page-home #main #content {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Keep exactly a modest visual gap below the headline */
body.static-site.page-home #content h1,
body.static-site.page-home #content h2,
body.static-site.page-home #content h3,
body.static-site.page-home #content p {
    margin-bottom: 0 !important;
}

body.static-site.page-home #content::after {
    content: "";
    display: block;
    height: 40px !important;
    clear: both;
}


/* --- v40: restore colored press teaser headers --- */

.page-presse .iwp-presse-overview .iwp-presse-card h2 {
    background: #8995AE;
    color: #ffffff;
    margin: 0 0 0.6em 0;
    padding: 0.45em 0.65em;
    font-size: 1.15em;
    line-height: 1.25;
}

.page-presse .iwp-presse-overview .iwp-presse-card h2 a {
    color: #ffffff !important;
    text-decoration: none;
    display: block;
}

.page-presse .iwp-presse-overview .iwp-presse-card h2 a:hover,
.page-presse .iwp-presse-overview .iwp-presse-card h2 a:focus {
    color: #ffffff !important;
    text-decoration: underline;
    outline: none;
}

.page-presse .iwp-presse-overview .iwp-presse-card h3 {
    margin-top: 0.3em;
}

/* Keep detail article headings normal */
.presse-detail h2 {
    background: transparent;
    color: inherit;
    padding: 0;
}
