/* ========================================================== */
/* midiart - MASTER STYLESHEET (Final Verified Version)       */
/* ROCK SOLID EDITION + 100px Gradient & Full-Width Sidebar   */
/* ========================================================== */

/* --- 1. BASIS-LAYOUT --- */
html {
    scroll-behavior: smooth;
}

html, body {
    -webkit-overflow-scrolling: touch; 
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0; 
    padding: 0;
    background: #f4f4f4; 
    color: #320066; 
}

.wrapper { 
    display: grid; 
    grid-template-areas: 
        "h h h" 
        "n m s"; 
    grid-template-columns: 130px 1fr 180px; 
    max-width: 1600px; 
    margin: 0 auto; 
    background: white; 
    box-shadow: 0 0 25px rgba(0,0,0,0.15); 
}

/* --- 2. STICKY HEADER (EXAKT 100px) --- */
header { 
    grid-area: h; 
    
    height: 100px; /* HART 100px */
    box-sizing: border-box;
    
    background: #ffffff; /* Fallback */
    /* Exakt 100 Pixel hoch! Danach wird es fest wei?. */
    background: linear-gradient(
        to bottom, 
        #2300A5 0px, 
        #110052 15px, 
        #110052 100px, 
        #ffffff 100px
    );
    
    padding: 0; 
    border-bottom: 1px solid rgba(50, 0, 102, 0.15); 
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15); 
    
    -webkit-transform: translate3d(0,0,0); 
    transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
    will-change: transform;
}

.header-top-row { 
    display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; 
    height: 100px; /* F?llt den 100px Header exakt aus */
    padding: 0 15px 0 0; gap: 15px;
}

.header-logo { 
    width: 130px; height: 100px; /* Box exakt 100px hoch */
    flex-shrink: 0; display: flex; align-items: center; 
}
.header-logo img { width: 125px; height: auto; display: block; border: 0; }

.search-section { flex: 1 1 auto; max-width: 550px; margin: 0; min-width: 150px; position: relative; }

.search-input-group { 
    display: flex; background-color: #FFFFFF; border-radius: 20px; 
    border: 2px solid #320066; overflow: hidden; height: 38px; width: 100%;
    transition: box-shadow 0.3s ease;
}
.search-input-group:focus-within { box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); } 
.search-input-group input { padding: 0 15px; flex: 1 1 auto; border: 0; outline: none; font-size: 10pt; width: 100%; min-width: 50px; }

