/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Child Theme für GeneratePress – angepasst für 3dcapo.de
 Author:       3DCapo
 Author URI:   https://www.3dcapo.de
 Template:     generatepress
 Version:      1.0.0
*/

/* Gemeinsame Struktur */
.box-schwarz,
.box-orange {
  border-left: 6px solid #FFA500;
  padding: 20px 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  display: block;
  font-size: 1rem;
  line-height: 1.6;
}

/* Standardfarbe für box-schwarz */
.box-schwarz {
  background-color: #111111;
  color: #ffffff;
}

/* Farbe & Kontrast für box-orange */
.box-orange {
  background-color: #FFA500;
  color: #111111;
  border-left-color: #111111;
}

/* Einheitlicher Button-Stil in beiden Boxen */
.box-schwarz .wp-block-button .wp-block-button__link,
.box-orange .wp-block-button .wp-block-button__link {
  background-color: #FFA500 !important;
  color: #111111 !important;
  border-radius: 6px;
  padding: 10px 20px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s ease;
  font-weight: bold !important;
}

.box-schwarz .wp-block-button .wp-block-button__link:hover,
.box-orange .wp-block-button .wp-block-button__link:hover {
  background-color: #ffb733 !important;
  color: #000000 !important;
}

/* Optional: Besondere Buttons in .box-orange (runde Form) */
.box-orange .wp-block-button .wp-block-button__link.special {
  background-color: #111111 !important;
  color: #FFA500 !important;
  border-radius: 30px !important;
  padding: 12px 28px !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.box-orange .wp-block-button .wp-block-button__link.special:hover {
  background-color: #FFA500 !important;
  color: #111111 !important;
}

/* Einheitliche Textdarstellung */
.box-schwarz p,
.box-orange p {
  margin-bottom: 1em;
  display: block;
}

/* <h2> farbig hervorheben */
.box-schwarz h2 {
  margin-top: 0;
  color: #FFA500;
  font-weight: 600;
}

.box-orange h2 {
  margin-top: 0;
  color: #111111;
  font-weight: 600;
}

/* Links */
.box-schwarz a {
  color: #FFA500;
  text-decoration: underline;
}

.box-schwarz a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* FAQ-Accordion */
.faq-container {
  margin-bottom: 2em;
}

.faq-question {
  cursor: pointer;
  padding: 12px 16px;
  background: #FFA500;
  color: #111;
  font-weight: bold;
  border: none;
  width: 100%;
  text-align: left;
  border-radius: 8px;
  margin-bottom: 8px;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
}

.faq-question.active::after {
  content: "–";
}

.faq-answer {
  padding: 0 16px 12px 16px;
  background: #fff4e0;
  border-left: 4px solid #FFA500;
  border-radius: 0 0 8px 8px;
  display: none;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* FAQ-Kategorien */
.faq-category {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 2px solid #ddd;
}

.faq-category h3 {
  font-size: 1.2rem;
  color: #111;
  margin-bottom: 1em;
}

/* AGB-Box */
.box-agb {
  background-color: #111111;
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  border-left: 6px solid #FFA500;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.7;
}

.box-agb h3,
.box-agb h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #FFA500;
  font-weight: 600;
}

.box-agb p {
  margin-bottom: 1em;
  display: block;
}

.box-agb a {
  color: #FFA500;
  text-decoration: underline;
}

.box-agb a:hover {
  color: #ffffff;
  text-decoration: none;
}