/* BIG Mitglieder: Laufband, Kategorien, Verzeichnis und Profil */

.bigm {
	--bigm-ink: #161514;
	--bigm-papier: #f4f2ef;
	--bigm-grau: #686560;
	--bigm-linie: #d8d5d0;
	--bigm-rand: #d2cec7;
	--bigm-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	color: var(--bigm-ink);
	text-align: left;
}

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

.bigm [hidden] {
	display: none !important;
}

.bigm ul,
.bigm ul > li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bigm a,
.bigm a:hover {
	color: inherit;
	text-decoration: none;
}

.bigm img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	/* Salient gives every image inside a column a bottom margin. */
	margin: 0 !important;
}

.bigm button {
	margin: 0;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.bigm a:focus-visible,
.bigm button:focus-visible,
.bigm summary:focus-visible,
.bigm .bigm-feld input:focus-visible,
.bigm .bigm-feld select:focus-visible {
	outline: 2px solid var(--bigm-ink);
	outline-offset: 2px;
}

.bigm .bigm-wortmarke {
	display: block;
	padding: 0 8px;
	font-family: var(--bigm-serif);
	font-size: 28px;
	line-height: 1.05;
	font-weight: 400;
	text-align: center;
	text-wrap: balance;
	overflow-wrap: anywhere;
	color: #35322e;
}

.bigm .bigm-wortmarke--lang {
	font-size: 19px;
	line-height: 1.12;
}

/* Long words in a name break at a syllable, with a hyphen, instead of at any letter. The limits keep
   words like "Blankeneser" in one piece; Safari reads them from the -webkit- pair. */
.bigm .bigm-wortmarke,
.bigm .bigm-kachel-name,
.bigm .bigm-karte h3.bigm-karte-name,
.bigm h2.bigm-profil-name {
	-webkit-hyphens: auto;
	hyphens: auto;
	-webkit-hyphenate-limit-before: 7;
	-webkit-hyphenate-limit-after: 7;
	hyphenate-limit-chars: 14 7 7;
}

.bigm .bigm-knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 14px 25px;
	border: 1px solid var(--bigm-ink);
	border-radius: 200px;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bigm-ink);
	transition: background-color .2s, color .2s;
}

.bigm .bigm-knopf--dunkel {
	background: var(--bigm-ink);
	color: var(--bigm-papier);
}

/* Hover styles only where a pointer can hover: on touch screens they would stick after a tap. */
@media (hover: hover) {
	.bigm .bigm-knopf:hover {
		background: var(--bigm-ink);
		color: var(--bigm-papier);
	}

	.bigm .bigm-knopf--dunkel:hover {
		background: #35322e;
		border-color: #35322e;
	}
}

.bigm .bigm-extern::after {
	content: "\2197";
	font-weight: 400;
}

/* Laufband */

.bigm-ticker {
	position: relative;
	width: 100%;
}

.bigm .bigm-ticker-reihe {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.bigm .bigm-ticker-reihe::-webkit-scrollbar {
	display: none;
}

.bigm .bigm-ticker-reihe + .bigm-ticker-reihe {
	margin-top: 4px;
}

.bigm .bigm-ticker-spur {
	display: flex;
	flex: none;
	align-items: center;
}

.bigm .bigm-ticker-spur > li {
	flex: none;
	width: 208px;
}

.bigm .bigm-ticker-spur a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 130px;
	opacity: .82;
	transition: opacity .2s;
}

@media (hover: hover) {
	.bigm .bigm-ticker-spur a:hover {
		opacity: 1;
	}
}

.bigm .bigm-ticker-spur .bigm-wortmarke {
	font-size: 22px;
}

.bigm .bigm-ticker-spur .bigm-wortmarke--lang {
	font-size: 15px;
}

.bigm-ticker.is-laufend .bigm-ticker-reihe {
	overflow: hidden;
}

.bigm-ticker.is-laufend .bigm-ticker-spur {
	animation: bigm-lauf calc(var(--bigm-anzahl, 50) * 4.2s) linear infinite;
}

.bigm-ticker.is-laufend .bigm-ticker-reihe--zurueck .bigm-ticker-spur {
	animation-direction: reverse;
}

.bigm-ticker.is-pausiert .bigm-ticker-spur,
.bigm-ticker.is-fern .bigm-ticker-spur {
	animation-play-state: paused;
}

/* The band waits under the mouse pointer. After a tap on a touch screen it has to keep running. */
@media (hover: hover) {
	.bigm-ticker.is-laufend:hover .bigm-ticker-spur {
		animation-play-state: paused;
	}
}

