@import url("reset.css");
@import url("font.css");
@import url("accordion.css");
@import url("simple-slider.css");
@import url("simple-popup.css");
@import url("simple-popup-gallery.css");
:root {
    --text: #222222;
    --primary: #6f435b;
    --primary-d: #553848;
    --primary-transparent: rgba(111, 67, 91, 0.9);
    --secondary: #9d985d;
    --button: #9d985d;
    --button-s: #b8b58b;
    --contrast: #86803a;
    --grey: #f9f8f9;
    /*=============================*/
    --border-radius: 5px;
    --heading-weight: 500;
    --heading-font-family: 'Exo 2', serif;
    --regular-font-family: 'Exo 2', sans-serif;
    --regular-font-weight: 300;
}

*{
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
}

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

h1 {
    font: var(--regular-font-weight) 250%/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)
}

h2 small {
    color: var(--text)
}

h3 {
    font: var(--heading-weight) 200%/100% var(--heading-font-family);  
    margin-bottom: 10px;
    color: var(--primary)
}

h4 {
    font: var(--heading-weight) 150%/100% var(--heading-font-family);  
    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: 50%;
    font-family: var(--regular-font-family);
    font-weight: var(--regular-font-weight);
    display: inline-block;
    line-height: 120%;
}

p {
    margin-bottom: 10px;
}

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

a:hover {
    opacity: 0.5;
}

.dsa-secure-plugin a:hover {
    opacity: 1;
}

nav {
    z-index: 99999;
    position: fixed;
    top: 0;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    border-bottom: 3px solid var(--primary-d);
}

nav.container {
	padding-top: 10px;
	padding-bottom: 10px;
	align-items: center;
}

.quick-info {
    z-index: 99;
    position: fixed;
    top: 100px;
    width: 100%;
}

.quick-info .btn {
    background-color: var(--primary-d);
    margin-left: 5px;
    font-size: 14px;
}

.quick-info img{
    max-width: 15px;
    position: relative;
    bottom: -2px;
}

.quick-info .container {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    justify-content: flex-end;
}

.logoline{
    width: 100%;
    max-width: 380px;
}

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);
}

.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%;
}

.btn.secondary, .simple-popup .popup .btn.secondary {   
    background-color: var(--button-s);
}

.desktop-nav {
    width: 100%;
    max-width: calc(100% - 380px); 
    display: flex;
    align-items: center;  
}

.desktop-nav a {
    padding: 0 10px;
    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;    
    background-color: var(--primary-d);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    color: #fff;
    width: 290px;
    padding: 5px;
    position: absolute;
    right: 10%;
    bottom: 0;
}

footer{
    border-bottom: 5px solid var(--primary-d);
    position: fixed;
    inset: auto 0 0 0;
}

footer .container {
    padding-bottom: 0;
    padding-top: 0;
    position: relative;
}


.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);
}

.small-dialog {
    background: white;
    padding: 20px 30px;
    text-align: left;
    max-width: 400px;
    margin: 40px auto;
    position: relative;
}

.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;



    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;

    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);

    opacity: 0;
}

.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

article {
    width: 100%;
}

.container {
    padding: 100px 10%;
}

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

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

.with-icons {
    text-align: center;
}

.with-icons .col{   
    display: flex;
    flex-direction: column;
    align-items: center;    
}

.with-icons .frame{
    width: 150px;
    height: 150px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1000px;
    background-color: #fff;
    margin: 20px 0 0 0;
}

.with-icons img.icon {
    width: 100%;
}

.col-2 {
    width: 48%;
}

.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: 1920/700;
    background: url('../images/header.jpg') no-repeat center/cover;
    margin-top: 120px;
}

.intro {
    background-color: var(--primary);
    color: #fff;
    text-align: center;
}

.intro p {
    max-width: 1024px;
    margin: auto;
}

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

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

article:nth-of-type(even) .col-3 .text-box{
    background-color: var(--grey);
}

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

.pic-boxes .col  {        
    border-radius: var(--border-radius);
}

.pic-boxes img {
    display: block;
}

.pic-boxes h3 {
    text-align: center;
    flex-basis: 100%;
}

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

.text-box{
    background-color: #fff;
}

.text-box .content{
    padding: 20px;
}

.text-box h3{
    background-color: var(--primary);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.text-box h4 {
    color: var(--primary);
    font-weight: var(--heading-weight);
    font-size: 120%;
    margin-top: 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/parallax-1.jpg')no-repeat center/cover;
    background-attachment: fixed;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax-2 {
    background: url('../images/parallax-2.jpg')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)
}

.kontaktformular h4 {
    flex-basis: 100%;
}

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


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

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

main.no-header{
    margin-top: 120px;
}

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 img {
    width: 100%;
}

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

.slider-item{
    padding: 5px;
}

/*----------------*/

.icon-slides{
    padding: 0 20px;
    margin-top: 20px;
}

.icon-slides a {
    padding: 0 5px;
}

.icon-slides .slick-prev {
    left: 0;
    z-index: 999;
}

.icon-slides .slick-prev::before, 
.icon-slides .slick-next::before {	
	opacity: 1;
	color: var(--text);
}

.icon-slides .slick-next {
    right: 0;
}

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

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

.pic-boxes{
    margin-top: clamp(20px, 5%, 40px);
}

.slider-container .pic-boxes {
    margin-top: 0;
}


/*CUSTOM SECTIONS*/

.ueber-mich h3 {
    font-size: 120%;
}

.col-pic-col{
    width: 100%;
    max-width: 135px;    
}

.col-pic-col img {
    border-radius: var(--border-radius);
}

.col-without-pic{
    width: 100%;
    max-width: calc(98% - 135px);
}

.ueber-box{
    background-color: var(--grey);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.more-text {
    display: none;
  }

  .read-more-btn {
    cursor: pointer;
  }

button.read-more-btn{
    background-color: transparent;
    color: var(--primary);
    border: none;
    display: inline;
}

/*----------------*/

.landingpage-list a{
    color: #fff;
    text-decoration: underline;
}

@media screen and (orientation: portrait){
    header {
        aspect-ratio: 1/1;
    }
}

@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: 1500px) {
    .logoline {
        max-width: 200px;
    }

    header {
        margin-top: 70px;
    }

    main.no-header{
        margin-top: 70px;
    }

    .desktop-nav {
        max-width: calc(100% - 200px);
    }

    .quick-info {
        top: 60px;
    }
}

@media screen and (max-width: 1200px) {
    nav .span {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .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;
    }    

    .col-5 {
        width: 49%;
    }

    body {
        font-size: 16px;
        hyphens: auto;
    }
}

@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%;
    }  

    .ueber-mich .container.flexbox{
        flex-direction: column;
    }

    .col-pic-col{
        margin-bottom: 10px;
    }

    .col-pic-col, .col-without-pic {      
        max-width: none;
    }

    .quick-info i {
        display: none;
    }
}

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

/* 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;
    }
}