/* ==========================================================================
   Partner – Eigenständiges CSS (pa- prefix)
   ========================================================================== */
#page-container { padding-top: 0 !important; }
#main-header, #top-header {
  position: sticky !important;
  top: 0; z-index: 9999;
  background: rgba(250,250,248,0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pa-page {
  --pa-gold: #BFA762;
  --pa-gold-dark: #a8924f;
  --pa-gold-light: #d4c48e;
  --pa-gold-bg: rgba(191,167,98,0.08);
  --pa-gold-gradient: linear-gradient(135deg, #BFA762, #a8924f);
  --pa-dark: #484848;
  --pa-text: #484848;
  --pa-muted: #9C9B92;
  --pa-bg: #FAFAF8;
  --pa-bg-alt: linear-gradient(135deg, #f0ede5 0%, #e8e4d9 50%, #f0ede5 100%);
  --pa-white: #FFFFFF;
  --pa-border: rgba(0,0,0,0.06);
  --pa-radius: 20px;
  --pa-radius-sm: 14px;
  --pa-ease: cubic-bezier(0.4, 0, 0.2, 1);

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--pa-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--pa-bg);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.pa-container { width: min(90%, 1140px); margin: 0 auto; }
.pa-section { padding: 80px 0; }
.pa-section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--pa-dark);
  text-align: center;
  margin: 0 0 20px;
}
.pa-section-title em {
  font-style: normal;
  color: var(--pa-gold);
}
.pa-section-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--pa-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.pa-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--pa-ease), transform 0.7s var(--pa-ease);
  transition-delay: calc(var(--delay, 0) * 0.12s);
}
.pa-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HERO
   ========================================================================== */
.pa-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle 300px at 50% 50%,
      rgba(191,167,98,0.08) 0%,
      transparent 100%),
    radial-gradient(circle 150px at 15% 20%,
      rgba(191,167,98,0.06) 0%,
      transparent 100%),
    radial-gradient(circle 150px at 85% 20%,
      rgba(191,167,98,0.06) 0%,
      transparent 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%,
      rgba(191,167,98,0.1) 0%,
      rgba(212,196,142,0.04) 50%,
      var(--pa-bg) 100%);
}

/* ── SVG Connection Lines ── */
.pa-hero-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.pa-hero-lines line {
  stroke: rgba(191,167,98,0.3);
  stroke-width: 1.5;
  stroke-dasharray: 8 6;
  animation: paLineDash 14s linear infinite;
  filter: drop-shadow(0 0 2px rgba(191,167,98,0.15));
}
.pa-hero-lines line:nth-child(odd) {
  animation-direction: reverse;
}
@keyframes paLineDash {
  to { stroke-dashoffset: -200; }
}

/* ── Traveling Dots on Lines ── */
.pa-hero-lines circle {
  fill: var(--pa-gold);
  filter: drop-shadow(0 0 4px rgba(191,167,98,0.5));
}

/* ── Floating Nodes ── */
.pa-hero-node {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(191,167,98,0.3);
  box-shadow:
    0 8px 32px rgba(191,167,98,0.18),
    0 0 0 1px rgba(255,255,255,0.6) inset,
    0 0 20px rgba(191,167,98,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--pa-gold);
  animation: paFloat 5s ease-in-out infinite;
  transition: transform 0.4s var(--pa-ease), box-shadow 0.4s var(--pa-ease);
}
.pa-hero-node:hover {
  transform: translateY(-16px) scale(1.1) !important;
  box-shadow:
    0 12px 40px rgba(191,167,98,0.3),
    0 0 0 1px rgba(255,255,255,0.6) inset,
    0 0 30px rgba(191,167,98,0.15);
}
.pa-hero-node svg {
  opacity: 0.9;
}
@keyframes paFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  50% { transform: translateY(-16px) rotate(0deg); }
  75% { transform: translateY(-8px) rotate(-1deg); }
}

.pa-hero-node--1 { top: 14%; left: 12%;  animation-delay: 0s; animation-duration: 5.5s; }
.pa-hero-node--2 { top: 14%; right: 12%; animation-delay: -0.8s; animation-duration: 6s; }
.pa-hero-node--3 { top: 48%; left: 4%;   animation-delay: -1.6s; animation-duration: 5s; }
.pa-hero-node--4 { top: 48%; right: 4%;  animation-delay: -2.4s; animation-duration: 5.8s; }
.pa-hero-node--5 { bottom: 6%; left: 16%;  animation-delay: -3.2s; animation-duration: 6.2s; }
.pa-hero-node--6 { bottom: 6%; right: 16%; animation-delay: -4s; animation-duration: 5.3s; }

