@import url("https://use.typekit.net/yld7uru.css");

html {
  font-size: 20px;
}

body {
  font-family: "myriad-pro", sans-serif;
  margin: 0;
  padding: 0;
  color: #264F10;
  background: white;
  -webkit-font-smoothing: antialiased;
}

body *:first-child {
  margin-top: auto;
}

body *:last-child {
  margin-bottom: auto;
}

a {
  color: inherit;
}

a.button {
  background: white;
  border-radius: 3px;
  display: inline-block;
  color: #264F10;
  text-decoration: none;
  padding: 15px;
  line-height: 1;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.12);
  font-weight: 600;
}

a.button.highlight {
  background: #74B727;
  color: white;
}

a.button.highlight:after {
  background-position: bottom right;
}

a.button:after {
  content: '';
  width: 8px;
  height: 14px;
  background-image: url(../images/arrow.png);
  background-size: 300%;
  display: inline-block;
  margin-left: 12.5px;
}

a.button:hover {
  background: #264F10;
  color: white;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25);
}

a.button:hover:after {
  background-position: bottom right;
}

a.button:active {
  background: #1c3a0c;
}

h1, h2, h3 {
  color: #74B727;
}

/* ursprünglich:
h3, h4, h5, h6 {
  font-weight: normal;
}
*/

h3, h5, h6 {
  font-weight: normal;
}

h4 {
  font-weight: bold;
}

.inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.col {
  display: inline-block;
  vertical-align: top;
  width: 50%;
}

.mobil {
  display: none;
}

