/* Stundensatz-Rechner [ps_stundensatz] (seit 06.11.2026). Steht im hellen Band (ps-hell):
   Eingaben auf weißen Karten, Ergebnis als dunkle Karte, auf der Gelb als Schrift erlaubt ist.
   Felder mit 16 px und mehr, sonst zoomt Safari am iPhone hinein. Raster mit minmax(0, …). */

.ps-ss {
  --ss-grund: #FFFFFF;
  --ss-linie: #DDD7CB;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--ps-papier);
  font-family: Manrope, system-ui, sans-serif;
  text-align: left;
}
.ps-ss *, .ps-ss *::before, .ps-ss *::after { box-sizing: border-box; }
.ps-ss p { margin: 0; }
.ps-ss-sr {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.ps-ss-ohne { margin-bottom: 20px !important; font-size: 16px; line-height: 1.6; color: var(--ps-fliess); }

.ps-ss-raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  align-items: start;
}
.ps-ss-eingaben { display: grid; gap: 20px; min-width: 0; }

/* Gruppen */
.ps-ss-gruppe {
  min-width: 0;
  margin: 0;
  padding: 26px 28px 28px;
  border: 1px solid var(--ss-linie);
  border-radius: 16px;
  background: var(--ss-grund);
  box-shadow: 0 1px 2px rgba(20,22,26,0.05);
}
.ps-ss-gruppe > legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  font-family: var(--ps-titelschrift, Manrope, sans-serif);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ps-papier);
}
/* Alles nach der Überschrift unter sie, nicht nur das erste: Satz und Felder einer Rechenart sind teils ausgeblendet */
.ps-ss-gruppe > legend ~ * { clear: both; }
.ps-ss-nr {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ps-signal);
  color: var(--ps-auf-signal);
  font-size: 16px;
  font-weight: 800;
}
.ps-ss .ps-ss-satz { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--ps-fliess); }

/* Felder */
.ps-ss-felder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.ps-ss-feld { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ps-ss-feld > label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ps-papier);
}
.ps-ss-eingabe { position: relative; }
.ps-ss .ps-ss-eingabe input {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 58px 11px 14px;
  border: 1px solid var(--ps-feldrand, #666B6E);
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: none;
  color: var(--ps-papier);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
/* Platz für „€/Monat“ und „€/Jahr“ */
.ps-ss .ps-ss-eingabe--lang input { padding-right: 86px; }
.ps-ss .ps-ss-eingabe input:hover { border-color: var(--ps-papier); }
.ps-ss .ps-ss-eingabe input:focus { outline: none; }
.ps-ss .ps-ss-eingabe input:focus-visible {
  outline: 2px solid var(--ps-fokusfarbe, var(--ps-papier));
  outline-offset: 2px;
  border-color: var(--ps-papier);
}
.ps-ss .ps-ss-eingabe input[aria-invalid="true"] { border-color: var(--ps-fehler); border-width: 2px; }
.ps-ss-einheit {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  min-width: 36px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--ps-gedaempft);
  pointer-events: none;
}
.ps-ss .ps-ss-fehler { font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--ps-fehler); }
.ps-ss .ps-ss-fehler:empty { display: none; }
.ps-ss .ps-ss-hinweis { font-size: 14px; line-height: 1.5; color: var(--ps-gedaempft); }

