/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** SITE SETTINGS ****/
html {
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    shape-rendering: optimizeSpeed;
    image-rendering: auto;
}
body * {
    box-sizing: border-box;
}
body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* ACCESSIBILITY SETTINGS */
.skip-link {
    position: absolute;
    top: -5rem;
    left: 1rem;
    z-index: 9999;
}
.skip-link:focus {
    top: 1rem;
}

/* DEFAULT VALUES */ 
.content {
    padding: calc(1rem + 10vh) calc(1rem + 15vw);
    margin: auto;
}
.inner {
    max-width: 1320px;
    margin: auto;
}
.flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
}
.grid {
    display: grid;
    justify-content: space-between;
}
img {
    width: 100%;
}
a {
    text-decoration: none;
}
p {
    font-size: 1.25rem;
}

/* BUTTON & SELECTION */
.button,
input[type=submit],
button {
    display: inline-block;
    font-size: 0.96rem;
    padding: 1rem 2rem;
    border-radius: 0.2rem;
    height: fit-content;
    width: fit-content;
    cursor: pointer;
    transition: filter .2s ease-in-out;
    border: 2px solid hsla(20, 13%, 26%, 1);
    letter-spacing: 1.8px;
}
.button:hover,
input[type=submit]:hover,
button:hover {
    border: 2px solid hsla(20, 13%, 26%, 1);
}
.contact-button {
    padding: 1.2rem 1.5rem;
}

/* LIST & LIST ITEMS */
li, ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}
ul {
    flex-direction: column;
    align-items: baseline;
    padding: 0;
}

/**** SECTION 1: HEADER ****/
header {
    z-index: 2;
    position: relative;
    width: 100%;
}
.bottommenu,
.topmenu {
    padding: 0 calc(1rem + 15.5vw);
    padding-top: 0.8rem;
}
.bottommenu .inner,
.topmenu .inner {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* LOGO */
.logo {
    width: 14rem;
    height: auto;
}
.logo img {
    width: 100%;
    height: 100%;
}

/* NAVIGATION */
nav {
    display: flex;
    gap: 1rem;
}
nav ul {
    display: flex;
    flex-direction: row;
    margin: 0;
    gap: 0.7rem;
}
nav li {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.topmenu nav li {
    height: 60px;
}
.dropdown li {
    height: fit-content;
}
nav li a {
    padding: 5px;
}
.bottommenu nav.visible {
    visibility: visible;
}

.menuitem a{
    letter-spacing: 2.2px;
    font-size: .90rem;
}
.menuitem a:last-child {
    font-weight: 200;
}
.menuitem a,
.button {
    text-transform: uppercase;
}.menuitem:hover:not(:last-child),
#nav .menuitem:first-child {
    border-bottom: 2px solid hsla(20, 13%, 26%, 1);
}
.button-bar {
    flex-direction: column;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-radius: .375rem;
    display: flex;
}
.button-bar a {
    padding: 0.3rem 2rem;
    font-size: 0.7rem;
    padding-right: 1rem;
    width: 100%;
    text-align: end;
    padding-left: .7rem;
}
.button-bar .last a{
    padding-bottom: 0.5rem;
    border-top: 1px solid #ffffff;
    border-radius: 0 0 0 0.5rem;
}
.button-bar .first a {
    border-radius: 0.5rem 0 0 0;
    padding-top: 0.5rem;
    border-bottom: 1px solid #ffffff;
    width: 100%;
}
.button-bar li {
    justify-content: end;
}
.header-menu {
    position: fixed;
    top: calc( 2rem + 6rem);
    right: 0;
    margin: 0;
}

/* DROPDOWN MENU */
.dropdown {
    visibility: collapse;
    display: none;
    position: absolute;
    gap: 5px;
    padding: 1rem;
    align-items: center;
    top: 100%;
    opacity: 0;
}
.dropdown.vertical {
    flex-direction: column;
}
.dropdown.horizontal {
    flex-direction: row;
}
.menuitem.horizontal:hover > .dropdown.horizontal,
.menuitem.vertical:hover > .dropdown.vertical {
    display: flex;
    visibility: visible;
    opacity: 1;
}

/* BURGERMENU */
#burgermenu {
    display: none;
    cursor: pointer;
    width: 2rem;
    padding: 0;
    border-radius: 0;
    border: none;
}
#burgermenu .burger {
    position: relative;
    height: 1.5rem;
}
#burgermenu .burger .line {
    width: 2rem;
    height: 2px;
    position: absolute;
    transition: all 200ms;
}
#burgermenu .burger .line:nth-child(1) {
    top: 0;
}
#burgermenu .burger .line:nth-child(2) {
    top: calc(50% - 1px);
}
#burgermenu .burger .line:nth-child(3) {
    top: calc(100% - 2px);
}
#burgermenu[data-open="true"] .burger .line:nth-child(1) {
    top: calc(50% - 1px);
    transform: rotate(45deg);
}
#burgermenu[data-open="true"] .burger .line:nth-child(2) {
    opacity: 0;
}
#burgermenu[data-open="true"] .burger .line:nth-child(3) {
    top: calc(50% - 1px);
    transform: rotate(-45deg);
}
#burgermenu .burger .line {
    transition: top 0.2s 0.2s, transform 0.2s, opacity 0.2s;
}
#burgermenu[data-open="true"] .burger .line {
    transition: top 0.2s, transform 0.2s 0.2s, opacity 0.2s 0.15s;
}
#burgermenu[data-open="true"] .burger .line:nth-child(2) {
    opacity: 0;
}

