/* ── BBR Veranstaltungen ─────────────────────────────────────── */

/* ── Grid / Übersicht ─────────────────────────────────────────── */
.bbr-ve-archive-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 20px 0 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 28px;
}
.bbr-ve-archive-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  color: #111;
  flex: 1 1 auto;
}
.bbr-ve-archive-sub {
  width: 100%;
  color: #888;
  font-size: 14px;
  margin: -12px 0 0;
  order: 1;
}

.bbr-ve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 40px;
}
@media (max-width: 900px) { .bbr-ve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bbr-ve-grid { grid-template-columns: 1fr; } }

/* ── Karte ────────────────────────────────────────────────────── */
.bbr-ve-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4e7ed;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .15s;
}
.bbr-ve-card:hover { box-shadow: 0 6px 24px rgba(173,0,24,.10); transform: translateY(-2px); }

.bbr-ve-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #f5f1ee;
}
.bbr-ve-card-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.bbr-ve-card:hover .bbr-ve-card-img-el { transform: scale(1.03); }
.bbr-ve-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bbr-ve-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ad0018;
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  line-height: 1;
  min-width: 44px;
}
.bbr-ve-date-badge-day { display: block; font-size: 20px; font-weight: 800; }
.bbr-ve-date-badge-mon { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

.bbr-ve-card-body { padding: 14px 16px 18px; }
.bbr-ve-card-title { font-size: 15px; font-weight: 700; color: #111; margin: 0 0 8px; line-height: 1.35; }
.bbr-ve-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #777;
  margin: 0 0 4px;
}
.bbr-ve-card-meta svg { color: #ad0018; flex-shrink: 0; }

/* ── Buttons ──────────────────────────────────────────────────── */
.bbr-ve-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ad0018;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.bbr-ve-btn:hover { background: #8a0013; color: #fff; }
.bbr-ve-btn--sm { padding: 8px 16px; font-size: 13px; }

/* ── Auth-Box ─────────────────────────────────────────────────── */
.bbr-ve-auth-box {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid #e4e7ed;
  border-radius: 14px;
  background: #fafafa;
  max-width: 480px;
  margin: 32px auto;
}
.bbr-ve-auth-box svg { margin-bottom: 16px; }
.bbr-ve-auth-box h3 { font-size: 18px; margin: 0 0 10px; }
.bbr-ve-auth-box p { color: #666; font-size: 14px; margin: 0 0 20px; }

/* ── Formular ─────────────────────────────────────────────────── */
.bbr-ve-form-wrap { max-width: 680px; padding: 8px 0 40px; }
.bbr-ve-form { display: flex; flex-direction: column; gap: 0; }
.bbr-ve-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.bbr-ve-form-group--full { grid-column: 1/-1; }
.bbr-ve-form-group label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 5px; }
.bbr-ve-form-group label em { font-weight: 400; color: #999; }
.bbr-ve-form-group input,
.bbr-ve-form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #dde1e8;
  border-radius: 7px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color .15s;
}
.bbr-ve-form-group input:focus,
.bbr-ve-form-group textarea:focus { outline: none; border-color: #ad0018; }
.bbr-ve-form-group input[type=file] { padding: 8px; border-style: dashed; cursor: pointer; }
.bbr-ve-form-hint { font-size: 12px; color: #888; margin: 0 0 12px; }

.bbr-ve-msg { padding: 12px 16px; border-radius: 7px; margin-top: 16px; font-size: 14px; }
.bbr-ve-msg--ok  { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.bbr-ve-msg--err { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

.bbr-ve-empty { color: #888; font-style: italic; padding: 32px 0; }

/* ── Einzelseite ──────────────────────────────────────────────── */
.bbr-ve-single {
  max-width: 760px;
  margin: 32px auto 60px;
  background: #fff;
  border: 1px solid #e4e7ed;
  border-radius: 14px;
  overflow: hidden;
}
.bbr-ve-single-img { width: 100%; }
.bbr-ve-single-img-el { width: 100%; height: auto; display: block; }
.bbr-ve-single-header { padding: 32px 40px 24px; }
@media (max-width: 600px) { .bbr-ve-single-header { padding: 20px; } }
.bbr-ve-single-title { font-size: 1.9rem; font-weight: 800; margin: 0 0 20px; color: #111; line-height: 1.2; }
.bbr-ve-single-meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.bbr-ve-single-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #444;
}
.bbr-ve-single-meta-item svg { flex-shrink: 0; margin-top: 2px; }
.bbr-ve-single-meta-item strong { display: block; color: #111; font-size: 14px; }
.bbr-ve-single-meta-item span { color: #666; font-size: 13px; }
.bbr-ve-single-divider { border: none; border-top: 1px solid #f0f0f0; margin: 0 40px; }
@media (max-width: 600px) { .bbr-ve-single-divider { margin: 0 20px; } }
.bbr-ve-single-desc {
  padding: 24px 40px 32px;
  font-size: 15px;
  color: #333;
  line-height: 1.75;
}
@media (max-width: 600px) { .bbr-ve-single-desc { padding: 20px; } }
.bbr-ve-back { padding: 0 40px 32px; }
@media (max-width: 600px) { .bbr-ve-back { padding: 0 20px 24px; } }
.bbr-ve-back a { font-size: 14px; color: #888; text-decoration: none; }
.bbr-ve-back a:hover { color: #ad0018; }
