

/* ############################################################
	FARBKLIMA
###############################################################
	
	1 Grün				#0e7c58 - rgba(14,124,88,1)
	2 Grau 1			#eff1f1 - rgba(239,241,241,1)
	3 Grau 2			#aeb7bb - rgba(174,183,187,1)
	  Weiss				#ffffff - rgba(255,255,255,1)
	  Schwarz			#000000 - rgba(0,0,0,1)
	  Hellgrau			#f3f3f3 - rgba(243,243,243,1)
	
###############################################################
	ALLGEMEINES
############################################################ */

/* Resets */
* {
	margin: 0;
	padding: 0;
	outline: none;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
img, table, tr, td {
	border: 0;
}


/* Variablen definieren */
:root {
	--main-color-1: #0e7c58;
	--main-color-2: #eff1f1;
	--main-color-3: #aeb7bb;
	--main-color-white: #ffffff;
	--main-color-black: #000000;
	--main-color-error: #eb4462;
	--main-color-successful: #8dd795;
	--gap: 10px;
	--cubic-bezier: cubic-bezier(0.41,0,0.51,1) 0s;
}
@media screen and (min-width: 768px) {
	:root {
		--gap: 40px;
	}
}
@media screen and (min-width: 1200px) {
	:root {
		--gap: 80px;
	}
}


/* Allgemeines */
a, a:focus {
	outline: none;
}
/*header img, */main img {
	max-width: 100% !important;
	height: auto !important;
	display: block;
	-ms-interpolation-mode: bicubic;
	image-rendering: optimizeQuality;
}
html, body { /* html = IE text resize correction */
	font-size: 100%;
	height: 100%;
	/*min-height: 100vh;
	min-height: -webkit-fill-available;*/
}
html {
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body {
 	z-index: 0;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	background-color: var(--main-color-white);
	font-family: "Hurme-Regular";
	font-style: normal;
	font-weight: normal;
	color: var(--main-color-1);
}
html.open,
body.open {
	overflow: hidden;
}


/* Effekt: FadeIn / Lightning */
body:not(.cms-active) header,
body:not(.cms-active) main,
body:not(.cms-active) footer {
	opacity: 0;
}


/* Page-Loader */
@keyframes load-spinner {
  to {
		transform: rotate(360deg);
	}
}
#load-cover-spin {
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(239,241,241,0.7);
	z-index: 9999;
	display: none;
}
#load-cover-spin::after {
	content: "";
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50px;
	height: 50px;
	margin-top: -25px;
	margin-left: -25px;
	border-radius: 50%;
	border: 4px solid var(--main-color-1);
	border-top-color: var(--main-color-3);
	background-color: transparent;/*rgba(255,255,255,0.8)*/
	-webkit-animation: load-spinner 600ms linear infinite;
	animation: load-spinner 600ms linear infinite;
}


/* Farben */
.color-error {
	color: var(--main-color-error);
}
.color-successful {
	color: var(--main-color-successful);
}
.color-white {
	color: var(--main-color-white);
}
.color-black {
	color: var(--main-color-black);
}
.color-1 {
	color: var(--main-color-1);
}
.color-2 {
	color: var(--main-color-2);
}
.color-3 {
	color: var(--main-color-3);
}
.bg-color-error {
	background-color: var(--main-color-error);
}
.bg-color-successful {
	background-color: var(--main-color-successful);
}
.bg-color-white {
	background-color: var(--main-color-white);
}
.bg-color-black {
	background-color: var(--main-color-black);
}
.bg-color-1 {
	background-color: var(--main-color-1);
}
.bg-color-2 {
	background-color: var(--main-color-2);
}
.bg-color-3 {
	background-color: var(--main-color-3);
}


/* ############################################################
	SCHRIFTEN / TEXTE / ABSÄTZE / TITEL
############################################################ */

