@charset "UTF-8";
/* 
Farben:
#FFF200    gelb
#221E1F    schwarz
#6096c6    hellblau
#2e4357    dunkelblau
#AD9C91    beige
*/

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v15-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
       url('fonts/open-sans-v15-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/open-sans-v15-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
* {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background: #fff;
    color: #221E1F;
    font-size: 1em;
    font-family: "Open Sans", Helvetica, sans-serif;
    line-height: 1.375;
    min-height: 100vh;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
a {
    color: #6096c6;
}
a.btn {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 0.5em 2em;
    border: 1px solid;
    border-radius: 2em;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
a.btn:hover {
    color: #2e4357;
}

header {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
            flex: 1 0 auto;
    min-height: 28vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    padding: 2em 4vw;
}
header a {
    /*display: inline-block;
    padding: 2em 0;*/
}
header a img {
    max-width: 90%;
}

main {
    position: relative;
    -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
            flex: 1 0 auto;
    min-height: 72vh;
    padding: 4vh 4vw;
}

main.landingpage {
    background: #b6a042 url(img/deich-schafe-25-12.jpg) no-repeat 72% 35% / cover;
    color: #fff;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.landingpage h1 {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    font-size: 8.5vw;
    color: #FFF200;
    width: 15em;
    max-width: 100%;
    margin-top: 0;
}
.landingpage h1 em {
    display: block;
    font-style: normal;
    color: #fff;
}

nav {
    margin-top: 2em;
    text-align: right;
}
nav ul {
    padding: 0;
    margin: 0;
}
nav li {
    display: inline-block;
    list-style: none;
}
nav a {
    color: #221E1F;
    text-decoration: none;
    padding: 0.25em 2vw;
}
nav a:hover {
    color: #6096c6;
}

.textwrapper {
    max-width: 40em;
    margin: auto;
}
h1 {
    font-weight: normal;
    color: #AD9C91;
    margin: 1.2em 0 0.5em;
}
h2 {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: -1em;
}

@media (min-width: 600px) {
    .landingpage h1 {
        font-size: 3em;
    }
}

@media (min-width: 800px) {
    header {
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
    }
    header a img {
        max-width: 50vm;
        max-width: 50vmin;
    }
    main.landingpage {
        background-position: 30% 35%;
    }
    .landingpage h1 {
        font-size: 4em;
    }
    a.btn {
        font-size: 1.25em;
    }
    nav {
        position: absolute;
        top: 0;
        right: 5vh;
        font-size: 0.85em;
        margin-top: -3em;
    }
}