/* Local embedding of Google Fonts
_______________________________________________________*/

/* baloo-2-regular - latin REGULAR */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/baloo-2-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* baloo-2-500 - latin MEDIUM */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/baloo-2-v22-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* baloo-2-600 - latin SEMIBOLD */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/baloo-2-v22-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* baloo-2-700 - latin BOLD */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/baloo-2-v22-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* Coming soon
_______________________________________________________*/
.coming_soon #top_link {
	display: none;
}


/* Basic settings
_______________________________________________________*/
body {
	font-family: 'Baloo 2';
	font-style: normal;
	font-weight: 500;
}

body.bg {
  background:#fffbf4;
}

:root {
  --hyperlink-default-border-width: 0.5px;
  --customColor1: #fffbf4;
}

.pt-xxxxl {
  padding-top: 300px !important;
}


/* Navi
_______________________________________________________*/
.header .mainmenu ul {
  text-align: left;
  padding-top: 12px;
  padding-left: 365px;
}

.mainmenu ul li {
  margin-left: 20px;
  margin-right: 20px;
}

.mainmenu ul li a {
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  text-align: left;
}

.header .mainmenu ul li a.a-level_1.active:not(.highlight) span {
  border-bottom: 0;
}

.header .mainmenu ul li a.a-level_1.active:not(.highlight) span:before {
  position: absolute;
  left: -10px;
  top: -92px;
  width: 2px;
  height: 115px;
  background: #fff;
  content: ''; 
}

.navbg #slider:after {
  background: #000000;
  background: linear-gradient(180deg,rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  content: '';
}


/* Header
_______________________________________________________*/
.home #slider:before {
  width: 100%;
  height: 325px;
  background: #000000;
  background: linear-gradient(180deg,rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  z-index: 9;
}

.home #slider:after {
  width: 100%;
  height: 50vh;
  background: transparent url(../img/divider01.svg);
  background-repeat: no-repeat;
  background-position: 2px bottom;
  background-size: 100% auto;
  position: absolute;
  bottom: -2px;
  right: 0;
  content: '';
  z-index: 9;
}

.mod_article.fullscreen .container {
  top: 0;
}

.stoerer {
  position: absolute;
  top: 25vh;
  right: 0;
  width: 275px;
  height: 134px;
  background: transparent url(../img/bg-stoerer.png) no-repeat 0 0;
  background-size: 100%;
  z-index: 99;
}

.stoerer p {
  rotate: -5deg;
  width: 100%;
  text-align: center;
  padding-top: 50px;
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.content_page .mod_pageimage:after {
  width: 100%;
  height: 50vh;
  background: transparent url(../img/divider01.svg);
  background-repeat: no-repeat;
  background-position: 2px bottom;
  background-size: 100% auto;
  position: absolute;
  bottom: -2px;
  right: 0;
  content: '';
  z-index: 9;
}

.headergradient #header {
  height: 400px;
  background: rgba(209, 201, 189, 2);
  background: linear-gradient(180deg,rgba(209, 201, 189, 1) 0%, rgba(255, 251, 244, 0) 100%);
}


/* Content
_______________________________________________________*/
.ce_headline_extended h1 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 3.2rem;
}

.ce_headline_extended h1 .color-accent {
  font-size: 3.75rem;
  display: block;
  color: var(--basicColor);
  font-weight: 400;
  padding-bottom: 45px;
}

h2 {
  font-weight: 500;
}

.datenschutz h2 {
  margin-top: 60px;
}

.datenschutz h3 {
  margin-top: 40px;
}

h4 {
  font-weight: 600;
}

.datenschutz .fullwidth-boxed {
  max-width: 980px;
  margin: 0 auto;
}

.ce_leadertext.version1 {
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--basicColor);
  max-width: 800px;
}

.ce_leadertext.version1 p {
  font-size: 1.5rem;
  line-height: 2rem;
  color: #736153;
}

.ce_hyperlink.btn-black-outline a {
  color: #363636;
  background: #ede8e0;
}

#main p a {
  color: var(--secondColor);
  position: relative;
}

#main p a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #736153;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
  }

#main p a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.bg-accent .ce_hyperlink.btn-black-outline a {
  background: #fffbf4;
}

.ce_hyperlink.has-icon[class*="outline"] a i {
  display: none;
}

.ce_hyperlink.btn-black-outline a, .ce_revolutionslider_hyperlink.btn-black-outline {
  border-color: #cbc0ac;
}

.ce_hyperlink.btn-black-outline a:hover {
  opacity: 1;
}

.ce_hyperlink.has-icon.icon-pos-after a > span, .ce_hyperlink.has-icon.icon-pos-before a > span {
  padding: 0;
  white-space: nowrap;
}

.dividerfooter {
  position: relative;
  z-index: 0;
  overflow: visible;
}

