/* ==================================================
   1. GRUNDEINSTELLUNGEN
   Farben, Schrift und allgemeines Seitenbild
   ================================================== */
:root {
    --cassiopeia-color-primary: #2f507a;
    --cassiopeia-color-hover: #213b5d;
    --cassiopeia-color-link: #2f507a;
    --bph-blue: #2f507a;
    --bph-dark: #272b31;
    --bph-light: #f2f3f4
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Montserrat,"Helvetica Neue",Arial,sans-serif;
    color: var(--bph-dark);
    font-size: 16px;
    line-height: 1.75;
    background: #fff
}

/* ==================================================
   2. HEADER UND HAUPTNAVIGATION
   Logo, Desktop-Menü und mobile Navigation
   ================================================== */
.container-header {
    background: var(--bph-blue);
    background-image: none;
    box-shadow: none;
    position: relative;
    z-index: 20
}

.container-header .container-nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap
}

.container-header .navbar-brand {
    margin: 0 auto 0 0;
    padding: 0;
    flex: 0 0 auto
}

.container-header .navbar-brand a {
    display: block
}

.container-header .navbar-brand img {
    display: block;
    width: 168px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    padding: 7px 12px
}

.container-header .navbar-brand .site-description {
    display: none
}

.container-header .navbar-collapse {
    flex: 1
}

.container-header .mod-menu {
    justify-content: flex-end;
    align-items: stretch;
    gap: 25px;
    margin: 0
}

.container-header .mod-menu>li>a {
    color: #fff!important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.55px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    padding: 43px 0 41px;
    white-space: nowrap
}

.container-header .mod-menu>li.active>a,
.container-header .mod-menu>li>a:hover,
.container-header .mod-menu>li>a:focus {
    color: #b9c8db!important
}

.container-header .navbar-toggler {
    border: 0;
    color: #fff
}

/* ==================================================
   3. JOOMLA-SEITENLAYOUT
   Breiten und Abstände der Cassiopeia-Inhaltsbereiche
   ================================================== */
.site-grid {
    display: block
}

.container-component {
    max-width: 1240px;
    margin: 0 auto;
    padding: 92px 28px
}

.view-featured .container-component {
    max-width: none;
    padding: 0
}

.view-featured .blog-featured {
    overflow: hidden
}

.view-featured .blog-featured:before {
    content: "";
    display: block;
    width: 100%;
    height: min(56vw,780px);
    min-height: 440px;
    background: url('/images/bph/hero.webp') center 42%/cover no-repeat
}

.view-featured .blog-items,
.view-featured .blog-item,
.view-featured .item-content {
    display: block!important
}

.item-page>.page-header,
.blog-item .page-header,
.article-info,
.pagination,
.pager,
.com-content-article__navigation {
    display: none!important
}

.view-featured .bph-home-intro,
.view-featured .bph-conductors {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px
}

/* ==================================================
   4. TYPOGRAFIE UND SCHALTFLÄCHEN
   ================================================== */
h1,
h2,
h3,
h4 {
    font-family: Montserrat,"Helvetica Neue",Arial,sans-serif
}

h1,
h2 {
    color: var(--bph-blue);
    font-size: clamp(30px,3vw,42px);
    font-weight: 400;
    line-height: 1.23;
    letter-spacing: .2px;
    margin: 0 0 42px
}

h3 {
    color: var(--bph-dark);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 22px
}

p {
    margin: 0 0 25px
}

/* ==================================================
   5. ALLGEMEINE INHALTSSEITEN
   ================================================== */
.bph-page {
    max-width: 1180px;
    margin: 0 auto
}

.bph-page>h2:not(:first-child) {
    margin-top: 95px
}

.bph-page ul {
    padding-left: 1.25rem
}

.bph-page li {
    margin-bottom: 10px
}

.bph-two-cols {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 72px;
    align-items: start
}

.bph-two-cols hr {
    border: 0;
    border-top: 1px solid #d7dadd;
    margin: 35px 0
}

.bph-wide-image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 95px
}

/* ==================================================
   6. STARTSEITE: EINLEITUNG UND DIRIGENTENÜBERSICHT
   ================================================== */
.bph-home-intro {
    text-align: center;
    padding-top: 102px!important;
    padding-bottom: 115px!important
}

.bph-home-intro h1,
.bph-home-intro h2 {
    max-width: 930px;
    margin-left: auto;
    margin-right: auto
}

.bph-lead {
    max-width: 1040px;
    margin: 0 auto 47px;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 2px;
    text-transform: uppercase
}

.bph-cta,
.btn-primary {
    background: var(--bph-blue)!important;
    border-color: var(--bph-blue)!important;
    border-radius: 999px;
    color: #fff!important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.65px;
    line-height: 1.35;
    padding: 15px 29px;
    text-transform: uppercase;
    box-shadow: none
}

