/* =========================================================
 * EHC Regensburg – Theme-Styles
 * Basierend auf dem EHC Regensburg Design System
 * ========================================================= */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/Manrope-VariableFont_wght.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/BricolageGrotesque-VariableFont_opsz_wdth_wght.woff2") format("woff2");
	font-weight: 200 800;
	font-stretch: 75% 100%;
	font-display: swap;
}

:root {
	--ehc-blue: #2A5298;
	--ehc-blue-dark: #1E3D7A;
	--ehc-blue-deep: #14305E;
	--ehc-red: #D02030;
	--ehc-red-dark: #A8121F;
	--ehc-black: #1A1A1A;
	--cream: #F7F4ED;
	--grey-soft: #E8E6E0;
	--grey-medium: #9A9A9A;
	--grey-text: #444444;
	--font-display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
	--font-body: "Manrope", system-ui, -apple-system, sans-serif;
	--shadow-sm: 0 1px 2px rgba(20, 48, 94, .06);
	--shadow-md: 0 4px 16px rgba(20, 48, 94, .08);
	--shadow-lg: 0 12px 40px rgba(20, 48, 94, .12);
	--ease: cubic-bezier(.2, .6, .2, 1);
	--dur-fast: 120ms;
	--dur-base: 200ms;
	--container: 1200px;
	--header-h: 76px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 32px); }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ehc-black);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--ehc-blue); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--ehc-blue-dark); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ehc-blue); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--ehc-blue-deep);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
	margin: 0;
	text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
address { font-style: normal; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--ehc-blue-deep); color: #fff; padding: 12px 16px; border-radius: 4px; font-weight: 600;
}
.skip-link:focus { top: 16px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: calc(760px + 48px); }
.content-end { padding-bottom: 96px; }

/* ---------- Bausteine ---------- */
.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: middle; }

.eyebrow {
	font-family: var(--font-body);
	font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ehc-blue);
}

.badge {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	line-height: 1.3; padding: 4px 8px; border-radius: 2px; background: var(--ehc-blue-deep); color: #fff;
}
.badge--red { background: var(--ehc-red); }
.badge--grey { background: var(--grey-soft); color: var(--grey-text); }
.badge--sq { font-size: 10px; letter-spacing: 0; padding: 2px 6px; }

