/*!
 * TPSK Design 1.1.0 – Tokens, Komponenten, Header, Footer
 * Komponenten = Tischtennis-Vorlage (22.11.2026), verallgemeinert: tpsk-tt-X → tpsk-X, .tpsk-tt → .tpsk-page
 * Alle Regeln hängen an tpsk-Klassen und verändern Avada-Elemente nicht.
 *
 * Inhalt
 *  1. Tokens
 *  2. Seiten-Wrapper .tpsk-page & Hilfsklassen
 *  3. Abschnitte & Überschriften
 *  4. Buttons
 *  5. Kopfbereich (hero, stats)
 *  6. Ansprechpartner & Trainer (person, photo, roles, contact, trainer, badge)
 *  7. Trainingszeiten (day, slot, time, group)
 *  8. Mehr als Training (teams, features)
 *  9. Spielstätte & Abschluss (final, venue, cta)
 * 10. Aufklapp-Box (drop) & Desktop-only (desk)
 * 11. Ergänzungen: grid, details, chips
 * 12. Shortcodes: Video, PDF
 * 13. Responsive
 * 14. Logo, Header (Variante A), Footer
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--tpsk-white: #ffffff;
	--tpsk-bg: #f9f9fb;
	--tpsk-line: #d8d8d8;
	--tpsk-line-soft: #e1e5ea;
	--tpsk-blue: #00537f;
	--tpsk-blue-l: #0b6b9f;
	--tpsk-blue-d: #003e5f;
	--tpsk-yellow: #fecd16;
	--tpsk-yellow-h: #ffda45;
	--tpsk-grey: #54595f;
	--tpsk-dark: #212326;
	--tpsk-ink: #141617;
	--tpsk-radius: 10px;
	--tpsk-width: 1200px;
	--tpsk-gutter: 20px;
	--tpsk-shadow: 0 1px 2px rgba(20, 22, 23, .04), 0 10px 28px rgba(0, 83, 127, .07);
	--tpsk-shadow-lg: 0 8px 32px rgba(20, 22, 23, .14);
	--tpsk-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ==========================================================================
   2. Seiten-Wrapper & Hilfsklassen
   ========================================================================== */
.tpsk-page {
	max-width: var(--tpsk-width);
	margin: 0 auto;
	padding: 0 var(--tpsk-gutter) 72px;
	color: var(--tpsk-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
	box-sizing: border-box;
}

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

.tpsk-page :where(h1, h2, h3, h4, ul, ol, li) { margin: 0; padding: 0; }
.tpsk-page :where(ul, li) { list-style: none; }
.tpsk-page p { margin: 0; padding: 0; }
.tpsk-page img { display: block; max-width: 100%; border: 0; }
.tpsk-page svg { display: block; }
.tpsk-page :is(a, summary, button):focus-visible { outline: 3px solid var(--tpsk-yellow); outline-offset: 3px; }
.tpsk-page [id] { scroll-margin-top: 20px; }
.tpsk-page p a:not([class]) { color: var(--tpsk-blue); text-decoration: underline; text-underline-offset: .15em; }

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

.tpsk-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ==========================================================================
   3. Abschnitte & Überschriften
   ========================================================================== */
.tpsk-section { padding-top: 72px; }

.tpsk-head { max-width: 740px; margin: 0 auto 36px; text-align: center; }
.tpsk-head--left { margin-left: 0; text-align: left; }

.tpsk-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	color: var(--tpsk-blue);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tpsk-eyebrow::before {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--tpsk-yellow);
	box-shadow: 0 0 0 3px rgba(254, 205, 22, .3);
}

.tpsk-page h2.tpsk-h2 {
	margin-bottom: 12px;
	color: var(--tpsk-ink);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -.015em;
}

.tpsk-page p.tpsk-lead { color: var(--tpsk-grey); font-size: 17px; }

.tpsk-card {
	background: var(--tpsk-white);
	border: 1px solid var(--tpsk-line-soft);
	border-radius: var(--tpsk-radius);
	box-shadow: var(--tpsk-shadow);
}

.tpsk-soft {
	background: linear-gradient(180deg, rgba(0, 83, 127, .06) 0%, rgba(254, 205, 22, .09) 100%);
	border-radius: var(--tpsk-radius);
}

/* ==========================================================================
   4. Buttons – auf Gelb immer dunkle Schrift
   ========================================================================== */
