@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-300italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-500italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-600italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-700italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-800.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url('fonts/open-sans/open-sans-v40-latin_latin-ext_math_symbols-800italic.woff2') format('woff2');
}
/* Font Awesome */
@font-face {
	font-family: 'FontAwesome';
	font-style: normal;
	font-weight: normal;
	src: url('fonts/FontAwesome.woff2') format('truetype');
}
.fa {
	font-family: 'FontAwesome';
}
:root {
	--dark: rgb(20,30,40);
	--alpha: rgba(20,30,40,0.2);
	--grey: rgb(208,210,212);
	--light: rgb(220,230,240);
	--lighter: rgb(240,245,250);
	--link: rgb(0,96,192);
	--accent: rgb(0,167,127);
	--highlight: rgba(0,167,127,0.5);
	--overlay: rgba(20,30,40,0.7);
	--scrollTop: 0;
	--error: rgb(192,0,0);
}
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	transition: background-color 0.2s ease-out 0s, color 0.2s ease-out 0s, opacity 0.2s ease-out 0s;
	outline: 0 none;
}
html {
	height: 100.1%;
	overflow-x: hidden;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
#nfo {
	position: fixed;
	z-index: 99;
	left: 0;
	bottom: 0;
	padding: 0.5rem;
	background-color: rgba(255,255,255,0.9);
}
#nfo:not(:hover) > div {
	display: none;
}
#nfo > div {
	overflow-y: scroll;
	max-height: 100vh;
	max-width: 50vw;
}
#home {
	cursor: pointer;
}
[contenteditable="true"] {
  caret-color: red;
	outline: 0 none !important;
}
/*
body:before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99999;
	counter-reset: scrollTop var(--scrollTop);
	content: counter(scrollTop);
	width: 10ch;
	height: 2rem;
	border: 1px solid black;
	padding: 0.5rem;
}
*/

nav {
	position: fixed;
	z-index: 99;
	top: 0;
	padding: 0.5rem 1rem;
	background-color: var(--grey);
	width: 100vw;
	text-align: center;
}
nav ul {
	list-style: none;
}
nav a {
	display: block;
	padding: 0.5rem 1rem;
	text-decoration: none;
	color: var(--dark);
	font-weight: 500;
	white-space: nowrap;
}
nav a.active {
	cursor: default;
}
nav a:hover, nav a.active {
	color: var(--link);
}
nav li.lang {
	padding: 1rem;
}
nav [data-lang] {
	background-repeat: no-repeat;
	background-size: contain;
	padding: 0.5rem 2rem;
	background-position: center;
	cursor: pointer;
}
nav [data-lang]:not(.active):not(:hover) {
	opacity: 0.5;
}
nav [data-lang="de"] {
	background-image: url("flags/DE.svg");
}
nav [data-lang="en"] {
	background-image: url("flags/GB.svg");
}

form input[type="text"], form input[type="email"], form input[type="tel"], form textarea {
	border: 1px solid var(--dark);
	padding: 0.5rem;
	margin-bottom: 0.5rem;
	min-width: 30ch;
}
form textarea {
	resize: vertical;
	width: 100%;
}
form input[type="checkbox"] {
	margin-right: 0.5rem;
	transform: scale(1.5) translateX(20%);
	accent-color: var(--dark);
}
form input[type="submit"], form input[type="reset"] {
	border: 0 none;
	color: white;
	background-color: var(--dark);
	padding: 0.5rem;
	margin-bottom: 0.5rem;
	margin-right: 0.5rem;
	cursor: pointer;
}
form input[type="submit"]:hover, form input[type="reset"]:hover {
	background-color: var(--accent);
}
form input[type="text"]:focus, form input[type="tel"]:focus, form input[type="email"]:focus, form textarea:focus {
	outline: 1px solid var(--dark);
}
form td {
	padding: 0 0.5rem 0.5rem 0;
}

