@import "fonts.css";
@import "bootstrap.min.css";

:root {

    --primary-font: "Merriweather Sans", sans-serif;
    --secondary-font: "Merriweather", serif;

    --black: #1d1d1b;
    /* colors */
    --beige: rgb(244, 237, 231);
    /* --orange: #f9705b; */
    --orange: rgb(255, 110, 90);
    --gray: #dadada;

    --orange-80: rgba(238, 117, 86, 0.8);
    --green: mediumseagreen;
    --teal: #9bd1bf;
    --charcoal-grey: #435156;
    --blue: #00a3b7;

    --navbar-height: 130px;
    --mobile-navbar-height: 100px;


    scroll-padding-top: var(--navbar-height);






    /* --bs-nav-link-color: var(--orange); */

    --bs-primary: rgb(227, 0, 17);
    /*
    --bs-primary-80: rgba(227, 0, 17, 0.8);
    --bs-btn-bg: #448332;
    /* --dark: #455560; */
    /* --grey: #BEBEBE;
    --red: #e30000;
    --blue: #455560;
    --blue-faded: rgba(69,85,96,0.8);
    --beige: #F8F7F6; */

    /* --accent: #ea5712; */
    /* --accent: #000;

    --white: #FFFFFF;
    --white-faded: rgba(255, 255, 255, 0.8);
    --purple: rgb(92, 36, 131);
    --purple-faded: rgba(92, 36, 131, 0.2);

    --yellow: #ffcc00;
    scroll-behavior: auto;

    

    --d: 700ms;
    --e: cubic-bezier(0.19, 1, 0.22, 1); */

}

@media (max-width: 991px) {
    :root {
        scroll-padding-top: var(--mobile-navbar-height);
    }
}

/* Bootstrap overrides */
/* @media (min-width: 768px) {
    .row {  
        --bs-gutter-x: 5rem;
    }
} */


* {
    scroll-behavior: smooth;
}


html {
    /* font-size: 1vw; */
}

body {
    position: relative;
    background: #FFF;
    font-family: var(--primary-font);
    font-size: 18px;
    font-weight: 300;
    color: #1d1d1b;
    padding-top: var(--navbar-height)
}

@media (max-width: 991px) {
    body {
        padding-top: var(--mobile-navbar-height);
    }
}

/* Scroll Down animation */
.scroll-down {
    display: block;
    position: absolute;
    bottom: 100px;
    left: 50%;
    z-index: 500;
    width: 60px;
    height: 60px;
    margin-left:-30px;
    border: 2px solid #FFF;
    border-radius: 50%;
    position: relative;
    animation: down 1.5s infinite;
    -webkit-animation: down 1.5s infinite;
    cursor: pointer;
    
  }
  .scroll-down::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 18px;
    width: 18px;
    height: 18px;
    border-left: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    transform: rotate(-45deg);
  }
  
  @keyframes down {
    0% {
      transform: translate(0);
    }
    20% {
      transform: translateY(15px);
    }
    40% {
      transform: translate(0);
    }
  }
  @-webkit-keyframes down {
    0% {
      transform: translate(0);
    }
    20% {
      transform: translateY(15px);
    }
    40% {
      transform: translate(0);
    }
  }



.default-transition {
    -webkit-transition: 500ms cubic-bezier(0.77, 0, 0.175, 1) !important;
    transition: 500ms cubic-bezier(0.77, 0, 0.175, 1) !important;
}

/* Color classes */
.bg-gray {
    background-color: var(--gray);
}


.font-primary {
    font-family: var(--primary-font);
}

.font-secondary {
    font-family: var(--secondary-font);
}

/* Marquee */
.marquee {
    --gap: 1rem;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
}

.marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: var(--gap);
    animation: scroll 40s linear infinite;
    list-style: none;
    margin: 2.3vw 0 0 0 ;
    padding: 0;
}

