/*
  Theme Name: WP Bootstrap 4 Child
  Description: Child Theme für wp-bootstrap-4 Theme
  Template: wp-bootstrap-4
  Version: 1.0
  Text-Domain: wp-bootstrap-4
*/



/* ================================

General
    Presets
    Fonts
    Colors
    Header
    Footer

Modules
    Header-Modul
    Booking-Modul
    Fullscreen-Video-Modul
    Video-Teaser-Modul
    Logo-Modul
    Projekt-Teaser-Modul

Media Queries
    Min-Width
    Max-Width

================================ */


/* ================================
------------- General -------------
================================ */


/* ========== Presets ========== */

body {
    --black: #000000;
    --white: #FFFFFF;
    --grey: #313132;
    --dark-grey: #161618;
    --light-grey: #f6f7f7;
    --turkis: #02b9bf;
    --red: #bf0d1c;
    color: #000000;
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    line-height: 120%;
    font-weight: 400;
    letter-spacing: 0;
    word-wrap: break-word;
    background-color: var(--dark-grey);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

#page {
    flex-grow: 1;
}

main {
    margin-top: 80px;
    margin-bottom: 50px;
}

.home main {
    margin-top: 0;
    margin-bottom: 0;
}

section {
    padding: 50px 0;
}

.button {
    padding: 20px 40px;
    font-size: 2rem;
    text-transform: uppercase;
    border-radius: 15px;
    background-color: var(--turkis);
}


/* =========== Fonts =========== */

h1,
h2,
h3,
h4,
h5,
h6,
li,
p,
a {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-size: 1.9rem;
    line-height: 140%;
    font-weight: 400;
    letter-spacing: 0;
    word-wrap: break-word;
    color: #FFFFFF;
    color: var(--white);
}
.h1 {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
}
.h2 {
    font-family: flood-std, sans-serif;
    font-size: 2.8rem;
    color: #02b9bf;
    color: var(--turkis);
}

a {
    color: var(--white);
    -webkit-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
a:hover {
    color: var(--light-grey);
}


/* =========== Colors =========== */

.color-black {
    color: var(--black);
}
.color-white {
    color: var(--white);
}
.color-grey {
    color: var(--grey);
}
.color-dark-grey {
    color: var(--dark-grey);
}
.color-light-grey {
    color: var(--light-grey);
}
.color-turkis {
    color: var(--turkis);
}

.background-color-black {
    background-color: var(--black);
}
.background-color-white {
    background-color: var(--white);
}
.background-color-grey {
    background-color: var(--grey);
}
.background-color-dark-grey {
    background-color: var(--dark-grey);
}
.background-color-light-grey {
    background-color: var(--light-grey);
}
.background-color-turkis {
    background-color: var(--turkis);
}


/* ========== Header ========== */

.container-site-header {
    background-color: var(--dark-grey);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
}
.home .container-site-header {
    display: none;
}

#burgermenu {
    width: 30px;
    height: 20px;
    display: block;
    position: relative;
    margin: 10px auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 200;
}
#burgermenu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#burgermenu span:nth-child(1) {
    top: 0px;
}
#burgermenu span:nth-child(2),#burgermenu span:nth-child(3) {
    top: 9px;
}
#burgermenu span:nth-child(4) {
    top: 18px;
}
button[aria-expanded="true"] #burgermenu span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}
button[aria-expanded="true"] #burgermenu span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
button[aria-expanded="true"] #burgermenu span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
button[aria-expanded="true"] #burgermenu span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}
button.navbar-toggler:focus {
    outline: none;
}
#burgermenu:hover span {
    background: var(--turkis);
}

