@media (max-width:600px) {
  .content .content_general .iframe-container {
    padding-top: 140%;
  }
}

.csc-textpic.csc-textpic-intext-right .csc-textpic-imagewrap {
  max-width: 200px;
  float: right;
  padding-right: 12px;
}
@media (max-width:600px) {
  .csc-textpic.csc-textpic-intext-right .csc-textpic-imagewrap {
    padding-right: 0px;
  }
}
.csc-textpic.csc-textpic-intext-right .csc-textpic-imagewrap .csc-textpic-imagerow {
  /*display: flex;*/
}
.csc-textpic.csc-textpic-intext-right .csc-textpic-imagewrap .csc-textpic-imagerow.csc-textpic-imagerow-last {
  padding-top: 12px;
  padding-bottom: 12px;
}
#a975 .csc-textpic .csc-textpic-imagewrap img {
  background-color: #FFF
}

#a975 .csc-textpic-center-inner, #a1025 .csc-textpic-center-inner {
  float: left;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 24px;
}
 #a1025 .csc-textpic-center-inner {
  padding-top: 18px;
}

/* ******************* klickpfad: ******************* */
.KPaddress {
  text-decoration: none;
  font-style: normal;
  color: #000;
  display: inline-block;
  padding-left:18px;
  padding-right:0px;
  padding-top:6px;
  padding-bottom:6px;
  margin:0;
}
.KPmiddle a,
.KPcurr a {
  text-decoration: none;
  font-style: normal;
  color: #940000;
  color: #222;
}
.KPfirst,
.KPmiddle,
.KPlast,
.KPcurr {
  display: inline-block;
  padding-right: 0px;
  padding-left: 18px;
  padding-bottom:6px;
}
.KPfirst,
.KPlast{
  display: none;
}

.anchor, a span {
  position: relative;
  /*top:-120px;*/
  top: 0px;
}

.NEWSalways .news_inner .border-wetter, .NEWSonly .news_inner .border-wetter {
  text-align: center;
}

/* ******************* menu: ******************* */
.nav1 li {
  line-height: 1.3em;
}
.nav1 li.first a:focus,
.nav1 li.first a:hover{
  color: #555 !important;
  color: #FFF !important;
}

.first.ACT1,
.first.CUR1 {
  border-bottom: 1px solid #f79d00;
}

.first.CUR1 a.menuhead1,
.first.CUR1 a.menuhead1,
.first.ACT1 a.menuhead1,
.first.ACT1 a.menuhead1 {
  color: #555 !important;
  color: #FFF !important;
}
.sec.CUR2 a,
.sec.CUR2 a,
.sec.ACT2 a,
.sec.ACT2 a {
  color: #555 !important;
  color: #FFF !important;
}
.third.CUR4 a,
.third.CUR4 a,
.third.ACT4 a,
.third.ACT4 a {
  word-break: break-word;
}

/* ******************* menu: ******************* */
/* ------------------ firstmenu im header: ------------------ */

.container_menu {
  width:                calc(100% - 258px);
  height:               110px;
  padding:              0px;
  display:              inline-block;
  float:                right;
  margin:               auto;
}
.menu {
  margin:               auto;
  position:             relative;
  top:                  45px;
  -webkit-transform:    translateY(-50%);
  -ms-transform:        translateY(-50%);
  transform:            translateY(-50%);
}

.nav1 {
  float: left;
  list-style: none;
  color: #000;
  width: 100%;
  padding: 0;
  margin: 0;
}

.nav1 li.first { 
  display: inline-block;
}

.nav1 li.first.NO1, 
.nav1 li.first.CUR1, 
.nav1 li.first.ACT1, 
.nav1 li.first.RO1 {
  float: left;
  width: calc(25% - 30px);
  height: 58px;
  color: #940000;
  color: #222;
  padding: 6px 3px 0px 3px;
  background: #f79d00;
  position: relative;
  margin: 0px 12px 0px 12px !important;
}
.nav1 li.first.NO1:before, 
.nav1 li.first.CUR1:before, 
.nav1 li.first.ACT1:before, 
.nav1 li.first.RO1:before { 
  width: 0; 
  content: ''; 
  position: absolute; 
  top: 0; 
  right: 0; 
  border-top: 12px solid #C0C0C0; 
  border-left: 12px solid #666; 
  border-left: 12px solid #b67400;
}

.nav1 li.first.NO1:hover {
  position: relative;
}
.nav1 li.first.RO1:before {
  width: 0;
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-top: 12px solid #999;
  border-left: 12px solid #222;
}