.bph-cta:hover,
.btn-primary:hover {
    background: #213b5d!important;
    border-color: #213b5d!important
}

.bph-conductors {
    text-align: center;
    padding-top: 95px!important;
    padding-bottom: 125px!important;
    border-top: 1px solid #e4e6e8
}

/* Die eigenständige Dirigentenseite beginnt wie die übrigen Inhaltsseiten. */
.view-article .bph-page.bph-conductors {
    border-top: 0;
    padding-top: 0!important
}

.view-article .bph-page.bph-conductors>h1,
.view-article .bph-page.bph-conductors>h1,
.bph-conductors>h2 {
    margin-bottom: 42px;
    text-align: left
}

/* Fließtext: Leitung im Blocksatz, Projektabschnitte linksbündig. */
.view-article .bph-page.bph-conductors>.bph-person>div>p:not(.bph-period) {
    text-align: justify
}

.view-article .bph-page.bph-conductors>.bph-person-list .bph-person>div>p:not(.bph-period) {
    text-align: left
}

/* Jahresangaben und Dirigentennamen linksbündig und sichtbar fett. */
.view-article .bph-page.bph-conductors .bph-person .bph-period,
.view-article .bph-page.bph-conductors .bph-person h3,
.view-article .bph-page.bph-conductors .bph-person .bph-period strong,
.view-article .bph-page.bph-conductors .bph-person h3 strong {
    font-weight: 900!important;
    font-variation-settings: "wght" 900!important;
    -webkit-text-stroke: .45px currentColor;
    text-align: left
}

.bph-conductors>h1,
.bph-conductors>h2 {
    margin-bottom: 12px
}

.bph-conductors>h3 {
    margin-bottom: 30px
}









/* ==================================================
   7. DIRIGENTEN- UND ORCHESTERSEITEN
   ================================================== */
.bph-person {
    display: grid;
    grid-template-columns: minmax(240px,330px) 1fr;
    gap: 72px;
    align-items: start;
    padding-bottom: 78px;
    margin-bottom: 78px;
    border-bottom: 1px solid #dfe2e5
}

.bph-person img {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: cover
}

.bph-person h3 {
    color: var(--bph-blue);
    font-size: 25px;
    letter-spacing: .5px
}

.bph-person p:first-child {
    color: var(--bph-blue);
    letter-spacing: 1.4px;
    text-transform: uppercase
}

.bph-person-list .bph-person:last-child {
    border-bottom: 0;
    margin-bottom: 0
}

/* ==================================================
   8. ANMELDUNG
   ================================================== */
.bph-registration-intro {
    align-items: stretch
}

.bph-registration-intro img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover
}

.bph-form-placeholder {
    margin-top: 65px;
    padding: 34px 38px;
    border: 1px solid #b4c2d3;
    background: #f6f8fa
}

.bph-form-placeholder h3 {
    color: var(--bph-blue)
}

/* ==================================================
   9. ARCHIV: GRUNDLAYOUT
   ================================================== */


.bph-legal {
    max-width: 900px
}

.bph-legal h3 {
    margin-top: 48px;
    color: var(--bph-blue)
}

/* ==================================================
   10. FOOTER
   ================================================== */
.container-footer {
    background: #eef0f2;
    background-image: none;
    color: #4a4e54;
    margin-top: 0;
    padding: 55px 28px
}

.container-footer a {
    color: var(--bph-blue)
}

.footer {
    max-width: 1180px;
    margin: 0 auto
}

.back-to-top-link {
    background: var(--bph-blue);
    border-color: var(--bph-blue);
    color: #fff
}

/* ==================================================
   11. ALLGEMEINE RESPONSIVE ANPASSUNGEN
   Darstellung auf Tablets und Smartphones
   ================================================== */
@media(max-width:1100px) {
    .container-header .mod-menu {
        gap: 15px
    }

    .container-header .mod-menu>li>a {
        font-size: 11px;
        letter-spacing: 1px
    }

    

}

