/* ============================================================= */
/* /var/www/html/B2B/B2B.css – PARTNERS4BUSINESSES VERSION */
/* Business-orientiertes Design mit professionellen Farben */
/* ============================================================= */
/* ------------------- BASIS STYLING ------------------- */
#business-b2b.b2b-body {
    margin: 0; padding: 0; font-family: "Montserrat", sans-serif;
    background: #f8f9fa; color: #1a1a1a; min-height: 100vh;
    display: block !important; opacity: 1 !important; width: 100%;
}

/* ------------------- HEADER FARBEN & TEXT ------------------- */
#business-b2b .b2b-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 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;
}

#business-b2b .b2b-header::before {
    content:'';
    position:absolute;
    top:-50%;
    left:-50%;
    width:200%;
    height:200%;
    background:conic-gradient(from 0deg at 50% 50%,
        transparent 0%,
        rgba(30, 64, 175, 0.1) 10%,
        rgba(37, 99, 235, 0.05) 20%,
        rgba(59, 130, 246, 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)}
}

#business-b2b .b2b-h1 {
    font-size:2.125em;
    font-weight:700;
    margin:0;
    background:linear-gradient(135deg,#ffffff 0%,#dbeafe 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    letter-spacing:-0.5px;
    position:relative;
    z-index:2;
    transition:all .3s cubic-bezier(.4,0,.2,1)
}

#business-b2b .b2b-animated-text {
    min-height:1.8em;
    font-size:1.02em;
    font-weight:500;
    color:#dbeafe;
    position:relative;
    z-index:2;
    transition:all .3s ease
}

/* ------------------- THUMBNAILS (data-index-basiert) ------------------- */
/* data-index="0" = Freelancer (Blau) */
#business-b2b .b2b-category-thumb[data-index="0"] .thumb-content {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
}

#business-b2b .b2b-category-thumb[data-index="0"]:hover .thumb-content {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%) !important;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6) !important;
}

/* data-index="1" = Geschäfte (Dunkelblau) */
#business-b2b .b2b-category-thumb[data-index="1"] .thumb-content {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    color: #ffffff !important;
}

#business-b2b .b2b-category-thumb[data-index="1"]:hover .thumb-content {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
    box-shadow: 0 0 30px rgba(30, 64, 175, 0.6) !important;
}

/* data-index="2" = Produkte (Türkis) */
#business-b2b .b2b-category-thumb[data-index="2"] .thumb-content {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%) !important;
    color: #ffffff !important;
}

#business-b2b .b2b-category-thumb[data-index="2"]:hover .thumb-content {
    background: linear-gradient(135deg, #0fb5a8 0%, #2dd4bf 100%) !important;
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.6) !important;
}

/* data-index="3" = Services (Violett) */
#business-b2b .b2b-category-thumb[data-index="3"] .thumb-content {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
}

#business-b2b .b2b-category-thumb[data-index="3"]:hover .thumb-content {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6) !important;
}

/* Allgemeine Thumbnail-Regeln */
#business-b2b .b2b-category-thumb {
    border: none !important;
    width: 289px;
    height: 161.5px;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12.75px;
    box-shadow: 0 6.8px 17px rgba(0,0,0,.15);
    transition: all .4s ease;
    flex-shrink: 0;
    position: relative;
}

#business-b2b .b2b-category-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 12.75px 29.75px rgba(0,0,0,0.3);
    z-index: 10;
}

#business-b2b .b2b-category-thumb.b2b-active {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    transform: scale(1.05);
}

#business-b2b .b2b-category-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;
    border-radius: 12.75px;
}

#business-b2b .b2b-category-thumb .b2b-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* ------------------- FEATURED CARD & BUTTON ------------------- */
#business-b2b .b2b-featured-card {
    width: 100%;
    max-width: 1088px;
    height: 408px;
    background: white;
    box-shadow: 0 12.75px 34px rgba(0,0,0,.18);
    overflow: hidden;
    border-radius: 17px;
    display: flex;
    position: relative;
    animation: fadeIn 1.2s ease-out;
    border: 1px solid #e1e5e9;
}

