:root {
	--bg: #f2f8f7;
	--bg-tint: #ddeeed;
	--surface: #ffffff;
	--ink: #0b2a33;
	--muted: #46666c;
	--line: #c5dcda;
	--peacock: #0a6786;
	--peacock-dark: #06435a;
	--peacock-deep: #052f3f;
	--gold: #d9a521;
	--emerald: #137a5e;
	--amber: #c2570c;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(11, 42, 51, 0.1);
	--serif: Georgia, "Times New Roman", serif;
	--sans:
		system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
		sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 4.5rem;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.7;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
h1,
h2,
h3 {
	margin: 0 0 0.75rem;
	font-family: var(--serif);
	font-weight: 700;
	line-height: 1.15;
}
h1 {
	font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}
h2 {
	font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}
h3 {
	font-size: 1.4rem;
}
p {
	margin: 0 0 1rem;
}
a {
	color: var(--peacock);
}
a:hover {
	color: var(--peacock-dark);
}
:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}

.container {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto;
}
.skip-link {
	position: absolute;
	top: -4rem;
	left: 1rem;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: var(--ink);
	color: #fff;
}
.skip-link:focus {
	top: 1rem;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--line);
	background: rgba(242, 248, 247, 0.94);
	backdrop-filter: blur(8px);
}
.header-inner {
	display: flex;
	min-height: 4rem;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.brand {
	display: inline-flex;
	flex: 0 0 auto;
	flex-direction: row;
	align-items: center;
	gap: 0.6rem;
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.2rem;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}
.brand img {
	display: inline-block;
	flex: none;
	width: auto;
	height: 2.6rem;
}
.site-nav {
	display: flex;
	gap: 1.75rem;
}
.site-nav a {
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}
.site-nav a:hover {
	color: var(--peacock);
}
.nav-toggle {
	display: none;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
}

.eyebrow {
	margin-bottom: 0.6rem;
	color: var(--emerald);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.lead {
	max-width: 34rem;
	color: var(--muted);
	font-size: 1.2rem;
}

.btn {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.4rem;
	border: 2px solid var(--peacock);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	transition:
		background-color 160ms ease,
		color 160ms ease;
}
.btn-primary {
	background: var(--peacock);
	color: #fff;
}
.btn-primary:hover {
	background: var(--peacock-dark);
	border-color: var(--peacock-dark);
	color: #fff;
}
.btn-ghost {
	background: transparent;
	color: var(--peacock);
}
.btn-ghost:hover {
	background: var(--peacock);
	color: #fff;
}
.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.hero {
	padding: clamp(2.5rem, 7vw, 5.5rem) 0;
	background:
		radial-gradient(
			circle at 85% 20%,
			rgba(217, 165, 33, 0.14),
			transparent 50%
		),
		linear-gradient(135deg, #ffffff, var(--bg-tint));
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}
.hero-figure {
	margin: 0;
}
.hero-figure img {
	width: 100%;
	max-height: min(48rem, 88vh);
	object-fit: cover;
	object-position: center top;
}

.section {
	padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section-tinted {
	background: var(--bg-tint);
}
.section-head {
	max-width: 42rem;
	margin-bottom: 2.5rem;
}
.section-note {
	color: var(--muted);
}

.style-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
}
.style-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}
.style-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.style-body {
	padding: 1.5rem;
}
.style-body details {
	margin-top: 0.5rem;
}
.style-body summary {
	color: var(--peacock);
	cursor: pointer;
	font-weight: 700;
}
.style-body details p:first-of-type {
	margin-top: 0.75rem;
}

.training-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}
.training-card {
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-top: 4px solid var(--gold);
	border-radius: var(--radius);
	background: var(--surface);
}
.training-card h3 {
	margin-bottom: 0.25rem;
	font-size: 1.2rem;
}
.training-time {
	margin: 0;
	color: var(--peacock);
	font-size: 1.5rem;
	font-weight: 700;
}
.training-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 2rem;
	padding: 1.75rem;
	border-radius: var(--radius);
	background: var(--surface);
}
.training-info h3 {
	font-size: 1.3rem;
}
.training-info p {
	max-width: 40rem;
}
.training-info .button-row {
	margin-top: 1.25rem;
}
.info-list {
	margin: 0;
	padding-left: 1.2rem;
}
.tsv-logo {
	flex: 0 0 auto;
}
.tsv-logo img {
	width: clamp(90px, 12vw, 130px);
	height: auto;
}

.legend {
	display: flex;
	gap: 1.25rem;
	margin: 1rem 0 0;
	padding: 0;
	color: var(--muted);
	font-size: 0.9rem;
	list-style: none;
}
.legend li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}
.dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
}
.dot-training {
	background: var(--peacock);
}
.dot-auftritt {
	background: var(--amber);
}