.marquee__content li {
    color: #fff;
    opacity: 0.4;
    font-size: max(80px, 9vw);
    font-weight: 400;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0;
    text-transform: uppercase;
    line-height: 1;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

/* Forms */
.btn {
    --bs-btn-border-radius: 0;
}

.form-control {
    border-radius: 0;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--black);
}

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.form-check-input:focus {
    outline: 0;
    box-shadow: none;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--black);
    --bs-btn-border-color: var(--black);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #666;
    --bs-btn-hover-border-color: #666;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #666;
    --bs-btn-active-border-color: #666;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #aaa;
    --bs-btn-disabled-border-color: #aaa;
}

/* .btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--green);
    --bs-btn-border-color: var(--green);

} */

.quantity-form-wrapper {
    max-width: 150px;
    margin: 0 0 0 auto;
}

.loading .hide-while-loading,
.error .hide-while-loading,
.success .hide-while-loading,
.show-while-loading {
    display: none;
}

.loading .show-while-loading,
.hide-while-loading {
    display: inline;
}

.check, .btn-error-icon {
    display: none;
}

.success .check {
    display: inline;
}

.error .btn-error-icon {
    display: inline;
}

.btn.success {
    background-color: var(--green) !important;
    border-color: var(--green) !important;
    opacity: 1;
}

.btn.error {
    background-color: #cc0000 !important;
    border-color: #cc0000 !important;
    opacity: 1;
}

/* Modal */
.modal {
    --bs-modal-border-radius: 0;
    --bs-modal-zindex: 1000000;
}

.modal h1 {
    font-size: 32px;
    margin: 0 0 30px 0;
}

.modal h2 {
    font-size: 24px;
    margin: 0 0 30px 0;
}

.modal h3 {
    font-size: 18px;
}

a,
a:link,
a:focus,
a:visited {
    color: var(--dark);
}

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

strong {
    font-weight: 700;
}

.center {
    text-align: center;
}

h1 {
    font-family: var(--secondary-font);
    text-transform: uppercase;
    font-size: clamp(40px, 5vw, 50px);
    letter-spacing: 0.1rem;
    font-weight: 500;
}

h2 {
    font-family: var(--secondary-font);
    text-transform: none;
    font-size: 32px;
    letter-spacing: 0.05rem;
    font-weight: 500;

}

h3 {
    font-family: var(--primary-font);
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 2rem;
    font-weight: 600;
}

h4 {
    font-family: var(--primary-font);
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 1rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    h3 {
        font-size: 24px;
    }
}


#footer {
    position: relative;
    z-index: 3;
    background-color: #1d1d1b;
    color: #FFF;
    font-size: 14px;
    font-weight: 300;

}

#footer a {
    color: #FFF;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

#footer p>a:hover,
#footer p>a.active {
    background: #FFF;
    color: var(--green);
}

ul.social-menu {
    margin: 15px 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

ul.social-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.social-menu svg {
    width: 26px;
    height: 26px;
}

ul.social-menu a:hover {
    opacity: 0.8;
}


/**
  * Navbar
 **/

.navbar {
    height: var(--navbar-height);
    background-color: transparent;
    padding: 0 2rem;
    transition: all 0.3s ease-in-out;
}

.navbar .nav-warenkorb {
    color: #FFF;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 0 0.5rem;
    border: 0;
}

.navbar .nav-warenkorb:focus,
.navbar .nav-warenkorb.focused {
    border: 0;
}

.scrolled .navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.scrolled .navbar .nav-link,
.scrolled .navbar .nav-warenkorb {
    color: var(--black);
}

.navbar .nav-warenkorb:hover {
    scale: 1.2;
}



@media (max-width: 991px) {
    .navbar {
        height: var(--mobile-navbar-height);
    }
}


.navbar-nav {
    padding: 0;
}

.navbar .nav-item {
    padding-top: 4px;
    padding-bottom: 4px;
}


a.navbar-brand,
a.navbar-brand:link,
a.navbar-brand:focus,
a.navbar-brand:visited {
    display: block;
}

a.navbar-brand img {
    width: 165px;
    height: auto;
    /* filter: invert(1) */
}

a.navbar-brand span:first-child {
    font-size: 75%;
}

.navbar-brand a:hover {
    text-decoration: none;
}


@media (max-width: 991px) {
    .navbar {
        padding: 0 1.5rem;
    }

    a.navbar-brand {
        scale: 0.6;
        transform-origin: center left;
    }
}


@media (min-width: 768px) {}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}