/* Hinweis auf den Betriebs-Check unter den Gemeinkosten. Farbe beim Überfahren fest, sonst färbt das Kit den Link gelb */
.ps-ss-hilfe {
  margin-top: 22px;
  padding: 16px 18px 10px;
  border-left: 3px solid var(--ps-signal);
  border-radius: 0 10px 10px 0;
  background: rgba(244,180,0,0.10);
}
.ps-ss .ps-ss-hilfe p { font-size: 15px; line-height: 1.55; color: var(--ps-papier); }
.ps-ss .ps-ss-hilfe .ps-ss-hilfe-titel { margin-bottom: 4px; font-weight: 800; }
.ps-ss .ps-ss-hilfe a,
.ps-ss .ps-ss-hilfe a:hover,
.ps-ss .ps-ss-hilfe a:focus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ps-papier);
  text-decoration: underline;
  text-decoration-color: var(--ps-signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ps-ss .ps-ss-hilfe a:hover { text-decoration-color: currentColor; }
.ps-ss .ps-ss-hilfe a:focus { outline: none; }
.ps-ss .ps-ss-hilfe a:focus-visible { outline: 2px solid var(--ps-fokusfarbe, var(--ps-papier)); outline-offset: 2px; border-radius: 4px; }

/* Arbeitgeberkosten zum Aufklappen */
.ps-ss-abgaben { margin-top: 20px; border-top: 1px solid var(--ss-linie); }
.ps-ss-abgaben > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  min-height: 52px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--ps-papier);
}
.ps-ss-abgaben > summary::-webkit-details-marker { display: none; }
.ps-ss-abgaben > summary:focus { outline: none; }
.ps-ss-abgaben > summary:focus-visible { outline: 2px solid var(--ps-fokusfarbe, var(--ps-papier)); outline-offset: 2px; border-radius: 4px; }
.ps-ss-abgaben-titel b { font-weight: 800; font-variant-numeric: tabular-nums; }
.ps-ss-abgaben-auf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--ps-signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ps-ss-abgaben-auf::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.ps-ss-abgaben[open] .ps-ss-abgaben-auf::after { transform: translateY(2px) rotate(-135deg); }
.ps-ss-abgaben[open] > summary { margin-bottom: 4px; }

/* Ergebnis: dunkle Karte, bleibt am Rechner beim Scrollen stehen */
.ps-ss-ergebnis {
  --ps-papier: #EDEBE4;
  --ps-fliess: #B9BCB7;
  --ps-gedaempft: #9A9E9B;
  --ps-rahmen: #2A2D31;
  --ps-fokusfarbe: #F4B400;
  position: sticky;
  top: 112px;
  min-width: 0;
  /* Höher als das Fenster (Vollkosten bei 900 px Höhe): dann blättert die Karte in sich, sonst wären die Knöpfe unten
     erst am Ende des Rechners erreichbar. Sie enthält Knöpfe, ist also auch per Tastatur erreichbar. */
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3A3E44 transparent;
  padding: 28px 28px 26px;
  border-radius: 18px;
  background: #14161A;
  color: var(--ps-papier);
  box-shadow: 0 24px 48px -24px rgba(20,22,26,0.55);
}
.ps-ss .ps-ss-titel {
  margin: 0 0 10px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ps-gedaempft);
}
.ps-ss-gross span {
  display: block;
  font-family: var(--ps-titelschrift, Manrope, sans-serif);
  font-size: clamp(44px, 5.2vw, 62px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--ps-signal);
}
.ps-ss-gross small { display: block; margin-top: 6px; font-size: 14px; color: var(--ps-fliess); }
.ps-ss-stufen { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--ps-rahmen); }
.ps-ss-stufe {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ps-rahmen);
}
.ps-ss-stufe dt { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ps-fliess); }
.ps-ss-stufe dd { margin: 0; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ps-papier); }
.ps-ss-stufe--summe dt { font-weight: 700; color: var(--ps-papier); }
.ps-ss-stufe--grenze dt::after {
  content: "Untergrenze";
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(244,180,0,0.15);
  color: var(--ps-signal);
  font-size: 12px;
  font-weight: 700;
  vertical-align: 1px;
}
.ps-ss .ps-ss-merke {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--ps-signal);
  border-radius: 0 8px 8px 0;
  background: rgba(244,180,0,0.08);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ps-papier);
}
.ps-ss .ps-ss-merke:empty { display: none; }
.ps-ss .ps-ss-klein { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--ps-gedaempft); }
.ps-ss .ps-ss-zurueck {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--ps-papier);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.ps-ss .ps-ss-zurueck:hover,
.ps-ss .ps-ss-zurueck:focus { border-color: var(--ps-signal); background: transparent; color: var(--ps-papier); }
.ps-ss .ps-ss-zurueck:focus-visible { outline: 2px solid var(--ps-signal); outline-offset: 2px; }

