/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** 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 + 5vh) 1.5rem;
    margin: auto;
}
.inner {
    max-width: 2000px;
    margin: auto;
}
.inner.small {
    max-width: 1250px;
}
.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;
}

/* BUTTON & SELECTION */
.button,
input[type=submit],
button {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    padding: .475rem .75rem;
    height: fit-content;
    width: fit-content;
    min-width: 10rem;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, outline .15s ease-in-out;
}

/* 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 calc(1rem + 2vw) 0;
}
.bottommenu .inner,
.topmenu .inner {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 7.5rem;
}
.logo {
    transform-origin: center;
    transform: scale(0.8) translateY(0%);
    transition-delay: .05s;
}
.logo .svg-logo-slogan {
    opacity: 1;
}

/* ANIMATED HEADER ON SCROLL */
.header.scrolled .bottommenu .inner {
    min-height: 3.75rem;
}
.header.scrolled .logo {
    transform: scale(0.5) translateY(15%);
}
.header.scrolled .logo .svg-logo-slogan {
    opacity: 0;
}
.header.scrolled #burgermenu {
    top: 2.125rem;
}
.header.scrolled.opened #burgermenu {
    top: 3.25rem;
}
.header.opened .bottommenu .inner,
.header.scrolled.opened .bottommenu .inner {
    min-height: 7.5rem;
}
.header.opened .logo,
.header.scrolled.opened .logo {
    transform: scale(0.8) translateY(0%);
}
.header.opened .logo .svg-logo-slogan,
.header.scrolled.opened .logo .svg-logo-slogan {
    opacity: 1;
}

/* NAVIGATION */
nav {
    display: flex;
    gap: 1rem;
}
nav ul {
    display: flex;
    flex-direction: row;
    margin: 0;
}
nav li {
    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 {
    padding: 1.85rem .5rem;
    width: 100%;
}
.bottommenu nav ul {
    flex-direction: column;
    gap: .5rem;
    width: 100%;
}
.menuitem {
    position: relative;
    flex-direction: column;
}

/* MEGA MENU */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scrollbar-width: none
}
.mega-menu::-webkit-scrollbar {
    display: none;
}
.mega-menu.visible {
    display: flex;
}
.mega-menu .menu-inner {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1.05rem;
    width: 100%;
    height: fit-content;
    padding: 3rem 1.5rem 2.25rem;
}
.mega-menu .menu-inner .menu-column {
    grid-column: span 2;
    height: 100%;
}
.mega-menu .menu-inner .menu-column:first-of-type {
    grid-column: span 3;
    outline: none;
}
.mega-menu .menu-column .menu-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    height: 9.25rem;
    padding: 1.25rem 1.35rem 1rem;
}
.mega-menu .menu-column .menu-header h3 {
    height: fit-content;
}
.mega-menu .menu-column .menu-header .menu-arrow {
    align-self: flex-end;
}
.mega-menu .menu-column .menu-header .menu-arrow i {
    font-size: 1.8rem;
}
.mega-menu .menu-column .menu-nav {
    padding: 1.3rem 1.3rem 1.75rem;
}
.mega-menu .menu-column .menu-nav .nav-list {
    gap: .65rem;
}
.mega-menu .menu-column .menu-nav .menu-link {
    font-size: 1.065rem;
}
.mega-menu .contact-nav {
    padding: .75rem;
}
.mega-menu .menu-inner .contact-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.125rem;
}
.mega-menu .menu-inner .contact-header p {
    margin: 0;
    font-size: .875rem;
    text-align: end;
}
.mega-menu .menu-inner .contact-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin: 0 0 .25rem;
}
.mega-menu .menu-inner .contact-address {
    margin-bottom: 1.5rem;
}
.mega-menu .menu-inner .contact-mail {
    margin-bottom: 0;
}
.mega-menu .menu-inner .contact-item p {
    margin: 0;
}
.mega-menu .menu-inner .contact-item i {
    width: 1rem;
    font-size: .8rem;
    line-height: 2;
    text-align: center;
}
.mega-menu .menu-inner .about-nav .menuitem::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Pro';
    font-size: .85rem;
    font-weight: 400;
    position: absolute;
    right: -1.75rem;
    top: .65rem;
}
.mega-menu .menu-inner .about-nav .menuitem:hover::after {
    right: -2.5rem;
}
.mega-menu .menu-inner h3 {
    font-size: 1.25rem;
    line-height: 1.15;
    margin: 0;
}
.mega-menu .menu-inner p {
    font-size: 1.05rem;
}
.mega-menu .menu-copyright {
    padding: 0 1.5rem;
}
.mega-menu .menu-copyright p {
    margin: 0;
    font-size: .925rem;
    text-align: end;
}
.mega-menu .menu-copyright span {
    opacity: 50%;
}
.mega-menu .menu-copyright a {
    font-weight: 700;
}