/* Allgemeines */
main, footer {
	font-size: 1.0625rem; /* 17px */
	line-height: 1.52;
	letter-spacing: 0.255px;
}
footer {
	color: var(--main-color-white);
}
@media screen and (min-width: 1200px) {
	main, footer {
		font-size: 1.375rem; /* 22px */
		line-height: 1.6;
		letter-spacing: 0.44px;
	}
}


/* Schnitte */
i, em, .italic {
}
b, strong {
	font-family: "Hurme-Bold";
	font-weight: normal;
}
strong > em, em > strong,
strong > i, i > strong,
b > em, em > b,
b > i, i > b {
}


/* Titel, Schriftgrössen */
h1, h2, h3 {
	position: relative;
	margin: 0;
	padding: 0;
	font-family: "Hurme-Bold";
	font-style: inherit;
	font-weight: inherit;
	letter-spacing: normal;
	color: var(--main-color-1);
}
h1, h2 {
	margin-bottom: 23px;
	font-size: 1.625rem; /* 26px */
	line-height: 1.23;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}
h1.line, h2.line {
	display: inline-block;
	margin-bottom: 26px;
	font-family: "Hurme-Regular";
	font-size: 1.0625rem; /* 17px */
	line-height: 1.52;
	letter-spacing: 0.255px;
}
h1.line:after, h2.line:after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: auto;
	border-bottom: 1.75px solid var(--main-color-1);
}
h3 {
	font-size: 1.0625rem; /* 17px */
	line-height: 1.52;
	letter-spacing: 0.255px;
}
@media screen and (min-width: 1200px) {
	h1, h2 {
		margin-bottom: 35px;
		font-size: 2.1875rem; /* 35px */
		line-height: 1.28;
		letter-spacing: 1.75px;
	}
	h1.line, h2.line {
		margin-bottom: 56px;
		font-size: 1.375rem; /* 22px */
		line-height: 1.6;
		letter-spacing: 0.44px;
	}
	h1.line:after, h2.line:after {
		border-bottom-width: 2px;
	}
	h3 {
		font-size: 1.375rem; /* 22px */
		line-height: 1.6;
		letter-spacing: 0.44px;
	}
}


/* Absätze */
p + h1, p + h2 {
	margin-top: 52px;
}
p + h3, ul + h3, p + ul, ul + p, p + p {
	margin-top: 26px;
}
@media screen and (min-width: 1200px) {
	p + h1, p + h2 {
		margin-top: 70px;
	}
	p + h3, ul + h3, p + ul, ul + p, p + p {
		margin-top: 35px;
	}
}


/* Lange Sätze abschneiden */
.text-overflow-ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* Zeichen */
.text-uppercase {
	text-transform: uppercase;
}
.text-lowercase {
	text-transform: lowercase;
}


/* Silbentrennung */
.silbentrennung {
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	-ms-hyphenate-limit-chars: auto 3;
	-moz-hyphenate-limit-chars: auto 3;
	-webkit-hyphenate-limit-chars: auto 3;
	hyphenate-limit-chars: auto 3;
	-ms-hyphenate-limit-lines: 3;
	-moz-hyphenate-limit-lines: 3;
	-webkit-hyphenate-limit-lines: 3;
	hyphenate-limit-lines: 3;
}


/* ############################################################
	HYPERLINKS
############################################################ */

/* Allgemeines */
a {
	position: relative;
	text-decoration: none;
	color: var(--main-color-1);
	-o-transition: color 300ms var(--cubic-bezier);
	-ms-transition: color 300ms var(--cubic-bezier);
	-moz-transition: color 300ms var(--cubic-bezier);
	-webkit-transition: color 300ms var(--cubic-bezier);
	transition: color 300ms var(--cubic-bezier);
}
nav a, footer a {
	color: var(--main-color-white);
}
main a:hover, main a:focus, footer a:hover, footer a:focus {
	color: var(--main-color-3);
}


