/* Förderverein Internationale Schriftsteller – vollwertiges Vereins-Design */
:root {
    --ink: #1a1a1a;
    --ink-soft: #333;
    --muted: #555;
    --white: #fff;
    --paper: #f8f7f4;
    --accent: #8b6919;
    --accent-hover: #6b5012;
    --overlay: rgba(0,0,0,.5);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 30px rgba(0,0,0,.1);
    --font-heading: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --space: clamp(1rem, 4vw, 2.5rem);
    --wrap: min(1100px, 94vw);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink-soft);
    background: var(--paper);
    line-height: 1.65;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--space);
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space);
    padding: 0.9rem var(--space);
    flex-wrap: wrap;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.3;
}

.site-subtitle {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.nav-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
}

.nav-main a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 0.4rem 0;
    transition: color .2s;
}

.nav-main a:hover { color: var(--accent); }

/* ========== HERO (Full-Width Bild) ========== */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--ink) url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=1920&q=85') center/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,.65) 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    padding: 3rem var(--space);
}

.hero .lead {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero .tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.92);
    max-width: 32ch;
    margin: 0 auto 1.5rem;
}

.hero .btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    background: var(--accent);
    color: var(--white) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: background .25s, transform .15s;
}

.hero .btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ========== WILLKOMMEN / ÜBER UNS (Bild + Text) ========== */
.welcome {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.welcome .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (max-width: 768px) {
    .welcome .container { grid-template-columns: 1fr; }
    .welcome .welcome-image { order: -1; max-height: 280px; }
}

.welcome-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-text .section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 1rem;
}

.welcome-text p {
    margin-bottom: 1rem;
    color: var(--ink-soft);
}

.welcome-text .lead-text {
    font-size: 1.1rem;
    color: var(--ink);
}

/* ========== AKTIVITÄTEN (Bild-Karten wie Referenzseiten) ========== */
.activities {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    background: var(--white);
}

.activities .section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 400;
    color: var(--ink);
    text-align: center;
    margin-bottom: 2rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 560px) {
    .activity-grid { grid-template-columns: 1fr; }
}

.activity-card {
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: box-shadow .25s, transform .2s;
}

.activity-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    transform: translateY(-4px);
}

.activity-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.activity-card .card-body {
    padding: 1.35rem;
}

.activity-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.activity-card .card-text {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.activity-card .card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color .2s;
}

.activity-card .card-link:hover { color: var(--accent-hover); }

/* ========== VORSTAND ========== */
.section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.8vw, 1.7rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 1rem;
}

.section p {
    margin-bottom: 1rem;
    color: var(--ink-soft);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 800px) {
    .board-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
    .board-grid { grid-template-columns: 1fr; }
}

.board-card {
    background: var(--white);
    padding: 1.35rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}

.board-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); }

.board-card .role {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.board-card .name {
    font-weight: 600;
    color: var(--ink);
    font-size: 1.05rem;
}

/* ========== CTA MITGLIED WERDEN (Prominent wie „Ich will helfen“) ========== */
.cta-mitglied {
    position: relative;
    padding: clamp(3rem, 8vw, 5rem) 0;
    text-align: center;
    background: var(--ink) url('https://images.unsplash.com/photo-1507842469043-3e0b82f918e8?w=1200&q=85') center/cover no-repeat;
}

.cta-mitglied::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    pointer-events: none;
}

.cta-mitglied .container {
    position: relative;
    z-index: 1;
}

.cta-mitglied .section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-mitglied .cta-text {
    color: rgba(255,255,255,.9);
    max-width: 36ch;
    margin: 0 auto 1.5rem;
}

.cta-mitglied .fees {
    display: inline-block;
    background: rgba(255,255,255,.95);
    color: var(--ink);
    padding: 1.25rem 2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cta-mitglied .fees strong { color: var(--ink); }

.cta-mitglied .btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--accent);
    color: var(--white) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: background .25s, transform .15s;
}

.cta-mitglied .btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ========== KONTAKT (mit optionalem Bild) ========== */
.contact-section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    background: var(--white);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

@media (max-width: 700px) {
    .contact-wrap { grid-template-columns: 1fr; }
}

.contact-box {
    background: var(--paper);
    padding: 1.75rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.contact-box p { margin-bottom: 0.4rem; }

.contact-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

a.link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

a.link:hover { color: var(--accent-hover); }

/* ========== FOOTER (mehrspaltig wie Referenzen) ========== */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.75);
    padding: clamp(2rem, 5vw, 3rem) 0;
    font-size: 0.9rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(255,255,255,.95);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: flex-end;
}

@media (max-width: 600px) {
    .footer-links { justify-content: center; }
}

.footer-links a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover { color: #fff; }

/* Impressum-Seite */
.page-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color .2s;
}

.page-back:hover { color: var(--accent); }

.impressum h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.impressum h2 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin: 1.5rem 0 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.impressum p { margin-bottom: 0.6rem; }

main .container { padding-top: clamp(2rem, 5vw, 3rem); }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
