@font-face {
  font-family: system;
  font-style: normal;
  font-weight: 300;
  src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
}

body {
	margin-left: 0;
	margin-right: 0;
	min-width: 300px;
	background: #f9f9f9;
	color: #465665;
	font-family: "system", Arial;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	overflow-x: hidden;
}


@keyframes loaderAnimation {
  0% {
    transform: rotate3d(0,0,0,0deg);
  }

  50% {
    transform: rotate3d(0,0,1,360deg);
  }

  100% {
    transform: rotate3d(0,0,1,0deg);
  }
}

.anfrage-form {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(255,255,255,0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease;
	opacity: 0;
	pointer-events: none
}

.anfrage-form.show {
	opacity: 1;
	pointer-events: initial;
}

.anfrage-form .form {
	width: 300px;
	height: 350px;
	background: rgba(184,12,12,0.8);
	padding: 20px;
}

#anfrageLabel {
	color: white;
	margin: 5px 0px;
	font-weight: bold;
	margin: 5px 0px 14px 0px;
}

.modal-body input {
	width: 98%;
	height: 24px;
	font-size: 14px;
	border: none;
	padding: 4px;
}

.modal-body textarea {
	width: 98%;
	font-size: 14px;
	padding: 4px;
}

.modal-footer input,
.modal-footer button {
	cursor: pointer;
	font-size: 12px;
	opacity: 0.8;
	background: rgba(138, 29, 29, 0.8);
	transition: opacity 0.5s ease;
}

.modal-footer input:hover,
.modal-footer button:hover {
	opacity: 1;
}

textarea,
input {
	border: none;
	font-family: "system", Arial;
	margin: 5px 0px;
}

textarea {
	height: 80px;
	resize: none;
}

.loader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-color: #f9f9f9;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	opacity: 1;
	transition: opacity 0.5s ease;
}

.loader.hide {
	opacity: 0;
	pointer-events: none;
}

.loader > div {
	position: relative;
	color: rgba(184,12,12,1);
}

