/* ============================================================
   style.css – BSV Budberg  v2.1
   ============================================================ */

/* ─── 0. Lokale Schrift (Inter Variable) ────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ─── 1. Variablen ──────────────────────────────────────────── */
:root {
  --green-dark:  #3d6b30;
  --green-mid:   #4f8040;
  --green-light: #62944f;

  --bg-page:     #dedad4;
  --bg-wrap:     #f7f5f2;
  --bg-dark:     #2e2e2e;
  --bg-card:     #ffffff;

  --text-main:   #1e1e1e;
  --text-muted:  #777;

  --border-card: #ddd;
  --border-dark: rgba(255,255,255,0.09);

  --radius-wrap: 20px;
  --radius-card: 14px;
  --radius-nav:  12px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 940px;
}

/* ─── 2. Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-page);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("images/white-wall.png");
  background-repeat: repeat;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ─── 3. Seiten-Wrapper ─────────────────────────────────────── */
.page-wrapper {
  width: 95%;
  max-width: var(--max-w);
  margin: 18px auto 36px;
  background: var(--bg-wrap);
  border-radius: var(--radius-wrap);
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  padding: 6px 0 2px;
}

.container {
  width: 92%;
  max-width: 880px;
  margin: 0 auto;
  padding: 3px 0;
}

.container--header {
  padding: 12px 0;
}

/* ─── 4. Header ─────────────────────────────────────────────── */
.site-header {
  width: 100%;
  background: var(--bg-wrap);
  border-radius: var(--radius-wrap) var(--radius-wrap) 0 0;
  overflow: hidden;
}

.header-flex {
  display: grid;
  grid-template-columns: 32% 68%;
  min-height: 185px;
}

.header-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
}

.header-logo-box img {
  width: 100%;
  max-width: 200px;
}

.header-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 0px 32px 20px 12px;
}

.header-title {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 8px;
}

.header-intro {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  margin-bottom: 14px;
}

/* ─── 5. Navigation ─────────────────────────────────────────── */
.nav-bar {
  background: linear-gradient(135deg, #3a6b2c 0%, #2e5423 100%);
  border-radius: var(--radius-nav);
  margin: 10px 0 0;
  width: 100%;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 5px;
}

/* Gleichmäßige Verteilung über volle Breite */
.nav-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.99);
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 6px;
  border-radius: 8px;
  white-space: nowrap;
  min-width: 0;
  letter-spacing: .01em;
}

.nav-link:hover {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.95);
}

