html *{font-size:100%} /* Default Font Size, 16px */


* {margin:0; padding:0;}
.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-center{float:left;margin: 0;padding: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-gbox-0 {padding:0; border-top: solid 0px #f90;}
.ym-gbox-1 {padding:0 15px 0 15px; border-top: solid 0px #f90;}
.ym-gbox-2 {padding:0 15px 0 15px; border-top: solid 0px #ffcc00;}
.ym-gbox-3 {padding:0 15px 0 15px; border-top: solid 0px #ffcc00;}

.ym-gbox-index-links{padding:0 100px 0 10px}

.ym-innen-g25 {width:25%}
.ym-innen-g75 {width:75%}
.ym-innen-left-box{padding: 0 50px 0 0;}
.ym-innen-right-box{padding: 0 0 0 75px;}



/* #####################   WRAPPER UND WBOX ############################################## */
.ym-wrapper{text-align:left; margin:0 auto; padding: 0 10px; max-width:1200px; border: solid 0px #0f0;}

@media (min-width: 1600px) {  
.ym-wrapper{text-align:left; margin:0 auto; max-width:1200px;}
.ym-wrapper-footer{text-align:left;margin:0 auto; padding:0;  max-width:1200px}
}


.ym-wbox{padding:35px 0 0 0; border: solid 0px #f90;}
@media screen and (max-width:1024px){.ym-wbox{padding: 15px 0 50px 0;}}
@media screen and (max-width:740px){.ym-wbox{padding: 5px 0 50px 0;}}
@media screen and (max-width:600px){.ym-wbox{padding: 0px 0 50px 0;}}


.ym-wbox:first-child{padding:0px 0 0 0; border: solid 0px #f90;}
@media screen and (max-width:1024px){.ym-wbox:first-child{padding: 0px 0 50px 0;}}
@media screen and (max-width:740px){.ym-wbox:first-child{padding: 0px 0 50px 0;}}
@media screen and (max-width:600px){.ym-wbox:first-child{padding: 0px 0 50px 0;}}



body{font-family:'Open Sans','Arial', sans-serif; font-display: swap; color:#435264; -webkit-text-size-adjust:100%; margin: 0; padding: 0; }

/* ##################   Silbentrennung aktiv   ###################################### */

body { -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; overflow-x: hidden;}
.nonehyphens { -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; }


/* ##################   M A I N   Einheitlicher Abstand nach Bild oder Slider   ###################################### */

#main {padding-top:25px; border: solid 0px #f90}

ul,ol,dl{margin:0 0 0 30px;padding:0;}
ul > li {margin: 5px 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: 2rem;	 line-height: 1.3; margin: 3rem 0 1.2rem 0;   /* 2.5rem */} /* 40/16 = 2.5 */ 
h2 { font-size: 32px; font-size: 1.8rem; line-height: 1.3; margin: 2.5rem 0 1.2rem 0;  /* 2rem */} /* 32/16 = 2 */
h3 { font-size: 24px; font-size: 1.5rem; line-height: 1.3; margin: 2rem 0 1.2rem 0;  /* 1.5rem */} /* 24/16 = 1.5 */
h4 { font-size: 22px; font-size: 1.4rem; line-height: 1.3; margin: 1.8rem 0 1.2rem 0; /* 1.4rem */} /* 22,4/16 = 1.4 */
h5 { font-size: 19px; font-size: 1.2rem; line-height: 1.3; margin: 1.7rem 0 1.2rem 0;  /* 1.2rem */} /* 19,2/16 = 1.2 */
h6 { font-size: 18px; font-size: 1.1rem; line-height: 1.3; margin: 1.6rem 0 1.2rem 0;  /* 1.1rem */} /* 17,6/16 = 1.1 */

p  { font-size: 17.6px; font-size: 1.1rem; line-height: 1.55; margin:0 0 1.2rem 0;} /* 16/16 = 1 */

hr{color:#fff;background:transparent;margin:0 0 .75em 0;padding:0 0 .75em 0;border:0;border-bottom:1px #e7e7e7 solid}

* h1 div, h1 div{ font-size: 0.73em; line-height:130%; margin:15px 0 0 0;}  * h1 span, h1 span{ font-size: 0.73em; line-height:130%; margin:15px 0 0 0;}

/* Reduzierung nur der ersten H1 Überschrift im Abstand nach oben. Farbe f90 nur um das zu symbolisieren */
h1:first-child { margin:0 0 2rem 0; padding-top:1.5rem; border-top: 0px solid #000; font-size: 2.5rem; font-weight: 400 }
h2.nachhzeile, h3.nachhzeile {margin:0 0 1.2rem 0;  /* Margin-top auf Null gesetzt für Kombi mit H1 */} 
.textcenter-600left {text-align:center}
@media screen and (max-width:600px){.textcenter-600left{text-align:left; padding:0 0.6rem 0 0.6rem!important;}}

@media screen and (max-width:1024px){h1{font-size: 32px; font-size: 2rem; line-height:1.25;} /*h1:first-child { padding:0.7rem 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:0 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:0 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:0rem; }*/ 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; }}


/*@media screen and (max-width:480px) {h1{font-size: 165% !important; line-height:1.25rem; letter-spacing:-0.01rem; margin:15px 0 0 0;} h2,h3,h4,h5,h6{font-size: 148% !important; line-height:1.25rem; letter-spacing:-0.01em; margin:15px 0 0 0;} p {font-size:1.2rem;}}*/

/*
p {padding:0; margin:0;}
p {font-size:1.1em; line-height:1.7em; margin:1.20em 0 0 0;}
p {font-size:1.1em; line-height:1.7em; margin:0 0 1.2em 0;}

@media screen and (max-width:1024px){p {font-size:1rem;}}*/


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}



.flex-50-50 {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap : wrap
	}


header {
	display:grid;
	width: 100%;
	height: 80px;
	position: fixed;
	top: 0;
	left: 0;
	background: #fff;
	box-shadow: 0 3px 11px 2px rgba(0,0,0,0.3);
	z-index: 9999;
	}
	
@media screen and (max-width:1024px){
	header {
		grid-template-columns: 1fr;
		}
	
}


.header-bild-abstand{}
@media screen and (max-width:960px){.header-bild-abstand{margin-top: 80px}}






.flex {
display: flex;
gap: 10px;
}






.displaynone1024 {display: block}
.display1024 {display: none}
@media screen and (max-width:1024px){
.displaynone1024 {display: none}
.display1024 {display: block}

}








.primary-navigation {
	list-style: none;
	padding: 0;
	margin: 0;
	}

.primary-navigation {
	position: fixed;
	inset: 0 0 0 70%;
	flex-direction: column;
	padding: min(30vh, 10rem) 2em;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(0.1em);
	gap: 0;
	z-index: 1000;
	transform: translateX(100%);
	transition: transform 350ms ease-in-out;
	overflow:hidden;

}

@media screen and (max-width:1200px){
	.primary-navigation {
		inset: 0 0 0 40%;
		}
}

@media screen and (max-width:740px){
.primary-navigation {
	inset: 0 0 0 0;
	padding: min(30vh, 10rem) 2em;
	overflow:scroll;
	}

}
@media screen and (max-width:320px){
.primary-navigation {
	inset: 0 0 0 0;
	padding: min(30vh, 5rem) 2em;
	}
}



ul.primary-navigation li {margin: 0 0 20px 0;}
.primary-navigation a{
	color: #fff;
	font-size: 1.35rem;
	margin-bottom: 20px;
	}

@media screen and (max-width:320px){
.primary-navigation a{
	color: #fff;
	font-size: 1rem;
	margin-bottom: 20px;
	}
}

.primary-navigation a:hover{font-weight: bold; margin-left: 2px;}
.primary-navigation a.current{font-weight: bold; margin-left: 2px;}

.mobil-nav-toggle {
	display:block;
	position: absolute;
	background: transparent;
	background-image: url("../bilderpfad/buttons/hamburger-menu-open.png");
	background-repeat: no-repeat;
	width: 50px;
	aspect-ratio: 1;
	border: none;
	top: 1rem;
	right: 2rem;
	z-index: 9999;
}
.mobil-nav-toggle:hover {
	cursor: pointer;
}
@media screen and (max-width:1024px){
	.mobil-nav-toggle {transform: scale(0.85);
	top: 1rem;
	right: 0.5rem;
	}

}



.mobil-nav-toggle[aria-expanded="true"] {
	background-image: url("../bilderpfad/buttons/hamburger-menu-closed.png");
}


.primary-navigation[data-visible="true"] {
	transform: translateX(0%);
	}





.ym-wrapper-footer{text-align:left;margin:0 auto; padding:0px 10px 0px 10px;  max-width:1200px}
.ym-wbox-footer{padding:0px}


footer{
	background: #474747;
	color: #fff;
	padding: 25px 0;
	margin: 0
	}

footer a{
	color: #fff;
	padding: 0;
	margin: 0
	}
footer a:hover{
	color: #006781;
	padding: 0;
	margin: 0
	}
