/*
 * VMV-Layout 2026 (Contao 5, Port 11443)
 *
 * Gestaltung nach der Vorlage https://vmv.entwicklungspace.de/ und dem VMV CD II Web-Manual (Farben, Schriften Barlow, Kopfleiste, Hero mit Hintergrundvideo,
 * Kacheln, Neuigkeiten mit Filter, Sponsorenleiste, Footer). Für die vorhandenen Inhalte (Bootstrap 3, Beachtool, Hallensaison,
 * Nachrichten, Galerie ...) gibt es unten den Abschnitt "Bestehende Inhalte".
 */

/* Schriften nach dem VMV CD II Web-Manual: Barlow Condensed (Überschriften H1 bis H3, Kachel-Titel, Buttons, Filter-Chips; 700 und 800 für Hero-Claim und große Kennzahlen)
   und Barlow (Fließtext, Teaser, Formulare; 700 für Hervorhebungen, H4 und Navigation). Nur diese vier Schnitte (SIL OFL 1.1, selbst gehostet in ../fonts/, OFL-Barlow.txt liegt dabei);
   die latin-ext-Dateien laden nur, wenn ein Text Zeichen wie ł oder č enthält. */

@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/barlow-condensed-latin-ext-700-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/barlow-condensed-latin-ext-800-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/barlow-latin-ext-400-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/barlow-latin-700-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/barlow-latin-ext-700-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Farben des VMV CD II (verbindlich, Stand 13.10.2026) */
	--vmv-tiefsee: #0B1F3A;
	--vmv-blau: #205094;
	--vmv-gischt: #A0D3E9;
	--vmv-rot: #BB2728;
	--vmv-sonne: #FFE45C;
	--vmv-duene: #F4EFE6;
	--vmv-strand: #F2A541;   /* nur Bereich Beach */
	--vmv-weiss: #FFFFFF;

	/* Tönungen für Flächen, aus den CD-Farben abgeleitet */
	--vmv-duene-hell: #FAF7F3;
	--vmv-gischt-hell: #E3F2F8;
	--vmv-sonne-hell: #FFF5C6;
	--vmv-rot-hell: #F7E5E5;

	/* Rollen im Layout (bisherige Namen) */
	--vmv-primary: var(--vmv-tiefsee);
	--vmv-heading: var(--vmv-blau);
	--vmv-accent: var(--vmv-blau);
	--vmv-red: var(--vmv-rot);
	--vmv-yellow: var(--vmv-sonne);
	--vmv-bg: var(--vmv-duene);
	--vmv-white: var(--vmv-weiss);
	--vmv-soft: var(--vmv-duene-hell);
	--vmv-soft-2: var(--vmv-duene);
	--vmv-line: #C8E5F1;
	--vmv-grey: #48566B;
	--vmv-shadow: 0 10px 20px -5px #0B1F3A25;
	--vmv-radius: 8px;
	--vmv-width: 1440px;
	--vmv-header-h: 88px;

	/* Schriften */
	--vmv-font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
	--vmv-font-body: 'Barlow', Arial, Helvetica, sans-serif;
	--vmv-font: var(--vmv-font-body);

	/* Schriftgrößen (fluid) und Zeilenhöhen */
	--vmv-fs-hero: clamp(2.5rem, 6vw, 4.5rem);
	--vmv-fs-h1: clamp(2rem, 4vw, 3rem);
	--vmv-fs-h2: clamp(1.5rem, 3vw, 2.25rem);
	--vmv-fs-h3: 1.25rem;
	--vmv-fs-body: 1.0625rem;
	--vmv-fs-small: .875rem;

	/* Seitenhintergrund (alle Seiten, Startseite und Inhaltsbereich) und Menüzeile: #F9F9F9 */
	--vmv-page-bg: #F9F9F9;
	--vmv-header-bg: var(--vmv-page-bg);

	/* weitere Werte: Zeilenhöhen, Laufweite, Größen von Titelband, Abschnitten und Karten */
	--vmv-lh-body: 1.6;
	--vmv-ls-body: normal;
	--vmv-fs-h4: var(--vmv-fs-body);
	--vmv-fs-band: var(--vmv-fs-h1);
	--vmv-lh-band: 1.1;
	--vmv-ls-band: normal;
	--vmv-fs-sec: var(--vmv-fs-h2);
	--vmv-fs-box: var(--vmv-fs-h3);
	--vmv-fs-card: var(--vmv-fs-h3);
	--vmv-fw-card: 700;
	--vmv-on-dark-soft: var(--vmv-gischt);
	--vmv-nav-rule: var(--vmv-gischt);
	--vmv-primary-rgb: 11, 31, 58;
	--vmv-heading-rgb: 32, 80, 148;

	/* Schriften des Footers (CD II) */
	--vmv-cd-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
	--vmv-cd-body: 'Barlow', Arial, Helvetica, sans-serif;
}

/* ---------------------------------------------------------------- Grundlagen */

/* Bootstrap 3 setzt html auf 10px; alle rem-Angaben dieser Datei gehen von 16px aus */
html {
	font-size: 16px;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--vmv-header-h) + 16px);
}

body.vmv2 {
	margin: 0;
	background: var(--vmv-page-bg);
	color: var(--vmv-primary);
	font-family: var(--vmv-font);
	font-size: var(--vmv-fs-body);
	line-height: var(--vmv-lh-body);
	letter-spacing: var(--vmv-ls-body);
	-webkit-font-smoothing: antialiased;
}

body.vmv2 *,
body.vmv2 *::before,
body.vmv2 *::after {
	box-sizing: border-box;
}

body.vmv2 a {
	color: var(--vmv-accent);
}

body.vmv2 a:hover,
body.vmv2 a:focus {
	color: var(--vmv-heading);
}

body.vmv2 img {
	max-width: 100%;
	height: auto;
}

body.vmv2 h1, body.vmv2 h2, body.vmv2 h3, body.vmv2 h4, body.vmv2 h5, body.vmv2 h6 {
	margin: 1.4em 0 .5em;
	color: var(--vmv-heading);
}

/* H1 bis H3: Barlow Condensed Bold; H4 bis H6: Barlow Bold */
body.vmv2 h1, body.vmv2 h2, body.vmv2 h3 {
	font-family: var(--vmv-font-head);
	font-weight: 700;
}

body.vmv2 h4, body.vmv2 h5, body.vmv2 h6 {
	font-family: var(--vmv-font-body);
	font-weight: 700;
	line-height: 1.3;
}

body.vmv2 h1 { font-size: var(--vmv-fs-h1); line-height: 1.1; margin-top: 0; }
body.vmv2 h2 { font-size: var(--vmv-fs-h2); line-height: 1.15; }
body.vmv2 h3 { font-size: var(--vmv-fs-h3); line-height: 1.2; }
body.vmv2 h4 { font-size: var(--vmv-fs-h4); }

.vmv-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: .5rem 1rem;
	background: var(--vmv-primary);
	color: #fff;
}

.vmv-skip:focus {
	left: 8px;
	top: 8px;
	color: #fff;
}

/* ---------------------------------------------------------------- Kopfleiste und Navigation */

.vmv-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: var(--vmv-header-bg);
	box-shadow: 0 1px 0 var(--vmv-line);
}

.vmv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--vmv-width);
	height: var(--vmv-header-h);
	margin: 0 auto;
	padding: 0 16px;
}

.vmv-logo {
	order: 3;
	position: relative;
	z-index: 2;
	display: block;
	flex: none;
	align-self: flex-start;
	box-sizing: border-box;
	width: 120px;
	height: 120px;
	margin: 9px 0 0 16px;
	border: 8px solid var(--vmv-header-bg);
	border-radius: 50%;
	overflow: hidden;
	background: var(--vmv-header-bg);
}

.vmv-logo img {
	display: block;
	width: 100%;
	height: 100%;
}

.vmv-nav {
	flex: 1 1 auto;
}

.vmv-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vmv-nav a,
.vmv-nav strong,
.vmv-nav button.vmv-menu-top {
	text-decoration: none;
	font-weight: 700;
}

.vmv-nav button.vmv-menu-top {
	margin: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	cursor: pointer;
}

.vmv-nav ul.level_1 {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 16px;
}

.vmv-nav ul.level_1 > li {
	position: relative;
	display: flex;
	align-items: center;
	height: var(--vmv-header-h);
}

.vmv-nav ul.level_1 > li > a,
.vmv-nav ul.level_1 > li > strong,
.vmv-nav ul.level_1 > li > button.vmv-menu-top {
	display: block;
	padding: 20px;
	color: var(--vmv-primary);
	font-size: 16px;
	line-height: 16px;
	white-space: nowrap;
}

.vmv-nav ul.level_1 > li.submenu > a::after,
.vmv-nav ul.level_1 > li.submenu > strong::after,
.vmv-nav ul.level_1 > li.submenu > button.vmv-menu-top::after {
	content: "";
	display: inline-block;
	width: .45em;
	height: .45em;
	margin: 0 0 .2em .5em;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.vmv-nav ul.level_1 > li.submenu:hover > a::after,
.vmv-nav ul.level_1 > li.submenu:focus-within > a::after,
.vmv-nav ul.level_1 > li.submenu.is-open > a::after,
.vmv-nav ul.level_1 > li.submenu:hover > button.vmv-menu-top::after,
.vmv-nav ul.level_1 > li.submenu:focus-within > button.vmv-menu-top::after,
.vmv-nav ul.level_1 > li.submenu.is-open > button.vmv-menu-top::after {
	margin-bottom: -.1em;
	transform: rotate(-135deg);
}

.vmv-nav ul.level_1 > li:hover > a,
.vmv-nav ul.level_1 > li:hover > button.vmv-menu-top,
.vmv-nav ul.level_1 > li:focus-within > a,
.vmv-nav ul.level_1 > li:focus-within > button.vmv-menu-top,
.vmv-nav ul.level_1 > li > .trail,
.vmv-nav ul.level_1 > li > strong {
	color: var(--vmv-accent);
}

.vmv-nav ul.level_1 > li > .trail,
.vmv-nav ul.level_1 > li > strong {
	box-shadow: inset 0 -3px 0 var(--vmv-accent);
}

.vmv-sub-toggle {
	display: none;
}

/* Haus ganz links (nur Desktop): Link zur Startseite, grau, bei Hover/Fokus in der Menüfarbe */
.vmv-nav ul.level_1 > li.vmv-menu-home > a.vmv-menu-home__link {
	display: flex;
	align-items: center;
	padding: 0;
	color: var(--vmv-grey);
	transition: color .2s, transform .2s;
}

.vmv-nav ul.level_1 > li.vmv-menu-home > a.vmv-menu-home__link:hover,
.vmv-nav ul.level_1 > li.vmv-menu-home > a.vmv-menu-home__link:focus-visible {
	color: var(--vmv-accent);
	transform: scale(1.06);
}

.vmv-menu-home__link svg {
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	.vmv-nav ul.level_1 > li.vmv-menu-home > a.vmv-menu-home__link { transition: none; }
}

/* Menüpunkt "SAMS-Zugang" (letzter Punkt, Link in neuem Fenster): am Desktop das Logo statt des Textes (der Text bleibt für Screenreader), im Handy-Menü der Text */
.vmv-nav ul.level_1 > li > a.vmv-menu-sams {
	display: flex;
	align-items: center;
	padding: 0 12px;
}

body.vmv2 .vmv-nav .vmv-menu-sams__logo {
	display: block;
	width: auto;
	height: 36px;
	max-width: none;
	filter: grayscale(1);
	opacity: .8;
	transition: filter .25s, opacity .25s, transform .2s;
}

.vmv-nav ul.level_1 > li > a.vmv-menu-sams:hover .vmv-menu-sams__logo,
.vmv-nav ul.level_1 > li > a.vmv-menu-sams:focus-visible .vmv-menu-sams__logo {
	filter: none;
	opacity: 1;
	transform: scale(1.06);
}

.vmv-menu-sams__text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	body.vmv2 .vmv-nav .vmv-menu-sams__logo { transition: none; }
}

/* Aufklappfelder (Ebenen 2 und 3): weiße Karte unter dem Menüpunkt mit Pfeil, Spalten mit unterstrichenen Überschriften (wie die Vorlage).
   vmv2.js schiebt das Feld in den sichtbaren Bereich und setzt den Pfeil (--caret-x) unter den Menüpunkt. */
.vmv-nav ul.level_2 {
	position: absolute;
	left: -20px;
	top: 100%;
	z-index: 5;
	display: none;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, max-content);
	gap: 1.5rem 2.75rem;
	width: max-content;
	max-width: calc(100vw - 40px);
	padding: 2rem;
	border-radius: 8px;
	background: var(--vmv-white);
	box-shadow: 0 50px 100px -20px rgba(50, 50, 93, .25), 0 30px 60px -30px rgba(0, 0, 0, .3);
}

.vmv-nav ul.level_2::before {
	content: "";
	position: absolute;
	top: -7px;
	left: var(--caret-x, 40px);
	width: 14px;
	height: 14px;
	border-radius: 3px 0 0 0;
	background: var(--vmv-white);
	transform: rotate(45deg);
}

.vmv-nav ul.level_1 > li:hover > ul.level_2,
.vmv-nav ul.level_1 > li:focus-within > ul.level_2,
.vmv-nav ul.level_1 > li.is-open > ul.level_2 {
	display: grid;
}

.vmv-nav ul.level_2 > li > a,
.vmv-nav ul.level_2 > li > strong,
.vmv-nav ul.level_2 > li > .vmv-menu-group {
	display: inline-block;
	margin-bottom: .5rem;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--vmv-nav-rule);
	color: var(--vmv-primary);
	font-size: 1rem;
	letter-spacing: .04em;
}

.vmv-nav ul.level_2 > li > a:hover,
.vmv-nav ul.level_2 > li > a.trail,
.vmv-nav ul.level_2 > li > strong {
	color: var(--vmv-accent);
}

