/* Extracted from lohnabrechnung-handwerk.php (was inline <style>). Auto-generated, edit here not in PHP. */

/* ============================================================
   HANDWERK PAGE, hw- prefix
   Design: Werkzeug & Struktur | Licht-Hero + Navy-Akzente
   ============================================================ */

/* Hero, Licht-Variante */
.hw-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 60%, #dbeafe 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hw-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hw-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hw-hero-content {
}

.hw-hero-content h1 {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #1f2937;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hw-hero-content h1 .hw-highlight {
    color: #2563eb;
}

.hw-hero-subtitle {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}

.hw-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.hw-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 0.855rem;
    font-weight: 600;
    color: #1e40af;
}

.hw-trust-chip svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.hw-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(37,99,235,0.28);
}

.hw-hero-cta:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.36);
}

.hw-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    margin-left: 18px;
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.2s;
}

.hw-hero-secondary:hover {
    border-bottom-color: #2563eb;
}

/* Hero SVG Visual */
.hw-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hw-hero-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(37,99,235,0.12));
}

/* Stats Bar, Navy */
.hw-stats-bar {
    background: #1e3a5f;
    padding: 40px 0;
}

.hw-stats-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.hw-stat {
    color: #ffffff;
}

.hw-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1.1;
    margin-bottom: 6px;
}

.hw-stat-label {
    font-size: 0.85rem;
    color: #93c5fd;
    font-weight: 500;
    line-height: 1.4;
}

/* Problem Section */
.hw-problem {
    padding: 90px 0;
    background: #ffffff;
}

.hw-problem-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hw-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 56px;
}

.hw-problem-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 18px;
    line-height: 1.25;
}

.hw-problem-text p {
    font-size: 1.02rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 16px;
}

.hw-problem-text strong {
    color: #1e3a5f;
}

.hw-problem-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hw-problem-card {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    transition: box-shadow 0.2s;
}

.hw-problem-card:hover {
    box-shadow: 0 4px 20px rgba(37,99,235,0.1);
}

.hw-problem-card-title {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.97rem;
    margin-bottom: 6px;
}

.hw-problem-card-text {
    font-size: 0.89rem;
    color: #6b7280;
    line-height: 1.6;
}

.hw-problem-card.hw-emerald {
    border-left-color: #10b981;
}

/* Services, Was Lohnklar übernimmt */
.hw-services {
    padding: 90px 0;
    background: #f8fafc;
}

.hw-services-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hw-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.hw-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 14px;
}

.hw-section-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

.hw-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hw-service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1.5px solid #e5e7eb;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.hw-service-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 32px rgba(37,99,235,0.12);
    transform: translateY(-4px);
}

.hw-service-card.hw-featured {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.hw-featured-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hw-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.hw-service-icon svg {
    width: 26px;
    height: 26px;
    color: #2563eb;
}

.hw-service-icon.hw-emerald-icon {
    background: #ecfdf5;
}

.hw-service-icon.hw-emerald-icon svg {
    color: #10b981;
}

.hw-service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.hw-service-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 14px;
}

.hw-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hw-service-list li {
    font-size: 0.875rem;
    color: #4b5563;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.5;
}

.hw-service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

/* Highlight-Box: Baustellenabrechnung */
.hw-highlight-box {
    margin-top: 40px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-radius: 20px;
    padding: 40px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.hw-highlight-box-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.hw-highlight-box-content p {
    font-size: 0.95rem;
    color: #bfdbfe;
    line-height: 1.65;
    max-width: 560px;
}

.hw-highlight-box-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.hw-highlight-box-cta:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Branchenspezifika, Navy BG */
.hw-specifics {
    padding: 90px 0;
    background: #1e3a5f;
}

.hw-specifics-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hw-specifics .hw-section-title {
    color: #ffffff;
}

.hw-specifics .hw-section-subtitle {
    color: #93c5fd;
}

.hw-specifics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.hw-specifics-card {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px 28px;
    transition: background 0.2s, border-color 0.2s;
}

.hw-specifics-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.hw-specifics-icon {
    width: 48px;
    height: 48px;
    background: rgba(37,99,235,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.hw-specifics-icon svg {
    width: 24px;
    height: 24px;
    color: #93c5fd;
}

.hw-specifics-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hw-specifics-card p {
    font-size: 0.88rem;
    color: #93c5fd;
    line-height: 1.7;
}

.hw-specifics-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.hw-specifics-card ul li {
    font-size: 0.85rem;
    color: #bfdbfe;
    padding: 3px 0 3px 18px;
    position: relative;
    line-height: 1.5;
}

.hw-specifics-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
}

/* Process */
.hw-process {
    padding: 90px 0;
    background: #ffffff;
}

.hw-process-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hw-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
}

.hw-process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    z-index: 0;
}

