/* ############################################################ */
/* FONTS */
@font-face {
  font-family: 'jost-regular';
  src: url("../media/fonts/Jost-Regular.ttf");
  font-display: swap;
}
@font-face {
  font-family: 'jost-italic';
  src: url("../media/fonts/Jost-Italic.ttf");
  font-display: swap;
}
@font-face {
  font-family: 'gemunu';
  src: url("../media/fonts/GemunuLibre.ttf");
  font-display: swap;
}

/* ############################################################ */
/* ROOT-VARIABLEN */
:root {
	/* Farben */
	--cbg1: rgb(15,15,10);
	--cbg2: rgb(30,30,25);
	--cbg3: rgb(45,45,40);
	
	--ca1: #158409;
	--ca2: rgb(90,255,0);
	
	--ctxt: rgb(240,250,240);
	
	/* Größen */
	--dh: 100vh; /* Doc Height -> jg.js */
	
	--d1: 10px;
	--d2: 20px;
	--d3: 60px;
	
	--rad: 10px;
	
	/* Transitions */
	--t1: 0.2s;
	--t2: 0.5s;
	--t3: 1s;
	
	/* Schatten */
	--tshad: 0 0 10px black, 0 0 10px black;
	--shad: 0 0 10px black;
}

/* ############################################################ */
/* BODY & HAUPT-MARKUP */
html { 
	-ms-overflow-style: none; 
	scrollbar-width: none;
}
html * {
	scrollbar-width: thin;
	scrollbar-color: var(--ca2) var(--cbg1);
}
html *::-webkit-scrollbar {
	background-color: var(--cbg1);
	width: 20px; height: 20px;
}
html *::-webkit-scrollbar-thumb {
	box-shadow: inset 0 0 10px 10px var(--ca2);
	border: solid 7px transparent;
	border-radius: 10px;
}
html *::-webkit-scrollbar-track { background-color: var(--cbg1); }
html *::-webkit-scrollbar-corner { background: var(--cbg1); }
	
body {
	margin: 0; padding: 0;
	background-color: var(--cbg1);
}
*, *:before, *:after {
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
	box-sizing: border-box !important;
	
	margin: 0; padding: 0;
	color: var(--ctxt);
	font-family: 'jost-regular';
	font-style: normal; font-weight: normal;
	line-height: 1.4em;
	font-variant-ligatures: none;
	hyphens: auto;
}
h1 { font-size: 72pt; font-family: 'gemunu'; }
h2 { font-size: 52pt; font-family: 'gemunu'; }
h3 { font-size: 28pt; line-height: 28pt; font-family: 'gemunu'; color: var(--ca2); }
h4 { font-size: 16pt; }

c { color: var(--ca2); }

ul, ol { padding-left: 15pt; }
li { list-style: none; margin: 0 0 10pt 15pt; }
li:before { content: '»\00a0\00a0'; margin-left: -15pt; }
hr {
	width: 90%; height: 1px;
	margin: 20px auto 20px auto;
	border: 0;
	background: linear-gradient(
		to left, transparent 0%, var(--ca2) 50%, transparent 100%
	)
}

img { user-select: none; pointer-events: none; }

input, textarea {
	border: 2px solid var(--ca1);
	background-color: var(--ca1);
	accent-color: var(--ca2);
}
input:focus, textarea:focus { 
	outline: none;
	border: 2px solid var(--ca2);
	box-shadow: var(--shad);
}

/* ############################################################ */
/* Z-INDEX */
#prev		{ z-index: 11; }
#nav 	  	{ z-index: 10; }
#dot-cont 	{ z-index: 5; }

