/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Background Lines */
.has-bg-lines::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image:
    linear-gradient(to bottom, #EBEBEB 0%, #EBEBEB 100%),
    linear-gradient(to bottom, #EBEBEB 0%, #EBEBEB 100%),
    linear-gradient(to bottom, #EBEBEB 0%, #EBEBEB 100%),
    linear-gradient(to bottom, #EBEBEB 0%, #EBEBEB 100%),
    linear-gradient(to bottom, #EBEBEB 0%, #EBEBEB 100%);

  background-size: 1px 100%, 1px 100%, 1px 100%, 1px 100%, 1px 100%;
  background-position: 16.6% 0, 33.3% 0, 50% 0, 66.6% 0, 83.3% 0;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .has-bg-lines::before {
    background-image:
      linear-gradient(to bottom, #EBEBEB 0%, #EBEBEB 100%),
      linear-gradient(to bottom, #EBEBEB 0%, #EBEBEB 100%),
      linear-gradient(to bottom, #EBEBEB 0%, #EBEBEB 100%);
    background-size: 1px 100%, 1px 100%, 1px 100%;
    background-position: 25% 0, 50% 0, 75% 0;
  }
}

/* Chip Label */
.hg-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 6px 14px;
  background-color: #F5F5F5;
  border-radius: 999px;
  align-self: flex-start;
  max-width: fit-content;
}

.hg-chip::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ff710d;
  flex-shrink: 0;
}

/* Service Cards */
.service-card {
  background: #FFFFFF;
  border: 1px solid #E2E2E2;
  border-radius: 12px;
  padding: 20px 24px;
}

.card-icon-placeholder {
  width: 56px;
  height: 56px;
  background: #FFF0E6;
  border-radius: 10px;
  margin-bottom: 12px;
}

.card-stripe {
  width: 32px;
  height: 3px;
  background: #FF710D;
  border-radius: 2px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 17px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 15px;
  color: #3A3A3A;
  line-height: 1.65;
  margin-bottom: 16px;
}

.card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.badge--price {
  background: #FFF0E6;
  color: #CC4A00;
}

.badge--trust {
  background: #E6F4EC;
  color: #1A6B3A;
}

/* ── "Beliebteste Wahl" Badge – Preiskarte mittig ── */
.price-badge-wrap {
  position: relative !important;
  overflow: visible !important;
}

.price-badge-wrap .fusion-column-wrapper {
  overflow: visible !important;
}

.price-badge-wrap::before {
  content: "Beliebteste Wahl";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF710D;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 100;
  pointer-events: none;
}

/* WhatsApp */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999999;
  isolation: isolate;
  will-change: transform;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FF710D;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,113,13,.35);
  text-decoration: none;
}
.wa-float:hover {
  background: #FF8C3A;
}
@media (max-width: 640px) {
  .wa-float { bottom: 16px; right: 16px; }
}

/* ── Formular ── */
/* Weiter & Previous Button */
.ff-btn-next,
.ff-btn-prev {
  background-color: #1A1A1A !important;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
}

.ff-btn-prev {
  background-color: #F5F5F5 !important;
  color: #6B6B6B !important;
  border: 1.5px solid #E2E2E2 !important;
}

/* Submit Button – Orange */
.ff-btn-submit {
  background-color: #FF710D !important;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
}

/* Radio Buttons */
.fluentform .ff-el-form-check {
  display: block !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
}

.fluentform .ff-el-form-check input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fluentform .ff-el-form-check label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E2E2 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  font-size: 15px !important;
  color: #1A1A1A !important;
  transition: border-color 0.15s, background 0.15s !important;
}

.fluentform .ff-el-form-check label:hover {
  border-color: #1A1A1A !important;
  background: #F5F5F5 !important;
}

.fluentform .ff-el-form-check label::after {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #E2E2E2;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}

.fluentform .ff-el-form-check label:has(input[type="radio"]:checked) {
  border-color: #FF710D !important;
  background: #FFF0E6 !important;
}

.fluentform .ff-el-form-check label:has(input[type="radio"]:checked)::after {
  border-color: #FF710D !important;
  background: #FF710D !important;
  box-shadow: inset 0 0 0 3px #FFFFFF !important;
}

/* Checklist */
.ff-doc-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ff-doc-checklist ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFF0E6;
  border: 1px solid #E2E2E2;
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
}

.ff-doc-checklist ul li::before {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #1A1A1A;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* Radio Inline Buttons */
.fluentform .radio-inline .ff-el-input--content {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.fluentform .radio-inline .ff-el-input--content .ff-el-form-check {
  flex: 1 1 auto !important;
  margin-bottom: 0 !important;
}

.fluentform .radio-inline .ff-el-form-check label {
  padding: 10px 14px !important;
  font-weight: 400 !important;
  justify-content: space-between !important;
}

.fluentform .radio-inline .ff-el-form-check label:has(input[type="radio"]:checked) {
  background: #FFFFFF !important;
  border-color: #E2E2E2 !important;
}

/*Form Counter*/
.ff-char-counter-label {
    display: block;
    font-size: 12px;
    color: #6B6B6B;
    margin-top: 4px;
}

/*Alert Gelb*/
.ff-hint-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFF0E6;
  border: 1px solid #FFD4B3;
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #CC4A00;
  line-height: 1.55;
}
.ff-hint-warning::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CC4A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  margin-top: 1px;
}
.ff-hint-warning strong {
  color: #CC4A00;
  font-weight: 700;
  display: inline;
}

/* Seitenhintergrund F5F5F5 für Anmeldung & Abmeldung */
body.page-id-48,
body.page-id-188 {
  --content_bg_color: #F5F5F5 !important;
  background-color: #F5F5F5 !important;
}

body.page-id-48 #main,
body.page-id-188 #main {
  background-color: #F5F5F5 !important;
}

/*Gap Size Trust Bar*/
@media (max-width: 767px) {
  .trust-bar {
    row-gap: 10px;
  }
  .trust-bar span {
    font-size: 8px !important;
  }
	  .trust-bar-stars {
    display: none !important;
  }
}
