@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: #000;
    --primary: #aa5719;
    --primary-transparent: rgba(170, 87, 25, 0.9);
    --secondary: #aa5719;
    --button: #000;
    --contrast: #aa5719;
    --grey: #ebebeb;
    /*=============================*/
    --border-radius: 2px;
    --heading-weight: 600;
    --heading-font-family: 'Poppins', serif;
    --regular-font-family: 'Poppins', sans-serif;
    --regular-font-weight: 300;
}

*{
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden;
    hyphens: auto;
    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;
    text-transform: uppercase;
}

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

h3 {
    font: var(--heading-weight) 140%/100% var(--heading-font-family);  
    margin-bottom: 5px;
}

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: 400;
    text-transform: none;
    display: inline-block;
    line-height: 120%;
    margin-top: 20px;
}

p {
    margin-bottom: 5px;
}

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;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background-color: #fff;
    padding: 0 5%;
}

.nav-content{
    display: flex;
    justify-content: space-between;
    position: relative
}

.logo{
    padding: 20px 0;
}

.nav-icons{
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 0;
}

.nav-icons img:hover{
    cursor: pointer;
    filter: brightness(90%);
    transition: 0.5s;
}

.nav-icons img{
    transition: 0.5s;
    margin-left: 5px;
}

.nav-icons a:hover{
    opacity: 1;
    filter: brightness(90%);
}

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

aside .btn.secondary {
    padding: 0;
    font-weight: 700;
}

button:hover{
    cursor: pointer;
}

.desktop-nav {
    width: 100%;
    padding: 10px 5%;
}

.desktop-nav a {
    padding: 0 10px;
    color: #fff;
    text-transform: uppercase;
}

.overlay {
    height: 100%;
    width: 0;
    max-width: 320px;
    position: fixed;
    z-index: 9999;
    right: 0;
    top: 0;
    background-color: #000;
    overflow-x: hidden;
    transition: 0.5s;
}

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

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

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

.overlay .closebtn {
    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: #000;
    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);
}

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

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

header {
    width: 100%;   
    margin-top: 110px;
    background: linear-gradient(45deg, rgba(0,0,0,0.3),rgba(0,0,0,0)), url('../images/header.jpg')no-repeat center/cover;
    padding: 100px 10%;
    position: relative;
    height: 70vh;
}

h1 {
    font-size: 90px;
}

header h1, header p {
    color: #fff;
}

.square{
    aspect-ratio: 1;
    height: 70%;
    border: 5px solid #fff;
    border-right: none;
    position: absolute;
    z-index: 999;
    top: 50%;
    transform: translateY(-50%);
}

.square-text{
    position: absolute;
    z-index: 9999;
    top: 50%;
    transform: translateY(-50%);
    padding: 50px 5%;
    max-width: 1000px;
}


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

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

.pic-boxes .col  {
    border: 2px solid #f5f8fa;
    border-radius: var(--border-radius);
}

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

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

.text-box{
    padding: 20px;
}

.picture-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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;
}

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

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

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

footer h3 {
    color: #fff;
}

footer b {
    color: #fff;
}

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

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

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

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

article.why {
    background-color: var(--primary);
    color: #fff;
}

article.why p{
    color: #fff;
}

