/* BCS-Rechner — Body Condition Score nach Henneke 1–9
   Uses global CSS variables from styles.css */

.bcs {
  --bcs-bone:   #E8E2D4;
  --bcs-fat:    rgba(245,196,128,0.35);
  --bcs-fat-edge: rgba(245,196,128,0.7);
  --bcs-skin:   var(--ink);
  --bcs-green:  #3FCC85;
  --bcs-yellow: #F0C447;
  --bcs-orange: #E07B3C;
  --bcs-red:    #E36548;

  max-width: 1400px;
  margin: 40px auto 80px;
  padding: 0 var(--pad-x, clamp(20px, 5vw, 80px));
  font-family: var(--font-body);
  color: var(--ink);
}

/* ═══════ Welcome ═══════ */
.bcs-welcome {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 0;
}
.bcs-welcome__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #A7F3D0;
  margin-bottom: 16px;
}
.bcs-welcome__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.bcs-welcome__title em { font-style: italic; color: var(--accent); }
.bcs-welcome__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.bcs-welcome__preview {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto 32px;
  border-radius: var(--r-md);
  background: #FAF7F0;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,0.35);
}
.bcs-welcome__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0 auto 40px;
  max-width: 880px;
  text-align: left;
}
@media (min-width: 720px) {
  .bcs-welcome__steps { grid-template-columns: repeat(3, 1fr); }
}
.bcs-step {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 200px;
}
.bcs-step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #0F1B2D;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,0.3);
}
.bcs-step__text {
  font-size: 15.5px;
  line-height: 1.55;
  color: #F8FAF7;
  font-weight: 500;
}

/* ═══════ Rasse-Stage (Schritt 1) ═══════ */
.bcs-rasse {
  max-width: 760px;
  margin: 0 auto;
}
.bcs-list-card--rasse {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.bcs-step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: -4px;
}
.bcs-rasse__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Sticky-Header-Offset für scrollIntoView */
  scroll-margin-top: 80px;
}
.bcs-rasse__nav { scroll-margin-top: 80px; }
.bcs-rasse__label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
.bcs-rasse__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 540px) {
  .bcs-rasse__grid { grid-template-columns: repeat(4, 1fr); }
  .bcs-rasse__grid--two { grid-template-columns: repeat(2, 1fr); }
}
.bcs-rasse__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

/* Dynamischer Info-Block unter der Rassenauswahl — zeigt rassespezifische Daten */
.bcs-rasse__info {
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(13, 184, 122, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.bcs-rasse__info-row strong {
  color: var(--ink);
  font-weight: 700;
}
.bcs-rasse__info-row em {
  font-style: italic;
  color: var(--muted);
}

/* Main-Stage Breadcrumb mit Zurück zur Rasse-Stage */
.bcs-main-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bcs-main__breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 4px;
}
.bcs-main__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all .15s;
  box-shadow: 0 4px 12px -3px rgba(13, 184, 122, 0.4);
}
.bcs-main__back:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  box-shadow: 0 6px 14px -3px rgba(13, 184, 122, 0.55);
}
.bcs-main__back svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.bcs-main__crumb {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-family: var(--font-body);
}
.bcs-main__crumb strong {
  color: var(--ink);
  font-weight: 600;
}

/* ═══════ Main: Horse + Region list ═══════ */
.bcs-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .bcs-main { grid-template-columns: 1.5fr 1fr; align-items: start; }
}

.bcs-horse-card,
.bcs-list-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
}

.bcs-horse-card__title,
.bcs-list-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 10px;
}
.bcs-horse-card__hint {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
  color: #F8FAF7;
  margin: 0 0 24px;
}

/* Horse — image-based with overlaid hotspots */
.bcs-horse {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  background: #FAF7F0;
}

/* Hotspots */
.bcs-hotspot {
  cursor: pointer;
  transition: transform .2s;
  transform-origin: center;
  transform-box: fill-box;
}
.bcs-hotspot:hover { transform: scale(1.12); }
.bcs-hotspot:focus { outline: none; }

/* Soft halo behind ring — guides the eye to clickable areas */
.bcs-hotspot__halo {
  fill: var(--accent);
  opacity: 0.18;
  animation: bcs-pulse 2.4s ease-in-out infinite;
}
@keyframes bcs-pulse {
  0%, 100% { opacity: 0.15; r: 38; }
  50%      { opacity: 0.32; r: 44; }
}
.bcs-hotspot__ring {
  fill: #fff;
  stroke: var(--accent);
  stroke-width: 3;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}
