/*Aussage-Box*/
/* ===== NUR für Aussage-Row ===== */
.aussage-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: -15px;
  margin-right: -15px;
}

/* ===== AUSSAGE-BOX ===== */
.aussage-row .aussage-box {
  background-color: var(--background-blue);
  border: 3px solid var(--lighter-blue);
  border-radius: 20px;
  padding: 10px;
  text-align: center;

  height: 100%;
  display: flex;
  flex-direction: column;

}


.aussage-row>div {
  margin-bottom: 20px;
}

/* ===== TEXT ===== */
.aussage-row .aussage-text {
  font-size: 24px;
  font-weight: 600;
  color: var(--darker-blue);
  border-radius: 20px;
  margin-bottom: 20px;
}


.answer-buttons {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Basis-Button */
.answer-btn {
  min-width: 140px;
  font-size: 20px;
  font-weight: bold;
  border: none;

  color: #fff !important;
  /* wichtig: fix weiß */

  border-radius: 30px;
  padding: 12px 20px;

  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

/* Hover-Effekt */
.answer-btn:hover {
  transform: scale(1.05);
  opacity: 0.95;
  filter: brightness(1.1);
  color: #fff !important;
}

/* GRÜN = richtig */
.answer-yes {
  background-color: #21b35b !important;


}

/* ROT = falsch */
.answer-no {
  background-color: #EA471A !important;
}

/* ===== ICONS ===== */
.answer-icon {
  width: 90px;
  height: 90px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.answer-icon:hover {
  transform: scale(1.1);
}

/* ===== FEEDBACK ===== */
.feedback-img {
  width: 120px;
  display: block;
  margin: 20px auto;
}

.feedback-text {
  text-align: center;
  font-size: 18px;
  margin: 20px 0;
}

.modal-header {
  text-align: center;
  display: block;
}

/*Aussage-Box Ende*/




/*Dropdown*/

.drop {
  font-size: 21px;
  font-weight: 600;
  color: var(--darker-blue);
  margin-top: 10px;
}

.dropdown {
  width: auto;
  display: inline-block;
}


.dropdown-false {
  border: 3px solid #E94719 !important;
  background-color: #FFEEE6 !important;
}




/* SPEZIALBOX STECKBRIEF*/
.steckbrief {
  padding: 12px;
  background-color: var(--background-blue);
  border: 3px solid var(--lighter-blue);
  border-radius: 20px;
}

/* =========================
       DROPDOWN
    ========================= */

.steckbrief .dropdown::before {
  top: 3px;
}


.steckbrief {
  padding: 5px 1em;
  margin-bottom: 1em;
}

.steckbrief h4 {
  padding-left: 0px;
  font-weight: bold;
}

.paragraph {
  line-height: 2.5em;
  font-size: 16px;
  margin-bottom: 20px;
}


/* =========================
       FLIP CARDS
    ========================= */

.container-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.flip-container {
  flex: 0 0 calc(50% - 20px);
  /* 2 Spalten */
  max-width: 420px;
  display: flex;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 420px;
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  cursor: pointer;
  user-select: none;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 18px;
}

/* FRONT + BACK STACK */
.card .front,
.card .back {
  grid-area: stack;

  width: 100%;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  border-radius: 18px;

  padding: 15px;

  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

/* FRONT */
.card .front {
  z-index: 2;

  background: linear-gradient(90deg, #F08722 0%, #E9481A 100%);
  color: #000;

  font-size: 1.3em;

  transform: rotateY(0deg);
}

/* BACK */
.card .back {
  background: linear-gradient(90deg, #E9481A 0%, #ca3309 100%);
  color: #000;

  transform: rotateY(180deg);
  align-content: flex-start;
}

/* FLIP STATE */
.flip-container.hover .card {
  transform: rotateY(180deg);
}

/* TYPO */
.card h3 {
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 30px;
  margin: 0 0 12px 0;
}

.card h4 {
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.card .back p {
  font-size: 19px;
  font-weight: normal;
  text-align: left;
  color: #fff;
}

.card .back p.source {
  font-size: 16px;
  color: #ffffff;
}

.card a {
  color: #fff;
}

/* IMAGES */
.front-img {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 3px solid #fff !important;
  border-radius: 20px;
}

.front-img {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* OPTIONAL FRONT ICON */
.front-img-flip {
  position: absolute;
  top: 10px;
  right: 10px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  border-radius: 12px;
}

/* HEADER HOVER EFFECT */
.card:hover .front {
  transform: rotateY(7deg);
  transition: transform 0.3s ease;
}


@media (max-width: 768px) {
  .flip-container {
    flex: 0 0 calc(100% - 20px);
    max-width: unset;
  }

}


/* =========================
           FLIP CARDS ENDE
        ========================= */







/* DnD*/

.sort-wrapper2 h3 {
  text-align: center;
  font-size: 25px;
  margin: 0 auto;
  color: var(--darker-blue);
  max-width: 420px;
}

.sort-wrapper2 .dropZone {
  padding: 3px;
  background-color: #fdfcfc;
  min-height: 300px;
  max-width: 450px;
  border-radius: 12px;
  border: 3px solid var(--lighter-blue);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  overflow: hidden;
}

.sort-wrapper2 .dropZone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(231, 244, 249, 0.7);
}

.sort-wrapper2 .dropZone * {
  position: relative;
  z-index: 1;
}

.bg-alpha {
  background-image: url("data/maerchen.png");
}

.bg-beta {
  background-image: url("data/sagen.png");
}



#itemZone2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 15px;
  margin-top: 20px;
}

#itemZone2 .zone-title {
  width: 100%;
  order: -1;
  text-align: center;
  font-weight: bold;
  color: #222222;
  margin-top: 0;
  margin-bottom: 15px;
}

.sort-li2 {
  position: relative;
  border: 3px solid var(--lighter-blue) !important;
  border-radius: 12px !important;
  margin: 3px;
  line-height: 1.1em;
}


.sort-li2 p {
  padding-bottom: 0px;
  font-weight: 500;
  color: var(--darker-blue);
}




/* DnD2  Ende*/