.tpsk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.tpsk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 13px 26px;
	border: 2px solid transparent;
	border-radius: var(--tpsk-radius);
	background: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.tpsk-btn:hover { transform: translateY(-1px); }
.tpsk-btn svg { width: 18px; height: 18px; flex: none; }

.tpsk-btn--yellow { background: var(--tpsk-yellow); color: var(--tpsk-ink) !important; }
.tpsk-btn--yellow:hover { background: var(--tpsk-yellow-h); color: var(--tpsk-ink) !important; }

.tpsk-btn--white { background: var(--tpsk-white); color: var(--tpsk-blue) !important; }
.tpsk-btn--white:hover { background: var(--tpsk-yellow); color: var(--tpsk-ink) !important; }

.tpsk-btn--ghost { border-color: rgba(255, 255, 255, .6); color: var(--tpsk-white) !important; }
.tpsk-btn--ghost:hover { background: var(--tpsk-white); border-color: var(--tpsk-white); color: var(--tpsk-blue) !important; }

.tpsk-btn--outline { border-color: var(--tpsk-blue); color: var(--tpsk-blue) !important; }
.tpsk-btn--outline:hover { background: var(--tpsk-blue); color: var(--tpsk-white) !important; }

.tpsk-btn--blue { background: var(--tpsk-blue); color: var(--tpsk-white) !important; }
.tpsk-btn--blue:hover { background: var(--tpsk-blue-d); color: var(--tpsk-white) !important; }

.tpsk-btn--sm { padding: 9px 16px; font-size: 14px; }

/* ==========================================================================
   5. Kopfbereich
   ========================================================================== */
.tpsk-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	overflow: hidden;
	padding: 64px 56px;
	border-radius: var(--tpsk-radius);
	background: radial-gradient(circle at 82% 18%, var(--tpsk-blue-l) 0%, var(--tpsk-blue) 52%, var(--tpsk-blue-d) 100%);
	color: var(--tpsk-white);
}

.tpsk-hero:not(:has(.tpsk-hero-art)) { grid-template-columns: minmax(0, 1fr); }

.tpsk-hero-lines {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: .09;
	pointer-events: none;
}

.tpsk-hero-text,
.tpsk-hero-art { position: relative; z-index: 1; }

.tpsk-hero .tpsk-eyebrow { color: var(--tpsk-yellow); }

.tpsk-page h1.tpsk-h1 {
	margin-bottom: 18px;
	color: var(--tpsk-white);
	font-size: clamp(34px, 5.2vw, 56px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -.02em;
}

.tpsk-page .tpsk-hero p { max-width: 580px; color: rgba(255, 255, 255, .9); font-size: 18px; line-height: 1.6; }

.tpsk-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 44px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, .22);
}

.tpsk-stats strong { display: block; color: var(--tpsk-yellow); font-size: 42px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.tpsk-stats span { display: block; margin-top: 6px; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.35; }

.tpsk-hero-art svg { width: 100%; max-width: 330px; height: auto; margin-left: auto; }

.tpsk-float { animation: tpsk-float 3.4s ease-in-out infinite; }

@keyframes tpsk-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

/* ==========================================================================
   6. Ansprechpartner & Trainer
   ========================================================================== */
.tpsk-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.tpsk-person {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	gap: 0 24px;
	align-items: start;
	padding: 20px;
}

.tpsk-person .tpsk-photo { grid-row: span 2; }
.tpsk-person--nofoto { grid-template-columns: minmax(0, 1fr); }

.tpsk-photo {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: 8px;
	background: var(--tpsk-line);
}

.tpsk-page .tpsk-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }

.tpsk-page p.tpsk-role {
	margin-top: 4px;
	color: var(--tpsk-blue);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	hyphens: auto;
}

.tpsk-page h3.tpsk-name { margin: 2px 0 0; color: var(--tpsk-ink); font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }

.tpsk-roles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 14px !important; }

.tpsk-page .tpsk-roles li {
	position: relative;
	padding-left: 20px;
	color: var(--tpsk-grey);
	font-size: 15px;
	line-height: 1.45;
	hyphens: auto;
	overflow-wrap: break-word;
}

.tpsk-page .tpsk-roles li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .45em;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--tpsk-yellow);
}