/* nur eine Gruppe: keine Überschrift (wie bei Verband, Bildung und Leistungssport in der Vorlage) */
.vmv-nav ul.level_2.no-titles > li > a,
.vmv-nav ul.level_2.no-titles > li > strong,
.vmv-nav ul.level_2.no-titles > li > .vmv-menu-group {
	display: none;
}

.vmv-nav ul.level_3 a,
.vmv-nav ul.level_3 strong {
	display: block;
	padding: .65rem 0;
	color: var(--vmv-primary);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5;
}

.vmv-nav ul.level_3 a:hover,
.vmv-nav ul.level_3 a.trail,
.vmv-nav ul.level_3 strong {
	color: var(--vmv-accent);
}

.vmv-nav ul.level_3 strong {
	font-weight: 700;
}

/* Dateien (PDF, Word, Excel) und Links auf andere Seiten */
.vmv-nav ul.level_3 a[href$=".pdf"]::before,
.vmv-nav ul.level_3 a[href$=".docx"]::before,
.vmv-nav ul.level_3 a[href$=".doc"]::before,
.vmv-nav ul.level_3 a[href$=".xlsx"]::before {
	display: inline-block;
	margin-right: .5rem;
	padding: 0 .3em;
	border: 1.5px solid currentColor;
	border-radius: 3px;
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.35;
	vertical-align: .12em;
}

.vmv-nav ul.level_3 a[href$=".pdf"]::before { content: "PDF"; }
.vmv-nav ul.level_3 a[href$=".docx"]::before,
.vmv-nav ul.level_3 a[href$=".doc"]::before { content: "DOC"; }
.vmv-nav ul.level_3 a[href$=".xlsx"]::before { content: "XLS"; }

.vmv-nav ul.level_3 a[target="_blank"]:not([href$=".pdf"]):not([href$=".docx"])::after {
	content: "\2197";
	margin-left: .35em;
	color: var(--vmv-accent);
}

.vmv-burger {
	display: none;
	flex: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--vmv-line);
	border-radius: var(--vmv-radius);
	background: #fff;
	cursor: pointer;
}

.vmv-burger span,
.vmv-burger span::before,
.vmv-burger span::after {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0 auto;
	background: var(--vmv-heading);
	transition: transform .2s, opacity .2s;
}

.vmv-burger span { position: relative; }
.vmv-burger span::before, .vmv-burger span::after { content: ""; position: absolute; left: 0; }
.vmv-burger span::before { top: -7px; }
.vmv-burger span::after { top: 7px; }
.vmv-header.is-open .vmv-burger span { background: transparent; }
.vmv-header.is-open .vmv-burger span::before { top: 0; transform: rotate(45deg); }
.vmv-header.is-open .vmv-burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
	/* Handy: Menü-Schalter links, Logo rechts (wie in der Entwicklungsumgebung) */
	.vmv-burger {
		display: block;
		order: 0;
	}

	:root {
		--vmv-header-h: 76px;
	}

	.vmv-logo {
		order: 3;
		width: 88px;
		height: 88px;
		margin: 6px 0 0;
		border-width: 6px;
	}

	.vmv-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		max-height: calc(100vh - var(--vmv-header-h));
		overflow-y: auto;
		background: #fff;
		border-top: 1px solid var(--vmv-line);
		box-shadow: 0 18px 30px -12px #0b1f3a40;
	}

	.vmv-header.is-open .vmv-nav {
		display: block;
	}

	.vmv-nav ul.level_1 {
		display: block;
	}

	.vmv-nav ul.level_1 > li {
		position: relative;
		display: block;
		height: auto;
		border-bottom: 1px solid var(--vmv-line);
	}

	.vmv-nav ul.level_1 > li > a,
	.vmv-nav ul.level_1 > li > strong,
	.vmv-nav ul.level_1 > li > button.vmv-menu-top {
		width: 100%;
		box-sizing: border-box;
		min-height: 44px;
		padding: .85rem 64px .85rem 20px;
		text-align: left;
		box-shadow: none !important;
	}

	.vmv-nav ul.level_1 > li.submenu > a::after,
	.vmv-nav ul.level_1 > li.submenu > strong::after,
	.vmv-nav ul.level_1 > li.submenu > button.vmv-menu-top::after {
		display: none;
	}

	/* Das Haus gibt es nur am Desktop (am Handy ist das Logo der Zugang zur Startseite) */
	.vmv-nav ul.level_1 > li.vmv-menu-home {
		display: none;
	}

	/* SAMS-Zugang im Handy-Menü: Text mit Pfeil (neues Fenster) statt Logo */
	.vmv-nav ul.level_1 > li > a.vmv-menu-sams {
		display: block;
		padding: .85rem 64px .85rem 20px;
	}

	.vmv-menu-sams__text {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
	}

	.vmv-menu-sams__text::after {
		content: "\2197";
		margin-left: .35em;
	}

	body.vmv2 .vmv-nav .vmv-menu-sams__logo {
		display: none;
	}

	.vmv-sub-toggle {
		position: absolute;
		right: 8px;
		top: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.vmv-sub-toggle::before {
		content: "";
		display: block;
		flex: none;
		margin-top: -4px;
		width: .55em;
		height: .55em;
		border: solid var(--vmv-heading);
		border-width: 0 2px 2px 0;
		transform: rotate(45deg);
		transition: transform .2s;
	}

	.vmv-nav li.is-open > .vmv-sub-toggle::before {
		margin-top: 8px;
		transform: rotate(-135deg);
	}

	.vmv-nav ul.level_1 > li:hover > ul.level_2,
	.vmv-nav ul.level_1 > li:focus-within > ul.level_2 {
		display: none;
	}

	.vmv-nav ul.level_1 > li.is-open > ul.level_2 {
		position: static;
		display: block;
		width: auto;
		max-width: none;
		padding: .85rem 20px 1rem 36px;
		border-radius: 0;
		box-shadow: none;
		background: var(--vmv-soft);
	}

	.vmv-nav ul.level_2::before {
		display: none;
	}

	.vmv-nav ul.level_2 > li {
		margin-top: .85rem;
	}

	.vmv-nav ul.level_2 > li:first-child {
		margin-top: 0;
	}

	.vmv-nav ul.level_3 a,
	.vmv-nav ul.level_3 strong {
		padding: .4rem 0;
		white-space: normal;
	}
}

/* ---------------------------------------------------------------- Titelband (Unterseiten) */

.vmv-band {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(115deg, rgba(var(--vmv-primary-rgb), .96) 15%, rgba(var(--vmv-heading-rgb), .88) 100%),
		url('../img/vmv-jugend-hero.webp') center/cover;
}

.vmv-band__inner {
	max-width: var(--vmv-width);
	margin: 0 auto;
	padding: 80px 16px;
}

.vmv-eyebrow {
	margin: 0;
	color: var(--vmv-on-dark-soft);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.vmv-band__title,
body.vmv2 .vmv-band h1.vmv-band__title {
	margin: 0;
	color: var(--vmv-weiss);
	font-family: var(--vmv-font-head);
	font-size: var(--vmv-fs-band);
	font-weight: 700;
	letter-spacing: var(--vmv-ls-band);
	line-height: var(--vmv-lh-band);
}

/* Einflug beim Seitenwechsel (wie auf vmv.entwicklungspace.de, dort GSAP "slideleft"): Kennzeile, Titel und Kurztext des Titelbands fliegen nacheinander (0,2 s Versatz)
   von links ein, 1 s, mit leichtem Überschwingen ("back.out"). Reines CSS; das Band schneidet am linken Rand ab (overflow: hidden). Das Quermenü bleibt stehen.
   Wer "Bewegung reduzieren" eingestellt hat, sieht den Text sofort. */
@keyframes vmv-band-in {
	from { opacity: 0; transform: translateX(-100px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	.vmv-band__inner > .vmv-eyebrow,
	.vmv-band__inner > .vmv-band__title,
	.vmv-band__inner > .vmv-band__intro {
		animation: vmv-band-in 1s cubic-bezier(.34, 1.56, .64, 1) both;
	}

	.vmv-band__inner > .vmv-band__title { animation-delay: .2s; }
	.vmv-band__inner > .vmv-band__intro { animation-delay: .4s; }
}

/* ---------------------------------------------------------------- Inhaltsbereich */

#vmvmain {
	padding: 80px max(16px, calc((100% - (var(--vmv-width) - 32px)) / 2));
	background: var(--vmv-page-bg);
}

body.vmv-home #vmvmain {
	padding: 0;
	background: transparent;
}

.vmv-container {
	max-width: var(--vmv-width);
	margin: 0 auto;
	padding: 0 16px;
}

body.vmv-home #vmvmain .mod_article > .ce_text,
body.vmv-home #vmvmain .mod_article > .ce_html,
body.vmv-home #vmvmain .mod_article > .ce_alias,
body.vmv-home #vmvmain .mod_article > .ce_module,
body.vmv-home #vmvmain .mod_article > .content-text,
body.vmv-home #vmvmain .mod_article > .content-html,
body.vmv-home #vmvmain .mod_article > .content-alias,
body.vmv-home #vmvmain .mod_article > .content-module {
	max-width: var(--vmv-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}

.vmv-sec {
	padding: 4.5rem 0;
}

.vmv-sec__title {
	margin: 0 0 2rem;
	text-align: center;
	font-size: var(--vmv-fs-sec);
}

/* ---------------------------------------------------------------- Hero */

.vmv-hero {
	position: relative;
	color: #fff;
	background: var(--vmv-primary);
}

.vmv-hero__video,
.vmv-hero__overlay {
	position: absolute;
	inset: 0;
}

.vmv-hero__video {
	overflow: hidden;
}

.vmv-hero__video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vmv-hero__overlay {
	background: var(--vmv-primary);
	opacity: .85;
}

.vmv-hero__inner {
	position: relative;
	max-width: var(--vmv-width);
	margin: 0 auto;
	padding: 6.5rem 16px 0;
}

.vmv-hero__head {
	max-width: 640px;
	padding-bottom: 3rem;
}

.vmv-hero__title {
	margin: .75rem 0 1.25rem;
	color: var(--vmv-weiss);
	font-family: var(--vmv-font-head);
	font-size: var(--vmv-fs-hero);
	font-weight: 800;
	line-height: 1;
}

.vmv-hero__title span {
	display: block;
}

/* Beim Aufruf der Startseite "pumpen" die drei Schlagworte nacheinander kurz auf: Bam - Bam - Bam (wachsen von der linken Kante aus um etwa 14 % und federn zurück,
   0,8 s je Wort, dazwischen je 0,3 s Pause); wer "Bewegung reduzieren" eingestellt hat, sieht keine Animation. */
@keyframes vmv-hero-pump {
	0% { transform: scale(1); }
	35% { transform: scale(1.14); }
	70% { transform: scale(.985); }
	100% { transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
	.vmv-hero__title span {
		transform-origin: left center;
		animation: vmv-hero-pump .8s ease-in-out .4s backwards;
	}

	.vmv-hero__title span:nth-child(2) { animation-delay: 1.5s; }
	.vmv-hero__title span:nth-child(3) { animation-delay: 2.6s; }

	/* Schlusspunkt: unsichtbar, bis der Pumper seines Wortes vorbei ist (Start + 0,8 s), dann ein kurzes Einblenden */
	.vmv-hero__dot {
		display: inline-block;
		transform-origin: 50% 80%;
		animation: vmv-hero-dot .25s ease-out 1.2s backwards;
	}

	.vmv-hero__title span:nth-child(2) .vmv-hero__dot { animation-delay: 2.3s; }
	.vmv-hero__title span:nth-child(3) .vmv-hero__dot { animation-delay: 3.4s; }
}

/* Der Punkt steckt in einem <i>: immer aufrecht, auch ohne Animation (sonst kursiv) */
.vmv-hero__title .vmv-hero__dot {
	font-style: normal;
}

@keyframes vmv-hero-dot {
	from { opacity: 0; transform: scale(.3); }
	to { opacity: 1; transform: none; }
}

.vmv-hero__text {
	max-width: 560px;
	margin: 0 0 1.75rem;
	font-size: 1.1rem;
}

.vmv-btn {
	display: inline-block;
	padding: .7rem 1.4rem;
	border-radius: 4px;
	background: var(--vmv-weiss);
	color: var(--vmv-primary) !important;
	font-family: var(--vmv-font-head);
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none !important;
	transition: background .2s, color .2s;
}

.vmv-btn:hover,
.vmv-btn:focus {
	background: #fff;
	box-shadow: 0 4px 14px #00000030;
}

.vmv-btn--primary {
	background: var(--vmv-primary);
	color: #fff !important;
}

.vmv-btn--primary:hover,
.vmv-btn--primary:focus {
	background: var(--vmv-heading);
}

.vmv-tiles {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-bottom: -4.5rem;
}

.vmv-tile {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	border-radius: var(--vmv-radius);
	background: #fff;
	color: var(--vmv-primary);
	box-shadow: var(--vmv-shadow);
}

.vmv-tile__image {
	display: block;
	aspect-ratio: 2 / 1.05;
	margin-bottom: 1rem;
	overflow: hidden;
	border-radius: 6px;
	background: var(--vmv-soft);
}

body.vmv2 .vmv-tile__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Kachel "Halle": zufälliges Mannschaftsfoto (TeamPhoto) mit Liga und Mannschaft unten im Bild, auf einem weichen Verlauf */
.vmv-tile__image--team {
	position: relative;
}

body.vmv2 .vmv-tile__image--team img {
	object-position: 50% 0%; /* zu hohe Fotos: oberen Bereich zeigen (dort sind meist die Köpfe) */
	transition: transform .9s cubic-bezier(.2, .6, .2, 1);
}

.vmv-tile__image--team::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(11, 31, 58, .82) 0%, rgba(11, 31, 58, .5) 24%, rgba(11, 31, 58, 0) 56%);
	pointer-events: none;
}

