* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.clear {
    clear: both;
}

.header-logo {
    height: 70px;
    margin: 20px 30px;
}

nav {
    font-family: 'Roboto', "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    float: right;
    margin-top: 35px;
}

nav ul li {
    list-style: none;
    display: inline;
    position: relative;
    overflow: hidden;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    margin-right: 80px;
}

nav ul li a:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  width: 0;
  bottom: 0;
  background: #000;
  height: 2px;
  transition-property: left right;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.active:after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    width: 25%;
    bottom: 5px;
    background: #000;
    height: 2px;
}

nav ul li a:hover:after,
nav ul li a:focus:after,
nav ul li a:active:after {
  width: 25%;
}

.home-img {
    float: right;
    height: calc(100vh - 110px);
    width: 85%;
    position: relative;
}

.home-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-overlay {
    position: absolute;
    background-color: #fff;
    width: 30%;
    text-align: center;
    padding: 80px;
    top: 30vh;
}

h1 {
    font-family: 'Roboto', "Segoe UI", "Helvetica Neue", sans-serif;
    font-weight: normal;
    font-size: 60px;
    color: #6B9DD3;
}

.home-overlay a {
    font-family: 'Roboto', "Segoe UI", "Helvetica Neue", sans-serif;
    color: #fff;
    background-color: #6B9DD3;
    text-decoration: none;
    font-size: 30px;
    padding: 5px 20px;
    border-radius: 40px;
}

.grey-box {
    height: 250px;
    width: 50%;
    position: absolute;
    z-index: -1;
    background-color: #E5E5E5;
    bottom: -125px;
}

.overlay-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

#overlay {
    background-color: rgba(107,157,211,0.8);
    width: 40%;
    height: 100vh;
    padding: 20vh 5%;
    right: 0;
    margin-right: 10%;
    position: absolute;
    z-index: 1;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
}

.container h2 {
    color: rgba(107,157,211,1);
}

.container p {
    color: #000;
}

p {
    font-family: 'Roboto', "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 21px;
    color: #fff;
}

.banner-img {
    position: absolute;
    bottom: 0;
    width: 70%;
}

.banner-img img, .banner-img iframe {
    width: 100%;
    object-fit: cover;
    min-height: 50vh;
}

.container {
    width: 1080px;
    margin: 100px auto 0 auto;
}

.col-33 {
    width: calc(33.333% - 20px);
    float: left;
    margin-right: 30px;
    position: relative;
}

.col-33:nth-child(3){
    margin-right: 0;
}

.col-33 img {
    width: 100%;
    border-radius: 20px;
}

.img-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(255,255,255,0.5);
    border-radius: 20px;
}

.banner {
    width: 100%;
    height: 600px;
    position: relative;
    object-fit: cover;
}

.banner img {
    max-height: 100%;
    width: 100%;
    object-fit: cover;
}

.portrait-box {
    width: 400px;
    height: 400px;
    border: 1px solid #A2A2A2;
    position: relative;
    float: left;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.portrait-box img {
    width: 100%;
    position: absolute;
    bottom: 0;
}

section {
    float: left;
    margin: 100px 0 0 50px;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: 35px;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(107,157,211,1);
}

.taetigkeit {
    font-family: 'Roboto', "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 30px;
}

.info {
    font-family: 'Roboto', "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 25px;
}

section div:nth-child(3) {
    margin-top: 30px;
}

.info span {
    color: #A2A2A2;
}

input, textarea {
    font-family: 'Roboto', "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 25px;
    display: block;
    padding: 10px 30px;
    border: 1px solid #A2A2A2;
    border-radius: 15px;
    margin: 20px 0;
}

::placeholder {
    color: #A2A2A2;
}

input {
    width: 50%;
}

textarea {
    width: 100%;
    height: 400px;
}

input[type=submit] {
    float: right;
    width: 200px;
    background-color: rgba(107,157,211,1);
    border: none;
    color: #fff;
    cursor: pointer;
}

footer {
    width: 100%;
    background-color: rgba(107,157,211,1);
    height: 400px;
    font-family: 'Roboto', "Segoe UI", "Helvetica Neue", sans-serif;
    color: #fff;
    font-size: 25px;
    margin-top: 100px;
}

footer .container {
    margin: 0 auto;
}

.col-33 {
    width: calc(33.333% - 20px);
    float: left;
    margin-right: 30px;
    position: relative;
}

footer .col-33 {
    margin-top: 90px;
}

footer iframe {
    width: calc(66.666% - 20px);
    margin-top: 90px;
    height: 220px;
}


/* Responsive */

@media (max-width: 1200px) {
    h1 {
        font-size: 40px;
    }
    .home-overlay {
        width: 40%;
        padding: 80px;
    }
    .home-overlay a {
        font-size: 25px;
    }
    #overlay {
        padding: 10vh 5%;
    }
    h2 {
        font-size: 40px;
    }
    p {
        font-size: 20px;
    }
    .container {
        width: 850px;
    }
    .banner {
        height: 500px;
    }
}