.bcs-hotspot:hover .bcs-hotspot__ring {
  stroke: var(--accent-deep);
}
.bcs-hotspot__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  fill: var(--accent-deep);
  pointer-events: none;
  text-anchor: middle;
}
.bcs-hotspot--scored .bcs-hotspot__halo {
  fill: var(--accent);
  opacity: 0.5;
  animation: none;
}
.bcs-hotspot--scored .bcs-hotspot__ring {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 3;
}
.bcs-hotspot--scored .bcs-hotspot__num {
  fill: #fff;
}

/* Region list */
.bcs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bcs-list-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .15s;
  width: 100%;
  text-align: left;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
}
.bcs-list-item:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
}
.bcs-list-item__num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.bcs-list-item--scored .bcs-list-item__num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.bcs-list-item__name {
  flex: 1;
  font-weight: 600;
}
.bcs-list-item__score {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.bcs-list-item__chev {
  width: 20px; height: 20px;
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 2;
}

/* Big eval button */
.bcs-eval-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 18px 32px;
  cursor: pointer;
  transition: background .15s;
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}
.bcs-eval-btn:hover { background: var(--accent-deep); }
.bcs-eval-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.bcs-eval-btn svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ═══════ Modal ═══════ */
.bcs-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 26, 0.75);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.bcs-modal--open { display: flex; }
.bcs-modal__inner {
  background: #0F1B2D;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 36px);
  max-width: 580px;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.5);
}
.bcs-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.bcs-modal__close:hover { background: rgba(255,255,255,0.16); }
.bcs-modal__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #A7F3D0;
  margin-bottom: 6px;
}
.bcs-modal__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  margin: 0 0 14px;
}
.bcs-modal__lead {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

/* Tast-Hinweis pro Region — als <details>-Akkordeon, ohne JS */
.bcs-modal__tactile {
  margin: 0 0 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.bcs-modal__tactile--prominent {
  border-color: rgba(13, 184, 122, 0.45);
  background: rgba(13, 184, 122, 0.08);
}
.bcs-modal__tactile-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  user-select: none;
}
.bcs-modal__tactile-summary::-webkit-details-marker { display: none; }
.bcs-modal__tactile-summary::after {
  content: "▾";
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  transition: transform .2s;
}
.bcs-modal__tactile[open] .bcs-modal__tactile-summary::after {
  transform: rotate(180deg);
}
.bcs-modal__tactile-summary svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.bcs-modal__tactile--prominent .bcs-modal__tactile-summary {
  color: var(--accent);
}
.bcs-modal__tactile-body {
  padding: 0 14px 14px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Heubauch-Warnhinweis (nur Rippen) — immer sichtbar, prominent */
.bcs-modal__warning {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: rgba(240, 196, 71, 0.12);
  border-left: 3px solid var(--bcs-yellow);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.bcs-modal__warning strong { color: var(--ink); }

/* ═══════ CNS-Stage (optional, zwischen Main und Result) ═══════ */
.bcs-cns-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.bcs-cns-intro {
  background: rgba(13, 184, 122, 0.14);
  border: 1px solid rgba(13, 184, 122, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 26px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.3);
}
.bcs-cns-intro p { margin: 0; }
.bcs-cns-intro p + p { margin-top: 12px; }
.bcs-cns-intro strong {
  color: var(--ink);
  font-weight: 700;
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.25;
}

/* Layout: Querschnitt links, Score-Buttons rechts (Desktop); untereinander auf Mobile */
.bcs-cns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 720px) {
  .bcs-cns-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.bcs-cns-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bcs-cns-option {
  --cns-tint: var(--accent); /* Default-Fallback, wird inline pro Button überschrieben */
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-left: 4px solid color-mix(in srgb, var(--cns-tint) 55%, transparent);
  border-radius: var(--r-md);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: all .15s;
  width: 100%;
}
.bcs-cns-option:not(.bcs-cns-option--active):hover {
  border-color: rgba(255,255,255,0.28);
  border-left-color: var(--cns-tint);
  background: color-mix(in srgb, var(--cns-tint) 8%, rgba(255,255,255,0.05));
}
.bcs-cns-option--active,
.bcs-cns-option--active:hover {
  background: color-mix(in srgb, var(--cns-tint) 22%, transparent);
  border-color: var(--cns-tint);
  border-left-color: var(--cns-tint);
  color: #fff;
}
.bcs-cns-option__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.18);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--ink-soft);
}
.bcs-cns-option--active .bcs-cns-option__num {
  background: var(--cns-tint);
  border-color: var(--cns-tint);
  color: #fff;
}
.bcs-cns-option__label {
  flex: 1;
  font-weight: 500;
  line-height: 1.35;
}

