/* ============================================================= */
/* /var/www/html/SS/SS.css – FINALE VERSION + STICKY ACTION BAR  */
/* ============================================================= */

/* ------------------- BASIS STYLING ------------------- */
#ss-section.ss-body {
    margin: 0; padding: 0; font-family: "Montserrat", sans-serif;
    background: #f1f3f5; color: #1a1a1a; min-height: 100vh;
    display: block !important; opacity: 1 !important; width: 100%;
}

/* ------------------- HEADER FARBEN ------------------- */
#ss-section .ss-header.based-header {
    background: linear-gradient(135deg, #666666 0%, #4d4d4d 50%, #333333 100%) !important;
}
#ss-section .ss-header.free_seller-header {
    background: linear-gradient(90deg, #4d4d4d 0%, #333333 40%, #1a1a1a 60%, #000000 100%) !important;
}
#ss-section .ss-header.pro-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #00aa00 100%) !important;
}
#ss-section .ss-header.elite-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #d4af37 100%) !important;
}
#ss-section .ss-header.based-header .ss-h1,
#ss-section .ss-header.based-header .ss-animated-text,
#ss-section .ss-header.free_seller-header .ss-h1,
#ss-section .ss-header.free_seller-header .ss-animated-text,
#ss-section .ss-header.pro-header .ss-h1,
#ss-section .ss-header.pro-header .ss-animated-text,
#ss-section .ss-header.elite-header .ss-h1,
#ss-section .ss-header.elite-header .ss-animated-text {
    color: #ffffff !important;
}

/* ------------------- THUMBNAILS ------------------- */
#ss-section .ss-package-thumb[data-index="0"] .thumb-content {
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 40%, #333333 60%, #000000 100%) !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}
#ss-section .ss-package-thumb[data-index="0"]:hover .thumb-content {
    background: linear-gradient(90deg, #f8f8f8 0%, #e0e0e0 40%, #222222 60%, #000000 100%) !important;
    box-shadow: 0 0 30px rgba(255,255,255,0.6) !important;
}
#ss-section .ss-package-thumb[data-index="1"] .thumb-content {
    background: linear-gradient(135deg, #ffffff, #f0f0f0, #e0e0e0) !important;
    color: #000000 !important;
}
#ss-section .ss-package-thumb[data-index="1"]:hover .thumb-content {
    background: linear-gradient(135deg, #ffffff, #f8f8f8, #f0f0f0) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8) !important;
}
#ss-section .ss-package-thumb[data-index="2"] .thumb-content {
    background: linear-gradient(135deg, #000000 0%, #222222 50%, #444444 100%) !important;
    color: #ffffff !important;
}
#ss-section .ss-package-thumb[data-index="2"]:hover .thumb-content {
    box-shadow: 0 0 0 4px #00ff00, 0 0 30px rgba(0, 255, 0, 0.7) !important;
}
#ss-section .ss-package-thumb[data-index="3"] .thumb-content {
    background: linear-gradient(135deg, #d4af37, #b8941f, #9a7b0f, #d4af37) !important;
    color: #000000 !important;
    background-size: 200% 200% !important;
    animation: metallicShine 3s ease-in-out infinite !important;
}
#ss-section .ss-package-thumb[data-index="3"]:hover .thumb-content {
    background: linear-gradient(135deg, #e6c158, #d4af37, #c19b2a, #e6c158) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8) !important;
}
@keyframes metallicShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
#ss-section .ss-package-thumb {
    border: none !important;
}
#ss-section .ss-package-thumb.ss-active {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    transform: scale(1.05);
}

/* ------------------- FEATURED CARD ------------------- */
/* ------------------- FEATURED CARD ------------------- */
#ss-section .ss-featured-card {
    border: 1px solid #e1e5e9 !important;
    box-shadow: 0 15px 40px rgba(0,0,0,.18) !important;
    height: auto !important;
    min-height: 400px;
}
.ss-featured-card.free_seller-card {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 50%, #000000 50%, #000000 100%) !important;
    color: #000;
    transition: all 0.4s ease;
}
.ss-featured-card.free_seller-card .ss-featured-info h3,
.ss-featured-card.free_seller-card .ss-price,
.ss-featured-card.free_seller-card .ss-desc,
.ss-featured-card.free_seller-card .ss-featured-info ul li {
    color: #000;
}
.ss-featured-card.free_seller-card .ss-btn.ss-select-btn {
    background: #000;
    color: #fff;
    border-color: #fff;
}
#ss-section .ss-btn.ss-select-btn {
    background: linear-gradient(135deg, #00c3c3, #007bff);
    color: white;
    border: none;
    padding: 10.2px 34px;
    font-size: 0.935em;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,123,255,.4);
    transition: all .4s ease;
    text-transform: uppercase;
    letter-spacing: .5px;
}
#ss-section .ss-btn.ss-select-btn:hover {
    background: linear-gradient(135deg, #00e6e6, #0056b3);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,123,255,.5);
}

