/* ---- Teilen-Funktion (14.11.2026): dezent, einfarbig, ohne Animation. Ohne JavaScript bleiben die Links als Zeile sichtbar. ---- */
.teilen { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: .15rem .6rem; font: 500 .72rem/1 var(--font-sans, Inter, system-ui, sans-serif); color: #5b5b5b; }
.byline .teilen { margin-left: auto; }
.teilen-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .2rem; min-height: 2rem; background: none; border: 0; color: inherit; font: inherit; letter-spacing: .02em; cursor: pointer; }
.teilen-btn:hover { color: #1a1a1a; }
.teilen :is(.teilen-btn, .teilen-menu a, .teilen-menu button):focus-visible { outline: 2px solid #3f3ccf; outline-offset: 2px; border-radius: 2px; }
.teilen:not([data-js]) .teilen-btn { display: none; }
.teilen:not([data-js]) .teilen-menu { display: inline-flex; gap: .8rem; }
.teilen:not([data-js]) .teilen-menu::before { content: "Teilen:"; }
.teilen[data-js] .teilen-menu { display: none; position: absolute; right: 0; top: 100%; z-index: 20; min-width: 10rem; padding: .25rem 0; background: #fff; border: 1px solid #dcdad3; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.teilen[data-js][data-offen] .teilen-menu { display: flex; flex-direction: column; }
.teilen-menu a, .teilen-menu button { display: block; padding: .55rem .9rem; background: none; border: 0; text-align: left; font: inherit; font-size: .82rem; color: #1a1a1a; text-decoration: none; cursor: pointer; }
.teilen-menu a:hover, .teilen-menu button:hover { background: #f4f2ec; }
.teilen-status { font-size: .72rem; color: #1a7f37; }
.teilen[data-js] .teilen-status { position: absolute; right: 0; top: 100%; white-space: nowrap; margin-top: .1rem; }
.teilen-ende { margin-top: 1rem; padding-top: .6rem; border-top: 1px solid #e4e1d8; display: flex; justify-content: flex-end; }
.teilen-ende .teilen[data-js] .teilen-menu { top: auto; bottom: 100%; }
.teilen-ende .teilen[data-js] .teilen-status { top: auto; bottom: 100%; }
@media (max-width: 639px) { .byline .teilen { margin-left: 0; } }
.teilen:not([data-js]) .teilen-menu button { display: none; }
