/* Single Leistung Template Styles */

.leistung-main {
    background-color: #ffffff;
}

/* ===================================
   Header Section - Services Style
   =================================== */
.leistung-header-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f8f0 100%);
    position: relative;
    overflow: hidden;
}

.leistung-header-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.leistung-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.leistung-header-left .section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(74, 143, 42, 0.15);
    color: #2d5a1a;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.leistung-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.leistung-header-right {
    background: #7cb342;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #467118;
    color: white;
}
.leistung-header-right p{ 
    color: white;
}

.leistung-short-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.leistung-short-description p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Hero Image Section
   =================================== */
.leistung-hero-image-section {
    padding: 0 0 80px 0;
}

.leistung-hero-image {
    width: 100%;
    max-width: 1690px;
    height: 560px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.leistung-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================
   Description Section
   =================================== */
.leistung-description-section {
    padding: 0px 0px 80px 0px;
    background: #ffffff;
}

.leistung-description-content {
    max-width: 900px;
    margin: 0 auto;
}

.leistung-description-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 40px 0 20px 0;
    position: relative;
    padding-left: 20px;
}

.leistung-description-content h2:first-child {
    margin-top: 0;
}

.leistung-description-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 60%;
    background: linear-gradient(180deg, #7cb342 0%, #20620c 100%);
    border-radius: 3px;
}

.leistung-description-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #20620c;
    margin: 30px 0 16px 0;
}

.leistung-description-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.leistung-description-content ul,
.leistung-description-content ol {
    margin: 20px 0 20px 30px;
}

.leistung-description-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #555;
}

/* ===================================
   Two Column Section - Vorteile & Ansprechpartner
   =================================== */
.leistung-two-column-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.leistung-two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Vorteile / Bulletpoints Column */
.leistung-vorteile-column h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
}

.leistung-bulletpoints {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.leistung-bulletpoint-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.0625rem;
    color: #333;
    transition: all 0.3s ease;
}

.leistung-bulletpoint-item:hover {
    transform: translateX(5px);
}

.leistung-bulletpoint-icon {
    width: 28px;
    height: 28px;
    background: #4a8f2a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.leistung-bulletpoint-item:hover .leistung-bulletpoint-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 5px 16px rgba(124, 179, 66, 0.45);
}

/* Ansprechpartner Column - wie single-produkt */
.leistung-contact-column h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
}

.leistung-contact-person {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.leistung-contact-person:hover {
    border-color: #7cb342;
    box-shadow: 0 8px 30px rgba(124, 179, 66, 0.2);
    transform: translateY(-4px);
}

.leistung-contact-header {
    background: linear-gradient(135deg, #7cb342 0%, #20620c 100%);
    padding: 18px 24px;
}

.leistung-contact-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.leistung-contact-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 24px;
}

.leistung-contact-photo {
    flex-shrink: 0;
}

.leistung-contact-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #7cb342;
    box-shadow: 0 4px 16px rgba(124, 179, 66, 0.3);
}

.leistung-contact-info {
    flex: 1;
}

.leistung-contact-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.leistung-contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9375rem;
    color: #666;
}

.leistung-contact-detail svg {
    color: #7cb342;
    flex-shrink: 0;
}

.leistung-contact-detail a {
    color: #7cb342;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.leistung-contact-detail a:hover {
    color: #20620c;
    text-decoration: underline;
}

.leistung-opening-hours {
    padding: 20px 24px;
    background: #f0f8f0;
    border-top: 2px solid #e8e8e8;
    font-size: 0.9375rem;
}

.leistung-opening-hours strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 700;
}

.leistung-opening-hours div {
    color: #666;
    line-height: 1.6;
}

/* ===================================
   FAQ Section - Manuell
   =================================== */
.leistung-faq-section {
    padding: var(--spacing-3xl, 6rem) 0;
    background-color: #f5f5f5;
}

.leistung-faq-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl, 4rem);
}

.leistung-faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gray-900, #111827);
    margin-bottom: var(--spacing-sm, 1rem);
}

.leistung-faq-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-600, #4b5563);
    max-width: 700px;
    margin: 0 auto;
}

.leistung-faq-accordion {
    margin: 0 auto;
}

.leistung-faq-item {
    background-color: #ffffff;
    border-radius: var(--radius-md, 8px);
    margin-bottom: var(--spacing-md, 1.5rem);
    overflow: hidden;
    box-shadow: var(--shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
    transition: box-shadow 0.3s ease;
}

.leistung-faq-item:hover {
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}

.leistung-faq-question {
    width: 100%;
    padding: var(--spacing-lg, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900, #111827);
    text-align: left;
    transition: color 0.3s ease;
}

.leistung-faq-question:hover {
    color: var(--color-primary, #7cb342);
}

.leistung-faq-icon {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--color-primary, #7cb342);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--spacing-md, 1.5rem);
}

.leistung-faq-item.active .leistung-faq-icon {
    transform: rotate(45deg);
}

.leistung-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.leistung-faq-item.active .leistung-faq-answer {
    max-height: none !important;
    padding: 0 var(--spacing-lg, 2rem) var(--spacing-lg, 2rem);
}

.leistung-faq-answer p {
    color: var(--color-gray-700, #374151);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1024px) {
    .leistung-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .leistung-title {
        font-size: 2.25rem;
    }
    
    .leistung-hero-image {
        height: 400px;
        border-radius: 16px;
    }
    
    .leistung-two-column-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .leistung-header-section {
        padding: 60px 0;
    }
    
    .leistung-title {
        font-size: 1.875rem;
    }
    
    .leistung-header-right {
        padding: 24px;
    }
    
    .leistung-hero-image {
        height: 300px;
        border-radius: 12px;
    }
    
    .leistung-hero-image-section {
        padding: 0 0 60px 0;
    }
    
    .leistung-description-section,
    .leistung-two-column-section {
        padding: 60px 0;
    }
    
    .leistung-vorteile-column h3,
    .leistung-contact-column h3 {
        font-size: 1.5rem;
    }
    
    .leistung-contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .leistung-contact-info {
        text-align: center;
    }
    
    .leistung-contact-detail {
        justify-content: center;
    }
    
    .leistung-faq-title {
        font-size: 2rem;
    }
    
    .leistung-faq-question {
        padding: var(--spacing-md, 1.5rem);
        font-size: 1rem;
    }
    
    .leistung-faq-icon {
        font-size: 1.5rem;
    }
    
    .leistung-faq-item.active .leistung-faq-answer {
        padding: 0 var(--spacing-md, 1.5rem) var(--spacing-md, 1.5rem);
    }
}

@media (max-width: 480px) {
    .leistung-title {
        font-size: 1.625rem;
    }
    
    .leistung-hero-image {
        height: 220px;
    }
    
    .leistung-description-content h2 {
        font-size: 1.5rem;
    }
}