.btn {
	display: inline-flex; align-items: center; gap: 8px;
	font: 600 14px/1 var(--font-body);
	padding: 14px 24px; border-radius: 4px; border: 2px solid transparent;
	cursor: pointer; white-space: nowrap;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--sm { padding: 12px 20px; }
.btn--primary { background: var(--ehc-red); color: #fff; }
.btn--primary:hover { background: var(--ehc-red-dark); color: #fff; }
.btn--blue { background: var(--ehc-blue); color: #fff; }
.btn--blue:hover { background: var(--ehc-blue-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--ehc-blue); border-color: var(--ehc-blue); }
.btn--outline:hover { background: var(--ehc-blue); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }

.media-ph { display: flex; align-items: center; justify-content: center; background: var(--ehc-blue-deep); }
.media-ph__crest { width: 38%; max-width: 140px; height: auto; opacity: .14; }

/* ---------- Header mit Wappen-Lasche ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--cream);
	border-bottom: 1px solid var(--grey-soft);
	transition: box-shadow var(--dur-base) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { position: relative; height: var(--header-h); display: flex; align-items: center; gap: 24px; padding-left: 160px; }

.site-crest {
	position: absolute; left: 24px; top: 0; z-index: 2;
	width: 116px; height: 108px; padding: 10px 14px 16px;
	background: var(--cream); border-radius: 0 0 8px 8px; box-shadow: var(--shadow-md);
	display: flex; align-items: flex-start; justify-content: center;
}
.site-crest__img { width: 84px; height: 84px; object-fit: contain; display: block; }

.site-brand { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand:hover { text-decoration: none; }
.site-brand__name { font: 700 20px var(--font-display); color: var(--ehc-blue-deep); letter-spacing: -.01em; }
.site-brand__tag { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-medium); margin-top: 4px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav__menu > li { position: relative; display: flex; align-items: center; }
.site-nav__menu a {
	display: block; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--grey-text);
	border-bottom: 2px solid transparent;
}
.site-nav__menu a:hover { color: var(--ehc-blue-deep); text-decoration: none; }
.site-nav__menu > .current-menu-item > a,
.site-nav__menu > .current-menu-ancestor > a,
.site-nav__menu > .current_page_item > a,
.site-nav__menu > .current-page-ancestor > a { color: var(--ehc-blue-deep); border-bottom-color: var(--ehc-blue); }

.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; margin-left: -10px; padding: 0;
	border: 0; background: none; color: var(--grey-text); cursor: pointer; border-radius: 4px;
}
.submenu-toggle .icon { transition: transform var(--dur-base) var(--ease); }
.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

.site-nav__menu .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: 100%; left: 0; min-width: 240px;
	background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility var(--dur-base);
}
.site-nav__menu li:hover > .sub-menu,
.site-nav__menu li:focus-within > .sub-menu,
.site-nav__menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__menu .sub-menu a { padding: 10px 12px; border: 0; border-radius: 4px; color: var(--ehc-blue-deep); }
.site-nav__menu .sub-menu a:hover { background: var(--cream); }
.site-nav__menu .sub-menu .current-menu-item > a { color: var(--ehc-red); }

.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1100px) {
	.nav-toggle {
		display: flex; align-items: center; justify-content: center; margin-left: auto;
		width: 44px; height: 44px; border: 1px solid var(--grey-soft); background: #fff; border-radius: 4px;
		color: var(--ehc-blue-deep); cursor: pointer;
	}
	.site-header.is-open .nav-toggle .icon-menu { display: none; }
	.site-header.is-open .nav-toggle .icon-close { display: block; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 40px 24px 28px; background: var(--cream);
		border-bottom: 1px solid var(--grey-soft); box-shadow: var(--shadow-lg);
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.site-header.is-open .site-nav { display: flex; }
	.site-nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--grey-soft); }
	.site-nav__menu > li > a { flex: 1; padding: 14px 0; font-size: 17px; border-bottom: 0; }
	.site-nav__menu > .current-menu-item > a,
	.site-nav__menu > .current_page_item > a { color: var(--ehc-red); }
	.submenu-toggle { width: 44px; height: 44px; margin: 0; }
	.site-nav__menu .sub-menu {
		position: static; width: 100%; min-width: 0; padding: 0 0 12px 12px;
		background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none;
	}
	.site-nav__menu li.is-open > .sub-menu { display: block; }
}

@media (max-width: 768px) {
	:root { --header-h: 64px; }
	.site-header__inner { padding-left: 116px; gap: 16px; }
	.site-crest { width: 84px; height: 82px; padding: 8px 10px 12px; }
	.site-crest__img { width: 62px; height: 62px; }
	.site-brand__name { font-size: 17px; }
}
@media (max-width: 420px) { .site-brand__tag { display: none; } }

/* ---------- Bühne ---------- */
.hero { position: relative; background: var(--ehc-blue-deep); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__crest { position: absolute; right: -80px; top: -60px; width: 560px; height: auto; opacity: .07; pointer-events: none; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 48, 94, .86) 0%, rgba(20, 48, 94, .78) 42%, rgba(20, 48, 94, .15) 78%); }
.hero--plain .hero__scrim { display: none; }
.hero__inner { position: relative; padding-top: 112px; padding-bottom: 112px; }
.hero--with-mc .hero__inner { padding-bottom: 168px; }
.hero .eyebrow { color: rgba(255, 255, 255, .8); }
.hero__title { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.025em; color: #fff; margin: 14px 0 20px; max-width: 660px; }
.hero__eyebrow-row { display: flex; align-items: center; gap: 12px; }
.hero__title--wide { max-width: 820px; }
.hero__text { font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 768px) {
	.hero__inner { padding-top: 72px; padding-bottom: 80px; }
	.hero--with-mc .hero__inner { padding-bottom: 120px; }
	.hero__img { object-position: 60% center; }
	.hero__scrim { background: linear-gradient(180deg, rgba(20, 48, 94, .92) 0%, rgba(20, 48, 94, .8) 45%, rgba(20, 48, 94, .3) 100%); }
	.hero__crest { width: 360px; }
}

/* ---------- Spielcenter ---------- */
.mc { position: relative; z-index: 1; margin-top: -88px; }
.mc__card { display: flex; flex-wrap: wrap; gap: 1px; background: var(--grey-soft); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.mc__next { flex: 1.4 1 420px; background: #fff; padding: 28px 32px; }
.mc__result { flex: 1 1 240px; background: #F7F4ED; padding: 28px; }
.mc__rlabel { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: var(--ehc-blue-deep); color: #fff; font: 700 13px/1.2 var(--font-display); letter-spacing: .02em; }
.mc__result + .mc__result .mc__rlabel { background: var(--grey-medium); }
.mc__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.mc__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.mc__date { display: flex; align-items: baseline; gap: 8px; }
.mc__day { font: 700 64px/1 var(--font-display); color: var(--ehc-blue-deep); letter-spacing: -.03em; }
.mc__month { display: flex; flex-direction: column; line-height: 1.25; }
.mc__month b { font: 700 18px var(--font-display); color: var(--ehc-blue-deep); }
.mc__month span { font-size: 13px; color: var(--grey-text); }
.mc__divider { width: 1px; align-self: stretch; background: var(--grey-soft); }
.mc__teams { display: flex; flex-direction: column; gap: 10px; }
.mc__team { display: flex; align-items: center; gap: 10px; font: 700 17px/1.2 var(--font-display); color: var(--ehc-blue-deep); }
.mc__crest { width: 32px; height: 32px; object-fit: contain; flex: none; }
.mc__initials {
	width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--grey-soft);
	display: flex; align-items: center; justify-content: center;
	font: 700 9px var(--font-body); color: var(--grey-text);
}
.mc__venue { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; color: var(--grey-text); }
.mc__venue a { margin-left: auto; font-weight: 600; }
.mc__rhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mc__rdate { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-medium); }
.mc__score { font: 700 48px/1 var(--font-display); color: var(--ehc-blue-deep); font-variant-numeric: tabular-nums; }
.mc__score span { color: var(--grey-medium); }
.mc__opp { font-size: 14px; color: var(--grey-text); margin-top: 10px; }
.mc__opp b { color: var(--ehc-blue-deep); }
.mc__table { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 600; }
@media (max-width: 768px) {
	.mc { margin-top: -64px; }
	.mc__next { padding: 24px; }
	.mc__result { padding: 24px; }
	.mc__day { font-size: 52px; }
	.mc__row { gap: 16px; }
	.mc__divider { display: none; }
}

/* ---------- Abschnitte ---------- */
.section { padding-top: 96px; }
.section--white { margin-top: 96px; padding: 88px 0; background: #fff; border-top: 1px solid var(--grey-soft); border-bottom: 1px solid var(--grey-soft); }
.section--white + .section { padding-top: 96px; }
.section-head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px;
	margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid var(--ehc-blue-deep);
}
.section-head__title { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.section-head__text { font-size: 16px; line-height: 1.6; color: var(--grey-text); max-width: 440px; }
.section-head__link { padding-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-right: auto; padding-bottom: 4px; }
.chip {
	font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 4px;
	border: 1px solid var(--grey-soft); background: #fff; color: var(--grey-text);
	transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--ehc-blue); color: var(--ehc-blue-deep); text-decoration: none; }
.chip.is-active { background: var(--ehc-blue-deep); border-color: var(--ehc-blue-deep); color: #fff; }
@media (max-width: 768px) {
	.section { padding-top: 64px; }
	.section--white { margin-top: 64px; padding: 56px 0; }
	.section-head__title { font-size: 32px; }
}

/* ---------- Aktuelles ---------- */
.news { display: flex; flex-wrap: wrap; gap: 24px; }
.news__lead { flex: 1.4 1 480px; display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }
.news__media { position: relative; display: block; height: 300px; background: var(--ehc-blue-deep); overflow: hidden; }
.news__media img:not(.media-ph__crest) { width: 100%; height: 100%; object-fit: cover; display: block; }
.news__media .badge { position: absolute; left: 20px; bottom: 20px; }
.news__body { padding: 24px 28px 28px; }
.news__title { font-size: 26px; line-height: 1.2; letter-spacing: -.015em; margin: 10px 0 12px; }
.news__title a, .news-item__title a, .card__title a { color: inherit; }
.news__excerpt { font-size: 15px; color: var(--grey-text); margin-bottom: 18px; }
.news__list { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.news-item {
	position: relative; flex: 1; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center;
	background: #fff; border-radius: 8px; padding: 18px; border: 1px solid var(--grey-soft);
	transition: box-shadow var(--dur-base) var(--ease);
}
.news-item:hover { box-shadow: var(--shadow-md); }
.news-item__thumb { width: 96px; height: 96px; border-radius: 6px; overflow: hidden; background: var(--ehc-blue-deep); }
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-item__date {
	width: 96px; height: 96px; border-radius: 6px; background: var(--ehc-blue); color: #fff;
	display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.news-item__date b { font: 700 30px var(--font-display); }
.news-item__date span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.news-item__title { font-size: 19px; line-height: 1.25; margin-top: 6px; }
.news-item__title a::after, .card__title a::after { content: ""; position: absolute; inset: 0; }
.news-item__title a:hover, .card__title a:hover { text-decoration: none; }
@media (max-width: 560px) {
	.news__media { height: 220px; }
	.news-item { grid-template-columns: 72px 1fr; padding: 14px; }
	.news-item__thumb, .news-item__date { width: 72px; height: 72px; }
	.news-item__date b { font-size: 24px; }
	.news-item__title { font-size: 17px; }
}

/* ---------- Sponsoren ---------- */
.sponsors { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.sponsor {
	height: 160px; padding: 28px 32px; display: flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid var(--grey-soft); border-radius: 8px;
	transition: box-shadow var(--dur-base) var(--ease), background var(--dur-fast) var(--ease);
}
a.sponsor:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.sponsor img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sponsor__name { font: 700 18px/1.2 var(--font-display); color: var(--ehc-blue-deep); text-align: center; }
.sponsor--cta {
	flex-direction: column; align-items: stretch; justify-content: space-between; padding: 24px 28px;
	background: var(--ehc-blue-deep); border-color: var(--ehc-blue-deep); color: #fff;
}
a.sponsor--cta:hover { background: var(--ehc-blue-dark); color: #fff; }
.sponsor--cta .eyebrow { color: rgba(255, 255, 255, .7); }
.sponsor--cta__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font: 700 24px/1.1 var(--font-display); }
.icon-box { width: 40px; height: 40px; border-radius: 4px; background: var(--ehc-red); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
@media (max-width: 600px) {
	.sponsors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.sponsor { height: 120px; padding: 18px; }
	.sponsor--cta { padding: 16px; }
	.sponsor--cta__row { font-size: 18px; }
	.icon-box { width: 32px; height: 32px; }
}

/* ---------- Mannschaften ---------- */
.teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.team {
	display: block; background: #fff; border: 1px solid var(--grey-soft); border-radius: 8px; overflow: hidden; color: inherit;
	transition: box-shadow var(--dur-base) var(--ease);
}
.team:hover { box-shadow: var(--shadow-md); color: inherit; text-decoration: none; }
.team__media { height: 220px; background: var(--ehc-blue-deep); overflow: hidden; }
.team__media img:not(.media-ph__crest) { width: 100%; height: 100%; object-fit: cover; display: block; }
.team__body { padding: 20px 24px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.team__title { font: 700 24px/1.2 var(--font-display); color: var(--ehc-blue-deep); margin-top: 6px; }
.team .icon { color: var(--ehc-blue); }

/* ---------- Mitglied & Sponsor ---------- */
.ctas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; padding: 96px 0; }
.cta { position: relative; overflow: hidden; border-radius: 12px; padding: 48px; color: #fff; background: var(--ehc-blue-deep); }
.cta--blue { background: var(--ehc-blue); }
.cta__crest { position: absolute; right: -60px; bottom: -60px; width: 280px; height: auto; opacity: .08; pointer-events: none; }
.cta__title { font-size: 36px; line-height: 1.1; letter-spacing: -.02em; color: #fff; margin-bottom: 10px; }
.cta__lead { font: 600 18px/1.4 var(--font-display); margin-bottom: 14px; }
.cta__text { position: relative; font-size: 15px; color: rgba(255, 255, 255, .88); margin: 14px 0 28px; max-width: 440px; }
.cta__lead + .cta__text { margin-top: 0; }
.cta .btn { position: relative; }
@media (max-width: 768px) {
	.ctas { padding: 64px 0; }
	.cta { padding: 32px 24px; }
	.cta__title { font-size: 30px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ehc-blue-deep); color: #fff; border-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.site-footer__logo { width: 36px; height: 36px; display: block; flex: none; }
.site-footer__copy { display: inline-flex; align-items: center; gap: 12px; }
.site-footer p { font-size: 14px; color: rgba(255, 255, 255, .78); max-width: 300px; }
.site-footer__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.site-footer address { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .25); display: flex; align-items: center; justify-content: center; color: #fff; transition: border-color var(--dur-fast) var(--ease); }
.socials a:hover { border-color: #fff; }
.site-footer__shop { display: inline-block; margin-top: 16px; font-size: 14px; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
	padding-top: 20px; padding-bottom: 20px; position: relative;
	font-size: 12px; color: rgba(255, 255, 255, .6);
}
.site-footer__bottom a { color: rgba(255, 255, 255, .6); }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Übersichten ---------- */
.page-head { padding-top: 72px; }
.page-head .section-head { margin-bottom: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.card {
	position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grey-soft);
	border-radius: 8px; overflow: hidden; transition: box-shadow var(--dur-base) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); }
.card__media { height: 220px; background: var(--ehc-blue-deep); overflow: hidden; }
.card__media img:not(.media-ph__crest) { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.card__title { font-size: 21px; line-height: 1.25; }
.card__excerpt { font-size: 14px; color: var(--grey-text); }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	border-radius: 4px; border: 1px solid var(--grey-soft); background: #fff; font-size: 14px; font-weight: 600; color: var(--ehc-blue-deep);
}
a.page-numbers:hover { border-color: var(--ehc-blue); text-decoration: none; }
.page-numbers.current { background: var(--ehc-blue-deep); border-color: var(--ehc-blue-deep); color: #fff; }
.page-numbers.dots { border: 0; background: none; }

.empty { display: flex; flex-direction: column; gap: 20px; font-size: 17px; color: var(--grey-text); }

/* ---------- Beitrag & Seite ---------- */
.single__head { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.single__back { margin-bottom: 16px; }
.single__title { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.02em; }
.single__media { margin: 0 auto 48px; }
.single__media img { width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: 12px; display: block; }
.single__nav {
	display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 64px auto 0;
	padding-top: 24px; border-top: 2px solid var(--ehc-blue-deep);
}
.single__nav a { display: flex; flex-direction: column; gap: 6px; }
.single__nav a:hover { text-decoration: none; }
.single__nav a:hover b { color: var(--ehc-blue); }
.single__nav b { font: 700 17px/1.3 var(--font-display); color: var(--ehc-blue-deep); transition: color var(--dur-fast) var(--ease); }
.single__next { text-align: right; align-items: flex-end; }
@media (max-width: 600px) { .single__nav { grid-template-columns: 1fr; } .single__next { text-align: left; align-items: flex-start; } }

.entry-content { font-size: 17px; line-height: 1.7; color: var(--grey-text); }
.entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content > .alignwide { max-width: var(--container); }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.entry-content > .elementor,
.entry-content > .wpb-content-wrapper,
.entry-content > .vc_row { max-width: none; }
.entry-content h2 { font-size: 30px; margin-top: 1.8em; }
.entry-content h3 { font-size: 24px; margin-top: 1.6em; }
.entry-content h4 { font-size: 20px; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong { color: var(--ehc-black); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote {
	padding: 4px 0 4px 20px; border-left: 3px solid var(--ehc-blue-deep);
	font: 600 22px/1.4 var(--font-display); color: var(--ehc-blue-deep);
}
.entry-content blockquote cite { display: block; margin-top: 8px; font: 500 14px var(--font-body); color: var(--grey-text); font-style: normal; }
.entry-content img { border-radius: 8px; }
.entry-content figure { margin-top: 1.6em; margin-bottom: 0; }
.entry-content figcaption { font-size: 13px; color: var(--grey-medium); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--ehc-blue-deep); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ehc-blue-deep); }
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--grey-soft); }
.entry-content hr { border: 0; border-top: 2px solid var(--ehc-blue-deep); }
.entry-content .wp-block-button__link { background: var(--ehc-red); color: #fff; border-radius: 4px; font: 600 14px/1 var(--font-body); padding: 14px 24px; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--ehc-red-dark); color: #fff; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--ehc-blue); border: 2px solid var(--ehc-blue); }
.entry-content .is-style-outline .wp-block-button__link:hover { background: var(--ehc-blue); color: #fff; }

/* Farbpalette des Editors */
.has-ehc-blue-color { color: #2A5298; } .has-ehc-blue-background-color { background-color: #2A5298; }
.has-ehc-blue-deep-color { color: #14305E; } .has-ehc-blue-deep-background-color { background-color: #14305E; }
.has-ehc-red-color { color: #D02030; } .has-ehc-red-background-color { background-color: #D02030; }
.has-cream-color { color: #F7F4ED; } .has-cream-background-color { background-color: #F7F4ED; }
.has-white-color { color: #FFFFFF; } .has-white-background-color { background-color: #FFFFFF; }
.has-black-color { color: #1A1A1A; } .has-black-background-color { background-color: #1A1A1A; }

/* ---------- Mannschaftsseite ---------- */
.page-head__titles { display: flex; flex-direction: column; gap: 10px; }
.chips--end { margin-right: 0; margin-left: auto; }
.team-intro > * { margin-left: 0; }

/* Spielplan */
.schedule { display: flex; flex-direction: column; }
.schedule__month { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-medium); padding: 32px 0 8px; }
.schedule__month:first-child { padding-top: 0; }
.game-row {
	display: grid; grid-template-columns: 120px 72px minmax(0, 1fr) auto; gap: 20px; align-items: center;
	padding: 16px 0; border-bottom: 1px solid var(--grey-soft);
}
.game-row__date { display: flex; flex-direction: column; line-height: 1.25; }
.game-row__date b { font: 700 18px var(--font-display); color: var(--ehc-blue-deep); }
.game-row__date span { font-size: 13px; color: var(--grey-text); }
.game-row__ha { justify-self: start; }
.game-row__opp { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.game-row__opp b { font: 700 18px var(--font-display); color: var(--ehc-blue-deep); }
.game-row__opp span { font-size: 13px; color: var(--grey-text); }
.game-row__res { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 96px; }
.game-row__score { font: 700 26px/1 var(--font-display); color: var(--ehc-blue-deep); font-variant-numeric: tabular-nums; }
.game-row__score span { color: var(--grey-medium); }
.game-row__tbd { color: var(--grey-medium); font-weight: 600; }
.game-row.is-next { margin: 8px -24px; padding: 20px 24px; background: #fff; border-bottom: 0; border-radius: 8px; box-shadow: var(--shadow-md); }
.schedule-empty, .roster-empty { font-size: 17px; color: var(--grey-text); }
@media (max-width: 640px) {
	.game-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
	.game-row__date { flex-direction: row; align-items: baseline; gap: 8px; }
	.game-row__ha { grid-column: 2; grid-row: 1; justify-self: end; }
	.game-row__opp { grid-column: 1; }
	.game-row__res { grid-column: 2; grid-row: 2; min-width: 0; }
	.game-row.is-next { margin: 8px -12px; padding: 16px 12px; }
}

/* Kader */
.roster { display: flex; flex-direction: column; gap: 56px; }
.roster-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--grey-soft); }
.roster-group__title { font-size: 24px; }
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 20px; }
.player { background: #fff; border: 1px solid var(--grey-soft); border-radius: 8px; overflow: hidden; }
.player__media { position: relative; aspect-ratio: 4 / 5; background: var(--ehc-blue-deep); overflow: hidden; }
.player__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player__ph { font: 800 96px/1 var(--font-display); font-stretch: 75%; letter-spacing: -.03em; color: rgba(255, 255, 255, .18); }
.player__body { display: flex; align-items: center; gap: 12px; padding: 14px 16px 16px; }
.player__num { min-width: 32px; font: 700 28px/1 var(--font-display); color: var(--ehc-blue); font-variant-numeric: tabular-nums; }
.player__num:empty { display: none; }
.player__info { flex: 1; min-width: 0; }
.player__name { font: 700 16px/1.25 var(--font-display); color: var(--ehc-blue-deep); }
.player__meta { margin-top: 2px; font-size: 12px; color: var(--grey-text); }
.player__role { flex: none; }
.roster--compact .roster-grid { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; }
@media (max-width: 560px) {
	.roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.player__ph { font-size: 64px; }
	.player__body { padding: 12px; gap: 8px; }
	.player__num { min-width: 0; font-size: 22px; }
	.player { position: relative; }
	.player__role { position: absolute; top: 8px; right: 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
}

/* ---------- Suche & 404 ---------- */
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--grey-soft); border-radius: 4px; background: #fff; font: 500 16px var(--font-body); color: var(--ehc-black); }
.search-field:focus { outline: 2px solid var(--ehc-blue); outline-offset: 0; border-color: var(--ehc-blue); }
.search-submit { height: 48px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--ehc-blue); color: #fff; font: 600 14px var(--font-body); cursor: pointer; }
.search-submit:hover { background: var(--ehc-blue-dark); }

.not-found { padding-top: 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.not-found__code { font: 800 120px/0.9 var(--font-display); font-stretch: 75%; color: var(--ehc-blue-deep); letter-spacing: -.04em; }
.not-found__title { font-size: 36px; }
.not-found p { font-size: 17px; color: var(--grey-text); }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* ---------- Spectra / volle Breite ---------- */
.site-main { overflow-x: clip; }
.entry-content--canvas { padding: 0 24px; }
.entry-content--canvas > * { max-width: var(--container); }
.entry-content--canvas > :first-child { margin-top: 0; }
.entry-content--canvas > .alignfull:first-child { margin-top: 0; }
.entry-content > .wp-block-uagb-container.alignfull,
.entry-content > .uagb-is-root-container.alignfull { margin-top: 0; }
.entry-content .sponsors { margin-top: 0; }

/* ---------- Klassische Galerien ([gallery]) ---------- */
.entry-content .gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin: 24px 0; }
.entry-content .gallery.gallery-columns-1 { grid-template-columns: 1fr; }
.entry-content .gallery.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.entry-content .gallery.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.entry-content .gallery .gallery-item { width: auto; margin: 0; }
.entry-content .gallery .gallery-icon img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 700px) { .entry-content .gallery, .entry-content .gallery.gallery-columns-4 { grid-template-columns: repeat(2, 1fr); } }

/* Verantwortliche-Karten (Mannschaftsseiten): Höhe richtet sich nach dem Inhalt */
.entry-content .wp-block-columns.alignwide { align-items: flex-start; }

/* Sponsoren: optionale Zeile unter dem Logo */
.sponsor { flex-direction: column; gap: 10px; }
.sponsor img { flex: 0 1 auto; min-height: 0; }
.sponsor__note { font: 600 11px/1.3 var(--font-body, inherit); letter-spacing: .06em; text-transform: uppercase; color: var(--ehc-blue); text-align: center; }
.sponsor--cta { flex-direction: column; align-items: stretch; justify-content: space-between; }
a.sponsor .sponsor__note, a.sponsor:hover .sponsor__note { text-decoration: none; }
.sponsor { height: auto; min-height: 160px; }
.sponsor img { max-height: 110px; }
.entry-content a.sponsor, .entry-content a.sponsor:hover { text-decoration: none; }

/* Kalender-Export (ICS) */
.schedule-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 24px; }
.schedule-tools__btn { display: inline-flex; align-items: center; gap: 8px; }
.schedule-tools__link { font-size: 14px; font-weight: 600; color: var(--ehc-blue); text-decoration: underline; text-underline-offset: 3px; }
.game-row__cal { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ehc-blue); border: 1px solid var(--grey-soft); background: #fff; text-decoration: none; flex: none; }
.game-row__cal:hover, .game-row__cal:focus-visible { background: var(--ehc-blue); border-color: var(--ehc-blue); color: #fff; }
@media (max-width: 640px) {
	.game-row__res { gap: 8px; }
}

/* Fanshop-Kachel (Startseite) */
.fanshop {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; overflow: hidden;
	background: var(--ehc-blue-deep); color: #fff; border-radius: 8px; padding: 48px; text-decoration: none;
	transition: box-shadow var(--dur-base) var(--ease);
}
.fanshop:hover { box-shadow: var(--shadow-md); color: #fff; text-decoration: none; }
.fanshop__text { position: relative; z-index: 1; max-width: 680px; }
.fanshop__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: 0; }
.fanshop__scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(20, 48, 94, .94) 0%, rgba(20, 48, 94, .78) 42%, rgba(20, 48, 94, .25) 100%); }
.fanshop--photo { min-height: 320px; }
@media (max-width: 720px) { .fanshop--photo { min-height: 380px; } .fanshop__scrim { background: linear-gradient(180deg, rgba(20, 48, 94, .92) 0%, rgba(20, 48, 94, .8) 55%, rgba(20, 48, 94, .45) 100%); } }
.fanshop__title, .fanshop p { text-wrap: pretty; }

.fanshop__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 8px; }
.fanshop__title { font: 700 40px/1.1 var(--font-display); letter-spacing: -.02em; color: #fff; margin-bottom: 12px; }
.fanshop p { color: rgba(255, 255, 255, .85); font-size: 17px; margin: 0 0 24px; }
.fanshop .btn { display: inline-flex; align-items: center; gap: 8px; }
.fanshop__crest { width: 220px; height: 220px; flex: none; opacity: .18; }
@media (min-width: 1100px) { .fanshop { padding: 56px 64px; } .fanshop__crest { width: 260px; height: 260px; margin-right: 24px; } }
@media (max-width: 640px) {
	.fanshop { padding: 32px 24px; }
	.fanshop__title { font-size: 32px; }
	.fanshop__crest { position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; }
}
.section--tight { padding-top: 0; margin-top: 24px; }

/* Mannschafts-Kacheln mit Foto (Startseite) */
.team { position: relative; isolation: isolate; border: 0; border-radius: 12px; background: var(--ehc-blue-deep); }
.team__media { position: relative; height: auto; aspect-ratio: 7 / 5; min-height: 280px; }
.team__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(20, 48, 94, .10) 0%, rgba(20, 48, 94, 0) 30%, rgba(20, 48, 94, .55) 62%, rgba(20, 48, 94, .94) 100%);
}
.team__media img:not(.media-ph__crest) { transition: transform .6s var(--ease); transform: scale(1.001); }
.team:hover .team__media img:not(.media-ph__crest) { transform: scale(1.05); }
.team__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; align-items: flex-end; }
.team .eyebrow { color: rgba(255, 255, 255, .75); }
.team__title { color: #fff; font-size: 28px; }
.team .icon { color: #fff; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); flex: none; transition: background var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.team:hover .icon { background: var(--ehc-red); transform: translateX(4px); }
@media (max-width: 700px) {
	.team__media { aspect-ratio: 16 / 11; min-height: 0; }
	.team__title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.team__media img:not(.media-ph__crest), .team .icon { transition: none; }
	.team:hover .team__media img:not(.media-ph__crest) { transform: none; }
}

/* Kontaktformular */
.ehc-form-wrap { max-width: 720px; }
.ehc-form { display: grid; gap: 18px; }
.ehc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .ehc-form__row { grid-template-columns: 1fr; } }
.ehc-form__field { display: grid; gap: 6px; }
.ehc-form__field--short input { max-width: 120px; }
.ehc-form label { font-size: 14px; font-weight: 600; color: var(--ehc-blue-deep); }
.ehc-form input[type=text], .ehc-form input[type=email], .ehc-form select, .ehc-form textarea {
	width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--grey-soft); border-radius: 6px; background: #fff; color: inherit;
}
.ehc-form input:focus, .ehc-form select:focus, .ehc-form textarea:focus { outline: 2px solid var(--ehc-blue); outline-offset: 1px; border-color: var(--ehc-blue); }
.ehc-form textarea { resize: vertical; min-height: 160px; }
.ehc-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ehc-form__privacy, .ehc-form__required { font-size: 13px; color: var(--grey-medium); margin: 0; }
.ehc-form .btn { justify-self: start; }
.ehc-form__notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; font-weight: 600; }
.ehc-form__notice--ok { background: #e8f3ec; color: #1d5b33; }
.ehc-form__notice--error { background: #fdecec; color: #8a1f1f; }

/* Sponsor-werden-Kachel hell, damit sie sich vom Fanshop abhebt */
.cta--light { background: #fff; color: var(--ehc-blue-deep); border: 1px solid var(--grey-soft); box-shadow: var(--shadow-sm, 0 1px 3px rgba(20, 48, 94, .08)); }
.cta--light .cta__title { color: var(--ehc-blue-deep); }
.cta--light .cta__text { color: var(--grey-text); }
.cta--light::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ehc-red, #c8102e); }

/* Gegner-Logos */
.opp-logo { width: 40px; height: 40px; object-fit: contain; flex: none; border-radius: 0; }
.opp-logo--ph { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--grey-soft); font: 700 10px var(--font-body); color: var(--grey-text); }
.opp-logo--sm { width: 24px; height: 24px; font-size: 8px; }
.game-row__opp { flex-direction: row; align-items: center; gap: 14px; }
.game-row__opptext { display: flex; flex-direction: column; min-width: 0; }
.game-row__opptext b { font: 700 18px var(--font-display); color: var(--ehc-blue-deep); }
.game-row__opptext span { font-size: 13px; color: var(--grey-text); }
.mc__crest.opp-logo--ph { width: 32px; height: 32px; font-size: 9px; }
.mc__opp { display: flex; align-items: center; gap: 8px; }
@media (max-width: 640px) { .opp-logo { width: 32px; height: 32px; } .game-row__opp { gap: 10px; } }

/* Footer: Trennlinie genau auf Inhaltsbreite */
.site-footer__bottom::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }

/* Normale Seiten: Text nutzt die volle Inhaltsbreite wie Überschriften und Karten */
.page .entry-content > :not(.alignfull) { max-width: var(--container); }
.page .entry-content > p, .page .entry-content > ul, .page .entry-content > ol { max-width: 980px; }

/* Geschichte: einheitliche Saison-Karten und kleine Bildleisten */
.ehc-history-item > * + * { margin-top: 14px; }
.ehc-history-item h3 { margin-top: 0; font-size: 22px; }
.ehc-history-item h4 { font-size: 18px; margin-top: 22px; }
.entry-content > .ehc-history-item + .ehc-history-item { margin-top: 20px; }
.wp-block-gallery.ehc-history-gallery { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.wp-block-gallery.ehc-history-gallery > figure.wp-block-image {
	flex: 0 0 calc((100% - 36px) / 4) !important; width: calc((100% - 36px) / 4) !important; height: 170px; margin: 0 !important;
	background: #EFEBE2; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.wp-block-gallery.ehc-history-gallery > figure.wp-block-image a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.wp-block-gallery.ehc-history-gallery > figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; border-radius: 0; transition: transform var(--dur-base, .2s) var(--ease, ease); }
.wp-block-gallery.ehc-history-gallery > figure.wp-block-image a:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
	.wp-block-gallery.ehc-history-gallery > figure.wp-block-image { flex-basis: calc((100% - 12px) / 2) !important; width: calc((100% - 12px) / 2) !important; height: 140px; }
}
.ehc-history-item .wp-block-details { border-top: 1px solid var(--grey-soft); padding-top: 12px; margin-top: 18px; }
.ehc-history-item .wp-block-details summary { cursor: pointer; font-weight: 700; color: var(--ehc-blue); }
.ehc-history-item .wp-block-details p { font-size: 15px; }

/* Externe Links im Menü: Zusatz, Pfeil-Symbol */
.menu-item--external > a { display: inline-flex; align-items: center; gap: 6px; }
.menu-item--external .ext-icon { display: inline-flex; opacity: .65; }
.menu-item--external .ext-icon .icon { width: 13px; height: 13px; }
.menu-item--external > a:hover .ext-icon { opacity: 1; }
.ext-tag {
	display: inline-block; padding: 1px 6px; border-radius: 999px;
	font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.5;
	color: var(--grey-medium); background: var(--cream); border: 1px solid var(--grey-soft);
}
.site-nav__menu .sub-menu .menu-item--external > a { display: flex; }
.site-footer__shop { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__shop .icon { opacity: .7; }

/* Bildansicht (Lightbox) */
.has-lightbox { cursor: zoom-in; }
.lightbox-open { overflow: hidden; }
.lightbox {
	position: fixed; inset: 0; z-index: 10000;
	display: flex; align-items: center; justify-content: center;
	background: rgba(10, 20, 40, .92); padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); background: #fff; }
.lightbox__cap { color: rgba(255, 255, 255, .85); font-size: 14px; text-align: center; max-width: 720px; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: rgba(255, 255, 255, .7); font-size: 13px; }
.lightbox button {
	position: absolute; display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(255, 255, 255, .14); color: #fff; padding: 0;
	transition: background var(--dur-base, .2s);
}
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .3); }
.lightbox button svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox button[hidden] { display: none; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 768px) {
	.lightbox { padding: 64px 12px 56px; }
	.lightbox__nav { top: auto !important; bottom: 4px; transform: none !important; width: 44px; height: 44px; }
	.lightbox__nav--prev { left: 12px; }
	.lightbox__nav--next { right: 12px; }
}
.admin-bar .lightbox { top: 32px; }
@media (max-width: 782px) { .admin-bar .lightbox { top: 46px; } }

/* Kalender-Export: Heimspiele zuerst (rot), alle Spiele (blau) */
.schedule-tools { flex-direction: column; align-items: flex-start; gap: 16px; }
.schedule-tools__group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.schedule-tools__hint { margin: 0; font-size: 13px; color: var(--grey-medium); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.schedule-tools__hint .dot { margin-left: 8px; }
.schedule-tools__hint .dot:first-child { margin-left: 0; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot--home { background: var(--ehc-red); }
.dot--all { background: var(--ehc-blue); }
@media (min-width: 900px) {
	.schedule-tools { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
	.schedule-tools__hint { flex-basis: 100%; }
}

/* Spielplan: nächste Spiele sichtbar, Rest eingeklappt */
.schedule-more { margin: 8px 0; border-top: 1px solid var(--grey-soft); border-bottom: 1px solid var(--grey-soft); }
.schedule-more[open] { border-bottom: 0; }
.schedule-more > summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none;
	padding: 16px 4px; font-size: 15px; font-weight: 700; color: var(--ehc-blue);
}
.schedule-more > summary::-webkit-details-marker { display: none; }
.schedule-more > summary:hover { color: var(--ehc-blue-deep); }
.schedule-more > summary .icon { transition: transform var(--dur-base, .2s) var(--ehc-ease, ease); fill: none; stroke: currentColor; }
.schedule-more[open] > summary .icon { transform: rotate(180deg); }
.schedule-more > .schedule { padding-bottom: 8px; }

/* Tabelle beim BEV: deutlich als Knopf */
.section-head__table { display: inline-flex; align-items: center; gap: 8px; align-self: flex-end; white-space: nowrap; }
.ext-tag--light { color: #fff; background: rgba(255, 255, 255, .2); border-color: transparent; }
.chip .icon { margin-left: 6px; vertical-align: -2px; }

/* Sprachumschalter DE | EN */
.lang-switch { display: flex; align-items: center; gap: 4px; margin-left: 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.lang-switch__item { padding: 6px 6px; color: var(--grey-medium); border-radius: 4px; text-decoration: none; }
.lang-switch__item:hover { color: var(--ehc-blue-deep); text-decoration: none; background: var(--cream); }
.lang-switch__item.is-active { color: var(--ehc-blue-deep); box-shadow: inset 0 -2px 0 var(--ehc-red); border-radius: 0; }
.lang-switch__sep { color: var(--grey-soft); }
@media (max-width: 1100px) {
	.lang-switch { margin-left: auto; margin-right: 8px; }
	.nav-toggle { margin-left: 0 !important; }
}

/* Hinweis auf Übersetzung */
.ehc-lang-note {
	display: flex; align-items: flex-start; gap: 10px; margin: 0 0 28px !important; padding: 12px 16px;
	font-size: 14px; line-height: 1.5; color: var(--ehc-blue-deep); background: #fff;
	border: 1px solid var(--grey-soft); border-left: 4px solid var(--ehc-blue); border-radius: 6px; max-width: 980px;
}
.ehc-lang-note .icon { flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; }
.ehc-lang-note--de { border-left-color: var(--grey-medium); }
.ehc-lang-note--legal { border-left-color: var(--ehc-red); }