@media(max-width:767px) {
    .container-header .container-nav {
        min-height: 100px;
        padding: 0 20px;
        flex-wrap: wrap
    }

    .container-header .navbar-brand img {
        width: 145px;
        height: 88px
    }

    .container-header .navbar-toggler {
        margin-left: auto;
        font-size: 1.45rem
    }

    .container-header .navbar-collapse {
        flex-basis: 100%;
        background: var(--bph-blue);
        margin: 0 -20px;
        padding: 0 20px
    }

    .container-header .mod-menu {
        display: block;
        padding: 14px 0 24px
    }

    .container-header .mod-menu>li>a {
        display: block;
        padding: 13px 5px;
        font-size: 13px
    }

    .view-featured .blog-featured:before {
        height: 61vw;
        min-height: 260px;
        background-position: center
    }

    .container-component {
        padding: 62px 22px
    }

    .view-featured .bph-home-intro,
    .view-featured .bph-conductors {
        padding-left: 22px;
        padding-right: 22px
    }

    .bph-home-intro {
        padding-top: 68px!important;
        padding-bottom: 78px!important
    }

    .bph-conductors {
        padding-top: 68px!important;
        padding-bottom: 78px!important
    }

    h2 {
        font-size: 29px;
        margin-bottom: 30px
    }

    .bph-lead {
        font-size: 15px;
        letter-spacing: 1.45px;
        line-height: 1.55;
        margin-bottom: 35px
    }

    .bph-cta {
        display: block;
        width: 100%;
        padding: 15px 18px
    }

    .bph-two-cols,
    .bph-person,
    
.bph-person {
        gap: 30px;
        padding-bottom: 55px;
        margin-bottom: 55px
    }

    .bph-person img {
        max-width: 380px
    }

    



.bph-wide-image {
        margin-top: 55px
    }

    .bph-registration-intro img {
        min-height: 300px
    }

    .bph-form-placeholder {
        margin-top: 42px;
        padding: 27px 24px
    }

    .bph-page>h2:not(:first-child) {
        margin-top: 65px
    }

}

.view-featured main>.page-header,
.view-featured .item-content>.item-title {
    display: none!important
}

.container-header {
    display: flex!important;
    align-items: center;
    padding: 0 max(28px,calc((100vw - 1240px)/2))
}

.container-header>.grid-child:first-child {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0
}

.container-header .container-nav {
    width: auto;
    max-width: none;
    margin: 0 0 0 auto;
    padding: 0;
    min-height: 100px
}

.container-header .navbar {
    width: 100%
}

@media(max-width:767px) {
    .container-header {
        flex-wrap: wrap;
        padding: 0 20px
    }

    .container-header>.grid-child:first-child {
        flex: 1
    }

    .container-header .container-nav {
        min-height: auto;
        width: auto
    }

    .container-header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0 20px;
        box-shadow: 0 12px 22px rgba(0,0,0,.16)
    }

    .container-header .navbar {
        position: static
    }

}

.view-featured .blog-featured>.page-header {
    display: none!important
}

.bph-footer {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    text-align: center
}

.bph-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 45px
}

.bph-social img {
    width: 34px;
    height: 34px;
    object-fit: contain
}

.bph-sponsors {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
    padding-bottom: 45px;
    border-bottom: 1px solid #d3d7db
}

.bph-sponsors img {
    max-width: 150px;
    max-height: 68px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .82
}

.bph-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 27px;
    font-size: 13px
}

.bph-footer-bottom p {
    margin: 0
}

.bph-footer-bottom nav {
    display: flex;
    gap: 25px
}

.bph-footer-bottom a {
    text-decoration: none
}

@media(max-width:767px) {
    .bph-sponsors {
        gap: 25px
    }

    .bph-sponsors img {
        max-width: 105px;
        max-height: 50px
    }

    .bph-footer-bottom {
        display: block;
        text-align: center
    }

    .bph-footer-bottom p {
        margin-bottom: 18px
    }

    .bph-footer-bottom nav {
        justify-content: center;
        gap: 18px
    }

}

.container-footer {
    width: 100%!important;
    max-width: none!important;
    margin: 0!important
}

.container-footer>.grid-child {
    width: 100%;
    max-width: 1236px;
    margin: 0 auto;
    padding: 0 28px
}

.pagenavigation {
    display: none!important
}

/* ==================================================
   12. FEINABSTIMMUNG DES HEADERS
   ================================================== */

.container-header {
    height: 100px!important;
    min-height: 100px!important;
    align-items: stretch!important
}

.container-header>.grid-child:first-child,
.container-header .navbar-brand,
.container-header .navbar-brand img {
    height: 100px!important
}

.container-header .navbar-brand img {
    padding: 0!important
}

.container-header .container-nav {
    height: 100px!important;
    min-height: 100px!important;
    padding: 0 32px!important
}

.container-header .navbar,
.container-header .navbar-collapse,
.container-header .mod-menu {
    height: 100%
}

.container-header .mod-menu>li>a {
    padding: 43px 0 42px!important
}

.view-featured .blog-featured {
    padding-top: 0!important
}

.view-featured .blog-featured:before {
    display: none!important;
    content: none!important
}

/* ==================================================
   13. STARTSEITE: AUTOMATISCHER HAUPTSLIDER
   Vier Originalbilder wechseln ohne zusätzliche Erweiterung
   ================================================== */

.bph-hero-carousel {
    position: relative;
    width: 100%;
    height: min(55.7vw,800px);
    min-height: 430px;
    overflow: hidden;
    background: #080808
}

.bph-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    animation: bphHeroFade 24s infinite ease-in-out
}

.bph-hero-slide:nth-child(1) {
    animation-delay: 0s
}

.bph-hero-slide:nth-child(2) {
    animation-delay: -18s
}

.bph-hero-slide:nth-child(3) {
    animation-delay: -12s
}

