

/* ----- general tags ----- */
html, body {
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
	font-family: "Noto Sans";
	font-style: italic;
	color: #ffffff;
}

body {
	background-color: #464646;
	background-image: url('img/background.png');
	background-repeat: repeat;
	background-size: 450px;
}

a, a:link, a:visited, a:active, a:hover {
	color: #00a8ff;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

h1 {
	font-weight: 400;
	margin-top: 20px;
	margin-bottom: 20px;
}

h2 {
	font-weight: 300;
	margin-top: -20px;
	margin-bottom: 15px;
}



/* ----- all pages ----- */

.canvas {
	display: flex;
	flex-flow: row wrap;
	height: 100%;
}

.outer {
	display: flex;
	align-items: center;
	flex-flow: column;
	width: 100%;
}

.inner {
	width: 100%;
	max-width: 1920px;
	
	/* outline: 1px solid red; */
}

.page.inner {
	/*z-index: -1;*/
}

.navi.inner {
	display: flex;
	flex-grow: 1;
	
	/* outline: 1px solid yellow; */
}

.navi .logo {
	display: none;
}

.navi .buttons {
	position: fixed;
	display: flex;
	flex-flow: row nowrap;
	gap: 12px;
	bottom: -1px;
	z-index: 5;
}
.navi .buttons .button {
	align-self: end;
}

.navi .buttons .button a {
	background-color: rgba(0,0,0,0.6);
	backdrop-filter: blur(2px);
	box-shadow: 0px 0px 30px rgba(0,0,0,0.8);
	white-space: nowrap;
	text-decoration: none;
	color: #fff;
	display: block;
	
	writing-mode: sideways-lr;

	border: 1px solid #fff;
	
	font-weight: 500;
	font-size: 18px;
	padding: 10px;
}
.naviback {
	position: fixed;
	bottom: 0px;
	height: 100px;
	width: 100%;
	background: linear-gradient(0deg, black, transparent);
}

@media screen and (min-width: 900px) {
	.navi .buttons {
		align-self: end;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		max-width: calc(100% - 32px - 32px);
		gap: 16px;
		/*flex-flow: row nowrap;*/
		position: fixed;
		bottom: 32px;
		left: inherit;
	}
	.navi .buttons .button a {
		font-weight: 400;
		font-size: 18px;
		padding: 10px;
		writing-mode: horizontal-tb;
		/*width: 349px;*/
		text-align: center;
	}
	.navi .buttons .button.selected a {
		/*padding-top: 16px;*/
	}
}

.navi .buttons .button a:hover, .navi .buttons .button.selected a {
	border: 1px solid rgba(255,255,255, 0);
	background-color: rgba(255,255,255,0.7);
	color: #000;
}
.navi .buttons .button a:hover {
	/*border: 1px solid rgba(0,0,0,0.7);*/
	/*box-shadow: 0px 0px 20px rgba(255,255,255,0.9);*/
}


/* ----- phf image ------ */

.phf {
	position: fixed;
	right: -50px;
	z-index: -5;
	top: inherit;
	bottom: 1px;
}
.phf img {
	/*width: 46vh;*/
	width: 42vh;
	max-width: 50vw;
	object-fit: contain;
	max-height: 85vh;
}

@media screen and (min-width: 900px) {
	.phf {
		right: -70px;
		/*top: 14vh;*/
		top: 22vh;
		bottom: inherit;
	}
	.phf img {
		max-height: inherit;
	}
}
@media screen and (min-width: 1850px) {
	.phf {
		right: inherit;
		width: 1920px;
		display: flex;
		flex-flow: column;
	}
	.phf img {
		align-self: end;
	}
	.overview .phf {
		right: inherit;
		width: inherit;
		display: inherit;
	}
}



/* ------ overview ----- */

.overview .outer {
	padding-left: 32px;
	padding-right: 32px;
}

.overview .page.inner {
	display: flex;
	flex-flow: row wrap;
}

.overview .block.head {
	width: 100%;
}
.overview .block.main {
	flex: 1 80%;
	order: 1;
}
.overview .block.right {
	flex: 1 20%;
	order: 2;
}
/*
.overview .block.right div {
	position: relative;
	left: -17vh;
	top: 7vh;
}
.overview .block.right img {
	width: 50vh;
	z-index: -1;
	position: fixed;
}
*/



.overview .block.main {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin-bottom: 210px;
}
@media screen and (min-width: 900px) {
	.overview .block.main {
		grid-template-columns: 1fr 1fr;
		margin-bottom: 110px;
	}
	/*
	.overview .block.right div {
		top: 8vh;
		left: -9vh;
	}
	*/
}

.overview .block.main .element {
	display: grid;
	grid-template-columns: 11fr 10fr;
	gap: 10px;
}
.overview .block.main .element a {
	border: 1px solid #fff;
	line-height: 0px;
}
.overview .block.main .element a:hover {
	box-shadow: 0px 0px 20px rgba(255,255,255,0.9);
}
.overview .block.main .element img {
	width: 100%;
}
.overview .block.main .element .text {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	font-weight: 300;
	hyphens: auto;
	overflow: hidden;
}
.overview .block.main .element .text > div {
	flex-basis: 100%;
}
.overview .block.main .element .text .upper {
	align-self: start;
}
.overview .block.main .element .text .lower {
	align-self: end;
}


.overview .block.main .element .text .line.one, 
.overview .block.main .element .text .line.two {
	text-transform: uppercase;
		font-weight: 300;
}


.overview .block.main .element .text .line.one, 
.overview .block.main .element .text .line.two {
	line-height: 3.11vw;
	font-size: 3.11vw;
}
.overview .block.main .element .text .line.sub,
.overview .block.main .element .text .line.info {
	font-size: 1.78vw;
}

@media screen and (min-width: 900px) {
	.overview .block.main .element .text .line.one, 
	.overview .block.main .element .text .line.two {
		line-height: 1.46vw;
		font-size: 1.46vw;
	}
	.overview .block.main .element .text .line.sub,
	.overview .block.main .element .text .line.info {
		font-size: 0.83vw;
	}
}

@media screen and (min-width: 1920px) {
	.overview .block.main .element .text .line.one, 
	.overview .block.main .element .text .line.two {
		line-height: 28px;
		font-size: 28px;
	}
	.overview .block.main .element .text .line.sub,
	.overview .block.main .element .text .line.info {
		font-size: 16px;
	}
}


/* -------- simple site ----------- */

.simple .outer {
	padding: 0px;
	align-self: center;
}
.simple .inner {
	max-width: 1920px;
}

/* breitbild zentrieren */
@media screen and (min-aspect-ratio: 14/9) {
	.simple .inner {
		display: flex;
		flex-flow: column;
	}
	.simple .inner .block.main, .simple .inner .buttons {
		align-self: center;
	}
}

.simple .head, .simple .navi .buttons {
	padding-left: 32px;
	padding-right: 32px;
}

.simple .block.main {
	display: grid;
	column-gap: calc(100% - 72px);
}

.simple .block.main .media {
	max-height: calc(100vh - 200px);
	max-width: 100%;
	object-fit: contain;
	user-select: none;
	
	grid-column-start: 1;
	grid-column-end: 3;
}

.simple a.left, .simple a.right {
	/*width: 23px;*/
	background-color: #000;
	padding: 6px;
	padding-bottom: 1px;
	
	text-align: center;

	background-color: rgba(0,0,0,0.7);
	backdrop-filter: blur(2px);
	box-shadow: 0px 0px 30px rgba(0,0,0,0.8);
}

.simple a.left:hover, .simple a.right:hover {
	background-color: rgba(255,255,255,0.7);
	color: #000;
}

.simple a svg {
	/*width: 24px;*/
}


@media screen and (min-width: 900px) {
	.simple .head {
		/*margin-top: 32px;*/	/* instead of h1, h2 */
	}
	.simple .block.main {
		grid-template-columns: 32px 1fr 32px;
		width: max-content;
		max-width: 100%;
		column-gap: 0;
	}
	.simple a.left, .simple div.left {
		order: 1;
		align-self: center;
		margin-left: 0px;
	}
	.simple .block.main .media {
		order: 2;
		grid-column: initial;
	}
	.simple a.right, .simple div.right {
		order: 3;
		align-self: center;
		margin-left: 0px;
	}
}



/* ------- special -------- */

.special .outer {
	padding: 0px;
}
.special .inner {
	max-width: 1920px;
	display: flex;
	flex-flow: row wrap;
}

.special .head, .special .navi .buttons {
	padding-left: 32px;
	padding-right: 32px;
}

.special .block.head {
	width: 100%;
}
.special .block.main {
	flex: 1 75%;
	order: 1;
	
	padding-left: 32px;
	padding-right: 32px;
}
.special .block.right {
	flex: 1 25%;
	order: 2;
}


@media screen and (min-width: 900px) {
	.special .block.main {
		width: max-content;
		max-width: 100%;
	}

}


/* ------ kontaktseite ----- */

.k-kontakt .content {
	overflow: hidden;
	max-width: 1920px;
}
img.kontakt {
	position: fixed;
	/*width: 100vh;*/
	max-height: 80vh;
	max-width: 200vw;
	right: -200vw;

	animation-name: kontaktanim;
	animation-duration: 15s;
	/*animation-timing-function: ease-out;*/
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	
	object-fit: contain;
	z-index: -7;
}
@keyframes kontaktanim {
	0% {right: 100vw;}
	100% {right: -200vw;}
}


/* ------- homeseite -------- */

.k-home img.home {
	position: fixed;
	max-width: 1856px;
	z-index: -9;
	object-fit: cover;
	left: 0px;
	width: 100%;
	top: 0px;
	height: 100%;
}
.k-home div.home {
	position: fixed;
	bottom: 230px;
	padding-right: 32px;
}
.k-home .phf {
	right: -70px;
	bottom: -120px;
}
.k-home .phf img {
	max-width: inherit;
}
@media screen and (min-width: 900px) {
	.k-home img.home {
		width: calc(100% - 64px);
		left: inherit;
		top: 32px;
		height: calc(100% - 143px);
	}
	.k-home div.home {
		bottom: 150px;
		top: inherit;
		padding-left: 32px;
	}
	.k-home .phf {
		right: 20vw;
	}
}


/*
.content img.home {
	position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
	z-index: -2;
}
.content div.home {
	position: absolute;
	z-index: 9;
	padding-right: 32px;

	top: inherit;
	bottom: 220px;
}
.content div.home h1 {
	font-size: 2em;
}
.content div.home h2 {
	font-size: 1.5em;
}

.k-home .block.main {
 	display: grid;
	column-gap: calc(100% - 72px);
	grid-
}
.k-home .block.right div {
	top: 8vh;
	left: -9vh;
}
.k-home .block.main {
}
@media screen and (min-width: 600px) {
	.k-home .block.main {
	}
	.content div.home {
		top: 10px;
		bottom: inherit;
	}
}
@media screen and (min-width: 900px) {
	.k-home .block.main {
	}
	.content div.home {
		top: inherit;
		bottom: 130px;
	}
}
*/
