/* Blog Template CSS - Nur für Blog-Artikel */
/* Diese Datei hat KEINE Auswirkungen auf Ihre Hauptwebsite */

/* CSS Reset nur für Blog-Artikel */
.blog-template * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.blog-template {
    --primary-color: #0a3b75;
    --secondary-color: #7ed957;
    --accent-color: #9cdfb9;
    --text-dark: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

.blog-template {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Typography nur für Blog-Artikel */
.blog-template h1, 
.blog-template h2, 
.blog-template h3, 
.blog-template h4, 
.blog-template h5, 
.blog-template h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-template h1 { font-size: 2.5rem; }
.blog-template h2 { font-size: 2rem; }
.blog-template h3 { font-size: 1.5rem; }
.blog-template h4 { font-size: 1.25rem; }

.blog-template p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.blog-template a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-template a:hover {
    color: var(--secondary-color);
}

/* Buttons nur für Blog-Artikel */
.blog-template .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.blog-template .btn-primary {
    background-color: #7ed957;
    color: var(--text-white);
}

.blog-template .btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.blog-template .btn-secondary {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--border-color);
}

.blog-template .btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

/* Hero Section nur für Blog-Artikel */
.blog-template .article-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #08305f 100%);
    color: var(--text-white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.blog-template .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.blog-template .hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.blog-template .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.blog-template .article-meta-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-template .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.blog-template .meta-icon {
    width: 20px;
    height: 20px;
}

.blog-template .article-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Article Summary Section - Einfaches Inhaltsverzeichnis */
.blog-template .article-summary {
    padding: 4rem 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.blog-template .summary-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.blog-template .toc-list {
    max-width: 800px;
    margin: 0 auto;
}

.blog-template .toc-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.blog-template .toc-item:hover {
    background-color: var(--bg-light);
    padding-left: 1rem;
    border-radius: var(--border-radius);
}

.blog-template .toc-item:last-child {
    border-bottom: none;
}

.blog-template .toc-number {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-right: 1rem;
    min-width: 30px;
}

.blog-template .toc-link {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.blog-template .toc-link:hover {
    color: var(--primary-color);
}

/* Article Content Section */
.blog-template .article-content {
    padding: 4rem 0;
}

.blog-template .content-wrapper {
    display: block;
}

.blog-template .main-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-template .main-content h2 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary-color);
}

.blog-template .main-content h2:first-child {
    margin-top: 0;
}

.blog-template .main-content h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-template .main-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-template .article-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #08305f 100%);
    color: var(--text-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
}

.blog-template .article-cta h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.blog-template .article-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}



/* Related Articles Section */
.blog-template .related-articles {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.blog-template .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-template .section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-template .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.blog-template .article-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-template .article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-template .placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--bg-light);
    color: var(--text-light);
}

.blog-template .placeholder-image svg {
    width: 60px;
    height: 60px;
}

.blog-template .article-content {
    padding: 1.5rem;
}

.blog-template .article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-template .article-title {
    margin-bottom: 1rem;
}

.blog-template .article-title a {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

.blog-template .article-title a:hover {
    color: var(--primary-color);
}

.blog-template .article-excerpt {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.blog-template .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.blog-template .read-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.blog-template .read-more svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.blog-template .read-more:hover svg {
    transform: translateX(3px);
}

.blog-template .view-all-articles {
    text-align: center;
}

/* Footer nur für Blog-Artikel */
.blog-template .footer {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

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

.blog-template .footer-section h3,
.blog-template .footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.blog-template .footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.blog-template .social-links {
    display: flex;
    gap: 1rem;
}

.blog-template .social-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.blog-template .social-links a:hover {
    color: var(--secondary-color);
}

.blog-template .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Responsive Design nur für Blog-Artikel */
@media (max-width: 1024px) {
    .blog-template .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .blog-template .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-template .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-template .container {
        padding: 0 15px;
    }
    
    .blog-template .article-hero {
        padding: 3rem 0;
    }
    
    .blog-template .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .blog-template .article-meta-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .blog-template .toc-list {
        margin: 0 15px;
    }
    
    .blog-template .toc-item {
        padding: 0.8rem 0;
    }
    
    .blog-template .toc-item:hover {
        padding-left: 0.8rem;
    }
    
    .blog-template .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-template .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .blog-template .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-template .hero-text h1 {
        font-size: 2rem;
    }
    
    .blog-template .hero-text p {
        font-size: 1rem;
    }
    
    .blog-template .article-hero {
        padding: 2rem 0;
    }
    
    .blog-template .article-summary,
    .blog-template .article-content,
    .blog-template .related-articles {
        padding: 2rem 0;
    }
    
    .blog-template .toc-item {
        padding: 0.6rem 0;
    }
    
    .blog-template .toc-item:hover {
        padding-left: 0.6rem;
    }
    
    .blog-template .article-card {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .blog-template .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* WordPress-spezifische Anpassungen nur für Blog-Artikel */
.blog-template .wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.blog-template .wp-block-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.blog-template .wp-block-code {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

/* Animationen nur für Blog-Artikel */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-template .article-card,
.blog-template .toc-item {
    animation: fadeInUp 0.6s ease-out;
}

.blog-template .article-card:nth-child(2) {
    animation-delay: 0.1s;
}

.blog-template .article-card:nth-child(3) {
    animation-delay: 0.2s;
}
