/* ========================================
   Social JobAd - Produktseite
   Externe CSS-Datei für Performance-Optimierung
   ======================================== */

@@import url('/Content/ci-variables.css');

/* ========================================
   1. Typography & Fonts
   ======================================== */

:root {
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6,
.btn, .card, .badge, .lead, p, span, a {
    font-family: var(--font-family) !important;
}

h1, h2, h3, h4, h5, h6, .display-4, .h2, .h3, .h5, .h6 {
    font-weight: 700 !important;
    letter-spacing: -0.5px;
}

.lead, p {
    font-weight: 400;
    line-height: 1.6;
}

.btn {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ========================================
   2. Colors & Backgrounds
   ======================================== */

.bg-social-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 55%, var(--color-accent) 100%) !important;
}

.bg-social-soft {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, rgba(108, 171, 131, 0.08) 100%) !important;
}

.text-social-primary {
    color: var(--color-primary) !important;
}

.text-social-dark {
    color: var(--color-text-primary) !important;
}

.border-social {
    border: 1px solid rgba(6, 99, 111, 0.15) !important;
}

/* ========================================
   3. Icon Cards
   ======================================== */

.icon-card {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(6, 99, 111, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   4. FAQ Styling
   ======================================== */

#faqAccordion .accordion-button {
    border: none !important;
    background-color: transparent;
    padding: 1.5rem 1.5rem;
    color: var(--color-text-primary) !important;
    font-weight: 600;
}

#faqAccordion .accordion-button:not(.collapsed) {
    background-color: #ffffff;
    color: var(--color-primary) !important;
    box-shadow: none;
    border: none !important;
}

#faqAccordion .accordion-button:focus {
    border-color: transparent !important;
    box-shadow: none !important;
}

#faqAccordion .accordion-item {
    overflow: hidden;
    border: none !important;
    background-color: #ffffff !important;
    box-shadow: var(--shadow-sm);
    border-radius: 16px !important;
    margin-bottom: 1rem !important;
    transition: var(--transition-smooth);
}

#faqAccordion .accordion-item:hover {
    box-shadow: var(--shadow-md);
}

#faqAccordion .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border: none !important;
    background-color: #ffffff;
    color: var(--color-text-secondary) !important;
    line-height: 1.6;
}

#faqAccordion .accordion-collapse {
    border: none !important;
}

/* ========================================
   5. Package Cards
   ======================================== */

.social-jobad-packages .card {
    border: 1px solid var(--color-border) !important;
    background-color: #ffffff !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.social-jobad-packages .card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary) !important;
    transform: translateY(-4px);
}

.social-jobad-packages .card-body {
    padding: 2rem;
}

.social-jobad-packages .badge {
    font-weight: 600;
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem;
}

.social-jobad-packages h3 {
    color: var(--color-text-primary) !important;
    margin: 1rem 0 !important;
}

.social-jobad-packages .list-unstyled li {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-jobad-packages .bi-check-circle-fill {
    color: var(--color-secondary) !important;
}

/* ========================================
   6. Hero Image
   ======================================== */

.social-jobad-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.social-jobad-hero-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* ========================================
   7. Buttons & Effects
   ======================================== */

.hover-lift {
    transition: all 0.3s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 99, 111, 0.3);
}

/* ========================================
   8. Pricing Cards
   ======================================== */

.pricing-card {
    border: 1px solid rgba(6, 99, 111, 0.15);
}

.pricing-card:hover {
    box-shadow: 0 12px 30px rgba(6, 99, 111, 0.15) !important;
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

/* ========================================
   9. VeriBot Components
   ======================================== */

.veribot-package-advisor {
    background: linear-gradient(135deg, rgba(6, 99, 111, 0.03) 0%, rgba(108, 171, 131, 0.05) 100%);
    border: 2px solid rgba(6, 99, 111, 0.1);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.veribot-package-advisor:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.veribot-package-image-wrapper {
    position: relative;
    display: inline-block;
    animation: veribotFloat 3s ease-in-out infinite;
}

@keyframes veribotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.veribot-package-image {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(6, 99, 111, 0.2));
}

.veribot-package-text h4 {
    line-height: 1.4;
}

.veribot-package-text p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.veribot-faq-helper {
    background: rgba(108, 171, 131, 0.05);
    border-left: 4px solid var(--color-secondary);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.veribot-faq-helper:hover {
    background: rgba(108, 171, 131, 0.08);
}

.veribot-faq-image {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(6, 99, 111, 0.15));
    transition: all 0.3s ease;
}

.veribot-faq-image:hover {
    transform: scale(1.05) rotate(3deg);
}

.veribot-faq-helper p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.veribot-faq-helper a {
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.veribot-faq-helper a:hover {
    text-decoration: underline;
}

/* ========================================
   10. Responsive - Tablet (992px)
   ======================================== */

@media (max-width: 992px) {
    body {
        overflow-x: hidden;
    }
}

/* ========================================
   11. Responsive - Mobile (768px)
   ======================================== */

@media (max-width: 768px) {
    /* Section Spacing responsive */
    .container-fluid.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Kontaktformular Padding */
    #kontakt-form {
        padding: 2rem 0 !important;
    }

    #kontakt-form .bg-light {
        padding: 1.5rem !important;
    }

    /* Hero Image responsive */
    .social-jobad-hero-image {
        min-height: 280px;
        margin-top: 1rem;
    }

    .social-jobad-hero-image img {
        max-width: 85vw;
    }

    .hero-container {
        min-height: auto !important;
        padding: 1.5rem 0 !important;
    }

    /* Grid Abstände reduzieren */
    .row.g-5 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    /* Typography responsive */
    h2, .h2 {
        font-size: 1.5rem !important;
        line-height: 1.25;
    }

    h3, .h3 {
        font-size: 1.25rem !important;
    }

    h4, .h4, .h5, .h5 {
        font-size: 1.1rem !important;
    }

    /* Card Padding reduzieren */
    .card-body {
        padding: 1rem !important;
    }

    /* FAQ Accordion Padding */
    #faqAccordion .accordion-button {
        padding: 1rem 1rem !important;
    }

    #faqAccordion .accordion-body {
        padding: 0 1rem 1rem 1rem !important;
    }

    /* Icon Cards responsive */
    .icon-card {
        width: clamp(40px, 5vw, 52px);
        height: clamp(40px, 5vw, 52px);
    }

    /* Pricing Cards responsive */
    .pricing-card {
        margin-bottom: 1rem;
    }

    .social-jobad-packages .card-body {
        padding: 1.5rem !important;
    }

    .social-jobad-packages .h5 {
        font-size: 1rem !important;
    }

    /* Container Padding reduzieren */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* VeriBot Package Advisor responsive */
    .veribot-package-advisor {
        padding: 1.5rem;
    }

    .veribot-package-image {
        width: 140px;
    }

    .veribot-package-text h4 {
        font-size: 1.1rem;
    }

    /* VeriBot FAQ Helper responsive */
    .veribot-faq-helper {
        padding: 1rem;
    }

    .veribot-faq-image {
        width: 70px;
    }

    .veribot-faq-helper p {
        font-size: 0.9rem;
    }
}

/* ========================================
   12. Responsive - Small Mobile (768px++)
   ======================================== */

@media (max-width: 768px) {
    .hero-container {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .display-4 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }

    .hero-container .lead {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-container .col-lg-6:last-child {
        margin-top: 2rem !important;
        min-height: auto !important;
    }

    .hero-container .btn {
        width: 100% !important;
    }

    .hero-container .d-flex {
        gap: 0.75rem !important;
    }

    .hero-container .badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    svg.hero-bg-svg {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
    }
}
