/*--------------  01 Reset  ---------------*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0; }

/*--------------  02 Basics  ---------------*/
@import url("all.min.css");
@import url("fontawesome.min.css");
@import url("jquery.bxslider.css");
@import url("slick.css");
html,
body {
	height: 100%;
    scroll-behavior: smooth;
}
body {
	line-height: 1.7;
	width: 100%;
    font-family: 'Merriweather', serif;
    font-size: 14px;
    color: #8b2939;
}

.padding {
    padding-top: 100px;
}
html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}
.clearfix {
	clear: both;
	display: block;
}

/*--------------  03 Typografie  ---------------*/
/* merriweather-regular - latin */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/merriweather-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Merriweather Regular'), local('Merriweather-Regular'),
       url('../fonts/merriweather-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/merriweather-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/merriweather-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/merriweather-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/merriweather-v20-latin-regular.svg#Merriweather') format('svg'); /* Legacy iOS */
}

/* merriweather-700 - latin */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/merriweather-v20-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Merriweather Bold'), local('Merriweather-Bold'),
       url('../fonts/merriweather-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/merriweather-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/merriweather-v20-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/merriweather-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/merriweather-v20-latin-700.svg#Merriweather') format('svg'); /* Legacy iOS */
}

/* merriweather-900 - latin */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/merriweather-v20-latin-900.eot'); /* IE9 Compat Modes */
  src: local('Merriweather Black'), local('Merriweather-Black'),
       url('../fonts/merriweather-v20-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/merriweather-v20-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/merriweather-v20-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/merriweather-v20-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/merriweather-v20-latin-900.svg#Merriweather') format('svg'); /* Legacy iOS */
}

h1, h2 {
    font: 400 30px/35px 'Merriweather', serif;
    position: relative;
    margin: 0 0 15px 0;
}
h1:before, h2:before {
    content: "• ";
    left: -20px;
}
h1:after, h2:after {
    content: " •";
    right: -20px;
}
h3 {
    font: 900 20px/25px 'Merriweather', serif;
    margin: 0 0 15px 0;
}
h4 {
    font: 900 16px/20px 'Merriweather', serif;
}
#trauerkutsche h2 {
    font: 900 20px/25px 'Merriweather', serif;
    margin: 0 0 15px 0;
}
#trauerkutsche h2:after,
#trauerkutsche h2:before {
    content: "";
}

b, strong {
    font-weight: 600;
}
a {
    color: #8b2939;
    text-decoration: none;
}
p {
    margin: 0 0 14px 0;
}
.btn {
    background: #8b2939;
    display: inline-block;
    padding: 8px;
    color: #f7eceb;
    border-radius: 6px;
    border: 2px solid #f7eceb;
    margin: 10px 0 15px 0;
    -webkit-transition: linear 0.7s;
    -o-transition: linear 0.7s;
    transition: linear 0.7s;
}
.btn:hover {
    background: #f7eceb;
    color: #8b2939;
    border: 2px solid #8b2939;
    -webkit-transition: linear 0.7s;
    -o-transition: linear 0.7s;
    transition: linear 0.7s;
}


.wrap {
    width: 1300px;
    margin: 0 auto;
}
.wrap-2 {
    max-width: 700px;
    margin: 0 auto;
}
.wrap-3 {
    width: 850px;
    margin: 0 auto;
}
.flex-container {
    display: flex;
}
.top-bar {
    background: #FFF;
    width: 100%;
    font-size: 13px;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}
.top-bar .flex-container {
    justify-content: space-between;
}
.top-bar ul li {
    display: inline-block;
}
.top-bar ul li a {
    font-size: 12px;
}
.top-bar ul li:after {
    content: " • ";
    padding: 0 5px;
}
.top-bar ul li:last-child:after {
    content: "";
}
.banner {
    height: 89vh;
    width: 100%;
    margin-top: 15px;
    background: url(../images/trauerkutsche-ohrdruf-wuerdevolle-bestattungen.jpg) no-repeat center center / cover;
}
.banner .wrap {
    position: relative;
    height: 100%;
}
.logo {
    position: absolute;
    left: 0;
    top: 10%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: url(../images/logo-bg.png) no-repeat;
    width: 272px;
    height: 272px;
}
.logo img {
    max-width: 100%;
    height: auto;
}
.nav-container {
    background: #8b2939;
    padding: 25px 0;
    margin: auto;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: linear 0.7s;
    -o-transition: linear 0.7s;
    transition: linear 0.7s;
}
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9;
}
.nav-container.sticky {
    -webkit-transform: translateY(55px);
    -ms-transform: translateY(55px);
    -o-transform: translateY(455px);
    transform: translateY(55px);
    -webkit-transition: linear 0.7s;
    -o-transition: linear 0.7s;
    transition: linear 0.7s;
}
.nav-container .flex-container {
    justify-content: center;
}
.nav-container button {
    font-weight: 900;
    margin: 0 35px 0 0;
}
nav ul li {
    margin: 0 35px 0 0;
    padding: 0 0 15px 0;
    display: inline-block;
    text-align: center;
    color: #fbfbfb;
}
nav ul li a {
    color: #fbfbfb;
}
nav ul li a.active {
    background: url(../images/active.png) no-repeat center bottom;
    padding: 0 0 15px 0;
}
section {
    padding: 120px 0;
}
#trauerkutsche {
    background: #f7eceb;
    text-align: center;
}
#trauerkutsche .flex-container div {
    width: 50%;
    padding: 10px;
}
#trauerkutsche .flex-container div:nth-of-type(1) {
    text-align: right;
}
#trauerkutsche .flex-container div:nth-of-type(2) {
    text-align: left;
}
#trauerkutsche .wrap-2 {
    margin-top: 60px;
}
.slider {
    margin: 60px 0 0 0;
    width: 100%;
}
.slick-slide img {
    width: 100%;
    height: auto;
}
.slick-arrow {
    position: absolute;
    border: none;
    z-index: 2;
    text-indent: -9999px;
}
.slick-prev {
    background: url(../images/prev-icon.png) no-repeat;
    width: 64px;
    height: 64px;
    left: -32px;
    top: 48%;
}
.slick-next {
    background: url(../images/next-icon.png) no-repeat;
    width: 64px;
    height: 64px;
    right: -32px;
    top: 48%;
}

