@font-face {
	font-family: "Manrope";
	font-weight: 400 800;
	src: url("fonts/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-weight: 400 800;
	src: url("fonts/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113;
}
@font-face {
	font-family: "Inter";
	font-weight: 300 600;
	src: url("fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-weight: 300 600;
	src: url("fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113;
}

html, body {
	margin: 0;
	height: 100%;
	background: #ECE9E3;
	overflow: hidden;
}
#stage {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1080px;
	height: 1080px;
	overflow: hidden;
	transform: translate(-50%, -50%);
	transform-origin: 50% 50%;
	font-family: "Inter", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	--ink: #1b1e23;
	--mute: #6d727a;
	--accent: #2f5bea;
	--line: #dcd7ce;
}
.render #stage {
	left: 0;
	top: 0;
	transform: none;
}
canvas {
	display: block;
	width: 1080px;
	height: 1080px;
}

/* Kopfzeile */
#brand {
	position: absolute;
	left: 52px;
	top: 46px;
	display: flex;
	align-items: baseline;
	gap: 14px;
	color: var(--ink);
}
#brand b {
	font-family: "Manrope", sans-serif;
	font-weight: 600;
	font-size: 26px;
	letter-spacing: -0.02em;
}
#brand span {
	font-size: 16px;
	color: var(--mute);
}

/* Leiste unten: Schritt, ein Satz, Fortschritt */
#hud {
	position: absolute;
	left: 40px;
	right: 40px;
	bottom: 40px;
	height: 214px;
	box-sizing: border-box;
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 1px 0 rgba(27, 30, 35, 0.04), 0 24px 60px rgba(27, 30, 35, 0.1);
	color: var(--ink);
	opacity: 0;
}
.h-proc,
.h-kpi {
	position: absolute;
	inset: 0;
	padding: 26px 32px 0;
}
.h-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
}
.h-top {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: "Manrope", sans-serif;
	font-weight: 600;
	font-size: 30px;
	letter-spacing: -0.015em;
	line-height: 1.15;
}
.h-n {
	display: inline-grid;
	place-items: center;
	height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}
.h-d {
	margin: 8px 0 0;
	font-size: 18px;
	line-height: 1.4;
	color: #4a4f57;
}
.h-meta {
	flex: none;
	padding-top: 6px;
	font-size: 16px;
	color: var(--mute);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.h-meta b {
	font-weight: 600;
	color: var(--ink);
}
.h-steps {
	position: absolute;
	left: 32px;
	right: 32px;
	bottom: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
}
.h-steps li {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: 8px;
}
.h-steps li span {
	font-size: 14px;
	font-weight: 500;
	color: #a29d95;
	white-space: nowrap;
}
.h-steps li.is-active span,
.h-steps li.is-done span {
	color: var(--ink);
}
.h-track {
	position: absolute;
	left: calc(100% / 12);
	right: calc(100% / 12);
	top: 10px;
	height: 2px;
	border-radius: 1px;
	background: var(--line);
	overflow: hidden;
}
.h-fill {
	position: absolute;
	inset: 0;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
}
.h-dot {
	position: relative;
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid #cfc9bf;
	background: #fff;
	display: grid;
	place-items: center;
}
.h-dot > *,
.h-dot::before {
	grid-area: 1 / 1;
}
.h-dot svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: #fff;
	stroke-width: 2.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0;
}
.h-pulse {
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 2px solid var(--accent);
	opacity: 0;
}
.is-active .h-dot {
	border-color: var(--accent);
}
.is-active .h-dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}
.is-done .h-dot {
	background: var(--accent);
	border-color: var(--accent);
}
.is-done .h-dot svg {
	opacity: 1;
}

/* Kennzahlen am Schluss */
.h-kpi {
	opacity: 0;
}
.kpis {
	position: absolute;
	left: 32px;
	right: 32px;
	bottom: 30px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.kpis div {
	display: grid;
	gap: 6px;
	padding-top: 16px;
	border-top: 1px solid rgba(27, 30, 35, 0.12);
}
.kpis b {
	font-family: "Manrope", sans-serif;
	font-weight: 600;
	font-size: 44px;
	letter-spacing: -0.02em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.kpis span {
	font-size: 16px;
	color: #4a4f57;
}

/* Marken im Bild */
#labels {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.pill {
	position: absolute;
	left: 0;
	top: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: 0 8px 22px rgba(27, 30, 35, 0.12);
	opacity: 0;
	transform-origin: 50% 100%;
}
.pill i {
	font-style: normal;
	font-weight: 400;
	color: var(--mute);
	margin-left: 8px;
}
.pill.acc {
	background: var(--accent);
	color: #fff;
}
.pill.acc i {
	color: rgba(255, 255, 255, 0.8);
}
.pill.num b {
	color: var(--accent);
	font-weight: 600;
	margin-right: 8px;
	font-variant-numeric: tabular-nums;
}
