﻿/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover,
nav a.active {
    background: rgba(255,255,255,0.2);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.hero h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Disclaimer */
.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.disclaimer h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Partner Links */
.partner-links {
    background: #ecf0f1;
    padding: 1rem;
    border-radius: 4px;
    margin: 2rem auto;
    max-width: 1200px;
    text-align: center;
}

.partner-links h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Partner Section */
.partner-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.partner-links {
    background: #ecf0f1;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #3498db;
}

.partner-links h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.partner-links p {
    color: #555;
    font-size: 0.9rem;
}

.partner-links a {
    color: #3498db;
    text-decoration: none;
}

.partner-links a:hover {
    text-decoration: underline;
}


/* Hero Image */
.hero-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Card Images */
.card-image {
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Article Hero */
.article-hero {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.article-hero h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
}

/* Article Content */
.article-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.article-content h1 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.article-content h2 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.article-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.article-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-meta {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Article Images */
.article-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image figcaption {
    background: #34495e;
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.article-image-detail {
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.article-image-detail img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image-detail figcaption {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
}

.image-disclaimer {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Article Navigation */
.article-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #ecf0f1;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}
/* Article Navigation mit zwei Links */
.article-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-link,
.forward-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover,
.forward-link:hover {
    text-decoration: underline;
}
/* Legal Content */
.legal-content address {
    font-style: normal;
    background: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    margin: 1.5rem 0;
    line-height: 1.8;
}

.legal-content h2 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: #34495e;
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}




/* Error 404 Page */
.error-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.error-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.error-image img {
    width: 100%;
    height: auto;
    display: block;
}

.error-content h1 {
    color: #c0392b;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.error-content h2 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.error-content p {
    text-align: left;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.error-nav {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.error-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-nav li {
    margin-bottom: 0.75rem;
}

.error-nav a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
}

.error-nav a:hover {
    text-decoration: underline;
}

.error-quote {
    text-align: center;
    font-style: italic;
    color: #7f8c8d;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ecf0f1;
}

.error-quote small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Sitemap */
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.sitemap-list li {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sitemap-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sitemap-list a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.sitemap-list a:hover {
    color: #3498db;
}

.sitemap-desc {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}