/* Am Handy mitlaufende Leiste mit dem Ergebnis */
.ps-ss-leiste { display: none; }

/* Rechenweg */
.ps-ss-weg { margin-top: 56px; }
.ps-ss-weg .ps-ss-titel { font-size: 13px; color: var(--ps-gedaempft); }
.ps-ss-schritte {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ss-schritt;
  border-top: 1px solid var(--ss-linie);
}
.ps-ss-schritte li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4px 24px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--ss-linie);
  counter-increment: ss-schritt;
}
/* Hängender Einzug: Bricht ein Schrittname um, beginnt die zweite Zeile unter dem Text, nicht unter der Nummer. */
.ps-ss-schritt-name { padding-left: 2.1em; text-indent: -2.1em; font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--ps-papier); }
.ps-ss-schritt-name::before {
  content: counter(ss-schritt) ".";
  display: inline-block;
  min-width: 2.1em;
  text-indent: 0;
  font-variant-numeric: tabular-nums;
  color: var(--ps-gedaempft);
}
.ps-ss-schritt-rechnung {
  font-size: 15px;
  line-height: 1.45;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ps-fliess);
}
.ps-ss-schritt--summe .ps-ss-schritt-rechnung { font-weight: 700; color: var(--ps-papier); }
.ps-ss-schritt--grenze { box-shadow: inset 4px 0 0 var(--ps-signal); padding-left: 14px !important; padding-right: 10px !important; background: rgba(244,180,0,0.10); }
.ps-ss-schritt--grenze .ps-ss-schritt-rechnung { font-weight: 800; color: var(--ps-papier); }
.ps-ss-weg .ps-ss-klein { max-width: 820px; margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--ps-gedaempft); }

