:root {
    --text: #000000;
    --main: #95C11F;
    --grey: #575757;
}

@font-face {
    font-family: "Poppins";
    src: url('/fonts/Poppins-Regular.woff2') format('woff2'),
         url('/fonts/Poppins-Regular/font.woff') format('woff'),
         url('/fonts/Poppins-Regular/font.ttf') format('truetype');
    font-display: swap;
    font-weight: 400;
}

@font-face {
    font-family: "Poppins Bold";
    src: url('/fonts/Poppins-Bold.woff2') format('woff2'),
         url('/fonts/Poppins-Bold/font.woff') format('woff'),
         url('/fonts/Poppins-Bold/font.ttf') format('truetype');
    font-display: swap;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 17px;
}

.container {
    max-width: calc(1638px + 10vw);
    margin: 0 auto;
    padding: 0 5vw;
}

.margin-bottom {
    margin-bottom: 50px;
}

.margin-bottom-big {
    margin-bottom: 150px;
}

.anchor {
    margin-top: -200px;
    padding-top: 200px;
    position: relative;
    z-index: -1;
}

.row.center {
    justify-content: center;
}

/* text */

.subline {
    font-size: 20px;
    font-weight: 700;
    color: var(--main);
    text-transform: uppercase;
    font-family: 'Poppins Bold', sans-serif;
    margin-bottom: 10px;
    line-height: 1;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    font-family: 'Poppins Bold', sans-serif;
    line-height: 1;
}

h1 {
    font-size: 78px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 23px;
    text-transform: uppercase;
}

strong {
    font-weight: 700;
    font-family: 'Poppins Bold', sans-serif;
}

.text.center {
    text-align: center;
}

/* links */

.btn {
    background-color: var(--main);
    border-radius: 5rem;
    padding: 10px 30px;
    color: white;
    font-weight: 700;
    font-size: 19px;
    transition: background-color 0.3s;
    font-family: 'Poppins Bold', sans-serif;
}

.btn:hover {
    background-color: var(--text);
    color: white;
}

.btn-light {
    background-color: white;
    border-radius: 5rem;
    padding: 10px 30px;
    color: var(--text);
    font-weight: 700;
    font-size: 19px;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Poppins Bold', sans-serif;
}

.btn-light:hover {
    background-color: var(--text);
    color: white !important;
}

a {
    color: var(--text);
    transition: color 0.3s;
}

a:hover {
    color: var(--main);
    text-decoration: none;
}

/* img */

img {
    max-width: 100%;
}

/* header */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: box-shadow 0.3s;
}

header.smaller {
    z-index: 99;
    box-shadow: 0 0.4rem 2rem 0 rgba(0, 0, 0, 0.1);
    background: white;
}

header .logo {
    background-color: white;
}

header .logo img {
    width: 112px;
    transition: width 0.3s;
    padding: 0.5rem 0;
}

header.smaller .logo img {
    width: 57px;
}

header .inner {
    display: flex;
    justify-content: space-between;
}

header nav ul {
    display: flex;
    list-style-type: none;
    align-items: center;
    margin-top: 20px;
    padding-left: 15px;
}

header nav ul a {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin: 0 15px;
    font-family: 'Poppins Bold', sans-serif;
}

header nav ul a.btn {
    margin-right: 0;
}

header .burger {
    display: none;
}

/* footer */

footer .inner {
    margin-top: 5rem;
    display: flex;
    justify-content: space-between;
    color: var(--grey);
    flex-wrap: wrap-reverse;
}

footer ul {
    display: flex;
    list-style-type: none;
    align-items: center;
}

footer ul a {
    color: var(--grey);
    margin: 0 10px;
}

footer .copyright {
    margin-bottom: 0;
}

/* main */

main {
    margin-top: 15rem;
    min-height: 55vh;
    overflow: hidden;
}

.top {
    margin: -110px 0 50px;
    position: relative;
}

