/* ============================================================
   fair&care PflegeBox Konfigurator – Styles
   CI aus fairandcare-c5dd2f.webflow.io:
   fair-grün #a1c993 · fair-grün-darker #518140 · fair-blue #79ccc8
   fair-beige #f0eae2 · neutral-darkest #3f283f
   Fonts: erben die Webflow-Variablen (Fraunces 72 Pt / Almarai)
   ============================================================ */

#fc-pflegebox {
  --fc-green: #a1c993;
  --fc-green-dark: #518140;
  --fc-green-20: #a1c99333;
  --fc-blue: #79ccc8;
  --fc-blue-40: #79ccc866;
  --fc-beige: #f0eae2;
  --fc-text: #3f283f;
  --fc-white: #fff;
  --fc-red: #d9534f;
  --fc-radius: 1.5rem;
  --fc-font-body: var(--_typography---font-styles--body, inherit);
  --fc-font-heading: var(--_typography---font-styles--heading, inherit);

  font-family: var(--fc-font-body);
  color: var(--fc-text);
  line-height: 1.5;
  box-sizing: border-box;
}
#fc-pflegebox *,
#fc-pflegebox *::before,
#fc-pflegebox *::after { box-sizing: border-box; }

#fc-pflegebox .fc-wrap {
  position: relative;
  max-width: 62rem;
  margin: 0 auto;
  padding: 1rem;
}

/* ---------- Budget widget ---------- */
#fc-pflegebox .fc-budget {
  position: sticky;
  top: 10rem;
  z-index: 5;
  margin-left: auto;
  width: fit-content;
  min-width: 12rem;
  background: var(--fc-white);
  border: 1px solid var(--fc-green-20);
  border-radius: 1rem;
  box-shadow: 0 6px 24px rgba(63, 40, 63, 0.08);
  padding: 0.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1rem;
}
#fc-pflegebox .fc-budget__label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}
#fc-pflegebox .fc-budget__pct {
  font-family: var(--fc-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fc-green-dark);
}
#fc-pflegebox .fc-budget--full .fc-budget__pct { color: var(--fc-red); }
#fc-pflegebox .fc-budget__max { font-size: 0.75rem; opacity: 0.6; }
#fc-pflegebox .fc-budget__bar {
  display: block;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--fc-beige);
  overflow: hidden;
  margin-top: 0.35rem;
}
#fc-pflegebox .fc-budget__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--fc-green);
  transition: width 0.3s ease;
}
#fc-pflegebox .fc-budget--full .fc-budget__fill { background: var(--fc-red); }

/* ---------- Steps ---------- */
#fc-pflegebox .fc-steps {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
#fc-pflegebox .fc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  min-width: 5.5rem;
  font-family: inherit;
  color: inherit;
}
#fc-pflegebox .fc-step:not(:disabled) { cursor: pointer; }
#fc-pflegebox .fc-step__dot {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--fc-white);
  border: 1px solid var(--fc-green);
  color: var(--fc-green-dark);
  transition: all 0.25s ease;
}
#fc-pflegebox .fc-step--active .fc-step__dot {
  background: var(--fc-green);
  color: var(--fc-text);
  box-shadow: 0 0 0 4px var(--fc-green-20);
}
#fc-pflegebox .fc-step--done .fc-step__dot {
  background: var(--fc-green-dark);
  border-color: var(--fc-green-dark);
  color: var(--fc-white);
}
#fc-pflegebox .fc-step__label { font-size: 0.7rem; opacity: 0.7; }
#fc-pflegebox .fc-step--active .fc-step__label { opacity: 1; font-weight: 700; }

/* ---------- Card ---------- */
#fc-pflegebox .fc-card {
  background: var(--fc-white);
  border-radius: var(--fc-radius);
  box-shadow: 0 10px 40px rgba(63, 40, 63, 0.08);
  padding: 2rem;
}
#fc-pflegebox .fc-title {
  font-family: var(--fc-font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--fc-text);
}
#fc-pflegebox .fc-sub {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}
#fc-pflegebox .fc-sub--strong { font-weight: 700; opacity: 1; margin-bottom: 0.25rem; }

