/* ============================================================
   partner.css: LocalLoop /partner (Badge für Partner-Lokale)
   ------------------------------------------------------------
   Baut auf contact.css auf (Raster, Hero, H1/H2, Knopf, CTA).
   Hier nur die Teile der Partner-Seite: Badge-Karten,
   Download-Links, Code-Felder mit Kopieren-Knopf, Anleitungen.
   ============================================================ */

.pt-lead {
  margin: clamp(28px, 3vw, 40px) 0 0;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.5;
}
.pt-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3vw, 40px);
}
.pt-hero-badges img { height: 56px; width: auto; }

.pt-h2 { max-width: none; }
.pt-text { margin: 0 0 clamp(24px, 3vw, 32px); max-width: 60ch; }
.pt-note {
  margin: 20px 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ll-muted);
}

/* Badge-Karten */
.pt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pt-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ll-line);
}
.pt-card img {
  height: 56px;
  width: auto;
  margin: 40px auto;
}
.pt-card--light { background: var(--ll-light); }
.pt-card--dark { background: var(--ll-dark); }
.pt-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid var(--ll-line);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.pt-dl { display: flex; gap: 8px; }
.pt-dl a {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--ll-dark);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.pt-dl a:hover { background: var(--ll-dark); color: #fff; }

/* Code-Felder */
.pt-code {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-radius: 14px;
  background: var(--ll-light);
  border: 1px solid var(--ll-line);
}
.pt-code code,
.pt-code pre {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.pt-code--block { align-items: flex-start; }
.pt-code pre { white-space: pre-wrap; }
.pt-copy {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ll-dark);
  color: #fff;
  cursor: pointer;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: background .18s ease;
}
.pt-copy.is-done { background: #1f7a3f; }

/* Anleitungen je Baukasten */
.pt-steps { display: grid; gap: 10px; }
.pt-step {
  border-radius: 14px;
  background: var(--ll-light);
  border: 1px solid var(--ll-line);
}
.pt-step summary {
  cursor: pointer;
  padding: 16px 20px;
  font-family: "Sora", "Geist", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
}
.pt-step summary::-webkit-details-marker { display: none; }
/* Plus/Minus wie bei der FAQ der Startseite */
.pt-step summary .plus { margin-left: auto; position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.pt-step summary .plus::before, .pt-step summary .plus::after { content: ""; position: absolute; background: var(--ll-dark); transition: transform .2s ease; }
.pt-step summary .plus::before { top: 7px; left: 0; width: 16px; height: 2px; }
.pt-step summary .plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.pt-step[open] summary .plus::after { transform: scaleY(0); }
.pt-step ol { margin: 0; padding: 0 24px 18px 40px; }
.pt-step li { margin: 6px 0; }

/* CTA ohne Bild: gleiches Raster wie die anderen Abschnitte */
.pt-cta {
  grid-template-columns: minmax(140px, 1fr) minmax(0, 760px) minmax(140px, 1fr);
  column-gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.pt-cta .ct-body { grid-column: 2; }
.pt-cta-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.pt-textlink {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .pt-cta { grid-template-columns: 1fr; }
  .pt-cta .ct-body { grid-column: 1; }
}
@media (max-width: 600px) {
  .pt-grid { grid-template-columns: 1fr; }
  .pt-code { flex-direction: column; align-items: stretch; }
  .pt-copy { align-self: flex-start; }
}
