/* OBERER BEREICH – 4 Info-Boxen nebeneinander */

.infoboxes {
  display: flex;                    /* Horizontal nebeneinander */
  flex-direction: row;
  justify-content: center;         /* Zentrierung auf der Seite */
  align-items: flex-start;         /* Boxen oben ausrichten */
  gap: 0.2vw;                      /* Abstand zwischen Boxen – ÄNDERN FÜR MEHR/WENIGER LUFT */
  margin-left: -1.75vw;            /* Positionierung nach links – FEINTUNING LINKS */
  margin-top: 0vh;                 /* Abstand nach oben – FREI ÄNDERBAR */
  height: 40vh;                  /* Gesamthöhe des Bereichs – SKALIERBAR */
  width: 100vw;                    /* Maximal nutzbare Breite – KEIN SCROLLEN */
  overflow: hidden;                /* Kein Scrollbalken */
  flex-wrap: nowrap;              /* Kein automatischer Umbruch */
}

.infobox {
  background-color: #2a2a2a;       /* Dunkler Hintergrund – ANPASSBAR */
  color: #f0f0f0;                  /* Heller Text – GUT LESBAR */
  flex: 1 1 16vw;                  /* Flexibler Block mit Mindestbreite */
  max-width: 21vw;                 /* Maximale Breite pro Box */
  height: 100%;                    /* Höhe = Containerhöhe */
  padding: 2vh 2vw;                /* Innenabstand – OBEN/UNTEN & LINKS/RECHTS */
  border-radius: 1em;             /* Runde Ecken – DESIGNSTIL */
  box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.5); /* Weicher Schatten */
  font-size: 1rem;                /* Textgröße – SKALIERBAR */
  text-align: center;             /* Inhalt zentriert */
  display: flex;                  /* Für vertikale Zentrierung */
  flex-direction: column;
  justify-content: center;
  border: 0.25vh solid #c9a735;   /* Goldener Rahmen – EFFEKT */
  box-sizing: border-box;         /* Padding zählt zur Gesamtgröße */
}


/* UNTERER BEREICH – 3 Info-Boxen rechts neben der Sidebar */

.lowerboxes {
  position: absolute;
  left: 14.5vw;                /* Abstand zur linken Kante */
  bottom: 16vh;                /* Abstand zum Footer */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.2vw;
  width: 84.5vw;
  height: 34vh;
  z-index: 2;
}

.lowerbox {
  width: 25vw;
  height: 100%;
  background-color: #2a2a2a;
  color: #f0f0f0;
  padding: 1.5vh 2vw;
  border-radius: 1em;
  box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.5);
  font-size: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 0.25vh solid #c9a735;
  overflow: hidden;
}

/* Titel der Box */
.lowerbox h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1vh;
  color: #facc15;
}

/* Inhalt */
.lowerbox-content {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.6vh;
  line-height: 1.8em;
  text-align: center;
}

.lowerbox-content li {
  margin: 0.5vh 0;
}

.lowerbox-content li::before {
  content: "• ";
  color: #facc15;
  font-weight: bold;
}

/* Links in der Liste */
.lowerbox-content li a {
  color: #facc15;
  text-decoration: none;
}

.lowerbox-content li a:hover {
  text-decoration: underline;
}

/* Kursiv & Hervorhebungen */
.lowerbox em {
  color: #cccccc;
  font-style: italic;
}

.lowerbox strong {
  color: #ffd700;
  font-weight: bold;
}

.conversion-block {
  margin-bottom: 1em;
}

.conversion-preview {
  margin-top: 0.5em;
  font-weight: bold;
}

.conversion-preview.small {
  font-size: 0.9em;
  color: #666;
}

@media (max-width: 768px) {
  .infoboxes {
    flex-direction: column;
    align-items: center;
    gap: 2vh;
    margin-left: 0;
    height: auto;
    overflow: visible;
    flex-wrap: wrap;
    padding: 1vh 2vw;
  }

  .infobox {
    max-width: 90vw;
    width: 100%;
    height: auto;
    padding: 4vw;
    font-size: 1rem;
  }

  .lowerboxes {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
    width: 100%;
    height: auto;
    padding: 2vh 2vw;
  }

  .lowerbox {
    width: 90vw;
    height: auto;
    padding: 4vw;
    font-size: 1rem;
  }

  .lowerbox h3 {
    font-size: 1.2rem;
  }

  .lowerbox-content {
    font-size: 1rem;
  }
}
