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

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

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

/* dynalight-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: 'Dynalight';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/dynalight-v24-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --primary: #77a552;
    --secondary: #fcf6e9;
    --akzent: #d67a19;
    --link: #77a552;
    --text: #4D4D4D;
    --bgcolored: #f0e5da;
    --bgdark: #e5d5c4;
    --footer: #77a552;
    --white: #FFF;
}

html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    hyphens: none;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: var(--text);
    background-color: var(--secondary);
}

h1 {
    font-family: 'Dynalight';
    letter-spacing: -.02em;
    position: absolute;
    left: 50%;
    top: 16%;
    transform: translateX(-50%);
    font-size: clamp(5.5rem, 14vw, 7.5rem);
    line-height: clamp(0.8em, 9vw, .9em);
    color: var(--white);
    text-align: center;
    text-shadow: 0px 0px 12px #0007;
    width: calc(100% - 40px);
    max-width: 800px;
}

h2 {
    font-family: 'Dynalight';
    letter-spacing: -.02em;
    font-size: clamp(3.5rem, 10vw, 4.25rem);
    line-height: 1em;
    color: var(--primary);
    text-align: center;
    max-width: 600px;
    margin: 0px auto 40px;
}

h3 {
    font-family: 'Dynalight';
    letter-spacing: -.02em;
    font-size: clamp(2.75rem, 8vw, 3.5rem);
    line-height: 1em;
    color: var(--primary);
    max-width: 600px;
    margin: 0;
}

h4 {
    font-family: 'Dynalight';
    letter-spacing: -.02em;
    font-size: 2.75rem;
    line-height: 1em;
    color: var(--primary);
}

.standard h2,
.standard h3,
.standard h4 {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1.4em;
    font-weight: 600;
}

.standard h2 {
    font-size: 2.25rem;
    text-transform: uppercase;
}

p,
ul,
ol {
    font-size: 1.2rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: left;
    line-height: 1.6em;
}

ul,
ol {
    line-height: 1.2em;
    margin-left: 20px;
    list-style: square;
}

li {
    margin-bottom: 20px;
}

li span {
    color: var(--primary);
}

li::marker {
    color: var(--primary);
}

a {
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: var(--link);
    text-decoration: none !important;
    letter-spacing: 0.4px;
}

a:hover,
a:visited,
a:active,
a:focus {
    text-decoration: none !important;
    color: var(--link);
    outline: none !important;
}

img {
    width: 100%;
    border-radius: 5px;
}

/* +++++++++++++++++ Layout +++++++++++++++++ */
.wrapper {
    background-color: var(--white);
    margin: 0px auto 0px;
}

section {
    position: relative;
    margin: 80px 0px;
}

section.bg_colored {
    background-color: var(--secondary);
}

section.bg_colored.welle_top {
    padding: 0;
}

.content {
    width: calc(100% - 80px);
    max-width: 1140px;
    margin: 0px auto;
}

section.bg_colored .content {
    padding: 80px 0;
}

.sprungmarke {
    position: absolute;
    top: 0px;
}

.zentriert {
    text-align: center;
}

p.zentriert {
    max-width: 800px;
    margin: 40px auto;
}

.zweispalter_drittel_rechts {
    display: grid;
    grid-template-columns: 4fr 3fr;
    grid-gap: 40px;
    align-items: center;
}

.zweispalter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    align-items: center;
}

.margintop0 {
    margin-top: 0px !important;
}

.margintop20 {
    margin-top: 20px !important;
}

.marginbottom0 {
    margin-bottom: 0px !important;
}

.marginbottom20 {
    margin-bottom: 20px !important;
}

.marginbottom40 {
    margin-bottom: 40px !important;
}

.marginbottom120 {
    margin-bottom: 120px !important;
}

.maxwidth600 {
    max-width: 600px;
    margin: auto;
}

div.button {
    position: relative;
    background-color: var(--primary);
    padding: 5px 30px 8px;
    margin-top: 40px;
    width: fit-content;
}

.button_hover {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: right;
    background-color: var(--akzent);
    width: 0%;
    height: 100%;
    transition: .5s;
}

div.button:hover .button_hover {
    width: 100%;
    transition: .5s;
}

div.button a {
    position: relative;
    z-index: 10;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 400;
}

div.button.zentriert {
    margin: 60px auto 0;
    width: 100%;
    max-width: 400px;
}

div.kleiner_text p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.3em;
}


/* +++++++++++++++++ Navigation +++++++++++++++++ */

nav {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 10000;
    transition: .7s;
}

nav.scrolled {
    background-color: #fff;
    box-shadow: 0px 8px 12px #0001;
    transition: .7s;
}

nav .content {
    display: grid;
    grid-template-columns: 190px 1fr;
    grid-gap: 20px;
    max-width: 1140px;
    height: 80px;
    margin: auto;
    padding: 0px;
}

.navigation {
    justify-self: end;
}

#hauptnavi.active {
    display: flex;
    grid-gap: 10px;
    justify-content: center;
    align-content: center;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

ul#hauptnavi {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 50px;
    justify-items: right;
}

