@import url("reset.css");
:root {
    --text: #3e3e3e;
    --primaer: #ce332c;
    --primaer-transparent: #5c7db6;
    --primaer-transparent-nav: #fff;
    --sekundaer: #60bb96;
    --kontrast: #ce332c;
}

/* montserrat-regular - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
  /* montserrat-700 - latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v25-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/montserrat-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-700.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
  /* montserrat-italic - latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/montserrat-v25-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-italic.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
  /* montserrat-700italic - latin */
  @font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/montserrat-v25-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/montserrat-v25-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/montserrat-v25-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/montserrat-v25-latin-700italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/montserrat-v25-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/montserrat-v25-latin-700italic.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  

*{
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: 400 16px/160% 'Montserrat', sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    margin-bottom: 16px;
}

a {
    text-decoration: none;    
	transition: 0.3s;
}

img {
    width: 100%;
}

a:hover {
    opacity: 0.5;
}

.dsa-secure-plugin a:hover {
    opacity: 1;
}

header {
    background: linear-gradient(90deg, rgba(206, 51, 44, 0.79), rgba(96, 187, 150, 0.76)), url("../images/gymnastikbaelle.jpg") no-repeat center/cover;       
    height: 60vw;
    min-height: 700px;
    position: relative;
}

header .ingeneur{
    position: absolute;
    bottom: 10%;
    right: 2%;
    height: 80%;
    width: auto;
}

header .intro{
    position: absolute;
    left: 5%;
    top: 30%;
    width: 50%;
    max-width: 1024px;
}

header .intro h1 {
    font-weight: 700;
    font-size: 300%;
    line-height: 100%;
    color: #fff;
    margin-bottom: 20px;
}

ul li{
	margin-top: 10px;
}

strong{
	font-weight: 700;
}

header .intro p {
    color: #fff;
    font-size: 140%;
    line-height: 100%;
    margin-bottom: 20px;
}

.logo{
	color: #fff;
	font-weight: 700;
	font-size: 20px;
}

.logo img{
	height: 60px;
}

.button{
    background-color: var(--sekundaer);
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
	width: 150px;
	height: 150px;
	text-align: center;
	border-radius: 200px;
	padding-top: 60px;
}

header .ingeneur img{
    width: auto;
    height: 100%;
}

header .welle{
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
    right: 0;
    z-index: 1;
}

header .welle img {
    width: 100%;
}

nav {
    z-index: 999;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
}

nav .span {
    position: fixed;
    flex-direction: column;
    justify-content: space-between;
    display: none;
    height: 35px;
    width: 45px;
}

nav .span div {
    width: 100%;
    border-bottom: 5px solid #fff;
}

img.logo {
    max-width: 320px;
    width: 100%;
}

.desktop-nav {
    width: 100%;
    text-align: right;
}

.desktop-nav a {
    padding: 0 10px;
    color: #fff;
    text-transform: uppercase;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    background-color: var(--primaer);
    background-color: var(--primaer-transparent-nav);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
	padding: 12px;
	text-decoration: none;
	font-size: 180%;
	color: #ce332c;
	display: block;
}

.overlay .closebtn {
    position: absolute;
    font-size: 60px;
}

.overlay .closebtn, nav .span {
    top: 35px;
    right: 5%;
}

.overlay a.closebtn {
    font-weight: 300;
}

.dse{
    font-size: 80%;
    text-align: center;
    position: fixed;
    bottom: 0;
    right: 5%;
    background-color: var(--kontrast);
    color: #fff;
    width: 290px;
    padding: 5px;
    z-index: 9;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.dse a {
    color: #fff;
}

.small-dialog {
    background: white;
    padding: 20px 30px;
    text-align: left;
    max-width: 400px;
    margin: 40px auto;
    position: relative;
}

.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;



    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;

    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);

    opacity: 0;
}

.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

article {
    width: 100%;
}

b{
    font-weight: 700;
}

h2{
    font-size: 200%;
    line-height: 110%;
    font-weight: 700;
    margin-bottom: 30px;
}

h6{
    font-weight: 700;
}

h6 span {
    color: var(--sekundaer);
}

h2 span {
    color: var(--sekundaer);
    font-size: 50%;
    font-weight: 400;
    display: inline-block;
    margin-bottom: 10px;
}

article ul, footer ul {
    list-style: square;
    margin-left: 15px;
}

article ul li::marker, 
footer ul li::marker {
    color: var(--sekundaer);
}

.content {
    padding: 100px 5%;
}

.ueber .content {
    padding: 50px 5% 200px 5%;
}

.flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ueber .flex{
    align-items: stretch;
}

.col{
    width: 48%;
}

.col .button, .termin .button {
    margin-top: 30px;
}

.flexcol{
    display: flex;
    justify-content: flex-end;
}

.picture{  
    width: 100%;
    height: calc(100% + 20px);
    min-height: 400px;
    background: url("../images/ergotherapie.jpg")no-repeat right 24% center/cover;   
    display: flex;
	border-radius: 20px;
    justify-content: center;
    align-items: flex-end;
}

.pic-caption{
    background-color: var(--sekundaer);
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 300px;
    padding: 20px 5%;
    border-radius: 3px;
    position: relative;
    bottom: -70px;
}

.termin{
    background: url("../images/lernen.jpg")no-repeat center/cover;
    min-height: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.termin h2, .termin h2 span, .termin p {
    color: #fff;
    max-width: 675px;
}

p span {
    color: var(--sekundaer)
}

.parallax{
    background-attachment: fixed;
}

img.icon {
    max-width: 92px;
    margin-top: 20px;
}

.energiekonzepte{
    background-color: #f5f5f5;
}

.energiekonzepte .content{
    max-width: 1600px;
    margin: auto;
    text-align: center;
}

.energiekonzepte .flex{
    margin-top: 50px;
}

.energiekonzepte .col {
	text-align: center;
	background-color: #fff;
	border-radius: 3px;
	box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.2);
    padding-bottom: 30px;
	width: 31%;
	margin-left: 1%;
	margin-right: 1%;
	border-radius: 20px;
}

