
/* Main */

*,*:before,*:after, html {box-sizing: border-box;}

html {
  font-size: 0.875em;
}

/**
 * 1. Apply rule to all browsers
 * 2. Override WebKit browsers, because Safari needs percentages to work
 * 3. Override IE/Edge, because Edge applies previous -webkit-calc() and 
 *    won't work with percentages
 */
@media screen and (min-width: 80em) {
  html {
    font-size: calc(0.875em + 0.25 * (100vw - 80em) / 40); /* 1 */
    font-size: -webkit-calc(87.5% + 0.25 * (100vw - 8500%) / 40); /* 2 */
    font-size: -ms-calc(0.875em + 0.25 * (100vw - 80em) / 40); /* 3 */
  }
}

@media screen and (min-width: 120em) {
  html {
    font-size: 1.125em;
  }
}


body {
	margin: 0;
	padding: 0;
	
	/* Font */
	font-size: 1.2rem;
	font-family: "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Typography */

h1, h2, h3, h4, h5 {
	font-weight: normal;
	text-transform: normal;
}

h1, .h1 {
	font-size: 120px;
	font-size: 6rem;
	line-height: 0.75;
	margin: 0;
	padding: 0;
}

h2, .h2 {
	font-size: 40px;
	font-size: 2.25rem;
	line-height: 0.95;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

@media (max-width:850px) {
h2, .h2 {
	padding: 15px 0 0 0;
}
}

h3, .h3 {
	font-size: 32px;
	margin: 20px 0;
	padding: 0;
}

h4, .h4 {
	font-size: 24px;
	margin: 20px 0;
	padding: 0;
}

img {
	width: 100%;
	max-width: 100%;
	height: auto;
	border: none;
	outline: none;
}

/* Interface */

.red-top {
	position: relative;
	padding-top: 260px;
	text-indent: -0.3rem;
}


.red-top:after {
	display: block;
	height: 0px;
	width: 9px;
	position: absolute;
	top: 65px;
	left: 0px;
	background: #e04643;
	content: "";
	transition: height .6s;
} 

@media (min-width:851px) {
	.red-top h1 {
		opacity: 0;
		transform: translate3d(0,-80px, 0);
		transition: opacity .6s, transform .6s;
	}
	
	.animate .red-top h1 {
		opacity: 1;
		transform: translate3d(0,0, 0);
	}
	
	.content {
		opacity: 0;
		transition-delay: .6s;
		transition: opacity 2s;
	}
	
	.animate .content {
		opacity: 1;
	}
	
	.animate .red-top:after {
		height: 90px;
	}
}

@media (max-width:1024px) {
	.red-top {
		padding-top: 200px;
	}
	.animate .red-top:after {
		top: 55px;
		height: 80px;
		width: 8px;
	}
}
@media (max-width:850px) {
	.red-top {
		padding-top: 100px;
	}
	.red-top:after {
		top: 0px;
		height: 0px;
		width: 6px;
	}
	.animate .red-top:after {
		top: 0px;
		height: 50px;
		width: 6px;
	}
}

/* Grid */

.wrap {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
}

.container {
	display: block;
	width: 100%;
	max-width: 1900px;
	padding: 0 150px;
	margin: 0 auto;
	position: relative;
}

#home {
	padding-top: 80px;
}

.container.first:after {
	top: 80px;
}

@media (max-width: 1200px) {
	.container {
		padding: 0 150px 0 0;
	}
}

@media (max-width: 850px) {
	.container {
		padding: 0;
	}
}

.container:after {
	display: block;
	height: 100%;
	position: absolute;
	top: 0px;
	right: 150px;
	z-index: -1;
	border-right: 1px solid #e3e3e3;
	content: "";
}
@media (max-width: 850px) {
	.container:after {
		display: none;
	}
}

.row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}

.first-col {
	padding-left: 80px;
	padding-right: 80px;
}

.logo-scale img {
	max-width: 200px;
}

.col-50 {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 50%;
}

.col-100 {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 100%;
	padding-left: 80px;
	padding-right: 20%;
}

.col-50.first {
	padding-left: 80px;
	padding-right: 80px;
}

.col-50.last {
	padding-right: 80px;
}

.first-col {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 27%;
}

.last-col {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	flex: 1;
	padding-left: 0px;
	padding-right: 20%;
}

.logo-col {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 27%;
	padding-left: 80px;
	padding-right: 20px;
}
@media (max-width: 1024px) {
	.last-col, .col-50.last, .col-100 {
		padding-right: 10%;
	}
}

@media (max-width: 850px) {
	.first-col, .last-col, 
	.col-50.first, .col-50.last,
	.logo-col, .col-100 {
		width: 100%;
		padding: 0 40px;
	}
}

@media (max-width: 560px) {
	.first-col, .last-col, 
	.col-50.first, .col-50.last,
	.logo-col, .col-100 {
		width: 100%;
		padding: 0 20px;
	}
}

.align-bottom {
	justify-content: flex-end;
}

.align-center {
	justify-content: center;
}