#hauptnavi li {
    display: inline-block;
    margin-top: 10px;
}

#hauptnavi li a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    padding: 5px 0;
    text-transform: uppercase;
    transition: .5s;
}

nav.scrolled #hauptnavi li a {
    font-size: 1.2rem;
    color: var(--primary);
    text-shadow: none;
    transition: .5s;
}

#hauptnavi li a:hover {
    border-top: 1px solid var(--secondary);
    border-bottom: 1px solid var(--secondary);
    border-color: var(--secondary);
    transition: .5s;
}

.hamburger {
    display: none;
    align-content: center;
    justify-content: center;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    width: 36px;
    height: 36px;
    padding: 2px;
    transition: .3s;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: var(--secondary);
    margin: 2px;
    transition: .3s;
}

.hamburger:hover {
    background-color: var(--secondary);
    transition: .3s;
}

.hamburger:hover span {
    background-color: var(--primary);
    transition: .3s;
}

/* +++++++++++++++++ Navigation Mobile +++++++++++++++++ */

@media(max-width:1040px) {
    .hamburger {
        display: grid;
        margin-top: 22px;
    }

    ul#hauptnavi {
        display: none;
    }

    #hauptnavi.active {
        display: block;
        position: absolute;
        left: 0px;
        width: 100%;
        margin: 0px;
        padding-top: 60px;
        background-color: #fff;
        box-shadow: 0px 8px 12px #0001;
    }

    #hauptnavi li {
        display: block;
    }

    #hauptnavi li a {
        display: inline-block;
        width: calc(100% - 40px);
        text-align: center;
    }

    nav {
        background-color: #fff;
        box-shadow: 0px 8px 12px #0001;
    }

}

/* +++++++++++++++++ Content +++++++++++++++++ */

.logocontainer {
    z-index: 10000;
}

p.logo {
    letter-spacing: -.02em;
    color: var(--white);
    font-size: 1rem;
    line-height: 2.2em;
    text-align: center;
    font-weight: 600;
    background-color: var(--primary);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0px 8px 12px #0005;
    margin: 15px 0px;
}

p.logo span {
    font-family: 'Dynalight';
    font-size: 3.4rem;
    text-transform: none;
    font-weight: 300;
}

.section-divider {
    position: absolute;
    bottom: -10px;
    width: 10%;
}

.section-divider.top {
    top: -40px;
    bottom: unset;
    transform: rotate(180deg) scaleX(-100%)
}

.section-divider svg {
    color: var(--white);
}

