/* ==========================================================================
   TSC Dillingen – Site-Template für Joomla 6
   Farben: Orange/Schwarz/Grau aus dem Vereinslogo
   ========================================================================== */

:root {
	--tsc-accent: #EB7520;          /* per Template-Stil überschreibbar */
	--tsc-accent-text: #A8480A;     /* Orange-Ton für Text/Links auf hellem Grund (Kontrast AA) */
	--tsc-accent-soft: #FCE7D6;
	--tsc-ink: #17130F;
	--tsc-ink-2: #26211C;
	--tsc-ink-3: #0E0B08;
	--tsc-muted: #4E473F;
	--tsc-muted-2: #5C554D;
	--tsc-line: #E6E0D7;
	--tsc-cream: #FAF7F2;
	--tsc-sand: #E8E1D6;
	--tsc-white: #FFFFFF;
	--tsc-grey: #C9CCCF;
	--tsc-on-dark: #E4DDD3;
	--tsc-on-dark-2: #D9D2C8;

	--tsc-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--tsc-font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--tsc-radius: 22px;
	--tsc-radius-sm: 14px;
	--tsc-gutter: clamp(16px, 5vw, 40px);
	--tsc-section-y: clamp(56px, 8vw, 104px);

	/* Icons (Strichzeichnungen, werden per mask eingefärbt) */
	--tsc-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
	--tsc-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
	--tsc-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
	--tsc-i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
	--tsc-i-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
	--tsc-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--tsc-i-brain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5a3 3 0 1 0-5.9.8A4 4 0 0 0 4 12a4 4 0 0 0 2 3.5A3.5 3.5 0 0 0 12 18zM12 5a3 3 0 1 1 5.9.8A4 4 0 0 1 20 12a4 4 0 0 1-2 3.5A3.5 3.5 0 0 1 12 18zM12 5v13'/%3E%3C/svg%3E");
	--tsc-i-pulse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E");
	--tsc-i-smile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01'/%3E%3C/svg%3E");
	--tsc-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Basis ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
}

body {
	margin: 0;
	background: var(--tsc-cream);
	color: var(--tsc-ink);
	font-family: var(--tsc-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--tsc-accent-text);
	text-underline-offset: 3px;
}

a:hover {
	color: #7A3406;
}

:focus-visible {
	outline: 3px solid var(--tsc-accent);
	outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	margin: 0 0 .6em;
}

p {
	margin: 0 0 1em;
}

.visually-hidden,
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tsc-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	background: var(--tsc-ink);
	color: #fff;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 800;
}

.tsc-skip:focus {
	top: 12px;
	color: #fff;
}

.tsc-container {
	width: 100%;
	max-width: calc(1200px + 2 * var(--tsc-gutter));
	margin-inline: auto;
	padding-inline: var(--tsc-gutter);
}

/* ---------- Icons ---------- */

.tsc-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: var(--tsc-icon) center / contain no-repeat;
	mask: var(--tsc-icon) center / contain no-repeat;
}

.tsc-icon--phone { --tsc-icon: var(--tsc-i-phone); }
.tsc-icon--mail  { --tsc-icon: var(--tsc-i-mail); }
.tsc-icon--lock  { --tsc-icon: var(--tsc-i-lock); }
.tsc-icon--menu  { --tsc-icon: var(--tsc-i-menu); }
.tsc-icon--arrow { --tsc-icon: var(--tsc-i-arrow); }
.tsc-icon--brain { --tsc-icon: var(--tsc-i-brain); }
.tsc-icon--pulse { --tsc-icon: var(--tsc-i-pulse); }
.tsc-icon--smile { --tsc-icon: var(--tsc-i-smile); }

/* ---------- Buttons & Links ---------- */

.tsc-btn,
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}

.tsc-btn--dark,
.btn-primary {
	background: var(--tsc-ink);
	border-color: var(--tsc-ink);
	color: #fff;
}

.tsc-btn--dark:hover,
.btn-primary:hover {
	background: #3A342D;
	border-color: #3A342D;
	color: #fff;
}

.tsc-btn--outline,
.btn-secondary {
	background: transparent;
	border-color: var(--tsc-ink);
	color: var(--tsc-ink);
}

.tsc-btn--outline:hover,
.btn-secondary:hover {
	background: var(--tsc-ink);
	color: #fff;
}

.tsc-btn--accent {
	background: var(--tsc-accent);
	border-color: var(--tsc-accent);
	color: var(--tsc-ink);
}

