/*
 * Per-page stylesheet for the Partners page (/{en,de}/company/partners/).
 * Linked alongside home-v7.css, which provides the design tokens, fonts,
 * shared header/footer chrome and the .eyebrow / .btn-* helpers.
 * Class prefix: .pt-*
 */

main { max-width: none; margin: 0; padding: 0; }

.pt-container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* ─── Breadcrumb ─── */
.pt-crumbs {
    padding: 28px 0 0;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.pt-crumbs a { color: var(--gray-400); }
.pt-crumbs a:hover { color: var(--black); }
.pt-crumbs .sep { margin: 0 8px; color: var(--gray-200); }

/* ─── Hero ─── */
.pt-hero { padding: 56px 0 80px; }
.pt-hero .eyebrow { margin-bottom: 22px; display: inline-flex; }
.pt-h1 {
    font-family: var(--font-display);
    font-size: 56px; line-height: 1.05; letter-spacing: -0.035em;
    font-weight: 500; color: var(--black);
    margin: 0 0 22px; max-width: 14ch; text-wrap: balance;
}
.pt-h1 em { font-style: normal; color: var(--brand); }
.pt-lede {
    font-size: 18px; line-height: 1.65; color: var(--gray-500);
    max-width: 600px; margin: 0; text-wrap: pretty;
}
.pt-lede strong { color: var(--gray-700); font-weight: 600; }
.pt-hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ─── Sections ─── */
.pt-section { padding: 96px 0; background: var(--white); }
.pt-section + .pt-section { border-top: 1px solid var(--gray-100); }
.pt-section-muted { background: var(--gray-50); }

.pt-section-head { max-width: 720px; margin-bottom: 44px; }
.pt-section-head .eyebrow { margin-bottom: 16px; display: inline-flex; }
.pt-h2 {
    font-family: var(--font-display);
    font-size: 40px; line-height: 1.1; letter-spacing: -0.03em;
    font-weight: 500; color: var(--black); margin: 0; text-wrap: balance;
}
.pt-h2 em { font-style: normal; color: var(--brand); }
.pt-section-lede {
    font-size: 16px; line-height: 1.6; color: var(--gray-500);
    margin: 18px 0 0; max-width: 620px; text-wrap: pretty;
}

/* ─── Partner rows ─── */
.pt-rows { display: flex; flex-direction: column; gap: 16px; }
.pt-row {
    display: grid; grid-template-columns: 220px 1fr; gap: 36px;
    align-items: start;
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: 16px; padding: 32px 36px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pt-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }

.pt-logo {
    display: flex; align-items: center; justify-content: flex-start;
    min-height: 64px;
}
.pt-logo img { max-height: 56px; max-width: 180px; width: auto; height: auto; object-fit: contain; }
.pt-logo.is-wide img { max-height: 120px; max-width: 100%; border-radius: 10px; }

.pt-row-body h3 {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
    color: var(--black); margin: 0 0 14px;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.pt-row-body p {
    font-size: 15px; line-height: 1.65; color: var(--gray-500);
    margin: 0 0 12px; max-width: 760px; text-wrap: pretty;
}
.pt-row-body p:last-of-type { margin-bottom: 0; }
.pt-row-body strong { color: var(--gray-700); font-weight: 600; }

/* Country pill with flag */
.pt-country {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--brand-dark); background: var(--brand-light);
    padding: 4px 12px 4px 8px; border-radius: 999px; font-weight: 500;
}
.pt-flag {
    width: 22px; height: auto; border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
    display: inline-block;
}

/* External link */
.pt-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--brand-dark); font-weight: 500;
}
.pt-link::after { content: "→"; transition: transform var(--transition); }
.pt-link:hover::after { transform: translateX(4px); }

/* ─── Final CTA ─── */
.pt-cta-wrap {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff; border-radius: 24px; padding: 56px 60px;
    text-align: center;
}
.pt-cta-wrap::before {
    content: ""; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.025) 18px 19px);
}
.pt-cta-wrap > * { position: relative; z-index: 1; }
.pt-cta-wrap h2 {
    font-family: var(--font-display);
    font-size: 40px; font-weight: 500; letter-spacing: -0.03em;
    line-height: 1.1; color: #fff; margin: 0 auto; max-width: 18ch; text-wrap: balance;
}
.pt-cta-wrap p {
    font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.88);
    margin: 18px auto 30px; max-width: 640px; text-wrap: pretty;
}
.pt-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--brand-dark);
    padding: 14px 28px; border-radius: var(--radius);
    font-weight: 600; font-size: 15px;
    transition: transform var(--transition), background var(--transition);
}
.pt-cta-btn:hover { transform: translateY(-2px); background: #fff; }

/* ─── Responsive ─── */
@media (max-width: 960px) {
    .pt-hero { padding: 40px 0 56px; }
    .pt-h1 { font-size: 38px; }
    .pt-section { padding: 64px 0; }
    .pt-h2 { font-size: 30px; }
    .pt-row { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; }
    .pt-logo { justify-content: flex-start; }
    .pt-cta-wrap { padding: 40px 28px; }
    .pt-cta-wrap h2 { font-size: 28px; }
}
