/* Erzgebirgischer Heimatverein Kirchberg e.V. – gemeinsames Stylesheet */

/* Schriften: lokal eingebunden (keine Verbindung zu Google) */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/alegreya-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(fonts/source-sans-3-latin.woff2) format('woff2');
}

/* Farben – hier zentral änderbar */
:root {
  --gruen: #1F3A2E;        /* Hauptfarbe (Kopfzeile, Überschriften) */
  --messing: #E2C27A;      /* Akzent auf dunklem Grund */
  --flamme: #F2B544;
  --braun: #7A4E0E;        /* Akzent auf hellem Grund */
  --braun-dunkel: #5A3808;
  --papier: #F7F3EA;       /* Seitenhintergrund */
  --papier-dunkel: #EFE7D6;
  --karte: #FFFDF8;
  --linie: #E5DCC8;
  --text: #241F1A;
  --text-weich: #4A4238;
  --text-hell: #E6E0D2;
  --fuss: #1A1612;
  --serif: 'Alegreya', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--papier);
}
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex-grow: 1; }

a { color: var(--braun); }
a:hover { color: var(--braun-dunkel); }
h1, h2, h3 { font-family: var(--serif); margin: 0; }
p { margin: 0; }

.container { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Kopfzeile */
.site-header { background: var(--gruen); color: var(--papier); }
.site-header .container {
  padding-top: 12px; padding-bottom: 12px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--papier); }
.brand:hover { color: var(--papier); }
.brand img { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.brand-sub { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--messing); }
.nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-weight: 600; font-size: 16px; }
.nav a { color: var(--papier); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--messing); }

/* Startbereich */
.hero { background: var(--gruen); color: var(--papier); border-top: 1px solid rgba(226, 194, 122, 0.25); }
.hero .container {
  padding-top: 72px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: end;
}
.hero-text { display: flex; flex-direction: column; gap: 22px; padding-bottom: 72px; }
.hero h1 { font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.01em; }
.hero .lead { font-size: 20px; max-width: 520px; color: var(--text-hell); }
.hero svg { width: 100%; height: auto; display: block; }

.eyebrow { font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--braun); }
.hero .eyebrow { color: var(--messing); }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.btn {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px;
  border-radius: 6px; font-weight: 700; text-decoration: none;
}
.btn-primary { background: var(--messing); color: var(--text); }
.btn-primary:hover { background: #EBD299; color: var(--text); }
.btn-outline { border: 2px solid var(--messing); color: var(--papier); }
.btn-outline:hover { background: rgba(226, 194, 122, 0.15); color: var(--papier); }

/* Abschnitte */
.section-title { font-weight: 800; font-size: 40px; line-height: 1.1; color: var(--gruen); }

.about .container {
  padding-top: 96px; padding-bottom: 72px;
  display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center;
}
.about-logo {
  width: 240px; height: 240px; border-radius: 50%; background: #fff; display: block; flex-shrink: 0;
  box-shadow: 0 0 0 10px var(--karte), 0 0 0 11px var(--linie);
}
.about-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; color: #3D362E; }

.offers .container { padding-bottom: 96px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--karte); border: 1px solid var(--linie); border-radius: 10px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-weight: 700; font-size: 24px; line-height: 1.2; }
.card p { color: var(--text-weich); font-size: 17px; }

/* Veranstaltungen */
.events { background: var(--papier-dunkel); }
.events .container { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.events-head { display: flex; flex-direction: column; gap: 8px; }
.event-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.event { background: var(--karte); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.event-head { background: var(--gruen); color: var(--papier); padding: 22px 26px; display: flex; flex-direction: column; gap: 4px; }
.event-date { font-weight: 700; font-size: 15px; letter-spacing: 0.06em; color: var(--messing); }
.event h3 { font-weight: 700; font-size: 28px; }
.event ul { list-style: none; margin: 0; padding: 10px 26px 22px; }
.event li { padding: 14px 0; border-bottom: 1px solid #ECE3D0; }
.event li:last-child { border-bottom: none; }
.event li strong { display: block; font-size: 15px; color: var(--braun); }

/* Kontakt */
.contact .container { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 36px; }
.contact-intro { display: flex; flex-direction: column; gap: 10px; max-width: 640px; color: #3D362E; }
.boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.box {
  background: var(--karte); border: 1px solid var(--linie); border-radius: 10px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.box h3 { font-weight: 700; font-size: 22px; }
.box .muted { color: var(--text-weich); }
.box-dark { background: var(--gruen); color: var(--papier); border: none; justify-content: space-between; }
.box-dark p { color: var(--text-hell); margin-top: 8px; }
.box-dark .btn { align-self: flex-start; min-height: 48px; padding: 0 24px; }

/* Rechtliche Seiten */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 24px 96px; display: flex; flex-direction: column; gap: 36px; }
.legal h1 { font-weight: 800; font-size: 48px; line-height: 1.1; color: var(--gruen); }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal h2 { font-weight: 700; font-size: 24px; }

/* Fußzeile */
.site-footer { background: var(--fuss); color: #CFC6B4; font-size: 15px; }
.site-footer .container {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: #CFC6B4; }
.site-footer a:hover { color: #fff; }

@media (max-width: 600px) {
  .section-title { font-size: 32px; }
  .legal h1 { font-size: 38px; }
  .about-logo { width: 180px; height: 180px; }
}