#site-navigation .custom-logo {
    height: 80px;
}
#site-navigation .nav-item a {
    font-size: 2.5rem;
    letter-spacing: 0;
    padding: 0 1rem;
}
#site-navigation .nav-item.current-menu-item a,
#site-navigation .nav-item.current-page-ancestor a {
    color: var(--turkis);
}
#site-navigation .nav-item svg {
    width: 20px;
    height: 20px;
}
#site-navigation .nav-item .dropdown-menu {
    background-color: var(--dark-grey);
}
#site-navigation .nav-item .dropdown-menu a {
    font-size: 1.2rem;
}
#site-navigation .nav-item.dropdown .dropdown-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
}
#site-navigation .nav-item.dropdown {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#site-navigation .container-dropdown-menu {
    width: 100%;
    background-color: var(--dark-grey);
    position: relative;
    top: 20px;
    right: 0;
    left: 0;
    z-index: 500;
}
#site-navigation .container-dropdown-menu .dropdown-menu {
    padding: 0.5rem 1rem;
    background-color: var(--dark-grey);
    border: none;
    border-radius: 0;
    text-align: center;
}
#site-navigation .container-dropdown-menu .dropdown-menu.opened {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.nav-item.disabled a {
    color: var(--grey);
}

/* ========== Footer ========== */