@media (max-width: 1024px) {
  /* Ein Feld, das per Tab den Fokus bekommt, nicht hinter der mitlaufenden Leiste und dem WhatsApp-Knopf darüber
     verstecken (WCAG 2.4.11): Knopf oben bei 74 + 56 px, dazu etwas Luft. */
  html { scroll-padding-bottom: 136px; }
  /* Solange die Leiste im Bild ist (Klasse aus stundensatz.js), steht der WhatsApp-Knopf aus prosulting-whatsapp.php
     über ihr statt auf ihr: Leiste 12 px vom Rand und 52 px hoch, dazu 10 px Luft. Ohne das deckte er die Zahl ab. */
  body .ps-wa.ps-wa { transition: background-color .15s ease, bottom .2s ease; }
  html.ps-ss-leiste-da .ps-wa.ps-wa { bottom: 74px; }
  .ps-ss-raster { grid-template-columns: minmax(0, 1fr); }
  .ps-ss-ergebnis { position: static; max-height: none; overflow: visible; }
  .ps-ss-leiste {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #14161A;
    box-shadow: 0 12px 30px -10px rgba(20,22,26,0.6);
    color: #EDEBE4;
    font-size: 15px;
    font-weight: 700;
    pointer-events: none;
  }
  .ps-ss-leiste b { margin-left: auto; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; color: #F4B400; }
}
@media (max-width: 640px) {
  .ps-ss-felder { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ps-ss-gruppe { padding: 20px 16px 22px; border-radius: 14px; }
  .ps-ss-gruppe > legend { font-size: 18px; }
  .ps-ss-ergebnis { padding: 24px 18px 22px; }
  .ps-ss-hilfe { padding: 14px 14px 8px; }
  .ps-ss-schritte li { grid-template-columns: minmax(0, 1fr); }
  .ps-ss-schritt-rechnung { text-align: left; padding-left: 2.1em; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-ss-abgaben-auf::after { transition: none; }
  body .ps-wa.ps-wa { transition: none; }
}

/* ===== Seit 1.4.0: zwei Rechenarten, Lohngruppen, Inhaber, Lohntabelle, Druckfassung ===== */

/* hidden muss auch gegen Klassen mit display gewinnen (Felder, Raster, Knöpfe) */
.ps-ss [hidden] { display: none !important; }

/* Rechenart: zwei Karten, der Kreis zeigt die Wahl. Gelb trägt auf Weiß nicht (1,9:1), deshalb Tinte. */
.ps-ss-modus { min-width: 0; margin: 0; padding: 0; border: 0; }
.ps-ss .ps-ss-modus-titel {
  float: left;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ps-gedaempft);
}
.ps-ss-modus-wahl { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ps-ss-modus-wahl label {
  position: relative;
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 44px;
  margin: 0;
  padding: 16px 18px 16px 52px;
  border: 1px solid var(--ss-linie);
  border-radius: 14px;
  background: var(--ss-grund);
  box-shadow: 0 1px 2px rgba(20,22,26,0.05);
  cursor: pointer;
}
.ps-ss-modus-wahl label::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 18px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ps-feldrand, #666B6E);
  border-radius: 50%;
  background: #FFFFFF;
}
.ps-ss-modus-wahl label b { font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--ps-papier); }
.ps-ss-modus-wahl label span { font-size: 14px; line-height: 1.45; color: var(--ps-fliess); }
.ps-ss-modus-wahl label:hover { border-color: var(--ps-papier); }
.ps-ss-modus-wahl input:checked + label { border-color: var(--ps-papier); box-shadow: inset 0 0 0 1px var(--ps-papier), inset 4px 0 0 var(--ps-signal); }
.ps-ss-modus-wahl input:checked + label::before { border-color: var(--ps-papier); background: radial-gradient(circle, var(--ps-papier) 0 5px, #FFFFFF 6px); }
.ps-ss-modus-wahl input:focus-visible + label { outline: 2px solid var(--ps-fokusfarbe, var(--ps-papier)); outline-offset: 2px; }

/* Lohngruppen */
.ps-ss-zeilen { display: grid; gap: 14px; }
.ps-ss-zeile {
  min-width: 0;
  margin: 0;
  padding: 16px 18px 12px;
  border: 1px solid var(--ss-linie);
  border-radius: 12px;
  background: rgba(20,22,26,0.025);
}
.ps-ss-zeile > legend {
  float: left;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ps-papier);
}
.ps-ss-zeile > legend + * { clear: both; }
.ps-ss-feld--breit { grid-column: 1 / -1; }
.ps-ss .ps-ss-eingabe--text input { padding-right: 14px; text-align: left; font-variant-numeric: normal; }
.ps-ss-zeile-fuss { display: flex; justify-content: flex-end; margin-top: 10px; }
.ps-ss-team > p { margin-top: 14px; }

/* Kleine Knöpfe im hellen Band: Tinte mit Rand. Beim Zeigen fest, sonst färbt das Kit sie gelb. */
.ps-ss .ps-ss-plus,
.ps-ss .ps-ss-plus:hover,
.ps-ss .ps-ss-plus:focus,
.ps-ss .ps-ss-entfernen,
.ps-ss .ps-ss-entfernen:hover,
.ps-ss .ps-ss-entfernen:focus,
.ps-ss .ps-ss-damit,
.ps-ss .ps-ss-damit:hover,
.ps-ss .ps-ss-damit:focus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--ps-feldrand, #666B6E);
  border-radius: 999px;
  background: transparent;
  color: var(--ps-papier);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
}
.ps-ss .ps-ss-plus:hover,
.ps-ss .ps-ss-entfernen:hover,
.ps-ss .ps-ss-damit:hover { border-color: var(--ps-papier); box-shadow: inset 0 0 0 1px var(--ps-papier); }
.ps-ss .ps-ss-plus:focus,
.ps-ss .ps-ss-entfernen:focus,
.ps-ss .ps-ss-damit:focus { outline: none; }
.ps-ss .ps-ss-plus:focus-visible,
.ps-ss .ps-ss-entfernen:focus-visible,
.ps-ss .ps-ss-damit:focus-visible { outline: 2px solid var(--ps-fokusfarbe, var(--ps-papier)); outline-offset: 2px; }
.ps-ss .ps-ss-plus::before { content: "+"; font-size: 18px; font-weight: 800; line-height: 1; }

/* Link zur Lohntabelle */
.ps-ss .ps-ss-tabellenlink { margin-top: 12px; }
.ps-ss .ps-ss-tabellenlink a,
.ps-ss .ps-ss-tabellenlink a:hover,
.ps-ss .ps-ss-tabellenlink a:focus {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ps-papier);
  text-decoration: underline;
  text-decoration-color: var(--ps-signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ps-ss .ps-ss-tabellenlink a:hover { text-decoration-color: currentColor; }
.ps-ss .ps-ss-tabellenlink a:focus { outline: none; }
.ps-ss .ps-ss-tabellenlink a:focus-visible { outline: 2px solid var(--ps-fokusfarbe, var(--ps-papier)); outline-offset: 2px; border-radius: 4px; }

/* Du als Inhaber */
.ps-ss-inhaber { display: grid; gap: 8px; margin: 18px 0 20px; padding-top: 16px; border-top: 1px solid var(--ss-linie); }
.ps-ss-schalter { display: flex; align-items: center; gap: 12px; }
.ps-ss .ps-ss-schalter input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--ps-papier);
  cursor: pointer;
}
.ps-ss .ps-ss-schalter input:focus { outline: none; }
.ps-ss .ps-ss-schalter input:focus-visible { outline: 2px solid var(--ps-fokusfarbe, var(--ps-papier)); outline-offset: 2px; }
.ps-ss-schalter label { display: flex; align-items: center; min-height: 44px; margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ps-papier); cursor: pointer; }
.ps-ss [data-ss-inhaber-felder] { display: grid; gap: 14px; margin-top: 10px; }
.ps-ss .ps-ss-inhaber-merke {
  padding: 10px 12px;
  border-left: 3px solid var(--ps-signal);
  border-radius: 0 8px 8px 0;
  background: rgba(244,180,0,0.10);
  color: var(--ps-fliess);
}

