
/* -------------------------------------------------- */
/*    GLOBAL STUFF                                    */
/* -------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
	border: 0 none;
	outline: 0 none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
html {
	scroll-behavior: smooth;
}

body {
	font-family: proxima-nova, Arial;
	text-align: left;
	font-size: 62.5%;  /* 1em = 10px , 1.4em = 14px */
	color: #000;
	font-weight: 400;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

textarea,
input {
	font-family: Arial;
	/* for i0S */
	 border-radius: 0;
	 -webkit-appearance: none;
}



a {
	text-decoration: none;
	color: #e2001a;
}

a:hover {
	color: #000;
}

article,
nav,
aside {
	display: block;
}



/* -------------------------------------------------- */
/*    POSITIONING                                     */
/* -------------------------------------------------- */


.row {
	text-align:center;
}

.rowmax {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	max-width: 98em;
	overflow: hidden;
	position: relative;
	padding: 2.2em;
}

#head {

}
#main {
	min-height: calc(100vh - 263px);
}
#footer {

}






/*  #####  HEAD ELEMENTS  #####  */




#logo {
	padding-top: 2em;
	float: left;
}

#mainnav {
	float: right;
	text-align: right;
}



/*  #####  PAGE ELEMENTS  #####  */




/*  #####  FOOTER ELEMENTS  #####  */

#footer div {

}

#footernav {

}





/* -------------------------------------------------- */
/*    NAVIGATION                                      */
/* -------------------------------------------------- */

ul.nav {
	list-style:none;
}
ul.nav li{

}
.nav a {
	display: inline-block;
	text-decoration: none;
	color: #000;
	transition: color 0.3s;
	line-height: 1.4em;
}

.nav a:hover {
	color: #e2001a;
}


a.act {
	color: #e2001a;
}





/* ---- Mainnav -----*/

#mainnav a {
	font-size: 2.8em;
}
#mainnav li ul {
}



/* ---- footer ----- */

#footer li {
	display: inline-block;
	font-size: 1.7em;
}
#footer li:before {
	content: "|";
	display: inline-block;
	width: 1em;
	text-align: center;
}
#footer li:first-child:before {
	content: none;
}

#footer a {
	
}




/* -------------------------------------------------- */
/*    CONTENT DESIGN                                  */
/* -------------------------------------------------- */

h1,h2,h3 {
	font-size: 2.2em;
	line-height: 1.2em;
	font-weight: normal;
	padding-bottom: 0.8em;
}

h1 {
	font-size: 1.8em;
	line-height: 1.4em;
	font-weight: 600;
}

.frame {
	padding-bottom: 2.2em;
}
#footer .frame {
	padding-bottom: 0;
}

span.spamprotection{
	display: none;
}

.frame p,
.frame li {
	font-size: 1.6em;
	line-height: 1.4em;
	padding-bottom: 0.8em;
}

.frame li{
	margin-left: 1em;
}

.frame p:last-child{
	padding-bottom: 0;
}

#footer .frame p,
p.cats,
.teamtile p {
	font-size: 1.2em;
}

.teamtile h1,
.teamtile h2,
.teamtile h3 {
	font-size: 1.4em;
	font-weight: 600;
}

.teamtile .ce-intext.ce-left .ce-gallery {
	margin-right: 1.2em;
	margin-bottom: 0;
}
.teamtile .ce-intext.ce-right .ce-gallery {
	margin-left: 1.2em;
	margin-bottom: 0;
}

p.cats {
	color: #a8a6a6;
}
textarea,
input {
	font-size: inherit;
}
input[type="text"],
input[type="password"],
textarea {
	border: 1px solid #DDD;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
	border-color: #888;
}


.frame-type-text .ce-bodytext,
.frame-type-text header{
	max-width: 64.5em;
}

.ce-left.ce-intext .ce-gallery{
	max-width: 65.817%;
}