.site-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0;
    background-color: var(--dark-grey);
}
.site-footer .container-footer-body {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.site-footer .container-logo,
.site-footer .container-imprint {
    display: none;
}

.site-footer .container-logo img {
    display: none;
}

.site-footer .container-imprint a {
    font-size: 1.2rem;
}

.site-footer .container-follow_me {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
.site-footer .container-follow_me .container-contact_me {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.site-footer .container-follow_me .container-contact_me {
    border-right: 1px solid var(--white);
}
.site-footer .container-follow_me .container-contact_me:last-child {
    border-right: 0;
}
.site-footer .container-follow_me .container-contact_me svg {
    width: 20px;
    height: 20px;
}
.site-footer .container-follow_me .outer-container-follow-me-text {
    display: none;
}
.site-footer .container-follow_me h3 {
    font-family: flood-std, sans-serif;
    font-size: 2.8rem;
    color: #02b9bf;
    color: var(--turkis);
}
.home .site-footer {
    display: none;
}

.site-footer .container-button-cookie-banner {
    text-align: right;
    padding: 0 15px;
}
.site-footer .container-button-cookie-banner a {
    display: block;
    font-size: 1rem;
    padding: 0 15px;
}



/* ================================
------------- Modules -------------
================================ */


/* ======= Header-Modul ======= */
.section-header-modul {
    height: 80vH;
}
.section-header-modul .container,
.section-header-modul .row,
.section-header-modul .container-header {
    height: 100%;
}
.section-header-modul .container-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* ====== Booking-Modul ====== */

.section-booking-modul .container-booking {
    display: flex;
    justify-content: center;
}


/* = Fullscreen-Video-Modul = */

.section-fullscreen-video-modul {
    padding: 0;
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.section-fullscreen-video-modul .row {
    height: 100%;
}
.section-fullscreen-video-modul video {
    min-width: 100vw;
    min-height: 100vh;
}
.section-fullscreen-video-modul .container-video {
    display: flex;
    justify-content: center;
    align-items: center;
 }
.section-fullscreen-video-modul .container-overlay {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.section-fullscreen-video-modul .container-overlay img {
    transform: scale(.9);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}
.section-fullscreen-video-modul .container-overlay:hover img {
    transform: scale(1);
}
.section-fullscreen-video-modul .container-overlay .container-call_to_action {
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--turkis);
}
.section-fullscreen-video-modul .container-overlay .container-call_to_action p {
    color: var(--turkis);
    font-size: 1.6rem;
    font-weight: bold;
    text-transform: uppercase;
}


/* === Video-Teaser-Modul === */

.section-video-teaser-modul .container-video {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
}

.section-video-teaser-modul .container-textfeld {
    display: none;
    position: absolute;
    right: 15px;
    bottom: 0;
    left: 15px;
    height: 100%;
    padding: 15px;
    background-color: #00000099;
}


/* ======= Logo-Modul ======= */

.section-logo-modul .container-logo {
    margin: 30px 0;
    max-width: 200px;
}


/* == Projekt-Teaser-Modul == */

.section-projekt-teaser-modul {
    display: block;
}
.section-projekt-teaser-modul .container-teaser {
    position: relative;
    overflow: hidden;
}
.section-projekt-teaser-modul .container-teaser:hover {
    cursor: pointer;
}
.section-projekt-teaser-modul .container-teaser .container-text .headline {
    font-family: flood-std, sans-serif;
    font-size: 4rem;
}
.section-projekt-teaser-modul .container-teaser.lightbox .headline,
.section-projekt-teaser-modul .container-teaser.galerie .headline {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-size: 3rem;
    font-weight: bold;
}
.section-projekt-teaser-modul .container-teaser .container-text .textfeld {
    font-family: neue-haas-grotesk-display, sans-serif;
    font-size: 1.8rem;
}
.section-projekt-teaser-modul .container-teaser .container-text .container-textfeld {
    display: none;
}
.section-projekt-teaser-modul .container-teaser.link .container-text {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.section-projekt-teaser-modul .container-teaser.link .container-text .container-headline {
    text-align: center;
}
.section-projekt-teaser-modul .container-teaser .container-teaser-inner {
    position: relative;
    overflow: hidden;
}
.section-projekt-teaser-modul .container-teaser.lightbox .container-text,
.section-projekt-teaser-modul .container-teaser.galerie .container-text {
    position: absolute;
    display: flex;
    align-items: center;
    opacity: 0;
    bottom: 0;
    left: -100%;
    height: 100%;
    padding: 15px 30px;
    margin-right: 100px;
    background-color: #02b9bf80;
}
.section-projekt-teaser-modul .container-teaser.lightbox .container-text::after,
.section-projekt-teaser-modul .container-teaser.galerie .container-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 350px 100px 0 0;
    border-color: #02b9bf80 transparent transparent transparent;
}
.section-projekt-teaser-modul .container-teaser.lightbox:hover .container-text,
.section-projekt-teaser-modul .container-teaser.galerie:hover .container-text {
    -webkit-animation: left-to-right 1s linear forwards;
    animation: left-to-right 1s linear forwards;
}
@-webkit-keyframes left-to-right {
    from { left: -100%; opacity: 0; }
    to { left: 0px; opacity: 1; }
}
@keyframes left-to-right {
    from { left: -100%; opacity: 0; }
    to { left: 0px; opacity: 1; }
}
@-webkit-keyframes right-to-left {
    from { left: 0px; opacity: 1; }
    to { left: -100%; opacity: 0; }
}
@keyframes right-to-left {
    from { left: 0px; opacity: 1; }
    to { left: -100%; opacity: 0; }
}
.section-projekt-teaser-modul .container-teaser .container-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.section-projekt-teaser-modul .container-teaser .container-image img {
    width: auto;
    min-width: 100%;
    max-width: none;
    min-height: 200px;
    max-height: 350px;
    object-fit: cover;
    object-position: center;
}
.section-projekt-teaser-modul .container-lightbox-video .container-modal-text,
.section-projekt-teaser-modul .container-galerie .container-modal-text {
    color: var(--turkis);
}

.container-lightbox-video button.close,
.container-galerie button.close {
    position: absolute;
    color: var(--white);
    top: 0;
    right: 15px;
    z-index: 50;
}
.container-lightbox-video button.close svg,
.container-galerie button.close svg {
    width: 25px;
    height: 25px;
}

.container-galerie .carousel {
    padding-top: 50px;
}
.section-projekt-teaser-modul .container-galerie .carousel-control-button {
    z-index: 0;
}



/* ================================
---------- Media Queries ----------
================================ */


/* ========= Min-Width ========= */
@media only screen and (min-width: 576px) {

    /* ========== Presets ========== */

    main {
        margin-top: 80px;
        margin-bottom: 160px;
    }

    /* ========== Footer ========== */
    .site-footer .container-footer-body {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .site-footer .container-logo {
        display: block;
    }

    .site-footer .container-imprint {
        display: flex;
        align-items: flex-end;
    }

    .site-footer .container-follow_me {
        width: auto;
    }
    .site-footer .container-follow_me .outer-container-follow-me-text {
        display: flex;
    }

    .site-footer .container-follow_me .container-contact_me {
        border-left: none;
        border-right: none;
    }

    /* == Projekt-Teaser-Modul == */

    .section-projekt-teaser-modul .container-teaser.link .container-text .headline {
        font-size: 6rem;
    }

}
@media only screen and (min-width: 768px) {

    /* =========== Fonts =========== */

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    li,
    p,
    a {
        letter-spacing: 0.2rem;
    }

    /* = Fullscreen-Video-Modul = */

    .section-fullscreen-video-modul .container-overlay {
        width: auto;
    }
    .section-fullscreen-video-modul .container-overlay .container-call_to_action p {
        font-size: 1.8rem;
    }

    /* == Projekt-Teaser-Modul == */

    .section-projekt-teaser-modul .container-teaser.link .container-text .headline {
        font-size: 9rem;
    }

}
@media only screen and (min-width: 992px) {

    /* ========== Header ========== */

    #primary-menu-wrap {
        margin: 0;
    }
    #site-navigation .nav-item a {
        font-size: 2rem;
    }

    .mobile-menu-item {
        display: none;
    }

    #site-navigation .container-dropdown-menu {
        position: fixed;
        top: 80px;
    }
    #site-navigation .container-dropdown-menu .dropdown-menu.opened {
        flex-direction: row;
        justify-content: flex-end;
    }
    #site-navigation .container-dropdown-menu .dropdown-menu .nav-item {
        border-right: 1px solid var(--white);
    }
    #site-navigation .container-dropdown-menu .dropdown-menu .nav-item:last-child {
        border-right: 0;
    }


    /* ========== Footer ========== */

    .site-footer .container-button-cookie-banner a {
        display: inline-block;
        border-right: 1px solid var(--white);
    }
    .site-footer .container-button-cookie-banner a:last-of-type {
        border-right: 0;
    }


    /* == Projekt-Teaser-Modul == */

    .section-projekt-teaser-modul .container-teaser .container-image img {
        max-width: 1200px;
    }

    .section-projekt-teaser-modul .container-teaser.link .container-text .headline {
        font-size: 12rem;
    }

}


