

@media (min-width: 768px) {

    .main-section>.frame .textpic-item.textpic-text, .headernews .textpic-item.textpic-text {

        padding-top: 60px;
        padding-bottom: 80px;
    }

#page-content>div.frame-type-textpic .frame-inner>.textpic, .headernews.textpic{
  /*  max-height: calc(100vh + 22px);*/
    justify-content: flex-end;
    padding-bottom:3rem;
   /* grid-template-columns: 1fr 1fr;*/
    /* Teilt den Platz in 50% Text und 50% Bild */
    align-items: center; /* Zentriert Text und Bild perfekt vertikal */
}

#page-content > div.frame-type-textpic .frame-inner picture,
.news-single .article .headernews .news-img-wrap .mediaelement-image {
    display: flex;
    min-height: calc(100vh - 50px);
}
.gallery-item img_, .gallery-item picture {
    width: 100%;
    height: 100%;
}

#page-content > div.frame-type-textpic .frame-inner img,
.news-single .article .headernews .news-img-wrap img {
    width: 50vw;
    max-height: calc(100vh - 60px);
    min-height: 600px;
    align-self: stretch;      /* füllt die Höhe des Flex-Containers */
    object-fit: cover;
    object-position: center;
}
}


@media (max-width: 1399px) {
    .container.container-mainnavigation {
        max-width: 1320px
    }

    h1, .h1, h2, .h2 {
    font-size: 3rem;

}
}

@media (max-width: 1198px) {
h1, .h1, h2, .h2 {
    font-size: 2.5rem;
}

.nav-link{padding:0.2rem}
.nav-link.nav-link-toggle{padding:0.2rem 0rem 0.2rem 0.3rem}
.container-mainnavigation {
    gap: 0.5rem;
}

#subnavigation {
    margin-left: 0;
}

.frame-type-header .frame-header a {
    order: 3;
    position: absolute;
    right: unset;
    left: 25px;
    margin-top: 0;
    bottom: -50px;
}
.section.section-default>.frame.clubs-socialmedia .frame-inner, .newscontent .frame.clubs-socialmedia .frame-inner {
    display: block;
}
.clubs-socialmedia p:has(a) {
    display: inline-flex;
}
 .clubs-socialmedia h2{margin-bottom:0.5rem}
}
/* Mobile */
@media (max-width: 991px) {

#language_menu{display:none;}

    button.navbar-toggler {
        border: 1px solid white;
        border-radius: 0;
    }

    h1,
    .h1,
    h2,
    .h2 {
        font-size: 2em;
        font-style: normal;
        font-weight: 700;
        line-height: 93%;
        text-transform: uppercase;
    }




     /* 1. Haupt-Container (Listenpunkt) */
  li.nav-item.nav-style-simple {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px; /* Kontrolliert den Abstand zwischen Text-Link und Toggle-Button */
  }

  /* 2. Der Hauptlink-Button */
  .nav-link-main {
    flex: 0 1 auto !important; /* Verhindert, dass der Button sich breit macht */
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding-right: 4px !important; /* Verringert den inneren Abstand zum Pfeil */
  }

  /* Text im Hauptlink */
  .nav-link-main .nav-link-text {
    text-align: center !important;
  }

  /* 3. Der Toggle-Button (Pfeil) */
  .nav-link-toggle {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 4px !important; /* Verringert den inneren Abstand zum Text */
  }

  /* 4. Das geöffnete Dropdown-Menü */
  .dropdown-menu {
    flex: 0 0 100% !important; /* Erzwingt den Umbruch in die nächste Zeile */
    width: 100% !important;
    text-align: center !important; /* Zentriert einfachen Text */
    margin-top: 10px !important; /* Abstand zwischen der Button-Reihe und dem Dropdown */
  }

  /* 5. Die Liste innerhalb des Dropdowns */
  .dropdown-menu .dropdown-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Zentriert die Unterpunkte horizontal */
    padding: 0 !important;
    list-style: none !important;
  }

  /* 6. Die Links innerhalb des Dropdowns */
  .dropdown-menu .nav-link-dropdown {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }


  #subnavigation {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    margin-left: 0;
}

.navbar-nav {
    align-items: center;
}
.navbar-inverse .dropdown-menu     {--bs-dropdown-bg: #1F1E1E;
margin-top:0 !important;
border-radius:0;
}



#subnavigation .headersuche {
    visibility: visible;
    opacity: 1;
    transition: all 0.3s;
}


    #subnavigation .navbar-search input.suchfeld {
    height: 48px;
    line-height: 48px;
    width: 150px;
    float: left;
    border: 1px solid #ddd;
    padding-left: 5px;
    transition: width 0.4s;
    font-size: 0.95em;
}

#subnavigation .navbar-search .headersuche {
    position: relative;
    top: 0;
    right: 0;
}


#subnavigation .navbar-search {
    margin-left: 0;
    width: auto;
    position: relative;
}

#subnavigation .navbar-scale{display:none;}

  .news-list-view.locations-list-view, .aktuelles-list-view, .news-related-links>div, .filelink-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 3rem;
    grid-row-gap: 3rem;
    position: relative;
    z-index: 5;
}
.searchresultcard {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 3rem 0;
}

