@import url("reset.css");

/* open-sans-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v44-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/open-sans-v44-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* open-sans-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/open-sans-v44-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-decorative-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cinzel Decorative';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/cinzel-decorative-v19-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-decorative-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cinzel Decorative';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/cinzel-decorative-v19-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/cinzel-v26-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/cinzel-v26-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.dropdown{
    display: none;
}

:root {
    --text: #5e5e5e;
    --white: #fff;
    --main-color: #7f9164;
    --footer: #5e6b49;
}

body {
    font-family: 'Open Sans';
    font-weight: 300;
    font-size: 15px;
    line-height: 24px;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

header {
    background: url(../images/blume-sonnenuntergang.jpg);
    padding: 250px 10% 250px 50%;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
}

.wrapper {
    padding: 100px 10%;
}

nav {
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10%;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 99;
}

nav ul li a:hover,
.dse a:hover {
    color: #c2db9b
}

.button:hover {
    color: #c2db9b;
    border-color: #c2db9b;
}

.logo:hover,
.kontaktieren img:hover {
    opacity: 0.7;
    transition: 0.3s;
}

p {
    padding: 10px 0px;
}

a:hover {
    transition: 0.3s;
}

.flex {
    display: flex;
    align-items: center;
    column-gap: 80px;
}

.col {
    width: 50%;
}

.line {
    width: 100%;
    height: 1px;
    margin: 20px 0px;
    background: var(--text);
}

#impressum a{
    color: var(--main-color);
    text-decoration: underline;
}

strong{
    font-weight: 400;
}

h1,
h2 {
    font-family: 'Cinzel Decorative';
    font-size: 38px;
    padding-bottom: 10px;
    color: var(--main-color);
    line-height: 48px;
}

h3 {
    font-family: 'Cinzel Decorative';
    font-size: 22px;
    line-height: 32px;
}

.subline {
    font-size: 24px;
    padding-bottom: 20px;
    line-height: 34px;
    color: var(--main-color);
}

nav ul {
    display: flex;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding-left: 10px;
}

nav ul li a:before {
    content: '•';
    padding-right: 10px;
}

.logo {
    max-height: 50px;
}

.kontaktieren img {
    max-height: 20px;
    padding-left: 5px;
}

.claim .headline {
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'Open Sans';
    line-height: 30px;
    letter-spacing: 1.5px;
}

.claim {
    font-size: 60px;
    font-family: 'Cinzel Decorative';
    line-height: 70px;
    padding-bottom: 20px;
}

.button {
    font-size: 18px;
    line-height: 28px;
    padding: 10px 20px;
    display: inline-block;
    font-family: 'Open Sans';
    text-transform: none;
    border: 1px solid #fff;
    margin-top: 30px;
    color: var(--white);
    text-decoration: none;
    border-radius: 100vh;
}

#ueber-uns {
    background: url(../images/waldlichtung.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0px 10%;
}

#ueber-uns .box {
    padding: 150px;
    background: var(--white);
}

.ornament-links-oben,
.ornament-links-unten,
.ornament-rechts-oben,
.ornament-rechts-unten {
    position: absolute;
    padding: 20px;
}

.ornament-rechts-oben,
.ornament-rechts-unten {
    right: 10%;
}


.ornament-links-unten,
.ornament-rechts-unten {
    margin-top: -230px;
}

.lilie {
    margin-bottom: 10px;
    height: 80px;
}

#quote {
    font-family: 'Cinzel';
    font-size: 30px;
    line-height: 40px;
    color: var(--white);
    background: var(--main-color);
    padding: 100px 20%;
    text-align: center;
}

.relative {
    position: absolute;
    right: 0px;
    height: 200px;
    margin-top: -100px;
}

#an-ihrer-seite,
#bestattungsvorsorge {
    background: url(../images/background.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

#an-ihrer-seite img {
    width: 70%;
    height: 600px;
    object-fit: cover;
}

#an-ihrer-seite .absolut {
    position: relative;
    width: 30%;
    margin-left: -150px;
    height: 250px;
    object-fit: cover;
    margin-top: 450px;
    border-top: 5px solid #fff;
    border-left: 5px solid #fff;
}

.accordion {
    background-color: transparent;
    color: var(--main-color);
    border: none;
    border-bottom: 2px solid #d9d9d9;
    cursor: pointer;
    padding: 18px 0px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 18px;
    font-family: 'Open Sans';
    font-weight: 400;
    transition: 0.4s;
}

.active,
.accordion:hover {
    color: #475238
}

.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    background-color: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#bestattungsarten {
    text-align: center;
    background: rgba(127, 145, 100, 0.15)
}

.ornamental {
    margin-bottom: 10px;
    max-width: 250px;
}

.multiple-items {
    display: flex;
    align-items: stretch;
}

.multiple-items .box {
    background: var(--main-color);
    margin: 0px;
    color: #fff;
}

.border {
    padding: 30px;
}

.multiple-items .icon {
    width: 60px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.modaloverlay h3 {
    font-size: 30px !important;
    padding-bottom: 20px;
    text-align: center;
    text-transform: inherit;
}

.modaloverlay {
    background: rgba(0, 0, 0, 0.8);
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    text-align: left;
    z-index: 99999;
    display: none;
}

.modaloverlay:target {
    display: block;
    opacity: 1;
    pointer-events: auto;
    z-index: 9999999;
}

.schliessen{
    position: fixed;
    top: 0;
    right: 0;
    background: #6e7e56;
    color: #fff
}

.modaloverlay .modals {
    background-color: white;
    position: relative;
    padding: 3em;
    overflow-y: scroll;
    height: 55vh;
    margin-left: 5%;
    z-index: 9999;
    width: 50%;
    margin-top: 20vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.modals h3 {
    color: var(--main-color);
    font-size: 40px;
}

.modals p {
    font-size: 16px;
    line-height: 23px;
    text-align: center;
}

.modaloverlay a {
    color: #000;
    text-decoration: none;
}

.modaloverlay .close {
    background-color: var(--main-color);
    color: white;
    font-size: 24px;
    padding: 8px 12px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: 0;
    z-index: 1;
}

.cta {
    background: rgba(71, 82, 56, 0.5);
    padding: 5px 10px;
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    margin-top: 10px;
}

.cta:hover {
    background: #475238;

}

.multiple-items {
    margin-top: 20px;
}

.slick-slide div {
    border: 0.1px solid rgba(255, 255, 255, 0.24);
    height: 100%;
}

#parallax {
    font-family: 'Cinzel';
    font-size: 40px;
    text-align: center;
    line-height: 50px;
    padding: 150px 20%;
    color: var(--white);
    background: url(../images/steg-sonnenuntergang.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-transform: uppercase;

}

#bestattungsvorsorge {
    background-attachment: inherit;
}

span {
    font-weight: 400;
    font-style: italic;
}

#bestattungsvorsorge .absolute {
    position: absolute;
    margin-top: 400px;
    height: 300px;
    width: 15%;
    object-fit: cover;
    margin-left: 4%;
}

#bestattungsvorsorge .fix {
    width: 75%;
    margin-left: 25%;
    height: 550px;
    object-fit: cover;
}

#kontakt {
    background: url(../images/hintergrund-kontakt.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
}

#kontakt h2 {
    color: var(--white);
}

#kontakt .col-1 {
    width: 45%;
    padding: 100px 50px 100px 10%;
}

#kontakt .col-2 {
    width: 40%;
    padding: 100px;
    background: var(--main-color);
    align-content: center;
}

#kontakt iframe {
    width: 100%;
    height: 550px;
}

#kontakt .flex {
    align-items: stretch
}

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

.kontaktdaten {
    background: var(--footer);
    color: var(--white);
}

.kontaktdaten .flex {
    justify-content: space-between;
}

.lines {
    background: var(--white);
    width: 1px;
    height: 150px;
}

.dse {
    background: #4b553b;
    color: var(--white);
    font-size: 13px;
}

.dse a {
    color: var(--white);
    text-decoration: none;
}

.dse .flex {
    column-gap: 10px !important;
    justify-content: center
}

.trennlinie {
    width: 1px;
    background: var(--white);
    height: 20px;
}

/*---------------------------------------
MEDIA Queries | Tablet | Phone
---------------------------------------*/

