/* ── BBR Traueranzeigen ─────────────────────────────────────── */

/* Übersicht */
.bbr-ta-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 8px 0 24px;
}
@media (max-width: 600px) {
  .bbr-ta-overview { grid-template-columns: 1fr; }
}
.bbr-ta-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e4e0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .15s;
}
.bbr-ta-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-2px); }
.bbr-ta-card-img { width: 100%; overflow: hidden; background: #f5f1ee; }
.bbr-ta-card-img-el { width: 100%; height: auto; display: block; }
.bbr-ta-card:hover .bbr-ta-card-img-el { transform: none; }
.bbr-ta-card-img--placeholder { display: flex; align-items: center; justify-content: center; min-height: 120px; }
.bbr-ta-card-body { padding: 14px 16px 18px; }
.bbr-ta-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 8px;
}
.bbr-ta-badge--stille     { background: #f0ece8; color: #6b5c4e; }
.bbr-ta-badge--gedenken   { background: #e8f0fb; color: #1a5dad; }
.bbr-ta-badge--erinnerung { background: #f2e8fb; color: #7b1ab0; }
.bbr-ta-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
.bbr-ta-ddate { margin: 0; font-size: 13px; color: #888; }
.bbr-ta-expiring { margin: 6px 0 0; font-size: 11px; color: #c0392b; font-weight: 600; }
.bbr-ta-empty { color: #888; font-style: italic; }

/* ── Einzelseite ─────────────────────────────────────────────── */
.bbr-ta-single-wrap {
  background: #faf8f6;
  min-height: 60vh;
  padding: 40px 16px 60px;
}
.bbr-ta-single {
  max-width: 740px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8e4e0;
  border-radius: 14px;
  padding: 40px 44px;
}
@media (max-width: 600px) {
  .bbr-ta-single { padding: 28px 20px; }
}

/* Foto der Traueranzeige (Einzelseite) */
.bbr-ta-notice-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #f5f1ee;
}
.bbr-ta-notice-img-el {
  width: 100%;
  height: auto;
  display: block;
}

/* Header */
.bbr-ta-header {
  margin-bottom: 8px;
}
.bbr-ta-header-text { flex: 1; }
.bbr-ta-name {
  font-size: 2rem;
  font-weight: 800;
  margin: 6px 0 4px;
  color: #111;
  line-height: 1.2;
}
.bbr-ta-lifespan { font-size: 15px; color: #666; margin: 0 0 4px; }
.bbr-ta-online-hint { font-size: 12px; color: #999; margin: 6px 0 0; }

/* Divider */
.bbr-ta-divider {
  text-align: center;
  margin: 26px 0;
  position: relative;
}
.bbr-ta-divider::before,
.bbr-ta-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 24px);
  height: 1px;
  background: #d8d0c8;
}
.bbr-ta-divider::before { left: 0; }
.bbr-ta-divider::after  { right: 0; }
.bbr-ta-divider span { font-size: 16px; color: #c0a060; position: relative; background: #fff; padding: 0 8px; }

/* Abschiedstext */
.bbr-ta-farewell {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  border-left: 3px solid #c0a060;
  padding: 4px 0 4px 20px;
  margin: 0 0 32px;
  font-style: italic;
}
.bbr-ta-farewell p { margin: 0 0 12px; }
.bbr-ta-farewell p:last-child { margin: 0; }

/* Trauerfeier & Beisetzung */
.bbr-ta-ceremony {
  background: #faf6f0;
  border: 1px solid #e8ddd0;
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 28px;
}
.bbr-ta-ceremony-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #8a7260;
}
.bbr-ta-ceremony-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.bbr-ta-ceremony-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 180px;
}
.bbr-ta-ceremony-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #aaa;
}
.bbr-ta-ceremony-item strong { font-size: 15px; color: #222; display: block; margin: 2px 0; }
.bbr-ta-ceremony-item span,
.bbr-ta-ceremony-time,
.bbr-ta-ceremony-place { font-size: 13px; color: #666; display: block; }
.bbr-ta-ceremony-place { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.bbr-ta-ceremony-place svg { flex-shrink: 0; }

/* Galerie */
.bbr-ta-gallery { margin-bottom: 28px; }
.bbr-ta-gallery-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #8a7260; margin: 0 0 14px; }
.bbr-ta-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}
.bbr-ta-gallery-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Permalink-Box */
.bbr-ta-permalink-box {
  background: #f5f0ff;
  border: 1px solid #d8c8f0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bbr-ta-permalink-box span { color: #888; }
.bbr-ta-permalink { color: #7b1ab0; word-break: break-all; }

/* Kondolenz */
.bbr-ta-kondolenz {
  border-top: 1px solid #e8e4e0;
  padding-top: 28px;
  margin-top: 28px;
}
.bbr-ta-kondolenz > h2 { font-size: 18px; margin: 0 0 20px; color: #222; }
.bbr-ta-kondo-list { margin-bottom: 28px; }
.bbr-ta-kondo-entry {
  padding: 14px 0;
  border-bottom: 1px solid #f0ece8;
}
.bbr-ta-kondo-entry:first-child { padding-top: 0; }
.bbr-ta-kondo-author { font-weight: 700; font-size: 14px; margin: 0 0 4px; color: #333; }
.bbr-ta-kondo-text  { font-size: 14px; color: #555; margin: 0 0 4px; line-height: 1.6; }
.bbr-ta-kondo-time  { font-size: 11px; color: #bbb; }
.bbr-ta-kondo-form-wrap h3 { font-size: 15px; margin: 0 0 12px; }
.bbr-ta-kondo-form input,
.bbr-ta-kondo-form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #ddd;
  border-radius: 7px;
  font-size: 14px;
  margin-bottom: 10px;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color .15s;
}
.bbr-ta-kondo-form input:focus,
.bbr-ta-kondo-form textarea:focus { outline: none; border-color: #c0a060; }
.bbr-ta-kondo-form button {
  background: #2c2c2c;
  color: #fff;
  border: none;
  padding: 11px 26px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.bbr-ta-kondo-form button:hover { background: #444; }
.bbr-ta-kondo-hint { font-size: 11px; color: #aaa; margin: -4px 0 8px; }
.bbr-ta-kondo-empty { font-size: 14px; color: #aaa; font-style: italic; margin-bottom: 20px; }
.bbr-kondo-msg { padding: 10px 14px; border-radius: 6px; margin-top: 12px; font-size: 14px; }
.bbr-kondo-msg--ok  { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.bbr-kondo-msg--err { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

/* Zurück-Link */
.bbr-ta-back { margin-top: 32px; }
.bbr-ta-back a { font-size: 14px; color: #888; text-decoration: none; }
.bbr-ta-back a:hover { color: #333; }
