/* Förderverein der Feuerwehr Neustadt-Glewe e.V. — Stylesheet */

:root {
  --brown: #6E4834;
  --brown-dark: #4F3222;
  --ink: #241A12;
  --ivory: #EAD5AE;
  --cream: #F5E9D2;
  --muted: #6A5842;
  --body-text: #3a3835;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 10px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
}
.btn-primary { background: var(--brown); color: #fff; }
.btn-primary:hover { background: var(--brown-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-ink { border-color: rgba(36,26,18,0.3); color: var(--ink); }
.btn-ghost-ink:hover { border-color: var(--ink); }

/* Header */
.site-header {
  background: var(--ivory);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-line1 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); }
.brand-line2 { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 11px; letter-spacing: 0.12em; color: var(--brown); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--brown); color: var(--brown); }
.main-nav a.btn-nav { border: none; }
.main-nav a.btn-nav:hover { border-bottom: none; color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* Hero */
.hero { background: var(--brown); padding: 88px 24px 0; }
.hero-inner { max-width: 760px; margin: 0 auto; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero-inner .eyebrow { color: #f0e2cf; }
.hero h1 { font-size: 56px; line-height: 1.08; text-transform: uppercase; color: #fff; }
.hero p { margin: 0; max-width: 600px; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.85); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

.hazard { height: 12px; background: repeating-linear-gradient(135deg, var(--ink) 0 18px, var(--cream) 18px 36px); }

/* Sections */
.section { padding: 72px 24px; }
.section-tan { background: var(--ivory); }
.section-cream { background: var(--cream); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-header h2 { font-size: 30px; text-transform: uppercase; margin-top: 4px; }
.page-title { font-size: 38px; text-transform: uppercase; margin-bottom: 8px; }

.card { background: var(--cream); border: 1px solid rgba(36,26,18,0.1); border-radius: 4px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; }

.fact-card { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.fact-card .num { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 34px; }
.fact-card svg { color: var(--brown); }

.mission p { color: var(--body-text); line-height: 1.75; margin: 0 0 16px; }
.mission-card { padding: 36px; display: flex; flex-direction: column; gap: 18px; align-self: start; }
.mission-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mission-card li { display: flex; gap: 10px; font-size: 15px; color: var(--body-text); }
.mission-card li svg { flex-shrink: 0; margin-top: 2px; color: var(--brown); }

.band { padding: 64px 24px; color: #fff; }
.band-accent { background: var(--brown); }
.band-ink { background: var(--ink); }
.band-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.band-inner h2 { font-size: 26px; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.band-inner p { margin: 0; color: rgba(255,255,255,0.85); line-height: 1.6; max-width: 560px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.contact-block { display: flex; flex-direction: column; gap: 6px; }
.contact-block svg { color: var(--brown); margin-bottom: 4px; }
.contact-label { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* News */
.news-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 24px; }
.news-card { padding: 36px; }
.news-meta { font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.news-title { font-size: 24px; margin-bottom: 14px; }
.news-image img { border-radius: 4px; margin-bottom: 16px; max-height: 360px; object-fit: cover; width: 100%; }
.news-body { color: var(--body-text); line-height: 1.75; }
.news-body p { margin: 0 0 14px; }
.news-body img { border-radius: 4px; margin: 10px 0; }
.news-edit-link { color: var(--brown); text-decoration: underline; }

/* Verein page: leadership + timeline */
.leader-card { padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.leader-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brown); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-weight: 700; margin-bottom: 6px; }

.timeline-item { display: grid; grid-template-columns: 90px 24px 1fr; }
.timeline-year { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 20px; color: var(--brown); padding-top: 2px; }
.timeline-year.muted-year { font-size: 15px; color: var(--muted); }
.timeline-rail { display: flex; flex-direction: column; align-items: center; }
.timeline-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--brown); margin-top: 6px; }
.timeline-dot.ink { background: var(--ink); }
.timeline-line { width: 2px; flex-grow: 1; background: rgba(36,26,18,0.15); margin-top: 4px; }
.timeline-content { padding-bottom: 34px; }
.timeline-content h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-content p { margin: 0; color: var(--body-text); line-height: 1.7; }

/* Forms */
.form-card { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field textarea, .field input[type="file"] {
  width: 100%; font-family: 'Work Sans', sans-serif; font-size: 15px; color: var(--ink);
  background: var(--ivory); border: 1px solid rgba(36,26,18,0.2); border-radius: 4px; padding: 12px 14px;
}
.field input:focus, .field textarea:focus, .editor-area:focus { outline: 2px solid var(--brown); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-error { background: #f7d9d9; border: 1px solid #c0554f; color: #7a1f1a; padding: 12px 16px; border-radius: 4px; font-size: 14px; }
.form-success { background: #dcefd7; border: 1px solid #6a9a5a; color: #2e4a24; padding: 12px 16px; border-radius: 4px; font-size: 14px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Rich text editor */
.editor-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--cream); border: 1px solid rgba(36,26,18,0.15); border-radius: 4px; padding: 10px 12px; margin-bottom: 8px; }
.toolbtn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--ivory); border: 1px solid rgba(36,26,18,0.2); border-radius: 4px; cursor: pointer; color: var(--ink); }
.toolbtn:hover { border-color: var(--ink); }
.toolbar-divider { width: 1px; height: 22px; background: rgba(36,26,18,0.2); }
.color-input { width: 36px; height: 36px; padding: 0; border: 1px solid rgba(36,26,18,0.2); border-radius: 4px; background: none; cursor: pointer; }
.font-select { height: 36px; border-radius: 4px; border: 1px solid rgba(36,26,18,0.2); background: var(--ivory); font-family: 'Work Sans', sans-serif; font-size: 14px; padding: 0 10px; }
.editor-area { min-height: 220px; background: #fff; border: 1px solid rgba(36,26,18,0.2); border-radius: 4px; padding: 18px; line-height: 1.6; }
.editor-area img { max-width: 100%; border-radius: 4px; }

/* Admin list */
.admin-list { display: flex; flex-direction: column; gap: 14px; }
.admin-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; flex-wrap: wrap; }
.admin-row-title { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 16px; }
.admin-row-meta { font-size: 13px; color: var(--muted); }
.admin-row-actions { display: flex; gap: 10px; }
.admin-row-actions form { margin: 0; }
.link-btn { background: none; border: none; padding: 0; font: inherit; color: #8a2f2f; text-decoration: underline; cursor: pointer; }
.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--ivory); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 56px 24px 36px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-about { max-width: 320px; }
.footer-title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; color: #fff; }
.footer-about p { margin: 0; font-size: 14px; color: rgba(234,213,174,0.6); line-height: 1.6; }
.footer-heading { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(234,213,174,0.55); }
.footer-col a { font-size: 15px; color: rgba(234,213,174,0.85); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 24px 24px 36px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(234,213,174,0.5); }

/* Responsive */
@media (max-width: 820px) {
  .grid-2, .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); border-bottom: 3px solid var(--ink);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px 24px 20px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a.btn-nav { margin-top: 10px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .section { padding: 52px 20px; }
  .news-card, .form-card, .mission-card { padding: 24px; }
}