@keyframes bigm-lauf {
	to {
		transform: translateX(-100%);
	}
}

.bigm .bigm-ticker-pause {
	display: block;
	position: relative;
	width: 34px;
	height: 34px;
	margin: 10px 25px 0 auto;
	padding: 0;
	border: 1px solid var(--bigm-rand);
	border-radius: 200px;
	background: transparent;
	opacity: .7;
	transition: opacity .2s;
}

.bigm .bigm-ticker-pause:hover,
.bigm .bigm-ticker-pause:focus-visible {
	opacity: 1;
}

.bigm .bigm-ticker-pause::before {
	content: "";
	position: absolute;
	top: 11px;
	left: 12px;
	width: 8px;
	height: 10px;
	border: solid var(--bigm-ink);
	border-width: 0 2px;
}

.bigm .bigm-ticker-pause[aria-pressed="true"]::before {
	left: 13px;
	width: 0;
	border-style: solid;
	border-color: transparent transparent transparent var(--bigm-ink);
	border-width: 5px 0 5px 9px;
}

/* Kategorien zum Aufklappen */

.bigm-kategorien,
.bigm .bigm-gruppen {
	border-top: 1px solid var(--bigm-linie);
}

.bigm .bigm-kategorie {
	border-bottom: 1px solid var(--bigm-linie);
}

.bigm .bigm-kategorie > summary {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 4px;
	list-style: none;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -.01em;
	cursor: pointer;
}

.bigm .bigm-kategorie > summary::-webkit-details-marker {
	display: none;
}

.bigm .bigm-kategorie > summary::after {
	content: "";
	flex: none;
	width: 15px;
	height: 15px;
	background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
	transition: background-size .2s;
}

.bigm .bigm-kategorie[open] > summary::after {
	background-size: 100% 1.5px, 1.5px 0;
}

.bigm .bigm-kategorie-name {
	flex: 1;
}

.bigm .bigm-kategorie-anzahl {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	white-space: nowrap;
	color: var(--bigm-grau);
}

.bigm .bigm-kategorie[open] > ul {
	animation: bigm-ein .3s ease;
}

@keyframes bigm-ein {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

.bigm .bigm-kacheln {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	gap: 14px;
	padding: 4px 4px 34px;
}

.bigm .bigm-kachel {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 4px 12px 16px;
	border: 1px solid #e6e2dc;
	border-radius: 12px;
	background: #fff;
	text-align: center;
	transition: border-color .2s, box-shadow .2s;
}

@media (hover: hover) {
	.bigm .bigm-kachel:hover,
	.bigm .bigm-karte:hover {
		border-color: #7b766e;
		box-shadow: 0 4px 20px #16151410;
	}
}

.bigm .bigm-kachel-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 208px;
	aspect-ratio: 8 / 5;
}

