/* Salzprofil: Salz-Meter, Ansagen, Tausch-Kandidaten. Handy zuerst.
   Alle Klassen mit Praefix mza-salzprofil, damit nichts mit der
   bestehenden Nerv-Sektion kollidiert. */

/* ------------------------------------------------------------ Kopf und Meter */

.mza-salzprofil-kopf {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.mza-salzprofil-wert {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.mza-salzprofil-wert strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.mza-salzprofil-wert span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mza-salzprofil-zonewort {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
}
.mza-salzprofil-zonewort.z0 { color: #7DB87D; border-color: rgba(125, 184, 125, 0.45); background: rgba(125, 184, 125, 0.1); }
.mza-salzprofil-zonewort.z1 { color: var(--gold); border-color: rgba(217, 182, 80, 0.45); background: rgba(217, 182, 80, 0.1); }
.mza-salzprofil-zonewort.z2 { color: var(--accent-hot); border-color: rgba(255, 96, 0, 0.45); background: rgba(255, 96, 0, 0.1); }
.mza-salzprofil-zonewort.z3 { color: #FF7A5C; border-color: rgba(234, 54, 1, 0.55); background: rgba(234, 54, 1, 0.14); }

/* Das Band: 4 Zonen als harte Farbstufen, der ungenutzte Teil abgedunkelt,
   die Nadel markiert den Wert. */
.mza-salzprofil-band {
  position: relative;
  height: 0.95rem;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(90deg,
    rgba(125, 184, 125, 0.85) 0 25%,
    rgba(217, 182, 80, 0.85) 25% 50%,
    rgba(255, 96, 0, 0.8) 50% 75%,
    rgba(234, 54, 1, 0.85) 75% 100%);
  border: 1px solid var(--line);
}
.mza-salzprofil-rest {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  display: block;
  background: rgba(10, 13, 15, 0.82);
}
.mza-salzprofil-nadel {
  position: absolute;
  top: -1px; bottom: -1px;
  width: 3px;
  border-radius: 2px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.65);
}

.mza-salzprofil-zonen {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
}
.mza-salzprofil-zonen li {
  flex: 1 1 25%;
  min-width: 0;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border-left: 1px solid var(--line);
  padding: 0.1rem 0.15rem 0;
  overflow-wrap: break-word;
  hyphens: manual;
}
.mza-salzprofil-zonen li:first-child { border-left: 0; }
.mza-salzprofil-zonen li.aktiv.z0 { color: #7DB87D; }
.mza-salzprofil-zonen li.aktiv.z1 { color: var(--gold); }
.mza-salzprofil-zonen li.aktiv.z2 { color: var(--accent-hot); }
.mza-salzprofil-zonen li.aktiv.z3 { color: #FF7A5C; }

.mza-salzprofil-zonensatz {
  margin: 0.7rem 0 1.2rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-2);
}

/* --------------------------------------------------------------- Teilwerte */

.mza-salzprofil-titel {
  margin: 0 0 0.6rem;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text-2);
}
.mza-salzprofil-spalten > div + div { margin-top: 1.3rem; }

.mza-salzprofil-teile {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mza-salzprofil-teile li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mza-salzprofil-tkopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
}
.mza-salzprofil-tlabel { font-size: 0.86rem; font-weight: 600; color: var(--text-2); }
.mza-salzprofil-tzahl {
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}
.mza-salzprofil-tzahl em { font-style: normal; font-size: 0.76rem; color: var(--text-3); }
.mza-salzprofil-tbalken {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.mza-salzprofil-tbalken i {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217, 182, 80, 0.55), var(--gold));
}
.mza-salzprofil-tdetail { font-size: 0.78rem; line-height: 1.45; color: var(--text-3); }

/* ----------------------------------------------------------------- Ansagen */

.mza-salzprofil-ansagen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mza-salzprofil-ansagen li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-2);
}
.mza-salzprofil-ansagen li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}

.mza-salzprofil-leer {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-3);
}

/* ------------------------------------------------------------------ Milder */

.mza-salzprofil-klein {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-3);
}
.mza-salzprofil-spalten { margin-bottom: 1.3rem; }

.mza-salzprofil-milder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.mza-salzprofil-milder > li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
  align-items: center;
}
.mza-salzprofil-mbild { display: block; line-height: 0; }
.mza-salzprofil-mbild img {
  width: 100%;
  height: auto;
  border-radius: 4.75% / 3.5%;
  border: 1px solid rgba(234, 84, 54, 0.35);
  background: var(--surface);
}
.mza-salzprofil-mtext {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.mza-salzprofil-mzeile {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  flex-wrap: wrap;
}
.mza-salzprofil-mzeile a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 0.15rem 0;
}
.mza-salzprofil-mzeile a:hover { color: var(--gold); }
.mza-salzprofil-mpunkte {
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  white-space: nowrap;
}
.mza-salzprofil-mbalken {
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  max-width: 18rem;
}
.mza-salzprofil-mbalken i {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 96, 0, 0.5), var(--accent-hot));
}
.mza-salzprofil-gruende {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.mza-salzprofil-gruende li {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  white-space: nowrap;
}

/* ----------------------------------------------------------------- Desktop */

@media (min-width: 48rem) {
  .mza-salzprofil-wert strong { font-size: 3rem; }
  .mza-salzprofil-zonen li { font-size: 0.68rem; }

  .mza-salzprofil-spalten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    align-items: start;
  }
  .mza-salzprofil-spalten > div + div { margin-top: 0; }

  .mza-salzprofil-milder {
    flex-direction: row;
    gap: 1.2rem;
  }
  .mza-salzprofil-milder > li {
    flex: 1 1 0;
    grid-template-columns: 3.4rem 1fr;
    align-items: start;
  }
}
