/* Ergebniscontainer (bleibt unverändert) */
#calc-output {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

/* Button "Ja, zur Anfrageliste hinzufügen" – jetzt grün (#70B530) */
#add-to-request-list {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #70B530;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
#add-to-request-list:hover {
  background-color: #5a9c28; /* etwas dunklerer Grünton */
}

/* Anfragelisten-Container – jetzt mit hellgrauem Hintergrund */
#request-list {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  background: #F7F7F7; /* 3% Grau */
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

/* Vorschaubilder und Hover-Effekt (bleiben unverändert) */
.thumbnail-container {
  position: relative;
  display: inline-block;
  z-index: 10;
}
.thumbnail {
  width: 50px;
  height: auto;
  display: block;
}
.large-preview {
  display: none;
  position: absolute;
  top: 0;
  left: 60px;
  z-index: 1000;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 5px;
  width: 200px;
  min-height: 200px;
  overflow: hidden;
}
.large-preview img {
  width: 100%;
  height: auto;
  display: block;
}
.thumbnail-container:hover .large-preview {
  display: block;
}


.cf7-hidden {
  display: none !important;
}


.wpcf7-quiz {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px; /* nach Bedarf anpassen */
  margin: 0;
  padding: 0;
}

.wpcf7-quiz input[type="text"] {
  width: 50px !important;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}

.equal-columns-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* Damit die Spaltenbreiten strikt übernommen werden */
}

.equal-columns-table thead th:nth-child(1) {
  width: 7%; /* Erste Spalte: Bild */
}
.equal-columns-table thead th:nth-child(2) {
  width: 27%; /* Zweite Spalte: Modul */
}
.equal-columns-table thead th:nth-child(3) {
  width: 23%; /* Dritte Spalte: Typ / Details */
}
.equal-columns-table thead th:nth-child(4) {
  width: 15%; /* Vierte Spalte: Artikelnummer */
}
.equal-columns-table thead th:nth-child(5) {
  width: 12%; /* Fünfte Spalte: Preis (netto) */
}
.equal-columns-table thead th:nth-child(6) {
  width: 15%; /* Sechste Spalte: Anzahl */
}

/* Beispiel: Setze die Container-Klasse im Formular auf volle Breite */
.wpcf7-form,
.container {
  width: 100% !important;
  max-width: 100% !important;
}

details summary {
  font-weight: bold !important;
}

/* Pseudo-Element fügt den fett formatierten Text oberhalb des summary-Inhalts hinzu */
.produktauswahl-header {
  font-weight: bold;
  border-bottom: 1px solid #7A7A7A;
  padding-bottom: 5px;
  margin-bottom: 10px;
}


/* Fügt eine dünne Trennlinie unter dem summary hinzu */
.kategorielose-produkte summary {
  border-bottom: 1px solid #7A7A7A;
  padding-bottom: 5px;
  margin-bottom: 10px;
}


#calc-output,
#add-to-request-list {
  display: none;
}

textarea[name="anfrageliste"] {
  display: none;
}

/* Einrückung für verschachtelte <details> in Contact Form 7 */
.wpcf7-form details {
  margin-top: 10px;
}

.wpcf7-form details details {
  margin-left: 20px;
}

.wpcf7-form details details details {
  margin-left: 40px;
}

.wpcf7-form details details details details {
  margin-left: 60px;
}

/* Optional: schönerer Cursor und spacing */
.wpcf7-form summary {
  cursor: pointer;
  padding: 5px 0;
}