.tpsk-person-text { margin-top: 12px; color: var(--tpsk-grey); font-size: 15px; }

.tpsk-contact {
	grid-column: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--tpsk-line-soft);
}

.tpsk-person--nofoto .tpsk-contact { grid-column: 1; }

.tpsk-link {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tpsk-ink) !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	text-decoration: none !important;
	overflow-wrap: anywhere;
	cursor: pointer;
}

.tpsk-link:hover { color: var(--tpsk-blue) !important; }
.tpsk-link.is-revealed { user-select: all; }

.tpsk-ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tpsk-yellow);
	color: var(--tpsk-ink);
}

.tpsk-ico svg { width: 17px; height: 17px; }

.tpsk-trainers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tpsk-trainer { padding: 12px 12px 20px; text-align: center; }
.tpsk-trainer .tpsk-photo { margin-bottom: 16px; }
.tpsk-page .tpsk-trainer h3.tpsk-name { font-size: 21px; }
.tpsk-trainer span { display: block; margin-top: 2px; color: var(--tpsk-grey); font-size: 14px; }

.tpsk-page p.tpsk-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: fit-content;
	max-width: 100%;
	margin: 28px auto 0;
	padding: 12px 22px;
	border-radius: 999px;
	background: rgba(254, 205, 22, .18);
	color: var(--tpsk-ink);
	font-size: 15px;
	font-weight: 600;
}

.tpsk-badge svg { width: 22px; height: 22px; flex: none; color: var(--tpsk-blue); }

/* ==========================================================================
   7. Trainingszeiten
   ========================================================================== */
.tpsk-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tpsk-day { padding: 26px 28px 12px; }
.tpsk-day-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid var(--tpsk-yellow); }
.tpsk-day-head .tpsk-ico { background: var(--tpsk-blue); color: var(--tpsk-white); }
.tpsk-page h3.tpsk-day-name { color: var(--tpsk-ink); font-size: 22px; font-weight: 400; line-height: 1.2; }

