/* =========================
   ONLYFY / SALO Look
   passend zu deinem HTML
   ========================= */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	width: 100%;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #1d1d1b;
	background: #ffffff;
}

/* Hauptbereich */
#wrapper {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	background: #ffffff;
}

/* =========================
   HEADER
   ========================= */

header {
	position: relative;
	width: 100%;
	background: #ffffff;
}

/* Logo oben links über dem Headerbild */
header aside {
	position: absolute;
	top: 24px;
	left: 28px;
	z-index: 5;
	background: rgba(255, 255, 255, 0.96);
	padding: 10px 14px;
	border-radius: 4px;
}

header aside img {
	display: block;
	width: 240px;
	max-width: 100%;
	height: auto;
}

/* Großes Headerbild */
header section {
	width: 100%;
}

header section img {
	display: block;
	width: 100%;
	height: auto;
}

/* =========================
   CONTENT
   ========================= */

article {
	padding: 46px 34px 28px 34px;
	background: #ffffff;
}

/* Alle Abschnitte */
article > div {
	margin-bottom: 34px;
}

/* Jobtitel */
article > div:first-child {
	margin-bottom: 40px;
}

h1 {
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 700;
	color: #2f7fbd;
	text-align: center;
}

/* Abschnittsüberschriften */
h3 {
	font-size: 1.55rem;
	line-height: 1.25;
	font-weight: 700;
	color: #2f7fbd;
	margin-bottom: 14px;
}

/* Einleitung meist etwas dichter */
article > div:nth-child(2) h3 {
	margin-bottom: 12px;
}

/* Absätze */
p {
	margin-bottom: 14px;
}

p:last-child {
	margin-bottom: 0;
}

/* Listen */
ul,
ol {
	margin: 0 0 0 28px;
	padding: 0;
}

li {
	margin-bottom: 10px;
}

li:last-child {
	margin-bottom: 0;
}

/* Links */
a {
	color: #2f7fbd;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Kontaktbereich etwas luftiger */
article > div:last-child {
	padding-bottom: 8px;
}

/* =========================
   BUTTON-STYLING
   falls im Contactinfo ein Link/Button vorkommt
   ========================= */

a.button,
.button,
input[type="submit"],
button {
	display: inline-block;
	min-width: 170px;
	padding: 14px 28px;
	background: #2f7fbd;
	color: #ffffff !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: background 0.2s ease;
}

a.button:hover,
.button:hover,
input[type="submit"]:hover,
button:hover {
	background: #256ba2;
}

/* Bewerbungsbutton unten mittig, wenn er im letzten Block steht */
article > div:last-child a.button,
article > div:last-child .button,
article > div:last-child input[type="submit"],
article > div:last-child button {
	display: table;
	margin: 28px auto 0 auto;
}

/* =========================
   OPTIONAL:
   Falls Platzhalter HTML mit strong/em etc. enthält
   ========================= */

strong,
b {
	font-weight: 700;
}

em,
i {
	font-style: italic;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
	header aside {
		top: 18px;
		left: 18px;
		padding: 8px 10px;
	}

	header aside img {
		width: 190px;
	}

	article {
		padding: 34px 22px 20px 22px;
	}

	h1 {
		font-size: 1.7rem;
	}

	h3 {
		font-size: 1.3rem;
	}
}

@media (max-width: 640px) {
	header aside {
		position: static;
		background: #ffffff;
		padding: 16px 16px 12px 16px;
	}

	header aside img {
		width: 180px;
	}

	article {
		padding: 28px 18px 18px 18px;
	}

	h1 {
		font-size: 1.45rem;
	}

	h3 {
		font-size: 1.15rem;
	}

	ul,
	ol {
		margin-left: 22px;
	}
}