@import url("reset.css");
@import url("font.css");
@import url("accordion.css");
@import url("magnific-popup.css");
@import url("simple-slider.css");
@import url("simple-popup-gallery.css");
:root {
    --text: #009fe3;
    --primary: #009fe3;
    --primary-transparent: rgb(0, 159, 227, 0.9);
    --secondary: #0081b9;
    --button: #026996;
    --contrast: #026996;
    --bg: #f7fcfe;
    /*=============================*/
    --border-radius: 5px;
    --heading-weight: 400;
    --subheadline-weight: 700;
    --heading-font-family: 'Erica One', serif;
    --regular-font-family: 'Roboto', sans-serif;
    --regular-font-weight: 400;
}

*{
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: var(--regular-font-weight) 16px/160% var(--regular-font-family), sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font: var(--heading-weight) 300%/100% var(--heading-font-family);    
    margin-bottom: 20px;
}

h2 {
    font: var(--heading-weight) 250%/100% var(--heading-font-family);    
    margin-bottom: 20px;
    color: var(--primary)
}

h3 {
    font-family: var(--regular-font-family);
    font-weight: var(--subheadline-weight);
    font-size: 150%;
    line-height: 120%;
    margin-bottom: 10px;
}

h4 {
    font: var(--regular-font-family) 150%/100% var(--subheadline-weight);  
    margin-bottom: 10px;
}

h5{
    font: var(--heading-weight) 120%/100% var(--heading-font-family);   
    margin-bottom: 10px;
}

h6 {
    font: var(--heading-weight) 110%/100% var(--heading-font-family);   
    margin-bottom: 10px;
}

small {
    font-size: 60%;
    color: var(--secondary);
    font-family: var(--regular-font-family);
    font-weight: var(--subheadline-weight);
    display: inline-block;
    line-height: 120%;
}

p {
    margin-bottom: 5px;
}

p b, p strong {
    font-weight: 700;
}

a {
    text-decoration: none;    
	transition: 0.3s;
}


.no-header {
    padding-top: 200px;
}

.noheader-bg{
    background-color: var(--bg);
}

nav {
    position: fixed;
    z-index: 999;    
    top: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    text-align: center;    
    z-index: 9999;
    height: 70px;
    overflow: visible;
}

nav::after{
    content: '';
    display: block;    
    position: relative;
    top: -50px;
    width: 100%;
    z-index: 1;
    aspect-ratio: 10/1;
    background: url('../images/wave-bottom-weiss-nav.svg') no-repeat center top;
    background-size: auto 100%;
    pointer-events: none;
}

nav .container {
    padding-top: 20px;
    padding-bottom: 0;
    flex-wrap: wrap;    
    display: flex;
    justify-content: space-between;
}

nav .span {
    flex-direction: column;
    justify-content: space-between;
    display: none;
    height: 44px;
    width: 55px;
    padding: 10px;
}

nav .span div {
    width: 100%;
    border-bottom: 3px solid var(--primary);
}

button, .btn, .simple-popup .popup .btn {
    border: none;
    background-color: var(--button);
    color: #fff;
    padding: 8px 20px;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    border-radius: var(--border-radius);
    font-size: 100%;
}

button:hover{
    cursor: pointer;
}

.desktop-nav {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 10px 5%;
    text-align: right;
    width: calc(100% - 490px);
}

.logo img {
    width: 470px;
    position: relative;
    z-index: 999;
}

.desktop-nav a {
    padding: 0 10px;
    color: #fff;
    color: var(--primary)
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    background-color: var(--primary);
    background-color: var(--primary-transparent);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
	padding: 12px;
	text-decoration: none;
	font-size: 150%;
	color: #fff;
	display: block;
}

.overlay .closebtn {
    position: absolute;
    font-size: 60px;
}

.overlay .closebtn, nav .span {
    top: 20px;
    right: 5%;
}

.overlay a.closebtn {
    font-weight: 300;
}

.dse{
    font-size: 80%;
    text-align: center;
    position: fixed;
    bottom: 5px;
    right: 5%;
    background-color: var(--contrast);
    border-radius: var(--border-radius);
    color: #fff;
    width: 290px;
    padding: 5px;
}

.dsa-cookie-notice{
    border-radius: var(--border-radius);
}

.dse a {
    color: #fff;
}

.dsa-cookie-notice-close {
	text-transform: none;
	color: #fff !important;
	background-color: var(--button);
	padding: 7px 20px;
	font-weight: 400!important;
	border-radius: var(--border-radius);
}

