/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** 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;
}

/* DEFAULT VALUES */ 
.content {
    padding: calc(1rem + 10vh) calc(1rem + 15vw);
    margin: auto;
}
#adress{
    margin: auto;
    padding-bottom: 0;
    padding-top: 0;
}
#teaserbox{
    padding: calc(1rem + 10vh) calc(1rem + 13vw);
    margin: auto;
}

.inner {
    max-width: 1920px;
    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 */
input[type=submit],
button {
    font-size: 1rem;
    font-weight: 300;
    padding: 1rem 2rem;
    border-radius: 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: relative;
    width: 100%;
}
.bottommenu,
.topmenu {
    padding: 0 calc(1rem + 15.2vw);
    border-bottom: 2px solid #eeeeee;
    padding-top: 2.2rem;
    padding-bottom: 1rem;
}
.bottommenu .inner,
.topmenu .inner {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* LOGO */
.logo {
    width: 19.5rem;
    height: auto;
}
.logo img {
    width: 100%;
    height: 100%;
}

/* NAVIGATION */
nav {
    display: flex;
    gap: 1.7rem;
    padding-left: 4rem;
}
nav li {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.topmenu nav li {
    height: 60px;
}
.dropdown li {
    height: fit-content;
}
nav li a {
    padding: 5px;
    font-size: 21px;
}
.bottommenu nav.visible {
    visibility: visible;
}
.fa-caret-down{
    font-size: 1.2rem;
    padding-left: 0.5rem;
}
nav .fa-envelope{
    padding-left: 1rem;
    font-size: 1.5rem;
}
nav .fa-phone-flip,
.fa-location-dot{
    font-size: 1.5rem;
}
.fa-bars{
    font-size: 3rem;
}

/* DROPDOWN MENU */
.dropdown {
    visibility: collapse;
    display: none;
    position: absolute;
    gap: 5px;
    align-items: start;
    top: 5rem;
    opacity: 0;
}
.dropdown a{
    font-size: 18px;
}
.dropdown .menuitem{
    width: 100%;
    padding: 0.5rem 1rem;
    justify-content: start;
}
.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;
    font-size: 2rem;
}
#burgermenu.active {
    transform: rotate(180deg);
}

/**** SECTION 2: MAIN ****/

/* HERO */
#hero .inner{
    height: fit-content;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#hero .content {
    position: absolute;
    text-wrap: balance;
    z-index: 1;
}
#hero h1 {
    font-size: calc(1rem + 1.5vw);
    line-height: 1.2;
    margin: 1rem 0;
    width: 80%;
    #text-shadow: 1px 1px 1px black, 0 0 25px rgb(141, 136, 140), 0 0 2px rgb(84, 84, 90);
	text-shadow: 0px 0px 3px black
  
}

.right h2 {
    font-size: calc(1rem + 1vw);
    margin-bottom: 1rem;
}
.teaser,
#about .inner {
    align-items: center;
}
#about button {
    margin-top: 1rem;
}
#adress .fa-location-dot {
    font-size: 1.2rem;
    padding-right: 0.5rem;
}
#adress .fa-phone-flip,
.fa-calendar-plus{
    font-size: 1.4rem;
    padding-right: 0.5rem;
}
#adress p{
    width: 100%;
    padding: 0.2rem 0;
    margin: 0;
    text-align: center;
}
#adress .inner {
    gap: .5rem;
    display: flex;
    padding: .5rem;
}
#adress .box {
    padding-bottom: 0;
    flex: 1;
}
.right p{
    font-size: 18px;
}
/* SLIDER */
.slider-container {
    width: 100%;
    margin: auto;
    overflow: hidden;
    position: relative;
    height: 400px;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
    height: 25rem;
    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{
    padding-top: 2rem;
    padding-bottom: 0;
}
#teaserbox .grid{
    gap: 1rem;
    grid-auto-columns: 1fr;
}
#teaserbox .box{
    text-align: center;
}

.fa-house{
    border-radius: 4rem;
    padding: 1.9rem 1.8rem;
    font-size: 1.1rem;
}
#teaserbox .fa-location-dot{
    padding: 1.9rem 2.1rem;
    border-radius: 4rem;
    font-size: 1.1rem;
}
.fa-user{
    padding: 1.9rem 2rem;
    border-radius: 4rem;
    font-size: 1.1rem;
}
 .box h3{
    font-weight: 100;
}

#teaserbox .box p{
    font-size: 18px;
}
.box {
    grid-row: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    gap: 1rem;
}
#teaserbox .box p,
#teaserbox .box h3 {
    text-align: center;
    padding: 1rem;
    margin: 0;
}
.teaserline{
    border-color: #2e7a7f;
    border-width: 2px;
    width: 15%;
}
.footerline{
    border-color: #2e7a7f;
    border-width: 2px;
    width: 3rem;
    margin-left: 0;
}
.teaserline:hover{
    transition: #2e7a7f 0.3s;
    border-width: 2px;
    width: 4.4rem;
}
.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: calc(1rem + 1vw);
    margin: 0;
}
.form h4 {
    font-size: calc(1rem + .5rem);
    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: 30%;
    flex-direction: column;
    gap: 0;
}
#linkblock li::before {
    content: "•";
}
#selection {
    display: flex;
    align-items: center;
    width: fit-content;
    cursor: pointer;
    gap: 1rem;
}
#selection span {
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 2rem;
}
#selection label {
    cursor: pointer;
}
#more {
    visibility: collapse;
    opacity: 0;
}
.contactbox{
    padding-bottom: 0;
}

/**** SECTION 3: FOOTER ****/
#topfooter{
    padding-bottom: 0;
    padding-top: 1rem;
}
#topfooter .notfall{
    margin: 0;
}
#bottomfooter {
    text-align: center;
    padding-top: .5rem;
    padding-bottom: .5rem;
    height: 40px
}
#bottomfooter p{
    margin: 0;
}
#topfooter .fa-envelope,
#topfooter .fa-phone-flip,
#topfooter .fa-location-dot{
    padding-right: 1rem;
    font-size: 1.4rem;
}
#topfooter p,
#topfooter a{
    font-size: 20px;
}
#topfooter h3{
    font-size: 22px;
}
.date{
    display: flex;
    gap: 4rem;
}
.date-2{
    display: flex;
    gap: 2rem;
}
#fixed-buttons{
    position: fixed;
    margin: 0.2rem 0;
    bottom: 0;
    left: 0;
    display: flex;
    z-index: 4;
    padding: 5px 1rem;
    max-width: 40rem;
    border-radius: 10px;
    gap: 0.3rem;
    display: flex;
    justify-content: start;
    align-items: end;
}
#fixed-buttons button{
    border-radius: 10px;
    padding: 1.2rem 2rem;
    font-size: 18px;
    transition:  .1s;
}
#fixed-buttons button:hover{
    padding: 1.5rem 2.5rem;
}
#fixed-buttons .fa-phone-flip{
    font-size: 1.2rem;
    padding-right: 9px;
}
#fixed-buttons .fa-calendar-plus{
    padding-right: 9px;
}

/* 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%;
}