table {
	border-collapse: collapse;
	width: 100%;
}
table.noPadding > tbody > tr > td {
	padding: 0;
}
td, th {
	vertical-align: top;
	text-align: left;
	padding: 0.5rem;
}
th {
	color: white;
	background-color: var(--accent);
}
table.tech tr:nth-child(odd) {
	background-color: var(--light);
}
table.tech tr:nth-child(even) {
	background-color: var(--lighter);
}
form > table > tbody > tr > td:last-child, table.finder > tbody > tr > td:last-child {
	padding-left:2rem;
}
table.finder > tbody > tr > td:last-child {
	vertical-align: bottom;
}
table.finder tr.highlight {
	background-color: var(--highlight);
}

table + * {
	margin-top: 2rem;
}

.small {
	font-size:0.75em;
}

header {
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: var(--dark);
	width: 100vw;
	min-height: 80vh;
	transition: background-image 0.2s ease-out 0s, min-height 0.2s ease-out 0s;
	position: relative;
}
header.small {
	min-height:20vh;
}
header > div {
	position: absolute;
	bottom: 0;
	color: white;
	font-weight: 500;
	background-color: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(3px);
}
header > div > span {
	display: block;
}
header > div > span:not(:last-child) {
	margin-bottom: 1rem;
}

.fixedBackground {
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: var(--dark);
	width: 100vw;
	height: 70vh;
	margin-left: -5rem;
	margin-bottom: 1rem;
}

main {
	background-color: white;
	width: 100vw;
}
main a {
	color: var(--link);
	text-decoration: none;
	cursor: pointer;
}
main a:hover {
	color: var(--link);
	text-decoration: underline;
}
main ul {
	padding-left: 1.5rem;
	list-style: none;
	margin-bottom: 1rem;
}
main ul li {
	position: relative;
	margin-bottom: 0.5rem;
}
main ul li:before {
	content: '';
	width: 0.5rem;
	height: 1rem;
	background-color: var(--accent);
	display: inline-block;
	position: absolute;
	top: 0.3rem;
	left: -1rem;
}
main h1 {
	font-size: 2rem;
}
main h2 {
	font-size: 1.5rem;
}
main h3 {
	font-size: 1rem;
}
main h1, main h2, main h3, main p, main ul {
	margin-bottom: 1rem;
}
main h1, main h2, main h3, strong {
	font-weight: 600;
}
main p, main ul, main ol {
	line-height: 1.75em;
}
main > img {
	display: block;
	max-width:100%;
}
main > img.center {
	margin: 0 auto;
}
main h3 {
	background-color: var(--accent);
	width: fit-content;
	padding: 0.25rem 0.5rem;
	color: white;
}
.accent {
	color: var(--accent);
}
sup {
	display: inline-block;
	vertical-align: baseline;
	transform: scale(0.8) translateY(-33%);
}
main ol {
	padding-left: 4ch;
}
main ol li {
	list-style:none;
	counter-increment: step-counter;
	position:relative;
	cursor:default;
	padding: 0.25rem;
}
main ol li::before {
	position: absolute;
	left: -4ch;
	content: counter(step-counter);
	background-color: var(--accent);
	color: white;
	font-weight: bold;
	padding: 0.125rem 0.25rem;
	text-align:center;
	width:2ch;
	display:inline-block;
}
main * + h3 {
	margin-top: 2rem;
}

a.more {
	padding: 0.25rem 0.5rem;
	border-radius: 0.5rem;
	background-color: var(--accent);
	color: white !important;
	text-decoration: none !important;
	transition: box-shadow 0.2s ease-out 0s;
}
a.more:hover {
	box-shadow: 0.5rem 0.5rem 0.5rem rgba(0,0,0,0.23);
}

.grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1rem;
}
.grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.grid img:last-child {
	margin-left: auto;
}

.klappe {
	margin-bottom: 0.5rem;
}
.klappe	.switch {
	cursor: pointer;
}
.klappe	.switch:not(.active) {
	margin-bottom: 0;
}
.klappe	*:last-child {
	margin-bottom: 0;
}
.klappe	.switch:not(.active) + div {
	display: none;
}
.klappe	.switch:after {
	font-family: 'FontAwesome';
	padding-left: 0.5rem;
}
.klappe	.switch:not(.active):after {
	content: '\f0d7';
}
.klappe	.switch.active:after {
	content: '\f0d8';
}
.klappe	.switch:hover {
	color: var(--link);
}
.klappe.bg {
	background-color: var(--alpha);	
	padding: 0.5rem 1rem;
}
.klappe:not(.bg) .switch.active + div {
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--dark);
}

