@media (max-width:1520px) {
	.layout_0 .contentInnen {padding: 0 20px}
	.layout_1 .contentInnen {padding: 0 40px}
	.layout_2 .contentInnen {padding: 0 20px}
}

@media (max-width:1400px) {
	nav {padding: 20px 30px}
	nav .center {font-size: 20px; line-height: 24px}
}

@media (max-width:1024px) {
:root {
	--content-breite:100%;
}	
html {}
body {font-size: 24px; line-height: 28px;}
h1, #start h1 {line-height: 38px; font-size: 32px; max-width: 100%;}
.desktopOnly {display: none}	 
img {max-width: 100%; height: auto;}

	nav .center {font-size: unset; line-height: unset} 


#logolink {height: 150px; left: 0px; top: 40px; z-index:999; margin-left:5px;margin-top: 0px; width: auto}
#logo  { z-index:999; margin-left:-25px; height: 60%}
#name {position:relative; float:left; text-align:left; margin-left:120px; margin-top:38px; font-size:1.3em; line-height:1.1em}	
	
.headerGallery span[class^="pos_"] {display: block; position: relative; font-size: 20px; padding: 10px 0px}
.headerGallery span.pos_mm div,
.headerGallery span.pos_om div,
.headerGallery span.pos_um div {padding-left: 0px}	
.headerGallery .overlay:not(.full) {max-width: 80%; font-size: 32px; line-height: 38px} 
	
	.headerGallery .slides .slick-dots {bottom: 230px; left: 50%; transform: translateX(-50%)}
	.overlay {bottom: 100px; left: 50%; transform: translateX(-50%)}

	
#contentOuter {background-image: none; margin-top: 50px}
#contentHome {margin-top:0px; background-color: #fff9f5}
#contentHome img {width:100%}
#content, .content {margin: 0px 0px; padding-bottom: 0px; min-height: 0px}
#spruch {padding: 20px 0px}
.contentBox {margin-top: 10px; display: block}
.contentBox .contentText, .contentBox .contentImg, .contentBox .contentImg img {width:100%}
.contentBox .contentImg {margin-bottom:20px}
.contentBox .contentText ul {list-style-position: inside;}
.contentBox .imgcarousel {margin-top: 25px; margin-bottom: 40px}
.contentBox .imgcarousel ul li {margin-left:0px !important;}

.contentsection {padding: 40px 0px;}
.contentsection .inhalt {width: 100%}
    
.content#start .contentsection {height: calc(100vh - 50px);}    
#startvideo {height: 100%; width: auto; left: -90%}
#start .buttonOuter {position: static; margin: 0px auto; margin-top: 50px}    
	
	
	.highlightsInner {grid-template-columns: 1fr}
	.highlightsInner .highlight:nth-of-type(2n) .highlightInner{margin-top: 0}
	
	.content.layout_2 .contentInnen .textblock.textBox .boxhead {font-size: 32px; line-height: 40px}
	.content.layout_2 .contentInnen .bildOuter {display: none}
	.content.layout_2 .contentInnen .bildOuter.mobileOnly {display: block; position: relative; height: auto}
	.content.layout_2 .contentInnen .bildOuter.mobileOnly .hauptbild {width: 200px; max-width: 100%; margin: 0px auto; margin-bottom: 60px}
	.content.layout_2 .contentInnen .bildOuter.mobileOnly .hauptbild img {max-width: 100%;}  
	.content.layout_2 .contentInnen .textblock.textBox {padding: 30px; margin-left: unset} 

.slick-prev, .slick-prev:hover {left: 0px !important; width: 20px; height: 100%;}
.slick-next, .slick-next:hover {right: 0px !important; width: 20px; height: 100%; }
	
	footer .footerInnen {gap: 30px; padding: 60px 40px}
	footer .column, footer .column.footerLogo {padding-top: 0px}
	
.hr {margin: 20px 0px}
	

input{ width:100%;}
input[type='checkbox']{ width:auto;}
#Senden {/*cursor:pointer; width:140px; float:left; color:#fff; position:relative; z-index:100000; height:40px; background-color:#9b015e; border:1px solid #9b015e; margin-top:10px; margin-bottom:20px*/ -webkit-appearance: none;} 
#anrede {width:150px;}
#formDanke {color:#333; display:none}

#projectGallery a {margin:0px auto; clear:both; float:none; margin-bottom:20px}
#projectGallery a:nth-of-type(4n) {margin:0px auto; margin-bottom:20px}

.contentAfter hr {width:auto !important}

}

