/* common styles */

.responsivenavi,
.nav_responsive {
  display: none;
}

#homelayout02 .ce-column,
#homelayout02 .ce-gallery:not([data-ce-columns="1"]) .ce-column:first-child,
#homelayout02 .ce-gallery:not([data-ce-columns="1"]) .ce-column:last-child {
  width: 100% !important;
}

#subnavi,
.mmtext {
  display: none;
}

/* #Media Queries
    ================================================== */

@media only screen and (min-width: 1511px) and (max-width: 1700px) {
  /*STARTSEITE*/

  #headerImage .custom-controls {
    bottom: 10%;
  }

  #menue li:hover > ul,
  #menue li:focus-within > ul {
    grid-template-columns: repeat(3, 1fr);
  }
  #logo a {
    font-size: 26px;
  }
  #suche,
  #layout01-1 #kontrast-alles {
    width: 45px;
  }

  .home #headerImage,
  .home #headerImage ul li {
    height: 714px;
  }

  .scroll-downs {
    bottom: 46px;
  }

  #scrollmaus {
    float: left;
    width: 100%;
    margin-top: 60px;
  }

  #slogan h3 {
    font-size: 63px;
  }

  #homelayout01 {
    top: 240px;
    height: 460px;
  }

  .qlhome a span {
    padding: 6px 5px 7px;
  }

  .home #headerImage ul li {
    height: 750px;
  }

  /*CONTENT*/

  #breadcrumb {
    padding-top: 30px;
  }

  #contentbereich .firstFont p {
    line-height: 28px;
    max-width: 100%;
  }
}