.tpsk-slot { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--tpsk-line-soft); }
.tpsk-slot:last-child { border-bottom: 0; }
.tpsk-time { color: var(--tpsk-ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.tpsk-group { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.tpsk-g-youth { background: var(--tpsk-yellow); color: var(--tpsk-ink); }
.tpsk-g-team { background: var(--tpsk-blue); color: var(--tpsk-white); }
.tpsk-g-hobby { background: rgba(0, 83, 127, .11); color: var(--tpsk-blue); }
.tpsk-g-open { background: var(--tpsk-white); color: var(--tpsk-ink); box-shadow: inset 0 0 0 1.5px #9aa1a8; }

.tpsk-page .tpsk-slot p { margin-top: 6px; color: var(--tpsk-grey); font-size: 14.5px; line-height: 1.5; }

/* ==========================================================================
   8. Mehr als Training
   ========================================================================== */
.tpsk-teams-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
	gap: 32px;
	align-items: center;
	margin-bottom: 24px;
	padding: 32px 36px;
}

.tpsk-page .tpsk-teams-wrap p { color: var(--tpsk-ink); font-size: 20px; line-height: 1.45; }
.tpsk-teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tpsk-page .tpsk-teams li { padding: 20px 12px; border-radius: var(--tpsk-radius); background: var(--tpsk-white); box-shadow: 0 6px 18px rgba(0, 83, 127, .08); text-align: center; }
.tpsk-teams strong { display: block; color: var(--tpsk-blue); font-size: 46px; font-weight: 400; line-height: 1; }
.tpsk-teams span { display: block; margin-top: 8px; color: var(--tpsk-grey); font-size: 14px; line-height: 1.3; }

.tpsk-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tpsk-feature { padding: 26px 24px; }
.tpsk-feature .tpsk-ico { width: 50px; height: 50px; margin-bottom: 16px; border-radius: 12px; background: rgba(0, 83, 127, .08); color: var(--tpsk-blue); }
.tpsk-feature .tpsk-ico svg { width: 24px; height: 24px; }
.tpsk-page h3.tpsk-feature-title { margin-bottom: 8px; color: var(--tpsk-ink); font-size: 18px; font-weight: 600; line-height: 1.3; }
.tpsk-page .tpsk-feature p { color: var(--tpsk-grey); font-size: 15px; line-height: 1.55; }

/* ==========================================================================
   9. Spielstätte & Abschluss
   ========================================================================== */
.tpsk-final { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.tpsk-venue,
.tpsk-cta { position: relative; overflow: hidden; padding: 40px; }

.tpsk-venue .tpsk-ico { width: 50px; height: 50px; margin-bottom: 18px; border-radius: 12px; background: var(--tpsk-blue); color: var(--tpsk-white); }
.tpsk-venue .tpsk-ico svg { width: 24px; height: 24px; }

.tpsk-page h3.tpsk-h3 { margin-bottom: 12px; color: var(--tpsk-ink); font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.tpsk-page .tpsk-venue p { color: var(--tpsk-grey); }
.tpsk-page .tpsk-venue p.tpsk-address { margin-bottom: 10px; color: var(--tpsk-ink); font-size: 18px; line-height: 1.5; }

.tpsk-cta {
	border-radius: var(--tpsk-radius);
	background: radial-gradient(circle at 90% 10%, var(--tpsk-blue-l) 0%, var(--tpsk-blue) 55%, var(--tpsk-blue-d) 100%);
	color: var(--tpsk-white);
}

.tpsk-cta .tpsk-eyebrow { color: var(--tpsk-yellow); }
.tpsk-page .tpsk-cta h3.tpsk-h3 { color: var(--tpsk-white); }
.tpsk-page .tpsk-cta p { position: relative; z-index: 1; max-width: 460px; color: rgba(255, 255, 255, .9); }
.tpsk-cta .tpsk-actions { position: relative; z-index: 1; }

.tpsk-cta-ball {
	position: absolute;
	right: -34px;
	bottom: -34px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff 0%, #eef2f5 55%, #cfd8df 100%);
	opacity: .14;
}

/* ==========================================================================
   10. Aufklapp-Box (nur Handy & Tablet) und Desktop-only
   ========================================================================== */
.tpsk-drop { display: none; }
.tpsk-drop > summary { list-style: none; cursor: pointer; user-select: none; }
.tpsk-drop > summary::-webkit-details-marker { display: none; }
.tpsk-drop > summary::marker { content: ""; }
.tpsk-drop .tpsk-chev { transition: transform .25s; }
.tpsk-drop[open] .tpsk-chev { transform: rotate(180deg); }

.tpsk-drop-panel {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
	padding: 16px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: var(--tpsk-radius);
	background: rgba(255, 255, 255, .1);
}

.tpsk-page .tpsk-hero .tpsk-drop-panel p { flex: 1 1 100%; max-width: none; color: var(--tpsk-white); font-size: 15px; line-height: 1.45; }
.tpsk-drop[open] .tpsk-drop-panel { animation: tpsk-open .3s ease-out; }

@keyframes tpsk-open {
	from { opacity: 0; max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; }
	to { opacity: 1; max-height: 320px; }
}

/* ==========================================================================
   11. Ergänzungen (nicht in der Tischtennis-Vorlage)
   ========================================================================== */
.tpsk-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.tpsk-details { border: 1px solid var(--tpsk-line-soft); border-radius: var(--tpsk-radius); background: var(--tpsk-white); }
.tpsk-details + .tpsk-details { margin-top: 10px; }

.tpsk-details > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	color: var(--tpsk-ink);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.tpsk-details > summary::-webkit-details-marker { display: none; }
.tpsk-details > summary::marker { content: ""; }

.tpsk-details > summary::after {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform .2s;
}

.tpsk-details[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.tpsk-details__body { padding: 0 18px 18px; }
.tpsk-page .tpsk-details__body p + p { margin-top: 1em; }

/* Meilenstein-Chips (z. B. Geschichte) */
.tpsk-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.tpsk-page .tpsk-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(254, 205, 22, .18);
	color: var(--tpsk-ink);
	font-size: 14px;
	font-weight: 600;
}

.tpsk-chip b,
.tpsk-chip strong { color: var(--tpsk-blue); }

/* ==========================================================================
   12. Shortcodes: Video, PDF
   ========================================================================== */
.tpsk-video { margin: 0; }

.tpsk-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--tpsk-radius);
	background: radial-gradient(circle at 82% 18%, var(--tpsk-blue-l) 0%, var(--tpsk-blue) 52%, var(--tpsk-blue-d) 100%);
}

.tpsk-video__bild,
.tpsk-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.tpsk-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, .05));
	color: var(--tpsk-white);
	font: 600 15px/1.2 inherit;
	cursor: pointer;
}

