

/* =============================================================================
   Webfonts
   ========================================================================== */

/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/3d6033");


@font-face {
  	font-family: 'MessinaSans_Bold';
	src: url('fonts/MessinaSans_Bold/MessinaSansWeb-Bold.woff') format('woff'), 	/* Super Modern Browsers */
        url('fonts/MessinaSans_Bold/MessinaSansWeb-Bold.woff2') format('woff2');	/* Pretty Modern Browsers */
	font-weight:	normal;
	font-style:		normal;
	font-display:	swap;
}
@font-face {
  	font-family: 'MessinaSans_Regular';
	src: url('fonts/MessinaSans_Regular/MessinaSansWeb-Regular.woff') format('woff'), 	/* Super Modern Browsers */
        url('fonts/MessinaSans_Regular/MessinaSansWeb-Regular.woff2') format('woff2'); /* Pretty Modern Browsers */
	font-weight:	normal;
	font-style:		normal;
	font-display:	swap;
}




/* =============================================================================
   Base
   ========================================================================== */

html { 
	height: 					100%;
	margin:						0;	
	margin-top:					0;
	padding:					0; 
	list-style:					none; 
	
	/* Prevent font scaling in landscape while allowing user zoom */
	font-size: 					100%; 
	-webkit-text-size-adjust: 	100%; 	
	-ms-text-size-adjust: 		100%; 
}
body{
	height: 					100%;
	width:						100%;
	position: 					relative;
	margin: 					0; 
	padding:					0;
	background-color:			#FFFFFF;
	overflow-x:					hidden;
}