.nav1 a,
.nav2 a {
  font-weight: 600;
  /*letter-spacing: 0.04em;*/
  text-decoration: none;
  font-style: normal;
  color: #940000;
  color: #222;
  padding: 1px 0px 0px 3px;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
  height: 100%;
  width: calc(100% - 24px);
  
}

.nav4 {
  padding-left: 26px !important;
  width: calc(100% - 32px) !important;
  display:block;
  width: calc(100% - 12px);
  height: auto;
  background-color: #888;
  background: #f79d00;
  border-top: 0px solid #000;
  position: relative;
  padding: 6px 6px 6px 6px;
}
.nav4.third2 {
  border-bottom: 1px solid #FFF;
}
.nav4.third3 {
  border-bottom: 1px dashed #FFF;
}
.toggleMenu {
  padding-left: 66px !important;
  width: calc(100% - 66px) !important;
}
.nav4 li.third.NO4,
.nav4 li.third.CUR4, 
.nav4 li.third.ACT4, 
.nav4 li.third.RO4,
.nav1 a, 
.nav2 a, 
.nav4 a, 
.aTAGact, 
.aTAGcur, 
#bmenu a {
  text-indent: -26px;
}
.nav4 li.third.NO4,
.nav4 li.third.CUR4, 
.nav4 li.third.ACT4, 
.nav4 li.third.RO4 {
  text-indent: -26px;
  padding: 4px 6px 4px 16px;
}
.nav4 li.third.CUR4 {
  display: block;
  padding-bottom:8px;
  border-bottom: 0px #666 solid;
}

.nav1 li.first a:hover, 
.nav1 li.first.current a, 
.nav1 li.first a:focus,
.nav2 a:hover { 
  color: #555;
  color: #FFF;
}

.aTAGno,
.aTAGcur {
  font-weight: 600;
  color: #940000;
  color: #222;
}
.aTAGno.klickpfad:hover {
  color: #555;
  color: #FFF;
}
.aTAGact,
.aTAGcur {
  font-weight: 600;
  color: #555 !important;
  color: #FFF !important;
}

.nav1 .menuhead, 
.nav1 .menuhead1 {
  text-align: center;
  padding: 0px 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ************* 2nd level ************* */

.nav3 {
  display:none;
  /* display:block; */
  width: calc(100vw - 312px);
  max-width: 1106px;
  height: auto;
  background-color: #777;
  background-color: #ffbf34;
  background: #c1973d;
  border: 1px solid #666;
  border-top: 0px solid #666;
  position: absolute;
  left: 0px;
  top: 64px;
  padding: 6px;
  left: 11px;
  position: fixed;
}

.nav3 li.sec {
  display:block;
  padding-top: 12px;
}
.nav2 {
  list-style-type: none;
  overflow: hidden;
  float:left;
  margin-left: 16px;
}
.nav2 .NO2,
.nav2 .CUR2 {
  display: inline-block;
  float: left;
  padding-right: 0px;
  margin-right:0px !important;
}
.nav2 .menuhead {
  display: inline-block;
  padding: 6px 0px;
}
@media (max-width: 816px) {
  .nav2 .menuhead.moreinfos {
    display: none;
  }
}
.nav3 li.sec a,
.nav2 li a {
  padding-right: 12px;
  padding-left: 0;
  padding-top: 0;
  width: auto;
  display: contents;
}

li.first:hover .nav3 {
  display:block;
}
@media(max-width:600px){
  .nav3 li.sec {
    display:none;
    height:0;
  }
  li.first:hover .nav3 {
    display:none;
    height:0;
  }
  .nav3 {
    padding:0;
    margin:0;
  }
}
  
/* ****************************************************************** */
/*news nach oben*/
@media (max-width:800px) {
  #main .main_right .nav2 {
    width: calc(100% - 24px);
    margin-top: 8px !important;
  }
  #main .main_right .nav2 li.NO2,
  #main .main_right .nav2 li.CUR2,
  #main .main_right .nav2 li.ACT2,
  #main .main_right .nav2 li.RO2 {
    min-width: 140px;
    /*width: calc(50% - 21px) !important;*/
    margin-right: 6px !important;
    margin-left: 10px !important;
    width: 100% !important;
    margin: 2px 0px 10px 2px !important;
    padding: 0px 0px 0px 0px !important;
  }
  #main .main_right .nav2 a.menuhead {
    width: 100% !important;
  }
}

