@media screen and (max-width: 1659px){
	/*.simplichart:not(.two .simplichart) {
		margin: 0 0 0 36px;
		width:calc(100% - 70px);
		height:100px;
	}
    .simplichart {
        margin-bottom:30px !important;
    }
    .simplichart[data-type="line"]{
        margin-left:0px !important;
    }*/
}
@media screen and (max-width: 1839px){
    .topnav{
        min-height: 67px;
        height: auto;
        width: calc(100% - 280px);
        left:inherit;
        right:0px;
        padding-right:35px;
        padding-left:0;
    }
    #introwrapper{
        z-index:110;
    }
    #logo {
      top: 25px;
      height: 82px;
      z-index: 99;
      right:35px;
    }
    .topnav li a {
        font-size: var(--fs-body);
        line-height: var(--lh-body);
    }

    #btn_nav{
        display: inherit;
        top: 13px;
        right: 35px;
        position: absolute;
        z-index: 99;
    }
    .navbutton:last-child{
        margin-right: 60px;
    }
    .nav{
        display: none;
    }
    .topnav li {
        padding-bottom: 15px;
        display: inline-block;
        margin-right:25px;
    }
    .c-hamburger span::before, .c-hamburger span::after, .c-hamburger span{
        background-color: #022B4B;
    }
    .c-hamburger--htx.is-active span::before, .c-hamburger--htx.is-active span::after {
        background-color: #022B4B;
    }
    .mobnav {
       margin-top: 0px;
       position: absolute;
       right: 0;
       top: -50px;
       padding-top:67px;
       background: #fff;
       width: 100vw;
       padding-bottom:5px;
       padding-left:35px;
       box-shadow: rgba(50,50,50,0.1) 0px 5px 5px;
     }
    .mobnav li a {
        margin-left: 0px;
    }
}
@media screen and (max-width: 1400px){
	#pageErfolgsrechnung .forlegend{
		width: 70vw;
	}

    .hometxt h1{
        margin-left:30px;
    }
}
@media screen and (max-width: 1200px){
	.topnav .nav li a {
	    font-size: var(--fs-small);
	    line-height: var(--lh-small);
	}
	.topnav .nav li:not(:first-of-type) a{
		margin-left: 20px;
	}
	#flower {
		left: -197px;
		margin-top: -178px;
		width: 400px;
	}
    section[data-idnav="2"] .centered.defaulttxt {
        margin-left:calc(16.666% + 130px);
        max-width: calc(100% - 16.666% - 160px);
    }

    }
}
@media screen and (max-width: 1054px){
    section[data-idnav="2"] .defaultimg {
        left:30px;
    }
}
@media screen and (max-width: 992px){
    :root {


      --fs-xxl: 45px;
      --lh-xxl: 60px;

      --fs-xl: 30px;
      --lh-xl: 42px;

      --fs-big: 24px;
      --lh-big: 32px;

      --fs-body: 20px;
      --lh-body: 30px;

      --fs-fac: 80px;
      --lh-fac: 113px;

      --fs-ol:30px;
      --lh-ol:42px;


      --m-big: 90px;
      --m-med: 60px;
      --m-sml: 30px;
      --m-tiny: 15px;
    }

	h1{
		hyphens: auto;
	}
    section[data-idnav="2"] .centered.defaulttxt{
        max-width: inherit;
        margin-left: auto;
    }
	section[data-idnav="2"] .defaultimg {
	    margin-top: 100px;
	    position: relative;
        width: 83.33333333%;
        margin-left:auto;
        margin-right:auto;
        left: inherit;
        padding-right:0;
        margin-top:var(--m-sml);

	}
	.chartimg img {
	    float: left;
	    max-height: 100px;
	    max-width: 100px;
	    margin-top: -75px;
		margin-left: 8.333333%;
		padding-right: 0;
		padding-bottom: 15px;
	}
	.chartimg{
		padding-right: 0;
		position: relative;
		float: left;
		margin-top: 50px;
	}
	#pageErfolgsrechnung .chartwrap h1{
		/*max-width: calc(100% - 100px);*/
	}
	#pageErfolgsrechnung .forlegend {
	  width: 85vw;
	}
	.form .right{
		width: calc(50% - 50px);
		margin: 0 25px;
		padding: 0;
		margin-top: -10px;
	}
	.form .left img{
		min-height: 580px;
	    object-fit: cover;
	}
	#flower {
		margin-top: -260px;
	}