.tsc-btn--accent:hover {
	background: var(--tsc-ink);
	border-color: var(--tsc-ink);
	color: #fff;
}

.tsc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
}

.tsc-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	color: inherit;
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}

.tsc-link-arrow::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--tsc-i-arrow) center / contain no-repeat;
	mask: var(--tsc-i-arrow) center / contain no-repeat;
}

.tsc-link-arrow:hover {
	color: inherit;
	border-bottom-color: transparent;
}

/* ---------- Typografie-Bausteine ---------- */

.tsc-eyebrow {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tsc-accent-text);
}

.tsc-display {
	margin: 0 0 24px;
	font-family: var(--tsc-font-display);
	font-weight: 600;
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.04;
	letter-spacing: -.02em;
}

.tsc-display em,
.tsc-h2 em {
	font-weight: 500;
	font-style: italic;
}

.tsc-display em {
	color: var(--tsc-accent-text);
}

.tsc-h2 {
	margin: 0;
	font-family: var(--tsc-font-display);
	font-weight: 600;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.1;
	letter-spacing: -.015em;
}

.tsc-lead {
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.6;
	color: var(--tsc-muted);
	margin: 0 0 28px;
}

/* ---------- Topbar ---------- */

.tsc-topbar {
	background: var(--tsc-ink);
	color: var(--tsc-on-dark);
	font-size: 14px;
}

.tsc-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 44px;
}

.tsc-topbar__group {
	display: flex;
	align-items: center;
	gap: 28px;
}

.tsc-topbar__link,
.tsc-topbar a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tsc-on-dark);
	text-decoration: none;
}

.tsc-topbar a:hover {
	color: #fff;
	text-decoration: underline;
}

.tsc-topbar .tsc-icon {
	font-size: 16px;
}

/* ---------- Header & Navigation ---------- */

.tsc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--tsc-line);
}

.tsc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 104px;
}

.tsc-brand {
	display: block;
	flex-shrink: 0;
}

.tsc-brand img {
	display: block;
	height: 84px;
	width: auto;
}

.tsc-nav {
	display: flex;
	align-items: center;
	gap: 16px;
}

.tsc-nav .mod-menu,
.tsc-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tsc-nav > .mod-menu,
.tsc-nav > ul {
	display: flex;
	align-items: center;
	gap: 4px;
}

.tsc-nav li {
	position: relative;
}

.tsc-nav a,
.tsc-nav .mod-menu__heading,
.tsc-nav .mod-menu__separator {
	display: block;
	padding: 10px 10px;
	border-radius: 10px;
	color: var(--tsc-ink);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.tsc-nav a:hover {
	color: var(--tsc-accent-text);
}

.tsc-nav .current > a,
.tsc-nav .active > a {
	color: var(--tsc-accent-text);
	box-shadow: inset 0 -3px 0 var(--tsc-accent);
	border-radius: 0;
}

/* Untermenüs (Desktop: Aufklappmenü) */
.tsc-nav .mod-menu__sub {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--tsc-line);
	border-radius: var(--tsc-radius-sm);
	box-shadow: 0 16px 40px rgba(23, 19, 15, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
	z-index: 10;
}

.tsc-nav li:hover > .mod-menu__sub,
.tsc-nav li:focus-within > .mod-menu__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.tsc-nav .mod-menu__sub a {
	font-size: 16px;
	white-space: normal;
}

.tsc-nav .mod-menu__sub .current > a,
.tsc-nav .mod-menu__sub .active > a {
	box-shadow: none;
	background: var(--tsc-cream);
	border-radius: 10px;
}

.tsc-nav .tsc-nav__cta {
	flex-shrink: 0;
	display: inline-flex;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 999px;
	border-bottom: 2px solid var(--tsc-accent);
	box-shadow: none;
	color: var(--tsc-ink);
	font-weight: 800;
}

.tsc-nav .tsc-nav__cta:hover {
	border-color: var(--tsc-ink);
	color: #fff;
}

.tsc-nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	border: 1px solid var(--tsc-line);
	background: #fff;
	color: var(--tsc-ink);
	font-size: 24px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.tsc-nav-toggle[aria-expanded="true"] .tsc-icon--menu {
	--tsc-icon: var(--tsc-i-close);
}

/* ---------- Abschnitte (Startseite) ---------- */

.tsc-section {
	padding-block: var(--tsc-section-y);
}

.tsc-section--white {
	background: #fff;
}

.tsc-section--cream {
	background: var(--tsc-cream);
}

.tsc-section__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.tsc-section__head p:last-child {
	max-width: 420px;
	margin: 0;
	font-size: 18px;
	color: var(--tsc-muted);
}

/* Hero */
.tsc-hero {
	padding-block: clamp(40px, 7vw, 88px);
	overflow: hidden;
}

.tsc-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 72px);
	align-items: center;
}