@media (max-width:400px) {
  #main .main_right .nav2 li.NO2,
  #main .main_right .nav2 li.CUR2,
  #main .main_right .nav2 li.ACT2,
  #main .main_right .nav2 li.RO2 {
    width: calc(100% - 24px) !important;
    margin-right: 0px !important;
  }
}

#main .main_right .nav2 {
  float: left;
  list-style: none;
  color: #000;
  padding: 4px 0px 0px 8px;
  margin: 0px 0px 4px 0px;
}
#main .main_right .nav2 li.NO2,
#main .main_right .nav2 li.CUR2,
#main .main_right .nav2 li.ACT2,
#main .main_right .nav2 li.RO2 {
  color: #000;
  float: left;
  width: 156px;
  border-top: 1px dotted #000000;
  border-left: 1px dotted #000000;
  padding: 0px 0px 0px 0px;
  margin: 2px 0px 1px 2px;
}
#main .main_right .nav2 a.menuhead {
  width:154px;
}


/* ************* 3rd level ************* */


.nav4 ul.third2 {
  /*padding-left: 16px !important;*/
  border-left: 1px solid #FFF;
  margin-left: -24px !important;
  width: 100% !important;
}
.nav4 ul.third3 {
  margin-left: 5px;
  border-left: 1px dashed #FFF;
  /*padding-left: 12px !important;*/
  margin-left: -24px !important;
  width: calc(100% + 18px) !important;
}
.nav4 li.third {
  display:block;
  padding-left:8px;
}
.nav4 li.third a {
  padding-bottom: 2px;
}

.nav4 li.third.NO4,
.nav4 li.third.ACT4,
.nav4 li.third.RO4 {
  color: #FFF;
  display: block;
  padding-bottom:8px;
}
.nav4 li.third.ACT4,
.nav4 li.third.RO4 {
  color: #000;
}
.nav4 a {
  text-decoration: none;
  font-style: normal;
  padding: 1px 0px 0px 3px;
  padding-bottom: 0px;
  margin: 0px 0px 0px 0px;
  height: 100%;
  width: 100%;
}
.nav4 a:hover {
  color: #555;
  color: #FFF;
}
.nav1 a, 
.nav2 a,
.nav4 a,
.aTAGact, 
.aTAGcur, 
#bmenu a{
  font-size: 1.2rem;
}

.tx-indexedsearch-searchbox-sword.sword, .tx-indexedsearch-searchbox-button.submit {
  width: calc(100% - 6px) !important;
}

.tx-indexedsearch-searchbox table {
  margin: 4px;
}

.fa-navicon:before, .fa-reorder:before, .fa-bars:before {
    content: "\f0c9";
}
#bmenu .nav {
  margin-left: 26px;
  width: calc(100% - 26px);
}
#bmenu,
#bmenu .nav {
  display: none;
  z-index: 99;
}
#bmenu .nav {
  padding-top: 0px;
  padding-bottom: 24px;
}

@media (max-width: 1000px) {
  .container_menu {
    width: 100% !important;
    margin-right: 0px;
  }
}
@media (min-width: 1000px) {
  .container_menu {
    margin-right:13px;
  }
  .first.NO1 {
    border-bottom: 1px solid #666;
  }
  .first.NO1:hover {
    border-bottom: 0px solid #666;
  }
}
@media (max-width: 1225px) {
  #mainC {
    display: none;
  }
}
@media (max-width: 1000px) {
  .nav1 {
    display: none;
  }
  .logo {
    min-width: 50px;
    height: auto;
    padding-right: 24px;
    border: 0px solid #555;
    z-index: 99;
    width: auto;
    padding: 0px;
    right: 0;
    position: absolute;
  }
  .logo img {
    width: 105px;
    height: auto;
  }
  .menu {
    height: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    top: 0;
  }
  #header {
    height: auto;
    position: relative;
    box-shadow: none;
    border-bottom: 0px #888 solid;
  }
  .container_header {
    padding-top:24px;
    padding-bottom:0px;
    margin-top:0px;
    margin-bottom:0px;
    height:auto;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background: #C0C0C0;
    /* background: #f79d00; */
  }
  .container_menu {
    width: calc(100% - 24px);
    height: 100%;
    text-align: left;
    padding-left:0px;
    margin-left:0px;
    display: table;
    margin-top:0px;
  }
  .container_menu .menu {
    display: table-cell;
    vertical-align: middle;
  }
  #menu select {
    width: 100%;
  }
}


