/* SponsorSpot Verein – Hallenplan */

.hmss {
	--hmss-accent: #d7262e;
	--hmss-dark: #16202e;
	--hmss-ink: #121a26;
	--hmss-muted: #5d6b7d;
	--hmss-line: #dde3ea;
	--hmss-soft: #f3f5f8;
	--hmss-on-dark: rgba(255, 255, 255, 0.72);
	--hmss-line-dark: rgba(255, 255, 255, 0.14);
	--hmss-ease: cubic-bezier(0.22, 1, 0.36, 1);
	margin-block: 32px;
	container-type: inline-size;
	container-name: hmss;
	color: var(--hmss-ink);
	font-size: 17px;
	line-height: 1.5;
}

.hmss *,
.hmss *::before,
.hmss *::after {
	box-sizing: border-box;
}

.hmss button {
	font: inherit;
}

.hmss [hidden] {
	display: none !important;
}

.hmss :focus-visible {
	outline: 2px solid var(--hmss-accent);
	outline-offset: 2px;
}

/* Rahmen */

.hmss-frame {
	overflow: hidden;
	border-radius: 6px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--hmss-dark) 88%, #fff 12%), var(--hmss-dark));
	color: #fff;
	box-shadow: 0 40px 80px -40px rgba(10, 16, 26, 0.6);
}

.hmss-frame :focus-visible {
	outline-color: #fff;
}

/* Werbeträger */

.hmss-venues {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
	margin: clamp(16px, 2.5vw, 24px) clamp(16px, 2.5vw, 32px) 0;
	border-top: 1px solid var(--hmss-line-dark);
}

.hmss-venues__item {
	position: relative;
	display: grid;
	gap: 3.2px;
	padding: 16px 20px 18px;
	border: 0;
	border-left: 1px solid var(--hmss-line-dark);
	background: none;
	color: rgba(255, 255, 255, 0.6);
	text-align: left;
	cursor: pointer;
	transition: color 0.3s var(--hmss-ease);
}

.hmss-venues__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.hmss-venues__item::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--hmss-accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.4s var(--hmss-ease);
}

.hmss-venues__item:hover,
.hmss-venues__item[aria-pressed="true"] {
	color: #fff;
}

.hmss-venues__item[aria-pressed="true"]::before {
	transform: scaleX(1);
}

.hmss-venues__item small {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.hmss-venues__item[aria-pressed="true"] small {
	color: color-mix(in srgb, var(--hmss-accent) 70%, #fff 30%);
}

.hmss-venues__item strong {
	font-size: 18px;
	line-height: 1.25;
}

.hmss-venues__item em {
	font-size: 14px;
	font-style: normal;
	color: rgba(255, 255, 255, 0.5);
}

/* Werkzeugleiste */

.hmss-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	padding: clamp(16px, 2.5vw, 24px) clamp(16px, 2.5vw, 32px);
	border-bottom: 1px solid var(--hmss-line-dark);
}

.hmss-heading {
	display: grid;
	gap: 4px;
}

.hmss-heading strong {
	font-size: 22px;
	line-height: 1.2;
}

.hmss-heading span {
	font-size: 16px;
	color: var(--hmss-on-dark);
}

.hmss-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	box-shadow: inset 0 -1px 0 var(--hmss-line-dark);
}

.hmss-tabs button {
	position: relative;
	padding: 12px 0;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.25s var(--hmss-ease);
}

.hmss-tabs button::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--hmss-accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.35s var(--hmss-ease);
}

.hmss-tabs button:hover,
.hmss-tabs button[aria-pressed="true"] {
	color: #fff;
}

.hmss-tabs button[aria-pressed="true"]::after {
	transform: scaleX(1);
}

/* Bühne und Detailbereich */

.hmss-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
}

.hmss-stage {
	display: grid;
	align-content: center;
	gap: 20px;
	min-width: 0;
	padding: clamp(16px, 3vw, 40px);
}

