/* krippi.net – Design 2026
   Farben und Schriften wie im Spiel (home-doku/ui/theme/palette.gd).
   Alles lokal: keine Google Fonts, keine Cookies, keine Inhalte von Dritten, kein JavaScript nötig. */

@font-face {
	font-family: "Fredoka";
	src: url("/fonts/Fredoka-Variable.ttf") format("truetype");
	font-weight: 300 700;
	font-display: swap;
}
@font-face {
	font-family: "Nunito";
	src: url("/fonts/Nunito-Variable.ttf") format("truetype");
	font-weight: 200 1000;
	font-display: swap;
}

@view-transition { navigation: auto; }

:root {
	color-scheme: light;
	--bg: #fbf1f4;
	--ink: #3b2340;
	--ink-2: #6f5a75;
	--plum: #3b2340;
	--plum-2: #4a2b50;
	--on-plum: #fbeef3;
	--on-plum-2: #f3c3d5;
	--accent: #f05c86;
	--accent-edge: #c9466c;
	--accent-ink: #c73a63;
	--on-accent: #2a0f1c;
	--gem: #9b5de5;
	--star: #f5c84c;
	--mint: #5db582;
	--card: #ffffff;
	--line: #ecd8e1;
	--soft: #f8e6ed;

	--radius: 28px;
	--wrap: 1180px;
	--shadow: 0 1px 0 rgba(59, 35, 64, .04), 0 12px 32px -12px rgba(59, 35, 64, .18);
	--shadow-l: 0 2px 0 rgba(59, 35, 64, .04), 0 40px 80px -24px rgba(59, 35, 64, .35);
	--display: "Fredoka", ui-rounded, system-ui, sans-serif;
	--body: "Nunito", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 17px/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

/* weicher Farbverlauf + feines Korn im Hintergrund */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(60vmax 50vmax at 5% 0%, #ffd6e4 0%, transparent 60%),
		radial-gradient(55vmax 45vmax at 100% 5%, #e6dcfb 0%, transparent 62%),
		radial-gradient(55vmax 45vmax at 90% 100%, #ffe5d3 0%, transparent 60%),
		radial-gradient(45vmax 40vmax at 0% 100%, #dcefff 0%, transparent 60%),
		var(--bg);
}
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: .35;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .23 0 0 0 0 .14 0 0 0 0 .25 0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: #ffd0df; color: var(--ink); }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0;
	text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 860px); margin-inline: auto; }

/* ------------------------------------------------------------ Kopfzeile */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 16px; color: #fff; }

.site-header { position: sticky; top: 14px; z-index: 50; margin-top: 14px; }
.nav {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 8px 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .62);
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: 0 1px 0 rgba(59, 35, 64, .04), 0 18px 40px -22px rgba(59, 35, 64, .35);
	backdrop-filter: blur(18px) saturate(1.6);
	-webkit-backdrop-filter: blur(18px) saturate(1.6);
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font: 600 1.3rem/1 var(--display);
	color: var(--ink);
	text-decoration: none;
	letter-spacing: -0.02em;
	margin-right: auto;
}
.brand img { width: 34px; height: 34px; }
.brand:hover { color: var(--ink); }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 700;
	font-size: .95rem;
}
.nav-links a:hover { background: rgba(240, 92, 134, .1); color: var(--accent-ink); }
.nav-links a[aria-current="page"] { background: var(--plum); color: #fff; }
@media (max-width: 800px) { .nav-links { display: none; } }

/* ------------------------------------------------------------ Knöpfe */
.btn {
	--b: var(--accent);
	--e: var(--accent-edge);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: 999px;
	border: 0;
	background: var(--b);
	color: var(--on-accent);
	font: 600 1.08rem/1 var(--display);
	text-decoration: none;
	box-shadow: 0 5px 0 var(--e);
	transition: transform .15s ease, box-shadow .15s ease;
	cursor: pointer;
	white-space: nowrap;
}
.btn:hover { color: var(--on-accent); transform: translateY(-2px); box-shadow: 0 7px 0 var(--e); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--e); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-small { padding: 10px 18px; font-size: .98rem; box-shadow: 0 4px 0 var(--e); }
.btn-ghost { --b: rgba(255, 255, 255, .75); --e: #e8d3dc; color: var(--ink); }
.btn-ghost:hover { color: var(--ink); }
.btn-dark { --b: var(--plum); --e: #22122a; color: #fff; }
.btn-dark:hover { color: #fff; }

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .7);
	border: 1px solid #fff;
	box-shadow: 0 6px 18px -10px rgba(59, 35, 64, .3);
	font-weight: 800;
	font-size: .88rem;
	color: var(--ink);
}
.chip .pulse {
	width: 10px; height: 10px; border-radius: 50%;
	background: var(--mint);
	animation: pulse 2.2s infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(93, 181, 130, .55); }
	70% { box-shadow: 0 0 0 10px rgba(93, 181, 130, 0); }
	100% { box-shadow: 0 0 0 0 rgba(93, 181, 130, 0); }
}

.eyebrow {
	font: 800 .8rem/1.2 var(--body);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent-ink);
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--ink-2); }
.todo { background: #fff1b8; border-radius: 6px; padding: 0 5px; box-shadow: inset 0 -2px 0 #f5c84c; color: #5a4300; }

.grad {
	background: linear-gradient(100deg, var(--accent) 0%, #f0932f 50%, var(--gem) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ------------------------------------------------------------ Abschnitte */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section.flush { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); margin: 14px 0 18px; }

/* ------------------------------------------------------------ Hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero-grid {
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); margin: 22px 0 24px; letter-spacing: -0.035em; line-height: .98; }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--ink-2); font-weight: 700; font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--mint); }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-copy { text-align: center; }
	.hero .lead { margin-inline: auto; }
	.hero-cta, .hero-meta { justify-content: center; }
}

/* Handy-Rahmen */
.phone {
	--w: 290px;
	position: relative;
	width: var(--w);
	aspect-ratio: 640 / 1385;
	padding: calc(var(--w) * .033);
	border-radius: calc(var(--w) * .16);
	background: linear-gradient(145deg, #4b3150, #24142a 55%, #3b2340);
	box-shadow: var(--shadow-l), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
	flex: none;
}
.phone img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: calc(var(--w) * .13);
	background: var(--bg);
}
.phone::after {
	content: "";
	position: absolute;
	top: calc(var(--w) * .062);
	left: 50%;
	translate: -50% 0;
	width: 29%;
	height: calc(var(--w) * .085);
	border-radius: 999px;
	background: #140a17;
}

.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.stage .phone-front { --w: clamp(250px, 24vw, 300px); z-index: 2; rotate: 4deg; translate: 14% 0; }
.stage .phone-back { --w: clamp(210px, 20vw, 250px); position: absolute; left: 0; top: 12%; rotate: -9deg; z-index: 1; }
.stage .blob {
	position: absolute;
	inset: 8% 2% 6% 8%;
	border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
	background: radial-gradient(circle at 30% 30%, #ffc2d6, #f7a7c3 40%, #c9b3f4 100%);
	opacity: .75;
	animation: morph 14s ease-in-out infinite alternate;
}
@keyframes morph {
	0% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; rotate: 0deg; }
	100% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; rotate: 12deg; }
}
.float {
	position: absolute;
	z-index: 3;
	width: 84px;
	height: 84px;
	padding: 14px;
	border-radius: 26px;
	background: rgba(255, 255, 255, .8);
	border: 1px solid #fff;
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	animation: bob 6s ease-in-out infinite;
}
.float img { width: 100%; height: 100%; }
.float.f1 { top: 4%; right: 2%; }
.float.f2 { bottom: 22%; right: -2%; animation-delay: -2s; width: 74px; height: 74px; }
.float.f3 { bottom: 3%; left: 12%; animation-delay: -4s; }
.float.f4 { top: 1%; left: 24%; animation-delay: -1s; width: 68px; height: 68px; }
@keyframes bob {
	0%, 100% { translate: 0 0; rotate: -3deg; }
	50% { translate: 0 -14px; rotate: 3deg; }
}
.speech {
	position: absolute;
	z-index: 4;
	left: -4%;
	bottom: 24%;
	display: flex;
	align-items: flex-end;
	gap: 0;
	animation: bob 7s ease-in-out infinite;
	animation-delay: -3s;
}
.speech img { width: 92px; margin-right: -14px; position: relative; z-index: 1; }
.speech p {
	max-width: 200px;
	padding: 14px 18px;
	border-radius: 22px 22px 22px 6px;
	background: var(--plum);
	color: #fff;
	font: 600 1rem/1.3 var(--display);
	box-shadow: var(--shadow-l);
	margin-bottom: 52px;
}
.speech small { display: block; color: var(--on-plum-2); font: 800 .74rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 900px) {
	.stage { min-height: 600px; }
	.stage .phone-back { left: 10%; }
	.stage .phone-front { translate: 10% 0; }
}
@media (max-width: 560px) {
	.stage { min-height: 560px; }
	.stage .phone-back { display: none; }
	.stage .phone-front { rotate: 2deg; translate: 8% 0; }
	.speech { left: -2%; bottom: 6%; }
	.speech img { width: 74px; }
	.speech p { max-width: 160px; font-size: .9rem; margin-bottom: 40px; }
	.float.f3, .float.f4 { display: none; }
}

/* ------------------------------------------------------------ Laufband */
.marquee {
	background: var(--plum);
	color: var(--on-plum);
	padding: 20px 0;
	overflow: hidden;
	rotate: -1.5deg;
	margin: 0 -20px;
	box-shadow: var(--shadow-l);
}
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span {
	display: inline-flex;
	align-items: center;
	gap: 40px;
	padding-right: 40px;
	font: 600 clamp(1.3rem, 2.4vw, 1.8rem)/1 var(--display);
	white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ Regeln */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rule {
	display: flex;
	flex-direction: column;
	padding: 30px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .8);
	border: 1px solid #fff;
	box-shadow: var(--shadow);
}
.rule .num {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 15px;
	background: var(--plum);
	color: #fff;
	font: 600 1.25rem/1 var(--display);
	margin-bottom: 22px;
}
.rule h3 { font-size: 1.55rem; margin-bottom: 10px; }
.rule p { color: var(--ink-2); }
.rule .art { margin-top: auto; padding-top: 26px; display: flex; justify-content: center; }
.rules-note { text-align: center; margin-top: 34px; font: 600 clamp(1.2rem, 2vw, 1.5rem)/1.3 var(--display); }
.rules-note span { color: var(--accent-ink); }
@media (max-width: 900px) { .rules { grid-template-columns: 1fr; } }

/* kleine Rätsel-Grafiken */
.mini {
	--n: 4;
	display: grid;
	grid-template-columns: repeat(var(--n), 40px);
	gap: 4px;
	padding: 6px;
	border-radius: 14px;
	background: var(--plum);
}
.mini i {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 7px;
	background: var(--c, #f7d9e3);
	font: 700 1rem/1 var(--display);
	font-style: normal;
	color: var(--accent-edge);
}
.mini i img { width: 30px; height: 30px; }
.mini i.x::before { content: "✕"; opacity: .7; }
.a { --c: #f7d9e3; } .b { --c: #e4dcf4; } .c { --c: #fbe3d6; } .d { --c: #dcecf3; }
.mini i.bad { box-shadow: inset 0 0 0 3px var(--accent); }
.with-nums { display: grid; grid-template-columns: auto auto; gap: 4px 8px; align-items: center; }
.with-nums .top { display: grid; grid-template-columns: repeat(4, 40px); gap: 4px; padding: 0 6px; grid-column: 2; }
.with-nums .side { display: grid; grid-template-rows: repeat(4, 40px); gap: 4px; padding: 6px 0; }
.with-nums b { display: grid; place-items: center; font: 600 1.1rem/1 var(--display); color: var(--mint); }

/* ------------------------------------------------------------ Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
	position: relative;
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	min-height: 290px;
	padding: 30px;
	border-radius: var(--radius);
	background: var(--card);
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: var(--shadow);
	overflow: hidden;
	isolation: isolate;
}
.tile h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin-bottom: 10px; }
.tile p { color: var(--ink-2); }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.dark { background: var(--plum); color: #fff; border-color: var(--plum-2); }
.tile.dark p { color: var(--on-plum-2); }
.tile.dark .eyebrow { color: #ff9ab8; }
.tile.pink { background: linear-gradient(160deg, #ffe8ef, #fbd0de); }
.tile.lav { background: linear-gradient(160deg, #f3eefc, #ddd2f6); }
.tile.sun { background: linear-gradient(160deg, #fff8e6, #fde6b4); }
.tile.sky { background: linear-gradient(160deg, #eef6fb, #cfe5f1); }
.tile.peach { background: linear-gradient(160deg, #fff3eb, #fbd8c3); }
.tile .icon {
	width: 58px; height: 58px;
	border-radius: 18px;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, .85);
	margin-bottom: 20px;
	box-shadow: 0 6px 16px -8px rgba(59, 35, 64, .3);
	flex: none;
}
.tile .icon img, .tile .icon svg { width: 34px; height: 34px; }
.tile.dark .icon { background: var(--plum-2); color: #ff9ab8; }

.tile-map { padding-right: 0; padding-bottom: 0; flex-direction: row; gap: 24px; }
.tile-map .copy { flex: 1; padding-bottom: 30px; min-width: 0; display: flex; flex-direction: column; }
.tile-map .crop {
	width: 44%;
	flex: none;
	align-self: flex-end;
	border-radius: 24px 0 0 0;
	overflow: hidden;
	box-shadow: -10px -10px 40px -20px rgba(59, 35, 64, .6);
	height: 340px;
}
.tile-map .crop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.big-number {
	font: 600 clamp(3.4rem, 6vw, 5rem)/.9 var(--display);
	letter-spacing: -0.04em;
	margin: 6px 0 14px;
}
.tile.dark .big-number { color: #fff; }
.tile .eyebrow + h3 { margin-top: 12px; }
.big-number small { font-size: .36em; letter-spacing: 0; color: var(--on-plum-2); margin-left: 6px; }

.tile-mimi .mimi {
	position: absolute;
	right: -6px;
	bottom: -14px;
	width: 44%;
	max-width: 190px;
	z-index: -1;
	rotate: -6deg;
	transition: rotate .4s ease, translate .4s ease;
}
.tile-mimi:hover .mimi { rotate: 3deg; translate: 0 -8px; }
.tile-mimi .copy { max-width: 64%; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.pills span {
	padding: 7px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .78);
	font-weight: 800;
	font-size: .86rem;
	color: var(--ink);
}
.tile.dark .pills span { background: var(--plum-2); color: var(--on-plum); }

.streak { display: flex; gap: 6px; margin-top: auto; padding-top: 22px; }
.streak b {
	flex: 1;
	aspect-ratio: 1;
	max-width: 42px;
	border-radius: 12px;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, .65);
	font: 600 .8rem/1 var(--display);
	color: var(--ink-2);
}
.streak b.on { background: var(--star); color: var(--ink); box-shadow: 0 3px 0 #d9a62e; }

.gems { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; font: 600 2rem/1 var(--display); color: var(--gem); }
.gems img { width: 40px; }

@media (max-width: 1020px) {
	.bento { grid-template-columns: repeat(2, 1fr); }
	.tile, .tile.w3, .tile.w4 { grid-column: span 1; }
	.tile.wide-m { grid-column: span 2; }
}
@media (max-width: 640px) {
	.bento { grid-template-columns: 1fr; }
	.tile, .tile.wide-m { grid-column: span 1; }
	.tile-map { flex-direction: column; padding-right: 30px; padding-bottom: 0; }
	.tile-map .copy { padding-bottom: 0; }
	.tile-map .crop { width: calc(100% + 30px); margin-right: -30px; border-radius: 24px 0 0 0; height: 260px; }
	.tile-mimi .copy { max-width: 72%; }
}

/* ------------------------------------------------------------ Galerie */
.gallery {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 20px max(20px, calc((100vw - var(--wrap)) / 2)) 40px;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure {
	margin: 0;
	scroll-snap-align: center;
	display: grid;
	gap: 22px;
	justify-items: center;
	align-content: start;
	text-align: center;
}
.gallery .phone { --w: 240px; transition: translate .35s ease, rotate .35s ease; }
.gallery figure:nth-child(even) .phone { translate: 0 22px; }
.gallery figure:nth-child(even) figcaption { translate: 0 22px; }
.gallery figure:hover .phone { rotate: -1.5deg; }
.gallery figcaption { font: 600 1.1rem/1.2 var(--display); }
.gallery figcaption span { display: block; font: 600 .9rem/1.4 var(--body); color: var(--ink-2); margin-top: 6px; max-width: 230px; }
.gallery-hint { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 800; font-size: .92rem; }
.gallery-hint svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ Panel (dunkel) */
.panel {
	border-radius: clamp(28px, 4vw, 48px);
	background: var(--plum);
	color: #fff;
	padding: clamp(36px, 6vw, 80px);
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-l);
	isolation: isolate;
}
.panel::before, .panel::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	z-index: -1;
}
.panel::before { width: 640px; height: 640px; right: -220px; top: -280px; background: radial-gradient(circle, rgba(240, 92, 134, .55), transparent 65%); }
.panel::after { width: 560px; height: 560px; left: -220px; bottom: -300px; background: radial-gradient(circle, rgba(155, 93, 229, .5), transparent 65%); }
.panel h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin: 14px 0 18px; }
.panel .eyebrow { color: #ff9ab8; }
.panel .lead { color: var(--on-plum-2); max-width: 680px; }
.panel a:not(.btn) { color: #ffb3c9; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.fact {
	padding: 24px;
	border-radius: 24px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .1);
}
.fact svg { width: 30px; height: 30px; color: #ff9ab8; margin-bottom: 14px; }
.fact h3 { font-size: 1.25rem; margin-bottom: 6px; }
.fact p { color: var(--on-plum-2); font-size: .95rem; line-height: 1.55; }
.panel-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.panel-cta .btn-ghost { --b: rgba(255, 255, 255, .1); --e: rgba(0, 0, 0, .3); color: #fff; }
@media (max-width: 1020px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
	border-radius: 22px;
	background: rgba(255, 255, 255, .82);
	border: 1px solid #fff;
	box-shadow: var(--shadow);
	overflow: hidden;
}
.faq summary {
	list-style: none;
	cursor: pointer;
	padding: 22px 66px 22px 26px;
	font: 600 1.18rem/1.3 var(--display);
	position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	position: absolute;
	right: 22px; top: 50%;
	width: 30px; height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	background: var(--soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b2340' stroke-width='2.6' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 16px no-repeat;
	transition: rotate .25s ease, background-color .25s;
}
.faq details[open] summary::after { rotate: 45deg; background-color: #ffd6e3; }
.faq summary:hover { color: var(--accent-ink); }
.faq details > div { padding: 0 26px 24px; color: var(--ink-2); }
.faq details > div p + p { margin-top: 10px; }
@supports (interpolate-size: allow-keywords) {
	.faq { interpolate-size: allow-keywords; }
	.faq details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
	.faq details[open]::details-content { height: auto; }
}

/* ------------------------------------------------------------ Kontakt */
.contact {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 30px;
	padding: clamp(28px, 4vw, 48px);
	border-radius: clamp(28px, 4vw, 40px);
	background: linear-gradient(120deg, #ffe0ea 0%, #f2e6ff 55%, #ffeedd 100%);
	border: 1px solid #fff;
	box-shadow: var(--shadow);
}
.contact img { width: 110px; }
.contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 8px; }
.contact p { color: var(--ink-2); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ------------------------------------------------------------ Studio-Startseite */
.studio-hero { text-align: center; padding-block: clamp(64px, 10vw, 140px) clamp(40px, 6vw, 80px); }
.studio-hero h1 { font-size: clamp(3.2rem, 9.6vw, 8.4rem); letter-spacing: -0.045em; line-height: .92; margin: 26px auto 28px; max-width: 11ch; }
.studio-hero .lead { max-width: 620px; margin-inline: auto; }
.studio-hero .hero-cta { justify-content: center; }
.icons-row { display: flex; justify-content: center; gap: 14px; margin-top: 56px; }
.icons-row span {
	display: grid; place-items: center;
	width: 72px; height: 72px;
	border-radius: 22px;
	background: rgba(255, 255, 255, .75);
	border: 1px solid #fff;
	box-shadow: var(--shadow);
	animation: bob 6s ease-in-out infinite;
}
.icons-row span:nth-child(2) { animation-delay: -1.5s; }
.icons-row span:nth-child(3) { animation-delay: -3s; }
.icons-row span:nth-child(4) { animation-delay: -4.5s; }
.icons-row img { width: 44px; height: 44px; }

.feature-game {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: center;
	gap: 40px;
	padding: clamp(32px, 5vw, 64px);
	border-radius: clamp(28px, 4vw, 48px);
	background: var(--plum);
	color: #fff;
	text-decoration: none;
	box-shadow: var(--shadow-l);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: transform .35s ease;
}
.feature-game:hover { color: #fff; transform: translateY(-4px); }
.feature-game::before {
	content: "";
	position: absolute;
	width: 900px; height: 900px;
	right: -300px; bottom: -500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(240, 92, 134, .6), transparent 62%);
	z-index: -1;
}
.feature-game .app-id { display: flex; align-items: center; gap: 18px; margin: 20px 0 22px; }
.feature-game .app-id img { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.feature-game h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.feature-game .eyebrow { color: #ff9ab8; }
.feature-game p { color: var(--on-plum-2); font-size: 1.1rem; max-width: 520px; }
.feature-game .pills span { background: var(--plum-2); color: var(--on-plum); }
.feature-game .go { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font: 600 1.15rem/1 var(--display); }
.feature-game .go i {
	display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--accent);
	color: var(--on-accent);
	box-shadow: 0 4px 0 var(--accent-edge);
	transition: translate .25s ease;
}
.feature-game .go svg { width: 22px; height: 22px; }
.feature-game:hover .go i { translate: 6px 0; }
.feature-game .phones { position: relative; height: 500px; }
.feature-game .phones .phone { --w: 220px; position: absolute; top: 2%; left: 50%; }
.feature-game .phones .phone:first-child { rotate: -8deg; translate: -95% 8%; }
.feature-game .phones .phone:last-child { rotate: 6deg; translate: -20% 0; }
@media (max-width: 900px) {
	.feature-game { grid-template-columns: 1fr; }
	.feature-game .phones { height: 480px; }
}
@media (max-width: 520px) {
	.feature-game .phones .phone:first-child { display: none; }
	.feature-game .phones .phone:last-child { rotate: 3deg; translate: -50% 0; }
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values .tile { min-height: 0; grid-column: auto; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Rechtstexte */
.legal-hero { padding-block: clamp(56px, 8vw, 100px) 36px; }
.legal-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); margin: 16px 0; letter-spacing: -0.035em; }
.legal-hero .lead { max-width: 700px; }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.summary div {
	padding: 22px;
	border-radius: 22px;
	background: rgba(255, 255, 255, .82);
	border: 1px solid #fff;
	box-shadow: var(--shadow);
}
.summary svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
.summary b { display: block; font: 600 1.1rem/1.25 var(--display); margin-bottom: 4px; }
.summary p { font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 1020px) { .summary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .summary { grid-template-columns: 1fr; } }

.legal {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	padding-bottom: 80px;
}
.toc {
	position: sticky;
	top: 110px;
	padding: 22px;
	border-radius: 22px;
	background: rgba(255, 255, 255, .72);
	border: 1px solid #fff;
	font-size: .93rem;
}
.toc b { display: block; font: 600 1rem/1 var(--display); margin-bottom: 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 2px; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 700; line-height: 1.3; }
.toc a::before { content: counter(t); color: var(--accent-ink); min-width: 18px; }
.toc a:hover { background: var(--soft); color: var(--ink); }
.prose {
	padding: clamp(26px, 4vw, 56px);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .9);
	border: 1px solid #fff;
	box-shadow: var(--shadow);
	overflow-wrap: anywhere;
}
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 8px; letter-spacing: -0.01em; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent); }
.prose .box { padding: 18px 22px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); margin: 0 0 16px; }
.prose address { font-style: normal; }
.updated { display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; font-weight: 800; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) {
	.legal { grid-template-columns: 1fr; gap: 20px; }
	.toc { position: static; }
	.toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .toc ol { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Fußzeile */
.site-footer { margin-top: 40px; padding: 56px 0 36px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .45); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
.footer-grid a:hover { color: var(--accent-ink); }
.footer-grid p { color: var(--ink-2); max-width: 300px; margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; font-weight: 600; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ 404 */
.notfound { min-height: 68vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound img { width: 170px; margin: 0 auto 10px; rotate: -8deg; }
.notfound h1 { font-size: clamp(5rem, 18vw, 10rem); letter-spacing: -0.06em; line-height: .9; }
.notfound p { color: var(--ink-2); font-size: 1.2rem; margin: 14px 0 30px; }

/* ------------------------------------------------------------ Bewegung */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.reveal {
			animation: reveal linear both;
			animation-timeline: view();
			animation-range: entry 0% cover 20%;
		}
		@keyframes reveal {
			from { opacity: 0; translate: 0 40px; scale: .97; }
			to { opacity: 1; translate: 0 0; scale: 1; }
		}
	}
	.hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
	.hero-copy > :nth-child(2) { animation-delay: .08s; }
	.hero-copy > :nth-child(3) { animation-delay: .16s; }
	.hero-copy > :nth-child(4) { animation-delay: .24s; }
	.hero-copy > :nth-child(5) { animation-delay: .32s; }
	.stage { animation: rise 1s .15s cubic-bezier(.2, .8, .2, 1) both; }
	@keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
	body::before, body::after, .site-header, .site-footer, .toc, .skip { display: none !important; }
	.legal { display: block; }
	.prose { box-shadow: none; border: 0; padding: 0; }
}

code { font: 600 .88em/1 ui-monospace, "Cascadia Code", Consolas, monospace; background: rgba(59, 35, 64, .07); padding: 2px 6px; border-radius: 6px; }