/* Hero content as center of constellation */
.pa-hero-content {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.pa-hero-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,167,98,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: paGlow 4s ease-in-out infinite;
}
@keyframes paGlow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.pa-hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--pa-dark);
  margin: 0 0 24px;
}
.pa-hero-title em {
  font-style: normal;
  color: var(--pa-gold);
}

.pa-hero-line {
  width: 56px; height: 3px; border-radius: 2px;
  background: var(--pa-gold-gradient);
  margin: 0 auto 20px;
}

.pa-hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--pa-muted);
  margin: 0 auto;
  max-width: 580px;
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.pa-intro {
  padding-top: 0;
}

.pa-intro-card {
  background: var(--pa-white);
  border-radius: var(--pa-radius);
  border: 1px solid var(--pa-border);
  padding: 40px 48px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  text-align: center;
}

.pa-intro-text {
  font-size: 17px; line-height: 1.7;
  color: var(--pa-muted);
  margin: 0;
}

/* ==========================================================================
   PARTNER CATEGORIES – 6 Grid
   ========================================================================== */
.pa-categories {
  background: var(--pa-bg-alt);
}

.pa-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pa-cat-card {
  background: var(--pa-white);
  border-radius: var(--pa-radius);
  border: 1px solid var(--pa-border);
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pa-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.pa-cat-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--pa-gold-bg);
  margin-bottom: 20px;
  transition: background 0.4s ease, transform 0.4s ease;
}
.pa-cat-icon svg {
  width: 24px; height: 24px;
  color: var(--pa-gold);
  transition: color 0.4s ease;
}
.pa-cat-card:hover .pa-cat-icon {
  background: var(--pa-gold-gradient);
  transform: scale(1.05);
}
.pa-cat-card:hover .pa-cat-icon svg {
  color: #fff;
}

.pa-cat-title {
  font-family: "Montserrat", sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--pa-dark);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.pa-cat-text {
  font-size: 14px; line-height: 1.65;
  color: var(--pa-muted);
  margin: 0 0 16px;
  flex: 1;
}

.pa-cat-placeholder {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--pa-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--pa-gold-bg);
  border: 1px solid rgba(191,167,98,0.15);
  align-self: flex-start;
}

/* ==========================================================================
   WHY – Trust Section
   ========================================================================== */
.pa-why {
  background: var(--pa-bg);
}

.pa-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pa-why-card {
  background: var(--pa-white);
  border-radius: var(--pa-radius);
  border: 1px solid var(--pa-border);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pa-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.pa-why-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--pa-gold-bg);
  margin: 0 auto 20px;
}
.pa-why-icon svg {
  width: 24px; height: 24px;
  color: var(--pa-gold);
}

.pa-why-title {
  font-family: "Montserrat", sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--pa-dark);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.pa-why-text {
  font-size: 14px; line-height: 1.65;
  color: var(--pa-muted);
  margin: 0;
}

/* ==========================================================================
   PARTNER WERDEN – 3 Steps
   ========================================================================== */
.pa-become {
  background: var(--pa-bg-alt);
}

.pa-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pa-step {
  position: relative;
  background: var(--pa-white);
  border-radius: var(--pa-radius);
  border: 1px solid var(--pa-border);
  padding: 36px 24px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pa-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.pa-step-num {
  font-family: "Montserrat", sans-serif;
  font-size: 36px; font-weight: 700;
  color: rgba(191,167,98,0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.pa-step-title {
  font-family: "Montserrat", sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--pa-dark);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.pa-step-text {
  font-size: 13px; line-height: 1.65;
  color: var(--pa-muted);
  margin: 0;
}

/* Connector line between steps */
.pa-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%; right: -12px;
  width: 24px; height: 2px;
  background: rgba(191,167,98,0.2);
  z-index: 1;
}

/* ==========================================================================
   CONTACT – reuses cl-contact-layout from landing.css
   ========================================================================== */
.pa-contact {
  background: var(--pa-bg);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .pa-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pa-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pa-steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .pa-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .pa-hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .pa-hero-node {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .pa-hero-node svg {
    width: 18px;
    height: 18px;
  }
  .pa-hero-node--1 { left: 4%; }
  .pa-hero-node--2 { right: 4%; }
  .pa-hero-node--3 { left: 1%; }
  .pa-hero-node--4 { right: 1%; }
  .pa-hero-node--5 { left: 8%; }
  .pa-hero-node--6 { right: 8%; }
  .pa-hero-lines { display: none; }
  .pa-section {
    padding: 60px 0;
  }
  .pa-cat-grid,
  .pa-why-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .pa-intro-card {
    padding: 28px 24px;
  }

  /* Contact layout stack */
  .pa-contact .cl-contact-layout {
    flex-direction: column;
  }
  .pa-contact .cl-contact-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-right: 0;
    padding-bottom: 32px;
  }
}