.hmss-court {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.hmss-court text {
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	fill: var(--hmss-ink);
	pointer-events: none;
}

.hmss-space :is(rect, circle, path) {
	stroke: rgba(18, 26, 38, 0.25);
	stroke-width: 1;
	transition: fill 0.2s, stroke 0.2s, stroke-width 0.2s;
}

.hmss-space[data-space] {
	cursor: pointer;
	outline: none;
}

.hmss-space.is-booked text {
	fill: #586678;
}

.hmss-space.is-led :is(rect, circle, path) {
	stroke: rgba(124, 198, 227, 0.55);
}

.hmss-space.is-led text {
	font-size: 12px;
	letter-spacing: 0.12em;
	fill: #fff;
	text-transform: uppercase;
}

.hmss-space.is-led.is-booked text {
	fill: rgba(255, 255, 255, 0.5);
}

.hmss-space.is-jersey :is(rect, circle, path),
.hmss-space.is-shorts :is(rect, circle, path) {
	stroke: rgba(126, 17, 23, 0.45);
}

.hmss-space[data-space]:hover :is(rect, circle, path),
.hmss-space[data-space]:focus-visible :is(rect, circle, path) {
	stroke: #fff;
	stroke-width: 2.5;
}

.hmss-space.is-picked :is(rect, circle, path) {
	stroke: var(--hmss-accent);
	stroke-width: 2.5;
}

.hmss-space.is-selected :is(rect, circle, path) {
	fill: var(--hmss-accent);
	stroke: #fff;
	stroke-width: 2;
}

.hmss-space.is-selected text {
	fill: #fff;
}

.hmss-space.is-dimmed {
	opacity: 0.2;
}

.hmss-court.is-jersey .hmss-jersey-side {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	fill: rgba(255, 255, 255, 0.6);
}

.hmss-fixtures rect {
	fill: rgba(255, 255, 255, 0.1);
	stroke: rgba(255, 255, 255, 0.8);
	stroke-width: 1;
	stroke-dasharray: 3 2.5;
}

.hmss-fixtures text {
	font-size: 7px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	fill: #fff;
}

.hmss-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	color: var(--hmss-on-dark);
}

.hmss-legend li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hmss-swatch {
	width: 14px;
	height: 10px;
	border-radius: 2px;
	background: #fff;
}

.hmss-swatch.is-booked {
	background: repeating-linear-gradient(45deg, #d3e8f9 0 3px, #9ec7ea 3px 5px);
}

.hmss-swatch.is-selected {
	background: var(--hmss-accent);
}

.hmss-swatch.is-picked {
	background: transparent;
	box-shadow: inset 0 0 0 2px var(--hmss-accent);
}

.hmss-panel {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: clamp(16px, 2vw, 20px) clamp(16px, 2vw, 20px) clamp(16px, 2vw, 20px) 0;
	padding: 24px;
	border-radius: 4px;
	background: #fff;
	color: var(--hmss-ink);
}

.hmss-panel :focus-visible {
	outline-color: var(--hmss-accent);
}

.hmss-panel__body {
	display: grid;
	gap: 14px;
}

.hmss-panel__eyebrow {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hmss-accent);
}

.hmss-panel__title {
	margin: 0;
	font-size: 26px;
	line-height: 1.2;
	color: var(--hmss-ink);
}

.hmss-panel__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: start;
	margin: 0;
	padding: 5px 10px;
	border-radius: 2px;
	background: var(--hmss-soft);
	font-size: 15px;
	font-weight: 600;
}

.hmss-panel__status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 1px;
	background: #2e9b5a;
}

.hmss-panel__status.is-booked::before {
	background: #8c99aa;
}

.hmss-panel__facts {
	display: grid;
	margin: 0;
}

.hmss-panel__facts div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-top: 1px solid var(--hmss-line);
	font-size: 16px;
}

.hmss-panel__facts dt {
	color: var(--hmss-muted);
}

.hmss-panel__facts dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

.hmss-panel__label {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hmss-muted);
}

.hmss-panel__seasons ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
}

.hmss-panel__seasons li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.hmss-panel__seasons b {
	font-weight: 600;
}

.hmss-panel__seasons .is-free b {
	color: #1f7a45;
}

.hmss-panel__seasons .is-partly b {
	color: #9a6a00;
}

.hmss-panel__seasons .is-booked b {
	color: var(--hmss-muted);
}

.hmss-panel .hmss-tabs {
	box-shadow: inset 0 -1px 0 var(--hmss-line);
}

.hmss-panel .hmss-tabs button {
	color: var(--hmss-muted);
}

.hmss-panel .hmss-tabs button:hover,
.hmss-panel .hmss-tabs button[aria-pressed="true"] {
	color: var(--hmss-ink);
}

.hmss-tabs.is-block button {
	flex: 1;
	text-align: center;
}

/* Buttons */

.hmss-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin-top: auto;
	padding: 12px 20px;
	border: 0;
	border-radius: 3px;
	background: var(--hmss-accent);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.25s var(--hmss-ease), background-color 0.25s var(--hmss-ease);
}

.hmss-button:hover {
	filter: brightness(0.92);
	color: #fff;
}

.hmss-button[aria-pressed="true"] {
	background: var(--hmss-dark);
}

.hmss-button.is-light {
	background: #fff;
	color: var(--hmss-ink);
}