/* ------------------- STICKY ACTION BAR ------------------- */
.ss-action-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(0,123,255,0.2);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 30px;
    transition: transform 0.3s ease;
}

.ss-action-bar .ss-btn {
    min-width: 250px;
    padding: 15px 30px !important;
    font-size: 1.1em !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.ss-btn-primary {
    background: linear-gradient(135deg, #00c3c3, #007bff) !important;
    color: white !important;
    border: none !important;
}

.ss-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,123,255,0.4) !important;
}

.ss-btn-secondary {
    background: white !important;
    color: #007bff !important;
    border: 2px solid #007bff !important;
}

.ss-btn-secondary:hover {
    background: #f0f8ff !important;
    transform: translateY(-3px);
}




.ss-packages-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    justify-content: center;
    max-height: 250px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f0f0f0;
}

.ss-packages-row::-webkit-scrollbar {
    height: 8px;
}
.ss-packages-row::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}
.ss-packages-row::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}

/* ------------------- REST (HEADER, VIDEO, ETC.) ------------------- */
#ss-section .ss-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    text-align: center; color: white; position: relative; min-height: 100px;
    display: flex; flex-direction: column; justify-content: center; gap: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 2px rgba(255,255,255,0.05);
    width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); overflow: hidden;
}
#ss-section .ss-header::before {
    content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;
    background:conic-gradient(from 0deg at 50% 50%,transparent 0%,rgba(56,189,248,0.1) 10%,rgba(139,92,246,0.05) 20%,rgba(16,185,129,0.03) 30%,transparent 50%);
    animation:lightBeam 8s linear infinite;pointer-events:none;
}
@keyframes lightBeam{
    0%{transform:rotate(0deg) scale(1)}
    50%{transform:rotate(180deg) scale(1.1)}
    100%{transform:rotate(360deg) scale(1)}
}
#ss-section .ss-header::after{
    content:'';position:absolute;top:0;left:0;width:100%;height:100%;
    background:radial-gradient(circle at 20% 20%,rgba(56,189,248,0.15)0%,transparent 50%),
               radial-gradient(circle at 80% 80%,rgba(139,92,246,0.1)0%,transparent 50%),
               radial-gradient(circle at 50% 50%,rgba(255,255,255,0.02)0%,transparent 80%);
    animation:glowShift 6s ease-in-out infinite alternate;pointer-events:none;opacity:0.7;
}
@keyframes glowShift{
    0%{opacity:0.5;background-position:0% 0%,100% 100%,50% 50%}
    100%{opacity:0.8;background-position:10% 10%,90% 90%,60% 60%}
}
#ss-section .ss-h1{
    font-size:2.125em;font-weight:700;margin:0;
    background:linear-gradient(135deg,#ffffff 0%,#cbd5e1 100%);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
    letter-spacing:-0.5px;position:relative;z-index:2;
}
#ss-section .ss-animated-text{
    min-height:1.8em;font-size:1.02em;font-weight:500;color:#94a3b8;position:relative;z-index:2;
}

/* ------------------- FEATURED PACKAGE (Video etc.) ------------------- */
/* ------------------- FEATURED PACKAGE (Video etc.) – OPTIMIERT ------------------- */
#ss-section .ss-featured-package {
    padding: 30px 15px 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    min-height: auto;
    width: 100%;
}

#ss-section .ss-featured-card {
    width: 100%;
    max-width: 1088px;
    height: auto;
    min-height: 380px;
    background: white;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    overflow: hidden;
    border-radius: 17px;
    display: flex;
    position: relative;
    animation: fadeIn 1.2s ease-out;
    border: 1px solid #e1e5e9;
}

.ss-video-container {
    width: 70%;
    height: auto;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.ss-main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 15px;
}

.ss-overlay-logo {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
}

.ss-overlay-content h3 {
    font-size: 1.6em;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-shadow: 0 1px 5px rgba(0,0,0,.5);
}

.ss-overlay-content .ss-price {
    font-size: 2em;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,.5);
    letter-spacing: -1px;
}

#ss-section .ss-featured-info {
    width: 30%;
    padding: 20px 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    opacity: 0;
    animation: slideInRight 1.2s ease-out .6s forwards;
    max-height: none;
    overflow-y: visible;
}