@media (max-width: 991px) {
    nav {
        font-size: 25px;
        margin-top: 40px;
    }
    nav ul li a {
        margin-right: 60px;
    }
    h1 {
        font-size: 40px;
    }
    .home-overlay {
        width: 50%;
    }
    .container {
        width: 700px;
    }
    .banner {
        height: 400px;
    }
    .portrait-box {
        width: 300px;
        height: 300px;
    }
    section {
        margin: 50px 0 0 30px;
    }
}

@media (max-width: 768px) {
    .home-img {
        width: 100%;
    }
    .home-overlay {
        width: 50%;
        padding: 50px;
        top: 35vh;
    }
    .grey-box {
        display: none;
    }
    p {
        font-size: 16px;
    }
    .overlay-image-container {
        width: 100%;
        height: 700px;
    }
    #overlay {
        width: 50%;
        height: 700px;
        padding: 10vh 5%;
        margin-right: 0;
    }
    .banner-img {
        width: 100%;
    }
    .banner-img img, .banner-img iframe {
        min-height: 350px;
    }
    .container {
        width: 500px;
        margin: 80px auto;
    }
    .portrait-box {
        width: 250px;
        height: 250px;
    }
    section {
        margin: 50px 0 0 30px;
    }
    h3 {
        font-size: 30px;
    }
    .taetigkeit {
        font-size: 25px;
    }
    .info {
        font-size: 18px;
    }
    .banner {
        height: 300px;
    }
    input {
        width: 100%;
    }
    footer {
        height: 650px;
        font-size: 25px;
        margin-top: 50px;
    }
    .col-33 {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 30px;
    }
    footer .col-33 {
        margin-top: 0;
        padding-top: 50px;
    }
    footer iframe {
        width: 100%;
        margin-top: 0;
        height: 300px;
    }
}

@media (max-width: 576px) {
    nav {
        font-size: 14px;
        margin-top: 30px;
    }
    nav ul li a {
        margin-right: 20px;
    }
    nav ul li a:after {
      bottom: 2px;
      height: 2px;
    }
    .active:after {
        bottom: 2px;
        height: 2px;
    }
    .header-logo {
        height: 40px;
        margin: 20px 0 20px 30px;
    }
    .home-img {
        height: calc(100vh - 80px);
    }
    h1 {
        font-size: 30px;
    }
    .home-overlay a {
        font-size: 20px;
    }
    .home-overlay {
        width: 80%;
        padding: 50px;
        top: 35vh;
    }
    .overlay-image-container {
        width: 100%;
        height: 400px;
    }
    #overlay {
        width: 60%;
        height: 400px;
        padding: 30px 5%;
    }
    .banner-img {
        width: 100%;
    }
    .banner-img img, .banner-img iframe {
        min-height: 200px;
    }
    h2 {
        font-size: 25px;
        margin-bottom: 5px;
    }
    p {
        font-size: 11px;
    }
    .container {
        width: 100%;
        margin: 80px 0;
        padding: 0 50px; 
    }
    .banner {
        height: 180px;
    }
    .portrait-box {
        width: calc(100vw - 100px);
        height: calc(100vw - 100px);
    }
    section {
        margin: 30px 0 0 0;
    }
    h3 {
        font-size: 25px;
    }
    .taetigkeit {
        font-size: 18px;
    }
    section div:nth-child(3) {
        margin-top: 20px;
    }
    .info {
        font-size: 14px;
    }
    input, textarea {
        font-size: 20px;
        padding: 10px 30px 5px 20px;
    }
    textarea {
        height: 300px;
    }
    input[type=submit] {
        width: 100%;
    }
    footer {
        font-size: 20px;
    }
}

@media (max-width: 280px) {
    nav {
        font-size: 12px;
        margin-top: 28px;
    }
    nav ul li a {
        margin-right: 20px;
    }
    .header-logo {
        height: 30px;
        margin: 20px 0 20px 30px;
    }
    .home-img {
        height: calc(100vh - 70px);
    }
    p {
        font-size: 12px;
    }
    .banner {
        height: 150px;
    }
    input, textarea {
        font-size: 16px;
        padding: 10px 30px 5px 20px;
    }
    textarea {
        height: 200px;
    }

    input[type=submit] {
        width: 100%;
    }
}