.hmss-button.is-light:hover {
	color: var(--hmss-ink);
}

.hmss-button[aria-disabled="true"] {
	opacity: 0.45;
	pointer-events: none;
}

/* Auswahl */

.hmss-tray {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 18px clamp(16px, 2.5vw, 32px);
	border-top: 1px solid var(--hmss-line-dark);
	background: rgba(0, 0, 0, 0.18);
}

.hmss-tray__info {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.hmss-tray__hint {
	font-size: 16px;
	color: var(--hmss-on-dark);
}

.hmss-tray__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hmss-tray__chips:empty {
	display: none;
}

.hmss-tray__chips li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 6px 4px 10px;
	border-radius: 2px;
	box-shadow: inset 0 0 0 1px var(--hmss-line-dark);
	font-size: 15px;
}

.hmss-tray__chips button {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
}

.hmss-tray__chips button:hover {
	color: #fff;
}

/* Liste */

.hmss-list {
	margin-top: 16px;
	border: 1px solid var(--hmss-line);
	border-radius: 4px;
	background: #fff;
}

.hmss-list summary {
	padding: 16px 20px;
	font-weight: 700;
	cursor: pointer;
}

.hmss-list__title {
	margin: 0;
	padding: 12px 20px 4px;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hmss-muted);
}

.hmss-list ul {
	margin: 0;
	padding: 0 0 12px;
	list-style: none;
}

.hmss-list button {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	width: 100%;
	padding: 12px 20px;
	border: 0;
	border-top: 1px solid var(--hmss-line);
	background: none;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.hmss-list button:hover {
	background: var(--hmss-soft);
}

.hmss-list em {
	font-size: 15px;
	font-style: normal;
	color: #1f7a45;
}

.hmss-list em.is-booked {
	color: var(--hmss-muted);
}

/* Formular */

.hmss-form {
	display: grid;
	gap: 20px;
	margin-top: 32px;
	padding: clamp(20px, 3vw, 36px);
	border: 1px solid var(--hmss-line);
	border-top: 3px solid var(--hmss-accent);
	border-radius: 4px;
	background: #fff;
}

.hmss-form__title {
	margin: 0;
	font-size: 26px;
}

.hmss-form__intro {
	margin: 0;
	color: var(--hmss-muted);
}

.hmss-form__notice {
	margin: 0;
	padding: 14px 16px;
	border-left: 3px solid #1f7a45;
	background: #edf7f1;
	font-weight: 600;
}

.hmss-form__notice.is-error {
	border-left-color: #b3261e;
	background: #fcefee;
}

.hmss-form__picked {
	margin: 0;
	padding: 16px 20px;
	border: 1px solid var(--hmss-line);
	border-radius: 3px;
	background: var(--hmss-soft);
}

.hmss-form__picked legend {
	padding: 0 6px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hmss-muted);
}

.hmss-form__picked ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hmss-form__picked li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-weight: 600;
}

.hmss-form__picked li small {
	font-weight: 400;
	color: var(--hmss-muted);
}

.hmss-form__empty {
	margin: 0;
	color: var(--hmss-muted);
}

.hmss-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

.hmss-form__grid p {
	display: grid;
	gap: 6px;
	margin: 0;
}

.hmss-form__grid .is-wide {
	grid-column: 1 / -1;
}

.hmss-form label {
	font-size: 16px;
	font-weight: 600;
}

.hmss-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #c3ccd7;
	border-radius: 3px;
	background: #fff;
	color: var(--hmss-ink);
	font: inherit;
}

.hmss-form :is(input, select, textarea):focus {
	border-color: var(--hmss-accent);
	outline: 2px solid color-mix(in srgb, var(--hmss-accent) 25%, transparent);
	outline-offset: 0;
}

.hmss-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
}

.hmss-form__consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--hmss-accent);
}

.hmss-form__consent label {
	font-weight: 400;
}

.hmss-form__consent a {
	color: inherit;
}

.hmss-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hmss-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin: 0;
}

.hmss-form__required {
	font-size: 15px;
	color: var(--hmss-muted);
}

.hmss .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Bild, Beschreibung und Preise */

.hmss-panel__media {
	margin: 0;
	overflow: hidden;
	border-radius: 3px;
	background: var(--hmss-soft);
}

.hmss-panel__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.hmss-panel__desc {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--hmss-muted);
}

.hmss-tray__sum {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.hmss-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	list-style: none;
}

.hmss-list summary::-webkit-details-marker {
	display: none;
}

.hmss-list summary::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.3s var(--hmss-ease);
}