.vmv-tile__caption {
	position: absolute;
	z-index: 1;
	right: 1rem;
	bottom: .8rem;
	left: 1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	color: #fff;
	text-align: right;
	text-shadow: 0 1px 6px rgba(11, 31, 58, .55);
	animation: vmv-tile-caption .8s ease-out .3s both;
	pointer-events: none; /* die Fläche daneben gehört zum Bild-Link darunter; klickbar ist nur der Text (.vmv-tile__captionlink) */
}

/* das große Bild als Link (Hallensaison) */
.vmv-tile__photo {
	display: block;
	height: 100%;
}

/* Liga und Mannschaft als Link zur Seite der Mannschaft */
.vmv-tile__captionlink {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	max-width: 100%;
	color: inherit;
	pointer-events: auto;
	transform-origin: 100% 100%; /* der Schriftzug wächst von der Ecke unten rechts aus */
}

/* nie unterstrichen (die allgemeine Regel "#vmvmain a { text-decoration: underline }" ist stärker als eine Klasse, deshalb mit #vmvmain),
   stattdessen wird der Schriftzug beim Darüberfahren etwas größer */
body.vmv2 #vmvmain a.vmv-tile__captionlink,
body.vmv2 #vmvmain a.vmv-tile__captionlink:hover,
body.vmv2 #vmvmain a.vmv-tile__captionlink:focus-visible {
	text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
	a.vmv-tile__captionlink { transition: transform .25s cubic-bezier(.2, .6, .2, 1); }
}

a.vmv-tile__captionlink:hover,
a.vmv-tile__captionlink:focus-visible {
	transform: scale(1.07);
}

a.vmv-tile__captionlink:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	border-radius: 3px;
}

.vmv-tile__liga {
	max-width: 100%;
	overflow: hidden;
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.3;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--vmv-gischt);
}

.vmv-tile__team {
	display: -webkit-box;
	overflow: hidden;
	font-family: var(--vmv-font-head);
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.15;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

@keyframes vmv-tile-caption {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

@media (hover: hover) {
	body.vmv2 .vmv-tile:hover .vmv-tile__image--team img { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
	.vmv-tile__caption { animation: none; }
	body.vmv2 .vmv-tile__image--team img { transition: none; }
	body.vmv2 .vmv-tile:hover .vmv-tile__image--team img { transform: none; }
}

.vmv-tile h3,
.vmv-info h3 {
	margin: 0 0 .5rem;
	font-size: var(--vmv-fs-box);
}

.vmv-tile p,
.vmv-info p {
	flex: 1 1 auto;
	margin: 0 0 1rem;
}

.vmv-more {
	font-weight: 700;
}

.vmv-more::after {
	content: "\2192";
	margin-left: .35em;
	text-decoration: none;
	display: inline-block;
}

.vmv-more[target="_blank"]::after {
	content: "\2197";
}

.vmv-after-hero {
	height: 4.5rem;
}

/* ---------------------------------------------------------------- Neuigkeiten */

/* Rubriken: eine Zeile, die bei Bedarf seitlich scrollt (Handy: wischen; die Scrollleiste bleibt unsichtbar). Passen alle Rubriken in die Breite, stehen sie zentriert.
   Die graue Linie unter der Leiste ist ein innerer Schatten statt eines Rahmens: Früher ragten die Tabs 1 px über den Rahmen, damit die Unterstreichung der
   gewählten Rubrik die Linie überdeckt. Eine scrollende Leiste würde das abschneiden. */
.vmv-tabs {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 0 1.75rem;
	margin: 0 0 2rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	box-shadow: inset 0 -1px 0 var(--vmv-line);
}

.vmv-tabs::-webkit-scrollbar {
	display: none;
}

/* auto-Ränder an den Enden: zentriert, solange Platz ist, sonst beginnt die Leiste links und lässt sich bis zum Ende scrollen */
.vmv-tabs > :first-child {
	margin-left: auto;
}

.vmv-tabs > :last-child {
	margin-right: auto;
}

.vmv-tab {
	position: relative;
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
	padding: .7rem .15rem;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: var(--vmv-primary);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.vmv-tab:hover {
	color: var(--vmv-accent);
}

.vmv-tab[aria-selected="true"] {
	border-bottom-color: var(--vmv-heading);
	color: var(--vmv-heading);
}

.vmv-tab:focus-visible {
	outline: 2px solid var(--vmv-accent);
	outline-offset: -2px; /* innen: die scrollende Leiste würde einen äußeren Rahmen abschneiden */
}

.vmv-cards {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

.vmv-cards__col {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}

.vmv-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	background: var(--vmv-soft-2);
}

.vmv-card[hidden] {
	display: none;
}

.vmv-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--vmv-soft);
}

body.vmv2 .vmv-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vmv-card__body {
	display: flex;
	flex-direction: column;
	padding: 1.1rem 1.25rem 1.25rem;
}

.vmv-card__group {
	margin: 0 0 .25rem;
	color: var(--vmv-accent);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.vmv-card h3 {
	margin: 0 0 .25rem;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.25;
}

.vmv-card h3 a {
	color: var(--vmv-heading);
	text-decoration: none;
}

.vmv-card h3 a:hover {
	text-decoration: underline;
}

.vmv-card time {
	color: var(--vmv-grey);
	font-size: .85rem;
	opacity: .8;
}

.vmv-card p {
	margin: .6rem 0 .8rem;
	color: var(--vmv-grey);
	font-size: .92rem;
}

.vmv-news__more {
	margin-top: 2rem;
	text-align: center;
}

.vmv-news__more-btn {
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.vmv-news__more-btn[hidden] {
	display: none;
}

/* ---------------------------------------------------------------- Der Volleyballverband MV */

.vmv-info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.vmv-info {
	display: flex;
	align-items: flex-end;
	min-height: 520px;
	border-radius: 12px;
	background: var(--vmv-soft-2) center / cover no-repeat;
	box-shadow: var(--vmv-shadow);
}

.vmv-info__box {
	display: flex;
	flex-direction: column;
	width: 72%;
	padding: 1.75rem 2rem;
	border-radius: 0 12px 12px 0;
	background: #fff;
}

.vmv-info h3 {
	margin-top: 0;
}

/* ---------------------------------------------------------------- Sponsorenleiste */

.vmv-sponsors {
	padding: 2.25rem 0;
	overflow: hidden;
	background: #fff;
	border-top: 1px solid var(--vmv-line);
}

.vmv-sponsors__track {
	display: flex;
	width: max-content;
	animation: vmv-marquee var(--vmv-marquee-duration, 60s) linear infinite;
}

.vmv-sponsors:hover .vmv-sponsors__track,
.vmv-sponsors:focus-within .vmv-sponsors__track {
	animation-play-state: paused;
}

.vmv-sponsors__list {
	display: flex;
	flex: none;
	align-items: center;
	gap: 60px;
	margin: 0;
	padding: 0 30px;
	list-style: none;
}

.vmv-sponsors__list li {
	flex: none;
}

.vmv-sponsors__list a,
.vmv-sponsors__list span {
	display: flex;
	align-items: center;
	height: 90px;
}

.vmv-sponsors__list img {
	display: block;
	width: auto;
	max-width: 220px;
	height: auto;
	max-height: 90px;
	object-fit: contain;
}

@keyframes vmv-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ---------------------------------------------------------------- Footer (CD II, Entwurf VMV-Footer-Contao: Markenzeile, Spalten, Schlussleiste)
   Schrift Barlow / Barlow Condensed (SIL OFL 1.1, selbst gehostet, Lizenz in fonts/OFL-Barlow.txt). Responsiv: Desktop 4 Spalten, Tablet (bis 1000 px) und Handy 2 x 2. */

body.vmv2 .vmv-footer {
  
  /* Höhe der Wellenkante; darüber bleibt der Footer durchsichtig, damit die Welle in die Farbe des Inhalts darüber übergeht (weiß oder Seitenhintergrund) */
  --vmv-welle-h: clamp(36px, 5vw, 70px);
  --vmv-tiefsee: #0B1F3A;
  --vmv-tiefsee-dunkel: #081629;
  --vmv-verbandsblau: #205094;
  --vmv-gischt: #A0D3E9;
  --vmv-signalrot: #BB2728;
  --vmv-sonne: #FFE45C;
  --vmv-linie: rgba(160, 211, 233, 0.25);
  --vmv-max: 1280px;
  --vmv-rand: clamp(16px, 4vw, 24px);
  background: linear-gradient(to bottom, transparent calc(var(--vmv-welle-h) - 1px), var(--vmv-tiefsee) calc(var(--vmv-welle-h) - 1px));
  /* Die Welle liegt über dem unteren Rand des Inhalts (durchsichtig): was darüber steht, scheint durch; Klicks gehen dort durch */
  position: relative;
  z-index: 1;
  margin-top: calc(var(--vmv-welle-h) * -1);
  pointer-events: none;
  color: #FFFFFF;
  font-family: var(--vmv-cd-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

body.vmv2 .vmv-footer *,
body.vmv2 .vmv-footer *::before,
body.vmv2 .vmv-footer *::after { box-sizing: border-box; }

body.vmv2 .vmv-footer__welle {
  display: block;
  width: 100%;
  height: var(--vmv-welle-h);
  background: transparent;
}

body.vmv2 .vmv-footer__welle path { fill: var(--vmv-tiefsee); }

body.vmv2 .vmv-footer > *:not(.vmv-footer__welle) { pointer-events: auto; }

body.vmv2 .vmv-footer__inner {
  max-width: var(--vmv-max);
  margin: 0 auto;
  padding-left: var(--vmv-rand);
  padding-right: var(--vmv-rand);
}

body.vmv2 .vmv-footer__marke {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  padding-top: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--vmv-linie);
}

body.vmv2 .vmv-footer__logo {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #FFFFFF;
  text-decoration: none;
}

body.vmv2 .vmv-footer__wortmarke {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.vmv2 .vmv-footer__name {
  display: flex;
  flex-direction: column;
  font-family: var(--vmv-cd-head);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

body.vmv2 .vmv-footer__name-1 { font-size: 26px; }

body.vmv2 .vmv-footer__name-2 { font-size: 19.5px; color: var(--vmv-gischt); }

body.vmv2 .vmv-footer__kurve { display: block; width: 190px; height: auto; }

body.vmv2 .vmv-footer__siegel {
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #FFFFFF;
  flex-shrink: 0;
}

body.vmv2 .vmv-footer__claim-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

body.vmv2 .vmv-footer__claim {
  margin: 0;
  font-family: var(--vmv-cd-head);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--vmv-sonne);
}

body.vmv2 .vmv-footer__social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.vmv2 .vmv-footer__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--vmv-gischt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: background-color .2s, color .2s;
}

body.vmv2 .vmv-footer__social a:hover,
body.vmv2 .vmv-footer__social a:focus-visible {
  background: var(--vmv-gischt);
  color: var(--vmv-tiefsee);
}

body.vmv2 .vmv-footer__social svg { width: 20px; height: 20px; }

body.vmv2 .vmv-footer__spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px 40px;
  padding-top: 36px;
  padding-bottom: 36px;
}

body.vmv2 .vmv-footer__spalte {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.vmv2 .vmv-footer__titel {
  margin: 0 0 6px;
  font-family: var(--vmv-cd-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vmv-gischt);
}

body.vmv2 .vmv-footer__spalte address { font-style: normal; }

body.vmv2 .vmv-footer__liste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }

body.vmv2 .vmv-footer a.vmv-footer__link,
body.vmv2 .vmv-footer__liste a {
  color: #FFFFFF;
  text-decoration: none;
  
  display: inline-block;
  padding: 2px 0;
}

body.vmv2 .vmv-footer a.vmv-footer__link:hover,
body.vmv2 .vmv-footer__liste a:hover { color: var(--vmv-sonne); text-decoration: underline; }

body.vmv2 .vmv-footer__mitglied { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

body.vmv2 .vmv-footer__mitglied img { display: block; width: auto; }

body.vmv2 .vmv-footer__mitglied .lsb { height: 60px; }

body.vmv2 .vmv-footer__mitglied .dvv { height: 44px; }

body.vmv2 .vmv-footer__schluss { background: var(--vmv-tiefsee-dunkel); }

body.vmv2 .vmv-footer__schluss .vmv-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
  color: var(--vmv-gischt);
}

body.vmv2 .vmv-footer__leitwoerter {
  font-family: var(--vmv-cd-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
}

body.vmv2 .vmv-footer__recht { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }

body.vmv2 .vmv-footer__recht a { color: var(--vmv-gischt); }

body.vmv2 .vmv-footer__recht a:hover { color: #FFFFFF; }

body.vmv2 .vmv-footer a:focus-visible {
  outline: 2px solid var(--vmv-sonne);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
body.vmv2 .vmv-footer__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}

@media (max-width: 600px) {
body.vmv2 .vmv-footer__marke { justify-content: center; text-align: center; }

body.vmv2 .vmv-footer__claim-box { justify-content: center; }

body.vmv2 .vmv-footer__claim { font-size: 28px; width: 100%; }

body.vmv2 .vmv-footer__social { justify-content: center; width: 100%; }

body.vmv2 .vmv-footer__siegel { width: 76px; height: 76px; }

body.vmv2 .vmv-footer__name-1 { font-size: 22px; }

body.vmv2 .vmv-footer__name-2 { font-size: 16.5px; }

body.vmv2 .vmv-footer__kurve { width: 160px; }

body.vmv2 .vmv-footer__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; font-size: 15px; }

body.vmv2 .vmv-footer__schluss .vmv-footer__inner { flex-direction: column; text-align: center; }

body.vmv2 .vmv-footer__recht { justify-content: center; }

}


@media (max-width: 900px) {
	.vmv-tiles,
	.vmv-info-grid {
		grid-template-columns: 1fr;
	}

	.vmv-tiles {
		margin-bottom: -3rem;
	}

	.vmv-after-hero {
		height: 3rem;
	}

	.vmv-hero__inner {
		padding-top: 4.5rem;
	}
}

@media (max-width: 560px) {
	/* Handy: Foto oben als eigener Bereich (4:3), darunter der Text (wie in der Vorlage). Das Foto liegt am Desktop als Hintergrund hinter dem Textkasten und blieb hier bis auf
	   einen schmalen Streifen verdeckt. Das Bild steht im style-Attribut der Karte (background-image); der Bereich oben erbt es (::before, background: inherit), die Karte selbst
	   zeigt es nicht mehr (background-size 0). */
	.vmv-info {
		display: block;
		min-height: 0;
		overflow: hidden;
		background-color: #fff;
		background-size: 0 0;
	}

	.vmv-info::before {
		content: "";
		display: block;
		aspect-ratio: 4 / 3;
		background: inherit;
		background-size: cover;
		background-position: center top;
		background-repeat: no-repeat;
	}

	.vmv-info__box {
		width: 100%;
		border-radius: 0 0 12px 12px;
	}

	.vmv-sec {
		padding: 3rem 0;
	}
}

/* ---------------------------------------------------------------- Bestehende Inhalte (Bootstrap 3, Module) */

#vmvmain {
	font-size: var(--vmv-fs-body);
	line-height: var(--vmv-lh-body);
}

#vmvmain h1 { margin: 0 0 1rem; padding: 0; font-size: var(--vmv-fs-h1); }
#vmvmain h2 { margin: 2rem 0 .75rem; padding: 0; font-size: var(--vmv-fs-h2); }
#vmvmain h3 { margin: 1.5rem 0 .5rem; padding: 0; font-size: var(--vmv-fs-h3); }
#vmvmain h4 { margin: 1.25rem 0 .4rem; font-size: var(--vmv-fs-h4); }

#vmvmain a {
	text-decoration: underline;
}

#vmvmain a:hover,
#vmvmain a:focus {
	background: transparent;
	color: var(--vmv-heading);
}

#vmvmain .ce_text ul,
#vmvmain .ce_text ol {
	padding-left: 1.4rem;
}

#vmvmain .mod_article {
	margin-bottom: 1.5rem;
}