.tpsk-video__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--tpsk-yellow);
	color: var(--tpsk-ink);
	box-shadow: var(--tpsk-shadow-lg);
	transition: transform .2s;
}

.tpsk-video__icon .tpsk-icon { width: 30px; height: 30px; margin-left: 4px; }
.tpsk-video__play:hover .tpsk-video__icon { transform: scale(1.06); }
.tpsk-video__label { text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.tpsk-video__caption { margin-top: 10px; color: var(--tpsk-grey); font-size: 14px; line-height: 1.45; }
.tpsk-video__caption strong { display: block; color: var(--tpsk-ink); font-size: 15px; }
.tpsk-video__caption a { color: var(--tpsk-blue); }

.tpsk-pdf {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 20px;
	background: var(--tpsk-white);
	border: 1px solid var(--tpsk-line-soft);
	border-radius: var(--tpsk-radius);
	box-shadow: var(--tpsk-shadow);
	line-height: 1.5;
}

.tpsk-pdf__thumb {
	width: 120px;
	flex: none;
	overflow: hidden;
	border: 1px solid var(--tpsk-line-soft);
	border-radius: 6px;
	background: var(--tpsk-bg);
}

.tpsk-pdf__bild { display: block; width: 100%; height: auto; }

.tpsk-pdf__platzhalter {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 4px;
	aspect-ratio: 1 / 1.414;
	color: var(--tpsk-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
}

.tpsk-pdf__platzhalter .tpsk-icon { width: 36px; height: 36px; }
.tpsk-pdf .tpsk-pdf__titel { margin: 0 0 6px; color: var(--tpsk-ink); font-family: inherit; font-size: 20px; font-weight: 400; line-height: 1.25; }
.tpsk-pdf__text { color: var(--tpsk-grey); font-size: 15px; }
.tpsk-pdf__text p { margin: 0 0 .5em; }
.tpsk-pdf .tpsk-pdf__meta { margin: 6px 0 0; color: var(--tpsk-grey); font-size: 13px; }
.tpsk-pdf__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ==========================================================================
   13. Responsive (Breakpoints wie Tischtennis-Vorlage)
   ========================================================================== */
@media (max-width: 1024px) {
	.tpsk-hero { padding: 52px 40px; }
	.tpsk-person { grid-template-columns: 140px minmax(0, 1fr); column-gap: 20px; }
	.tpsk-person--nofoto { grid-template-columns: minmax(0, 1fr); }
	.tpsk-trainers { gap: 16px; }
	.tpsk-page .tpsk-trainer h3.tpsk-name { font-size: 18px; }
	.tpsk-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tpsk-teams-wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
}

@media (max-width: 860px) {
	.tpsk-hero,
	.tpsk-contacts,
	.tpsk-days,
	.tpsk-final { grid-template-columns: minmax(0, 1fr); }
	.tpsk-hero-art { display: none; }
	.tpsk-actions .tpsk-desk { display: none; }
	.tpsk-drop { display: block; flex: 1 1 100%; }
}

@media (max-width: 700px) {
	.tpsk-trainers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.tpsk-page { padding: 0 0 48px; }
	.tpsk-section { padding-top: 52px; }
	.tpsk-head { margin-bottom: 28px; }
	.tpsk-page p.tpsk-lead { font-size: 16px; }
	.tpsk-hero { padding: 34px 20px; }
	.tpsk-page .tpsk-hero p { font-size: 16.5px; }
	.tpsk-page .tpsk-hero .tpsk-drop-panel p { font-size: 15px; }
	.tpsk-actions .tpsk-btn { flex: 1 1 100%; }
	.tpsk-drop > summary.tpsk-btn { display: flex; width: 100%; }
	.tpsk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; padding-top: 22px; }
	.tpsk-stats strong { font-size: 32px; }
	.tpsk-stats span { font-size: 12.5px; hyphens: auto; }
	.tpsk-person { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto; gap: 0 14px; padding: 14px; }
	.tpsk-person--nofoto { grid-template-columns: minmax(0, 1fr); }
	.tpsk-person .tpsk-photo { grid-row: auto; }
	.tpsk-page p.tpsk-role { font-size: 12px; letter-spacing: .04em; }
	.tpsk-page h3.tpsk-name { font-size: 21px; }
	.tpsk-page .tpsk-roles li { font-size: 14px; }
	.tpsk-contact { grid-column: 1 / -1; margin-top: 16px; padding-top: 14px; }
	.tpsk-trainers { gap: 12px; }
	.tpsk-trainer { padding: 8px 8px 14px; }
	.tpsk-trainer .tpsk-photo { margin-bottom: 10px; }
	.tpsk-page .tpsk-trainer h3.tpsk-name { font-size: 17px; hyphens: auto; }
	.tpsk-page p.tpsk-badge { padding: 12px 16px; border-radius: var(--tpsk-radius); font-size: 14px; text-align: left; }
	.tpsk-day { padding: 20px 18px 6px; }
	.tpsk-page h3.tpsk-day-name { font-size: 20px; }
	.tpsk-slot { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.tpsk-teams-wrap { gap: 20px; padding: 24px 16px; }
	.tpsk-page .tpsk-teams-wrap p { font-size: 17px; }
	.tpsk-teams { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.tpsk-page .tpsk-teams li { display: flex; align-items: center; gap: 14px; padding: 12px 18px; text-align: left; }
	.tpsk-teams strong { flex: none; min-width: 26px; font-size: 32px; }
	.tpsk-teams span { margin-top: 0; font-size: 15px; }
	.tpsk-features { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.tpsk-feature { padding: 22px 20px; }
	.tpsk-venue,
	.tpsk-cta { padding: 28px 20px; }
	.tpsk-page h3.tpsk-h3 { font-size: 24px; }
	.tpsk-pdf { flex-direction: column; }
	.tpsk-pdf__thumb { width: 96px; }
}

/* ==========================================================================
   14a. Logo (Inline-SVG, siehe Projektkontext 6.3)
   ========================================================================== */
.tpsk-logo-link {
	display: inline-block;
	flex: none;
	line-height: 0;
	color: #1d1d1b;
}

.tpsk-logo { display: block; height: 72px; width: auto; }

.tpsk-footer .tpsk-logo-link { color: var(--tpsk-white); --tpsk-logo-blue: #fff; }

/* ==========================================================================
   14b. Header
   Variante A (gewählt 23.11.2026): Kontakt-Icons in der Menüzeile.
   Mobil (< 1080px): Logo, Telefon, Menü-Button; alles andere im Aufklapp-Menü.
   ========================================================================== */
.tpsk-header {
	position: relative;
	z-index: 100;
	background: var(--tpsk-white);
	border-bottom: 1px solid var(--tpsk-line-soft);
	color: var(--tpsk-dark);
	font-size: 16px;
	line-height: 1.4;
}

.tpsk-header__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: var(--tpsk-width);
	min-height: 68px;
	margin-inline: auto;
	padding: 8px var(--tpsk-gutter);
}

.tpsk-header .tpsk-logo { height: 54px; }

.tpsk-header a { text-decoration: none; }

.tpsk-header button {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	line-height: inherit;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
}

.tpsk-header ul { margin: 0; padding: 0; list-style: none; }
.tpsk-header :focus-visible { outline: 3px solid var(--tpsk-yellow); outline-offset: 2px; border-radius: 6px; }
.tpsk-header,
.tpsk-footer { font-family: var(--tpsk-font); }
.tpsk-header *,
.tpsk-footer * { box-sizing: border-box; }
.tpsk-header li { margin: 0; padding: 0; }
.tpsk-header li::before { content: none; }

/* Mobile Schaltflächen */
.tpsk-header__call,
.tpsk-header__toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--tpsk-blue);
}

.tpsk-header__call { margin-left: auto; background: rgba(0, 83, 127, .08); }
.tpsk-header__call .tpsk-icon { width: 22px; height: 22px; }

.tpsk-header .tpsk-header__toggle { color: var(--tpsk-ink); }
.tpsk-header__toggle .tpsk-icon { width: 26px; height: 26px; }
.tpsk-header__toggle .tpsk-icon--close,
.tpsk-header.is-open .tpsk-header__toggle .tpsk-icon--menu { display: none; }
.tpsk-header.is-open .tpsk-header__toggle .tpsk-icon--close { display: block; }

/* Navigation – mobil als Panel */
.tpsk-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - 68px);
	max-height: calc(100dvh - 68px);
	overflow-y: auto;
	padding: 8px var(--tpsk-gutter) 24px;
	background: var(--tpsk-white);
	border-top: 1px solid var(--tpsk-line-soft);
	box-shadow: var(--tpsk-shadow-lg);
}

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