.search-submit-icon { 
    flex: 0 0 45px; border: 0; background: #e9ecef; cursor: pointer; 
    display: flex; justify-content: center; align-items: center; transition: background 0.2s;
    border-left: 1px solid #ccc;
}
.search-submit-icon:hover { background: #d3d9df; }

#search_suggest { position: absolute; top: 100%; left: 0; background-color: rgba(255,255,255,0.95); backdrop-filter: blur(8px); text-align: left; border: 1px solid #320066; border-radius: 4px; z-index: 1100; width: 100%; box-shadow: 0px 8px 20px rgba(0,0,0,0.4); max-height: 250px; overflow-y: auto; margin-top: 5px; }
.suggest_link { font-size: 11px !important; color: #000 !important; padding: 6px 15px; border-bottom: 1px solid #eee; cursor: pointer; display: block; transition: all 0.2s; }
.suggest_link:hover, .suggest_link.active { background-color: #320066 !important; color: #FFFFFF !important; outline: none; padding-left: 20px; }

.right-cockpit { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; flex-shrink: 0; }
.lang-switch { font-size: 11px; font-weight: bold; margin-bottom: 4px; color: #FFFFFF; } 
.lang-switch a { color: #FFFFFF; text-decoration: none; padding: 0 2px; transition: color 0.2s; }
.lang-switch a:hover { color: #FF0000; }
.nav-section { display: flex; gap: 5px; align-items: center; }

.nav-square {
    position: relative; width: 50px; height: 50px;
    background: linear-gradient(135deg, #C00000 0%, #800000 100%);
    border: 1px solid #600000; border-radius: 8px; 
    color: #FFFFFF; text-shadow: 1px 1px 2px rgba(0,0,0,0.9); text-decoration: none; 
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    font-size: 11px; font-weight: bold; line-height: 1.05; cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5); box-sizing: border-box; padding: 2px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.nav-square:hover { transform: translateY(-2px) scale(1.05); background: #C00000; box-shadow: 0 6px 15px rgba(192,0,0,0.6); }
.nav-square:active { transform: translateY(1px) scale(0.98); }
.nav-square svg { width: 16px; height: 16px; margin-bottom: 1px; fill: #FFFFFF; }
.nav-square { overflow: hidden; }
.nav-square::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: rotate(45deg); transition: 0.3s; pointer-events: none;
}
.nav-square:hover::after { left: 0; top: 0; }

.cart-badge { position: absolute; top: -6px; right: -6px; background-color: #FF0000; color: #FFFFFF; font-size: 10px; font-weight: 900; padding: 2px 6px; border-radius: 10px; border: 2px solid #FFFFFF; box-shadow: 0 2px 4px rgba(0,0,0,0.4); z-index: 10; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }

.hamburger-btn { display: none; background: none; border: none; color: #FFFFFF; font-size: 32px; cursor: pointer; padding: 0 5px; flex-shrink: 0; transition: transform 0.2s; }
.hamburger-btn:active { transform: scale(0.9); }

.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; right: 0; background-color: rgba(255,255,255,0.95); backdrop-filter: blur(8px); min-width: 210px; box-shadow: 0px 8px 16px rgba(0,0,0,0.3); z-index: 1200; border: 1px solid #C00000; max-height: 450px; overflow-y: auto; border-radius: 8px; animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { color: #333; padding: 8px 12px; text-decoration: none; display: block; font-size: 11px; border-bottom: 1px solid #eee; transition: background 0.2s, padding-left 0.2s; }
.dropdown-content a:hover { background-color: #FFF0F0; color: #C00000; padding-left: 16px; }

/* --- 3. LINKE NAVIGATION (FULL WIDTH & KOMPAKT) --- */
.left-nav { 
    grid-area: n; background-color: #fcfdfe; 
    border-right: 1px solid rgba(0,0,102,0.06); min-height: 100vh;
    display: flex; flex-direction: column; width: 130px; 
    padding: 10px 0;
    box-sizing: border-box;
}

.nav-menu { width: 100%; display: flex; flex-direction: column; padding: 0; margin-top: 5px; }

.nav-item {
    display: flex; align-items: center; gap: 6px;
    color: #4B456C; text-decoration: none; 
    font-size: 12.5px; 
    font-weight: 700;
    padding: 8px 10px; 
    margin: 3px 6px; 
    border-radius: 8px; 
    box-sizing: border-box; white-space: nowrap; 
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); 
}
.nav-item:hover { 
    background-color: rgba(198, 8, 12, 0.05); 
    color: #C6080C; 
    padding-left: 14px; 
}
.nav-icon { width: 20px; display: inline-block; text-align: center; font-style: normal; font-size: 1.1rem; color: #666; filter: grayscale(100%); transition: filter 0.2s, color 0.2s; margin-right: 4px; }
.nav-item:hover .nav-icon { filter: grayscale(0%); color: #C6080C; }

.legal-box { 
    margin-top: 15px; margin-bottom: 5px; 
    padding: 0 16px; width: 100%; box-sizing: border-box; 
    background: none; border-radius: 0; 
}
.legal-link { display: block; color: #71717a; text-decoration: none; margin-bottom: 6px; font-size: 11px; font-weight: 700; white-space: nowrap; transition: color 0.2s, opacity 0.2s; }
.legal-link:hover { color: #C6080C; text-decoration: none; opacity: 1; }
.legal-link:last-child { margin-bottom: 0; }

/* --- 4. MITTE & CHARTS --- */
main { grid-area: m; padding: 20px 30px; min-height: 600px; overflow-x: hidden; }

aside { grid-area: s; border-left: 1px solid #eee; padding: 10px; background: #fff; box-sizing: border-box; position: relative; }
.chart-header { font-weight: bold; text-align: center; border-bottom: 2px solid rgba(198, 8, 12, 0.2); margin-bottom: 10px; padding-bottom: 5px; color: #320066; font-size: 11px; text-transform: uppercase; }

/* In _Charts3.pl inline styles, charts-container will need absolute positioning. We override it here just in case */
.charts-container {
    position: absolute;
    top: 40px; /* space for chart-header */
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: auto !important;
    overflow: hidden;
}

/* --- CHARTS & SIDEBAR PLAYER --- */
.play-box-red {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #C00000 0%, #800000 100%);
    border: 1px solid #600000; color: #FFFFFF; cursor: pointer;
    width: 28px; height: 24px; flex-shrink: 0; border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); transition: transform 0.2s, box-shadow 0.2s;
}
.play-box-red:hover { background: #C00000; transform: scale(1.1); box-shadow: 0 4px 8px rgba(192,0,0,0.3); }
.play-box-red:active { transform: scale(0.95); }
.play-box-red.playing-now { background: #00aa00; border-color: #007700; box-shadow: 0 0 10px rgba(0,170,0,0.6); }

.play-icon, .stop-icon { width: 14px; height: 14px; background-color: white; mask-size: cover; -webkit-mask-size: cover; }
.play-icon { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>'); }
.stop-icon { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 6h12v12H6z"/></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 6h12v12H6z"/></svg>'); }

.red-btn-square {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #C00000 0%, #800000 100%);
    border: 1px solid #600000; color: #FFFFFF; text-decoration: none; 
    height: 24px; flex-grow: 1; text-align: center;
    font-size: 10px; font-weight: bold; border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); gap: 4px; transition: transform 0.2s, box-shadow 0.2s;
}
.red-btn-square:hover { background: #C00000; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(192,0,0,0.3); }

/* --- Mobile Overlay Men? --- */
.mobile-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,15,0.4); backdrop-filter: blur(2px); z-index: 2999; opacity: 0; transition: opacity 0.3s ease; }
.mobile-overlay.open { display: block; opacity: 1; }

.mobile-menu {
    position: fixed; top: 0; left: 0; width: 280px; height: 100%;
    background: rgba(255, 255, 255, 0.70); 
    backdrop-filter: blur(8px) saturate(150%); -webkit-backdrop-filter: blur(8px) saturate(150%);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 3000; overflow-y: auto; display: flex; flex-direction: column;
    box-shadow: 5px 0 30px rgba(0,0,0,0.15); 
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    will-change: transform;
}
.mobile-menu.open { transform: translateX(0); }

.mob-header { display: flex; justify-content: space-between; align-items: center; background: rgba(17,0,82,0.65); color: white; padding: 15px 20px; font-size: 1.2rem; font-weight: bold; }
.mob-close { background: none; border: none; color: white; font-size: 24px; cursor: pointer; transition: transform 0.2s; }
.mob-close:hover { transform: rotate(90deg) scale(1.1); color: #C6080C; } 

.mob-action-grid { 
    display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; 
    gap: 4px; 
    padding: 8px 10px; border-bottom: 1px solid rgba(0,0,0,0.05); 
}
.mob-action-btn { 
    background: linear-gradient(135deg, #C00000 0%, #800000 100%); 
    color: white; text-decoration: none; 
    padding: 8px 2px; text-align: center; 
    border-radius: 4px; 
    font-weight: bold; font-size: 0.7rem; 
    box-shadow: 0 2px 5px rgba(192,0,0,0.2); transition: transform 0.2s; 
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.mob-action-btn svg { width: 18px; height: 18px; fill: #FFFFFF; } 
.mob-action-btn:active { transform: scale(0.95); }

.mobile-menu .nav-item {
    font-size: 14px; 
    padding: 10px 15px;
    margin: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    width: 100%;
}
.mobile-menu .nav-item:hover { 
    border-left: 4px solid #C6080C;
    padding-left: 20px;
}

/* ========================================================== */
/* --- 5. CORPORATE IDENTITY & CONTENT KOMPONENTEN ---        */
/* ========================================================== */

h1, h2, h3 { color: #330066; margin-top: 0; }
h1 { font-size: 1.5rem; margin-bottom: 0.6rem; border-bottom: 2px solid rgba(0,0,102,0.1); padding-bottom: 8px; }
h2 { font-size: 1.25rem; margin-top: 15px; margin-bottom: 0.8rem; }
h3 { font-size: 1.1rem; }

a { color: #C6080C; text-decoration: none; font-weight: bold; transition: color 0.2s; }
a:hover { text-decoration: none; color: #FF0000; }

.text-blue { color: #0000FF; }
.text-bold { font-weight: bold; }
.text-green { color: #28a745; font-weight: bold; }
.text-gold { color: #b8860b; font-weight: bold; }
.text-dark { color: #333333; }
.text-small { font-size: 0.85rem; color: #666666; }

.main-headline { text-align: center; font-size: 1.3rem; color: #000066; margin: 5px 0 20px 0; padding: 12px; background-color: #f0f4ff; border-radius: 8px; border-left: 6px solid #C6080C; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.page-header { background-color: #f0f4ff; padding: 12px 18px; border-left: 5px solid #0000FF; margin-bottom: 20px; border-radius: 0 8px 8px 0; }
.page-header h1 { border: none; padding: 0; margin: 0 0 5px 0; color: #333; font-size: 1.4rem; }
.page-header h2 { font-size: 1.1rem; color: #000; font-weight: bold; margin: 0; }

.card { background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.05); margin-bottom: 15px; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-header { padding: 12px 15px; border-bottom: 1px solid #f0f0f0; }
.card-header h3 { margin: 0; display: flex; align-items: center; }
.card-body { padding: 15px; flex-grow: 1; font-size: 0.95rem; line-height: 1.5; }
.card-body p { margin-bottom: 8px; margin-top: 0; }

.header-blue { border-bottom: 2px solid #007bff; background-color: #f8faff; }
.header-green { border-bottom: 2px solid #28a745; background-color: #f8fff9; }

.grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-layout-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 20px; }

.header-icon { color: #C6080C; margin-right: 10px; font-size: 1.3rem; font-weight: normal; }

.with-bullet { display: block; padding-left: 0; margin-bottom: 10px; }
.with-bullet::before { content: "\2022\00a0"; color: #C6080C; font-size: 1.2rem; font-weight: bold; display: inline; }

.standard-list { list-style: none; padding: 0; margin: 5px 0 15px 0; font-size: 0.95rem; }
.standard-list li { margin-bottom: 6px; padding-left: 22px; position: relative; color: #333; }
.standard-list li::before { content: "\2714"; position: absolute; left: 0; color: #0000FF; font-weight: bold; }

.info-block { background-color: #f8faff; padding: 15px; border-radius: 8px; border-left: 5px solid #330066; margin-bottom: 15px; font-size: 0.95rem; box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: transform 0.2s; }
.info-block.warning { background-color: #fff3cd; border-left-color: #ffc107; color: #856404; }
.info-block.success { background-color: #d4edda; border-left-color: #28a745; color: #155724; }

/* Preistabellen */
.pricing-container { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; margin-bottom: 20px; }
.pricing-card { flex: 1 1 300px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 15px rgba(0,0,0,0.05); border: 1px solid #eee; display: flex; flex-direction: column; transition: transform 0.3s; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.header-standard { background: linear-gradient(135deg, #28a745, #218838); color: #fff; text-align: center; padding: 15px; }
.header-premium { background: linear-gradient(135deg, #007bff, #0056b3); color: #fff; text-align: center; padding: 15px; }
.header-standard h3, .header-premium h3 { color: #fff; margin: 0; font-size: 1.2rem; }

.price-list { list-style: none; padding: 12px 15px; margin: 0; background-color: #f8f9fa; border-bottom: 1px solid #eee; }
.price-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dotted #ddd; font-size: 0.95rem; }
.price-list li:last-child { border-bottom: none; }
.price-highlight { font-weight: bold; color: #CC0000; font-size: 1.05rem; }

.feature-list { list-style: none; padding: 15px; margin: 0; font-size: 0.9rem; }
.feature-list li { margin-bottom: 8px; padding-left: 25px; position: relative; }
.feature-list li::before { content: '\2713'; position: absolute; left: 0; color: #28a745; font-weight: bold; font-size: 1.1rem; top: -2px; }
.premium-features li::before { color: #007bff; }

.mp3-prices { background-color: #f0f4ff; padding: 12px 15px; border-radius: 8px; margin: 15px 0; border-left: 5px solid #330066; font-size: 0.95rem; }
.price-tag-right { float: right; font-weight: bold; color: #330066; }

/* Datentabellen */
.table-responsive { overflow-x: auto; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; text-align: left; background: #fff; }
.data-table th, .data-table td { padding: 12px 10px; border-bottom: 1px solid #f0f0f0; }
.data-table th { color: #fff; font-weight: bold; background-color: #330066; }
.data-table tr { transition: background-color 0.2s; }
.data-table tr:hover { background-color: #f4f7ff; }

.mini-table { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.mini-table th, .mini-table td { padding: 4px 6px !important; text-align: center; }
.mini-table thead th { font-size: 0.75rem; text-transform: uppercase; }

.bg-black { background-color: #333 !important; }
.bg-std { background-color: #28a745 !important; }
.bg-prem { background-color: #0000FF !important; }
.bg-gold { background-color: #FFCC00 !important; color: #000 !important; }

/* Gold Banner */
.gold-banner { background: linear-gradient(135deg, #FFD700, #DFAE04); border-radius: 12px; padding: 20px; text-align: center; margin-top: 25px; box-shadow: 0 6px 20px rgba(223, 174, 4, 0.2); transition: transform 0.3s; }
.gold-banner:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(223, 174, 4, 0.4); }
.gold-banner a { color: #000; font-size: 1.25rem; text-decoration: none; border: none; }
.gold-banner a:hover { color: #fff; }
.gold-subtitle { font-size: 1rem; font-weight: bold; color: #000; margin-top: 5px; }
.gold-action { font-size: 1.05rem; color: #025B86; font-weight: bold; margin-top: 12px; display: inline-block; padding: 8px 16px; background: rgba(255,255,255,0.4); border-radius: 20px; transition: background 0.3s; }
.gold-action:hover { background: #fff; }

/* Formulare */
.form-container { background: #fff; padding: 25px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.form-group { display: flex; align-items: center; margin-bottom: 15px; font-size: 0.95rem; flex-wrap: wrap; }
.form-group label { width: 180px; font-weight: bold; flex-shrink: 0; color: #330066; margin-bottom: 5px; }
.form-group input[type="text"], .form-group input[type="password"], .form-group select { padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 0.95rem; width: 100%; max-width: 300px; transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: #007bff; box-shadow: 0 0 0 3px rgba(0,123,255,0.2); }

.checkbox-group { justify-content: flex-start; }
.checkbox-group input { margin-right: 12px; width: auto; transform: scale(1.2); cursor: pointer; }
.checkbox-group label { width: auto; font-weight: normal; cursor: pointer; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-cta, .btn-danger, .action-button {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 10px 20px; font-size: 0.95rem; font-weight: bold; border-radius: 8px; 
    cursor: pointer; text-decoration: none; border: none; text-align: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background 0.2s;
}
.btn-primary { background: #330066; color: #FFFFFF; box-shadow: 0 4px 10px rgba(51,0,102,0.2); }
.btn-primary:hover { background: #4d0099; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(51,0,102,0.3); color: #fff; }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary { background: #e9ecef; color: #333; }
.btn-secondary:hover { background: #d3d9df; transform: translateY(-1px); color: #000; }

.btn-cta { background: linear-gradient(135deg, #C00000 0%, #800000 100%); color: #FFFFFF; box-shadow: 0 4px 12px rgba(192,0,0,0.3); border-radius: 30px; }
.btn-cta:hover { background: #C00000; transform: scale(1.03) translateY(-2px); box-shadow: 0 8px 20px rgba(192,0,0,0.4); color: #fff; }
.btn-cta:active { transform: scale(0.98); }

.btn-danger { background: #dc3545; color: #fff; box-shadow: 0 2px 6px rgba(220,53,69,0.2); }
.btn-danger:hover { background: #c82333; transform: translateY(-2px); color: #fff; box-shadow: 0 6px 12px rgba(220,53,69,0.3); }

.action-button { background: #C6080C; padding: 12px 24px; font-size: 1rem; color: #FFFFFF; box-shadow: 0 4px 10px rgba(198,8,12,0.2); border-radius: 30px; }
.action-button:hover { background: #FF0000; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(198, 8, 12, 0.4); color: #FFFFFF; }
.action-button:active { transform: translateY(1px); }

.tyros-icon { 
    display: inline-block; background-color: #0055A5; color: #FFFFFF; 
    font-family: Arial, sans-serif; font-weight: 900; width: 18px; 
    height: 18px; line-height: 18px; text-align: center; border-radius: 4px; 
    font-size: 13px; cursor: default; vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3); 
    transition: transform 0.2s, background-color 0.2s;
}
.tyros-icon:hover { background-color: #003366; transform: scale(1.15) rotate(5deg); } 

.abc-links a { display: inline-block; padding: 8px 14px; margin: 4px; background: #fff; border-radius: 8px; text-decoration: none; color: #330066; font-family: monospace; font-size: 1rem; font-weight: bold; transition: all 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border: 1px solid #eee; }
.abc-links a:hover { background: #0000FF; color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,255,0.2); border-color: #0000FF; }

/* Seriennummern Box */
.serial-box { 
    display: inline-block; background: #fff; border: 1px dashed #ccc; padding: 6px 14px; 
    border-radius: 6px; font-family: Consolas, 'Liberation Mono', Menlo, monospace; 
    font-size: 1.15rem; color: #C6080C; font-weight: bold; margin-top: 5px; letter-spacing: 1.5px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

@keyframes blinker { 50% { opacity: 0.4; } }
.playing-now { animation: blinker 1.5s ease-in-out infinite !important; border-radius: 50%; box-shadow: 0 0 15px rgba(198, 8, 12, 0.8); }

.mt-10 { margin-top: 10px; } .mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; } .mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; } .text-right { text-align: right; }
.inline-block { display: inline-block; }
.flex-row { display: flex; justify-content: space-between; align-items: center; }
.clearfix::after { content: ""; clear: both; display: table; }

/* ========================================================== */
/* --- 6. KATALOG, LISTEN & CART BUTTONS ---                  */
/* ========================================================== */
.list-demo-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #00e5ff; color: #110052; padding: 0; border-radius: 50%;
    width: 32px; height: 32px; min-width: 32px; border: none; flex-shrink: 0;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.list-demo-badge svg { fill: #110052; width: 14px; height: 14px; margin-left:2px; display:block; }
.list-demo-badge:hover { transform: scale(1.1); box-shadow: 0 4px 8px rgba(0,229,255,0.4); }

@keyframes listBlinker { 50% { opacity: 0.6; box-shadow: 0 0 10px rgba(40,167,69,0.4); } }
.list-playing-now { animation: listBlinker 1.5s ease-in-out infinite !important; background: #e8f5e9 !important; border-color: #28a745 !important; color: #28a745 !important; }

.list-header-bar { display: flex; justify-content: space-between; align-items: center; padding: 0; }
.lh-title { flex: 1; text-align: left; margin:0; font-size:1.15rem; font-weight:bold; color:#330066; }
.lh-pager { flex: 1; display: flex; justify-content: center; align-items: center; gap: 12px; }
.lh-spacer { flex: 1; }

.pager-arrow {
    display: inline-flex; justify-content: center; align-items: center;
    width: 36px; height: 36px; background: transparent; border: none; outline: none; box-shadow: none;
    cursor: pointer; transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pager-arrow svg { width: 30px; height: 30px; fill: #0056b3; transition: fill 0.2s; }
.pager-arrow:hover { transform: scale(1.2); }
.pager-arrow:hover svg { fill: #C6080C; filter: drop-shadow(0 2px 4px rgba(198,8,12,0.2)); }
.pager-arrow:active { transform: scale(0.9); }
.pager-arrow.disabled { cursor: default; pointer-events: none; }
.pager-arrow.disabled svg { fill: #dcdcdc; }
.list-pagination { font-size: 1.1rem; font-weight: bold; color: #555; white-space: nowrap; background: #fff; padding: 4px 14px; border-radius: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }

.btn-cart-empty {
    display: inline-flex; align-items: center; justify-content: center;
    background: #a8a8d0; padding: 4px 0; width: 100%; max-width: 85px; margin: 0 auto;
    border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
    text-decoration: none; cursor: pointer; transition: all 0.2s; box-sizing: border-box; height: 28px;
}
.btn-cart-empty:hover { background: #9090c0; transform: translateY(-1px); box-shadow: 0 3px 6px rgba(0,0,0,0.15); }

.btn-cart-filled {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: linear-gradient(135deg, #C00000 0%, #800000 100%);
    padding: 4px 0; width: 100%; max-width: 85px; margin: 0 auto;
    border-radius: 20px; box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    text-decoration: none; cursor: pointer; transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s;
    box-sizing: border-box; height: 28px;
}
.btn-cart-filled:hover { transform: scale(1.08); box-shadow: 0 6px 12px rgba(192,0,0,0.3); color: #fff; }
.btn-cart-filled:active { transform: scale(0.95); }

.tswitch { position: relative; display: inline-block; width: 36px; height: 20px; margin: 0; vertical-align: middle; }
.tswitch input { opacity: 0; width: 0; height: 0; }
.tslider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 20px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.2); }
.tslider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 2px; background-color: white; transition: .4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.tswitch input:checked + .tslider { background-color: #28a745; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); }
.tswitch input:checked + .tslider:before { transform: translateX(16px); }

/* ========================================================== */
/* --- 7. MODAL / INFO-POPUP (AJAX) ---                       */
/* ========================================================== */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); z-index: 9999; justify-content: center; align-items: center; }
.modal-content { background: #fff; padding: 0; border-radius: 12px; width: 90%; max-width: 320px; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.3); animation: popModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal-close { position: absolute; top: 12px; right: 18px; font-size: 26px; cursor: pointer; color: #999; text-decoration: none; font-weight: bold; line-height: 1; transition: transform 0.2s, color 0.2s; }
.modal-close:hover { color: #C6080C; transform: rotate(90deg); }
@keyframes popModal { from {opacity:0; transform:scale(0.8) translateY(-30px);} to {opacity:1; transform:scale(1) translateY(0);} }

/* ========================================================== */
/* --- 8. SKELETON LOADING (KI DATEN) ---                     */
/* ========================================================== */
.skeleton-box {
    background: linear-gradient(90deg, #e0e0e0 25%, #f4f4f4 50%, #e0e0e0 75%);
    background-size: 200% 100%; animation: skeletonLoading 1.5s infinite linear;
    border-radius: 6px; height: 18px; width: 100%; display: inline-block; vertical-align: middle;
}
@keyframes skeletonLoading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ========================================================== */
/* --- 9. RESPONSIVE MEDIA QUERIES (MOBILE) ---               */
/* ========================================================== */
@media (max-width: 900px) {
    .wrapper { display: flex; flex-direction: column; }
    .left-nav, aside { display: none !important; }
    .right-cockpit { display: none !important; }
    header { height: auto; }
    .header-top-row { height: 60px; min-height: 60px; padding: 5px 10px; gap: 10px; flex-wrap: nowrap; justify-content: space-between; align-items: center; }
    .hamburger-btn { display: block; order: 1; flex-shrink: 0; }
    .search-section { order: 2; flex: 1 1 auto; margin: 0; min-width: 50px; max-width: none; }
    .header-logo { width: auto; height: auto; order: 3; flex-shrink: 0; display:flex; justify-content: flex-end; }
    .header-logo img { width: 95px; } 
    .search-input-group { height: 36px; }
    main { padding: 15px 10px; }
    .grid-layout, .grid-layout-2-1 { grid-template-columns: 1fr; }
    .flex-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    .mobile-footer { display: flex; justify-content: center; align-items: center; padding: 20px 10px; gap: 10px; background: #e0e6ed; color:#666; font-size: 0.85rem; border-top: 1px solid #ccc; flex-wrap: wrap; }
    .mobile-footer a { color: #320066; text-decoration: none; font-weight: bold; }
}

@media (min-width: 901px) {
    .mobile-footer { display: none !important; }
}

@media(max-width: 768px) {
    .list-header-bar { flex-direction: column; gap: 8px; }
    .lh-title, .lh-pager, .lh-spacer { flex: auto; text-align: center; justify-content: center; width: 100%; }
    .lh-spacer { display: none; }
    .list-pagination { font-size: 1rem; }
}

/* ========================================================== */
/* --- 10. PRINT STYLES ---                                   */
/* ========================================================== */
@media print {
    .left-nav, header, aside, .cart-actions, button, .hide-print, .hamburger-btn, .mobile-overlay, .mobile-menu { display: none !important; }
    .wrapper { display: block; box-shadow: none; max-width: 100%; }
    main { padding: 0; }
    body { background: white; color: black; animation: none; }
    a { color: black; text-decoration: underline; }
}

/* ========================================================== */
/* --- 11. KATEGORIE PILLS (GENRES & STILE) ---               */
/* ========================================================== */
.katalog-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    white-space: nowrap;
}

.pill-category {
    background: #f4f6fb;
    color: #2b3a55;
    border: 1px solid #dce4f0;
}
.pill-category:hover {
    background: #2b3a55;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 12px rgba(43,58,85,0.2);
    border-color: #2b3a55;
}

/* --- 12. CATEGORY WEIGHTING (HEARTBEAT / WABERN EFFECT) --- */
@keyframes pillHeartbeat {
    0% { transform: scale(1); box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
    50% { transform: scale(1.03); box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); border-color: rgba(255, 215, 0, 0.7); }
    100% { transform: scale(1); box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
}

.pill-bestseller {
    font-weight: 500 !important;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Gewichtung via Rahmenstaerke */
.pill-weight-2 { border-width: 2px !important; }
.pill-weight-3 { border-width: 3px !important; }

/* Versetzte Animationen fuer natuerlicheres Bild */
.pill-bestseller.hb-1 { animation: pillHeartbeat 3s ease-in-out infinite; }
.pill-bestseller.hb-2 { animation: pillHeartbeat 4s ease-in-out infinite 0.5s; }
.pill-bestseller.hb-3 { animation: pillHeartbeat 5s ease-in-out infinite 1s; }

.pill-bestseller:hover {
    animation-play-state: paused;
    transform: translateY(-3px) scale(1.05) !important;
}

/* ==========================================================================
   --- 12. STARTSEITE: ROCK SOLID MOCKUP REDESIGN (Klickbare Boxen, Mobile 2x2)
   ========================================================================== */

/* Felsenfeste Basis f?r die Kacheln - Schatten weicher, weniger pr?sent */
.fancy-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04); 
    border: 1px solid #f0f0f0;
    margin-bottom: 0;
    overflow: hidden;
}
a.fancy-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.fancy-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Akzentfarbe f?r Links in den Karten */
.fresh-purple { color: #3e1b99; font-weight: bold; text-decoration: none; display: inline-block; transition: opacity 0.2s; margin-top: 8px; }
.fresh-purple:hover { opacity: 0.8; text-decoration: underline; color: #3e1b99; }

/* === FRESH HERO BANNER (Dunkler Verlauf) === */
/* === FRESH HERO BANNER (20% kompakter) === */
/* === 2. FRESH HERO BANNER (Mit Studio-Hintergrundbild & Overlay) === */
.fresh-hero {
    /* Weniger Deckkraft (0.65, 0.55, 0.45) = Mehr Studio-Feeling! */
    background: linear-gradient(135deg, rgba(21, 6, 56, 0.65) 0%, rgba(42, 17, 107, 0.55) 50%, rgba(70, 31, 168, 0.45) 100%), 
                url('/img/heroback.jpg') center center / cover no-repeat; 
    padding: 32px 20px 52px 20px; 
    border-radius: 16px;
    position: relative;
    z-index: 1; 
    text-align: center;
    margin-bottom: 0;
    box-shadow: 0 8px 20px rgba(21, 6, 56, 0.25); 
}

.fresh-hero-tag { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1.5px; margin-bottom: 12px; color: #ffdc73; font-weight: 800; }
.fresh-hero h1 { color: #ffffff; margin: 0 0 12px 0; font-size: 1.8rem; border: none; padding: 0; line-height: 1.2; letter-spacing: -0.5px; }
.fresh-hero p { margin: 0 auto 20px auto; font-size: 1.05rem; color: #d6c6ff; max-width: 700px; line-height: 1.5; font-weight: normal; }

.btn-fresh-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(to bottom, #e11d48, #be123c); 
    color: #ffffff !important; font-size: 1.05rem; font-weight: 700; 
    padding: 10px 30px; border-radius: 50px; text-decoration: none; 
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4); 
    transition: all 0.2s ease; border: none;
}
.btn-fresh-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5); background: linear-gradient(to bottom, #f43f5e, #e11d48); color: #ffffff !important; text-decoration: none; }

/* === MEGA KI-SUCHE / PILLS IM HERO BANNER === */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
}

.ai-suggestions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 850px;
}
.ai-pill {
    background: rgba(255,255,255,0.1);
    color: #d6c6ff !important;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: normal;
    text-decoration: none;
    transition: all 0.2s;
    backdrop-filter: blur(5px);
}
.ai-pill:hover {
    background: #ffffff;
    color: #3e1b99 !important;
    transform: translateY(-2px);
    border-color: #ffffff;
}

/* === RASTER LOGIK (Mobile: 1x3, Desktop: 3x1) === */
.strict-grid-3 {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr; 
    align-items: stretch;
}
@media (min-width: 768px) {
    .strict-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* === RASTER LOGIK (Mobile: 2x2, Desktop: 4x1) === */
.strict-grid-4 {
    display: grid;
    gap: 12px; /* Mobil etwas kleiner */
    grid-template-columns: repeat(2, 1fr); /* Erzwungenes 2x2 Raster f?r Mobile! */
    align-items: stretch; 
}
@media (min-width: 1050px) {
    .strict-grid-4 { 
        grid-template-columns: repeat(4, 1fr); /* Ab Desktop 4 nebeneinander */
        gap: 15px; 
    } 
}

/* === DIE 4 INFO BOXEN (Oben & Unten) === */
/* === OVERLAP ANPASSUNG === */
.top-info-grid {
    position: relative;
    z-index: 10;          
    margin-top: -36px; /* Angepasst an kompakteren Banner */
    margin-bottom: 30px; 
    padding: 0 15px;
}

.service-grid {
    margin-bottom: 30px;
}

/* === CORE TABS & DYNAMIC DECK === */
.core-tabs { margin-bottom: 25px; }
@keyframes blingPan {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.core-tab {
    background: #ffffff;
    padding: 15px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    user-select: none;
    overflow: visible; /* Changed so the arrow can protrude! */
}
.core-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.core-tab.active {
    border-color: #3e1b99;
    box-shadow: 0 0 15px rgba(62,27,153,0.3);
}
.core-tab.active::after {
    content: none; /* Hidden on mobile by default to prevent overlap with other tabs */
}
@media (min-width: 1050px) {
    .core-tab.active::after {
        content: '';
        position: absolute;
        bottom: -15px; /* Extend slightly more to firmly touch the border */
        left: 50%;
        transform: translateX(-50%);
        border-width: 15px 15px 0; /* Make arrow a bit bigger */
        border-style: solid;
        border-color: #3e1b99 transparent transparent transparent;
        display: block;
        z-index: 20;
    }
}
.core-tab h4 { margin: 0 0 6px 0; font-size: 1rem; color: #111; font-weight: bold; line-height: 1.2; border: none; padding: 0; transition: color 0.3s ease; }
.core-tab p { margin: 0; font-size: 0.8rem; color: #666; line-height: 1.3; font-weight: normal; }
.core-tab.active h4 { color: #3e1b99; }

.deck-content {
    display: none !important;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.deck-content.active {
    display: grid !important;
    opacity: 1;
    animation: fadeInDeck 0.4s ease forwards;
    border: 1px solid rgba(62, 27, 153, 0.4);
    border-radius: 16px;
    padding: 20px;
    background: rgba(62, 27, 153, 0.02);
}

@keyframes fadeInDeck {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile First: Kompakte Boxen, damit 2 nebeneinander passen */
.top-info-box {
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(45deg, rgba(200,200,200,0.1) 0%, rgba(200,200,200,0.1) 35%, rgba(0, 242, 255, 0.5) 50%, rgba(255, 0, 85, 0.5) 65%, rgba(200,200,200,0.1) 100%) border-box;
    background-size: 300% 300%;
    animation: blingPan 4s linear infinite alternate;
    padding: 12px 8px; /* Sehr kompakt f?r Handy */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    text-align: center;
    border: 2px solid transparent;
    display: flex; flex-direction: column; align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important; 
    color: inherit !important; 
    font-weight: normal; 
    cursor: pointer;
    height: 100%;
    box-sizing: border-box;
}
.top-info-box:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 16px rgba(0,0,0,0.08); 
}

/* Farbige, weiche Icons */
.icon-circle { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 8px; flex-shrink: 0; }
.ic-pink { background: #ffe4e6; color: #e11d48; }
.ic-blue { background: #e0f2fe; color: #0284c7; }
.ic-green { background: #dcfce7; color: #16a34a; }
.ic-purple { background: #f3e8ff; color: #9333ea; }
.ic-orange { background: #fef3c7; color: #d97706; }

.top-info-box h4 { margin: 0 0 4px 0; font-size: 0.85rem; color: #111; font-weight: bold; line-height: 1.2; border: none; padding: 0; }
.top-info-box p { margin: 0; font-size: 0.75rem; color: #666; line-height: 1.3; font-weight: normal; }

/* Desktop Override f?r die Info-Boxen (wieder normal gro?) */
@media (min-width: 600px) {
    .top-info-box { padding: 15px 12px; }
    .icon-circle { width: 40px; height: 40px; font-size: 1.2rem; }
    .top-info-box h4 { font-size: 0.95rem; }
    .top-info-box p { font-size: 0.85rem; }
}

/* === TOOLS BEREICH (Revoicer & Mix Studio) === */
.tools-grid {
    display: grid;
    gap: 15px; 
    margin-bottom: 30px;
    align-items: stretch; /* WICHTIG: Damit beide Boxen exakt gleich hoch sind */
}
.tools-card { 
    padding: 18px 20px; 
    display: flex; 
    flex-direction: column; 
    background: linear-gradient(145deg, #ffffff 0%, #f6f3fb 100%); 
    border: 1px solid #eeeaf5; 
}
.tools-card h3 { margin: 0 0 8px 0; font-size: 1.15rem; color: #111; border-bottom: none; display: flex; align-items: center; padding: 0; font-weight: bold; }
.tools-card .usp-icon { margin-right: 10px; font-size: 1.5rem; }
.tools-card p { margin: 0; color: #555; font-size: 0.85rem; line-height: 1.4; font-weight: normal; }
.beta-badge-fresh { font-size: 0.65rem; background: #3e1b99; color: #fff; padding: 2px 6px; border-radius: 12px; margin-left: 8px; font-weight: bold; }

/* === RAINBOW BADGE === */
.rainbow-badge {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
    background-size: 1500% 100%;
    animation: rainbow-badge-shift 5s linear infinite;
    color: white !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    border: none !important;
}
@keyframes rainbow-badge-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* RASTER LOGIK */
.tools-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

/* Bereichs?berschrift Startseite */
.section-title { font-size: 1.25rem; color: #111; margin: 0 0 15px 0; padding-bottom: 6px; border-bottom: 2px solid #f0f0f0; }

/* Fix f?r Mobile Endger?te f?r den Hero Banner */
@media (max-width: 768px) {
    .top-info-grid { margin-top: -30px; padding: 0; }
    .fresh-hero { padding: 30px 15px 50px 15px; }
    .fresh-hero h1 { font-size: 1.5rem; }
    .ai-pill { font-size: 0.75rem; padding: 6px 12px; }
}

/* ========================================================== */
/* --- 13. KARAOKE FANCY STYLES (2026 EDITION) ---            */
/* ========================================================== */

.karaoke-page-wrapper {
    background: #f4f4f4;
    padding: 0;
}

.karaoke-hero {
    position: relative;
    background: #3e1b99;
    color: white;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(21, 6, 56, 0.25);
}

.karaoke-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.karaoke-hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1 !important;
    margin-bottom: 15px;
    border: none !important;
    color: #ffffff;
}

.karaoke-neon-text {
    color: #00f2ff;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.karaoke-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px auto;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
    font-weight: normal;
}

.karaoke-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff0055;
    color: white !important;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 30px;
    transition: transform 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255,0,85,0.3);
}

.karaoke-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,0,85,0.4);
    background: #ff1a66;
}

.karaoke-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.2s;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.karaoke-card h3 {
    margin: 15px 0 10px 0;
    font-size: 1.1rem;
    color: #111;
    font-weight: bold;
}

.karaoke-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.karaoke-video-preview-section {
    background: #000;
    padding: 60px 20px;
    margin: 40px 0;
    text-align: center;
    color: white;
}

.karaoke-video-preview {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #111;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.karaoke-video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.karaoke-cta-section {
    padding: 60px 20px;
    text-align: center;
    background: #3e1b99;
    color: white;
    border-radius: 16px;
    margin: 20px 0;
}

.karaoke-cta-section h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.karaoke-cta-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .karaoke-hero h1 { font-size: 1.8rem; }
    .karaoke-hero p { font-size: 1rem; }
    .karaoke-cta-section h2 { font-size: 1.5rem; }
}

/* ==========================================================================
   STUDIO & DOWNLOAD AREA STANDARDS (2026)
   ========================================================================== */

/* Standardized Buttons for MIDI/MP3 Studios & Videos */
.studio-btn {
    display: inline-block;
    min-width: 140px;
    text-align: center;
    font-size: 0.85rem;
    padding: 6px 12px;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    border: none;
}
.studio-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.studio-btn:active { transform: translateY(0); }

.btn-midi-edit { background-color: #28a745; }
.btn-midi-studio { background-color: #330066; }
.btn-mp3-edit { background-color: #198754; border: 1px solid #146c43; }
.btn-mp3-studio { background-color: #198754; }
.btn-video { background-color: #dc3545; }

/* Responsive Data Table Pattern (used in Cart & Downloads) */
@media (max-width: 900px) { 
    .responsive-data-table thead { display: none; }
    .responsive-data-table, 
    .responsive-data-table tbody, 
    .responsive-data-table tr { display: block; width: 100% !important; box-sizing: border-box; }
    .responsive-data-table tr { margin-bottom: 15px; border: 1px solid #e1e4e8; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); padding: 5px 10px; background: #fff; }
    .responsive-data-table td { 
        display: flex !important; justify-content: space-between; align-items: center;
        text-align: right; padding: 10px 5px; border: none; border-bottom: 1px solid #f0f0f0; min-height: 40px; box-sizing: border-box; width: 100% !important;
    }
    .responsive-data-table td:last-child { border-bottom: none; }
    .responsive-data-table td::before { 
        content: attr(data-label); 
        position: static; font-weight: bold; color: #330066; text-transform: uppercase; font-size: 0.70rem; transform: none; flex-shrink: 0; margin-right: 10px;
    }
    .responsive-data-table td:first-child { flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; background: #fdfdfd; border-radius: 6px 6px 0 0; padding: 12px 5px; }
    .responsive-data-table td:first-child::before { position: static; transform: none; margin-bottom: 6px; }
    .responsive-data-table td div { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; }
    .responsive-data-table td:first-child div { justify-content: flex-start; }
}

/* === BUTTON CLICK ANIMATION === */
@keyframes cartBtnSweep {
    0% { background-position: 0% 50%; transform: scale(0.95); box-shadow: 0 4px 10px rgba(198,8,12,0.5); }
    50% { background-position: 100% 50%; transform: scale(1.05); box-shadow: 0 0 15px 5px rgba(255,50,50,0.6); }
    100% { background-position: 200% 50%; transform: scale(1); box-shadow: 0 2px 4px rgba(198,8,12,0.3); }
}
.btn-anim-click {
    background: linear-gradient(90deg, #C6080C 0%, #ff6b6b 25%, #ffffff 50%, #ff6b6b 75%, #C6080C 100%) !important;
    background-size: 200% auto !important;
    animation: cartBtnSweep 0.4s ease-out forwards;
}