.hmss-list[open] summary::after {
	transform: rotate(-135deg) translateY(-2px);
}

.hmss-form__check {
	display: flex !important;
	grid-template-columns: none;
	align-items: flex-start;
	gap: 12px !important;
}

.hmss-form__check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--hmss-accent);
}

.hmss-quote {
	padding: 16px 20px;
	border: 1px solid var(--hmss-line);
	border-left: 3px solid var(--hmss-dark);
	border-radius: 3px;
}

.hmss-quote__title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hmss-muted);
}

.hmss-quote__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.hmss-quote__table th,
.hmss-quote__table td {
	padding: 8px 0;
	border-top: 1px solid var(--hmss-line);
	vertical-align: top;
}

.hmss-quote__table tr:first-child :is(th, td) {
	border-top: 0;
}

.hmss-quote__table th {
	padding-right: 16px;
	font-weight: 400;
	text-align: left;
}

.hmss-quote__table td {
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.hmss-quote__table .is-total :is(th, td) {
	border-top-color: var(--hmss-ink);
	font-weight: 700;
}

.hmss-quote__note {
	margin: 12px 0 0;
	font-size: 15px;
	color: var(--hmss-muted);
}

/* Sponsorennetzwerk */

.hmss-net__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 24px;
}

.hmss-net .hmss-tabs {
	box-shadow: inset 0 -1px 0 var(--hmss-line);
}

.hmss-net .hmss-tabs button {
	color: var(--hmss-muted);
}

.hmss-net .hmss-tabs button:hover,
.hmss-net .hmss-tabs button[aria-pressed="true"] {
	color: var(--hmss-ink);
}

.hmss-net__search {
	display: grid;
	gap: 6px;
	min-width: min(100%, 256px);
	margin: 0;
}

.hmss-net__search label,
.hmss-net__form label {
	font-size: 15px;
	font-weight: 600;
}

.hmss-net :is(input[type="search"], input[type="text"], input[type="email"], textarea) {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #c3ccd7;
	border-radius: 3px;
	background: #fff;
	color: var(--hmss-ink);
	font: inherit;
}

.hmss-net :is(input, textarea):focus {
	border-color: var(--hmss-accent);
	outline: 2px solid color-mix(in srgb, var(--hmss-accent) 25%, transparent);
	outline-offset: 0;
}

.hmss-net__grid {
	align-items: start;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hmss-net__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border: 1px solid var(--hmss-line);
	border-top: 3px solid var(--hmss-dark);
	border-radius: 4px;
	background: #fff;
	transition: border-color 0.3s var(--hmss-ease), box-shadow 0.3s var(--hmss-ease);
}

.hmss-net__card:hover {
	border-top-color: var(--hmss-accent);
	box-shadow: 0 12px 28px -18px rgba(18, 26, 38, 0.45);
}

.hmss-net__logo {
	display: grid;
	place-items: center;
	height: 80px;
	margin-bottom: 8px;
	border-radius: 3px;
	background: var(--hmss-soft);
}

.hmss-net__logo img {
	max-width: 80%;
	max-height: 56px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.hmss-net__logo span {
	font-size: 32px;
	font-weight: 800;
	color: var(--hmss-dark);
}

.hmss-net__branch {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hmss-accent);
}

.hmss-net__name {
	margin: 0;
	font-size: 19px;
	line-height: 1.3;
}

.hmss-net__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--hmss-muted);
}

.hmss-net__since {
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--hmss-muted);
}

.hmss-button.is-ghost {
	margin-top: auto;
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--hmss-ink);
	color: var(--hmss-ink);
}

.hmss-button.is-ghost:hover,
.hmss-button.is-ghost[aria-expanded="true"] {
	background: var(--hmss-ink);
	color: #fff;
	filter: none;
}

.hmss-net__form {
	display: grid;
	gap: 12px;
	margin-top: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--hmss-line);
}

.hmss-net__form p {
	display: grid;
	gap: 4px;
	margin: 0;
}

.hmss-net__form .hmss-form__consent {
	display: flex;
	font-size: 15px;
}

.hmss-net__form .hmss-form__consent label {
	font-weight: 400;
}

.hmss-net__none,
.hmss-net__empty {
	color: var(--hmss-muted);
}

.hmss-net > .hmss-form__notice {
	margin-bottom: 20px;
}


/* Mobil */

@container hmss (max-width: 860px) {
	.hmss-layout {
		grid-template-columns: 1fr;
	}

	.hmss-panel {
		margin: 0 16px 16px;
	}
}

