@charset "utf-8";

@font-face {
	font-display: swap;
	font-family: 'Just Another Hand';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/just-another-hand-v19-latin-regular.eot');
	src: url('../fonts/just-another-hand-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/just-another-hand-v19-latin-regular.woff2') format('woff2'), url('../fonts/just-another-hand-v19-latin-regular.woff') format('woff'), url('../fonts/just-another-hand-v19-latin-regular.ttf') format('truetype'), url('../fonts/just-another-hand-v19-latin-regular.svg#JustAnotherHand') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/pt-sans-v17-latin-regular.eot');
	src: url('../fonts/pt-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-regular.woff') format('woff'), url('../fonts/pt-sans-v17-latin-regular.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-regular.svg#PTSans') format('svg');
}

:root {
	font-size: 16px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #3F3F45;
	font-family: 'PT Sans', Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.3;
	background: #fff url('../images/bg.jpg') top center no-repeat;
	font-weight: 400
}

img {
	max-width: 100%;
	height: auto;
}

#wrapper {
	position: relative;
	margin: 1rem auto 0;
	overflow: hidden;
	background: transparent;
}

:is(a:link, a:visited, a:active) {
	color: #16470f;
	text-decoration: none;
	white-space: nowrap;
}

a:hover {
	color: #ae2328;
}

a.phone {
	color: inherit;
}

a.phone:hover {
	color: #3F3F45;
}

h1,
h2,
h3 {
	text-align: center;
}

h1 {
	font-size: 2.75rem;
	line-height: 120%;
	color: #9C242D;
	margin: 1.5rem 0 1rem;
}

h2 {
	font-size: 1.375rem;
	margin-bottom: .625rem;
}

h1,
h3 {
	font-family: 'Just Another Hand', Arial, cursive;
	font-weight: 400;
}

h3 {
	font-size: 2.625rem;
	margin-bottom: 2rem;
	color: #333;
}

h4 {
	width: 100%;
	display: block;
	font-size: 1.125rem;
	font-weight: 400;
	margin: .937rem 0;
	line-height: 1;
	text-align: center;
}

h5 {
	font-family: "Just Another Hand", "Arial", sans-serif;
	font-weight: 400;
	line-height: 1.1;
	font-size: 2.6rem;
	margin: 1.562rem 0 0;
}

header {
	margin: 1rem 0;
}

header img {
	margin-right: 2rem;
}

.container {
	max-width: 50rem;
	margin: 0 auto;
	display: block;
	overflow: hidden;
}