@media (min-width: 1600px) {}

.navbar .nav-link {
    display: flex;
    align-items: stretch;
    color: #FFF;
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    padding: 0.4rem 0.5rem 0.4rem 0.5rem;
    margin: 0 0.7rem;
    line-height: 1;
    transition: all 0.3 ease-in-out;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #FFF;
    background-color: var(--black);
}

.navbar .navitem.nav-lang {
    padding: 0 1rem;
}

.navbar .nav-lang .nav-link {
    color: var(--orange);
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0.4rem 0.20rem 0.3rem 0.20rem;
    margin: 0;
    line-height: 1;
}

.navbar .nav-lang .nav-link.active,
.navbar .nav-lang .nav-link:hover {
    color: var(--orange);
    background-color: transparent;
    font-weight: 700;
}

.navbar .nav-lang .nav-link::after {
    display: block;
    content: attr(name);
    font-weight: 700;
    visibility: hidden;
    overflow: hidden;
    height: 0px;
    text-transform: uppercase;
    padding: 0 1px;
}

.navbar .nav-item span {
    color: var(--orange);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.1rem 0.1rem;
}


/*
 * MENU BUTTON
 */

.menu__toggler {
    position: fixed;
    top: 32px;
    right: 30px;
    z-index: 1500;
    height: 36px;
    width: 36px;
    outline: none;
    cursor: pointer;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    transition: all 0.5s;
    opacity: 1;
    pointer-events: all;
}

