/* ==========================================================================
   pages.css – Zusatzkomponenten für Unterseiten (FAQ, Filialen, Kontakte,
   Buchtipps, Einzelansicht, Event-Beispielseite). Ergänzt style.css.
   ========================================================================== */

/* --- Gemeinsame Helfer -------------------------------------------------- */
.pg-heading {
  font-family: Hacky, sans-serif;
  font-weight: 300;
  line-height: 0.95;
  margin: 0 0 var(--content-spacing);
  -webkit-hyphens: auto;
  hyphens: auto;
}
.pg-heading em {
  font-style: italic;
  font-weight: 700;
}
.pg-heading.align-center {
  text-align: center;
}
.pg-heading .pg-heading-line {
  display: block;
}
.pg-heading .pg-heading-line + .pg-heading-line {
  margin-left: 2.5em;
}

.pg-pills {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  display: flex;
}
.pg-pill {
  border: 0.0625rem solid var(--body-color);
  color: var(--body-color) !important;
  background: 0 0;
  border-radius: 2rem;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, 0.09, 0.48, 1);
  display: inline-flex;
}
.pg-pill:hover {
  background-color: var(--body-color);
  color: var(--light);
}
.pg-pill .icon {
  width: 0.875rem;
  height: 0.875rem;
}
.pg-pill .icon.chevron {
  transform: rotate(90deg);
}
.pg-pill-filled {
  background-color: rgb(var(--pill-color-rgb, var(--seventh-color-rgb)));
  border-color: rgb(var(--pill-color-rgb, var(--seventh-color-rgb)));
  color: var(--light);
}
.pg-pill-filled.pg-pill-dark-text {
  color: var(--body-color);
}
.pg-pill-filled:hover {
  background-color: var(--body-color);
  border-color: var(--body-color);
}
.pg-pill-round {
  width: 2rem;
  height: 2rem;
  background-color: var(--body-color);
  border-color: var(--body-color);
  padding: 0;
}
.pg-pill-round .icon {
  background-color: var(--light);
}

.pg-icon-btn {
  color: var(--body-color);
  background: 0 0;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
  display: inline-flex;
}
.pg-icon-btn .icon {
  width: 1rem;
  height: 1rem;
}
.pg-icon-btn.is-cart .icon {
  background-color: var(--first-color);
}

/* Tab-Beschriftung über einem Bereich (wie footer .top .title) */
.pg-tab-label {
  background-color: rgb(var(--tab-color-rgb, var(--eleventh-color-rgb)), var(--tab-opacity, 0.35));
  border-radius: 1rem 1rem 0 0;
  margin-left: calc((100% - var(--container-max-width)) / 2);
  padding: 0.375rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-block;
}
.pg-tabbed {
  padding-top: 0;
}
.pg-tabbed > .pg-tabbed-body {
  background-color: rgb(var(--tab-color-rgb, var(--eleventh-color-rgb)), var(--tab-opacity, 0.35));
  padding: 4rem 0;
}