#ss-section .ss-featured-info h3 {
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #1a1a1a;
    line-height: 1.2;
    border-bottom: 2px solid #00d4d4;
    padding-bottom: 5px;
}

#ss-section .ss-price {
    font-size: 1.3em;
    font-weight: 800;
    color: #00d4d4;
    letter-spacing: -1px;
    text-shadow: 0 1px 3px rgba(0,212,212,.3);
}

#ss-section .ss-desc {
    font-size: 0.75em;
    color: #555;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 5px;
}

#ss-section .ss-featured-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

#ss-section .ss-featured-info ul li {
    font-size: 0.7em;
    color: #333;
    margin: 4px 0;
    padding-left: 18px;
    position: relative;
    opacity: 0;
    animation: fadeInUpItem .6s ease-out forwards;
    line-height: 1.3;
}

#ss-section .ss-featured-info ul li::before {
    content: "✓";
    color: #00d4d4;
    font-weight: bold;
    font-size: 0.9em;
    position: absolute;
    left: 0;
    top: 0;
}
#ss-section .ss-packages-row{
    display:flex;justify-content:center;gap:21.25px;padding:25.5px 17px;background:#f1f3f5;
    overflow-x:auto;flex-wrap:nowrap;min-height:187px;
}
#ss-section .ss-package-thumb{
    width:289px;height:161.5px;background:white;overflow:hidden;cursor:pointer;border:none;
    border-radius:12.75px;box-shadow:0 6.8px 17px rgba(0,0,0,.15);transition:all .4s ease;
    flex-shrink:0;position:relative;
}
#ss-section .ss-package-thumb:hover{
    transform:scale(1.08);box-shadow:0 12.75px 29.75px rgba(0,0,0,0.3);z-index:10;
}
#ss-section .ss-package-thumb .thumb-content{
    width:100%;height:100%;display:flex;align-items:center;justify-content:center;
    color:white;font-weight:600;font-size:1.105em;text-align:center;padding:12.75px;
    flex-direction:column;position:relative;
}
#ss-section .ss-icon{
    position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:2.55em;
    color:white;text-shadow:0 2.55px 8.5px rgba(0,0,0,.7);pointer-events:none;opacity:.9;
}

/* ------------------- RESPONSIVE ------------------- */
@media (max-width:1024px){
    #ss-section .ss-featured-card{max-width:95%}
    #ss-section .ss-package-thumb{width:255px;height:144.5px}
    .ss-video-container{width:65%}
    .ss-action-bar .ss-btn{min-width:200px;}
}
@media (max-width:768px){
    #ss-section .ss-featured-card {
        height: auto;
        flex-direction: column;
        max-width: 90%;
    }
    #ss-section .ss-video-container,
    #ss-section .ss-featured-info {
        width: 100%;
    }
    .ss-video-container {
        height: 200px;
        min-height: auto;
    }
    #ss-section .ss-featured-info {
        padding: 15px;
    }
    #ss-section .ss-featured-info h3 {
        font-size: 1.2em;
    }
    #ss-section .ss-featured-info ul li {
        font-size: 0.65em;
        margin: 3px 0;
    }
    #ss-section .ss-package-thumb {
        width: 220px;
        height: 130px;
    }
    #ss-section .ss-packages-row {
        gap: 10px;
        padding: 15px 10px;
    }
    .ss-action-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
    }
    .ss-action-bar .ss-btn {
        width: 90%;
        min-width: auto;
        padding: 12px 20px !important;
    }
}
@media (max-width:480px){
    #ss-section .ss-package-thumb {
        width: 180px;
        height: 100px;
    }
    .ss-video-container {
        height: 160px;
    }
    #ss-section .ss-featured-info {
        padding: 12px;
    }
    #ss-section .ss-featured-info h3 {
        font-size: 1.1em;
    }
    #ss-section .ss-featured-info ul li {
        font-size: 0.6em;
    }
}

/* ------------------- ANIMATIONEN ------------------- */
@keyframes fadeIn{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}
@keyframes slideInRight{from{transform:translateX(51px);opacity:0}to{transform:translateX(0);opacity:1}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeInUpItem{from{opacity:0;transform:translateY(10.2px)}to{opacity:1;transform:translateY(0)}}

#ss-section{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:10!important}

/* ------------------- SAVINGS BADGE ------------------- */
.savings {
    font-size: 0.5em !important;
    background: linear-gradient(135deg, #d4f5e3, #a5e8c5);
    color: #166534;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin-left: 0.5rem;
    box-shadow: 0 1px 4px rgba(16,185,129,0.15);
}