/* =========================================================
   KOMBINAT GESTALTUNG — FAQ
   faq.css
   Ergänzt style.css, ohne Header und Footer neu zu definieren.
   ========================================================= */

/* FAQ: Grundlayout */

.faq-page {
  overflow: visible;
}

.faq-page .faq-hero {
  padding: 42px 0 48px;
  border-bottom: 1px solid var(--border);
}

.faq-page .faq-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 70px;
}

.faq-page .faq-hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.075em;
}

.faq-page .faq-hero-copy {
  max-width: 490px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Geometrische FAQ-Illustration */

.faq-page .hero-art-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.faq-page .hero-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 270px);
  aspect-ratio: 1;
  background: var(--surface-alt);
}

.faq-page .hero-art::before {
  position: absolute;
  top: -16px;
  left: 20px;
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--text);
  border-radius: 50%;
  content: "";
}

.faq-page .hero-art::after {
  position: absolute;
  right: 20px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  background: var(--text);
  content: "";
}

.faq-page .art-plus {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.faq-page .art-title {
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.08em;
}

.faq-page .art-line {
  position: absolute;
  bottom: 55px;
  left: 22px;
  width: 82px;
  height: 1px;
  background: var(--text);
}

.faq-page .art-labels {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono, "DM Mono", monospace);
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* Hauptbereich */

.faq-page .faq-main {
  padding: 40px 0 70px;
}

.faq-page .faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 50px;
}

/* Kategorien */

.faq-page .faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.faq-page .category-button {
  position: relative;
  padding: 0 0 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-page .category-button:hover,
.faq-page .category-button[aria-pressed="true"] {
  color: var(--text);
}

.faq-page .category-button[aria-pressed="true"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--text);
  content: "";
}

/* Accordion */

.faq-page .faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-page .faq-item[hidden] {
  display: none;
}

.faq-page .faq-question {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-page .faq-number {
  align-self: start;
  padding-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono, "DM Mono", monospace);
  font-size: 11px;
}

.faq-page .faq-question-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

.faq-page .faq-chevron {
  width: 15px;
  height: 15px;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-page .faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-page .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-page .faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-page .faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-page .faq-answer-content {
  max-width: 690px;
  padding: 0 30px 22px 37px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.faq-page .faq-answer-content p {
  margin: 0 0 12px;
}

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

.faq-page .faq-answer-content ul {
  margin: 8px 0 12px;
  padding-left: 18px;
}

.faq-page .faq-answer-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

/* Kostenübersicht */

.faq-page .cost-card {
  position: sticky;
  top: 100px;
  padding: 30px 27px 25px;
  background: var(--surface-alt);
}

.faq-page .cost-card h2 {
  max-width: 250px;
  margin: 12px 0 15px;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.065em;
}

.faq-page .cost-intro {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.faq-page .cost-option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid var(--border);
}

.faq-page .cost-option:first-of-type {
  border-top: 0;
}

.faq-page .cost-icon {
  width: 26px;
  height: 26px;
  margin-top: 2px;
}

.faq-page .cost-option h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
}

.faq-page .cost-option p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.faq-page .cost-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}

/* Textlinks */

.faq-page .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
}

.faq-page .text-link span {
  transition: transform 0.2s;
}

.faq-page .text-link:hover span {
  transform: translateX(4px);
}

/* Kontaktbereich */
/* Anfrage-Button – wie die Buttons im Header */

.faq-page .faq-cta .button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 23px;

  border: 1px solid var(--text);
  border-radius: 100px;
  background: transparent;
  color: var(--text);

  font: inherit;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.faq-page .faq-cta .button-dark:hover {
  background-color: var(--surface-alt);
  color: var(--text);
  border-color: var(--text);
}

/* Responsive */

@media (max-width: 1050px) {
  .faq-page .faq-hero-grid {
    gap: 35px;
  }

  .faq-page .faq-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 30px;
  }

  .faq-page .faq-categories {
    gap: 20px;
  }

  .faq-page .hero-art-wrap {
    gap: 17px;
  }

  .faq-page .hero-art {
    max-width: 220px;
  }

  .faq-page .art-labels {
    font-size: 8px;
  }
}

@media (max-width: 800px) {
  .faq-page .faq-hero {
    padding: 42px 0;
  }

  .faq-page .faq-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-page .hero-art-wrap {
    justify-content: flex-start;
    padding-left: 20px;
  }

  .faq-page .hero-art {
    max-width: 245px;
  }

  .faq-page .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-page .cost-card {
    position: static;
  }

  .faq-page .faq-cta {
    grid-template-columns: 1fr;
  }

  .faq-page .cta-art {
    align-items: flex-start;
    padding-top: 12px;
  }
}

@media (max-width: 520px) {
  .faq-page .faq-hero {
    padding: 34px 0;
  }

  .faq-page .faq-hero h1 {
    font-size: clamp(37px, 10vw, 49px);
  }

  .faq-page .faq-hero-copy {
    font-size: 13px;
  }

  .faq-page .hero-art-wrap {
    gap: 15px;
    padding-left: 8px;
  }

  .faq-page .hero-art {
    max-width: 210px;
  }

  .faq-page .hero-art::before {
    width: 48px;
    height: 48px;
  }

  .faq-page .hero-art::after {
    width: 44px;
    height: 44px;
  }

  .faq-page .art-title {
    font-size: 53px;
  }

  .faq-page .art-labels {
    font-size: 7px;
  }

  .faq-page .faq-main {
    padding: 28px 0 45px;
  }

  .faq-page .faq-categories {
    gap: 0 20px;
    margin-bottom: 17px;
  }

  .faq-page .category-button {
    padding-bottom: 12px;
    font-size: 10px;
  }

  .faq-page .faq-question {
    grid-template-columns: 22px minmax(0, 1fr) 16px;
    gap: 8px;
    padding: 13px 0;
  }

  .faq-page .faq-question-text {
    font-size: 12px;
  }

  .faq-page .faq-answer-content {
    padding: 0 12px 20px 30px;
  }

  .faq-page .cost-card {
    padding: 25px 22px;
  }

  .faq-page .faq-cta {
    gap: 30px;
    margin-top: 45px;
    padding: 28px 23px;
  }

  .faq-page .faq-cta h2 {
    font-size: 32px;
  }

  .faq-page .cta-circle {
    width: 74px;
    height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-page *,
  .faq-page *::before,
  .faq-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Einheitliche Struktur und Abstände aller FAQ-Einträge */

.faq-page .faq-list > .faq-item {
  margin: 0;
  padding: 0;
}

.faq-page .faq-list > .faq-item > h3 {
  margin: 0;
  padding: 0;
  font: inherit;
}

.faq-page .faq-list > .faq-item[hidden],
.faq-page .faq-list > .faq-item .faq-answer[hidden] {
  display: none !important;
}