/* ---------- Products ---------- */
#fc-pflegebox .fc-products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
#fc-pflegebox .fc-product {
  display: flex;
  gap: 1rem;
  border: 1px solid var(--fc-beige);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: var(--fc-white);
}
#fc-pflegebox .fc-product--selected {
  border-color: var(--fc-green);
  box-shadow: 0 4px 18px var(--fc-green-20);
}
#fc-pflegebox .fc-product--blocked { border-color: var(--fc-red); }
#fc-pflegebox .fc-product__icon {
  flex: 0 0 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background: var(--fc-beige);
  color: var(--fc-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
#fc-pflegebox .fc-product__icon svg { width: 2rem; height: 2rem; }
#fc-pflegebox .fc-product__body { flex: 1; min-width: 0; }
#fc-pflegebox .fc-product__brand {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fc-green-dark);
  font-weight: 700;
}
#fc-pflegebox .fc-product__name {
  font-family: var(--fc-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.15rem 0 0.5rem;
}
#fc-pflegebox .fc-product__toggles { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
#fc-pflegebox .fc-chip {
  border: 1px solid var(--fc-green);
  background: var(--fc-white);
  color: var(--fc-green-dark);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
#fc-pflegebox .fc-chip:hover,
#fc-pflegebox .fc-chip--on { background: var(--fc-green); color: var(--fc-text); }
#fc-pflegebox .fc-product__panel {
  background: var(--fc-beige);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
#fc-pflegebox .fc-product__panel ul { margin: 0; padding-left: 1.1rem; }
#fc-pflegebox .fc-product__panel p { margin: 0; }
#fc-pflegebox .fc-product__meta { font-size: 0.85rem; opacity: 0.85; margin-bottom: 0.75rem; }
#fc-pflegebox .fc-product__chosen {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fc-green-dark);
}

/* Sizes */
#fc-pflegebox .fc-sizes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
#fc-pflegebox .fc-sizes__label { font-size: 0.8rem; opacity: 0.7; margin-right: 0.25rem; }
#fc-pflegebox .fc-size {
  min-width: 3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--fc-green);
  background: var(--fc-white);
  color: var(--fc-text);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
#fc-pflegebox .fc-size--on { background: var(--fc-green-dark); border-color: var(--fc-green-dark); color: var(--fc-white); }

/* Stepper */
#fc-pflegebox .fc-stepper { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
#fc-pflegebox .fc-stepper__label { font-size: 0.8rem; opacity: 0.7; }
#fc-pflegebox .fc-stepper__btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--fc-green);
  background: var(--fc-white);
  color: var(--fc-green-dark);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  font-family: inherit;
  transition: all 0.2s ease;
}
#fc-pflegebox .fc-stepper__btn--plus { background: var(--fc-green-dark); border-color: var(--fc-green-dark); color: var(--fc-white); }
#fc-pflegebox .fc-stepper__btn:disabled { opacity: 0.35; cursor: not-allowed; }
#fc-pflegebox .fc-stepper__val {
  min-width: 2.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
}
#fc-pflegebox .fc-stepper__hint { font-size: 0.75rem; color: var(--fc-red); font-weight: 700; }

/* ---------- Zusatzanspruch ---------- */
#fc-pflegebox .fc-extra {
  border: 1px solid var(--fc-beige);
  border-radius: 1rem;
  overflow: hidden;
  margin: 1.5rem 0;
}
#fc-pflegebox .fc-extra__banner {
  background: var(--fc-blue-40);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
}
#fc-pflegebox .fc-extra__inner { display: flex; gap: 1rem; padding: 1.25rem; }
#fc-pflegebox .fc-extra__list {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}
#fc-pflegebox .fc-extra__list li { margin-bottom: 0.2rem; }
#fc-pflegebox .fc-radio {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.25rem;
  cursor: pointer;
  font-weight: 700;
}
#fc-pflegebox .fc-radio__circle {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 2px solid var(--fc-green);
  display: inline-block;
  transition: all 0.2s ease;
}
#fc-pflegebox .fc-radio--on .fc-radio__circle {
  border-color: var(--fc-green-dark);
  background: radial-gradient(circle, var(--fc-green-dark) 0 45%, transparent 50%);
}

/* ---------- Form ---------- */
#fc-pflegebox .fc-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
#fc-pflegebox .fc-field { flex: 1 1 100%; }
#fc-pflegebox .fc-field--half { flex: 1 1 calc(50% - 0.5rem); min-width: 14rem; }
#fc-pflegebox .fc-field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
#fc-pflegebox .fc-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--fc-beige);
  border-radius: 0.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--fc-text);
  background: var(--fc-white);
  transition: border-color 0.2s ease;
}
#fc-pflegebox .fc-input:focus { outline: none; border-color: var(--fc-green-dark); }
#fc-pflegebox .fc-field--invalid .fc-input { border-color: var(--fc-red); }
#fc-pflegebox .fc-field__err {
  color: var(--fc-red);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  min-height: 0.9rem;
}

