/* partner.css — „Unsere Partner" page in the cuvalu design language */

/* ───────────── Hero ───────────── */
.pt-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 560px at 86% 6%, rgba(114,186,211,0.40), transparent 64%),
    radial-gradient(760px 480px at -6% 94%, rgba(244,97,12,0.20), transparent 60%),
    linear-gradient(135deg, var(--cv-blue-dark) 0%, var(--cv-blue-deep) 100%);
  color: #fff;
  padding: 64px 0 96px;
}
.pt-hero .cv-breadcrumb { margin-bottom: 34px; }
.pt-hero-inner { max-width: 880px; }
.pt-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.20em; text-transform: uppercase; color: var(--cv-blue-light);
  margin-bottom: 22px;
}
.pt-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cv-orange); box-shadow: 0 0 0 4px rgba(244,97,12,0.22); }
.pt-title { font-size: 62px; line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 24px; color: #fff; }
.pt-title .accent { color: var(--cv-orange); }
.pt-lead { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,0.86); max-width: 700px; margin: 0; }
.pt-lead strong { color: #fff; font-weight: 700; }
.pt-lead .em { color: var(--cv-blue-light); font-weight: 700; }

/* little logo strip in the hero */
.pt-hero-strip {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px;
}
.pt-hero-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: #fff;
}
.pt-hero-chip .b {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff;
}

/* ═══════════ Partner — Scroll-Fokus-Zoom ═══════════ */
.pt-focus { background: #FAFAF8; padding: 96px 0 40px; }
.pt-focus-head { text-align: center; max-width: 720px; margin: 0 auto; }

/* the scroll stage — each slot is a viewport-tall focus zone */
.pt-stage { margin-top: 36px; }
.pt-slot {
  min-height: 62vh;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 0;
}

/* a partner panel: small + dimmed + desaturated by default */
.pt-panel {
  --accent: #8A93A4; --accent-ink: #8A93A4;
  --accent-tint: rgba(138,147,164,0.07); --accent-line: rgba(138,147,164,0.22);
  width: min(1180px, 92vw);
  transform: scale(0.86);
  opacity: 0.4;
  filter: saturate(0.12);
  transition:
    transform .6s cubic-bezier(.22,.61,.36,1),
    opacity .5s ease,
    filter .5s ease;
  will-change: transform, opacity;
}
.pt-panel.is-focus {
  transform: scale(1);
  opacity: 1;
  filter: none;
}

/* free editorial text — no card box */
.pt-panel-inner { position: relative; }

/* head: oversized number + name + logo plate */
.pt-panel-head { display: flex; align-items: flex-start; gap: 28px; flex-wrap: wrap; }

/* logo plate — see below */
/* ─ logo plate ─ */
.pt-logo {
  margin-left: auto; flex-shrink: 0;
  width: 212px; height: 100px;
  border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 4px 20px -8px rgba(0,0,0,0.16);
  padding: 16px 22px; box-sizing: border-box;
}
.pt-logo-img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; display: block; filter: none;
}
.pt-logo-badge {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--cv-blue-dark); letter-spacing: 0.06em;
}
.pt-num {
  font-family: var(--font-display); font-weight: 800; font-size: 88px; line-height: 0.8;
  letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.pt-head-text { padding-top: 8px; }
.pt-tag {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px;
}
.pt-pname {
  font-family: var(--font-display); font-weight: 800;
  font-size: 46px; line-height: 1.0; letter-spacing: -0.03em;
  color: var(--cv-blue-dark); margin: 0;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px;
}
.pt-pname .dot { color: var(--cv-orange); }
.pt-pfull {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  letter-spacing: -0.005em; color: var(--cv-text-mute);
}

/* detail block — hidden until the panel is in focus (space reserved, no jump) */
.pt-detail {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease .08s, transform .55s cubic-bezier(.22,.61,.36,1) .08s;
  margin-top: 30px; padding-left: 116px;
}
.pt-panel.is-focus .pt-detail { opacity: 1; transform: none; }

/* wide two-column: free text + small quote tile */
.pt-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 52px; align-items: start; }

.pt-body {
  font-size: 18.5px; line-height: 1.76; color: var(--cv-text-mute);
  margin: 0; max-width: 660px; text-wrap: pretty;
}
.pt-body strong { color: var(--cv-blue-dark); font-weight: 700; }

