/* portal.css — Partner-Portal v2.
 *
 * Das Design-Paket liefert alles als Inline-Styles (React-Artefakt). Hier steht
 * dieselbe Optik als Klassen: eine Stelle pro Komponente, damit eine Änderung
 * nicht durch 900 Zeilen HTML gesucht werden muss.
 */

:root {
  --ink: #1f0d44;
  --ink-2: #3c2c63;
  --purple: #7a59c9;
  --purple-d: #5b3fa0;
  --muted: #5a5277;
  --muted-2: #8a7fa6;
  --muted-3: #a39bbc;
  --page: #fbfafe;
  --surface: #fff;
  --line: #f0ecf8;
  --line-soft: #f4f1fb;
  --line-input: #e6e0f2;
  --tint: #f4f1fb;
  --tint-2: #f1ecfb;
  --gold: #f5c25b;
  --ok: #1f8a5b;
  --ok-bg: #e4f4ea;
  --warn: #b5731b;
  --warn-bg: #fff1dc;
  --mut: #7a6e94;
  --mut-bg: #f1eef6;
  --danger: #b22b36;
  --shadow: 0 6px 18px rgba(31, 13, 68, 0.05);
  --grad: linear-gradient(58deg, #1f0d44, #5b3fa0);
  --r-card: 12px;
  --r-btn: 8px;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--purple);
  text-decoration: none;
}
a:hover {
  color: var(--purple-d);
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted-3);
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Login / Pending ──────────────────────────────────────── */
.pp-splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--page);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--tint-2);
  border-top-color: var(--purple);
  animation: pp-spin 0.7s linear infinite;
}
@keyframes pp-spin {
  to {
    transform: rotate(360deg);
  }
}
.pp-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(58deg, #1f0d44 0%, #8f78bd 100%);
}
.pp-gate-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(31, 13, 68, 0.35);
  padding: 38px 36px;
}
.pp-gate-card img {
  height: 30px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.pp-gate-card h1 {
  margin: 22px 0 4px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pp-gate-card .sub {
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 26px;
}
.pp-field {
  margin-bottom: 16px;
}
.pp-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
.pp-field input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1.5px solid var(--line-input);
  border-radius: var(--r-btn);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.pp-field input:focus {
  border-color: var(--purple);
}
.pp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 22px;
  font-size: 13.5px;
}
.pp-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
}
.pp-row a {
  font-weight: 600;
}
.pp-submit {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: var(--r-btn);
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.pp-submit:hover {
  opacity: 0.92;
}
.pp-submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.pp-gate-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.pp-gate-foot a {
  font-weight: 600;
}
.pp-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--r-btn);
  background: #fcebec;
  border: 1px solid #f3c7cb;
  color: var(--danger);
  font-size: 13.5px;
  line-height: 1.45;
}