.tsc-hero__media {
	position: relative;
	margin: 0;
	padding: 0 0 36px 40px;
}

.tsc-hero__media::before {
	content: "";
	position: absolute;
	left: 8px;
	right: -32px;
	bottom: 0;
	height: 46%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 330' preserveAspectRatio='none'%3E%3Cpath d='M30 30 A 290 270 0 0 0 610 30' stroke='%23C9CCCF' stroke-width='46' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	z-index: 0;
}

.tsc-hero__media img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	aspect-ratio: 548 / 480;
	object-fit: cover;
	border-radius: 28px;
	background: var(--tsc-sand);
}

/* Veranstaltungs-Band */
.tsc-event {
	background: var(--tsc-accent);
	color: var(--tsc-ink);
	padding-block: 28px;
}

.tsc-event__inner {
	display: flex;
	align-items: center;
	gap: 28px;
}

.tsc-event__date {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	flex-shrink: 0;
	border-radius: 18px;
	background: var(--tsc-ink);
	color: #fff;
	line-height: 1;
}

.tsc-event__day {
	font-size: 30px;
	font-weight: 800;
}

.tsc-event__month {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tsc-event__text {
	flex-grow: 1;
}

.tsc-event__label {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tsc-event__title {
	margin: 0;
	font-family: var(--tsc-font-display);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 600;
	line-height: 1.15;
}

/* Angebots-Karten */
.tsc-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.tsc-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--tsc-radius);
	background: var(--tsc-cream);
}

.tsc-section--cream .tsc-card {
	background: #fff;
}

.tsc-card__media {
	position: relative;
	margin: 0;
	background: var(--tsc-sand);
}

.tsc-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 12;
	object-fit: cover;
}

.tsc-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--tsc-ink);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.tsc-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-grow: 1;
	padding: 26px;
}

.tsc-card__body h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
}

.tsc-card__body p {
	margin: 0;
	font-size: 16px;
	color: var(--tsc-muted);
}

.tsc-card__body p:last-child {
	margin-top: auto;
}

.tsc-card__body a {
	font-weight: 800;
}

/* Einstiegs-Kacheln */
.tsc-panels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.tsc-panel {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--tsc-line);
	border-radius: var(--tsc-radius);
	background: #fff;
}

.tsc-panel h3 {
	margin: 0;
	font-size: 25px;
	font-weight: 800;
}

.tsc-panel p {
	margin: 0;
	color: var(--tsc-muted);
}

.tsc-panel p:last-child {
	margin-top: auto;
}

.tsc-panel a {
	font-weight: 800;
}

.tsc-panel__label {
	font-size: 13px !important;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tsc-muted-2) !important;
	margin-top: 0 !important;
}

.tsc-panel--dark {
	background: var(--tsc-ink);
	border-color: var(--tsc-ink);
	color: #fff;
}

.tsc-panel--dark p {
	color: var(--tsc-on-dark-2);
}

.tsc-panel--dark .tsc-panel__label {
	color: var(--tsc-accent) !important;
}

.tsc-panel--dark a {
	color: var(--tsc-accent);
}

.tsc-times {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 18px;
}

.tsc-times li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid #3A342D;
}

.tsc-times strong {
	font-weight: 800;
}

/* Warum tanzen */
.tsc-benefits {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 80px);
}

.tsc-benefits__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.tsc-benefit h3 {
	margin: 16px 0 10px;
	font-size: 21px;
	font-weight: 800;
}

.tsc-benefit p {
	margin: 0;
	font-size: 16px;
	color: var(--tsc-muted);
}

.tsc-benefit__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--tsc-accent-soft);
	color: var(--tsc-accent-text);
	font-size: 28px;
}

/* ---------- Hauptinhalt (Unterseiten) ---------- */

.tsc-main {
	padding-block: clamp(40px, 6vw, 80px);
}

.tsc-main--empty {
	padding: 0;
}

.tsc-main--empty .tsc-content:empty,
.tsc-main--empty .tsc-content > :empty {
	display: none;
}

