/* ══════════════════════════════════════════════════════════
   FIVE MOVES — PARTNER PORTAL
   Earth-to-Glow · Warm cream → rose → glow
   KEIN schwarz/dunkel — alles in der Cream/Rose-Palette
   ══════════════════════════════════════════════════════════ */

/* ── Body Takeover ─────────────────────────────── */
html:has(body.partner-body),
body.partner-body {
  background: #f3eeeb;
  color: #2D2D2D;
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.partner-body .shell,
body.partner-body .main {
  min-height: 100vh;
  height: auto;
  overflow: visible;
}

body.partner-body .sb,
body.partner-body .sb-spacer,
body.partner-body .sb-toggle,
body.partner-body .sb-overlay,
body.partner-body .top-nav,
body.partner-body .hub-sidebar {
  display: none !important;
}

body.partner-body .main,
body.partner-body main {
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
}

/* ── Atmospheric Stage ─────────────────────────── */
.partner-stage {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(1400px 900px at 85% 10%, rgba(193, 29, 111, 0.08), transparent 60%),
    radial-gradient(1100px 800px at 10% 90%, rgba(207, 180, 184, 0.35), transparent 65%),
    linear-gradient(165deg, #f3eeeb 0%, #e8dcd7 40%, #dcc7c5 100%);
  color: #2D2D2D;
  overflow: hidden;
}

.partner-stage::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(193, 29, 111, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.partner-stage::after {
  content: '';
  position: absolute;
  bottom: -300px; left: -300px;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(185, 110, 141, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Container ─────────────────────────────────── */
.partner-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 34px;
  z-index: 1;
}

.partner-container--narrow { max-width: 720px; }
.partner-container--tight  { max-width: 520px; }

/* ── Typography ────────────────────────────────── */
.partner-caption {
  font-size: 11px;
  font-weight: 500;
  color: #8a7a75;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.partner-hero-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #2D2D2D;
  margin: 0 0 26px;
}

.partner-hero-sub {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
  color: #5a4845;
  max-width: 580px;
}

.partner-h2 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #2D2D2D;
  margin: 0 0 16px;
  line-height: 1.15;
}

.partner-h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: #2D2D2D;
  margin: 0 0 8px;
}

.partner-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #5a4845;
}

.partner-body strong {
  color: #C11D6F;
  font-weight: 500;
}

/* ── Logo/Brand ────────────────────────────────── */
.partner-brand {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8a7a75;
}

/* ── Cards ─────────────────────────────────────── */
.partner-card {
  position: relative;
  padding: 42px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(207, 180, 184, 0.4);
  border-radius: 18px;
  box-shadow:
    0 2px 10px rgba(110, 61, 82, 0.05),
    0 20px 40px rgba(110, 61, 82, 0.08);
}

.partner-card--glow {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(232, 220, 215, 0.7) 100%);
  border: 1px solid rgba(193, 29, 111, 0.15);
}

/* ── Kurs-Cards ────────────────────────────────── */
.partner-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 21px;
  margin: 34px 0;
}

