

/* ############################################################
	FARBKLIMA
###############################################################
	
	  Weiss				#ffffff - rgba(255,255,255,1)
	  Schwarz			#000000 - rgba(0,0,0,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-white: #ffffff;
	--main-color-white-80: rgba(255,255,255,.8);
	--main-color-black: #000000;
	--main-color-black-80: rgba(0,0,0,.8);
	--gap: 10px;
	--cubic-bezier: cubic-bezier(0.41,0,0.51,1) 0s;
}
@media (min-width: 1024px) {
	:root {
		--gap: 20px;
	}
}


/* Allgemeines */
a, a:focus {
	outline: none;
}
main img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	-ms-interpolation-mode: bicubic;
	image-rendering: optimizeQuality;
}
html, body {
	font-size: 100%;
	height: 100%;
}
html {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body {
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	background-color: var(--main-color-black-80);
}
body.blocked {
	overflow: hidden;
}


/* Effekt: FadeIn / Lightning */
body:not(.cms-active) main {
	opacity: 0;
}


/* ############################################################
	SCHRIFTEN / TEXTE / ABSÄTZE / TITEL
############################################################ */

/* Allgemeines */
body {
	font-family: "Google Sans";
	font-style: normal;
	font-weight: 400;
	color: var(--main-color-white);
	font-size: max(20px, 1.875vw); /* 36px */
	line-height: 1.25;
	letter-spacing: min(-0.1px, -0.009375vw);
}


/* Schnitte */
b, strong, .bold {
	font-style: normal;
	font-weight: 700;
}


/* Absätze */
p {
	margin-bottom: max(23px, 45px);
}
div > p:last-of-type {
	margin-bottom: 0;
}


/* ############################################################
	HYPERLINKS
############################################################ */

/* Allgemeines */
a {
	position: relative;
	text-decoration: underline;
	text-decoration-color: transparent;
}
a, a:hover {
	color: var(--main-color-white);
}
@media (min-width: 1024px) {
	a {
		transition: text-decoration 300ms var(--cubic-bezier);
	}
	a:hover {
		text-decoration: underline;
		text-decoration-color: var(--main-color-white-80);
	}
}


/* Lange Hyperlinks */
@media (max-width: 767.98px) {
	main a {
		hyphens: auto;
		hyphenate-limit-chars: auto 3; /* wirkt in Chrome/Edge/Firefox, Safari ignoriert */
		/* Safari/iOS Safari Fallback (non-standard) */
		-webkit-hyphenate-limit-before: 3;
		-webkit-hyphenate-limit-after: 3;
		-webkit-hyphenate-limit-lines: 3;
	}
}


/* ############################################################
	PANELS/BOXEN
############################################################ */

/* Allgemein */
main, section {
	position: relative;
	width: 100%;
}
main {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center; /* vertikal */
	align-items: center;     /* horizontal */
	min-height: 100vh;
	padding: 30px;
}
	main section {
		max-width: 100%;
	}
@media (min-width: 768px) {
	main section {
		max-width: 80%;
	}
}
@media (min-width: 1024px) {
	main {
		padding: 50px;
	}
		main section {
			max-width: 60%;
		}
}
@media (min-width: 1280px) {
	main section {
		max-width: 50%;
	}
}

