:root {
    /* Nature / Summer Palette */
    --color-primary-base: #cfd8e3;
    /* Warm/Sandy Off-White Background */
    --color-surface: #d9e2ec;
    /* Pure White for cards/content */
    --color-background-elevated: #f3f0e6;
    /* Slightly darker sand for hover */

    --color-accent-primary: #314D8F;
    /* Graublau dunkel */
    --color-accent-secondary: #0369a1;
    /* Sky Blue - Secondary/Hover */

    --color-text-primary: #1e293b;
    /* Dark Slate/Blue-Grey for text (easier on eyes than black) */
    --color-text-secondary: #000000;
    /* Muted Slate Blue-Grey */

    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-primary-base);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1,font-size: rem;
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: color 0.1s ease;
    border-bottom: 1px solid transparent;
    font-weight: 500;
}

a:hover {
    color: var(--color-accent-secondary);
    border-bottom-color: var(--color-accent-secondary);
}

/* Layout */
header {
    background-color: var(--color-surface);
    /* White header */
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    /* Light border */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-primary);
}

nav a.active {
    color: var(--color-accent-primary);
    border-bottom: 2px solid var(--color-accent-primary);
}

main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    /* More top spacing */
    width: 100%;
}

.hero {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--color-surface);
    /* Light box for hero? Or just clean whitespace? Clean whitespace is better for nature look. */
    background: transparent;
    margin-bottom: 3rem;
    /* Removed border-bottom to feel more open/airy like sky */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    color: var(--color-accent-primary);
    /* Green Title */
}

.content-section {
    background-color: transparent;
    /* Remove heavy boxes */
    padding: 0rem 0;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent-primary);
    /* Green */
    color: white;
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.2s;
    border: none;
    /* No radius - Flat */
}

.cta-button:hover {
    background-color: var(--color-accent-secondary);
    /* Blue hover */
    color: white;
    border-bottom-color: transparent;
}

footer {
    background-color: var(--color-surface);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--color-text-secondary);
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
}

footer a {
    color: var(--color-text-secondary);
    border-bottom: 1px solid #cbd5e1;
}

footer a:hover {
    color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
}

/* Gallery & Lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    /* More air */
    padding: 2rem 0;
}

.gallery-item {
    display: block;
    overflow: hidden;
    cursor: pointer;
    background-color: #e2e8f0;
    /* Placeholder color */
    height: 150px;
    /* No border radius */
}

.gallery-item:hover {
    opacity: 0.9;
    outline: 2px solid var(--color-accent-secondary);
    /* Blue outline on hover */
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Chronicle Menu (Langlingen / Events) */
.chronicle-menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* Slightly wider */
    gap: 2rem;
    /* SIGNIFICANTLY increased gap as requested */
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    /* Remove the grid lines container style for a cleaner look */
}

.chronicle-item {
    background-color: var(--color-surface);
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e2e8f0;
    /* Very light border */
    /* No radius */
    padding: 0;
    /* Content padding handled inside */
}

.chronicle-item:hover {
    background-color: white;
    border-color: var(--color-accent-primary);
    /* For flat design, maybe just a border change is cleaner than shadow */
    outline: 1px solid var(--color-accent-primary);
}

.chronicle-thumb-container {
    width: 120px;
    /* Slightly larger */
    height: 120px;
    flex-shrink: 0;
}

.chronicle-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chronicle-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.chronicle-year {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
    color: var(--color-accent-primary);
    /* Green Year */
    margin-bottom: 0.25rem;
}

.chronicle-title {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.section-header {
    border-bottom: 2px solid var(--color-accent-primary);
    /* Green underline */
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--color-text-primary);
    display: inline-block;
    /* Only underline text */
}

/* Images Global */
img {
    max-width: 100%;
    height: auto;
    /* No radius */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Lightbox Overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 15, 0.95);
    /* Very dark green/black */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: none;
    border: none;
    outline: 10px solid white;
    /* Frame effect */
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--color-accent-primary);
}

.lightbox-nav {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    padding: 0 20px;
    z-index: 1001;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.1s;
}

.lightbox-nav:hover {
    color: var(--color-accent-primary);
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}