/* Partnerseite: gleiche Bausteine wie die Startseite (Landing V8).
   Farben, Schriften und Raster kommen aus public-pages.css, hier steht nur die Anordnung. */

.pn {
  --chapter-y: clamp(72px, 8vw, 128px);
  --pn-text-ink: rgb(247 249 248 / .72);
  color: var(--ink);
  font-family: var(--font-body);
}

.pn section { padding-block: var(--chapter-y); }
.pn-paper { background: var(--paper); }
.pn-white { background: #fff; }
.pn-ink { background: var(--ink); color: var(--white); }
.pn-ink :is(h2, h3, h4, strong) { color: var(--white); }

/* Kicker, Überschriften, Kapitelkopf */
.pn-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--mint-dark); font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.pn-kicker::before { content: ''; width: 9px; height: 9px; flex-shrink: 0; background: var(--mint-dark); }
.pn-ink .pn-kicker { color: var(--mint); }
.pn-ink .pn-kicker::before { background: var(--mint); }

.pn h2 { margin: 0; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.06; letter-spacing: -.035em; }
.pn h3 { margin: 0; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.22; letter-spacing: -.02em; }
.pn h4 { margin: 0; font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.pn .pn-line { display: block; }
.pn .pn-accent { color: var(--mint-dark); }
.pn-ink .pn-accent { color: var(--mint); }

.pn-head { display: grid; grid-template-columns: 7fr 4fr; gap: 8.33%; align-items: end; margin-bottom: 56px; }
.pn-head__lead { max-width: 440px; color: var(--text-2); font-size: 17px; line-height: 1.7; }
.pn-ink .pn-head__lead { color: var(--pn-text-ink); }

/* Hero */
.pn .pn-hero { background: var(--paper); padding-block: clamp(48px, 6vw, 92px) 0; }
.pn-hero__grid { display: grid; grid-template-columns: 7fr 4fr; gap: 8.33%; align-items: start; margin-top: clamp(32px, 3.4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); }
.pn-hero h1 { margin: 0; line-height: 1.02; }
.pn-hero__lead { max-width: 560px; color: var(--text-2); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.pn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.pn-hero__note { display: block; margin-top: 28px; max-width: 460px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.pn-hero__grid--single { grid-template-columns: 1fr; }
.pn-facts { display: grid; gap: 0; margin: 0; }
.pn-facts > div { border-top: 1px solid var(--line-light); padding: 18px 0; }
.pn-facts > div:last-child { border-bottom: 1px solid var(--line-light); }
.pn-facts dt { color: var(--text-2); font-size: 13px; line-height: 1.5; }
.pn-facts dd { margin: 6px 0 0; font-family: var(--font-display); font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1.1; }

/* Kundenleiste */
.pn-logos { display: grid; grid-template-columns: 210px 1fr; gap: 45px; align-items: center; border-top: 1px solid var(--line-light); padding: 28px 0 32px; }
.pn-logos > p { color: var(--text-2); font-size: 13px; line-height: 1.7; }
.pn-logos > p strong { font-weight: 500; color: var(--ink); }
.pn-logos__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pn-logos__row img { width: auto; max-width: 104px; height: 36px; object-fit: contain; }
.pn-logos__row img:nth-child(3) { height: 46px; width: 53px; }

/* Karten und Raster */
.pn-grid { display: grid; gap: 24px; }
.pn-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pn-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pn-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pn-card { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line-light); border-radius: 16px; background: #fff; padding: 28px; }
.pn-white .pn-card { background: var(--paper); }
.pn-ink .pn-card { background: rgb(255 255 255 / .04); border-color: var(--line-dark); }
.pn-card p { color: var(--text-2); font-size: 15px; line-height: 1.65; }
.pn-ink .pn-card p { color: var(--pn-text-ink); }
.pn-grid--4 .pn-card h3 { font-size: clamp(19px, 1.55vw, 23px); }
.pn-card__num { font-family: var(--font-display); font-size: clamp(34px, 3.2vw, 46px); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.035em; line-height: 1; }

/* Aufzählungen mit Haken-Ersatz: schlichter Strich */
.pn-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.pn-list li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.pn-list li::before { content: ''; position: absolute; left: 0; top: .65em; width: 9px; height: 1px; background: var(--mint-dark); }
.pn-ink .pn-list li { color: var(--pn-text-ink); }
.pn-ink .pn-list li::before { background: var(--mint); }

/* Tabelle der Erlösarten */
.pn-table-wrap { overflow-x: auto; }
.pn-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; }
.pn-table th.pn-table__value { text-align: right; }
.pn-table th { color: var(--text-2); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pn-ink .pn-table th { color: var(--pn-text-ink); }
.pn-table :is(th, td) { border-bottom: 1px solid var(--line-light); padding: 18px 24px 18px 0; vertical-align: top; }
.pn-ink .pn-table :is(th, td) { border-color: var(--line-dark); }
.pn-table :is(th, td):last-child { padding-right: 0; }
.pn-table td:last-child { text-align: right; white-space: nowrap; font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pn-table td strong { display: block; font-weight: 500; font-size: 17px; }
.pn-table td span { display: block; margin-top: 6px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.pn-ink .pn-table td span { color: var(--pn-text-ink); }
.pn-note { margin-top: 20px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.pn-ink .pn-note { color: var(--pn-text-ink); }
.pn-note a, .pn-inline-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line-light); text-underline-offset: 4px; }
.pn-note a:hover, .pn-inline-link:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Beispielrechnung */
.pn-example { border: 1px solid var(--line-dark); border-radius: 16px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.pn-example dl { display: grid; gap: 12px; margin: 18px 0 0; }
.pn-example dl > div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-dark); padding-top: 12px; }
.pn-example dt { color: var(--pn-text-ink); font-size: 15px; }
.pn-example dd { margin: 0; font-family: var(--font-display); font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Schritte */
.pn-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pn-steps > li { border-top: 1px solid var(--line-light); padding-top: 24px; display: grid; gap: 12px; align-content: start; }
.pn-steps__num { font-family: var(--font-display); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--mint-dark); }
.pn-steps p { color: var(--text-2); font-size: 15px; line-height: 1.65; }
.pn-steps__meta { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--ink); }
.pn-steps__meta::before { content: '↗'; font-family: var(--font-display); color: var(--mint-dark); }

/* Partner-Stufen */
.pn-tier { display: grid; gap: 14px; align-content: start; border: 1px solid var(--line-light); border-radius: 16px; background: #fff; padding: 28px; }
.pn-tier__head { border-bottom: 1px solid var(--line-light); padding-bottom: 14px; }
.pn-tier__points { font-family: var(--font-display); font-size: 15px; font-variant-numeric: tabular-nums; color: var(--mint-dark); white-space: nowrap; }

/* Referenzen */
.pn-refs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); }
.pn-refs > div { border-bottom: 1px solid var(--line-light); border-right: 1px solid var(--line-light); padding: 26px 24px 26px 0; }
.pn-refs > div:last-child { border-right: 0; }
.pn-refs > div + div { padding-left: 24px; }
.pn-refs strong { display: block; font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.035em; line-height: 1.05; }
.pn-refs span { display: block; margin-top: 10px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.pn-refs em { display: block; margin-top: 14px; font-style: normal; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }

.pn-quote { margin: 56px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.pn-quote blockquote { margin: 0; max-width: 820px; font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 29px); font-weight: 500; letter-spacing: -.025em; line-height: 1.3; }
.pn-quote figcaption { display: flex; align-items: center; gap: 14px; }
.pn-quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.pn-quote figcaption p > * { display: block; font-size: 14px; }
.pn-quote figcaption p > span { color: var(--text-2); }
.pn-quote figcaption img.pn-quote__logo { width: 76px; height: 44px; margin-left: 12px; border-radius: 0; object-fit: contain; }

/* Marke und Betrieb */
.pn-split { display: grid; grid-template-columns: 7fr 5fr; gap: 8.33%; align-items: start; }
.pn-split__lead { margin-top: 24px; max-width: 560px; color: var(--text-2); font-size: 17px; line-height: 1.7; }
.pn-split .pn-list { margin-top: 28px; }
.pn-split--faq { grid-template-columns: 4fr 7fr; }
.pn-split--faq > :first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.pn-fit { margin-top: 48px; border-top: 1px solid var(--line-light); padding-top: 36px; gap: 24px 8.33%; }
.pn-fit .pn-list { margin-top: 16px; }
.pn-brandcard { margin: 0; border: 1px solid var(--line-light); border-radius: 16px; background: #fff; overflow: hidden; }
.pn-brandcard__bar { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-light); background: var(--paper-2); padding: 14px 20px; font-size: 13px; color: var(--text-2); }
.pn-brandcard__dot { width: 26px; height: 26px; border-radius: 6px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-size: 11px; }
.pn-brandcard__body { padding: 24px 20px; display: grid; gap: 10px; }
.pn-brandcard__body strong { font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.pn-brandcard__body span { color: var(--text-2); font-size: 14px; line-height: 1.6; }
.pn-brandcard__caption { border-top: 1px solid var(--line-light); padding: 12px 20px; color: var(--text-2); font-size: 13px; }

/* Fragen */
.pn-faq { border-top: 1px solid var(--line-light); }
.pn-faq details { border-bottom: 1px solid var(--line-light); }
.pn-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; line-height: 1.4; }
.pn-faq summary::-webkit-details-marker { display: none; }
.pn-faq summary::after { content: '+'; flex-shrink: 0; font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1; color: var(--mint-dark); transition: transform .2s var(--ease); }
.pn-faq details[open] summary::after { transform: rotate(45deg); }
.pn-faq__answer { padding: 0 0 24px; max-width: 760px; color: var(--text-2); font-size: 16px; line-height: 1.7; display: grid; gap: 12px; }

/* Abschluss */
.pn .pn-final { background: var(--ink); color: var(--white); padding-block: clamp(72px, 8vw, 120px); }
.pn-final :is(h2, h3, strong) { color: var(--white); }
.pn-final .pn-kicker { color: var(--mint); }
.pn-final .pn-kicker::before { background: var(--mint); }
.pn-final .pn-accent { color: var(--mint); }
.pn-final__grid { display: grid; grid-template-columns: 7fr 4fr; gap: 8.33%; align-items: end; }
.pn-final h2 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -.05em; }
.pn-final__copy p { color: var(--pn-text-ink); font-size: 17px; line-height: 1.7; }
.pn-final .pn-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 30px; }
.pn-final .button--mint { justify-content: space-between; }
.pn-final :is(a, button):focus-visible { outline-color: var(--mint); }
.pn-final__contact { margin-top: 26px; color: var(--pn-text-ink); font-size: 14px; line-height: 1.7; }
.pn-final__contact a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.pn-person { display: flex; align-items: center; gap: 15px; margin-bottom: 28px; }
.pn-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.pn-person strong, .pn-person span { display: block; }
.pn-person strong { font-size: 17px; font-weight: 500; }
.pn-person span { margin-top: 4px; color: var(--pn-text-ink); font-size: 14px; }