.bph-hero-slide:nth-child(4) {
    animation-delay: -6s
}

.bph-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.bph-hero-slide:first-child img {
    object-position: center
}

.bph-hero-slide figcaption {
    position: absolute;
    left: 40px;
    bottom: 40px;
    padding: 18px 20px;
    background: rgba(34,36,40,.9);
    color: #fff;
    font-size: 17px;
    line-height: 1.35
}

@keyframes bphHeroFade {
    0%,
    20% {
        opacity: 1;
        z-index: 2
    }

    25%,
    95% {
        opacity: 0;
        z-index: 1
    }

    100% {
        opacity: 1;
        z-index: 2
    }

}

@media(prefers-reduced-motion:reduce) {
    .bph-hero-slide {
        animation: none
    }

    .bph-hero-slide:first-child {
        opacity: 1
    }

}

/* ==================================================
   14. STARTSEITE: DIRIGENTENBEREICH
   Grundlayout für Text, Bilder und Bedienknöpfe
   ================================================== */

.view-featured .bph-conductors {
    display: grid;
    grid-template-columns: minmax(0,1fr) 270px;
    gap: 85px;
    align-items: center;
    max-width: 1200px;
    padding-top: 125px!important;
    padding-bottom: 125px!important;
    text-align: initial
}

.bph-conductor-copy {
    text-align: center
}

.bph-conductor-copy h2 {
    margin-bottom: 115px
}

.bph-conductor-copy h3 {
    margin-bottom: 38px
}

.bph-conductor-copy .bph-lead {
    font-size: 18px;
    margin-bottom: 0
}

.bph-conductor-stage {
    position: relative;
    width: 270px;
    height: 405px;
    overflow: hidden;
    background: #111;
    scroll-margin-top: 120px
}

.bph-conductor-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease
}

.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) #dirigent-1,
.bph-conductor-slide:target {
    opacity: 1;
    pointer-events: auto;
    z-index: 2
}

.bph-conductor-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.bph-conductor-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 56px 15px 18px;
    color: #fff;
    background: linear-gradient(transparent,rgba(0,0,0,.86))
}

.bph-conductor-caption strong {
    display: block;
    font-size: 25px;
    line-height: 1.35
}

.bph-conductor-caption span {
    display: block;
    margin-top: 12px;
    font-size: 14px
}

.bph-prev,
.bph-next {
    position: absolute;
    top: 18px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(24,29,39,.82);
    color: #fff!important;
    text-decoration: none!important;
    font-size: 34px;
    font-family: Arial,sans-serif;
    line-height: 1
}

.bph-prev {
    left: 12px
}

.bph-next {
    right: 12px
}

.bph-prev:hover,
.bph-next:hover {
    background: var(--bph-blue)
}

@media(max-width:767px) {
    .container-header {
        height: 85px!important;
        min-height: 85px!important
    }

    .container-header>.grid-child:first-child,
    .container-header .navbar-brand,
    .container-header .navbar-brand img {
        height: 85px!important
    }

    .container-header .container-nav {
        height: 85px!important;
        min-height: 85px!important;
        padding: 0!important
    }

    .bph-hero-carousel {
        height: 63vw;
        min-height: 245px
    }

    .bph-hero-slide figcaption {
        left: 18px;
        bottom: 18px;
        right: auto;
        max-width: calc(100% - 36px);
        padding: 11px 13px;
        font-size: 13px
    }

    .view-featured .bph-conductors {
        display: block;
        padding-top: 75px!important;
        padding-bottom: 80px!important
    }

    .bph-conductor-copy h2 {
        margin-bottom: 48px
    }

    .bph-conductor-copy .bph-lead {
        font-size: 15px;
        margin-bottom: 55px
    }

    .bph-conductor-stage {
        width: min(270px,82vw);
        height: min(405px,123vw);
        margin: 0 auto
    }

}

/* ==================================================
   15. SCHRIFT UND ABSCHLIESSENDE DETAILANPASSUNGEN
   ================================================== */
