/*
 BUECHLER MUSIKPRODUKTION - SITE OPTIMIERUNG
 WICHTIG:
 - keine .bmp-sidebar
 - keine .bmp-side-link
 - keine .bmp-mobile-menu-btn
 - keine Menü-Überschreibung
*/

:root{
    --bmp-opt-green:#1ed760;
    --bmp-opt-green-soft:rgba(30,215,96,.12);
    --bmp-opt-border:rgba(255,255,255,.10);
    --bmp-opt-panel:#121212;
    --bmp-opt-panel2:#181818;
    --bmp-opt-muted:#b3b3b3;
}

html{
    scroll-behavior:smooth;
}

body{
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}

main,
.wrap,
.content,
.page,
.page-content{
    overflow-wrap:anywhere;
}

a,
button,
input,
select,
textarea{
    -webkit-tap-highlight-color:transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
    outline:3px solid rgba(30,215,96,.42) !important;
    outline-offset:3px !important;
}

.card{
    border-color:var(--bmp-opt-border) !important;
    box-shadow:0 18px 55px rgba(0,0,0,.28);
}

.card:hover{
    border-color:rgba(30,215,96,.22) !important;
}

.hero{
    min-height:190px;
    position:relative;
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at 14% 16%, rgba(255,255,255,.09), transparent 12rem),
        radial-gradient(circle at 86% 18%, rgba(30,215,96,.12), transparent 18rem);
}

.hero > *{
    position:relative;
    z-index:2;
}

.hero h1{
    text-wrap:balance;
}

.hero p{
    text-wrap:pretty;
}

.btn,
button,
input[type="submit"]{
    user-select:none;
    transition:transform .14s ease, background .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease !important;
}

.btn:hover,
button:hover,
input[type="submit"]:hover{
    transform:translateY(-1px);
}

.btn:active,
button:active,
input[type="submit"]:active{
    transform:translateY(0) scale(.99);
}

.table-wrap{
    border-radius:18px;
    overflow:auto;
}

.table-wrap table{
    border-collapse:separate !important;
    border-spacing:0 !important;
}

.table-wrap tbody tr{
    transition:background .14s ease;
}

.table-wrap tbody tr:hover{
    background:rgba(30,215,96,.045) !important;
}

.badge{
    white-space:nowrap;
}

.tracks-grid,
.track-list-grid,
.bmp-compact-track-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,280px));
    gap:14px;
    align-items:start;
}

.track-card,
.track-item-card,
.bmp-track-card{
    max-width:280px;
    padding:10px !important;
    gap:8px !important;
    border-radius:18px !important;
    position:relative;
    overflow:hidden;
}

.track-card::before,
.track-item-card::before,
.bmp-track-card::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), transparent 32%),
        radial-gradient(circle at top right, rgba(30,215,96,.08), transparent 11rem);
    opacity:.9;
}

.track-card > *,
.track-item-card > *,
.bmp-track-card > *{
    position:relative;
    z-index:2;
}

.cover,
.cover-wrap,
.bmp-track-cover,
.detail-cover{
    border-radius:14px !important;
    overflow:hidden !important;
    background:
        radial-gradient(circle at 24% 20%, rgba(255,255,255,.16), transparent 18%),
        linear-gradient(135deg, #181818 0%, #080808 48%, rgba(30,215,96,.82) 100%) !important;
}

.cover img,
.cover-wrap img,
.bmp-track-cover img,
.detail-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    filter:saturate(1.04) contrast(1.03);
}

.bmp-track-cover{
    aspect-ratio:1 / .62 !important;
    min-height:118px !important;
    max-height:155px !important;
}

.track-title,
.bmp-track-card h2{
    font-size:18px !important;
    line-height:1.1 !important;
    margin:0 !important;
}

.track-artist{
    font-size:12px !important;
    line-height:1.2 !important;
    margin:0 !important;
}

.track-meta-row{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
}

.track-card audio,
.track-item-card audio,
.bmp-track-card audio{
    width:100%;
    min-height:38px;
}

audio{
    width:100%;
}

audio::-webkit-media-controls-panel{
    background-color:#181818;
}

.bmp-now-playing{
    box-shadow:
        0 0 0 1px rgba(30,215,96,.34),
        0 20px 70px rgba(30,215,96,.10) !important;
}

.bmp-now-playing .track-title,
.bmp-now-playing h2{
    color:var(--bmp-opt-green) !important;
}

.bmp-page-tools{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin:0 0 18px;
}

.bmp-page-tools .btn{
    min-height:38px;
}

.bmp-empty{
    padding:22px;
    border:1px dashed rgba(255,255,255,.16);
    border-radius:18px;
    background:rgba(255,255,255,.035);
    color:var(--bmp-opt-muted);
}

.bmp-info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
    gap:12px;
}

.bmp-info-tile{
    display:grid;
    gap:6px;
    padding:16px;
    border-radius:18px;
    border:1px solid var(--bmp-opt-border);
    background:
        radial-gradient(circle at top right, rgba(30,215,96,.10), transparent 12rem),
        var(--bmp-opt-panel);
}

.bmp-info-tile strong{
    font-size:24px;
}

.bmp-info-tile span{
    color:var(--bmp-opt-muted);
    font-size:13px;
}

@media(max-width:720px){
    .hero{
        padding:22px !important;
        border-radius:24px !important;
    }

    .hero h1{
        font-size:clamp(32px, 12vw, 52px) !important;
        letter-spacing:-1.6px !important;
    }

    .tracks-grid,
    .track-list-grid,
    .bmp-compact-track-grid{
        grid-template-columns:1fr !important;
    }

    .track-card,
    .track-item-card,
    .bmp-track-card{
        max-width:none !important;
    }

    .actions{
        gap:8px !important;
    }

    .actions .btn,
    .actions button{
        width:100%;
        justify-content:center;
    }
}