.bigm .bigm-kachel-name {
	font-size: 13px;
	line-height: 1.35;
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* Verzeichnis */

.bigm .bigm-filter {
	margin: 0 0 28px;
	padding: 22px;
	border: 1px solid var(--bigm-linie);
	border-radius: 12px;
	background: #faf9f7;
}

.bigm .bigm-filter-felder {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.bigm .bigm-feld {
	display: block;
	margin: 0;
}

.bigm .bigm-feld-name {
	display: block;
	margin: 0 0 7px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
}

.bigm .bigm-filter .bigm-feld input,
.bigm .bigm-filter .bigm-feld select {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--bigm-rand);
	border-radius: 7px;
	background-color: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 15px;
	line-height: 1.3;
	color: var(--bigm-ink);
	-webkit-appearance: none;
	appearance: none;
}

.bigm .bigm-filter .bigm-feld select {
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23161514' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	cursor: pointer;
}

.bigm .bigm-alphabet {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 18px;
}

.bigm .bigm-alphabet button {
	min-width: 30px;
	min-height: 34px;
	padding: 0 8px;
	border: 1px solid var(--bigm-rand);
	border-radius: 200px;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	transition: border-color .15s;
}

@media (hover: hover) {
	.bigm .bigm-alphabet button:hover {
		border-color: var(--bigm-ink);
	}
}

.bigm .bigm-alphabet button[aria-pressed="true"] {
	border-color: var(--bigm-ink);
	background: var(--bigm-ink);
	color: #fff;
}

.bigm .bigm-alphabet button:disabled {
	border-color: var(--bigm-rand);
	background: var(--bigm-papier);
	color: #a7a39e;
	cursor: default;
}

.bigm .bigm-leiste {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	margin: 0 0 16px;
	scroll-margin-top: 130px;
}

.bigm .bigm-treffer {
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 500;
	color: var(--bigm-grau);
}

.bigm .bigm-ansicht {
	display: flex;
	flex: none;
	padding: 3px;
	border: 1px solid var(--bigm-rand);
	border-radius: 200px;
	background: #fff;
}

.bigm .bigm-ansicht button {
	min-height: 30px;
	padding: 0 14px;
	border: 0;
	border-radius: 200px;
	background: transparent;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.bigm .bigm-ansicht button[aria-pressed="true"] {
	background: var(--bigm-ink);
	color: #fff;
}

.bigm .bigm-raster {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.bigm .bigm-gruppen .bigm-raster {
	padding: 4px 0 34px;
}

.bigm .bigm-karte {
	overflow: hidden;
	border: 1px solid var(--bigm-linie);
	border-radius: 12px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}

.bigm .bigm-karte > a {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.bigm .bigm-karte-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 160px;
	padding: 0 14px;
}

.bigm .bigm-karte-logo img {
	max-height: 156px;
}

.bigm .bigm-karte-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	padding: 18px;
	border-top: 1px solid #eeeae5;
}

.bigm .bigm-karte h3.bigm-karte-name {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	overflow-wrap: anywhere;
	color: var(--bigm-ink);
}

.bigm .bigm-karte-branche {
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 500;
	color: var(--bigm-grau);
}

.bigm .bigm-karte-link {
	margin-top: auto;
	padding-top: 10px;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.bigm .bigm-leer {
	padding: 55px 24px;
	border-radius: 12px;
	background: var(--bigm-papier);
	text-align: center;
}

.bigm .bigm-leer p {
	margin: 0 0 18px;
	padding: 0;
}

.bigm .bigm-seiten {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 36px;
}

.bigm .bigm-seiten button {
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--bigm-rand);
	border-radius: 200px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

@media (hover: hover) {
	.bigm .bigm-seiten button:hover {
		border-color: var(--bigm-ink);
	}
}

.bigm .bigm-seiten button[aria-current="page"] {
	border-color: var(--bigm-ink);
	background: var(--bigm-ink);
	color: #fff;
}

.bigm .bigm-seiten button:disabled {
	border-color: var(--bigm-rand);
	color: #a7a39e;
	cursor: default;
}

.bigm .bigm-seiten-luecke {
	align-self: center;
	min-width: 20px;
	text-align: center;
	color: var(--bigm-grau);
}

/* Profil */

/* While a profile is open, the page behind stays put. The room of the scrollbar is kept, so nothing
   jumps, and takes the colour of the dimmed page. */
html.bigm-profil-offen {
	overflow: hidden;
	scrollbar-gutter: stable;
	background-color: #605f5d;
}

dialog.bigm-profil {
	position: fixed;
	inset: 0;
	width: min(650px, calc(100% - 32px));
	max-width: none;
	height: fit-content;
	max-height: 88dvh;
	margin: auto;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 15px;
	background: var(--bigm-papier);
	box-shadow: 0 20px 80px #0004;
	color: var(--bigm-ink);
}

dialog.bigm-profil[open] {
	display: flex;
	flex-direction: column;
	animation: bigm-profil-ein .22s ease;
}

dialog.bigm-profil::backdrop {
	background: #161514aa;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

@keyframes bigm-profil-ein {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
}

.bigm .bigm-profil-rahmen {
	overflow-y: auto;
	overscroll-behavior: contain;
}

.bigm .bigm-profil-zu {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 1;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--bigm-linie);
	border-radius: 200px;
	background: #fff linear-gradient(currentColor, currentColor) center / 16px 1.5px no-repeat;
	transform: rotate(45deg);
}

.bigm .bigm-profil-zu::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1.5px;
	height: 16px;
	margin: -8px 0 0 -.75px;
	background: currentColor;
}

.bigm .bigm-profil-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 250px;
	padding: 44px 70px;
	background: #fff;
}

.bigm .bigm-profil-logo img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.bigm .bigm-profil-logo .bigm-wortmarke {
	font-size: 44px;
}

.bigm .bigm-profil-logo .bigm-wortmarke--lang {
	font-size: 30px;
}

.bigm .bigm-profil-inhalt {
	padding: 34px 38px 38px;
}

.bigm .bigm-eyebrow {
	margin: 0 0 12px;
	padding: 0;
	font-size: 11px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: .17em;
	text-transform: uppercase;
	color: var(--bigm-grau);
}

.bigm h2.bigm-profil-name {
	margin: 0 0 16px;
	padding: 0;
	font-family: var(--bigm-serif);
	font-size: clamp(32px, 7vw, 46px);
	line-height: 1.05;
	font-weight: 400;
	letter-spacing: -.01em;
	text-transform: none;
	overflow-wrap: anywhere;
	color: var(--bigm-ink);
}

.bigm .bigm-profil-branche {
	margin: 0;
	padding: 0;
}

.bigm .bigm-tag {
	display: inline-block;
	padding: 5px 11px;
	border: 1px solid var(--bigm-linie);
	border-radius: 20px;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 600;
}

.bigm .bigm-profil-infos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 28px;
	margin: 28px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--bigm-linie);
}