@font-face {
    font-family: Montserrat;
    src: url('../0d917f5145cf553b.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display:block
}

.container-footer>.grid-child {
    display: block!important
}

.bph-footer {
    width: 100%!important;
    max-width: 1180px!important;
    margin-left: auto!important;
    margin-right: auto!important
}

.bph-sponsors img {
    filter: none!important;
    opacity: 1!important
}

.bph-conductor-caption {
    padding: 22px 15px 18px!important;
    background: rgba(15,17,20,.72)!important
}

.container-header .mod-menu {
    gap: 30px!important
}

.container-header .mod-menu>li {
    height: 100%!important
}

.container-header .mod-menu>li>a {
    display: flex!important;
    align-items: center!important;
    height: 100%!important;
    padding: 0!important;
    font-family: Montserrat,Arial,sans-serif!important;
    font-size: 18px!important;
    font-weight: 500!important;
    line-height: 29.25px!important;
    letter-spacing: 2px!important
}

@media (min-width:768px) and (max-width:1100px) {
    .container-header .mod-menu {
        gap: 16px!important
    }

    .container-header .mod-menu>li>a {
        font-size: 14px!important;
        letter-spacing: 1.2px!important
    }

}

@media(max-width:767px) {
    .container-header .mod-menu {
        gap: 0!important
    }

    .container-header .mod-menu>li,
    .container-header .mod-menu>li>a {
        height: auto!important
    }

    .container-header .mod-menu>li>a {
        display: block!important;
        padding: 13px 5px!important;
        font-size: 13px!important;
        line-height: 1.4!important;
        letter-spacing: 1.2px!important
    }

}

/* ==================================================
   16. ARCHIV: VOLLSTÄNDIGE PROJEKTLISTE
   ================================================== */
.bph-archive-full {
    max-width: 1180px
}

.bph-archive-project {
    padding: 0 0 76px;
    margin: 0 0 82px;
    border-bottom: 1px solid #dfe2e5
}

.bph-archive-project:last-child {
    border-bottom: 0;
    margin-bottom: 0
}

.bph-archive-project h2 {
    margin-bottom: 48px
}

.bph-archive-program {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 75px
}

.bph-archive-program.one {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr)
}

.bph-archive-program h3 {
    color: var(--bph-blue);
    margin-bottom: 27px
}

.bph-archive-program p {
    margin-bottom: 15px
}

@media(max-width:767px) {
    .bph-archive-project {
        padding-bottom: 50px;
        margin-bottom: 55px
    }

    .bph-archive-project h2 {
        margin-bottom: 32px
    }

    .bph-archive-program {
        grid-template-columns: 1fr;
        gap: 34px
    }

    
}

@media(min-width:768px) {
    .container-header .container-nav {
        flex: 1 1 auto!important;
        width: auto!important;
        margin-left: 40px!important;
        padding: 0!important
    }

    .container-header .navbar {
        padding-top: 0!important;
        padding-bottom: 0!important
    }

    .container-header .navbar-collapse,
    .container-header .mod-menu,
    .container-header .mod-menu>li,
    .container-header .mod-menu>li>a {
        height: 100px!important
    }

    .container-header .mod-menu {
        width: 100%;
        justify-content: flex-end!important
    }

}

@media(min-width:768px) {
    .container-header .mod-menu>li {
        padding: 0!important
    }

}

/* ==================================================
   17. STARTSEITENABSTAND UND SOCIAL-MEDIA-SYMBOLE
   ================================================== */

.itemid-101 .container-component > main {
    margin-top: 0 !important;
}

.itemid-101 .bph-hero-carousel {
    margin-top: 0 !important;
}

.bph-social {
    justify-content: center !important;
    gap: 34px !important;
    padding: 8px 0 16px !important;
}

.bph-social img {
    width: 44px !important;
    height: 44px !important;
}

/* ==================================================
   18. AKTIVER MENÜPUNKT
   Dunkle 4-Pixel-Linie an der Oberkante
   ================================================== */

@media (min-width: 768px) {
    .container-header .container-nav {
        align-items: flex-start !important;
    }

    .container-header .mod-menu > li.current > a,
    .container-header .mod-menu > li.active > a {
        color: #fff !important;
    }

    .container-header .mod-menu > li.current > a::after,
    .container-header .mod-menu > li.active > a::after {
        display: none !important;
    }

    .container-header .mod-menu > li.current > a::before,
    .container-header .mod-menu > li.active > a::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 4px;
        background: #fff;
    }

}

/* Menü und Klickflächen exakt im 100-Pixel-Header ausrichten. */

@media (min-width: 768px) {
    .container-header .mod-menu {
        transform: translateY(-8px) !important;
    }

}

/* ==================================================
   19. HOVER-ZUSTAND DER NAVIGATION
   Kontrastreicher Hoverzustand mit feiner oberer Linie
   ================================================== */

@media (min-width: 768px) {
    .container-header .mod-menu > li > a {
        transition: color .1s ease-in-out !important;
    }

    .container-header .mod-menu > li > a::after {
        display: none !important;
    }

    .container-header .mod-menu > li:not(.current):not(.active) > a::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 1px;
        background: transparent;
        transition: background-color .1s ease-in-out;
    }

    .container-header .mod-menu > li:not(.current):not(.active):hover > a {
        color: #b9c8db !important;
    }

    .container-header .mod-menu > li:not(.current):not(.active):hover > a::before {
        height: 1px !important;
        background: #b9c8db !important;
    }

}

/* ==================================================
   20. DIRIGENTEN-SLIDER: AUTOMATIK UND BEDIENUNG
   Fünf Bilder wechseln in 30 Sekunden; ein Pfeilklick wählt ein Bild direkt an.
   ================================================== */

