/* COPYRIGHT NEWTEC WORKS */



@font-face {
	font-family: 'opensans_l';
	font-style: normal;
	font-weight: 300;
	src: local('Open Sans Light'), local('OpenSans-Light'),
	url('../fonts/opensans-light.woff2') format('woff2'),
	url('../fonts/opensans-light.woff') format('woff');
}

@font-face {
	font-family: 'opensans_r';
	font-style: normal;
	font-weight: 300;
	src: local('Open Sans Regular'), local('OpenSans-Regular'),
	url('../fonts/opensans-regular.woff2') format('woff2'),
	url('../fonts/opensans-regular.woff') format('woff');
}



/* HTML ELEMENTS */

* {
	margin: 0;
	padding: 0;
}

*, *:before, *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

html, body {
	height: 100%;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-family: 'opensans_l', Tahoma, Geneva, Arial, sans-serif;
	font-size: calc(16px + (26 - 16) * ((100vw - 320px) / (1920 - 320)));
	line-height: calc(1.1em + 0.5vw);
}

body {
	background-color: #878787;
	color: #878787;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

a {
	text-decoration: none;
	color: inherit;
}


h1 {
	display: block;
	font-size: calc(10px + (45 - 10) * ((100vw - 330px) / (1920 - 330)));
	letter-spacing: 0.26vw;
	text-transform: uppercase;
	font-weight: normal;
	padding: 2vw;
	color: #ffffff;
	background-color: #636AAF;
	border-top: 4px solid #dfdfdf;
	border-bottom: 25px solid #dfdfdf;
}

h2, h3 {
	font-family: 'opensans_r', Tahoma, Geneva, Arial, sans-serif;
	font-size: 1.4em;
	margin-top: calc(20px + 4vw);
	margin-bottom: 2vw;
}

h2:first-of-type {
	margin-top: 0;
}

h3, h4 {
	font-family: 'opensans_l', Tahoma, Geneva, Arial, sans-serif;
	font-size: 1.1em;
}

h4 {
	font-size: 1em;
	margin-bottom: 10px;
}



/* RESETS */

a:focus {
	
	/* resets outline style in chrome */
	outline: none;
	
}



/* CENTERING */

.cv {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	min-height: 100%;
	min-width: 280px;
	display: flex;
	align-items: center;
}

.ch {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	position: relative;
}



/* HEADER */

.header {
	display: flex;
	justify-content: flex-end;
	height: 19.5vw;
	min-height: 140px;
	max-height: 380px;
	background-image: url('../images/woehlk_architekt.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% auto;
}

.logo {
	width: 25.1vw;
	min-width: 170px;
	max-width: 480px;
	margin-right: 4.2vw;
	background-image: url('../images/logo.svg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% auto;
}



/* CONTENT */

.main {
	
	/* needed for IE11 */
	display: block;
	
	border-bottom: 23px solid #636AAF;
	background-color: #ffffff;
}

.flex {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.content {
	max-width: 760px;
}

.content.wide {
	max-width: 66vw;
}

.sl {
	list-style: disc;
	padding-left: 25px;
}

.img {
	display: block;
	width: calc(320px + (625 - 320) * ((100vw - 1024px) / (1920 - 1024)));
	min-width: 320px;
	max-width: 625px;
	margin-left: 3vw;
}

.footer {
	background-color: #dfdfdf;
	color: #000000;
	font-size: 1.2em;
	line-height: normal;
	padding-top: 50px;
	padding-bottom: 8vw;
}

.address {
	display: flex;
	align-items: flex-start;
}

.lb {
	padding-right: 0.4vw;
	padding-left: 0.4vw;
}

.bold {
	font-family: 'opensans_r', Tahoma, Geneva, Arial, sans-serif;
	font-weight: bold;
}

.small {
	margin-top: 30px;
	font-size: 75%;
	font-weight: bold;
}

.footernav {
	margin-top: 30px;
	color: #878787;
	font-size: 68%;
	display: flex;
	justify-content: flex-end;
}

.pad {
	padding-left: 11vw;
	padding-right: 6.8vw;
}

.padtb {
	padding-top: 9vw;
	padding-bottom: 9vw;
}

.note {
	font-size: 80%;
	font-style: italic;
	line-height: normal;
	max-width: 760px;
	margin-top: 6vw;
}

.wb {
	word-break: break-all;
	overflow-wrap: break-word;
}



/* FIXED LAYOUT BREAKPOINTS */

@media screen and (min-width: 1920px){
	
	html {
		font-size: 26px;
		line-height: 38.187px;
	}
	
	.logo {
		margin-right: 81px;
	}
	
	h1 {
		font-size: 44.9787px;
		letter-spacing: 5px;
		padding: 38.38px;
	}
	
	.pad {
		padding-left: 211px;
		padding-right: 131px;
	}
	
	.padtb {
		padding-top: 174px;
		padding-bottom: 174px;
	}
	
	.content.wide {
		max-width: 80%;
	}
	
	h2 {
		font-size: 36.3898px;
		line-height: 40px;
		margin-top: 77px;
		margin-bottom: 39px;
	}
	
	h2:first-of-type {
		margin-top: 0;
	}
	
	h3 {
		font-size: 28.5862px;
		line-height: 38.1763px;
		margin-top: 77px;
		margin-bottom: 39px;
	}
	
	.footer {
		font-size: 33.6px;
		padding-bottom: 154px;
		line-height: normal;
	}
	
}

@media screen and (max-width: 1024px){
	
	html {
		line-height: 27.722px;
	}
	
	.pad {
		padding-right: 9vw;
	}
	
	.content {
		max-width: unset;
	}
	
	.content.wide {
		max-width: unset;
	}
	
	h2, h3 {
		margin-bottom: 20.5px;
	}
	
	.img {
		display: none;
	}
	
	.footer {
		background-color: #dfdfdf;
		color: #000000;
		font-size: 16px;
		padding-top: 50px;
		padding-bottom: 60px;
	}
	
	.address {
		display: block;
		margin-top: 10px;
	}
	
	.lb {
		visibility: hidden;
		padding: 0;
		height: 0px;
	}

	.small {
		margin-top: 20px;
		font-size: 12.4px;
	}
	
	.footernav {
		display: block;
		margin-top: 40px;
		font-size: 12.23px;
	}
	
}

@media screen and (max-width: 740px){
	
	.header {
		background-size: auto 100%;
		background-position: 86% center;
	}
	
}

@media screen and (max-width: 580px){
	
	.padtb {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	
}

@media screen and (max-width: 340px){
	
	h1 {
		font-size: 9.60377px;
		line-height: 27.722px;
		letter-spacing: 0.8112px;
		padding: 6.24px;
	}
	
	.pad {
		padding-left: 20px;
		padding-right: 20px;
	}
	
}
