/* open-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/static/wgga/fonts/open-sans-v44-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('/static/wgga/fonts/open-sans-v44-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/static/wgga/fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('/static/wgga/fonts/open-sans-v44-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/static/wgga/fonts/open-sans-v44-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url('/static/wgga/fonts/open-sans-v44-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/static/wgga/fonts/open-sans-v44-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('/static/wgga/fonts/open-sans-v44-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/static/wgga/fonts/open-sans-v44-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('/static/wgga/fonts/open-sans-v44-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('/static/wgga/fonts/open-sans-v44-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url('/static/wgga/fonts/open-sans-v44-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}





* {
  padding: 0;
  margin: 0;
}

:root {
  --design_primary: #047904;
}


body {
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  hyphens: auto;
}






/* Header-Stil */
#desktop-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 200px; /* feste Höhe, um Layoutsprünge zu verhindern */
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 38px 20px;
  transition: padding 0.3s ease;
  max-width: 1780px;
  margin: 0 auto;
}

.header-logo img {
  height: 123px;
  transition: height 0.3s ease;
}

#head-right {
  text-align: right;
}
#head-right .navbar-nav {
  gap: 90px;
}

.nav-link {
  color: #000;
}
.nav-link:hover, .nav-link:focus {
  color: #000;
}

#head-telefon {
  font-size: 1.35rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding-bottom: 43px;
  transition: all 0.3s ease;
}
#head-telefon span {
  font-size: 1.6rem;
}

#desktop-header.scrolled .header-logo img {
  height: 60px;
}

#desktop-header.scrolled {
  height: 100px;
}

#desktop-header.scrolled .header-container {
  padding: 20px;
}

#desktop-header.scrolled #head-telefon {
  padding-bottom: 0;
}

#head-right .navbar {
  margin-bottom: -16px;
}

.nav-link {
  font-size: 1.35rem;
  font-weight: 600;
}


#galleryControls {
  position: absolute;
  right: 10px;
  bottom: 10px;
}




.wrap {
  max-width: 1446px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}


#start-content {
  padding-top: 65px;
}

#start-content-flex {
  padding-top: 60px;
  padding-bottom: 56px;
  display: flex;
  gap: 100px;
}
#start-content-flex-text {
  flex: 0 0 630px;
}
#start-content-flex-text h2 span {
  display: block;
  font-size: 2.7rem;
}
#start-content-flex-text h2 span:first-child {
  font-weight: 700;
}
#start-content-flex-image {
  flex-grow: 1;
}
#start-content-flex-image img {
  display: block;
  width: 100%;
}


#startboxen {
  background: linear-gradient(to bottom, #047904 0%, #047904 50%, #eeeeef 50%, #eeeeef 100%);
}

#startboxen-ueberschrift {
  padding: 60px 0;
  text-align: center;
}

#startboxen-ueberschrift h2 {
  color: #fff;
  font-weight: 600;
  font-size: 2.6rem;
}

#startboxen-content {
  display: flex;
  justify-content: space-between;
  padding-bottom: 45px;
}
.startbox {
  flex: 0 0 360px;
}


.infobox {
  background-color: #fff;
  border: 1px solid var(--design_primary);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 10px;
  justify-content: space-between;
  text-align: center;
  max-width: 360px;
}
.infobox-titel h3 {
  font-size: 1.25rem;
}
.infobox-text p:last-child {
  margin-bottom: 0;
}
.infobox-image img {
  display: block;
  width: 100%;
}
.startbox > .infobox {
  border: 0;
  height: 100%;
}




#counter-content {
  display: flex;
  justify-content: space-between;
  padding-bottom: 80px;
}
#counter-ueberschrift {
  padding-top: 55px;
  padding-bottom: 45px;
  text-align: center;
}
#counter-ueberschrift h2 {
  font-size: 2.5rem;
  font-weight: 600;
}
.counter {
  background-color: #eeeeef;
  border-radius: 10px;
  text-align: center;
  padding: 30px 50px;
  flex: 0 0 284px;
  min-height: 222px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.counter-number {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--design_primary);
}
.counter-text {
  font-size: 1.7rem;
}


footer {
  background-color: var(--design_primary);
  color: #fff;
}
#footer {
  max-width: 1910px;
  padding: 30px 20px;
  margin: 0 auto;
}
#footer-flex {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

#footer-flex > div:nth-child(1) {
  flex: 0 0 330px;
}
#footer-flex > div:nth-child(2) {
  flex: 0 0 610px;
}
#footer-flex > div:nth-child(3) {
  flex: 0 0 175px;
}