/* ========= Max-Width ========= */
@media only screen and (max-width: 991px) {

    /* ========== Header ========== */

    .navbar-expand-md {
      z-index: 100;
      background: white;
      padding: 0;
    }
    .navbar-expand-md .container .navbar-toggler {
      display: block;
    }

    .navbar-collapse {
      width: 100%;
      background: var(--dark-grey);
      position: fixed;
      z-index: 9;
      display: block;
      visibility: hidden;
      opacity: 0;
      z-index: -1;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      transition: all 0.4s;
    }
    .navbar-collapse ul.navbar-nav {
      position: absolute;
      top: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      transform: translateY(-50%);
    }
    .navbar-collapse ul.navbar-nav li {
      opacity: 0;
      transition: opacity 0.4s cubic-bezier(0.58, 0.3, 0.005, 1);
      padding: 0;
      margin-bottom: 20px;
    }
    .navbar-collapse ul.navbar-nav li a {
      color: white;
      font-size: 40px;
      padding: 0;
    }
    .navbar-collapse ul.navbar-nav li.disabled a {
        color: var(--grey);
    }
    #site-navigation .nav-item.current-menu-item a {
        color: var(--turkis);
    }
    .navbar-collapse.show {
      min-height: 100vh;
      visibility: visible;
      opacity: 1;
      z-index: 9;
    }
    .navbar-collapse.show ul li {
      opacity: 1;
    }

    .custom-logo-link {
        position: relative;
        width: 210px;
        height: 80px;
    }
    .custom-logo-link img {
        position: absolute;
        z-index: 1000;
    }

}

@media (hover: none) and (pointer: coarse) {
    .section-projekt-teaser-modul .container-teaser.lightbox .container-text,
    .section-projekt-teaser-modul .container-teaser.galerie .container-text {
        width: 100%;
        left: 0;
        opacity: 1;
        margin-right: 0;
        background-color: #0000004D;
    }

    .section-projekt-teaser-modul .container-teaser.lightbox .container-text::after,
    .section-projekt-teaser-modul .container-teaser.galerie .container-text::after {
        display: none;
    }
}