.tsc-main__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}

.tsc-content {
	min-width: 0;
}

.tsc-content > * + * {
	margin-top: 0;
}

.tsc-content h1,
.tsc-content .page-header h1,
.tsc-content .page-header h2 {
	font-family: var(--tsc-font-display);
	font-weight: 600;
	font-size: clamp(34px, 4.5vw, 56px);
	letter-spacing: -.015em;
	line-height: 1.08;
	margin: 0 0 24px;
}

.tsc-content h2 {
	font-family: var(--tsc-font-display);
	font-weight: 600;
	font-size: clamp(26px, 3vw, 36px);
	margin-top: 1.4em;
}

.tsc-content h3 {
	font-size: 22px;
	font-weight: 800;
	margin-top: 1.4em;
}

.tsc-content .com-content-article,
.tsc-content .item-page,
.tsc-content .blog,
.tsc-content .category-list {
	max-width: 820px;
}

.tsc-content .com-content-article__body img,
.tsc-content .item-page img {
	border-radius: var(--tsc-radius-sm);
}

.tsc-content ul,
.tsc-content ol {
	padding-left: 1.3em;
}

.tsc-content li + li {
	margin-top: .3em;
}

.tsc-content blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--tsc-accent);
	font-family: var(--tsc-font-display);
	font-size: 22px;
	font-style: italic;
}

.tsc-content hr {
	border: 0;
	border-top: 1px solid var(--tsc-line);
	margin: 2em 0;
}

/* Artikel-Infos, Blog, Seitennavigation */
.article-info,
.tsc-content dl.article-info {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 20px;
	color: var(--tsc-muted-2);
	font-size: 14px;
}

.article-info dt {
	display: none;
}

.article-info dd {
	margin: 0;
}

.blog-item,
.com-content-category-blog__item {
	padding: 28px;
	margin-bottom: 24px;
	border-radius: var(--tsc-radius);
	background: #fff;
	border: 1px solid var(--tsc-line);
}

.blog-item h2,
.com-content-category-blog__item h2 {
	margin-top: 0;
}

.readmore a,
a.readmore {
	font-weight: 800;
}

.pagination,
.pagenavigation ul,
.pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 32px 0 0;
}

.pagination .page-link,
.pagenavigation a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	min-width: 44px;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--tsc-line);
	background: #fff;
	color: var(--tsc-ink);
	font-weight: 700;
	text-decoration: none;
}

.pagination .active .page-link {
	background: var(--tsc-ink);
	border-color: var(--tsc-ink);
	color: #fff;
}

/* Breadcrumbs */
.mod-breadcrumbs,
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--tsc-muted-2);
}

.tsc-content .mod-breadcrumbs,
.tsc-content .breadcrumb {
	padding-left: 0;
}

.tsc-content .mod-breadcrumbs li + li {
	margin-top: 0;
}

.mod-breadcrumbs__item + .mod-breadcrumbs__item::before,
.breadcrumb-item + .breadcrumb-item::before {
	content: "/";
	margin-right: 6px;
	color: var(--tsc-grey);
}

.mod-breadcrumbs__here {
	display: none;
}

/* Tabellen (z. B. Trainingsplan) */
.tsc-content table,
.table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	background: #fff;
	border-radius: var(--tsc-radius-sm);
	overflow: hidden;
	font-size: 16px;
}

.tsc-content th,
.tsc-content td,
.table th,
.table td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--tsc-line);
}

.tsc-content th,
.table th {
	background: var(--tsc-ink);
	color: #fff;
	font-weight: 800;
}

.table-responsive,
.tsc-table-scroll {
	overflow-x: auto;
}

/* Kompakte Stundenplan-Tabelle (Trainingsplan):
   <div class="tsc-table-scroll"><table class="tsc-table">…</table></div> */
