
:root {
    --green-primary: #1f7a3a;
    --green-dark: #145327;
    --green-light: #e3f4e9;
    --accent: #f5b400;
    --bg: #f7f9f7;
    --text: #1f2933;
    --muted: #6b7280;
    --white: #ffffff;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-sm: 0.75rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #e7f5eb, #f9fafb);
    color: var(--text);
    line-height: 1.6;
}

/* Layout */

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 249, 247, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2rem;
    padding: 0.25rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #a7f3d0, #15803d);
    box-shadow: 0 12px 30px rgba(21, 128, 61, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1.05rem;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--muted);
}

.main-nav {
    position: relative;
}

.main-nav ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--muted);
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.main-nav a:hover {
    background: rgba(34, 197, 94, 0.08);
    color: var(--green-dark);
    border-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.main-nav a.active {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.55);
}

/* Mobile Navigation */

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: #111827;
    border-radius: 999px;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-label span::before {
    top: -0.32rem;
}

.nav-toggle-label span::after {
    top: 0.32rem;
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: inline-flex;
    }

    .main-nav ul {
        position: absolute;
        right: 0;
        top: calc(100% + 0.75rem);
        background: rgba(247, 249, 247, 0.98);
        border-radius: 1.25rem;
        padding: 0.5rem;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
        border: 1px solid rgba(148, 163, 184, 0.4);
        flex-direction: column;
        min-width: 12rem;
        transform-origin: top right;
        transform: scale(0.96);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .nav-toggle:checked ~ ul {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
    }

    .main-nav a {
        width: 100%;
    }
}

/* Hero */

.hero {
    padding: 3.5rem 0 2.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

.hero-text p {
    font-size: 1rem;
    color: var(--muted);
    max-width: 30rem;
    margin: 0 0 1.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
    box-shadow: 0 16px 35px rgba(22, 163, 74, 0.6);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 20px 45px rgba(21, 128, 61, 0.7);
}

.hero-image {
    position: relative;
}

.hero-image-main {
    border-radius: 1.75rem;
    min-height: 260px;
    background-image: url("../../images/insektenhotel.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-image-main::after {
    content: "Hinter der Hansa";
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.hero-gallery {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.hero-thumb {
    flex: 1;
    border-radius: 1.1rem;
    height: 80px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.thumb-1 {
    background-image: url("../../images/bild-01.jpg");
}

.thumb-2 {
    background-image: url("../../images/bild-02.jpg");
}

.thumb-3 {
    background-image: url("../../images/bild-03.jpg");
}

/* Highlight Section */

.highlight-section {
    padding: 0 0 2.8rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.3rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(74, 222, 128, 0.18), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.highlight-card h2 {
    position: relative;
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.highlight-card p {
    position: relative;
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Image Strip */

.image-strip {
    padding-bottom: 3.2rem;
}

.image-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.image-strip-item {
    text-align: center;
}

.image-strip-photo {
    border-radius: var(--radius-lg);
    height: 150px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    margin-bottom: 0.6rem;
}

.image-strip-photo-1 {
    background-image: url("https://images.unsplash.com/photo-1459664018906-085c36f472af?auto=format&fit=crop&w=800&q=80");
}

.image-strip-photo-2 {
    background-image: url("https://images.unsplash.com/photo-1589929460218-da4ba51c0651?auto=format&fit=crop&w=800&q=80");
}

.image-strip-photo-3 {
    background-image: url("https://images.unsplash.com/photo-1558985303-28b58b81c86a?auto=format&fit=crop&w=800&q=80");
}

.image-strip figcaption {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Generic Sections */

.page-header {
    padding: 2.5rem 0 1.3rem;
}

.page-header h1 {
    margin: 0 0 0.4rem;
    font-size: 1.8rem;
}

.page-header p {
    margin: 0;
    color: var(--muted);
}

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

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.board-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.3rem;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.board-card h2 {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.board-name {
    font-weight: 600;
    margin-top: 0.15rem;
}

.board-card p {
    margin: 0.2rem 0;
    font-size: 0.92rem;
}

/* Chronik */

.chronik-content h2 {
    margin-top: 1.8rem;
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
}

.chronik-content p {
    margin: 0.4rem 0;
    font-size: 0.96rem;
}

/* Membership */

.membership-content h2 {
    margin-top: 1.8rem;
    margin-bottom: 0.4rem;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}

.price-list li + li {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.info-box {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: linear-gradient(120deg, rgba(22, 163, 74, 0.08), rgba(22, 163, 74, 0.02));
    border: 1px solid rgba(22, 163, 74, 0.35);
}

.info-box h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.info-box p {
    margin: 0;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(209, 213, 219, 0.8);
    background: rgba(248, 250, 252, 0.98);
    padding: 1.3rem 0;
    margin-top: 1.2rem;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-meta {
    color: var(--muted);
}

/* Links */

a {
    color: var(--green-primary);
}

a:hover {
    color: var(--green-dark);
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0.65rem 0;
    }
    .highlight-grid,
    .image-strip-inner {
        grid-template-columns: 1fr;
    }
    .image-strip-photo {
        height: 170px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 2.5rem;
    }
    .hero-image-main {
        min-height: 220px;
    }
}
