/* KRAFTDEX color system — 2026-08-04 */
:root {
  --bg: #0d0d10;
  --surface: #303031;
  --button-bg: #4d4d4d;
  --accent: #e3391a;
  --accent-strong: #e3391a;
  --focus: rgba(227, 57, 26, .72);
  --kd-max-strength: #ff5757;
  --kd-bodybuilding: #f7f636;
  --kd-endurance: #3de0d2;
}

/* The brand accent is a filled action, never a perimeter decoration. */
.hero__cta--primary {
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

/* Neutral card edges; the category color is carried by the internal accent. */
.world-card,
.world-card:hover,
.world-card:focus-within,
.world-card.is-selected,
.world-carousel__track:has(.world-card.is-selected) .world-card:not(.is-selected).is-preview,
.world-discipline,
.world-discipline:hover,
.world-discipline:focus-within {
  border-color: rgba(255,255,255,.12);
}

.world-card.is-selected {
  box-shadow: 0 18px 46px rgba(0,0,0,.44);
}

.discipline-nav__links a,
.discipline-facts,
.discipline-event,
.discipline-empty {
  --line: rgba(255,255,255,.12);
}

/* Discipline pages: shared surfaces and the approved three category colors. */
:root {
  --surface: #303031;
  --surface-strong: #4d4d4d;
  --line: rgba(255,255,255,.12);
}
body[data-discipline="Powerlifting"],
body[data-discipline="Strongman"],
body[data-discipline="Armdrücken"],
body[data-discipline="Bizeps Curl"] { --accent: #ff5757; }
body[data-discipline="Bodybuilding"] { --accent: #f7f636; }

/* Sport-world module tokens. */
#kdWettkampfarten {
  --kd-bg: #0d0d10;
  --kd-surface: #303031;
  --kd-elevated: #4d4d4d;
  --kd-accent: #e3391a;
}
.kd-st.kd-hot { background: linear-gradient(180deg, rgba(227,57,26,.16), rgba(227,57,26,.05)); }
.kd-st.kd-hot .kd-lab { color: var(--kd-accent); }
.kd-tab:focus-visible { box-shadow: inset 0 0 0 2px rgba(227,57,26,.8); }

/* Record and quick-view accents inherit the Maximalkraft category color. */
.quickview__records {
  background: rgba(255,87,87,.17);
  border-color: rgba(255,87,87,.55);
}
.quickview__records:hover {
  background: rgba(255,87,87,.28);
  box-shadow: 0 10px 28px rgba(255,87,87,.16);
}
.record-card--relative { --record-accent: #ff5757; }