.tsc-table-scroll {
	margin: 1.5em 0;
	border-radius: var(--tsc-radius-sm);
	border: 1px solid var(--tsc-line);
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

.tsc-content .tsc-table {
	margin: 0;
	border-radius: 0;
	overflow: visible;
	font-size: 15px;
	min-width: 640px;
	table-layout: auto;
}

.tsc-content .tsc-table th,
.tsc-content .tsc-table td {
	padding: 8px 8px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid var(--tsc-line);
	line-height: 1.3;
}

.tsc-content .tsc-table thead th {
	background: var(--tsc-ink);
	color: #fff;
	font-size: 14px;
	white-space: nowrap;
}

.tsc-content .tsc-table tbody th {
	background: var(--tsc-accent-soft);
	color: var(--tsc-ink);
	text-align: left;
	font-weight: 800;
	white-space: nowrap;
}

.tsc-content .tsc-table td {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.tsc-content .tsc-table td.tsc-note {
	background: var(--tsc-cream);
	color: var(--tsc-accent-text);
	font-weight: 800;
	font-size: 14px;
}

.tsc-content .tsc-table tbody tr:hover td {
	background: #fffaf4;
}

/* Seite ohne Seitenleiste in voller Breite: Menüpunkt > Seiten-Klasse "tsc-fullwidth" */
body.tsc-fullwidth .tsc-sidebar {
	display: none;
}

body.tsc-fullwidth .tsc-main__grid {
	grid-template-columns: minmax(0, 1fr);
}

/* Seitenleiste / Modul-Karten */
.card,
.moduletable {
	margin-bottom: 24px;
	padding: 24px;
	border-radius: var(--tsc-radius);
	background: #fff;
	border: 1px solid var(--tsc-line);
}

.card-header {
	margin: 0 0 12px;
	font-size: 19px;
	font-weight: 800;
}

.card-body > :last-child {
	margin-bottom: 0;
}

.tsc-sidebar .mod-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tsc-sidebar .mod-menu a {
	display: block;
	padding: 8px 0;
	font-weight: 700;
	color: var(--tsc-ink);
	text-decoration: none;
}

.tsc-sidebar .mod-menu .current > a {
	color: var(--tsc-accent-text);
}

/* ---------- Formulare (Joomla-Standard: Kontakt, Login, Suche …) ---------- */

label,
.form-label,
.control-label {
	display: inline-block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 15px;
}

.control-group,
.mb-3 {
	margin-bottom: 18px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea,
.form-control,
.form-select {
	display: block;
	width: 100%;
	max-width: 560px;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #CFC7BC;
	border-radius: 12px;
	background: #fff;
	color: var(--tsc-ink);
	font: inherit;
	font-size: 16px;
}

textarea {
	min-height: 140px;
}

input:focus,
select:focus,
textarea:focus {
	outline: 3px solid var(--tsc-accent);
	outline-offset: 1px;
	border-color: var(--tsc-ink);
}

input[type="checkbox"],
input[type="radio"] {
	width: 20px;
	height: 20px;
	accent-color: var(--tsc-ink);
	vertical-align: middle;
}

button:not(.tsc-nav-toggle),
input[type="submit"] {
	font: inherit;
}

button[type="submit"]:not([class]),
input[type="submit"]:not([class]) {
	min-height: 48px;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--tsc-ink);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.form-text,
.small,
small {
	font-size: 14px;
	color: var(--tsc-muted-2);
}

.alert {
	padding: 16px 20px;
	border-radius: var(--tsc-radius-sm);
	background: #fff;
	border: 1px solid var(--tsc-line);
	margin-bottom: 20px;
}

/* ---------- Kontakt-Bereich (dunkel) ---------- */

.tsc-contact {
	background: var(--tsc-ink);
	color: #fff;
	padding-block: var(--tsc-section-y) clamp(56px, 6vw, 80px);
}

.tsc-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: clamp(40px, 6vw, 80px);
}

.tsc-contact .tsc-eyebrow {
	color: var(--tsc-accent);
}

.tsc-contact h2,
.tsc-contact .tsc-h2 {
	margin: 0 0 22px;
	font-family: var(--tsc-font-display);
	font-weight: 600;
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.1;
}

.tsc-contact p,
.tsc-contact li {
	color: var(--tsc-on-dark);
}

.tsc-contact a {
	color: #fff;
}

.tsc-contact a:hover {
	color: var(--tsc-accent);
}

.tsc-contact__col > * + * {
	margin-top: 28px;
}

.tsc-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 18px;
}

.tsc-checklist li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 14px;
}

.tsc-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	background: var(--tsc-accent);
	-webkit-mask: var(--tsc-i-check) center / contain no-repeat;
	mask: var(--tsc-i-check) center / contain no-repeat;
}

.tsc-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 18px;
}

.tsc-contact-list li {
	margin-bottom: 10px;
}

.tsc-contact-list a {
	font-weight: 700;
	text-decoration: none;
}