.ce-right.ce-intext .ce-gallery{
	max-width: 32.144%;
}

.ce-left.ce-intext .ce-bodytext {
	margin-left: calc(65.817% + 20px);
}
.teamtile .ce-left.ce-intext .ce-bodytext {
	margin-left: 10.3em;
}

.ce-gallery img {
	max-width: 100%;
	height: auto;
}

.ce-gallery[data-ce-columns="2"] .ce-column,
.ce-gallery[data-ce-columns="3"] .ce-column {
	float: left;
	margin-right: 5%;
}

.ce-gallery[data-ce-columns="3"] .ce-column {
	width: 30%;
}

.ce-gallery[data-ce-columns="3"] .ce-column:nth-child(3n) {
	margin-right: 0;
}

.ce-gallery[data-ce-columns="3"] .ce-column:nth-child(3n+1) {
	clear: left;
}


.ce-gallery[data-ce-columns="2"] .ce-column {
	width: 47.5%;
}

.ce-gallery[data-ce-columns="2"] .ce-column:nth-child(2n) {
	margin-right: 0;
}
.ce-gallery[data-ce-columns="2"] .ce-column:nth-child(2n+1) {
	clear: left;
}

.ce-row {
    margin-bottom: 20px;
}
.ce-row:last-child,
.bxslider .ce-row {
    margin-bottom: 0;
}



.bx-wrapper {
	margin: 0;
	border: 0px none;
	left: 0;
	box-shadow: none;
}
.sliderinit .accCont {
	display: block;
	height: 0px;
	overflow:hidden;
}
.bx-wrapper .bx-controls-direction a{
	text-indent: 0;	
}
.bx-wrapper .bx-controls-direction a path{
	transition: fill 0.3s;
}
.bx-wrapper .bx-controls-direction a:hover path{
	fill: #e2001a;
}
.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
	background: transparent;
}




/* akkordeons */

.grid-container,
.contAcc,
.previewAcc {
	padding-bottom: 0;
}

.grid-container:last-child,
.contAcc:last-child,
.previewAcc:last-child {
	border-bottom: #a8a6a6 1px solid;
}

.accHead {
	border-top: #a8a6a6 1px solid;
	cursor: pointer;
	position: relative;
}
.accHead h1,
.accHead h2,
.accHead h3 {
	padding: 0.4em 30px 0.4em 0;
}
.accCont {
	display: none;
	overflow: hidden;
}
.frame .accCont > *:last-child{
	padding-bottom: 2em;
}
.frame .accCont > .teamtile:last-child{
	padding-bottom: 0;
}

.accHead:after {
	content: '';
	display: block;
	position: absolute;
	top: 13px;
	right: 0;
	width: 24px;
	height: 15px;
	background: url('/fileadmin/Resources/Public/img/pfeilAcc.svg') no-repeat center bottom;
	transform: rotateZ(0);
	transition: transform 0.3s;
}

.accOpen .accHead:after {
	transform: rotateZ(180deg);
}

.previewAcc img {
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
	transition: filter 0.3s;
}

.previewAcc.accOpen img {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}


/* filter */

#filtercats ul {
	list-style: none;
	overflow: hidden;
}
#filtercats li {
	float: left;
	width: 23.5%;
	margin-left:2%;
	padding: 0 2em 0.1em 0.1em;
	box-sizing: border-box;
	min-height: 38px;
	margin-bottom: 2%;
	cursor: pointer;
	color: #a8a6a6;
	line-height: 1.1em;
	background: url('/fileadmin/Resources/Public/img/pfeil-link-grau.svg') right bottom no-repeat;
	/*
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	*/
	display: flex;
	align-items: center;
}
#filtercats li:nth-child(4n-3){
	clear: left;
	margin-left: 0;
}

#filtercats li.act {
	color: #fff;
	background: url('/fileadmin/Resources/Public/img/close.svg') right center no-repeat;
	background-color: #a8a6a6;
	padding-left: 0.3em;
	padding-right: 1.8em;
}