#footer-copyright {
  text-align: center;
  padding-top: 50px;
}
#footer a, #footer a:hover {
  color: #fff;
}
.footer-headline {
  text-transform: uppercase;
}
.footer-headline h4 {
  font-weight: 700;
}
#footer nav {
  display: flex;
  align-items: center;
  height: 100%;
}
#footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
}
#footer nav ul li {
  padding: 12.5px 0;
}





#floating-menu {
  font-size: 1.1rem;
  position: fixed;
  right: 0px;
  top: calc(100vh / 2 - 300px / 2 - 141px);
  width: 50px;
  overflow-x: hidden;
  transition: width 0.5s ease;
  height: 372px;
}

#floating-menu-content {
  display: grid;
  grid-template-columns: 50px 10px 200px;
  position: relative;
  padding-top: 130px;
}
#floating-menu-button {
  border: 0;
  background-color: transparent;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 60px);
  color: var(--design_primary);
  background-color: #fff;
  font-size: 1.5rem;
}
#floating-menu-links {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 60px);
  background-color: #fff;
  opacity: 1;
}

#floating-menu-spacer {
  background-color: #fff;
}

#floating-menu-button > div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#floating-menu-links > div {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 5px;
}

#floating-menu-links > div > a > *:first-child {
  width: 24px;
}

#floating-menu-closebtn {
  position: absolute;
  width: 72px;
  height: 72px;
  background-color: #fff;
  top: 0;
  right: calc(200px / 2 - 72px / 2);
}

#floating-menu-closebtn button {
  border: 0;
  background-color: transparent;
  font-size: 3rem;
  color: var(--design_primary);
  width: 100%;
}
.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease-in;
  display: block;
}
.fade-in-hidden {
  opacity: 0;
  transition: opacity 0.2s ease-in;
  display: none;
}
#floating-menu-links.floating-menu-hidden {
  opacity: 0;
  transition: opacity 0.5s ease-in;
  display: none;
}


#mobile-header {
  display: none;
}

#content {
  padding: 50px 0 0 0;
}
#content-flex {
  display: flex;
  gap: 80px;
  padding-bottom: 50px;
}
#content-main {
  flex-grow: 1;
  max-width: 1000px;
  margin: 0 auto;
}
#content-aside {
  flex: 0 0 360px;
  display: none;
}
#content-aside section + section {
  padding-top: 50px;
}



.imgleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}
.imgright {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}
.clear {
  clear: both;
}
.absatz-buttons {
	display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.bildgala {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 3rem;
  grid-row-gap: 3rem;
  padding-top: 15px;
}
.bildgala img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


.img-container, .img-container a {
  position: relative;
  display: block;
}
.img-icon {
	position: absolute;
  right: 5px;
  bottom: 5px;
  background-color: var(--design_primary);
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 35px;
  border: 1px solid #fff;
}
.img-icon svg {
  color: #fff;
}

.content-element + .content-element {
  padding-top: 45px;
}


#seitentitel {
  padding-bottom: 20px;
}






#angebote {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 50px;
  grid-row-gap: 50px;
}
.angebot {
  display: flex;
}
.angebot-image {
  flex: 0 0 33%;
}
.angebot-image a {
  position: relative;
}
.angebot-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.angebot-informationen {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 15px;
}
.angebot-informationen-container {
  padding-left: 20px;
}

.angbot-quik-infos {
  display: flex;
  gap: 25px;
  row-gap: 25px;
  flex-wrap: wrap;
}
.angbot-quik-info-wert {
  font-weight: bold;
}
.angbot-quik-info-text {
  border-top: 1px solid #ededed;
}
.angebot-balken {
  background-color: #ededed;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.angebot-balken-ausstattung {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.angbot-ueberschrift, .angebot-adresse {
  padding-bottom: 10px;
}
.angbot-ueberschrift h2 {
  font-size: 1.5rem;
}



#angebote-suche {
  padding-bottom: 5px;
  display: flex;
  gap: 80px;
}
#angebote-suche > div:nth-child(1) {
  flex-grow: 1;
}
#angebote-suche > div:nth-child(2) {
  flex: 0 0 150px;
}
#angebote-suche > div:nth-child(2) > div:nth-child(1) {
  padding-top: 50px;
}
.slider-titel {
  text-align: center;
}
.suche-slider {
  display: flex;
}
.suche-slider > div:nth-child(1), .suche-slider > div:nth-child(3) {
  text-align: center;
}
.slider-val {
  flex: 0 0 70px;
}
.slider-slider {
  flex-grow: 1;
  padding: 7px 16px 0 16px;
}
.noUi-target {
  box-shadow: none;
}
.noUi-connect {
  background: #0479044a;
}
.noUi-handle {
  background: #047904;
  box-shadow: none;
}
.noUi-active {
  box-shadow: none;
}
.noUi-horizontal {
  height: 9px;
}
.noUi-horizontal .noUi-handle {
  top: -11px;
}
.slider-element + .slider-element {
  padding-top: 20px;
}