.spacer {
    margin: 20px auto 40px auto;
    width: 199px;
    height: 19px;
}

#beistand {
    background: #8b2939;
    color: #f7eceb;
    text-align: center;
}
.profil {
    width: 360px;
    position: relative;
    padding: 45px 45px 45px 100px;
    background: #e5c2bf;
    border-radius: 15px;
    border: 4px solid #f7eceb;
    margin: 80px auto 0 auto;
    text-align: left;
    color: #8b2939;
}
.profil img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    position: absolute;
    left: -50px;
    top: 45px;
    border: 4px solid #c1716f;
}
footer {
    background: url(../images/kontakt-wuerdevoller-abschied.jpg) no-repeat center center / cover;
    padding: 120px 0;
}
.col {
    width: 50%;
    float: left;
}
.col:nth-of-type(1) {
    padding-right: 5%;
}
.col:nth-of-type(2) {
    padding-left: 5%;
}
footer .flex-container div {
    width: 50%;   
}
.kontaktformular {
    width: 100%;
    height: 700px;
}
#main-content {
    text-align: center;
}
#galerie {
    padding-top: 60px;
}
.galerie-teaser {
    margin: 20px 0;
    position: relative;
}
.galerie-teaser img {
    width: 100%;
    height: auto;
    display: block;
}
.galerie-teaser .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100%;
    width: 100%;
    background: rgba(229, 194, 191, 0.85);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 18px;
}
.galerie-teaser .btn {
    font-size: 24px;
    background: none;
}
.lpages {
    margin-top: 60px;
}
.lpages li {
    display: inline-block;
    margin: 0 25px 0 0;
}
.zitat {
    margin-bottom: 30px;
    padding: 30px;
    position: relative;
    font-style: italic;
    font-size: 18px;
}
.zitat:before {
    content: "„";
    font-size: 40px;
}
.zitat:after {
    content: "“";
    font-size: 40px;
    display: block;
}
.zitat p {
    margin: 0;
}
cite {
    font-size: 15px;
}
/*--------------  Media Querries (Desktop first)  ---------------*/


@media screen and (max-width: 1300px) {
    .wrap {
        width: 100%;
        padding: 0 5%;
    }
}
@media screen and (min-width: 851px) {
    #nav-btn  {
        display: none;
    }
}
@media screen and (max-width: 850px) {
    .wrap-3, .wrap-2 {
        width: 100%;
        padding: 0 5%;
    }
    .slick-next {
        right: 10px;
    }
    .slick-prev {
        left: 10px;
    }
    .logo {
        left: 5%;
    }
    .flex-container {
        flex-wrap: wrap;
    }
    .col, #trauerkutsche .flex-container div {
        width: 100%;
        padding: 0 !important;
        text-align: center !important;
    }
    #nav-btn {
        display: block;
        padding: 8px;
        color: #8b2939;
        background: #f7eceb;
        border-radius: 6px;
        border: 2px solid #f7eceb;
        font-family: 'Merriweather', serif;
        font-size: 15px;
        font-weight: 900;
    }
    .banner {
        height: 400px;
        margin-top: 55px;
    }
    .nav-container {
        padding: 10px 0;
    }
    nav.flex-container {
        display: block;
    }
    nav #nav-btn {
        margin: auto;
        cursor: pointer;
    }
    .nav-container.sticky {
        -webkit-transform: translateY(55px);
        -ms-transform: translateY(55px);
        -o-transform: translateY(55px);
        transform: translateY(55px);
    }
    nav ul li:nth-of-type(1) {
        display: none;
    }
    nav ul {
        display: none;
    }
    nav #nav-btn.menu-on + ul {
        display: block;
    }
    nav ul li {
        display: block;
        margin: 20px 0;
        cursor: pointer;
    }
}


@media screen and (min-width: 551px) {
    .logo-resp {
        display: none;
    }
}
@media screen and (max-width: 550px) {
    footer .flex-container div {
        width: 100%;
    }
    .logo {
        display: none;
    }
    .logo-resp {
        display: block;
        margin: 0 auto 30px auto;
    }
    .nav-container.sticky {
        -webkit-transform: translateY(78px);
        -ms-transform: translateY(78px);
        -o-transform: translateY(78px);
        transform: translateY(78px);
    }
}
