/* DACH MPU Premium-Kontrast 1.9.12 | gemeinsames, gezielt begrenztes Designsystem.
 * Beruecksichtigt die erst nach der Seitenpaket-Migration wirksamen globalen
 * Schriftregeln. Keine Eingriffe in Inhalte, Preise, Shortcodes oder Datenbank. */
:root {
  --dachmpu-premium-navy: #102e46;
  --dachmpu-premium-petrol: #19576b;
  --dachmpu-premium-accent: #e4bb78;
  --dachmpu-premium-on-dark: #ffffff;
  --dachmpu-premium-on-dark-muted: #e5f1f5;
  --dachmpu-premium-on-light: #102e46;
}
/* CH: Die Ergebniswerte sind auf dem dunkelblauen Verlauf IMMER hell.
 * Die Klassen sind spezifisch genug, um das universelle Premium-CSS zu ueberstimmen. */
html body .dachmpu-ch-cal .dachmpu-ch-cal__result {
  color: var(--dachmpu-premium-on-dark) !important;
}
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__total,
html body .dachmpu-ch-cal .dachmpu-ch-cal__result [data-total],
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__breakdown strong,
html body .dachmpu-ch-cal .dachmpu-ch-cal__result [data-out],
html body .dachmpu-ch-cal .dachmpu-ch-cal__result h3,
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__copy,
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__copy span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__breakdown div,
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__breakdown div > span,
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__result-intro,
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__privacy {
  color: #e5f1f5 !important;
  -webkit-text-fill-color: #e5f1f5 !important;
  opacity: 1 !important;
}
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__result-kicker,
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__status {
  color: #acefe2 !important;
  -webkit-text-fill-color: #acefe2 !important;
}
/* Helle CTA-Karte bleibt mit dunkler Beschriftung erhalten. */
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__cta,
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__cta span {
  color: #102e46 !important;
  -webkit-text-fill-color: #102e46 !important;
}
/* Eingabebereiche: keine weissen Texte auf weissen Karten durch Vererbung. */
html body .dachmpu-ch-cal .dachmpu-ch-cal__group :is(h3,label,span),
html body .dachmpu-ch-cal .dachmpu-ch-cal__group input[type=number],
html body .dachmpu-ch-cal .dachmpu-ch-cal__group select {
  color: #102e46 !important;
  -webkit-text-fill-color: #102e46 !important;
}
html body .dachmpu-ch-cal .dachmpu-ch-cal__group .dachmpu-ch-cal__hint,
html body .dachmpu-ch-cal .dachmpu-ch-cal__group .dachmpu-ch-cal__amount {
  color: #536778 !important;
  -webkit-text-fill-color: #536778 !important;
}
html body .dachmpu-ch-cal .dachmpu-ch-cal__group .dachmpu-ch-cal__num {
  color: #165b66 !important;
  -webkit-text-fill-color: #165b66 !important;
}
/* Migrierte, dunkle Beispielrechnungen: auch stark formatierte CHF-Summen
 * bleiben sichtbar. Weisse Unterkarten erhalten unten ihre eigene Gegenregel. */
html body .dachmpu-pagepack-v1 .dachmpu-premium-surface-dark :is(strong,b) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body .dachmpu-pagepack-v1 .dachmpu-premium-surface-dark :is([class*="subtotal"],[class*="total"],[class*="summe"],[class*="amount"],[class*="price"]) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body .dachmpu-pagepack-v1 .dachmpu-premium-surface-dark .dachmpu-premium-surface-light :is(strong,b,[class*="subtotal"],[class*="total"],[class*="summe"],[class*="amount"],[class*="price"]) {
  color: #102e46 !important;
  -webkit-text-fill-color: #102e46 !important;
}
@media(max-width:767px) {
  html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__breakdown {min-width:0;}
  html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__breakdown div {min-width:0;gap:10px;flex-wrap:wrap;}
  html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__breakdown strong {white-space:normal;overflow-wrap:anywhere;text-align:right;margin-left:auto;}
}
/* Vorrang fuer den grossen Live-Wert selbst bei alten Premium-Spezialregeln. */
html body .dachmpu-pagepack-v1 .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__total[data-total],
html body .dachmpu-ch-cal .dachmpu-ch-cal__result .dachmpu-ch-cal__total[data-total] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}