.tpsk-nav__item { position: relative; border-bottom: 1px solid var(--tpsk-line-soft); }
.tpsk-nav__item.has-sub { display: flex; flex-wrap: wrap; align-items: center; }

.tpsk-header .tpsk-nav__link {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	min-height: 48px;
	padding: 10px 4px;
	color: var(--tpsk-ink);
	font-size: 1.0625rem;
	font-weight: 600;
	text-align: left;
}

.tpsk-header .tpsk-nav__link:hover,
.tpsk-header .is-current > .tpsk-nav__link,
.tpsk-header .is-ancestor > .tpsk-nav__link { color: var(--tpsk-blue); }

.tpsk-nav__chevron { width: 18px; height: 18px; transition: transform .2s; }
[aria-expanded="true"] > .tpsk-nav__chevron { transform: rotate(180deg); }

.tpsk-header .tpsk-nav__sub-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	color: var(--tpsk-ink);
}

.tpsk-nav__sub {
	display: none;
	flex-basis: 100%;
	padding: 0 0 8px 12px !important;
}

.tpsk-nav__item.is-sub-open > .tpsk-nav__sub { display: block; }
.tpsk-nav__sub .tpsk-nav__item { border: 0; }
.tpsk-header .tpsk-nav__sub .tpsk-nav__link { min-height: 42px; font-size: 1rem; font-weight: 500; }