.calendar-card {
	padding: clamp(0.75rem, 2.5vw, 1.75rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}
.calendar-error {
	margin: 1rem 0 0;
	color: var(--peacock-dark);
	font-weight: 600;
	text-align: center;
}

#calendar {
	--fc-border-color: var(--line);
	--fc-today-bg-color: #fff3cf;
	--fc-neutral-bg-color: var(--bg-tint);
	--fc-list-event-hover-bg-color: var(--bg);
	--fc-button-bg-color: var(--peacock);
	--fc-button-border-color: var(--peacock);
	--fc-button-hover-bg-color: var(--peacock-dark);
	--fc-button-hover-border-color: var(--peacock-dark);
	--fc-button-active-bg-color: var(--peacock-dark);
	--fc-button-active-border-color: var(--peacock-dark);
	--fc-event-bg-color: var(--peacock);
	--fc-event-border-color: var(--peacock);
	font-family: var(--sans);
}
#calendar .fc-toolbar-title {
	font-family: var(--serif);
	font-size: clamp(1.25rem, 3vw, 1.75rem);
}
#calendar .fc-button {
	border-radius: 999px;
	font-weight: 600;
	text-transform: none;
}
#calendar .fc-button:focus {
	box-shadow: 0 0 0 3px rgba(217, 165, 33, 0.55);
}
#calendar .fc-col-header-cell-cushion,
#calendar .fc-daygrid-day-number {
	color: var(--ink);
	text-decoration: none;
}
#calendar .fc-event {
	cursor: pointer;
}
#calendar .fc-type-auftritt {
	--fc-event-bg-color: var(--amber);
	--fc-event-border-color: var(--amber);
}
#calendar .fc-list-event {
	cursor: pointer;
}
#calendar .fc-list-event.fc-type-auftritt .fc-list-event-dot {
	border-color: var(--amber);
}
#calendar .fc-list-event.fc-type-training .fc-list-event-dot {
	border-color: var(--peacock);
}
#calendar .fc-list-day-cushion a {
	color: var(--ink);
	text-decoration: none;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gallery a {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
}
.gallery img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 240ms ease;
}
.gallery a:hover img {
	transform: scale(1.05);
}

.contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}
.contact .section-head {
	margin-bottom: 0;
}
.contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.contact-list li {
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
}
.contact-list li:first-child {
	padding-top: 0;
}
.contact-list span {
	display: block;
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.contact-list a {
	font-size: 1.15rem;
	font-weight: 600;
}
.copy-button {
	margin-left: 0.75rem;
	padding: 0.2rem 0.8rem;
	border: 1px solid var(--peacock);
	border-radius: 999px;
	background: transparent;
	color: var(--peacock);
	cursor: pointer;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 600;
}
.copy-button:hover {
	background: var(--peacock);
	color: #fff;
}

.site-footer {
	padding: 2rem 0;
	border-top: 4px solid var(--gold);
	background: var(--peacock-deep);
	color: #cfe7e5;
	font-size: 0.9rem;
}
.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
}
.footer-links {
	display: flex;
	gap: 1.25rem;
}
.site-footer a {
	color: #fff;
}
.site-footer a:hover {
	color: var(--gold);
}

.btn-small {
	min-height: 40px;
	padding: 0.3rem 1rem;
	font-size: 0.9rem;
}
.legal {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.legal-inner {
	max-width: 46rem;
}
.legal h1 {
	margin-bottom: 2rem;
	font-size: clamp(2rem, 3vw, 3rem);
}
.legal h2 {
	margin: 2rem 0 0.5rem;
	font-size: 1.35rem;
}

.modal {
	width: min(32rem, calc(100% - 2rem));
	padding: 1.75rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.modal::backdrop {
	background: rgba(5, 47, 63, 0.65);
}
.modal-close {
	position: absolute;
	top: 0.6rem;
	right: 0.8rem;
	border: 0;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	font-size: 1.8rem;
	line-height: 1;
}
.modal form {
	margin: 0;
}
.modal-image {
	width: min(60rem, calc(100% - 2rem));
	padding: 0.5rem;
	background: #000;
}
.modal-image .modal-close {
	z-index: 1;
	color: #fff;
}
.modal-image img {
	width: 100%;
	max-height: 85vh;
	object-fit: contain;
}
.event-type {
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.event-type-training {
	color: var(--peacock);
}
.event-type-auftritt {
	color: var(--amber);
}
.event-facts {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.35rem 1rem;
	margin: 1rem 0;
}
.event-facts dt {
	color: var(--muted);
	font-weight: 700;
}
.event-facts dd {
	margin: 0;
}
.event-tooltip {
	position: fixed;
	z-index: 200;
	display: block;
	max-width: 18rem;
	padding: 0.75rem 0.9rem;
	border-radius: var(--radius);
	background: var(--peacock-deep);
	box-shadow: 0 10px 30px rgba(5, 47, 63, 0.35);
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.45;
	pointer-events: none;
}
.event-tooltip[hidden] {
	display: none;
}
.event-tooltip p {
	margin: 0;
}
.event-tooltip-type {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.event-tooltip .event-type-training {
	color: #8fd3ea;
}
.event-tooltip .event-type-auftritt {
	color: #ffb86b;
}
.event-tooltip-title {
	font-weight: 700;
}
.event-tooltip-meta {
	color: #cfe7e5;
}
.event-tooltip-text {
	margin-top: 0.4rem;
	color: #e6f2f1;
}

@media (max-width: 860px) {
	.hero-inner,
	.style-grid,
	.contact {
		grid-template-columns: 1fr;
	}
	.hero-figure img {
		max-height: 36rem;
	}
	.training-grid {
		grid-template-columns: 1fr;
	}
	.gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.contact {
		gap: 2rem;
	}
	.training-info {
		flex-direction: column;
		align-items: flex-start;
	}
}
@media (max-width: 700px) {
	.nav-toggle {
		display: inline-block;
	}
	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		flex-direction: column;
		gap: 0;
		border-bottom: 1px solid var(--line);
		background: var(--bg);
	}
	.site-nav.is-open {
		display: flex;
	}
	.site-nav a {
		padding: 0.9rem 1.25rem;
		border-top: 1px solid var(--line);
	}
	#calendar .fc-toolbar {
		flex-direction: column;
		gap: 0.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		transition: none !important;
	}
}