/* ---------- Summary ---------- */
#fc-pflegebox .fc-summary {
  border: 1px solid var(--fc-beige);
  border-radius: 1rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
#fc-pflegebox .fc-summary h3 {
  font-family: var(--fc-font-heading);
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
}
#fc-pflegebox .fc-summary h3:first-child { margin-top: 0; }
#fc-pflegebox .fc-table { width: 100%; border-collapse: collapse; }
#fc-pflegebox .fc-table td { padding: 0.4rem 0; border-bottom: 1px solid var(--fc-beige); }
#fc-pflegebox .fc-table td:last-child { text-align: right; }
#fc-pflegebox .fc-table tfoot td { border-bottom: none; padding-top: 0.6rem; }
#fc-pflegebox .fc-summary__data {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.4rem 1rem;
}
#fc-pflegebox .fc-summary__data span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}
#fc-pflegebox .fc-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 0.25rem;
}
#fc-pflegebox .fc-consent input { margin-top: 0.2rem; accent-color: var(--fc-green-dark); }

/* ---------- Success ---------- */
#fc-pflegebox .fc-success { text-align: center; padding: 2rem 0; }
#fc-pflegebox .fc-success__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--fc-green);
  color: var(--fc-white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Loader ---------- */
#fc-pflegebox .fc-loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  font-weight: 700;
  color: var(--fc-green-dark);
  pointer-events: all;
}
#fc-pflegebox .fc-loader__spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 4px solid var(--fc-beige);
  border-top-color: var(--fc-green-dark);
  border-radius: 50%;
  animation: fc-spin 1s linear infinite;
}
@keyframes fc-spin { to { transform: rotate(360deg); } }

/* Submit error */
#fc-pflegebox .fc-submit-error {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #f9e2e2;
  border-radius: 0.6rem;
  text-align: center;
}

/* ---------- Nav / Buttons ---------- */
#fc-pflegebox .fc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
}
#fc-pflegebox .fc-nav__right { display: flex; align-items: center; gap: 0.75rem; }
#fc-pflegebox .fc-nav__hint { font-size: 0.8rem; opacity: 0.65; }
#fc-pflegebox .fc-btn {
  font-family: var(--fc-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--fc-green);
  background: var(--fc-green);
  color: var(--fc-text);
  border-radius: var(--fc-radius);
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: all 0.35s ease-in-out;
}
#fc-pflegebox .fc-btn:hover:not(:disabled) {
  background: var(--fc-blue);
  border-color: var(--fc-blue);
}
#fc-pflegebox .fc-btn:disabled { opacity: 0.5; cursor: not-allowed; }
#fc-pflegebox .fc-btn--ghost {
  background: var(--fc-white);
  border-color: var(--fc-beige);
}
#fc-pflegebox .fc-btn--ghost:hover { background: var(--fc-beige); border-color: var(--fc-beige); }

/* ---------- UX Optimisations ---------- */
#fc-pflegebox {
  font-size: 1.05rem;
  line-height: 1.6;
}
#fc-pflegebox .fc-wrap {
  padding: 1.5rem;
}

#fc-pflegebox .fc-budget {
  top: 1.5rem;
  min-width: 14rem;
  padding: 1rem 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 8px 28px rgba(63, 40, 63, 0.1);
}
#fc-pflegebox .fc-budget__label {
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}
#fc-pflegebox .fc-budget__pct {
  font-size: 2rem;
}
#fc-pflegebox .fc-budget__max {
  font-size: 0.85rem;
}
#fc-pflegebox .fc-budget__bar {
  height: 0.45rem;
  margin-top: 0.5rem;
}

#fc-pflegebox .fc-steps {
  gap: 1rem;
  margin-bottom: 2rem;
}
#fc-pflegebox .fc-step__dot {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.05rem;
}
#fc-pflegebox .fc-step__label {
  font-size: 0.8rem;
}

#fc-pflegebox .fc-card {
  padding: 2.5rem;
  border-radius: 1.75rem;
}
#fc-pflegebox .fc-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}
#fc-pflegebox .fc-sub {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
#fc-pflegebox .fc-sub--strong {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