.cards > div {
	padding: 1rem 2rem;
}
.cards > div > img {
	width: 5rem;
	height: 3.5rem;
	object-fit: cover;
	margin-right: 1rem;
	transform: rotate(-9deg) translateX(-25%);
	box-shadow: 0.25rem 0.5rem 0.5rem 0 rgba(0,0,0,0.2);
}

#flags {
	margin-top: 2rem;
}
#flags > img {
	width: 5rem;
	height: 3.5rem;
	object-fit: cover;
	margin-right: 1rem;
	opacity: 0.5;
	transition: transform 0.2s ease-out 0s, opacity 0.2s ease-out 0s, box-shadow 0.2s ease-out 0s;
	position: relative;
}
#flags > img:hover, #flags > img.active {
	opacity: 1;
	transform: scale(1.5) rotate(-9deg);
	outline: 1px solid var(--dark);
	background-color: var(--dark);
	box-shadow: 0.5rem 1rem 0.5rem 0 rgba(0,0,0,0.5);
}
#flags > img.active {
	z-index: 8;
}
#flags > img:hover {
	z-index: 9;
}
#flags > div:not(.active) {
	display: none;
}
#flags > div {
	margin-top: 2rem;
}

.gallery {
	margin-bottom: 1rem;
}
.gallery > span > img {
	width: 10rem;
	height: 10rem;
	object-fit: cover;
	transition: transform 0.2s ease-out 0s, box-shadow 0.2s ease-out 0s;
}
.gallery > span:hover > img {
	outline: 2px solid var(--accent);
	box-shadow: 0.5rem 1rem 0.5rem 0 rgba(0,0,0,0.5);
}
.gallery > span {
	position: relative;
	margin-right: 1rem;
	display: inline-block;
	height: 10rem;
	width: 10rem;
	cursor: pointer;
}
.gallery > span:after {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 0.5rem;
	font-family: 'FontAwesome';
	content: '\f002';
	font-size: 1.5rem;
	background-color: var(--alpha);
	color: white;
	text-shadow: 0 0 4px black;
}

.tag {
	display: inline-block;
	padding: 0.5rem 1rem;
	background-color: var(--accent);
	color: white;
	transform: rotate(-9deg) translate(-0.25rem, -0.5rem);
	box-shadow: 0.5rem 1rem 0.5rem 0 rgba(0,0,0,0.23);
}

figure.caption {
	position: relative;
	margin-bottom: 2rem;
}
figure.caption > figcaption {
	position: absolute;
	bottom: 0;
	left: 0;
	font-style: italic;
}

footer {
	clear: both;
	padding: 1rem;
	text-align: center;
	border-top: 1px solid var(--dark);
}
footer a {
	text-decoration: none;
	color: var(--dark);
}

#overlay {
	display: block;
	background-color: var(--overlay);
	backdrop-filter: blur(5px);
	z-index: 999;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100vw;
	height: 100vh;
}
#overlay ul {
	list-style: none;
}
#overlay ul li:before {
	content: '-';
	display: inline-block;
	padding-right: 0.5rem;
}
#overlay > figure {
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 90vw;
	max-height: 90vh;
	transform: translate(-50%,-50%);
	background-size:contain;
	background-repeat: no-repeat;
	background-position: center center;
	border: 1px solid white;
	outline: 1px solid white;
	background-color: white;
	box-shadow: 0.5rem 1rem 0.5rem 0 rgba(0,0,0,0.5);
	overflow: hidden;
}
#overlay > figure > figcaption {
	padding: 0.5rem;
}
#overlay > figure > img {
	max-width: 100%;
	max-height: 100%;
}
#overlay > .close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 3rem;
	width: 3rem;
	height: 3rem;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
}
#overlay > .close:after {
	font-family: 'FontAwesome';
	content: '\f00f';
}
html.overlay {
	overflow: hidden;
}
html:not(.overlay) #overlay {
	display: none;
}

/* errors */
input.error {
	border-color: var(--error) !important;
	outline-color: var(--error) !important;
}
p.error {
	color: var(--error) !important;
}

