@charset "UTF-8";
/* =========================================
   Flipbook Styles (SCSS) - Lightbox Version
   ========================================= */
.flipbooks-section {
  position: relative;
}
.flipbooks-section .books-grid {
  /* Animationen für Cover entfallen in dieser Version */
}
.flipbooks-section .books-grid .book {
  /* Source Container verstecken */
}
.flipbooks-section .books-grid .book img,
.flipbooks-section .books-grid .book .book-title {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.flipbooks-section .books-grid .book:hover img,
.flipbooks-section .books-grid .book:hover .book-title {
  transform: scale(1.1);
}
.flipbooks-section .books-grid .book:hover .book-title p {
  color: #f07e25;
}
.flipbooks-section .books-grid .book .flipbook-source {
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
@media (max-width: 767px) {
  .flipbooks-section .books-grid .book {
    margin-bottom: 6vw;
  }
  .flipbooks-section .books-grid .book:hover {
    transform: none;
  }
}

/* =========================================
   Interaction Hint (Pulsating Circle)
   ========================================= */
.flipbook-pulse-hint {
  position: absolute;
  top: 0.3vw;
  /* Etwas Abstand von oben */
  right: 0.6vw;
  /* Etwas Abstand von rechts */
  z-index: 10000;
  pointer-events: auto;
  /* Enable interaction for hover dismissal */
  cursor: pointer;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  /* More visible base */
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-persistent 3s infinite;
}

@keyframes pulse-persistent {
  0% {
    transform: scale(0.2);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.2);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
/* Lightbox Overlay */
#flipbook-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: none;
  /* Flexbox zum Zentrieren */
  display: flex;
  justify-content: center;
  align-items: center;
  /* Close Button */
  /* Die Bühne für das offene Buch */
}
#flipbook-overlay #close-btn,
#flipbook-overlay .close-btn {
  position: absolute;
  top: -2.8vw;
  right: -2.5vw;
  background: transparent;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: hsla(0deg, 0%, 93%, 0.9);
  font-size: 2vw;
  line-height: 1 !important;
  text-decoration: none !important;
  font-family: sans-serif;
  /* Ensure X looks like X */
  font-weight: 300;
  z-index: 100000;
  cursor: pointer;
  transition: transform 0.2s ease;
  /* Reset defaults */
  background: transparent;
  border: none;
  box-shadow: none;
  width: auto;
  height: auto;
}
#flipbook-overlay #close-btn:hover,
#flipbook-overlay .close-btn:hover {
  transform: scale(1.1);
  color: #ffffff !important;
}
#flipbook-overlay #flipbook-stage {
  position: relative;
  /* Fix Sizing Logic: Prioritize Height to prevent container/canvas mismatch */
  height: 80vh;
  width: auto;
  /* Let width flow from aspect-ratio */
  aspect-ratio: 876/687;
  max-width: 90vw;
  /* Cap width if screen is very narrow */
  max-height: 80vh;
  /* Flex safety */
  flex-shrink: 0;
  /* Cover Styling (Static Frame) */
  box-sizing: border-box;
  border: solid 0.8vw #264a66;
  border-top-width: 0.5vw;
  border-bottom-width: 0.6vw;
  border-radius: 1.5vw;
  background-color: #264a66;
  /* Fill spine gap */
  /* Padding creates space for the "Blue Border" (Inner Cover) and Side Stacks */
  /* Vertical: 6px (Pages smaller height). Horizontal: 18px (Room for stacks) */
  padding: 0.5vw 1vw;
  transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
  /* Page Volume Simulation (Stack Effect) */
  /* Left Stack */
  /* Right Stack */
  /* Das Buch selbst */
  /* Das Buch selbst */
}
#flipbook-overlay #flipbook-stage::before, #flipbook-overlay #flipbook-stage::after {
  content: "";
  position: absolute;
  top: 0.15vw;
  /* Match vertical padding top */
  bottom: 0.15vw;
  /* Match vertical padding bottom */
  width: 0.5vw;
  /* Fill the horizontal padding area */
  background: repeating-linear-gradient(90deg, #e6e6e6, #d0cfcf 0.052vw, #7e7d7d 0.105vw, #555454 0.157vw);
  z-index: 0;
  opacity: 1;
  transition: opacity 0.2s;
}
#flipbook-overlay #flipbook-stage::before {
  left: -0.5vw;
  /* Trapezoid Shape: Outer edge (Left/0%) is shorter than Inner edge (Right/100%) */
  /* 0% 2% -> Top-Left start lower */
  /* 100% 0% -> Top-Right start at top (touching page) */
  /* 100% 100% -> Bottom-Right end at bottom (touching page) */
  /* 0% 98% -> Bottom-Left end higher */
  -webkit-clip-path: polygon(0% 2%, 100% 0%, 100% 100%, 0% 98%);
          clip-path: polygon(0% 2%, 100% 0%, 100% 100%, 0% 98%);
}
#flipbook-overlay #flipbook-stage::after {
  right: -0.5vw;
  /* Trapezoid Shape: Inner edge (Left/0%) is full height, Outer edge (Right/100%) is shorter */
  /* 0% 0% -> Top-Left (touching page) */
  /* 100% 2% -> Top-Right start lower */
  /* 100% 98% -> Bottom-Right end higher */
  /* 0% 100% -> Bottom-Left (touching page) */
  -webkit-clip-path: polygon(0% 0%, 100% 2%, 100% 98%, 0% 100%);
          clip-path: polygon(0% 0%, 100% 2%, 100% 98%, 0% 100%);
}
#flipbook-overlay #flipbook-stage.is-closed {
  border-color: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0;
  /* Reset padding when closed so Cover fits */
  /* Hide stack when closed */
}
#flipbook-overlay #flipbook-stage.is-closed::before, #flipbook-overlay #flipbook-stage.is-closed::after {
  opacity: 0;
}
#flipbook-overlay #flipbook-stage .flip-book {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: none !important;
  /* Remove global shadow */
  background: transparent !important;
  display: none;
}
#flipbook-overlay #flipbook-stage .page {
  /* Grundstyle für alle Seiten */
  background-color: #fdfaf7;
  /* Border removed here - applied to Stage instead */
  color: #785e3a;
  /* Textfarbe z.B. */
  overflow: hidden;
  /* Force remove all shadows */
  /* Library internal resets */
}
#flipbook-overlay #flipbook-stage .page.-hard {
  background-color: transparent !important;
  /* Cover border removed per feedback */
  border: none !important;
  box-shadow: none !important;
}
#flipbook-overlay #flipbook-stage .page.-hard .book-title {
  max-width: unset;
  position: absolute;
  top: 30%;
  left: 25%;
  width: 51%;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
