
/* ----------------------------------------------
   RESET & BOX-SIZING
------------------------------------------------*/

* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
}
/* ----------------------------------------------
   BODY & HTML
------------------------------------------------*/

html, body {
  height: 100%;
  font-family: Verdana, serif;
  font-size: 16px;
  font-style: normal;
  background-color: #000;
  background-image: url('bg.webp');
  background-position: center 0%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
  color: #e1e1e1;
  margin: 0;
  display: flex;           
  flex-direction: column;
}

  .item img {
    --zoom: 1;                     /* kein Zoom auf Mobile */
    transform: scale(var(--zoom));
    transform-origin: center center; 
    transition: transform 0.5s ease;
  }
}

#book-text {
    min-height: 180px;
    overflow-anchor: none;
}

.book-list {
    display: none;
}

.book-list.active {
    display: block;
}

/* ----------------------------------------------
   MAIN CONTAINER
------------------------------------------------*/

.container, .container_book {
  flex: 1; 
  margin-top: 130px;
  margin-bottom: 0; 
}

.container .privacy {
    margin-top: 2em; 
    font-style: italic;
}

.container {
  margin-left: auto;
  margin-right: auto;
  margin-top: 130px;
  margin-bottom: 100px;
  width: 60%;
  text-align: left;
  color: #e1e1e1;
  font-size: 15px;
  background-color:rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
.container {
  margin-left: auto;
  margin-right: auto;
  margin-top: 130px;
  margin-bottom: 100px;
  width: 95%;
  text-align: left;
  color: #e1e1e1;
  font-size: 15px;
  background-color:rgba(0, 0, 0, 0.6);
}
}

@media (max-width: 350px) {
.container {
  margin-left: auto;
  margin-right: auto;
  margin-top: 130px;
  margin-bottom: 100px;
  width: 95%;
  text-align: left;
  color: #e1e1e1;
  font-size: 12px;
  background-color:rgba(0, 0, 0, 0.6);
}
}

.container_book {
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
  margin-bottom: 100px;
  width: 55%;
  text-align: left;
  color: #e1e1e1;
  font-size: 15px;
  background-color:rgba(0,0,0, 0.6);
}

@media (max-width: 768px) {
.container_book {
  margin-left: auto;
  margin-right: auto;
  margin-top: 130px;
  margin-bottom: 100px;
  width: 80%;
  text-align: left;
  color: #e1e1e1;
  font-size: 15px;
  background-color:rgba(0, 0, 0, 0.6);
}
}

.index_content {
  width: 95%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------
   NAVIGATION
------------------------------------------------*/


.navigationbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.navigationbar nav {
  position: relative;
  width: 100%;
}

.navigationbar nav img {
  position: absolute;
  left: 20px;
  height: 50px;
}

.navigationbar nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2em;
  justify-content: center;
  width: 100%;
}

.navigationbar nav ul li a {
  position: relative;
  color: #e1e1e1;
  text-decoration: none;
  font-size: 14px;
  padding: 15px 0;
  display: block;
  transition: color 0.3s ease;
}

@media (max-width: 350px) {
.navigationbar nav ul li a {
  position: relative;
  color: #e1e1e1;
  text-decoration: none;
  font-size: 12px;
  padding: 12px 0;
  display: inline-block;
  transition: color 0.3s ease;
}
}

.navigationbar nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 11px;
  width: 0%;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.9s ease;
}

.navigationbar nav ul li a:hover::after {
  width: 100%;
}

/* LANGUAGE SWITCH */

.lang-switch {
  margin-left: 5px;
  margin-right: 18px;
  font-size: 0.85rem;
}

.lang-switch a {
  color: #e1e1e1;
  font-size: 0.80em;
  font-weight: 600;
  text-decoration: none;
  opacity: 1;
}

.lang-switch a.active {
  opacity: 1;
  font-weight: 600;
  color: #a64371;
}

.lang-switch a + a {
  position: relative;
  padding-left: 4px;
}

.lang-switch a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-45%);
  height: 100%;   /* Höhe der Linie */
  border-left: 1px solid rgba(255,255,255,0.6); 
}


footer {
  width: 100%;
  background-color: #000;
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

footer .footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2em;
}

footer .footer-nav ul li a {
  position: relative;
  color: #e1e1e1;
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  display: inline-block;
  transition: color 0.3s ease;
}

footer .footer-nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.9s ease;
}

footer .footer-nav ul li a:hover::after {
  width: 100%;
}

/* ----------------------------------------------
   SALE GRID
------------------------------------------------*/