@container hmss (max-width: 560px) {
	.hmss-venues {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hmss-venues__item,
	.hmss-venues__item:first-child {
		padding: 14px 12px 14px 0;
		border-left: 0;
	}

	.hmss-venues__item:nth-child(even) {
		padding-left: 12px;
		border-left: 1px solid var(--hmss-line-dark);
	}

	.hmss-venues__item em {
		display: none;
	}

	.hmss-tabs {
		gap: 0 18px;
	}

	.hmss-stage {
		padding: 16px 8px;
	}

	.hmss-court text {
		font-size: 11px;
	}

	.hmss-form__grid {
		grid-template-columns: 1fr;
	}

	.hmss-tray .hmss-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hmss *,
	.hmss *::before,
	.hmss *::after {
		transition: none !important;
	}
}

.hmss-court.is-jersey .hmss-space.is-selected :is(rect, circle, path) {
	fill: var(--hmss-dark);
	stroke: #fff;
}


.hmss-venues.is-select {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin: 0;
	padding: 20px clamp(16px, 2.5vw, 32px) 0;
	border-top: 0;
}

.hmss-venues.is-select label {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--hmss-accent) 70%, #fff 30%);
}

.hmss-venues.is-select select {
	width: min(100%, 608px);
	min-height: 48px;
	padding: 10px 40px 10px 14px;
	border: 1px solid var(--hmss-line-dark);
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: #fff;
	font: inherit;
	font-weight: 700;
	-webkit-appearance: none;
	appearance: none;
}

.hmss-venues.is-select option {
	color: #121a26;
}

/* Schutz vor Theme-Stilen der Website */

.hmss :is(ul, ol) {
	list-style: none !important;
}

.hmss li::before,
.hmss li::marker {
	content: none !important;
	display: none !important;
}

.hmss li {
	margin-left: 0 !important;
	padding-left: 0;
	background: none;
}

.hmss .hmss-tabs button,
.hmss .hmss-venues__item,
.hmss .hmss-list button,
.hmss .hmss-tray__chips button {
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: inherit;
	line-height: 1.4 !important;
	text-shadow: none !important;
}

.hmss .hmss-tabs button {
	padding: 12px 0 !important;
	font-size: 13px !important;
	letter-spacing: 0.1em !important;
	color: rgba(255, 255, 255, 0.7) !important;
}

.hmss .hmss-tabs button:hover,
.hmss .hmss-tabs button[aria-pressed="true"] {
	color: #fff !important;
}

.hmss .hmss-panel .hmss-tabs button,
.hmss.hmss-net .hmss-tabs button {
	color: var(--hmss-muted) !important;
}

.hmss .hmss-panel .hmss-tabs button[aria-pressed="true"],
.hmss.hmss-net .hmss-tabs button[aria-pressed="true"] {
	color: var(--hmss-ink) !important;
}

.hmss .hmss-venues__item {
	padding: 16px 16px 16px 20px !important;
	color: rgba(255, 255, 255, 0.72) !important;
	text-align: left !important;
	text-transform: none !important;
}

.hmss .hmss-venues__item:hover,
.hmss .hmss-venues__item[aria-pressed="true"] {
	color: #fff !important;
}

