/* finanzfride.ch/police – Police-Check. Baut auf site.css und rechner.css auf (Knöpfe, Fragen, Band, Blöcke,
   «Wie wir rechnen», Einwilligung). Hier nur, was der Police-Check zusätzlich braucht: die Startfrage mit drei
   Knöpfen (über dem Falz auch im Instagram-Browser, 360 × 650), die Weiche, das Jahresfeld, Teil 2, Karten, Chips
   und den Mail-Entwurf. Farben nur aus der Tonleiter, Schrift immer mit Kernfarbe (Kopf von rechner.css).
   Keine Inline-Styles (CSP). */

/* ------------------------------------------------------------------ Start: die Frage statt «Los geht's» */
.pc-start { padding-top: 4px; padding-bottom: 48px; }
/* Eine linke Kante mit Kopf und Blöcken (Abnahme R1 M1): die Breite begrenzen die Kinder, nicht der Behälter */
.pc-start-innen { max-width: var(--breit); }
.pc-start-innen > * { max-width: 46rem; }
/* Der Starttitel misst seine Grösse an dieser Breite, nicht am Fenster mit Scrollbalken (Abnahme R2, Muss B) */
.pc-frage-start { container-type: inline-size; }
.pc-start-titel {
  margin: 0 0 22px; font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em;
  font-size: clamp(2rem, 9.2vw, 4.25rem); /* Rückfall für Safari vor 16 (kennt cqi nicht) */
  font-size: min(clamp(2rem, 9.2vw, 4.25rem), 100cqi / 9.4); line-height: 1.04; text-wrap: balance; hyphens: manual;
}
.pc-start-knoepfe { display: grid; gap: 10px; max-width: 26rem; }
.pc-start-knopf {
  min-height: 58px; padding: 12px 18px; border: 2px solid var(--gruen); border-radius: 12px; cursor: pointer;
  background: var(--creme-hell2); color: var(--gruen); text-align: left;
  font-family: var(--bold); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.04em; line-height: 1.2;
  transition: background-color 0.15s ease;
}
.pc-start-knopf:hover { background: var(--creme-hell3); }
.pc-start-knopf:active { transform: translateY(1px); }
.pc-start-knopf:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; }
.pc-start-knopf[aria-pressed="true"] { background: var(--gruen); color: var(--creme-hell2); }
.pc-start-privat { margin-top: 14px; }
@media (min-width: 560px) { .pc-start-knoepfe { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 36rem; } .pc-start-knopf { text-align: center; } }
/* kurze Fenster (Instagram-Browser): alles über dem Falz */
@media (max-height: 700px) and (max-width: 559.98px) {
  .pc-start-titel { font-size: clamp(1.75rem, 8.4vw, 2.25rem); font-size: min(clamp(1.75rem, 8.4vw, 2.25rem), 100cqi / 9.4); margin-bottom: 16px; }
  .pc-start-knopf { min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
  .pc-start-knoepfe { gap: 8px; }
}

/* Weiche: Nein und Weiss nicht */
.pc-weiche { max-width: 36rem; }
.pc-weiche-titel { margin: 0 0 14px; font-family: var(--bold); font-weight: 700; font-size: var(--gr-frage); letter-spacing: -0.04em; line-height: 1.1; text-wrap: balance; }
.pc-weiche-text { font-size: 1.125rem; }
.pc-weiche-aktion { margin: 20px 0 8px; }
.pc-merkmale { margin: 0 0 16px; padding-left: 1.2em; display: grid; gap: 10px; }
.pc-merkmale li::marker { color: var(--wald); }
.pc-weiche-klein { color: var(--braun); margin-bottom: 22px; }

/* ------------------------------------------------------------------ Frage 4: Jahr oder Jahre */
.pc-laufzeit { display: grid; justify-items: start; gap: 4px; }
.pc-zahl { display: inline-flex; align-items: center; gap: 10px; }
.pc-zahl-eingabe {
  width: 9.5ch; min-height: 56px; padding: 10px 14px; border: 2px solid var(--gruen); border-radius: 12px;
  background: var(--creme-hell3); color: var(--gruen);
  font-family: var(--bold); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.04em;
}
.pc-jahr-eingabe { width: 6.2ch; }
.pc-zahl-eingabe::placeholder { color: var(--braun); opacity: 0.75; font-size: 1.125rem; }
.pc-zahl-eingabe[aria-invalid="true"] { border-color: var(--braun); }
.pc-zahl-einheit { font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; color: var(--wald); }
.pc-umschalter-zeile { margin: 0; }
.pc-umschalter { color: var(--wald); text-decoration: underline; text-underline-offset: 3px; }
.pc-oder { margin: 4px 0 6px; color: var(--braun); font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; }
.pc-weissnicht {
  min-height: 52px; padding: 10px 22px; border: 2px solid var(--gruen); border-radius: 12px; cursor: pointer;
  background: var(--creme-hell2); color: var(--gruen);
  font-family: var(--bold); font-weight: 700; font-size: var(--gr-text); letter-spacing: -0.04em;
}
.pc-weissnicht:hover { background: var(--creme-hell3); }
.pc-weissnicht:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; }
.pc-weissnicht.ist-gewaehlt { background: var(--gruen); color: var(--creme-hell2); }

