/* ==========================================================================
   SpielWechsel — Global Design System
   Ported from Lovable Tailwind/oklch design tokens.
   ========================================================================== */

:root {
	/* Palette */
	--sw-background: oklch(0.97 0.004 80);
	--sw-foreground: oklch(0.18 0.04 260);
	--sw-card: oklch(0.99 0.002 80);
	--sw-secondary: oklch(0.95 0.008 80);
	--sw-muted: oklch(0.94 0.006 80);
	--sw-muted-foreground: oklch(0.42 0.02 260);
	--sw-primary: oklch(0.82 0.17 90);
	--sw-primary-hover: oklch(0.74 0.17 90);
	--sw-primary-foreground: oklch(0.18 0.04 80);
	--sw-border: oklch(0.9 0.01 80);
	--sw-hairline: oklch(0.88 0.012 250);
	--sw-hairline-dark: oklch(1 0 0 / 12%);
	--sw-navy: oklch(0.28 0.04 55);
	--sw-navy-deep: oklch(0.20 0.035 55);
	--sw-navy-soft: oklch(0.38 0.045 55);

	/* Typography */
	--sw-font-display: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--sw-font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	/* Layout */
	--sw-container-max: 80rem; /* matches max-w-7xl */
	--sw-radius: 0px;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; }
body {
	margin: 0;
	background: var(--sw-background);
	color: var(--sw-foreground);
	font-family: var(--sw-font-body);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	line-height: 1.5;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sw-font-display);
	font-weight: 800;
	letter-spacing: -0.005em;
	line-height: 1.1;
	margin: 0;
}

p { margin: 0; }

/* Container */
.sw-container {
	margin: 0 auto;
	width: 100%;
	max-width: var(--sw-container-max);
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
@media (min-width: 1024px) {
	.sw-container { padding-left: 2rem; padding-right: 2rem; }
}

/* Section label */
.sw-section-label {
	display: inline-block;
	font-family: var(--sw-font-display);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.72rem;
	color: var(--sw-primary);
}
.sw-section-label--light { color: var(--sw-primary); }

/* Buttons */
.sw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--sw-font-display);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.85rem 1.5rem;
	border-radius: 4px;
	border: 0;
	cursor: pointer;
	font-size: 0.875rem;
	transition: background 0.15s ease, color 0.15s ease;
}
.sw-btn--primary {
	background: var(--sw-primary);
	color: var(--sw-primary-foreground);
}
.sw-btn--primary:hover { background: var(--sw-primary-hover); }
.sw-btn--outline-light {
	border: 1px solid var(--sw-hairline-dark);
	color: #fff;
	background: transparent;
}
.sw-btn--outline-light:hover { background: oklch(1 0 0 / 6%); }
.sw-btn--full { width: 100%; }

/* Visually hidden */
.sw-sr-only {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
