/* Teilen-Tab am rechten Rand (nur Beitragsseiten) */
.teilen { position: fixed; right: 0; top: 42%; z-index: 99990; display: flex; align-items: center; transform: translateX(110%); transition: transform .6s cubic-bezier(.2,.9,.3,1.2); }
.teilen.da { transform: translateX(0); }
.teilen.wackel .teilen-tab { animation: teilen-wackel 1.1s ease-in-out; }
.teilen.wackel .teilen-tab::after { animation: teilen-puls 1.1s ease-out; }
@keyframes teilen-wackel { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-14px); } 40% { transform: translateX(0); } 60% { transform: translateX(-9px); } 80% { transform: translateX(0); } }
@keyframes teilen-puls { 0% { box-shadow: 0 0 0 0 rgba(204,163,119,.7); } 100% { box-shadow: 0 0 0 16px rgba(204,163,119,0); } }
.teilen-tab { position: relative; width: 46px; height: 54px; border: 0; padding: 0; cursor: pointer; background: #cca377; color: #fff; border-radius: 12px 0 0 12px; box-shadow: -2px 2px 10px rgba(0,0,0,.25); font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.teilen-tab::after { content: ""; position: absolute; inset: 0; border-radius: 12px 0 0 12px; pointer-events: none; }
.teilen-tab:focus-visible, .teilen-knopf:focus-visible { outline: 3px solid #5a544d; outline-offset: 2px; }
.teilen-panel { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: 14px 0 0 14px; box-shadow: -2px 2px 14px rgba(0,0,0,.22); overflow: hidden; max-width: 0; padding: 10px 0; opacity: 0; visibility: hidden; transition: max-width .35s ease, padding .35s ease, opacity .25s ease, visibility 0s .35s; }
.teilen.offen .teilen-panel { max-width: 80px; padding: 10px 10px; opacity: 1; visibility: visible; transition: max-width .35s ease, padding .35s ease, opacity .25s ease; }
.teilen-knopf { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; border: 0; padding: 0; color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.teilen-knopf:hover { transform: scale(1.08); color: #fff; }
.teilen-knopf [class^="icon-"]::before { margin: 0; }
.k-wa { background: #25D366; } .k-fb { background: #1877F2; } .k-ig { background: linear-gradient(45deg,#f09433,#dc2743 55%,#bc1888); }
.k-tg { background: #229ED9; } .k-mail { background: #7a7e83; } .k-link { background: #5a544d; } .k-nativ { background: #cca377; }
.teilen-hinweis { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: #2c3338; color: #fff; padding: 10px 18px; border-radius: 22px; font-size: 14px; max-width: 90vw; text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 99991; }
.teilen-hinweis.zeigen { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) { .teilen { top: 55%; } .teilen-tab { width: 42px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .teilen, .teilen-panel { transition: none; } .teilen.wackel .teilen-tab, .teilen.wackel .teilen-tab::after { animation: none; } }
@media print { .teilen, .teilen-hinweis { display: none; } }