#newsDetailModal .footerlocation img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 0;

}

#newsDetailModal .footerlocation {
    display: flex;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -1rem;
    background-color: white;
    border-radius: 45px 45px 0px 0px;
    flex-direction: column;
}

#newsDetailModal .footerlocation .footerinfos {
    margin-left: -50px;
    margin-right: -50px;
    border-radius: 0px 0px 45px 45px;
    background: white;
    padding: 1.75rem 1.75rem 1.75rem 2rem;
    align-items: center;
    display: flex;
    flex-direction: row;
    width: auto;
    justify-content: space-around;
    color: #1F1E1E;
}

}

@media (max-width: 767px) {

    h1,
    .h1,
    h2,
    .h2 {
        font-size: 1.8rem;
        font-style: normal;
        font-weight: 700;
        line-height: 110%;
        text-transform: uppercase;
    }

.frame-type-header .frame-header .element-subheader.h4, .section.section-default>.frame.clubs-socialmedia .frame-header .element-subheader.h4 {
    margin-bottom: 0;
    white-space: normal;
    padding-right: 1rem;
}

#dcrt_dps_content h2{ font-size: 1.5rem;  text-transform: none;margin-top:2rem;}
    h3.element-header {
        font-size: 20px;
    }

    h4,
    .h4 {
        font-size: 16px;
    }

    p {
        font-size: 16px;
    }

    #page-content>div.eventticker {
        padding: 0;
        transform: translateY(-11vw);

    }

.pagelevel-0 .main-section>.frame .textpic-item.textpic-text {
    transform: translateY(-10px);
}


.news-list-view.locations-list-view, .aktuelles-list-view, .news-related-links>div, .filelink-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 3rem;
    grid-row-gap: 3rem;
    position: relative;
    z-index: 5;
}
.newscontent {
    margin-top: 100px;
}

.news-related-links .related-item>a, .filelink-list>div>a {
padding-bottom:4rem;
}
.main-section>.frame .textpic-item.textpic-text:after{display:none;}

.section.section-default>.frame.frame-type-header, .section.section-default>.animzahlen, footer>.footer-section-content, .newscontent>.frame:first-child, .newscontent>.frame.frame-type-header {
    border-radius: 25px 25px 0 0;
    margin-top: -50px;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.30));
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.onlydesktop{display:none;}

    .btn {
        --bs-btn-font-size: 15px;
    }

    #page-content>div.frame-type-textpic .textpic-text {
        padding-bottom: 40%
    }



    #page-content>div.eventticker {
        padding: 0;
        transform: none;
        position: absolute;
        top: 100vw;
    }

    .section.section-default>.frame>div>.frame-group-inner {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .section.section-default>.animzahlen .frame-inner>div h2 {
        min-width: 33%
    }

    .section.section-default>.animzahlen .frame-inner>div {
        display: flex;
        align-items: center;
        align-content: center;
        flex-direction: row;
        gap: 1rem;
    }

    .section.section-default>.animzahlen .frame-inner>div p {
        margin-bottom: 0
    }

    .section.section-default>.animzahlen .frame-inner {
        color: white;
        text-transform: uppercase;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 1rem;
    }

    .frame .gallery-item figure:after {
        transform: scale(0.60);
    }

    .sportclubs .gallery-row .gallery-item {
        flex: 0 0 auto;
        width: 112px;
    }

    .sportclubs .gallery-item picture {
        width: 50%;
        height: auto;
    }

    .sportclubs .frame-container {
        padding-right: 0;
        padding-left: 0
    }

    .frame-type-header .frame-header:has(.element-subheader.h4) {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .section.section-default>.frame.frame-type-header>div>.frame-group-inner {
        padding-top: 1rem;
        padding-bottom: 0;
    }

    .section.section-default>.frame.frame-type-ws_slider {
        padding: 50px 1rem 150px 1rem;
    }

    .frame-type-ws_slider .swiper-button-prev {
        left: -0.8rem !important;
    }

    .frame-type-ws_slider .swiper-button-next {
        right: -0.8rem !important;
    }

    .frame-type-header .frame-header a {
        order: 3;
        position: relative;
        right: 0;
        margin-top: 0;
        left:unset;
        bottom:unset;
    }

    .news-slider.news-list-view {
        padding: 0 1rem;
    }

    .swiper-button-next,
    .swiper-rtl .swiper-button-prev {
        right: 0.2rem !important;
    }

    .swiper-button-prev,
    .swiper-rtl .swiper-button-next {
        left: 0.2rem !important;
    }


    /*
main>.section .frame-type-textpic .textpic-right .textpic-text {
    text-align: start;
}
main>.section .frame-type-textpic .textpic-right .frame-header .element-subheader.h4 {
    justify-content: flex-start;
}
*/
.footer-section-content{padding-top:3rem !important}

    .footer-section-content-column-middle ul li {
        margin: 0;
        padding: 0.5rem 0;
    }


    .footer-section-content-column-middle ul {
        margin: 2rem 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(max-content, 200px));
        /* 2 Spalten, max. 200px breit */
        gap: 15px;
        /* Abstand zwischen den Buttons */
        justify-content: center;
        /* Zentriert das Raster horizontal */
        padding: 0;
        list-style: none;
        /* Entfernt die Listenpunkte */
    }

    .footer-section-content-column-middle ul li a {
        text-align: center;
        text-decoration: none;
        margin: 0.5rem 0;
    }

    .footer-section-content-column-middle ul li:nth-child(odd) {
        text-align: end;
    }
    .footer-section-content-column-right ul {
    justify-content: center;
    margin-top: 1rem;
}


.footer-section-meta>.frame{margin-top:0}

.footer-navigation, .footer-info-section{    display: flex;
    margin-bottom:1rem;
    justify-content: center;}

    .footer-section-meta {padding-bottom:75px}

    main>.frame-type-textpic figure .caption, .news-single>.article>.headernews .news-img-caption {
    bottom: 0;
            margin-bottom: 0;

}
.searchresultcard {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 0;
    }

.frame-header-icon .header-icon{width:60%;}
/* Events */
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 3.5em;
    margin-top: 5rem;
}
.fc .fc-toolbar {
    align-items: center;
    display: flex;
    justify-content: unset;
}
.news .news-list-view .article.eventlist {
    background: white;
    border-radius: 25px;
    padding: 0;
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    flex-direction: column;
}
.news .news-list-view .article.eventlist .news-img-wrap img {max-width: 100%;     border-radius: 25px 25px 0 0;        width: 100%;}

