/* Unregierbar.ch — Startseite (index.html): Rechner im Hero, Formel, Leistungen mit Preisen, Länder, Cockpit,
 * Team und FAQ. Ergänzt main.css; wird nur auf der Startseite geladen. */

/* ---------- Hero ---------- */
.st-hero .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
.st-vertrauen { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.st-gesichter { display: flex; flex: none; text-decoration: none; }
.st-gesichter span {
  width: 38px;
  height: 38px;
  margin-left: -9px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, rgba(124,58,237,0.45), var(--surface-2) 70%);
  border: 2px solid var(--bg);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple-2);
}
.st-gesichter span:first-child { margin-left: 0; }
.st-gesichter img { width: 100%; height: 100%; object-fit: cover; }
.st-gesichter:hover span { border-color: var(--surface-3); }
.st-vertrauen p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; max-width: 44ch; }
.st-vertrauen strong { color: var(--text); font-weight: 600; }

/* Rechner im Hero (Zahlen aus rechner.js, ohne JavaScript Stand bei 120.000 €) */
.st-rechner {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(124,58,237,0.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  box-shadow: 0 40px 100px -40px rgba(124,58,237,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
}
.st-label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-2); }
.st-rechner-titel { margin-top: 8px; font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.st-feld { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; color: var(--text-2); font-size: 0.92rem; }
.st-feld-wert { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.st-range {
  --fill: 19.15%;
  display: block;
  width: 100%;
  height: 28px;
  margin: -6px 0 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.st-range:focus { outline: none; }
.st-range:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.st-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--purple-2) 0, var(--purple-2) var(--fill), var(--border-field) var(--fill), var(--border-field) 100%);
}
.st-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  border: 3px solid var(--purple);
  background: #fff;
  box-shadow: 0 0 0 6px rgba(124,58,237,0.25);
}
.st-range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--border-field); }
.st-range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--purple-2); }
.st-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--purple); background: #fff; }
.st-skala { display: flex; justify-content: space-between; margin-top: -10px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--dim); }
.st-vergleich { display: grid; gap: 16px; }
.st-zeile-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--text-2); font-size: 0.92rem; }
.st-zeile-kopf strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-balken { height: 10px; margin-top: 8px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden; }
.st-balken span { --w: 34.5%; display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--danger)); transition: width 0.25s ease; }
.st-mit .st-balken span { width: 10px; background: linear-gradient(90deg, var(--success), var(--cyan)); }
.st-mit .st-zeile-kopf strong { color: var(--success); }
.st-sub { display: block; margin-top: 6px; color: var(--dim); font-size: 0.8rem; }
.st-ergebnis { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--border); }
.st-ergebnis-titel { color: var(--text-2); font-size: 0.92rem; }
.st-ergebnis strong {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--success), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.st-ergebnis small { color: var(--dim); font-size: 0.8rem; }
.st-rechner .st-mehr { justify-self: start; color: var(--purple-2); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.st-fussnote { margin: 0; color: var(--dim); font-size: 0.76rem; line-height: 1.55; }
@media (max-width: 980px) {
  .st-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 420px) {
  .st-vertrauen { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* ---------- Formel: US-LLC + Wohnsitz = 0 % ---------- */
.st-formel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; }
.st-formel-teil { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(255,255,255,0.025); }
.st-formel-teil.is-ergebnis { border-color: rgba(167,139,250,0.45); background: linear-gradient(160deg, rgba(124,58,237,0.2), rgba(37,99,235,0.06)); }
.st-formel-zahl {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.st-formel-teil h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.st-formel-teil p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
.st-formel-op { align-self: center; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--purple-2); }
.st-bedingungen { margin-top: 28px; }
.st-bedingungen ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.st-bedingungen ol li { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; }
.st-bedingungen-fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; }
.st-bedingungen-fuss p { margin: 0; max-width: 62ch; }
.st-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .st-formel { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .st-formel-op { justify-self: center; line-height: 1; }
}
@media (max-width: 1080px) { .st-bedingungen ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .st-bedingungen ol { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .st-bedingungen ol li { grid-template-columns: 28px minmax(0, 1fr); }
}

/* ---------- Leistungen mit Preisen ---------- */
.st-angebote { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.st-angebot { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.st-angebot .icon-wrap { margin-bottom: 6px; }
.st-angebot h3 { margin: 0; font-size: 1.2rem; }
.st-preis { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.st-preis small { font-family: var(--font-sans, inherit); font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.card .st-angebot-text { margin: 0; }
.st-angebot .card-meta { margin-top: auto; padding-top: 6px; }
.st-einstieg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.st-einstieg-teil { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border: 1px dashed var(--border-3); border-radius: var(--radius-lg); }
.st-einstieg-teil h3 { margin: 0 0 4px; font-size: 1.05rem; }
.st-einstieg-teil p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.st-einstieg-teil .btn { flex: none; }
.st-hinweis { margin-top: 18px; color: var(--dim); font-size: 0.82rem; }
@media (max-width: 1080px) { .st-angebote { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .st-einstieg { grid-template-columns: minmax(0, 1fr); }
  .st-einstieg-teil { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) { .st-angebote { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Länder: zwei Gruppen zu je sieben ---------- */
.st-laender { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.st-laender-gruppe { padding: 22px 22px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(255,255,255,0.02); }
.st-laender-gruppe.is-null { border-color: rgba(52,211,153,0.3); background: linear-gradient(180deg, rgba(52,211,153,0.06), rgba(255,255,255,0.015)); }
.st-laender-gruppe h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.05rem; }
.st-laender-gruppe h3 i { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(52,211,153,0.15); }
.st-laender-gruppe li + li { border-top: 1px solid var(--border); }
.st-land { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 6px; color: var(--text); text-decoration: none; border-radius: 10px; transition: background 0.2s ease; }
.st-land:hover { background: rgba(255,255,255,0.04); }
.st-land img { width: 32px; height: 24px; border-radius: 3px; border: 1px solid var(--border-2); }
.st-land strong { font-size: 0.97rem; font-weight: 600; }
.st-land small { color: var(--muted); font-size: 0.85rem; text-align: right; }
.is-null .st-land small { color: var(--success); }
.st-laender-fuss { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 860px) { .st-laender { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) {
  .st-land { grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; }
  .st-land img { width: 28px; height: 21px; grid-row: span 2; }
  .st-land small { text-align: left; }
}

/* ---------- Ablauf + Cockpit ---------- */
.st-cockpit { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.st-schritte { display: grid; gap: 22px; margin-top: 8px; }
.st-schritt { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.st-schritt-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--purple-2); font-family: var(--font-mono); font-size: 0.85rem; }
.st-schritt h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.st-schritt p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.st-bild { position: relative; margin: 0; padding: 0 40px 44px 0; }
.st-bild-desktop { margin: 0; overflow: hidden; border: 1px solid var(--border-2); border-radius: 14px; background: var(--bg); box-shadow: 0 30px 80px -30px rgba(76,29,149,0.55); }
.st-bild img { display: block; width: 100%; height: auto; }
.st-bild-handy { position: absolute; right: 0; bottom: 0; width: 27%; margin: 0; overflow: hidden; border: 5px solid #1f2937; border-radius: 24px; background: var(--bg); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.75); }
.st-bild-text { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; color: var(--dim); font-size: 0.82rem; }
.st-bild-text a { color: var(--purple-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .st-cockpit { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 520px) { .st-bild { padding: 0 20px 28px 0; } .st-bild-handy { border-width: 3px; border-radius: 14px; } }

/* ---------- Team ---------- */
.st-team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.st-person {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.st-person:hover { border-color: var(--border-2); transform: translateY(-2px); }
.st-person .r-team-bild { grid-area: auto; width: 100%; margin-bottom: 10px; border-radius: 16px; font-size: 1.7rem; }
.st-person strong { font-size: 1rem; line-height: 1.3; }
.st-person small { color: var(--purple-2); font-size: 0.8rem; line-height: 1.4; }
.st-team-fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: 0.92rem; }
.st-team-fuss p { margin: 0; max-width: 70ch; }
.st-team-fuss a:not(.btn) { color: var(--purple-2); }
@media (max-width: 1080px) { .st-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .st-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .st-person .r-team-bild { font-size: 1.4rem; }
}

/* ---------- FAQ ---------- */
.st-faq-kopf { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }
