/* ============================================
   Sauberlaufzone Article Page - Custom Styles
   ============================================ */

/* Hero Section */
.sauberlaufzone-hero {
    padding: 100px 0 80px;
    background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.95) 100%), url('../../../../../images/homepages/hero2.webp');
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid #EE780E;
    position: relative;
    overflow: hidden;
}

.sauberlaufzone-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.sauberlaufzone-subtitle {
    font-size: 1.4rem;
    color: #ecf0f1;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Main Content Layout */
.sauberlaufzone-content {
    padding: 40px 0 80px;
}

.sauberlaufzone-main-content {
    padding-left: 30px;
}

/* Sidebar TOC */
.sauberlaufzone-sidebar {
    position: relative;
}

.sauberlaufzone-toc {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sauberlaufzone-toc-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #EE780E;
    padding-bottom: 10px;
}

.sauberlaufzone-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sauberlaufzone-toc-list li {
    margin-bottom: 8px;
}

.sauberlaufzone-toc-list ul {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
}

.sauberlaufzone-toc-list ul li {
    margin-bottom: 5px;
}

.toc-link {
    display: block;
    color: #34495e;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.toc-link:hover {
    background-color: #f8f9fa;
    color: #EE780E;
    text-decoration: none;
    padding-left: 15px;
}

.toc-link.active {
    background-color: #EE780E;
    color: #fff;
    font-weight: 600;
}

/* Mobile TOC Toggle */
.sauberlaufzone-toc-toggle {
    display: none;
    width: 100%;
    background: #EE780E;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    text-align: left;
    position: relative;
}

.sauberlaufzone-toc-toggle i {
    float: right;
    transition: transform 0.3s ease;
}

.sauberlaufzone-toc-toggle.active i {
    transform: rotate(180deg);
}

.sauberlaufzone-toc-nav {
    display: block;
}

@media (max-width: 991px) {
    .sauberlaufzone-toc-toggle {
        display: block;
    }
    
    .sauberlaufzone-toc-nav {
        display: none;
        margin-top: -20px;
        padding-top: 20px;
    }
    
    .sauberlaufzone-toc-nav.open {
        display: block;
    }
    
    .sauberlaufzone-toc {
        margin-bottom: 30px;
    }
    
    .sauberlaufzone-main-content {
        padding-left: 15px;
    }
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
    scroll-margin-top: 80px; /* Offset for sticky header */
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #EE780E;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.content-section ul {
    margin-bottom: 20px;
}

.content-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(to right, rgba(238, 120, 14, 0.1), rgba(238, 120, 14, 0.05));
    border-left: 5px solid #EE780E;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    font-size: 1.1rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.highlight-box::before {
    content: '\f0e7'; /* FontAwesome bolt */
    font-family: 'FontAwesome';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: rgba(238, 120, 14, 0.15);
}

.highlight-box p {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Citation Box */
.citation-box {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-left: 5px solid #3498db;
    padding: 30px 40px;
    margin: 35px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 0 10px 10px 0;
    position: relative;
}

.citation-box::before {
    content: '\f10d'; /* FontAwesome quote-left */
    font-family: 'FontAwesome';
    position: absolute;
    left: -20px;
    top: -15px;
    background: #3498db;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.citation-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.6;
}

.citation-source {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 0;
    text-align: right;
    font-weight: 500;
}

/* Benefit Cards */
.benefit-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #EE780E;
    transition: width 0.3s ease;
    z-index: -1;
}

.benefit-card:hover {
    box-shadow: 0 10px 25px rgba(238, 120, 14, 0.15);
    transform: translateY(-5px);
}