@media screen and (max-width: 1200px) {
    nav {
        padding: 10px 5%;
    }
    
    .modaloverlay .modals{
        height: 60vh;
        width: 70%;
    }

    header {
        padding: 200px 20% 200px 20%;
    }

    .flex {
        display: block;
    }

    .col {
        width: 100%;
        padding: 20px 0px;
    }

    #an-ihrer-seite img {
        width: 70%;
        height: 400px;
        max-width: 400px;
    }

    #an-ihrer-seite .absolut {
        width: 30%;
        margin-left: -50px;
        height: 150px;
        margin-top: 10px;
    }

    #bestattungsvorsorge .fix {
        margin-left: 0%;
        height: 350px;
        max-width: 500px;
    }

    #bestattungsvorsorge .absolute {
        display: none;
    }

    #kontakt .col-1 {
        width: 90%;
    }

    #kontakt .col-2 {
        width: 100%;
        padding: 50px 10%;
    }

    .lines {
        width: 100%;
        height: 1px;
        margin: 50px 0px;
    }

    .dse .flex {
        display: flex !important;
    }

    .relative {
        height: 150px;
    }

    #quote,
    #parallax {
        padding: 100px 10%;
    }
    #ueber-uns .box{
        padding: 100px;
    }
        nav ul {
        display: none;
    }
    	.dropbtn {
		background-color: var(--main-color);
		color: white;
		padding: 0px;
		font-size: 38px;
		border: none;
		cursor: pointer;
	}

	.dropdown {
		position: fixed;
		top: 10px;
		right: 4%;
		display: inline-block;
		z-index: 99999;
		margin-left: auto;
		margin-right: auto;
	}
        nav {
        padding: 10px 15% 10px 5%;
    }

	.dropdown-content { 
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		text-align: center;
		padding-top: 15vh;
		background-color: rgba(47, 47, 47, 0.9);
		min-width: 160px;
		overflow: auto;
		box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
		z-index: 1;
	}

	.dropdown-content a {
		color: #fff;
		padding: 12px 16px;
		text-decoration: none;
		display: block;
	}

	.dropdown a:hover {
		background-color: rgba(0, 128, 0, 0.19);
	}

	.show {
		display: block;
	}
}

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

    .ornament-links-oben, .ornament-links-unten, .ornament-rechts-oben, .ornament-rechts-unten{
        display: none;
    }
    #ueber-uns .box{
        padding: 50px;
    }
    .relative{
        display: none;
    }
    h1, h2{
        font-size: 30px;
        line-height: 40px;
    }
        #bestattungsvorsorge .fix {
        height: auto;
    }
        .dse .flex {
        display: block!important;
        text-align: center;
    }
    .trennlinie{
        display: none;
    }
    .wrapper {
    padding: 100px 5%;
}
    #ueber-uns{
        padding: 0px 5%; 
    }
    .dse a {
    padding: 0px 10px;
}
    .modaloverlay .modals{
        height: 70vh;
        width: 80%;
        margin-top: 15vh;
    }
        header {
        padding: 200px 10% 200px 10%;
    }
}
