/* KIMMA How-To overlay module */

.kimma-how [hidden] {
	display: none !important;
}

.kimma-how {
	height: 100vh;
	height: 100dvh;
	inset: 0;
	position: fixed;
	width: 100%;
	z-index: 100000;
}

.kimma-how:not([hidden]) {
	display: block;
}

.kimma-how__backdrop {
	background: rgba(31, 41, 55, 0.62);
	inset: 0;
	position: absolute;
}

.kimma-how__dialog {
	background: var(--kimma-bg, #f9fafb);
	border-radius: 1.25rem;
	box-shadow: 0 24px 80px rgba(65, 70, 157, 0.28);
	display: flex;
	flex-direction: column;
	height: calc(100vh - 2rem);
	left: 50%;
	max-height: calc(100vh - 2rem);
	max-width: 980px;
	overflow: hidden;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 1.5rem);
}

.kimma-how__close {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 999px;
	box-shadow: var(--kimma-shadow);
	color: var(--kimma-indigo);
	cursor: pointer;
	display: flex;
	font-size: 1.75rem;
	height: 2.5rem;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 0.85rem;
	top: 0.85rem;
	width: 2.5rem;
	z-index: 6;
}

.kimma-how__shell {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	padding: 3.25rem 1.25rem 1rem;
	position: relative;
}

.kimma-how.is-walkthrough .kimma-how__shell {
	padding-top: 0.75rem;
}

.kimma-how.is-splash .kimma-how__shell,
.kimma-how.is-intro .kimma-how__shell {
	padding: 3.25rem 1.25rem 1.25rem;
}

/* Intro */
.kimma-how__intro:not([hidden]) {
	display: block;
}

.kimma-how__intro {
	margin: 0 auto;
	max-width: 42rem;
	overflow: auto;
	padding: 0.5rem 0 1rem;
	text-align: center;
}

.kimma-how__intro-title {
	color: var(--kimma-indigo);
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 1rem;
	text-wrap: balance;
}

.kimma-how__intro-lead {
	color: var(--kimma-grey);
	font-size: 1.05rem;
	line-height: 1.55;
	margin: 0 auto 1.25rem;
	max-width: 36rem;
}

.kimma-how__intro-hint {
	align-items: center;
	color: var(--kimma-indigo-light);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.5rem;
	justify-content: center;
	margin: 0 0 1.75rem;
}

.kimma-how__intro-hint::before {
	content: "→";
}

.kimma-how__intro-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.kimma-how__btn {
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0.85rem 1.35rem;
}

.kimma-how__btn--primary {
	background: var(--kimma-indigo);
	color: #fff;
}

.kimma-how__btn--ghost {
	background: transparent;
	color: var(--kimma-indigo);
}