.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) .bph-conductor-slide {
    animation: bphConductorFade 30s infinite ease-in-out;
    pointer-events: auto
}

.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) .bph-conductor-slide:nth-child(1) {
    animation-delay: 0s
}

.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) .bph-conductor-slide:nth-child(2) {
    animation-delay: -24s
}

.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) .bph-conductor-slide:nth-child(3) {
    animation-delay: -18s
}

.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) .bph-conductor-slide:nth-child(4) {
    animation-delay: -12s
}

.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) .bph-conductor-slide:nth-child(5) {
    animation-delay: -6s
}

@keyframes bphConductorFade {
    0%,
    16% {
        opacity: 1;
        z-index: 2
    }

    20%,
    96% {
        opacity: 0;
        z-index: 1
    }

    100% {
        opacity: 1;
        z-index: 2
    }

}

.bph-prev,
.bph-next {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    font-size: 0!important;
    line-height: 0!important
}

.bph-prev::before,
.bph-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff
}

.bph-prev::before {
    transform: translate(-40%,-50%) rotate(-135deg)
}

.bph-next::before {
    transform: translate(-60%,-50%) rotate(45deg)
}

@media(prefers-reduced-motion:reduce) {
    .bph-conductor-stage:not(:has(.bph-conductor-slide:target)) .bph-conductor-slide {
        animation: none
    }

    .bph-conductor-stage:not(:has(.bph-conductor-slide:target)) #dirigent-1 {
        opacity: 1;
        z-index: 2
    }

}

/* ==================================================
   21. SPONSOREN: VOLLE BREITE UND MOBILE DARSTELLUNG
   Fünf Logos auf Desktop, zwei Spalten auf Smartphones.
   ================================================== */

.bph-sponsors {
    display: grid!important;
    grid-template-columns: repeat(5,minmax(0,1fr));
    align-items: center;
    width: 100%;
    gap: clamp(24px,3vw,52px)!important
}

.bph-sponsors img {
    display: block;
    width: 100%!important;
    height: auto!important;
    max-width: 190px!important;
    margin: auto;
    object-fit: contain
}

@media(max-width:767px) {
    .container-footer {
        padding-left: 14px!important;
        padding-right: 14px!important
    }

    .bph-footer {
        max-width: none!important
    }

    .bph-sponsors {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 24px 18px!important
    }

    .bph-sponsors img {
        max-width: 160px!important
    }

    .bph-sponsors img:last-child:nth-child(odd) {
        grid-column: 1/-1
    }

}

/* Mobiler Cassiopeia-Innenabstand im Sponsorenbereich entfernen. */
@media (max-width: 767px) {
    .container-footer > .grid-child {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}


/* ==================================================
   22. EINHEITLICHE INHALTSBREITE UND ORIGINAL-ARCHIV
   Einheitliche Inhaltsbreite von maximal 1200 Pixeln.
   ================================================== */
.bph-page,
.bph-archive-full,
.bph-legal {
    width: 100% !important;
    max-width: 1200px !important;
}

.bph-archive-project {
    margin: 0 0 90px !important;
    padding: 0 0 90px !important;
    border: 0 !important;
}

.bph-archive-project:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 70px !important;
}

.bph-archive-project h2 {
    margin: 0 0 40px !important;
    color: #2f507a;
    font-size: 36px;
    font-weight: 400;
    line-height: 46.8px;
    text-transform: uppercase;
}

.bph-archive-program {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 40px !important;
}

.bph-archive-program > div {
    grid-column: auto !important;
}

.bph-archive-program p {
    margin: 0 0 20px !important;
    color: #6c6d74;
    font-size: 16px;
    line-height: 26px;
}

