/* === Teilen-Panel (includes/share-panel.php) - Shariff-Prinzip, keine Plattform-SDKs/Pixel === */
.share-panel { display: block; }
.share-panel__toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; box-sizing: border-box; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--border-1, #dfe6ec); background: var(--surface-0, #fff);
  color: var(--brand-navy, #01426a); font: 700 0.95rem var(--font-body, system-ui, sans-serif);
  cursor: pointer; list-style: none; user-select: none;
}
.share-panel__toggle::-webkit-details-marker { display: none; }
.share-panel__toggle:hover { background: #f3f7fb; }
.share-panel__toggle svg { width: 18px; height: 18px; }
.share-panel[open] .share-panel__toggle { border-color: var(--brand-navy, #01426a); }

.share-panel__body { margin-top: 10px; }

/* Kleine quadratische Plattform-Buttons mit Logo */
.share-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; color: #fff;
  transition: transform .15s ease, filter .15s ease;
}
.share-ico svg { width: 22px; height: 22px; }
.share-ico:hover { transform: translateY(-1px); filter: brightness(1.08); }
.share-ico:focus-visible { outline: 2px solid var(--brand-gold, #F5C518); outline-offset: 2px; }
.share-ico--fb   { background: #1877f2; }
.share-ico--wa   { background: #25d366; }
.share-ico--x    { background: #000; }
.share-ico--tg   { background: #229ed9; }

/* Funktionale Aktionen (beschriftet) */
.share-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-1, #dfe6ec);
  background: var(--surface-0, #fff); color: var(--brand-navy, #01426a);
  font: 600 0.9rem var(--font-body, system-ui, sans-serif); text-decoration: none;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.share-btn:hover { background: #f3f7fb; transform: translateY(-1px); }
.share-btn.is-copied { background: #e8f7ee; border-color: #bfe6cd; color: #1c6b3c; }
/* [hidden] muss greifen, obwohl .share-btn display setzt (sonst zeigt das native Teilen auch ohne Web-Share-API) */
.share-btn[hidden] { display: none; }
.share-btn--native { background: var(--brand-gold, #F5C518); border-color: var(--brand-gold, #F5C518); color: #14233a; }
.share-btn--native:hover { background: #ffd43b; }