article {
    width: 100%;
}

.section-4::after {
    content: '';
    pointer-events: none;
    display: block;    
    width: 100%;
    aspect-ratio: 10/1;
    position: relative;
    bottom: -1px;  
    background-color: var(--bg);  
    background: url('../images/wave-bottom-weiss.svg') no-repeat center bottom;
    background-size: auto 100%;
    overflow: hidden;
}

.container {
    padding: 100px 10%;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.signed{    
    margin-top: 30px;    
}

.signature{
    font-family: 'Caveat', cursive;
    font-size: 200%;
    color: var(--secondary);
    display: inline-block;
    margin-top: 20px;
}

.col-2 {
    width: 48%;
}

.col-2-inner{
    width: 50%;
    hyphens: auto;
}

.col-2.flexbox{
    margin-bottom: 20px;
}

.col-2 .pic img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.col-2 .text {
    padding: clamp(20px, 5%, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg);
}

.col-3 {
    width: 33%;
}

.col-4 {
    width: 24%;
}

.col-5 {
    width: 19%;
}

.text-col {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.img-col img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

header {
    width: 100%;
    aspect-ratio: 15/7;
    position: relative;
    top: 50px;
}

header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

header::after{
    pointer-events: none;
    content: '';
    display: block;
    position: absolute;
    aspect-ratio: 10/1;
    inset: auto 0 -1px 0;
    background: url('../images/wave-bottom-hellblau-r.svg') no-repeat center top;
    background-size: auto 100%;
}

article:nth-of-type(odd){
    background-color: var(--bg);
}

article:nth-of-type(even){
    background-color: #fff;
}

.section-intro{
    text-align: center;
    max-width: 1024px;
    margin: auto;   
    display: flex;
    flex-direction: column;
    align-items: center;
}


.picture-box{
    aspect-ratio: 7/4;
}

.text-box{
    padding: 20px;
}

.picture-box img {
    width: 100%;
    border-radius: var(--border-radius);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.parallax {
    background: url('../images/platzhalter.png')no-repeat center/cover;
    background-attachment: fixed;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax h2 {
    color: #fff;
}

p ~ h3 {
    margin-top: 10px;
}

article ul {
    margin-left: 15px;
    margin-bottom: 16px;
}

article ul li {
    list-style: disc;
    margin-bottom: 5px;
}

article ul li::marker{
    color: var(--primary)
}

b {
    font-weight: 700;
    color: var(--primary)
}

.highlight{
    font-style: italic;
    color: var(--primary);
    font-size: 115%;
    line-height: 160%;
    margin-bottom: 20px;
}

/*-------- KONTAKT -------*/

.kontakt .flexbox {
    flex-wrap: nowrap;
}

.kontakt .col-1-3 {
    background-color: var(--primary);
	color: #fff;
	width: 34%;
	padding: 100px 5% 100px 10%;
}

.kontakt .col-1-3 a, .kontakt .col-1-3 b {
    color: #fff;
}

.kontakt .col-2-3 {
	width: 66%;
	padding: 100px 10% 100px 5%;
}

.kontakt .contactblock {
	margin-top: 100px;
}

.kontakt h3{
    color: #fff;
}

.kontakt hr {
	margin: 20px 0;
    color: #fff;
    opacity: 0.4
}

.kontakt ul li::marker{
    color: #fff;
}

/*------ FOOTER ------*/

footer{
    background-color: var(--primary);
    color: #fff;
}

footer h3 {
    color: #fff;
}

footer ul {
    list-style: disc;
    margin-left: 15px;
}

footer p a, footer ul li a {
    color: #fff;
    text-decoration: underline;
}

footer b {
    color: #fff;
}

.sidenav{
    position: fixed;
    right: 5px;
    top: 30%;
    z-index: 9999;
}

.sidenav a, .sidenav button {
    display: block;
    height: 60px;
    width: 60px;
    background-color: var(--button);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    padding: 15px;
    margin-top: 0;
}

.sidenav img {
    height: 100%;
}

.infosite h1{
    flex-basis: 100%;
}

.infosite .container {
    align-items: flex-start;
}

article p a, article ul li a {
    color: var(--primary);
    text-decoration: underline;
}

.kontaktformular h4{
    text-align: center;
    margin-top: 20px;
}

.kontaktformular h5{
    text-align: center;
    margin-top: 20px;
}

.fehlerseite ul li {
    list-style: none;
}


.services-slider, 
.popup-gallery {
    padding: 0 20px;
    margin-top: 20px;
}

.services-slider img,
.popup-gallery img {
    width: 100%;    
    border-radius: var(--border-radius);
}

.popup-gallery .gallery-item {
    padding: 0 5px;
}

.services-slider .col-4{
    margin: 0 5px;
    height: 100%;
}

.popup-gallery .gallery-item:hover{
    cursor: pointer;
}

.services-slider .slick-prev,
.popup-gallery .slick-prev{
    left: 0;
    z-index: 999;
}

.services-slider .slick-prev::before, 
.popup-gallery  .slick-prev::before, 
.services-slider .slick-next::before,
.popup-gallery  .slick-next::before {	
	opacity: 1;
	color: var(--text);
}

.services-slider .slick-next,
.popup-gallery  .slick-next {
    right: 0;
}

/*GALLERY SLIDER*/

.gallery-slider .slider-item{
    aspect-ratio: 7/5;
    overflow: hidden;
}

.gallery-slider .slider-item{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.gallery-slider img {
    width: 100%;
}

.gallery-slider img:hover{
    cursor: pointer;
}

.slider-item{
    padding: 5px;
}

.section-2 .col {
    margin-bottom: clamp(10px, 1%, 10px)
}

.section-2 .col-2:nth-of-type(even){
    flex-direction: row-reverse;    
}

.section-2 .margin-top{
    margin-top: 50px;
}

.slider-container {
    margin-top: clamp(20px, 5%, 50px);
}

.time{
    display: block;
}

.time strong {
    font-weight: 700;
    width: 110px;
    display: inline-block;
}

.time span {
    display: inline-block;
    width: 158px;
}


@media screen and (max-width: 1800px) {
    .col-4 {
        width: 49%;
        margin-bottom: 2%;
    }

    .col-5 {
        width: 32%;
        margin-bottom: 2%;
    }

    .section-7 .flexbox {
        justify-content: center;
        gap: 2%;
    }
}

@media screen and (max-width: 1450px) {
    .col-1-3 {
        width: 40%;
    }

    .col-2-3 {
        width: 60%;
    }

    .col-2-inner {
        width: 100%;
    }

    .section-2 .col-2:nth-of-type(odd),
    .section-2 .col-2:nth-of-type(even) {
        flex-direction: column;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 1250px){
    header {
        aspect-ratio: 3/2;
    }

    nav .span {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }
}

@media screen and (max-width: 1024px) {  

    .no-header {
        padding-top: 150px;
    }

    .col-2 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .col-3 {
        width: 100%;
        margin-bottom: 20px;
    }    

    .container {
        padding: 50px 5%;
    }

    .text-col {
        padding: 20px 0 0 0;
    }

    .sidenav {
        top: auto;
        bottom: 50px;
    }

    .sidenav a, .sidenav button {
        height: 45px;
        width: 45px;
        padding: 11px;
    }

    .col-5 {
        width: 49%;
    }

    .section-2 .col-2:nth-of-type(2n+1){
        flex-direction: row;
        justify-content: space-between;
    }

    .section-2 .col-2:nth-of-type(2n) {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .col-2-inner {
        width: 50%;
    }

    nav{
        height: auto;
        padding-bottom: 20px;
    }

    nav::after {
        display: none;
    }

    .logo img {
        width: 260px;
    }
}

@media screen and (max-width: 830px) {
    .kontakt .flexbox {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .kontakt .col-1-3, .kontakt .col-2-3 {
        width: 100%;
    }

    .kontakt .contactblock {
        margin-top: 50px;
    }

    .kontakt .contactblock:first-of-type {
        margin-top: 0;
    }
}

@media screen and (max-width: 700px) {
    .col-4 {
        width: 100%;
        margin-bottom: 20px;
    }

    h1, h2 {
        font: var(--heading-weight) 190%/100% var(--heading-font-family);
        margin-bottom: 10px;
    }

    h3 {
        font-size: 150%;
    }

    h4 {
        font-size: 120%;
    }

    .kontakt .col-1-3, .kontakt .col-2-3{
        width: 100%;
    }

    .no-header {
        padding-top: 70px;
    }
}

@media screen and (max-width: 600px){
    .col-5 {
        width: 100%;
    }

    .col-2-inner{
        width: 100%;
    }

    .section-2 .col-2:nth-of-type(odd),
    .section-2 .col-2:nth-of-type(even) {
        flex-direction: column;
        justify-content: flex-start;
    }

    .logo img {
        width: 210px;
    }
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}