/* main.css - HELLBLAU DESIGN WIE ABOUT-SEITE */
/* Aktualisiert: 19.02.2026 - Navigation als Buttons */
/* Primärfarbe: #0ea5e9 (Hellblau/Cyan) */

/* ===== FARBPALETTE AUS ABOUT-SEITE ===== */
:root {
    --primary-blue: #0ea5e9;           /* Primär Hellblau */
    --secondary-blue: #3b82f6;         /* Sekundär Blau */
    --text-light: #cbd5e1;             /* Heller Text */
    --text-white: #ffffff;             /* Weiß */
    --background-dark: #0a0a14;        /* Dunkler Hintergrund */
    --card-background: #151525;        /* Karten Hintergrund */
    --border-color: rgba(255, 255, 255, 0.1); /* Transparente Border */
    --gradient-blue: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    --gradient-light: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

/* ===== RESET & BASIS ===== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center; /* Zentriert wie About-Seite */
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    max-width: 700px; /* Wie About-Seite */
    margin-left: auto;
    margin-right: auto;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-blue);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    background-color: rgba(10, 10, 20, 0.9);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
}

/* ===== NAVIGATION BUTTONS (WICHTIG!) ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* NAVIGATION ALS BUTTONS STYLEN */
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: inline-block;
}

.nav-links a:hover {
    color: var(--primary-blue);
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--primary-blue);
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.5);
}

/* CTA BUTTON IN NAVIGATION */
.nav-links a.cta-button {
    background: var(--gradient-blue);
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
}

.nav-links a.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-light);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-content { 
    max-width: 800px; 
    margin: 0 auto; 
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== CONTENT CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center; /* Zentriert wie About-Seite */
}

.content-section {
    padding: 3rem 0;
}

/* ===== CARDS (WIE ABOUT-SEITE) ===== */
.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: left;
    margin: 0 auto;
    max-width: 800px;
}

.card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===== HIGHLIGHT BOX (WIE ABOUT-SEITE) ===== */
.highlight-box {
    background: rgba(14, 165, 233, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 800px;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.highlight-box p {
    margin: 0;
    font-style: italic;
    color: var(--text-light);
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

/* ===== BLOG ARTICLE CARDS (WIE ABOUT-SEITE) ===== */
.article-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: left;
    margin-bottom: 2rem;
}

.article-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.article-title {
    font-size: 1.5rem;
    color: #0ea5e9;
    margin-bottom: 1rem;
}

.article-meta {
    color: #e0e0ff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.article-excerpt {
    color: #e0e0ff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #0ea5e9;
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    color: #3b82f6;
}

/* ===== CATEGORY CARDS (WIE VALUE-CARDS AUF ABOUT-SEITE) ===== */
.category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.category-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.category-title {
    font-size: 1.2rem;
    color: #0ea5e9;
    margin-bottom: 0.5rem;
}

.category-description {
    color: #e0e0ff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-icon {
    font-size: 2.5rem;
    color: #0ea5e9;
    margin-bottom: 1rem;
}

/* ===== BLOG SECTIONS ===== */
.articles-section {
    margin-bottom: 4rem;
}

.categories-section {
    margin-bottom: 4rem;
}

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

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.value-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: rgba(10, 10, 20, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: left;
}

.footer-links {
    list-style: none;
    text-align: left;
}

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

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.copyright {
    text-align: center;
    color: var(--text-light);
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    opacity: 0.7;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .card,
    .article-card,
    .category-card,
    .value-card {
        padding: 1rem;
    }
    
    .article-grid,
    .category-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===== CONSISTENCY ===== */
/* Alle Seiten verwenden jetzt das gleiche Design wie die About-Seite */
body,
.site-header,
.site-footer,
.card,
.article-card,
.category-card,
.value-card,
.highlight-box {
    /* Konsistente Farben und Stile */
}

/* ===== ARTIKEL-SEITE (blog posts) ===== */
.article-container {
    max-width: 860px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.article-content {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(14, 165, 233, 0.3);
}

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

.article-meta {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.article-meta i {
    margin-right: 0.3rem;
    color: var(--primary-blue);
}

.article-tags {
    margin-top: 1rem;
}

.article-body h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.article-body h3 {
    color: #7dd3fc;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
    text-align: left;
}

.article-body p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.article-body ul,
.article-body ol {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.4rem;
}

.article-body strong {
    color: var(--text-white);
}

/* Series-Box */
.series-box {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.series-box h3 {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    text-align: left;
}

.series-box ol,
.series-box ul {
    color: var(--text-light);
    padding-left: 1.5rem;
    line-height: 1.8;
    margin: 0;
}

.series-box li {
    margin-bottom: 0.3rem;
}

.series-box a {
    color: #7dd3fc;
    text-decoration: none;
}

.series-box a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Article Navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-nav a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.article-nav a:hover {
    color: #7dd3fc;
}

/* Tag (Badge) */
.tag {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

/* Info/Highlight Box im Artikel */
.info-box {
    background: rgba(14, 165, 233, 0.06);
    border-left: 3px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-light);
}

/* Responsive Artikel */
@media (max-width: 768px) {
    .article-container {
        padding: 0 1rem;
    }
    .article-content {
        padding: 1.5rem;
    }
    .article-header h1 {
        font-size: 1.6rem;
    }
    .article-nav {
        flex-direction: column;
        gap: 1rem;
    }
}