/* Knöpfe im Ergebnis */
.ps-ss-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ps-ss .ps-ss-knoepfe .ps-ss-zurueck { margin-top: 0; }
.ps-ss .ps-ss-pdf,
.ps-ss .ps-ss-pdf:hover,
.ps-ss .ps-ss-pdf:focus {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--ps-signal);
  border-radius: 999px;
  background: var(--ps-signal);
  color: var(--ps-auf-signal, #14161A);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.ps-ss .ps-ss-pdf:hover { border-color: var(--ps-signal-hell, #FFD028); background: var(--ps-signal-hell, #FFD028); }
.ps-ss .ps-ss-pdf:focus { outline: none; }
.ps-ss .ps-ss-pdf:focus-visible { outline: 2px solid var(--ps-signal); outline-offset: 2px; }
.ps-ss .ps-ss-knoepfe + .ps-ss-klein { margin-top: 10px; }

/* Lohntabelle: dunkler Kopf und Fuß wie die Grafik, die Tabelle hell dazwischen */
.ps-ss-loehne {
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid var(--ss-linie);
  border-radius: 18px;
  background: var(--ss-grund);
  box-shadow: 0 1px 2px rgba(20,22,26,0.05), 0 8px 24px -16px rgba(20,22,26,0.18);
  scroll-margin-top: 120px;
}
.ps-ss-loehne-kopf,
.ps-ss-loehne-fuss {
  --ps-papier: #EDEBE4;
  --ps-fliess: #B9BCB7;
  --ps-gedaempft: #9A9E9B;
  --ps-fokusfarbe: #F4B400;
  background: #14161A;
  color: var(--ps-papier);
}
.ps-ss-loehne-kopf { padding: 36px 36px 30px; }
.ps-ss .ps-ss-loehne-marke {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ps-signal);
}
.ps-ss .ps-ss-loehne-titel {
  margin: 0 0 14px;
  padding: 0;
  font-family: var(--ps-titelschrift, Manrope, sans-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ps-papier);
}
.ps-ss .ps-ss-loehne-satz { max-width: 780px; font-size: 17px; line-height: 1.6; color: var(--ps-fliess); }
.ps-ss-loehne-mitte { padding: 6px 36px 30px; }

