/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** 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) 0;
    margin: auto;
}
.inner {
    box-sizing: content-box;
    max-width: 1110px;
    padding: 0 15px;
    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;
}

/* BUTTON & SELECTION */
.button,
input[type=submit],
button {
    display: inline-block;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    height: fit-content;
    width: fit-content;
    cursor: pointer;
    border: none;
}

/* 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: absolute;
    padding: 0 32px;
    width: 100%;
}
.topmenu .inner {
    width: 100%;
    height: 43px;
    display: flex;
    max-width: 100%;
    align-items: end;
    justify-content: end;
    box-sizing: border-box;
}
.bottommenu .inner {
    width: 100%;
    height: 98.4167px;
    display: flex;
    align-items: end;
    max-width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
}
.topmenu nav a {
    text-transform: uppercase;
    font-size: 14px;
}
.topmenu nav ul {
    gap: 10px;
}
.bottommenu nav a  {
    text-transform: uppercase;
    padding: 0 10px 10px 10px;
    line-height: 150%;
    font-size: 22px;
}
.nav-list {
    gap: 0;
}

/* LOGO */
.logo {
    width: 350px;
    height: auto;
    margin-bottom: 37px;
}
.logo img {
    width: 100%;
    height: 100%;
}

/* NAVIGATION */
#nav {
    margin-right: -10px;
}
nav {
    display: flex;
    gap: 1rem;
}
nav ul {
    display: flex;
    flex-direction: row;
    margin: 0;
}
nav li {
    display: flex;
    justify-content: start;
    align-items: center;
}
li.spacer {
    font-size: 14px;
}
.bottommenu nav.visible {
    visibility: visible;
}

/* DROPDOWN MENU */
.dropdown {
    display: flex;
    visibility: collapse;
    position: absolute;
    padding: 5px 0;
    align-items: center;
    top: 100%;
    opacity: 0;
    gap: 5px;
}
.dropdown li {
    height: fit-content;
    width: 100%;
}
.dropdown li a {
    width: 100%;
    font-size: 16px;
    line-height: 140%;
    padding: 2px 8px;
}
.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;
}
#burgermenu .burger {
    position: relative;
    padding: 9px 10px;
}
#burgermenu .burger .line {
    width: 25px;
    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{
    height: fit-content;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#hero .content {
    position: absolute;
    text-wrap: balance;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#hero img {
    object-fit: contain;
    object-position: top;
}
#title {
    min-height: 106px;
    display: flex;
}
#title h1 {
    font-size: 40px;
    line-height: 1.2;
    margin: 17px 0;
}
.right h2 {
    font-size: 24px;
    margin-bottom: 1rem;
}
.teaser,
#about .inner {
    align-items: center;
}
#about .button {
    margin-top: 1rem;
}

/* SLIDER */
.slider-container {
    width: 100%;
    margin: auto;
    max-height: 620px;
    overflow: hidden;
    position: relative;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}
.slide img {
    object-fit: cover;
}
.left,
.right {
    width: 100%;
}

/* TEASERBOX */
#teaserbox .grid{
    gap: 1rem;
    grid-auto-columns: 1fr;
}
.box {
    grid-row: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
}
#teaserbox .box img {
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}
#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);
}

/* CALL TO ACTION */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 0 0;
}
.form h3 {
    font-size: 32px;
    margin: 0;
}
.form h4 {
    font-size: 22px;
    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: 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: calc(1rem + .5vw);
    margin: .5rem 0;
}
.teaser p {
    margin: 0;
}
li i {
    font-size: 5px;
}
a i {
    font-size: 2rem;
}
#linkblock {
    min-width: 35%;
    flex-direction: column;
    gap: 0;
}
#linkblock li::before {
    content: "•";
}
#selection {
    display: flex;
    align-items: center;
    width: fit-content;
    cursor: pointer;
    gap: 1rem;
    padding: 0;
    border-radius: 0;
}
#selection span {
    text-transform: none;
    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: 0;
}
#topfooter .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
}
#topfooter .inner {
    max-width: 100%;
    padding: 60px 30px;
}
#topfooter .box {
    padding: 0 15px;
}
#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;
}
.map-container {
    height: 400px;
}
iframe {
    margin: 0;
    border: none;
}
#top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
#top img {
    width: 32px;
}
#top span {
    text-transform: uppercase;
}
#badges {
    display: flex;
    align-items: start;
}
#badges img {
    max-width: 90px;
    object-fit: contain;
    box-sizing: content-box;
    padding: 0 15px;
}

/* 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;
}