.gallery-container {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-wrapper {
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.gallery figure {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
  height: 55vh;
  min-height: 350px;
  max-height: 550px;
  overflow: hidden;
}

.gallery figure a {
  position: relative;
}
.gallery figure a .img-icon {
  top: 5px;
  bottom: inherit;
}

/* --- Dynamische Bilddarstellung --- */
.gallery img {
  width: 100%;
  height: 100%;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.fit-cover {
  object-fit: cover;
  object-position: center;
}

.fit-contain {
  object-fit: contain;
  background: #ededed;
}

/* Hover-Zoom */
.gallery img:hover {
  transform: scale(1.05);
}

figcaption {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 0.5rem;
  font-size: 1rem;
}

.controls {
  position: absolute;
  z-index: 50;
  bottom: 50px;
  right: 10px;
}

.gallery a:focus-visible img {
  outline: 3px solid #000;
  outline-offset: -3px;
}

button:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.card {
  border: 1px solid var(--bs-border-color);
}

dt {
  font-weight: 600;
}

dd {
  margin-bottom: .25rem;
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: box-shadow .2s;
  }
  .card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.08);
  }
}





@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}



@media screen and (max-width: 1400px){
  #head-right .navbar-nav {
    gap: 60px;
  }
  #footer-flex > div:nth-child(2) {
    flex: 0 1 auto;
  }
  #counter-content {
    gap: 50px;
    justify-content: space-around;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1300px){
  #startboxen-content {
    gap: 50px;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  #desktop-header {
    display: none;
  }
  #mobile-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 500;
  }
  #mobile-header-logo img {
    display: block;
    height: 50px;
  }
  #mobile-header-navigation a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28pt;
    height: 50px;
    width: 50px;
  }
  #mobile-menu-logo {
    display: block;
    width: 70%;
  }
  #start-content-flex {
    align-items: center;
  }
  #start-content-flex-text {
    flex: 0 0 calc(50% - 50px);
  }
  #start-content-flex-text h2 span {
    display: inline;
  }
  #content-flex {
    display: block;
  }
  #content-aside {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-around;
    padding-top: 40px;
  }
  #content-aside section + section {
    padding-top: 0;
  }
}

@media screen and (max-width: 1200px){
  #footer-flex {
    flex-wrap: wrap;
  }
  #footer-flex > div:nth-child(1), #footer-flex > div:nth-child(2), #footer-flex > div:nth-child(3) {
    flex: 0 0 auto;
  }
  #angebote {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 900px){
  #start-content-flex {
    display: block;
  }
  #start-content-flex-image {
    padding-top: 30px;
  }
  #floating-menu {
    display: none;
  }
}

@media screen and (max-width: 765px){
  #footer-flex > div:nth-child(1), #footer-flex > div:nth-child(2), #footer-flex > div:nth-child(3) {
    flex: 0 0 100%;
  }
  .bildgala {
    grid-template-columns: repeat(3, 1fr);
  }
  #angebote {
    grid-row-gap: 80px;
  }
  .angebot {
    display: block;
  }
  .angebot-informationen {
    height: auto;
    padding-top: 15px;
  }
  .angebot-informationen-container {
    padding-left: 0;
  }
  #angebote-suche {
    flex-direction: column;
    gap: 25px;
  }
  #angebote-suche > div:nth-child(2) {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #angebote-suche > div:nth-child(2) > div:nth-child(1) {
    padding-top: 0;
  }
  .startbox {
    flex: 0 0 330px;
  }  
}

@media screen and (max-width: 550px){
  .bildgala {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    row-gap: 2rem;
  }
}


#designbody { background: none; background-color: #fff !important; color: #000; font-size: 10pt; font-weight: 400; font-family: Arial, Sans-serif; }
#designbody a, #designbody a:hover { color: #006F3B; }
#designbody ul, ol { padding-left: 21px; }
#designbody p { padding-bottom: 1rem; }
.mceContentBody { padding-top: 0!important; }
