/***Styleanpassungen neues Cookie Popup***/
@media all and (max-width: 1250px){
	#popup .content-inner-text{
		flex-wrap: wrap;
	}
	#popup button{
		top: 0;
		margin-bottom:15px; 
	}
	#close-popup{
		margin-left: 0%;
	}
	#text-popup{
		width: 100%;
	}
}
/***Ende Styleanpassungen neues Cookie Popup***/
@media all and (max-width: 1000px){
	#topmenu{
		gap: 0px;
	}
	#topmenu li a{
		font-size: 12px;
	}
}
@media all and (max-width: 943px){
	#header nav li{
		padding: 20px 15px;
	}
}
@media all and (max-width: 900px) {
    .left,
    .right {
        width: 100%;
    }
    .one,
    .three,
    .two {
        width: 100%;
        flex: inherit;
        padding: 0 15px 30px;
    }

    .content-inner {
        padding: 50px 0 30px;
    }

    .content-inner li {
        font-size: 16px;
        line-height: 26px;
    }

    .content-inner li:before {
        margin: 0 8px 0 -22px;
        font-size: 16px;
    }

    .teaser-inner .teaser-inner-left {
        padding: 20px 0 0 20px;
    }
    .extra-padding{
		padding-left: 0;
	}
	.top-footer .three .footerbox{
	float: left;
	}
	.top-footer #logo{
		padding: 0!important;
	}

	#footerlogo img{
		visibility: hidden;
	}
}

@media all and (max-width: 800px) {
	#topmenu{
		display: none;
	}
    .teaser-inner .teaser-inner-left {
        width: 25%;
    }
    .teaser-inner .teaser-inner-middle {
        width: 75%;
        padding: 20px 20px 0 0;
    }
    .teaser-inner .teaser-inner-right {
        width: 100%;
        padding: 0 65px;
        text-align: center;
    }
	.teaserbox{
		width: 100%;
	}
    #header{
		position: absolute;
		top: 0;
		height: auto;
		min-height: 100px;
	}
	#content-top{
		margin-top: 100px;
	}
	#logo{
		margin: 0;
	}
    .teaser-inner .teaser-inner-right button[type=submit] {
        width: 100%;
    }
    #header nav{
		display: block;
		padding: 0 0 30px 0;
	}
	#header nav li{
		display: none;
	}
	.top-nav{
		transition: all .5s;
		transition-timing-function: ease;
	}
	.icon-nav{
		position: absolute;
		right: 25px;
		top: 30px;
		display: block;
		float: right;
		font-size: 30px!important;
	}
	.head-center{
		display: block;
	}
	#toprow{
		display:inline-block;
	}
	.responsive li {
		display: block!important;
	}
	.responsive li a{
		display: block;
		text-align: center;
	}
	#header .dropdown:hover > .subnav-vertical,
	#header .horizontal:hover > .subnav-horizontal{
		visibility: visible;
		position: relative;
		padding: 0;
		background-color: inherit;
		box-shadow: none;
		margin: 0;
	}
	.horizontal:hover ~ .background-horizontal,
	.subnav-horizontal:hover ~ .background-horizontal{
		display: none;;
	}
	.subnav-horizontal{
		flex-wrap: wrap;
	}
	.subnav-horizontal li{
		width: 100%
	}
	#main-nav .subnav-vertical a,
	#main-nav .subnav-horizontal a{
		color: rgb(151, 151, 151);
	}

	.subnav-vertical li:hover{
		background-color: none;
	}
	#header nav li{
		padding:10px 0;
	}
	#header .subnav-vertical li,
	#header .subnav-horizontal li{
		padding: 2px 0;
	}
	#header .subnav-horizontal li:first-child{
			padding-left: 0;
	}
	#headerbild{
		padding-top:150px;
	}
	#popup .content-inner-text{
		flex-wrap: wrap;
	}
	#popup button{
		top: 0;
		margin-bottom:15px; 
	}
}

@media all and (max-width: 600px){
	#content, #content-top{
		min-height: 900px;
	}
	#pagetitle{
		padding: 0 0 20px 0;
	}
	#pagetitle h1{
		font-size: 22px;
	}
	.content-inner h2{
		font-size: 20px;
	}
}

@media all and (max-width: 420px) {
    .teaser-inner .teaser-inner-left {
        width: 30%;
    }

    .teaser-inner .teaser-inner-middle {
        width: 70%;
        padding: 20px 20px 0 0
    }

    .teaser-inner .teaser-inner-right {
        padding: 0 35px;
    }

    .teaserbox-inner button[type=submit] {
        padding: 15px;
    }

    .boxform-inner {
        padding: 0;
    }

    .boxform-inner button[type=submit] {
        padding: 15px;
    }
}

@media all and (max-width: 370px) {
    .teaser-inner .teaser-inner-left {
        width: 35%;
    }

    .teaser-inner .teaser-inner-middle {
        width: 65%;
    }
}