.b2b-video-container {
    width: 70%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

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

.b2b-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: 17px;
    background: rgba(30, 64, 175, 0.7);
}

.b2b-overlay-logo {
    width: 85px;
    height: auto;
    margin-bottom: 17px;
}

.b2b-overlay-content h3 {
    font-size: 1.87em;
    font-weight: 700;
    margin: 0 0 8.5px 0;
    text-shadow: 0 1.7px 6.8px rgba(0,0,0,.5);
    color: white;
}

.b2b-overlay-content .b2b-price {
    font-size: 2.38em;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 1.7px 6.8px rgba(0,0,0,.5);
    letter-spacing: -1px;
}

#business-b2b .b2b-featured-info {
    width: 30%;
    padding: 34px 25.5px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 13.6px;
    opacity: 0;
    animation: slideInRight 1.2s ease-out .6s forwards;
}

#business-b2b .b2b-featured-info h3 {
    font-size: 1.53em;
    font-weight: 700;
    margin: 0;
    color: #1e3a8a;
    line-height: 1.2;
    border-bottom: 2.55px solid #1d4ed8;
    padding-bottom: 8.5px;
}

#business-b2b .b2b-price {
    font-size: 1.53em;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: -1px;
    text-shadow: 0 1.7px 3.4px rgba(30, 64, 175, 0.3);
}

#business-b2b .b2b-desc {
    font-size: 0.8075em;
    color: #4b5563;
    line-height: 1.5;
    font-weight: 500;
}

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

#business-b2b .b2b-featured-info ul li {
    font-size: 0.765em;
    color: #374151;
    margin: 6.8px 0;
    padding-left: 27.2px;
    position: relative;
    opacity: 0;
    animation: fadeInUpItem .6s ease-out forwards;
    line-height: 1.4;
}

#business-b2b .b2b-featured-info ul li::before {
    content: "✓";
    color: #1d4ed8;
    font-weight: bold;
    font-size: 1.105em;
    position: absolute;
    left: 0;
    top: -1.7px;
}

/* ------------------- BUTTONS ------------------- */
#business-b2b .b2b-btn.b2b-select-btn {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    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(59, 130, 246, .4);
    transition: all .4s ease;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 20px;
}

#business-b2b .b2b-btn.b2b-select-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 25px rgba(59, 130, 246, .5);
}

/* ------------------- LAYOUT ------------------- */
#business-b2b .b2b-featured-partnership {
    padding: 34px 17px 25.5px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    min-height: 425px;
    width: 100%;
}

#business-b2b .b2b-categories-row {
    display: flex;
    justify-content: center;
    gap: 21.25px;
    padding: 25.5px 17px;
    background: #f8f9fa;
    overflow-x: auto;
    flex-wrap: nowrap;
    min-height: 187px;
}

/* Responsive */
@media (max-width: 1024px) {
    #business-b2b .b2b-featured-card {
        max-width: 95%;
    }
    #business-b2b .b2b-category-thumb {
        width: 255px;
        height: 144.5px;
    }
    .b2b-video-container {
        width: 65%;
    }
}

@media (max-width: 768px) {
    #business-b2b .b2b-featured-card {
        height: auto;
        flex-direction: column;
        max-width: 90%;
    }
    #business-b2b .b2b-video-container,
    #business-b2b .b2b-featured-info {
        width: 100%;
    }
    .b2b-video-container {
        height: 255px;
    }
    #business-b2b .b2b-featured-info {
        padding: 25.5px 21.25px;
    }
    #business-b2b .b2b-category-thumb {
        width: 238px;
        height: 136px;
    }
    #business-b2b .b2b-categories-row {
        gap: 12.75px;
        padding: 21.25px 12.75px;
    }
}

@media (max-width: 480px) {
    #business-b2b .b2b-category-thumb {
        width: 212.5px;
        height: 119px;
    }
    .b2b-video-container {
        height: 212.5px;
    }
}

/* Animationen (gleiche wie in AC.css) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(17px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { transform: translateX(51px); opacity: 0; }
    to { transform: translateY(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); }
}