/* Beschreibungsbox in der CNS-Stage — übernimmt die Risiko-Farbe der gewählten Score */
.bcs-modal__desc--cns {
  background: color-mix(in srgb, var(--cns-tint) 14%, transparent);
  border-left-color: var(--cns-tint);
}
.bcs-modal__desc--cns strong { color: var(--cns-tint); }

/* "Tasten ist Pflicht"-Banner über der Pferdesilhouette
   Heller Cream-Hintergrund mit dunklem Text — bewusst andersfarbig
   als das dunkle Tool-Umfeld, damit der Hinweis sofort ins Auge fällt. */
.bcs-tactile-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  background: #faf6ed;
  border: 1px solid rgba(15, 27, 45, 0.18);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 16px;
  line-height: 1.6;
  color: #1F2D45;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.25);
}
.bcs-tactile-banner--prominent {
  background: #fff5dd;            /* leicht goldiges Cream — noch deutlicher */
  border-color: #E0A23C;
  border-left-color: #E0A23C;
}
.bcs-tactile-banner__icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.bcs-tactile-banner--prominent .bcs-tactile-banner__icon {
  color: #C77F1A;
}
.bcs-tactile-banner__body {
  color: #1F2D45;
}
.bcs-tactile-banner__body strong {
  color: #0F1B2D;
  font-weight: 700;
  margin-right: 4px;
}

/* Cross-section visual */
.bcs-cross {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 22px 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  min-height: 200px;
}
.bcs-cross__svg { width: 100%; max-width: 320px; height: 200px; }
.bcs-cross__bone {
  fill: var(--bcs-bone);
  stroke: rgba(232,226,212,0.5);
  stroke-width: 1;
}
.bcs-cross__fat {
  fill: var(--bcs-fat);
  stroke: var(--bcs-fat-edge);
  stroke-width: 1.2;
  transition: all .25s ease-out;
}
.bcs-cross__skin {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linejoin: round;
  transition: all .25s ease-out;
}
.bcs-cross__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  fill: var(--muted);
  text-transform: uppercase;
}

/* Score buttons */
.bcs-scores {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.bcs-score-btn {
  aspect-ratio: 1;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .12s;
  display: grid;
  place-items: center;
}
.bcs-score-btn:not(.bcs-score-btn--active):hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}
.bcs-score-btn--active,
.bcs-score-btn--active:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.bcs-score-anchors {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 18px;
  padding: 0 4px;
}

.bcs-modal__desc {
  background: rgba(13, 184, 122, 0.1);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 22px;
  min-height: 60px;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.3);
}
.bcs-modal__desc strong {
  color: var(--ink);
  font-weight: 700;
  display: block;
  font-size: 17.5px;
  margin-bottom: 4px;
}

.bcs-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.bcs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: all .15s;
}
.bcs-btn--cancel {
  background: rgba(255,255,255,0.08);
  color: var(--ink-soft);
}
.bcs-btn--cancel:hover { background: rgba(255,255,255,0.14); }
.bcs-btn--save {
  background: var(--accent);
  color: #fff;
}
.bcs-btn--save:hover { background: var(--accent-deep); }
.bcs-btn--save:disabled { opacity: 0.4; cursor: not-allowed; }