#filtercats .accHead {
	color: #a8a6a6;
	border-color: #d2d2d2;
	display: none;
}

#filtercats .accHead::after {
	background-image: url('/fileadmin/Resources/Public/img/pfeilAcc-grau.svg');
}

#filtercats .accCont {
	display: block;
}


/* linkboxen */
a.linkbox-half,
a.linkbox-third {
	display: inline-block;
	width: 45%;
	margin-right: 4%;
	margin-bottom: 4%;
	padding: 0 1.6em 0.4em 0;
	font-size: 1.125em;
	box-sizing: border-box;
	text-decoration:none;
	color: #e2001a;
	background: url('/fileadmin/Resources/Public/img/pfeil-link.svg') right bottom no-repeat;
}

a.linkbox-third,
.frame-type-text a[href*='UnCryptMailto'],
.frame-type-text a[data-mailto-token] {
	width: 29%;
}

.frame-type-text a[href*='UnCryptMailto'],
.frame-type-text a[data-mailto-token] {
	display: inline-block;
	padding: 0.4em 0;
	border: 0.4em solid #e2001a;
	box-sizing: border-box;
	color: #fff;
	background: url('/fileadmin/Resources/Public/img/pfeil-link-weiss.svg') right bottom no-repeat #e2001a;
	transition: border-color 0.3s, background-color 0.3s;
}
.frame-type-text a[href*='UnCryptMailto']:hover,
.frame-type-text a[data-mailto-token]:hover {
	border-color:#000;
	background-color: #000;
}

/* team */

.teamtile {
	width: 22%;
	margin-left: 4%;
	float: left;
	overflow: hidden;
}
.teamtile:nth-child(4n-3){
	margin-left: 0;
	clear: left;
}

.teamtile figure{
	position: relative;
	background-color: #ddd;
}
.teamtile figure:after{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	border: 1em solid #888;
	border-bottom-color: transparent;
	border-right-color: transparent;
	transition: border-color 0.3s;
}


.teamtile:has(.ce-above){
	position: relative;
	--space: 2em;
	padding-bottom: 0;
	margin-bottom: 5%;
	width: ;
}
.teamtile:has(.ce-above) header {
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	padding: var(--space);
	padding-top: 8em;
	z-index: 1;
	background: linear-gradient(#fff0 0%, #fff9 70%);
	pointer-events: none;
	box-sizing: border-box;
}
.teamtile:has(.ce-above) header h2 {
	padding-bottom: 0;
	font-size: 1.6em;
}
.teamtile:has(.ce-above) header h3 {
	font-weight: 400;
	padding-bottom: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.teamtile .ce-above  p {
	font-size: 1.6em;
}



.teamtile .ce-above {
	display: grid;
}
.teamtile .ce-above > div {
	grid-area: 1 / 1;
}

.teamtile .ce-above .ce-gallery {
	margin-bottom: 0;
}
.teamtile .ce-above .ce-bodytext {
	position: relative;
	padding: var(--space);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
.teamtile .ce-above img{
	transition: opacity 0.3s;
}

.teamtile .ce-above.is-hover{
	img {
		opacity: 0.15;
		/* mix-blend-mode: multiply; */
	}
	figure:after{
		border-left-color: #e2001a;
		border-top-color: #e2001a;
	}

	.ce-bodytext {
		opacity: 1;
		pointer-events: all;
	}
}

@media (any-hover: hover) {
	.teamtile .ce-above:hover{
		img {
			opacity: 0.15;
			/* mix-blend-mode: multiply; */
		}
		figure:after{
			border-left-color: #e2001a;
			border-top-color: #e2001a;
		}

		.ce-bodytext {
			opacity: 1;
			pointer-events: all;
		}
	}
}


/* one-off specials */

#verkehr {
	text-align: center;
	position: absolute;
	width: 100%;
}

#spickel {
	width: 150px;
	height: 300px;
	margin: -54px 0 -74px -22px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	line-height: 1.2em;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="300" viewBox="0 0 150 300"><path fill="%23e2001a" d="M0 0L150 150L0 300z"/></svg>') no-repeat center transparent;
}
#spickel strong{
	font-size: 0.9em;
	display: inline-block;
	margin-left: -24px;
}