@media only screen and (min-width: 1282px) and (max-width: 1510px) {
  /*STARTSEITE*/
  #menue li:hover > ul,
  #menue li:focus-within > ul {
    grid-template-columns: repeat(3, 1fr);
  }
  .home #headerImage,
  .home #headerImage ul li {
    height: 560px;
  }

  .scroll-downs {
    bottom: 12px;
  }

  #scrollmaus {
    float: left;
    width: 100%;
    margin-top: 60px;
  }

  #slogan h3 {
    font-size: 43px;
    line-height: 50px;
  }

  #homelayout01 {
    top: 250px;
    height: 360px;
  }

  .qlhome a span {
    padding: 6px 5px 7px;
  }

  .home #headerImage ul li {
    height: 570px;
  }
  #menue ul li a {
    padding: 22px 7px 38px;
  }

  #wappen {
    margin-bottom: 30px;
  }

  #mainMenueSub {
    box-shadow: 0px 15px 14px 0px #00000017;
  }

  #footer {
    width: calc(100% - 80px);
    padding: 105px 40px;
  }

  #fusszeile {
    width: calc(100% - 80px);
    padding: 26px 40px;
  }

  #popUp {
    right: -25px;
  }

  #anlesetextnews h4 {
    font-size: 35px;
  }

  #anlesetextnews p {
    font-size: 18px;
  }

  #ql7 a span {
    display: inline-block;
    width: 175px;
  }

  .qlhome#ql7 a {
    padding: 256px 0 133px;
  }

  #ortsplan p strong {
    font-size: 60px;
  }

  #ortsplan p a {
    font-size: 38px;
  }

  #footer01 {
    width: 31%;
    margin-right: 7%;
  }

  /*CONTENT*/

  #breadcrumb {
    padding-top: 30px;
  }

  #contentbereich .firstFont p {
    line-height: 28px;
    max-width: 100%;
  }

  #headerImage ul li {
    height: 567px;
  }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 1025px) and (max-width: 1281px) {
  /*STARTSEITE*/

  c7-news-carousel-default {
    width: 96%;
  }

  .home #headerImage,
  .home #headerImage ul li {
    height: 446px;
  }

  .scroll-downs {
    bottom: 31px;
  }

  #scrollmaus {
    float: left;
    width: 100%;
    margin-top: 15px;
  }

  #slogan h3 {
    font-size: 35px;
    line-height: 45px;
  }

  #slogan h3 {
    padding-bottom: 10px;
  }

  #homelayout01 {
    top: 220px;
    width: calc(100% - 75px);
    height: 300px;
  }

  .qlhome a span {
    padding: 6px 5px 7px;
    font-size: 17px;
  }

  .home #headerImage ul li {
    height: 460px;
  }

  #wappen {
    margin-bottom: 10px;
  }
  #geoIcon::after {
    width: 75px;
  }

  #footer .alles {
    width: calc(100% - 80px);
    padding: 70px 40px;
  }

  #fusszeile .alles {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  #fusszeile {
    width: calc(100% - 80px);
    padding: 26px 40px;
  }

  #popUp {
    right: -125px;
    bottom: 20px;
  }

  #anlesetextnews h4 {
    font-size: 35px;
  }

  #anlesetextnews p {
    font-size: 18px;
    padding-bottom: 20px;
  }

  #ql7 a span {
    display: inline-block;
    width: 175px;
  }

  .qlhome#ql7 a {
    padding: 153px 0 75px;
  }

  #ortsplan p strong {
    font-size: 50px;
  }

  #ortsplan p a {
    font-size: 30px;
  }

  #footer01 {
    width: 40%;
    margin-right: 20%;
  }

  #footer02 {
    width: 40%;
  }

  #footer03 {
    width: 50%;
    margin-right: 25%;
    margin-top: 60px;
  }

  #footer03 h4 {
    text-align: center;
  }

  #layout03 {
    width: 15%;
  }

  #menuequick {
    width: 100%;
    text-align: center;
  }

  .qlhome a {
    padding: 168px 0 93px;
  }

  .qlhome a {
    background: url(../images/ql1icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql2 a {
    background: url(../images/ql2icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql3 a {
    background: url(../images/ql3icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql4 a {
    background: url(../images/ql4icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql5 a {
    background: url(../images/ql5icon.png) top 54px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql6 a {
    background: url(../images/ql6icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql7 a {
    background: url(../images/ql7icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql8 a {
    background: url(../images/ql8icon.png) top 58px center no-repeat;
    background-size: 70px;
  }

  .main #ortsplan {
    height: 60px;
    text-align: center;
  }

  .home #ortsplan {
    height: 500px;
    text-align: center;
  }

  #ortsplan p {
    margin-top: 100px;
  }

  #headerImage {
    margin-top: -104px;
  }

  #wrap02 {
    width: 75px;
  }

  #links .icons::before {
    width: 75px;
  }

  #links .icons#drucken::after {
    width: 75px;
  }

  #wrap01 {
    width: calc(100% - 75px);
  }

  #links .icons {
    padding: 27px 0 26px 21px;
    width: 54px;
  }

  #links .icons:hover {
    width: 150px;
  }

  #menuequick a:last-child {
    margin-right: 0;
  }

  /*CONTENT*/

  #breadcrumb {
    padding-top: 30px;
  }

  #contentbereich .firstFont p {
    line-height: 28px;
    max-width: 100%;
  }

  #headerImage ul li {
    height: 450px;
  }

  #contentbereich .contentbereichInfobox {
    width: calc(100% - 130px);
    padding: 45px 50px;
  }

  #contentbereich {
    padding-bottom: 150px;
  }
}
@media only screen and (min-width: 1025px) and (max-width: 1180px) {
  /*STARTSEITE*/
  #menue .navId.dropdown {
    gap: 0;
  }
  #menue li:hover > ul,
  #menue li:focus-within > ul {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 960px) and (max-width: 1024px) {
  c7-news-carousel-default {
    width: 96%;
  }
  /*STARTSEITE*/
  .home #headerImage,
  .home #headerImage ul li {
    height: 418px;
  }

  #scrollmaus {
    display: none;
  }

  #slogan h3 {
    font-size: 35px;
    line-height: 45px;
  }

  #homelayout01 {
    top: 140px;
    width: calc(100% - 75px);
    height: 258px;
  }

  .scroll-downs {
    display: none;
  }

  .qlhome a span {
    padding: 6px 5px 7px;
    font-size: 17px;
  }

  .home #headerImage ul li {
    height: 419px;
  }

  #homenews {
    padding: 80px 0 80px;
  }

  #wappen {
    margin-bottom: 10px;
  }

  .catBtn.small,
  .catBtn.middle {
    width: 31.4%;
  }

  .objBtn {
    width: 30.6%;
  }
  #geoIcon::after {
    width: 75px;
  }

  #footer {
    width: calc(100% - 80px);
    padding: 70px 40px;
  }

  #fusszeile {
    width: calc(100% - 80px);
    padding: 26px 40px;
  }

  #popUp {
    right: -125px;
    bottom: 20px;
  }

  #anlesetextnews h4 {
    font-size: 35px;
  }

  #anlesetextnews p {
    font-size: 18px;
    padding-bottom: 20px;
  }

  #ql7 a span {
    display: inline-block;
    width: 175px;
  }

  .qlhome#ql7 a {
    padding: 153px 0 75px;
  }

  #ortsplan p strong {
    font-size: 50px;
  }

  #ortsplan p a {
    font-size: 30px;
  }

  #footer01 {
    width: 42%;
    margin-right: 18%;
  }

  #footer02 {
    width: 40%;
  }

  #footer03 {
    width: 50%;
    margin-right: 25%;
    margin-top: 60px;
  }

  #footer03 h4 {
    text-align: center;
  }

  #layout03 {
    width: 15%;
    margin-top: 10px;
    margin-right: 42.5%;
  }

  #menuequick {
    width: 100%;
    text-align: center;
  }

  .qlhome a {
    padding: 168px 0 93px;
  }

  .qlhome a {
    background: url(../images/ql1icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql2 a {
    background: url(../images/ql2icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql3 a {
    background: url(../images/ql3icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql4 a {
    background: url(../images/ql4icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql5 a {
    background: url(../images/ql5icon.png) top 54px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql6 a {
    background: url(../images/ql6icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql7 a {
    background: url(../images/ql7icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql8 a {
    background: url(../images/ql8icon.png) top 58px center no-repeat;
    background-size: 70px;
  }

  .main #ortsplan {
    height: 60px;
    text-align: center;
  }

  .home #ortsplan {
    height: 470px;
    text-align: center;
  }

  #ortsplan p {
    margin-top: 100px;
  }

  #headerImage {
    margin-top: -104px;
  }

  #wrap02 {
    width: 75px;
  }

  #links .icons::before {
    width: 75px;
  }

  #links .icons#drucken::after {
    width: 75px;
  }

  #wrap01 {
    width: calc(100% - 75px);
  }

  #links .icons {
    padding: 27px 0 26px 21px;
    width: 54px;
  }

  #links .icons:hover {
    width: 150px;
  }

  #menuequick a:last-child {
    margin-right: 0;
  }

  /*CONTENT*/

  #breadcrumb {
    padding-top: 30px;
  }

  #contentbereich .firstFont p {
    line-height: 26px;
    max-width: 100%;
  }

  #headerImage ul li {
    height: 419px;
  }

  #contentbereich .contentbereichInfobox {
    width: calc(100% - 130px);
    padding: 45px 50px;
  }

  #contentbereich {
    padding-bottom: 100px;
  }

  #contentbereich .alles,
  #breadcrumb .alles {
    width: calc(100% - 40px);
    padding: 0 20px 0 20px;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row:last-child
    .ce-column {
    max-width: 48%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row:last-child
    .ce-column {
    max-width: 23.9%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row:last-child
    .ce-column {
    max-width: 32.2%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row:last-child
    .ce-column {
    max-width: 32.2%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row:last-child
    .ce-column {
    max-width: 18.8%;
  }

  #contentbereich .minigal .scrollable .ce-row .ce-column {
    width: 265px;
  }

  #contentbereich .minigal .scrollWrap {
    height: 265px;
  }

  #footer {
    width: calc(100% - 40px);
    padding: 70px 20px;
  }

  #fusszeile {
    width: calc(100% - 40px);
    padding: 26px 20px;
  }

  #popUp {
    right: -125px;
    bottom: 20px;
  }

  #geoIcon::after {
    width: 75px;
  }

  #anlesetextnews h4 {
    font-size: 35px;
  }

  #anlesetextnews p {
    font-size: 18px;
    padding-bottom: 20px;
  }

  #ql7 a span {
    display: inline-block;
    width: 175px;
  }

  .qlhome#ql7 a {
    padding: 153px 0 75px;
  }

  #ortsplan p strong {
    font-size: 45px;
  }

  #ortsplan p a {
    font-size: 27px;
  }

  #footer01 {
    width: 42%;
    margin-right: 8%;
  }

  #footer02 {
    width: 50%;
  }

  #footer03 {
    width: 60%;
    margin-right: 20%;
    margin-top: 60px;
  }

  #footer03 h4 {
    text-align: center;
  }

  #layout03 {
    width: 20%;
    margin-top: 15px;
    margin-right: 40%;
  }

  #menuequick {
    width: 100%;
    text-align: center;
  }

  .qlhome a {
    padding: 168px 0 93px;
  }

  .qlhome a {
    background: url(../images/ql1icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql2 a {
    background: url(../images/ql2icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql3 a {
    background: url(../images/ql3icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql4 a {
    background: url(../images/ql4icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .objBtn {
    width: 29.8%;
  }

  .qlhome#ql5 a {
    background: url(../images/ql5icon.png) top 54px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql6 a {
    background: url(../images/ql6icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql7 a {
    background: url(../images/ql7icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql8 a {
    background: url(../images/ql8icon.png) top 58px center no-repeat;
    background-size: 70px;
  }

  .main #ortsplan {
    height: 60px;
    text-align: center;
  }

  .home #ortsplan {
    height: 410px;
    text-align: center;
  }

  #ortsplan p {
    margin-top: 100px;
  }

  #headerImage {
    margin-top: -66px;
  }

  #menue ul li a:hover::after,
  #menue ul li.menueebene0Active a::after,
  #menue ul li.menueebene1Active a::after,
  #menue ul li.menueebene2Active a::after,
  #menue ul li.menueebene3Active a::after,
  #menue ul li.menueebene4Active a::after {
    display: none;
  }

  #wrap02 {
    width: 75px;
  }

  #links .icons::before {
    width: 75px;
  }

  #links .icons#drucken::after {
    width: 75px;
  }

  #wrap01 {
    width: calc(100% - 75px);
  }

  #links .icons {
    padding: 27px 0 26px 21px;
    width: 54px;
  }

  #links .icons:hover {
    width: 150px;
  }

  #mainMenueSub ul li ul.listCol1,
  #mainMenueSub ul li ul.listCol2,
  #mainMenueSub ul li ul.listCol3 {
    width: 31.3%;
    margin-right: 3%;
  }

  #footer02 p:nth-child(2) {
    margin-bottom: 33px;
  }

  #menuequick a:last-child {
    margin-right: 0;
  }

  #ortsplan p::after {
    left: calc(50% - 100px);
    width: 200px;
  }

  #ortsplanmehr a {
    height: 70px;
  }

  #ortsplan .alles {
    max-width: 70px;
  }

  .qlhome {
    width: 50%;
  }

  #suche {
  }

  #wappen img {
    width: 10%;
  }

  /*CONTENT*/

  #breadcrumb {
    padding-top: 30px;
  }

  #contentbereich .firstFont p {
    line-height: 26px;
    max-width: 100%;
  }

  #headerImage ul li {
    height: 326px;
  }

  #contentbereich .contentbereichInfobox {
    width: calc(100% - 130px);
    padding: 45px 50px;
  }

  #contentbereich {
    padding-bottom: 100px;
  }

  #contentbereich .alles,
  #breadcrumb .alles {
    width: calc(100% - 40px);
    padding: 0 20px 0 20px;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row:last-child
    .ce-column {
    max-width: 48%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row:last-child
    .ce-column {
    max-width: 23.5%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row:last-child
    .ce-column {
    max-width: 31.9%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row:last-child
    .ce-column {
    max-width: 18.4%;
  }

  #contentbereich .minigal .scrollable .ce-row .ce-column {
    width: 200px;
  }

  #contentbereich .minigal .scrollWrap {
    height: 210px;
  }

  #logo a {
    padding: 24px 0;
  }

  .main #logo {
    padding: 0;
  }

  #contentbereich .contentblocksmall .internal-link,
  #contentbereich .contentblocksmall .internal-link-new-window,
  #contentbereich .contentblocksmallnone .internal-link,
  #contentbereich .contentblocksmallnone .internal-link-new-window {
    height: 65px;
    width: 65px;
  }

  #contentbereich .contentblocksmall .ce-bodytext,
  #contentbereich .contentblocksmallnone .ce-bodytext {
    bottom: 80px;
    width: 65px;
    height: 65px;
    right: 15px;
  }

  #contentbereich .contentblocksmall h4 a,
  #contentbereich .contentblocksmallnone h4 a {
    bottom: 69px;
    left: 25px;
    width: 180px;
    padding: 22px 50px 22px 18px;
  }

  #contentbereich .firstFont {
    padding-bottom: 50px;
    margin-bottom: 70px;
  }

  #dynamischeListe2 .teaserPicture {
    width: 50%;
    margin-left: 25%;
  }

  #kalenderOption .kalenderBtn {
    padding: 15px 48px 15px 17px;
    width: 236px;
  }

  #contentbereich .kalenderFilterOption ul.checkboxSplitterKalender li {
    width: 50%;
  }

  .ce-textpic.ce-textpic.ce-center:not(.ce-intext) .ce-row .ce-column a img {
    margin: 0;
  }

  /*SUBNAVI*/
  #subnavi {
    display: block;
  }

  .activatesub {
    background: url(../images/nav420px.png) no-repeat scroll center 19px #676767;
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-size: 15px;
    margin-bottom: 0;
    padding: 10px 0;
    text-align: center;
    width: 100%;
  }

  .activesub {
    background: url(../images/nav420px.png) no-repeat scroll center -8px #676767;
    color: #ffffff;
    cursor: pointer;
    display: none;
    font-size: 15px;
    margin-bottom: 0;
    padding: 10px 0;
    text-align: center;
    width: 100%;
  }

  .responsivenavi {
    display: block;
    width: 100%;
    float: left;
  }

  .show {
    display: block !important;
  }

  #subnavi {
    display: none;
    margin-left: 0;
    width: 100%;
  }

  #subnavi ul {
    width: 100%;
  }

  #subnavi ul ul {
    padding: 0;
  }

  #subnavi ul li {
    width: 100%;
    border-bottom: 1px solid #fff;
  }

  #subnavi ul li a {
    padding: 8px 0;
    text-align: center;
    width: 100%;
    font-size: 16px;
  }

  #subnavi ul li a.menueebeneActive,
  #subnavi ul li a.menueebeneActive:hover {
    padding: 6px 0;
    text-align: center;
    width: 100%;
    background: #007ec5;
  }

  #subnavi ul li a:hover,
  #subnavi ul li a.menueebeneActive,
  #subnavi ul li a.menueebeneActive:hover {
    padding: 8px 0;
    font-size: 16px;
    width: 100%;
  }

  #subnavi ul li a:hover {
    background: #007ec5;
  }

  #subnavi ul li ul li a,
  #subnavi ul li ul li a.menueebeneActive,
  #subnavi ul li ul li a:hover,
  #subnavi ul li ul li a.menueebeneActive:hover,
  #subnavi ul li ul li a:hover {
    font-size: 14px;
    padding: 6px 0 6px 0;
    text-align: center;
    width: 100%;
    background: #fff;
    color: #007ec5;
  }

  #subnavi ul li ul li a:hover,
  #subnavi ul li ul li a.menueebeneActive,
  #subnavi ul li ul li a.menueebeneActive:hover,
  #subnavi ul li ul li a:hover {
    text-decoration: underline;
  }

  #subnavi ul li ul li ul li a,
  #subnavi ul li ul li ul li a:hover,
  #subnavi ul li ul li ul li a.menueebeneActive,
  #subnavi ul li ul li ul li a.menueebeneActive:hover,
  #subnavi ul li ul li ul li a:hover {
    background: none repeat scroll 0 0 #fff !important;
    color: #4ca4d6;
    font-size: 13px;
    padding: 6px 0;
    text-align: center;
    width: 100%;
  }

  #subnavi.show ul li.menueebeneActive ul li.act ul li.act a.menueebeneActive {
    text-decoration: underline;
  }

  /*######################################*/
  /*############ CONTENT #################*/
  /*### FORM ###*/

  .formleft,
  .formright {
    width: 100%;
  }

  .formobjektsmall {
    width: 97% !important;
  }

  ul.schadensmeldung li {
    width: 50%;
  }

  .formobjektkleinVeranstaltung {
    width: 97.4%;
  }

  #contentbereich .export {
    width: 95.5%;
  }

  #kalender .list {
    width: 98%;
  }

  /*### NEWS ###*/
  #dynamischeListe2 .newsText {
    width: 100%;
    float: left;
    margin-top: 10px;
  }

  #dynamischeListe2 .date02 {
    width: 100%;
  }

  /*BILDER*/
  .ce-textpic .ce-gallery .ce-column {
    float: none;
    text-align: center;
  }

  #homelayout02 .ce-textpic .ce-gallery .ce-column {
    float: left;
    text-align: center;
  }

  .ce-textpic.ce-center:not(.ce-intext) .ce-gallery .ce-column {
    display: inline;
    margin-left: 0px;
  }

  /*LIGTHBOX*/
  #lbOuterImageContainer {
    height: auto !important;
    width: 100% !important;
  }

  #lbLightbox img {
    width: 100% !important;
  }

  #prevLink,
  #nextLink {
    height: 100% !important;
  }

  #lbImageDataContainer {
    width: 100% !important;
  }

  .clickenlarge-1 .image-caption {
    background: none;
  }

  /*######################################*/
  /*FOOTER*/
  #footerOeffnungszeiten {
    padding-bottom: 2%;
    padding-left: 3%;
    width: 31%;
  }

  /*######################################*/
  /*Menü*/
  .gs p,
  .ls p {
    display: none;
  }
  #menue .navId.dropdown {
    gap: 1.5rem;
  }
  #menue > ul > li > a:hover::after,
  #menue > ul > li > a:focus::after,
  #menue > ul > li > a:focus-visible::after,
  #menue > ul > li > a:focus-within::after,
  #menue > ul > li.active > a::after {
    left: calc(50% - 70px);
    width: 140px;
  }
  #menue li:hover > ul,
  #menue li:focus-within > ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav_responsive {
    display: block;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 999999999;
    background: transparent url(../images/mainMenueResponsive.png) no-repeat
      scroll 14px center;
    width: 50px;
    height: 85.6px;
    margin-right: 0;
  }
  .nav_responsive.show {
    background: transparent url(../images/mainMenueResponsive.png) no-repeat
      scroll -28px center;
  }

  #menue {
    display: none !important;
  }
  #menue.show {
    display: block !important;
  }
  #layout01-1 {
    padding-right: 0rem;
    width: 100%;
  }
  #menue.responsiveMenue.show .navId.dropdown {
    flex-direction: column;
    margin: 0;
    background-color: #eb3a44;
    height: 100vh;
    gap: 1rem;
    justify-content: flex-start;
    padding-top: 2.5rem;
    border: none;
    box-shadow: none !important;
  }

  #menue > ul > li {
  }
  #menue > ul > li:first-of-type {
    border-top: none;
  }
  #menue .menueebene0Sub {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
    top: 0;
  }

  .nav_responsive {
  }

  #menue {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #2a2a32;
    height: 100vh;
    overflow-y: auto;
    padding: 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
  }

  #menue.show {
    transform: translateY(0);
  }

  #menue ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #menue > ul > li {
  }

  #menue .menueebene0Sub {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
  }

  #menue .has-children ul {
    display: flex;
    flex-direction: column !important;
    padding-left: 1rem !important;
    gap: 0.5rem !important;
  }
  #menue li:hover > ul,
  #menue li:focus-within > ul {
    display: flex;
  }

  #menue .has-children.open .menueebene0Sub {
    display: block;
  }

  /* Basis-Styling für das Hauptmenü */
  #menue {
    width: calc(100% - 75px);
    position: fixed;
    top: 0;
    left: 0;
    background: #2a2a32;
    height: 100vh;
    overflow-y: scroll;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    background: #ec3a44;
    padding: 0 !important;
    padding-top: 2.5rem !important;
  }

  #menue.show {
    transform: translateY(0);
  }

  #menue ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #menue > ul > li {
  }

  /* Erweiterung: sanft ein- und ausklappbare Untermenüs */
  .menueebene0Sub.dropdownSlide {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease-in-out,
      opacity 0.3s ease-in-out;
    opacity: 0;
  }

  .menueebene0Sub.dropdownSlide.show {
    display: flex;
    max-height: 500px; /* ausreichend großer Wert für die max. Höhe */
    opacity: 1;
  }
  /* Fokus-Styling für Tastatursteuerung */
  #menue a:focus {
    outline: 3px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
  }

  /* Geschlossene Untermenüs */
  #menue .menueebene0Sub {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease-in-out,
      opacity 0.3s ease-in-out;
    opacity: 0;
  }

  /* Offene Untermenüs */
  #menue .has-children.open .menueebene0Sub {
    display: flex;
    max-height: 500px;
    opacity: 1;
  }

  /* Aktive Menü-Items */
  #menue .has-children.open > a {
    color: black;
    background-color: #ffffff;
    border-radius: 5px;
  }

  #menue.responsiveMenue.show .navId.dropdown ul {
    background-color: #2a2a32;
    width: 100%;
    padding: 0 !important;
  }
  #menue.responsiveMenue.show .navId.dropdown ul li a {
    text-align: center;
    font-size: 16px;
    text-transform: none;
    padding: 1rem 2.5rem !important;
    justify-content: center;
    text-align: center;
  }
  .#menue ul ul li a {
    display: block !important;
  }
  #menue ul ul ul {
    background: white !important;
    text-align: center;
    align-items: center;
  }
  #menue ul ul ul li {
    width: 100%;
    background: #fff !important;
    border: none;
  }

  #menue ul ul ul li a {
    border: none !important;
  }
  #menue ul ul ul li:hover a {
    border: none !important;
  }
  #menue ul ul ul li a:hover,
  #menue ul ul ul li a:focus,
  #menue ul ul ul li a.active {
    background-color: #d22a1d !important;
  }

  #mainMenue {
    /* right: 0;
    position: absolute;
    top: 0; */
    width: auto;
    z-index: 999;
  }

  #layout01 {
    flex-direction: column;
    flex-wrap: nowrap;
    flex-direction: row;
  }
  #layout01-2 {
    position: relative;
    right: 0;
    padding-right: 2rem;
    width: auto;
    padding-left: 2rem;
    background: #ec3a44;
    border-right: 1px solid #ef5760;
  }

  .ls p,
  .gs p {
    display: none;
  }

  #menue li:hover > ul,
  #menue li:focus-within > ul {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  /*STARTSEITE*/

  .blog-slider {
    min-height: 300px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .blog-slider__content {
    margin-top: 0;
    margin-left: 0;
  }

  .home #headerImage,
  .home #headerImage ul li {
    height: 420px;
  }

  #headerImage .custom-controls {
    bottom: 0%;
  }

  #scrollmaus {
    display: none;
  }

  #slogan h3 {
    font-size: 30px;
    line-height: 40px;
  }

  #homelayout01 {
    top: 110px;
    width: calc(100% - 75px);
    height: 200px;
  }

  .scroll-downs {
    display: none;
  }

  .qlhome a span {
    padding: 6px 5px 7px;
    font-size: 17px;
  }

  .home #headerImage ul li {
    height: 420px;
  }

  .catBtn.small,
  .catBtn.middle {
    width: 47%;
  }

  #homenews {
    padding: 80px 0 80px;
  }

  #wappen {
    margin-bottom: 10px;
  }

  #footer {
    width: calc(100% - 40px);
    padding: 70px 20px;
  }

  #fusszeile {
    width: calc(100% - 40px);
    padding: 26px 20px;
  }

  #popUp {
    right: -125px;
    bottom: 20px;
  }

  #geoIcon::after {
    width: 75px;
  }

  #anlesetextnews h4 {
    font-size: 35px;
  }

  #anlesetextnews p {
    font-size: 18px;
    padding-bottom: 20px;
  }

  #ql7 a span {
    display: inline-block;
    width: 175px;
  }

  .qlhome#ql7 a {
    padding: 153px 0 75px;
  }

  #ortsplan p strong {
    font-size: 45px;
  }

  #ortsplan p a {
    font-size: 27px;
  }

  #footer01 {
    width: 42%;
    margin-right: 8%;
  }

  #footer02 {
    width: 50%;
  }

  #footer03 {
    width: 60%;
    margin-right: 20%;
    margin-top: 60px;
  }

  #footer03 h4 {
    text-align: center;
  }

  #layout03 {
    width: 20%;
    margin-top: 15px;
    margin-right: 40%;
  }

  #menuequick {
    width: 100%;
    text-align: center;
  }

  .qlhome a {
    padding: 168px 0 93px;
  }

  .qlhome a {
    background: url(../images/ql1icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql2 a {
    background: url(../images/ql2icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql3 a {
    background: url(../images/ql3icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql4 a {
    background: url(../images/ql4icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .objBtn {
    width: 29.8%;
  }

  .qlhome#ql5 a {
    background: url(../images/ql5icon.png) top 54px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql6 a {
    background: url(../images/ql6icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql7 a {
    background: url(../images/ql7icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql8 a {
    background: url(../images/ql8icon.png) top 58px center no-repeat;
    background-size: 70px;
  }

  .main #ortsplan {
    height: 60px;
    text-align: center;
  }

  .home #ortsplan {
    height: 410px;
    text-align: center;
  }

  #ortsplan p {
    margin-top: 100px;
  }

  #headerImage {
    margin-top: -66px;
  }

  #wrap02 {
    width: 75px;
  }

  #links .icons::before {
    width: 75px;
  }

  #links .icons#drucken::after {
    width: 75px;
  }

  #wrap01 {
    width: calc(100% - 75px);
  }

  #links .icons {
    padding: 27px 0 26px 21px;
    width: 54px;
  }

  #links .icons:hover {
    width: 150px;
  }

  #footer02 p:nth-child(2) {
    margin-bottom: 33px;
  }

  #menuequick a:last-child {
    margin-right: 0;
  }

  #ortsplan p::after {
    left: calc(50% - 100px);
    width: 200px;
  }

  #ortsplanmehr a {
    height: 70px;
  }

  #ortsplan .alles {
    max-width: 70px;
  }

  .qlhome {
    width: 50%;
  }

  #wappen img {
    width: 10%;
  }

  /*CONTENT*/

  #breadcrumb {
    padding-top: 30px;
  }

  #contentbereich .firstFont p {
    line-height: 26px;
    max-width: 100%;
  }

  #headerImage ul li {
    height: 326px;
  }

  #contentbereich .contentbereichInfobox {
    width: calc(100% - 130px);
    padding: 45px 50px;
  }

  #contentbereich {
    padding-bottom: 100px;
  }

  #contentbereich .alles,
  #breadcrumb .alles {
    width: calc(100% - 40px);
    padding: 0 20px 0 20px;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row:last-child
    .ce-column {
    max-width: 48%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row:last-child
    .ce-column {
    max-width: 23.5%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row:last-child
    .ce-column {
    max-width: 31.9%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row:last-child
    .ce-column {
    max-width: 18.4%;
  }

  #contentbereich .minigal .scrollable .ce-row .ce-column {
    width: 200px;
  }

  #contentbereich .minigal .scrollWrap {
    height: 210px;
  }

  #logo a {
    padding: 24px 0;
  }

  .main #logo {
    padding: 0;
  }

  #contentbereich .contentblocksmall .internal-link,
  #contentbereich .contentblocksmall .internal-link-new-window,
  #contentbereich .contentblocksmallnone .internal-link,
  #contentbereich .contentblocksmallnone .internal-link-new-window {
    height: 65px;
    width: 65px;
  }

  #contentbereich .contentblocksmall .ce-bodytext,
  #contentbereich .contentblocksmallnone .ce-bodytext {
    bottom: 80px;
    width: 65px;
    height: 65px;
    right: 15px;
  }

  #contentbereich .contentblocksmall h4 a,
  #contentbereich .contentblocksmallnone h4 a {
    bottom: 69px;
    left: 25px;
    width: 180px;
    padding: 22px 50px 22px 18px;
  }

  #contentbereich .firstFont {
    padding-bottom: 50px;
    margin-bottom: 70px;
  }

  #dynamischeListe2 .teaserPicture {
    width: 50%;
    margin-left: 25%;
  }

  #kalenderOption .kalenderBtn {
    padding: 15px 48px 15px 17px;
    width: 236px;
  }

  #contentbereich .kalenderFilterOption ul.checkboxSplitterKalender li {
    width: 50%;
  }

  /*SUBNAVI*/
  #subnavi {
    display: block;
  }

  .activatesub {
    background: url(../images/nav420px.png) no-repeat scroll center 19px #676767;
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-size: 15px;
    margin-bottom: 0;
    padding: 10px 0;
    text-align: center;
    width: 100%;
  }

  .activesub {
    background: url(../images/nav420px.png) no-repeat scroll center -8px #676767;
    color: #ffffff;
    cursor: pointer;
    display: none;
    font-size: 15px;
    margin-bottom: 0;
    padding: 10px 0;
    text-align: center;
    width: 100%;
  }

  .responsivenavi {
    display: block;
    width: 100%;
    float: left;
  }

  .show {
    display: block !important;
  }

  #subnavi {
    display: none;
    margin-left: 0;
    width: 100%;
  }

  #subnavi ul {
    width: 100%;
  }

  #subnavi ul ul {
    padding: 0;
  }

  #subnavi ul li {
    width: 100%;
    border-bottom: 1px solid #fff;
  }

  #subnavi ul li a {
    padding: 8px 0;
    text-align: center;
    width: 100%;
    font-size: 16px;
  }

  #subnavi ul li a.menueebeneActive,
  #subnavi ul li a.menueebeneActive:hover {
    padding: 6px 0;
    text-align: center;
    width: 100%;
    background: #007ec5;
  }

  #subnavi ul li a:hover,
  #subnavi ul li a.menueebeneActive,
  #subnavi ul li a.menueebeneActive:hover {
    padding: 8px 0;
    font-size: 16px;
    width: 100%;
  }

  #subnavi ul li a:hover {
    background: #007ec5;
  }

  #subnavi ul li ul li a,
  #subnavi ul li ul li a.menueebeneActive,
  #subnavi ul li ul li a:hover,
  #subnavi ul li ul li a.menueebeneActive:hover,
  #subnavi ul li ul li a:hover {
    font-size: 14px;
    padding: 6px 0 6px 0;
    text-align: center;
    width: 100%;
    background: #fff;
    color: #007ec5;
  }

  #subnavi ul li ul li a:hover,
  #subnavi ul li ul li a.menueebeneActive,
  #subnavi ul li ul li a.menueebeneActive:hover,
  #subnavi ul li ul li a:hover {
    text-decoration: underline;
  }

  #subnavi ul li ul li ul li a,
  #subnavi ul li ul li ul li a:hover,
  #subnavi ul li ul li ul li a.menueebeneActive,
  #subnavi ul li ul li ul li a.menueebeneActive:hover,
  #subnavi ul li ul li ul li a:hover {
    background: none repeat scroll 0 0 #fff !important;
    color: #4ca4d6;
    font-size: 13px;
    padding: 6px 0;
    text-align: center;
    width: 100%;
  }

  #subnavi.show ul li.menueebeneActive ul li.act ul li.act a.menueebeneActive {
    text-decoration: underline;
  }

  /*######################################*/
  /*############ CONTENT #################*/
  /*### FORM ###*/

  .formleft,
  .formright {
    width: 100%;
  }

  .formobjektsmall {
    width: 97% !important;
  }

  ul.schadensmeldung li {
    width: 50%;
  }

  .formobjektkleinVeranstaltung {
    width: 97.4%;
  }

  #contentbereich .export {
    width: 95.5%;
  }

  #kalender .list {
    width: 98%;
  }

  /*### NEWS ###*/
  #dynamischeListe2 .newsText {
    width: 100%;
    float: left;
    margin-top: 10px;
  }

  #dynamischeListe2 .date02 {
    width: 100%;
  }

  /*BILDER*/
  .ce-textpic .ce-gallery .ce-column {
    float: none;
    text-align: center;
  }

  #homelayout02 .ce-textpic .ce-gallery .ce-column {
    float: left;
    text-align: center;
  }

  .ce-textpic.ce-center:not(.ce-intext) .ce-gallery .ce-column {
    display: inline;
    margin-left: 0px;
  }

  /*LIGTHBOX*/
  #lbOuterImageContainer {
    height: auto !important;
    width: 100% !important;
  }

  #lbLightbox img {
    width: 100% !important;
  }

  #prevLink,
  #nextLink {
    height: 100% !important;
  }

  #lbImageDataContainer {
    width: 100% !important;
  }

  .clickenlarge-1 .image-caption {
    background: none;
  }

  /*######################################*/
  /*FOOTER*/
  #footerOeffnungszeiten {
    padding-bottom: 2%;
    padding-left: 3%;
    width: 31%;
  }

  /*######################################*/
  /*Menü*/
  .gs p,
  .ls p {
    display: none;
  }
  #menue .navId.dropdown {
    gap: 1.5rem;
  }
  #menue > ul > li > a:hover::after,
  #menue > ul > li > a:focus::after,
  #menue > ul > li > a:focus-visible::after,
  #menue > ul > li > a:focus-within::after,
  #menue > ul > li.active > a::after {
    left: calc(50% - 70px);
    width: 140px;
  }
  #menue li:hover > ul,
  #menue li:focus-within > ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav_responsive {
    display: block;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 999999999;
    background: transparent url(../images/mainMenueResponsive.png) no-repeat
      scroll 14px center;
    width: 50px;
    height: 85.6px;
    margin-right: 0;
  }
  .nav_responsive.show {
    background: transparent url(../images/mainMenueResponsive.png) no-repeat
      scroll -28px center;
  }

  #menue {
    display: none !important;
  }
  #menue.show {
    display: block !important;
  }
  #layout01-1 {
    padding-right: 0rem;
    width: 100%;
  }
  #menue.responsiveMenue.show .navId.dropdown {
    flex-direction: column;
    margin: 0;
    background-color: #eb3a44;
    height: 100vh;
    gap: 1rem;
    justify-content: flex-start;
    padding-top: 2.5rem;
    border: none;
    box-shadow: none !important;
  }

  #menue > ul > li {
  }
  #menue > ul > li:first-of-type {
    border-top: none;
  }
  #menue .menueebene0Sub {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
    top: 0;
  }

  .nav_responsive {
  }

  #menue {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #2a2a32;
    height: 100vh;
    overflow-y: auto;
    padding: 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
  }

  #menue.show {
    transform: translateY(0);
  }

  #menue ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #menue > ul > li {
  }

  #menue .menueebene0Sub {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
  }

  #menue .has-children ul {
    display: flex;
    flex-direction: column !important;
    padding-left: 1rem !important;
    gap: 0.5rem !important;
  }
  #menue li:hover > ul,
  #menue li:focus-within > ul {
    display: flex;
  }

  #menue .has-children.open .menueebene0Sub {
    display: block;
  }

  /* Basis-Styling für das Hauptmenü */
  #menue {
    width: calc(100% - 75px);
    position: fixed;
    top: 0;
    left: 0;
    background: #2a2a32;
    height: 100vh;
    overflow-y: scroll;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    background: #ec3a44;
    padding: 0 !important;
    padding-top: 2.5rem !important;
  }

  #menue.show {
    transform: translateY(0);
  }

  #menue ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #menue > ul > li {
  }

  /* Erweiterung: sanft ein- und ausklappbare Untermenüs */
  .menueebene0Sub.dropdownSlide {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease-in-out,
      opacity 0.3s ease-in-out;
    opacity: 0;
  }

  .menueebene0Sub.dropdownSlide.show {
    display: flex;
    max-height: 500px; /* ausreichend großer Wert für die max. Höhe */
    opacity: 1;
  }
  /* Fokus-Styling für Tastatursteuerung */
  #menue a:focus {
    outline: 3px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
  }

  /* Geschlossene Untermenüs */
  #menue .menueebene0Sub {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease-in-out,
      opacity 0.3s ease-in-out;
    opacity: 0;
  }

  /* Offene Untermenüs */
  #menue .has-children.open .menueebene0Sub {
    display: flex;
    max-height: 500px;
    opacity: 1;
  }

  /* Aktive Menü-Items */
  #menue .has-children.open > a {
    color: black;
    background-color: #ffffff;
    border-radius: 5px;
  }

  #menue.responsiveMenue.show .navId.dropdown ul {
    background-color: #2a2a32;
    width: 100%;
    padding: 0 !important;
  }
  #menue.responsiveMenue.show .navId.dropdown ul li a {
    text-align: center;
    font-size: 16px;
    text-transform: none;
    padding: 1rem 2.5rem !important;
    justify-content: center;
    text-align: center;
  }
  .#menue ul ul li a {
    display: block !important;
  }
  #menue ul ul ul {
    background: white !important;
    text-align: center;
    align-items: center;
  }
  #menue ul ul ul li {
    width: 100%;
    background: #fff !important;
    border: none;
  }

  #menue ul ul ul li a {
    border: none !important;
  }
  #menue ul ul ul li:hover a {
    border: none !important;
  }
  #menue ul ul ul li a:hover,
  #menue ul ul ul li a:focus,
  #menue ul ul ul li a.active {
    background-color: #d22a1d !important;
  }

  #mainMenue {
    /* right: 0;
    position: absolute;
    top: 0; */
    width: auto;
    z-index: 999;
  }

  #layout01 {
    flex-direction: column;
    flex-wrap: nowrap;
    flex-direction: row;
  }
  #layout01-2 {
    position: relative;
    right: 0;
    padding-right: 1.5rem;
    width: auto;
    padding-left: 1.5rem;
    background: #ec3a44;
    border-right: 1px solid #ef5760;
  }

  .ls p,
  .gs p {
    display: none;
  }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  c7-news-carousel-default {
    width: 96%;
  }
  /*STARTSEITE*/

  .blog-slider {
    min-height: 300px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
  }

  .blog-slider__button {
    width: auto;
  }

  .blog-slider__content {
    margin-top: 0;
    margin-left: 0;
  }

  .home #headerImage,
  .home #headerImage ul li {
    height: 200px;
  }

  #scrollmaus {
    display: none;
  }

  #slogan h3 {
    font-size: 24px;
    padding-bottom: 10px;
    line-height: 30px;
  }

  #homelayout01 {
    top: 200px;
    width: calc(100% - 60px);
    height: 151px;
  }

  .scroll-downs {
    display: none;
  }

  .qlhome a span {
    padding: 6px 5px 7px;
    font-size: 16px;
  }

  .home #headerImage ul li {
    height: 230px;
  }

  #homenews {
    padding: 60px 0 60px;
  }

  #homenews .teaserPicture:hover::before {
    height: calc(100% - 50px);
    top: 23px;
  }

  .catBtn.small,
  .catBtn.middle {
    width: 95%;
  }
  #suche {
    border-right: none !important;
  }
  .objBtn {
    width: 100%;
  }

  #wappen {
    margin-bottom: 10px;
  }

  #homenews .bx-controls.bx-has-pager {
    max-width: 164px;
  }

  #homenews .teaserPicture::before {
    top: 41px;
    height: calc(100% - 82px);
  }
  #footer {
    width: calc(100% - 40px);
    padding: 70px 20px;
  }

  #fusszeile {
    width: calc(100% - 40px);
    padding: 26px 20px;
  }

  #popUp {
    right: -125px;
    bottom: 20px;
  }

  #geoIcon::after {
    width: 60px;
  }

  #anlesetextnews h4 {
    font-size: 30px;
  }

  #anlesetextnews p {
    font-size: 18px;
    padding-bottom: 20px;
  }

  #ql7 a span {
    display: inline-block;
    width: 175px;
  }

  .qlhome#ql7 a {
    padding: 153px 0 76px;
  }

  #ortsplan p strong {
    font-size: 45px;
  }

  #ortsplan p a {
    font-size: 27px;
  }

  #footer01 {
    width: 90%;
    margin-right: 5%;
    text-align: center;
    margin-left: 5%;
  }

  #footer02 {
    width: 90%;
    text-align: center;
    margin-left: 5%;
    margin-top: 50px;
  }

  #footer01 a {
    margin-left: calc(50% - 93.5px);
    margin-top: 10px;
  }

  #footer02 a {
    margin-left: calc(50% - 122.5px);
    margin-top: 10px;
  }

  #footer03 {
    width: 90%;
    margin-right: 5%;
    margin-top: 60px;
  }

  #footer03 h4 {
    text-align: center;
  }

  #layout03 {
    width: 35%;
    margin-top: 15px;
    margin-right: 32.5%;
  }

  #menuequick {
    width: 100%;
    text-align: center;
  }

  .qlhome a {
    padding: 168px 0 93px;
  }

  .qlhome a {
    background: url(../images/ql1icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql2 a {
    background: url(../images/ql2icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql3 a {
    background: url(../images/ql3icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql4 a {
    background: url(../images/ql4icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql5 a {
    background: url(../images/ql5icon.png) top 54px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql6 a {
    background: url(../images/ql6icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql7 a {
    background: url(../images/ql7icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql8 a {
    background: url(../images/ql8icon.png) top 58px center no-repeat;
    background-size: 70px;
  }

  .main #ortsplan {
    height: 60px;
    text-align: center;
  }

  .home #ortsplan {
    height: 410px;
    text-align: center;
  }

  #ortsplan p {
    margin-top: 100px;
  }

  #headerImage {
    margin-top: 0;
  }
  #wrap02 {
    width: 60px;
  }

  #links .icons::before {
    width: 60px;
  }

  #links .icons#drucken::after {
    width: 60px;
  }

  #wrap01 {
    width: calc(100% - 60px);
  }

  #links .icons {
    padding: 27px 0 26px 13px;
    width: 47px;
  }

  #links .icons:hover {
    width: 140px;
  }
  #menuequick a:last-child {
    margin-right: 0;
  }

  #ortsplan p::after {
    left: calc(50% - 100px);
    width: 200px;
  }

  #ortsplanmehr a {
    height: 70px;
  }

  #ortsplan .alles {
    max-width: 70px;
  }

  .qlhome {
    width: 50%;
  }

  #wappen img {
    width: 10%;
  }

  /*CONTENT*/

  #breadcrumb {
    padding-top: 30px;
  }

  #contentbereich .firstFont p {
    line-height: 24px;
    max-width: 100%;
    font-size: 18px;
  }

  #headerImage ul li {
    height: 195px;
  }

  #contentbereich .contentbereichInfobox {
    width: calc(100% - 40px);
    padding: 25px 15px;
    border: 5px solid #2a2a32;
  }

  #contentbereich {
    padding-bottom: 100px;
  }

  #contentbereich .alles,
  #breadcrumb .alles {
    width: calc(100% - 40px);
    padding: 0 20px 0 20px;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row:last-child
    .ce-column {
    max-width: 48%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row:last-child
    .ce-column {
    max-width: 22.5%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row:last-child
    .ce-column {
    max-width: 30.9%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row:last-child
    .ce-column {
    max-width: 17.3%;
  }

  #contentbereich .minigal .scrollable .ce-row .ce-column {
    width: 110px;
  }

  #contentbereich .minigal .scrollWrap {
    height: 140px;
  }

  #contentbereich .minigal .scrollable {
    height: 140px;
  }

  #contentbereich h4 {
    font-size: 25px;
  }

  .contentblocksmall,
  .contentblocksmallnone {
    width: 100%;
  }

  #logo a {
    padding: 24px 0;
  }

  .main #logo {
    padding: 0;
  }

  #contentbereich .contentblocksmall .internal-link,
  #contentbereich .contentblocksmall .internal-link-new-window,
  #contentbereich .contentblocksmallnone .internal-link,
  #contentbereich .contentblocksmallnone .internal-link-new-window {
    height: 65px;
    width: 65px;
  }

  #contentbereich .contentblocksmall .ce-bodytext,
  #contentbereich .contentblocksmallnone .ce-bodytext {
    bottom: 80px;
    width: 65px;
    height: 65px;
    right: 15px;
  }

  #contentbereich .contentblocksmall h4 a,
  #contentbereich .contentblocksmallnone h4 a {
    bottom: 69px;
    left: 15px;
    width: 234px;
    padding: 22px 46px 22px 18px;
  }

  #contentbereich .firstFont {
    padding-bottom: 50px;
    margin-bottom: 70px;
  }

  #breadcrumb a {
    margin-top: 5px;
  }

  div#breadcrumbText {
    padding-top: 0px;
  }

  #contentbereich .firstFont h4 {
    font-size: 30px;
    line-height: 34px;
    margin: 0px 0 20px;
  }

  #contentbereich p {
    line-height: 25px;
    font-size: 17px;
    margin-bottom: 0;
  }

  .contentElement {
    margin-bottom: 35px;
  }

  #dynamischeListe2 .teaserPicture {
    width: 100%;
  }

  #dynamischeListe2 ul li {
    padding: 30px 20px;
    width: calc(100% - 40px);
  }

  table.contenttable {
    overflow-x: scroll;
    display: block;
  }

  #kalenderOption .kalenderBtn {
    padding: 15px 48px 15px 17px;
    width: 298px;
  }

  #contentbereich .kalenderFilterOption ul.checkboxSplitterKalender li {
    width: 100%;
  }

  .fc-toolbar .fc-center {
    margin-top: 10px;
  }

  #contentbereich .kalenderFilterOption {
    padding: 15px 15px;
    width: calc(100% - 30px);
  }

  .kalenderFilterOption .rahmen.left,
  .kalenderFilterOption .rahmen.right {
    width: 47%;
  }

  .kalenderFilterOption .rahmen.last {
    width: 98%;
  }

  #kalenderOutlook .calTextDetailPicture,
  #kalenderOutlook .calTextDetailPicturePlaceholder {
    width: 100%;
  }

  #homenews .teaserText h4 a {
    font-size: 18px;
  }

  .ce-textpic.ce-textpic.ce-center:not(.ce-intext) .ce-row .ce-column a img {
    margin: 0;
  }

  /*SUBNAVI*/
  .activatesub {
    background: url(../images/nav420px.png) no-repeat scroll center 19px #676767;
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-size: 15px;
    margin-bottom: 0;
    padding: 14px 0 14px;
    text-align: center;
    width: 100%;
  }

  .activesub {
    background: url("../images/nav420px.png") no-repeat scroll center -8px
      #676767;
    color: #ffffff;
    cursor: pointer;
    display: none;
    font-size: 15px;
    margin-bottom: 0;
    padding: 14px 0 14px;
    text-align: center;
    width: 100%;
  }

  .responsivenavi {
    display: block;
    width: 100%;
    float: left;
  }

  .show {
    display: block !important;
  }

  #subnavi {
    display: none;
    margin-left: 0;
    width: 100%;
  }

  #subnavi ul {
    width: 100%;
  }

  #subnavi ul ul {
    padding: 0;
  }

  #subnavi ul li {
    width: 100%;
    border-bottom: 1px solid #fff;
  }

  #subnavi ul li a {
    padding: 8px 0;
    text-align: center;
    width: 100%;
    font-size: 16px;
  }

  #subnavi ul li a.menueebeneActive,
  #subnavi ul li a.menueebeneActive:hover {
    padding: 6px 0;
    text-align: center;
    width: 100%;
    background: #007ec5;
  }

  #subnavi ul li a:hover,
  #subnavi ul li a.menueebeneActive,
  #subnavi ul li a.menueebeneActive:hover {
    padding: 8px 0;
    font-size: 16px;
    width: 100%;
  }

  #subnavi ul li a:hover {
    background: #007ec5;
  }

  #subnavi ul li ul li a,
  #subnavi ul li ul li a.menueebeneActive,
  #subnavi ul li ul li a:hover,
  #subnavi ul li ul li a.menueebeneActive:hover,
  #subnavi ul li ul li a:hover {
    font-size: 14px;
    padding: 6px 0 6px 0;
    text-align: center;
    width: 100%;
    background: #fff;
    color: #007ec5;
  }

  #subnavi ul li ul li a:hover,
  #subnavi ul li ul li a.menueebeneActive,
  #subnavi ul li ul li a.menueebeneActive:hover,
  #subnavi ul li ul li a:hover {
    text-decoration: underline;
  }

  #subnavi ul li ul li ul li a,
  #subnavi ul li ul li ul li a:hover,
  #subnavi ul li ul li ul li a.menueebeneActive,
  #subnavi ul li ul li ul li a.menueebeneActive:hover,
  #subnavi ul li ul li ul li a:hover {
    background: none repeat scroll 0 0 #fff !important;
    color: #4ca4d6;
    font-size: 13px;
    padding: 6px 0;
    text-align: center;
    width: 100%;
  }

  #subnavi.show ul li.menueebeneActive ul li.act ul li.act a.menueebeneActive {
    text-decoration: underline;
  }

  /*QUICKLINKS*/
  #quick {
    width: 0%;
    display: none;
  }

  /*### WETTER ###*/
  #weatherBox {
    background: transparent url("../images/wetterboxBG_420-Kopie.jpg") no-repeat
      scroll 0 0;
    border: 1px solid #cccccc;
    clear: both;
    float: left;
    height: 290px;
    margin-bottom: 25px;
    padding: 123px 15% 0;
    width: 70%;
  }

  #weatherBox .bottom .daytext,
  #weatherBox .bottom .daytext {
    width: 55%;
  }

  #weatherBox .bottom .picture {
    width: 45%;
  }

  #weatherBox .today {
    float: left;
    width: 100%;
  }

  #weatherBox .tomorrow {
    float: right;
    width: 100%;
  }

  #weatherBox .top {
    width: 258px;
  }

  #weatherBox .bottom {
    width: 259px;
  }

  /*### FORM ###*/
  .formleft,
  .formright {
    width: 100%;
  }
  .formobjektsmall {
    width: 97% !important;
  }
  ul.schadensmeldung li {
    width: 50%;
  }
  .formobjektkleinVeranstaltung {
    width: 97.4%;
  }
  #contentbereich .export {
    width: 95.5%;
  }
  #kalender .list {
    width: 98%;
  }

  /*### KALENDER ###*/
  #kalender .date {
    padding-right: 3%;
  }

  #kalender .entry {
    width: 87%;
  }

  /*### NEWS ###*/
  #dynamischeListe2 .newsText {
    margin-top: 10px;
    width: 100%;
  }

  #photoListe .data {
    width: 80%;
  }

  /*### FOTO ###*/
  #photoListe ul li {
    width: 100%;
  }

  /*BILDER*/
  .ce-textpic .ce-gallery .ce-column {
    float: none;
    text-align: center;
  }

  #homelayout02 .ce-textpic .ce-gallery .ce-column {
    float: left;
    text-align: center;
  }

  .ce-textpic.ce-center:not(.ce-intext) .ce-gallery .ce-column {
    display: inline;
    margin-left: 0px;
  }

  .ce-gallery {
    text-align: center;
    width: 100%;
  }

  /*LIGTHBOX*/
  #lbOuterImageContainer {
    height: auto !important;
    width: 100% !important;
  }

  #lbLightbox img {
    width: 100% !important;
  }

  #prevLink,
  #nextLink {
    height: 100% !important;
  }

  #lbImageDataContainer {
    width: 100% !important;
  }

  .clickenlarge-1 .image-caption {
    background: none;
  }

  .ls p,
  .gs p {
    display: none;
  }
  .logo-wrapper {
    width: auto;
  }

  /*######################################*/
  /*Menü*/
  .gs p,
  .ls p {
    display: none;
  }
  #menue .navId.dropdown {
    gap: 1.5rem;
  }
  #menue > ul > li > a:hover::after,
  #menue > ul > li > a:focus::after,
  #menue > ul > li > a:focus-visible::after,
  #menue > ul > li > a:focus-within::after,
  #menue > ul > li.active > a::after {
    left: calc(50% - 70px);
    width: 140px;
  }
  #menue li:hover > ul,
  #menue li:focus-within > ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav_responsive {
    display: block;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 999999999;
    background: transparent url(../images/mainMenueResponsive.png) no-repeat
      scroll 14px center;
    width: 50px;
    height: 85.6px;
    margin-right: 0;
  }
  .nav_responsive.show {
    background: transparent url(../images/mainMenueResponsive.png) no-repeat
      scroll -28px center;
  }

  #menue {
    display: none !important;
  }
  #menue.show {
    display: block !important;
  }
  #menue.responsiveMenue.show .navId.dropdown {
    flex-direction: column;
    margin: 0;
    background-color: #eb3a44;
    height: 100vh;
    gap: 1rem;
    justify-content: flex-start;
    padding-top: 2.5rem;
    border: none;
    box-shadow: none !important;
  }

  #menue > ul > li {
  }
  #menue > ul > li:first-of-type {
    border-top: none;
  }
  #menue .menueebene0Sub {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
    top: 0;
  }

  .nav_responsive {
    position: relative;
  }

  #menue {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #2a2a32;
    height: 100vh;
    overflow-y: auto;
    padding: 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
  }

  #menue.show {
    transform: translateY(0);
  }

  #menue ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #menue > ul > li {
  }

  #menue .menueebene0Sub {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
  }

  #menue .has-children ul {
    display: flex;
    flex-direction: column !important;
    padding-left: 1rem !important;
    gap: 0.5rem !important;
  }
  #menue li:hover > ul,
  #menue li:focus-within > ul {
    display: flex;
  }

  #menue .has-children.open .menueebene0Sub {
    display: block;
  }

  /* Basis-Styling für das Hauptmenü */
  #menue {
    width: calc(100% - 75px);
    position: fixed;
    top: 0;
    left: 0;
    background: #2a2a32;
    height: 100vh;
    overflow-y: scroll;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    background: #ec3a44;
    padding: 0 !important;
    padding-top: 2.5rem !important;
  }

  #menue.show {
    transform: translateY(0);
  }

  #menue ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #menue > ul > li {
  }

  /* Erweiterung: sanft ein- und ausklappbare Untermenüs */
  .menueebene0Sub.dropdownSlide {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease-in-out,
      opacity 0.3s ease-in-out;
    opacity: 0;
  }

  .menueebene0Sub.dropdownSlide.show {
    display: flex;
    max-height: 500px; /* ausreichend großer Wert für die max. Höhe */
    opacity: 1;
  }
  /* Fokus-Styling für Tastatursteuerung */
  #menue a:focus {
    outline: 3px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
  }

  /* Geschlossene Untermenüs */
  #menue .menueebene0Sub {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease-in-out,
      opacity 0.3s ease-in-out;
    opacity: 0;
  }

  /* Offene Untermenüs */
  #menue .has-children.open .menueebene0Sub {
    display: flex;
    max-height: 500px;
    opacity: 1;
  }

  /* Aktive Menü-Items */
  #menue .has-children.open > a {
    color: black;
    background-color: #ffffff;
    border-radius: 5px;
  }

  #menue.responsiveMenue.show .navId.dropdown ul {
    background-color: #2a2a32;
    width: 100%;
    padding: 0 !important;
  }
  #menue.responsiveMenue.show .navId.dropdown ul li a {
    text-align: center;
    font-size: 16px;
    text-transform: none;
    padding: 1rem 2.5rem !important;
    justify-content: center;
    text-align: center;
  }
  .#menue ul ul li a {
    display: block !important;
  }
  #menue ul ul ul {
    background: white !important;
    text-align: center;
    align-items: center;
  }
  #menue ul ul ul li {
    width: 100%;
    background: #fff !important;
    border: none;
  }

  #menue ul ul ul li a {
    border: none !important;
  }
  #menue ul ul ul li:hover a {
    border: none !important;
  }
  #menue ul ul ul li a:hover,
  #menue ul ul ul li a:focus,
  #menue ul ul ul li a.active {
    background-color: #d22a1d !important;
  }

  #mainMenue {
    /* right: 0;
    position: absolute;
    top: 0; */
    width: auto;
    z-index: 999;
  }

  #layout01 {
    flex-direction: column;
    flex-wrap: nowrap;
    flex-direction: row;
    background: #ec3a44;
    padding: 0 40px;
    width: unset;
  }
  #layout01-2 {
    position: relative;
    right: 0;
    padding-right: 0;
    width: 15%;
    padding-left: 0;
    background: transparent;
    border-right: none;
  }
  #layout01-1 {
    width: 85%;
    flex-direction: column;
    padding: 0;
    background-color: transparent;
    align-items: flex-start;
  }
  #menue {
    width: 100%;
  }
  #sprache .ls {
    padding-left: 0;
  }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
  #contentbereich .ce-textpic.ce-center:not(.ce-intext) .ce-gallery .ce-column {
    margin-top: 50px !important;
  }

  .appointments {
    padding: 20px 0 20px;
  }
  c7-news-carousel-default {
    width: 96%;
  }
  /*STARTSEITE*/

  #mainMenue {
    width: 100%;
    margin-right: 0;
    float: left;
  }

  .appointments {
    padding: 50px 0 50px;
  }

  .blog-slider {
    min-height: 300px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
  }

  .blog-slider__button {
    width: auto;
  }

  .blog-slider__content {
    margin-top: 0;
    margin-left: 0;
  }

  #scrollmaus {
    display: none;
  }

  #slogan h3 {
    display: none;
  }

  #homelayout01 {
    top: 200px;
    left: 10%;
    height: auto;
    width: 80%;
  }

  .scroll-downs {
    display: none;
  }
  #headerImage .custom-controls {
    z-index: 999;
  }

  .qlhome a span {
    padding: 6px 5px 7px;
    font-size: 16px;
  }

  .home #headerImage ul li {
    height: 195px;
  }

  #homenews {
    padding: 60px 0 60px;
  }

  #logo {
    width: 70%;
  }

  #wappen {
    margin-bottom: 10px;
  }
  #footer {
    width: calc(100% - 0);
  }

  .catBtn.small,
  .catBtn.middle {
    width: 92%;
  }
  .objBtn {
    width: 100%;
  }

  #fusszeile {
    width: calc(100% - 30px);
    padding: 26px 15px;
  }

  #popUp {
    right: -55px;
    bottom: 20px;
  }

  #anlesetextnews h4 {
    font-size: 24px;
  }

  #anlesetextnews p {
    font-size: 17px;
    padding-bottom: 20px;
  }

  #ql7 a span {
    display: inline-block;
    width: 175px;
  }

  .qlhome#ql7 a {
    padding: 153px 0 76px;
  }

  #homenews .bx-wrapper {
    margin: 0;
  }

  #ortsplan p strong {
    font-size: 40px;
  }

  #ortsplan p a {
    font-size: 22px;
  }

  #footer01 {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }

  #footer02 {
    width: 100%;
    text-align: center;
    margin-top: 50px;
  }

  #footer01 a {
    margin-left: calc(50% - 86.5px);
    margin-top: 10px;
  }

  #footer02 a {
    margin-left: calc(50% - 112.4px);
    margin-top: 10px;
  }

  #footer03 {
    width: 100%;
    margin-top: 60px;
  }

  #footer03 h4 {
    text-align: center;
  }

  #layout03 {
    width: 60%;
    margin-top: 15px;
    margin-right: 20%;
  }

  #menuequick {
    width: 100%;
    text-align: center;
  }

  .qlhome a {
    padding: 150px 0 50px;
  }

  .qlhome a {
    background: url(../images/ql1icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql2 a {
    background: url(../images/ql2icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  #homenews .bx-controls.bx-has-pager {
    max-width: none;
    margin-left: 10px;
  }

  .qlhome#ql3 a {
    background: url(../images/ql3icon.png) top 53px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql4 a {
    background: url(../images/ql4icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql5 a {
    background: url(../images/ql5icon.png) top 54px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql6 a {
    background: url(../images/ql6icon.png) top 51px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql7 a {
    background: url(../images/ql7icon.png) top 60px center no-repeat;
    background-size: 70px;
  }

  .qlhome#ql8 a {
    background: url(../images/ql8icon.png) top 58px center no-repeat;
    background-size: 70px;
  }

  #homenews li.news {
    width: 12.7% !important;
  }

  .main #ortsplan {
    height: 60px;
    text-align: center;
  }

  .home #ortsplan {
    height: 390px;
    text-align: center;
  }

  .ce-textpic.ce-right.ce-intext:not(.ce-nowrap) .ce-gallery,
  .ce-textpic.ce-right.ce-intext.ce-nowrap .ce-gallery {
    margin-left: 0 !important;
  }

  #ortsplan p {
    margin-top: 100px;
  }

  #headerImage {
    margin-top: 0;
  }

  #wrap02 {
    display: none;
  }

  #links .icons::before {
    width: 60px;
  }

  #links .icons#drucken::after {
    width: 60px;
  }

  #wrap01 {
    width: 100%;
  }

  #links .icons {
    padding: 27px 0 26px 13px;
    width: 47px;
  }

  #links .icons:hover {
    width: 140px;
  }
  #menuequick a:last-child {
    margin-right: 0;
  }

  #ortsplan p::after {
    left: calc(50% - 90px);
    width: 180px;
  }

  #ortsplanmehr a {
    height: 70px;
  }

  #ortsplan .alles {
    max-width: 70px;
  }

  .qlhome {
    width: 100%;
  }

  #suche {
    padding: 21px 0;
  }

  #wappen img {
    width: 25%;
  }

  #footer {
    font-size: 17px;
  }

  #footer h4 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  #footer strong {
    font-size: 19px;
  }

  #anlesetextnews p::after {
    width: 240px;
    left: calc(50% - 120px);
  }

  #homenews .bx-pager {
    margin-top: 30px;
    left: 50%;
    position: relative;
    float: left;
    width: 65%;
    transform: translate(-50%);
  }

  .home #headerImage,
  .home #headerImage ul li {
    height: 230px;
  }

  .bx-wrapper {
    margin-right: 0 !important;
    position: relative;
    transform: translate(-50%);
    left: 50%;
  }
  .bx-viewport {
    height: 230px !important;
  }
  #homenews .alleArtikel {
    position: absolute;
    bottom: -40px;
    width: 27px;
    left: 50%;
    transform: translate(-50%);
    right: 0;
  }

  #homenews .teaserPicture::before {
    top: 41px;
    height: calc(100% - 85px);
  }

  #homenews .teaserPicture:hover::before {
    top: 31px;
    height: calc(100% - 66px);
  }

  /*CONTENT*/

  #breadcrumb {
    padding-top: 30px;
  }

  #contentbereich .firstFont p {
    line-height: 23px;
    max-width: 100%;
    font-size: 17px;
  }

  #headerImage ul li {
    height: 146px;
  }

  #contentbereich .contentbereichInfobox {
    width: calc(100% - 30px);
    padding: 20px 10px;
    border: 5px solid #2a2a32;
  }

  #contentbereich .contentbereichInfobox h4 {
    font-size: 21px;
  }

  #contentbereich {
    padding-bottom: 100px;
  }

  #contentbereich .alles,
  #breadcrumb .alles {
    width: calc(100% - 30px);
    padding: 0 15px 0 15px;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="2"]
    .ce-row:last-child
    .ce-column {
    max-width: 48%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="4"]
    .ce-row:last-child
    .ce-column {
    max-width: 21.7%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="3"]
    .ce-row:last-child
    .ce-column {
    max-width: 30.1%;
  }

  #contentbereich
    .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row
    .ce-column,
  .ce-textpic.ce-center:not(.ce-intext)
    .ce-gallery[data-ce-columns="5"]
    .ce-row:last-child
    .ce-column {
    max-width: 16.4%;
  }

  #contentbereich .minigal .scrollable .ce-row .ce-column {
    width: 80px;
  }

  #contentbereich .minigal .scrollWrap {
    height: 180px;
  }

  #contentbereich .minigal .scrollable {
    height: 180px;
  }

  .ce-textpic.ce-left.ce-intext:not(.ce-nowrap) .ce-gallery,
  .ce-textpic.ce-left.ce-intext.ce-nowrap .ce-gallery {
    margin-right: 0px !important;
  }

  #contentbereich h4 {
    font-size: 21px;
  }

  .contentblocksmall,
  .contentblocksmallnone {
    width: 100%;
  }

  #logo a {
    padding: 24px 0;
  }

  .main #logo {
    padding: 0;
  }

  #contentbereich .contentblocksmall .internal-link,
  #contentbereich .contentblocksmall .internal-link-new-window,
  #contentbereich .contentblocksmallnone .internal-link,
  #contentbereich .contentblocksmallnone .internal-link-new-window {
    height: 55px;
    width: 55px;
  }

  #contentbereich .contentblocksmall .ce-bodytext,
  #contentbereich .contentblocksmallnone .ce-bodytext {
    bottom: 66px;
    width: 55px;
    height: 55px;
    right: 15px;
  }

  #contentbereich .contentblocksmall h4 a,
  #contentbereich .contentblocksmallnone h4 a {
    bottom: 50px;
    left: 15px;
    width: 150px;
    padding: 22px 46px 22px 18px;
    font-size: 16px;
  }

  #contentbereich .firstFont {
    padding-bottom: 50px;
    margin-bottom: 50px;
  }

  #breadcrumb a {
    margin-top: 5px;
  }

  div#breadcrumbText {
    padding-top: 0px;
  }
  #slogan h3 {
    color: #fff;
    font-family: Montserrat-Bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-size: 20px;
    position: relative;
    line-height: 26px;
    padding-bottom: 8px;
    padding-top: 8px;
  }
  #contentbereich .firstFont h4 {
    font-size: 24px;
    line-height: 27px;
    margin: 0px 0 20px;
  }

  #contentbereich p {
    line-height: 24px;
    font-size: 16px;
    margin-bottom: 0;
  }

  .contentElement {
    margin-bottom: 35px;
  }

  #dynamischeListe2 .teaserPicture {
    width: 100%;
  }

  #dynamischeListe2 ul li {
    padding: 20px 15px;
    width: calc(100% - 30px);
  }

  table.contenttable {
    overflow-x: scroll;
    display: block;
  }

  #kalenderOption .kalenderBtn {
    padding: 15px 48px 15px 17px;
    width: 208px;
  }

  #contentbereich .kalenderFilterOption ul.checkboxSplitterKalender li {
    width: 100%;
  }

  .fc-toolbar .fc-center {
    margin-top: 10px;
  }

  #contentbereich .kalenderFilterOption {
    padding: 15px 15px;
    width: calc(100% - 30px);
  }

  .kalenderFilterOption .rahmen.left,
  .kalenderFilterOption .rahmen.right {
    width: 100%;
  }

  .kalenderFilterOption .rahmen.last {
    width: 100%;
  }

  #kalenderOutlook .calTextDetailPicture,
  #kalenderOutlook .calTextDetailPicturePlaceholder {
    width: 100%;
    margin-right: 15px;
  }

  #kalenderOption .pdfBtn {
    background-position: right 15px bottom 20px;
  }

  .ce-textpic.ce-textpic.ce-center:not(.ce-intext) .ce-row .ce-column a img {
    margin: 0;
  }

  /*QUICKLINKS*/
  #quick {
    width: 0%;
    display: none;
  }

  /*### WETTER ###*/
  #weatherBox {
    background: transparent url("../images/wetterboxBG_420-Kopie.jpg") no-repeat
      scroll 0 0;
    border: 1px solid #cccccc;
    clear: both;
    float: left;
    height: 290px;
    margin-bottom: 25px;
    padding: 123px 10% 0;
    width: 79%;
  }

  #weatherBox .top,
  #weatherBox .bottom {
    width: 230px;
  }
  #weatherBox .today {
    float: left;
    width: 100%;
  }
  #weatherBox .tomorrow {
    float: right;
    width: 100%;
  }

  /*### FORM ###*/
  .formleft,
  .formright {
    width: 100%;
  }
  .formobjektsmall {
    width: 97% !important;
  }
  ul.schadensmeldung li {
    width: 50%;
  }
  .formobjektkleinVeranstaltung {
    width: 97.4%;
  }
  #contentbereich .export {
    width: 95.5%;
  }
  #kalender .list {
    width: 98%;
  }

  /*### KALENDER ###*/
  #kalender .date {
    padding-right: 3%;
  }

  #kalender .entry {
    width: 87%;
  }

  /*### NEWS ###*/

  #dynamischeListe2 .newsText {
    margin-top: 10px;
    width: 100%;
  }

  #photoListe .data {
    width: 80%;
    padding-left: 5px;
  }

  /*### FOTO ###*/
  #photoListe ul li {
    width: 100%;
  }

  /*BILDER*/
  .ce-textpic .ce-gallery .ce-column {
    float: none;
    text-align: center;
  }

  #homelayout02 .ce-textpic .ce-gallery .ce-column {
    float: left;
    text-align: center;
  }

  .ce-textpic.ce-center:not(.ce-intext) .ce-gallery .ce-column {
    display: inline;
    margin-left: 0px;
  }

  .ce-gallery {
  }

  #contentbereich
    #contentColRight
    .contentElement
    .clickenlarge-1
    .ce-textpic.ce-textpic.ce-right.ce-intext:not(.ce-nowrap).ce-textpic
    .ce-border.csc-textpic-equalheight
    .ce-gallery.ce-gallery0 {
    margin-top: -22px;
    width: 100%;
  }

  /*LIGTHBOX*/
  #lbOuterImageContainer {
    height: auto !important;
    width: 100% !important;
  }

  #lbLightbox img {
    width: 100% !important;
  }

  #prevLink,
  #nextLink {
    height: 100% !important;
  }

  #lbImageDataContainer {
    width: 100% !important;
  }

  .clickenlarge-1 .image-caption {
    background: none;
  }

  .nav_responsive {
    display: block;
    right: 0;
    position: absolute;
    top: 0;
    cursor: pointer;
    z-index: 999999999;
    background: transparent url(../images/mainMenueResponsive.png) no-repeat
      scroll 14px center;
    width: 50px;
    height: 85.6px;
    margin-right: 2rem;
  }
  .nav_responsive.show {
    background: transparent url(../images/mainMenueResponsive.png) no-repeat
      scroll -28px center;
  }

  #menue {
    display: none !important;
  }
  #menue.show {
    display: block !important;
  }
  #layout01-1 {
    padding-right: 7rem;
  }
  #menue.responsiveMenue.show .navId.dropdown {
    flex-direction: column;
    margin: 0;
    background-color: #eb3a44;
    height: 100vh;
    gap: 1rem;
    justify-content: flex-start;
    padding: 0rem;
    margin-top: 85.6px;
    border: none;
    box-shadow: none !important;
  }
  #menue > ul > li {
  }
  #menue > ul > li:first-of-type {
    border-top: none;
  }
  #menue .menueebene0Sub {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
    top: 0;
  }

  .nav_responsive {
  }

  #menue {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #2a2a32;
    height: 100vh;
    overflow-y: auto;
    padding: 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
  }

  #menue.show {
    transform: translateY(0);
  }

  #menue ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #menue > ul > li {
  }

  #menue .menueebene0Sub {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
  }

  #menue .has-children ul {
    display: flex;
    flex-direction: column !important;
    padding-left: 1rem !important;
    gap: 0.5rem !important;
  }
  #menue li:hover > ul,
  #menue li:focus-within > ul {
    display: flex;
  }

  #menue .has-children.open .menueebene0Sub {
    display: block;
  }

  /* Basis-Styling für das Hauptmenü */
  #menue {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #2a2a32;
    height: 100vh;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    background: #ec3a44;
    margin: 0;
    padding: 0;
  }
  #menue > ul > li > a {
    padding: 1.5rem 0.5rem;
  }
  #menue.show {
    transform: translateY(0);
  }

  #menue ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #menue > ul > li {
  }

  /* Erweiterung: sanft ein- und ausklappbare Untermenüs */
  .menueebene0Sub.dropdownSlide {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease-in-out,
      opacity 0.3s ease-in-out;
    opacity: 0;
  }

  .menueebene0Sub.dropdownSlide.show {
    display: flex;
    max-height: 500px; /* ausreichend großer Wert für die max. Höhe */
    opacity: 1;
  }
  /* Fokus-Styling für Tastatursteuerung */
  #menue a:focus {
    outline: 3px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
  }

  /* Geschlossene Untermenüs */
  #menue .menueebene0Sub {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease-in-out,
      opacity 0.3s ease-in-out;
    opacity: 0;
  }

  /* Offene Untermenüs */
  #menue .has-children.open .menueebene0Sub {
    display: flex;
    max-height: 500px;
    opacity: 1;
  }

  /* Aktive Menü-Items */
  #menue .has-children.open > a {
    color: black;
    background-color: #ffffff;
    border-radius: 5px;
  }

  #menue.responsiveMenue.show .navId.dropdown ul {
    background-color: #2a2a32;
    width: 100%;
    padding: 0 !important;
  }
  #menue.responsiveMenue.show .navId.dropdown ul li a {
    text-align: center;
    font-size: 16px;
    text-transform: none;
    padding: 1rem 2.5rem !important;
    justify-content: center;
    text-align: center;
    border: none;
  }
  .#menue ul ul li a {
    display: block !important;
  }
  #menue ul ul ul {
    background: white !important;
    text-align: center;
    align-items: center;
  }
  #menue ul ul ul li {
    width: 100%;
    background: #fff !important;
    border: none;
  }

  #menue ul ul ul li a {
    border: none !important;
  }
  #menue ul ul ul li:hover a {
    border: none !important;
  }
  #menue ul ul ul li a:hover,
  #menue ul ul ul li a:focus,
  #menue ul ul ul li a.active {
    background-color: #d22a1d !important;
  }

  .logo-wrapper {
    width: 100%;
  }

  .accessibility-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  #layout01-1 {
    padding-right: 7rem;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  #sprache {
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    order: 2;
  }
  #layout01-1 #kontrast-alles1,
  #layout01-1 #kontrast-alles2 .ls,
  .gs,
  #suche {
    border: none !important;
    order: 1;
  }
  .ls p,
  .gs p {
    display: none;
  }

  #menue ul ul > li,
  #menue ul ul > li,
  #menue ul ul > li,
  #menue ul ul > li {
    width: 100%;
  }
}

@media only screen and (max-width: 375px) {
  #homelayout01 {
    top: 280px;
  }
}