.menu__toggler span,
.menu__toggler span::before,
.menu__toggler span::after {
    position: absolute;
    content: '';
    width: 36px;
    height: 2px;
    background: #FFF;
    border-radius: 20px;
    -webkit-transition: 500ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.scrolled .menu__toggler span,
.scrolled .menu__toggler span::before,
.scrolled .menu__toggler span::after,
.scrolled .menu__toggler.active>span::before,
.scrolled .menu__toggler.active>span::after {
    background: var(--black);
}

.menu__toggler span::before {
    top: -10px;
}

.menu__toggler span::after {
    top: 10px;
}

.menu__toggler.active>span {
    background: transparent;
}

.menu__toggler.active>span::before,
.menu__toggler.active>span::after {
    background: #FFF;
    top: 0px;
}

.menu__toggler.active>span::before {
    -webkit-transform: rotate(-225deg);
    transform: rotate(-225deg);
}

.menu__toggler.active>span::after {
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

/*
 * SLIDING MENU PANEL
 */

body:has(.mobile-menu-container.active) {
    overflow: hidden;
}

.mobile-menu-container {
    /*filter: drop-shadow(0px 0px 15px rgba(50, 50, 0, 0.7));*/
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 998;
    color: #FFFFFF;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding-top: var(--mobile-navbar-height);
    -webkit-transition: right 500ms cubic-bezier(0.77, 0, 0.175, 1), opacity 500ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: right 500ms cubic-bezier(0.77, 0, 0.175, 1), opacity 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

@media only screen and (min-width: 992px) {
    .mobile-menu-container {
        display: none;
    }
}

.mobile-menu-container.active {
    top: 0;
    right: 0;
    z-index: 998;
}

.menu {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 100%;
    padding-top: 50px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 60px;
    overflow: auto;
}

.menu.active {
    top: 0%;
    transform: scale(1);
    opacity: 1;
    z-index: 998;
}

.menu .navbar {
    background: transparent !important;
    justify-content: center;
    align-items: flex-end;
    box-shadow: none;
}

.menu ul {
    margin: 0 !important;
}

.menu ul>li {
    text-align: center;
    padding: 0;
}

.menu ul>li.nav-lang {
    border-top: 1px dotted #FFF;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.menu ul>li>a.nav-link,
.menu ul>li.nav-lang>a.nav-link,
.scrolled .menu ul>li>a.nav-link,
.scrolled .menu ul>li.nav-lang>a.nav-link {
    color: #FFF;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    display: inline-block;
    font-size: 24px;
    margin: 2px 0;
}

.menu .navbar-nav .nav-link.active,
.menu .navbar-nav .nav-link:hover {
    background-color: #FFF;
    color: var(--black);
}


.menu ul>li>a.active,
.menu ul>li>a:hover,
.menu ul>li.nav-item.dropdown.show>a {
    color: #FFF;
}

#content {
    /* position: relative; */
    z-index: 3;
    background: #FFF;
}


/**
 * Swiper
**/

.swiper-container {
    position: relative;
}

.swiper {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-full {
    height: calc(100vh - var(--navbar-height));
}

.swiper-full.small {
    height: auto;
    aspect-ratio: 24/9;
    /* aspect-ratio: 16/9; */
}

@media (max-width: 991px) {
    .swiper-full {
        height: calc(100vh - var(--mobile-navbar-height));
    }

    .swiper-full.small {
        aspect-ratio: 16/9;
    }
}


.swiper-full .swiper-slide {
    position: relative;
    text-align: center;
    font-size: 18px;
    background: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-full .swiper-slide .slide-bg {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-full .swiper-slide img,
.swiper-full .swiper-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    /* z-index: -1; */
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    /* This ensures the video covers the entire container */
}

/* .swiper-full .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.swiper-caption {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 10;
    translate: -50% -50%;
    width: 100%;
    max-width: 80%;
}

.swiper-caption .sun {
    position: relative;
    z-index: 3;
    width: max(50px, 4.5vw);
    height: max(50px, 4.5vw);
    margin: min(-50px, -4.5vw) auto 2vw auto;
}

.swiper-caption p {
    text-align: center;
    color: #FFF;
    font-size: 6vw;
    letter-spacing: 0.8vw;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.swiper-caption p span {
    opacity: 0;
}

.swiper-caption .sun-fader {
    opacity: 0;
    scale: 0;
    transform-origin: center center;
}



/*
 * Books
 */
.books {
    background-color: var(--gray);
}

.book {
    background-color: #fff;
    padding: 1.75rem;
}

a.mehr {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-top: 5px;
    gap: 5px;
    text-decoration: none;
    font-family: var(--primary-font);
    font-style: normal;
    font-weight: 500;
    margin-left: auto;
    color: #999;

}

.book-teaser-text {
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 16px;
    font-style: italic;
    margin-bottom: 10px;
}

.book-teaser-text p {
    margin-bottom: 0px;
}


.book-meta {
    font-weight: 600;
    font-size: 14px;
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    padding: 3px 0;
}

.swiper.book-swiper {
    --swiper-theme-color: #1d1d1b;
    --swiper-navigation-sides-offset: 15px;
    width: 100%;
    height: 100%;
    /* display:none; */
}

.swiper.book-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16/9;
    padding: 10px;

}

.swiper.book-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swiper.book-swiper .swiper-button-prev {
    /* left: 25px; */
    /* background: rgba(0, 0, 0, 0.05); */
}

.swiper.book-swiper .swiper-button-prev::after {
    /* padding: 15px; */
}


/***** MODAL DIALOG ****/
.book-modal {
    /* Underlay covers entire screen. */
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3000;

    transition: opacity 0.5s;

    /* Flexbox centers the .modal-content vertically and horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Animate when opening */
    animation-name: fadeIn;
    animation-duration: 150ms;
    animation-timing-function: ease;

}

body:has(.modal.show) .book-modal {
    opacity: 0;
}

.book-modal>.book-modal-underlay {
    /* underlay takes up the entire viewport. This is only
	required if you want to click to dismiss the popup */
    position: absolute;
    z-index: -1;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.book-modal .book-modal-content {
    background-color: #FFF;
    position: relative;

    /* Display properties for visible dialog*/
    /* border:solid 1px #999; */
    /* border-radius:8px; */
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    padding: 20px;

    max-height: 90vh;
    overflow-y: hidden;


    /* Animate when opening */
    /* animation-name:zoomIn;
	animation-duration:150ms;
	animation-timing-function: ease; */
    animation-name: slide-in-blurred-bottom;
    animation-duration: 0.45s;
    animation-timing-function: cubic-bezier(0.230, 1.000, 0.320, 1.000);
}

.book-modal-footer {
    
    padding-top: 15px;
}

/* ----------------------------------------------
 * Generated by Animista on 2024-2-9 8:12:26
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-blurred-bottom
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-blurred-bottom {
    0% {
        -webkit-transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
        transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
        transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-in-blurred-bottom {
    0% {
        -webkit-transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
        transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
        transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

/* ----------------------------------------------
 * Generated by Animista on 2024-2-9 8:28:45
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-out-blurred-bottom
 * ----------------------------------------
 */
@-webkit-keyframes slide-out-blurred-bottom {
    0% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
        transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(1000px) scaleY(2) scaleX(0.2);
        transform: translateY(1000px) scaleY(2) scaleX(0.2);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }
}

@keyframes slide-out-blurred-bottom {
    0% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
        transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(1000px) scaleY(2) scaleX(0.2);
        transform: translateY(1000px) scaleY(2) scaleX(0.2);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }
}


.btn.book-modal-close {

    padding: 10px;
    outline: 0;
    border: 0;
    color: var(--black);
    translate: 20px -10px;
}

.btn.book-modal-close:hover {
    color: #777;
}

.btn.book-modal-close:focus {
    padding: 10px;
    border: 0;
}

.book-modal-main-content {
    overflow-y: auto;
}

body:has(.book-modal) {
    overflow-y: hidden;
}

@media (max-width: 991px) {
    /* .book-modal > .book-modal-content {
        inset: 25px;
    } */
}

.book-modal.closing {
    /* Animate when closing */
    animation-name: fadeOut;
    animation-duration: 0.45s;
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    /* animation-delay: 0.30s; */
}

.fade-out-and-remove {
    /* Animate when closing */
    animation-name: fade-out-and-remove;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    /* animation-delay: 0.30s; */
}

.book-modal.closing .book-modal-content {
    /* Animate when closing */
    animation-name: slide-out-blurred-bottom;
    animation-duration: 0.45s;
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    /* animation-name: zoomOut;
	animation-duration:150ms;
	animation-timing-function: ease; */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fade-out-and-remove {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.9);
    }
}


/*
 * FAQ
 */
.faq {
    background-color: #FFF;
    padding: 5rem 0 0 0;
}

/* Icons */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-5px, 5px);
    }

    50% {
        transform: translate(5px, -3px);
    }

    75% {
        transform: translate(-3px, -6px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-15px, 15px) rotate(-8deg);
    }

    150% {
        transform: translate(5px, -10px) rotate(-12deg);
    }

    75% {
        transform: translate(-15px, -8px) rotate(0deg);
    }
}