@media (max-width: 270px) {
  body {
    min-width: 270px;
  }
  .logo {
    /*width:100%;*/
    display: none;
  }
  .container_menu {
    margin: 0px;
    max-width: calc(100% - 8px);
  }
  .menu {
    min-width: 270px;
  }
}

/* ****************************************************************** */

#bmenu .nav .dl-submenu {
  display: none;
}
@media (max-width:600px) {
  #bmenu .nav > li {
    width: calc(100% - 6px) !important;
  }
  #bmenu .nav:before {
    width: 130px;
    height: 60px;
    float: right;
  }
  #main .nav4.third:before {
    content: " ";
    display: table;
    width: 130px;
    height: 60px;
    float: right;
  }
}

@media (max-width: 1000px) {
  .container_menu {
    background: #666;
    /* background: #f79d00; */
  }
  #bmenu {
    display: block;
  }
  #bmenu .toggleMenu {
    text-decoration: none;
    background: #666;
    /* background: #f79d00; */
    padding: 3px 15px;
    color: #fff;
    width: calc(100% - 130px);
    font-size: 2.5rem;
  }
  #bmenu .nav {
    list-style: none;
    background-color: #666 !important;
    /* background: #f79d00 !important; */
  }
  #bmenu .nav > li {
    border-top: 0px solid #999;
    width: calc(50% - 100px);
    background-color: #666;
    /* background: #f79d00; */
    width: calc(100% - 36px) !important;
  }
  #bmenu .nav li li a {
    border-top: 0px solid #666;
    padding-left: 48px;
    background-color: #888 !important;
    width: calc(100% - 64px);
  }
  #bmenu .nav li li li a {
    border-top: 0px solid #666;
    padding-left:62px;
    width: 100%;
    display: inline-block;
    padding-top: 6px;
    padding-bottom:6px;
    margin-left: 24px;
  }
  #bmenu .nav li li a:before {
    content: "";
    border-color: transparent #FFF;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: inline-block;
    height: 0;
    width: 0;
    left: -0.7em;
    top: 0em;
    position: relative;
    margin: -6px !important;
  }
  #bmenu .nav li li li a:before {
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    border-left: 0;
    border-top: 0;
    width: 10px;
    height: 10px;
    transform: rotate(-45deg);
    content: "";
    display: inline-block;
    margin-right: 0px;
  }
  #bmenu li.hover {
    padding-bottom: 0px;
  }
  #bmenu .dl-submenu {
    list-style-position: outside;
    background-color: #666;
    /* background: #f79d00; */
  }
  #bmenu .dl-submenu li {
    margin-left: 0px !important;
  }
  #bmenu .dl-submenu a:hover {
    color: #000;
  }
  #bmenu .nav .dl-submenu li {
    margin-right: 0px;
    width: calc(100% - 10px);
  }
}


/* ****************************************************************** */

.flip-container-bottom {
  display: flex;
  flex-wrap: wrap;           /* neue Zeilen */
  justify-content: center;    /* zentriert jede Zeile */
  gap: 16px;
}

.flip-container-top {
  display: flex;
  flex-wrap: wrap;           /* neue Zeilen */
  justify-content: center;    /* zentriert jede Zeile */
  gap: 16px;
}


.flip-card {
  width: 152px;
  height: 152px;
  perspective: 800px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}


.flip-front img {
  width: 100%;
  height: 100%;
  display: block;
}

.flip-back {
  background: #F0F8FF;
  color: #F79D00;
  display: flex;
  align-items: center;     /* vertikal mittig */
  justify-content: center; /* horizontal mittig */
  text-align: center;
  font-weight: bold;
  transform: rotateY(180deg);
}

.flip-back span {
  position: relative !important;
}

/* Text direkt aus dem Bild-Attribut */
.flip-back span::before {
  content: attr(data-title);
}

/* data-title vom img „durchreichen“ */
.flip-front img {
  pointer-events: none;
}

.flip-front img + .flip-back span {
  content: attr(data-title);
}

.flip-back::after {
  content: "👆";
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 2.4rem;
  opacity: 0.7;
  pointer-events: none;
  transform: rotate(-20deg); /* optional, für Pointer-Effekt */
}

/* ****************************************************************** */

.csc-textpic-image {
  transition: outline 0.3s ease;
}

body:not([id*="160"]):not([id*="161"]):not([id*="163"]) .csc-textpic-imagewrap:hover .csc-textpic-image {
    outline: 2px solid #F79D00;
    outline-offset: -1px;
}

/* ****************************************************************** */