.flex-sale {
  background-color:rgba(0, 0, 0, 0.6);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  width: 70%;
  display: flex;
  gap: 10px; 
  flex-wrap: wrap;
}

.sale-item {
  flex: 1 1 calc(33.333% - 20px); 
  padding: 20px;
  text-align: center;
  border: 0px solid #ccc;
  box-sizing: border-box;
  transition: flex-basis 0.4s ease; 
}

@media (max-width: 900px) {
  .sale-item {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .sale-item {
    flex: 1 1 100%;
  }
}

/* ----------------------------------------------
   HEADINGS & TEXT
------------------------------------------------*/

h1 {
  color: #e1e1e1;
  text-align: center;
  font-size: 30px;
  font-family: Times New Roman;
  transition: font-size 0.7s ease;
}

@media (max-width: 900px) {
h1 {
  color: #e1e1e1;
  text-align: center;
  font-size: 23px;
  font-family: Times New Roman;
  }
}

@media (max-width: 350px) {
h1 {
  color: #e1e1e1;
  text-align: center;
  font-size: 16px;
  font-family: Times New Roman;
  }
}


.titlec {
    color: #D4AF37;
}

h2 {
  color: #D4AF37;
  text-align: left;
  font-size: 24px;
  font-family: Times New Roman;
  margin-bottom: 1em;
  margin-left: 1em;
}

h3 {
  color: #e1e1e1;
  text-align: left;
  font-size: 17px;
  font-weight: 400;
  font-family: Times New Roman;
  margin-bottom: -0.8em;
}

h4 {
  color: #D4AF37;
  font-family: Times New Roman;
  font-size: 18px;
  margin-bottom: -0.2em;
  margin-top: 18px;
}

h5 {
  color: #D4AF37;
}

h6 {
  text-align: center;
  font-size: 30px;
  font-family: Times New Roman;
  color: #D4AF37;
  margin-bottom: 10px;
  transition: font-size 0.7s ease;
}

@media (max-width: 900px) {
h6 {
  text-align: center;
  font-size: 25px;
  font-family: Times New Roman;
  color: #D4AF37;
  margin-bottom: 10px;
  }
}

@media (max-width: 350px) {
h6 {
  text-align: center;
  font-size: 22px;
  font-family: Times New Roman;
  color: #D4AF37;
  margin-bottom: 10px;
  }
}

.ops {
  font-size: 11px;
}

.custom-underline {
    text-decoration: none; 
    border-bottom: 1px solid #e1e1e1;
}

strong {
    color: #D4AF37;
}
/* ----------------------------------------------
   PARAGRAPHS & LISTS
------------------------------------------------*/
.sarahdesign {
  font-size: 13px;
  text-align: center;
}

p {
  text-align: left;
  color: #e1e1e1;
  margin-left: 1em;
}

.getin {
  padding-top: 20px;
}

.container p {
    margin-bottom: 1.5em;
    line-height: 1.6; 
}

ul {
  margin:0;
  padding:1.3em;
  text-decoration:none;
  list-style:none;
}
li {
  padding:0;
  margin:0;
}

/* ----------------------------------------------
   SLIDER
------------------------------------------------*/

.slider {
  margin-left: auto;
  margin-right: auto;
  margin-top: 28px;
  position: relative;
  width: 100%;
  background-color: #000000;
  transition: margin-top 1.5s ease;
}

@media (max-width: 900px) {
.slider {
  margin-left: auto;
  margin-right: auto;
  margin-top: 45px;
  position: relative;
  width: 100%;
  background-color: #000000;
    }
}

.items {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 26.25%;
}

.item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  
}

.item.current {
  opacity: 1;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  /* object-fit: contain; */
  --zoom: clamp(1, 1.1 + 0.6vw, 1.5);
  transform: scale(var(--zoom));
  transform-origin: 50% 20%;
  transition: transform 3.4s ease;
}

@media (max-width: 768px) {
  .item img {
    transform: scale(1.5);
    transform-origin: 50% 30%; 
    transform-origin: center 20%;
    transition: transform 3.7s ease;
  }
}

/* ----------------------------------------------
   IMAGE SWITCHER
------------------------------------------------*/

.image-switcher {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  position: relative;
}

.image-switcher img {
  width: 100%;
  height: auto;
  display: none;
}

.image-switcher img.active {
  display: block;
}

.switch-img {
  display: none;
  width: 100%;
  height: auto;
}

.switch-img.active {
  display: block;
}

.switch-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.switch-buttons button {
  width: 90px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 0px;
  border: none;
  color: #e1e1e1;
  background-color: #0d0d0d;
    transition-property:all .2s linear 0s;
  -moz-transition:all .2s linear 0s;
  -webkit-transition:all .2s linear 0s;
  -o-transition:all .2s linear 0s;
}