#flipbook-overlay #flipbook-stage .page.-hard .book-title p {
  font-family: "Arial", Sans-serif;
  font-size: 2vw;
  color: #95A6B1;
}
#flipbook-overlay #flipbook-stage .page.-hard.--right img {
  width: 100%;
  height: auto;
  border-radius: 0 1.5vw 1.5vw 0;
}
#flipbook-overlay #flipbook-stage .page.-hard.--left img {
  width: 100%;
  height: auto;
  border-radius: 1.5vw 0 0 1.5vw;
}
#flipbook-overlay #flipbook-stage .page.stf__item.--left, #flipbook-overlay #flipbook-stage .page.stf__block.--left {
  border-right: 0;
}
#flipbook-overlay #flipbook-stage .page.stf__item.--left .page-content, #flipbook-overlay #flipbook-stage .page.stf__block.--left .page-content {
  /* Shadow on Right side (Spine) */
  box-shadow: inset -1.6vw 0 1.9vw -1vw rgba(0, 0, 0, 0.4);
  border-right: 1px solid #9f9f9f;
}
#flipbook-overlay #flipbook-stage .page.stf__item.--right, #flipbook-overlay #flipbook-stage .page.stf__block.--right {
  border-left: 0;
}
#flipbook-overlay #flipbook-stage .page.stf__item.--right .page-content, #flipbook-overlay #flipbook-stage .page.stf__block.--right .page-content {
  /* Shadow on Left side (Spine) */
  box-shadow: inset 1.6vw 0 1.9vw -1vw rgba(0, 0, 0, 0.4);
}
#flipbook-overlay #flipbook-stage .page .page-content {
  width: 100%;
  height: 100%;
  /* Padding, damit Text nicht im Falz verschwindet */
  padding: 2vw;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background: #E8E5E0;
  /* Falls wir Elementor-Inhalte klonen, müssen diese gut aussehen */
  display: flex;
  flex-direction: column;
  /* Elementor Anpassungen innerhalb Seite */
}
#flipbook-overlay #flipbook-stage .page .page-content ul {
  padding-left: 2vw;
}
#flipbook-overlay #flipbook-stage .page .page-content ul li {
  list-style-type: circle;
}
#flipbook-overlay #flipbook-stage .page .page-content .front-cover img {
  border-radius: 0 1.5vw 1.5vw 0;
}
#flipbook-overlay #flipbook-stage .page .page-content .back-cover img {
  border-radius: 1.5vw 0 0 1.5vw;
}