.energiekonzepte .col img{
	height: 250px;
	object-fit: cover;
	border-radius: 20px
}

.energiekonzepte .col .icon{
	height: 80px;
	object-fit: contain;
}

.energiekonzepte h6 {
    margin-bottom: 10px;
    padding: 0 5%;
}

.energiekonzepte p, .energiekonzepte ul {
    padding: 0 5%;
}

.energiekonzepte ul li{
    margin-bottom: 10px;
}

.energiekonzepte ul li::marker{
    color: var(--sekundaer)
}

.energiekonzepte ul {
    text-align: left;
    list-style: square;
    margin-left: 15px;
    margin-top: 20px;
}

.entsorgungskonzepte{
    background-color: #eaeaea;
}

.entsorgungskonzepte .flex{
    flex-direction: row-reverse;
}

.ueber.entsorgungskonzepte .content {
    padding: 100px 5%;
}

#galerie{
	padding: 100px 10%;
	text-align: center;
	background: #e8e8e8
}


.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 9999999999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.86);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: transparent;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.prev{
	left: 0;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
	background: #ce332c;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: transparent;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.row img{
	height: 350px;
	object-fit: cover;
	border-radius: 10px;
	margin-top: 10px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.mySlides img{
	height: 80vh;
	object-fit: contain;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.entsorgungskonzepte .picture{
    aspect-ratio: 3/2;
    background-image: url('../images/entsorgungskonzepte-anlagen.jpg');
    background-position: center bottom;
}

h3 {
    font-size: 150%;
    font-weight: 700;
    margin-top: 30px;
}

h3 span {
    color: var(--sekundaer);
    font-size: 66.6%;
}


.aufwerten{
    background: url('../images/physio.jpg')no-repeat top right -5%/ auto 150%;
}

.aufwerten.flex{
    align-items: stretch;
}

.col-50:first-of-type{
    padding: 100px 0 100px 5%;
    background-color: #fff;
    width: 40%;
}

.col-50:nth-of-type(2){
    background: url('../images/welle-side.svg')no-repeat left center/ auto 105%;
    position: relative;
    left: -1px;
    width: 60%;
}

.kontaktbereich{
    background-image: none;
    background: url(../images/parallax.jpg);
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
    height: auto;
    min-height: auto;
}

.kontakt{
    background-color: #ce332c;
    color: #fff;
}

.kontakt .content {
    padding: 100px 5%;
}

.kontakt a {
    color: var(--sekundaer)
}

.kontakt a.button {
    color: #fff
}

.kontakt h2, .kontakt h2 span {
    color: #fff
}

.impressum .kontakt {
    min-height: 100vh;
}

@media screen and (hover:none){
    .parallax{
        background-attachment: scroll;
    }
}

@media screen and (max-width: 1400px) {
    .aufwerten {
        background: url('../images/physio.jpg')no-repeat center/ cover;
    }
	
}


@media screen and (max-width: 1200px) {
    nav .span {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    header .intro{
        background: rgba(255,255,255,0.8);
        border-radius: 3px;
        padding: 20px 5%;
        top: 25%;
    }

    header .intro h1 {
        font-size: 200%;
        color: var(--text);
    }

    header .intro p {
        color: var(--text);
        font-size: 120%;
    }

    .col-50:nth-of-type(2) {
    }

    .col-50:first-of-type {
        padding: 100px 5%;
    }
	
	.row img{
	height: 350px;
}
	.column {
    width: 33%;
}
}

@media screen and (max-width: 1024px){
    .col-50:nth-of-type(2), .col-50:first-of-type, .col {
        width: 100%;
    }

    .col-50:nth-of-type(2) {
        display: block;
        background: url('../images/physio.jpg')no-repeat top/cover;
        height: 400px;
    }

    .energiekonzepte .col {
        margin-bottom: 30px;
        width: 48%;
    }

    .ueber .flex{
        flex-direction: column-reverse;
    }

    .picture{
        margin-top: 30px;
    }

    .kontakt .flex{
        flex-direction: column;
    }

    .dsa-secure-plugin{
        margin-top: 30px;
    }
}

@media screen and (max-width: 900px) {    
    header .intro {
        width: auto;
        right: 5%;
        top: auto;
        bottom: 0;
        z-index: 9;
    }
	
	

    header .intro h1 {
        font-size: 160%;
        margin-bottom: 10px;
    }

    header .intro p {
        font-size: 100%;
        line-height: 120%;
        margin-bottom: 10px;
    }
	
		
	.row img{
	height: 350px;
}
	.column {
    width: 50%;
}
}

@media screen and (max-width: 768px) {    
    header .ingeneur{
        bottom: 0;
    }

    nav .span {
        height: 30px;
        width: 36px;
    }

    .energiekonzepte .col {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {    
    img.logo {
        max-width: 240px;
    }  
	
		
	.row img{
	height: 300px;
}
	.column {
    width: 100%;
}
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}


/*KEYFRAMES*/
.slide-in-right {
	-webkit-animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
.slide-in-left {
	-webkit-animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

 @-webkit-keyframes slide-in-right {
    0% {
      -webkit-transform: translateX(1000px);
              transform: translateX(1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-right {
    0% {
      -webkit-transform: translateX(1000px);
              transform: translateX(1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
@-webkit-keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-1000px);
              transform: translateX(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-1000px);
              transform: translateX(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  