/* Aktiver Link: weißes Pill mit dunklem Text */
.nav-link.active {
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

/* Hamburger (nur mobil) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  background: none;
  border: none;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0 5px 7px;
  gap: 2px;
}

.nav-mobile-menu.is-open { display: flex; }

.nav-mobile-menu .nav-link {
  flex: none;
  justify-content: flex-start;
  padding: 9px 12px;
  font-size: 13.5px;
  border-radius: 8px;
}

.nav-mobile-menu .nav-link.active {
  background: #fff;
  color: var(--green-dark);
}

/* Wartungs-Hinweis-Banner */
.maintenance-admin-hint {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #795700;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin: 0 0 8px;
}

.maintenance-admin-hint--header {
  margin: 8px 0 0;
}

.maintenance-admin-hint a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* ─── 6. Posts-Sektion (dunkler Bereich) ────────────────────── */
.posts-section-wrap {
  background: var(--bg-dark);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 18px 18px 22px;
  margin-bottom: 16px;
}

.posts-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.posts-section-icon { font-size: inherit; opacity: 0.85; }

/* ─── 7. Post-Grid ──────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* ─── 8. Post-Card ──────────────────────────────────────────── */
.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* ── Cover: Bild + Badge + Titel überlagert ── */
.post-card__cover {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  flex-shrink: 0;
  padding: 8px 8px 0;
}
.post-card__cover a {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 4px);
}
.post-card__cover img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: brightness(1) saturate(1);
  transition: transform .5s ease, filter .4s ease;
}
.post-card__cover a:hover img {
  transform: scale(1.015);
  filter: brightness(1.08) saturate(1.05);
}
.post-card__cover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 14px 13px;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.0) 100%);
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.post-card__cover-text {
  flex: 1;
  min-width: 0;
}
.post-card__cover .post-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 3px;
  text-shadow:
    0 1px 3px rgba(0,0,0,0.9),
    0 2px 8px rgba(0,0,0,0.8),
    0 4px 16px rgba(0,0,0,0.6);
}
.post-card__cover .post-card__meta { margin-bottom: 0; }
.post-card__cover .post-card__date {
  color: rgba(255,255,255,0.9);
  text-shadow:
    0 1px 3px rgba(0,0,0,0.9),
    0 2px 8px rgba(0,0,0,0.7);
}
.post-card__cover .post-card__tag   {
  background: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(4px);
}
.post-card__cover .badge-pinned {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
/* Badge im Cover leicht kleiner für kompaktes Overlay */
.post-card__cover .date-badge {
  flex-shrink: 0;
  width: 42px;
  height: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.post-card__cover .date-badge__day  { font-size: 18px; }
.post-card__cover .date-badge__month { font-size: 8px; }

/* Body direkt nach Cover bekommt etwas Luft */
.post-card__cover + .post-card__body { padding-top: 10px; }

/* ── Klassisches Bild (unterhalb Kopfzeile) ── */
.post-card__image {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
  padding: 4px;
}
.post-card__image a  { display: block; width: 100%; }
.post-card__image img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

/* ── Kopfzeile (klassisch, auch ohne Bild) ── */
.post-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.post-card__head { align-items: baseline; }

.post-card__head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.post-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--green-dark); }

.post-card__date {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Body */
.post-card__body {
  padding: 6px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.post-card__tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: rgba(79,128,64,0.10);
  padding: 2px 8px;
  border-radius: 20px;
}

.post-card__teaser {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}

.post-card__footer {
  display: flex;
  align-items: center;
}

.post-card__footer--right {
  justify-content: flex-end;
}

.post-card__link {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff !important;
  background: var(--green-dark);
  padding: 6px 14px;
  border-radius: 7px;
  text-decoration: none !important;
}

.post-card__link:hover { background: var(--green-mid); }

/* Gepinnt */
.post-card--pinned { border-left: 3px solid var(--green-mid); }

.badge-pinned {
  font-size: 10px;
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(79,128,64,0.10);
  padding: 2px 7px;
  border-radius: 20px;
}

/* ─── 9. Datum-Badge ────────────────────────────────────────── */
.date-badge {
  width: 46px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--green-mid), var(--green-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  overflow: hidden;
  align-self: flex-start;
}

.date-badge__day {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.date-badge__month {
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 0;
}

/* Badge mit Icon (Kategorie-Symbol statt Tageszahl) */
.date-badge--icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(to bottom, var(--green-mid), var(--green-dark));
  justify-content: center;
}
.date-badge--icon .date-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.date-badge--icon .date-badge__month {
  display: none;
}

/* ─── 10. Seiten-Wrapper (Impressum, Datenschutz etc.) ─────── */
.page-section-wrap {
  background: var(--bg-dark);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 18px 18px 22px;
  margin-bottom: 16px;
}

.page-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.page-content-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  padding: 26px 28px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.page-content-card h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-content-card h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 6px;
  color: var(--text-main);
}

.page-content-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 4px;
  color: var(--text-main);
}

.page-content-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
}

.page-content-card a {
  color: var(--green-dark);
  text-decoration: underline;
}

/* ─── 11. Beitrag-Seite ─────────────────────────────────────── */
.post-article {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
  padding: 26px 28px 30px;
}

.post-article__header {
  margin-bottom: 10px;
}

.post-article__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.post-article__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-mid);
  border-radius: 20px;
  padding: 3px 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

.post-article__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin: 0;
}

.post-article__meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.post-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #888;
  background: none;
  padding: 0;
  line-height: 1.4;
}


