/* ==================================================
   Basic Reset & Body
   ================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
  max-width: 500px;   
  margin: 0 auto;     
  padding: 20px;
}

/* ==================================================
   Header
   ================================================== */
header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 1.8em;
  margin-bottom: 5px;
}

header h2 {
  font-size: 1em;
  color: #555;
}

/* ==================================================
   Blockquotes (Zitat)
   ================================================== */
blockquote {
  border-left: 4px solid #0073e6;
  background-color: #f9f9f9;
  padding: 10px 15px;
  margin: 15px 0;
  font-style: italic;
  font-size: 0.95em;
  line-height: 1.5;
  border-radius: 4px;
}

blockquote a {
  color: #0073e6;
  text-decoration: none;
}

blockquote a:hover {
  text-decoration: underline;
}

/* ==================================================
   Slider
   ================================================== */
.glide {
  max-width: 100%;
  margin: 0 auto 10px auto; /* Abstand zu Shops reduziert */
}

.glide__slide img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.glide__arrow img {
  width: 15px;
  height: auto;
}

/* ==================================================
   Generation Harmony Section
   ================================================== */
.generation-harmony {
  text-align: center;
  margin: 30px 0;
}

.generation-harmony h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.generation-harmony p {
  margin: 5px 0;
  font-size: 0.9em;
}

.generation-harmony a {
  text-decoration: none;
  color: #0077cc;
  margin: 0 5px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.generation-harmony a:hover {
  color: #005999;
}

.generation-harmony img.portrait {
  max-width: 100px;
  height: auto;
  margin: 25px 0 10px 0;
  border-radius: 50%;
}

/* ==================================================
   Author Section (Detailseiten)
   ================================================== */
.author-section {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.author-image {
  flex: 0 0 120px;
}

.author-image img {
  width: 120px;
  height: auto;
  border-radius: 4px;    
  display: block;
}

.author-text {
  flex: 1 1 auto;
  font-size: 0.95em;
  text-align: justify;
  line-height: 1.5;
}

/* ==================================================
   Contact / Social Section
   ================================================== */
.contact-section {
  text-align: center;
  margin: 50px 0;
}

.contact-section p {
  margin: 0;
}

.contact-section .social-icons {
  display: inline-flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

.contact-section .social-icons a {
  display: inline-block;
}

.contact-section .social-icon {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.contact-section .social-icon:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}

/* Kontakt-Seite E-Mail Icon */
.contact-section .email-icon {
  display: block;
  margin: 5px auto 25px auto;
  height: 30px;
  width: auto;
  vertical-align: middle;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-section .email-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* ==================================================
   About Section (Startseite)
   ================================================== */
.about {
  text-align: center;
  margin: 20px 0;
  padding: 0 10px;
}

.about h2 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.about p {
  font-size: 0.9em;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 480px;
}

.about-link {
  text-align: center;
  margin-top: 20px;
}

.about-link a {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}

.about-link a:hover {
  color: #005999;
  text-decoration: underline;
}

/* ==================================================
   Shops Section
   ================================================== */
.shops {
  margin: 15px 0;
  font-size: 0.9em;
  line-height: 1.5;
}



.book-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.book-icon-wrapper {
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
}

.book-icon-wrapper img {
  height: 40px;
  width: auto;
}

.book-links {
  display: flex;
  flex-direction: column;  /* WICHTIG: Text über Logos */
}

.book-logos {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px; /* Abstand zwischen Text und Logos */
}

.book-logos img.shoplogo {
  display: block;
  height: 25px;
  width: auto;
}

/* Mobile: Logos untereinander */
@media (max-width: 300px) {
  .book-logos {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}




.shops .note {
  font-size: 0.8em;
  color: #666;
  margin-top: 8px;
}

/* ==================================================
   Book Description
   ================================================== */
.book-description {
  margin: 30px 0;
}

.book-description h2 {
  font-size: 1.4em;
  margin-bottom: 10px;
  text-align: center;
}

.book-description h3 {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: center;
  color: #555;
}

.book-description p {
  margin-bottom: 12px;
  font-size: 0.9em;
  color: #333;
  text-align: justify;
}


/* ==================================================
   Book-Slider
   ================================================== */
.book-slider .glide {
  position: relative;
}

.book-slider .glide__arrows {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  padding: 0 8px; /* optional: etwas Abstand zum Rand */
  box-sizing: border-box;
}

.book-slider .glide__arrow {
  background: none;
  border: none;
  cursor: pointer;
}





/* ==================================================
   Site Footer
   ================================================== */
.site-footer {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.85em;
  color: #666;
  margin-top: 40px;
  line-height: 1.4;
  word-break: break-word;
}

.site-footer a {
  color: #666;
  text-decoration: none;
  position: relative;
  margin: 0 4px;
}

.site-footer a::after {
  content: "|";
  position: absolute;
  right: -8px;
  color: #666;
}

.site-footer a:last-child::after {
  content: "";
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ==================================================
   FAQ Section – Modern, iOS-kompatibel
   ================================================== */
.faq-section {
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.95em;
  line-height: 1.5;
}

.faq-section details {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background-color: #fafafa;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-section details[open] {
  background-color: #f0f8ff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-section summary {
  position: relative;
  display: block;
  width: 100%;
  padding-left: 25px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  list-style: none;
  user-select: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::marker {
  content: none;
}

.faq-section summary::before {
  content: "►";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1em;
  line-height: 1.2;
  transition: transform 0.25s ease, color 0.25s ease;
  color: #007acc;
}

.faq-section details[open] summary::before {
  transform: rotate(90deg);
  color: #005a99;
}

.faq-section summary:hover {
  color: #007acc;
}

.faq-section details > p {
  margin-top: 8px;
  transition: opacity 0.25s ease;
}

.faq-section details ol,
.faq-section details ul {
  margin-left: 1.5em;
  padding-left: 0;
}

.faq-section details li {
  margin-bottom: 0.5em;
}

.faq-section img.shoplogo {
  height: 25px;
  width: auto;
  margin: 6px 0;
  vertical-align: middle;
}

/* ==================================================
   Responsive Adjustments
   ================================================== */
@media (max-width: 500px) {
  header h1 {
    font-size: 1.5em;
  }
  header h2 {
    font-size: 0.9em;
  }
  .author-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-image {
    flex: 0 0 auto;
    margin-bottom: 15px;
  }
  .author-text {
    text-align: center;
  }
  .book-section {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
  }
  .book-icon-wrapper {
    margin-bottom: 8px;
  }
  blockquote {
    max-width: 90%;
    padding: 12px 15px;
  }
}