.ps-ss-tabelle { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ps-ss .ps-ss-tabelle th,
.ps-ss .ps-ss-tabelle td {
  padding: 16px 12px;
  border: 0;
  border-bottom: 1px solid var(--ss-linie);
  background: transparent;
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
}
.ps-ss .ps-ss-tabelle th:first-child,
.ps-ss .ps-ss-tabelle td:first-child { padding-left: 0; }
.ps-ss .ps-ss-tabelle th:last-child,
.ps-ss .ps-ss-tabelle td:last-child { padding-right: 0; }
.ps-ss .ps-ss-tabelle thead th {
  padding-top: 24px;
  border-bottom: 2px solid var(--ps-papier);
  vertical-align: bottom;
  font-size: 14px;
  font-weight: 800;
  color: var(--ps-papier);
}
.ps-ss-tabelle thead th > span:not(.ps-ss-sr) { display: block; font-size: 13px; font-weight: 500; color: var(--ps-gedaempft); }
.ps-ss-tabelle sup { font-size: 0.7em; line-height: 0; }
.ps-ss .ps-ss-tabelle tbody th { font-size: 16px; font-weight: 800; color: var(--ps-papier); }
.ps-ss-tabelle tbody th > span { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ps-gedaempft); }
.ps-ss-tabelle td > b { display: block; font-size: 18px; font-weight: 800; white-space: nowrap; color: var(--ps-papier); }
.ps-ss-tabelle td > b.ps-ss-keine { font-size: 15px; font-weight: 700; white-space: normal; color: var(--ps-fliess); }
.ps-ss-tabelle td > span:not(.ps-ss-zelle-name),
.ps-ss-tabelle td > small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--ps-gedaempft); }
.ps-ss-zelle-name { display: none; }
.ps-ss .ps-ss-tabelle .ps-ss-knopfzelle { text-align: right; vertical-align: middle; }
.ps-ss .ps-ss-loehne-mindest {
  margin-top: 20px;
  padding: 12px 14px;
  border-left: 3px solid var(--ps-signal);
  border-radius: 0 8px 8px 0;
  background: rgba(244,180,0,0.10);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ps-papier);
}
.ps-ss-loehne-fuss { display: grid; gap: 6px; padding: 22px 36px 26px; }
.ps-ss .ps-ss-loehne-fuss p { font-size: 13px; line-height: 1.6; color: var(--ps-fliess); }
.ps-ss .ps-ss-loehne-quellen { margin-top: 6px; }
.ps-ss .ps-ss-loehne-quellen a,
.ps-ss .ps-ss-loehne-quellen a:hover,
.ps-ss .ps-ss-loehne-quellen a:focus {
  color: var(--ps-papier);
  text-decoration: underline;
  text-decoration-color: var(--ps-signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.ps-ss .ps-ss-loehne-quellen a:hover { text-decoration-color: currentColor; }
.ps-ss .ps-ss-loehne-quellen a:focus { outline: none; }
.ps-ss .ps-ss-loehne-quellen a:focus-visible { outline: 2px solid var(--ps-fokusfarbe); outline-offset: 2px; border-radius: 2px; }

/* Karte zum Blogbeitrag unter der Lohntabelle (1.4.2). Klickbar ist sie über den Titel-Link, dessen ::after über
   der ganzen Karte liegt. Gelb nur als Rand, im hellen Band nie als Schrift. */
.ps-ss-beitrag {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: center;
  margin-top: 28px;
  padding: 26px 36px 26px 32px;
  border: 1px solid var(--ss-linie);
  border-left: 4px solid var(--ps-signal);
  border-radius: 16px;
  background: var(--ss-grund);
  box-shadow: 0 1px 2px rgba(20,22,26,0.05), 0 8px 24px -16px rgba(20,22,26,0.18);
  transition: box-shadow .2s ease;
}
.ps-ss-beitrag:hover { box-shadow: 0 1px 2px rgba(20,22,26,0.05), 0 18px 40px -18px rgba(20,22,26,0.28); }
.ps-ss-beitrag-inhalt { min-width: 0; }
.ps-ss .ps-ss-beitrag-marke {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ps-gedaempft);
}
.ps-ss .ps-ss-beitrag-titel {
  margin-bottom: 8px;
  font-family: var(--ps-titelschrift, Manrope, sans-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ps-papier);
}
.ps-ss .ps-ss-beitrag-titel a,
.ps-ss .ps-ss-beitrag-titel a:hover,
.ps-ss .ps-ss-beitrag-titel a:focus {
  color: var(--ps-papier);
  text-decoration: none;
}
.ps-ss .ps-ss-beitrag-titel a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.ps-ss .ps-ss-beitrag:hover .ps-ss-beitrag-titel a {
  text-decoration: underline;
  text-decoration-color: var(--ps-signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ps-ss .ps-ss-beitrag-titel a:focus { outline: none; }
.ps-ss .ps-ss-beitrag-titel a:focus-visible { outline: 2px solid var(--ps-fokusfarbe, var(--ps-papier)); outline-offset: 3px; border-radius: 4px; }
.ps-ss .ps-ss-beitrag-text { max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--ps-fliess); }
.ps-ss .ps-ss-beitrag-weiter {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ps-feldrand, #666B6E);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ps-papier);
}
.ps-ss-beitrag:hover .ps-ss-beitrag-weiter { border-color: var(--ps-papier); box-shadow: inset 0 0 0 1px var(--ps-papier); }

@media (max-width: 900px) {
  /* Tabelle als Karten je Gewerk; die Rollen im Markup halten sie für Vorleseprogramme eine Tabelle */
  .ps-ss-loehne-kopf { padding: 28px 22px 24px; }
  .ps-ss-loehne-mitte { padding: 4px 18px 22px; }
  .ps-ss-loehne-fuss { padding: 20px 22px 24px; }
  .ps-ss-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .ps-ss-tabelle,
  .ps-ss-tabelle tbody { display: block; }
  .ps-ss-tabelle tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; padding: 18px 0; border-bottom: 1px solid var(--ss-linie); }
  .ps-ss .ps-ss-tabelle tbody th,
  .ps-ss .ps-ss-tabelle tbody td { display: block; padding: 0; border: 0; }
  .ps-ss .ps-ss-tabelle tbody th { grid-column: 1 / -1; font-size: 17px; }
  .ps-ss .ps-ss-tabelle .ps-ss-knopfzelle { grid-column: 1 / -1; text-align: left; }
  .ps-ss-zelle-name { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ps-gedaempft); }
  .ps-ss-tabelle td > b { font-size: 17px; }
}
@media (max-width: 560px) {
  .ps-ss-modus-wahl { grid-template-columns: minmax(0, 1fr); }
  .ps-ss-zeile { padding: 14px 14px 10px; }
  .ps-ss-tabelle tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-ss-loehne { margin-top: 48px; border-radius: 14px; }
  .ps-ss .ps-ss-loehne-satz { font-size: 16px; }
  .ps-ss-beitrag { grid-template-columns: minmax(0, 1fr); padding: 22px 20px 22px 18px; border-radius: 14px; }
  .ps-ss .ps-ss-beitrag-titel { font-size: 19px; }
  .ps-ss .ps-ss-beitrag-titel a::after { border-radius: 14px; }
  .ps-ss .ps-ss-beitrag-weiter { justify-self: start; }
}
@media (max-width: 340px) {
  /* Sehr schmale Handys: Karten einspaltig, sonst läuft „Fleischverarbeitung“ in der zweiten Spalte über den Rand */
  .ps-ss-tabelle tbody tr { grid-template-columns: minmax(0, 1fr); }
}