.hmss .hmss-venues__item strong {
	font-size: 18px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.hmss .hmss-venues__item em {
	font-size: 13px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.hmss .hmss-button {
	min-height: 48px !important;
	border: 0 !important;
	border-radius: 3px !important;
	font-size: 16px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.3 !important;
}

.hmss .hmss-legend li {
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 14px !important;
}

.hmss .hmss-panel,
.hmss .hmss-form {
	font-size: 16px;
}

.hmss .hmss-panel__facts div,
.hmss .hmss-panel__seasons ul {
	font-size: 15px !important;
}

.hmss .hmss-panel__title {
	font-size: 24px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.hmss .hmss-tray,
.hmss .hmss-tray * {
	font-family: inherit;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.hmss .hmss-tray [data-tray-count] {
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: #fff !important;
}

.hmss .hmss-tray__hint,
.hmss .hmss-tray__sum {
	font-size: 16px !important;
	line-height: 1.4 !important;
	color: rgba(255, 255, 255, 0.85) !important;
}

.hmss .hmss-tray__sum {
	font-weight: 600 !important;
	color: #fff !important;
}

.hmss .hmss-tray__chips li {
	padding: 6px 6px 6px 12px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
	font-size: 15px !important;
	line-height: 1.3 !important;
	color: #fff !important;
}

.hmss .hmss-tray__chips li span {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #fff !important;
	white-space: nowrap;
}

.hmss .hmss-tray__chips button {
	display: grid !important;
	place-items: center;
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	color: rgba(255, 255, 255, 0.75) !important;
}

.hmss .hmss-tray__chips button:hover {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.12) !important;
}

.hmss .hmss-tray__chips button svg {
	width: 14px;
	height: 14px;
}

.hmss .hmss-tray .hmss-button.is-light {
	background: #fff !important;
	color: var(--hmss-ink) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	padding: 12px 22px !important;
}

.hmss .hmss-form__picked li span {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--hmss-ink) !important;
}

.hmss .hmss-form__picked li small,
.hmss .hmss-form__required,
.hmss .hmss-form label span,
.hmss .hmss-panel__seasons span,
.hmss .hmss-panel__seasons b,
.hmss .hmss-list button span,
.hmss .hmss-list button strong {
	font-size: inherit !important;
}

.hmss .hmss-form__picked li small {
	font-size: 15px !important;
	color: var(--hmss-muted) !important;
}

.hmss .hmss-form label,
.hmss .hmss-net label {
	font-size: 15px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: var(--hmss-ink) !important;
}

.hmss .hmss-form :is(input, select, textarea),
.hmss .hmss-net :is(input, textarea) {
	font-size: 16px !important;
}

.hmss .hmss-list button {
	font-size: 16px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: var(--hmss-ink) !important;
	padding: 12px 20px !important;
}

.hmss .hmss-list em {
	font-size: 14px !important;
}

.hmss .hmss-form__picked li :is(span, small),
.hmss .hmss-panel :is(span, b, dt, dd),
.hmss .hmss-quote :is(th, td) {
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.hmss .hmss-panel__seasons .is-option b {
	color: #9a6a00 !important;
}

/* Warteliste */

.hmss .hmss-wait {
	display: grid;
	gap: 12px;
	padding: 16px;
	border-left: 3px solid #c99a2e;
	border-radius: 3px;
	background: #fcf6e6;
}

.hmss .hmss-wait__text {
	margin: 0;
	font-size: 15px !important;
	line-height: 1.5;
	color: var(--hmss-ink) !important;
}

.hmss .hmss-wait__alts {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.hmss .hmss-wait__alts button {
	width: 100%;
	padding: 10px 12px !important;
	border: 1px solid var(--hmss-line) !important;
	border-radius: 3px !important;
	background: #fff !important;
	color: var(--hmss-ink) !important;
	font-size: 15px !important;
	font-weight: 600;
	text-align: left;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}

.hmss .hmss-wait__alts button:hover {
	border-color: var(--hmss-accent) !important;
}

.hmss .hmss-wait__form {
	display: grid;
	gap: 10px;
}

.hmss .hmss-wait__form p {
	display: grid;
	gap: 4px;
	margin: 0;
}

.hmss .hmss-wait__form label {
	font-size: 14px !important;
	font-weight: 600;
	color: var(--hmss-ink) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.hmss .hmss-wait__form :is(input[type="text"], input[type="email"], input[type="tel"], select) {
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid #c3ccd7;
	border-radius: 3px;
	background: #fff;
	color: var(--hmss-ink);
	font: inherit;
	font-size: 16px !important;
}

.hmss .hmss-wait__form .hmss-form__consent {
	display: flex;
	font-size: 14px;
}

/* 3D-Ansicht */

.hmss-3d {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 4px;
	background: #e3e8ef;
}

.hmss-3d__canvas {
	display: block;
	width: 100%;
	height: 100%;
	cursor: grab;
	touch-action: pan-y;
}

.hmss.is-3d .hmss-venue {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.hmss.is-3d .hmss-stage {
	position: relative;
}

.hmss.is-3d .hmss-stage:has(.hmss-venue :focus-visible) .hmss-3d {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@container hmss (max-width: 640px) {
	.hmss-3d {
		aspect-ratio: 4 / 3;
	}
}

.hmss .hmss-panel__body > *,
.hmss .hmss-panel__body :is(h3, p, dl, ul, figure) {
	margin-block: 0;
}

/* Angebote ohne Plan: Spieltags-Sponsoring, Hospitality */

.hmss-cardlist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.hmss-offer {
	display: grid;
	align-content: start;
	gap: 6px;
	min-height: 132px;
	padding: 18px;
	border: 1px solid var(--hmss-line-dark);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	cursor: pointer;
	transition: border-color 0.3s var(--hmss-ease), background-color 0.3s var(--hmss-ease);
}

.hmss-offer:hover {
	border-color: rgba(255, 255, 255, 0.5);
}

.hmss-offer.is-selected {
	border-color: #fff;
	background: var(--hmss-accent);
}

.hmss-offer.is-picked:not(.is-selected) {
	border-color: var(--hmss-accent);
	box-shadow: inset 0 0 0 1px var(--hmss-accent);
}

.hmss-offer.is-dimmed {
	opacity: 0.35;
	cursor: default;
}

.hmss-offer__label,
.hmss-offer__state {
	font-size: 14px;
	color: var(--hmss-on-dark);
}

.hmss-offer.is-selected .hmss-offer__label,
.hmss-offer.is-selected .hmss-offer__state {
	color: #fff;
}

.hmss-offer__label {
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hmss-offer__name {
	font-size: 19px;
	line-height: 1.25;
}

.hmss-offer__state {
	margin-top: auto;
}

/* Individuelle Werbemöglichkeiten (Klatschpappen, Spieltagsflyer usw.) */

.hmss-extras {
	padding: clamp(20px, 2.5vw, 32px) clamp(16px, 2.5vw, 32px);
	border-top: 1px solid var(--hmss-line-dark);
	scroll-margin-top: 96px;
}

.hmss .hmss-extras__title {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.2;
	color: #fff;
}

.hmss .hmss-extras__intro {
	max-width: 62ch;
	margin: 0 0 18px;
	font-size: 15px;
	color: var(--hmss-on-dark);
}

.hmss-cardlist.is-custom {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.hmss-offer__media {
	display: block;
	margin: -18px -18px 6px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 7px 7px 0 0;
	background: rgba(255, 255, 255, 0.08);
}

.hmss-offer__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hmss-offer__desc {
	font-size: 15px;
	line-height: 1.45;
	color: var(--hmss-on-dark);
}

.hmss-offer__meta {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.hmss-offer.is-selected .hmss-offer__desc {
	color: #fff;
}

.hmss-offer:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

/* Heimspiele und Logo-Vorschau im Detailbereich */

.hmss .hmss-panel__games fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.hmss .hmss-panel__games ul {
	display: grid;
	gap: 6px;
	max-height: 320px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.hmss .hmss-panel__games label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 8px 10px;
	border: 1px solid var(--hmss-line);
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
}

.hmss .hmss-panel__games input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--hmss-accent);
}

.hmss .hmss-panel__games input:disabled + span {
	color: var(--hmss-muted);
}

.hmss .hmss-panel__hint {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--hmss-muted);
}

.hmss .hmss-panel__logo-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hmss .hmss-panel__logo-actions .hmss-button {
	margin-top: 0;
}

.hmss-space.has-logo text {
	display: none;
}

/* Angebotsannahme und Partnerbereich */

.hmss-offerpage,
.hmss-portal {
	display: grid;
	gap: 20px;
	max-width: 960px;
	margin-inline: auto;
	padding: clamp(20px, 4vw, 48px) max(16px, env(safe-area-inset-left, 0px));
}

.hmss.hmss-offerpage :is(h1, h2, h3, h4, p, ul, dl, table, form),
.hmss.hmss-portal :is(h1, h2, h3, h4, p, ul, dl, table, form) {
	margin-block: 0;
}

.hmss-offerpage h1,
.hmss-portal__title {
	font-size: clamp(26px, 4vw, 36px);
	line-height: 1.15;
	text-wrap: balance;
}

.hmss-offerpage .hmss-form {
	margin-top: 0;
}

.hmss-offerpage__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.hmss-offerpage__table :is(th, td) {
	padding: 10px 12px;
	border-bottom: 1px solid var(--hmss-line);
	text-align: left;
	vertical-align: top;
}

.hmss-offerpage__table thead th {
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hmss-muted);
}

.hmss-offerpage__table td:last-child,
.hmss-offerpage__table tfoot th {
	text-align: right;
}

.hmss-offerpage__table td:last-child {
	white-space: nowrap;
}

.hmss-offerpage__table .is-total :is(th, td) {
	font-weight: 700;
}

.hmss-offerpage__terms,
.hmss-portal__contact {
	color: var(--hmss-muted);
	font-size: 15px;
}

.hmss-portal__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.hmss-portal__head .hmss-button {
	margin-top: 0;
}

.hmss-portal__section {
	display: grid;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid var(--hmss-line);
}

.hmss-portal__section h3 {
	font-size: 22px;
}

.hmss-portal__card {
	display: grid;
	gap: 12px;
	padding: 18px;
	border: 1px solid var(--hmss-line);
	border-radius: 8px;
	background: #fff;
}

.hmss-portal__card h4 {
	font-size: 18px;
}

.hmss-portal__facts {
	display: grid;
	gap: 6px;
}

.hmss-portal__facts > div {
	display: grid;
	grid-template-columns: minmax(120px, 160px) 1fr;
	gap: 12px;
}

.hmss-portal__facts dt {
	color: var(--hmss-muted);
}

.hmss-portal__facts dd {
	margin: 0;
	min-width: 0;
	overflow-wrap: anywhere;
}

.hmss-portal__upload {
	display: grid;
	gap: 8px;
	justify-items: start;
}

.hmss-portal__upload small {
	color: var(--hmss-muted);
}

.hmss-portal__upload .hmss-button {
	margin-top: 4px;
}

.hmss-portal__scroll {
	overflow-x: auto;
}

.hmss-portal__docs {
	display: grid;
	gap: 6px;
	padding-left: 18px;
}

.hmss-portal #hmss-partner-login {
	display: grid;
	gap: 12px;
	max-width: 420px;
}

.hmss-portal #hmss-partner-login p {
	display: grid;
	gap: 6px;
}

.hmss-portal #hmss-partner-login .login-remember {
	display: block;
}

.hmss-portal #hmss-partner-login input[type="text"],
.hmss-portal #hmss-partner-login input[type="password"] {
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--hmss-line);
	border-radius: 8px;
	font: inherit;
}

.hmss-portal #hmss-partner-login .button-primary {
	min-height: 46px;
	padding: 12px 20px;
	border: 0;
	border-radius: 3px;
	background: var(--hmss-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 560px) {
	.hmss-portal__facts > div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* Zeilen der Wand- und Bannerflächen unter dem Spielfeld */
.hmss-rows rect {
	fill: rgba(255, 255, 255, 0.06);
	stroke: rgba(255, 255, 255, 0.12);
}

.hmss-rows text {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	fill: rgba(255, 255, 255, 0.72);
}

.hmss-space.is-stair text {
	font-size: 6px;
}

.hmss-space.is-wall text,
.hmss-space.is-banner text {
	font-size: 8px;
}

/* Plan vergrößern (kleine Bildschirme) */
.hmss-stage {
	position: relative;
}

.hmss-expand {
	display: none;
	align-items: center;
	justify-self: end;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--hmss-line-dark);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.hmss-expand:hover {
	background: rgba(255, 255, 255, 0.14);
}

.hmss-expand:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 900px) {
	.hmss-expand {
		display: inline-flex;
	}
}

html.hmss-noscroll,
html.hmss-noscroll body {
	overflow: hidden;
}

.hmss-lift {
	z-index: 2147483000 !important;
	transform: none !important;
	filter: none !important;
}

.hmss .hmss-stage.is-expanded {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: max(10px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
	background: var(--hmss-dark);
	overflow: auto;
}

.hmss .hmss-stage.is-expanded .hmss-expand {
	align-self: flex-end;
	flex: none;
}

.hmss .hmss-stage.is-expanded .hmss-3d {
	flex: 1 1 auto;
	min-height: 0;
	aspect-ratio: auto;
}

.hmss .hmss-stage.is-expanded .hmss-3d__canvas {
	touch-action: none;
}

.hmss:not(.is-3d) .hmss-stage.is-expanded .hmss-venue:not([hidden]) {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	overflow: auto;
}

.hmss:not(.is-3d) .hmss-stage.is-expanded .hmss-court {
	width: auto;
	min-width: 100%;
	max-height: 100%;
}

.hmss .hmss-stage.is-expanded .hmss-legend {
	flex: none;
}

.hmss .hmss-stage.is-expanded .hmss-venues {
	flex: none;
	margin: 0;
	padding: 0;
}

.hmss .hmss-stage.is-expanded .hmss-venues__item,
.hmss .hmss-stage.is-expanded .hmss-venues__item:first-child {
	padding-top: 10px;
	padding-bottom: 10px;
}

.hmss-venues__item {
	min-width: 0;
}

.hmss-venues__item small,
.hmss-venues__item strong {
	min-width: 0;
}

@media (max-width: 480px) {
	.hmss-venues:not(.is-select) {
		grid-template-columns: 1fr;
	}

	.hmss-venues__item,
	.hmss-venues__item:first-child,
	.hmss-venues__item:nth-child(even) {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		min-height: 44px;
		padding: 10px 0;
		border-left: 0;
		border-top: 1px solid var(--hmss-line-dark);
	}

	.hmss-venues__item:first-child {
		border-top: 0;
	}

	.hmss-venues__item small {
		order: 2;
		flex: 0 1 auto;
		overflow: hidden;
		font-size: 11px;
		letter-spacing: 0.1em;
		text-align: right;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.hmss-venues__item strong {
		flex: 0 0 auto;
		max-width: 100%;
		font-size: 16px;
		-webkit-hyphens: manual;
		hyphens: manual;
	}
}