.check-box{
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.check-box img {
    width: 44px;
    height: 44px;
    margin-right: 15px;
}

.flexbox.max-width{
    margin: auto;
}

.max-width{
    max-width: 1500px;
}

img.imagefit {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog .col{
    background-color: #fff;
}

article.bewertungen{
    background-color: #000;
    color: #fff;
}

.bewertung{
    text-align: center;
}

.bewertung p {
    color: #fff;
}

.bewertung h4 {
    font-weight: 400;
    font-size: 14px;
}

.kontakt h4{
    color: var(--primary);
    font-size: 20px;
}

.col-1-3{
    width: calc(100% / 3);
    padding: 100px 5% 100px 10%;
}

.kontakt .col-1-3 p{
    color: #fff;
}

.col-2-3{
    width: calc(100% / 3 * 2);
    padding: 100px 10% 100px 5%;
}

.kontakt .col-1-3{
    background-color: #000;
    color: #fff;
}

.kontakt hr {
    margin: 20px 0;
}

.contactblock{
    margin-top: 100px;
}

.questionmark{
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

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

.kontakt .flexbox {
    display: flex;
}


/*---BLOG---*/

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

.blog-page h1 small,
.blog-page h2 small,
.blog-page h3 small,
.blog-page h4 small,
.blog-page h5 small,
.blog-page h6 small{
    color: var(--primary)
}

.blog-page h1{
    font-size: 300%;
}

.blog-page h2{
    font-size: 200%;
    margin-top: 30px;
}

.blog-page h3{
    font-size: 160%;
    margin-top: 30px;
}

.blog-page h4{
    font-size: 150%;
    margin-top: 20px;
}

.blog-page h5{
    font-size: 140%;
    margin-top: 20px;
}

.blog-page .section-2 h5 {
	font-size: 120%;
	margin-top: 20px;
}

.blog-page .section-2 .flexbox {
	justify-content: flex-start;
    gap: 0.5%;
}

.blog-page h6{
    font-size: 120%;
    margin-top: 20px;
}

.textbereich{
    width: calc(100% - 320px);
    max-width: 1500px;
}

.textbereich img {
    width: 100%;
    margin-bottom: 30px;
}

.textbereich ul {
    margin-top: 30px;
    margin-bottom: 30px;
}

.section-2 h5 {
    font-weight: 300;
}

aside{
    width: 320px;
    background: #000;
    padding: 200px 30px;   
}

aside ul {
    margin-left: 0;
    margin-top: 30px;
}

aside h5 {
    color: #fff;
}

aside ul li a {
    color: #fff;
    text-decoration: none;
}

aside ul li{
    list-style: none;
}

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

@media screen and (orientation: landscape){
    header {
        min-height: 750px;
    }
}

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

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

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

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

@media screen and (max-width: 1024px) {
    .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;
    }

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

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

    .col-5 {
        width: 49%;
    }

    .logoline{
        height: 120px;
    }

    .flexbox.max-width .col-2 {
        margin-bottom: 0;
    }   

    .kontakt .col-1-3,
    .kontakt .col-2-3{
        padding: 100px 5%;
    }

    h1 {
        font-size: 50px;
    }

    header {
        padding: 100px 5%;
    }


    .blog-page h1{
        font-size: 200%;
    }

    .blog-page h2{
        font-size: 180%;
    }

    aside {
        width: 240px;
    }

    .textbereich {
        width: calc(100% - 240px);
    }

    aside ul li a {
        font-size: 14px;
    }

    .blog-page aside h5 {
        font-size: 16px;
    }
}

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

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

    .contactblock {
        margin-top: 60px;
    }

    .textbereich, aside {
        width: 100%;
        max-width: none;
    }

    aside{
        padding: 50px 5%
    }

    aside ul {
        display: flex;
        flex-wrap: wrap;
    }

    aside ul li {
        margin-right: 20px;
    }
}

@media screen and (max-width: 700px) {
body {
    hyphens: auto;
}

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

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

    h3, h4 {
        font-size: 110%;
    }

    .logo {
        padding: 10px 0;
    }

    .logo img {
        width: 250px;
    }   

    .nav-icons img {
        width: 60px;
    }

    header {
        margin-top: 70px;
        min-height: 700px;
    }

    .square {
        height: 50%;
    }
}

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

@media screen and (max-width: 450px){
    .logo img {
        width: 200px;
    }

    .nav-icons a {
        display: none;
    }

    .nav-icons img {
        width: 50px;
    }

    header {
        margin-top: 65px;
    }
}

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