.benefit-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.benefit-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.benefit-card i {
    color: #EE780E;
    margin-right: 15px;
    font-size: 1.8rem;
    background: rgba(238, 120, 14, 0.1);
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.standard-item {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.standard-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: #EE780E;
}

.standard-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.standard-item h4::before {
    content: '\f19c'; /* FontAwesome university/bank */
    font-family: 'FontAwesome';
    color: #EE780E;
    margin-right: 10px;
    font-size: 1.1rem;
}

.standard-item p {
    flex-grow: 1;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.standard-item .btn {
    align-self: flex-start;
    border-radius: 20px;
    padding: 6px 20px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Zone Cards */
.zone-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: visible;
    transition: box-shadow 0.3s ease;
}

.zone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #EE780E;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.zone-card h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.zone-number {
    background: rgba(238, 120, 14, 0.1);
    color: #EE780E;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 1.1rem;
    margin-right: 10px;
    font-weight: 800;
}

.zone-content p {
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.zone-content .custom-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.zone-content .custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.zone-content .custom-list li::before {
    content: '\f058'; /* FontAwesome check-circle */
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 0;
    color: #2ecc71;
    font-size: 1.1rem;
}

.zone-info-box {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: #444;
}

.zone-info-box i {
    color: #3498db;
    margin-right: 8px;
    font-size: 1.2rem;
}

.zone-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.zone-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zone-card:hover .zone-image-wrapper:not(.loupe-container) img {
    transform: scale(1.05);
}

/* Gallery Strip */
.gallery-strip {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.gallery-strip h4 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-thumbnails {
        grid-template-columns: 1fr;
    }
}

.gallery-thumb-placeholder {
    width: 150px;
    height: 150px;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
}

/* Product Carousel */
.product-carousel-section {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 10px;
    margin: 50px 0;
}

.product-carousel-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.product-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-box {
    background: #fff;
    border: none;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-box:hover {
    box-shadow: 0 12px 25px rgba(238, 120, 14, 0.15);
    transform: translateY(-5px);
}

.product-box-img {
    background: #f8f9fa;
    padding: 20px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #f0f0f0;
}

.product-box-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-box:hover .product-box-img img {
    transform: scale(1.08);
}

.product-box-content {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-box-content h4 {
    font-size: 1.35rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-box-content p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
}

.product-box p {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

/* Tables */
.sauberlaufzone-table {
    margin: 25px 0;
    font-size: 0.95rem;
}

.sauberlaufzone-table thead {
    background-color: #EE780E;
    color: #fff;
}

.sauberlaufzone-table thead th {
    font-weight: 600;
    padding: 12px;
    border: none;
}

.sauberlaufzone-table tbody td {
    padding: 12px;
    vertical-align: top;
}

.sauberlaufzone-table tbody tr:hover {
    background-color: #f8f9fa;
}

.sauberlaufzone-table caption {
    caption-side: top;
    font-weight: 600;
    color: #2c3e50;
    padding: 10px 0;
}

/* Install Cards */
.install-card {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 25px;
    height: 100%;
}

.install-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.install-card i {
    color: #EE780E;
    margin-right: 8px;
}

.install-card h4 {
    font-size: 1.1rem;
    color: #34495e;
    margin-top: 20px;
    margin-bottom: 10px;
}

.install-card ul {
    margin-bottom: 15px;
}

/* Animation Carousel Placeholder */
.animation-carousel {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.carousel-placeholder {
    background: #ddd;
    min-height: 300px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.carousel-btn {
    background: #EE780E;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #d6700c;
}

.carousel-indicator {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #999;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: #EE780E;
    width: 30px;
    border-radius: 6px;
}

/* FAQ Accordion */
#faqAccordion .collapse {
    display: none;
}

#faqAccordion .card {
    border: 1px solid #e1e8ed;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: visible;
}

#faqAccordion .card-header {
    background: #f8f9fa;
    padding: 0;
    border-bottom: none;
}

#faqAccordion .faq-btn {
    display: block;
    width: 100%;
    text-align: left;
    color: #2c3e50;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 1.05rem;
    background: none;
    border: none;
    cursor: pointer;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

#faqAccordion .faq-btn:hover {
    color: #EE780E;
    background: #fff;
    text-decoration: none;
    outline: none;
}

#faqAccordion .faq-btn:focus {
    outline: none;
    box-shadow: none;
}

#faqAccordion .faq-btn i {
    margin-right: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

#faqAccordion .faq-btn:not(.collapsed) i {
    transform: rotate(180deg);
}

#faqAccordion .card-body {
    padding: 20px;
    background: #fff;
}

#faqAccordion h3 {
    margin: 0;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f2d3d 0%, #2c3e50 100%);
    color: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-top: 5px solid #EE780E;
}

.cta-box-large h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 20px;
    border-bottom: none;
    font-weight: 700;
}

.cta-box-large .lead {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
    color: #ecf0f1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.cta-buttons .btn {
    font-size: 1.05rem;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-buttons .btn i {
    margin-right: 8px;
}

.cta-buttons .btn-primary {
    background: #EE780E;
    border-color: #EE780E;
    box-shadow: 0 4px 15px rgba(238, 120, 14, 0.4);
}

.cta-buttons .btn-primary:hover {
    background: #d6700c;
    border-color: #d6700c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(238, 120, 14, 0.6);
}

.cta-buttons .btn-outline-primary {
    color: #fff;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.05);
}

.cta-buttons .btn-outline-primary:hover {
    background: #fff;
    color: #2c3e50;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.contact-info {
    background: #fff;
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.contact-info i {
    color: #EE780E;
    transition: transform 0.3s ease;
}

.contact-info .col-md-4:hover i {
    transform: scale(1.15);
}

.contact-info h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-info p {
    color: #666;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* CTA Box in content */
.cta-box {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #EE780E;
}

.cta-box h4 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-box p {
    color: #fff;
    opacity: 0.95;
    margin-bottom: 25px;
}

.cta-box .btn {
    font-size: 1.1rem;
    padding: 12px 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .sauberlaufzone-title {
        font-size: 2rem;
    }
    
    .sauberlaufzone-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }

    #faqAccordion .faq-btn {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    #faqAccordion .card-body {
        padding: 15px;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}
/* Loupe Zoom Effect for Zone Images */
.zone-image-wrapper.loupe-container {
    overflow: visible !important;
    z-index: 5;
    position: relative;
}

.zone-image-wrapper.loupe-container img {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    cursor: zoom-in;
    position: relative;
    z-index: 1;
}

.zone-image-wrapper.loupe-container:hover img {
    transform: scale(1.7);
    border-radius: 50% !important;
    border: 8px solid #fff !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25) !important;
    z-index: 100;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


.gallery-thumbnail-item {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.gallery-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(238, 120, 14, 0.2);
}

.gallery-thumbnail-item:hover img {
    transform: scale(1.1);
}

.gallery-thumbnail-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-thumbnail-item:hover .overlay {
    transform: translateY(0);
}