/* Accordion */
.accordion {
    --bs-accordion-color: #1d1d1b;
    --bs-accordion-bg: transparent;
    --bs-accordion-border-width: 1px;
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-color: #1d1d1b;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666666' class='bi bi-x-lg' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666666' class='bi bi-x-lg' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E");
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: #1d1d1b;
    --bs-accordion-btn-focus-border-color: transparent;
    --bs-accordion-btn-focus-box-shadow: none;

    --bs-accordion-btn-padding-x: 0rem;
    --bs-accordion-btn-padding-y: 1rem;


}


.accordion-item {
    border-bottom: 1px solid #666;
    padding: 20px 0 20px 0;
}

.accordion-button {
    font-family: var(--primary-font);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    /* letter-spacing: 0.03rem; */
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-left: 0px;
    line-height: 1.2;
    /* margin-bottom:5px; */

}

.accordion-button::after {
    color: var(--orange);
    transform: rotate(45deg);

}

.accordion-button:not(.collapsed)::after {
    transform: rotate(90deg);
}

/* .accordion-button:hover,
.accordion-button:not(.collapsed) {
    
} */

.accordion-button.collapsed {}

.accordion-body {
    font-size: 16px;
    margin: 0;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;

}

.accordion-body p:last-child {
    margin: 0;
}