.align-center-row  {
	align-items: center;
}

.space-between {
	flex-direction: row;
	justify-content: space-between;
}

/* Header */

header {
	display: block;
	width: 100%;
	position: relative;
	color: #fff;
	background-size: auto 100%;
	background: #484742 url(/images/ratbildtat/doc_head.jpg) no-repeat center right;
}

header .row {
	overflow: hidden;
}

.header_logo-col {
	position: relative;
	height: 900px;
}

.header_logo-col_logowrap {
	display: flex;
	align-items: center;
	height: 130px;
	position: relative;
}
.header_logo-col_logowrap:after {
	display: block;
	width: 2000px;
	position: absolute;
	bottom: 0px;
	right: -20px;
	border-bottom: 1px solid #6a6a6a;
	content: "";
}

.header_logo-col_column {
	margin-top: 300px;
	position: relative;
}

.header_logo-col_column:before {
	display: block;
	height: 2000px;
	position: absolute;
	bottom: 100%;
	right: -20px;
	margin-bottom: 45px;
	border-right: 1px solid #6a6a6a;
	content: "";
}

.header_logo-col_column:after {
	display: block;
	height: 2000px;
	position: absolute;
	top: 100%;
	right: -20px;
	margin-top: 35px;
	border-right: 1px solid #6a6a6a;
	content: "";
	transition: height 2s;
}

.header_logo-col_column_inner {
	display: block;
	width: 160%;
	position: relative;
	left: 100px;
}

.header_logo-col_column_inner:before {
	display: block;
	height: 90px;
	width: 9px;
	position: absolute;
	top: -65px;
	left: -100px;
	background: #e04643;
	content: "";
	transition: height .6s;
} 
.responsive-image {
	display: none;
}
@media (max-width:1200px) {
	.header_logo-col_column_inner {
		display: block;
		width: 220%;
		position: relative;
		left: 100px;
	}
}
@media (max-width:1024px) {
	header {
		background: #484742 url(/images/ratbildtat/doc_head.jpg) no-repeat 100% center;
		background-size: auto 100%;
	}
	.header_logo-col_column {
		margin-top: 180px;
		position: relative;
	}
	.header_logo-col {
		position: relative;
		height: 700px;
	}
	.header_logo-col_column_inner {
		display: block;
		width: 280%;
		position: relative;
		left: 0px;
	}
	.header_logo-col_column_inner:before {
		display: none;
	}
}
@media (max-width:850px) {
	
	.header_logo-col_column:before,
	.header_logo-col_column:after {
		display: none;
	}

	.header_logo-col_column {
		margin-top: 100px;
		margin-bottom: 100px;
	}

	.header_logo-col_logowrap {
		display: none;
	}
	
	.header_logo-col { 
		height: auto;
	}
	
	.header_logo-col_column_inner {
		display: block;
		width: 100%;
		position: relative;
		left: 0px;
	}
	
	.header_logo-col {
		width: 50%;
	}
	
	.header_logo-col_column_inner:before {
		top: 0px;
		height: 60px;
		width: 6px;
	}
}
@media (max-width:560px) {
	.responsive-image {
		display: block;
		width: 100%;
		height: 250px;
		background: #484742 url(/images/ratbildtat/doc_head.jpg) no-repeat center center;
		background-size: cover;
	}
	
	header {
		background: #484742;
	}
	
	.header_logo-col {
		width: 100%;
	}
	
	.header_logo-col {
		display: flex;
		order: 2;
	}
	.header_logo-col_column {
		margin-top: 30px;
		margin-bottom: 30px;
	}
}

@media (min-width:851px) {
	.header_logo-col_column_inner:before {
		height: 0px;
	} 
	.animate .header_logo-col_column_inner:before {
		height: 90px;
	} 
}

/* Navigation */

#drop {
	display: none;
}

.menu-icon,
.ico-arrow-up {
	width: 33px;
}

.show-mobile,
.menu-icon-light {
	display: none;
}

nav .backtotop {
	height: 130px;
	padding-left: 40px;
	justify-content: center;
	align-items: flex-start;
	z-index: -20;
	visibility: hidden;
	opacity: 0;
	transition: visibility .1s, opacity .2s;
}

@media (max-width:850px) {
	.menu-icon {
		width: 18px;
		margin-right: 8px;
		margin-bottom: 6px;
	}
	.show-mobile {
		display: block;
	}
}