/* Kontakt-Gruppe + Mitglied-Button */
.tpsk-header__extra {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 18px;
}

.tpsk-header__contact { display: flex; align-items: center; gap: 4px; }

.tpsk-header .tpsk-header__contact-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	border-radius: 999px;
	color: var(--tpsk-blue);
	font-size: .9375rem;
	font-weight: 600;
}

.tpsk-header .tpsk-header__contact-link:hover { background: rgba(0, 83, 127, .08); color: var(--tpsk-blue-d); }
.tpsk-header__contact-link .tpsk-icon { width: 20px; height: 20px; }

/* Text bei Telefon/E-Mail: in Variante A nur für Screenreader */
.tpsk-header__contact-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.tpsk-header__extra .tpsk-btn { flex: 1 1 100%; }

/* Desktop */
@media (min-width: 1080px) {
	.tpsk-header__inner { min-height: 88px; gap: 24px; }
	.tpsk-header .tpsk-logo { height: 72px; }

	.tpsk-header__call,
	.tpsk-header__toggle { display: none; }

	.tpsk-nav,
	.tpsk-header.is-open .tpsk-nav {
		display: flex;
		align-items: center;
		gap: 20px;
		position: static;
		max-height: none;
		margin-left: auto;
		padding: 0;
		overflow: visible;
		background: none;
		border: 0;
		box-shadow: none;
	}

	.tpsk-nav__list { display: flex; align-items: center; gap: 2px; }
	.tpsk-nav__item { border: 0; }
	.tpsk-nav__item.has-sub { flex-wrap: nowrap; }

	.tpsk-header .tpsk-nav__list > .tpsk-nav__item > .tpsk-nav__link {
		position: relative;
		flex: none;
		min-height: 44px;
		padding: 10px 12px;
		border-radius: 8px;
		font-size: 1rem;
	}

	.tpsk-header .tpsk-nav__list > .tpsk-nav__item.has-sub > a.tpsk-nav__link { padding-right: 2px; }

	.tpsk-header .tpsk-nav__list > .tpsk-nav__item > .tpsk-nav__link::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 4px;
		height: 3px;
		border-radius: 2px;
		background: var(--tpsk-yellow);
		transform: scaleX(0);
		transition: transform .2s;
	}

	.tpsk-header .tpsk-nav__list > .tpsk-nav__item > .tpsk-nav__link:hover::after,
	.tpsk-header .tpsk-nav__list > .is-current > .tpsk-nav__link::after,
	.tpsk-header .tpsk-nav__list > .is-ancestor > .tpsk-nav__link::after { transform: scaleX(1); }

	.tpsk-header .tpsk-nav__sub-toggle { width: 28px; height: 44px; }

	.tpsk-nav__sub {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 230px;
		padding: 8px !important;
		background: var(--tpsk-white);
		border: 1px solid var(--tpsk-line-soft);
		border-radius: var(--tpsk-radius);
		box-shadow: var(--tpsk-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .15s, transform .15s, visibility 0s .15s;
	}

	.tpsk-nav__item.has-sub:hover > .tpsk-nav__sub,
	.tpsk-nav__item.is-sub-open > .tpsk-nav__sub {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity .15s, transform .15s, visibility 0s;
	}

	.tpsk-header .tpsk-nav__sub .tpsk-nav__link {
		min-height: 40px;
		padding: 8px 12px;
		border-radius: 6px;
		font-size: .9688rem;
	}

	.tpsk-header .tpsk-nav__sub .tpsk-nav__link:hover { background: var(--tpsk-bg); }

	.tpsk-header__extra { flex-wrap: nowrap; gap: 12px; margin: 0; }
	.tpsk-header__extra .tpsk-btn { flex: none; }
	.tpsk-header__contact { gap: 0; }
	.tpsk-header .tpsk-header__contact-link { min-width: 38px; height: 38px; }
}