/* Druckfassung: wird beim Klick auf „Als PDF speichern“ an den body gehängt und nur dann gedruckt.
   Sie steht außerhalb von .ps-ss, deshalb eigene Farben; die Werte von :root wären die dunkle Seite. */
.ps-ss-druckblatt { display: none; }
@media print {
  @page { size: A4; margin: 14mm; }
  html.ps-ss-drucken,
  html.ps-ss-drucken body { margin: 0 !important; padding: 0 !important; background: #FFFFFF !important; }
  html.ps-ss-drucken body > *:not(.ps-ss-druckblatt) { display: none !important; }
  html.ps-ss-drucken .ps-ss-druckblatt { display: block; }
}
.ps-ss-druckblatt {
  --ps-papier: #14161A;
  --ps-fliess: #3E4441;
  --ps-gedaempft: #565B57;
  --ps-signal: #F4B400;
  --ss-linie: #CFCAC0;
  color: #14161A;
  background: #FFFFFF;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 10pt;
  line-height: 1.45;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.ps-ss-druckblatt p,
.ps-ss-druckblatt h1,
.ps-ss-druckblatt h2,
.ps-ss-druckblatt h3,
.ps-ss-druckblatt dl,
.ps-ss-druckblatt dd { margin: 0; }
.ps-ss-druck-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 6px; margin-bottom: 14px; border-bottom: 2pt solid #14161A; }
.ps-ss-druck-marke { font-size: 14pt; font-weight: 800; letter-spacing: 0.01em; }
.ps-ss-druck-quelle { font-size: 8.5pt; color: #565B57; }
body .ps-ss-druckblatt h1 { font-size: 20pt; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; color: #14161A; }
.ps-ss-druckblatt .ps-ss-druck-art { margin-top: 2px; margin-bottom: 12px; font-size: 9.5pt; color: #3E4441; }
.ps-ss-druck-ergebnis { padding: 10px 14px 12px; border: 1.5pt solid #14161A; border-radius: 8px; break-inside: avoid; }
.ps-ss-druck-gross { font-size: 26pt; font-weight: 800; line-height: 1.1; }
.ps-ss-druckblatt .ps-ss-druck-unter { margin-bottom: 8px; font-size: 9.5pt; color: #3E4441; }
.ps-ss-druck-paar { display: flex; justify-content: space-between; gap: 12px; padding: 2.5pt 0; border-bottom: 0.5pt solid #CFCAC0; break-inside: avoid; }
.ps-ss-druck-paar dt { font-weight: 500; }
.ps-ss-druck-paar dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ps-ss-druckblatt .ps-ss-druck-merke { margin-top: 8px; padding: 5pt 8pt; border-left: 3pt solid #F4B400; background: #FFF4D6; font-size: 9.5pt; }
body .ps-ss-druckblatt h2 { margin: 16px 0 6px; font-size: 10pt; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #14161A; break-after: avoid; }
.ps-ss-druck-eingaben { columns: 2; column-gap: 18px; }
.ps-ss-druck-block { margin-bottom: 10px; break-inside: avoid; }
body .ps-ss-druckblatt h3 { margin-bottom: 3px; font-size: 10pt; font-weight: 800; color: #14161A; }
.ps-ss-druck-liste .ps-ss-druck-paar { font-size: 8.5pt; }
.ps-ss-druckblatt .ps-ss-schritte { margin: 0; border-top: 0.5pt solid #CFCAC0; }
.ps-ss-druckblatt .ps-ss-schritte li { padding: 3.5pt 0; break-inside: avoid; }
.ps-ss-druckblatt .ps-ss-schritt-name,
.ps-ss-druckblatt .ps-ss-schritt-rechnung { font-size: 8.5pt; line-height: 1.4; }
/* Im Druck fallen box-shadow und (je nach Einstellung) Hintergründe weg: Untergrenze mit Rand statt Schatten markieren */
.ps-ss-druckblatt .ps-ss-schritt--grenze { box-shadow: none; border-left: 3pt solid #F4B400; padding-left: 6pt !important; padding-right: 0 !important; background: #FFF4D6; }
.ps-ss-druckblatt .ps-ss-druck-klein { margin-top: 12px; font-size: 8pt; color: #565B57; }
.ps-ss-druckblatt .ps-ss-druck-check { margin-top: 6px; font-size: 8.5pt; font-weight: 700; }