/* Book Loading animation */
.cube-loader {
    position: relative;
    width: 100%;
    min-height: 100px;
    /* background: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.cube-folding {
    width: 50px;
    height: 50px;
    display: inline-block;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    font-size: 0;
}

.cube-folding span {
    position: relative;
    width: 25px;
    height: 25px;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
    display: inline-block;

}

.cube-folding span::before {
    content: "";
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 25px;
    height: 25px;
    -moz-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    -webkit-animation: folding 2.5s infinite linear both;
    -moz-animation: folding 2.5s infinite linear both;
    animation: folding 2.5s infinite linear both;
    border: 1px solid #999;
}

.cube-folding .leaf2 {
    -webkit-transform: rotateZ(90deg) scale(1.1);
    -moz-transform: rotateZ(90deg) scale(1.1);
    transform: rotateZ(90deg) scale(1.1);
}

.cube-folding .leaf2::before {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    background-color: #fff;
}

.cube-folding .leaf3 {
    -webkit-transform: rotateZ(270deg) scale(1.1);
    -moz-transform: rotateZ(270deg) scale(1.1);
    transform: rotateZ(270deg) scale(1.1);
}

.cube-folding .leaf3::before {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
    background-color: #fff;
}

.cube-folding .leaf4 {
    -webkit-transform: rotateZ(180deg) scale(1.1);
    -moz-transform: rotateZ(180deg) scale(1.1);
    transform: rotateZ(180deg) scale(1.1);
}

.cube-folding .leaf4::before {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
    background-color: #fff;
}

@-webkit-keyframes folding {

    0%,
    10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        -moz-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        -webkit-opacity: 0;
        -moz-opacity: 0;
        opacity: 0;
    }

    25%,
    75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        -moz-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        -webkit-opacity: 1;
        -moz-opacity: 1;
        opacity: 1;
    }

    90%,
    100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        -moz-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        -webkit-opacity: 0;
        -moz-opacity: 0;
        opacity: 0;
    }
}

@-moz-keyframes folding {

    0%,
    10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        -moz-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        -webkit-opacity: 0;
        -moz-opacity: 0;
        opacity: 0;
    }

    25%,
    75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        -moz-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        -webkit-opacity: 1;
        -moz-opacity: 1;
        opacity: 1;
    }

    90%,
    100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        -moz-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        -webkit-opacity: 0;
        -moz-opacity: 0;
        opacity: 0;
    }
}

@-ms-keyframes folding {

    0%,
    10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        -moz-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        -webkit-opacity: 0;
        -moz-opacity: 0;
        opacity: 0;
    }

    25%,
    75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        -moz-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        -webkit-opacity: 1;
        -moz-opacity: 1;
        opacity: 1;
    }

    90%,
    100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        -moz-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        -webkit-opacity: 0;
        -moz-opacity: 0;
        opacity: 0;
    }
}

@keyframes folding {

    0%,
    10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        -moz-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        -webkit-opacity: 0;
        -moz-opacity: 0;
        opacity: 0;
    }

    25%,
    75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        -moz-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        -webkit-opacity: 1;
        -moz-opacity: 1;
        opacity: 1;
    }

    90%,
    100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        -moz-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        -webkit-opacity: 0;
        -moz-opacity: 0;
        opacity: 0;
    }
}


/* Contact */
.contact {
    position: relative;
}

.contact::before {
    position: absolute;
    right:0;
    bottom:0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    content: "";
    background-image: url('../img/baum.svg');
    background-size: contain;
    background-position: right 0px bottom -10px;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .contact::before {
        max-width:60%;
    }
}

@media (min-width: 992px) {
    .contact::before {
        max-width:65%;
    }
}

@media (min-width: 1200px) {
    .contact::before {
        max-width:70%;
    }
}

.form-errors {
    transition: all ease-in-out;
    color: #FFF;
    background: firebrick;
    padding: 15px;
    display: none;
    margin-bottom: 15px;
}

.form-errors p {
    margin: 0;
}

.mail-sent h5 {
    font-size: 32px;
}

.mail-sent {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    text-align: center;
    font-size: 16px;
}

/* Cards */
.book-card {
    font-weight: bold;
    padding: 0;
    text-align: right;
    color: #181a1a;

    box-shadow: none;

    background-size: cover;

    position: relative;

    transition-duration: 300ms;
    transition-property: transform, box-shadow, scale;
    transition-timing-function: ease-out;
    transform: rotate3d(0);
}

.book-card:hover {
    transition-duration: 150ms;
    box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.20);
    scale: 1.02;
}

