/* =========================================================================
   support.css – nur Seite Support (support/index.html). Masse in rem (1rem = 16px).
   Aufklappen und Suche: js/faq.js
   ========================================================================= */

/* Links FAQ, rechts Support-Kontakt */
.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 2rem 4rem;
  align-items: start;
}

/* ---------- Inhaltsverzeichnis: graue Box, 2-spaltig -------------------- */

.faq-inhalt { background: var(--hell); padding: 1.25rem 1.5rem; margin-bottom: 2rem; border-radius: .5rem; }
.faq-inhalt h2 { font-size: 1.1875rem; }
.faq-inhalt ol { columns: 2 16rem; column-gap: 2rem; margin: 0; padding-left: 1.25rem; }
.faq-inhalt li { break-inside: avoid; margin-bottom: .25rem; }

/* ---------- Suche --------------------------------------------------------- */

.faq-suche { display: block; margin-bottom: .5rem; font-weight: 500; }
.faq-suche input {
  display: block;
  width: 100%;
  margin-top: .375rem;
  padding: .625rem .875rem;
  font: inherit;
  color: inherit;                             /* eingegebener Text in Textfarbe #333 (sonst Schwarz) */
  border: 2px solid var(--rahmen-suche);
  border-radius: 999px;
}
.faq-suche input:focus { outline: none; border-color: var(--gruen); }
.faq-suche input::placeholder { font-style: italic; }                       /* Beispieltext kursiv */
.faq-treffer { min-height: 1.25rem; margin: 0 0 1rem; color: var(--text-hell); }     /* Anzahl Treffer, leer ohne Suche */
mark.faq-mark { background: var(--markierung); color: var(--text); border-radius: 2px; }  /* gefundene Wörter */

/* ---------- Fragen (aufklappbar) ----------------------------------------- */

details.faq { background: var(--hell); border: 1px solid var(--rahmen-hell); border-radius: .5rem; margin-bottom: .75rem; overflow: hidden; }   /* hellgrau wie die Kacheln rechts, auch die Antwort */
details.faq > summary {
  position: relative;
  padding: .875rem 3rem .875rem 1.25rem;      /* rechts Platz für + / − */
  font-weight: 600;
  cursor: pointer;
  list-style: none;                           /* Standard-Dreieck ausblenden */
}
details.faq > summary::-webkit-details-marker { display: none; }   /* (Safari) */
details.faq > summary::after {                /* + bzw. − rechts */
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gruen);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
details.faq[open] > summary { background: var(--gruen); color: var(--weiss); }
details.faq[open] > summary::after { content: "−"; color: var(--weiss); }

.faq-antwort { padding: 1rem 1.25rem .25rem; }
.faq-antwort img { display: block; margin: 0 0 1rem; }
.bildreihe { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 1.5rem; margin: 0 0 1rem; }   /* mehrere Bilder nebeneinander, brechen bei Platzmangel um */
.bildreihe img { margin: 0; }
.faq-weiter { padding-top: 1rem; }   /* Satz «Sie haben noch Fragen …» etwas tiefer */

/* Rechte Spalte (Kacheln mit Icon im Kreis): site.css, Abschnitt «Info-Kacheln» */

/* ---------- Handy (bis 860px): Support-Kontakt unter die Fragen ----------- */

@media (max-width: 53.75em) {
  .support { grid-template-columns: minmax(0, 1fr); }
}