/* DROPDOWN MENU */
.dropdown {
    visibility: collapse;
    position: relative;
    top: 0;
    display: none;
    gap: 5px;
    padding: 0 1rem;
    margin: 0;
    align-items: center;
    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 {
    position: absolute;
    top: 3.25rem;
    right: .55rem;
    display: block;
    cursor: pointer;
    width: 1.75rem;
    min-width: 0;
    padding: 0;
    outline: none;
    border-radius: 0;
}
#burgermenu .burger {
    position: relative;
    height: 1.125rem;
}
#burgermenu .burger .line {
    width: 1.75rem;
    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 {
    position: relative;
    margin: 0 0 calc(1rem + 5vh);
}
#hero .inner{    
    height: 80lvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#hero .content {
    position: absolute;
    bottom: 0;
    padding: 2.5rem 1.5rem;
    z-index: 1;
}
#hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#hero h1 {    
    border-radius: 2px;
    padding: 0 .25em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.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: 3rem;
    grid-auto-columns: 1fr;
}
.box {
    grid-row: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
#teaserbox .box {
    position: relative;
}
#teaserbox .box .box-title {
    position: absolute;
    top: 1.15rem;
    left: 1.15rem;
}
#teaserbox .box .box-title h3 {
    display: inline;
    padding: .3rem .75rem;
    font-size: 1.41rem;
    line-height: 1.75;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    border-radius: 2px;
}
#teaserbox .box .box-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#teaserbox .box .box-arrow {
    position: absolute;
    bottom: .75rem;
    right: 1.15rem;
    z-index: 1;
}
#teaserbox .box .box-arrow i {
    font-size: 1.85rem;
}
#teaserbox .box .box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    padding: 2.75rem 2rem;
    pointer-events: none;
}
#teaserbox .box:hover .box-overlay {
    opacity: 1;
    pointer-events: auto;
}
#teaserbox .box .box-overlay .box-links {
    gap: .5rem;
    margin: 0;
}
#teaserbox .box img {
    width: 100%;
    height: 100%;
    border-radius: 2px;
}
#teaserbox .box p,
#teaserbox .box h3 {
    margin: 0;
}
.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);
}

/* CONTACT */
#contact .inner {
    align-items: center;
}

/* CALL TO ACTION */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 0 0;
}
.form h4 {
    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: 5rem;
    margin: 7.5rem 0;
}
.teaser h3 {
    font-size: clamp(1.35rem, 5vw, 2.3rem);
}
.teaser p {
    margin: 0;
}

/* LINKBLOCK */
#linkblock {
    min-width: 30%;
    flex-direction: column;
    gap: 0;
}
#linkblock li::before {
    content: "•";
    font-size: .65rem;
}
#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;
}

/**** SECTION 3: FOOTER ****/

/* TOPFOOTER */
#topfooter {
    padding: 4rem 4.5rem 3rem;
}
#topfooter .inner {
    width: 100%;
}
#topfooter .inner:last-of-type {
    margin: 3.5rem 0 0;
}
#topfooter .grid {
    grid-template-columns: 1fr 1fr;
}
#topfooter .box {
    grid-row: auto;
}
#topfooter .footer-address {
    display: flex;
    gap: 2.5rem;
    margin: 1.25rem 0;
    font-style: normal;
}
#topfooter .footer-contact {
    gap: .5rem;
    margin: 2.5rem 0;
}
#topfooter .footer-contact i {
    font-size: .7rem;
}
#topfooter .footer-social {
    display: flex;
    margin: 0 0 1rem;
}
#topfooter .footer-social ul {
    display: flex;
    flex-direction: row;
    gap: .5rem;
    margin: 0 0 0 .5rem;
}
#topfooter .footer-social i {
    font-size: 1.125rem;
}
#topfooter .footer-legal {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 1.5rem;
    height: 100%;
}
#topfooter .footer-legal ul {
    flex-direction: row;
    gap: 1.5rem;
}
#topfooter .footer-legal li a {
    font-size: 1.25rem;
}
#topfooter .footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: 3rem;
    padding: 0 3rem 0 0;
}
#topfooter .footer-nav li a {
    font-size: 1.25rem;
}
#topfooter nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
#topfooter nav li {
    height: fit-content;
}
#topfooter nav a {
    padding: 0;
}
#topfooter h3 {
    margin: 0 0 .3rem;
}
#topfooter li,
#topfooter p {
    margin: 0;
    font-size: 1.05rem;
}

/* BOTTOMFOOTER */
#bottomfooter {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#bottomfooter p {
    margin: 0;
    font-size: 1.05rem;
}

/* COOKIE POPUP */
#popup {
    position: fixed;
    top: 50%;
    right: 50%;
    z-index: 4;
    transform: translate(50%, -50%);
    padding: 2rem;
    max-width: 50rem;
    width: 100%;
}
#popup h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 .5rem;
    font-size: 1.5rem;
}
#popup .select {
    justify-content: flex-end;
}
.select {
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}