/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('../fonts/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v15-latin-600.eot'); /* IE9 Compat Modes */
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
       url('../fonts/open-sans-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v15-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v15-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v15-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v15-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, .25);
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    color: #606060;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    overflow-x: hidden;
}

h1 {
    color: #202020;
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 80px;
    margin: 0 0 30px;
    margin-right: -0.1em;
    text-align: center;
}

h2 {
    color: #202020;
    font-weight: 600;
    font-size: 40px;
    letter-spacing: .1em;
    line-height: 60px;
    margin: 0 0 30px;
    text-transform: uppercase;
}

h3 {
    color: inherit;
    font-weight: 600;
    font-size: 20px;
    line-height: 27.5px;
    margin: 30px 0 10px;
}

h3:first-child {
    margin-top: 0;
}

p {
    margin: 0 0 10px;
}

a {
    color: inherit;
    text-decoration: underline;
}

section {
    margin-top: -50px;
    overflow: hidden;
    padding-bottom: 20%;
    padding-top: 50px;
    position: relative;
}

#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-bottom: 0;
}

#imprint {
    padding-bottom: 0;
}

.background {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: -1;
}

html.mobile .background {
    clip: rect(0, auto, auto, 0);
    clip-path: inset(0 0 0 0);
}

.background::after {
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    content: '';
    height: 100%;
    position: absolute;
    width: 100%;
}

html.mobile .background::after {
    background-attachment: scroll;
    left: 0;
    position: fixed;
    top: 0;
    transform: translateZ(0);
}

#home .background::after {
    background-image: url('../images/background-1.jpg');
}

#services .background::after {
    background-image: url('../images/background-2.jpg');
}

#consulting .background::after {
    background-image: url('../images/background-1.jpg');
}

#solutions .background::after {
    background-image: url('../images/background-2.jpg');
}

#contact .background::after {
    background-image: url('../images/background-1.jpg');
}

#privacy .background::after {
    background-image: url('../images/background-2.jpg');
}

.content {
    background: #fff;
}

#home .content {
    margin-top: 50px;
}

.content div {
    margin: 0 auto;
    max-width: 960px;
    padding: 40px 40px 60px;
}

.content ul {
    color: #fff;
    font-size: 15px;
    display: flex;
    flex-wrap: wrap;
    line-height: 22.5px;
    list-style: none none;
    margin: 20px -20px -20px;
    max-width: 980px;
    padding: 10px;
}

.content h2 + ul {
    margin-top: -10px;
}

.content li {
    box-sizing: border-box;
    flex: 0 0 auto;
    margin: 10px;
    padding: 15px;
    width: calc(33.333333% - 20px);
}

.content li > a {
    display: block;
    height: 100%;
    margin: -20px;
    padding: 20px;
    text-decoration: none;
}

#home li:nth-child(1) {
    background: #346088;
}

#home li:nth-child(2) {
    background: #005068;
}

#home li:nth-child(3) {
    background: #e88038;
}

#services li:nth-child(1) {
    background: #346088;
}

#services li:nth-child(2) {
    background: #5080a0;
}

#services li:nth-child(3) {
    background: #346088;
}

#services li:nth-child(4) {
    background: #5080a0;
}

#services li:nth-child(5) {
    background: #346088;
}

#services li:nth-child(6) {
    background: #5080a0;
}

#consulting li:nth-child(1) {
    background: #005068;
}

#consulting li:nth-child(2) {
    background: #208080;
}

#consulting li:nth-child(3) {
    background: #005068;
}

#consulting li:nth-child(4) {
    background: #208080;
}

#consulting li:nth-child(5) {
    background: #005068;
}

#solutions li:nth-child(1) {
    background: #e88038;
}

#solutions li:nth-child(2) {
    background: #e89850;
}

#solutions li:nth-child(3) {
    background: #e88038;
}

#solutions li:nth-child(4) {
    background: #e89850;
}

#solutions li:nth-child(5) {
    background: #e88038;
}

img.logo {
    display: block;
    margin: 10px auto 0;
}

nav.main {
    -webkit-tap-highlight-color: transparent;
    -webkit-transform: translateZ(0);
    background: #404040;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

nav.main div {
    margin: 0 auto;
    max-width: 960px;
    overflow: hidden;
    padding: 13px 20px;
}

img.menu {
    cursor: pointer;
    display: none;
    height: 24px;
    width: 24px;
}

nav.main ul {
    -webkit-tap-highlight-color: rgba(0, 0, 0, .25);
    float: right;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    list-style: none none;
    margin: 0;
    padding: 0;
}

nav.main li {
    float: left;
    margin-left: 1.25rem;
}

nav.main li a {
    color: #fff;
    display: block;
    text-decoration: none;
}

nav.mobile {
    -webkit-overflow-scrolling: touch;
    bottom: 0;
    left: 0;
    overflow: auto;
    position: fixed;
    transform: translateY(-100%);
    transition: 200ms;
    top: 50px;
    width: 100%;
}

nav.mobile ul {
    background: #404040;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    list-style: none none;
    margin: 0;
    padding: 0;
}

nav.mobile li {
    border-top: #606060 1px solid;
}

nav.mobile a {
    color: #fff;
    display: block;
    padding: 15px;
    text-decoration: none;
}

@media only screen and (max-width: 767px) {
    body {
        font-size: 15px;
        line-height: 22.5px;
    }

    h1 {
        font-size: 48px;
        line-height: 60px;
    }

    h2 {
        font-size: 32px;
        line-height: 48px;
    }

    img.menu {
        display: block;
    }

    nav.main ul {
        display: none;
    }

    section {
        padding-bottom: 50%;
    }

    #home {
        display: block;
        min-height: auto;
        padding-bottom: 50%;
    }

    #home .content {
        margin-top: 0;
        padding-top: 50px;
    }

    .content div {
        padding: 40px 15px 60px;
    }

    .content li {
        width: calc(100% - 20px);
    }

    img.logo {
        width: 150px;
    }

    nav.main div {
        padding: 13px 15px;
    }

    nav.mobile.show {
        transform: translateY(0);
    }
}