/* Splash — Overlay, kein Layout-Reflow */
.kimma-how__splash {
	align-items: center;
	background: var(--kimma-bg, #f9fafb);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 1.5rem;
	position: absolute;
	text-align: center;
	z-index: 4;
}

.kimma-how__splash-inner {
	max-width: 34rem;
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kimma-how.is-splash-full .kimma-how__splash-inner {
	transform: scale(1);
}

.kimma-how.is-splash-compact .kimma-how__splash-inner {
	transform: scale(0.88);
}

.kimma-how__splash-title {
	color: var(--kimma-indigo);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 0.75rem;
	transition: font-size 0.4s ease;
}

.kimma-how.is-splash-full .kimma-how__splash-title {
	font-size: clamp(2rem, 5vw, 2.75rem);
}

.kimma-how.is-splash-compact .kimma-how__splash-title {
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	margin-bottom: 0.5rem;
}

.kimma-how__splash-text {
	color: var(--kimma-grey);
	font-size: 1.05rem;
	line-height: 1.5;
	margin: 0;
	transition: font-size 0.4s ease;
}

.kimma-how.is-splash-compact .kimma-how__splash-text {
	font-size: 0.95rem;
}

/* Themen oben */
.kimma-how__topics {
	background: var(--kimma-bg, #f9fafb);
	border-bottom: 1px solid rgba(65, 70, 157, 0.1);
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	padding: 3.35rem 1rem 0.75rem;
}

.kimma-how__topic {
	background: #fff;
	border: 1px solid rgba(65, 70, 157, 0.12);
	border-radius: 999px;
	color: var(--kimma-indigo);
	cursor: pointer;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 0.45rem 0.85rem;
}

.kimma-how__topic.is-active,
.kimma-how__topic:hover {
	background: var(--kimma-lavender);
	border-color: transparent;
}

/* Walkthrough */
.kimma-how__walkthrough {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
}

.kimma-how__stage-wrap {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
	max-width: 100%;
	min-height: 0;
	position: relative;
	width: 100%;
}

.kimma-how__callout {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 16px 48px rgba(65, 70, 157, 0.16);
	flex-shrink: 0;
	max-width: 24rem;
	padding: 1rem 1.1rem;
	width: 100%;
}

.kimma-how__callout-head {
	align-items: center;
	display: flex;
	gap: 0.65rem;
	margin-bottom: 0.55rem;
}

.kimma-how__callout-num {
	align-items: center;
	background: var(--kimma-lavender);
	border-radius: 50%;
	color: var(--kimma-indigo);
	display: inline-flex;
	flex: 0 0 2rem;
	font-size: 0.85rem;
	font-weight: 800;
	height: 2rem;
	justify-content: center;
	width: 2rem;
}

.kimma-how__callout-label {
	color: var(--kimma-grey);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.kimma-how__callout-title {
	color: var(--kimma-indigo);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 0.45rem;
}

.kimma-how__callout-body {
	color: var(--kimma-grey);
	font-size: 0.92rem;
	line-height: 1.5;
	margin: 0;
}

.kimma-how__stage {
	--kimma-how-phone-w: 418px;
	--kimma-how-phone-h: 872px;
	--kimma-how-scale: 1;
	display: grid;
	flex: 0 0 auto;
	height: calc(var(--kimma-how-phone-h) * var(--kimma-how-scale));
	min-height: 0;
	overflow: hidden;
	place-items: start;
	width: calc(var(--kimma-how-phone-w) * var(--kimma-how-scale));
}

.kimma-how__phone {
	height: var(--kimma-how-phone-h);
	transform: scale(var(--kimma-how-scale));
	transform-origin: top left;
	width: var(--kimma-how-phone-w);
}

.kimma-how__screen {
	background: #10263f;
	border-radius: 2.4rem;
	box-shadow: 0 26px 60px rgba(65, 70, 157, 0.24);
	height: 844px;
	margin: 14px;
	overflow: hidden;
	position: relative;
	width: 390px;
}

.kimma-how__shot {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
	z-index: 0;
}

.kimma-how__status-time {
	height: var(--kimma-how-time-h, 22px);
	left: var(--kimma-how-time-x, 41px);
	margin: 0;
	padding: 0;
	pointer-events: none;
	position: absolute;
	top: var(--kimma-how-time-y, 18px);
	width: var(--kimma-how-time-w, 58px);
	z-index: 2;
}

.kimma-how__status-time-bg {
	background: var(--kimma-how-time-bg, #f8f8f8);
	border-radius: 4px;
	height: var(--kimma-how-time-h, 22px);
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.kimma-how__status-time-value {
	color: #000;
	display: block;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	height: var(--kimma-how-time-h, 22px);
	letter-spacing: -0.02em;
	line-height: var(--kimma-how-time-h, 22px);
	position: relative;
	text-align: left;
	white-space: nowrap;
}

.kimma-how__overlay {
	inset: 0;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.kimma-how__ring {
	border: 3px solid var(--kimma-lavender);
	margin: 0;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
	z-index: 3;
}

.kimma-how__ring.is-exact {
	box-sizing: border-box;
}

.kimma-how__overlay[hidden] {
	display: none !important;
}

.kimma-how__connector {
	height: 100%;
	inset: 0;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	width: 100%;
	z-index: 5;
}

.kimma-how__controls {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	gap: 1rem;
	justify-content: center;
	padding: 0.75rem 0 0.25rem;
	position: relative;
	z-index: 2;
}

.kimma-how__nav {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(65, 70, 157, 0.12);
	color: var(--kimma-indigo);
	cursor: pointer;
	display: flex;
	flex: 0 0 3rem;
	height: 3rem;
	justify-content: center;
	width: 3rem;
}

.kimma-how__nav--next {
	background: var(--kimma-indigo);
	color: #fff;
}

.kimma-how__nav:disabled {
	cursor: default;
	opacity: 0.35;
}

.kimma-how__nav[hidden] {
	display: none !important;
}

.kimma-how__try {
	align-items: center;
	background: var(--kimma-indigo);
	border-radius: 999px;
	box-shadow: 0 2px 10px rgba(65, 70, 157, 0.18);
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.95rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 3rem;
	padding: 0.65rem 1.15rem;
	text-decoration: none !important;
	white-space: nowrap;
}

.kimma-how__try:hover {
	filter: brightness(1.06);
}

.kimma-how__try[hidden] {
	display: none !important;
}

.kimma-how__progress {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-width: 12rem;
}

.kimma-how__progress-label {
	color: var(--kimma-grey);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0;
	text-transform: uppercase;
}

.kimma-how__dots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
	max-width: 18rem;
}

.kimma-how__dot {
	background: rgba(65, 70, 157, 0.18);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 0.55rem;
	padding: 0;
	transition: all 0.3s ease;
	width: 0.55rem;
}

.kimma-how__dot.is-active {
	background: var(--kimma-indigo);
	width: 1.4rem;
}

html.kimma-how-open,
body.kimma-how-open {
	overflow: hidden;
}

@media (min-width: 782px) {
	.kimma-how.is-walkthrough .kimma-how__shell {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.kimma-how__stage-wrap {
		align-items: center;
		flex-direction: row;
		gap: 1.5rem;
		justify-content: center;
		margin-inline: auto;
		max-width: 100%;
	}

	.kimma-how__callout {
		flex: 0 0 17.5rem;
		max-width: 17.5rem;
		width: 17.5rem;
	}

	.kimma-how__stage {
		flex: 0 0 auto;
		place-items: start;
	}
}

@media (max-width: 781px) {
	.kimma-how__dialog {
		border-radius: 0;
		height: 100dvh;
		inset: 0;
		left: 0;
		max-height: 100dvh;
		max-width: none;
		right: 0;
		top: 0;
		transform: none;
		width: 100%;
	}

	.kimma-how.is-walkthrough .kimma-how__shell {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.kimma-how__stage-wrap {
		gap: 0.5rem;
		justify-content: flex-start;
	}

	.kimma-how__stage-wrap.is-callout-below .kimma-how__stage {
		order: 1;
	}

	.kimma-how__stage-wrap.is-callout-below .kimma-how__callout {
		order: 2;
	}

	.kimma-how__callout {
		max-width: none;
		padding: 0.85rem 0.95rem;
	}

	.kimma-how__callout-title {
		font-size: 1.05rem;
	}

	.kimma-how__callout-body {
		font-size: 0.88rem;
	}

	.kimma-how__stage {
		margin-inline: auto;
		place-items: start;
		width: calc(var(--kimma-how-phone-w) * var(--kimma-how-scale));
	}

	.kimma-how__phone {
		transform-origin: top left;
	}

	.kimma-how__topics {
		gap: 0.4rem;
		padding-left: 0.65rem;
		padding-right: 0.65rem;
		padding-top: 3.5rem;
	}

	.kimma-how__topic {
		font-size: 0.76rem;
		padding: 0.4rem 0.7rem;
	}

	.kimma-how__controls {
		padding-bottom: 0.5rem;
		padding-top: 0.35rem;
	}

	.kimma-how__try {
		font-size: 0.85rem;
		min-height: 2.75rem;
		padding: 0.55rem 0.9rem;
	}

	.kimma-how__progress {
		min-width: 0;
	}

	.kimma-how__dots {
		max-width: 14rem;
	}
}