/* ############################################################ */
/* HAUPTSTRUKTUREN */
#nav {
	position: fixed; top: 0; left: 0;
	width: 100%; height: 40px;
	
	display: flex; gap: var(--d2);
	justify-content: center; align-items: center;
	
	transition: var(--t1);
	background-color: var(--cbg2);
}
#nav a { text-decoration: none; transition: var(--t1); }
#nav a.active { color: var(--ca2); }
#nav a.active:before { left: 0; width: 100%; }
#navbtn {
	display: none;
	position: absolute; top: 0; right: 0;
	height: 40px; width: 40px;
	transition: var(--t1);
	cursor: pointer;
}
#navbtn:before {
	content: ''; position: absolute;
	width: 65%; height: 65%;
	top: 50%; left: 50%; transform: translate(-50%,-50%); 
	background-color: var(--ca2);
	
	-webkit-mask: url(../media/logo/logo2.svg) center center / contain no-repeat;
			mask: url(../media/logo/logo2.svg) center center / contain no-repeat;
}
#navbtn p {
	position: absolute; 
	width: 80%; height: 2px; 
	left: 50%; transform: translate(-50%,0);
	background-color: var(--cbg1);
	border-top: 2px solid var(--ca2);
	transition: var(--t1) var(--t1);
}
#navbtn p:nth-child(1) {
	bottom: calc(20% - 1px); 
	height: calc(60% + 2px);
	transition: opacity var(--t1), height var(--t1) var(--t1); 
}
#navbtn p:nth-child(2) { bottom: calc(50% - 1px); }
#navbtn p:nth-child(3) { bottom: calc(20% - 1px); }

#navbtn.active p:nth-child(1) { 
	height: 2px; opacity: 0;
	transition: opacity var(--t1) var(--t1), height var(--t1); 
}
#navbtn.active p:nth-child(2) { opacity: 0; transition: var(--t1); }
#navbtn.active p:nth-child(3) { opacity: 0; transition: var(--t1); }

#main {
	width: 100%; height: calc(var(--dh) - 40px); /* Höhe von Nav */
	margin-top: 40px; overflow: auto;
}

#footer {
	position: relative;
	display: flex; gap: var(--d2);
	justify-content: center; align-items: center;
	padding-top: var(--d2); /* Abstand für Trennlinie */
}
#footer:before { /* Trennlinie */
	content: ''; position: absolute;
	top: 0; left: 0;
	width: 100%; height: 1px;
	background: linear-gradient(to left, transparent, var(--ca2), transparent);
}
#footer * { text-shadow: var(--tshad); }
#footer > div {
	display: flex; flex-direction: column;
	align-items: center;
}
#footer > div > p { color: var(--ca2); }
#footer a { text-decoration: none; }

/* ---------------------------------------- */
/* Index Sektionen */
#sec-page {
	position: relative;
	width: 100%; height: calc(var(--dh) - 40px);
	
	scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
	
	-ms-overflow-style: none;
	scrollbar-width: none;
	
    overflow: auto;
}
#sec-page::-webkit-scrollbar { display: none; }

.sec {
	position: relative;
	width: 100%; height: 100%;
	
	display: flex; justify-content: center;
	padding-bottom: 60px;
	scroll-snap-align: start;
	
	background-color: var(--cbg2);
	overflow: hidden;
	z-index: 0;
}

/* Sektionen Elemente */
.sec-bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	opacity: 0.8;
	transition: opacity 1s;
	z-index: -1;
}
.sec-bg-1 { /* Farb Hintergrund */
	position: absolute;
	min-width: 100%; min-height: 100%;
	top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.sec-bg-2 { /* Bild Hintergrund */
	position: absolute; top: 0;
	min-width: 100%; height: 100%;
}
.sec-bg-2.r { /* Rechte Seite */
	right: 50%; transform: translate(50%,0);
	padding-left: 75%;
}
.sec-bg-2.l { /* Linke Seite */
	left: 50%; transform: translate(-50%,0);
	padding-right: 75%;
}

.sec-cont {
	display: flex; flex-direction: column;
	justify-content: center; gap: var(--d2);
	height: 100%; max-width: 1000px;
	margin: 0 200px; /* Dot Cont Width */
	padding: var(--d3);
	
	transition: opacity 1s 0.3s;
}
.sec-cont.left  { width: 60%; margin-right: auto; }
.sec-cont.right { width: 60%; margin-left:  auto; }

.sec-title {
	width: 100%; height: 150px;
	background-color: var(--ctxt);
	
	-webkit-mask: center center / contain no-repeat;
			mask: center center / contain no-repeat;
}
.sec-title.img {
	background-color: transparent;
}
.sec-title.img img {
	width: 100%; height: 100%;
	object-fit: contain;
}

.sec-txt { }
.sec-txt.col2 { column-count: 2; }
.sec-txt.col2 p { display: inline-block; }
.sec-txt * { text-shadow: var(--tshad); }
.sec-txt > * { margin-bottom: 6pt; }
.sec-txt > *:first-letter { margin-left: 12pt; }

.sec-link {
	display: flex; justify-content: center;
	align-items: center; gap: var(--d1);
	
	width: 150px; height: 50px;
	position: absolute; right: var(--d1); bottom: var(--d1);
	
	text-decoration: none;
}
.sec-link > * { font-size: 1.2em; }

/* Sektion Animation */
.sec:not(.invp) * { opacity: 0; }

/* Signatur */
#schike {
	position: absolute; left: var(--d1); bottom: var(--d1);
	font-size: 0.8em; 
}
#schike * { color: var(--ca2); text-decoration: none; }