.post-meta-chip svg { flex-shrink: 0; opacity: .55; }

.post-meta-chip--updated {
  color: var(--green-dark);
}

@media (max-width: 767px) {
  .post-article__meta-bar { gap: 5px; margin-top: 8px; padding-top: 8px; }
  .post-meta-chip { font-size: 11.5px; padding: 3px 8px 3px 6px; }
}

.post-article__image {
  overflow: hidden;
  margin: 0 -28px 22px;
}

.post-article__image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.post-article__content {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-main);
}

.post-article__content h2 { font-size: 19px; margin: 1.4em 0 .6em; }
.post-article__content h3 { font-size: 16px; margin: 1.2em 0 .5em; }
.post-article__content p  { margin-bottom: 1em; }
.post-article__content ul,
.post-article__content ol { padding-left: 1.4em; margin-bottom: 1em; list-style: revert; }
.post-article__content img { border-radius: 8px; margin: 1em 0; }
.post-article__content a  { color: var(--green-dark); text-decoration: underline; }

/* ─── 11. Termine ───────────────────────────────────────────── */
.termine-box {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.termine-list {
  display: flex;
  flex-direction: column;
}

.termine-item {
  display: grid;
  grid-template-columns: 46px 1fr auto auto;
  gap: 0 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #ebebeb;
  min-height: 62px;
}

.termine-item:last-child { border-bottom: none; }

.termine-item__title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: center;
}

.termine-item__time {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  text-align: right;
  align-self: center;
}

.termine-item__ort {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  text-align: right;
  align-self: center;
}

.termine-more-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--green-dark);
  color: #fff;
  border: none;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font);
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.termine-more-btn:hover { background: var(--green-mid); }
.termine-hidden { display: none !important; }

/* ─── 12. Downloads ─────────────────────────────────────────── */
.downloads-box {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.downloads-category__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px 9px;
  border-bottom: 1px solid #ebebeb;
}

/* 2-column grid – columns separated by right border */
.downloads-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.download-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0 11px;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid #ebebeb;
  border-right: 1px solid #ebebeb;
}

/* Right column: no right border */
.download-item:nth-child(2n) { border-right: none; }

/* Last row: no bottom border */
.download-item:last-child { border-bottom: none; }
.download-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

/* Solid green icon box */
.download-item__icon {
  width: 44px;
  height: 48px;
  border-radius: 8px;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .03em;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.2;
}

.download-item__info { min-width: 0; }

.download-item__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: .04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-item__desc {
  font-size: 11.5px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Outlined "Öffnen" button */
.download-item__link {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
  font-family: var(--font);
}

.download-item__link:hover {
  background: var(--green-dark);
  color: #fff;
}

/* ─── 13. Termine-Seite (Jahreskalender) ────────────────────── */
.tc-year-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  padding: 4px 2px 10px;
}

.tc-month { margin-bottom: 14px; }

.tc-month__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: rgba(255,255,255,0.75);
  letter-spacing: .03em;
  padding: 0 2px 8px 15px;
}

.tc-month--past .tc-month__label { color: rgba(255,255,255,0.35); }

.tc-month--current .tc-month__label { color: #fff; }

.tc-month__year {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0;
}

.tc-month__count {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.30);
  letter-spacing: .04em;
}

.tc-current-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--green-mid);
  color: #fff;
  padding: 2px 7px;
  border-radius: 20px;
}

/* Weiße Karte pro Monat */
.tc-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.tc-month--past .tc-card {
  background: #c8c8c8;
}

.tc-month--past .tc-row {
  background: #c8c8c8;
  border-bottom-color: #b5b5b5;
  opacity: 0.65;
}

.tc-month--past .tc-row:hover {
  background: #bdbdbd;
}

/* Einzelne Event-Zeile */
.tc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0 14px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #ebebeb;
}