/*.facts h1{
        top:inherit;
        bottom:25px;
        transform: translate(-50%, 0%);
    }*/
    .facts .defaulttxt{
        font-size:var(--fs-sml);
        hyphens: auto;
    }

}
@media screen and (max-width: 866px){
    .navbutton{
        margin-left:0;
        margin-right:25px;
    }
}
@media screen and (max-width: 767px){
    #btn_nav{
        right:20px;
    }
    #helpbuttons {
        right: 10px;
      }
    .mobnav {
        padding-left: 15px;
        margin-top:67px;
    }
    .topnav li{
        display:block;
    }

    .topnav{
        padding: 0px 15px;
    }
    .hometxt h1{
        margin-left:15px;
    }
    section[data-idnav="2"] .defaultimg{
        width:100%;
    }
    section:not([data-idnav="1"]){
        padding-left:15px;
        padding-right:15px;
    }
    section > .simpli_mod_gallery {
        width:calc(100% + 30px);
        margin-left:-15px;
    }


	#navbutton{
		right: 15px;
	}
	.defaultimg img {
		max-width: 290px;
	}
	.chartimg img {
		width: auto;
		margin-left: 0;
	}
	#pageErfolgsrechnung .forlegend {
    	width: 95vw;
  	}
    .piechartwrap .simplichart, .simplichartlegend{
        width:100%;
    }
	.desktopimg{
		display: none;
	}
	.mobileimg{
		display: block;
		width: 100%;
		height: auto;
		position: relative;
	}
	.mobileimg img{
		width: 100%;
		height: auto;
		min-height: 200px;
		object-fit: cover;
		display: block;
		position: relative;
	}
	.two .desktopimg{
		display: inherit;
	}
    .piechartwrap{
        width:100%;
        flex-wrap: wrap;
    }
    .greenback .simpli_mod_text{
        width:calc(100% + 30px);
        margin-left:-15px;
        padding-left:15px;
    }
    .simplichartlegend{
        padding-left:0;
    }
	#logo {
	  left:15px;
      top: 22px;
    }
    footer{
        padding: var(--m-med) 15px var(--m-sml) 15px;
    }
	.hoveronly img,#hoverimg{
		height: 45px;
		width: auto;
	}
	#helpbuttons .toggle_container {
		min-height: 45px;
		width: 45px;
		left: 60px;
	}
	#normalsize {
	    margin-top: 8px !important;
	}
	#hoverimg{
		padding-right: 15px;
	}
	.form .right{
		width:calc(100% - 30px);
		margin: 0px 15px;
		margin-top: 50px;
	}
	.defaulttxt h1 {
	    margin-bottom: 35px;
	}
	.legend{
		top: -28px;
	}

	.greenback .defaultimg {
		/*margin-top: 0px;
		position: relative;
		text-align: right;
*/
		display: none;
	}
	.overlaywrap{
		display: inherit;
	}
	.overlaywrap .right{
		border-left:none;
		margin-top: 0px;
	}
	.overlaywrap .left{
		margin-top: 100px;
	}
	.overlaywrap .left,.overlaywrap .right{
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	#backhome{
		margin:20px;
		top: 15px;
	}
	.chartwrap a:first-of-type{
		margin-top: 50px;
	}

	#intro3::after {
		border-left: 0px solid transparent;
		border-right: 30px solid transparent;
	}
	#intro3{
		left: 35px;
	}
	#intro4{
		right: 35px;
	}
	.two svg{
		/*margin: 0 15px;*/
		letter-spacing: 0;
	}
}
@media screen and (max-width: 650px){
    header{
        height: 123px;
    }

    .navbutton{
    height: 41px;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 20px;
    }

	.legend {
	   margin-right: 25px;
	   margin-left: 25px;
	   font-size: calc(var(--fs-body) - 4px);
	   line-height: calc(var(--lh-body) - 4px);
	 }
	 .legend::before {
		 left: -25px;
		 width: 20px;
		 margin-top: 8px;
	 }
}
@media screen and (max-width: 576px){

	:root {

    /*--fs-xxl: 60px;
    --lh-xxl: 80px;
    */

    --fs-xl: 28px;
    --lh-xl: 38px;

    --fs-big: 22px;
    --lh-big: 32px;

    --fs-body: 18px;
    --lh-body: 28px;

    --fs-small: 14px;
    --lh-small: 24px;

      --m-big: 70px;
      --m-med: 40px;
      --m-sml: 25px;
      --m-tiny: 15px;
	}


	.hometxt h1{
		font-size: calc(var(--fs-xxl) - 8px);
	    line-height: calc(var(--lh-xxl) - 5px);

	}


	/*.legend{
	    margin-right: 25px;
		margin-left: 25px;
		font-size: calc(var(--fs-body) - 4px);
	    line-height: calc(var(--lh-body) - 4px);
	}*/
	.greenback h1{
		font-size: calc(var(--fs-xl) - 4px);
	    line-height: calc( var(--lh-xl) - 5px);
	}
	.newscontent h2{
		letter-spacing: 1.3px;
	}
	/*.legend::before {
	    left: -25px;
	    width: 20px;
		margin-top: 8px;
	}*/
    .tplus {
        background-size: 20px;
    }
	.chartimg img {
		margin-top: -65px;
		max-height: 85px;
		/*max-width: 80px;*/
		max-width: 70px !important;
	}
	.facts:not(.dlnlink) .simpli_item {
		max-width: 100%;
		width: 100%;
	}
	.facts:not(.dlnlink) .simpli_item:first-of-type{
		margin-bottom: 20px;
	}
	.facts:not(.dlnlink) .simpli_item:last-of-type {
	  margin-left: 0px;
	}
	.facts .defaulttxt {
		min-height: 250px;
	}
	.facts h1{
		top: 55%;
	}
	.downloads{
		margin-bottom: 50px;
	}
	/*.links,.facts:not(.dlnlink) .simpli_item {
	    margin-bottom: 100px;
	}*/
	.simpli_mod_gallery .simpli_item[data-idnav2mod="13"]{
		margin-top: 100px
	}
	.form {
	  margin: 0 0 90px 0;
	}
	section:not([data-idnav=1]) .centered:not(.chartwrap) .simpli_mod_text:not(:empty) {
	  padding-top: 90px;
	}
	#pageInvestitionsrechnung .left h1{
		margin-top: 0;
	}
	#pageErfolgsrechnung .chartwrap h1 {
	   /*max-width: calc(100% - 70px);*/
	 }
	#flower {
		right: -110px;
		width: 330px;
		left: inherit;
		margin-top: -145px;
	}
    .simplichart{
        margin-left: -49px;
    }
	body,#pageGeschäftsbericht{
		overflow-x: hidden;
		overscroll-behavior-x: none;
		touch-action: pan-y;
	}
    .facts:not(.dlnlink) .simpli_item:last-of-type .extra{
        left:15px;
    }
	.defaultimg img {
	    max-width: 300px;
	}
	.greenback .defaultimg {
		margin-top: 50px;
	}
	.newscontent {
	    padding: 25px 15px;
	}
	.two g text{
		font-size: 10px !important;
		letter-spacing: 2px !important;
	}
	.form .left img {
        min-height: 300px;
        object-fit: cover;
    }
	#footerlogo {
	    bottom: 80px;
	    left: 15px;
	    right: 0;
	}
	footer a {
		color: #fff !important;
		margin-right: 20px;
	}
	.introcon{
		padding: 0 15px;
	}
	#intro1{
		width: 350px;
		padding: 0 15px;
		margin-left: -175px;
	}
	#intro1 .btn {
	  padding: 8px 11px;
	}
	#intro2{
		margin-left: -150px;
	}
	#intro2,#intro3,#intro4{
		width: 300px;
	}
	#intro3{
		left: 15px;
	}
	#intro4{
		right: 15px;
	}
	#cookie_wrapper{
        top: inherit;
        bottom:0px;
        width:100%;
        padding:20px;
        z-index: 100000;
    }
    .facts:not(.dlnlink) .simpli_item:nth-of-type(2n){
        margin-left: 0px;
    }
}
@media screen and (max-width: 460px){
	#logo{
		width: 180px;
	}
	.hometxt h1{
		padding: 0;

	}
	.legend::before {
	   left: 0;
	   width: 100%;
	   margin-top: 1px;
	   top: 20px;
   }
   .dropdownlist > ul > li > ul > li > ul > li {
       font-size: 12px;
   }
	.dropdownlist > ul > li{
		padding-left: 20px;
	}
	.dropdownlist > ul > li > ul > li {
	  margin-left: -20px;
	  padding-left: 20px;
	}
   .legend {
		margin-left: 0;
	}
	#pageErfolgsrechnung .legend {
		top: -10px;
	}
	.chartimg img {
		max-height: 65px;
		max-width: 60px !important;
		margin-top: -60px;
	}
	.form .name {
	    width: 100%;
	    float: left;
	}
	.form .ort {
	    width:75%;
	}
	.form #send{
		line-height: 55px;
	}
	#flower {
		right: -93px;
		width: 270px;
		margin-top: -121px;
	}
	#intro1,#intro2,#intro3,#intro4{
		padding: 0 15px;
		margin-left: 15px;
		width: calc(100vw - 30px);
		left: 0;
	}
	#intro1 h1{
		margin-top: 30px;
	}
	#intro1 .btn{
		margin-top: 10px;
	}
}
@media screen and (max-width: 380px){
	.legend {
	   margin-right: 15px;
	   font-size: calc(var(--fs-body) - 5px);
	   line-height: calc(var(--lh-body) - 4px);
	}
}