/* Dot-Indikatoren */
#dot-cont {
	position: fixed;
	width: 150px; right: 0;
	top: 50%; transform: translate(0, -50%);
	
	display: flex; flex-direction: column;
	justify-content: center;
	gap: 20px;
}
.sec-dot {
	position: relative;
	width: 10px; height: 10px;
	border-radius: 50%;
	background-color: var(--ca2);
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
	transition: var(--t1);
	opacity: 0.5;
	cursor: pointer;
}
.sec-dot p {
	position: absolute; top: 50%; left: 150%;
	width: 80px;
	transform: translate(0, -50%);
	font-size: 8pt;
	hyphens: none;
	user-select: none;
	transition: var(--t1);
	color: var(--ctxt);
}
.sec-dot.active {
	transform: scale(1.5);
	opacity: 1;
}
.sec-dot.active p {
	opacity: 1;
	color: var(--ca2);
}


/* ---------------------------------------- */
/* Unterseiten */
#sub-page {
	display: flex; flex-direction: column;
	width: 100%; max-width: 900px;
	margin: 0 auto; padding: var(--d2);
}

#sub-bg {
	position: fixed; top: 0; left: 0;
	width: 100%; height: var(--dh);
	
	opacity: 0.6;
	z-index: -1;
}
#sub-bg img {
	min-height: 100%; min-width: 100%;
}

#sub-title {
	display: flex; gap: var(--d2);
	justify-content: center;
	text-align: center;
}
#sub-title h1 { line-height: 1em; }
#sub-title h1:before {
	content: ''; display: inline-block;
	height: 1em; width: 1em;
	background-color: var(--ctxt);
	-webkit-mask: url(../media/logo/logo2.svg) center center / contain no-repeat;
			mask: url(../media/logo/logo2.svg) center center / contain no-repeat;
}

.block { 
	margin: 60px 0 160px 0;
	border-left: none; border-right: none;
	box-shadow: var(--shad);
}
.block > * { position: relative; }
.block-head {
	position: relative;
	display: flex; justify-content: center;
	align-items: center; gap: var(--d2);
	height: 40px; padding: var(--d1);
	background-color: var(--ca1);
	border-top: 4px solid var(--ca2);
}
.block-head h2 {
	position: absolute; top: 0; left: 0;
	transform: translate(0,-72%);
	text-transform: uppercase;
	font-family: 'gemunu';
	color: var(--ca2);
	white-space: nowrap;
}
.block:nth-child(even) .block-head h2 { right: 0; left: auto; }
.block-body {
	position: relative;
	display: flex; flex-direction: column;
	gap: var(--d2);
	
	padding: var(--d2);
	background-color: var(--cbg3);
}
.block .diashow { margin-top: var(--d2); }

#prev {
	position: absolute;	top: 0; left: 0;
	width: 100%; height: var(--dh);
	display: flex;
	align-items: center; justify-content: center;
	
	background-color: rgba(0,0,0,0.5);
	opacity: 0; visibility: hidden;
	transition: var(--t2);
	cursor: pointer;
}
#prev-img {
	max-width: 90%; max-height: 90%;
	padding: var(--d1);
	background-color: var(--cbg1);
	border: 2px solid var(--ca2);
}
#prev.active { opacity: 1; visibility: visible; }