/* --- Seiten-Hero ---------------------------------------------------------- */
.pg-hero {
  background-color: rgb(var(--hero-color-rgb, var(--second-color-rgb)), var(--hero-opacity, 0.35));
  padding: 3rem 0 4.5rem;
}
.pg-hero.pg-hero-plain {
  background-color: transparent;
}
.pg-hero-layout {
  align-items: center;
  gap: 3rem;
  display: flex;
}
.pg-hero-content {
  flex: 1;
  min-width: 0;
}
.pg-hero-aside {
  flex: 0 0 auto;
  width: 38%;
}
.pg-hero .pg-pills {
  margin-bottom: 4rem;
}
.pg-hero .pg-heading {
  font-size: var(--h1-font-size);
}
.pg-hero .pg-hero-kicker {
  font-family: Hacky, sans-serif;
  font-size: var(--h4-font-size);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.pg-hero-intro {
  max-width: 26rem;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.pg-hero-intro.is-regular {
  font-weight: 400;
}
.pg-hero-photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 18rem;
  object-fit: cover;
  margin-left: auto;
  display: block;
}

/* Glas-Box (Google-Bewertung) */
.pg-glass-box {
  background-color: rgba(255, 255, 255, 0.25);
  border: 0.0625rem solid rgba(255, 255, 255, 0.6);
  border-radius: 1.875rem;
  padding: 2rem;
  box-shadow: inset 0 0 1.5rem rgba(255, 255, 255, 0.5), 0 0.5rem 1.5rem rgba(62, 61, 56, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pg-glass-box .pg-glass-title {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.pg-glass-box p {
  font-size: 0.875rem;
}

/* --- FAQ ------------------------------------------------------------------ */
.pg-faq-title {
  font-size: var(--h2-font-size);
}
.pg-faq-group {
  margin-bottom: 5rem;
}
.pg-faq-group:last-child {
  margin-bottom: 0;
}
.pg-faq-group-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.pg-faq-item {
  --faq-rgb: var(--faq-color-rgb, var(--sixth-color-rgb));
  background-color: rgb(var(--faq-rgb), 0.25);
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.pg-faq-item > summary {
  background-color: rgb(var(--faq-rgb), 0.85);
  border-radius: 1rem;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  display: flex;
}
.pg-faq-item > summary::-webkit-details-marker {
  display: none;
}
.pg-faq-item > summary::after {
  content: "";
  border-bottom: 0.125rem solid var(--body-color);
  border-right: 0.125rem solid var(--body-color);
  flex: 0 0 auto;
  width: 0.625rem;
  height: 0.625rem;
  transition: transform 0.2s cubic-bezier(0.68, 0.09, 0.48, 1);
  transform: rotate(-45deg);
}
.pg-faq-item[open] > summary::after {
  transform: rotate(45deg);
}
.pg-faq-item > summary:focus-visible {
  outline: 0.125rem solid var(--body-color);
  outline-offset: -0.25rem;
}
.pg-faq-answer {
  padding: 1.5rem 1.5rem 1.25rem;
  font-size: 0.875rem;
}
.pg-faq-answer p:last-child {
  margin-bottom: 0;
}
.pg-faq-answer a {
  color: inherit;
  font-weight: 700;
}

/* --- Einzelansicht-Box (Buch) -------------------------------------------- */
.pg-book-single {
  --single-rgb: var(--single-color-rgb, var(--eleventh-color-rgb));
  background-color: rgb(var(--single-rgb), 0.35);
  border: 0.0625rem solid rgba(62, 61, 56, 0.35);
  border-radius: 1.875rem;
  gap: 3rem;
  padding: 2rem 2.5rem;
  display: flex;
}
.pg-book-single + .pg-book-single {
  margin-top: 2rem;
}
.pg-book-single-card {
  flex-direction: column;
  flex: 0 0 auto;
  justify-content: space-between;
  gap: 2rem;
  width: 18rem;
  display: flex;
}
.pg-book-single-top {
  align-items: flex-end;
  gap: 0.75rem;
  display: flex;
}
.pg-book-single-cover img {
  width: 6.75rem;
  height: auto;
  box-shadow: 0 0.25rem 0.75rem rgba(62, 61, 56, 0.2);
  display: block;
}
.pg-book-single-meta {
  font-size: 0.6875rem;
  line-height: 1.35;
}
.pg-book-single-meta > * {
  margin-bottom: 0.625rem;
}
.pg-book-single-meta .pg-badge {
  border: 0.0625rem solid var(--body-color);
  border-radius: 0.375rem;
  padding: 0 0.375rem;
  display: inline-block;
}
.pg-book-single-meta .pg-book-title {
  font-size: 0.875rem;
  font-weight: 600;
}
.pg-book-single-meta .pg-book-buy {
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
}
.pg-book-single-text {
  flex: 1;
  min-width: 0;
}
.pg-book-single-text .pg-author {
  font-family: Hacky, sans-serif;
  font-size: var(--h5-font-size);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pg-book-single-text .pg-title {
  font-family: Hacky, sans-serif;
  font-size: var(--h3-font-size);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2.5rem;
}
.pg-book-single-text .text {
  font-size: 0.875rem;
}
.pg-book-single-text .text p{
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden
}
.pg-quote {
  background-color: rgb(var(--eleventh-color-rgb));
  border-radius: 1.875rem;
  max-width: 26rem;
  margin-top: 2rem;
  padding: 1.75rem 2rem;
}
.pg-quote blockquote {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  line-height: 1.25;
}
.pg-quote figcaption {
  font-size: 0.75rem;
}

/* --- Filialen ------------------------------------------------------------- */
.pg-store-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  display: grid;
}
.pg-store-card {
  --store-rgb: var(--store-color-rgb, var(--fourteenth-color-rgb));
  background-color: rgb(var(--store-rgb), 0.35);
  border: 0.0625rem solid rgba(62, 61, 56, 0.35);
  border-radius: 1.875rem;
  flex-direction: column;
  display: flex;
  overflow: hidden;
}
.pg-store-body {
  flex: 1;
  padding: 1.5rem 1rem 1rem;
}
.pg-store-top {
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
}
.pg-store-top img {
  object-fit: cover;
  flex: 0 0 auto;
  width: 8rem;
  height: 9.5rem;
}
.pg-store-name {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
}
.pg-store-sub {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.pg-store-lead {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}
.pg-store-lead strong {
  display: block;
}
.pg-store-range {
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
  font-size: 0.8125rem;
}
.pg-store-range ul {
  margin: 0;
  padding-left: 1.25rem;
}
.pg-store-info {
  background-color: rgb(var(--sixth-color-rgb), 0.55);
  border-radius: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  line-height: 1.4;
  display: grid;
}
.pg-store-info > div + div {
  border-left: 0.0625rem solid rgba(62, 61, 56, 0.35);
  padding-left: 1rem;
}
.pg-store-info strong {
  margin-bottom: 0.125rem;
  display: block;
}
.pg-store-info a {
  color: inherit;
  text-decoration: none;
}
.pg-store-photo {
  aspect-ratio: 16 / 5;
  background: linear-gradient(135deg, rgb(var(--third-color-rgb), 0.6), rgb(var(--second-color-rgb)));
  background-position: center;
  background-size: cover;
}
.pg-more {
  justify-content: flex-end;
  margin-top: 1.5rem;
  display: flex;
}
.pg-map {
  border-radius: 1rem;
  overflow: hidden;
}
.pg-map iframe {
  border: 0;
  width: 100%;
  height: 34rem;
  display: block;
}

/* --- Kontakte ------------------------------------------------------------- */
.pg-contact-group {
  margin-bottom: 4.5rem;
}
.pg-contact-group:last-child {
  margin-bottom: 0;
}
.pg-contact-group-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.pg-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  display: grid;
}
.pg-contact-card {
  --contact-rgb: var(--contact-color-rgb, var(--fourteenth-color-rgb));
  background-color: rgb(var(--contact-rgb), 0.3);
  border: 0.0625rem solid rgb(var(--contact-rgb));
  border-radius: 1.25rem;
  padding: 1rem;
}
.pg-contact-top {
  gap: 1rem;
  margin-bottom: 2rem;
  display: flex;
}
.pg-contact-top img {
  object-fit: cover;
  flex: 0 0 auto;
  width: 7rem;
  height: 9rem;
}
.pg-contact-info {
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.75rem;
  line-height: 1.35;
  display: flex;
  padding-top: 1rem;
}
.pg-contact-info strong {
  font-size: 0.875rem;
  display: block;
}
.pg-contact-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  display: flex;
}
.pg-contact-links a {
  background-color: rgb(var(--contact-rgb));
  color: var(--light);
  border-radius: 2rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  max-width: 100%;
  overflow: hidden;
}
.pg-contact-links a .icon {
  background-color: var(--light);
  flex: 0 0 auto;
  width: 0.75rem;
  height: 0.75rem;
}

/* --- Buchtipp-Detailseite ------------------------------------------------- */
.pg-hero-cover {
  text-align: center;
}
.pg-hero-cover img {
  width: 100%;
  max-width: 16rem;
  height: auto;
  box-shadow: 0 0.5rem 1.5rem rgba(62, 61, 56, 0.2);
  margin-bottom: 1.5rem;
}
.pg-hero-cover .pg-pills {
  justify-content: center;
  margin-bottom: 0;
}
.pg-article-layout {
  align-items: flex-start;
  gap: 4rem;
  display: flex;
}
.pg-article-text {
  flex: 1;
  min-width: 0;
  max-width: 44rem;
  font-size: 0.875rem;
}
.pg-article-aside {
  flex: 0 0 auto;
  width: 30%;
  position: sticky;
  top: 8rem;
}
.pg-article-footer {
  justify-content: center;
  margin-top: 3rem;
}
.pg-tip-by {
  align-items: center;
  gap: 1.5rem;
  display: flex;
}
.pg-tip-by img {
  object-fit: cover;
  border-radius: 1rem;
  flex: 0 0 auto;
  width: 8rem;
  height: 8rem;
}
.pg-tip-by .pg-tip-by-title {
  font-size: 1.125rem;
  font-weight: 700;
}
.pg-tip-by p {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

/* --- Event-Beispielseite -------------------------------------------------- */
.pg-banner {
  padding: 0;
}
.pg-banner img {
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}
.pg-live {
  background-color: rgb(var(--fourteenth-color-rgb), 0.6);
}
.pg-live-layout {
  align-items: center;
  gap: 4rem;
  display: flex;
}
.pg-live-layout > * {
  flex: 1;
  min-width: 0;
}
.pg-live .pg-heading {
  font-size: var(--h2-font-size);
}
.pg-live .pg-live-sub {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.pg-live .pg-live-text {
  max-width: 28rem;
  font-size: 0.875rem;
}
.pg-live section.events {
  padding: 0;
}
.pg-live .event-card {
  max-width: 26rem;
  margin-left: auto;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .pg-store-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pg-article-layout {
    flex-direction: column-reverse;
  }
  .pg-article-aside {
    width: 100%;
    position: static;
  }
}
@media (max-width: 767.98px) {
  .pg-hero-layout,
  .pg-book-single,
  .pg-live-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .pg-hero-aside {
    width: 100%;
  }
  .pg-hero-photo {
    margin: 0 auto;
  }
  .pg-hero .pg-pills {
    margin-bottom: 2.5rem;
  }
  .pg-heading .pg-heading-line + .pg-heading-line {
    margin-left: 1em;
  }
  .pg-book-single {
    gap: 2rem;
    padding: 1.5rem;
  }
  .pg-book-single-card {
    order: 2;
    width: 100%;
  }
  .pg-store-info {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-store-info > div + div {
    border-top: 0.0625rem solid rgba(62, 61, 56, 0.35);
    border-left: 0;
    padding-top: 0.75rem;
    padding-left: 0;
  }
  .pg-store-top img {
    width: 6rem;
    height: 7.5rem;
  }
  .pg-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg-tab-label {
    margin-left: 1rem;
  }
  .pg-map iframe {
    height: 24rem;
  }
}

/* --- Korrekturen ---------------------------------------------------------- */
.pg-article-text p,
.pg-book-single-text .text p {
  margin-bottom: 1rem;
}
.pg-book-single-cover {
  flex: 0 0 auto;
}
.pg-contact-links a {
  background-color: rgb(var(--contact-link-color-rgb, var(--contact-rgb)));
}
