/* Black Forest Base – Musikplayer im Peter-Reimtgut-Kasten */
.bfb-player{display:flex;align-items:center;gap:18px;padding:16px 18px;background:#1a231c;border:1px solid #4d5f47;position:relative;overflow:hidden}
.bfb-player:before{content:'';position:absolute;inset:0;background:radial-gradient(120% 140% at 0% 50%,#c2cfa61a,transparent 60%);pointer-events:none}
.bfb-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#peter-music-toggle.bfb-play{flex:none;width:56px;height:56px;min-height:56px;padding:0;border-radius:50%;justify-content:center;background:var(--sage);border:0;color:var(--ink);position:relative;box-shadow:0 0 0 0 #c2cfa655;transition:transform .2s,background .2s,box-shadow .3s}
#peter-music-toggle.bfb-play:hover{transform:scale(1.05);background:#d0dbb8}
.bfb-play .music-symbol{font-size:0;width:auto}
.bfb-play .music-symbol:before{content:'';display:block;margin-left:4px;border-style:solid;border-width:9px 0 9px 15px;border-color:transparent transparent transparent currentColor}
.is-playing .bfb-play .music-symbol:before{margin:0;width:14px;height:18px;border:0;background:linear-gradient(to right,currentColor 0 5px,transparent 5px 9px,currentColor 9px 14px)}
.is-playing #peter-music-toggle.bfb-play{animation:bfbPulse 2.4s ease-out infinite}
@keyframes bfbPulse{0%{box-shadow:0 0 0 0 #c2cfa666}70%{box-shadow:0 0 0 14px #c2cfa600}100%{box-shadow:0 0 0 0 #c2cfa600}}
.bfb-track{flex:1;min-width:0;position:relative}
.bfb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.bfb-meta{display:flex;flex-direction:column;min-width:0}
.bfb-title{font-family:var(--serif);font-size:19px;line-height:1.2;letter-spacing:-.01em;color:var(--text)}
.bfb-artist{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--sage);margin-top:4px}
.bfb-eq{display:flex;align-items:flex-end;gap:3px;height:20px;flex:none}
.bfb-eq i{display:block;width:3px;height:4px;background:var(--sage);opacity:.45;transform-origin:bottom}
.is-playing .bfb-eq i{opacity:1;animation:bfbEq 1s ease-in-out infinite alternate}
.is-playing .bfb-eq i:nth-child(1){animation-duration:.9s}
.is-playing .bfb-eq i:nth-child(2){animation-duration:.6s;animation-delay:-.3s}
.is-playing .bfb-eq i:nth-child(3){animation-duration:1.1s;animation-delay:-.5s}
.is-playing .bfb-eq i:nth-child(4){animation-duration:.7s;animation-delay:-.2s}
.is-playing .bfb-eq i:nth-child(5){animation-duration:.95s;animation-delay:-.6s}
@keyframes bfbEq{0%{height:4px}100%{height:20px}}
.bfb-progress{display:flex;align-items:center;gap:10px;margin-top:12px}
.bfb-time{font-size:10px;font-variant-numeric:tabular-nums;color:var(--muted);min-width:30px}
.bfb-time:last-child{text-align:right}
#bfb-seek,.bfb-player #music-volume{-webkit-appearance:none;appearance:none;flex:1;min-width:0;height:18px;margin:0;background:transparent;cursor:pointer;--p:0%}
#bfb-seek::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,var(--sage) var(--p),#ffffff26 var(--p))}
#bfb-seek::-moz-range-track{height:3px;background:linear-gradient(to right,var(--sage) var(--p),#ffffff26 var(--p))}
#bfb-seek::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;margin-top:-4px;border-radius:50%;background:var(--text);border:0;transition:transform .15s}
#bfb-seek::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:var(--text);border:0}
#bfb-seek:hover::-webkit-slider-thumb{transform:scale(1.25)}
.bfb-player .music-volume{display:flex;align-items:center;gap:10px;margin-top:6px;font-size:9px;color:var(--muted)}
.bfb-player .music-volume label{letter-spacing:.06em}
.bfb-player #music-volume{flex:0 1 120px;--p:20%}
.bfb-player #music-volume::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,#c2cfa6aa var(--p),#ffffff1f var(--p))}
.bfb-player #music-volume::-moz-range-track{height:2px;background:linear-gradient(to right,#c2cfa6aa var(--p),#ffffff1f var(--p))}
.bfb-player #music-volume::-webkit-slider-thumb{-webkit-appearance:none;width:9px;height:9px;margin-top:-3.5px;border-radius:50%;background:var(--sage);border:0}
.bfb-player #music-volume::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:var(--sage);border:0}
.bfb-player .music-volume output{width:31px;text-align:right}
#bfb-seek:focus-visible,.bfb-player #music-volume:focus-visible{outline:2px solid var(--sage);outline-offset:3px}
@media(min-width:651px) and (max-width:1150px){.bfb-player{padding:12px;gap:12px}#peter-music-toggle.bfb-play{width:46px;height:46px;min-height:46px}.bfb-title{font-size:16px}.bfb-player .music-volume{display:none}.bfb-progress{margin-top:8px}}
@media(max-width:650px){.bfb-player{padding:14px;gap:14px}#peter-music-toggle.bfb-play{width:50px;height:50px;min-height:50px}.bfb-title{font-size:17px}}
@media(prefers-reduced-motion:reduce){.is-playing .bfb-eq i,.is-playing #peter-music-toggle.bfb-play{animation:none}.is-playing .bfb-eq i{height:14px}}
#peter-music-player .project-music-label{display:none}.bfb-artist{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Farbakzent Holzton + Studiofoto im Hintergrund */
#bfb-seek::-webkit-slider-runnable-track{background:linear-gradient(to right,#c2cfa6 0,#d6a86a var(--p),#ffffff26 var(--p))}
#bfb-seek::-moz-range-track{background:linear-gradient(to right,#c2cfa6 0,#d6a86a var(--p),#ffffff26 var(--p))}
.bfb-eq i{background:linear-gradient(to top,#c2cfa6,#d6a86a)}
.bfb-artist{color:#d6b383}
.bfb-player:before{inset:-6%;background:url(assets/bilder/studio.jpg) center 40%/cover;filter:grayscale(1) contrast(1.15) blur(1.5px);opacity:.18;transition:opacity 1s ease}
.is-playing .bfb-player:before{opacity:.38}
.bfb-player:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#121a14f2 0,#121a14b8 45%,#121a14d9 100%);pointer-events:none}
.bfb-player>*{position:relative;z-index:1}