.top::before {
    content: "";
    left: -2rem;
    right: -2rem;
    top: -2rem;
    background-image: url(../img/bg.svg);
    background-size: cover;
    position: absolute;
    height: 100%;
    z-index: -1;
}

.top .text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 30px;
}

.arrow-down {
    margin-top: 50px;
    animation: bounce 2s infinite;
}

.teaser img {
    margin-bottom: 30px;
}

.teaser a {
    text-decoration: underline;
}

.teaser h3 {
    margin-bottom: 20px;
}

.cta {
    background-color: var(--main);
    border-radius: 2rem;
    max-width: 1082px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 40px;
}

.cta img {
    transform: translateY(-30px);
}

.cta .text {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.cta a:not(.btn-light) {
    color: var(--text);
    text-decoration: underline;
}

.cta a:hover {
    color: var(--text);
    text-decoration: none;
}

.cta h2 {
    color: white;
}

ul.icon {
    list-style-type: none;
    padding-left: 0;
}

ul.icon li {
    margin-bottom: 10px;
    padding: 0 0 10px 20px;
    position: relative;
    border-bottom: 0.1rem solid #E8E8E8;
}

ul.icon li:last-child {
    border-bottom: none;
}

ul.icon li::before {
    background-image: url('../img/list-icon.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10px 10px;
    content: "";
    height: 10px;
    left: 0;
    position: absolute;
    top: 9px;
    width: 10px;
}

h2 + ul.icon {
    margin-top: 30px;
}

.quote-wrapper {
    display: flex;
}

.quote-wrapper .quote {
    margin-left: 10px;
}

.quote-wrapper .author {
    display: flex;
    margin-top: 30px;
}

.quote-wrapper .author .name {
    margin-left: 20px;
}

.quote-wrapper .author .name p {
    margin-bottom: 0;
}

.quote-wrapper .author .name a {
    text-decoration: underline;
}

.text.impressum a {
    text-decoration: underline;
}




/* media queries */

@media (max-width: 1699px) {
    main {
        margin-top: 12rem;
    }

    .top {
        margin-top: 0;
    }
}

@media (max-width: 1299px) {
    h1 {
        font-size: 55px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 21px;
    }
    
    .btn-light,
    .btn {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 19px;
    }

    .subline {
        font-size: 18px;
    }

    .btn-light,
    .btn {
        font-size: 17px;
    }

    .margin-bottom {
        margin-bottom: 30px;
    }
    
    .margin-bottom-big {
        margin-bottom: 80px;
    }

    header .logo img {
        width: 80px;
    }

    header nav ul a {
        font-size: 17px;
    }

    main {
        margin-top: 11rem;
    }

    .teaser {
        margin-bottom: 50px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .teaser > * {
        order: 2;
    }

    .teaser h3 {
        order: 1;
    }

    .teaser img {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    main {
        margin-top: 10rem;
    }

    header .container {
        position: relative;
    }

    header .inner {
        align-items: center;
    }

    header nav ul li {
        margin-bottom: 15px;
    }

    header .burger {
        display: block;
        cursor: pointer;
    }
    
    header .burger svg {
        height: 2rem;
        width: 2rem;
    }

    header .burger svg.open {
        display: none;
    }

    header .burger.open svg.open {
        display: block;
    }

    header .burger.open svg.closed {
        display: none;
    }

    header .menu {
        display: none;
        position: absolute;
        top: 100%;
        background: #f6f6f6;
        left: 0;
        right: 0;
        z-index: 15;
        box-shadow: 0 11px 10px 5px rgba(0, 0, 0, 0.1)
    }

    header nav ul {
        flex-direction: column;
        padding: 0;
    }

    header .menu.show {
        display: block;
    }

    main.nav-visible {
        position: relative;
        z-index: -1;
    }
}

@media (max-width: 575px) {
    footer ul {
        padding-left: 0;
        margin-bottom: 0;
    }

    footer ul li:first-child a {
        margin-left: 0;
    }

    .quote-wrapper {
        flex-direction: column;
    }

    .quote-wrapper .quote {
        margin: 10px 0 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}