/* Zähler [fgmz_jahre_zaehler]: Zahl und „Jahre“ im Kreis, Bogen von links unten nach rechts oben (etwa 150°). */
.fgmz-zaehler {
	position: relative;
	display: grid;
	place-content: center;
	justify-items: center;
	width: 150px;
	aspect-ratio: 1;
	margin: 8px auto 0;
	color: var(--e-global-color-accent, #4E830E);
}
.fgmz-zaehler-bogen {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.fgmz-zaehler-bogen path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}
.fgmz-zaehler-zahl {
	font-family: "Forum", serif;
	font-size: 54px;
	line-height: 1;
	font-variant-numeric: lining-nums tabular-nums;
}
.fgmz-zaehler-label {
	margin-top: 6px;
	font-family: var(--e-global-typography-text-font-family, "DM Sans"), sans-serif;
	font-size: 13px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--e-global-color-text, #5D5454);
}

/* Startzustand, nur mit JavaScript (zaehler.js setzt .ist-bereit, dann .laeuft) */
.fgmz-zaehler.ist-bereit .fgmz-zaehler-bogen path { stroke-dashoffset: 1; }
.fgmz-zaehler.ist-bereit .fgmz-zaehler-label { opacity: 0; transform: translateY(4px); }
.fgmz-zaehler.ist-bereit .fgmz-zaehler-zahl { opacity: .35; }
.fgmz-zaehler.laeuft .fgmz-zaehler-bogen path {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1.6s cubic-bezier(.22, .61, .36, 1);
}
.fgmz-zaehler.laeuft .fgmz-zaehler-label {
	opacity: 1;
	transform: none;
	transition: opacity .8s ease .3s, transform .8s ease .3s;
}
.fgmz-zaehler.laeuft .fgmz-zaehler-zahl {
	opacity: 1;
	transition: opacity .6s ease;
}