.tc-row:last-child { border-bottom: none; }
.tc-row:hover { background: #fafaf9; }

.tc-row--past {
  background: #c8c8c8 !important;
  border-bottom-color: #b5b5b5 !important;
  opacity: 0.65;
}

.tc-row--past:hover {
  background: #bdbdbd !important;
}

/* Badges-Container (Datum oben, optional INFO darunter) */
.tc-row__badges {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  align-self: center;
}

.btn-past-toggle {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s;
}
.btn-past-toggle:hover {
  border-color: #fff;
  color: #fff;
}

/* Externer Termin – INFO Badge (gleiche Breite wie date-badge, flach) */
.tc-extern-badge {
  width: 46px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 3px 0;
}

/* Inhalt */
.tc-row__body { min-width: 0; }

.tc-row__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-row__desc {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Zeit + Ort (rechts) */
.tc-row__meta {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.tc-row__time {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.tc-row__ort {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .tc-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .tc-row__meta {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 4px;
  }
}

/* ─── 13. Downloads-Seite ───────────────────────────────────── */
.dl-empty {
  color: rgba(255,255,255,0.40);
  text-align: center;
  padding: 36px 0;
  font-size: 13px;
}

.dl-category-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  padding: 0 4px 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.dl-table {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  margin-bottom: 14px;
}

/* Kopfzeile */
.dl-table__head {
  display: grid;
  grid-template-columns: 52px 1fr 2fr 70px 120px;
  gap: 0 14px;
  padding: 9px 16px;
  background: #f7f7f5;
  border-bottom: 2px solid #e8e8e8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  align-items: center;
}

/* Datenzeile */
.dl-table__row {
  display: grid;
  grid-template-columns: 52px 1fr 2fr 70px 120px;
  gap: 0 14px;
  padding: 13px 16px;
  align-items: center;
  border-bottom: 1px solid #efefef;
}

.dl-table__row:last-child { border-bottom: none; }
.dl-table__row:hover { background: #fafaf9; }

/* Icon-Box */
.dl-icon {
  width: 46px;
  height: 50px;
  border-radius: 8px;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Spalten */
.dl-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-word;
}

.dl-desc {
  font-size: 12.5px;
  color: #666;
  line-height: 1.45;
}

.dl-desc--empty { color: #bbb; }

.dl-col-size { text-align: right; }

.dl-size {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dl-action { text-align: right; }

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: var(--green-dark);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none !important;
  white-space: nowrap;
  font-family: var(--font);
}

.dl-btn:hover { background: var(--green-mid); }

.dl-btn--disabled {
  background: #eee;
  color: #aaa !important;
  cursor: default;
  pointer-events: none;
}

/* Responsive: ab 640px Größe-Spalte sichtbar, darunter ausgeblendet */
@media (max-width: 639px) {
  .dl-table__head,
  .dl-table__row {
    grid-template-columns: 44px 1fr 110px;
  }
  .dl-table__head > div:nth-child(3),
  .dl-table__head > div:nth-child(4),
  .dl-table__row .dl-desc,
  .dl-table__row .dl-size { display: none; }
  .dl-icon { width: 40px; height: 44px; }
}

/* ─── 14. Reaktionen ────────────────────────────────────────── */
.reactions {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.reactions__title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.reactions__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1.5px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  font-family: var(--font);
}

.reaction-btn:hover { border-color: var(--green-mid); background: rgba(79,128,64,0.05); }
.reaction-btn.reacted { border-color: var(--green-mid); background: rgba(79,128,64,0.10); }

.reaction-btn__count {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.reaction-btn.reacted .reaction-btn__count { color: var(--green-dark); }

/* ─── 14. Barrierefreiheits-Toolbar + Footer-Layout ──────────── */
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.footer-spacer { /* linke Spalte leer – hält Text zentriert */ }

.footer-center {
  text-align: center;
}

.a11y-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.a11y-bar__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
  white-space: nowrap;
}

.a11y-bar__controls {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.a11y-btn {
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.55);
  border-radius: 7px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
  transition: background .15s, color .15s, border-color .15s;
}

.a11y-btn:hover:not(:disabled) {
  background: rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.8);
}

.a11y-btn--active {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
  color: #fff !important;
}

.a11y-btn--reset {
  color: rgba(0,0,0,0.28);
  border-color: transparent;
  background: transparent;
}

.a11y-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

/* ── Barrierefreiheits-Modi ── */

/* Schrift größer */
html.a11y--font-1 body { zoom: 1.1; }
html.a11y--font-2 body { zoom: 1.22; }

/* Hoher Kontrast */
html.a11y--contrast {
  filter: contrast(1.25) brightness(0.97);
}
html.a11y--contrast body {
  --text-main:  #000;
  --text-muted: #333;
  background: #fff;
}

/* Animationen aus */
html.a11y--no-motion *,
html.a11y--no-motion *::before,
html.a11y--no-motion *::after {
  transition: none !important;
  animation:  none !important;
}

/* Zeilenabstand */
html.a11y--spacing body        { line-height: 1.95; }
html.a11y--spacing p,
html.a11y--spacing li,
html.a11y--spacing .post-card__teaser,
html.a11y--spacing .post-article__content { line-height: 1.95; letter-spacing: 0.02em; }

/* ─── 15. Footer ─────────────────────────────────────────────── */
.site-footer {
  width: 95%;
  max-width: var(--max-w);
  margin: 0 auto 10px;
  padding: 6px 20px;
  text-align: center;
}

.footer-inner {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(80,80,80,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-inner a { color: inherit; font-weight: 500; }
.footer-inner a:hover { text-decoration: underline; }
.dot { opacity: 0.4; margin: 0 3px; }

.footer-copy {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
  margin-top: 5px;
}

.footer-copy__secret {
  color: inherit;
  text-decoration: none;
  cursor: default;
}

/* ─── 15. Pagination ────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 16px 0 8px;
  flex-wrap: wrap;
}

.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--text-main);
  text-decoration: none;
}

.pagination__btn:hover { background: rgba(79,128,64,0.08); border-color: var(--green-mid); }
.pagination__btn--active { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.pagination__btn--disabled { opacity: 0.38; pointer-events: none; }

/* ─── 16. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--primary   { background: var(--green-dark); color: #fff; }
.btn--secondary { background: rgba(79,128,64,0.12); color: var(--green-dark); }
.btn--ghost     { background: transparent; border: 1px solid #ddd; color: var(--text-main); }
.btn--danger    { background: #dc2626; color: #fff; }
.btn:hover      { opacity: 0.86; }

/* ─── 17. Utilities ─────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }

/* ─── 18. Responsive ────────────────────────────────────────── */

/* ── Desktop ab 640px: 2-Spalten Post-Grid ── */
@media (min-width: 640px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-card--wide { grid-column: 1 / -1; }
  .post-card--wide .post-card__cover img { height: 280px; }
}

/* ── Tablet/Desktop ab 768px ── */
@media (min-width: 768px) {
  .header-flex { min-height: 210px; }
  .nav-hamburger { display: none !important; }
  .nav-mobile-menu { display: none !important; }
}

/* ── Mobil bis 767px ── */
@media (max-width: 767px) {
  /* Footer */
  .footer-main  { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .footer-spacer { display: none; }
  .a11y-bar     { justify-content: center; }
  .a11y-bar__controls { justify-content: center; }

  /* Seiten-Wrapper */
  .page-wrapper { margin: 10px auto 20px; }

  /* Header */
  .header-flex { grid-template-columns: 1fr; min-height: auto; }
  .header-logo-box { padding: 14px 18px; border-bottom: 1px solid #eee; }
  .header-logo-box img { max-width: 120px; }
  .header-right { padding: 12px 16px; border-left: none; }
  .header-title { font-size: 15px; }
  .header-intro { font-size: 12px; }

  /* Navigation */
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 4px 6px; }
  .nav-inner .nav-link { display: none; }

  /* Sections: weniger Padding */
  .posts-section-wrap,
  .page-section-wrap { padding: 12px 12px 16px; }

  /* Post-Grid */
  .post-grid { grid-template-columns: 1fr; }

  /* Post-Card */
  .post-card__head { padding: 10px 12px 8px; gap: 10px; }
  .post-card__body { padding: 10px 12px 12px; }
  .post-card__cover img { height: 180px; }

  /* Post-Artikel */
  .post-article { padding: 14px 14px 20px; }
  .post-article__image { margin-left: -14px; margin-right: -14px; }
  .post-article__title { font-size: 20px; }

  /* Seiten-Karte (Impressum etc.) */
  .page-content-card { padding: 16px 16px 20px; }
  .page-content-card h1 { font-size: 20px; }

  /* Termine-Sektion (Homepage) */
  .termine-item {
    grid-template-columns: 44px 1fr auto;
    padding: 9px 12px;
  }
  .termine-item__ort { display: none; }

  /* Downloads-Widget (Homepage) */
  .downloads-list { grid-template-columns: 1fr; }
  .download-item:nth-child(2n) { border-right: none; }
  .download-item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid #ebebeb; }

  /* Kalender-Seite */
  .tc-row {
    grid-template-columns: auto 1fr;
    padding: 10px 12px;
  }
  .tc-row__meta {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2px 10px;
    margin-top: 3px;
    text-align: left;
  }
  .tc-month__label { font-size: 15px; }

  /* Downloads-Seite */
  .dl-table__head { display: none; }
  .dl-table__row {
    grid-template-columns: 44px 1fr auto;
    gap: 0 10px;
    padding: 11px 12px;
  }
  .dl-desc,
  .dl-size { display: none; }
  .dl-icon { width: 40px; height: 44px; }
  .dl-btn { padding: 6px 10px; font-size: 11.5px; }

  /* Reactions */
  .reactions__list { gap: 5px; }
  .reaction-btn { padding: 5px 10px; font-size: 13px; }

  /* Galerie Übersicht */
  .galerie-overview-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .galerie-card__body { padding: 8px 10px 10px; }
  .galerie-card__title { font-size: 13px; }
  .galerie-card__desc { font-size: 11.5px; }

  /* Galerie Einzelansicht */
  .galerie-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .galerie-img-link { border-radius: 6px; }

  /* Lightbox */
  .lb-img { max-width: 96vw; max-height: 75vh; }
  .lb-img-wrap { max-width: 96vw; }
  .lb-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 14px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 20px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }

  /* Mitglieder */
  .MemberAreaBox-head { gap: 10px; }
  .MemberAreaBox-title { font-size: 18px; }
  .MemberAreaBox-card { padding: 14px 14px; }
}

/* ── Sehr kleine Geräte bis 400px ── */
@media (max-width: 400px) {
  .page-wrapper { width: 100%; border-radius: 0; margin: 0; }
  .nav-bar { border-radius: 0; }
  .posts-section-wrap,
  .page-section-wrap { border-radius: 10px; padding: 10px 10px 14px; }
  .post-card { border-radius: 10px; }
  .page-content-card { border-radius: 10px; padding: 14px 13px 16px; }
  .header-title { font-size: 14px; }
  .post-article__title { font-size: 18px; }
  .termine-item__time { font-size: 11px; }
  .tc-row__title { font-size: 12px; }

  /* Galerie */
  .galerie-overview-grid { grid-template-columns: 1fr; gap: 8px; }
  .galerie-card__thumb { aspect-ratio: 16/7; }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .galerie-card__no-cover { font-size: 28px; }

  /* Lightbox sehr klein */
  .lb-close { top: 6px; right: 6px; width: 34px; height: 34px; }
  .lb-prev { left: 2px; }
  .lb-next { right: 2px; }
}

/* ─── Social Icons (Header) ─────────────────────────────────── */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: 14px;
  right: 0;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.18s, transform 0.14s;
}

.social-icon-btn:hover,
.social-icon-btn:focus-visible {
  background: var(--green-mid);
  outline: none;
}

.social-icon-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  color: #fff;
}

@media (max-width: 767px) {
  .header-social { position: static; justify-content: flex-end; margin-top: 8px; gap: 7px; }
  .social-icon-btn { width: 30px; height: 30px; }
  .social-icon-btn svg { width: 15px; height: 15px; }
}

/* ─── Galerie Übersicht ──────────────────────────────────────── */
.galerie-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  padding: 4px 0 8px;
}

.galerie-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-card);
  overflow: hidden;
  text-decoration: none;
}

.galerie-card__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.galerie-card__no-cover {
  font-size: 40px;
  opacity: .3;
}

.galerie-card__body {
  padding: 11px 13px 13px;
}

.galerie-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.galerie-card__desc {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
  line-height: 1.45;
}

.galerie-card__count {
  font-size: 11px;
  color: var(--green-mid);
  font-weight: 600;
}

/* ─── Galerie Einzelansicht & Lightbox ───────────────────────── */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  padding: 4px 0;
}

.galerie-img-link {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
}

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

/* Lightbox */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.lb-overlay--open { display: flex; }

.lb-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
  max-height: 92vh;
}

