:root {
    --primary-color: #c0392b;
    --primary-dark: #a23526;
    --primary-light: #e74c3c;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #7f8c8d;
    --white: #ffffff;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Main Content Layout */
.article-container {
    max-width: 1400px;
    margin: 100px auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

/* Navigation Sidebar */
.article-navigation-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.article-navigation-sidebar h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.3rem;
}

.article-navigation-sidebar ul {
    list-style: none;
}

.article-navigation-sidebar li {
    margin-bottom: 12px;
}

.nav-item {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    border-left-color: var(--primary-light);
}

.nav-item.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-left-color: var(--primary-dark);
}

/* Articles Content */
.articles-content {
    min-width: 0;
}

/* Article Styles */
.blog-article {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-color);
}

.article-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.article-category {
    display: inline-block;
    padding: 6px 15px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.article-header h2 {
    font-size: 2rem;
    margin: 0 0 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-content {
    padding: 0;
}

.article-body {
    padding: 30px;
    line-height: 1.7;
}

.article-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--medium-gray);
    font-weight: 500;
}

.article-body h3 {
    color: var(--secondary-color);
    margin: 35px 0 20px;
    font-size: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.article-body h4 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
    font-size: 1.2rem;
}

.article-body p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

/* Content Boxes */
.content-box {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid var(--primary-color);
}

.content-box h4 {
    margin-top: 0;
    color: var(--primary-dark);
}

.content-box ul {
    list-style: none;
    padding: 0;
}

.content-box li {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.content-box li:last-child {
    border-bottom: none;
}

.content-box i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* Process Steps */
.process-steps {
    margin: 30px 0;
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.step-content h4 {
    margin-top: 0;
    color: var(--primary-dark);
}

/* Expert Tip */
.expert-tip {
    background: linear-gradient(135deg, #fffaf0 0%, #fff5e6 100%);
    border-left: 4px solid var(--warning-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 20px;
}

.tip-icon {
    color: var(--warning-color);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.tip-content h4 {
    margin-top: 0;
    color: var(--secondary-color);
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.spec-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
    align-items: flex-start;
}

.spec-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.spec-content h4 {
    margin-top: 0;
    color: var(--primary-dark);
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    border-left: 4px solid var(--danger-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.warning-header i {
    color: var(--danger-color);
    font-size: 1.5rem;
}

.warning-header h4 {
    margin: 0;
    color: var(--danger-color);
}

/* Action Box */
.action-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
}

.action-box h4 {
    margin-top: 0;
    color: var(--white);
    font-size: 1.3rem;
}

.action-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

/* Numbered Tips */
.tip-numbered {
    margin: 30px 0;
}

.tip-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.tip-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.tip-content h4 {
    margin-top: 0;
    color: var(--primary-dark);
}

/* Data Comparison */
.data-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.data-item {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
}

.data-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0 5px;
}

.data-note {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.data-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: -15px;
    margin-bottom: 30px;
}

/* Navigation Buttons */
.navigation-buttons {
    text-align: center;
    margin: 40px 0;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-navigation-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .article-container {
        margin-top: 80px;
    }
    
    .article-header {
        padding: 20px;
    }
    
    .article-header h2 {
        font-size: 1.6rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-body {
        padding: 20px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .expert-tip {
        flex-direction: column;
        text-align: center;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .data-comparison {
        grid-template-columns: 1fr;
    }
    
    .tip-item {
        flex-direction: column;
        text-align: center;
    }
    
    .tip-number {
        align-self: center;
    }
}
/* Verbesserte Navigation Styles */
.current-article-indicator {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.current-article-indicator i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.current-article-indicator span {
    font-size: 0.9rem;
    opacity: 0.9;
}

#currentArticleTitle {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 5px;
}

.nav-item {
    display: block;
    padding: 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
    margin-bottom: 8px;
    position: relative;
}

.nav-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    border-left-color: var(--primary-light);
    transform: translateX(5px);
}

.nav-item.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-left-color: var(--primary-dark);
    font-weight: 600;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(192, 57, 43, 0.3);
}

.nav-item.active::before {
    content: "▶";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
}

/* Hervorhebung des aktuellen Artikels */
.blog-article:target {
    animation: highlight 2s ease;
}

@keyframes highlight {
    0% { 
        background-color: rgba(192, 57, 43, 0.1);
        box-shadow: 0 0 0 2px var(--primary-light);
    }
    100% { 
        background-color: transparent;
        box-shadow: none;
    }
}

/* Scroll-Indikator */
.scroll-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .current-article-indicator {
        padding: 12px;
    }
    
    .nav-item {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .current-article-indicator {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .current-article-indicator i {
        margin-bottom: 0;
        margin-right: 5px;
    }
    
    #currentArticleTitle {
        margin-top: 0;
        margin-left: 5px;
    }
    
    .scroll-indicator {
        top: 70px;
        right: 10px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}
/* Aktive Navigation verbessern */
.nav-item.active {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-left: 4px solid var(--primary-dark) !important;
    font-weight: 600;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.25);
}

.nav-item.active::before {
    content: "•";
    margin-right: 8px;
    font-weight: bold;
}

/* Sichtbarer Indikator für aktuellen Artikel */
.current-article-indicator {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.current-article-indicator span {
    display: block;
    font-weight: 600;
    margin-top: 5px;
    font-size: 1.05rem;
}

/* Leichte Hervorhebung des aktiven Artikels */
.blog-article.active {
    box-shadow: 0 0 0 2px var(--primary-light);
}