/**
 * Styles für öffentliche Seiten (page.php)
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.site-nav {
    display: flex;
    align-items: center;
}

.site-nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.site-nav a:hover {
    opacity: 1;
}

.nav-toggle {
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

article {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.page-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-meta {
    color: #95a5a6;
    font-size: 0.9em;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.page-content h1 {
    font-size: 2em;
    color: #2c3e50;
    margin: 30px 0 15px 0;
    font-weight: 700;
}

.page-content h2 {
    font-size: 1.6em;
    color: #34495e;
    margin: 25px 0 12px 0;
    font-weight: 600;
}

.page-content h3 {
    font-size: 1.3em;
    color: #7f8c8d;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.page-content a:hover {
    border-bottom-color: #3498db;
}

.page-content ul,
.page-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.page-content li {
    margin-bottom: 8px;
}

.page-content code {
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

.page-content pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
}

.page-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.page-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 20px 0;
    color: #7f8c8d;
    font-style: italic;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

footer {
    max-width: 1200px;
    margin: 60px auto 20px;
    padding: 20px;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9em;
}


@media (max-width: 768px) {
    article {
        padding: 30px 20px;
    }
    
    .page-title {
        font-size: 2em;
    }
    
    .site-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav a {
        display: block;
        margin: 10px 0;
    }
}
