/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

main {
	display: block;
}

*, *::before, *::after {
	box-sizing: inherit;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
@font-face {
    font-family: 'Open Sans';
    src: url('font/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('font/OpenSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('font/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('font/OpenSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans Light';
    src: url('font/OpenSans-Light.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans Light';
    src: url('font/OpenSans-LightItalic.ttf') format('truetype');
    font-weight: lighter;
    font-style: italic;
}

/*
@font-face {
    font-family: 'Playfair';
    src: url('font/Playfair.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*/

body, button {
	color: #777;
	font-size: 14px;
	font-family: Open Sans, Helvetica, Arial, sans-serif;
	line-height: 1.7;
	margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	color: #000;
	word-break: break-word;
}

h1 {
	font-size: 2.5em;
	margin: 0.67em 0;
	line-height: 1.2;
}

h2 {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 40px;
	letter-spacing: 1px;
	margin: 0 0 2.5rem;
	/*font-family: Playfair, serif;*/
}

h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 20px 0 14px;
}

h4 {
	font-size: 18px;
	margin: 0;
}

h5 {
  color: #aaa;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 15px 0;
}

h5::after {
	content: "";
	display: block;
	position: relative;
	left: 50%;
	margin-left: -15%;
	bottom: -8px;
	width: 30%;
	height: 1px;
	background: #ccc;
}

p {
	margin: 0 0 1em;
}

b, strong {
	font-weight: bolder;
}


em, i {
	font-style: italic;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

ul, ol {
	margin: 0;
	padding: 0 15px;
}

ul li, ol li {
	margin: 8px 0;
}

ul {
	list-style: disc;
}

li > ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}

input, textarea {
	background-color: #fff;
	border-radius: 2px;
	color: #333;
	font-size: 16px;
	border: 1px solid #ccc;
	padding: 6px 10px;
	height: 38px;
	width: 100%;
	line-height: 1.3;
}

textarea {
	min-height: 100px;
	resize: vertical;
}

label {
	display: block;
	font-weight: 700;
	font-size: 16px;
	float: none;
	line-height: 1.3;
	margin: 0 0 4px 0;
	padding: 0;
	color: #777;
	padding-top: 10px;
}

button {
	background-color: #eee;
	border: 1px solid #ddd;
	color: #333;
	font-size: 1em;
	padding: 10px 15px;
	margin: 15px 0;
	cursor: pointer;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/

a {
	color: #000;
	background: transparent;
	text-decoration: none;
}

a:hover, a:focus, a:active {
	text-decoration: underline;
	color: #005aab;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header {
	width: 100vw;
	background-color: #fff;
	box-shadow: 0 5px 10px 0 rgba(50, 50, 50, 0.06);
	position: fixed;
	top: 0;
	z-index: 1;
}

header .container {
	padding: 1em 70px 0 1em;
	height: 120px;
}

.site-branding {
	display: inline-block;
	max-width: 500px;
}

.site-title {
	margin: 0px;
	line-height: 1;
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-size: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #000000;
	display: initial;
	vertical-align: middle;
	font-weight: 600;
}

.site-description {
	color: #000;
	display: inline-block;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	background-color: #fff;
	padding: 0;
}

.menu.active {
	margin: -1em -70px 0 -1em;
	overflow: scroll;
	max-height: calc(100vh - 120px);
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #333;
	padding: 0.5em 2em;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1px;
}

nav a:hover{
	color: #005aab;
}

/* Small menu. */
.menu-toggle {
	border: 0;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 10px;
	margin: 0;
	background-color: #fff;
	padding: 10px 20px;
	border-radius: 100% 0 0 100%;
}

.toggled {
	top: 0;
	height: 100vh;
	transition: 300ms;
}

.main-navigation.toggled ul {
	display: block;
	background-color: #000;
}

.menu-toggle:hover {
	background-color: transparent;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.navTrigger i {
	content: '';
	display: block;
	background: #121213;
	width: 30px;
	height: 4px;
	margin: 5px 0;
	border-radius: 2px;
}

.has-children ul {
	display: block;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

#page {
	margin-top: 100px;
}

.container {
	width: 540px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

.clear {
	clear: both;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

section {
	padding: 2rem 0;
	clear: both;
}

.half img {
	height: 350px;
	object-fit: cover;
}

.quad {
	width: 100%;
}

.centered {
	text-align: center;
}

footer {
	padding: 4rem 0;
	color: #fff;
	background-color: #005aab;
}

footer a {
	display: block;
	color: #fff;
	margin: 8px 0;
}

footer a:hover {
	text-decoration: dotted;
	color: #fff;
}

footer h3 {
	color: #fff;
}

.prim a {
	color: #fff;
	text-decoration: none;
	padding: 0 10px;
}

.sec {
	text-align: center;
	color: #fafafa;
	padding: 10px 10px 50px;
}

.fa {
	font-family: 'solid';
	font-style: normal;
	color: #005aab;
	font-size: 5em;
	float: left;
	padding-right: 1rem;
}

.separator {
	font-size: 1.5rem;
	color: #005aab;
	padding: 8px;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
img {
	border-style: none;
	width: 100%;
	height: auto;
}

.thumbnail img {
	width: 100%;
	object-fit: cover;
	object-position: 0% 20%;
}

.thumbnail .centered {
	position: absolute;
	top: calc(50px + 50%);
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 80%;
	color: #fff;
	max-width: 1140px;
}

.thumbnail p, .thumbnail a {
	font-style: italic;
	letter-spacing: 0.4px;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	color: #fff;
	margin-bottom: 1rem;
	font-size: 1.2rem;
}

.thumbnail h2 {
	font-size: 25px;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 0.5em;
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
.home .thumbnail img {
	height: calc(100vh - 100px);
	filter: brightness(70%);
}

#team .half {
	float: left;
	text-align: center;
	text-transform: uppercase;
	font-size: 10px;
	letter-spacing: 1.3px;
	min-height: 460px;
}

.btn {
	border: 2px solid #fff;
	text-transform: uppercase;
	border-radius: 2px;
	padding: 7px 15px;
	transition: 500ms;
}

a.btn {
	font-style: normal;
	font-size: 1rem;
	font-weight: bold;
	display: block;
}

.btn:hover {
	background-color: #fff;
	color: #000;
	text-decoration: none;
}

#services, #contact {
	background-color: #f8f9f9;
}

.service {
	background: #fff;
	padding: 30px;
	margin-bottom: 30px;
	position: relative;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
	-webkit-transition: all 100ms ease-out 0s;
	transition: all 100ms ease-out 0s;
	text-decoration: none;
}

.service:hover {
	box-shadow: 0 6px 9px rgba(0, 0, 0, 0.09);
	text-decoration: none;
}

.rechtsgebiete section {
	border-bottom: 1px solid #ccc;
}

#balance {
	padding: 0;
	opacity: 0.3;
}

#balance .a{fill:none;}
#balance .a, #balance .b{stroke:#005aab;stroke-linecap:round;stroke-miterlimit:10;stroke-width:5px;}
#balance .b{fill:#fff;}
#balance .c{fill:#005aab;}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/

@media screen and (min-width: 400px) {
	.site-title {
		font-size: 23px;
	}
}

@media screen and (min-width: 508px) {
	#page {margin-top: 75px;}
	header .container {
		height: 120px;
	}
}

@media screen and (min-width: 768px) {
	header .container {
		height: auto;
		padding: 1em 1em 0;
	}

	#page {margin-top: 133px;}

	h1 {
		font-size: 4em;
	}

	.smallscreen, .menu-toggle {display: none;}
	.main-navigation ul, .has-children:hover .sub-menu {display: block;}

	.container {
		width: 720px;
		padding: 0;
	}

	section {
		padding: 4rem 0;
	}

	#primary {
		width: 75%;
		padding: 40px;
		float: left;
		padding-left: 0;
	}

	#secondary {
		width: 25%;
		padding: 40px;
		float: right;
		padding-right: 0;
		border-left: 1px solid #e9e9e9;
	}

	.main-navigation {text-align: right;}

	.main-navigation li {
		display: inline-block;
		margin: 0;
	}

	.main-navigation a {
		padding: 17px 13px;
	}

	.desc {
		font-size: 1.2rem;
		margin: 2.5rem 0;
	}

	a.btn {
		display: inline-block;
	}

	.main-navigation .sub-menu {
		display: none;
		position: fixed;
		background-color: #fff;
		width: 250px;
		border: 1px solid #e9e9e9;
		text-align: left;
	}

	.sub-menu li {
		width: 100%;
	}

	.sub-menu a {
		color: #999;
		border-bottom: 1px solid #e9e9e9;
	}

	.main-navigation .sub-sub-menu li {
		display: block;
	}

	.thumbnail img {
		height: 500px;
	}

	.thumbnail h2 {
		font-size: 45px;
	}

	#balance {
		max-width: 100px;
		float: left;
		padding: 38px 15px 0 0;
	}
}

@media screen and (min-width: 992px) {
	.container {
		width: 960px;
	}

	.half {
		width: 50%;
		padding: 0 15px;
		margin-bottom: 15px;
	}

	.third {
		width: 33.33%;
		float: left;
		padding: 0 15px;
	}

	.quad {
		width: 25%;
		padding: 0 15px;
	}

	.thumbnail h2 {
		font-size: 75px;
	}

}

@media screen and (min-width: 1200px) {
	.container {width: 1140px;}
	.main-navigation {float: right;}
	#page {margin-top: 75px;}
	header .container {
		padding: 1em 1em 0;
		height: 90px;
	}

	#balance {
		padding: 0px 15px 0 0;
	}

}