#gallery {
	display: flex; flex-direction: row;
	justify-content: center;
	flex-wrap: wrap; gap: var(--d1);
	margin: 60px 0;
}
#gallery > div {
	width: 100px; height: 100px;
	border: 1px solid var(--ca2);
	overflow: hidden;
	cursor: pointer;
}
#gallery > div > img {
	min-width: 100%; min-height: 100%;
	max-width: 150%; max-height: 150%;
	object-fit: cover;
}

/* ############################################################ */
/* SPEZIELLE ELEMENTE */
.contact {
	display: flex; flex-direction: column;
	justify-content: center; align-items: center;
	padding: var(--d1);
	background-color: var(--cbg3);
}
.contact form {
	display: flex; flex-direction: column;
}
.contact input, .contact textarea {
	margin: var(--d1) 0; padding: var(--d1);
	font-size: 1em;
	resize: none;
}
.contact label { font-size: 0.8em; }

.quote {
	display: block;
	margin: var(--d2) auto; max-width: 90%;
	padding: var(--d1) 20px;
	border-left: 5px solid var(--ca2);
}
.quote * { display: block; }
.quote p {
	font-size: 1.6em;
	hyphens: none;
}
.quote i {
	font-size: 1em;
	margin: var(--d2) 0 0 var(--d2);
}

/* ---------------------------------------- */
/* Diashow */
.diashow {
	position: relative;
	width: 100%; height: 100%; min-height: 500px;
	display: flex; flex-direction: column;
	justify-content: center; align-items: center;
}
.with-autoskip {}, .with-buttons {}, .with-icons {}, .fullscreen {}
.diashow > div {
	position: absolute;
	
	width: 100%; height: 100%;
	
	display: flex; 
	align-items: center; 
	justify-content: center;
	text-align: center;
	
	visibility: hidden; opacity: 0;
	transition: visibility 2s, opacity 2s;
	transition-delay: 0.5s;
}
.diashow > div.active {
	visibility: visible; opacity: 1;
	transition-delay: 0;
}
.diashow > div > img {
	height: auto; width: auto;
	max-width: 100%; max-height: 100%; 
	box-shadow: 0 0 5px 0 black;
}
.diashow.fullscreen > div > img {
	height: 100%; width: 100%;
	object-fit: cover;
}
.diashow.transparent {
	background-color: rgba(0,0,0,0.3);
	box-shadow: var(--shad);
}
.dia-btn-left, .dia-btn-right {
	position: absolute; 
	height: 20px; aspect-ratio: 1/1;
	top: 45%; left: 0;

	background-color: rgba(0,0,0,0.7);
	color: white;
	
	cursor: pointer;
	z-index: 1;
}
.dia-btn-right {
	right: 0; left: auto;
}
.dia-btn-left::after, .dia-btn-right::after {
	content: '';
	position: absolute;
	width: 40%; height: 40%;
	top: 50%; left: 50%;
	border: solid white; border-width: 0 3px 3px 0;
	transform-origin: center, center;
	transform: translate(-35%, -50%) rotate(135deg);
}
.dia-btn-right::after {
	transform: translate(-65%, -50%) rotate(-45deg);
}
.dia-icon-cont {
	/* Diashow Elemente werden in JS.diashow_setup geklont */
	display: flex; justify-content: center; gap: 2px;
	margin-top: 6px;
}
.dia-icon-cont > div {
	width: 40px; aspect-ratio: 1/1;
	filter: grayscale(1);
	overflow: hidden;
	cursor: pointer;
}
.dia-icon-cont > div img {
	width: 100%; height: 100%;
	object-fit: cover;
}

.price-wrapper {
	display: flex; flex-wrap: wrap;
	justify-content: center;
	gap: var(--d1);
}
.price-cont {
	display: flex; flex-direction: column;
	width: 49%; min-width: 250px;
	padding: var(--d1) 0;
	border: solid var(--ca2); border-width: 4px 0;
	/* background-color: var(--cbg1);	*/
	box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}