/* ═══════ Result ═══════ */
.bcs-result {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
}
.bcs-result__head {
  text-align: center;
  margin-bottom: 32px;
}
.bcs-result__big {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 12px;
}
.bcs-result__big-num {
  font-size: clamp(52px, 8vw, 80px);
  line-height: 1;
}
.bcs-result__big-of {
  font-size: 16px;
  color: var(--muted);
}
.bcs-result__label {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  margin: 0 0 8px;
}
.bcs-result__hint {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* Mini overview with all 6 scores */
.bcs-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
@media (min-width: 600px) {
  .bcs-overview { grid-template-columns: repeat(3, 1fr); }
}
.bcs-overview__cell {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 14px 12px;
  text-align: center;
}
.bcs-overview__name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bcs-overview__score {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

/* Risk hints */
.bcs-hints {
  margin-bottom: 28px;
}
.bcs-hint {
  background: rgba(255,255,255,0.04);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.bcs-hint strong { font-weight: 700; }
.bcs-hint--warn {
  border-left-color: var(--bcs-orange);
}
.bcs-hint--danger {
  border-left-color: var(--bcs-red);
}
.bcs-hint--ok {
  border-left-color: var(--bcs-green);
}
.bcs-hint strong { color: var(--ink); }

.bcs-result__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

/* Idealfenster-Block (rassespezifisch) */
.bcs-result__ideal {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 26px;
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.bcs-result__ideal-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}
.bcs-result__ideal p { margin: 0; font-size: 17px; }
.bcs-result__ideal p + p { margin-top: 8px; }
.bcs-result__ideal strong { color: var(--ink); font-weight: 700; }

/* Senior-Hinweis-Block (eigenständig, dezent abgehoben) */
.bcs-result__senior {
  background: rgba(224, 162, 60, 0.08);
  border: 1px solid rgba(224, 162, 60, 0.25);
  border-left: 4px solid #E0A23C;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px;
  margin: 0 0 28px;
}
.bcs-result__senior-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #E0A23C;
  margin-bottom: 6px;
}
.bcs-result__senior p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.bcs-result__senior strong { color: var(--ink); font-weight: 700; }

/* CNS-Block in der Auswertung */
.bcs-result__cns {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 22px;
  margin: 0 0 28px;
}
.bcs-result__cns-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.bcs-result__cns-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.bcs-result__cns-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.bcs-result__cns-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-top: 2px;
}
.bcs-result__cns p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* EMS-Risiko-Box innerhalb des CNS-Blocks (nur bei CNS ≥ 3) — sehr auffällig */
.bcs-result__ems {
  margin-top: 22px;
  padding: 28px 30px;
  border-left: 6px solid var(--bcs-orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.35);
}
.bcs-result__ems-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.bcs-result__ems-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.bcs-result__ems h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.bcs-result__ems p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.bcs-result__ems-steps {
  margin-top: 14px !important;
  font-size: 17px;
}
.bcs-result__ems strong { color: var(--ink); font-weight: 700; }
.bcs-result__ems ul {
  margin: 6px 0 0;
  padding-left: 24px;
}
.bcs-result__ems li {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* "Bald verfügbar"-Link-Variante */
.bcs-link--soon {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  cursor: default;
}
.bcs-link--soon:hover { background: rgba(255,255,255,0.06); }

/* Disclaimer am Result-Ende — gut lesbar, mit etwas Padding */
.bcs-result__disclaimer {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: center;
  margin: 32px auto 0;
  max-width: 760px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--r-md);
}
.bcs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(13,184,122,0.1);
  border-radius: 999px;
  padding: 9px 18px;
  text-decoration: none;
  transition: background .15s;
}
.bcs-link:hover { background: rgba(13,184,122,0.2); }
.bcs-link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2.5;
}

.bcs-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}

@media print {
  .helfer-nav, .bcs-modal, .bcs-result__actions, .bcs-eval-btn, .bcs-scroll-hint { display: none; }
  .bcs-result { box-shadow: none; backdrop-filter: none; }
}

/* Scroll-Hint auf der Result-Stage — fixed unten, aber horizontal
   innerhalb der Content-Spalte (max-width 1400px wie .bcs) statt am
   Viewport-Rand. So klebt er direkt rechts neben dem Text, nicht
   weit weg im freien Raum. */