.loader .circle {
	width: 128px;
	height: 128px;
	border-left: solid 1px rgba(184,12,12,1);
	border-bottom: solid 1px rgba(184,12,12,1);
	border-radius: 50%;
	transition: transform 1s ease;
	animation-duration: 1s;
	animation-name: loaderAnimation;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

.loader .loading-text {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 128px;
	margin-top: 48px;
	text-align: center;
}

.quick-contact {
	position: absolute;
	top: 0;
	left: 0;
	width: 200px;
	background: white;
	padding: 10px;
	margin-top: 0px;
	color: white;
}

.quick-contact li a {
	text-decoration: none;
	color: white;
}

.logo {
	position: relative;
	max-width: 80px;
	max-height: 100px;
	flex-grow: 0;
	flex-shring: 0;
	flex-basis: 80px;
	background: url("../img/logo.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 100%;
}

.logo a {
	position: absolute;
	width: 100%;
	height: 100%;
}

.red-background {
	background: rgba(184,12,12,1);
}

.anfrage {
	color: rgba(184,12,12,1);
}

.icon-wrapper {
	width: 64px;
	padding: 20px;
	background: rgba(184,12,12,1);
	border-radius: 50%;
	margin: auto;
}

.icon-wrapper svg {
	fill: white;
}

.message-box {
	padding: 20px;
	background-color: #efefef;
}

.text-wrapper h1,
.text-wrapper h2,
.text-wrapper h3,
.text-wrapper p {
	text-align: center;
}

.text-wrapper p {
	margin-bottom: 5px;
}

.video {
	width: 100%;
	height: 100%;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

header {
	display: flex;
}

.gray {
	color: #777;
}

.bold {
	font-weight: bold;
}

.md-text {
	font-size: 24px;
}

.header-text {
	flex: 2;
	margin-left: 10px;
}

.container {
	max-width: 1400px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
}

.container.show{
	opacity: 1;
}

.btn {
	font-weight: bold;
	font-size: 16px;
	border-radius: 0;
    color: #fff;
	padding: 10px;
	text-decoration: none;
	background-color: rgba(184,12,12,0.8);
    border: none !important;
    box-shadow: none !important;
    transition: background 0.5s ease;
    outline: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.crumbs {
	text-align: right;
}

.crumbs .crumb {
	cursor: pointer;
	margin-left: 10px;
}

.crumb,
.crumb a {
	transition: color 0.3s ease;
	text-decoration: none;
}

.crumb:hover,
.crumb a:hover {
	color: rgba(184,12,12,1);
}

.xs-margin {
	transition: margin 0.3s ease;
	margin-top: 24px;
}

.sm-margin {
	transition: margin 0.3s ease;
	margin-top: 60px;
}

.mid-margin {
	margin-top: 10px;
}

.title {
	font-weight: 700;
	text-align: center;

}

a {
	color: #5b7083;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

.wrapper {
	width: 90%;
	padding: 1em;
}

.info-wrapper {
	padding: 25px;
	padding-bottom: 50px;
	text-align: center;
	background-color: #efefef;
}

.grid-wrapper .item {
	position: relative;
	flex: 1;
}

.grid-wrapper .item img {
	width: 100%;
}

.row-wrapper {
	position: relative;
	color: white;
	display: flex;
}

.row-wrapper a {
	position: absolute;
	width: 100%;
	height: 100%;
}

.row-wrapper .item {
	flex: 1;
	flex-shrink: 0;
}

.row-wrapper .item {
	position: relative;
	height: 480px;
}

.row-wrapper .item div{
	width: 300px;
	margin-top: 10px;
}

.row-wrapper .item:first-child {
	background: url("../img/profil.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;

}

.row-wrapper .item:last-child {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(184,12,12,1);
}

.row-wrapper .item:last-child div {
	margin-top: 10px;
}


.inline-text {
	position: absolute;
	top: 0px;
	left: 0;
	right: 0;
	padding: 10px;
	background: white;
	margin: 5px;
	text-align: center;
	font-weight: bold;
	color: rgba(184,12,12,1);;
}

.impressum {
	overflow: hidden;
}

.impressum .name {
	font-size: 42px;
}

.impressum .company {
	font-size: 26px;
}

.impressum .adress a,
.impressum .adress a span {
	margin-top: 10px;
	color: white;
	text-decoration: none;
	font-weight: bold;
}

video {
	background: url("../img/video.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% auto;
}

@media (min-width: 1025px) and (min-width: 1280px) {
	.grid-wrapper {
		display: flex;
	}

	.grid-wrapper .item {
		margin-left: 10px;
	}

	.grid-wrapper .item:first-child {
		margin-left: 0;
	}
}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1280px) {
	.grid-wrapper {
		display: flex;
	}

	.grid-wrapper .item {
		margin-left: 10px;
	}

	.grid-wrapper .item:first-child {
		margin-left: 0;
	}
}

/*
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

	.grid-wrapper {
		display: flex;
	}

	.grid-wrapper .item {
		margin-left: 10px;
	}

	.grid-wrapper .item:first-child {
		margin-left: 0;
	}
}

@media (min-width: 300px) and (max-width: 767px) {

	.optional-hidden {
		display: none;
	}

	#impressum {
		display: block;
	}

	#impressum > div {
		height: 280px;
	}

	#impressum .impressum .name,
	#impressum .impressum .company,
	#impressum .impressum .adress {
		margin-left: 20px;
	}

	#impressum .impressum .name {
		font-size: 22px;
	}

	.grid-wrapper .item {
		margin-bottom: 10px;
	}

	.wrapper {
		padding: 0;
	}

	.crumbs {
		text-align: center;
	}

	.crumbs .crumb:first-child {
		margin-left: 0px;
	}

	.crumb {
		font-size: 10px;
	}

	.sm-margin {
		margin-top: 24px;
	}

	.sm-text {
		font-size: 11px;
	}

	.md-text {
		font-size: 14px;
	}

	.btn {
		font-size: 11px;
	}
}