.lb-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  display: block;
}

.lb-caption {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}

.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 9001;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover { background: rgba(255,255,255,0.25); }

.lb-close { top: 16px; right: 16px; font-size: 16px; }
.lb-prev  { left: 12px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 560px) {
  .galerie-overview-grid { gap: 8px; }
  .galerie-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
}

/* ─── Admin Galerie-Bildergrid ───────────────────────────────── */
.galerie-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.galerie-admin-item {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  padding-bottom: 8px;
}

.galerie-admin-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
}

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

.galerie-admin-item--cover {
  border: 3px solid #4caf50;
}

.galerie-admin-item--cover .galerie-admin-thumb::after {
  content: '✓ Titelbild';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(76,175,80,0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 4px 0;
}

.galerie-admin-delete {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(180,0,0,0.8);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}

.galerie-admin-delete:hover { background: #b00; }

/* ─── Mitglieder Login ───────────────────────────────────────── */
.MemberLoginBox {
  max-width: 380px;
  margin: 16px auto 8px;
}

.MemberLoginBox-text {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
  line-height: 1.55;
  text-align: center;
}

.MemberLoginBox-error {
  background: rgba(183,28,28,0.15);
  color: #ef9a9a;
  border: 1px solid rgba(183,28,28,0.35);
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 13px;
  margin-bottom: 14px;
  text-align: center;
}

.MemberLoginForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.MemberLoginForm-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: .03em;
}

.MemberLoginForm-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 7px;
  font-size: 14px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color .15s;
}