/* ==========================================================================
   14c. Footer
   ========================================================================== */
.tpsk-footer {
	background: var(--tpsk-blue-d);
	color: rgba(255, 255, 255, .88);
	font-size: .9688rem;
	line-height: 1.6;
	border-top: 6px solid var(--tpsk-yellow);
}

.tpsk-footer a { color: var(--tpsk-white); text-decoration: none; }
.tpsk-footer a:hover { color: var(--tpsk-yellow); text-decoration: underline; text-underline-offset: .2em; }
.tpsk-footer :focus-visible { outline: 3px solid var(--tpsk-yellow); outline-offset: 2px; border-radius: 4px; }

.tpsk-footer ul { margin: 0; padding: 0; list-style: none; }
.tpsk-footer li { margin: 0 0 6px; padding: 0; }
.tpsk-footer li::before { content: none; }
.tpsk-footer p { margin: 0 0 .6em; }

.tpsk-footer__inner {
	display: grid;
	gap: 32px 40px;
	max-width: var(--tpsk-width);
	margin-inline: auto;
	padding: clamp(40px, 6vw, 64px) var(--tpsk-gutter) 32px;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.tpsk-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.tpsk-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}

.tpsk-footer .tpsk-logo { height: 76px; margin-bottom: 16px; }

.tpsk-footer .tpsk-footer__title {
	margin: 0 0 14px;
	color: var(--tpsk-yellow);
	font-family: var(--tpsk-font);
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.tpsk-footer address { margin: 0 0 12px; font-style: normal; }
.tpsk-footer__name { color: var(--tpsk-white); font-weight: 700; }

.tpsk-footer__contact li { display: flex; align-items: center; gap: 8px; }
.tpsk-footer__contact .tpsk-icon { width: 18px; height: 18px; color: var(--tpsk-yellow); }

.tpsk-footer__social { display: flex; gap: 8px; margin-top: 16px; }

.tpsk-footer .tpsk-footer__social a {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
}

.tpsk-footer .tpsk-footer__social a:hover { background: var(--tpsk-yellow); border-color: var(--tpsk-yellow); color: var(--tpsk-ink); }

.tpsk-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.tpsk-hours dt { font-weight: 600; color: var(--tpsk-white); }
.tpsk-hours dd { margin: 0; font-variant-numeric: tabular-nums; }

.tpsk-footer__links a { display: inline-flex; align-items: center; gap: 6px; }
.tpsk-footer__links .tpsk-icon { width: 16px; height: 16px; opacity: .8; }

.tpsk-footer .tpsk-footer__cta { margin-top: 20px; }

.tpsk-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .15);
}

.tpsk-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	max-width: var(--tpsk-width);
	margin-inline: auto;
	padding: 18px var(--tpsk-gutter);
	font-size: .875rem;
}

.tpsk-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.tpsk-footer__bottom li { margin: 0; }
.tpsk-footer .tpsk-footer__bottom p { margin: 0; }

/* ==========================================================================
   15. Bewegung reduzieren
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.tpsk-page *,
	.tpsk-header *,
	.tpsk-footer * {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
	.tpsk-btn:hover { transform: none; }
}