@keyframes grow {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slide {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes wiggle {
  0% {
    transform: rotate(1deg);
  }
  25% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.cols {
  margin-left: -12.5px;
  margin-right: -12.5px;
}

.cols .col {
  display: inline-block;
  vertical-align: top;
  width: 33.33%;
  box-sizing: border-box;
  padding: 12.5px;
}

.hamburger {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -22px;
  display: block;
  cursor: pointer;
  color: #74B727;
  display: none;
  line-height: 1;
  text-align: center;
  user-select: none;
}

.hamburger:hover .text {
  color: #264F10;
}

.hamburger:hover span {
  background: #264F10;
}

.hamburger .hamburger-inner {
  width: 25px;
  display: inline-block;
  transition: transform .2s ease-in-out;
  color: inherit;
}

.hamburger span {
  height: 3px;
  background-color: #74B727;
  width: 100%;
  display: block;
  transition: transform .2s ease-in-out, top .2s ease-in-out;
  position: relative;
  top: 0;
}

.hamburger span.s2 {
  margin: 6px 0;
}

.hamburger .text {
  display: block;
  font-weight: 600;
  line-height: 1;
  margin-top: 5px;
}

.hamburger-open .hamburger .hamburger-inner {
  transform: rotate(-90deg);
}

.hamburger-open .hamburger span.s1 {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger-open .hamburger span.s2 {
  opacity: 0;
  transform: rotate(135deg);
}

.hamburger-open .hamburger span.s3 {
  transform: rotate(135deg);
  top: -9px;
}

.slider {
  background: transparent;
  position: relative;
  z-index: 1;
  background: white;
}

.slider-inner {
  white-space: nowrap;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  height: 400px;
}

.slider-inner .slide {
  width: 100%;
  display: inline-block;
  overflow: hidden;
}

.slider-inner .img {
  display: block;
  position: relative;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.slider-inner .caption {
  position: absolute;
  right: 8.3333333333px;
  bottom: 8.3333333333px;
  padding: 6.25px 8.3333333333px;
  box-sizing: border-box;
  white-space: normal;
  color: #264F10;
  background: rgba(255, 255, 255, 0.85);
  white-space: normal;
  max-width: calc(100% - 50px / 3);
  font-size: .85em;
  border-radius: 3px;
}

.slider-inner .caption a {
  color: inherit;
}

.slider-inner .caption a:hover {
  color: #74B727;
}

.flickity-prev-next-button {
  background: rgba(255, 255, 255, 0.85);
  width: 40px;
  height: 40px;
}

.flickity-prev-next-button.next {
  right: 16.6666666667px;
}

.flickity-prev-next-button.previous {
  left: 16.6666666667px;
}

.flickity-prev-next-button svg {
  left: 30%;
  top: 30%;
  width: 40%;
  height: 40%;
}

.flickity-prev-next-button:hover {
  background: #74B727;
}

.flickity-prev-next-button:hover svg path {
  fill: white;
}

.flickity-prev-next-button:active {
  opacity: 1;
  background: #67a223;
}

.form {
  margin: 1em 0;
}

.form .formfield {
  margin-bottom: 25px;
}

.form .formfield label {
  display: block;
}

.form .formfield input, .form .formfield textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6.25px;
  display: block;
  border: 1px solid rgba(38, 79, 16, 0.25);
  font: inherit;
  border-radius: 3px;
  padding: 8.3333333333px;
  box-shadow: 0px 0px 0px 2px rgba(38, 79, 16, 0.05);
}

.form .formfield input:focus, .form .formfield textarea:focus {
  outline: none;
  border-color: #74B727;
  box-shadow: 0px 0px 0px 4px rgba(116, 183, 39, 0.1);
}

.form .formfield.checkbox label, .form .formfield.checkbox input {
  display: inline-block;
  width: auto;
}

.form .formfield.radiobuttons legend {
  display: none;
}

.form .formfield.radiobuttons label, .form .formfield.radiobuttons input {
  width: auto;
}

.form .formfield.radiobuttons label {
  display: inline-block;
  vertical-align: middle;
  margin-right: 25px;
}

.form .formfield.radiobuttons label:hover {
  cursor: pointer;
}

.form .formfield.radiobuttons label:hover .radio:before {
  opacity: .25;
}

.form .formfield.radiobuttons input {
  display: none;
}

.form .formfield.radiobuttons input:checked + .radio:before {
  opacity: 1;
}

.form .formfield.radiobuttons .radio {
  width: 20px;
  height: 20px;
  border: 2px solid #74B727;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

.form .formfield.radiobuttons .radio:before {
  content: '';
  position: absolute;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #74B727;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translateY(-50%) translateX(-50%);
}

.form .formfield.radiobuttons .label {
  margin-left: 3px;
  position: relative;
  top: 1px;
}

.form .formfield.text h3 {
  font-size: 1em;
  margin: .5em 0;
}

.form .formfield.text p {
  margin: .5em 0;
}

.form .formfield.submit button {
  appearance: none;
  border: none;
  font: inherit;
  color: white;
  background: #74B727;
  border-radius: 3px;
  display: inline-block;
  text-decoration: none;
  padding: 15px;
  line-height: 1;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.12);
  font-weight: 600;
  margin-top: 25px;
}

.form .formfield.submit button:after {
  content: '';
  width: 8px;
  height: 14px;
  background-image: url(../images/arrow.png);
  background-size: 300%;
  background-position: bottom right;
  display: inline-block;
  margin-left: 12.5px;
}

.form .formfield.submit button:hover {
  cursor: pointer;
  background: #264F10;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25);
}

.form .uniform__potty {
  display: none;
}

header {
  background: white;
  padding: 50px;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.05);
}

.scrolled header {
  margin-bottom: 100px;
}

header .header-inner {
  height: 50px;
}

header .logo {
  position: absolute;
  left: -45px;
  top: 50%;
  margin-top: -50px;
  display: block;
  width: 324px;
  z-index: 10;
}

header .logo > a img {
  width: 100%;
  display: block;
  border: none;
}

header .logo .homes {
  position: absolute;
  left: 128px;
  top: 60px;
  font-size: 18px;
}

header .logo .homes a {
  text-decoration: none;
  margin-right: 10px;
  color: rgba(38, 79, 16, 0.5);
}

header .logo .homes a.aktiv {
  color: #74B727;
  text-decoration: underline;
}

header .logo .homes a:hover {
  text-decoration: underline;
}

header .menu {
  text-align: right;
}

header .menu .navipunkt {
  display: inline-block;
  position: relative;
  margin-left: 10px;
}

header .menu .navipunkt > a {
  display: block;
  padding: 10px 15px 12px 15px;
  text-decoration: none;
  color: inherit;
  border-radius: 3px;
}

header .menu .navipunkt.mama > a {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

header .menu .navipunkt.mama > a:after {
  content: '';
  width: 8px;
  height: 14px;
  background-image: url(../images/arrow.png);
  background-size: 300%;
  display: inline-block;
  margin-left: 7px;
  margin-right: 2px;
  transform: rotate(90deg);
  position: relative;
  top: 1px;
}

header .menu .navipunkt .dropdown {
  display: none;
  position: absolute;
  z-index: 50;
  background: white;
  background: linear-gradient(-45deg, white 0%, #EBF3DC 100%);
  text-align: left;
  padding: 10px 15px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  min-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.12);
  z-index: 20;
  color: rgba(38, 79, 16, 0.5);
  font-weight: normal;
  font-size: .9em;
}

header .menu .navipunkt .dropdown a {
  display: block;
  text-decoration: none;
  margin-bottom: 10px;
}

header .menu .navipunkt .dropdown a:last-child {
  margin-bottom: 0;
}

header .menu .navipunkt .dropdown a:hover {
  color: #264F10;
}

header .menu .navipunkt .dropdown a.aktiv {
  color: #74B727;
}

header .menu .navipunkt:hover > a {
  background: #74B727;
  color: white;
}

header .menu .navipunkt:hover > a:after {
  background-position: bottom right;
}

header .menu .navipunkt:hover .dropdown {
  display: block;
}

header .menu .navipunkt.aktiv {
  color: #74B727;
}

header .menu .navipunkt.aktiv > a {
  background: none;
  color: inherit;
}

header .menu .navipunkt.aktiv > a:after {
  background-position: center;
}

header .menu.meta {
  text-align: right;
  position: absolute;
  right: -10px;
  top: -20px;
  color: rgba(18, 37, 7, 0.6);
}

header .menu.meta .navipunkt > a {
  padding: 5px 10px 7px 10px;
}

header .menu.meta .navipunkt > a:after {
  width: 6px;
  height: 10px;
  top: 0;
  opacity: .5;
  margin-left: 5px;
}

header .menu.meta .navipunkt.mama:hover > a:after, header .menu.meta .navipunkt.mama.aktiv > a:after {
  opacity: 1;
}

header .menu.meta .navipunkt .dropdown {
  padding: 10px;
}

header .menu.navi {
  font-weight: 600;
  position: absolute;
  right: -15px;
  bottom: -25px;
}

.hero {
  background: linear-gradient(135deg, #54851c 0%, #74B727 100%);
  overflow: hidden;
  padding: 150px 50px;
  -webkit-tap-highlight-color: transparent;
}

.hero h1 {
  color: white;
  font-weight: normal;
  margin: 0;
  font-size: 3em;
  text-shadow: 0 15px 21px rgba(0, 0, 0, 0.12);
  line-height: 1.1;
  position: relative;
  top: -12px;
  z-index: 2;
}

.hero .button {
  margin-top: 18px;
  position: relative;
  z-index: 2;
}

.hero .kreis {
  display: block;
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(38, 79, 16, 0.15);
  border-radius: 50%;
  bottom: -100px;
  right: -150px;
}

.hero .rechner {
  background: white;
  display: block;
  position: absolute;
  z-index: 10;
  right: 0;
  height: 350px;
  top: -75px;
  width: 360px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.12);
  opacity: 0;
  animation: grow ease-in-out 0.25s forwards;
  animation-delay: .25s;
  font-size: 20px;
}

.hero .rechner h2 {
  color: #264F10;
  font-size: 1em;
  font-weight: 600;
  white-space: nowrap;
  margin-top: -5px;
}

.hero .rechner .main {
  padding: 16.6666666667px;
  margin-bottom: 50px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.hero .rechner .main .line {
  margin-bottom: 20px;
}

.hero .rechner .main .line:last-child {
  margin-bottom: 10px;
}

.hero .rechner .main .line label {
  font-size: .8em;
  margin-bottom: 7px;
  display: block;
  position: relative;
}

.hero .rechner .main .line label .personen {
  position: absolute;
  bottom: 0;
  right: 0;
}

.hero .rechner .main .line label .personen > div {
  display: inline-block;
  margin-left: 10px;
}

.hero .rechner .main .line label .personen > div .person {
  display: inline-block;
  background: url(../images/person.png);
  background-size: 200%;
  background-position: top left;
  width: 6px;
  height: 16px;
  margin-left: 1px;
  opacity: .25;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0.9);
  transform-origin: bottom;
}

.hero .rechner .main .line label .personen > div:hover {
  cursor: pointer;
}

.hero .rechner .main .line label .personen > div:hover .person {
  opacity: 1;
}

.hero .rechner .main .line label .personen > div.aktiv .person {
  background-position: bottom right;
  opacity: 1;
  transform: scale(1);
}

.hero .rechner .main .line .range-wrap {
  border: 1px solid rgba(38, 79, 16, 0.15);
  border-radius: 3px;
  padding: 5px;
  height: 35px;
  box-sizing: border-box;
  position: relative;
}

.hero .rechner .main .line .range-wrap:hover {
  border-color: rgba(38, 79, 16, 0.25);
}

.hero .rechner .main .line .range-wrap .input-wrap {
  display: inline-block;
  width: 30%;
  vertical-align: top;
  box-sizing: border-box;
  position: absolute;
  right: 5px;
  top: 50%;
}

.hero .rechner .main .line .range-wrap .input-wrap.big {
  width: 70%;
  right: auto;
  left: 5px;
  padding-right: 16.6666666667px;
  margin-top: -2px;
}

.hero .rechner .main .line .range-wrap .input-wrap.small {
  margin-top: -15px;
}

.hero .rechner .main .line .range-wrap .input-wrap .rangeslider {
  height: 4px;
  background: rgba(38, 79, 16, 0.15);
  border-radius: 2px;
  box-shadow: none;
}

.hero .rechner .main .line .range-wrap .input-wrap .rangeslider .rangeslider__fill {
  background: #74B727;
  box-shadow: none;
}

.hero .rechner .main .line .range-wrap .input-wrap .rangeslider.rangeslider--active .rangeslider__handle, .hero .rechner .main .line .range-wrap .input-wrap .rangeslider.rangeslider--active .rangeslider__handle:hover {
  background: #122507;
}

.hero .rechner .main .line .range-wrap .input-wrap .rangeslider .rangeslider__handle {
  width: 16px;
  height: 16px;
  background: #74B727;
  box-shadow: none;
  border: none;
  top: -6px;
}

.hero .rechner .main .line .range-wrap .input-wrap .rangeslider .rangeslider__handle:after {
  content: none;
}

.hero .rechner .main .line .range-wrap .input-wrap .rangeslider .rangeslider__handle:hover {
  background: #264F10;
}

.hero .rechner .main .line .range-wrap .input-wrap .rangenum {
  font: inherit;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  border: none;
  color: #264F10;
  font-size: .8em;
  font-weight: 600;
}

.hero .rechner .main .line .range-wrap .input-wrap .rangenum:focus {
  outline: none;
}

.hero .rechner .main .line .range-wrap .input-wrap .rangenum::-webkit-inner-spin-button, .hero .rechner .main .line .range-wrap .input-wrap .rangenum::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hero .rechner .main .line .range-wrap .input-wrap .unit {
  position: absolute;
  right: 5px;
  top: 4px;
  color: rgba(38, 79, 16, 0.5);
  pointer-events: none;
  background: white;
  font-size: .8em;
}

.hero .rechner .main .line .half {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  box-sizing: border-box;
  padding-right: 8.3333333333px;
}

.hero .rechner .main .line .half.right {
  padding-right: 0;
  padding-left: 8.3333333333px;
}

.hero .rechner .main .line .half .select {
  position: relative;
  font-size: .8em;
  font-weight: 600;
  border: 1px solid rgba(38, 79, 16, 0.15);
  border-radius: 3px;
  padding: 5px 10px;
  height: 35px;
  box-sizing: border-box;
  width: 100%;
}

.hero .rechner .main .line .half .select:after {
  content: '';
  width: 6px;
  height: 12px;
  transform: rotate(90deg);
  background-image: url(../images/arrow.png);
  background-size: 300%;
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -6px;
  right: 15px;
  opacity: .25;
}

.hero .rechner .main .line .half .select:hover {
  border-color: rgba(38, 79, 16, 0.25);
}

.hero .rechner .main .line .half .select:hover:after {
  opacity: 1;
}

.hero .rechner .main .line .half select {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: none;
  background: none;
  -webkit-appearance: none;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.hero .rechner .bottom {
  height: 50px;
  line-height: 50px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 16.6666666667px;
  border-top: 1px solid rgba(38, 79, 16, 0.15);
  background: linear-gradient(-135deg, white 0%, #EBF3DC 100%);
}

.hero .rechner .bottom .ergebnis {
  position: absolute;
  right: 16.6666666667px;
  font-weight: 600;
  color: #74B727;
}

.referenz {
  background: linear-gradient(-135deg, white 0%, #EBF3DC 100%);
}

.referenz.flip .bild {
  right: 0;
  left: 50%;
}

.referenz.flip .text {
  margin-left: auto;
  margin-right: 50%;
}

.referenz .referenz-inner {
  max-width: none;
}

.referenz .bild {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  width: 50%;
  max-width: 1040px;
  background-size: cover;
  background-position: center;
}

.referenz .text {
  margin-left: 50%;
  padding: 150px 100px;
  max-width: 550px;
  line-height: 1.5;
}

.referenz .text h2 {
  margin-top: -5px;
  margin-bottom: 18.5185185185px;
  line-height: 1;
}

.referenz .text .button {
  margin-top: 25px;
}

.hierentlang {
  background: linear-gradient(135deg, #54851c 0%, #74B727 100%);
  color: white;
  padding: 50px;
}

.hierentlang h3 {
  color: rgba(38, 79, 16, 0.5);
  font-weight: normal;
  font-size: 3em;
  margin: 0;
  line-height: 1;
  margin-top: -8px;
  margin-right: 200px;
}

.hierentlang h3 strong {
  color: white;
  text-shadow: 0 15px 21px rgba(0, 0, 0, 0.12);
}

.hierentlang .button {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -23px;
}

.carousel {
  background: linear-gradient(135deg, #54851c 0%, #74B727 100%);
}

.carousel .carousel-inner {
  white-space: nowrap;
  max-width: 1350px;
  overflow: hidden;
  padding: 25px;
}

.carousel .flickity-prev-next-button {
  background: none;
  border-radius: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  transform: none;
}

.carousel .flickity-prev-next-button svg {
  left: 15%;
  top: 0%;
  width: 65%;
  height: 100%;
}

.carousel .flickity-prev-next-button path.arrow {
  fill: white;
}

.carousel .flickity-prev-next-button.previous {
  left: 0;
}

.carousel .flickity-prev-next-button.next {
  right: 0;
}

.carousel .slide {
  width: 33.34%;
  box-sizing: border-box;
  display: inline-block;
  padding: 25px;
  color: #264F10;
  transition: opacity .25s ease-in-out;
}

.carousel .slide .slide-inner {
  border-radius: 3px;
  text-decoration: none;
  display: block;
  overflow: hidden;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.12);
}

.carousel .slide .slide-inner:hover {
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25);
}

.carousel .slide .slide-inner:hover .name {
  background: #264F10;
  color: white;
}

.carousel .slide .slide-inner:hover .name:after {
  background-position: bottom right;
}

.carousel .slide img {
  display: block;
  max-width: 100%;
}

.carousel .slide .name {
  font-weight: bold;
  padding: 12px 15px 13px 15px;
  position: relative;
  background: white;
}

.carousel .slide .name:after {
  content: '';
  width: 8px;
  height: 14px;
  background-image: url(../images/arrow.png);
  background-size: 300%;
  display: block;
  margin-left: 12.5px;
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -7px;
}

main {
  min-height: 500px;
}

.tippy-tooltip {
  background-color: rgba(18, 37, 7, 0.95);
  color: white;
  text-align: left;
  font: inherit;
  padding: .6rem 1rem;
}

.tippy-tooltip .tippy-arrow {
  border-bottom-color: rgba(18, 37, 7, 0.95) !important;
  border-top-color: rgba(18, 37, 7, 0.95) !important;
}

.team {
  color: white;
}

.team .t {
  text-align: center;
  width: 20%;
  margin-bottom: 25px;
  text-decoration: none;
}

.team .t .bild {
  display: inline-block;
  width: 100%;
  max-width: 175px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team .t .bild img {
  width: 100%;
  display: block;
}

.team .t .text {
  font-size: 1.5em;
  margin-top: 5px;
  transition: all .15s ease-in-out;
  position: relative;
  z-index: 2;
}

.team .t .text span {
  display: block;
}

.team .t .text span.title {
  font-weight: 600;
}

.team .t:hover {
  cursor: help;
}

.team .t:hover .bild {
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.12);
  border-color: #264F10;
  transform: rotate(3deg) scale(1.05);
}

.team .t:hover .text {
  color: #264F10;
}

.team .t.karriere:hover {
  cursor: pointer;
}

.team .t.karriere .bild {
  background: #74B727;
  opacity: .25;
}

.team .t.karriere .text {
  opacity: .33;
}

.team .t.karriere:hover .bild {
  background: #264F10;
  opacity: 1;
}

.team .t.karriere:hover .text {
  opacity: 1;
}

.filterbar {
  background: #4c781a;
  color: white;
}

.filterbar .inner {
  padding: 50px 25px;
  max-width: 1350px;
}

.filterbar .filterselect {
  display: inline-block;
  vertical-align: top;
  width: 33.33%;
  box-sizing: border-box;
  padding: 0 25px;
}

.filterbar .filterselect .filterselect-inner {
  display: inline-block;
  vertical-align: top;
  padding: 0 15px;
  height: 50px;
  border: 2px solid white;
  color: white;
  border-radius: 3px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
}

.filterbar .filterselect .filterselect-inner:after {
  content: '';
  width: 8px;
  height: 14px;
  background-image: url(../images/arrow.png);
  background-size: 300%;
  background-position: bottom right;
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -7px;
  transform: rotate(90deg);
}

.filterbar .filterselect .filterselect-inner.aktiv {
  background: white;
  color: #264F10;
}

.filterbar .filterselect .filterselect-inner.aktiv:after {
  background-position: top left;
}

.filterbar .filterselect .filterselect-inner.aktiv label {
  opacity: 1;
  top: -30px;
  left: 0;
  font-size: .8em;
}

.filterbar .filterselect label {
  position: absolute;
  top: 0;
  left: 15px;
  opacity: 0;
  transition: all .1s ease-in-out;
  color: white;
}

.filterbar .filterselect .text {
  display: block;
  padding: 10px 0;
}

.filterbar .filterselect select {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: none;
  background: none;
  -webkit-appearance: none;
  padding: 0;
  width: 100%;
  height: 100%;
  color: #264F10;
  cursor: pointer;
  z-index: 10;
}

.filterbar .filtersearch {
  display: inline-block;
  vertical-align: top;
  width: 33.33%;
  box-sizing: border-box;
  padding: 0 25px;
  position: relative;
}

.filterbar .filtersearch input {
  display: block;
  padding: 0px 15px 2px 15px;
  height: 50px;
  border: 2px solid white;
  color: white;
  border-radius: 3px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  z-index: 2;
  background: none;
  font: inherit;
}

.filterbar .filtersearch input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.filterbar .filtersearch input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.filterbar .filtersearch input::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.filterbar .filtersearch input:focus {
  outline: none;
}

.filterbar .filtersearch:after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url(../images/lupe.png);
  background-size: 100%;
  background-position: bottom right;
  display: block;
  position: absolute;
  right: 40px;
  top: 50%;
  margin-top: -8px;
  transform: rotate(90deg);
}

.single-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  opacity: .5;
  z-index: 1000;
  display: block;
}

.referenz-single {
  opacity: 0;
  animation: slide ease-in-out 0.25s forwards;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  background: white;
  background: linear-gradient(-45deg, #EBF3DC 0%, white 100%);
  width: 100%;
  max-width: 960px;
  box-shadow: -100px 0 500px 100px rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.referenz-single a.x {
  position: absolute;
  top: 16.6666666667px;
  right: 16.6666666667px;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #74B727;
  z-index: 100;
}

.referenz-single a.x svg {
  position: absolute;
  left: 35%;
  top: 30%;
  width: 30%;
  height: 40%;
}

.referenz-single a.x svg polygon {
  fill: white;
}

.referenz-single a.x:hover {
  background: #264F10;
}

.referenz-single .referenz-single-inner {
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.referenz-single .slider .slider-inner {
  height: 50vh;
  max-height: 600px;
  min-height: 300px;
}

.referenz-single .slider .slider-inner .img {
  height: 50vh;
  max-height: 600px;
  min-height: 300px;
}

.referenz-single .text {
  padding: 50px;
}

.referenzen {
  background: linear-gradient(135deg, #54851c 0%, #74B727 100%);
  min-height: 600px;
}

.referenzen .referenzen-inner {
  padding: 25px;
  max-width: 1350px;
}

.referenzen .no {
  display: none;
  padding: 25px;
}

.referenzen .no .no-inner {
  background: white;
  padding: 50px;
  border-radius: 3px;
}

.referenzen .r {
  width: 33.33%;
  box-sizing: border-box;
  display: inline-block;
  padding: 25px;
  color: #264F10;
  transition: opacity .25s ease-in-out;
  text-decoration: none;
  vertical-align: top;
}

.referenzen .r.kategorie-filter, .referenzen .r.ort-filter, .referenzen .r.suche-filter {
  display: none;
}

.referenzen .r .r-inner {
  border-radius: 3px;
  text-decoration: none;
  display: block;
  overflow: hidden;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.12);
}

.referenzen .r .r-inner:hover, .referenzen .r .r-inner.aktiv {
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.25);
}

.referenzen .r .r-inner:hover .name, .referenzen .r .r-inner.aktiv .name {
  background: #264F10;
  color: white;
}

.referenzen .r .r-inner:hover .name:after, .referenzen .r .r-inner.aktiv .name:after {
  background-position: bottom right;
}

.referenzen .r .r-inner .bild {
  position: relative;
}

.referenzen .r .r-inner .spinner {
  position: absolute;
  background: white;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(../images/spinner.gif);
  background-position: center;
  background-size: 50px;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all .5s;
  transition-delay: 1s;
}

.referenzen .r .r-inner.loading .spinner {
  opacity: 1;
}

.referenzen .r .r-inner img {
  display: block;
  width: 100%;
}

.referenzen .r .r-inner .name {
  font-weight: bold;
  padding: 12px 45px 13px 15px;
  position: relative;
  background: white;
}

.referenzen .r .r-inner .name:after {
  content: '';
  width: 8px;
  height: 14px;
  background-image: url(../images/arrow.png);
  background-size: 300%;
  display: block;
  margin-left: 12.5px;
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -7px;
}

.referenzen .r .r-inner .text {
  display: none;
}

.section-nav {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: #EBF3DC;
  padding: 0 50px;
  color: #264F10;
  height: 100px;
  transition: height .1s ease-in-out;
}

.section-nav .section-nav-inner {
  height: 100%;
}

.scrolled .section-nav {
  position: fixed;
}

.more-scrolled .section-nav {
  height: 75px;
}

.section-nav h1 {
  display: block;
  color: inherit;
  margin: 0;
  position: absolute;
  left: -12.5px;
  top: 50%;
  margin-top: -25px;
  font-size: 1.5em;
  font-weight: 600;
  padding: 5px 10px 7px 10px;
}

.section-nav .section-hamburger {
  position: absolute;
  top: 50%;
  margin-top: -2px;
  right: 0;
  display: block;
  display: none;
  user-select: none;
}

.section-nav .section-hamburger .section-hamburger-inner {
  width: 12px;
  height: 12px;
  transition: transform .2s ease-in-out;
  color: inherit;
  position: relative;
}

.section-nav .section-hamburger span {
  height: 3px;
  background-color: #74B727;
  width: 100%;
  display: block;
  transition: transform .2s ease-in-out, top .2s ease-in-out;
  position: absolute;
  transform: rotate(45deg);
  margin-left: -7px;
  top: 0;
}

.section-nav .section-hamburger span.s2 {
  transform: rotate(-45deg);
  margin-left: auto;
  margin-right: -7px;
}

.section-nav .sections {
  display: block;
  position: absolute;
  right: -12.5px;
  top: 50%;
  margin-top: -18px;
  color: rgba(18, 37, 7, 0.8);
}

.section-nav .sections a {
  text-decoration: none;
  display: inline-block;
  padding: 5px 10px 7px 10px;
  margin-left: 10px;
  border-radius: 3px;
}

.section-nav .sections a.aktiv {
  color: #74B727;
}

.section-nav .sections a:hover {
  color: white;
  background: #74B727;
}

main.sections section {
  border-bottom: 1px solid rgba(38, 79, 16, 0.15);
  min-height: 200px;
  position: relative;
}

main.sections section:last-child {
  border-bottom: 0;
}

main.sections section a.anker {
  position: absolute;
  top: -75px;
}

main.sections section a:hover {
  color: #74B727;
}

main.sections section a.button {
  margin: 1em 0;
}

main.sections section a.button:hover {
  color: white;
}

main.sections section.section .section-inner, main.sections section.kontakt .section-inner {
  padding: 50px;
}

main.sections section.section .slider, main.sections section.kontakt .slider {
  background: linear-gradient(135deg, #54851c 0%, #74B727 100%);
}

main.sections section.section .slider .slider-inner, main.sections section.kontakt .slider .slider-inner {
  height: 50vh;
  max-height: 600px;
  min-height: 300px;
  max-width: 2080px;
}

main.sections section.section .slider .slider-inner .img, main.sections section.kontakt .slider .slider-inner .img {
  height: 50vh;
  max-height: 600px;
  min-height: 300px;
}

main.sections section.section .text, main.sections section.kontakt .text {
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.5;
}

main.sections section.section .text figure, main.sections section.kontakt .text figure {
  margin: 2em 0;
}

main.sections section.section .text figure img, main.sections section.kontakt .text figure img {
  display: block;
  max-width: 100%;
  border-radius: 3px;
}

main.sections section.section .text figure figcaption, main.sections section.kontakt .text figure figcaption {
  color: rgba(38, 79, 16, 0.6);
  font-size: .8em;
  margin-top: .5em;
}

main.sections section.team {
  padding: 50px;
  background: linear-gradient(135deg, #54851c 0%, #74B727 100%);
}

main.sections section.karte iframe {
  width: 100%;
  height: 50vh;
  max-height: 600px;
  min-height: 300px;
  display: block;
}

footer {
  background: #4c781a;
  color: white;
  padding: 50px;
}

footer .links {
  font-size: 1.5em;
  font-weight: 600;
  margin-left: -25px;
  width: calc(100% + 50px);
  margin-bottom: 50px;
}

footer .links .col {
  padding: 25px;
}

footer .links a {
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

footer .links a:hover {
  color: #264F10;
}

footer .adresse {
  text-align: center;
}

footer .adresse .adresse-inner {
  display: inline-block;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  padding-bottom: 50px;
}

footer .adresse .adresse-inner a:hover {
  color: #264F10;
}

footer .lurch {
  position: absolute;
  bottom: -33.3333333333px;
  left: -75px;
  overflow: hidden;
}

footer .lurch .lurch-inner {
  width: 278px;
  height: 233px;
  background-image: url(../images/lurch.png);
  background-size: 100%;
}

footer .lurch:hover .lurch-inner {
  animation: wiggle .5s ease-in-out;
}

footer .totop {
  display: block;
  position: absolute;
  background: rgba(38, 79, 16, 0.25);
  color: white;
  text-decoration: none;
  right: 0;
  bottom: 0;
  padding: 25px 33.3333333333px;
  text-align: center;
  border-radius: 3px;
  font-weight: 600;
}

footer .totop .icon {
  width: 12px;
  height: 24px;
  transform: rotate(-90deg);
  background-image: url(../images/arrow.png);
  background-size: 300%;
  background-position: bottom right;
  display: inline-block;
}

footer .totop:hover {
  background: #264F10;
}

@media screen and (max-width: 1400px) {
  .referenz .text {
    padding: 100px 50px;
  }
}

@media screen and (max-width: 1300px) {
  body {
    font-size: 18px;
  }

  header .menu .navipunkt {
    margin-left: 0;
  }

  header .menu .navipunkt > a {
    padding: 5px 10px 7px 10px;
  }

  header .menu.navi {
    bottom: -20px;
  }

  .hero h1 {
    font-size: 2.5em;
  }

  .hero .rechner {
    top: -95px;
  }
}

@media screen and (max-width: 1000px) {
  .scrolled header {
    margin-bottom: 50px;
  }

  header .menu-wrap {
    display: none;
    position: absolute;
    top: 100px;
    left: -50px;
    right: -50px;
    background: rgba(36, 57, 12, 0.95);
    z-index: 200;
    box-sizing: border-box;
    padding: 25px;
  }

  header .menu-wrap .menu {
    position: relative;
    text-align: left;
    right: auto;
    top: auto;
    bottom: auto;
    color: white;
    display: inline-block;
    padding: 0 25px;
    box-sizing: border-box;
    vertical-align: top;
    width: auto;
  }

  header .menu-wrap .menu .navipunkt {
    display: block;
    margin-bottom: 10px;
  }

  header .menu-wrap .menu .navipunkt:hover a {
    background: none;
  }

  header .menu-wrap .menu .navipunkt.aktiv {
    color: #74B727;
  }

  header .menu-wrap .menu .navipunkt:last-child {
    margin-bottom: auto;
  }

  header .menu-wrap .menu .navipunkt a {
    padding: 0;
  }

  .hamburger-open header .menu-wrap {
    display: block;
  }

  header .hamburger {
    display: block;
  }

  .section-nav, .scrolled .section-nav {
    height: 50px;
    padding: 0 25px;
    margin-bottom: auto;
  }

  .section-nav .titleburger, .scrolled .section-nav .titleburger {
    height: 50px;
    cursor: pointer;
  }

  .section-nav .titleburger:hover .section-hamburger span, .scrolled .section-nav .titleburger:hover .section-hamburger span {
    background: #264F10;
  }

  .section-nav h1, .scrolled .section-nav h1 {
    font-size: 1em;
    margin-top: -18px;
  }

  .section-nav .section-hamburger, .scrolled .section-nav .section-hamburger {
    display: block;
  }

  .section-nav .sections, .scrolled .section-nav .sections {
    display: none;
    right: -25px;
    left: -25px;
    text-align: left;
    top: 50px;
    margin-top: auto;
    background: rgba(36, 57, 12, 0.95);
    color: white;
    padding: 10px 0;
  }

  .section-nav .sections a, .scrolled .section-nav .sections a {
    display: block;
    padding: 10px 25px;
    margin: 0;
    border-radius: 0;
  }

  .section-nav .sections a:hover, .scrolled .section-nav .sections a:hover {
    background: none;
    color: white;
  }

  .section-nav .sections a.aktiv, .scrolled .section-nav .sections a.aktiv {
    color: #74B727;
  }

  .section-hamburger-open .section-nav .section-hamburger span, .section-hamburger-open .scrolled .section-nav .section-hamburger span {
    transform: rotate(0);
  }

  .section-hamburger-open .section-nav .sections, .section-hamburger-open .scrolled .section-nav .sections {
    display: block;
  }

  .hero {
    padding: 50px;
  }

  .hero h1 {
    font-size: 1.8em;
  }

  .hero .rechner {
    position: relative;
    top: auto;
    bottom: auto;
    margin-top: 50px;
    width: 100%;
    max-width: 600px;
    height: auto;
  }

  .referenz .bild, .referenz.flip .bild {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    height: 300px;
    height: 50vw;
    width: 100%;
    max-width: none;
    left: auto;
  }

  .referenz .text, .referenz.flip .text {
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    padding: 50px;
  }

  .hierentlang .button {
    position: relative;
    margin-top: 25px;
    top: auto;
    right: auto;
  }

  .carousel .slide {
    width: 50%;
  }

  .filterbar .filterselect, .filterbar .filtersearch {
    display: block;
    width: 100%;
    margin-bottom: 25px;
  }

  .filterbar .filterselect label, .filterbar .filtersearch label {
    display: none;
  }

  .filterbar .filterselect:last-child, .filterbar .filtersearch:last-child {
    margin-bottom: auto;
  }

  .referenzen .r {
    width: 50%;
  }

  .team .t {
    width: 33.33%;
  }

  main.sections section a.anker {
    top: -50px;
  }

  main.sections section.team {
    padding: 25px;
  }

  main.sections section.section .section-inner, main.sections section.kontakt .section-inner {
    padding: 25px;
  }

  footer .links .col {
    width: 50%;
  }

  footer .links .col:last-child {
    display: none;
  }

  footer .lurch {
    display: none;
  }

  footer .totop {
    position: relative;
    padding: 10px;
  }

  footer .totop .icon {
    width: 9px;
    height: 16px;
  }
}

@media screen and (max-width: 600px) {
  .desktop {
    display: none;
  }

  .mobil {
    display: block;
  }

  header {
    padding: 25px;
  }

  header .logo {
    width: 224px;
    margin-top: -38px;
    left: -30px;
  }

  header .logo .homes {
    left: 88px;
    top: 48px;
  }

  header .logo .homes a {
    margin-right: 5px;
  }

  header .menu-wrap {
    top: 75px;
  }

  .hero {
    padding: 50px 25px;
  }

  .hero .rechner {
    border-radius: 0;
    left: -25px;
    width: calc(100% + 50px);
    margin-bottom: -50px;
  }

  .referenz .text, .referenz.flip .text {
    padding: 33.3333333333px 25px;
  }

  .hierentlang {
    padding: 33.3333333333px 25px;
  }

  .hierentlang h3 {
    font-size: 2em;
  }

  .carousel .carousel-inner {
    padding: 0;
  }

  .carousel .flickity-prev-next-button {
    width: 60px;
  }

  .carousel .slide {
    width: 100%;
  }

  .filterbar .inner {
    padding: 25px 0;
  }

  .referenzen .inner {
    padding: 0;
  }

  .referenzen .r {
    width: 100%;
    margin-bottom: -25px;
  }

  .referenzen .r:last-child {
    margin-bottom: auto;
  }

  .referenz-single .text {
    padding: 25px;
  }

  .team .t {
    width: 50%;
  }

  footer {
    padding: 25px;
  }

  footer .links {
    margin-left: auto;
    margin-right: auto;
    width: auto;
  }

  footer .links .col {
    width: 100%;
    display: block;
    padding: 0;
  }
}