@media (max-width: 767px) {
    .bph-page,
    .bph-archive-full,
    .bph-legal {
        max-width: 100% !important;
    }

    .bph-archive-project {
        margin-bottom: 55px !important;
        padding-bottom: 50px !important;
    }

    .bph-archive-project h2 {
        margin-bottom: 32px !important;
        font-size: 29px;
        line-height: 1.3;
    }

    .bph-archive-program {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}


/* ==================================================
   23. EINHEITLICHE ORIGINAL-TYPOGRAFIE
   Schriftbild und Farben entsprechen der bisherigen Website.
   ================================================== */
.bph-page,
.bph-legal {
    color: #6c6d74;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: normal;
}

.bph-page p,
.bph-page li,
.bph-legal p,
.bph-legal li {
    color: #6c6d74 !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 26px !important;
    letter-spacing: normal !important;
}

.bph-page a,
.bph-legal a {
    color: #2d2e33;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: normal;
}

.bph-page h2,
.bph-legal h2 {
    color: #2f507a;
    font-size: 36px;
    font-weight: 400;
    line-height: 46.8px;
    letter-spacing: normal;
}

.bph-page h3,
.bph-legal h3 {
    color: #2d2e33;
    font-size: 28px;
    font-weight: 400;
    line-height: 39.2px;
    letter-spacing: normal;
}

.bph-page h4,
.bph-legal h4 {
    color: #2d2e33;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 2px;
}

.bph-person h3 {
    margin-bottom: 20px;
    color: #6c6d74;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: normal;
}

.bph-person .bph-period {
    color: #6c6d74 !important;
    letter-spacing: normal !important;
}

@media (max-width: 767px) {
    .bph-page h2,
    .bph-legal h2 {
        font-size: 29px;
        line-height: 1.3;
    }

    .bph-page h3,
    .bph-legal h3 {
        font-size: 24px;
        line-height: 1.4;
    }

    .bph-person h3 {
        font-size: 16px;
        line-height: 26px;
    }
}


/* Originale Groß- und Kleinschreibung der Überschriften und Namen. */
.bph-page h2,
.bph-legal h2 {
    text-transform: uppercase;
}

.bph-person h3,
.bph-person h3 *,
.bph-person .bph-period,
.bph-person .bph-period * {
    text-transform: none !important;
}


.bph-page h3,
.bph-page h4,
.bph-legal h3,
.bph-legal h4 {
    text-transform: none !important;
}

.bph-legal h4 {
    text-transform: uppercase !important;
}


/* ==================================================
   24. MOBILE STARTSEITE UND NAVIGATION
   Originalnahe Überschrift und flüssiges blaues Klappmenü.
   ================================================== */
@media (max-width: 767px) {
    .container-header {
        position: relative;
        height: 100px !important;
        min-height: 100px !important;
        padding: 0 15px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .container-header > .grid-child:first-child,
    .container-header .navbar-brand,
    .container-header .navbar-brand img {
        width: 167px !important;
        height: 100px !important;
        flex: 0 0 167px !important;
    }

    .container-header .container-nav {
        width: auto !important;
        height: 100px !important;
        min-height: 100px !important;
        margin-left: auto !important;
        padding: 0 !important;
    }

    .container-header .navbar {
        position: static !important;
        width: auto !important;
        height: 100px !important;
        margin-top: 0 !important;
        padding: 0 !important;
        align-items: center !important;
    }

    .container-header .navbar-toggler {
        position: absolute !important;
        top: 50% !important;
        right: 15px !important;
        z-index: 1002 !important;
        margin: 0 !important;
        padding: 6px !important;
        border: 0 !important;
        transform: translateY(-50%) !important;
        box-shadow: none !important;
    }

    .container-header .navbar-toggler[aria-expanded="true"] .icon-menu {
        visibility: hidden;
    }

    .container-header .navbar-toggler[aria-expanded="true"]::before,
    .container-header .navbar-toggler[aria-expanded="true"]::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 22px;
        height: 2px;
        background: #fff;
    }

    .container-header .navbar-toggler[aria-expanded="true"]::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .container-header .navbar-toggler[aria-expanded="true"]::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .container-header .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 1001 !important;
        width: 100% !important;
        height: auto;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 20px !important;
        overflow: hidden;
        background: var(--bph-blue) !important;
        box-shadow: 0 12px 22px rgba(0, 0, 0, .16) !important;
    }

    .container-header .navbar-collapse.collapsing {
        transition: height .35s ease !important;
    }

    .container-header .mod-menu,
    .container-header .mod-menu > li,
    .container-header .mod-menu > li > a {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .container-header .mod-menu {
        display: block !important;
        margin: 0 !important;
        padding: 12px 0 18px !important;
    }

    .container-header .mod-menu > li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .container-header .mod-menu > li > a {
        display: block !important;
        padding: 11px 5px !important;
        color: rgba(255, 255, 255, .78) !important;
        font-size: 13px !important;
        line-height: 20px !important;
        letter-spacing: 1.6px !important;
        text-decoration: none !important;
    }

    .container-header .mod-menu > li.current > a,
    .container-header .mod-menu > li.active > a,
    .container-header .mod-menu > li > a:hover,
    .container-header .mod-menu > li > a:focus {
        color: #fff !important;
    }

    .container-header .mod-menu > li > a::before,
    .container-header .mod-menu > li > a::after {
        display: none !important;
    }

    .view-featured .bph-home-intro {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .bph-home-intro h1,
.bph-home-intro h2 {
        width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        font-size: 25px !important;
        line-height: 32.5px !important;
        letter-spacing: normal !important;
    }
}


/* ==================================================
   25. BARRIEREFREIE SLIDER-BEDIENUNG
   Pause-Schalter und ausgeblendete Pfeile
   ================================================== */
.bph-motion-control {
    position: absolute;
    z-index: 6;
    right: 18px;
    bottom: 18px
}

.bph-conductor-stage>.bph-motion-control {
    top: 18px;
    bottom: auto
}

.bph-motion-control input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap
}

.bph-motion-control label {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.66);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .45px;
    cursor: pointer
}