.bcs-scroll-hint {
  position: fixed;
  right: max(16px, calc((100vw - 1400px) / 2 + 16px));
  bottom: clamp(20px, 4vh, 40px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 20px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.45), 0 0 0 4px rgba(13, 184, 122, 0.18);
  z-index: 80;
  transition: opacity .25s ease, transform .25s ease, box-shadow .15s;
  animation: bcs-scroll-bounce 1.8s ease-in-out infinite;
}
.bcs-scroll-hint:hover {
  background: var(--accent-deep);
  box-shadow: 0 10px 28px -6px rgba(0,0,0,0.5), 0 0 0 5px rgba(13, 184, 122, 0.25);
}
.bcs-scroll-hint__icon {
  width: 16px; height: 16px;
}
.bcs-scroll-hint--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  animation: none;
}
@keyframes bcs-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@media (max-width: 540px) {
  .bcs-scroll-hint__label { display: none; }
  .bcs-scroll-hint {
    width: 48px; height: 48px;
    padding: 0;
    justify-content: center;
  }
  .bcs-scroll-hint__icon { width: 20px; height: 20px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Statische Inhalte unterhalb des Tools — heller Lese-Bereich,
   bewusster Bruch zum dunklen Tool-Background.
   Hardcodete Cream-Töne (statt var(--bg-soft)), weil das globale
   --bg-soft auf der HorseLoop-Seite ein Mint-Grün ist und für
   Artikel-Lesetypografie hier ein warmer Cream besser passt.
   ═══════════════════════════════════════════════════════════════════════ */

.bcs-info {
  margin-top: 80px;
  padding: 64px 24px;
  background: #faf6ed;
  border-top: 1px solid rgba(15, 27, 45, 0.18);
  color: #0F1B2D;
}

.bcs-info__inner {
  max-width: 720px;
  margin: 0 auto;
}

.bcs-info__header {
  margin-bottom: 48px;
}

.bcs-info__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A7F3D0;
  margin: 0 0 8px 0;
}

.bcs-info__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: #0F1B2D;
  margin: 0;
  line-height: 1.15;
}

.bcs-info__section {
  margin-bottom: 44px;
}

.bcs-info__section h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  color: #0F1B2D;
  margin: 0 0 18px 0;
  line-height: 1.25;
}

.bcs-info__section p {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.7;
  color: #1F2D45;
  margin: 0 0 18px 0;
}

.bcs-info__sources {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(15, 27, 45, 0.18);
}

.bcs-info__sources-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 27, 45, 0.6);
  margin: 0 0 16px 0;
}

.bcs-info__sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bcs-info__sources li {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(15, 27, 45, 0.78);
  margin-bottom: 14px;
  padding-left: 16px;
  position: relative;
}

.bcs-info__sources li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

@media (max-width: 600px) {
  .bcs-info { padding: 48px 16px; }
  .bcs-info__title { font-size: 26px; }
  .bcs-info__section h3 { font-size: 19px; }
  .bcs-info__section p { font-size: 16px; }
}

/* FAQ-Sektion — etwas hellerer Cream als der Erklärtext-Block, damit
   die zwei Bereiche optisch unterscheidbar bleiben. */
.bcs-faq {
  padding: 64px 24px 96px;
  background: #fdfbf6;
  color: #0F1B2D;
}

.bcs-faq__inner {
  max-width: 720px;
  margin: 0 auto;
}

.bcs-faq__header {
  margin-bottom: 32px;
}

.bcs-faq__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A7F3D0;
  margin: 0 0 8px 0;
}

.bcs-faq__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: #0F1B2D;
  margin: 0;
  line-height: 1.15;
}

.bcs-faq__item {
  border-bottom: 1px solid rgba(15, 27, 45, 0.18);
  padding: 24px 0;
}

.bcs-faq__item summary {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: #0F1B2D;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.3;
}

.bcs-faq__item summary::-webkit-details-marker { display: none; }

.bcs-faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.bcs-faq__item[open] summary::after {
  transform: rotate(45deg);
}

.bcs-faq__answer {
  padding-top: 16px;
}

.bcs-faq__answer p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: #1F2D45;
  margin: 0 0 14px 0;
}