#pid1 #main .rowmax {
	overflow: visible;
}

#pid1 h1,
#pid16 h1 {
	max-width: 400px;
	font-size: 2.6em;
	font-weight: 500;
}

#pid1 .frame-type-text .ce-bodytext,
#pid16 .frame-type-text .ce-bodytext{
	max-width: 78em;
}

#pid1 .frame:first-child a,
#pid16 .frame:first-child a {
	position: absolute;
	right: 20px;
	color: #a8a6a6;
}

#pid1 #head,
#pid1 #main {
	-webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
}




@media (max-width: 1020px){ 
	#filtercats li {
		width: 49%;
	}
	#filtercats li:nth-child(2n-1){
		clear: left;
		margin-left: 0;
	}

}


@media (max-width: 890px){
	.teamtile {
		width: 47.5%;
	}
	.teamtile:nth-child(3n-2){
		margin-left: 5%;
		clear: none;
	}
	.teamtile:nth-child(2n-1){
		margin-left: 0;
		clear: left;
	}
}

@media (max-width: 740px){

	#head {
		padding-bottom: 1.2em;
	}
	#main {
		min-height: calc(100vh - 212px);
	}
	#mainnav a {
		font-size: 1.9em;
	}
	#logo {
		padding-top: 1.8em; 
	}
	#logo img {
		height: 48px;
		width: auto;
	}
	.rowmax {
		padding: 0.6em 1.2em;
	}
	#footer li {
		width: 50%;
	}
	#footer br {
		display: none;
	}

	#footer li::before {
		content: none;
		display: none;
	}
	#footernav {
		padding-bottom: 1em;
	}

	h1, h2, h3 {
		font-size: 1.8em;
	}
	h1 {
		font-size: 1.4em;
	}
	#pid1 h1,
	#pid16 h1 {
		font-size: 2em;
	}

	.frame p, .frame li {
		font-size: 1.3em;
	}

	.accHead:after {
		top: 8px;
	}



	#spickel {
		position: absolute;
		top: 0;
		left: 0;
		margin:0;
	}
	#pid1 h1{
		padding-top: 300px;
	}
}


@media (max-width: 685px){ 
	.ce-left.ce-intext .ce-gallery{
		max-width: 100vw;
		margin-left: -1.2em;
		margin-right: -1.2em;
		float: none;
	}
	.teamtile .ce-left.ce-intext .ce-gallery{
		margin-left: 0;
		margin-right: 1.2em;
		float: left;
	}

	.ce-left.ce-intext .ce-bodytext {
		margin-left: 0;
	}

	.accOpen .accCont,
	#main .rowmax,
	.ce-left.ce-intext {
		overflow: visible;
	}
	.accOpen:has(.teamtile) .accCont {
		overflow: hidden; /* team tile ausnahme wegen 0 height von float*/
	}
}

@media (max-width: 600px){
	a.linkbox-third,
	.frame-type-text a[href*='UnCryptMailto'],
.frame-type-text a[data-mailto-token] {
		width: 45%;
	}

	#filtercats .accHead {
		display: block;
	}

	#filtercats .accCont {
		display: none;
	}

}

@media (max-width: 500px){ 
	#main .teamtile {
		width: auto;
		float: none;
		margin-left: 0;
	}
}

@media (max-width: 420px){ 
	#filtercats li {
		width: 100%;
		margin-left: 0;
		float: none;
	}
}




@media (max-width: 360px){ 



}