.news .news-list-view .article.eventlist .inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 3rem 3rem 1rem;
}
.eventinfos {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}.eventinfos>div {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin-right: 2rem;
    margin-bottom: 1rem;
}


.main-section:has(.section-default>.frame)>.frame .textpic-item.textpic-text:after, .news-single>.article:has(.newscontent>.frame) .headernews .textpic-item.textpic-text:after, .weiterscrollen{
    display: none !important;

}


#page-content>div.frame-type-textpic .textpic-item.textpic-gallery figure:after, .news-single .headernews.textpic .news-img-wrap .outer:after {
    transform: scale(0.7);
}
.accordion-item:first-of-type>.accordion-header .accordion-button, .accordion-item>.accordion-header .accordion-button {
    border-radius: 25px;
}
.accordion-body {
    padding: 0 1rem;
    /* border-top: 1px solid black; */
}
.accordion-button {
        font-size: 1.225rem;
        text-transform: uppercase;
        font-weight: 700;
        line-height: 1.2;
        padding: 2rem 5rem 2rem 0;
        background-color: #fff !important;
        box-shadow: none !important;
    }
    .accordion-button:not(.collapsed):after, .accordion-button::after {
    top: 1.5rem;
}
main>.section .frame-type-textpic img {
    border-radius: 25px;
}
.section.section-default>.frame.frame-type-header, .section.section-default>.animzahlen, footer>.footer-section-content, .newscontent>.frame:first-child, .newscontent>.frame.frame-type-header {
        border-radius: 25px 25px 0 0;
        margin-top: -50px;
        filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.30));
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .news .news-list-view .article .news-img-wrap img {
    border-radius: 25px 25px 0 0;
}
.news-list-view .article.article-news {
    border-radius: 25px;;
}
.news .article .related-item, .filelink-list>div {
    border-radius: 25px;
}
.newscontent>.frame-default .frame-group-inner {
    padding-top: 2rem;
    
}.frame-type-header .frame-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.newscontent .frame-type-header .frame-inner {margin-bottom: 0;}
.newscontent img {
    border-radius: 25px;
}

.section.section-default>.frame.clubs-socialmedia .frame-inner,  .newscontent .frame.clubs-socialmedia .frame-inner {
    display: flex;
    flex-direction: column;
        align-items: flex-start;
}
.section.section-default>.frame.clubs-socialmedia .frame-header,  .newscontent .frame.clubs-socialmedia .frame-header  {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: start;
}

.clubs-socialmedia p:has(a) {
    display: flex;
    gap: 8px;
    padding-top: 0;
}
.clubs-socialmedia h3{margin-bottom:1rem !important}

.frame-type-ws_slider .frame-container:has( > .swiper-coverflow) .swiper-button-prev {
    left: -0.4rem !important;
}
.frame-type-ws_slider .frame-container:has( > .swiper-coverflow) .swiper-button-next {
    right: -0.4rem !important;
}

.swiper.swiper-coverflow img{border-radius:25px}

.news-related-links {
    min-height: 5rem;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}
.news-related-links a[title*="Facebook"i], .clubs-socialmedia a[title*="Facebook"i] {
    margin-left: unset;
    }

        #newsDetailModal .footerlocation .footerinfos {
        display: flex;
        flex-direction: column;
    }

    .form-actions .btn[type="submit"] {
    background: #E40422;
    border-radius: 45px;
    border: 0;
    padding: 0.5rem 2rem;
    font-size: 20px;
    color: white;
    text-transform: none;
    font-weight: 400;
    float: right;
    margin-top: 0rem;
}

}