.bigm .bigm-profil-infos dt {
	margin: 0 0 6px;
	padding: 0;
	font-size: 11px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bigm-grau);
}

.bigm .bigm-profil-infos dd {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.5;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.bigm .bigm-profil-infos dd a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.bigm .bigm-profil-aktionen {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.bigm .bigm-profil-aktionen:empty {
	display: none;
}

@media (max-width: 1000px) {
	.bigm .bigm-raster {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 690px) {
	.bigm .bigm-ticker-spur > li {
		width: 152px;
	}

	.bigm .bigm-ticker-spur a {
		height: 95px;
	}

	.bigm .bigm-ticker-spur .bigm-wortmarke {
		font-size: 17px;
	}

	.bigm .bigm-ticker-spur .bigm-wortmarke--lang {
		font-size: 12px;
	}

	.bigm .bigm-kategorie > summary {
		gap: 12px;
		padding: 18px 2px;
		font-size: 18px;
	}

	.bigm .bigm-kategorie-anzahl {
		font-size: 13px;
	}

	.bigm .bigm-kacheln {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		padding: 2px 0 26px;
	}

	.bigm .bigm-filter {
		padding: 16px;
	}

	.bigm .bigm-filter-felder {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.bigm .bigm-filter .bigm-feld input,
	.bigm .bigm-filter .bigm-feld select {
		font-size: 16px;
	}

	/* One row to swipe through, running out to the edge of the panel. */
	.bigm .bigm-alphabet {
		flex-wrap: nowrap;
		gap: 6px;
		margin: 14px -16px -4px -4px;
		padding: 4px 16px 4px 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.bigm .bigm-alphabet::-webkit-scrollbar {
		display: none;
	}

	.bigm .bigm-alphabet button {
		flex: none;
		min-width: 40px;
		min-height: 40px;
		font-size: 13px;
	}

	.bigm .bigm-ansicht button {
		min-height: 38px;
	}

	.bigm .bigm-raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.bigm .bigm-karte-logo {
		height: 112px;
		padding: 0 8px;
	}

	.bigm .bigm-karte-logo img {
		max-height: 108px;
	}

	.bigm .bigm-karte-logo .bigm-wortmarke {
		font-size: 21px;
	}

	.bigm .bigm-karte-logo .bigm-wortmarke--lang {
		font-size: 14px;
	}

	.bigm .bigm-karte-text {
		padding: 14px 12px;
	}

	.bigm .bigm-karte h3.bigm-karte-name {
		font-size: 15px;
	}

	.bigm .bigm-seiten {
		gap: 5px;
	}

	.bigm .bigm-seiten button {
		min-width: 38px;
		height: 38px;
		padding: 0 6px;
	}

	/* The side padding keeps wide logos clear of the close button. */
	.bigm .bigm-profil-logo {
		height: 190px;
		padding: 34px 62px;
	}

	.bigm .bigm-profil-logo .bigm-wortmarke {
		font-size: 32px;
	}

	.bigm .bigm-profil-logo .bigm-wortmarke--lang {
		font-size: 22px;
	}

	.bigm .bigm-profil-inhalt {
		padding: 26px 22px 28px;
	}

	.bigm .bigm-profil-infos {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.bigm .bigm-profil-aktionen .bigm-knopf {
		flex: 1 1 100%;
	}
}

/* At 15px the longest words that stay whole ("Commerzbank") are wider than a column of the narrowest phones. */
@media (max-width: 359px) {
	.bigm .bigm-karte h3.bigm-karte-name {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bigm *,
	dialog.bigm-profil[open] {
		animation: none !important;
		transition: none !important;
	}
}

.bigm .bigm-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
