/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f7c;
    --secondary-color: #7fb3d5;
    --accent-color: #ff8c42;
    --success-color: #4caf50;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --background: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header und Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.tldr-box {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--accent-color);
}

.tldr-box h2 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.update-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Tables */
.benefits-table, .comparison-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.benefits-table th, .comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.benefits-table td, .comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.benefits-table tbody tr:hover, .comparison-table tbody tr:hover {
    background: var(--background);
}

.benefits-table tbody tr:last-child td, .comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Sections */
section {
    padding: 3rem 0;
}

.benefits-section {
    background: white;
}

/* Facts Grid */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.fact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.fact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.fact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Winner Box */
.winner-box {
    background: white;
    border: 3px solid var(--success-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    box-shadow: var(--shadow-hover);
}

.winner-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

.winner-box h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.winner-details {
    margin-top: 2rem;
}

.score-display {
    text-align: center;
    margin-bottom: 2rem;
}

.score-label {
    font-size: 1.2rem;
    color: var(--text-light);
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success-color);
    display: block;
    margin-top: 0.5rem;
}

.winner-features {
    list-style: none;
    padding: 0;
}

.winner-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.winner-features li:last-child {
    border-bottom: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    margin-top: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #1e4a63;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

/* Methodology */
.methodology {
    background: white;
}

.method-content {
    max-width: 800px;
}

.criteria-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.criteria-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* CTA Grid */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cta-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cta-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #cbd5e0;
    font-size: 0.9rem;
}

/* Comparison Page Specific */
.filter-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.rating-stars {
    color: #ffc107;
}

.price-tag {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.test-winner {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    font-weight: 700;
}

/* FAQ Styles */
.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    background: var(--background);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Additional Styles for New Elements */

/* Step Cards for Guide */
.step-section {
    margin: 3rem 0;
}

.step-section h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.step-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.pro-tip {
    background: #e8f5e9;
    border-left: 4px solid var(--success-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

/* Strategy and Data Tables */
.strategy-table, .data-table, .error-table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.strategy-table th, .data-table th, .error-table th {
    background: var(--secondary-color);
    color: white;
    padding: 0.75rem;
    text-align: left;
}

.strategy-table td, .data-table td, .error-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

/* Time Estimate Box */
.time-estimate {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.time-estimate h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Problem Cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.problem-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent-color);
}

.problem-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Technique Cards */
.technique-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.technique-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-5px);
}

/* Golden Rules */
.golden-rules {
    list-style: none;
    padding: 0;
}

.golden-rules li {
    background: white;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.golden-rules li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

/* Blog Article Styles */
.blog-article {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-hover);
}

.article-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.article-summary {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.article-content h4 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.article-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

/* Expert Quote */
.expert-quote {
    background: #f8f9fa;
    border-left: 5px solid var(--secondary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.expert-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.expert-quote cite {
    display: block;
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
    margin: 3rem 0;
}

.newsletter-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-box small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Test Criteria Section */
.test-criteria {
    background: white;
    padding: 3rem 0;
}

.criteria-details h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
}

/* Winner Analysis */
.winner-analysis {
    background: var(--background);
    padding: 3rem 0;
}

.analysis-content {
    max-width: 900px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Guide Intro Section */
.guide-intro {
    background: white;
    padding: 2rem 0;
}

/* Final Tips Section */
.final-tips {
    background: var(--background);
    padding: 3rem 0;
}

/* Troubleshooting Section */
.troubleshooting {
    padding: 3rem 0;
}

/* Advanced Techniques Section */
.advanced-techniques {
    background: white;
    padding: 3rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .comparison-table table {
        min-width: 700px;
    }
    
    .step-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .problem-grid, .technique-cards, .feature-grid {
        grid-template-columns: 1fr;
    }
}