@media (max-width: 600px) {
  .bcs-faq { padding: 48px 16px 64px; }
  .bcs-faq__title { font-size: 26px; }
  .bcs-faq__item summary { font-size: 17px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Cream-Theme-Overrides (gescopt). BCS hat keinen zentralen Flächen-Token,
   daher alle weißen Overlays/dunklen Flächen einzeln. Funktionsfarben
   (--bcs-green/yellow/orange/red, .bcs-hint--*, senior/EMS/warning,
   grün-getönte Info-Boxen) und #fff-auf-Accent-Buttons bleiben.
   .bcs-info / .bcs-faq / .bcs-tactile-banner sind bereits Cream → bleiben.
   ═══════════════════════════════════════════════════════════════════════ */
/* Helle Akzent-/Mint-Texte → Cream-taugliche Werte */
.cream-theme .bcs-welcome__kicker,
.cream-theme .bcs-modal__kicker,
.cream-theme .bcs-info__kicker,
.cream-theme .bcs-faq__kicker { color: var(--hl-accent); }
.cream-theme .bcs-step__text,
.cream-theme .bcs-horse-card__hint { color: var(--ink-soft); }

/* Karten-/Flächen-Overlays → helle Cream-Flächen */
.cream-theme .bcs-step,
.cream-theme .bcs-horse-card,
.cream-theme .bcs-list-card,
.cream-theme .bcs-list-item,
.cream-theme .bcs-result,
.cream-theme .bcs-result__ideal,
.cream-theme .bcs-result__cns {
  background: var(--bg-soft);
  border-color: var(--line);
}
.cream-theme .bcs-cross,
.cream-theme .bcs-cns-option,
.cream-theme .bcs-score-btn,
.cream-theme .bcs-overview__cell,
.cream-theme .bcs-hint,
.cream-theme .bcs-result__disclaimer,
.cream-theme .bcs-modal__tactile {
  background: var(--bg-warm);
  border-color: var(--line);
}
.cream-theme .bcs-list-item:hover,
.cream-theme .bcs-score-btn:not(.bcs-score-btn--active):hover,
.cream-theme .bcs-cns-option:not(.bcs-cns-option--active):hover {
  background: #ece2cf;
  border-color: var(--muted-2);
}
.cream-theme .bcs-list-item__num,
.cream-theme .bcs-cns-option__num {
  background: var(--bg-warm);
  border-color: var(--line);
  color: var(--ink-soft);
}
.cream-theme .bcs-list-item__chev { stroke: var(--muted-2); }
.cream-theme .bcs-btn--cancel { background: var(--bg-warm); color: var(--ink-soft); }
.cream-theme .bcs-btn--cancel:hover { background: #ece2cf; }
.cream-theme .bcs-link--soon,
.cream-theme .bcs-link--soon:hover { background: var(--bg-warm); }

/* Step-Nummer-Kreis: war fast-weiß → auf Cream zu schwach → Accent */
.cream-theme .bcs-step__num { background: var(--accent); color: #fff; }

/* Modal: Backdrop bleibt dunkel, Inhalt wird Cream */
.cream-theme .bcs-modal__inner { background: var(--bg-soft); border-color: var(--line); }
.cream-theme .bcs-modal__close { background: var(--bg-warm); }
.cream-theme .bcs-modal__close:hover { background: #ece2cf; }

/* Aktive/gescorte Zustände behalten ihre Akzentfarbe: Die Flächen-Overrides
   oben (.cream-theme .bcs-score-btn = 2 Klassen) sind spezifischer als die
   Original-Regeln (.bcs-score-btn--active = 1 Klasse) und würden den Accent
   sonst durch Cream ersetzen → weißer Text auf hell = unlesbar. */
.cream-theme .bcs-score-btn--active,
.cream-theme .bcs-score-btn--active:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cream-theme .bcs-list-item--scored .bcs-list-item__num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cream-theme .bcs-cns-option--active,
.cream-theme .bcs-cns-option--active:hover {
  background: color-mix(in srgb, var(--cns-tint) 22%, transparent);
  border-color: var(--cns-tint);
  color: var(--ink);
}
.cream-theme .bcs-cns-option--active .bcs-cns-option__num {
  background: var(--cns-tint);
  border-color: var(--cns-tint);
  color: #fff;
}
/* Funktionale border-left-Akzente wiederherstellen: Der border-color der
   Flächen-Overrides oben (Shorthand für alle Seiten) hat sie auf --line gesetzt
   und damit die Risiko-/Accent-Signale der Hint-/Ergebnis-Boxen geschluckt. */
.cream-theme .bcs-result__ideal,
.cream-theme .bcs-result__cns,
.cream-theme .bcs-hint { border-left-color: var(--accent); }
.cream-theme .bcs-hint--warn { border-left-color: var(--bcs-orange); }
.cream-theme .bcs-hint--danger { border-left-color: var(--bcs-red); }
.cream-theme .bcs-hint--ok { border-left-color: var(--bcs-green); }