.MemberLoginForm-input:focus {
  border-color: var(--green-mid);
}

.MemberLoginForm-button {
  width: 100%;
  padding: 10px;
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  margin-top: 4px;
}

.MemberLoginForm-button:hover {
  background: var(--green-mid);
}

/* ─── Mitgliederbereich ─────────────────────────────────────── */
.MemberAreaBox {
  margin: 24px 0;
}

.MemberAreaBox-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.MemberAreaBox-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-align: center;
}

.MemberAreaBox-logout {
  font-size: 12px;
  font-weight: 600;
  color: #f87171;
  text-decoration: none;
  border: 1px solid rgba(248,113,113,0.35);
  background: rgba(220,38,38,0.12);
  padding: 5px 12px;
  border-radius: 6px;
}

.MemberAreaBox-logout:hover {
  background: rgba(220,38,38,0.22);
  border-color: rgba(248,113,113,0.6);
  color: #fca5a5;
}

.MemberAreaBox-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  padding: 20px 22px;
  margin-bottom: 12px;
}

.MemberAreaBox-cardTitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px;
}

.MemberAreaBox-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.MemberAreaBox-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary, #2563eb);
  background: rgba(37,99,235,0.08);
  border-radius: 20px;
  padding: 3px 10px 3px 8px;
}

.MemberAreaBox-meta-item svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.MemberAreaBox-text {
  font-size: 13px;
  color: #777;
  line-height: 1.55;
  margin: 0;
}