.dividerfooter .container {
  position: relative;
  z-index: 2;
}

.dividerfooter::after {
  content: "";
  position: absolute;
  top: calc(100% - 0.5px);
  left: 0;
  width: 100%;
  aspect-ratio: 100 / 16.6;
  height: 16.6vw;
  background: url("../img/divider03.svg") no-repeat top center / 101% auto;
  z-index: 1;
  pointer-events: none;
  visibility: visible;
}

.dividerfooter.bg-accent::after {
  background: transparent url("../img/divider04.svg");
  background-size: 101% auto;
}

form.style7 input.submit, form.style7 button.submit {
  background: #ede8e0;
  color: #363636;
  font-weight: 700;
  line-height: 26px;
  border: 1px solid #cbc0ac;
  padding: 15px 50px 40px;
  border-radius: 100px;
}

input:focus, textarea:focus {
  outline: none;
}

.form-confirmation p {
  text-align: center;
}

.ce_bgimage.mw-l .contentwrap {
  max-width: 1600px;
}

.ce_download_default a {
  max-width: 800px;
  padding: 10px 30px;
  color: #363636;
}

.ce_countup .headline {
  padding-top: 20px;
}

.ce_countup .headline:after {
  position: relative;
  content: '’';
}

#main .overlay {
  background:transparent;
  position:absolute;
  width: 100%;
  height: 650px;
  top: 650px;
  margin-top: -650px;
  z-index: 999;
}

#main #map {
  width: 100%;
  height: 650px;
  margin-bottom: -10px; /* entfernt Abstand unten */
}

#main #map .leaflet-tile-pane {
  filter: grayscale(100%); /* Graustufen */
}

#main .leaflet-container a {
  color: var(--basicColor) !important;
}

#main .ce_download.align-center a {
  margin: 0 auto;
  font-weight: 900;
}

#main .ce_download a span.size {
  padding-left: 10px;
  color: #000;
  font-size: 0.8rem;
}

.ce_download a:after {
  display: none;
}



/* Isotope Gallery & Colorbox Styling
_______________________________________________________*/
.ce_gallery .content {
  background: rgba(237,232,224,0.8); /* Thumbnail Hover Overlay */
}

#cboxOverlay {
  background: #171310; /* Hintergrundfarbe Colorbox */
  opacity: 0.85 !important; /* Hintergrundopazität Colorbox */
}

#colorbox, #colorbox * {
  overflow: visible !important;
}

#cboxContent {
  position: relative !important;
  background: transparent;
}

#cboxLoadedContent {
  border: 5px solid rgba(0,0,0,0);
  background: transparent;
}

#cboxCurrent {
  display: none !important;
}

#cboxClose {
  top: -13px;
  background: url(../img/colorbox-controls.png) no-repeat top center;
}

#cboxPrevious {
  background: url(../img/colorbox-controls.png) no-repeat top left;
}

#cboxPrevious:hover {
  background-position: left -66px !important;
}

#cboxNext {
  background: url(../img/colorbox-controls.png) no-repeat top right;
}

#cboxNext:hover {
  background-position: right -66px !important;
}

#cboxPrevious,
#cboxNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999; /* sicherstellen, dass sie über dem Bild liegen */
}

#cboxPrevious {
  left: -12px; /* Abstand nach links – anpassen je nach Bedarf */
}

#cboxNext {
  right: -12px; /* Abstand nach rechts – anpassen je nach Bedarf */
}

#cboxPrevious, #cboxNext {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#cboxPrevious:focus, #cboxNext:focus {
  outline: none;
}


/* Footer
_______________________________________________________*/
.top-link {
  background: #fffbf4;
  box-shadow: 0 0 1px 0px rgba(0,0,0,0.4);
  -webkit-box-shadow: 0 0 1px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 0 0 1px 0px rgba(0,0,0,0.4);
}

.top-link a {
  color: #363636;
  font-size: 18px;
}

.top-link .progress-ring circle {
  stroke: #dfdfd7;
}

#footer p {
  line-height: 26px;
}

#footer p, #footer .ce_headline {
  hyphens: auto;
  -webkit-hyphens: auto;
}

#footer .copyright {
  position: absolute;
  bottom: 38px;
  right: -68px;
}

#footer .copyright img {
  opacity: 0.25;
  background-blend-mode: screen, multiply;
}

#footer .copyright .h6 {
  font-size: 18px;
  line-height: 34px;
  margin: 0 0 5px;
  padding: 46px 145px 0 0;
  font-weight: 500;
  border-bottom: 2px solid white;
}

#footer .autogrid .image_container {
  height: 72px !important;
}

#footer .ce_divider_extended.version1 {
  background: rgba(255,255,255,1);
  margin-bottom: 60px;
}

.fixed-header .top-link {
  bottom: 85px;
}