/* up helper */
#up {
	background-color: var(--accent);
	width: 6rem;
	height: 6rem;
	position: fixed;
	left: 50%;
	bottom: -7rem;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: bottom 0.2s ease-out 0s;
	cursor: pointer;
	border: 3px solid white;
	box-shadow: 0 2rem 5rem white;
}
#up > span:before {
	font-family: 'FontAwesome';
	display: block;
	content: '\f062';
	color: white;
	font-size: 3rem;
}

.clear {
	clear: both;
}
.box {
	background-color: var(--light);
}


@media (max-width: 992px) {
	nav:before {
		font-family: 'FontAwesome';
		display: block;
		content: '\f0c9';
		padding: 0.5rem;
	}
	nav:not(.active) ul {
		display: none;
	}
	nav ul ul {
		margin-bottom: 0.5rem;
		background-color: var(--alpha);
	}
	table.breakable > tbody > tr > td {
		display: block;
	}
	table.breakable > tbody > tr > td:not(:first-child) {
		padding: 1rem 0;
	}
	input[type="text"], input[type="tel"], input[type="email"], textarea {
		width: 95%;
		max-width: 95%;
	}
	main {
		padding: 0.5rem 0.5rem 8rem 0.5rem;
	}
	.box {
		padding: 0 0.5rem 1rem 0.5rem;
		margin: 1rem -0.5rem 1rem -0.5rem;
	}
	#overlay > figure > img {
		max-width: 90vw;
		max-height: 90vh;
	}
	.ref {
		margin-bottom: 1.5rem;
		border-bottom: 1px dashed var(--accent);
	}
	.ref > figure {
		margin-left: -0.5rem;
	}
	.ref > figure > img {
		width:100vw;
	}
	header > div {
		left: 0;
		right: 0;
		font-size: 1.5rem;
		padding: 0.5rem;
	}
}

@media (min-width:1100) {
	table.breakable > tbody > tr > td {
		width: 50%;
	}
}

@media (min-width: 992px) {
	nav {
		border-bottom: 2px solid white;
		padding: 0.5rem 5rem 0.5rem calc(10rem - 5ch);
	}
	nav > ul {
		display: flex;
		align-items: center;
	}
	nav > ul > li.lang {
		margin-left: auto;
	}
	nav > ul > li {
		display: inline-block;
	}
	nav ul > li {
		position: relative;
	}
	nav > ul > li.logo {
		height: 4rem;
		width: 4rem;
		margin-right: 5ch;
		background-image: url("logo.svg");
		background-repeat: no-repeat;
		background-size: contain;
	}
	nav ul ul {
		position:absolute;
		bottom: 0;
		left: 0;
		transform: translateY(100%);
		background-color: var(--grey);
		z-index: 99;
		text-align: left;
		min-width: 100%;
		padding-top: 1rem;
	}
	nav ul li:not(:hover) ul {
		display: none;
	}
	main {
		padding: 2rem 15rem 8rem 15rem;
	}
	td.small {
		width: 25%;
	}
	img.small {
		max-height: 20vw;
	}
	.cards {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		grid-column-gap: 0px;
		grid-row-gap: 0px;
	}
	.cards > div {
		display: inline-block;
		padding: 1rem;
	}
	.right {
		float: right;
	}
	.left {
		float: left;
	}
	.ref {
		display: flex;
		align-items: flex-start;
		border-top: 2px solid var(--accent);
		margin-bottom: 1rem;
	}
	.ref img {
		max-width: 25vw;
	}
	main .ref ul {
		padding-left: 2.5rem;
	}
	.box {
		padding: 0 15rem 1rem 15rem;
		margin: 1rem -15rem 1rem -15rem;
	}
	header > div {
		left: 14rem;
		right: 14rem;
		font-size: 2rem;
		padding: 1rem;
	}
}
/*
main > * {
	animation: img-reveal ease-in forwards;
	animation-timeline: view();
	animation-range-start: cover 0;
	animation-range-end: cover 100%;
	opacity: 0;
}
@keyframes img-reveal {
	0% {
		opacity: 0;
		transform: translateY(100%);
	}
	10% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 1;
	}
}
*/

@media print {
  header,
  nav,
	.noprint {
    display: none !important;
  }
}