#vmvmain .ce_image .caption,
#vmvmain .ce_image.block .image_container .caption {
	font-size: .85rem;
	font-weight: 700;
}

/* Tabellen */
#vmvmain .table {
	margin-bottom: 1.5rem;
	background: #fff;
	border-radius: var(--vmv-radius);
	border-collapse: separate;
	border-spacing: 0;
	box-shadow: 0 1px 3px #0b1f3a18;
}

#vmvmain .table > thead > tr > th {
	background: var(--vmv-soft);
	border-bottom: 2px solid var(--vmv-line);
	color: var(--vmv-primary);
	font-weight: 700;
}

#vmvmain .table > tbody > tr > td,
#vmvmain .table > tbody > tr > th {
	border-top: 1px solid var(--vmv-soft-2);
}

#vmvmain .table-striped > tbody > tr:nth-of-type(odd) {
	background: var(--vmv-duene-hell);
}

#vmvmain .table-hover > tbody > tr:hover {
	background: var(--vmv-soft);
}

#vmvmain .vmvligatabelle-active-team td {
	background: var(--vmv-sonne-hell);
	font-weight: 700;
}

#vmvmain .vmvligatabelle-matches { background: var(--vmv-soft); }
#vmvmain .vmvligatabelle-sets { background: var(--vmv-soft-2); }
#vmvmain .vmvligatabelle-balls { background: var(--vmv-soft); }

/* Reiter (Pills) wie die Liga-Auswahl der Vorlage */
#vmvmain .nav-pills {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0 0 1rem;
}

#vmvmain .nav-pills > li {
	float: none;
	margin: 0;
}

#vmvmain .nav-pills li a,
#vmvmain .nav-pills > li > a {
	padding: .4rem 1rem;
	border-radius: 999px;
	background: var(--vmv-soft-2);
	color: var(--vmv-primary);
	font-size: .92rem;
	text-decoration: none;
}

#vmvmain .nav-pills li a:hover {
	background: var(--vmv-line);
	color: var(--vmv-primary);
}

#vmvmain .nav-pills li.active a,
#vmvmain .nav-pills > li.active > a {
	background: var(--vmv-heading);
	color: #fff;
	font-weight: 700;
}

/* Formulare und Schaltflächen */
#vmvmain .form-control {
	height: auto;
	padding: .5rem .75rem;
	border: 1px solid var(--vmv-line);
	border-radius: 6px;
	box-shadow: none;
	color: var(--vmv-primary);
}

#vmvmain .form-control:focus {
	border-color: var(--vmv-accent);
	box-shadow: 0 0 0 3px #20509430;
}

#vmvmain .btn,
#vmvmain .submit,
#vmvmain input[type="submit"] {
	padding: .55rem 1.2rem;
	border: 1px solid var(--vmv-primary);
	border-radius: 4px;
	background: var(--vmv-primary);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

#vmvmain .btn:hover,
#vmvmain .submit:hover,
#vmvmain input[type="submit"]:hover {
	background: var(--vmv-heading);
	border-color: var(--vmv-heading);
	color: #fff;
}

#vmvmain .btn-default {
	background: #fff;
	border-color: var(--vmv-line);
	color: var(--vmv-primary);
}

#vmvmain .btn-default:hover {
	background: var(--vmv-soft);
	border-color: var(--vmv-line);
	color: var(--vmv-heading);
}

#vmvmain .btn-group > .btn.selected-nav-beachtool,
#vmvmain .btn.selected-nav-beachtool {
	background: var(--vmv-soft-2);
	border-color: var(--vmv-heading);
	color: var(--vmv-heading);
}

/* Karten mit Listen (Ligenübersicht der Hallensaison) */
.vmv-liga-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0 2rem;
}

.vmv-liga-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
}

#vmvmain .vmv-liga-card > h3 {
	margin: 0;
	padding: .9rem 1.25rem;
	background: var(--vmv-primary);
	color: #fff;
	font-size: 1.3rem;
}

.vmv-liga-card__body {
	flex: 1 1 auto;
	padding: .75rem 1.25rem 1.25rem;
	background: var(--vmv-soft);
}

#vmvmain .vmv-liga-card h4 {
	margin: 1.1rem 0 .5rem;
	color: var(--vmv-heading);
	font-size: 1.05rem;
}

#vmvmain .vmv-liga-card h5 {
	margin: .9rem 0 .35rem;
	color: var(--vmv-grey);
	font-size: .9rem;
	font-weight: 700;
}

.vmv-liga-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
	gap: .5rem;
}

#vmvmain .vmv-liga-links a {
	display: block;
	padding: .55rem .8rem;
	border-radius: 4px;
	background: #fff;
	color: var(--vmv-primary);
	font-size: .95rem;
	text-decoration: none;
	box-shadow: 0 1px 2px #0b1f3a14;
}

#vmvmain .vmv-liga-links a:hover {
	background: var(--vmv-soft-2);
	color: var(--vmv-heading);
}

#vmvmain .vmv-liga-links a.is-extern::after {
	content: "\2197";
	margin-left: .35em;
	color: var(--vmv-accent);
}

/* alte Listen (list-group) und Kästen */
#vmvmain .vmv-table {
	margin: 0 1em 1em 0;
}

#vmvmain .vmv-table .list-group-item.active {
	border-color: var(--vmv-primary);
	background: var(--vmv-primary);
	color: #fff;
}

#vmvmain .vmv-table a.list-group-item {
	text-decoration: none;
}

.kasten,
.vmv-panel {
	margin-bottom: 1rem;
	padding: 1rem 1.25rem;
	border: 0;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
}

.kasten-titel {
	padding: 0;
	font-weight: 700;
	color: var(--vmv-heading);
}

.vmv-panel .vmv-panel-title {
	background: var(--vmv-soft);
}

.vmv-frame-top-right {
	max-width: 100%;
	min-width: 0;
	margin: 0;
	float: none;
}

@media (min-width: 992px) {
	.vmv-frame-top-right {
		max-width: none;
		min-width: 0;
	}
}

.vmv-home-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

/* Nachrichten (Listen und Detailansicht) */
#vmvmain .vmv-news-teaser {
	margin: 1em 0;
	padding: 1rem 1.25rem;
	border: 0;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 3px #0b1f3a18;
}

#vmvmain .vmv-news-teaser:hover {
	background: var(--vmv-soft);
	box-shadow: var(--vmv-shadow);
}

#vmvmain .vmv-news-teaser a {
	text-decoration: none;
}

#vmvmain .vmv-news-teaser a:hover {
	text-decoration: underline;
}

#vmvmain .vmv-news-headline {
	font-size: 1.2rem;
	font-weight: 700;
}

#vmvmain .vmv-news-teaser a.vmv-news-morebutton {
	display: inline-block;
	margin-left: 0;
	padding: .2rem 0;
	font-weight: 700;
}

.vmv-news-teaser.with-image .vmv-news-teaser-image {
	border: 0;
	background: transparent;
	padding: 0;
}

#vmvmain .vmv-news-details h1 {
	font-size: 2rem;
}

/* Blätterleiste (Nachrichtenlisten, Archive): "Seite 1 von 83" und eine Reihe von Schaltflächen */
nav.pagination ul li strong.active,
div.pagination ul li span.current {
	border-color: var(--vmv-heading);
	color: var(--vmv-heading);
}

#vmvmain nav.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.5rem;
	margin: 2rem 0 0;
}

#vmvmain nav.pagination p {
	margin: 0;
	color: var(--vmv-grey);
	font-size: .95rem;
}

#vmvmain nav.pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

#vmvmain nav.pagination li {
	margin: 0;
	padding: 0;
	list-style: none;
}

#vmvmain nav.pagination a,
#vmvmain nav.pagination strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 .85rem;
	border-radius: 8px;
	background: var(--vmv-soft-2);
	color: var(--vmv-heading);
	font-weight: 700;
	text-decoration: none;
}

#vmvmain nav.pagination a:hover,
#vmvmain nav.pagination a:focus-visible {
	background: var(--vmv-soft);
	box-shadow: var(--vmv-shadow);
	text-decoration: none;
}

#vmvmain nav.pagination strong.active {
	background: var(--vmv-heading);
	color: #fff;
}

/* Hinweise aus VMV::hinweis / VMV::fehler */
#vmvmain .vmv-hinweis,
#vmvmain .alert {
	border-radius: 8px;
}

/* Galerie und Bilder */
#vmvmain .ce_image img,
#vmvmain figure img {
	border-radius: 6px;
}

#vmvmain .img-thumbnail {
	border-color: var(--vmv-line);
	border-radius: 8px;
}

@media print {
	.vmv-header,
	.vmv-sponsors,
	.vmv-footer,
	.vmv-band {
		display: none;
	}

	#vmvmain {
		max-width: none;
		padding: 0;
	}
}

/* ---------------------------------------------------------------- Vorrang vor den allgemeinen Regeln für Überschriften und Links */

body.vmv2 #vmvmain .vmv-hero .vmv-hero__title {
	margin: .75rem 0 1.25rem;
	color: var(--vmv-weiss);
	font-family: var(--vmv-font-head);
	font-size: var(--vmv-fs-hero);
	font-weight: 800;
	line-height: 1;
}

body.vmv2 #vmvmain .vmv-sec .vmv-sec__title {
	margin: 0 0 2rem;
	font-size: var(--vmv-fs-sec);
}

body.vmv2 #vmvmain .vmv-tile h3,
body.vmv2 #vmvmain .vmv-info h3 {
	margin: 0 0 .5rem;
	font-size: var(--vmv-fs-box);
}

body.vmv2 #vmvmain .vmv-card h3 {
	margin: 0 0 .25rem;
	font-size: var(--vmv-fs-card);
	font-weight: var(--vmv-fw-card);
	line-height: 1.2;
}

body.vmv2 #vmvmain .vmv-card h3 a,
body.vmv2 #vmvmain .vmv-tile h3 a {
	color: var(--vmv-heading);
	text-decoration: none;
}

body.vmv2 #vmvmain .vmv-card h3 a:hover {
	text-decoration: underline;
}

body.vmv2 #vmvmain .vmv-hero a:not(.vmv-btn):not(.vmv-more) {
	color: #fff;
}

/* Kästen auf der Startseite (An diesem Wochenende, SAMS): css2021.css (Layout-Kopf) lässt sie sonst rechts schweben */
body.vmv2 .vmv-frame-top-right {
	float: none;
	clear: both;
	max-width: none;
	min-width: 0;
	margin: 0 0 1rem;
}

body.vmv-home #vmvmain .mod_article > .ce_text.vmv-frame-top-right {
	margin-bottom: 1rem;
}

/* Logos in den Kästen (SAMS) nicht auf 25 % der Containerbreite aufziehen */
body.vmv2 .kasten img {
	width: auto !important;
	max-width: 110px;
	height: auto !important;
}

/* Brückenseite Archiv: Listen der Archivseiten in Spalten */
.vmv-archive-list ul {
	columns: 4 200px;
	column-gap: 1.5rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.vmv-archive-list li {
	break-inside: avoid;
	margin: 0 0 .4rem;
}

body.vmv2 #vmvmain .vmv-archive-list a,
body.vmv2 #vmvmain .vmv-archive-list strong {
	display: block;
	padding: .45rem .8rem;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 2px #0b1f3a14;
	text-decoration: none;
}

body.vmv2 #vmvmain .vmv-archive-list a:hover {
	background: var(--vmv-soft-2);
}

/* ---------------------------------------------------------------- Titelband: Einleitung */
.vmv-band__intro {
	max-width: 760px;
	margin: .9rem 0 0;
	color: var(--vmv-gischt-hell);
	font-size: 1.1rem;
	line-height: 1.6;
}

/* Link im Kurztext ([Text](Adresse) in seitentexte.yaml) */
body.vmv2 .vmv-band__intro a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: .2em;
}