/**** SECTION 2: MAIN ****/

/* HERO */
#hero .inner{
    position: relative;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto calc(1rem + 5vh);
    height: 68vh;
}
#hero .content {
    padding: clamp(2rem, 5vw, 4rem) 0 12rem;
    margin: 0;
    text-wrap: balance;
    z-index: 1;
}
#hero h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin: 1rem 0;
    width: 80%;
}
#hero img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 800px;
    height: auto;
    transform: translateY(9.4%);
}
.right h2 {
    font-size: calc(1rem + 1vw);
    margin-bottom: 1rem;
}
.teaser,
#about .inner {
    align-items: center;
}
#about .button {
    margin-top: 1rem;
}

/* SLIDER */
.slider-container {
    width: 100%;
    margin: auto;
    overflow: hidden;
    position: relative;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
    height: 90vh;
    display: flex;
    justify-content: center;
}
.slide img {
    object-fit: cover;
}
.prev, 
.next {
    cursor: pointer;
    position: absolute;
    z-index: 1;
    top: 40%;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    user-select: none;
    transition: 0.6s ease;
}
.next {
    right: 0;
}
.left,
.right {
    width: 100%;
}

/* TEASERBOX */
#teaserbox .grid{
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
.box {
    grid-row: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    gap: 1rem;
}
#teaserbox .box {
    align-items: start;
    display: grid;
    grid-row: auto;
    border-radius: 0.5rem;
    transition: all 0.3s linear;
    overflow: hidden;
}
#teaserbox .box h3 {
    text-align: start;
    padding: 1rem;
    margin: 0;
    font-size: 2.25rem;
    padding-left: 2rem;
}
#teaserbox .box p {
    text-align: start;
    padding: 1rem;
    margin: 0;
    padding-left: 2rem;
}
#teaserbox  svg {
    margin-left: 2rem;
    font-size: 0.9rem;
}
#teaserbox img {
    border-radius: 0.5rem 0.5rem 0 0;
}
#teaserbox .box:hover {
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.2);
}
.footer-text {
    padding-top: 1.5rem;
}
.all {
    display: flex;
    justify-content: space-between;
    margin: 0 0 1rem 0;
}
.all div {
    display: flex;
    align-items: center;
}
.all a {
    display: flex;
    gap: 1rem;
}
.all span,
.all i {
    font-size: 1.5rem;
}
.all a {
    align-items: center;
    gap: 1rem;
}
.all a:hover i {
    transform: rotate(-35deg);
}