.price-cont > * { padding: var(--d2); }
.price-head {
	display: flex; align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 80px;
	background-color: var(--ca1);
}
.price-head > h3 { color: var(--ctxt); }
.price-body {
	display: flex; flex-direction: column;
}
.price-body > h4 { text-align: center; font-size: 22pt;}
.price-body ul {
	display: flex; gap: var(--d1);
	flex-direction: column;
	padding: var(--d1);
}
.price-body li {
	margin: 0 0 0 15pt;
}
.price-desc h4 { color: var(--ca2); }
.price-desc * { margin-bottom: 6pt; }
.price-desc *:first-letter { margin-left: 10pt; }

/* ---------------------------------------- */
/* Pfeile */
.arrow {
  display: inline-block;
  width: 0.65em; height: 0.65em;
  border: solid var(--ca2);
  border-width: 0 4px 4px 0;
}
.arrow.up    { transform: rotate(-135deg); -webkit-transform: rotate(-135deg); }
.arrow.left  { transform: rotate(135deg);  -webkit-transform: rotate(135deg);  }
.arrow.down  { transform: rotate(45deg);   -webkit-transform: rotate(45deg);   }
.arrow.right { transform: rotate(-45deg);  -webkit-transform: rotate(-45deg);  }

/* ############################################################ */
/* UNIVERSELL ANWENDBARES STYLING */
.logo-1 {
	position: relative;
	min-height: 100px; min-width: 150px;
	filter: drop-shadow(0 0 10px black);
}
.logo-1:before {
	content:''; position: absolute; 
	top: 0; left: 0;
	width: 100%; height: 100%;
	background-color: var(--ctxt);
	-webkit-mask: url(../media/logo/logo1.svg) center center / contain no-repeat;
			mask: url(../media/logo/logo1.svg) center center / contain no-repeat;
}
.logo-2 {
	min-height: 70px; min-width: 70px;
	background-color: var(--ctxt);
	-webkit-mask: url(../media/logo/logo2.svg) center center / contain no-repeat;
			mask: url(../media/logo/logo2.svg) center center / contain no-repeat;
}

.img-cont-1 {
	position: relative;
	min-height: 200px; min-width: 200px;
	overflow: hidden;
	
}
.img-cont-1 img {
	display: block; 
	max-width: 100%; max-height: 100%;
	padding: var(--d1); margin: 0 auto;
	border: 2px solid var(--ctxt);
	background-color: var(--cbg1);
}

.img-cont-2 {
	position: relative;
	width: 120px; height: 120px;
	border: 2px solid var(--ca1);
	overflow: hidden;
}
.img-cont-2 img {
	position: absolute; 
	min-width: 100%; min-height: 100%;
	max-width: 150%; max-height: 150%;
	top: 50%; left: 50%; transform: translate(-50%,-50%);
}

.video-cont {
	position: relative;
	min-height: 200px; min-width: 200px;
	overflow: hidden;
}
.video-cont video {
	display: block; 
	max-width: 100%; max-height: 100%;
	padding: var(--d1); margin: 0 auto;
	border: 2px solid var(--ca2);
	background-color: var(--cbg1);
}
.video-cont video:fullscreen { border: 0; padding: 0; }

.link-prev-1 {
	display: flex; gap: var(--d1);
	padding: var(--d1);
	background-color: var(--cbg1);
}
.link-prev-1 > * {
	flex: 1 0 0;
	position: relative;
	min-height: 250px;
	padding: var(--d1);
	text-decoration: none;
	background-color: var(--cbg1);
	overflow: hidden;
	z-index: 0;
}
.link-prev-1 p { font-size: 10pt; }
.link-prev-1 > * > img {
	position: absolute;
	width: 100%; height: 100%;
	object-fit: cover;
	top: 50%; left: 50%; transform: translate(-50%,-50%);
	
	transition: var(--t1);
	filter: grayscale(1);
	opacity: 0.4;
	z-index: -1;
}

.row {
	display: flex; gap: var(--d2);
	align-items: center; justify-content: center;
}
.row * { flex: 1 0 0; }

.grid {
	display: flex; flex-wrap: wrap;
	justify-content: center;
	gap: var(--d1);
}
.grid > * {
	display: block;
}

.center { 
	display: flex; flex-direction: column;
	justify-content: center; align-items: center;
}