.switch-buttons button:hover {
  background-color: #0d0d0d;
  color: #D4AF37;
  text-decoration: none;
}

/* ----------------------------------------------
   PRICE ROW
------------------------------------------------*/

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.price-item {
  flex: 1;
  text-align: center;
  font-size: 20px;
}

/* ----------------------------------------------
   BOOK GALLERY
------------------------------------------------*/

.books {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.book-info {
  margin-top: 10px;
}

.book-info-sale {
  margin-top: 30px;
}

.book-item {
  flex: 0 0 calc(33.333% - 20px);
  box-sizing: border-box;
  text-align: center;
  transition: 
  flex-basis 0.9s ease,
  transform 0.9s ease;
}

/* ------ 2 ------ row */
@media (max-width: 1000px) {
  .book-item {
  flex: 0 0 calc(50% - 20px);
  }
}

/* ------ 1 row ------ */
@media (max-width: 600px) {
  .book-item {
  flex: 0 0 100%;
  }
}

/* ----------------------------------------------
   BUTTONS
------------------------------------------------*/

.details {
  width: 120px;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  border-radius: 0px;
  border: none;
  color: #e1e1e1;
  background-color: #1a1a1a;
    transition-property:all .2s linear 0s;
  -moz-transition:all .2s linear 0s;
  -webkit-transition:all .2s linear 0s;
  -o-transition:all .2s linear 0s;
}

.details:hover {
  background-color: #1a1a1a;
  color: #D4AF37;
  text-decoration: none;
}

#back-button {
  width: 90px;
  padding: 10px;
  margin-top: 30px;
  border-radius: 0px;
  border: none;
  color: #e1e1e1;
  background-color: #0d0d0d;
  text-align: center;
  font-size: 14px;
  text-decoration: none;   /* Unterstrich weg */
  display: inline-block;   /* wie Button */
  transition: all .2s linear 0s;
}

#back-button:hover {
  color: #D4AF37;
}

/* ----------------------------------------------
   COVER THUMBNAIL
------------------------------------------------*/
.cover-view {
  border: solid 3px #000000;
  width: 210px;
  height: 310px;
}

/* ----------------------------------------------
   CONTACT LINK
------------------------------------------------*/

.contact-link {
  color: #e1e1e1;
  text-decoration: none; 
  border-bottom: 1px solid #e1e1e1;
}

.contact-link:hover {
  color: #D4AF37;
  text-decoration: none; 
  border-bottom: 1px solid #D4AF37;
}

/* ----------------------------------------------
   PRIVACY LINK
------------------------------------------------*/

.privacy {
  color: #D4AF37;
  text-decoration: none; 
  border-bottom: 0px solid #a64371;
}

.privacy:hover {
  color: #D4AF37;
  text-decoration: none; 
  border-bottom: 1px solid #D4AF37;
}

.inkl {
  text-align: center;
  font-size: 11px;
  height: 15px;
  margin-top: -2px;
  margin-bottom: 10px;
}

/* ----------------------------------------------
   CONTACT PRIVACY LINK
------------------------------------------------*/
.contact-privacy {
  color: #969696;
  text-decoration: none; 
  border-bottom: 0px solid #a64371;
}

/* ----------------------------------------------
   SALE
------------------------------------------------*/

.sale-text {
  margin-top: 90px;
  margin-bottom: 40px;
  font-size: 15px;
  text-align: center;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  transition: font-size 0.7s ease;
}

@media (max-width: 900px) {
.sale-text {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  }
}

.list {
  padding-bottom: 6px;
  margin-left: 10px;
}

/* ----------------------------------------------
   PRICE
------------------------------------------------*/
.price {
  color: #e1e1e1;
  font-size: 15px;
}

/* ----------------------------------------------
   BOOK DETAILS
------------------------------------------------*/

.book_details{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-right: 0px;
    padding-top: 12px;
}

.book_flex {
    flex: 1 1 calc(50% - 20px); 
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    transition: flex-basis 0.9s ease, transform 0.9s ease;
}

@media (max-width: 700px) {
  .book_flex {
    flex: 1 1 100%;
  }
}

.book_flex_text {
    flex: 1 1 calc(50% - 20px); 
    box-sizing: border-box;
    text-align: left;
    transition: flex-basis 0.9s ease, transform 0.9s ease;
}

@media (max-width: 700px) {
  .book_flex_text {
    flex: 1 1 100%;
  }
}

.cover_thumbnail {
    width: 348px;
    height: 540px;
}