/* CALL TO ACTION */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 0 0;
}
.form h3 {
    font-size: 1.5rem;
    margin: 0;
}
.form h4 {
    font-size: calc(1rem + .4rem);
    margin: 0;
}
h3,
.address a,
.number a {
    font-size: 1.25rem;
}
.info {
    justify-content: space-between;
    gap: .5rem;
}
.info input {
    width: 100%;
    padding: .5rem 1rem;
    border: none;
    font-size: 1rem;
}
textarea {
    padding: .5rem 1rem;
    font-size: 1rem;
    border: none;
    resize: none;
}
#recaptcha {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.alert {
    display: none;
    padding: 10px 0;
}
.alert i {
    padding-right: 5px;
}
.option {
    gap: 1rem;
    padding: 1rem 0;
    align-items: center;
}
.option .number,
.option .address {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 18px;
    gap: 1rem;
}
.buttons {
    gap: 1rem;
}

/* TEASER */
.teaser {
    gap: 2rem;
    padding: 2rem;
    margin: 5rem 0;
}
.teaser div:nth-of-type(1) {
    grid-column: 1;
}
.teaser div:nth-of-type(2) {
    grid-column: 2;
}
.teaser div:nth-of-type(3) {
    grid-column: 3;
}
.teaser i{
    font-size: 2rem;
    height: 5rem;
    width: 5rem;
    border-radius: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.teaser h3 {
    font-size: 1.5rem;
    margin: .5rem 0;
}
.teaser p {
    margin: 0;
}
li i {
    font-size: 5px;
}
a i {
    font-size: 2rem;
}
#linkblock {
    min-width: 30%;
    flex-direction: column;
    gap: 0;
}
#linkblock a {
    font-size: 1.1rem;
}
#linkblock li::before {
    content: "•";
}
#linkblock #more::before {
    content: none;
}
#selection {
    display: flex;
    align-items: center;
    width: fit-content;
    cursor: pointer;
    gap: 1rem;
    padding: 0;
    border-radius: 0;
}
#selection span {
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 2rem;
}
#selection label {
    cursor: pointer;
}
#more {
    visibility: collapse;
    opacity: 0;
}

/**** SECTION 3: FOOTER ****/

/* TOPFOOTER */
#topfooter {
    padding-top: 2rem;
    padding-bottom: 0;
}
#topfooter nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
#topfooter nav li {
    height: fit-content;
}
#topfooter nav a {
    padding: 0;
}
#topfooter h3 {
    margin: 0 0 .3rem;
}
#topfooter p {
    margin: 0;
}
#topfooter a {
    font-size: 1.25rem;
}
#topfooter {
    font-size: 1.25rem;
}
.icons {
    display: flex;
    flex-direction: row;
}
.footer-logo img{
    width: 16rem;
    height: 100%;
}
#topfooter .box:not(:last-child) {
    padding-bottom: 0;
}
#topfooter .box-two a {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    padding: .5rem  0 1rem .4rem;
    text-align: end;
}
#topfooter .box-two li:not(:last-child) {
    border-bottom: 1px solid #ffffff;
}
#topfooter .box-two li {
    text-align: end;
}

/* BOTTOMFOOTER */
#bottomfooter {
    text-align: center;
    padding-top: .5rem;
    padding-bottom: .5rem;
}
#bottomfooter p {
    margin-top: 0;
    text-align: start;
}

/* COOKIE POPUP */
#popup {
    position: fixed;
    margin: 2rem;
    bottom: 0;
    right: 0;
    z-index: 4;
    padding: 1rem 2rem;
    max-width: 25rem;
    border-radius: 2rem;
}
#popup h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.select {
    gap: 1rem;
    justify-content: left;
    margin-top: 2rem;
}
.select .button {
    width: 100%;
}