/* Module im dunklen Bereich (z. B. Newsletter) */
.tsc-contact .moduletable,
.tsc-contact .card {
	background: var(--tsc-ink-2);
	border-color: var(--tsc-ink-2);
	color: #fff;
}

.tsc-contact label,
.tsc-contact .form-label {
	color: var(--tsc-on-dark-2);
	font-weight: 600;
}

.tsc-contact input[type="text"],
.tsc-contact input[type="email"],
.tsc-contact .form-control {
	background: var(--tsc-ink);
	border-color: #4A423A;
	color: #fff;
}

.tsc-contact button[type="submit"],
.tsc-contact input[type="submit"],
.tsc-contact .btn-primary,
.tsc-contact .button {
	min-height: 48px;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--tsc-accent);
	color: var(--tsc-ink);
	font-weight: 800;
	cursor: pointer;
}

/* ---------- Footer ---------- */

.tsc-footer {
	background: var(--tsc-ink-3);
	color: #BDB5AA;
	font-size: 15px;
}

.tsc-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 32px;
	min-height: 96px;
	padding-block: 20px;
}

.tsc-footer__copy {
	margin: 0;
}

.tsc-footer a {
	color: #BDB5AA;
}

.tsc-footer a:hover {
	color: #fff;
}

.tsc-footer .mod-menu,
.tsc-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tsc-footer .moduletable,
.tsc-footer .card {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

/* ---------- Fehlerseite ---------- */

.tsc-error {
	padding-block: clamp(40px, 8vw, 120px);
	max-width: 860px;
}

.tsc-error__debug {
	margin-top: 40px;
	overflow-x: auto;
	font-size: 13px;
}

/* ---------- Responsiv ---------- */

@media (max-width: 1260px) {
	.tsc-header__inner {
		min-height: 76px;
	}

	.tsc-brand img {
		height: 54px;
	}

	.tsc-nav-toggle {
		display: inline-flex;
	}

	.tsc-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		max-height: calc(100vh - 76px);
		overflow-y: auto;
		padding: 16px var(--tsc-gutter) 28px;
		background: #fff;
		border-bottom: 1px solid var(--tsc-line);
		box-shadow: 0 20px 40px rgba(23, 19, 15, .12);
	}

	.tsc-nav.is-open {
		display: flex;
	}

	.tsc-nav > .mod-menu,
	.tsc-nav > ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.tsc-nav a,
	.tsc-nav .mod-menu__heading,
	.tsc-nav .mod-menu__separator {
		padding: 13px 4px;
		font-size: 18px;
		border-bottom: 1px solid var(--tsc-line);
		border-radius: 0;
		white-space: normal;
	}

	.tsc-nav .current > a,
	.tsc-nav .active > a {
		box-shadow: inset 4px 0 0 var(--tsc-accent);
		padding-left: 16px;
	}

	.tsc-nav .mod-menu__sub {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
	}

	.tsc-nav .mod-menu__sub a {
		font-size: 16px;
	}

	.tsc-nav .tsc-nav__cta {
		align-self: stretch;
		min-height: 52px;
		padding: 14px 24px;
		border-radius: 999px;
		border-bottom: 2px solid var(--tsc-accent);
		font-size: 17px;
	}

	.tsc-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tsc-benefits {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1023px) {
	.tsc-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.tsc-hero__media {
		padding: 0 16px 28px;
	}

	.tsc-hero__media::before {
		left: 0;
		right: 0;
	}

	.tsc-panels {
		grid-template-columns: minmax(0, 1fr);
	}

	.tsc-main__grid,
	.tsc-contact__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tsc-section__head {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 16px;
	}

	.tsc-topbar__inner {
		justify-content: center;
		flex-wrap: wrap;
		gap: 4px 20px;
		padding-block: 8px;
	}

	.tsc-topbar__group {
		gap: 20px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.tsc-topbar .tsc-topbar__link[href^="mailto"] {
		display: none;
	}

	.tsc-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.tsc-event__inner {
		flex-wrap: wrap;
		gap: 18px;
	}

	.tsc-event__date {
		width: 64px;
		height: 64px;
	}

	.tsc-event .tsc-link-arrow {
		margin-left: 82px;
	}

	.tsc-cards,
	.tsc-benefits__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.tsc-benefits__list {
		gap: 28px;
	}

	.tsc-footer__inner {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
	}
}

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

	* {
		transition: none !important;
	}
}

@media print {
	.tsc-topbar,
	.tsc-header,
	.tsc-contact,
	.tsc-footer {
		display: none;
	}
}