.info { 
	text-decoration: none;
}
.info:before {
	content: ''; display: inline-block;
	height: 1em; width: 1em;
	margin-right: 0.5em;
	vertical-align: sub;
	background-color: var(--ca2);
	
	-webkit-mask: center center / contain no-repeat;
			mask: center center / contain no-repeat;
}
.info.phone:before { 
	-webkit-mask-image: url(../media/icons/phone.svg); 
			mask-image: url(../media/icons/phone.svg);
}
.info.email:before { 
	-webkit-mask-image: url(../media/icons/email.svg); 
			mask-image: url(../media/icons/email.svg);
}

/* ------------------------------ */
/* Animationen */
@keyframes bounce-lr {
	0%, 100% { transform: translateX(0); }
	50% 	 { transform: translateX(50%); }
}

/* ############################################################ */
/* MEDIA QUERIES */
@media (hover: hover) and (pointer: fine) {
	a:hover { text-decoration: none; }
	
	#nav a:hover { color: var(--ca2); }
	
	#footer a:hover { text-decoration: underline; }
	
	a.sec-title:hover {
		background-color: var(--ca2);
	}
	
	.sec-dot:hover { opacity: 1; }
	.sec-dot:hover p { color: var(--ca2); }
	
	.sec-link:hover p { color: var(--ca2); }
	
	.dia-icon-cont > div:hover { filter: grayscale(0); }
	
	.underline { position: relative; }
	.underline:before, .underline:after {
		content: ''; position: absolute;
		left: 60%; bottom: 0;
		width: 0; height: 2px;
		background-color: var(--ca2);
		transition: var(--t1);
	}
	.underline:after { left: 40%; }
	.underline:hover:before { left: 0; width: 60%; }
	.underline:hover:after { width: 60%; }
	
	.link-prev-1 > *:hover > img {
		filter: grayscale(0); opacity: 1;
	}
	
	.info:hover { text-decoration: underline; }
	
	#schike a:hover { text-decoration: underline; }
}
@media (hover: none) and (pointer: coarse) {}
@media only screen and (max-width: 1000px) {
	:root { --d1: 7px; --d2: 20px; --d3: 40px; }
	
	.sec-cont { margin: 0 30px; }
	.sec-cont.left, 
	.sec-cont.right { width: 70%; }
	
	#dot-cont { width: 30px; align-items: center; }
	.sec-dot p { display: none; }
	.sec-bg { opacity: 0.6; }
}
@media only screen and (max-width: 700px) {
	:root { --d1: 7px; --d2: 10px; --d3: 25px; }
	h1 { font-size: 44pt; }
	h2 { font-size: 32pt; }
	
	#navbtn { display: block; }
	
	#nav {
		min-height: 40px; /* Eigentliche Höhe */ 
		height: auto;
		flex-direction: column; gap: 0;
	}
	#nav a { 
		display: block;
		height: 0; padding: 0;
		text-align: center;
		overflow: hidden;
	}
	#nav a.active:after { display: none; }
	#nav a.active {
		height: 30px; padding: 5px;
		color: var(--ca2);
	}
	#nav.max a { height: 30px; padding: 5px; }
	
	#footer {
		flex-direction: column;
	}
	
	#gallery { margin: var(--d1) 0; }
	
	.sec { 
		display: flex; flex-direction: column; 
		align-items: center; justify-content: center;
	}
	.sec-cont,
	.sec-cont.left, 
	.sec-cont.right { width: 100%; margin: 0; }
	
	.sec-title {
		order: -1; /* Nach Oben */
		height: 100px;
	}
	.sec-txt.col2 { column-count: 1; }
	.sec-bg { opacity: 0.4; }
	
	.block { margin: 40px 0 100px 0; }
	.diashow { min-height: 300px; }
	
	.row { flex-direction: column; }
	
	.link-prev-1 > * { min-height: 150px; }
	
	.img-cont-2 { width: 80px; height: 80px; }
}
@media only screen and (max-height: 800px) {
	#sec-page {
		scroll-snap-type: none;
		scrollbar-width: thin;
	}
	#sec-page::-webkit-scrollbar { display: thin; }

	.sec { 
		height: auto;
		padding-bottom: 60px;
		margin-bottom: var(--d3);
	}
	.sec-cont { margin: 0; }
	#dot-cont { display: none; }
}