.bph-motion-control input:focus-visible+label {
    outline: 3px solid #fff;
    outline-offset: 3px
}

.bph-motion-control input:checked+label {
    color: #272b31;
    background: #fff
}

.bph-hero-carousel:has(.bph-motion-control input:checked) .bph-hero-slide,
.bph-conductor-stage:has(.bph-motion-control input:checked) .bph-conductor-slide {
    animation-play-state: paused !important
}

.bph-conductor-slide .bph-prev,
.bph-conductor-slide .bph-next {
    visibility: hidden
}

.bph-conductor-slide:target .bph-prev,
.bph-conductor-slide:target .bph-next,
.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) #dirigent-1 .bph-prev,
.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) #dirigent-1 .bph-next {
    visibility: visible
}

@media (max-width: 767px) {
    .bph-motion-control {
        right: 10px;
        bottom: 10px
    }

    .bph-conductor-stage>.bph-motion-control {
        top: 10px;
        bottom: auto
    }

    .bph-motion-control label {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 11px
    }
}


/* ==================================================
   26. MOBILE BREITENKORREKTUREN
   Einspaltige Personen- und Kontaktbereiche sowie sichere Wortumbrüche
   ================================================== */
@media (max-width: 767px) {
    .bph-two-cols,
    .bph-person {
        grid-template-columns: minmax(0, 1fr)
    }

    .bph-person > *,
    .bph-page,
    .bph-page > * {
        min-width: 0
    }

    .bph-legal h2 {
        overflow-wrap: anywhere;
        hyphens: auto
    }
}


/* ==================================================
   27. KOMPAKTE PAUSE-SCHALTFLÄCHEN
   Beide Slider: runder Schalter unten rechts
   ================================================== */
.bph-conductor-stage > .bph-motion-control {
    top: auto;
    bottom: 18px
}

.bph-motion-control label {
    width: 42px;
    height: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    line-height: 1
}

.bph-motion-control label::before {
    content: "⏸";
    font-size: 20px;
    font-weight: 700;
    line-height: 1
}

.bph-motion-control input:checked + label::before {
    content: "▶";
    font-size: 16px;
    padding-left: 2px
}

@media (max-width: 767px) {
    .bph-conductor-stage > .bph-motion-control {
        top: auto;
        bottom: 10px
    }

    .bph-motion-control label {
        width: 38px;
        height: 38px;
        min-height: 38px
    }
}


/* ==================================================
   28. MODERNER PAUSE- UND PLAY-BUTTON
   Präzise zentrierte CSS-Symbole ohne Schriftzeichen
   ================================================== */
.bph-motion-control label {
    position: relative;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg,rgba(18,27,40,.76),rgba(18,27,40,.52));
    box-shadow: 0 4px 16px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform .2s ease,background .2s ease,box-shadow .2s ease
}

.bph-motion-control label:hover {
    background: linear-gradient(145deg,rgba(47,80,122,.94),rgba(33,59,93,.9));
    box-shadow: 0 6px 20px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.24);
    transform: translateY(-1px)
}

.bph-motion-control label::before,
.bph-motion-control label::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 4px;
    height: 16px;
    border-radius: 3px;
    background: currentColor;
    transform: translate(-50%,-50%);
    transition: opacity .18s ease,transform .18s ease
}

.bph-motion-control label::before {
    left: 42%
}

.bph-motion-control label::after {
    left: 58%
}

.bph-motion-control input:checked + label {
    color: var(--bph-blue);
    background: rgba(255,255,255,.94)
}

.bph-motion-control input:checked + label::before {
    left: 52%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid currentColor;
    border-radius: 0;
    background: transparent;
    transform: translate(-50%,-50%)
}

.bph-motion-control input:checked + label::after {
    opacity: 0;
    transform: translate(-50%,-50%) scale(.5)
}

@media (max-width: 767px) {
    .bph-motion-control label {
        width: 40px;
        height: 40px;
        min-height: 40px
    }
}


/* Play-Symbol ohne überlagertes altes Schriftzeichen */
.bph-motion-control input:checked + label::before {
    content: "";
    padding-left: 0;
    font-size: 0;
    box-sizing: content-box
}


/* ==================================================
   29. NAVIGATION DES DIRIGENTEN-SLIDERS
   Pfeile nur im jeweils sichtbaren Slide anzeigen und bedienen
   ================================================== */
.bph-conductor-slide {
    visibility: hidden
}

.bph-conductor-stage:not(:has(.bph-conductor-slide:target)) #dirigent-1,
.bph-conductor-slide:target {
    visibility: visible
}

.bph-conductor-slide .bph-prev,
.bph-conductor-slide .bph-next {
    visibility: visible
}

@keyframes bphConductorFade {
    0%,
    16% {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        z-index: 2
    }

    20%,
    96% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1
    }

    100% {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        z-index: 2
    }
}
