/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v14/cJZKeOuBrn4kERxqtaUH3ZBw1xU1rKptJj_0jans920.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url(https://fonts.gstatic.com/s/opensans/v14/MTP_ySUJH_bn48VBG8sNShampu5_7CjHW5spxoeN3Vs.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/*---- Variablen festlegen START -----------------------------*/

:root {
    --maincolor-1: #003b6f;
    --maincolor-2: #668da8;
    --maincolor-3: #f49900;
    --textcolor: #353535;
    --lightgrey: #F8F8F8;
    --middlegrey: #656565; 
    --darkgrey: #505050;
    --color-white: #ffffff;
}

/*---- Variablen festlegen ENDE -----------------------------*/

html, body {
	padding: 0;
	margin: 0;
	font-size: 18px;
	line-height: 1.5em;
	font-weight: 400;
	color: var(--textcolor);
    background-color: var(--color-white);
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

body > div {
    display: block;
    float: left;
    background-color: rgba(255,255,255,0.95);
    padding: 40px;
    width: 100%;
    max-width: 800px;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

html, body, a, p, h1 {
    font-family: 'Open Sans', Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
}

h1, p, div {
    float: left;
    clear: none;
    width: 100%;
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
    border: 0;
}

p + * {
    margin-top: 20px;
}

h1 {
	font-size: 2em;
    line-height: 1.2em;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 40px;
}

strong {
	font-weight: 600;
}

a {
    font-weight: 600;
    color: var(--maincolor-1);
	text-decoration: none;
    -moz-transition-property: all;
    -moz-transition-duration: 0.4s;
    -webkit-transition-property: all;
    -webkit-transition-duration: 0.4s;
    -o-transition-property: all;
    -o-transition-duration: 0.4s;
    transition-property: all;
    transition-duration: 0.4s;
	transition-timing-function: ease-in-out;
    transition-delay: 0.0s;
}

a:hover {
	color: var(--maincolor-2);
	text-decoration: none;
}

div.brand {
    display: block;
    position: relative;
	height: 80px;
	width: auto;
	float: left;
	clear: none;
	margin: 5px 0 30px -10px;
    padding: 0;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

div.brand svg {
	height: 100%;
}

div.brand svg * {
    fill: var(--maincolor-2) !important;
}

div.brand svg *:last-child {
    fill: var(--maincolor-1) !important;
}

.big {
    font-size: 1.6em;
    line-height: 1.3em;
    font-weight: 400;
}

.button {
	display: inline-block;
	float: none;
	color: var(--color-white);
	font-size: 17px;
    font-weight: 600;
	line-height: 20px;
	min-height: 40px;
	padding: 9px 20px 9px 20px;
    text-transform: uppercase;
	background-color: var(--maincolor-3);
    border-radius: 6px;
	margin: 0;
    border: none;
	cursor: pointer;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
    
    -moz-transition-property: all;
    -moz-transition-duration: 0.4s;
    -webkit-transition-property: all;
    -webkit-transition-duration: 0.4s;
    -o-transition-property: all;
    -o-transition-duration: 0.4s;
    transition-property: all;
    transition-duration: 0.4s;
    transition-timing-function: ease-in-out;
    transition-delay: 0;
    
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
}

.button:hover {
    opacity: 0.5;
    color: var(--color-white);
}

/*-------------------------------------------------------------------------------------------
---- Mediaqueries für Bildschirm- und Mobiloptimierung --------------------------------------
-------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 850px) { 
     
    body > div {
        margin: 20px;
        width: calc(100% - 40px);
    }

}

@media only screen and (max-width: 600px) { 
    
    body {
        font-size: 16px;
        display: block;
    }
}

@media only screen and (max-width: 500px) {
    
    div.brand {
        height: 70px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    body > div {
        padding: 30px;
        margin: 15px;
        width: calc(100% - 30px);
    }
}

@media only screen and (max-width: 400px) {
    
    div.brand {
        height: 65px;
    }
    
    body > div {
        padding: 20px;
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    .big {
        font-size: 1.3em;
    }
    
}