.partner-course {
  padding: 34px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(207, 180, 184, 0.35);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.partner-course:hover {
  border-color: rgba(193, 29, 111, 0.3);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(193, 29, 111, 0.08);
}

.partner-course-name {
  font-size: 22px;
  font-weight: 500;
  color: #2D2D2D;
  margin-bottom: 4px;
}

.partner-course-meta {
  font-size: 13px;
  color: #8a7a75;
  margin-bottom: 18px;
}

.partner-course-earnings {
  padding-top: 16px;
  border-top: 1px solid rgba(207, 180, 184, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.partner-course-earnings-label {
  font-size: 11px;
  color: #8a7a75;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-course-earnings-value {
  font-size: 26px;
  font-weight: 500;
  color: #C11D6F;
}

/* ── 3 Schritte ───────────────────────────────── */
.partner-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 34px;
  margin: 55px 0;
}

.partner-step {
  position: relative;
}

.partner-step-num {
  font-size: 42px;
  font-weight: 200;
  color: #C11D6F;
  line-height: 1;
  margin-bottom: 13px;
  font-variant-numeric: tabular-nums;
}

.partner-step-title {
  font-size: 18px;
  font-weight: 500;
  color: #2D2D2D;
  margin-bottom: 6px;
}

.partner-step-text {
  font-size: 14px;
  color: #5a4845;
  line-height: 1.5;
}

/* ── Buttons ──────────────────────────────────── */
.partner-btn {
  display: inline-block;
  padding: 16px 34px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #C11D6F;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(193, 29, 111, 0.28);
}

.partner-btn:hover {
  background: #9E1759;
  box-shadow: 0 6px 22px rgba(193, 29, 111, 0.4);
  transform: translateY(-1px);
}

.partner-btn--ghost {
  background: transparent;
  color: #2D2D2D;
  border: 1px solid rgba(45, 45, 45, 0.25);
  box-shadow: none;
}

.partner-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(45, 45, 45, 0.4);
  box-shadow: 0 4px 14px rgba(110, 61, 82, 0.08);
}

.partner-btn--large {
  padding: 18px 42px;
  font-size: 17px;
}

.partner-btn--full {
  display: block;
  width: 100%;
  text-align: center;
}

/* ── Form ─────────────────────────────────────── */
.partner-form {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.partner-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.partner-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #8a7a75;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.partner-input,
.partner-select,
.partner-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 16px;
  color: #2D2D2D;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(207, 180, 184, 0.5);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.partner-input:focus,
.partner-select:focus,
.partner-textarea:focus {
  outline: none;
  border-color: #C11D6F;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(193, 29, 111, 0.12);
}

.partner-input::placeholder,
.partner-textarea::placeholder {
  color: #8a7a75;
  opacity: 0.7;
}

.partner-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238a7a75' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}

.partner-select option {
  background: #FFFFFF;
  color: #2D2D2D;
}

.partner-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.partner-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.partner-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #C11D6F;
  flex-shrink: 0;
}

.partner-checkbox span {
  font-size: 14px;
  color: #5a4845;
  line-height: 1.5;
}

.partner-checkbox a {
  color: #C11D6F;
  text-decoration: underline;
  text-decoration-color: rgba(193, 29, 111, 0.4);
  text-underline-offset: 3px;
}

/* ── Kanal-Chips (Follower) ────────────────────── */
.partner-hint {
  font-size: 13px;
  color: #8a7a75;
  line-height: 1.5;
  margin: -2px 0 13px;
}

.partner-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.partner-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(207, 180, 184, 0.5);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.partner-chip:hover {
  border-color: rgba(193, 29, 111, 0.5);
  background: #FFFFFF;
}

.partner-chip.is-active {
  border-color: #C11D6F;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(193, 29, 111, 0.12);
}

.partner-chip-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.partner-chip-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #f3eeeb;
  color: #8a7a75;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.partner-chip.is-active .partner-chip-icon {
  background: #C11D6F;
  color: #FFFFFF;
}

.partner-chip-label {
  font-size: 14px;
  font-weight: 500;
  color: #2D2D2D;
  flex: 1;
}

.partner-chip-follower {
  width: 88px;
  flex-shrink: 0;
}

.partner-chip-number {
  width: 100%;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 13px;
  color: #2D2D2D;
  text-align: right;
  background: #f3eeeb;
  border: 1px solid transparent;
  border-radius: 7px;
  transition: all 0.2s ease;
  -moz-appearance: textfield;
}

.partner-chip-number::-webkit-outer-spin-button,
.partner-chip-number::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.partner-chip-number:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.partner-chip-number:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #C11D6F;
}

.partner-chip-number::placeholder {
  color: #8a7a75;
  opacity: 0.6;
  font-size: 12px;
}

/* ── Alerts ────────────────────────────────────── */
.partner-alert {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.partner-alert--success {
  background: rgba(185, 110, 141, 0.1);
  border: 1px solid rgba(185, 110, 141, 0.25);
  color: #5a4845;
}

.partner-alert--error {
  background: rgba(193, 29, 111, 0.08);
  border: 1px solid rgba(193, 29, 111, 0.25);
  color: #C11D6F;
}

.partner-success {
  text-align: center;
  padding: 55px 34px;
}

.partner-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 21px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cfb4b8 0%, #C11D6F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #FFFFFF;
  box-shadow: 0 8px 28px rgba(193, 29, 111, 0.28);
}

/* ── Utils ────────────────────────────────────── */
.partner-center { text-align: center; }
.partner-spacer-lg { height: 55px; }
.partner-spacer-md { height: 34px; }
.partner-spacer-sm { height: 21px; }

/* ── Footer ───────────────────────────────────── */
.partner-footer {
  margin-top: 89px;
  padding: 34px 0;
  border-top: 1px solid rgba(207, 180, 184, 0.4);
  text-align: center;
  font-size: 12px;
  color: #8a7a75;
}

.partner-footer a {
  color: #5a4845;
  text-decoration: none;
  border-bottom: 1px solid rgba(207, 180, 184, 0.5);
  padding-bottom: 1px;
}

.partner-footer a:hover {
  border-bottom-color: #C11D6F;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 640px) {
  .partner-container { padding: 0 21px; }
  .partner-hero-title { font-size: 42px; }
  .partner-h2 { font-size: 26px; }
  .partner-form-row { grid-template-columns: 1fr; }
  .partner-card { padding: 28px; }
}