/* Hyperlinks */
.link-box {
	display: inline-block;
	position: relative;
	padding: 4px 6px;
	border: 1.75px solid var(--main-color-1);
	background-color: transparent;
	font-family: "Hurme-Bold";
	font-size: 0.9375rem; /* 15px */
	line-height: 1.0;
	letter-spacing: 0.3px;
	color: var(--main-color-1);
	white-space: nowrap;
	-o-transition: background 300ms var(--cubic-bezier), color 300ms var(--cubic-bezier);
	-ms-transition: background 300ms var(--cubic-bezier), color 300ms var(--cubic-bezier);
	-moz-transition: background 300ms var(--cubic-bezier), color 300ms var(--cubic-bezier);
	-webkit-transition: background 300ms var(--cubic-bezier), color 300ms var(--cubic-bezier);
	transition: background 300ms var(--cubic-bezier), color 300ms var(--cubic-bezier);
}
.link-box:hover {
	color: var(--main-color-white);
	background-color: var(--main-color-1);
}
footer .link-box {
	border-color: var(--main-color-white);
	color: var(--main-color-white);
}
footer .link-box:hover {
	color: var(--main-color-1);
	background-color: var(--main-color-white);
}
@media screen and (min-width: 1200px) {
	.link-box {
		padding: 7px 11px;
		border-width: 2px;
		font-size: 1.125rem; /* 18px */
		letter-spacing: 0.36px;
	}
}


/* Hover-Effekte */
.no-hover,
.no-hover:hover,
.no-link,
.no-link:hover {
	cursor: default;
	color: inherit;
	text-decoration: none;
}
.pointer {
	cursor: pointer;
}


/* Lange Hyperlinks */
@media screen and (max-width: 767.98px) {
	main a {
		-ms-hyphens: auto;
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		hyphens: auto;
		-ms-hyphenate-limit-chars: auto 3;
		-moz-hyphenate-limit-chars: auto 3;
		-webkit-hyphenate-limit-chars: auto 3;
		hyphenate-limit-chars: auto 3;
		-ms-hyphenate-limit-lines: 3;
		-moz-hyphenate-limit-lines: 3;
		-webkit-hyphenate-limit-lines: 3;
		hyphenate-limit-lines: 3;
	}
}


/* Anker */
/*a.nav-anchor[name] {*/
a.nav-anchor {
	display: block;
	width: 0;
	height: 0;
	position: relative;
	top: 0 !important;
	top: -50px !important;
	visibility: hidden;
}
@media screen and (min-width: 768px) {
	a.nav-anchor {
		top: -65px !important;
	}
}
@media screen and (min-width: 1600px) {
	a.nav-anchor {
		top: -80px !important;
	}
}


/* ############################################################
	PANELS/BOXEN
############################################################ */

/* Allgemein */
header, main, footer,
.main-header, .main-content,
.header-box, .nav-box, .content-box, .footer-box,
.header-inline, .nav-inline, .content-inline, .footer-inline,
.mdl-container, .nav-line-1, .nav-line-2 {
	position: relative;
	width: 100%;
}
.header-box, .nav-box, .content-box, .footer-box {
	padding-right: 20px;
	padding-left: 20px;
}
.header-inline, .nav-inline, .content-inline, .footer-inline {
	margin: 0 auto;
}

/* Kopfzeile */
header {
	z-index: 10;
	position: absolute;
	top: 0;
	left: 0;
	height: 130px;
    background-color: var(--main-color-white);
}
header.open {
	position: fixed;
}
body[class^="cms-"] header {
	z-index: 210;
	top: 51px;
}
/*header:before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
	border-style: solid;
	border-width: 30px 30px 0 30px;
	border-color: transparent;
	border-top-color: var(--main-color-white);
	left: calc(50% - 30px);
	bottom: -30px;
}*/
	.header-inline {
		height: 130px;
	}