body.vmv2 .vmv-band__intro a:hover,
body.vmv2 .vmv-band__intro a:focus-visible {
	color: #fff;
	text-decoration-thickness: 2px;
}

/* ---------------------------------------------------------------- Dokumente (Satzung & Dokumente) */
#vmvmain .vmv-doc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

#vmvmain .vmv-doc-grid > * {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	grid-column: 1 / -1;
}

#vmvmain .vmv-doc-grid > [class*="col-lg-6"] {
	grid-column: auto;
}

/* Karte wie in der Vorlage: Überschrift, Datum, Beschreibung und die Links untereinander (ohne Aufzählungszeichen), Abstand 6px */
.vmv-doc,
.vmv-panel {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	margin: 0;
	padding: 16px;
	border: 0;
	border-radius: 8px;
	background: var(--vmv-soft-2);
	box-shadow: none;
}

.vmv-panel .vmv-panel-title {
	position: static;
	padding: 0;
	background: transparent;
	color: var(--vmv-heading);
	font-size: 24px;
	font-weight: 700;
	line-height: 30px;
}

.vmv-panel .vmv-panel-title a {
	color: var(--vmv-heading);
	text-decoration: none;
}

.vmv-panel .vmv-panel-title a:hover {
	text-decoration: underline;
}

.vmv-panel .vmv-panel-content {
	position: static;
	padding: 0;
	background: transparent;
}

.vmv-panel .vmv-panel-title .vmv-panel-date,
.vmv-doc__date {
	position: static;
	display: block;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--vmv-heading);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

body.vmv2 #vmvmain .vmv-doc h3 {
	margin: 0;
	font-size: 24px;
	line-height: 30px;
}

.vmv-doc p,
.vmv-panel p {
	margin: 0;
}

.vmv-doc ul,
.vmv-panel ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vmv-doc li,
.vmv-panel li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.vmv2 #vmvmain .vmv-doc a,
body.vmv2 #vmvmain .vmv-panel .vmv-panel-content a {
	color: var(--vmv-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.vmv2 #vmvmain .vmv-doc a:hover,
body.vmv2 #vmvmain .vmv-panel .vmv-panel-content a:hover {
	color: var(--vmv-heading);
}

/* Karten einer Zeile gleich hoch (die Elemente verschachteln Wrapper um die Karte) */
#vmvmain .vmv-doc-grid > [class*="col-lg-6"] {
	display: flex;
	flex-direction: column;
}

#vmvmain .vmv-doc-grid > [class*="col-lg-6"] > .rte {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

#vmvmain .vmv-doc-grid > [class*="col-lg-6"] > .rte > .vmv-doc {
	flex: 1 1 auto;
}

/* ---------------------------------------------------------------- Übersichtsseiten mit Karten (Verband, Bildung)
   Aufbau im Backend: Elementgruppe (CSS-Klasse vmv-landing) mit je einem Text-Element pro Karte (Klassen vmv-landing__card und vmv-icon-<Name>) */
.vmv-landing {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.vmv-landing__card {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
}

.vmv-landing__card::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	background: center / contain no-repeat;
}

body.vmv2 #vmvmain .vmv-landing__card h2 {
	margin: 0 0 .6rem;
	font-size: 1.5rem;
}

.vmv-landing__card .rte {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.vmv-landing__card .rte p {
	margin: 0 0 1rem;
}

.vmv-landing__card .rte p:last-child {
	margin: auto 0 0;
	font-weight: 700;
}

.vmv-landing__card .rte p:last-child a::after {
	content: "\2192";
	display: inline-block;
	margin-left: .35em;
	text-decoration: none;
}

/* Symbole der Karten (eigene einfache Zeichnungen) */
.vmv-icon-vorstand::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x=%2219%22 y=%224%22 width=%2210%22 height=%229%22 rx=%222%22/%3E%3Crect x=%224%22 y=%2235%22 width=%2210%22 height=%229%22 rx=%222%22/%3E%3Crect x=%2219%22 y=%2235%22 width=%2210%22 height=%229%22 rx=%222%22/%3E%3Crect x=%2234%22 y=%2235%22 width=%2210%22 height=%229%22 rx=%222%22/%3E%3Cpath d=%22M24 13v11M9 35V24h30v11M24 24v11%22/%3E%3C/svg%3E"); }
.vmv-icon-geschaeftsstelle::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d=%22M6 22L24 6l18 16%22/%3E%3Cpath d=%22M10 20v22h28V20%22/%3E%3Ccircle cx=%2224%22 cy=%2226%22 r=%224%22/%3E%3Cpath d=%22M17 38c0-4 3-6 7-6s7 2 7 6%22/%3E%3C/svg%3E"); }
.vmv-icon-satzung::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d=%22M12 4h17l9 9v31H12z%22/%3E%3Cpath d=%22M29 4v9h9M18 24h14M18 31h14M18 38h9%22/%3E%3C/svg%3E"); }
.vmv-icon-schiedsrichter::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx=%2218%22 cy=%2230%22 r=%2211%22/%3E%3Cpath d=%22M28 24l14-14M29 19l4 4M35 13l4 4%22/%3E%3Ccircle cx=%2218%22 cy=%2230%22 r=%223%22/%3E%3C/svg%3E"); }
.vmv-icon-trainer::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x=%225%22 y=%228%22 width=%2238%22 height=%2226%22 rx=%223%22/%3E%3Cpath d=%22M24 34v8M16 44h16M13 17l8 6M13 25l5-4M30 15l5 5M30 25h6%22/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- Vorstand & Präsidium
   Aufbau im Backend: Text-Elemente mit den Klassen vmv-people-legend, vmv-people (ein Absatz je Person; "is-haupt" für Hauptamtliche) und vmv-committee
   (Überschrift = Funktion, erster Absatz = Name) in Elementgruppen mit der Klasse vmv-committees */
.vmv-people-legend .rte,
.vmv-people .rte,
.vmv-committees {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.vmv-people-legend .rte,
.vmv-people .rte {
	margin: 0 0 32px;
}

.vmv-people-legend p,
.vmv-people p {
	margin: 0;
	padding: 16px;
	border-radius: 8px;
	background: var(--vmv-soft-2);
	text-align: center;
}

.vmv-people-legend p:nth-child(1) {
	background: linear-gradient(110deg, var(--vmv-gischt) 0 28%, var(--vmv-soft-2) 28% 100%);
}

.vmv-people-legend p:nth-child(2),
.vmv-people.is-haupt p {
	background: var(--vmv-sonne-hell);
}

.vmv-people-legend p:nth-child(3) {
	background: var(--vmv-gischt-hell);
}

.vmv-people-legend .rte {
	margin-bottom: 64px;
}

.vmv-people--single .rte {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vmv-people--single .rte p {
	grid-column: 1;
}

body.vmv2 #vmvmain .vmv-people-legend ~ h2 {
	margin: 0 0 32px;
	font-size: 40px;
	line-height: 50px;
}

body.vmv2 #vmvmain .vmv-people-legend ~ h2:not(:first-of-type) {
	margin-top: 64px;
}

.vmv-committees {
	margin: 0 0 32px;
}

.vmv-committee {
	padding: 16px;
	border-radius: 8px;
	background: var(--vmv-soft-2);
}

body.vmv2 #vmvmain .vmv-committee h3 {
	margin: 0;
	color: var(--vmv-primary);
	font-size: 1rem;
	line-height: 1.5;
}

.vmv-committee .rte > p:first-child {
	margin: 0 0 .9rem;
	padding-bottom: .9rem;
	border-bottom: 2px solid var(--vmv-accent);
	font-size: 1rem;
}

.vmv-committee .rte > p:first-child:last-child {
	margin: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

body.vmv2 #vmvmain .vmv-committee h4 {
	margin: 1rem 0 .5rem;
	font-size: 1rem;
}

body.vmv2 #vmvmain .vmv-committee h5 {
	margin: .75rem 0 .4rem;
	font-size: .95rem;
	font-weight: 400;
}

.vmv-committee p {
	margin: 0 0 .6rem;
	font-size: .92rem;
}

.vmv-committee ul {
	columns: 2;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .92rem;
}

.vmv-committee li {
	break-inside: avoid;
}

@media (max-width: 1100px) {
	.vmv-people-legend .rte,
	.vmv-people .rte,
	.vmv-people--single .rte,
	.vmv-committees {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.vmv-landing,
	.vmv-people-legend .rte,
	.vmv-people .rte,
	.vmv-people--single .rte,
	.vmv-committees {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

/* Übersichtsseite mit drei Karten (Ref Coach Lead): auf dem Desktop nebeneinander, darunter untereinander */
.vmv-landing--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.vmv-landing--3 .vmv-landing__card {
	padding: 28px;
}

@media (max-width: 960px) {
	.vmv-landing--3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

/* Karte mit Text und Logos der Ausbildungspartner (Seite Funktionäre). Aufbau im Backend: Elementgruppe (vmv-training) mit einem Text-Element (vmv-training__text)
   und zwei Bild-Elementen (vmv-training__logo, Dateien in der Dateiverwaltung srv/bildung). Desktop: Text links, Logos rechts untereinander; Handy: Text, darunter die Logos nebeneinander */
.vmv-training {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: 28px 40px;
	align-items: center;
	margin-top: 2rem;
	padding: 32px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
}

.vmv-training__text {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.vmv-training__logo {
	grid-column: 2;
	justify-self: center;
	text-align: center;
}

.vmv-training__logo figure {
	margin: 0;
}

.vmv-training__logo img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 110px;
}

body.vmv2 #vmvmain .vmv-training h2 {
	margin: 0 0 .8rem;
	font-size: 1.5rem;
}

.vmv-training__text .rte p {
	margin: 0 0 1rem;
}

.vmv-training__text .rte p:last-child {
	margin: 1.5rem 0 0;
}

.vmv-training__text .rte p:last-child a {
	display: inline-block;
	padding: .7rem 1.4rem;
	border-radius: 4px;
	background: var(--vmv-primary);
	color: #fff !important;
	font-family: var(--vmv-font-head);
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none !important;
	transition: background .2s;
}

.vmv-training__text .rte p:last-child a:hover,
.vmv-training__text .rte p:last-child a:focus {
	background: var(--vmv-heading);
}

@media (max-width: 800px) {
	.vmv-training {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 24px;
	}

	.vmv-training__text {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.vmv-training__logo--lsb {
		grid-column: 1;
	}

	.vmv-training__logo--dosb {
		grid-column: 2;
	}
}

/* Übersichtsgrafik Leistungssportausschuss (Seite Leistungssport > Ausschuss): Kopf, vier Felder, Ziel */
.vmv-lsa {
	margin: 2rem 0;
	padding: 16px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
}

.vmv-lsa__top,
.vmv-lsa__goal {
	padding: 26px 20px;
	border: 1px solid #E8DFD0;
	border-radius: 14px;
	background: var(--vmv-duene);
	text-align: center;
}

.vmv-lsa p { margin: 0; }

.vmv-lsa__kicker {
	color: var(--vmv-tiefsee);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.vmv-lsa__slogan {
	margin-top: .5rem !important;
	color: var(--vmv-blau);
	font-size: clamp(1.1rem, 2.4vw, 1.5rem);
}

.vmv-lsa__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 14px 0;
}

.vmv-lsa__card {
	padding: 22px 26px;
	border: 1px solid #E8DFD0;
	border-radius: 14px;
	background: var(--vmv-duene-hell);
}

body.vmv2 #vmvmain .vmv-lsa__card h3 {
	margin: 0 0 .5rem;
	color: var(--vmv-tiefsee);
	font-size: 1.4rem;
}

.vmv-lsa__card p { color: var(--vmv-grey); }

.vmv-lsa__claim {
	margin-top: .4rem !important;
	color: var(--vmv-blau);
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
}

@media (max-width: 700px) {
	.vmv-lsa { padding: 10px; }
	.vmv-lsa__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Grafik "Förderweg" (Seite Leistungssport > Stützpunkte): vier Stufen untereinander mit Pfeilen */
.vmv-path {
	margin: 0 0 2rem;
	padding: 16px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
	text-align: center;
}

.vmv-path p { margin: 0; }

.vmv-path__step {
	padding: 24px 20px;
	border: 1px solid #E8DFD0;
	border-radius: 14px;
	background: var(--vmv-duene);
}

.vmv-path__step--hell { background: var(--vmv-duene-hell); }

.vmv-path__title {
	color: var(--vmv-tiefsee);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.vmv-path__where {
	margin-top: .45rem !important;
	color: var(--vmv-blau);
	font-size: 1.25rem;
}

.vmv-path__pill {
	display: inline-block;
	padding: .15rem .9rem;
	border: 1px solid #E8DFD0;
	border-radius: 999px;
	background: var(--vmv-duene);
}

.vmv-path__text {
	margin-top: .55rem !important;
	color: var(--vmv-grey);
}

.vmv-path__arrow {
	margin: 4px 0 !important;
	color: var(--vmv-tiefsee);
	font-size: 1.6rem;
	line-height: 1.3;
}

.vmv-path__note {
	margin-top: 14px !important;
	color: var(--vmv-grey);
	font-size: .95rem;
}

/* Desktop: Die Grafik steht rechts mit der halben Breite, der Text fließt links daneben (darunter geht er über die ganze Breite). Der Artikel räumt die Fließrichtung am Ende auf */
@media (min-width: 1000px) {
	.vmv-path {
		float: right;
		width: 50%;
		margin: 0 0 1.5rem 2.5rem;
	}

	.mod_article::after {
		content: "";
		display: block;
		clear: both;
	}
}

@media (max-width: 700px) {
	.vmv-path { padding: 10px; }
	.vmv-path__where { font-size: 1.1rem; }
}

/* Das Modul "Navigation" setzt um die Liste einen Block mit overflow:hidden (Contao-Framework): sonst wird das Aufklappfeld abgeschnitten */
.vmv-nav .mod_navigation {
	overflow: visible;
}

/* ---------------------------------------------------------------- Nachrichtenlisten auf den Seiten (Karten wie auf der Startseite)
   Die Vorlagen news_vmv_nachrichtenliste und news_vmv_nachrichtenliste_alle geben je Nachricht eine .vmv-card aus; das Modul (.mod_newslist) ordnet sie in Spalten an. */
#vmvmain .mod_newslist {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 0 0 32px;
}

#vmvmain .mod_newslist > :not(.vmv-card) {
	grid-column: 1 / -1;
}

#vmvmain .mod_newslist .vmv-card__body {
	flex: 1 1 auto;
}

#vmvmain .mod_newslist .vmv-card__body > div:last-child {
	margin-top: auto;
	padding-top: .25rem;
}

#vmvmain .mod_newslist .vmv-card__body > p {
	margin: .6rem 0 .8rem;
}

