/* faq.css – Barrierearmes Frontend-Design für Frag den Bernd */

.faq-block {
  margin: 1em 0;
}

input,
select,
button {
  font-size: 1.2em;
  padding: 0.5em;
  margin: 0.2em 0;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

#antwort-bereich {
  border-top: 2px solid #ccc;
  margin-top: 1em;
  padding-top: 1em;
  font-size: 1.2em;
  background: #f9f9f9;
  max-width: 600px;
  line-height: 1.5em;
}

button {
  background-color: #444;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #222;
}

label {
  display: block;
  font-weight: bold;
  margin-top: 0.5em;
  color: #333;
}

a {
  color: #0066cc;
  text-decoration: underline;
}

a:hover {
  color: #003366;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Fokusführung für Tastaturnutzer */
input:focus,
select:focus,
button:focus,
a:focus {
  outline: 3px solid #ffcc00;
  outline-offset: 2px;
}

/* Schriftgröße für Antwortbereich */
#antwort-text {
  font-size: 1.2em;
}
/* Basis-Button-Stil wie bei „Antwort finden“ */
.faq-block button {
  display: inline-block;
  background-color: #c79f3e;
  color: #000;
  border: none;
  padding: 0.75em 1em;
  font-size: 1em;
  cursor: pointer;
  margin-right: 0.5em;
  margin-top: 0.5em;
}

.faq-block button:hover {
  background-color: #b78e2d;
}

/* Volle Breite nur für den Haupt-Button */
#frage-senden {
  width: 100%;
  margin-top: 0.5em;
}

/* Kleinere Schrift-Buttons */
#schrift-freitext-btn,
#schrift-3schritt-btn {
  padding: 0.5em;
  font-size: 0.9em;
}

/* Vorlesen-Button etwas größer */
#vorlesen-freitext-btn,
#vorlesen-3schritt-btn {
  padding: 0.75em 1em;
}

/* Antworten-Container optisch absetzen */
#antwort-freitext,
#antwort-3schritt {
  background: #f9f8ef;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1em;
}

