/*
 Theme Name:   Divi Child
 Theme URI:    https://www.elegantthemes.com/gallery/divi/
 Description:  Child Theme für Divi
 Author:       Emrach
 Author URI:   https://epromo-ink.de
 Template:     Divi
 Version:      1.0.0
*/

/* ===========================
   HEADER & NAVIGATION
   =========================== */

/* Standardfarbe (nicht gescrolled) */
#main-header #et-top-navigation .mobile_menu_bar.et_toggle_slide_menu:before,
#main-header .mobile_nav .mobile_menu_bar_toggle:before {
  color: #fff !important;            /* Icon in Weiß */
  background-color: #000;            /* Schwarzer Kreis */
  border-radius: 50%;                /* Kreisform */
  padding: 10px;                     /* Abstand für Kreisgröße */
  font-size: 20px;                   /* Icon-Größe */
  line-height: 1;                    /* Zentrierung */

}

/* Sticky Header (nach Scroll) -> Icon weiß */
#main-header.et-fixed-header #et-top-navigation .mobile_menu_bar.et_toggle_slide_menu:before,
#main-header.et-fixed-header .mobile_nav .mobile_menu_bar_toggle:before {
  color: #fff !important;            /* Icon in Weiß */
  background-color: #000;            /* Schwarzer Kreis */
}

#main-header.mobile_menu_bar:after,
.et_toggle_slide_menu:after {
  color: #fff !important;            /* Icon in Weiß */
  background-color: #000;            /* Schwarzer Kreis */
  border-radius: 50%;                /* Kreisform */
  padding: 10px;                     /* Abstand für Kreisgröße */
  font-size: 20px;                   /* Icon-Größe */
  line-height: 1;                    /* Zentrierung */

}

/* Button Header */
.et_pb_fullwidth_header .et_pb_header_content_wrapper a.et_pb_button.et_pb_button_one.et_pb_more_button {
  background: #000;
  color: #fff !important;
  border: 0;
  padding: 12px 24px;
  border-radius: 0 9999px 9999px 0;
}
.et_pb_fullwidth_header .et_pb_header_content_wrapper a.et_pb_button.et_pb_button_one.et_pb_more_button::after {
  content: none !important;
}
.et_pb_fullwidth_header .et_pb_header_content_wrapper a.et_pb_button.et_pb_button_one.et_pb_more_button:hover {
  background: #000;
  color: #fff;
}

/* ===========================
   RESPONSIVE TABLES
   =========================== */
.fab-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  background: #080708;
  border-radius: 8px;
  padding: 10px;
}

.fab-table {
  width: 100%;
  border-collapse: collapse;
  color: #c6c6c4;
  font-family: inherit;
}

.fab-table thead {
  background-color: #080708;
}

.fab-table thead th {
  padding: 14px 12px;
  text-align: left;
  font-weight: 600;
  color: #ffffff;
  font-size: 16px;
  border-bottom: 2px solid #101012;
}

.fab-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #101012;
  font-size: 15px;
  color: #c6c6c4;
  background-color: #101012;
}

.fab-table tbody tr:hover td {
  background-color: #181818;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .fab-table thead {
    display: none;
  }

  .fab-table tr {
    display: block;
    margin-bottom: 15px;
    background: #101012;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #101012;
  }

  .fab-table td {
    display: block;
    border: none;
    padding: 8px 0;
    position: relative;
  }

  .fab-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
  }
}

/* ===========================
   CONTACT FORM 7 DARK THEME
   =========================== */

/* Reset p-Tags in CF7 */
div.wpcf7 p {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    color: #fff;
}

/* Inputs & Textareas */
div.wpcf7 input.wpcf7-text,
div.wpcf7 input.wpcf7-email,
div.wpcf7 input.wpcf7-url,
div.wpcf7 input.wpcf7-tel,
div.wpcf7 textarea.wpcf7-textarea,
div.wpcf7 select.wpcf7-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  margin: 0 0 1rem 0 !important;
  font-size: 1rem;
  border-radius: 0.5rem;
  line-height: 1.3rem;
  border: 1px solid #fff !important;
  background-color: #111 !important;
  color: #fff;
  box-sizing: border-box;
  font-family: inherit;
}

/* Placeholder */
div.wpcf7 input::placeholder,
div.wpcf7 textarea::placeholder {
  color: #bbb;
}

/* Checkboxen/Listenelemente bündig ohne extra Abstand */
.wpcf7-list-item {
  margin: 0 10px 0 0 !important; /* nur kleiner rechter Abstand */
  padding: 0 !important;
}

/* Labels */
.wpcf7 form label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
}

/* Zwei-Spalten Layout */
.form-two-col {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form-two-col p {
  flex: 1;
  margin: 0;
  padding: 0;
}
.form-one-col {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .form-two-col {
    flex-direction: column;
  }
}

/* Checkboxen & Radiobuttons */
.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
  transform: scale(1.3);
  margin-right: 8px;
  cursor: pointer;
  font-size: 9px;
}
.wpcf7-list-item-label {
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
}

/* Submit Button */
.wpcf7-submit {
  background-color: #ff6600;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.wpcf7-submit:hover {
  background-color: #ff8800;
  transform: translateY(-2px);
}

/* Pflichtfelder & Fehlermeldungen */
.wpcf7-not-valid {
  border: 1px solid #ff4444 !important;
  background-color: #111 !important;
  color: #fff;
}
.wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #ff4444;
}
.wpcf7-response-output {
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 15px;
}
.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-acceptance-missing {
  background: #331111;
  color: #ffaaaa;
}
.wpcf7-response-output.wpcf7-mail-sent-ok {
  background: #113311;
  color: #aaffaa;
}
.bereiche {
    font-size: 0.95 rem;
}
.p-small {
    font-size: 0.5rem;
}