/* =========================================
   Mobile View Overrides (Inline Slider)
   ========================================= */
@media (max-width: 767px) {
  /* 1. Hide Desktop Overlay Completetly on Mobile */
  #flipbook-overlay {
    display: none !important;
  }
  /* 2. Styles for the Book Container in Mobile Mode */
  .book {
    /* Ensure relative positioning for the slider */
    position: relative;
  }
  /* Helper Class injected by JS to hide original elements */
  .hidden-on-mobile-slider {
    display: none !important;
  }
  /* 3. The Inline Slider Container */
  .mobile-inline-slider {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 20px;
  }
  .slider-stage {
    position: relative;
    width: 100%;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .mobile-slide {
    width: 100%;
    animation: fadeIn 0.3s ease-in-out;
    /* Styling for the Cover Slides */
  }
  .mobile-slide.active {
    display: block;
  }
  .mobile-slide.cover-slide {
    position: relative;
  }
  .mobile-slide.cover-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: none;
    transform: none !important;
  }
  .mobile-slide.cover-slide .mobile-slider-title {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    left: 23.8vw;
    right: unset;
  }
  .mobile-slide.cover-slide .mobile-slider-title p {
    font-family: "Arial", Sans-serif;
    font-size: 1.5rem;
    color: #95A6B1;
    margin: 0;
    line-height: 1.2;
    padding: 0 10%;
  }
  .mobile-slide.content-slide {
    margin-right: -15vw;
  }
  .mobile-slide.content-slide .mobile-page-content {
    padding: 11vw 14vw 10vw 16vw;
    height: 131vw;
    background-size: 100% 100%;
  }
  .mobile-slide.content-slide .mobile-page-content .e-con-full {
    padding: 0;
  }
  .mobile-slide.content-slide .mobile-page-content .e-con-full .elementor-heading-title {
    font-size: 4.2vw;
  }
  .mobile-slide.content-slide .mobile-page-content .e-con-full .elementor-widget-text-editor {
    font-size: 2.8vw;
  }
  /* Styles specifically for CONTENT Slides (Open Book Background) */
  .mobile-page-content {
    /* Background Image simulating Open Book */
    background-image: url("mobile-book-bg.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    /* Aspect Ratio should roughly match the image 656 x 940 */
    aspect-ratio: 656/940;
    width: 100%;
    /* Inner Padding to keep text away from edges */
    padding: 10% 8%;
    box-sizing: border-box;
    color: #785e3a;
    font-family: Arial, sans-serif;
    /* Typography adjustments for mobile readability */
  }
  .mobile-page-content h1,
.mobile-page-content h2,
.mobile-page-content h3,
.mobile-page-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
    line-height: 1.2;
  }
  .mobile-page-content p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  .mobile-page-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
  }
  .mobile-page-content ul li {
    margin-bottom: 5px;
  }
  .mobile-page-content img {
    box-shadow: none;
    /* Reset shadow for internal images */
    margin-bottom: 15px;
    max-width: 100%;
  }
  /* 4. Controls */
  .slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .slider-controls .page-indicator {
    font-family: sans-serif;
    font-size: 14px;
    color: #264a66;
    font-weight: 600;
  }
  .slider-controls .nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #95a6b1;
    border: none;
    background: transparent;
  }
  .slider-controls .nav-btn i {
    font-family: "the7-feather" !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .slider-controls .nav-btn i::before {
    font-size: 55px;
  }
  .slider-controls .nav-btn.prev-btn i::before {
    content: "\e92f";
  }
  .slider-controls .nav-btn.next-btn i::before {
    content: "\e930";
  }
  .slider-controls .nav-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}