@media (max-width: 1100px) {
	#vmvmain .mod_newslist {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	#vmvmain .mod_newslist {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* Das Datum in der kleinen Zeile der Karte hat die Schrift der Rubrik */
.vmv-card__group time {
	color: inherit;
	font-size: inherit;
	opacity: 1;
}

/* ---------------------------------------------------------------- Detailansicht einer Nachricht: Zurück und vorheriger/nächster Beitrag */
.vmv-news-nav {
	margin: 3rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--vmv-line);
}

.vmv-news-nav__pager {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

#vmvmain .vmv-news-nav a.vmv-btn {
	color: #fff;
	text-decoration: none;
}

#vmvmain .vmv-news-nav__prev,
#vmvmain .vmv-news-nav__next {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: 16px 20px;
	border-radius: 12px;
	background: var(--vmv-soft-2);
	color: var(--vmv-heading);
	text-decoration: none;
}

#vmvmain .vmv-news-nav__prev:hover,
#vmvmain .vmv-news-nav__next:hover {
	background: var(--vmv-soft);
	box-shadow: var(--vmv-shadow);
}

.vmv-news-nav__next {
	grid-column: 2;
	text-align: right;
}

.vmv-news-nav__prev {
	grid-column: 1;
}

.vmv-news-nav__label {
	color: var(--vmv-accent);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.vmv-news-nav__title {
	font-size: 1.15rem;
	line-height: 1.3;
}

.vmv-news-nav__date {
	color: var(--vmv-grey);
	font-size: .85rem;
}

@media (max-width: 700px) {
	.vmv-news-nav__pager {
		grid-template-columns: minmax(0, 1fr);
	}

	.vmv-news-nav__prev,
	.vmv-news-nav__next {
		grid-column: 1;
		text-align: left;
	}
}

/* ---------------------------------------------------------------- Listeneinträge (Teaminfos, ältere Listen): ein Eintrag je Zeile */
body.vmv2 #vmvmain a.vmv-listentry,
body.vmv2 #vmvmain a.vmv-listentry-dense {
	display: block;
	margin: 0 0 .4rem;
	padding: .45rem .8rem;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 2px #0b1f3a14;
	text-decoration: none;
}

body.vmv2 #vmvmain a.vmv-listentry {
	margin-bottom: .75rem;
	padding: .7rem 1rem;
}

body.vmv2 #vmvmain a.vmv-listentry:hover,
body.vmv2 #vmvmain a.vmv-listentry-dense:hover {
	background: var(--vmv-soft-2);
}

body.vmv2 #vmvmain .vmv-listentry-hint {
	margin-left: .5rem;
	color: var(--vmv-grey);
	font-size: .85em;
	font-weight: 400;
}

body.vmv2 #vmvmain .vmv-listentry-header {
	display: block;
	color: var(--vmv-grey);
	font-size: .85em;
	font-weight: 700;
}

body.vmv2 #vmvmain .vmv-listentry-teaser {
	display: block;
	margin-top: .25rem;
	color: var(--vmv-text, inherit);
}

/* Element "Galerie": Raster mit Abstand, einheitliche Vorschaubilder (Klick zur Großansicht über Colorbox). Gilt für alle Galerien, unabhängig von "Bilder pro Reihe". */
body.vmv2 #vmvmain .content-gallery ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
	gap: .75rem;
	margin: 1.25rem 0;
	padding: 0;
	list-style: none;
}

body.vmv2 #vmvmain .content-gallery li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.vmv2 #vmvmain .content-gallery figure {
	margin: 0;
}

body.vmv2 #vmvmain .content-gallery a {
	display: block;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

body.vmv2 #vmvmain .content-gallery img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .25s ease;
}

body.vmv2 #vmvmain .content-gallery a:hover img,
body.vmv2 #vmvmain .content-gallery a:focus img {
	transform: scale(1.04);
}

body.vmv2 #vmvmain .content-gallery figcaption {
	margin-top: .35rem;
	color: var(--vmv-grey);
	font-size: .85em;
}

/* Buttons im Inhaltsbereich: "#vmvmain a:hover" setzt den Hintergrund sonst auf transparent (weiße Schrift auf weißem Grund, z. B. "Zurück zur Übersicht") */
#vmvmain a.vmv-btn--primary:hover,
#vmvmain a.vmv-btn--primary:focus {
	background: var(--vmv-heading);
	color: #fff !important;
}

#vmvmain a.vmv-btn:not(.vmv-btn--primary):hover,
#vmvmain a.vmv-btn:not(.vmv-btn--primary):focus {
	background: #fff;
}

/* ---------------------------------------------------------------- Beachtool: Turnierseite (Navigation)
   Drei Ebenen: Turnier wechseln (Aufklappliste), Bereiche als Reiter (Turnierinfos, Setzlisten, Ergebnisse ...), Wertungen (Damen/Herren,
   Runden) als Umschalter mit Zähler. Nur Aussehen; das Markup kommt unverändert vom Beachtool. */

#vmvmain .ce_beachtool_tournament .beachtool-navigation {
	margin: 0 0 1.25rem;
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation::before {
	content: "Turnier wechseln";
	display: block;
	margin: 0 0 .3rem;
	color: var(--vmv-grey);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .75;
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown {
	position: relative;
	display: inline-block;
	max-width: 100%;
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	min-width: 19rem;
	max-width: 100%;
	padding: .6rem 1.1rem;
	border: 1px solid var(--vmv-line);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 2px #0b1f3a14;
	color: var(--vmv-primary);
	font-weight: 700;
	text-align: left;
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-toggle:hover,
#vmvmain .ce_beachtool_tournament .beachtool-navigation .open > .dropdown-toggle {
	border-color: var(--vmv-accent);
	background: var(--vmv-soft);
	color: var(--vmv-heading);
}

/* Pfeil statt des Bootstrap-Dreiecks */
#vmvmain .ce_beachtool_tournament .beachtool-navigation .caret {
	flex: 0 0 auto;
	width: .5rem;
	height: .5rem;
	margin: -.2rem 0 0;
	border: 0;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .open .caret {
	margin-top: .2rem;
	transform: rotate(225deg);
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-menu {
	min-width: 100%;
	max-height: 24rem;
	margin: .35rem 0 0;
	padding: .35rem;
	overflow-y: auto;
	border: 1px solid var(--vmv-line);
	border-radius: 12px;
	box-shadow: var(--vmv-shadow);
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-menu > li > a {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .5rem .75rem;
	border-radius: 8px;
	color: var(--vmv-primary);
	text-decoration: none;
	white-space: normal;
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-menu > li > a:hover,
#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-menu > li > a:focus {
	background: var(--vmv-soft);
	color: var(--vmv-heading);
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-menu > li > a .glyphicon {
	visibility: hidden;
	color: var(--vmv-accent);
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-menu > li.current > a {
	background: var(--vmv-soft-2);
	font-weight: 700;
}

#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-menu > li.current > a .glyphicon {
	visibility: visible;
}

/* Bereiche als Reiter */
#vmvmain .ce_beachtool_tournament .beachtool-show {
	display: flex;
	flex-wrap: nowrap;
	gap: .15rem;
	margin: 0 0 1.25rem;
	overflow-x: auto;
	overflow-y: hidden;
	box-shadow: inset 0 -2px 0 var(--vmv-line);
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

#vmvmain .ce_beachtool_tournament .beachtool-show > .btn {
	flex: 0 0 auto;
	float: none;
	margin: 0;
	padding: .75rem 1.15rem;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 8px 8px 0 0;
	background: transparent;
	box-shadow: none;
	color: var(--vmv-grey);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

#vmvmain .ce_beachtool_tournament .beachtool-show > .btn:hover,
#vmvmain .ce_beachtool_tournament .beachtool-show > .btn:focus {
	background: var(--vmv-soft);
	color: var(--vmv-heading);
}

#vmvmain .ce_beachtool_tournament .beachtool-show > .btn.selected-nav-beachtool {
	border-bottom-color: var(--vmv-accent);
	background: transparent;
	color: var(--vmv-heading);
}

#vmvmain .ce_beachtool_tournament .beachtool-show > .btn[disabled] {
	opacity: .4;
	pointer-events: none;
}

/* Wertungen (Damen/Herren), Runden und weitere Umschalter innerhalb eines Bereichs */
#vmvmain .ce_beachtool_tournament .btn-group.top-margin-1em,
#vmvmain .ce_beachtool_tournament .beachtool-subtournaments {
	display: inline-flex;
	flex-wrap: wrap;
	gap: .25rem;
	margin: 0 0 1.25rem;
	padding: .25rem;
	border: 1px solid var(--vmv-line);
	border-radius: 999px;
	background: var(--vmv-soft);
}

#vmvmain .ce_beachtool_tournament .btn-group.top-margin-1em > .btn,
#vmvmain .ce_beachtool_tournament .beachtool-subtournaments > .btn,
#vmvmain .ce_beachtool_tournament .beachtool-subtournaments > btn {
	display: inline-flex;
	align-items: center;
	float: none;
	gap: .5rem;
	margin: 0;
	padding: .4rem 1.05rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: var(--vmv-primary);
	font-weight: 700;
	text-decoration: none;
}

#vmvmain .ce_beachtool_tournament .btn-group.top-margin-1em > .btn:hover,
#vmvmain .ce_beachtool_tournament .beachtool-subtournaments > .btn:hover {
	background: #fff;
	color: var(--vmv-heading);
}

#vmvmain .ce_beachtool_tournament .btn-group.top-margin-1em > .btn.selected-nav-beachtool,
#vmvmain .ce_beachtool_tournament .beachtool-subtournaments > .btn-primary {
	background: var(--vmv-primary);
	box-shadow: 0 1px 3px #0b1f3a55;
	color: #fff;
}

#vmvmain .ce_beachtool_tournament .beachtool-subtournaments .glyphicon-arrow-right {
	display: none;
}

/* Zähler an den Umschaltern: dezent, nicht grell grün */
#vmvmain .ce_beachtool_tournament .btn-group.top-margin-1em .label {
	margin: 0;
	padding: .15rem .55rem;
	border-radius: 999px;
	background: var(--vmv-soft-2);
	color: var(--vmv-heading);
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.3;
}

#vmvmain .ce_beachtool_tournament .btn-group.top-margin-1em .label.label-danger {
	background: var(--vmv-rot-hell);
	color: var(--vmv-rot);
}

#vmvmain .ce_beachtool_tournament .btn-group.top-margin-1em > .btn.selected-nav-beachtool .label {
	background: #ffffff30;
	color: #fff;
}

@media (max-width: 36rem) {
	#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown {
		display: block;
	}

	#vmvmain .ce_beachtool_tournament .beachtool-navigation .dropdown-toggle {
		width: 100%;
		min-width: 0;
	}

	#vmvmain .ce_beachtool_tournament .btn-group.top-margin-1em,
	#vmvmain .ce_beachtool_tournament .beachtool-subtournaments {
		display: flex;
		border-radius: 22px;
	}

	#vmvmain .ce_beachtool_tournament .btn-group.top-margin-1em > .btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}

/* Beachtool: Spielerseite. Jahres-Reiter ohne Start des Spielers sind abgeblendet (aber vorhanden, damit es keine Lücken gibt); je Serie eine Tabelle,
   die Kopfzelle der ersten Spalte nennt die Serie. */
#vmvmain .ce_beachtool_spielerinfo .nav-tabs > li.disabled > a {
	color: var(--vmv-line);
	cursor: not-allowed;
	pointer-events: none;
}

#vmvmain .ce_beachtool_spielerinfo table.spielerinfo-series {
	margin-bottom: 1.5rem;
}

#vmvmain .ce_beachtool_spielerinfo table.spielerinfo-series thead th:first-child {
	color: var(--vmv-heading);
	font-size: 1.05rem;
	text-align: left;
}

/* ---------------------------------------------------------------- Informationsbalken "Dieses Wochenende" (Start-Block, unter dem Kurztext) */

.vmv-hero__head + .vmv-weekend {
	margin-top: -1rem;
}

body.vmv2 #vmvmain .vmv-hero .vmv-weekend {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: stretch;
	margin-bottom: 1.5rem;
	overflow: hidden;
	border-radius: var(--vmv-radius);
	background: #fff;
	color: var(--vmv-primary);
	box-shadow: var(--vmv-shadow);
}

body.vmv2 #vmvmain .vmv-hero .vmv-weekend__lead,
body.vmv2 #vmvmain .vmv-hero .vmv-weekend__item {
	display: flex;
	align-items: center;
	gap: .9rem;
	padding: 1.1rem 1.75rem;
	border-bottom: 4px solid var(--vmv-accent);
	color: var(--vmv-primary);
	text-decoration: none;
}

body.vmv2 #vmvmain .vmv-hero .vmv-weekend__lead {
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: .15rem;
	border-bottom-color: var(--vmv-red);
}