@media (max-width: 1000px) {
  .pn-head, .pn-hero__grid, .pn-split, .pn-split--faq, .pn-final__grid { grid-template-columns: 1fr; gap: 32px; }
  .pn-split--faq > :first-child { position: static; }
  .pn-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .pn-head { align-items: start; }
  .pn-head__lead { max-width: 640px; }
  .pn-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn-refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn-refs > div:nth-child(2n) { border-right: 0; }
  .pn-refs > div:nth-child(2n+1) { padding-left: 0; }
  .pn-refs > div:nth-child(2n) { padding-left: 24px; }
  .pn-logos { grid-template-columns: 1fr; gap: 24px; }
  .pn-quote { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .pn-grid--2, .pn-grid--3, .pn-grid--4, .pn-steps { grid-template-columns: 1fr; }
  .pn-refs { grid-template-columns: 1fr; }
  .pn-refs > div { border-right: 0; padding: 22px 0; }
  .pn-refs > div:nth-child(2n) { padding-left: 0; }
  .pn-hero__lead { font-size: 18px; }
  .pn-actions { gap: 12px 24px; }
  .pn-actions .button { width: 100%; }
  .pn-card { padding: 24px; }
  .pn-logos__row { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: start; gap: 24px 16px; }
  .pn-logos__row img { max-width: 100%; height: 26px; }
  .pn-logos__row img:nth-child(3) { height: 34px; width: auto; }
  .pn-table thead { display: none; }
  .pn-table, .pn-table tbody, .pn-table tr, .pn-table td { display: block; width: 100%; }
  .pn-table tbody { border-top: 1px solid var(--line-dark); }
  .pn-table tr { border-bottom: 1px solid var(--line-dark); padding: 18px 0; }
  .pn-table :is(th, td) { border: 0; padding: 0; }
  .pn-table td:last-child { margin-top: 12px; text-align: left; white-space: normal; font-size: 19px; }
  .pn-final .pn-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pn-faq summary::after { transition: none; }
}
