/* Grundlegendes Styling im minimalistischen, cleanen Journal-Stil */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf9f6;
    margin: 0;
    padding: 0;
}

/* Header & Navigation */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eef0ed;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: 2.2rem;
    color: #1b5e20;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.site-tagline {
    margin: 0.2rem 0 1.5rem 0;
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: #1b5e20;
    background-color: #e8f5e9;
}

/* Layout-Container */
.content-container {
    max-width: 760px;
    margin: 2rem auto;
    padding: 0 1.2rem;
}

.blog-post {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f2ee;
}

.post-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 1rem;
}

.post-category {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2e7d32;
    display: block;
    margin-bottom: 0.3rem;
}

.post-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    color: #111;
    line-height: 1.25;
}

.post-date {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

/* Typografie im Inhaltsbereich */
.single-column p {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: #3c3c3c;
}

.single-column h3 {
    font-size: 1.35rem;
    color: #1b5e20;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.single-column ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.single-column li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.single-column a {
    color: #2e7d32;
    text-decoration: none;
    border-bottom: 1px rgba(46, 125, 50, 0.3) solid;
}

.single-column a:hover {
    border-bottom-color: #2e7d32;
}

/* Tabellen-Styling */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e8f5e9;
}

.data-table th, .data-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid #edf0ec;
}

.data-table th {
    background-color: #2e7d32;
    color: #ffffff;
    font-weight: 600;
}

.data-table tbody tr:hover {
    background-color: #f4f8f3;
}

/* Boxen & Highlights */
.calculation-box {
    background-color: #efebe9;
    border-left: 4px solid #5d4037;
    padding: 1.2rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 6px 6px 0;
}

.calculation-box h3 {
    margin-top: 0 !important;
    color: #4e342e !important;
    font-size: 1.1rem !important;
}

.calculation-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

.note-box {
    background-color: #e8f5e9;
    border-left: 4px solid #2e7d32;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
}

.note-box.alert {
    background-color: #fbe9e7;
    border-left-color: #d84315;
}

.note-box.alert h4 {
    color: #c62828;
    margin: 0 0 0.5rem 0;
}

.formula-box {
    background-color: #f1f8e9;
    border: 1px solid #d0e7b5;
    padding: 1rem;
    text-align: center;
    margin: 1.5rem 0;
    border-radius: 6px;
}

.formula {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0;
    color: #1b5e20;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #eef0ed;
    background-color: #ffffff;
    margin-top: 4rem;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    .blog-post {
        padding: 1.2rem;
    }
    .post-header h2 {
        font-size: 1.4rem;
    }
    .data-table {
        font-size: 0.85rem;
    }
    .data-table th, .data-table td {
        padding: 0.6rem;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
    }
}