.hw-process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hw-process-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.hw-process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.hw-process-step p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
}

.hw-process-tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* FAQ */
.hw-faq {
    padding: 90px 0;
    background: #f8fafc;
}

.hw-faq-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.hw-faq-list {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hw-faq-item {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.hw-faq-item:hover {
    border-color: #2563eb;
}

.hw-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    line-height: 1.4;
}

.hw-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
    transition: background 0.2s, transform 0.2s;
}

.hw-faq-item.hw-open .hw-faq-icon {
    background: #2563eb;
    color: #ffffff;
    transform: rotate(45deg);
}

.hw-faq-answer {
    display: none;
    padding: 0 28px 24px;
    font-size: 0.93rem;
    color: #4b5563;
    line-height: 1.75;
    border-top: 1px solid #f3f4f6;
}

.hw-faq-answer p {
    padding-top: 18px;
    margin: 0;
}

.hw-faq-item.hw-open .hw-faq-answer {
    display: block;
}

/* CTA Final */
.hw-cta-final {
    padding: 90px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 60%, #1e40af 100%);
    position: relative;
    overflow: hidden;
}

.hw-cta-final::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hw-cta-final-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hw-cta-final h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.2;
}

.hw-cta-final p {
    font-size: 1.08rem;
    color: #bfdbfe;
    line-height: 1.65;
    margin-bottom: 36px;
}

.hw-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hw-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #10b981;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 24px rgba(16,185,129,0.35);
}

.hw-cta-btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(16,185,129,0.45);
}

.hw-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.35);
    padding: 16px 32px;
    border-radius: 50px;
    transition: border-color 0.2s, background 0.2s;
}

.hw-cta-btn-secondary:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.hw-cta-trust-row {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hw-cta-trust-item {
    font-size: 0.84rem;
    color: #93c5fd;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hw-cta-trust-item::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}

/* Related Links */
.hw-related {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
}

.hw-related-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hw-related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.hw-related-card {
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 20px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: block;
}

.hw-related-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37,99,235,0.1);
}

.hw-related-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.hw-related-card-title {
    font-size: 0.93rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
}

.hw-related-card-arrow {
    font-size: 0.8rem;
    color: #2563eb;
    margin-top: 8px;
    display: block;
}

/* Testimonial mini strip */
.hw-testimonial-strip {
    padding: 56px 0;
    background: #eff6ff;
}

.hw-testimonial-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.hw-testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1.5px solid #bfdbfe;
}

.hw-testimonial-stars {
    color: #b45309;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.hw-testimonial-text {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.hw-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hw-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.hw-testimonial-name {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.93rem;
}

.hw-testimonial-role {
    font-size: 0.82rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
    .hw-stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .hw-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hw-specifics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hw-process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .hw-process-steps::before {
        display: none;
    }
    .hw-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hw-related-grid .hw-related-card:last-child:nth-child(2n+1) {
        grid-column: 1 / -1;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hw-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hw-hero-svg {
        max-width: 320px;
    }
    .hw-stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .hw-problem-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hw-services-grid {
        grid-template-columns: 1fr;
    }
    .hw-specifics-grid {
        grid-template-columns: 1fr;
    }
    .hw-process-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hw-highlight-box {
        grid-template-columns: 1fr;
        padding: 32px 28px;
        text-align: center;
    }
    .hw-highlight-box-cta {
        width: 100%;
        justify-content: center;
    }
    .hw-testimonial-strip-inner {
        grid-template-columns: 1fr;
    }
    .hw-related-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hw-cta-final h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .hw-stats-bar-inner {
        grid-template-columns: 1fr 1fr;
    }
    .hw-related-grid {
        grid-template-columns: 1fr;
    }
    .hw-hero-cta {
        width: 100%;
        justify-content: center;
    }
    .hw-hero-secondary {
        margin-left: 0;
        margin-top: 12px;
    }
}