summary {
	 font-size: 18px;
	 cursor: pointer;
	 color: #000000;
	 border-bottom: solid 1px;
	 padding-bottom: 10px;
	 margin-bottom: 5px;
}

.agb {
    color: #D4AF37;
}

.list-faq {
    list-style-type:disc;
    margin-left: 20px;
    margin-top: -20px;
    margin-bottom: -20px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ----------------------------------------------
   ACCORDION
------------------------------------------------*/

.accordion-text {
    margin-top: 0 !important;
    margin-bottom: 0.5em !important;
    line-height: 1.4 !important;
}

.anchor {
    scroll-margin-top: 65px;
}


.accordion .accordion-item {
    border-bottom: 0px solid #353535;
}

.accordion .accordion-item[aria-expanded="true"] {
    border-bottom: 0px solid #353535;
}

.accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    margin-bottom: 1em;
    color: #e1e1e1;
    font-size: 1.10rem;
    font-weight: 400;
    border: none;
    background-color:rgba(0, 0, 0, 0.6);
    outline: none;
}

.accordion button:hover, .accordion button:focus {
    cursor: pointer;
    background-color:rgba(18, 18, 18, 0.6);
    color: #e1e1e1;
}
.accordion button:hover::after, .accordion button:focus::after {
    cursor: pointer;
    color: #03b5d2;
    border: 0px solid #03b5d2;
}

.accordion button .accordion-title {
    padding: 0;
    margin-left: 40px;
    display: block;
    padding-right: 1.5em;
}

.accordion button[aria-expanded=true] {
    color: #D4AF37;
}

.accordion button[aria-expanded=true] .icon::after {
    width: 0;
}

.accordion button .icon {
    display: inline-block;
    position: absolute;
    top: 18px;
    left: 10px;
    width: 22px;
    height: 22px;
    border: 0px solid;
    border-radius: 0px;
    color: #D4AF37;
}

.accordion button .icon::before {
    display: block;
    position: absolute;
    content: "";
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}

.accordion button .icon::after {
    display: block;
    position: absolute;
    content: "";
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
    background: currentColor;
}

.accordion button[aria-expanded=true] + .accordion-content {
    opacity: 1;
    max-height: 35em;
    transition: all 600ms linear;
    will-change: opacity, max-height;
    margin-bottom: 1em;
}

.accordion .accordion-content {
    opacity: 0;
    background-color:rgba(0, 0, 0, 0.5);
    max-height: 0;
    overflow: hidden;
    transition: opacity 600ms linear, max-height 600ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content p {
    text-align: left;
    font-size: 15px;
    font-weight: 300;
    margin: 2em 0;
    padding: 20px;
}

/* ----------------------------------------------
   COOKIE BANNER
------------------------------------------------*/

.cookie-banner {
    position: fixed;
    bottom: 54px;
    right: 0;
    left: 10px;
    background-color: #0f0f0f;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 9999;
    max-width: 400px;
    display: none;
}

@media (max-width: 450px) {
.cookie-banner {
    position: fixed;
    bottom: 54px;
    right: 0;
    left: 0;
    background-color: #0f0f0f;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 9999;
    max-width: 100%;
    display: none;
  }
}

.cookie-banner p {
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.cookie-banner a {
    color: #9e9e9e;
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: #fff;
}

.cookie-banner .buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cookie-banner button {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

#accept-all {
    background-color: #fff;
    color: #000;
}

#accept-all:hover {
    background-color: #e0e0e0;
}

#reject-all {
    background-color: #2b2b2b;
    color: #ccc;
}

#reject-all:hover {
    background-color: #3a3a3a;
}

#open-settings {
    background-color: transparent;
    color: #9e9e9e;
    text-decoration: underline;
}

.cookie-settings {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background-color: #0f0f0f;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 10000;
    max-width: 360px;
    display: none;
}

.cookie-settings h3 {
    margin-top: 0;
    font-size: 16px;
}

.cookie-settings label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cookie-settings button {
    margin-top: 10px;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    background-color: #fff;
    color: #000;
}

.cookie-settings button:hover {
    background-color: #e0e0e0;
}

.image-grid {
    text-align: center;
}

active, :hover, :focus {
  outline: 0!important;
  outline-offset: 0;
}

.pagination {
    text-align: center;
    margin-bottom: 20px; /* Abstand zu den Büchern */
}

.pagination button {
    margin: 0 5px;
    padding: 6px 12px;
    border: none;
    color: #e1e1e1;
    background-color: #1a1a1a;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pagination button.active {
    background-color: #1a1a1a;
    color: #D4AF37;
}

.pagination button:hover {
    background-color: #1a1a1a;
    color: #D4AF37;
}