/* REA-Anleitung Styles */

.rea-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  justify-content: center;
}

.rea-schrittfeld {
  flex: 2;
  min-width: 340px;
  max-width: 570px;
  background: #e6eff7;
  border-radius: 13px;
  border: 2px solid #005073;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  padding: 1.7rem 2.1rem 2.2rem 2.1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 450px;
  margin-left: 2.3rem;
  font-size: 1.25rem;
}

.rea-praesi-inhalt {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rea-schritt {
  text-align: center;
  width: 100%;
}

.rea-frage {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.rea-antworten {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.rea-antworten button {
  min-width: 130px;
}

.btn-rea-opt,
.btn-rea-start,
.btn-rea-nav,
.btn-rea-fertig {
  background: #005073;
  color: #fff;
  padding: 0.85rem 2.2rem;
  font-size: 1.2rem;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  display: inline-block;
}

.btn-rea-fertig {
  background: #a30000;
}

.btn-rea-opt:hover,
.btn-rea-start:hover,
.btn-rea-nav:hover,
.btn-rea-fertig:hover {
  background: #003b5c;
}

.rea-praesi-nav {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.taktgeber-banner {
  margin-top: 1.3rem;
  padding: 1.1rem 2.6rem;
  background: #fbeeee;
  color: #a30000;
  font-weight: bold;
  font-size: 1.33rem;
  text-align: center;
  border-radius: 14px;
  border: 2px solid #a30000;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 4px 12px rgba(163,0,0,0.06);
  display: inline-block;
}

/* Dokumentationsbereich */
.rea-doku-block {
  flex: 1;
  min-width: 300px;
  max-width: 560px;
  background: #fbeeee;
  border-radius: 15px;
  padding: 1.3rem 1.2rem 1.1rem 1.2rem;
  border: 2px solid #a30000;
  box-shadow: 0 2px 12px rgba(163,0,0,0.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: 2.2rem;
}

.rea-doku-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.rea-doku-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.2rem;
  border-left: 5px solid #a30000;
  border-radius: 4px;
  padding-left: 0.5rem;
  background: #fff9fa;
  min-height: 38px;
}

.rea-doku-row label {
  width: 150px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #a30000;
  margin-right: 0.2rem;
}

.rea-doku-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
  flex: 1;
}

.rea-doku-flex input[type="text"] {
  font-size: 1.15rem;
  padding: 0.29rem 0.7rem;
  border-radius: 7px;
  border: 1.5px solid #bbb;
  background: #fff;
  width: 130px;
}

.rea-doku-flex button,
.rea-doku-buttons-inline button {
  min-width: 100px;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
}

.rea-doku-buttons-inline {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
}

#manueller_zusatz {
  min-height: 4.5rem;
  font-size: 1.12rem;
  padding: 0.6rem 0.8rem;
  resize: vertical;
  width: 100%;
  max-width: 100%;
  border-radius: 7px;
  border: 1.5px solid #bbb;
}

.btn-doku-zeit {
  padding: 0.32rem 1.08rem;
  border-radius: 8px;
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-doku-rot { background: #a30000; color: #fff; }
.btn-doku-rot:hover { background: #7a0000; }
.btn-doku-blau { background: #005073; color: #fff; }
.btn-doku-blau:hover { background: #003b5c; }

.rea-doku-zusammenfassung {
  margin-top: 1.6rem;
}

.rea-doku-zusammenfassung h2 {
  font-size: 1.15rem;
  color: #a30000;
  margin-bottom: 0.3rem;
}

.rea-doku-zusammenfassung textarea {
  font-size: 1.15rem;
  font-family: inherit;
  padding: 0.7rem;
  border-radius: 8px;
  width: 100%;
  background: #fff;
  border: 1.5px solid #a30000;
  margin-bottom: 0.7rem;
}

@media (max-width: 1100px) {
  .rea-grid {
    flex-direction: column;
    gap: 2.2rem;
  }
  .rea-schrittfeld, .rea-doku-block {
    max-width: 100%;
    min-width: 0;
  }
  .rea-schrittfeld {
    margin-bottom: 0.8rem;
  }
  .rea-doku-row label {
    min-width: 100px;
  }
}

/* REA-Anleitung Zusatzlayout */

.rea-abschnitt {
  background: #ffffff;
  border-left: 4px solid #a30000;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.4rem;
  font-size: 1.22rem;
  line-height: 1.6;
}

.rea-abschnitt strong {
  font-size: 1.26rem;
}

.rea-schritt.letzter-schritt .rea-abschnitt {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  text-align: left;
}
