/* Gesangverein Verein – Darstellung. Nutzt die Farben des GV Theme (--gv-theme-*), sonst eigene Werte. */
.gvv {
	--gvv-accent: var(--gv-theme-accent, #E00814);
	--gvv-ink: var(--gv-theme-ink, #373736);
	--gvv-radius: var(--gv-theme-radius, 6px);
}
.gvv-wrap { max-width: 1240px; margin: 0 auto; }
.gvv-fallback-head { max-width: 1240px; margin: 0 auto; padding: 40px 24px 0; }
.gvv-block + .gvv-block { margin-top: 64px; }
.gvv .gv-heading { margin-bottom: 28px; }
.gvv-h { font-size: 2rem; margin: 0 0 24px; }
.gvv-lead { max-width: 760px; margin: 0 0 32px; font-size: 1.125rem; }

/* Kacheln (Chor-Karten-Stil aus dem Theme) */
.gvv-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.gvv-tiles > li { display: flex; }
.gvv-tile { width: 100%; }
.gvv-tile .gv-choir__media { aspect-ratio: 4 / 3; }
.gvv-tile__ph { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 16%; background: var(--ph, #e2e2e0); color: var(--fg, #373736); }
.gvv-tile__ph .gv-staff { left: -10px; right: -10px; top: 22%; }
.gvv-tile__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--card, #fff); color: var(--accent-text, var(--gv-theme-accent, #E00814)); }
.gvv-tile .gv-choir__name h3 { font-size: 1.25rem; }
.gvv-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.gvv-tile .gv-muted { margin: 0; font-size: .9375rem; }

/* Personen (Vorstands-Team) */
.gvv-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.gvv-person { display: flex; flex-direction: column; gap: 12px; }
.gvv-photo { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--gvv-radius, var(--gv-theme-radius, 6px)); overflow: hidden; background: var(--card, #e9e9e8); border-bottom: 4px solid var(--gvv-accent, var(--gv-theme-accent, #E00814)); }
.gvv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gvv-photo.is-empty { display: flex; align-items: center; justify-content: center; color: var(--muted, #777); }
.gvv-person__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.gvv-person__name { display: block; font-size: 1.0625rem; line-height: 1.3; }
.gvv-person__role { display: block; font-size: .875rem; color: var(--muted, inherit); }
.gvv-mail { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line, #ccc); display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.gvv-actions { margin-top: 40px; }
.gvv-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 4px; background: var(--gvv-accent, var(--gv-theme-accent, #E00814)); color: #fff; font-weight: 700; text-decoration: none; }

/* Ehrungen */
.gvv-honor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.gvv-honor { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px; border-radius: var(--gvv-radius, var(--gv-theme-radius, 6px)); background: var(--card, #f3f3f3); }
.gvv-honors > .gv-wrap > .gvv-honor { max-width: 980px; grid-template-columns: 220px 1fr; }
@media (max-width: 560px) { .gvv-honor, .gvv-honors > .gv-wrap > .gvv-honor { grid-template-columns: 1fr; } .gvv-honor__photo { max-width: 200px; } }
.gvv-honor__name { margin: 0 0 6px; font-size: 1.375rem; }
.gvv-honor__died { margin: 0 0 8px; font-size: .875rem; color: var(--muted, inherit); }
.gvv-honor__tribute p { margin: 0 0 10px; }
.gvv-facts { margin: 6px 0 0; padding-left: 1.1em; }
.gvv-facts li { margin: 2px 0; }
.gvv-honor.is-memory .gvv-photo img { filter: grayscale(1); }
.gvv-cross { color: var(--muted, inherit); font-weight: 400; }
.gvv-note { margin-top: 32px; padding: 16px 20px; border-left: 4px solid var(--gvv-accent, var(--gv-theme-accent, #E00814)); background: var(--card, #f3f3f3); border-radius: 0 var(--gvv-radius, var(--gv-theme-radius, 6px)) var(--gvv-radius, var(--gv-theme-radius, 6px)) 0; }
.gvv-note p { margin: 0; }

/* Chronik */
.gvv-area-note { margin: -12px 0 16px; font-style: italic; color: var(--muted, inherit); }
.gvv-table-wrap { overflow-x: auto; }
.gvv-table { width: 100%; border-collapse: collapse; background: var(--card, #fff); border-radius: var(--gvv-radius, var(--gv-theme-radius, 6px)); overflow: hidden; }
.gvv-table th { text-align: left; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; background: var(--gvv-ink, #373736); color: #fff; }
.gvv-table td { padding: 10px 14px; border-bottom: 1px solid var(--line, #ddd); vertical-align: middle; }
.gvv-table tr.is-current td { font-weight: 700; }
.gvv-table tr.is-current td:first-child { box-shadow: inset 4px 0 0 var(--gvv-accent, var(--gv-theme-accent, #E00814)); }
.gvv-photo--mini { display: inline-block; width: 32px; height: 32px; aspect-ratio: 1; border-radius: 50%; border: 0; vertical-align: middle; margin-right: 10px; }
.gvv-photo--mini svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
	.gvv-table thead { display: none; }
	.gvv-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line, #ddd); }
	.gvv-table td { display: flex; gap: 10px; border: 0; padding: 2px 14px; }
	.gvv-table td::before { content: attr(data-label); flex: 0 0 90px; font-weight: 600; font-size: .8125rem; opacity: .8; }
	.gvv-table td:empty { display: none; }
}

/* Weitere Seiten */
.gvv-more__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; }
.gvv-more__label { font-family: var(--gv-theme-font-hand, inherit); font-size: 1.25rem; }
.gvv-more ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.gvv-more a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gvv-accent, var(--gv-theme-accent, #E00814)); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Chor-Detailseite */
.gvv-chor__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .gvv-chor__grid { grid-template-columns: 1fr; } }
.gvv-chor__media { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: var(--gvv-radius, var(--gv-theme-radius, 6px)); overflow: hidden; background: var(--ph, #e2e2e0); border-bottom: 5px solid var(--gvv-accent, var(--gv-theme-accent, #E00814)); }
.gvv-chor__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gvv-chor__ph { position: absolute; inset: 0; display: block; }
.gvv-chor__ph .gv-staff { left: 0; right: 0; top: calc(50% - 45px); opacity: .35; }
.gvv-chor__badge { top: 18px; right: 18px; width: 110px; height: 110px; }
.gvv-chor__facts { padding: 28px; border-radius: var(--gvv-radius, var(--gv-theme-radius, 6px)); background: var(--card, #f3f3f3); border-top: 5px solid var(--gvv-accent, var(--gv-theme-accent, #E00814)); }
.gvv-chor__facts-title { margin: 0 0 14px; font-family: var(--gv-theme-font-heading, inherit); font-weight: 400; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.gvv-chor__facts dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gvv-chor__facts dt { font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }
.gvv-chor__facts dd { margin: 2px 0 0; }
.gvv-chor__cta { margin: 22px 0 0; }
.gvv-chor__text { padding-bottom: 72px; }
.gvv-more-link { margin-top: 20px; font-weight: 700; }
.gvv-more-link a { text-decoration: underline; text-decoration-color: var(--gvv-accent, var(--gv-theme-accent, #E00814)); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.gvv-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.gvv-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; background: var(--gvv-accent, var(--gv-theme-accent, #E00814)); color: #fff; }
.gvv-badge + .gvv-badge { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }

/* Chronik: Karten mit heutiger Besetzung und Zeitleiste */
.gvv-chron-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; align-items: start; }
.gvv-chron { padding: 26px 28px 24px; border-radius: var(--gvv-radius, var(--gv-theme-radius, 6px)); background: var(--card, #f3f3f3); border-top: 5px solid var(--gvv-accent, var(--gv-theme-accent, #E00814)); }
.gvv-chron--wide { grid-column: 1 / -1; }
.gvv-chron-single .gvv-chron { max-width: 760px; }
.gvv-chron__title { margin: 0 0 4px; font-family: var(--gv-theme-font-heading, inherit); font-weight: 400; font-size: 2rem; line-height: 1.05; text-transform: uppercase; }
.gvv-chron__note { margin: 0 0 6px; font-size: .875rem; font-style: italic; color: var(--muted, inherit); }
.gvv-now { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 16px 0 6px; padding: 0; list-style: none; }
.gvv-now li { display: flex; align-items: center; gap: 12px; }
.gvv-now--empty { display: block; font-style: italic; color: var(--muted, inherit); }
.gvv-now__since { display: block; font-size: .8125rem; color: var(--muted, inherit); }
.gvv-now__name { display: block; font-size: 1.125rem; }
.gvv-avatar { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--ph, #e2e2e0); box-shadow: 0 0 0 3px var(--gvv-accent, var(--gv-theme-accent, #E00814)); display: flex; align-items: center; justify-content: center; color: var(--muted, #777); }
.gvv-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gvv-tl__head { margin: 18px 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, inherit); }
.gvv-tl { position: relative; margin: 0; padding: 0 0 0 18px; list-style: none; border-left: 2px solid var(--line, #ccc); }
.gvv-tl li { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 5px 0; }
.gvv-tl li::before { content: ""; position: absolute; left: -24px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--card, #fff); border: 2px solid var(--muted, #888); }
.gvv-tl__years { font-variant-numeric: tabular-nums; color: var(--muted, inherit); font-size: .9375rem; }
.gvv-tl__name { display: block; }
.gvv-tl__note { display: block; font-size: .8125rem; color: var(--muted, inherit); }
.gvv-tl__more { margin-top: 6px; }
.gvv-tl__more summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gvv-accent, var(--gv-theme-accent, #E00814)); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.gvv-tl__more[open] summary { margin-bottom: 4px; }
@media (max-width: 480px) { .gvv-tl li { grid-template-columns: 1fr; gap: 0; } .gvv-chron { padding: 22px 18px; } }

/* Satzung */
.gvv-satzung { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 760px) { .gvv-satzung { grid-template-columns: 1fr; gap: 24px; } }
@media (min-width: 761px) and (max-width: 1000px) { .gvv-satzung { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; } }
.gvv-satzung__toc { position: sticky; top: 24px; padding: 22px 22px 18px; border-radius: var(--gvv-radius, var(--gv-theme-radius, 6px)); background: var(--card, #f3f3f3); border-top: 5px solid var(--gvv-accent, var(--gv-theme-accent, #E00814)); max-height: calc(100vh - 48px); overflow: auto; }
@media (max-width: 760px) { .gvv-satzung__toc { position: static; max-height: none; } }
.gvv-satzung__toc-title { margin: 0 0 8px; font-family: var(--gv-theme-font-heading, inherit); font-size: 1.75rem; text-transform: uppercase; line-height: 1; }
.gvv-satzung__toc ol { margin: 0 0 12px; padding: 0; list-style: none; font-size: .9375rem; }
.gvv-satzung__toc li a { display: block; padding: 5px 0; text-decoration: none; border-bottom: 1px solid var(--line, #ddd); }
.gvv-satzung__toc li a:hover { color: var(--gvv-accent, var(--gv-theme-accent, #E00814)); }
.gvv-satzung__text { max-width: 760px; }
.gvv-satzung__text .gvv-para { scroll-margin-top: 24px; font-family: var(--gv-theme-font-body, inherit); text-transform: none; font-size: 1.25rem; font-weight: 700; margin: 2em 0 .5em; padding-left: 14px; border-left: 4px solid var(--gvv-accent, var(--gv-theme-accent, #E00814)); }
.gvv-satzung__text .gvv-para:first-child { margin-top: 0; }

.gvv-chor__plan { display: flex; flex-direction: column; gap: 6px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line, #ccc); }
.gvv-chor__planlink { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gvv-accent, var(--gv-theme-accent, #E00814)); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.gvv-chor__planlink span { display: inline-flex; width: 22px; justify-content: center; color: var(--gvv-accent, var(--gv-theme-accent, #E00814)); text-decoration: none; }

.gvv-chor__desc { grid-column: 1; font-size: 1.125rem; line-height: 1.65; }
.gvv-chor__desc p { margin: 0 0 .8em; }
.gvv-chor__grid .gvv-chor__facts { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 860px) { .gvv-chor__desc, .gvv-chor__grid .gvv-chor__facts { grid-column: auto; grid-row: auto; } }