#fc-pflegebox .fc-products {
  gap: 1.25rem;
  margin: 2rem 0;
}
#fc-pflegebox .fc-product {
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
}
#fc-pflegebox .fc-product__icon {
  flex: 0 0 5rem;
  height: 5rem;
  border-radius: 1rem;
}
#fc-pflegebox .fc-product__icon svg { width: 2.5rem; height: 2.5rem; }
#fc-pflegebox .fc-product__brand {
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}
#fc-pflegebox .fc-product__name {
  font-size: 1.4rem;
}
#fc-pflegebox .fc-product__meta {
  font-size: 0.95rem;
  margin: 0.5rem 0 0.75rem;
}
#fc-pflegebox .fc-product__toggles {
  gap: 0.75rem;
  margin: 0.75rem 0;
}
#fc-pflegebox .fc-chip {
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
}
#fc-pflegebox .fc-product__panel {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
#fc-pflegebox .fc-product__chosen {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

#fc-pflegebox .fc-sizes {
  gap: 0.75rem;
  margin-bottom: 1rem;
}
#fc-pflegebox .fc-sizes__label {
  font-size: 0.9rem;
}
#fc-pflegebox .fc-size {
  min-width: 3.25rem;
  padding: 0.45rem 0.9rem;
  font-size: 1rem;
}

#fc-pflegebox .fc-stepper { gap: 1rem; }
#fc-pflegebox .fc-stepper__label { font-size: 0.85rem; }
#fc-pflegebox .fc-stepper__btn {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.3rem;
}
#fc-pflegebox .fc-stepper__val { font-size: 1.25rem; }
#fc-pflegebox .fc-stepper__hint { font-size: 0.85rem; }

#fc-pflegebox .fc-extra {
  border-radius: 1.25rem;
  margin: 2rem 0;
}
#fc-pflegebox .fc-extra__banner {
  padding: 1rem;
  font-size: 0.95rem;
}
#fc-pflegebox .fc-extra__inner { gap: 1.5rem; padding: 1.5rem; }
#fc-pflegebox .fc-extra__list { font-size: 0.95rem; }
#fc-pflegebox .fc-radio {
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
}
#fc-pflegebox .fc-radio__circle { width: 1.4rem; height: 1.4rem; }

#fc-pflegebox .fc-form { gap: 1.25rem; margin: 2rem 0; }
#fc-pflegebox .fc-field--half { flex: 1 1 calc(50% - 0.625rem); min-width: 16rem; }
#fc-pflegebox .fc-field__label { font-size: 0.95rem; margin-bottom: 0.4rem; }
#fc-pflegebox .fc-input {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}
#fc-pflegebox .fc-field__err { font-size: 0.8rem; }

#fc-pflegebox .fc-summary {
  padding: 1.5rem;
  margin: 2rem 0;
  font-size: 1rem;
  border-radius: 1.25rem;
}
#fc-pflegebox .fc-summary h3 { font-size: 1.25rem; }
#fc-pflegebox .fc-table td { padding: 0.6rem 0; }
#fc-pflegebox .fc-summary__data {
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.6rem 1.25rem;
}
#fc-pflegebox .fc-summary__data span { font-size: 0.75rem; }
#fc-pflegebox .fc-consent { font-size: 0.95rem; margin-bottom: 0.5rem; }

#fc-pflegebox .fc-success { padding: 3rem 0; }
#fc-pflegebox .fc-success__icon {
  width: 4.5rem;
  height: 4.5rem;
  font-size: 2.25rem;
}

#fc-pflegebox .fc-loader { font-size: 1.1rem; }
#fc-pflegebox .fc-loader__spinner { width: 3rem; height: 3rem; }

#fc-pflegebox .fc-nav { margin-top: 2rem; }
#fc-pflegebox .fc-btn { padding: 0.9rem 2rem; font-size: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  #fc-pflegebox .fc-card { padding: 1.5rem; }
  #fc-pflegebox .fc-title { font-size: 1.75rem; }
  #fc-pflegebox .fc-product { flex-direction: column; align-items: flex-start; gap: 1rem; }
  #fc-pflegebox .fc-product__icon { flex: 0 0 auto; width: 4.5rem; height: 4.5rem; }
  #fc-pflegebox .fc-extra__inner { flex-direction: column; }
  #fc-pflegebox .fc-field--half { flex-basis: 100%; min-width: auto; }
  #fc-pflegebox .fc-budget { width: 100%; top: 0.5rem; }
  #fc-pflegebox .fc-step__label { display: none; }
}
