/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/* SITE SETTINGS */
html {
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    shape-rendering: optimizeSpeed;
    image-rendering: auto;
}
body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* DEFAULT VALUES */ 
img {
    width: 100%;
}
a {
    text-decoration: none;
}

/* HEADER */
header {
    z-index: 2;
    position: relative;
    width: 100%;
}
.bottommenu,
.topmenu {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 calc(1rem + 5vw);
    box-sizing: border-box;
}
.topmenu {
    height: 44px;
}
.bottommenu {
    height: 121px;
}

/* NAVIGATION */
.topmenu nav:first-of-type {
    gap: .5rem;
}
nav {
    display: flex;
}
#nav {
    margin-bottom: 1rem;
    gap: 1.5rem;
}
nav li {
    display: flex;
    justify-content: center;
    align-items: center;
}
.bottommenu nav.visible {
    visibility: visible;
}
li a i {
    font-size: 1rem;
    margin-right: 5px;
}
span,
.first .menuitem {
    font-size: 13px;
    display: flex;
    align-items: center;
}
.fa-brands {
    padding: 0 .5rem;
}
.menuitem {
    padding: .8rem 0;
}
.dropdown .menuitem {
    width: 100%;
    box-sizing: border-box;
    padding-left:1rem;
    padding-right: 1rem;

}
.dropdown .menuitem a {
    text-transform: none;
    text-align: left;
    width: 100%;
}
.box h3,
.menuitem:not(.first .menuitem) {
    font-weight: 900;
    text-transform: uppercase;
}
.bottommenu .menuitem {
    position: relative;
}
.bottommenu .menuitem a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: .35rem;
    width: 100%;
}

/* DROPDOWN MENU */
.dropdown {
    display: none;
    position: absolute;
    text-align: center;
    min-width: 250px;
    top: 1.9rem;
    opacity: 0;
}
.dropdown.vertical {
    flex-direction: column;
}
.dropdown.horizontal {
    flex-direction: row;
}
.menuitem.horizontal:hover > .dropdown.horizontal,
.menuitem.vertical:hover > .dropdown.vertical {
    display: flex;
    opacity: 1;
}

/* BURGERMENU */
#burgermenu {
    display: none;
    cursor: pointer;
    font-size: 2rem;
}
#burgermenu.active {
    transform: rotate(180deg);
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    width: 270px;
}
.logo img {
    width: 100%;
    height: 100%;
}

/* HERO */
#hero {
    height: fit-content;
    max-height: 538px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#hero .content {
    position: absolute;
    text-wrap: balance;
    z-index: 1;
    text-align: right;
}
#hero h1 {
    font-size: calc(1rem + 2.5vw);
    line-height: 1.2;
    margin: 1rem 0;
}
#hero img {
    transform: scale(1.2);
}

/* MAIN */
.content {
    padding: calc(1rem + 5vw) calc(1rem + 15vw);
}
.right h2 {
    font-size: calc(1rem + 1vw);
    margin-bottom: 1rem;
}
.flex {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: space-between;
}
.grid {
    display: grid;
    justify-content: space-between;
}
.teaser,
#about {
    align-items: center;
}
.teaser {
    gap: 2rem;
    padding: 1rem 2rem;
    margin: 5rem 0;
}
.button,
.text,
.icon {
    grid-row-start: 1;
    grid-row-end: 1;
}
.icon i{
    font-size: 2rem;
    padding: 1.5rem 1.8rem;
    border-radius: 100%;
}
#about .right p,
.menuitem .fa-brands {
    font-size: 1.5rem;
}
li i {
    font-size: 5px;
}
a i {
    font-size: 2rem;
}
.right,
.left {
    width: 50%;
}
.bottomtext {
    width: 65%;
}
#linkblock {
    width: auto;
    display: flex;
    align-items: end;
}
#linkblock li {
    width: 100%;
    padding: .5rem;
    gap: 1rem;
}
/* TEASERBOX */
#teaserbox {
    gap: 1rem;
    grid-auto-columns: 1fr;
    padding-bottom: 0;
}
.box {
    grid-row-start: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.top {
    box-sizing: border-box;
    padding: 3rem 3rem 0 3rem;
    text-align: center;
    width: 100%;
}
.bottom {
    padding: 0 1rem 4rem 1rem;
}
/* CTA */
.cta h3 {
    font-size: calc(1rem + 1vw);
    margin: 0;
}
.cta h4 {
    font-size: calc(1rem + .5rem);
    margin: 0;
}
.text h3 {
    font-size: calc(1rem + .5vw);
    margin-bottom: -.5rem;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 0 0;
}
.info {
    justify-content: space-between;
    gap: .5rem;
}
input {
    padding: .5rem 1rem;
    border: none;
    font-size: 1rem;
}
.info input {
    width: 100%;
}
textarea {
    padding: .5rem 1rem;
    font-size: 1rem;
    border: none;
    resize: none;
}
/* FOOTER */
.topfooter {
    padding: calc(1rem + 3vw) calc(1rem + 15vw);
}
#topfooter h3{
    width: fit-content;
}
#topfooter p{
    margin: 5px 0;
    font-size: 1.1rem;
}
#bottomfooter {
    text-align: center;
    padding: .5rem calc(1rem + 15vw);
}
#bottomfooter div{
    display: flex;
    justify-content: space-between;
}
#bottomfooter div a {
    margin-right: 1rem;
}
#bottomfooter p{
    margin-right: 1rem;
}
.footertext{
    font-size: 1.2rem;
}
.fa-leaf{
    margin-right: 1rem;
}
.footerlinks{
    font-size: 1.1rem;
}

.footeritem .fa-linkedin-in,
.footeritem .fa-instagram,
.footeritem .fa-square-youtube{
    font-size: 1.5rem;
}

.footerlogos{
    display: flex;
    flex-direction: row;
}
/* BUTTON */
button {
    width: fit-content;
    padding: .8rem 2rem;
    border-radius: 5rem;
    font-size: 1rem;
    border: none;
}
button:hover {
    cursor: pointer;
}

/* LIST & LIST ITEMS */
li, ul {
    list-style: none;
    display: flex;
    align-items: center;
}
ul {
    flex-direction: column;
    padding: 0;
}

/* COOKIE POPUP */
#popup {
    display: flex;
    position: fixed;
    padding: 2rem;
    bottom: 0;
    right: 0;
    z-index: 3;
}
#popup .inner {
    padding: 1rem 2rem;
    max-width: 20rem;
    border-radius: 2rem;
}
.select {
    gap: 1rem;
    justify-content: left;
    margin-top: 2rem;
}
.select button {
    width: 100%;
}