/* DeQr FAQ (Stufe 6d, neu 31.10.2026 nach Vorbild der Ehrenamt-FAQ, Wunsch Sebastian):
   eine Karte, oben „← Zurück“, großes Zeichen, Titel, Untertitel, Linie, Reiterleiste,
   jede Frage als eigene Box mit „+“ rechts. Farben im DeQr-Stil (Blau/Gold, Glas). */
.faq-seite {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #14191c;
  background:
    radial-gradient(60% 35% at 0% 0%, rgba(43, 76, 126, .25), transparent 70%),
    radial-gradient(55% 30% at 100% 10%, rgba(212, 175, 55, .22), transparent 70%),
    linear-gradient(160deg, #f4f7fb 0%, #e4eaf3 100%) fixed;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.faq-karte {
  box-sizing: border-box;
  max-width: 600px;
  margin: 0 auto;
  padding: 22px 18px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 12px 34px rgba(31, 58, 99, .14);
  color: #14191c;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
.faq-oben { margin: 0 0 6px; }
.faq-zurueck-link { color: #1f3a63; font-weight: 700; text-decoration: none; font-size: 17px; }
.faq-zeichen { text-align: center; font-size: 44px; line-height: 1; font-weight: 400; color: #1f3a63; margin: 8px 0 6px; }
.faq-titel { margin: 0; text-align: center; font-size: 28px; line-height: 1.2; font-weight: 800; color: #14191c; letter-spacing: -.01em; }
.faq-untertitel { margin: 6px 0 0; text-align: center; font-size: 17px; color: #4a5560; }
.faq-linie { border: 0; border-top: 1px solid rgba(31, 58, 99, .15); margin: 18px 0 16px; }
.faq-unter { margin: 0 0 12px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7a5c0e; }

/* Reiterleiste: gleich breite Felder, das gewählte weiß hervorgehoben */
.faq-reiter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
  padding: 6px;
  margin: 0 0 16px;
  border-radius: 18px;
  background: rgba(31, 58, 99, .07);
}
.faq-reiter button {
  min-width: 0;
  min-height: 52px;
  padding: 6px 6px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .45);
  color: #4a5560;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.faq-reiter button[aria-selected="true"] { background: #fff; color: #14191c; box-shadow: 0 4px 12px rgba(31, 58, 99, .14); }

/* Fragen als Boxen */
.faq-frage {
  margin: 0 0 12px;
  border: 1px solid rgba(31, 58, 99, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 2px 8px rgba(31, 58, 99, .05);
}
.faq-frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: #14191c;
}
.faq-frage summary::-webkit-details-marker { display: none; }
.faq-frage summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: #1f3a63; }
.faq-frage[open] summary::after { content: "–"; }
.faq-frage p { margin: 0 18px 16px; white-space: pre-line; color: #3e474d; }
.faq-leer { text-align: center; color: #3e474d; }

.faq-zurueck { margin: 16px 0 0; text-align: center; }
.faq-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(180deg, #34588f 0%, #2b4c7e 100%);
  box-shadow: 0 8px 20px rgba(43, 76, 126, .3);
}

/* Pop-up in den Programmen */
.faq-fenster { border: 0; padding: 0; background: transparent; width: min(100vw - 24px, 600px); max-height: 88dvh; }
.faq-fenster::backdrop { background: rgba(20, 30, 50, .45); }
.faq-im-fenster { max-height: 86dvh; overflow-y: auto; background: #f7f9fc; }
.faq-karte :focus-visible { outline: 3px solid #2b4c7e; outline-offset: 2px; }