/* Navigation */
nav, nav.open {
	-o-transition: top 500ms var(--cubic-bezier);
	-ms-transition: top 500ms var(--cubic-bezier);
	-moz-transition: top 500ms var(--cubic-bezier);
	-webkit-transition: top 500ms var(--cubic-bezier);
	transition: top 500ms var(--cubic-bezier);
}
nav {
	opacity: 0;
	z-index: 9;
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	top: calc((var(--nav-height, 1vh) * 100) * -1);
	left: 0;
	width: 100%;
	height: 100vh;
	height: calc(var(--nav-height, 1vh) * 100);
	overflow-x: hidden;
	overflow-y: auto;
	background-color: var(--main-color-1);
}
nav.open {
	opacity: 1;
	position: fixed;
	top: 130px;
}
body[class^="cms-"] nav {
	z-index: 209;
}
body[class^="cms-"] nav.open {
	top: 207px;
}
	.nav-inline {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		height: calc(var(--nav-height, 1vh) * 100);
	}
		.nav-line-1 {
			padding-top: 65px;
			padding-bottom: 32px;
		}
		.nav-line-2 {
			display: inline-flex;
			margin-top: auto;
			padding-bottom: 20px;
		}

/* Inhalt */
main {
	flex: 1 0 auto;
	padding-top: 130px;
}
body[class^="cms-"] main {
	padding-top: 207px;
}

/* Fusszeile */
footer {
	flex-shrink: 0;
	padding-top: 20px; /* 0px = Bei aktiver Sprache */
	padding-bottom: 25px;
	background-color: var(--main-color-1);
}
/*footer:after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
	border-style: solid;
	border-width: 30px 30px 0 30px;
	border-color: transparent;
	border-top-color: var(--main-color-white);
	left: calc(50% - 30px);
	top: 0;
}*/
	.footer-inline + .footer-inline {
		margin-top: 80px;
	}
	.footer-inline .col + .col {
		margin-top: 52px;
	}
		footer .kontakt-col-2, footer .nav-col-2 {
			margin-top: 26px;
		}
@media screen and (min-width: 768px) {
	/* Allgemein */
	.header-box, .nav-box, .content-box, .footer-box {
		padding-left: 47px;
		padding-right: 47px;
	}
	
	/* Fusszeile */
	footer {
		padding-bottom: 80px;
	}
		.footer-inline + .footer-inline {
			margin-top: 66px;
		}
		.footer-inline .col + .col {
			margin-top: 0;
		}
			footer .kontakt-col-1, footer .nav-col-1 {
				margin-right: 40px;
			}
}
@media screen and (min-width: 992px) {
	/* Fusszeile */
	.footer-inline .col {
		display: flex;
	}
	footer .kontakt-col-2, footer .nav-col-2 {
		margin-top: 0;
	}
	footer .nav-col-2 {
		width: 140px;
		margin-left: auto;
	}
}
@media screen and (min-width: 1200px) {
	/* Kopfzeile */
	header, .header-inline {
		height: 200px;
	}
	/*header:before {
		border-width: 40px 40px 0 40px;
		left: calc(50% - 40px);
		bottom: -40px;
	}*/

	/* Navigation */
	nav.open {
		top: 200px;
	}
	body[class^="cms-"] nav.open {
		top: 290px;
	}
		.nav-line-1 {
			padding-top: 140px;
			padding-bottom: 70px;
		}
		.nav-line-2 {
			padding-bottom: 60px;
		}

	/* Inhalt */
	main {
		padding-top: 200px;
	}
	body[class^="cms-"] main {
		padding-top: 290px;
	}
	
	/* Fusszeile */
	footer {
		padding-top: 30px; /* 0px = Bei aktiver Sprache */
		padding-bottom: 120px;
	}
	/*footer:after {
		border-width: 40px 40px 0 40px;
		left: calc(50% - 40px);
	}*/
		.footer-inline + .footer-inline {
			margin-top: 100px;
		}
			footer .nav-col-2 {
				width: 220px;
			}
}
@media screen and (min-width: 1600px) {
	/* Allgemein */
	.header-box, .nav-box, .content-box, .footer-box {
		padding-left: 94px;
		padding-right: 94px;
	}
	
	/* Fusszeile */
	footer .kontakt-col-1, footer .nav-col-1 {
		margin-right: 80px;
	}
}


/* ############################################################
	BILDER/ICONS
############################################################ */

/* Logo */
a.link-logo {
	display: inline-block;
	position: absolute;
	top: 48px;
	left: calc(50% - 106px);
	width: 212px;
	height: auto;
}
	a.link-logo img {
		display: inline-block;
	}
@media screen and (min-width: 1200px) {
	a.link-logo {
		top: 74px;
		left: calc(50% - 132px);
		width: 265px;
	}
}


/* ############################################################
	MODULE/TEMPLATES
############################################################ */

/* Template 1: 2-spaltig */
@media screen and (min-width: 768px) {
	.template-1 > .row > .col.come-in.delay-different:nth-child(2) {
		-webkit-animation-delay: 200ms;
		-moz-animation-delay: 200ms;
		-ms-animation-delay: 200ms;
		-o-animation-delay: 200ms;
		animation-delay: 200ms;
	}
}


/* Template 2: Listen-Tabelle */
h1 + .template-2, h2 + .template-2 {
	margin-top: 35px;
}
.template-2 table {
	border-collapse: collapse;
	width: 100%;
}
	.template-2 table td {
		padding: 10px 0;
		vertical-align: top;
		border-top: 1.75px solid var(--main-color-1);
	}
	.template-2 table tr:last-of-type td {
		border-bottom: 1.75px solid var(--main-color-1);
	}
@media screen and (max-width: 767.98px) {
	.template-2 .col:nth-child(2) table tr:first-of-type td {
		border-top: none;
	}
}
@media screen and (min-width: 768px) {
	.template-2 > .row > .col.come-in.delay-different:nth-child(2) {
		-webkit-animation-delay: 200ms;
		-moz-animation-delay: 200ms;
		-ms-animation-delay: 200ms;
		-o-animation-delay: 200ms;
		animation-delay: 200ms;
	}
}
@media screen and (min-width: 1200px) {
	h1 + .template-2, h2 + .template-2 {
		margin-top: 60px;
	}
		.template-2 table td {
			padding: 14px 0;
			border-top-width: 2px;
		}
		.template-2 table tr:last-of-type td {
			border-bottom-width: 2px;
		}
}


/* ############################################################
	LISTEN
############################################################ */

/* Aufzählungslisten */
.mdl-container ul:not([class^="cmsmodule-nav"]),
.mdl-container ol.nummer-klammer {
	list-style: none;
	position: relative;
	padding: 0;
}


/* - (&ndash;) */
.mdl-container ul:not([class^="cmsmodule-nav"]) li {
	margin-left: 18px;
	padding-left: 0;
}
.mdl-container ul:not([class^="cmsmodule-nav"]) li:before {
	content: "\2013";
	position: absolute;
	margin-left: -18px;
}
@media screen and (min-width: 1200px) {
	.mdl-container ul:not([class^="cmsmodule-nav"]) li {
		margin-left: 22px;
	}
	.mdl-container ul:not([class^="cmsmodule-nav"]) li:before {
		margin-left: -22px;
	}
}


/* ############################################################
	NAVIGATION
############################################################ */