.vmv-weekend__eyebrow {
	color: var(--vmv-red);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* Kopf als Link (Seite "Aktuelle Spiele", Karte geöffnet): zweizeilig wie bisher, nur mit Hover wie die Kacheln */
body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__lead:hover,
body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__lead:focus-visible {
	background: var(--vmv-soft);
}

.vmv-weekend__title {
	color: var(--vmv-primary);
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

body.vmv2 #vmvmain .vmv-hero .vmv-weekend__item--liga {
	border-bottom-color: var(--vmv-accent);
}

body.vmv2 #vmvmain .vmv-hero .vmv-weekend__item--pokal {
	border-bottom-color: var(--vmv-primary);
}

body.vmv2 #vmvmain .vmv-hero .vmv-weekend__item--jugend {
	border-bottom-color: var(--vmv-yellow);
}

.vmv-weekend__num {
	color: var(--vmv-heading);
	font-size: 3.2rem;
	font-weight: 700;
	line-height: 1;
}

.vmv-weekend__txt {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.vmv-weekend__txt strong {
	font-size: 1.1rem;
	font-weight: 700;
}

.vmv-weekend__txt span {
	opacity: .75;
}

body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__item:hover,
body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__item:focus-visible {
	background: var(--vmv-soft);
}

body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__item:hover .vmv-weekend__txt span {
	color: var(--vmv-accent);
	opacity: 1;
}

body.vmv2 #vmvmain .vmv-hero .vmv-weekend__ticker {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-width: 17rem;
	padding: 1.1rem 1.75rem;
	background: var(--vmv-primary);
	color: #fff;
	text-decoration: none;
}

/* Live-Ticker nur, solange ein Spiel läuft (vmv2.js setzt/entfernt hidden) */
body.vmv2 #vmvmain .vmv-hero .vmv-weekend__ticker[hidden] {
	display: none;
}

body.vmv2 #vmvmain .vmv-hero .vmv-weekend__ticker .vmv-weekend__txt strong {
	font-size: 1.35rem;
	text-transform: uppercase;
}

body.vmv2 #vmvmain .vmv-hero .vmv-weekend__ticker .vmv-weekend__txt span {
	color: var(--vmv-gischt);
	font-size: .9rem;
	opacity: 1;
}

body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__ticker:hover,
body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__ticker:focus-visible {
	background: var(--vmv-heading);
}

.vmv-weekend__dot {
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background: var(--vmv-red);
	box-shadow: 0 0 0 .4rem #bb272840;
	animation: vmv-weekend-pulse 2s ease-in-out infinite;
}

@keyframes vmv-weekend-pulse {
	50% {
		box-shadow: 0 0 0 .7rem #bb272814;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vmv-weekend__dot {
		animation: none;
	}
}

/* Desktop: Ligaspiele, Jugend-Turniere und (wenn ein Spiel läuft) Live-Ticker je ein Viertel der Breite; der Kopf nimmt den Rest: ein Viertel mit Ticker, sonst die Hälfte */
@media (min-width: 1101px) {
	body.vmv2 #vmvmain .vmv-hero .vmv-weekend__lead {
		flex: 1 1 0;
		min-width: 0;
	}

	body.vmv2 #vmvmain .vmv-hero .vmv-weekend__item,
	body.vmv2 #vmvmain .vmv-hero .vmv-weekend__ticker {
		flex: 0 0 25%;
		box-sizing: border-box;
		min-width: 0;
	}
}

@media (max-width: 900px) {
	body.vmv2 #vmvmain .vmv-hero .vmv-weekend {
		flex-wrap: wrap;
	}

	body.vmv2 #vmvmain .vmv-hero .vmv-weekend__lead {
		flex: 1 0 100%;
		padding: 1rem 1.25rem .9rem;
	}

	body.vmv2 #vmvmain .vmv-hero .vmv-weekend__item {
		flex: 1 1 50%;
		padding: .9rem 1.25rem;
	}

	body.vmv2 #vmvmain .vmv-hero .vmv-weekend__ticker {
		flex: 1 0 100%;
		padding: 1rem 1.25rem;
	}

	.vmv-weekend__num {
		font-size: 2.6rem;
	}
}

@media (max-width: 520px) {
	body.vmv2 #vmvmain .vmv-hero .vmv-weekend__item {
		flex-basis: 100%;
	}
}

/* Vorrang vor der Regel für Links im Start-Block (weiß auf dunklem Grund): Kacheln des Balkens sind dunkel auf weißem Grund */
body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__item:not(.vmv-btn):not(.vmv-more) {
	color: var(--vmv-primary);
	text-decoration: none;
}

body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__lead:not(.vmv-btn):not(.vmv-more) {
	color: var(--vmv-primary);
	text-decoration: none;
}

body.vmv2 #vmvmain .vmv-hero a.vmv-weekend__ticker:not(.vmv-btn):not(.vmv-more) {
	color: #fff;
	text-decoration: none;
}

/* ---------------------------------------------------------------- Badges (Sprungmarken) oben auf den Seiten Schiedsrichter, Trainer und Senioren */

.vmv-badges {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0 0 1.5rem;
}

body.vmv2 #vmvmain .vmv-badges a.vmv-badges__item {
	padding: .35rem .8rem;
	border: 1px solid var(--vmv-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vmv-primary);
	text-decoration: none;
}

body.vmv2 #vmvmain .vmv-badges a.vmv-badges__item:hover,
body.vmv2 #vmvmain .vmv-badges a.vmv-badges__item:focus-visible {
	border-color: var(--vmv-accent);
	color: var(--vmv-accent);
}

/* Satzung & Dokumente auf dem Handy: eine Spalte, kleinere Karten, lange Wörter ("Landesschiedsrichterordnung") brechen um */
.vmv-doc,
.vmv-panel {
	overflow-wrap: anywhere;
}

@media (max-width: 700px) {
	#vmvmain .vmv-doc-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	body.vmv2 #vmvmain .vmv-doc h3,
	.vmv-panel .vmv-panel-title {
		font-size: 21px;
		line-height: 27px;
	}
}

/* Menü: Ein per Klick geschlossenes Aufklappfeld bleibt zu, auch wenn die Maus noch darüber steht oder der Fokus darin ist (bis die Maus den Punkt verlässt) */
@media (min-width: 1181px) {
	.vmv-nav ul.level_1 > li.is-suppressed > ul.level_2 {
		display: none !important;
	}
}

/* ---------------------------------------------------------------- Ziehen zum Aktualisieren (nur als App auf dem Home-Bildschirm, siehe vmv2.js) */

.vmv-ptr {
	position: fixed;
	top: calc(env(safe-area-inset-top, 0px) + 8px);
	left: 50%;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-left: -20px;
	border-radius: 50%;
	background: #fff;
	color: var(--vmv-primary);
	box-shadow: 0 4px 14px #0b1f3a33;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-64px);
	transition: transform .2s, opacity .2s;
}

.vmv-ptr.is-pulling {
	transition: none;
	opacity: var(--ptr-o, 0);
	transform: translateY(var(--ptr-y, -64px));
}

.vmv-ptr.is-pulling svg {
	transform: rotate(var(--ptr-r, 0deg));
}

.vmv-ptr.is-loading {
	opacity: 1;
	transform: translateY(40px);
}

.vmv-ptr.is-loading svg {
	animation: vmv-ptr-spin .8s linear infinite;
}

@keyframes vmv-ptr-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.vmv-ptr.is-loading svg { animation-duration: 2s; }
}

/* ---------------------------------------------------------------- Bildwechsler hinter dem Titelbereich der Unterseiten
   Die Bilder stehen in der Dateiverwaltung im Ordner hero-bilder (srv/hero-bilder); vmv2.js blendet alle 4 Sekunden (Überblendung 0,6 s) zum nächsten Bild. */

.vmv-band--slides {
	background: var(--vmv-primary);
}

.vmv-band__slides,
.vmv-band__slide {
	position: absolute;
	inset: 0;
}

.vmv-band__slide {
	background-position: center;
	background-size: cover;
	opacity: 0;
	transition: opacity .6s ease-in-out;
}

.vmv-band__slide.is-active {
	opacity: 1;
}

/* Farbfläche über den Bildern (wie bisher der Verlauf des Titelbereichs) */
.vmv-band--slides::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(var(--vmv-primary-rgb), .94) 15%, rgba(var(--vmv-heading-rgb), .86) 100%);
}

.vmv-band--slides .vmv-band__inner {
	position: relative;
	z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
	.vmv-band__slide {
		transition: none;
	}
}

/* ---------------------------------------------------------------- Start-Block: unter den Kacheln schaut noch ein Streifen des blauen Bild-/Videobereichs hervor (so hoch wie der Abstand zwischen Balken und Kacheln) */

body.vmv2 #vmvmain .vmv-hero .vmv-hero__inner {
	padding-bottom: 1.5rem;
}

/* Der blaue Bereich endet an der Unterkante der Kachel-Überschriften: die Kacheln ragen um --vmv-hero-cut aus ihm heraus (das Skript vmv2.js, initHeroCut, misst den Wert;
   ohne Skript oder bei einer Spalte ist er 0 und alles bleibt wie vorher). Der Abstandhalter danach schiebt den folgenden Inhalt unter die Kacheln. */
body.vmv2 #vmvmain {
	--vmv-hero-cut: 0px;
}

body.vmv2 #vmvmain .vmv-hero .vmv-tiles {
	margin-bottom: calc(-1 * var(--vmv-hero-cut));
}

body.vmv2 #vmvmain.has-hero-cut .vmv-hero .vmv-hero__inner {
	padding-bottom: 0;
	/* eigener Formatierungskontext: der negative Abstand der Kacheln verkürzt den Bereich, statt durch ihn hindurch nach außen zu wirken */
	display: flow-root;
}

body.vmv2 #vmvmain.has-hero-cut .vmv-after-hero {
	height: calc(var(--vmv-hero-cut) + 1.5rem);
}

body.vmv2 #vmvmain:not(.has-hero-cut) .vmv-after-hero {
	height: 0;
}

/* ---------------------------------------------------------------- CD II: Schriften der Bedienelemente und Kennzeichnungen
   Barlow Condensed Bold für Buttons, Filter-Chips, Kachel-Titel und kurze Labels (Versalien nur dort), Barlow Condensed ExtraBold für große Kennzahlen,
   Barlow Bold für Navigation und Hervorhebungen. */

body.vmv2 .vmv-btn,
body.vmv2 .vmv-tab,
body.vmv2 .vmv-news__more-btn,
body.vmv2 .vmv-eyebrow,
body.vmv2 .vmv-card__group,
body.vmv2 .vmv-badges__item,
body.vmv2 .vmv-weekend__eyebrow,
body.vmv2 .vmv-weekend__title,
body.vmv2 .vmv-weekend__ticker strong,
body.vmv2 #vmvmain input[type="submit"],
body.vmv2 #vmvmain .btn,
body.vmv2 #vmvmain .label {
	font-family: var(--vmv-font-head);
	font-weight: 700;
}

body.vmv2 .vmv-weekend__num {
	font-family: var(--vmv-font-head);
	font-weight: 800;
}

body.vmv2 .vmv-nav ul.level_1 > li > a,
body.vmv2 .vmv-nav ul.level_1 > li > strong,
body.vmv2 .vmv-nav ul.level_1 > li > button.vmv-menu-top {
	font-family: var(--vmv-font-body);
	font-weight: 700;
}

body.vmv2 small,
body.vmv2 .small,
body.vmv2 .vmv-news-date,
body.vmv2 .vmv-stand {
	font-size: var(--vmv-fs-small);
	line-height: 1.4;
}

/* ---------------------------------------------------------------- Bildergalerie: Top-Bilder und Sprungmarken auf der Übersicht */

.vmv-topbilder {
	margin: 0 0 3rem;
}

.vmv-topbilder__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vmv-topbilder__item {
	margin: 0;
	padding: 0;
}

body.vmv2 #vmvmain .vmv-topbilder__item a {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--vmv-radius);
	background: var(--vmv-tiefsee);
	aspect-ratio: 4 / 3;
	box-shadow: var(--vmv-shadow);
	text-decoration: none;
}

/* Spezifität wie "body.vmv2 img" (height: auto), damit das Bild die Kachel immer ganz ausfüllt (zugeschnitten, nicht gestaucht) */
body.vmv2 .vmv-topbilder__item img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform .3s ease;
}

body.vmv2 #vmvmain .vmv-topbilder__item a:hover img,
body.vmv2 #vmvmain .vmv-topbilder__item a:focus-visible img {
	transform: scale(1.05);
}

.vmv-topbilder__cap {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1.5rem .6rem .5rem;
	background: linear-gradient(to top, rgba(var(--vmv-primary-rgb), .85), rgba(var(--vmv-primary-rgb), 0));
	color: #fff;
	font-family: var(--vmv-font-head);
	font-weight: 700;
	font-size: var(--vmv-fs-small);
	line-height: 1.2;
	overflow-wrap: anywhere;
}

/* Handy: das Top-Bild groß, die Plätze 2 bis 5 kleiner nebeneinander darunter (ohne Beschriftung, der Name der Galerie steht im Alt-Text); ab 700 px sind alle fünf gleich groß */
@media (max-width: 699px) {
	.vmv-topbilder__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: .5rem;
	}

	.vmv-topbilder__item:first-child {
		grid-column: 1 / -1;
	}

	body.vmv2 #vmvmain .vmv-topbilder__item:not(:first-child) a {
		aspect-ratio: 1 / 1;
		border-radius: 6px;
	}

	.vmv-topbilder__item:not(:first-child) .vmv-topbilder__cap {
		display: none;
	}
}

/* Badges der Übersicht: Zahl der Bilder dezent; Sprungziele liegen nicht unter der festen Kopfleiste */
.vmv-bildergalerie .vmv-badges small {
	opacity: .7;
	font-weight: 400;
}

.vmv-galerien > li {
	scroll-margin-top: calc(var(--vmv-header-h) + 1rem);
}

