/* FAQ PAGE */

.faq-page {
  padding: 1.6rem 1.8rem 2rem;
}

.faq-intro {
  max-width: 680px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.faq-intro h1 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.28;
  font-weight: 300;
  color: var(--color-heading);
  letter-spacing: 0.01em;
}

.faq-intro p {
  margin: 0;
  line-height: 1.45;
}

/* FEATURED SCHMINKGEBIET */

.faq-feature {
  position: relative;
  margin: 0 auto 2rem;
  background: #faf4f4;
  border-radius: 8px;
  padding: 1rem 1rem 1.1rem;
}

.faq-feature-question {
  padding-top: 0.2rem;
}

.faq-feature-grid {
  display: block;
  padding-right: 340px;
}

.faq-feature-title {
  margin: 0 0 0.6rem;
  font-size: 1.22rem;
  line-height: 1.25;
  font-weight: 300;
  color: var(--color-heading);
  letter-spacing: 0.01em;
}

.faq-feature-text {
  min-width: 0;
}

.faq-feature-text p {
  margin: 0 0 0.85rem;
  line-height: 1.48;
}

.faq-label {
  color: var(--color-heading);
}

.faq-feature-image {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  display: flex;
  justify-content: center;
}

.faq-feature-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

/* PLACES PREVIEW */

.places-collapsed {
  position: relative;
  max-height: 8.6rem;
  overflow: hidden;
}

.places-expanded[hidden] {
  display: none;
}

/* Text spacing inside expanded list */
.places-expanded p {
  margin: 0 0 0.3rem;
}

/* Fade overlay (top button) */
.places-fade {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: absolute;

  inset: auto 0 0 0;
  height: 4.8rem;

  background: linear-gradient(
    to bottom,
    rgba(250, 244, 244, 0) 0%,
    rgba(250, 244, 244, 0.3) 20%,
    rgba(250, 244, 244, 0.6) 45%,
    rgba(250, 244, 244, 0.85) 75%,
    rgba(250, 244, 244, 1) 100%
  );

  pointer-events: none;
}

/* Buttons (both open + close) */
.places-toggle {
  border: none;
  border-radius: 8px;
  background: #eadede;
  color: var(--color-heading);
  padding: 0.42rem 0.78rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 300;
  cursor: pointer;
  box-shadow:
    0 6px 14px rgba(80, 60, 60, 0.08),
    0 2px 6px rgba(80, 60, 60, 0.04);
  pointer-events: auto;
}

.places-toggle:hover {
  background: #decaca;
}

/* OPEN button (in fade) */
.places-toggle-open {
  margin-bottom: 0.25rem;
}

/* CLOSE button (below list) */
.places-toggle-close {
  display: block;
  margin: 0.3rem auto 0;
}

/* FAQ GROUPS */

.faq-section {
  margin-top: 2.6rem;
}

.faq-feature + .faq-section {
  margin-top: 2.2rem;
}

.faq-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.22rem;
  line-height: 1.27;
  font-weight: 300;
  color: var(--color-heading);
  letter-spacing: 0.01em;
}

.faq-item {
  border-top: 1px solid rgba(66, 74, 109, 0.14);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(66, 74, 109, 0.14);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.9rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 400;
  color: var(--color-heading);
  cursor: pointer;
}

.faq-question:hover {
  color: #6a7be8;
}

.faq-icon {
  flex: 0 0 auto;
  font-size: 1.15rem;
  line-height: 1;
  color: rgba(66, 74, 109, 0.7);
}

.faq-answer {
  display: none;
  padding: 0 0 1rem;
}

.faq-answer.open {
  display: block;
}

.faq-feature-answer {
  display: block;
  padding-bottom: 0;
}

.faq-answer p {
  margin: 0 0 0.85rem;
  line-height: 1.48;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--color-heading);
  border-bottom: 1px solid rgba(146, 156, 216, 0.75);
}

.faq-answer a:hover {
  color: #6a7be8;
}

/* CTA */

.faq-cta {
  margin: 2rem auto 1.5rem;
  padding: 1.1rem 1rem;
  text-align: center;
  background: #f5efe2;
  border-radius: 8px;
  max-width: 520px; 
  box-shadow:
    0 12px 26px rgba(80, 60, 60, 0.10),
    0 4px 10px rgba(80, 60, 60, 0.06);
}

.faq-cta p {
  margin: 0 0 0.7rem;
}

.faq-cta a {
  display: inline-block;
  color: var(--color-heading);
  border-bottom: 1px solid rgba(146, 156, 216, 0.75);
}

.faq-cta a:hover {
  color: #6a7be8;
}

/* RESPONSIVE */

@media (max-width: 890px) {
  .faq-feature-grid {
    padding-right: 270px;
  }

  .faq-feature-image {
    width: 240px;
  }

}

@media (max-width: 820px) {
  .faq-feature-grid {
    display: block;
    padding-right: 0;
  }

  .faq-feature-image {
    position: static;
    transform: none;
    width: min(100%, 240px);
    margin: 1rem auto 0;
  }

  .faq-feature-image img {
    max-width: 240px;
  }
}

@media (max-width: 700px) {
  .faq-page {
    padding: 1.2rem 1.1rem 1rem;
  }

   .desktop-break {
    display: none;
  }

  .faq-intro {
    margin-bottom: 1.4rem;
  }

  .faq-feature {
    padding: 0.9rem 0.85rem 1rem;
  }
}

@media (max-width: 520px) {
  .faq-page {
    padding: 1rem;
  }

  .faq-intro h1 {
    font-size: 1.22rem;
  }

  .faq-section h2 {
    font-size: 1.12rem;
  }

  .faq-question {
    font-size: 0.96rem;
    padding: 0.82rem 0;
  }

  .faq-answer p,
  .faq-feature-text p {
    font-size: 0.95rem;
    line-height: 1.46;
  }
}

@media (max-width: 360px) {
  .faq-body .footer-right {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    font-size: 0.72rem;
  }

  .faq-body .footer-right a {
    white-space: nowrap;
  }

  .faq-body .footer-right a:not(:last-child)::after {
    content: "·";
    margin-left: 0.35rem;
  }
}