/* ── Kopfzeile ────────────────────────────────────────────── */
.pp-top {
  background: var(--ink);
  height: 68px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 26px;
}
.pp-top-logo img {
  height: 26px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.pp-top-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 20px;
}
.pp-top-sp {
  flex: 1;
}
.pp-top .help {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.pp-top .help:hover {
  color: #fff;
}
.pp-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pp-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.pp-user-meta {
  line-height: 1.15;
}
.pp-user-meta .n {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.pp-user-meta .r {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.pp-logout {
  flex: none;
  height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.pp-logout:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Rahmen + Navigation ──────────────────────────────────── */
.pp-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.pp-body {
  flex: 1;
  display: grid;
  grid-template-columns: 246px 1fr;
  align-items: start;
}
.pp-nav {
  position: sticky;
  top: 0;
  align-self: stretch;
  min-height: calc(100vh - 68px);
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pp-navi {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 13px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition:
    background 0.12s,
    color 0.12s;
}
.pp-navi svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.pp-navi .lbl {
  flex: 1;
}
.pp-navi:hover {
  background: var(--tint);
}
.pp-navi.active {
  background: var(--tint-2);
  color: var(--purple);
}
.pp-navi-badge {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--purple);
  background: var(--tint-2);
  border-radius: 20px;
  padding: 3px 9px;
}
.pp-navi.active .pp-navi-badge {
  background: #fff;
}
.pp-nav-sp {
  flex: 1;
  min-height: 20px;
}
.pp-nav-bal {
  border-radius: var(--r-card);
  background: linear-gradient(150deg, #1f0d44, #5b3fa0);
  color: #fff;
  padding: 18px;
}
.pp-nav-bal .l {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.pp-nav-bal .v {
  margin-top: 5px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.pp-nav-bal .d {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.pp-main {
  padding: 34px 40px 80px;
  min-width: 0;
}
.pp-h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pp-lead {
  margin: 8px 0 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.pp-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Karten + Raster ──────────────────────────────────────── */
.pp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.pp-pad {
  padding: 26px 28px;
}
.pp-card-title {
  font-size: 18px;
  font-weight: 700;
}
.pp-g4,
.pp-g3,
.pp-g2,
.pp-calcgrid {
  display: grid;
  gap: 18px;
  align-items: start;
}
.pp-g4 {
  grid-template-columns: repeat(4, 1fr);
}
.pp-g3 {
  grid-template-columns: repeat(3, 1fr);
}
.pp-g2 {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pp-g2-wide {
  grid-template-columns: 1.3fr 1fr;
}
.pp-calcgrid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pp-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pp-mt {
  margin-top: 22px;
}
.pp-mt-lg {
  margin-top: 26px;
}

/* Kennzahl-Kachel */
.pp-kpi {
  padding: 22px;
}
.pp-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pp-kpi-ico {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--tint);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.pp-kpi-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--ok);
}
.pp-kpi-note.muted {
  color: var(--muted-3);
}
.pp-kpi .v {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.pp-kpi .l {
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted-2);
}

/* kleine Statistik-Kachel */
.pp-ms {
  padding: 20px 24px;
}
.pp-ms .v {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purple);
}
.pp-ms .l {
  margin-top: 3px;
  font-size: 14px;
  color: var(--muted);
}

/* ── Kopierzeile ──────────────────────────────────────────── */
.pp-copy {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--page);
  border: 1.5px solid #ece7f7;
  border-radius: 9px;
  padding: 6px 6px 6px 14px;
}
.pp-copy .val {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pp-copy-btn {
  flex: none;
  height: 38px;
  padding: 0 16px;
  border-radius: 7px;
  border: none;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.pp-sub-l {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-2);
}
.pp-code {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pp-code .c {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--purple);
}
.pp-hint {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-2);
}
.pp-note {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.pp-big {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purple);
}
.pp-linkbtn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
}
.pp-btn-soft {
  margin-top: 16px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--r-btn);
  border: none;
  background: var(--tint);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.pp-btn-soft:hover {
  background: #ece7f7;
}
.pp-btn-fill {
  flex: none;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  border: none;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.pp-btn-fill:hover {
  opacity: 0.92;
}

/* ── Balkendiagramm (Verdienst) ───────────────────────────── */
.pp-chart {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 150px;
}
.pp-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}
.pp-bar .amt {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
}
.pp-bar .col {
  width: 100%;
  max-width: 44px;
  min-height: 4px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #7a59c9, #5b3fa0);
}
.pp-bar .mo {
  font-size: 12px;
  color: var(--muted-3);
}

/* ── Listen (Empfehlungen / Team / Auszahlungen) ──────────── */
.pp-list {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pp-lrow {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.pp-lhead {
  padding: 16px 24px;
  background: var(--page);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.pp-lrow:last-child {
  border-bottom: none;
}
.pp-cols-ref {
  grid-template-columns: 2fr 1.1fr 1.2fr 1fr;
}
.pp-cols-team {
  grid-template-columns: 2.2fr 1.1fr 1fr 1.1fr 1fr;
}
.pp-cols-pay {
  grid-template-columns: 1.5fr 1fr 1fr;
}
.pp-r {
  text-align: right;
}
.pp-biz {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.pp-mini {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--tint);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.pp-mini.round {
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
}
.pp-biz .nm {
  font-size: 15px;
  font-weight: 600;
}
.pp-biz .sb {
  font-size: 13px;
  color: var(--muted-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pp-cell {
  font-size: 14px;
  color: var(--muted);
}
.pp-cell.strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.pp-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.pp-badge.ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.pp-badge.warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.pp-badge.mut {
  background: var(--mut-bg);
  color: var(--mut);
}
.pp-badge.info {
  background: var(--tint-2);
  color: var(--purple);
}
.pp-empty {
  padding: 64px 24px;
  text-align: center;
  font-size: 16px;
  color: var(--muted-3);
}
.pp-empty-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 15px;
  background: var(--tint);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.pp-empty p {
  margin: 8px auto 0;
  max-width: 400px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-2);
}

/* ── Fortschrittsbalken (Stufe) ───────────────────────────── */
.pp-prog {
  margin-top: 16px;
  height: 10px;
  border-radius: 5px;
  background: var(--tint);
  overflow: hidden;
}
.pp-prog > i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #7a59c9, #5b3fa0);
}
.pp-prog-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted-3);
}

/* ── Modal ────────────────────────────────────────────────── */
.pp-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(31, 13, 68, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pp-modal-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 40px 90px rgba(31, 13, 68, 0.4);
  padding: 34px 34px 30px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.pp-modal-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pp-modal-x {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--tint);
  color: var(--mut);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-modal-x:hover {
  background: #ece7f7;
}
.pp-form {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pp-flabel {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}
.pp-flabel .opt {
  color: var(--muted-3);
  font-weight: 500;
}
.pp-flabel input,
.pp-flabel textarea {
  padding: 0 14px;
  border-radius: var(--r-btn);
  border: 1.5px solid var(--line-input);
  background: var(--page);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.pp-flabel input {
  height: 48px;
}
.pp-flabel textarea {
  min-height: 88px;
  resize: vertical;
  padding: 12px 14px;
  line-height: 1.5;
}
.pp-flabel input:focus,
.pp-flabel textarea:focus {
  border-color: var(--purple);
}
.pp-ferr {
  font-size: 13px;
  font-weight: 600;
  color: var(--danger);
}
.pp-done {
  text-align: center;
  padding: 12px 4px 4px;
}
.pp-done-ico {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Kalkulator ───────────────────────────────────────────── */
.pp-sec-l {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.pp-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.pp-slider-head label {
  font-size: 14px;
  font-weight: 600;
}
.pp-slider-head .v {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purple);
}
.pp-range {
  width: 100%;
  margin-top: 12px;
  accent-color: var(--purple);
  cursor: pointer;
}
.pp-range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted-3);
}
.pp-chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pp-chip {
  height: 36px;
  padding: 0 14px;
  border-radius: 20px;
  border: 1.5px solid var(--line-input);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.pp-chip:hover {
  border-color: var(--purple);
}
.pp-chip.on {
  border-color: var(--purple);
  background: var(--tint-2);
  color: var(--purple);
}
.pp-opt {
  flex: 1;
  min-width: 120px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r-btn);
  border: 1.5px solid var(--line-input);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.pp-opt.on {
  border-color: var(--purple-d);
  background: var(--grad);
  color: #fff;
}
.pp-num-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pp-num-grid input {
  height: 46px;
  font-size: 16px;
  font-weight: 600;
}
.pp-block {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.pp-calc-out {
  border-radius: var(--r-card);
  background: linear-gradient(140deg, #1f0d44, #5b3fa0);
  color: #fff;
  padding: 30px;
}
.pp-calc-out .cap {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.pp-calc-out .big {
  margin-top: 8px;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.pp-calc-out .yr {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
}
.pp-cbars {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pp-cbar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.pp-cbar-head .l {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.pp-cbar-head .v {
  font-weight: 800;
}
.pp-cbar-track {
  margin-top: 7px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.pp-cbar-track > i {
  display: block;
  height: 100%;
  border-radius: 6px;
}
.pp-cbar-eff {
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.pp-calc-copy {
  margin-top: 26px;
  width: 100%;
  height: 48px;
  border-radius: var(--r-btn);
  border: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.pp-calc-copy:hover {
  background: var(--tint);
}
.pp-drow {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.pp-drow.head {
  margin-top: 18px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.pp-drow span:not(:first-child) {
  text-align: right;
}
.pp-drow.total {
  border-bottom: none;
  font-weight: 800;
  color: var(--ink);
}
.pp-drow.total .lev {
  color: var(--purple);
}
.pp-drow .lbl {
  color: var(--muted);
}
.pp-drow.total .lbl {
  color: var(--ink);
}
.pp-callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--tint);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ── Verkaufs-Material ────────────────────────────────────── */
.pp-mtabs {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pp-mtab {
  height: 38px;
  padding: 0 17px;
  border-radius: 99px;
  border: 1px solid #e4dcf6;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.pp-mtab:hover {
  border-color: var(--purple);
}
.pp-mtab.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pp-mlead {
  margin: 22px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.pp-pitch {
  background: var(--ink);
  border-radius: 14px;
  padding: 32px 34px;
  color: #fff;
}
.pp-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.pp-oneliner {
  margin: 14px 0 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
.pp-pitch-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.pp-pitch-text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.76);
  text-wrap: pretty;
}
.pp-pitch-copy {
  margin-top: 20px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-btn);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.pp-pitch-copy:hover {
  background: rgba(255, 255, 255, 0.1);
}
.pp-pillar {
  padding: 22px 24px;
}
.pp-pillar-head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.pp-pillar-n {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--tint);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex: none;
}
.pp-pillar h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pp-pillar p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.pp-h2 {
  margin: 34px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pp-opener {
  padding: 22px 24px;
}
.pp-opener .q {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.pp-opener .why {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.pp-cta {
  margin-top: 22px;
  background: var(--tint);
  border: 1px solid #e4dcf6;
  border-radius: var(--r-card);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.pp-cta > div {
  flex: 1;
  min-width: 260px;
}
.pp-cta .t {
  font-size: 16px;
  font-weight: 700;
}
.pp-cta p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.pp-cta button {
  flex: none;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  border: none;
  background: var(--purple);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.pp-cta button:hover {
  background: var(--purple-d);
}

/* Faktenblatt */
.pp-facts {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pp-fgroup {
  overflow: hidden;
}
.pp-fgroup-head {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.pp-fgroup-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pp-fgroup-head .n {
  font-size: 13px;
  color: var(--muted-3);
}
.pp-frow {
  display: grid;
  grid-template-columns: 230px 190px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 16px 26px;
  border-bottom: 1px solid #f8f6fc;
}
.pp-frow:last-child {
  border-bottom: none;
}
.pp-frow .k {
  font-size: 15px;
  font-weight: 600;
}
.pp-frow .v {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
}
.pp-frow .d {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.pp-fineprint {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-3);
}

/* Zielgruppen */
.pp-seg h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.pp-seg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pp-seg-fit {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--tint);
  color: var(--purple);
  white-space: nowrap;
}
.pp-seg p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.pp-signals {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.pp-signals .h {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.pp-signals ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.pp-signals li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.5;
}
.pp-signals li::before {
  content: "";
  flex: none;
  margin-top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

/* Einwände */
.pp-obj {
  border-bottom: 1px solid var(--line-soft);
}
.pp-obj:last-child {
  border-bottom: none;
}
.pp-obj-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  border: none;
  background: var(--surface);
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.pp-obj-q:hover {
  background: var(--page);
}
.pp-obj-q[aria-expanded="true"] {
  background: var(--page);
}
.pp-obj-q .q {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pp-obj-sign {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--tint);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
}
.pp-obj-a {
  padding: 0 26px 24px;
  max-width: 820px;
}
.pp-obj-a p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}
.pp-obj-next {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 9px;
  background: var(--tint);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.pp-obj-next strong {
  color: var(--ink);
}

/* Wettbewerb */
.pp-cmp {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  padding: 16px 26px;
  border-bottom: 1px solid #f8f6fc;
  align-items: baseline;
  font-size: 14px;
  gap: 16px;
}
.pp-cmp.head {
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--page);
  font-weight: 700;
  color: var(--muted);
}
.pp-cmp.head .us {
  font-weight: 800;
  color: var(--purple);
}
.pp-cmp .k {
  font-weight: 600;
}
.pp-cmp .us {
  font-weight: 700;
  color: var(--ink);
}
.pp-cmp .them {
  color: var(--muted);
}

/* Downloads */
.pp-dl {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.pp-dl-ico {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-dl h3 {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 700;
}
.pp-dl p {
  margin: 6px 0 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.pp-dl-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pp-dl-size {
  font-size: 13px;
  color: var(--muted-3);
}
.pp-dl-soon {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-3);
}

/* ── Mobil ────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .pp-hide-m {
    display: none !important;
  }
  .pp-body {
    grid-template-columns: 1fr;
  }
  .pp-nav {
    position: static;
    min-height: 0;
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    gap: 8px;
  }
  .pp-navi {
    flex: none;
  }
  .pp-main {
    padding: 26px 18px 70px;
  }
  .pp-g4,
  .pp-g3,
  .pp-g2,
  .pp-g2-wide,
  .pp-calcgrid,
  .pp-num-grid {
    grid-template-columns: 1fr;
  }
  .pp-g4 > *,
  .pp-g3 > *,
  .pp-g2 > * {
    min-width: 0;
  }
  .pp-h1 {
    font-size: 26px;
  }
  .pp-frow {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .pp-scroll-x {
    overflow-x: auto;
  }
  .pp-scroll-x .pp-lrow,
  .pp-scroll-x .pp-lhead,
  .pp-scroll-x .pp-cmp {
    min-width: 640px;
  }
  .pp-calc-out .big {
    font-size: 40px;
  }
}

/* ── Downloads: Kachel aufklappbar, Dateiliste darin ─────────── */
.pp-dl[data-dlcat]{cursor:pointer;transition:border-color .12s,box-shadow .12s}
.pp-dl[data-dlcat]:hover{border-color:#E4DCF6}
.pp-dl.is-empty{cursor:default;opacity:.72}
.pp-dl.is-empty:hover{border-color:var(--line)}
.pp-dl.is-open{border-color:var(--purple)}
.pp-dl-list{margin-top:16px;padding-top:14px;border-top:1px solid var(--line-soft);
  display:flex;flex-direction:column;gap:2px}
.pp-dl-file{display:flex;align-items:center;gap:11px;padding:9px 8px;margin:0 -8px;
  border-radius:8px;text-decoration:none;color:inherit;transition:background .12s}
.pp-dl-file:hover{background:var(--tint);color:inherit}
.pp-dl-fic{flex:none;width:30px;height:30px;border-radius:8px;background:var(--tint);
  color:var(--purple);display:flex;align-items:center;justify-content:center}
.pp-dl-fic svg{width:16px;height:16px}
.pp-dl-fm{flex:1;min-width:0;display:flex;flex-direction:column}
.pp-dl-fm .n{font-size:14px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-dl-fm .s{font-size:12.5px;color:var(--muted-3)}

/* ── Dateizeile: Vorschau per Klick, Knopf zum Herunterladen ── */
.pp-dl-file{cursor:pointer}
.pp-dl-file:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.pp-dl-get{flex:none;width:32px;height:32px;border-radius:8px;color:var(--muted-2);
  display:inline-flex;align-items:center;justify-content:center;transition:background .12s,color .12s}
.pp-dl-get svg{width:17px;height:17px}
.pp-dl-get:hover{background:var(--purple);color:#fff}

/* ── Vorschau-Overlay ───────────────────────────────────────── */
.pp-pv{position:fixed;inset:0;z-index:70;background:rgba(31,13,68,.62);
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;padding:24px}
.pp-pv-card{width:100%;max-width:980px;max-height:92vh;background:var(--surface);
  border-radius:14px;box-shadow:0 40px 90px rgba(31,13,68,.4);display:flex;flex-direction:column;overflow:hidden}
.pp-pv-head{flex:none;display:flex;align-items:center;gap:14px;padding:16px 18px;
  border-bottom:1px solid var(--line)}
.pp-pv-meta{flex:1;min-width:0}
.pp-pv-meta .n{font-size:16px;font-weight:700;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-pv-meta .s{font-size:13px;color:var(--muted-3);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-pv-dl{flex:none;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;
  border-radius:var(--r-btn);background:var(--grad);color:#fff;font-size:14px;font-weight:700;
  text-decoration:none}
.pp-pv-dl:hover{opacity:.92;color:#fff}
.pp-pv-dl svg{width:17px;height:17px}
.pp-pv-x{flex:none;width:40px;height:40px;border-radius:50%;border:none;background:var(--tint);
  color:var(--mut);cursor:pointer;display:flex;align-items:center;justify-content:center}
.pp-pv-x:hover{background:#ECE7F7}
.pp-pv-body{flex:1;min-height:0;background:var(--page);display:flex;align-items:center;justify-content:center}
.pp-pv-img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.pp-pv-frame{width:100%;height:78vh;border:none;display:block;background:#fff}
.pp-pv-note{padding:56px 28px;text-align:center;font-size:15px;line-height:1.6;
  color:var(--muted);max-width:420px}

@media (max-width:1000px){
  .pp-pv{padding:12px}
  .pp-pv-card{max-height:96vh}
  .pp-pv-dl span{display:none}
  .pp-pv-dl{padding:0 12px}
  .pp-pv-frame{height:70vh}
}

/* ── Downloads: Brotkrume + Ordner ──────────────────────────── */
.pp-crumbs{margin-top:18px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pp-crumb{border:none;background:transparent;padding:5px 10px;border-radius:8px;
  font:inherit;font-size:14px;font-weight:700;color:var(--muted);cursor:pointer}
.pp-crumb:hover{background:var(--tint);color:var(--ink)}
.pp-crumb-sep{color:var(--muted-3)}
.pp-dl-panel{margin-top:18px}
.pp-dl-panel .pp-dl-list{margin-top:0;padding-top:0;border-top:none}
