html *{font-size:100%;}
* {margin:0; padding:0; scroll-behavior: smooth;}

:root {
/*--main-ci-color: #7555BA;*/
/*--main-ci-color: #69549f; alte Farbe dunkler*/
--main-ci-color: #9B4EFF;
--hover-ci-color: #672cb3;
--second-ci-color: #C0D6F7;
--third-ci-color: #BAD5F0;
--light-ci-color: #b2cfee;
--gray-ci-color: #f9fafc;
--gradient-ci-one: linear-gradient(90deg, rgba(10,32,253,1) 5%, rgba(10,253,215,1) 65%);
}




.ym-grid{display:table; width:100%; table-layout:fixed; list-style-type:none; padding-left:0; padding-right:0;margin-left:0;margin-right:0}
.ym-gl{float:left;margin:0}
.ym-gr{float:right;margin:0}
.ym-g10{width:10%}
.ym-g12{width:12.5%}
.ym-g20{width:20%}
.ym-g25{width:25%}
.ym-g30{width:30%}
.ym-g33{width:33.333%}
.ym-g37{width:37.5%}
.ym-g40{width:40%}
.ym-g45{width:45%}
.ym-g50{width:50%}
.ym-g55{width:55%}
.ym-g60{width:60%}
.ym-g66{width:66.666%}
.ym-g70{width:70%}
.ym-g75{width:75%}
.ym-g80{width:80%}
.ym-g90{width:90%}

.ym-gbox{padding:0 10px}
.ym-gbox-left{padding:0 20px 0 0; }
.ym-gbox-right{padding:0 0 0 20px;}


.ym-wrapper{text-align:left; margin:0 auto; padding: 0 10px; max-width:1300px; border-top: solid 0px #eee444;}

/*
@media (min-width: 1600px) {  
.ym-wrapper{text-align:left; margin:0 auto; max-width:1300px; border:0px solid #eee666;}
.ym-wrapper-footer{text-align:left;margin:0 auto; padding:25px 10px 0px 10px;  max-width:1300px}
}
*/

body{font-family:'Open Sans','Arial', sans-serif; font-display: swap; color:#435264; -webkit-text-size-adjust:100%; margin: 0; padding: 0;}
body {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	}

.nonehyphens { -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; }


ul,ol,dl{margin:0;padding:0;}

h1,h2,h3,h4,h5,h6{font-family: 'Open Sans', Arial,Helvetica,sans-serif; font-display: swap;
	font-weight:300;
	color:#435264;
	margin:0;
	letter-spacing:0.0em;
	border-top: solid 0px #f90;
	border-bottom: solid 0px #0000CD;	
	}
	


h1 { font-size: 40px; font-size: 2.5rem; line-height: 1.3; margin: 3rem 0 1.2rem 0;} 
h2 { font-size: 32px; font-size: 2rem;   line-height: 1.3; margin:2.5rem 0 1.2rem 0;} 
h3 { font-size: 24px; font-size: 1.5rem; line-height: 1.3; margin:2rem 0 1.2rem 0;} 
h4 { font-size: 22px; font-size: 1.4rem; line-height: 1.3; margin:1.8rem 0 1.2rem 0;} 
h5 { font-size: 19px; font-size: 1.2rem; line-height: 1.3; margin:1.7rem 0 1.2rem 0;} 
h6 { font-size: 18px; font-size: 1.1rem; line-height: 1.3; margin:1.6rem 0 1.2rem 0;} 
p  { font-size: 19px; font-size: 1.2rem; line-height: 1.7; margin:0 0 1.2rem 0;} 

h1:first-child { margin:0 0 2.85rem 0; padding-top:1.5rem; border-top: 0px solid #000;/*background-color: lime;*/ }
h2.nachhzeile, h3.nachhzeile {margin:0 0 1.2rem 0;  /* Margin-top auf Null gesetzt für Kombi mit H1 */} 

@media screen and (max-width:1024px){
h1{font-size: 32px; font-size: 2rem; line-height:1.25;} 
h1:first-child { padding:2.5rem 0 0.7rem 0;} 
h2,h3,h4,h5,h6{font-size: 1.6rem; line-height:1.25;} 
p{font-size: 18px; font-size: 1.1rem;}
}
@media screen and (max-width:740px){
h1{font-size: 27px; font-size: 1.7rem; line-height:1.25; margin: 2rem 0 0.5rem 0;}
h1:first-child { margin-top:0rem; padding:2.5rem 0 0.7rem 0;}
h2{font-size: 1.5rem; line-height:1.25; margin:2.5rem 0 0.5rem 0;}
h3,h4,h5,h6{font-size: 1.35rem; line-height:1.34; margin:2.5rem 0 0.5rem 0;} 
p{font-size: 17px; font-size: 1.05rem; line-height: 1.65; }
}
@media screen and (max-width:600px){
h1{font-size: 27px; font-size: 1.7rem; line-height:1.25; margin: 2rem 0 0.5rem 0;}
h1:first-child { margin-top:0.3rem; margin-bottom:0.5rem; padding:1.75rem 0 0.7rem 0;}
h2{font-size: 1.5rem; line-height:1.25; margin:2.5rem 0 0.5rem 0;}
h3,h4,h5,h6{font-size: 1.35rem; line-height:1.34; margin:2.5rem 0 0.5rem 0;}
p{font-size: 17px; font-size: 1.05rem; line-height: 1.65; }
}
@media screen and (max-width:480px){
h1{font-size: 24px; font-size: 1.5rem; line-height:1.25; margin: 3rem 0 0.5rem 0;}
h1:first-child { margin-top:0.3rem; padding:1rem 0 0 0;}
h2{font-size: 1.45rem; line-height:1.25; margin:2.5rem 0 0.5rem 0;}
h3,h4,h5,h6{font-size: 1.3rem; line-height:1.34; margin:2.5rem 0 0.5rem 0;}
p{font-size: 16px; font-size: 1rem; line-height: 1.6; }
}

small {font-size: 0.7rem;}
a {color: #666; text-decoration: none}
a:hover {color: #333}

img {display: block}
.bordered {border: solid 1px #999999}


.flexible {max-width: 100%; height: auto;}
.flexible2, .flexible100 {width: 100%; height: auto;}


.ym-clearfix:before{content:"";display:table}
.ym-clearfix:after{clear:both;content:".";display:block;font-size:0;height:0;visibility:hidden}


hr {border-color: #e9e9e9;
	border-top: 1px;}







/* ###################### HEADER UND LOGO PC und HEADER PC SMALLER ######################### */

header {width: 100%;
	height: 140px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	background-color: var(--main-ci-color);
	-webkit-transition: height 0.5s;
	-moz-transition: height 0.5s;
	-ms-transition: height 0.5s;
	-o-transition: height 0.5s;
	transition: all 0.5s;
	box-shadow: 0 3px 11px 2px rgba(0,0,0,0.3);
	display: grid;
	}

@media screen and (max-width:1024px) {
	header {display: none;}
	}


header .logo-header {background-image: url("../bilderpfad/logo/.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 100px;
	height: 120px; 
	padding: 0 0 0 0;
	margin: 20px 0 0 0;
	transition: all 0.5s;
	}

header.smaller .logo-header {background-image: url("../bilderpfad/logo/.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 60px;
	height: 65px; 
	padding: 0;
	margin: 15px 0 0 0;
	transition: all 0.5s;
	}
	
header.smaller {height: 75px;}


/*
.header-grid {
	display: grid;
	grid-template-columns: 300px 1fr;
	align-content: center;
	align-items: center;
	height: 100%;
	border: solid 0px #f90;
	}
*/
.header-grid {
	display: grid;
	grid-template-columns: 1fr;
	align-content: center;
	align-items: center;
	border: solid 0px #f90;
	}

.nav-pos {
	display: grid;
	align-content: end;
	}
	
.header-grid > div {
	display: grid;
	border: solid 0px #f90;
	align-items: center;
	justify-content: center;
	}

/*
.header-logo {
	background-image: url(../bilderpfad/logo/centrum-logo-200-2.png);
	background-repeat: no-repeat;
	background-position: center;
	height: 180px;
	}

header.smaller .header-logo {
	background-image: url(../bilderpfad/logo/centrum-logo-200-smaller-2.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 65px;
	height: 75px;
	}
*/
.header-logo {
	width: 92%;
	height: auto;
	margin; 15px 0 0 0;
	transition: all 0.5s;
}

header.smaller .header-logo {
	margin: -150px 0 0 0;
}

/* ###################### HEADER UND LOGO M O B I L ####################################### */

@media screen and (max-width:1024px) {
#mobil-header {
	height: 80px;
	background: var(--main-ci-color);
	z-index: 999999;
	box-shadow: 0 3px 11px 2px rgba(0,0,0,0.4);
	position: relative;
	} 
	
.logo-header-mobile {
	margin: 0 auto;
	height: 80px;
	width: auto;
	padding: 0;
	}
}


@media screen and (max-width:500px) {

}

@media screen and (max-width:420px) {

.logo-header-mobile {
	margin: 0 0 0 15px;
	height: 70px;
	width: auto;
	padding: 5px 0 0 0;
	}

}






/*

header {width: 100%;
	height: 75px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	background-color: #fff;
	box-shadow: 0 3px 11px 2px rgba(0,0,0,0.3);
	}

.header-zeile {
	display: grid;
	grid-template-columns: 20% 60% 20%;
	}
@media screen and (max-width:1024px){
.header-zeile {
	display: none;
	}
}
.header-zeile > div {
	display: grid;
	}
.img-logo {max-height: 65px; width: auto; margin: 0 auto; align-self: center;}
@media screen and (max-width:1024px){.img-logo {margin: 0  0 0 15px; align-self: left;}}


*/





.cta-button-header {
	background: var(--main-ci-color);
	color: #fff;
	padding: 5px 15px;
	align-self: center;
	justify-self: center;
	width: fit-content;
	border-radius: 10px 0 10px 10px;
	}
@media screen and (max-width: 1100px) {
	.cta-button-header {
	font-size: 0.85em;
	}
}

.cta-button-header:hover {
	color: #fff;
	}

.mobil-header {display: none}
@media screen and (max-width:1024px){
	.mobil-header {
	display: grid;
		grid-template-columns: 1fr 100px;
		height: 100%;
		}
	.mobil-header > div {
		display: grid;
		}
}







.displaynone1200 {display: block}
.display1200 {display: none}

@media screen and (max-width:1200px){
.displaynone1200 {display: none}
.display1200 {display: block}
}

.displaynone1200-inline {display: inline-block}
.display1200-inline {display: none}

@media screen and (max-width:1200px){
.displaynone1200-inline {display: none}
.display1200-inline {display: inline-block}
}



.displaynone1024 {display: block}
.display1024 {display: none}

@media screen and (max-width:1024px){
.displaynone1024 {display: none}
.display1024 {display: block}
}

.displaynone1024-inline {display: inline-block}
.display1024-inline {display: none}

@media screen and (max-width:1024px){
.displaynone1024-inline {display: none}
.display1024-inline {display: inline-block}
}


.displaynone960 {display: block}
.display960 {display: none}

@media screen and (max-width:960px){
.displaynone960 {display: none}
.display960 {display: block}
}

.displaynone740 {display: block}
.display740 {display: none}

@media screen and (max-width:740px){
.displaynone740 {display: none}
.display740 {display: block}
}

.displaynone740-inline {display: inline-block}
.display740-inline {display: none}

@media screen and (max-width:740px){
.displaynone740-inline {display: none}
.display740-inline {display: inline-block}
}

.displaynone480 {display: block}
.display480 {display: none}

@media screen and (max-width:480px){
.displaynone480 {display: none}
.display480 {display: block}
}


.no-br-mobil {display: block}

@media screen and (max-width:1250px){
.no-br-mobil {display: none}
}



@media screen and (max-width:1400px){
.linearize-level-1400,.linearize-level-1400>[class*="ym-g"],.linearize-level-1400>[class*="ym-col"]{display:block;float:none;margin-left:0;margin-right:0;width:100%!important}
.linearize-level-1400>[class*="ym-g"]>[class*="ym-gbox"],.linearize-level-1400>[class*="ym-col"]>[class*="ym-cbox"]{overflow:hidden;padding:0}
}

@media screen and (max-width:1024px){
.linearize-level-0,.linearize-level-0>[class*="ym-g"],.linearize-level-0>[class*="ym-col"]{display:block;float:none;margin-left:0;margin-right:0;width:100%!important}
.linearize-level-0>[class*="ym-g"]>[class*="ym-gbox"],.linearize-level-0>[class*="ym-col"]>[class*="ym-cbox"]{overflow:hidden;padding:0}
}

@media screen and (max-width:960px){
.linearize-level-1,.linearize-level-1>[class*="ym-g"],.linearize-level-1>[class*="ym-col"]{display:block;float:none;margin-left:0;margin-right:0;width:100%!important}
.linearize-level-1>[class*="ym-g"]>[class*="ym-gbox"],.linearize-level-1>[class*="ym-col"]>[class*="ym-cbox"]{overflow:hidden;padding:0}
}

@media screen and (max-width:740px){
.linearize-level-2,.linearize-level-2>[class*="ym-g"],.linearize-level-2>[class*="ym-col"]{display:block;float:none;margin-left:0;margin-right:0;width:100%!important}
.linearize-level-2>[class*="ym-g"]>[class*="ym-gbox"],.linearize-level-2>[class*="ym-col"]>[class*="ym-cbox"]{overflow:hidden;padding:0}
}

@media screen and (max-width:600px){
.linearize-level-3,.linearize-level-3>[class*="ym-g"],.linearize-level-3>[class*="ym-col"]{display:block;float:none;margin-left:0;margin-right:0;width:100%!important}
.linearize-level-3>[class*="ym-g"]>[class*="ym-gbox"],.linearize-level-3>[class*="ym-col"]>[class*="ym-cbox"]{overflow:hidden;padding:0}
}

@media screen and (max-width:480px){
.linearize-level-4,.linearize-level-4>[class*="ym-g"],.linearize-level-4>[class*="ym-col"]{display:block;float:none;margin-left:0;margin-right:0;width:100%!important}
.linearize-level-4>[class*="ym-g"]>[class*="ym-gbox"],.linearize-level-4>[class*="ym-col"]>[class*="ym-cbox"]{overflow:hidden;padding:0}
}
















footer{
	color: #fff!important; 
	background: #fff;
	background: var(--main-ci-color);
	padding: 0px 0 20px 0;
	position: relative;
	z-index:5;
	margin: 0 0 0 0;
	/*box-shadow: 0 -10px 15px 0 rgba(0,0,0,0.2)*/
	border-top: solid 0px #ccc;
	}

footer h3{
	margin: 0;
	color: #fff;
	font-weight: 600;
	}
footer h4{
	margin: 0 0 5px 0;
	color: #fff;
	}
footer a{
	margin: 0;
	color: #fff;
	}
footer p{
	margin: 0;
	color: #fff;
	font-size: 1em;
	}


.footer-logo {margin: 75px 0 0 50px}


@media screen and (max-width:960px){
.footer-logo {margin: 0 auto; padding: 20px 0}
}



@media screen and (max-width:960px){

.footer-feld{
	text-align: center;
	}

}