.keyvisual {
    margin: 0px;
    height: 800px;
    background-image: linear-gradient(to bottom, #0006 0%, #0000 20%),
        url("../img/keyvisual_startseite.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.keyvisual .content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
}

hr.trenner {
    border: none;
    height: 3px;
    width: 250px;
    margin: 50px auto 60px;
    background: var(--primary)
}

hr.rechts {
    margin: 40px 0;
}

p.einleitung {
    font-size: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0px auto 0px;
}

.wave-text .word {
    display: inline-block;
    white-space: nowrap;
}

.wave-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: waveIn 0.3s ease-out forwards;
    animation-play-state: paused;
}

.wave-text.is-visible .char {
    animation-play-state: running;
}

@keyframes waveIn {
    0% {
        opacity: 0;
        transform: translate(-20px, 10px);
    }

    60% {
        opacity: 1;
        transform: translate(0px, -10px);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.content.slider_hausansichten {
    background-color: var(--white);
    padding-bottom: 60px;
}

section.trennerbild {
    margin: 0;
}

section.trennerbild .section-divider {
    bottom: -10px;
}

.trennerbild div.parallaxbild {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0px auto 40px;
    overflow: hidden;
    background-image: linear-gradient(#0003), url('../img/IMG_0561.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h2.auf_bild {
    font-size: clamp(5rem, 12vw, 6.5rem);
    line-height: .9em;
    color: var(--white);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    text-shadow: 0px 0px 12px #0004;
    width: calc(100% - 80px);
    max-width: 800px;
}

h3.zentriert {
    margin: auto;
    max-width: 900px;
    margin-bottom: 40px;
}

.kacheln {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 40px;
}

.kacheln .kachel_einzeln {
    position: relative;
    width: calc(33.33% - 27px);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.kacheln .kachel_einzeln .kachelbild {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.kacheln .kachel_einzeln .kachelbild img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.kacheln .kachel_einzeln h4 {
    font-size: 1.2rem;
    line-height: 1.2em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: 20px;
}

.kacheln .kachel_einzeln p {
    font-size: 1rem;
}

.kacheln .kachel_einzeln .button {
    position: absolute;
    bottom: 0px;
}

.trennerbild div.parallaxbild.buchen {
    background-image: linear-gradient(#0003), url('../img/IMG_3577.jpg');
}

.standard .content {
    max-width: 840px;
}

/* +++++++++++++++++ Preistabelle +++++++++++++++++ */

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--secondary);
    border-radius: 5px;
    transition: 0.3s ease;
}

.pricing-row span {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 4px;
}

.pricing-row strong {
    font-size: 1.1rem;
}


/*  Responsive Layout */
@media (max-width: 768px) {

    .pricing-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pricing-row div {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .pricing-row div:last-child {
        border-bottom: none;
    }

}

/* +++++++++++++++++ Formular +++++++++++++++++ */

label {
    font-size: 1rem !important;
    font-weight: 400 !important;
}

.wpbc_container_booking_form .wpbc__field:not(.wpbc__cal) {
    margin: 0px !important;
}

.wpbc_container.wpbc_container_booking_form .wpbc_button_light {
    font-size: 1.2rem !important;
    border-radius: 0px !important;
    color: var(--white) !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
    background-color: var(--primary) !important;
    padding: 5px 30px 8px !important;
    margin-top: 20px !important;
    width: fit-content !important;
    border: none !important;
    transition: .3s;
}

.wpbc_container.wpbc_container_booking_form .wpbc_button_light:hover {
    background-color: var(--akzent) !important;
    transition: .3s !important;
}

textarea {
    font-size: 1rem !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
}

/* +++++++++++++++++ Slider +++++++++++++++++ */

.slider {
    width: calc(100% - 110px);
    max-width: 1040px;
    margin: 30px auto;
    padding-bottom: 0px;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slick-prev::before,
.slick-next::before {
    content: "" !important;
    background-image: url(../img/sliderpfeil.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    width: 40px;
    height: 50px;
    display: block;
    margin-left: -45px;
}

.slick-next::before {
    transform: rotate(180deg);
    margin-left: 20px;
}

.slick-prev,
.slick-next {
    top: calc(50% - 10px);
}

.slick-initialized .slick-slide {
    display: flex;
    justify-content: center;
    align-self: center;
    height: 300px;
    overflow: hidden;
}

.slick-dots {
    position: ;
    bottom: -65px;
}

.slick-dots li.slick-active button::before {
    opacity: .75;
    color: var(--gruen);
}

.slick-dots li button::before {
    width: 10px;
    height: 10px;
    content: '';
    background-color: var(--primary);
    margin: 2px;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 10px;
    margin: 0 2px;
    padding: 0;
    cursor: pointer;
}

.slick-slide {
    padding: 0px 20px;
    height: auto;
}

.slick-track {
    display: flex;
}

/* +++++++++++++++++ footer +++++++++++++++++ */

footer {
    position: relative;
    background-color: var(--footer);
    padding:40px 0;
}

footer .content div {
    display: flex;
    grid-gap: 40px;
    justify-content: center;
    align-content: center;
    margin: 0px auto;
    padding: 0px;
}

footer a,
footer a:visited,
footer a:active {
    color: var(--white);
    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: 400;
}

/* ------ Footer Wellenanimation ------ */

.hellblau .wellencontainer {
    width: 100%;
    height: 100px;
    overflow: hidden;
    position: absolute;
    bottom: 0px;
}

footer .wellencontainer {
    width: 100%;
    height: 80px;
    overflow: hidden;
    position: absolute;
    top: -80px;
}

.welle00 {
    width: calc(100% + 40px);
    height: 80px;
    opacity: 1;
    position: absolute;
    left: -20px;
    background-color: var(--primary);
    opacity: .6;
    animation-name: welle02;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-delay: .5s;
}

.welle01 {
    width: calc(100% + 40px);
    height: 80px;
    opacity: 1;
    position: absolute;
    left: -20px;
    background-color: var(--primary);
    animation-name: welle01;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.welle02 {
    width: calc(100% + 40px);
    height: 100px;
    opacity: .6;
    position: absolute;
    left: -20px;
    background-color: var(--primary);
    animation-name: welle02;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes welle01 {
    0% {
        transform: rotate3d(1, 1, 1, -2deg);
        bottom: -50px;
    }

    25% {
        bottom: -30px;
    }

    50% {
        transform: rotate3d(1, 1, 1, 2deg);
        bottom: -50px;
    }

    75% {
        bottom: -30px;
    }

    100% {
        transform: rotate3d(1, 1, 1, -2deg);
        bottom: -50px;
    }
}

@keyframes welle02 {
    0% {
        transform: rotate3d(1, 1, 1, 1deg);
        bottom: -30px;
    }

    50% {
        transform: rotate3d(1, 1, 1, -1deg);
        bottom: -50px;
    }

    100% {
        transform: rotate3d(1, 1, 1, 1deg);
        bottom: -30px;
    }
}


/* +++++++++++++++++ Media Query +++++++++++++++++ */
/* +++++++++++++++++++++++++++++++++++++++++++++++ */


@media(max-width:1040px) {
    .zweispalter_drittel_rechts {
        grid-template-columns: 1fr;
    }

    .zweispalter {
        grid-template-columns: 1fr;
    }

    .kacheln .kachel_einzeln {
        width: calc(50% - 40px);
    }
}

@media(max-width:767px) {
    .content {
        width: calc(100% - 40px);
    }

    .kacheln .kachel_einzeln {
        width: 100%;
    }

    .kacheln .kachel_einzeln .kachelbild {
        height: 55vw;
    }
}
