/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** 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;
}
svg {
    shape-rendering: auto;
}

/* 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 + 10vw);
    margin: auto;
}
.inner {
    max-width: 1110px;
    margin: auto;
}
.flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
}
.grid {
    display: grid;
    justify-content: space-between;
}
img {
    width: 100%;
    border-radius: .35rem;
}
a {
    text-decoration: none;
}

/* BUTTON & SELECTION */
.button,
input[type=submit],
button {
    display: inline-block;
    font-size: 1.125rem;
    padding: .75rem 1.5rem;
    border-radius: .5rem;
    height: fit-content;
    width: fit-content;
    cursor: pointer;
    border: none;
    transition: filter .2s ease-in-out;
}
.button:hover,
input[type=submit]:hover,
button:hover {
    filter: brightness(1.25);
}

/* 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: fixed;
    width: 100%;
}
.bottommenu,
.topmenu {
    padding: 0 .925rem;
}
.bottommenu .inner,
.topmenu .inner {
    width: 100%;
    max-width: none;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* LOGO */
.logo {
    display: flex;
    width: 21.9rem;
    height: auto;
}
.logo img {
    width: 100%;
    height: 100%;
    box-shadow: none;
}

/* NAVIGATION */
nav {
    display: flex;
    gap: 1rem;
}
nav ul {
    display: flex;
    flex-direction: row;
    margin: 0;
}
nav li {
    height: 6.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}
.topmenu nav li {
    height: 60px;
}
.dropdown li {
    height: fit-content;
}
nav li a {
    padding: 5px;
    font-size: 1.125rem;
}
.bottommenu nav li {
    position: relative;
}
.bottommenu nav li a {
    font-weight: 700;
}
.bottommenu nav.visible {
    visibility: visible;
}

/* DROPDOWN MENU */
.dropdown {
    visibility: collapse;
    display: none;
    position: absolute;
    gap: .65rem;
    top: 95%;
    left: 0;
    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;
}
.menuitem.horizontal::after,
.menuitem.vertical::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Pro';
    font-size: .65rem;
    font-weight: 700;
}
.bottommenu .dropdown li {
    width: 100%;
}
.bottommenu .dropdown li a {
    padding: .35rem 3.75rem .35rem 1.25rem;
    font-weight: 400;
    text-wrap: nowrap;
    width: 100%;
}
.bottommenu .dropdown li a:hover {
    padding-left: 1.5rem;
    padding-right: 3.5rem;
}
.bottommenu nav li:last-of-type .dropdown {
    right: 0;
    left: auto;
}

/* BURGERMENU */
#burgermenu {
    display: none;
    cursor: pointer;
    width: 1.35rem;
    padding: 0;
    border-radius: 0;
}
#burgermenu .burger {
    position: relative;
    height: 1.1rem;
}
#burgermenu .burger .line {
    width: 1.35rem;
    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{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 43.75rem;
    max-width: none;
    overflow: hidden;
}
#hero .content {
    position: absolute;
    left: 50%;
    z-index: 1;
    width: 100%;
    max-width: calc(1110px + calc(calc(1rem + 10vw) * 2));
    transform: translateX(-50%);
}
#hero .wrapper {
    padding: 1.5rem 2.2rem;
    width: 100%;
    max-width: 50rem;
    border-radius: .25rem;
}
#hero img {
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
}
.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: 2rem;
    grid-auto-columns: 1fr;
}
.box {
    grid-row: 1;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 2rem;
    gap: 1rem;
}
#teaserbox .box h3 {
    padding: 1rem 0 0;
    margin: 0 0 .65rem;
}
#teaserbox .box p {
    padding: 0;
    margin: 0;
}
#teaserbox .box .button {
    padding: .5rem 1rem;
}
.all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 3rem;
}
.all div {
    display: flex;
    align-items: center;
}
.all a {
    display: flex;
    gap: 1rem;
}
.all h2 {
    margin: 0;
}
.all span,
.all i {
    font-size: 1.5rem;
}
.all a {
    align-items: center;
    gap: 1rem;
    text-wrap: nowrap;
}
.all a:hover i {
    transform: rotate(-35deg);
}

/* CALL TO ACTION */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 0 0;
}
.form {
    padding: 2.5rem;
    border-radius: .5rem;
}
.form h3 {
    font-size: calc(1rem + 1vw);
    margin: 0;
}
.form h4 {
    font-size: calc(.75rem + .35rem);
    margin: 0;
}
.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: 3rem;
    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: calc(1rem + .5vw);
    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;
    padding: 1.5rem;
    border-radius: .5rem;
}
#linkblock li::before {
    content: "•";
}
#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;
}
#linkblock #more-links[hidden] {
    display: none;
}

#selection {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#linkblock .selection-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
    transform-origin: center center;
}

#selection .fa-chevron-right {
    display: block;
    line-height: 1;
}

/* CONTACT */
#contact {
    padding-top: 2rem;
    padding-bottom: 5.5rem;
}
#contact .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.25rem 0 0;
}
#contact .contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
#contact h2 {
    text-align: center;
    font-size: 1.5rem;
}
#contact .button {
    padding-top: .55rem;
    padding-bottom: .35rem;
    font-size: 1.5rem;
}

/**** SECTION 3: FOOTER ****/

/* TOPFOOTER */
#topfooter {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}
#topfooter .inner {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.75rem;
    row-gap: 3rem;
}
#topfooter .box {
    grid-row: auto;
    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 .5rem;
    font-size: 1.25rem;
}
#topfooter p {
    margin: 0;
}
#topfooter img {
    width: 10rem;
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 1rem;
}

/* BOTTOMFOOTER */
#bottomfooter {
    padding-top: .85rem;
    padding-bottom: .85rem;
}
#bottomfooter p {
    font-size: .875rem;
}

/* COOKIE POPUP */
#popup {
    position: fixed;
    margin: 2rem;
    bottom: 0;
    right: 0;
    z-index: 4;
    padding: 1.5rem 2rem;
    max-width: 25rem;
    border-radius: 1.25rem;
}
#popup h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.select {
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}
.select button {
    width: 100%;
}