/* ==========================================================================
   GV Theme – Gestaltung
   Farben und Schriften kommen als CSS-Variablen aus dem Customizer
   (siehe inc/setup.php → gv_css_vars). Plugins können dieselben Variablen
   nutzen: --gv-accent, --gv-ink, --gv-light, --gv-dark, --gv-footer,
   --gv-font-heading, --gv-font-body, --gv-font-hand, --gv-radius.
   ========================================================================== */

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
	margin: 0;
	background: #fff;
	color: var(--gv-ink);
	font-family: var(--gv-font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--gv-accent); }
.gv-sec--dark a:hover, .gv-hero a:hover, .gv-footer a:hover { color: inherit; opacity: .85; }
:focus-visible { outline: 3px solid var(--gv-accent); outline-offset: 3px; }
.gv-sec--dark :focus-visible, .gv-hero :focus-visible, .gv-footer :focus-visible, .gv-pagehead :focus-visible { outline-color: #fff; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.gv-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--gv-accent); color: #fff; font-weight: 700; border-radius: 4px; text-decoration: none;
}
.gv-skip:focus { top: 12px; color: #fff; }
.gv-main:focus { outline: none; }

.gv-wrap { width: 100%; max-width: var(--gv-content); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.gv-pad { padding-top: 88px; padding-bottom: 88px; }
.gv-muted { color: var(--muted, inherit); }
.gv-small { font-size: .875rem; }
.gv-lead { font-size: 1.125rem; }
.gv-label { display: block; font-weight: 700; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; }
.gv-hand { font-family: var(--gv-font-hand); font-size: 1.375rem; line-height: 1.3; margin: 0; }
.gv-accent-text { color: var(--accent-text, var(--gv-accent)); }

/* ---------- Farbschemata der Abschnitte ---------- */
.gv-sec { position: relative; background: var(--bg); color: var(--fg); overflow-x: clip; }
.gv-sec--light {
	--bg: var(--gv-light); --fg: var(--gv-ink); --card: var(--gv-light-card); --muted: var(--gv-ink);
	--line: var(--gv-light-line); --ph: var(--gv-light-ph); --accent-text: var(--gv-accent);
}
.gv-sec--dark {
	--bg: var(--gv-dark); --fg: #fff; --card: var(--gv-dark-card); --muted: var(--gv-dark-muted);
	--line: var(--gv-dark-line); --ph: var(--gv-dark-ph); --accent-text: #fff;
}

/* ---------- Notenzeilen (Maske, Farbe = Schriftfarbe) ---------- */
.gv-staff {
	position: absolute; display: block; height: 91px; pointer-events: none;
	background: currentColor; opacity: var(--gv-staff-alpha, .26);
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: left top; mask-position: left top;
	-webkit-mask-size: auto 91px; mask-size: auto 91px;
}

/* ---------- Überschriften ---------- */
.gv-heading { position: relative; padding-top: 4px; min-width: min(100%, 560px); }
.gv-heading__staff { left: -24px; right: -80px; top: 14px; }
.gv-heading__hand, .gv-heading__title { position: relative; }
.gv-heading__title {
	margin: 0; font-family: var(--gv-font-heading); font-weight: 400;
	font-size: clamp(2.75rem, 5.5vw, 4rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase;
}
.gv-sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.gv-sechead__text { max-width: 440px; margin: 0; color: var(--muted); }
.gv-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: center; }
.gv-split > div > .gv-heading { margin-bottom: 16px; }

/* ---------- Buttons ---------- */
.gv-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.gv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 48px; padding: 0 22px; border-radius: 4px; border: 1.5px solid transparent;
	font-family: var(--gv-font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.gv-btn--primary { background: var(--gv-accent); color: #fff; }
.gv-btn--primary:hover { background: var(--gv-accent-dark); color: #fff; }
.gv-btn--outline { border-color: currentColor; color: inherit; background: transparent; }
.gv-btn--outline:hover { background: var(--fg, var(--gv-ink)); color: var(--bg, #fff); opacity: 1; }
.gv-btn--white { background: #fff; color: var(--gv-ink); }
.gv-btn--white:hover { color: var(--gv-ink); opacity: .9; }
.gv-btn--small { min-height: 44px; padding: 0 16px; font-size: .875rem; }
.gv-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.gv-more__arrow { color: var(--accent-text, var(--gv-accent)); }
.gv-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line, currentColor); color: inherit;
}

/* Pinselstrich-Label */
.gv-brush {
	display: inline-block; align-self: flex-start; background: var(--gv-accent); color: #fff;
	font-family: var(--gv-font-hand); font-size: 1.375rem; line-height: 1.2; padding: 10px 26px 12px;
	transform: rotate(-3deg); clip-path: polygon(1% 12%, 97% 0%, 100% 70%, 98% 100%, 3% 92%, 0% 45%);
}

/* ---------- Kopfzeile ---------- */
.gv-header { position: relative; z-index: 50; background: #fff; border-bottom: 4px solid var(--gv-accent); }
.gv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.gv-header__brand .custom-logo { display: block; max-height: 64px; width: auto; }
.gv-wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.gv-wordmark__name { font-family: var(--gv-font-heading); font-size: 1.75rem; text-transform: uppercase; }
.gv-wordmark__desc { font-size: .8125rem; color: #555; }
.gv-header__nav { display: flex; align-items: center; gap: 24px; }
.gv-nav__list { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; list-style: none; }
.gv-nav__list a {
	display: block; padding: 10px 0; text-decoration: none; font-weight: 600; font-size: .875rem;
	text-transform: uppercase; letter-spacing: .04em;
}
.gv-nav__list .current-menu-item > a, .gv-nav__list .current-menu-ancestor > a, .gv-nav__list a[aria-current] {
	text-decoration: underline; text-decoration-color: var(--gv-accent); text-decoration-thickness: 3px; text-underline-offset: 8px;
}
.gv-nav__list li { position: relative; }
.gv-nav__list .sub-menu {
	position: absolute; left: -16px; top: 100%; min-width: 220px; margin: 0; padding: 8px 0; list-style: none;
	background: #fff; border-top: 3px solid var(--gv-accent); box-shadow: 0 8px 24px rgba(0,0,0,.12);
	visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.gv-nav__list li:hover > .sub-menu, .gv-nav__list li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.gv-nav__list .sub-menu a { padding: 8px 16px; text-transform: none; letter-spacing: 0; font-size: .9375rem; }
.gv-header__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gv-navtoggle {
	display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
	border: 1.5px solid var(--gv-ink); border-radius: 4px; background: #fff; color: var(--gv-ink);
	font: 700 .875rem var(--gv-font-body); cursor: pointer;
}
.gv-navtoggle__close { display: none; }
.gv-navtoggle[aria-expanded="true"] .gv-navtoggle__open { display: none; }
.gv-navtoggle[aria-expanded="true"] .gv-navtoggle__close { display: inline; }

/* Konto-Menü */
.gv-account { position: relative; }
.gv-account summary { list-style: none; color: var(--gv-ink); }
.gv-account summary::-webkit-details-marker { display: none; }
.gv-account__menu {
	position: absolute; right: 0; top: calc(100% + 6px); min-width: 300px; padding: 8px 0; z-index: 60;
	background: #fff; border-top: 3px solid var(--gv-accent); box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.gv-account__list { margin: 0; padding: 0; list-style: none; }
.gv-account__list a { display: block; padding: 9px 16px; text-decoration: none; font-weight: 600; }
.gv-account__list a:hover { background: var(--gv-light-card); color: var(--gv-ink); }
.gv-account__list--meta { border-top: 1px solid #e3e3e3; margin-top: 6px; padding-top: 6px; }
.gv-account__group { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 10px 16px 4px 12px; border-left: 4px solid var(--gv-accent); background: color-mix(in srgb, var(--gv-accent) 9%, #fff); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gv-accent-dark); }
.gv-account__group::before { content: ""; width: 16px; height: 16px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E") center / contain no-repeat; }
.gv-account__list--tasks { padding: 0 0 6px; border-left: 4px solid var(--gv-accent); background: color-mix(in srgb, var(--gv-accent) 9%, #fff); }
.gv-account__list--tasks a { display: flex; align-items: center; gap: 8px; padding-left: 12px; }
.gv-account__list--tasks a::after { content: "→"; margin-left: auto; color: var(--gv-accent); font-weight: 700; }
.gv-account__list--tasks a:hover { background: color-mix(in srgb, var(--gv-accent) 16%, #fff); color: var(--gv-ink); }

@media (max-width: 1020px) {
	.gv-navtoggle { display: inline-flex; }
	.gv-header__inner { flex-wrap: wrap; }
	.gv-header__nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 0 12px; }
	.gv-header__nav.is-open { display: flex; }
	.gv-nav__list { flex-direction: column; gap: 0; }
	.gv-nav__list a { padding: 12px 0; border-bottom: 1px solid #e8e8e8; }
	.gv-nav__list .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.gv-account__menu { position: static; box-shadow: none; }
}

/* ---------- Hero-Slider ---------- */
.gv-hero { position: relative; overflow: hidden; background: var(--gv-dark); color: #fff; }
.gv-hero--small { height: min(440px, 80vh); }
.gv-hero--medium { height: min(560px, 85vh); }
.gv-hero--large { height: min(640px, 88vh); min-height: 480px; }
.gv-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.gv-hero__slide.is-active { opacity: 1; visibility: visible; }
.gv-hero__media { position: absolute; inset: 0; background: color-mix(in srgb, var(--gv-dark) 80%, #fff); }
.gv-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gv-hero__media { position: absolute; inset: 0; overflow: hidden; }
.gv-hero__media .gv-hero__img { position: absolute; inset: 0; }
.gv-hero__img--contain { object-fit: contain; }
.gv-hero__img--bg { filter: blur(24px) brightness(.75); transform: scale(1.15); }
.gv-hero__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 65%; background: linear-gradient(0deg, rgba(0,0,0,var(--gv-overlay, .45)), rgba(0,0,0,0)); }
.gv-hero__staff { left: 0; right: 0; top: 40px; height: 182px; color: #fff; -webkit-mask-size: auto 182px; mask-size: auto 182px; }
.gv-hero__content {
	position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
	align-items: flex-start; gap: 14px; padding-bottom: 112px;
}
.gv-hero__title {
	margin: 0; max-width: 900px; font-family: var(--gv-font-heading); font-size: clamp(3.25rem, 8vw, 7rem);
	line-height: .92; letter-spacing: .01em; text-transform: uppercase;
}
.gv-hero__text { margin: 0; max-width: 600px; font-size: 1.1875rem; font-weight: 500; }
.gv-hero__controls { position: absolute; left: 0; right: 0; bottom: 28px; }
.gv-hero__controls-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gv-hero__dots { display: flex; }
.gv-hero__dot { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gv-hero__dot span { display: block; width: 14px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.55); transition: width .3s; }
.gv-hero__dot.is-active span { width: 32px; background: #fff; }
.gv-hero__arrows { display: flex; gap: 8px; }
.gv-hero__arrow, .gv-hero__pause {
	width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7);
	background: rgba(0,0,0,.3); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.gv-hero__pause[aria-pressed="true"] { background: #fff; color: var(--gv-ink); }
@media (max-width: 600px) {
	.gv-hero__content { padding-bottom: 96px; }
	.gv-hero__staff { top: 24px; height: 120px; -webkit-mask-size: auto 120px; mask-size: auto 120px; }
}

/* ---------- Karten & Raster ---------- */
.gv-grid { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.gv-grid--choirs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.gv-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.gv-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); max-width: 880px; margin: 0 auto; }
.gv-grid--topics { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.gv-card { background: var(--card); color: inherit; border-radius: var(--gv-radius); overflow: hidden; display: flex; flex-direction: column; }
.gv-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.gv-card__body > :last-child { margin-top: auto; }
.gv-ph {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px; background: var(--ph); color: var(--muted); font-size: .8125rem; font-weight: 600;
}
.gv-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Chöre */
.gv-choir__media { position: relative; aspect-ratio: 4 / 3; background: var(--ph); border-bottom: 4px solid var(--gv-accent); }
.gv-choir__media .gv-img { position: absolute; inset: 0; }
.gv-choir__medialink { position: absolute; inset: 0; display: block; }
.gv-choir__medialink .gv-img { transition: transform .3s; }
.gv-choir:hover .gv-choir__medialink .gv-img { transform: scale(1.03); }
.gv-choir__link { text-decoration: none; color: inherit; }
.gv-choir__link:hover { color: inherit; text-decoration: underline; text-decoration-color: var(--gv-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.gv-choir__brush { font-size: 1.0625rem; padding: 8px 20px 10px; }
/* Slogan unter dem Bild (ab 1.3.0): das Foto bleibt frei. */
.gv-choir__brushrow { padding: 14px 14px 0; }
.gv-choir__brushrow .gv-choir__brush { display: inline-block; margin: 0; }
/* Ältere Kacheln mit Pinselstrich im Bild (z. B. Plugins) bleiben wie bisher. */
.gv-choir__media > .gv-choir__brush { position: absolute; left: 14px; bottom: 16px; }
.gv-badge {
	position: absolute; top: 14px; right: 14px; width: 96px; height: 96px; margin: 0; border-radius: 50%;
	background: #fff; border: 3px solid var(--gv-accent); color: var(--gv-ink); transform: rotate(-10deg);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	font-family: var(--gv-font-heading); line-height: .95; text-transform: uppercase;
}
.gv-badge span { font-size: .9375rem; }
.gv-badge strong { font-weight: 400; font-size: 1.375rem; color: var(--gv-accent); }
.gv-choir .gv-card__body { padding-top: 6px; }
.gv-choir__name { position: relative; display: block; padding: 25px 0 28px 22px; }
.gv-choir__staff { left: -20px; right: -24px; top: 0; }
.gv-choir__name h3 { position: relative; margin: 0; font-size: 1.625rem; line-height: 1.15; text-transform: uppercase; }
.gv-choir__name h3 strong { font-weight: 700; }
.gv-choir__name h3 .gv-accent-text { font-weight: 300; text-transform: none; }
.gv-choir .gv-muted { margin: 0; font-size: .9375rem; }
.gv-facts { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; }
.gv-facts div { display: flex; gap: 6px; }
.gv-facts dt { font-weight: 700; }
.gv-facts dd { margin: 0; }

/* Ankündigung */
.gv-announce__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 48px; padding-bottom: 48px; }
.gv-announce__main { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.gv-announce__date { margin: 0; text-align: center; padding-right: 28px; border-right: 4px solid var(--gv-accent); display: flex; flex-direction: column; }
.gv-announce__day { font-family: var(--gv-font-heading); font-size: 4rem; line-height: .9; }
.gv-announce__month { font-weight: 700; text-transform: uppercase; font-size: .875rem; color: var(--muted); }
.gv-announce__title { font-family: var(--gv-font-heading); font-weight: 400; font-size: 2.75rem; line-height: 1; margin: 0 0 4px; text-transform: uppercase; }
.gv-announce__text p { margin: 0; }

/* Termine */
.gv-events__list { display: flex; flex-direction: column; gap: 12px; }
.gv-event { display: flex; gap: 20px; align-items: center; padding: 18px 20px; border-radius: var(--gv-radius); background: var(--card); text-decoration: none; color: inherit; margin: 0; }
.gv-event--empty { display: block; }
.gv-event__date { width: 72px; flex: 0 0 72px; margin: 0; text-align: center; border-right: 3px solid var(--gv-accent); padding-right: 16px; display: flex; flex-direction: column; }
.gv-event__day { font-family: var(--gv-font-heading); font-size: 2.5rem; line-height: 1; }
.gv-event__month { font-size: .8125rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.gv-event__title { margin: 0; font-weight: 700; font-size: 1.0625rem; }
.gv-event__meta { margin: 0; font-size: .875rem; }
.gv-event__badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; vertical-align: 2px; background: var(--gv-accent); color: #fff; }

/* Beiträge */
.gv-post__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--ph); border-bottom: 4px solid var(--gv-accent); }
.gv-post__media .gv-img { position: absolute; inset: 0; }
.gv-post__meta { margin: 0; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.gv-post__title { margin: 0; font-size: 1.3125rem; line-height: 1.3; }
.gv-post__title a { text-decoration: none; }
.gv-post__excerpt p { margin: 0; }

/* Zahlen */
.gv-stats__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.gv-stat { margin: 0; display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 4px solid var(--gv-accent); }
.gv-stat__n { font-family: var(--gv-font-heading); font-size: 4.75rem; line-height: .95; }
.gv-stat__l { font-size: .9375rem; font-weight: 600; color: var(--muted); }

/* Stimmen */
.gv-quote { margin: 0; padding: 28px; gap: 16px; border-top: 4px solid var(--gv-accent); }
.gv-quote blockquote { margin: 0; font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.gv-quote blockquote::before { content: "\201E"; display: block; height: 34px; margin: -6px 0 6px -2px; overflow: hidden; font-family: var(--gv-font-heading); font-size: 5rem; line-height: .7; color: var(--gv-accent); }
.gv-quote blockquote p { margin: 0; }
.gv-quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.gv-quote__by > span { display: flex; flex-direction: column; line-height: 1.3; }
.gv-quote__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* Mitgliedschaft */
.gv-member__claim { max-width: 760px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 4px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; font-weight: 300; }
.gv-member__claim strong { font-weight: 700; }
.gv-member__line--2 { padding-left: 48px; }
.gv-member__line--3 { padding-left: 128px; }
@media (max-width: 600px) { .gv-member__line--2 { padding-left: 24px; } .gv-member__line--3 { padding-left: 48px; } }
.gv-plan { padding: 32px; gap: 14px; border-top: 5px solid var(--line); }
.gv-plan--main { border-top-color: var(--gv-accent); }
.gv-plan__title { margin: 0; font-size: 1.375rem; font-weight: 300; text-transform: uppercase; }
.gv-plan__title strong { font-weight: 700; }
.gv-plan__price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.gv-plan__price > span:first-child { font-family: var(--gv-font-heading); font-size: 4.5rem; line-height: 1; }
.gv-plan .gv-btn { margin-top: auto; }

/* Galerie */
.gv-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gv-gallery__grid li { position: relative; aspect-ratio: 1; border-radius: var(--gv-radius); overflow: hidden; background: var(--card); }
.gv-gallery__grid a { display: block; height: 100%; }

/* Eingebettete Inhalte (Video, Karte) */
.gv-embed {
	position: relative; aspect-ratio: 16 / 9; border-radius: var(--gv-radius); background: var(--card);
	border-bottom: 4px solid var(--gv-accent); display: flex; flex-direction: column; align-items: center;
	justify-content: center; gap: 12px; padding: 16px; text-align: center; overflow: hidden;
}
.gv-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gv-embed__play { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--gv-accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gv-embed__note { margin: 0; font-size: .8125rem; color: var(--muted); max-width: 420px; }
.gv-embed--map { aspect-ratio: auto; height: 340px; }
.gv-embed__place { margin: 0; font-weight: 700; }
.gv-contact__map { padding-bottom: 88px; }

/* Vorstand */
.gv-team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.gv-person { display: flex; flex-direction: column; gap: 12px; }
.gv-person__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--gv-radius); overflow: hidden; background: var(--card); border-bottom: 4px solid var(--gv-accent); }
.gv-person__img .gv-ph { background: var(--card); }
.gv-person__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.gv-person__name { margin: 0; font-size: 1.0625rem; line-height: 1.3; }
.gv-person__role { margin: 0; font-size: .875rem; line-height: 1.4; }

/* Freier Abschnitt */
.gv-free__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--gv-radius); overflow: hidden; border-bottom: 4px solid var(--gv-accent); }
.gv-free--img-right .gv-free__media { order: 2; }
.gv-free__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.gv-free--noimg .gv-split { grid-template-columns: 1fr; max-width: 820px; }

/* Partner */
.gv-partners__grid { --gv-logo-h: 120px; display: flex; flex-wrap: wrap; align-items: center; gap: 36px 56px; margin: 0; padding: 0; list-style: none; }
.gv-partners__grid--s { --gv-logo-h: 80px; }
.gv-partners__grid--l { --gv-logo-h: 170px; }
@media (max-width: 600px) { .gv-partners__grid { --gv-logo-h: 72px; gap: 24px 32px; } .gv-partners__grid--l { --gv-logo-h: 100px; } }
/* Logos ohne Rahmen: Höhe einheitlich, Breite ergibt sich aus dem Seitenverhältnis (ab 1.6.3). */
.gv-partner { display: flex; align-items: center; height: var(--gv-logo-h); flex: 0 0 auto; }
.gv-partner__box { display: flex; align-items: center; height: 100%; text-decoration: none; color: inherit; }
.gv-partner__logo { display: block; height: 100%; width: auto; max-width: min(88vw, 520px); object-fit: contain; }
a.gv-partner__box { transition: transform .2s; }
a.gv-partner__box:hover { transform: scale(1.04); }
.gv-partner__name { font-weight: 700; font-size: 1.125rem; text-align: center; padding: 0 4px; }

/* Kontakt */
.gv-contact__about { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.gv-linklist { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; font-weight: 700; }
.gv-linklist a, .gv-prose a { text-decoration: underline; text-decoration-color: var(--gv-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.gv-linklist a { display: inline-flex; align-items: center; min-height: 44px; }
.gv-contact__box { padding: 32px; gap: 14px; border-top: 5px solid var(--gv-accent); }
.gv-contact__box p { margin: 0; }
.gv-contact__title { font-size: 1.625rem; font-weight: 400; margin: 0; }
.gv-social { display: flex; gap: 10px; }

/* ---------- Seitenkopf für Unterseiten ---------- */
.gv-pagehead { overflow: hidden; }
.gv-pagehead__staff { left: 0; right: 0; top: 30px; height: 182px; -webkit-mask-size: auto 182px; mask-size: auto 182px; opacity: .3; }
.gv-pagehead__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 40px; padding-bottom: 64px; }
.gv-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 80px; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.gv-crumbs li + li::before { content: "›"; margin-right: 4px; }
.gv-preview-hint__text { margin: 16px 0 0; padding: 12px 16px; border: 2px dashed currentColor; border-radius: var(--gv-radius); max-width: 640px; }
.gv-crumbbar .gv-crumbs ol { margin: 0; padding: 12px 0; }
.gv-pagehead__title { margin: 0; font-family: var(--gv-font-heading); font-weight: 400; font-size: clamp(3.25rem, 8vw, 6.5rem); line-height: .92; text-transform: uppercase; max-width: min(100%, 22ch); overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.gv-pagehead__text { margin: 0; max-width: 640px; font-size: 1.1875rem; font-weight: 500; }
.gv-pagehead .gv-search { margin-top: 8px; }

/* ---------- Fließtext (Seiten, Beiträge, Plugins) ---------- */
.gv-entry { background: #fff; }
.gv-prose { max-width: calc(var(--gv-text) + 48px); }
.gv-prose--page, .gv-prose--full { max-width: var(--gv-content); }
.gv-prose--page > *:not(.alignwide):not(.alignfull) { max-width: var(--gv-text); }
/* Vorlage „Breit (mit Seitenkopf)“ (ab 1.5.0): Medien in voller Breite, Text lesbar schmal */
.gv-prose--wide { max-width: var(--gv-content); }
.gv-prose--wide > p, .gv-prose--wide > h1, .gv-prose--wide > h2, .gv-prose--wide > h3, .gv-prose--wide > h4, .gv-prose--wide > ul, .gv-prose--wide > ol, .gv-prose--wide > blockquote { max-width: 860px; }
.gv-prose--wide .wp-block-columns { gap: 32px; }
.gv-prose--wide .wp-block-image img, .gv-prose--wide figure img { border-radius: var(--gv-radius); }
.gv-prose--wide figcaption { font-size: .875rem; color: var(--muted); }
.gv-prose--full { margin: 0 auto; padding: 56px 24px 88px; }
.gv-prose h2 { font-family: var(--gv-font-heading); font-weight: 400; font-size: 2.5rem; line-height: 1.05; text-transform: uppercase; margin: 1.6em 0 .4em; }
.gv-prose h3 { font-size: 1.375rem; margin: 1.4em 0 .4em; }
.gv-prose ul, .gv-prose ol { padding-left: 1.25em; }
.gv-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gv-accent); font-size: 1.125rem; }
.gv-prose table { width: 100%; border-collapse: collapse; }
.gv-prose th, .gv-prose td { padding: 8px 10px; border-bottom: 1px solid #ddd; text-align: left; }
.gv-prose .alignwide { max-width: var(--gv-content); }
.gv-prose .alignfull { max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.gv-prose .wp-block-button__link { background: var(--gv-accent); color: #fff; border-radius: 4px; font-weight: 700; }
.gv-prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--gv-ink); border: 1.5px solid currentColor; }
.gv-entry__thumb { margin: 0 0 32px; }
.gv-entry__thumb img { border-radius: var(--gv-radius); }
.gv-postnav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #e3e3e3; font-weight: 700; }
.gv-backlink { margin-top: 48px; font-weight: 700; }
.gv-after { padding-bottom: 64px; }
.gv-empty { text-align: center; max-width: 560px; margin: 0 auto; }

/* Suche */
.gv-search { display: flex; width: 100%; max-width: 560px; }
.gv-search input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--gv-ink); border-right: 0; border-radius: 4px 0 0 4px; font: inherit; color: var(--gv-ink); background: #fff; }
.gv-pagehead .gv-search input { border-color: #fff; }
.gv-search button { min-height: 52px; padding: 0 22px; border: 0; border-radius: 0 4px 4px 0; background: var(--gv-accent); color: #fff; font: 700 .9375rem var(--gv-font-body); cursor: pointer; }
.gv-empty .gv-search { margin: 24px auto; }

/* Seitennavigation */
.gv-pagination { margin-top: 48px; }
.gv-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.gv-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 4px; background: var(--card); text-decoration: none; font-weight: 700; }
.gv-pagination .current { background: var(--gv-accent); color: #fff; }

/* ---------- Chorwissen ---------- */
.gv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gv-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--card); border-radius: 4px; font-weight: 600; font-size: .875rem; }
.gv-featured .gv-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gv-accent); }
.gv-chips--outline li { padding: 0; background: none; }
.gv-chips--outline a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid currentColor; border-radius: 20px; text-decoration: none; font-weight: 600; }
.gv-featured__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.gv-featured__text p { margin: 0; }
.gv-path { padding: 28px; gap: 12px; border-top: 5px solid var(--gv-accent); }
.gv-path__title { margin: 0; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.gv-path__list { margin: 0; padding: 0; list-style: none; counter-reset: gvpath; display: flex; flex-direction: column; gap: 10px; }
.gv-path__list li { counter-increment: gvpath; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 14px 16px; background: var(--bg); border-radius: 4px; }
.gv-path__list li::before { content: counter(gvpath); grid-row: span 2; font-family: var(--gv-font-heading); font-size: 2.5rem; line-height: 1; color: var(--accent-text); }
.gv-topic { padding: 6px 24px 24px; gap: 10px; text-decoration: none; border-bottom: 4px solid var(--gv-accent); height: 100%; }
.gv-topic__title { position: relative; font-weight: 700; font-size: 1.375rem; line-height: 1.2; }
.gv-topic__text { font-size: .9375rem; }
.gv-topic__count { margin-top: auto; display: flex; justify-content: space-between; font-weight: 700; font-size: .875rem; }
.gv-az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.gv-az a, .gv-az span { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--card); font-family: var(--gv-font-heading); font-size: 1.5rem; text-decoration: none; }
.gv-az span { opacity: .35; }
.gv-glossar__group { padding-top: 32px; }
.gv-glossar__letter { font-family: var(--gv-font-heading); font-weight: 400; font-size: 3.5rem; line-height: 1; color: var(--gv-accent); margin: 0 0 8px; border-bottom: 3px solid var(--gv-accent); }
.gv-glossar__list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px 32px; }
.gv-glossar__item dt { font-weight: 700; font-size: 1.125rem; }
.gv-glossar__item dd { margin: 4px 0 0; }
.gv-glossar__item dd p { margin: 0 0 4px; }
.gv-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

/* ---------- Fußzeile ---------- */
.gv-footer { background: var(--gv-footer); color: #d6d6d4; border-top: 4px solid var(--gv-accent); }
.gv-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; font-size: .875rem; }
.gv-footer__logo { display: block; height: 52px; width: auto; }
.gv-footer__name { font-family: var(--gv-font-heading); font-size: 1.5rem; color: #fff; text-transform: uppercase; }
.gv-footer__list { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.gv-footer__list a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.gv-footer__copy { margin: 0; }
.gv-footer__social { margin: 0; }
.gv-footer__social .gv-iconbtn { border-color: rgba(255,255,255,.4); color: #fff; }
.gv-footer__social .gv-iconbtn:hover { background: var(--gv-accent); border-color: var(--gv-accent); opacity: 1; }

/* ---------- Widgets & Kommentare ---------- */
.gv-widget { padding: 24px; border-radius: var(--gv-radius); background: var(--gv-light-card); }
.gv-widget__title { font-family: var(--gv-font-heading); font-weight: 400; font-size: 2rem; text-transform: uppercase; }
.gv-comments { margin-top: 48px; }
.gv-comments textarea, .gv-comments input[type="text"], .gv-comments input[type="email"], .gv-comments input[type="url"] { width: 100%; padding: 10px; border: 1.5px solid var(--gv-ink); border-radius: 4px; font: inherit; }
.gv-comments .submit { min-height: 48px; padding: 0 22px; border: 0; border-radius: 4px; background: var(--gv-accent); color: #fff; font: 700 1rem var(--gv-font-body); cursor: pointer; }

/* ---------- Ultimate Member ---------- */
.gv-theme .um { font-family: var(--gv-font-body); }
.gv-theme .um input[type="submit"].um-button,
.gv-theme .um a.um-button,
.gv-theme .um .um-button { background: var(--gv-accent) !important; border-radius: 4px !important; font-weight: 700 !important; }
.gv-theme .um a.um-button.um-alt, .gv-theme .um input[type="submit"].um-button.um-alt { background: var(--gv-light-card) !important; color: var(--gv-ink) !important; }
.gv-theme .um a.um-link, .gv-theme .um .um-link { color: var(--gv-accent) !important; }
.gv-theme .um .um-field-label label { font-weight: 700; }
/* Kontoseite: Profilbild und Profillink ausblenden (aus dem bisherigen „Zusätzlichen CSS“ übernommen) */
.gv-theme .um-account-meta-img,
.gv-theme .um-account-meta-img a,
.gv-theme .um-account-meta .um-account-profile-link { display: none !important; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}

/* ---------- Druck ---------- */
@media print {
	.gv-header__nav, .gv-navtoggle, .gv-hero__controls, .gv-staff, .gv-embed { display: none !important; }
	.gv-sec { background: none !important; color: #000 !important; }
}

.gv-choir__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: auto 0 0; }

/* Rechtstexte: Impressum, Datenschutz (ab 1.4.0) */
.gv-legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.gv-legal--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .gv-legal { grid-template-columns: 1fr; gap: 24px; } }
.gv-legal__toc { position: sticky; top: 24px; padding: 22px 22px 16px; border-radius: var(--gv-radius); background: var(--card); border-top: 5px solid var(--gv-accent); max-height: calc(100vh - 48px); overflow: auto; }
@media (max-width: 760px) { .gv-legal__toc { position: static; max-height: none; } }
.gv-legal__toc-title { margin: 0 0 8px; font-family: var(--gv-font-heading); font-size: 1.75rem; text-transform: uppercase; line-height: 1; }
.gv-legal__toc ol { margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.gv-legal__toc li a { display: block; padding: 5px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.gv-legal__toc li.gv-legal__lvl3 a { padding-left: 14px; font-size: .875rem; }
.gv-legal__toc li a:hover { color: var(--accent-text); }
.gv-legal__text { max-width: var(--gv-text); }
.gv-legal__text .gv-legal__head { scroll-margin-top: 24px; font-family: var(--gv-font-body); text-transform: none; letter-spacing: 0; font-weight: 700; line-height: 1.3; margin: 2em 0 .5em; padding-left: 14px; border-left: 4px solid var(--gv-accent); }
.gv-legal__text h2.gv-legal__head { font-size: 1.25rem; }
.gv-legal__text h3.gv-legal__head { font-size: 1.0625rem; border-left-width: 2px; }
.gv-legal__text .gv-legal__head:first-child { margin-top: 0; }
.gv-legal-more__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; }
.gv-legal-more__label { font-family: var(--gv-font-hand); font-size: 1.25rem; }
.gv-legal-more ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.gv-legal-more a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gv-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Chor-Detailseite (Plugin „Gesangverein Verein“): Foto ganz zeigen statt zuschneiden (ab 1.4.1) */
body.gv-theme .gvv-chor__media { aspect-ratio: auto; display: flex; align-items: center; justify-content: center; max-height: 78vh; }
body.gv-theme .gvv-chor__media img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
body.gv-theme .gvv-chor__media .gvv-chor__ph { position: static; display: block; width: 100%; aspect-ratio: 3 / 2; }

/* Hero: Logos über dem Foto (ab 1.5.1, überarbeitet 1.5.2) */
.gv-hero__logos { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 18px 24px; pointer-events: none; }
.gv-hero__logo { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.gv-hero__logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
/* Rechts: die Höhe des Bereichs bestimmt die Logo-Größe (ab 1.6.0) */
.gv-hero__logos--right { top: 9%; bottom: 20%; right: max(24px, calc((100% - var(--gv-content)) / 2 + 24px)); width: auto; max-width: 46%; flex-direction: column; align-items: flex-end; }
.gv-hero__logos--right .gv-hero__logo { flex: 1 1 0; min-height: 0; max-width: 100%; justify-content: flex-end; }
.gv-hero__logos--right.gv-hero__logos--auto .gv-hero__logo img { height: 100%; width: auto; max-width: 100%; }
/* Logos liegen hinter dem Text (ab 1.6.1): Text, Staff und Steuerung darüber */
.gv-hero__content { z-index: 3; }
.gv-hero__controls { z-index: 4; }
/* Mittig oben */
.gv-hero__logos--center { top: 24px; left: 50%; transform: translateX(-50%); width: min(92%, 980px); flex-wrap: wrap; }
.gv-hero__logos--center.gv-hero__logos--auto { height: 26%; }
.gv-hero__logos--center.gv-hero__logos--auto .gv-hero__logo { height: 100%; }
.gv-hero__logos--center.gv-hero__logos--auto .gv-hero__logo img { height: 100%; width: auto; max-width: 100%; }
/* Feste Größen */
.gv-hero__logos--s .gv-hero__logo img { max-height: 70px; max-width: 200px; }
.gv-hero__logos--m .gv-hero__logo img { max-height: 120px; max-width: 320px; }
.gv-hero__logos--l .gv-hero__logo img { max-height: 200px; max-width: 460px; }
/* Hintergrund */
.gv-hero__logos--bg-none .gv-hero__logo img { filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .35)); }
.gv-hero__logos--bg-white .gv-hero__logo { padding: 14px 20px; border-radius: var(--gv-radius); background: rgba(255, 255, 255, .94); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.gv-hero__logos--right.gv-hero__logos--bg-white .gv-hero__logo { width: auto; max-width: 100%; }
@media (max-width: 700px) {
	.gv-hero__logos, .gv-hero__logos--right { top: 14px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); flex-direction: row; flex-wrap: wrap; width: 92%; height: 64px; gap: 10px; }
	.gv-hero__logos .gv-hero__logo, .gv-hero__logos--right .gv-hero__logo { flex: 0 1 auto; width: auto; height: 100%; }
	.gv-hero__logos .gv-hero__logo img, .gv-hero__logos--right.gv-hero__logos--auto .gv-hero__logo img { width: auto; height: auto; max-height: 64px; max-width: 150px; }
}

/* Check-in-Knopf (ab 1.6.0) */
.gv-checkin { order: 3; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #1e7e34; color: #fff; font-weight: 700; font-size: .875rem; text-decoration: none; box-shadow: 0 0 0 0 rgba(30, 126, 52, .5); animation: gv-checkin-pulse 2.4s ease-out 3; }
.gv-checkin:hover, .gv-checkin:focus-visible { background: #176428; color: #fff; }
.gv-header__brand { order: 0; }
.gv-header__nav { order: 2; }
@keyframes gv-checkin-pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 126, 52, .5); } 100% { box-shadow: 0 0 0 12px rgba(30, 126, 52, 0); } }
@media (prefers-reduced-motion: reduce) { .gv-checkin { animation: none; } }
@media (max-width: 1020px) {
	.gv-checkin { order: 1; margin-left: auto; }
	.gv-navtoggle { order: 2; }
	.gv-header__nav { order: 3; }
}
@media (max-width: 420px) { .gv-checkin__text { display: none; } .gv-checkin { width: 44px; height: 44px; padding: 0; justify-content: center; } }
