@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	font-size: 16px;
}

body {
	color: #000;
	font-family: "Arial", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400
}

#wrapper {
	position: relative;
	max-width: 800px;
	margin: 1rem auto;
	overflow: hidden;
	background: #fff;
	border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

a.mail {
	color: #558ED5
}

img {
	max-width: 100%;
	height: auto;
}

h1 {
	font-size: 22px;
	text-align: center;
	margin: 0 10px 5px;
	line-height: 1.3;
	color: #7F7F7F;
}

h1 span {
	white-space: nowrap;
}

h2 {
	font-size: 1.3rem;
	font-weight: 400;
	text-align: center;
	margin: 0 0 .625rem;
	line-height: 1.3;
}

h3 {
	font-size: 1.3125rem;
	background-color: #558ED5;
	text-align: center;
	padding: 5px 0;
	margin-bottom: 6px;
}

h4 {
	font-size: 1rem;
	margin: 0 0 0 17px;
	text-decoration: underline;
}

h5 {
	font-size: 1.1rem;
	font-style: italic
}

h6 {
	font-size: 1.3rem;
	line-height: 1.3;
}

p {
	margin: 0 0 .625rem
}

ul {
	list-style: none;
	margin: 0 5px 5px;
	padding: 0;
}

ul li {
	padding-left: 37px
}

ul li:before {
	content: "\25A0";
	float: left;
	margin-left: -20px;
	font-size: 12px;
	line-height: 1.8;
	color: #558ED5;
}

header {
	display: flex;
	justify-content: flex-end;
	padding: 1rem 1.875rem .062rem;
}

.top {
	display: flex;
	padding: 0 10px 1.2rem
}

.top div {
	width: 50%;
}

.color {
	padding: 0 .625rem;
	background: url("../images/bg.png") no-repeat bottom center;
	width: 62%;
	font-weight: bold;
	display: flex;
	align-items: center;
	line-height: 1.7
}

.color p,
h5 {
	margin: 0
}

.img {
	background-image: url(../images/mitarbeiterin.jpg);
}

.icons {
	display: flex;
	justify-content: space-around;
	margin: 0 0 40px;
}

.icons div {
	display: flex;
	gap: 1.5rem;
	align-items: flex-end;
}

.icons p {
	text-align: center;
	font-size: 17px;
	margin: 0;
	line-height: 1.2;
}

.flex {
	display: flex;
	align-items: flex-start;
	margin: 0 0 40px;
}

.flex div {
	width: 50%;
}

article p {
	padding: 0 1.25rem
}

footer {
	padding: .625rem .625rem 0;
}

footer p,
h6 {
	text-align: center;
}

.center {
	text-align: center;
}

@media only screen and (max-width: 49.937rem) {
	#wrapper {
		border: none;
		margin: 0 auto;
		padding: 1rem;
	}

	p,
	ul {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
		margin: 0 0 1rem
	}

	span {
		white-space: nowrap
	}

	.color br {
		display: none;
	}

	.color p {
		margin: 0;
	}

	footer {
		margin-top: 1rem;
	}
}

@media only screen and (max-width: 750px) {
	h3 {
		padding: .625rem;
	}

	header {
		display: flex;
		justify-content: center;
		padding:0 0 10px;
	}

	.top {
		flex-direction: column;
	}

	.top div {
		width: 100%;
	}
	.color{
		background-size: cover;
	}
	.img {
		display: none;
	}

	.flex {
		flex-direction: column;
		margin: 0;
	}

	.flex div {
		width: 100%;
	}

	.icons div {
		gap: 1rem;
		margin: 0 0 16px;
	}
}

@media only screen and (max-width: 680px) {
	ul li {
		padding-left: 1.25rem
	}

	.icons {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
		margin: 0 0 10px
	}

	.icons p {
		font-size: 1rem;
	}

	h1 {
		margin: 0 0 20px;
		font-size: 1.312rem;
	}

	h2 {
		font-size: 1.2rem;
	}

	h3 {
		font-size: 1.2rem;
	
	}

	h4 {
		margin: 0;
	}

	h6 {
		font-size: 1.2rem;
	}

	h2 br {
		display: none;
	}

	article p {
		padding: 0
	}
}