/* Allgemeines */
ul.nav-mainmenu, ul.nav-mainmenu ul, ul.nav-mainmenu li,
ul.nav-secondmenu, ul.nav-secondmenu ul, ul.nav-secondmenu li,
ul.nav-thirdmenu, ul.nav-thirdmenu ul, ul.nav-thirdmenu li,
ul.nav-language, ul.nav-language ul, ul.nav-language li {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.nav-mainmenu li, ul.nav-secondmenu li, ul.nav-thirdmenu li, ul.nav-language li {
	position: relative;
}


/*
1st-Menu
*/
ul.nav-mainmenu {
	display: flex;
	flex-direction: column;
	width: 100%;
	font-size: 1.625rem; /* 26px */
	line-height: 1.0;
	letter-spacing: 1.3px;
}
	ul.nav-mainmenu > li:not(:first-child) {
		margin-top: 16px;
	}

/* Hyperlink-Status: Hover */
ul.nav-mainmenu > li > a:hover {
	color: var(--main-color-3);
}

/* Hyperlink-Status: Aktiv */
ul.nav-mainmenu > li.active > a {
	color: var(--main-color-3);
}
@media screen and (min-width: 992px) {
	ul.nav-mainmenu {
		width: calc((8 * var(--col-width-1)) + (7 * var(--gap)));
		margin-left: calc((2 * var(--col-width-1)) + (2 * var(--gap)));
	}
}
@media screen and (min-width: 1200px) {
	ul.nav-mainmenu {
		font-size: 2.1875rem; /* 35px */
		letter-spacing: 1.75px;
	}
		ul.nav-mainmenu > li:not(:first-child) {
			margin-top: 22px;
		}
}


/*
2nd-Menu
*/
ul.nav-secondmenu {
	display: flex;
	justify-content: flex-end;
	font-family: "Hurme-Bold";
	font-size: 0.6875rem; /* 11px */
	line-height: 1.0;
	letter-spacing: 0.55px;
	text-transform: uppercase;
}
nav ul.nav-secondmenu {
	width: calc((9 * var(--col-width-1)) + (8 * var(--gap)));
}
nav ul.nav-secondmenu li:not(:first-child) {
	margin-left: 20px;
}
footer ul.nav-secondmenu {
	flex-direction: column;
	margin-top: 80px;
}
footer ul.nav-secondmenu li:not(:first-child) {
	margin-top: 17px;
}

/* Hyperlink-Status: Hover */
nav ul.nav-secondmenu > li > a:hover {
	color: var(--main-color-3);
}
@media screen and (min-width: 768px) {
	footer ul.nav-secondmenu {
		margin-top: 35px;
	}
	footer ul.nav-secondmenu li:not(:first-child) {
		margin-top: 13px;
	}
}
@media screen and (min-width: 992px) {
	nav ul.nav-secondmenu {
		justify-content: flex-start;
	}
}
@media screen and (min-width: 1200px) {
	ul.nav-secondmenu {
		font-size: 0.875rem; /* 14px */
		letter-spacing: 0.7px;
	}
	nav ul.nav-secondmenu li:not(:first-child) {
		margin-left: 25px;
	}
	footer ul.nav-secondmenu {
		margin-top: 55px;
	}
}


/*
3rd-Menu
*/
ul.nav-thirdmenu {
	display: flex;
	flex-direction: column;
}
@media screen and (min-width: 1200px) {
	ul.nav-thirdmenu li:not(:first-child) {
	}
}


/*
Language-Menu
*/
ul.nav-language {
	display: flex;
	font-family: "Hurme-Bold";
	font-size: 0.6875rem; /* 11px */
	line-height: 1.0;
	letter-spacing: 0.55px;
	text-transform: uppercase;
}
nav ul.nav-language {
	width: calc((3 * var(--col-width-1)) + (3 * var(--gap)));
}
	ul.nav-language li:not(:first-child) {
		margin-left: 20px;
	}

/* Hyperlink-Status: Hover */
nav ul.nav-language > li > a:hover, ul.nav-language > li.active > a {
	color: var(--main-color-3);
}
@media screen and (min-width: 992px) {
	nav ul.nav-language {
		width: calc((2 * var(--col-width-1)) + (2 * var(--gap)));
	}
}
@media screen and (min-width: 1200px) {
	ul.nav-language {
		font-size: 0.875rem; /* 14px */
		letter-spacing: 0.7px;
	}
		ul.nav-language li:not(:first-child) {
			margin-left: 25px;
		}
}

