@charset "UTF-8";

@font-face { font-family: 'Open Sans'; src: url('../fnt/open-sans-regular.woff') format('woff'); font-style: normal; font-weight: 400; }
@font-face { font-family: 'Open Sans'; src: url('../fnt/open-sans-bold.woff') format('woff'); font-style: normal; font-weight: 700; }

:root {
	--color__light: rgba(255, 255, 255, 1);
	--color__dark: rgba(30, 35, 40, 1);
	--color__main: rgba(179, 207, 90, 1);
	--color__secondary: rgba(0, 104, 145, 1);
	--color__input: rgba(234, 232, 228, 1);
	--color__marked: rgba(234, 131, 19, 1);
}

* {
	position: relative;
	margin: 0; 
	padding: 0;
	font-family: 'Open Sans'; 
	font-size: 18px; 
	line-height: 23px; 
	font-weight: 400; 
	font-style: normal; 
	text-decoration: none;
	list-style: none;
	color: var(--color__dark);
	-moz-osx-font-smoothing: grayscale; 
	-webkit-font-smoothing: antialiased;
	vertical-align: baseline;
	border: none; 
	border-radius: 0; 
	outline: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	box-sizing: border-box;
}

:before,
:after {
	box-sizing: border-box;
}

::-moz-selection { background-color: var(--color__main); }
::selection { background-color: var(--color__main); }

html, body {
	min-height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background-color: var(--color__main);
	overflow-x: hidden;
}

h1,
h2,
h3 {
	color: var(--color__secondary);
	font-weight: 700;
}

h1 {
	font-size: 32px;
	line-height: 37px;
}

h2 {
	font-size: 24px;
	line-height: 29px;
}

p + p,
ul + ul,
p + ul,
ul + p { margin-top: 16px; }

h1 + p,
h1 + ul,
h2 + p,
h2 + ul,
h3 + p,
h3 + ul { margin-top: 16px; }

a { color: var(--color__secondary); }

.h-no-margin { margin: 0; }

.h-small-text,
.h-small-text * {
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
}

.h-medium-text,
.h-medium-text * {
	font-size: 13px;
	line-height: 18px;
	font-weight: 700;
}

.h-white-text,
.h-white-text * { color: var(--color__light); }

.c-slider {
	width: calc(100% - 60px);
	max-width: 800px;
	background-color: var(--color__light);
	border-radius: 10px;
	box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.2);
}

.c-slider:after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 80px;
	background-color: var(--color__secondary);
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	pointer-events: none;
	z-index: 1;
}

.c-job-title {
	display: block;
	position: absolute;
	left: 8px;
	top: 8px;
	padding: 8px 15px;
	background-color: #ffffff;
	border-radius: 5px;
	z-index: 1;
}

.c-slider__steps {
	display: block;
	position: absolute;
	right: 8px;
	top: 8px;
	padding: 8px 15px;
	background-color: #ffffff;
	border-radius: 5px;
	z-index: 1;
}

.c-slider__steps.h-animate {
	animation: a-steps 400ms linear forwards;
}

@keyframes a-steps {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.9); }
}

.c-slider__header {
	padding: 50px 35px 0 35px;
	background-image: url("../gfx/Teraske_Falkenstrasse_Head.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	min-height: 300px;
}

.c-slider__header--big {
	min-height: 330px;
}

.c-logo {
	display: block;
	margin: 0 auto;
	width: auto;
	height: 100%;
	max-height: 240px;
	position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
}

.c-header__content {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin: 35px 0 0 0;
	padding: 10px 45px;
	background-color: var(--color__secondary);
	transform: translate(-10px, 0);
	position: absolute;
    width: calc(100% + 20px);
    left: 0;
    bottom: 0;
}

.c-header__content * { z-index: 2; }

.c-header__content:before,
.c-header__content:after {
	content: '';
	position: absolute;
	top: 4px;
	width: 10px;
	height: 100%;
	background-color: var(--color__dark);
}

.c-header__content:before {
	left: 0;
	transform: skewY(30deg);
	z-index: -10;
}

.c-header__content:after {
	right: 0;
	transform: skewY(-30deg);
	z-index: -10;
}

.c-header__background {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color__secondary);
	box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
	z-index: 1;
}

.c-header__links { display: flex; }

.c-links__item + .c-links__item { margin-left: 15px; }

.c-links__link { transition: opacity 400ms ease; }
.c-links__link:hover { opacity: 0.5; }

.c-slides {
	margin: 25px 0 0 0;
	padding: 0 35px;
	width: 100%;
	overflow: hidden;
	z-index: 2;
}

.c-slide {
	display: none;
	transition: opacity 250ms ease,
		transform 250ms ease;
}

.c-slide.h-visible {
	display: block;
}

.c-slide.h-fly-out-left {
	opacity: 0;
	transform: translate(-100%, 0);
}

.c-slide.h-fly-out-right {
	opacity: 0;
	transform: translate(100%, 0);
}

.c-btns {
	margin: 35px 0 0 0;
	padding: 20px;
	min-height: 80px;
	text-align: center;
}

.c-inline-btns {
	margin: 25px 0 0 0;
}

.c-btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 15px;
	height: 40px;
	font-weight: 700;
	color: var(--color__secondary);
	background-color: var(--color__main);
	border: 1px dashed rgba(0, 0, 0, 0);
	border-radius: 5px;
	transition: transform 400ms ease;
}

.c-btn + .c-btn { margin-left: 7px; }

/*
.c-btn.h-saved { background-color: var(--color__light); border: 2px dashed var(--color__secondary); }
*/

.c-btn.h-saved:after {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	position: absolute;
	top: -8px;
	right: -8px;
	background-color: var(--color__light);
	border: 2px solid var(--color__secondary);
	border-radius: 50px;
	z-index: 1;
}

.c-btn.h-saved:before {
	content: '';
	display: inline-block;
	position: absolute;
	width: 9px;
	height: 5px;
	top: -2px;
	right: -3px;
	border: 2px solid var(--color__secondary);
	border-top: none;
	border-right: none;
	transform: rotate(-45deg);
	z-index: 2;
}

.c-btn--stealth {
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0);
}

.c-btn--margin {
	position: absolute;
	right: 0;
	padding-right: 0;
}

.c-btn--margin-left {
	position: absolute;
	left: 0;
	padding-left: 0;
}

.c-btn:not(.c-btn--stealth):hover { transform: scale(0.95); }

.c-input {
	padding: 8px 15px;
	width: 100%;
	background-color: var(--color__input);
	border-radius: 5px;
}

p + .c-input,
.c-input + .c-input,
.c-input + p { margin-top: 16px; }

textarea { min-height: 120px; }

.c-job-prev {
	padding: 5px 0;
	color: var(--color__main);
}




@media (max-width: 800px) {

	body {
		justify-content: flex-start;
		padding: 35px 0;
	}
	
	.c-slider {
		width: calc(100% - 40px);
	}
	
	.c-header__content {
		flex-direction: column;
		align-items: center;
	}
	
	.c-logo {
		max-height: 200px;
		top: 30px;
	}
	
	.c-inline-btns {
		display: flex;
		flex-direction: column;
	}
	
	.c-btn + .c-btn {
		margin-left: 0;
		margin-top: 15px;
	}
	
	.c-btn {
		height: 60px;
	}
	
	textarea {
		min-height: 200px;
	}
	
	.c-input {
		padding: 20px 15px;
	}
	
	.c-btn--margin-left {
		top: 10px;
	}
	
	.c-btn--margin-right {
		position: absolute !important;
		right: 0 !important;
		top: 10px !important;
		margin-top: 0 !important;
	}
	
}
