/* =============================
    CI-Variablen
   ============================= */
:root {
  --ci-primary: #5d7a6e;
  --ci-secondary: #4d675b;
  --ci-bg: #eef6f3;
  --ci-soft: #f4f8f6;
  --ci-text: #0e3a31;
}

/* Basis-Wrapper */
.breast-calc {
  max-width: 1006px;
  padding: 16px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #21312b;
}
.breast-calc * { box-sizing: border-box }

/* =============================
    Progress
   ============================= */
.breast-calc .bc-progress {
  height: 8px;
  background: #e7efe9;
  border-radius: 999px;
  margin: 0 0 14px;
  overflow: hidden;
}
.breast-calc .bc-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ci-primary), var(--ci-secondary));
  transition: width .35s ease;
}

/* =============================
    Introbox (Start-Slide)
   ============================= */
.breast-calc .bc-intro {
  position: relative;
  background: var(--ci-bg);
  border-radius: 16px;
  padding: 18px 20px 18px 44px;
  margin: 0 0 16px;
}
.breast-calc .bc-intro::before {
  content: "";
  position: absolute;
  left: 14px; top: 12px; bottom: 12px; width: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ci-primary), var(--ci-secondary));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 2px 10px rgba(77,103,91,.18);
}
.breast-calc .bc-intro h1,
.breast-calc .bc-intro h2 {
  margin: .2rem 0;
  color: var(--ci-text);
  font-size: 1.5rem;
}
.breast-calc .bc-eyebrow { margin-bottom: 0.25rem; font-size: 0.9rem; }
.breast-calc .bc-lead { margin: 0.5rem 0; }
.breast-calc .bc-note { font-size: 0.85rem; opacity: 0.8; }


/* =============================
    Steps / Slides
   ============================= */
.breast-calc .bc-slides {
    position: relative;
    overflow: hidden;
}
.breast-calc .bc-slide {
  display: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.breast-calc .bc-slide.is-active {
  display: block;
  opacity: 1;
}

.breast-calc .bc-question {
  font-size: 1.25rem;
  margin: .25rem 0 8px;
  color: var(--ci-primary);
}
.breast-calc .bc-sub {
  opacity: .8;
  margin: 0 0 8px;
}

/* =============================
    Karten / Options (Buttons & Cards)
   ============================= */
.breast-calc .bc-options { display: grid; gap: 12px; margin: 8px 0 12px }

.breast-calc .bc-options--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width:640px) {
  .breast-calc .bc-options--cards { grid-template-columns: 1fr; }
}

/* Button-artige Optionen */
.breast-calc .bc-options--buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.breast-calc .bc-option { position: relative; }
.breast-calc .bc-option input { position: absolute; opacity: 0; }
.breast-calc .bc-option>span {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem .9rem; border-radius: 999px; background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  border: 1px solid rgba(77,103,91,.12);
  color: var(--ci-secondary); font-weight: 700; cursor: pointer;
}
.breast-calc .bc-option input:checked+span { outline: 2px solid var(--ci-secondary); }

/* Karten-Optionen */
.breast-calc .bc-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 14px 12px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  outline: 1px solid rgba(77,103,91,.12);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.breast-calc .bc-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.09); }
.breast-calc .bc-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.breast-calc .bc-card:has(input:checked) { outline: 2px solid var(--ci-secondary); }
.breast-calc .bc-card__title { font-weight: 600; color: var(--ci-secondary); }

/* =============================
    Inputs
   ============================= */
.breast-calc .bc-grid { display: grid; gap: 12px; }
@media (min-width:640px) {
  .breast-calc .bc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.breast-calc .bc-field { position: relative; }
.breast-calc .bc-label { display: block; font-weight: 500; margin-bottom: 4px; font-size: 0.9rem; }

.breast-calc .bc-input,
.breast-calc .bc-select {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(77,103,91,.22);
  outline: none;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
}
.breast-calc .bc-input:focus,
.breast-calc .bc-select:focus {
  border-color: var(--ci-secondary);
  box-shadow: 0 0 0 4px rgba(93,122,110,.12);
}

.breast-calc .bc-check { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.breast-calc .bc-check input { margin-top: 3px; }

/* Validation Errors */
.breast-calc .bc-error {
  color: #c00;
  font-size: 0.8rem;
  margin-top: 4px;
}
.breast-calc .is-invalid {
  border-color: #c00 !important;
}

/* =============================
    Buttons / Actions
   ============================= */
.breast-calc .bc-nav {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap;
}
.breast-calc .bc-btn {
  background: #fff; color: var(--ci-secondary);
  border: 1px solid rgba(77,103,91,.25);
  border-radius: 12px; padding: 10px 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.06); text-decoration: none; display: inline-flex; align-items: center;
}
.breast-calc .bc-btn--primary {
  background: var(--ci-primary); color: #fff; border-color: transparent;
}
.breast-calc .bc-btn:disabled { opacity: .6; cursor: not-allowed; }
.breast-calc .bc-btn--ghost { background: #fff; border: 1px solid rgba(77,103,91,.25); color: var(--ci-secondary); }

/* =============================
    Ergebnis-Ansicht
   ============================= */
.breast-calc .bc-result {
    background: var(--ci-soft);
    border-radius: 14px;
    outline: 1px solid rgba(77,103,91,.12);
    padding: 16px;
    margin-bottom: 20px;
}
.breast-calc .bc-result a { color: var(--ci-secondary); text-decoration: underline; text-underline-offset: 2px; }
.breast-calc .bc-result p { margin: 0.5rem 0; }