@media (min-width:851px) {
	
.fadeIt .backtotop {
	z-index: 50;
	visibility: visible;
	opacity: 1;
}

.fadeIt .nav_menutoggle {
	opacity: 0;
}

/* Navigation */	

.nav-wrap,
.nav {
	display: block;
	width: 150px;	
	transition: transform 1s;
}
nav {
	transform: translate3d(0,80px,0);
}
.scrolling nav {
	transform: translate3d(0,0px,0);
}

.nav-wrap {
	position: absolute;
	top: 0px;
	right: 0px;	
	z-index: 50;
}

.nav {
	position: fixed;	
}

.logo-nav {display: none;}

.nav_menutoggle {
	display: flex;
	align-items: center;
	height: 130px;
	padding-left: 40px;
	border: none;
	transition: opacity .2s;
}

.nav_vertical {
	display: block;
	width: 100%;
	padding: 40px 0 0 40px;
	margin: 0;
	position: relative;
	top: 0px;
	list-style: none;
	background: none;
}

.nav_vertical li:nth-child(3) {
	margin-bottom: 20px;
}

.nav_vertical li {
	position: relative;
}
.nav_vertical li:after {
	display: block;
	width: 4px;
	height: 0px;
	position: absolute;
	top: 50%;
	left: -41px;
	margin-top: -17px;
	background: #e04643;
	content: "";
	transition: height .5s;
	animation-delay: .5s;
}
.nav_vertical li.active:after {
	height: 32px;
}

.nav_vertical li a {
	display: block;
	padding: 8px 0;
	text-decoration: none;
	color: #232323;
	transition: color .3s;
}

.nav_vertical li:hover a {
	color: #e04643;
}

.nav_vertical:after {
	display: block;
	width: 3000px;
	position: absolute;
	top: 0px;
	left: 0px;
	border-top: 1px solid #e3e3e3;
	content: "";
}

/* Header */

header:after {
	display: block;
	width: 3000px;
	position: absolute;
	right: 100%;
	top: 130px;
	z-index: -1;
	border-top: 1px solid #e3e3e3;
	content: "";
}
}

@media (max-width:850px) {

.logo-nav {
	display: flex;
	flex-shrink: 0;
	max-width: 150px;
	margin-left: 20px;
}

.nav-wrap {
	display: block;
	width: 100%;
	height: 80px;
	position: fixed;
	z-index: 50;
	top: 0px;
	left: 0px;
	background: #fff;
	border-bottom: 1px solid #e3e3e3;	
}

.nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 80px;
	position: relative;
}

.nav_vertical {
	display: none;
	width: 120px;
	padding: 20px;
	margin: 0;
	position: absolute;
	top: 80px;
	right: 0px;
	z-index: 60;
	background: #e04643;
	list-style: none;
}

.nav_vertical li a {
	color: #fff;
	text-decoration: none;
}

.nav_menutoggle {
	display: flex;
	height: 100%;
	width: 120px;
	padding: 0 20px;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	border-left: 1px solid #e3e3e3;
}

#drop:checked ~ .nav_menutoggle {
	color: #fff;
	background: #e04643;
	border-left: 1px solid #e04643;
}

#drop:checked ~ .nav_vertical,
#drop:checked ~ .nav_menutoggle .menu-icon-light {
	display: block;
}

#drop:checked ~ .nav_menutoggle .menu-icon-dark {
	display: none;
}

}

/* Section */

section {
	display: block;
	width: 100%;
	min-height: 96vh;
	padding: 40px 0 80px 0;
	margin-top: 20px;
	position: relative;
}
#kontakt {
	min-height: 85vh;
}
@media (max-width:850px) {
	section, #kontakt {
		min-height: auto;
	}
}
@media (max-width: 560px) {
section {
	padding: 100px 0 80px 0;
}
}

section:before {
	display: block;
	width: 100%;
	position: absolute;
	left: 0px;
	bottom: 0px;
	z-index: -1;
	border-bottom: 1px solid #e3e3e3;
	content: "";
}

section:after {
	display: block;
	width: 3000px;
	position: absolute;
	right: 100%;
	bottom: 0px;
	z-index: -1;
	border-bottom: 1px solid #e3e3e3;
	content: "";
}

/* Section */

footer {
	display: block;
	width: 100%;
	background: #232323;
	color: #fff;
}

footer .container {
	padding-top: 50px;
	padding-bottom: 50px;
	margin-top: 0;
}

footer .container:after {
	display: block;
	height: 100%;
	position: absolute;
	top: 0px;
	right: 150px;
	z-index: 1;
	border-right: 1px solid #535353;
	content: "";
}

.backtotop {
	display: flex;
	width: 150px;
	height: 100%;
	position: absolute;
	top: 0px;
	right: 0px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.space-col {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	width: 100%;
	padding-left: 80px;
	padding-right: 20%;
}

@media (max-width: 850px) {
	footer .logo-scale {
		width: 100%;
		margin-bottom: 20px;
	}
	
	footer .space-col {
		padding-left: 40px;
		padding-right: 120px;
	}
	footer .container:after {
		right: 80px;
	}
	.backtotop {
		width: 80px;
	}
}

.footer_navigation {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer_navigation a {
	display: block;
	margin-left: 30px;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 560px) {
	.footer_navigation li:first-child a {
		margin-left: 0px;
	}
}

.footer_navigation a:hover {
	color: #e04643;
	text-decoration: underline;
}

/* Helper */

.float-right {float: right !important;}

.pad-top {padding-top: 30px;}
.pad-left {padding-left: 30px;}

@media (max-width: 850px) {
	.hidden-sm {display: none;}	
}