@media (max-width:800px) {
	
	body {font-size: 16px; line-height: 18px;}
	
	.pt_0{padding-top:0px !important;}
	.pt_1{padding-top:5px !important;}
	.pt_2{padding-top:15px !important;}
	.pt_3{padding-top:25px !important; }
	.pt_4{padding-top:40px !important;}
	.pt_5{padding-top:80px !important;}
	.pt_6{padding-top:100px !important;}
	.abstand.pt_0 {display: none}

	.pb_0{padding-bottom:0px !important;}
	.pb_1{padding-bottom:5px !important;}
	.pb_2{padding-bottom:15px !important;}
	.pb_3{padding-bottom:25px !important;}
	.pb_4{padding-bottom:40px !important;}
	.pb_5{padding-bottom:80px !important}
	.pb_6{padding-bottom:100px !important;}
	
	h1 {font-size: 28px; line-height: 32px;}
	h2 {font-size: 24px; line-height: 28px;}
	h3, .inputBlock h3 {font-size: 20px; line-height: 24px;}
	h4 {font-size: 16px; line-height: 20px}
	h1.smallh1 {font-size: 32px; line-height: 40px}
	
	nav {height: 70px; padding: 20px}
	#navOpener {gap: 12px; padding: 25px 20px; font-size: 20px; line-height: 24px}
	.navInner .iconArea .icon {width: 35px; height: 35px; padding: 8px}
	
	#navOpener.closer .balken:nth-of-type(1) {transition: 0.3s ease 0.3s; transform: translateY(15px) rotate(45deg)}  
	#navOpener.closer .balken:nth-of-type(3) {transition: 0.3s ease 0.3s; transform: translateY(-15px) rotate(-45deg)}
	
	.langChange {top: 120px; left: unset; right: 5%}
	
	.menuMobile {margin-top: 90px; height: calc(100vh - 90px)}
	.menu {width: 50%; font-size: 20px; line-height: 24px; padding-top: 150px}
	.menu > ul.module {width: 100%; gap: 10px}
	.menu > ul.module > li {min-width: unset; width: 100%; padding: 5px 10px}
	.menu > ul > li a.subNavLink, .menu ul li .navLink {font-size: 20px; line-height: 24px}
	
	.subnavOuter {padding-top: 150px; width: 100%}
	.subnavOuter .subnavSpacer {width: 10px; margin-right: 10px}
	.subnavOuter .subnav li {padding: 5px 10px; min-width: unset}
	.subnavOuter .subnav li a, .subnavOuter .subnav li span {padding: 0}
		.subnavOuter .subnav li a, .subnavOuter .subnav li span {white-space: normal; word-break: break-word; hyphens:auto }
	
	.headerGallery {padding-top: 70px}
	
	.button {font-size: 16px; line-height: 20px}
	
	.contentAfter {padding: 0 15px; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 90px}
	.contentAfter .block {margin-top: 0; margin-left: 0}
	.contentAfter .flipText {display: none}
	.contentAfter .flipTextMobile {display: block}
	.contentAfter .block .line {margin-top: 20px; margin-bottom: 20px}
	.contentAfter .block h1 {margin-bottom: 00px}
	.scroller {width: calc(100% - 30px); bottom: 135px; padding-right: 0}
	.scroller .hoverText {margin-bottom: 0}
	.scroller img {height:  30px}
	
	.content.layout_1 .contentInnen .zitathead {font-size: 36px; line-height: 48px}
	
	.highlightsInner .highlight {min-height: 550px;}
	.highlightsInner .highlight .textOverlay {bottom: 30px}
	
	.inputBlock {font-size: unset; line-height: unset} 
	.inputBlock .split {flex-direction: column}
	.inputBlock .split .half {width: 100%}
	.inputBlock .split input {width: 100%} 
	.inputBlock .split textarea {width: 100%}
	.inputBlock .columns {columns: 1}
	.infoText {font-size: unset; line-height: unset}
	.checkBoxOuter div {margin-right: 0%}
	
	.quickLinksOuter {right: unset; left: 50%; transform: translateX(-50%); max-width: 80%}
	
	footer { margin-top: 30px}
	footer .footerBottom .right {margin-top: 20px}
	footer .footerBottom .left a.footerLink {font-size: 16px; line-height: 20px}
	footer .footerLogo {margin-bottom: 20px}
	footer .footerLogo .socials img {height: 30px; margin-top: 5px}
	footer .footerInnen {grid-template-columns: 1fr}

	input {margin-bottom: 0}
	
	
}

@media (max-width: 500px) {
	.highlightsInner .highlight.zimmer {min-height: 250px}
}

@media (max-width: 500px) {
	nav {padding: 20px 10px}
	nav .navInner {column-gap: 5px}
	nav .center {font-size: 18px; line-height: 22px}
	#navOpener {gap: 6px; padding: 18px 15px; font-size: 14px; line-height: 18px}
	#navOpener.closer .balken:nth-of-type(1) {transition: 0.3s ease 0.3s; transform: translateY(7px) rotate(45deg)}  
	#navOpener.closer .balken:nth-of-type(3) {transition: 0.3s ease 0.3s; transform: translateY(-11px) rotate(-45deg)}
	
	
	.headerGallery ul.slides .slick-dots {bottom: 280px} 
	
	.menu {font-size: 16px; line-height: 18px; padding-top: 110px;}
	.menu > ul > li a.subNavLink, .menu ul li .navLink, .subnavOuter .subnav li a, .subnavOuter .subnav li span {font-size: 16px; line-height: 18px; margin: 0}
	.subnavOuter .subnav {gap: 0}
	
	.langChange {top: 95px}
	
	.quickLinksOuter {max-width: 90%; font-size: 16px}
	.quickLinksOuter .logo {padding: 5px 15px}
	
	.subnavOuter .subnavSpacer {width: 3px; margin-right: 3px}
	
	.layout_0 .contentInnen {padding: 0 10px}
	.content.layout_1 .contentInnen {padding: 0 10px}
	.content.layout_1 .contentInnen .zitathead {font-size: 28px; line-height: 44px; margin-bottom: 10px}
	
	.content.layout_2 .contentInnen .textblock.textBox .button {min-width: unset; width: 100%}
	.content.layout_2 .contentInnen .bildOuter .hauptbild img {max-width: 100%}
	.layout_2 .contentInnen {padding: 0 10px}
	
	.checkBoxOuter {columns: 1}
	
	footer .footerInnen { padding: 40px 10px; padding-bottom: 70px}
	footer .footerLogo .socials {justify-content: center}
	
}

@media (max-width: 400px) {
	nav .center {font-size: 16px; line-height: 18px}
}

@media (max-width: 370px) {
	
	nav .navInner {column-gap: 2px}
	nav .center {font-size: 13px; line-height: 14px} 
	
	.quickLinksOuter {max-width: 95%; font-size: 15px}

	.slick-prev {left: -20px !important;}
	.slick-next {right: -20px !important;}

}