article {
	padding: 2rem 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

article p {
	margin: .625rem 0;
	text-align: center;
}

article img.image {
	margin: 1rem 0;
}

article img.center {
	margin: 1.25rem auto 0;
	display: block;
}

.margin {
	margin: 1.562rem 0;
}

.button {
	margin: 2rem 0 1rem;
	display: block;
	width: fit-content;
}

.button_top {
	margin: 2rem auto 0;
	display: block;
	width: fit-content;
}

.flex {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-top: 2rem;
}

.col {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 33%;
	padding: 0 .312rem 1.25rem;
}

.col:hover .circle-yes {
	background-color: #b51f2a;
}

.col:hover h4 {
	color: #b51f2a;
}

.circle-yes {
	margin: 0 auto;
	background-color: #333333;
	height: 2.625rem;
	width: 2.625rem;
	border-radius: 50%;
	color: #ffffff;
	font-size: 1.312rem;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all .3s;
}

.fa-solid,
.fas {
	font-weight: 900;
}

.col p {
	color: #747474;
	margin: 0 0 1rem;
}

.address {
	font-style: normal;
}

.address p {
	text-align: left;
}

.flex_box {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	column-gap: 1.562rem;
}

.kontakt {
	background: url(../images/fragen.jpg) center center no-repeat;
	background-size: 100%;
	width: 23.75rem;
	height: 11.75rem;
	padding: 3.75rem 0 0 6rem;
	margin: 0 0 1.25rem;
}

.kontakt p {
	text-align: left;
	margin: 0;
}

.kontakt p strong {
	color: #000;
}

footer {
	border-top: .062rem solid #4b4c4d;
	background: #6E7070;
	padding: 1rem 1rem .5rem;
	color: #fff;
	text-align: center;
	margin-top: 2.5rem;
}

footer .container {
	padding: 1rem 0 0;
}

footer {
	background: rgba(40, 42, 43, 0.61);
	padding: 0 0 1.625rem;
}

footer p {
	margin: 0 0 1.25rem;
}

footer .container a {
	color: #fff;
}

.social {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: .625rem;
}

.instagram {
	background: #3f729b;
}

.youtube {
	background: #cd201f;
}

.facebook {
	background: #3b5998;
}

.xing {
	background: #026466;
}

.linkedin {
	background: #0077b5;
}

.square {
	width: 2.125rem;
	height: 2.125rem;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: .25rem;
}

.iframe-wrapper {
	width: 30%;
	position: relative;
	padding-bottom: 15%;
	padding-top: 1.875rem;
	height: 0;
	overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
	border: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media only screen and (max-width: 799px) {
	#wrapper {
		border: none;
		margin: 0 auto;
		padding: 0 1rem;
	}

	p,
	ul {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}

	body {
		background: url(../images/bg.jpg) top center no-repeat #fff;
		background-size: cover
	}

	a.pre_wrap {
		white-space: pre-wrap
	}

	span {
		white-space: nowrap;
	}

	h1 {
		font-size: 2.5rem;
	}

	h3 {
		margin: 0;
		font-size: 2rem;
	}

	h5 {
		font-size: 2.1rem;
	}

	article {
		padding: 2.187rem 0 0;
	}

	article img.center {
		margin: .625rem auto 1rem;
	}

	.flex {
		flex-wrap: wrap;
	}

	.col {
		width: 100%;
		padding: 0;
	}

	.kontakt {
		display: block;
	}

	.margin {
		margin: 1rem 0;
	}

	.iframe-wrapper iframe,
	.iframe-wrapper object,
	.iframe-wrapper embed {
		margin-top: 1.25rem
	}

	.iframe-wrapper {
		width: 100%;
		padding: 20%;
		margin: 0;
	}

	.pdf {
		display: inline-block;
		margin: 1.25rem auto 0;
	}

	footer {
		padding: 1rem;
		margin: 1rem 0;
	}

	footer p {
		margin: 0 0 1rem;
	}

	footer > a:after {
		top: -.625rem;
	}

	footer a {
		white-space: nowrap
	}
}

@media only screen and (max-width: 740px) {
	iframe {
		margin: 0.625rem 0;
	}
}

@media only screen and (max-width: 700px) {
	h1 {
		font-size: 2.1875rem
	}

	footer a {
		white-space: nowrap;
	}
}

@media only screen and (max-width: 580px) {
	body {
		background: url(../images/bg.jpg) top 2.5rem center no-repeat #fff;
		background-size: cover
	}

	header {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	header img {
		margin: 0 0 1rem;
	}

	article {
		padding: 0;
	}

	.flex {
		display: block;
	}
}

@media only screen and (max-width: 460px) {
	article {
		padding-top: 0;
	}
}

@media only screen and (max-width: 376px) {

	h1,
	.button_top {
		margin: 1.25rem 0 0;
	}

	h2 {
		font-size: 1.125rem;
	}

	header {
		margin: 1rem 0 0;
	}

	.kontakt {
		width: 18.125rem;
		padding: 4.375rem 0 0 5.625rem;
		text-align: center;
		margin: 0 auto;
	}

	article iframe {
		width: 100%;
		margin: 1rem 0 0;
	}

	.pdf {
		margin: 1.25rem auto 0;
		display: block;
		text-align: center
	}
}