.pt-highlight {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.01em; color: var(--accent-ink);
}
.pt-highlight .hl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* the cooperation tile — concrete „what we do together“ */
.pt-coop {
  position: relative; margin: 6px 0 0;
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  padding: 24px 26px 26px;
}
.pt-coop-label {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink);
}
.pt-coop-label .d { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.pt-coop blockquote {
  margin: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; line-height: 1.5; letter-spacing: -0.01em;
  color: var(--cv-blue-dark); text-wrap: pretty;
}

/* per-partner accents (brand tokens preferred) */
.pt-panel.--terratax {
  --accent: var(--cv-blue-dark); --accent-ink: var(--cv-blue-dark);
  --accent-tint: rgba(39,53,95,0.055); --accent-line: rgba(39,53,95,0.16);
}
.pt-panel.--paymi {
  --accent: var(--cv-orange); --accent-ink: #C24405;
  --accent-tint: rgba(244,97,12,0.07); --accent-line: rgba(244,97,12,0.20);
}
.pt-panel.--steinbacher {
  --accent: #4E8A9A; --accent-ink: #3C7080;
  --accent-tint: rgba(78,138,154,0.09); --accent-line: rgba(78,138,154,0.24);
}
.pt-panel.--sbk {
  --accent: #72BAD3; --accent-ink: #3E7E97;
  --accent-tint: rgba(114,186,211,0.12); --accent-line: rgba(114,186,211,0.30);
}

/* hero chip badges */
.pt-hero-chip .b { background: rgba(255,255,255,0.16); }
.pt-hero-chip.--terratax .b { background: var(--cv-blue-light); color: var(--cv-blue-dark); }
.pt-hero-chip.--paymi .b { background: var(--cv-orange); }
.pt-hero-chip.--steinbacher .b { background: #4E8A9A; }
.pt-hero-chip.--sbk .b { background: #72BAD3; color: var(--cv-blue-dark); font-size: 9px; }

/* ───────────── Closing note ───────────── */
.pt-note { background: var(--cv-gray); padding: 80px 0; }
.pt-note-card {
  max-width: 880px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--cv-line); border-radius: 24px; padding: 48px 44px;
}
.pt-note-card h2 { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--cv-blue-dark); margin: 0 0 14px; letter-spacing: -0.02em; }
.pt-note-card h2 .hl { color: var(--cv-orange); }
.pt-note-card p { font-size: 16px; line-height: 1.65; color: var(--cv-text-mute); margin: 0 auto 26px; max-width: 620px; }

/* ───────────── Responsive ───────────── */
@media (max-width: 1040px) {
  .pt-detail { padding-left: 0; margin-top: 24px; }
  .pt-cols { gap: 38px; }
}
@media (max-width: 980px) {
  .pt-title { font-size: 46px; }
  .pt-num { font-size: 64px; }
  .pt-pname { font-size: 36px; }
  .pt-logo { margin-left: 0; width: 180px; height: 80px; }
}
@media (max-width: 680px) {
  .pt-cols { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  /* mobile: drop the zoom entirely — every partner full-size, full-color,
     stacked as clearly separated editorial sections */
  .pt-focus { padding: 56px 0 16px; }
  .pt-stage { margin-top: 4px; }
  .pt-slot { min-height: 0; padding: 0; display: block; }
  .pt-panel {
    width: 100%;
    padding: 0 32px; box-sizing: border-box;
    transform: none; opacity: 1; filter: none; transition: none;
  }
  .pt-panel.is-focus { transform: none; }
  .pt-panel-inner { padding: 34px 0 38px; }
  .pt-slot + .pt-slot .pt-panel-inner { border-top: 1px solid var(--cv-line); }

  /* head: number left, logo right, name full-width below */
  .pt-panel-head {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "num logo" "text text";
    align-items: center;
    row-gap: 16px; column-gap: 16px;
  }
  .pt-num { grid-area: num; font-size: 44px; }
  .pt-logo {
    grid-area: logo; margin: 0;
    width: 128px; height: 60px;
    padding: 9px 14px; border-radius: 10px;
  }
  .pt-head-text { grid-area: text; padding-top: 0; }
  .pt-tag { font-size: 11px; margin-bottom: 8px; }
  .pt-pname { font-size: 29px; gap: 10px; }
  .pt-pfull { font-size: 15px; }

  .pt-detail { opacity: 1; transform: none; transition: none; margin-top: 18px; padding-left: 0; }
  .pt-body { font-size: 16px; line-height: 1.7; }
  .pt-highlight { margin-top: 18px; font-size: 13.5px; align-items: flex-start; }
  .pt-highlight .hl-dot { margin-top: 5px; }
  .pt-coop { padding: 20px 20px 22px; border-radius: 14px; }
  .pt-coop blockquote { font-size: 16px; }
}
@media (max-width: 560px) {
  .pt-hero { padding: 44px 0 60px; }
  .pt-hero .cv-breadcrumb { margin-bottom: 26px; }
  .pt-eyebrow { font-size: 11.5px; margin-bottom: 16px; }
  .pt-title { font-size: 33px; margin-bottom: 18px; }
  .pt-lead { font-size: 16.5px; }
  .pt-hero-strip { margin-top: 28px; gap: 9px; }
  .pt-hero-chip { font-size: 12.5px; padding: 7px 13px 7px 9px; gap: 8px; }
  .pt-hero-chip .b { width: 21px; height: 21px; font-size: 10px; border-radius: 6px; }
  .pt-focus-head .cv-section-sub { font-size: 15.5px; }
  .pt-note-card { padding: 36px 24px; }
}

/* reduced motion: show every partner fully, no scaling/fading */
.pt-focus.is-static .pt-slot { min-height: 0; padding: 16px 0; }
.pt-focus.is-static .pt-panel {
  transform: none; opacity: 1; filter: none; transition: none;
}
.pt-focus.is-static .pt-detail { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  .pt-slot { min-height: 0; }
  .pt-panel { transform: none !important; opacity: 1 !important; filter: none !important; transition: none !important; }
  .pt-detail { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print {
  .pt-slot { min-height: 0; }
  .pt-panel { transform: none !important; opacity: 1 !important; filter: none !important; }
  .pt-detail { opacity: 1 !important; transform: none !important; }
}