.button-spinner {
    transform-origin:center;
    -webkit-animation: button-spinner-animation .75s infinite linear;
    animation: button-spinner-animation .75s infinite linear;
}
    
@-webkit-keyframes button-spinner-animation {
    100% {
        -webkit-transform:rotate(360deg);
    }
}

@keyframes button-spinner-animation {
    100% {
        transform:rotate(360deg);
    }
}

/* Warenkorb */

.jump-shaking {
    animation-name: jump-shaking;
    animation-duration: 0.5s;
    animation-iteration-count: 3;
    animation-timing-function: linear;
}

@keyframes jump-shaking {
    0% { transform: translateX(0) }
    25% { transform: translateY(-9px) }
    35% { transform: translateY(-9px) rotate(17deg) }
    55% { transform: translateY(-9px) rotate(-17deg) }
    65% { transform: translateY(-9px) rotate(17deg) }
    75% { transform: translateY(-9px) rotate(-17deg) }
    100% { transform: translateY(0) rotate(0) }
}

.wk-toggle {
    position: relative;
}

.menu .wk-toggle {
    display:none;
}


.wk-toggle-mobile {
    position:fixed;
    right: 90px;
    top:28px;
    z-index: 1101;
}

.wk-toggle-mobile .btn {
    color:#FFF;
}

.scrolled .wk-toggle-mobile .btn {
    color:#000;
}

.wk-toggle .wk-item-count {
    position: absolute;
    top:0px;
    left:60%;
    border-radius: 100%;
    background: orangered;
    color:#FFF;
    display:flex;
    min-width: 16px;
    min-height:16px;
    padding:2px;
    
    aspect-ratio: 1/1;
    font-size: 12px;;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}

.wk-toggle .wk-item-count[data-count="0"] {
    display:none;
}

.btn.btn-primary.btn-wk {
    padding:0 !important;
    margin: 0 1px;
    width:26px;
    height:26px;
    line-height:1;
}

.wk-row-container {
    padding:15px;
    margin-bottom: 25px;
    background:#EEE;
}

.wk-image {
    background:#EEE;
    color:#FFF;
}

.wk-image img {
    width: 100%;
}

.wk-image svg {
    width: 100%;
    height:100%;
}

.wk-item, .wk-footer-text {
    font-size:16px;
}