/* User - Farbe Textselektion */
::-moz-selection				{ text-shadow:none; background:	var(--color4); color: #FFFFFF; }
::selection						{ text-shadow:none; background:	var(--color4); color: #FFFFFF; }
img::selection					{ background: var(--color4); }
img::-moz-selection				{ background: var(--color4); }
body							{ webkit-tap-highlight-color: var(--color4); }


/* ELEMENTS: V-CENTER */
/*.v-align {
	position:				relative;
	top: 						50%;
	-webkit-transform: 	translateY(-50%);
	-ms-transform: 		translateY(-50%);
	transform:				translateY(-50%);
}*/
/* ELEMENTS: BOTTOM */
.v-bottom-row {
	display: 			flex;
	flex-direction: 	row;
  	flex-wrap: 			nowrap;
  	justify-content: 	flex-end;
  	align-items: 		flex-end;
  	align-content: 	normal;
}
/* ELEMENT: CENTER RIGHT */
.v-center-row {
    display: 			flex;
    align-items:		center;
    justify-content: 	flex-end;
    height: 			100%;
}



/* padding, margins, borderlines in Elementbreite */
div { box-sizing: border-box; }




/* =============================================================================
   Colors
   ========================================================================== */
   
:root {
	
	/* No Support: IE 11, Edge < 15, Safari < 9.1,  */
	--color1: 	#EE7330;	/* a+t power orange */
	--color2: 	#424B55;	/* a+t solid stone */
	--color3: 	#ECE7DE;	/* a+t off white */
	--color4: 	#686F77;	/* a+t solid stone 80 */
	--color5: 	#DCDCDC;	/* a+t solid stone 20 */
	--color6: 	#000000;	/* --- */
}





/* =============================================================================
   Typography
   ========================================================================== */
   

/* GENERAL */
body, 
button, 
input, 
select, 
textarea, 
a,
p { 
	font-family:	'MessinaSans_Regular', Arial, sans-serif; 
	font-weight:	normal;
	color: 			var(--color2); 
	font-style: 	normal;
	padding: 		0; 
	margin: 		0; 
}


/* HEADLINES */
h1, h2, h3, h4, h5 { 
	font-family:	'MessinaSans_Bold', Arial, sans-serif; 
	font-weight:	normal;
	font-style: 	normal;
	padding: 		0; 
	margin: 		0; 
}
/*h2, h4 { 
	font-family: 'MessinaSans_Regular'; 
	color: 		 var(--color1); 	
}
h4 {
	text-decoration:  underline;
}*/


/* TEXTE */
.ch_title 			{ font-family: 'MessinaSans_Bold'; }		/* Title */
.ch_intro 			{ font-family: 'MessinaSans_Bold'; }		/* Intro */
.ch_text			{  }													/* Fließtext */

.ch_rubrictitle	{ font-family: 'MessinaSans_Regular'; }	/* Rubrikentitel */
.ch_bt_label	{ }													/* Button Label */	
.ch_notes		{ }													/* Marginalien */
.ch_notes_title	{ font-family: 'MessinaSans_Bold'; }		/* Marginalien */


/* FORMATS, EFFECTS, COLOR */
.invers 		{ color: #FFF !important; }
.highlight 		{ color: var(--color1); }
.shadow			{ text-shadow: 20px 1px 80px rgba(0,0,0,0.5); }
.shadow-white	{ text-shadow: 20px 1px 80px #FFF; }
.center 		{ text-align: center; }
.nowrap 		{ white-space: nowrap; }

/* HIGHLIGHTING */
.underline-small,
.underline-small-invers{
	/*display:	inline-block;*/
	position:	relative;  
}
.underline-small::after,
.underline-small-invers::after{
	content:	'';
	height:		5px;
	width:		20px;
	background:	var(--color1);
	position:	absolute;
	bottom:		-20px;
	left: 		calc(50% - 10px);
}
.underline-small-invers::after{
	background:	#FFF;
}




/* =============================================================================
   Links / Buttons
   ========================================================================== */

/* BASIS 
a,a:hover,
a:focus,
a:active	{ outline:0; }*/
a			{ text-decoration: underline; outline:0; text-underline-offset: 0.25em;}
a:hover		{ color: var(--color1); }
a:focus		{  }
a:active	{  }

/* IMAGE */
a img 		{ border:0; }


/* NOTES */
.linknotes				{ color: var(--color2); text-decoration: none; }
.linknotes:hover		{ color: var(--color1); }
.linknotes:visited 	{ }
.linknotes:active		{ color: var(--color1); }

/* NAVIGATION */
.linknav				{ font-family: 'MessinaSans_Bold'; color: var(--color2); text-decoration: none; }
.linknav:hover		{ color: var(--color2); }
.linknav:visited 	{ color: var(--color2); }
.linknav:active	{ color: var(--color2); }

/* BUTTONLABEL */
.ch_bt_label	{ font-family: 'MessinaSans_Bold'; }		

/* FONT HIGHLIGHT */
/*.active		{ color: var(--color2); }*/
.invers			{ color: #FFFFFF; }					
.positiv		{ color: var(--color1); }			
.underlined		{ text-decoration: underline; }	/* underlined */
.nounderline	{ text-decoration: none }			/* not underlinded */

.light			{ font-family: 'MessinaSans_Regular', Arial, sans-serif;  }
.strong,
strong			{ font-family: 'MessinaSans_Bold', Arial, sans-serif; }		/* Bold (Tiny MCE) */




/* =============================================================================
   Image
   ========================================================================== */
   

img 			{ width: 100%;}
.img-centered	{ margin:0 auto }

.img-holder{
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;

	overflow: 			hidden; 
	width:				100%;
	height:				100%;
	background-color:	var(--color3);	
}





/* =============================================================================
   Lists
   ========================================================================== */

/* no default list elements */
ol, ul {
	list-style: 		none;
	list-style-image: none;
	margin: 				0;
	padding: 			0;
}


/* custom style */
ul {
	list-style-type: "+ ";
	margin-left:  	15px;
}
li {
	padding-bottom:	10px;
}
	/*
	li:before {
	    content: 		"+";
	    margin-right: 4px;
	    color:			var(--color1) ;
	}*/
	li::marker {
	  color: var(--color1);
	}






/* =============================================================================
   Icons
   ========================================================================== */
   
i{
	position: 			relative;
	display: 			inline-block;
	width: 				50px;
	height: 			50px;
	margin-right:		14px;
	/*margin-bottom:	10px;*/
	
	mask-size: 			100%;
	-webkit-mask-size:	100%;
	background-color: 	var(--color1);
	transition: 		0.4s;
}

i.icon.phone { 
    -webkit-mask-image: url(../images/icon_phone.svg);
    mask-image: 		url(../images/icon_phone.svg);
}  
i.icon.linkedin { 
    -webkit-mask-image: url(../images/icon_linkedin.svg);
    mask-image: 		url(../images/icon_linkedin.svg);
}  
i.icon.mail { 
    -webkit-mask-image: url(../images/icon_mail.svg);
    mask-image: 		url(../images/icon_mail.svg);
}  
i.icon.facebook { 
    -webkit-mask-image: url(../images/icon_facebook.svg);
    mask-image: 		url(../images/icon_facebook.svg);
}  
i.icon.instagram { 
    -webkit-mask-image: url(../images/icon_instagram.svg);
    mask-image: 		url(../images/icon_instagram.svg);
}  
i.icon.xing { 
    -webkit-mask-image: url(../images/icon_xing.svg);
    mask-image: 		url(../images/icon_xing.svg);
}  
i.icon.whatsapp { 
    -webkit-mask-image: url(../images/icon_whatsapp.svg);
    mask-image: 		url(../images/icon_whatsapp.svg);
}  
i.icon.hochwasser { 
    -webkit-mask-image: url(../images/icon_hochwasser.svg);
    mask-image: 		url(../images/icon_hochwasser.svg);
}  

	/* INVERS */
	i.icon.invers { 
		background-color: #FFF;
	} 
	/* LAST */
	i.icon.last { 
		margin-right:	0;
	} 
	/* HOVER */
	i.icon:hover { 
		background-color: var(--color1); 
	}











/* =============================================================================
   Embedded content
   ========================================================================== */


/*-------------------------------*/
/*             PAGE              */
/*-------------------------------*/

#page{
	position:	relative;
	display:		inline-block;
	width:		100%;
									/*border: 		solid 1px #0F6;*/
}

/* PADDING */
:root {
	--pagemargin: 	5vw;		/* padding left & right */
}


   
/*-------------------------------*/
/*      GRID: 4-SPALTIG          */
/*      GRID: 6-SPALTIG          */
/*-------------------------------*/


/* GRID  */
.grid-4,
.grid-6 {
	width: 		100vw;
	height:		auto;
	display:		grid;

	align-content: flex-start; /* elemts always top */

	column-gap: 		4%;
	grid-row-gap:		0;

	padding:				0 var(--pagemargin) 0 var(--pagemargin);
    											/*background-color: #FC00FD;*/
}
	/* BOX */
	.grid-4 .box,
	.grid-6 .box{
    	grid-column: span 1; 			/*background-color: #CBCECE;*/
  	}


/* 4-COLUMN GRID  */
.grid-4 {
    grid-template-columns:	22% 22% 22% 22%;
}
	/* SPAN */
	.grid-4 .box.span-2 { grid-column: span 2; }

	/* COLUMN POSTION */
	.grid-4 .box.center-span-2	{ grid-column-start: 2; grid-column-end: span 2; }

	/* SPAN (only from pos 1)*/
	.grid-4 .box.span-2 { grid-column: span 2 }
	.grid-4 .box.span-3 { grid-column: span 3 }
	.grid-4 .box.span-4 { grid-column: span 4 }




/* 6-COLUMN GRID  */
.grid-6 {
    grid-template-columns:	13.33% 13.33% 13.33% 13.33% 13.33% 13.33% ;
}
	/* COLUMN POSTION */
	.grid-6 .box.left-span-2 	{ grid-column-start: 5; grid-column-end: span 2; }
	.grid-6 .box.center-span-4	{ grid-column-start: 2; grid-column-end: span 4; }

	/* SPAN */
	.grid-6 .box.span-2 { grid-column: span 2; }
	.grid-6 .box.span-3 { grid-column: span 3; }
	.grid-6 .box.span-4 { grid-column: span 4; }
	.grid-6 .box.span-6 { grid-column: span 6; }




/* BLOC GAPS */
.gap-0-25-top 		{ padding-top:		 15px; }
.gap-0-25-bottom	{ padding-bottom:	 15px; }
.gap-0-5-top 		{ padding-top:		 30px; }
.gap-0-5-bottom	{ padding-bottom:	 30px; }
.gap-0-75-bottom	{ padding-bottom:	 45px; }
.gap-1-top 			{ padding-top:		 60px; }
.gap-1-bottom		{ padding-bottom:	 60px; }
.gap-2-top 			{ padding-top:		120px; }
.gap-2-bottom		{ padding-bottom:	120px; }
.gap-3-top 			{ padding-top:		180px; }
.gap-3-bottom		{ padding-bottom:	180px; }
.gap-4-top 			{ padding-top:		240px; }
.gap-4-bottom		{ padding-bottom:	240px; }





/*-------------------------------*/
/*         ASPECT RATIO          */
/*-------------------------------*/

/* LANDSCAPE 3:2 */
.ratio-3-2 {
	aspect-ratio: 3 / 2; 
}
	/*fallback*/
	@supports not (aspect-ratio: 3 / 2) {
		.ratio-3-2 {			
			width: 			100%;
			padding-top:	66.67%;
		}
	}

/* PORTRAIT 3:4 */
.ratio-3-4 {			
	aspect-ratio: 3 / 4; 
}
	/*fallback*/
	@supports not (aspect-ratio: 3 / 4) {
		.ratio-3-4 {			
			width:			100%;
			padding-top:	133.33%;
		}
	}

/* SQUARE 1:1 */
.ratio-1-1 {			
	aspect-ratio: 1 / 1; 
}
	/*fallback*/
	@supports not (aspect-ratio: 1 / 1) {
		.ratio-3-4 {			
			width:			100%;
			padding-top:	100%;
		}
	}





/*-------------------------------*/
/*           BUTTONS    	      */
/*-------------------------------*/

/* BUTTON DEFAULT */
.button {
	position:  			relative;
	display:				inline-block;
	left:  				-5px;
	width: 				auto;
	height: 				auto;

	border-radius:		30px;
	border: 				0.25em solid var(--color2);
	background-color: transparent;
	padding: 			7px 20px 7px 20px;

	margin-right:  	2em;

	text-align: 		left;
	color: 				var(--color2);
	
	transition: 		all 0.3s;
	cursor: 				pointer;
	/*float: 			left;*/
}
	.button span{
		cursor:		pointer;
		display:		inline-block;
		position:	relative;
		transition: 0.3s;
	}
	.button span:after {
		content:		url('../images/plus.svg');
		transform:	scale(2.2);
		/*width:  80px;
		height: 80px;*/

		position:	absolute;
		opacity:		0;
		top: 			-6px;
		right:		0;
		transition:	0.2s;
	}

	/* HOVER */
	.button:hover  {
		background-color: #FFF;
		border:				0.25em solid #FFF;
	}
	.button:hover span {
		padding-right: 30px;
	}
	.button:hover span:after {
		opacity:		1;
		right:		0;

		/*transform:	rotate(180deg);
		transform-origin: 50% 50%;
		transition: transform 0.8s;*/
	}
	.button:disabled {
		opacity:		0.5;
		pointer-events: none;
	}


	/* BUTTON INVERS */
	.button.invers {
		border:	solid 0.25em #FFF;
		/*color:	#FFF;*/
		color: var(--color2) !important;
		background-color: #FFF;
	}
		.button.invers span:after{
			content: url('../images/plus.svg');
		}


	/* BUTTON ORANGE */
	.button.orange {
		border:	solid 0.25em var(--color1);
		background-color: var(--color1);
	}
		.button.orange span{
			color:  #FFF !important;
		}
		.button.orange span:after{
			content: url('../images/plus-white.svg');
		}



	/* HOVEREFFECT */
	.hover-teaser span,
	.button:hover span,
	.button-boarder:hover span,
	.button-light:hover span {
		padding-right: 25px;
		
		/*color:	var(--color2);
		background-color: #FFF;*/
	}
	.hover-teaser span:after,
	.button:hover span:after,
	.button-boarder:hover span:after,
	.button-light:hover span:after {
		opacity:	1;
		right:	0;

		/*color:	var(--color2);
		background-color: #FFF;*/
	}




/*-------------------------------*/
/*         HOVER:EFFECTS         */
/*-------------------------------*/


/* LINK NAV: ANIMATE UNDERLINE */
.linknav.animate{
	 display:	inline-block; 
	 position:	relative;
}
.linknav.animate:after {
	content: 	'';
	position:	absolute;
	background:	var(--color2);
	height:		4px;
  	width: 		0;
  	left: 		0;
	bottom:		0;
	transition: width .3s ease;
}
.linknav.animate:hover:after {
	width: 		100%;
}



/*-------------------------------*/
/*     ANI: FADE-IN MOVE UP      */
/*-------------------------------*/

.fade-in-move-up {
	opacity: 0;
	animation: fade-in-move-up 0.7s;
	animation-fill-mode:forwards; 	/* stop at last keyframe */
	animation-delay: 0.5s;
}
@keyframes fade-in-move-up {
	0% {
    	transform: translateY(3rem);
  	}
  	100% {
    	opacity: 1;
    	transform: translateY(0);
  	}
}
