/*
=========================================
SED SOLAR - TYPOGRAPHY CSS
Headings, texts and font styles
Wizutech Development Team
=========================================
*/

/* ==========================================
   WIZUTECH - HEADING STYLES (H1-H6)
   ========================================== */

/* Generic heading styles optimized by Wizutech */
h1, .h1 {
    font-size: 28px;
    line-height: 1.28;
    letter-spacing: -0.6px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #222;
    text-rendering: optimizeLegibility;
    transition: font-size 0.2s ease, line-height 0.2s ease, margin 0.2s ease;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

h2, .h2 {
    font-size: 24px;
    line-height: 1.33;
    letter-spacing: -0.4px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #333;
    text-rendering: optimizeLegibility;
    transition: font-size 0.2s ease, line-height 0.2s ease, margin 0.2s ease;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

h3, .h3 {
    font-size: 20px;
    line-height: 1.38;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
    font-weight: 600;
    color: #333;
    transition: font-size 0.2s ease, line-height 0.2s ease, margin 0.2s ease;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

h4, .h4 {
    font-size: 18px;
    line-height: 1.42;
    letter-spacing: -0.2px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #444;
    transition: font-size 0.2s ease, line-height 0.2s ease, margin 0.2s ease;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

h5, .h5 {
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: -0.1px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #444;
    transition: font-size 0.2s ease, line-height 0.2s ease, margin 0.2s ease;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

h6, .h6 {
    font-size: 14px;
    line-height: 1.48;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    transition: font-size 0.2s ease, line-height 0.2s ease, margin 0.2s ease;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* ==========================================
   WIZUTECH - RESPONSIVE TYPOGRAPHY
   ========================================== */

@media (max-width: 767px) {
    h1, .h1 {
        font-size: 24px;
        line-height: 1.22;
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }
    
    h2, .h2 {
        font-size: 21px;
        line-height: 1.28;
        letter-spacing: -0.3px;
        margin-bottom: 14px;
    }
    
    h3, .h3 {
        font-size: 18px;
        line-height: 1.32;
        letter-spacing: -0.2px;
        margin-bottom: 12px;
    }
    
    h4, .h4 {
        font-size: 16px;
        line-height: 1.36;
        letter-spacing: -0.1px;
        margin-bottom: 10px;
    }
    
    h5, .h5 {
        font-size: 15px;
        line-height: 1.4;
        letter-spacing: 0;
        margin-bottom: 8px;
    }
    
    h6, .h6 {
        font-size: 14px;
        line-height: 1.42;
        margin-bottom: 8px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    h1, .h1 {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 17px;
    }
    
    h2, .h2 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    h3, .h3 {
        font-size: 19px;
        line-height: 1.35;
        margin-bottom: 13px;
    }
}

/* ==========================================
   WIZUTECH - POST CONTENT STYLES
   ========================================== */

/* Blog post content styling by Wizutech */
.pxl-post--content {
    line-height: 1.6;
}

/* Post headings */
.pxl-post--content h1,
.pxl-post--content h2,
.pxl-post--content h3,
.pxl-post--content h4,
.pxl-post--content h5,
.pxl-post--content h6 {
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: var(--primary-color);
}

.pxl-post--content h1 { font-size: 2rem; }
.pxl-post--content h2 { font-size: 1.75rem; }
.pxl-post--content h3 { font-size: 1.5rem; }
.pxl-post--content h4 { font-size: 1.25rem; }
.pxl-post--content h5 { font-size: 1.1rem; }
.pxl-post--content h6 { font-size: 1rem; }

/* Post paragraphs */
.pxl-post--content p {
    margin: 1em 0;
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Post lists */
.pxl-post--content ul,
.pxl-post--content ol {
    margin: 1em 0 1em 2em;
    padding: 0;
    list-style: none;
}

.pxl-post--content ul li,
.pxl-post--content ol li {
    position: relative;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
}

.pxl-post--content ul li::before {
    content: "•";
    color: #31b057;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
}

.pxl-post--content ol li::before {
    content: "➜";
    color: #31b057;
    font-size: 1.1em;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
}

/* Post links */
.pxl-post--content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.pxl-post--content a:hover,
.pxl-post--content a:focus {
    color: #004999;
}

/* Post images & tables */
.pxl-post--content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
}

.pxl-post--content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.pxl-post--content table th,
.pxl-post--content table td {
    border: 1px solid #ddd;
    padding: 0.75em;
    text-align: left;
    vertical-align: middle;
}

.pxl-post--content table th {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Text emphasis */
.pxl-post--content strong {
    font-weight: bold;
    color: var(--primary-color);
}

.pxl-post--content em {
    font-style: italic;
}

/* Blockquote */
.pxl-post--content blockquote {
    border-left: 4px solid var(--accent-color);
    margin: 1em 0;
    padding: 0.5em 1em;
    background-color: #f9f9f9;
    color: var(--secondary-color);
    font-style: italic;
}

/* Mobile responsive post content */
@media (max-width: 768px) {
    .pxl-post--content h1 { font-size: 1.8rem; }
    .pxl-post--content h2 { font-size: 1.5rem; }
    .pxl-post--content h3 { font-size: 1.3rem; }

    .pxl-post--content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================
   WIZUTECH - HERO SECTION TYPOGRAPHY
   ========================================== */

/* Hero title with gradient text */
#pxl-page-title-elementor h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Responsive hero */
@media (max-width: 768px) {
    #pxl-page-title-elementor h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    #pxl-page-title-elementor h1 {
        font-size: 1.7rem;
    }
}

/* ==========================================
   WIZUTECH - BREADCRUMB TYPOGRAPHY
   ========================================== */

.pxl-breadcrumb-wrap {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
}

.pxl-breadcrumb {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.pxl-breadcrumb li {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

/* Hide Dienstleistungen breadcrumb item */
.pxl-breadcrumb li:nth-child(2) {
    display: none !important;
}

.pxl-breadcrumb li a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    transition: color 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: capitalize !important;
    letter-spacing: 0.5px !important;
}

.pxl-breadcrumb li a:hover {
    color: white !important;
    text-decoration: underline !important;
}

.pxl-breadcrumb li span {
    color: white !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.5px !important;
}

/* Breadcrumb separator icons */
.pxl-breadcrumb li a i,
.pxl-breadcrumb li i {
    font-size: 14px !important;
    margin-left: 8px !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Mobile breadcrumb */
@media (max-width: 480px) {
    .pxl-breadcrumb-wrap {
        font-size: 12px !important;
    }
    
    .pxl-breadcrumb li,
    .pxl-breadcrumb li a,
    .pxl-breadcrumb li span {
        font-size: 16px !important;
        text-transform: capitalize !important;
        letter-spacing: 0.3px !important;
    }
    
    .pxl-breadcrumb li a i,
    .pxl-breadcrumb li i {
        font-size: 12px !important;
        margin-left: 6px !important;
    }
}

/* ==========================================
   WIZUTECH - COMPONENT TYPOGRAPHY
   ========================================== */

/* Component-specific typography by Wizutech */
.pxl-contact-box.pxl-contact-box1.pxl-call-sp1 .pxl-item--info {
    font-family: Inter, system-ui, sans-serif;
}

.pxl-service-grid1 .pxl-post--title a, 
.pxl-service-carousel1 .pxl-post--title a {
    color: inherit;
    font-family: Inter, system-ui, sans-serif;
}

.pxl-news-grid1 .pxl-post--category a, 
.pxl-news-carousel1 .pxl-post--category a {
    padding: 7px 12px;
    border-radius: 5px;
    background-color: var(--light-green-2);
    color: var(--primary-color);
    font-family: Inter, system-ui, sans-serif;    
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.pxl-swiper-slider .pxl-post--title a, 
.pxl-swiper-slider .pxl-post--category a {
    color: inherit;
    font-family: Inter, system-ui, sans-serif; 
}

.pxl-heading .pxl-item--subtitle.pxl-subtitle-default .pxl-item--subtext {
    font-family: Inter, system-ui, sans-serif;
}

.pxl-counter .pxl-item--number {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    font-family: Inter, system-ui, sans-serif;
}