/* ------------------------------------------------------------------ Ergebnis-Band */
.pc-band { margin-bottom: 0; }
.pc-band-innen { position: relative; max-width: var(--breit); }
.pc-band-innen > * { max-width: 52rem; }
/* keine Doppelkante unter dem Band (Abnahme R1 M3) */
.pc-band + .ng-bloecke > .ng-block:first-child { border-top: 0; }
.pc-gross {
  margin: 0 0 16px; font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; color: var(--creme-hell2);
  font-size: clamp(2rem, 8vw, 3.75rem); line-height: 1.05; text-wrap: balance;
}
.pc-gross-zahl { color: var(--gold-hell1); white-space: nowrap; }
.pc-band-satz { font-size: 1.125rem; max-width: 36em; color: var(--creme); }
.pc-andrea { margin-top: 18px; color: var(--creme-hell2); }
.pc-andrea .ng-andrea-wer { color: var(--creme-tief2); }
.pc-band-link { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.pc-band-link .ng-zurueck { text-align: left; }
.pc-rechenweg { margin-top: 14px; color: var(--creme-tief2); max-width: 38em; font-family: var(--text); font-weight: 400; font-size: var(--gr-text); letter-spacing: 0; line-height: 1.5; }
.pc-beispiel { margin-top: 22px; padding: 16px 18px; border: 2px solid var(--creme-tief2); border-radius: 14px; max-width: 38em; }
.pc-beispiel p { margin: 0 0 8px; color: var(--creme); }
.pc-beispiel p:last-child { margin-bottom: 0; }
.pc-beispiel .ng-klein { color: var(--creme-tief2); }
.pc-beispiel-titel { font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; color: var(--creme-hell2) !important; }

/* ------------------------------------------------------------------ Karten «Wichtig für dich» */
.pc-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pc-karte-titel { overflow-wrap: break-word; }
@media (min-width: 760px) { .pc-karten { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.pc-karte { padding: 16px 18px; border-radius: 14px; background: var(--creme-hell1); }
.pc-karte p { margin: 0; }
.pc-karte-titel { margin: 0 0 6px; font-family: var(--bold); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.04em; }
.pc-teil2 .ng-knopf { margin-top: 6px; text-align: left; }
.pc-pflicht-liste { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; max-width: 40em; }
.pc-pflicht-liste li::marker { font-family: var(--bold); font-weight: 700; color: var(--wald); }

/* ------------------------------------------------------------------ Chips: Gegenfrage und «Wo kommst du nicht weiter?» */
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.pc-chip {
  min-height: 46px; padding: 9px 16px; border: 2px solid var(--gruen); border-radius: 999px; cursor: pointer;
  background: var(--creme-hell2); color: var(--gruen);
  font-family: var(--bold); font-weight: 700; font-size: 1rem; letter-spacing: -0.04em; line-height: 1.2; text-align: left;
}
.pc-chip:hover { background: var(--creme-hell3); }
.pc-chip:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; }
.pc-chip[aria-pressed="true"] { background: var(--gruen); color: var(--creme-hell2); }
.pc-freiwillig { margin: -6px 0 6px; color: var(--braun); }
.pc-gegen-satz { font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; color: var(--wald); max-width: 34em; }
.pc-gegen-satz:empty { display: none; }
.pc-freitext { max-width: 36rem; }
.pc-haenger-knopf { margin: 16px 0 0; }
.pc-danke { font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; }
.pc-teilen-status { margin-left: 8px; color: var(--wald); font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ Teil 2 */
.pc-teil2-schirm { padding-top: 8px; padding-bottom: 48px; }
.pc-eingaben { display: grid; gap: 22px; max-width: 34rem; margin-top: 18px; }
.pc-feld { display: grid; justify-items: start; gap: 6px; }
.pc-feld-hilfe { margin: 0 0 2px; color: var(--braun); max-width: 32em; }
.pc-hinweis:empty, .pc-feld .ng-fehler:empty { display: none; }
.pc-steigt-frage { margin: 10px 0 0; font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; }
.pc-steigt .ng-wahl { min-height: 46px; }
.pc-ablauf { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-auswahl {
  min-height: 56px; padding: 10px 12px; border: 2px solid var(--gruen); border-radius: 12px;
  background: var(--creme-hell3); color: var(--gruen);
  font-family: var(--bold); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.04em;
}
.pc-auswahl:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }
.pc-privat { color: var(--braun); margin: 0; }
.pc-nav { margin-top: 4px; }
.pc-ohne-auszug { margin-top: 26px; max-width: 34rem; }
.pc-ohne-auszug summary { cursor: pointer; font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; color: var(--wald); min-height: 44px; }

/* ------------------------------------------------------------------ Mail-Entwurf */
.pc-mail-betreff { margin: 0 0 8px; font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; }
.pc-mail-wer { color: var(--wald); }
.pc-mail-text {
  white-space: pre-wrap; max-width: 40rem; padding: 16px 18px; border-radius: 14px; background: var(--creme-hell3);
  border: 2px solid var(--creme-tief1); font-size: 1rem; line-height: 1.5;
}
.pc-mail-text:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }
.pc-mail-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 10px; }
.pc-mail-oeffnen { text-decoration: none; }

.pc-fuss-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }

/* ------------------------------------------------------------------ «Hast du deinen Jahresauszug bei dir?» im Band */
.pc-auszug { margin: 24px 0 6px; padding: 18px; border-radius: 14px; background: var(--creme); color: var(--gruen); max-width: 36rem; }
.pc-auszug-frage { margin: 0 0 4px; font-family: var(--bold); font-weight: 700; font-size: clamp(1.25rem, 5vw, 1.6rem); letter-spacing: -0.04em; line-height: 1.15; }
.pc-auszug-unter { margin: 0 0 14px; color: var(--wald); }
.pc-auszug-knoepfe { display: grid; gap: 10px; }
@media (min-width: 560px) { .pc-auszug-knoepfe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Rechenbeispiel als drei Zeilen statt Absatz */
.pc-beispiel-zeile { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--gruen-hell2); margin: 0 !important; }
.pc-beispiel-zeile strong { font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; color: var(--creme-hell2); white-space: nowrap; }
.pc-beispiel-zeile.ist-garantie span, .pc-beispiel-zeile.ist-garantie strong { color: var(--creme-tief2); }
.pc-rechenweg-mehr { margin-top: 16px; max-width: 38em; }
.pc-rechenweg-mehr summary { cursor: pointer; min-height: 44px; color: var(--creme); font-family: var(--bold); font-weight: 700; letter-spacing: -0.04em; }
.pc-mail-nav { margin-top: 24px; }

/* Lange Wörter in den Fragen (Prämienbefreiung, Erwerbsunfähigkeitsrente) laufen sonst am Desktop in die Antworten
   (Andrea 26.10.: «unschön»). Trennstellen stehen im Titel, dazu kleiner ab 960 px. */
.ng-frage-titel { hyphens: manual; overflow-wrap: break-word; }
@media (min-width: 960px) {
  .ng-frage-titel { font-size: clamp(2rem, 3.4vw, 2.6rem); }
  .ng-frage-titel .ng-maske { overflow-x: clip; }
}

/* Abnahme R1: Luft unter der Navigation der Fragen (M4), Abstand zum Feld «Letzte Prämie» (M8) */
.ng-fragen { padding-bottom: 56px; }
.pc-steigt + .pc-feld { margin-top: 16px; }
.pc-beispiel-fuss { margin-top: 8px !important; color: var(--creme-tief2); }
