/* =============================================================
 * KLAG'S — FAQ-Seite „Häufige Fragen“ (faq.html + faq-en.html)
 * =============================================================
 * Nur von den beiden FAQ-Seiten eingebunden (nach speisekarte.css).
 * Hero nutzt die vorhandene Klasse .menu-hero (speisekarte.css).
 * Bei Änderung: ?v=N in faq.html + faq-en.html hochzählen.
 * ============================================================= */

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 24px 40px;
}

/* ---------- Themen-Übersicht (Sprungmarken) ---------- */
.faq-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
}

.faq-topics a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  padding: 18px 12px;
  border: 1px solid var(--gold-faint);
  border-radius: 6px;
  background: rgba(184, 154, 86, 0.03);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.faq-topics a:hover {
  border-color: var(--gold-soft);
  background: rgba(184, 154, 86, 0.09);
  color: var(--gold);
}

.faq-topics .faq-topic-icon {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.faq-topics .faq-topic-count {
  color: var(--dim);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Themenblöcke ---------- */
.faq-group {
  margin: 0 0 52px;
  scroll-margin-top: 90px;
}

.faq-group h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.faq-group h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.faq-group-note {
  margin: -8px 0 16px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
}

/* ---------- Fragen (details/summary) ---------- */
.faq-item {
  border-bottom: 1px solid var(--gold-faint);
  scroll-margin-top: 90px;
}

.faq-item:first-of-type {
  border-top: 1px solid var(--gold-faint);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 16px 44px 16px 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Plus/Minus-Symbol rechts */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover,
.faq-item[open] summary {
  color: var(--gold);
}

.faq-answer {
  padding: 0 44px 20px 4px;
}

/* Antworttext wie .menu-desc (18 px / 500) */
.faq-answer p,
.faq-answer li {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--ink);
}

.faq-answer a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-faint);
  transition: border-color 0.2s;
}

.faq-answer a:hover {
  border-bottom-color: var(--gold);
}

/* Öffnungszeiten-Tabelle in der Antwort */
.faq-hours {
  margin: 4px 0 12px;
  padding: 0;
  list-style: none;
  max-width: 440px;
}

.faq-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px dotted var(--gold-faint);
}

.faq-hours li span:last-child {
  color: var(--ink);
  text-align: right;
}

.faq-hours li.is-closed span:last-child {
  color: var(--gold);
}

/* ---------- Abschluss: Frage nicht dabei? ---------- */
.faq-more {
  margin: 20px 0 30px;
  padding: 34px 28px;
  border: 1px solid var(--gold-soft);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(184, 154, 86, 0.08), rgba(184, 154, 86, 0.02) 60%);
  text-align: center;
}

.faq-more h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}

.faq-more p {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
}

.faq-more-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-more-buttons a {
  display: inline-block;
  padding: 12px 26px;
  border: 1.5px solid var(--gold-soft);
  border-radius: 4px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}

.faq-more-buttons a:hover {
  background: rgba(184, 154, 86, 0.12);
  border-color: var(--gold);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .faq-container {
    padding: 36px 16px 32px;
  }

  .faq-topics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 44px;
  }

  .faq-topics a {
    padding: 14px 8px;
    font-size: 17px;
  }

  .faq-group h2 {
    font-size: 25px;
  }

  .faq-item summary {
    padding: 14px 36px 14px 2px;
    font-size: 19px;
  }

  .faq-item summary::after {
    right: 4px;
  }

  .faq-answer {
    padding: 0 8px 18px 2px;
  }
}

@media print {
  .faq-topics,
  .faq-more {
    display: none;
  }
}