/* ---------------------------------------------------------------- Beach: Saisonliste (Terminübersicht)
   Zeile als Raster: Datum oben, darunter Haken, Turniername und Verein; rechts die Symbole (Herren, Damen, Bilder, Bericht), vertikal zentriert.
   Auf dem Handy stehen die Symbole zentriert unter dem Turnier. Die Symbole stehen in .beachtool-saison-icons (Einzelkorrektur in c5_build.py). */
body.vmv2 #vmvmain a.beachtool-tournaments {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas:
		"termin termin icons"
		"check name icons"
		"check club icons";
	column-gap: .75rem;
	align-items: start;
}

body.vmv2 #vmvmain a.beachtool-tournaments::before,
body.vmv2 #vmvmain a.beachtool-tournaments::after,
body.vmv2 #vmvmain a.beachtool-tournaments > .clearfix {
	display: none;
}

body.vmv2 #vmvmain a.beachtool-tournaments > .beachtool-saison-termin { grid-area: termin; }
body.vmv2 #vmvmain a.beachtool-tournaments > .pull-left { grid-area: check; float: none; }
body.vmv2 #vmvmain a.beachtool-tournaments > .beachtool-saison-turniername { grid-area: name; }
body.vmv2 #vmvmain a.beachtool-tournaments > .beachtool-saison-club { grid-area: club; }

body.vmv2 #vmvmain .beachtool-saison-icons {
	grid-area: icons;
	align-self: center;
	display: flex;
	flex-direction: row-reverse; /* die Vorlage liefert die Symbole in umgekehrter Reihenfolge (früher rechts schwebend): Herren, Damen, Bilder, Bericht */
	flex-wrap: wrap;
	justify-content: flex-start; /* bei row-reverse: am rechten Rand */
	gap: .4rem;
}

body.vmv2 #vmvmain .beachtool-saison-icons > .pull-right {
	float: none;
}

/* Symbole ohne Innenabstand (die allgemeine Regel für .btn setzt sonst .55rem 1.2rem), Größe über Breite und Höhe */
body.vmv2 #vmvmain .beachtool-tournaments .btn-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	min-width: 1.5em;
	min-height: 1.5em;
	line-height: 1;
}

@media (max-width: 699px) {
	body.vmv2 #vmvmain a.beachtool-tournaments {
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"termin termin"
			"check name"
			"check club"
			"icons icons";
	}

	body.vmv2 #vmvmain .beachtool-saison-icons {
		justify-self: center;
		justify-content: center;
		margin: .75rem 0 .25rem;
	}
}

/* ---------------------------------------------------------------- Seiten mit Dokument-Feldern (vmv-panel) in zwei Spalten, z. B. Jugend > Downloads
   Wie "Satzung & Dokumente" (vmv-doc-grid), aber ohne dass der Artikel die Klasse braucht: jeder Artikel mit einem vmv-panel wird zum Raster, Überschriften u. ä. gehen über die
   volle Breite, die Felder (Bootstrap-Klasse col-md-6 bzw. col-lg-6) stehen in zwei Spalten mit Abstand, auf dem Handy untereinander mit kleinerem Abstand. */
#vmvmain .mod_article:has(.vmv-panel) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

#vmvmain .mod_article:has(.vmv-panel) > * {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	grid-column: 1 / -1;
}

#vmvmain .mod_article:has(.vmv-panel) > [class*="col-md-6"],
#vmvmain .mod_article:has(.vmv-panel) > [class*="col-lg-6"] {
	grid-column: auto;
	display: flex;
	flex-direction: column;
}

#vmvmain .mod_article:has(.vmv-panel) > [class*="col-md-6"] > .rte,
#vmvmain .mod_article:has(.vmv-panel) > [class*="col-lg-6"] > .rte {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

#vmvmain .mod_article:has(.vmv-panel) .rte > .vmv-panel {
	flex: 1 1 auto;
}

@media (max-width: 700px) {
	#vmvmain .mod_article:has(.vmv-panel) {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

/* ---------------------------------------------------------------- Quermenü (Helper::subNav): Geschwisterseiten der Menügruppe, im Titelband.
   Bewusst keine Pillen (die gehören den Sprungmarken im Inhalt, z. B. "Tabelle / Spielplan"), sondern eine Reiterleiste am unteren Rand des Bands: feine Linie, Text,
   die aktuelle Seite mit kräftigem weißem Balken. Achtung: Contao setzt die CSS-Klasse der Seite auch auf den body, deshalb alle Regeln mit "nav." */
.vmv-band--subnav .vmv-band__inner { padding-bottom: 0; }

nav.vmv-subnav {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2rem;
	margin: 2.6rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, .28);
	font-family: var(--vmv-font-head);
	line-height: 1.2;
}

body.vmv2 nav.vmv-subnav a,
body.vmv2 nav.vmv-subnav strong {
	position: relative;
	display: inline-block;
	padding: 1rem 0 1.05rem;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, .8);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
}

body.vmv2 nav.vmv-subnav a::before,
body.vmv2 nav.vmv-subnav strong::before {
	content: "";
	position: absolute;
	top: -2px;
	right: 0;
	left: 0;
	height: 3px;
	border-radius: 2px;
	background: transparent;
}

body.vmv2 nav.vmv-subnav a:hover,
body.vmv2 nav.vmv-subnav a:focus-visible {
	color: #fff;
}

body.vmv2 nav.vmv-subnav a:hover::before,
body.vmv2 nav.vmv-subnav a:focus-visible::before {
	background: rgba(255, 255, 255, .55);
}

/* erster Eintrag einer verbundenen Gruppe (z. B. Jugend: danach das andere Geschlecht): etwas mehr Abstand davor */
@media (min-width: 641px) {
	body.vmv2 nav.vmv-subnav .vmv-subnav__gap { margin-left: 1.4rem; }
}

/* aktive Seite: weißer Text, kräftiger weißer Balken auf der Linie */
body.vmv2 nav.vmv-subnav strong {
	color: #fff;
}

body.vmv2 nav.vmv-subnav strong::before {
	background: #fff;
}

@media (max-width: 640px) {
	nav.vmv-subnav { margin-top: 1.8rem; column-gap: 1.4rem; }
	body.vmv2 nav.vmv-subnav a,
	body.vmv2 nav.vmv-subnav strong { padding: .85rem 0; font-size: 1.1rem; }
	/* Umbruch in mehrere Zeilen (viele Einträge, z. B. die Ligen): der Balken der aktuellen Seite steht unter ihrem Text, nicht zwischen den Zeilen */
	body.vmv2 nav.vmv-subnav a::before,
	body.vmv2 nav.vmv-subnav strong::before { top: auto; bottom: 0; }
}

@media print {
	nav.vmv-subnav { display: none; }
}

/* ---------------------------------------------------------------- Personen (Modul "VMV Person", templates/mod_vmv_person.html5)
   Ansprechpartner als Karte: Foto (oder Initialen), Funktion, Name, Kontakt. Mehrere Personen hintereinander stehen nebeneinander, alle anderen Inhalte
   des Artikels behalten die volle Breite. */
#vmvmain .mod_article:has(.vmv-person) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	column-gap: 24px;
}

#vmvmain .mod_article:has(.vmv-person) > * {
	flex: 1 1 100%;
	min-width: 0;
}

#vmvmain .mod_article:has(.vmv-person) > .vmv-person {
	flex: 0 1 500px;
}

.vmv-person {
	display: flex;
	align-items: center;
	gap: 22px;
	box-sizing: border-box;
	margin: 0 0 24px;
	padding: 22px 24px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
	border-top: 4px solid var(--vmv-accent);
}

.vmv-person__photo {
	flex: 0 0 auto;
	width: 112px;
	height: 140px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--vmv-soft);
}

body.vmv2 .vmv-person__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
}

.vmv-person__photo--none {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--vmv-heading), var(--vmv-primary));
	color: #fff;
	font-family: var(--vmv-font-head);
	font-size: 2.6rem;
	font-weight: 700;
	letter-spacing: .04em;
}

.vmv-person__body {
	min-width: 0;
}

.vmv-person__role {
	margin: 0 0 .15rem;
	color: var(--vmv-accent);
	font-family: var(--vmv-font-head);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}

body.vmv2 #vmvmain .vmv-person__name {
	margin: 0 0 .7rem;
	color: var(--vmv-heading);
	font-family: var(--vmv-font-head);
	font-size: 1.9rem;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.vmv-person__name small {
	display: block;
	margin-top: .15rem;
	color: var(--vmv-grey);
	font-family: var(--vmv-font-body);
	font-size: .9rem;
	font-weight: 400;
}

.vmv-person__contact {
	display: grid;
	gap: .4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.02rem;
	line-height: 1.4;
}

body.vmv2 #vmvmain .vmv-person__contact li {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	margin: 0;
	padding: 0;
	overflow-wrap: anywhere;
}

.vmv-person__contact svg {
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: .15rem;
	fill: none;
	stroke: var(--vmv-accent);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.vmv2 #vmvmain .vmv-person__contact a {
	color: var(--vmv-heading);
	text-decoration: none;
}

body.vmv2 #vmvmain .vmv-person__contact a:hover,
body.vmv2 #vmvmain .vmv-person__contact a:focus-visible {
	text-decoration: underline;
}

.vmv-person__note {
	margin: .7rem 0 0;
	color: var(--vmv-grey);
	font-size: .95rem;
}

@media (max-width: 520px) {
	#vmvmain .mod_article:has(.vmv-person) > .vmv-person { flex-basis: 100%; }
	.vmv-person { gap: 16px; padding: 18px 16px; }
	.vmv-person__photo { width: 88px; height: 112px; }
	.vmv-person__photo--none { font-size: 2.1rem; }
	body.vmv2 #vmvmain .vmv-person__name { font-size: 1.6rem; }
}

@media print {
	.vmv-person { box-shadow: none; border: 1px solid #999; }
}

/* ---------------------------------------------------------------- Nachricht (Detailansicht): Titelband mit Bereich, Überschrift, Datum und "Zurück zur Übersicht" als Badge;
   Bilder am Desktop in einer Spalte rechts neben dem Text, am Handy darunter */
.vmv-band--news .vmv-band__inner {
	padding-block: 48px 56px;
}

.vmv-band__back {
	margin: 0 0 1.5rem;
}

body.vmv2 .vmv-band__back a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .35rem .95rem;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
}

body.vmv2 .vmv-band__back a:hover,
body.vmv2 .vmv-band__back a:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, .24);
	color: #fff;
}

body.vmv2 .vmv-band--news h1.vmv-band__title,
body.vmv2 .vmv-band--news p.vmv-band__title {
	max-width: 24em;
	margin-top: .35rem;
	font-size: clamp(1.9rem, 4vw, 3rem);
}

.vmv-news-body__media {
	margin-top: 2rem;
}

.vmv-news-body--media {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 0 48px;
	align-items: start;
}

.vmv-news-body--media > .vmv-news-body__media {
	margin-top: 0;
}

body.vmv2 #vmvmain .vmv-news-body--media .vmv-news-body__media .content-gallery ul {
	grid-template-columns: minmax(0, 1fr);
	margin: .25rem 0 0;
}

/* Bilderspalte: Bilder in ihrem eigenen Seitenverhältnis (Hochformat bleibt Hochformat, nichts wird beschnitten oder vergrößert); im Raster gilt weiter 4:3 */
@media (min-width: 901px) {
	body.vmv2 #vmvmain .vmv-news-body--media .content-gallery img {
		aspect-ratio: auto;
		height: auto;
	}
}

@media (max-width: 900px) {
	.vmv-news-body--media {
		grid-template-columns: minmax(0, 1fr);
	}

	.vmv-news-body--media > .vmv-news-body__media {
		margin-top: 1.5rem;
	}

	body.vmv2 #vmvmain .vmv-news-body--media .vmv-news-body__media .content-gallery ul {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
	}
}

/* ---------------------------------------------------------------- Partner im Titelband der Hallenseiten (Molten)
   Weiße Karte rechts im Titelband, senkrecht mittig (PNG "Offizieller Ballpartner" mit Molten-Logo, dezent klein); das Logo ist blau und braucht hellen Grund. Auf Handy und schmalem Fenster (unter 900 px) entfällt sie. */

.vmv-band--partner .vmv-band__inner {
	position: relative;
}

body.vmv2 .vmv-band .vmv-band__partner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .25rem;
	width: 150px;
	margin-top: 1.5rem;
	padding: .5rem .8rem;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .24);
	color: var(--vmv-grey);
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.vmv-band__partner img {
	display: block;
	width: 100%;
	height: auto;
}

body.vmv2 .vmv-band .vmv-band__partner:hover,
body.vmv2 .vmv-band .vmv-band__partner:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 34px rgba(0, 0, 0, .36);
}

@media (max-width: 899px) {
	body.vmv2 .vmv-band .vmv-band__partner {
		display: none;
	}
}

/* Kopfzeile (Handy, unter 900 px): Molten klein, mittig zwischen Menü-Schalter und VMV-Logo; die Höhe der Leiste bleibt (Logo 34 px hoch) */
.vmv-header__partner {
	display: none;
}

@media (max-width: 899px) {
	.vmv-header__partner {
		display: block;
		order: 1;
		flex: none;
		margin: 0 auto;
		padding: 4px 8px;
	}

	body.vmv2 .vmv-header .vmv-header__partner img {
		display: block;
		width: auto;
		max-width: none;
		height: 34px;
	}
}

@media (min-width: 900px) {
	.vmv-band--partner .vmv-band__inner {
		padding-right: 210px;
	}

	body.vmv2 .vmv-band .vmv-band__partner {
		position: absolute;
		top: 50%;
		right: 16px;
		margin-top: 0;
		transform: translateY(-50%);
	}

	body.vmv2 .vmv-band .vmv-band__partner:hover,
	body.vmv2 .vmv-band .vmv-band__partner:focus-visible {
		transform: translateY(calc(-50% - 2px));
	}
}
