/* ==========================================================================
   Rechner-Profil "schwanger" (sicher-schwanger.at)
   Ergaenzt main-v3.css; wird nur auf Seiten mit window.ppRechnerProfil.name = 'schwanger'
   eingebunden. Alles haengt an body.pp-profil-schwanger (setzt main-v3.js).
   ========================================================================== */

/* ---------- Eingabe: eine Frau, keine Personenzaehler, keine Anrede ---------- */
.pp-profil-schwanger #personen .counter-wrap,
.pp-profil-schwanger #kids-note,
.pp-profil-schwanger #kids-fields,
.pp-profil-schwanger #person-cards .person-card-header,
.pp-profil-schwanger #person-cards .anrede-group,
.pp-profil-schwanger #person-cards .schwanger-inline-row { display: none !important; }
.pp-profil-schwanger #person-cards .form-group:has(> .anrede-group) { display: none; }

/* Die Motive, die schon ueber die Situation feststehen, entfallen in den Zusatzangaben */
.pp-profil-schwanger .motive-box[data-motiv="Schwangerschaft & Entbindung"],
.pp-profil-schwanger .motive-box[data-motiv="Kinderwunsch"] { display: none !important; }

/* ---------- Situation: zwei Kacheln ---------- */
.ss-situation { margin-bottom: 14px; }
.ss-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ss-tile {
  position: relative; display: flex; align-items: stretch; text-align: left; width: 100%;
  background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 0; overflow: hidden; cursor: pointer; transition: var(--transition);
  font-family: var(--font); color: var(--text); min-height: 78px;
}
.ss-tile:hover { border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(50,50,93,0.08); }
.ss-tile:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.ss-tile.on { border-color: var(--gold); background: rgba(190,155,110,0.06); box-shadow: 0 0 0 3px rgba(190,155,110,0.12); }
.ss-tile.on::after { content: '\2713'; position: absolute; top: 7px; right: 10px; color: var(--gold); font-weight: 700; font-size: 15px; }
.ss-tile-img { flex: 0 0 78px; background-size: cover; background-position: center; }
.ss-tile-text { display: flex; flex-direction: column; justify-content: center; padding: 10px 26px 10px 12px; min-width: 0; }
.ss-tile-title { font-size: 14px; font-weight: 700; line-height: 1.25; }
.ss-tile-desc { font-size: 11.5px; color: var(--text-muted); line-height: 1.35; margin-top: 3px; }

/* ---------- Geburtstermin (nur bei Schwangerschaft) ---------- */
.pp-profil-schwanger #person-cards .schwanger-inline { display: none; margin-top: 0; }
.pp-profil-schwanger #person-cards .schwanger-inline.ss-open { display: block; }
.pp-profil-schwanger #person-cards .schwanger-inline .geburtstermin-wrap { margin-top: 0; }
.ss-ssw-hint { font-size: 12px; color: var(--v3-green-text, #2f7a4d); font-weight: 600; margin-top: 6px; line-height: 1.45; }
.ss-ssw-hint--spaet { color: var(--gold-dark); }
.ss-ssw-hilfe { margin-top: 8px; font-size: 12px; }
.ss-ssw-link { background: none; border: 0; padding: 0; text-align: left; color: var(--gold-dark); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.ss-ssw-wahl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ss-ssw-select { font-family: var(--font); font-size: 14px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); color: var(--text); }
.ss-ssw-wahl-note { color: var(--text-muted); font-size: 11.5px; }

.ss-familie { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }
.ss-familie a { color: var(--gold-dark); text-decoration: underline; }

/* ---------- Ergebnis ---------- */
.pp-profil-schwanger .config-item.ss-aus,
.pp-profil-schwanger .persons-kids-ctrl,
.pp-profil-schwanger #config-person-chips .chip-x,
.pp-profil-schwanger .sheet-person-toggle { display: none !important; }
.ss-result-note {
  max-width: 640px; margin: -8px auto 22px; padding: 10px 16px; text-align: center;
  font-size: 13px; line-height: 1.5; color: var(--text-sec);
  background: var(--v3-bg-soft, #f6f1ea); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.ss-result-note strong { color: var(--text); }

@media (max-width: 560px) {
  .ss-tiles { grid-template-columns: 1fr; }
  .ss-tile { min-height: 66px; }
  .ss-tile-img { flex-basis: 66px; }
}