/* Media Queries
_______________________________________________________*/
@media only screen and (min-width: 1800px) {
  
  .pt-xxxxl {
    padding-top: 17vw !important;
  }
  
}

@media only screen and (max-width: 1549px) and (min-width: 1160px) {
  
  #footer .inside {
    max-width: 100% !important;
  }
   
}


@media only screen and (max-width: 1159px) and (min-width: 768px) {
  
  #footer .inside {
    max-width: 100% !important;
  }
  
  #footer .column[class*="col_"]:not([class*="_m"]), #footer .autogrid_grid .column:not([class*="_m"]) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 25px;
  }
  
  #footer .autogrid, #footer .autogrid_row>.column {
    flex-grow: 1;
    width: 100%;
    position: relative;
    box-sizing: border-box;
  }
  
  #footer .autogrid_row {
    margin-left: 0;
    margin-right: 0;
  }
  
  #footer [class*="col_"] {
    flex: 0 0 100%;
    max-width: none;
  }
  
  #footer .column.col_7 {
    margin-bottom: 0 !important;
  }
   
}

@media only screen and (max-width: 1190px) and (min-width: 1025px) {

  .header .mainmenu ul {
    padding-left: 330px;
  }
  
  .mainmenu ul li {
    margin-left: 6px;
    margin-right: 6px;
  }
  
  .header .mainmenu ul li a.a-level_1.active:not(.highlight) span:before {
    left: -5px;
  }
  
}


@media only screen and (max-width: 1024px) and (min-width: 768px) {
 
  .smartmenu .smartmenu-trigger .line, .smartmenu .smartmenu-trigger .line:before, .smartmenu .smartmenu-trigger .line:after, .smartmenu-content .smartmenu-close:before, .smartmenu-content .smartmenu-close:after {
    height: 2px;
  }
  
  .smartmenu .smartmenu-trigger .line:before {
    margin-top: 10px;
  }
  
  .smartmenu-content .mod_navigation a.active, .smartmenu-content .mod_navigation a.trail {
    border-bottom: 2px solid rgb(255,255,255);
  }
  
  .smartmenu.open .smartmenu-trigger {
    display: none;
  }
  
  .smartmenu-content {
    background: #736153;
  }
  
  .smartmenu-content .mod_navigation a {
    color: rgba(255,255,255,0.7);
  }
  
  .smartmenu-content .mod_navigation li.active a {
    color: #fff;
    border-bottom: none;
    font-weight: 700;
  }
  
  .ce_hyperlink a, a.btn {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 0.9rem;
  }
  
}


@media only screen and (max-width: 767px) {
  
  .header {
    position: absolute;
  }
  
  #mmenu {
    top: 0 !important;
    height: 100% !important;
  }
  
  #mmenu #mmenu_middle {
    padding-top: 100px;
  }
  
  #mmenu .mod_navigation li a {
    color: rgba(255,255,255,0.7);
    text-transform: none;
    font-weight: 400;
  }
  
  #mmenu .mod_navigation li.active a {
    color: #fff;
    text-transform: none;
    font-weight: 700;
  }
  
  .stoerer {
    top: 10vh;
    width: 175px;
    height: 104px;
  }
  
  .stoerer p {
    padding-top: 30px;
    padding-left: 8px;
  }
  
  .mod_article.fullscreen {
    height: 50vh;
  }
  
.ce_headline_extended h1 .color-accent {
    hyphens: auto;
    -webkit-hyphens: auto;
    font-size: 2.8rem;
    line-height: 2.8rem;
    padding-bottom: 25px;
  }
  
  .ce_hyperlink a, a.btn {
    padding: 10px 15px;
  }
  
  .dividerfooter .container::after,  .dividerfooter.bg-accent .container::after {
    background-position: 0 -1px !important;
    background-size: cover;
    box-shadow: -1px -2px 0px 0px #a7a7a6 inset;
    -webkit-box-shadow: -1px -2px 0px 0px #a7a7a6 inset;
    -moz-box-shadow: -1px -2px 0px 0px #a7a7a6 inset; 
  }
  
  .ce_hyperlink.btn-black-outline a {
    line-height: 1.3rem;
  }
  
  h2 {
    line-height: 2rem;
  }
  
  .pt-xxxxl {
    padding-top: 60px !important;
  }
  
  #footer {
    background: url('../img/bg-footer-mobile.jpg') 0 0 repeat-y !important;
    background-size: 100% auto !important;
  }
  
  #footer .copyright {
    position: static;
  }
  
  #footer .copyright .image_container {
    max-width: 100px;
  }
  
  #footer .copyright .h6 {
    padding-top: 20px;
    padding-right: 0;
  }
  
  #footer .inside {
    transform: none !important;
  }
  
}

@media only screen and (max-width: 768px) and (min-width: 540px) {
 
  .pt-xxxxl {
    padding-top: 180px !important
  } 
  
}