/* ================================================================
   KPR-WEB.de — Premium Stylesheet v2.0
   Custom Cursor · Scroll Progress · Aurora Blobs · Browser Mockups
   Gradient Text · Noise Overlay · Marquee · Glassmorphism
   ================================================================ */

/* ── Design Tokens (S4: Single Source of Truth) ────────────────── */
@import url('tokens.css');

/* ── Legacy Aliases (Landing Page uses --primary etc. without prefix) */
:root {
	--primary:       var(--kpr-primary);
	--primary-light: var(--kpr-primary-light);
	--primary-dark:  var(--kpr-primary-dark);
	--primary-rgb:   var(--kpr-primary-rgb);
	--accent:        var(--kpr-accent);
	--accent-light:  var(--kpr-accent-light);
	--accent-dark:   var(--kpr-accent-dark);
	--accent-rgb:    var(--kpr-accent-rgb);
	--neon:          var(--kpr-neon);
	--neon-rgb:      var(--kpr-neon-rgb);
	--gradient-1:    var(--kpr-gradient-1);
	--gradient-2:    var(--kpr-gradient-2);
	--gradient-3:    var(--kpr-gradient-3);
	--gradient-text: var(--kpr-gradient-text);
	--bg:            var(--kpr-bg-alt);
	--bg-alt:        var(--kpr-bg);
	--bg-dark:       var(--kpr-bg-dark);
	--text:          var(--kpr-text);
	--text-light:    var(--kpr-text-light);
	--text-muted:    var(--kpr-text-muted);
	--border:        var(--kpr-border);
	--radius:        var(--kpr-radius);
	--radius-lg:     var(--kpr-radius-lg);
	--shadow:        var(--kpr-shadow);
	--shadow-lg:     var(--kpr-shadow-lg);
	--shadow-glow:   var(--kpr-shadow-glow);
	--shadow-neon:   var(--kpr-shadow-neon);
	--font-body:     var(--kpr-font-body);
	--font-heading:  var(--kpr-font-heading);
	--transition:    var(--kpr-transition);
	--transition-spring: var(--kpr-transition-spring);
	--ease-out-expo: var(--kpr-ease-out-expo);
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: #fff;
	background: var(--bg-dark);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ── Global Particle Canvas ────────────────────────────────────── */
#global-particles {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; z-index: 1; background: transparent; }
.section-light { background: transparent; }
.section > .container { position: relative; z-index: 1; }







/* ── Scroll Progress Bar ───────────────────────────────────────── */
.scroll-progress {
	position: fixed;
	top: 0; left: 0;
	width: 0%;
	height: 3px;
	background: var(--gradient-2);
	z-index: 100001;
	box-shadow: 0 0 12px rgba(var(--accent-rgb), .5);
}


/* ── Noise Overlay ─────────────────────────────────────────────── */
.noise-overlay {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 99998;
	opacity: .02;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 256px;
}


/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 36px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: .95rem;
	border-radius: 50px;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
	letter-spacing: .02em;
}
.btn::before {
	content: '';
	position: absolute;
	top: 0; left: -100%;
	width: 200%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
	transition: left .6s;
}
.btn:hover::before { left: 100%; }
.btn-primary {
	background: var(--gradient-1);
	color: #fff;
	box-shadow: 0 4px 20px rgba(var(--primary-rgb), .3);
}
.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(var(--primary-rgb), .45);
}
.btn-outline {
	border: 2px solid rgba(255,255,255,.15);
	color: rgba(255,255,255,.8);
	backdrop-filter: blur(10px);
}
.btn-outline:hover {
	border-color: var(--accent);
	color: #fff;
	background: rgba(var(--accent-rgb), .1);
	transform: translateY(-3px);
}
.btn-sm { padding: 12px 28px; font-size: .875rem; }
.btn-arrow { display: inline-flex; transition: transform .3s; }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* Magnetic Glow */
.btn-magnetic { position: relative; }
.btn-magnetic::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50px;
	background: var(--gradient-2);
	z-index: -1;
	opacity: 0;
	filter: blur(18px);
	transition: opacity .4s;
}
.btn-magnetic:hover::after { opacity: .6; }


/* ── Loading Screen ────────────────────────────────────────────── */
.loader {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--bg-dark);
	transition: opacity .6s var(--ease-out-expo), visibility .6s;
}
.loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { position: relative; z-index: 2; text-align: center; }

.loader-logo {
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
	animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-logo span { color: var(--accent); }
@keyframes loaderPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .6; transform: scale(1.05); }
}

.loader-bar {
	width: 120px; height: 3px;
	background: rgba(255,255,255,.08);
	border-radius: 3px;
	margin-top: 24px;
	overflow: hidden;
	position: relative;
}
.loader-bar::after {
	content: '';
	position: absolute; inset: 0;
	width: 40%;
	background: var(--gradient-2);
	border-radius: 3px;
	animation: loaderSlide 1s ease-in-out infinite;
}
@keyframes loaderSlide { 0% { left: -40%; } 100% { left: 100%; } }

/* Loader ambient particles */
.loader-particles { position: absolute; inset: 0; overflow: hidden; }
.loader-particle {
	position: absolute;
	width: 4px; height: 4px;
	border-radius: 50%;
	background: var(--accent);
	opacity: 0;
	animation: loaderPart 2.5s ease-in-out infinite;
}
.loader-particle:nth-child(1) { left: 15%; top: 25%; animation-delay: 0s; }
.loader-particle:nth-child(2) { left: 72%; top: 18%; animation-delay: .4s; }
.loader-particle:nth-child(3) { left: 38%; top: 72%; animation-delay: .8s; }
.loader-particle:nth-child(4) { left: 82%; top: 55%; animation-delay: 1.2s; }
.loader-particle:nth-child(5) { left: 8%; top: 80%; animation-delay: 1.6s; }
.loader-particle:nth-child(6) { left: 55%; top: 35%; animation-delay: 2s; }
@keyframes loaderPart {
	0%, 100% { opacity: 0; transform: scale(0) translateY(0); }
	50% { opacity: .5; transform: scale(1) translateY(-25px); }
}


/* ── Navbar ─────────────────────────────────────────────────────── */
.navbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	padding: 20px 0;
	transition: all var(--transition);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.navbar.scrolled {
	padding: 12px 0;
	background: rgba(10,15,28,.85);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-bottom: 1px solid rgba(255,255,255,.06);
	box-shadow: 0 4px 30px rgba(0,0,0,.2);
}
/* backdrop-filter creates a containing block that traps fixed-positioned children;
   disable it when mobile menu is open so .nav-links covers the full viewport */
.navbar.scrolled:has(.nav-links.open) {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	background: var(--bg-dark);
	transition: none;
}

.nav-logo {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
	transition: color var(--transition);
}
.nav-logo span { color: var(--accent); }
.navbar.scrolled .nav-logo { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
	color: rgba(255,255,255,.75);
	font-size: .875rem;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 8px;
	transition: all var(--transition);
	position: relative;
}
.nav-link::after {
	content: '';
	position: absolute;
	bottom: 2px; left: 50%; right: 50%;
	height: 2px;
	background: var(--accent);
	border-radius: 2px;
	transition: all .3s var(--ease-out-expo);
}
.nav-link:hover::after, .nav-link.active::after { left: 20%; right: 20%; }
.nav-link:hover, .nav-link.active { color: #fff; }
.navbar.scrolled .nav-link { color: rgba(255,255,255,.6); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: #fff; }

.nav-cta {
	background: var(--gradient-1);
	color: #fff !important;
	padding: 10px 24px;
	border-radius: 50px;
	font-size: .875rem;
	font-weight: 600;
	margin-left: 8px;
	transition: all var(--transition);
	box-shadow: 0 4px 15px rgba(var(--primary-rgb), .3);
}
.nav-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(var(--primary-rgb), .45);
}

/* Mobile Toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 5px;
	z-index: 1001;
}
.nav-toggle span {
	width: 24px; height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: all var(--transition);
}
.navbar.scrolled .nav-toggle span { background: #fff; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ── Hero Section ──────────────────────────────────────────────── */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	position: relative;
	overflow: hidden;
	padding: 120px 24px 80px;
}

/* Hero Content */
.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
}
.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(var(--accent-rgb), .1);
	border: 1px solid rgba(var(--accent-rgb), .2);
	padding: 8px 20px;
	border-radius: 50px;
	color: var(--accent-light);
	font-size: .85rem;
	font-weight: 500;
	margin-bottom: 24px;
	backdrop-filter: blur(10px);
	animation: fadeInUp .8s var(--ease-out-expo) .3s both;
}
.hero-tag-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--accent);
	animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
	0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .5); }
	50% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
}

.hero h1 {
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.15;
	margin-bottom: 24px;
	letter-spacing: -0.03em;
	animation: fadeInUp .8s var(--ease-out-expo) .5s both;
}
.typed-wrap {
	background: var(--gradient-text);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
	0%, 100% { background-position: 0% center; }
	50% { background-position: 200% center; }
}
.cursor {
	-webkit-text-fill-color: var(--accent);
	animation: blink 1s step-start infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-desc {
	color: rgba(255,255,255,.6);
	font-size: clamp(1rem, 2vw, 1.15rem);
	max-width: 580px;
	margin: 0 auto 40px;
	line-height: 1.8;
	animation: fadeInUp .8s var(--ease-out-expo) .7s both;
}
.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	animation: fadeInUp .8s var(--ease-out-expo) .9s both;
}
.hero .btn-outline {
	border-color: rgba(255,255,255,.2);
	color: rgba(255,255,255,.8);
}
.hero .btn-outline:hover {
	border-color: var(--accent);
	color: #fff;
	background: rgba(var(--accent-rgb), .1);
}

/* Scroll Indicator */
.scroll-indicator {
	position: absolute;
	bottom: 100px; left: 50%;
	transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	z-index: 2;
	animation: fadeInUp .8s var(--ease-out-expo) 1.2s both;
}
.scroll-indicator span {
	font-size: .7rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: rgba(255,255,255,.3);
}
.scroll-line {
	width: 1px; height: 40px;
	background: linear-gradient(to bottom, rgba(var(--accent-rgb),.5), transparent);
	animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
	0% { transform: scaleY(0); transform-origin: top; }
	50% { transform: scaleY(1); transform-origin: top; }
	51% { transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Wave Divider — hidden (all sections dark now) */
.wave-divider {
	display: none;
}
.wave-divider svg { width: 100%; height: 80px; }
.wave-divider-top { top: 0; bottom: auto; transform: rotate(180deg); }

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}


/* ── Section Headers ───────────────────────────────────────────── */
.section-header {
	text-align: center;
	max-width: 650px;
	margin: 0 auto 70px;
}
.section-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .15em;
	color: var(--accent);
	margin-bottom: 16px;
}
.section-tag::before, .section-tag::after {
	content: '';
	width: 20px; height: 1px;
	background: var(--accent);
}
.section-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}
.section-subtitle {
	color: rgba(255,255,255,.6);
	font-size: 1.05rem;
	line-height: 1.7;
}

.section-dark { background: transparent; color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,.6); }
.section-dark .section-tag { color: var(--accent-light); }


/* ── Services Grid ─────────────────────────────────────────────── */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.service-card {
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: var(--radius-lg);
	padding: 40px 32px;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
	cursor: default;
}
/* Top border gradient reveal */
.service-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--gradient-1);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s var(--ease-out-expo);
}
/* Spotlight follow */
.service-card::after {
	content: '';
	position: absolute;
	top: -50%; left: -50%;
	width: 200%; height: 200%;
	background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--accent-rgb), .06) 0%, transparent 50%);
	opacity: 0;
	transition: opacity .4s;
	pointer-events: none;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card:hover {
	border-color: rgba(var(--accent-rgb), .25);
	box-shadow: 0 20px 50px rgba(0,0,0,.3);
	transform: translateY(-8px);
}
.service-icon {
	width: 56px; height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius);
	background: rgba(var(--accent-rgb), .12);
	color: var(--accent);
	margin-bottom: 20px;
	transition: all var(--transition);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon {
	background: var(--gradient-1);
	color: #fff;
	transform: scale(1.1) rotate(-5deg);
}
.service-card h3 {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 12px;
	color: #fff;
}
.service-card p {
	color: rgba(255,255,255,.6);
	font-size: .925rem;
	line-height: 1.7;
}


/* ── About / Stats ─────────────────────────────────────────────── */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}
.about-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin-bottom: 20px;
	letter-spacing: -0.02em;
}
.about-text {
	color: rgba(255,255,255,.65);
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 32px;
}
.about-features { display: flex; flex-direction: column; gap: 16px; }
.about-feature { display: flex; align-items: flex-start; gap: 14px; }
.about-feature-icon {
	width: 28px; height: 28px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0; border-radius: 50%;
	background: rgba(var(--accent-rgb), .15);
	color: var(--accent); margin-top: 2px;
}
.about-feature-icon svg { width: 14px; height: 14px; }
.about-feature p { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.6; }
.about-feature strong { color: #fff; }

/* ── About Terminal Mockup ──────────────────────────────────────── */
.about-terminal {
	background: rgba(255,255,255,.03);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: var(--radius-lg);
	overflow: hidden;
	backdrop-filter: blur(10px);
}
.terminal-chrome {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: rgba(255,255,255,.04);
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
	width: 10px; height: 10px; border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }
.terminal-title {
	font-family: 'SF Mono', 'Fira Code', monospace;
	font-size: .7rem;
	color: rgba(255,255,255,.35);
	margin-left: auto;
}
.terminal-body {
	padding: 24px 20px;
	font-family: 'SF Mono', 'Fira Code', monospace;
	font-size: .82rem;
	line-height: 2;
}
.terminal-line { white-space: nowrap; }
.t-prompt { color: var(--accent); font-weight: 700; }
.t-cmd { color: #fff; font-weight: 600; }
.t-flag { color: var(--neon); }
.t-str { color: #a78bfa; }
.t-output { color: rgba(255,255,255,.45); padding-left: 18px; }
.t-success { color: var(--accent); font-weight: 600; }
.t-cursor {
	display: inline-block;
	color: var(--accent);
	animation: cursorBlink 1s steps(2) infinite;
}
@keyframes cursorBlink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

/* ── Beispielprojekt Badge ─────────────────────────────────────── */
.portfolio-badge {
	font-size: .6rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 50px;
	background: rgba(var(--neon-rgb), .12);
	color: var(--neon);
	border: 1px solid rgba(var(--neon-rgb), .2);
	text-transform: uppercase;
	letter-spacing: .08em;
	white-space: nowrap;
}

.stats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.stat-card {
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: var(--radius-lg);
	padding: 32px 24px;
	text-align: center;
	transition: all var(--transition);
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}
.stat-card::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), .1), transparent 70%);
	opacity: 0; transition: opacity .4s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
	border-color: rgba(var(--accent-rgb), .2);
	transform: translateY(-5px);
}
.stat-number {
	font-family: var(--font-heading);
	font-size: 2.8rem;
	font-weight: 700;
	background: var(--gradient-text);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gradientShift 4s ease infinite;
	margin-bottom: 4px;
}
.stat-label {
	color: rgba(255,255,255,.5);
	font-size: .85rem;
	font-weight: 500;
}


/* ── Portfolio ─────────────────────────────────────────────────── */
.portfolio-filters {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 50px;
	flex-wrap: wrap;
}
.filter-btn {
	padding: 10px 24px;
	font-size: .85rem;
	font-weight: 600;
	border-radius: 50px;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.1);
	color: rgba(255,255,255,.6);
	transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
	background: var(--gradient-1);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 4px 15px rgba(var(--primary-rgb), .3);
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.portfolio-card {
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
	cursor: pointer;
	transition: all .5s var(--ease-out-expo);
	border: 1px solid rgba(255,255,255,.08);
	background: rgba(255,255,255,.03);
}
.portfolio-card:hover {
	transform: translateY(-12px) scale(1.02);
	box-shadow: 0 30px 60px rgba(0,0,0,.3);
}

/* ─────────────────────────────────────────────────────────────────
   BROWSER MOCKUP FRAME
   ───────────────────────────────────────────────────────────────── */
.browser-mockup {
	display: flex;
	flex-direction: column;
	background: #fff;
	overflow: hidden;
}
.browser-chrome {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: #f4f5f7;
	border-bottom: 1px solid #e5e7eb;
	flex-shrink: 0;
}
.browser-dots {
	display: flex;
	gap: 5px;
}
.browser-dots span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	display: block;
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
	flex: 1;
	height: 22px;
	background: #fff;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	display: flex;
	align-items: center;
	padding: 0 10px;
	font-size: .6rem;
	color: #9ca3af;
	font-family: 'SF Mono', 'Fira Code', monospace;
	overflow: hidden;
	white-space: nowrap;
}
.browser-body {
	overflow: hidden;
	position: relative;
}

/* ─────────────────────────────────────────────────────────────────
   PORTFOLIO INFO PANEL (below browser)
   ───────────────────────────────────────────────────────────────── */
.portfolio-info {
	padding: 20px 22px;
	background: rgba(255,255,255,.04);
}
.portfolio-info-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
.portfolio-info-top h3 {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
}
.portfolio-tag {
	font-size: .65rem;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 50px;
	background: rgba(var(--accent-rgb), .12);
	color: var(--accent);
	white-space: nowrap;
}
.portfolio-info p {
	font-size: .82rem;
	color: rgba(255,255,255,.55);
	line-height: 1.55;
	margin-bottom: 12px;
}
.portfolio-tech {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.portfolio-tech span {
	font-size: .6rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 50px;
	background: rgba(var(--accent-rgb), .1);
	color: var(--accent-light);
	border: 1px solid rgba(var(--accent-rgb), .2);
}

/* ─────────────────────────────────────────────────────────────────
   MOCK SITE — shared base styles
   ───────────────────────────────────────────────────────────────── */
.mock-site {
	width: 1000px;
	height: 625px;
	position: absolute;
	top: 0;
	left: 0;
	transform-origin: 0 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-family: 'Inter', sans-serif;
}

/* -- Nav -- */
.mock-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 32px;
	position: relative;
	z-index: 2;
}
.mock-logo-text {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	letter-spacing: .08em;
}
.mock-nav-links {
	display: flex;
	gap: 6px;
	align-items: center;
}
.mock-nav-links span {
	width: 40px;
	height: 3px;
	background: rgba(255,255,255,.35);
	border-radius: 2px;
	display: block;
}
.mock-cart { background: none !important; width: auto !important; height: auto !important; font-size: 18px; }

/* -- Hero block inside mockups -- */
.mock-hero-img {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}
.mock-hero-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 0 40px 30px;
	z-index: 2;
}
.mock-hero-text small {
	font-size: 12px;
	color: rgba(255,255,255,.55);
	letter-spacing: .18em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.mock-h1 {
	font-size: 42px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	letter-spacing: .02em;
}
.mock-btn-row { margin-top: 16px; }
.mock-btn-accent {
	font-size: 13px;
	font-weight: 600;
	padding: 10px 26px;
	border-radius: 6px;
	background: var(--accent);
	color: #fff;
	display: inline-block;
}

/* -- Content area -- */
.mock-content-area {
	padding: 24px 32px;
	background: #fff;
}

/* -- Grids -- */
.mock-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.mock-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* -- Image cards (architect) -- */
.mock-img-card {
	aspect-ratio: 4/3;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
}
.mock-img-label {
	position: absolute;
	bottom: 8px;
	left: 10px;
	font-size: 12px;
	color: #555;
	font-weight: 600;
}

/* -- Product cards (fashion/shop) -- */
.mock-product {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mock-product-img {
	aspect-ratio: .8;
	border-radius: 8px;
}
.mock-product-info {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.mock-product-info span {
	font-size: 12px;
	color: #666;
	background: none !important;
	padding: 0 !important;
	border: none !important;
}
.mock-product-info strong {
	font-size: 14px;
	color: #1a1a1a;
}

/* ─────────────────────────────────────────────────────────────────
   MOCK DASHBOARD LAYOUT (AutoMaxx / Gastro)
   ───────────────────────────────────────────────────────────────── */
.mock-dashboard {
	flex-direction: row;
}
.mock-sidebar {
	width: 220px;
	background: #0f172a;
	padding: 20px 0;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}
.mock-sidebar .mock-logo-text {
	padding: 0 20px;
	margin-bottom: 20px;
	color: #3b82f6;
	font-size: 18px;
}
.mock-sidebar-links {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.mock-sidebar-links span {
	font-size: 13px;
	color: rgba(255,255,255,.4);
	padding: 10px 20px;
	display: block;
	width: auto !important;
	height: auto !important;
	background: none !important;
	border-radius: 0 !important;
	border: none !important;
}
.mock-sidebar-links span.active {
	color: #fff;
	background: rgba(59,130,246,.2) !important;
	border-left: 3px solid #3b82f6;
}

.mock-main {
	flex: 1;
	background: #f1f5f9;
	padding: 20px 24px;
	overflow: hidden;
}
.mock-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}
.mock-topbar span {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	background: none !important;
	padding: 0 !important;
	border: none !important;
}
.mock-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #3b82f6 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #fff !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

/* Stats row */
.mock-stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 16px;
}
.mock-stat {
	background: #fff;
	border-radius: 10px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.mock-stat-num {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}
.mock-stat-label {
	font-size: 10px;
	color: #94a3b8;
	margin-top: 3px;
}

/* Chart */
.mock-chart {
	background: #fff;
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.mock-chart-bars {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	height: 80px;
}
.mock-chart-bars div {
	flex: 1;
	border-radius: 2px 2px 0 0;
	background: linear-gradient(180deg, var(--accent), var(--primary));
	min-width: 0;
}

/* Table */
.mock-table {
	background: #fff;
	border-radius: 10px;
	padding: 14px 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,.04);
	overflow: hidden;
}
.mock-table-head,
.mock-table-row {
	display: grid;
	gap: 10px;
	align-items: center;
	padding: 8px 0;
}
.mock-table-head {
	grid-template-columns: repeat(3, 1fr);
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 4px;
}
.mock-table-head span {
	font-size: 10px;
	color: #94a3b8;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	background: none !important;
	padding: 0 !important;
	border: none !important;
}
/* 4-col variant for gastro */
.mock-table-head:has(span:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.mock-table-row {
	grid-template-columns: repeat(3, 1fr);
}
.mock-table-row:has(span:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.mock-table-row span {
	font-size: 12px;
	color: #475569;
	background: none !important;
	padding: 0 !important;
	border: none !important;
}
.mock-table-row + .mock-table-row { border-top: 1px solid #f1f5f9; }

/* Badges */
.mock-badge-green {
	color: #059669 !important;
	font-weight: 700 !important;
}
.mock-badge-blue {
	color: #3b82f6 !important;
	font-weight: 700 !important;
}
.mock-badge-orange {
	color: #f59e0b !important;
	font-weight: 700 !important;
}

/* ─────────────────────────────────────────────────────────────────
   MOCK FEATURE ROW (Steuerberatung)
   ───────────────────────────────────────────────────────────────── */
.mock-feature-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.mock-feature-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.mock-feature-icon {
	font-size: 24px;
	line-height: 1;
}
.mock-feature-card span {
	font-size: 12px;
	color: #475569;
	font-weight: 600;
	background: none !important;
	padding: 0 !important;
	border: none !important;
}

/* ─────────────────────────────────────────────────────────────────
   MOCK CLASSES / PRICING (Fitness)
   ───────────────────────────────────────────────────────────────── */
.mock-class-card {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 10px;
	padding: 16px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.mock-class-time {
	font-size: 18px;
	font-weight: 700;
	color: var(--accent);
}
.mock-class-card span {
	font-size: 12px;
	color: rgba(255,255,255,.6);
	font-weight: 600;
	background: none !important;
	padding: 0 !important;
	border: none !important;
}

.mock-pricing-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-top: 14px;
}
.mock-price-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.mock-price-card strong {
	font-size: 14px;
	color: #1e293b;
}
.mock-price-card span {
	font-size: 16px;
	color: var(--accent);
	font-weight: 700;
	background: none !important;
	padding: 0 !important;
	border: none !important;
}
.mock-price-featured {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), .06);
}


/* ── Tech Stack ────────────────────────────────────────────────── */
.tech-stack-section {
	background: transparent;
}
.tech-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.tech-card {
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	text-align: center;
	transition: all .4s var(--ease-out-expo);
	position: relative;
	overflow: hidden;
}
.tech-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--gradient-1);
	transform: scaleX(0);
	transition: transform .4s var(--ease-out-expo);
}
.tech-card:hover {
	transform: translateY(-6px);
	border-color: rgba(var(--accent-rgb), .3);
	box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.tech-card:hover::before { transform: scaleX(1); }
.tech-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(var(--accent-rgb), .12);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	color: var(--accent);
	transition: all .3s;
}
.tech-card:hover .tech-icon {
	background: var(--gradient-1);
	color: #fff;
	transform: scale(1.1) rotate(-3deg);
}
.tech-card h4 {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}
.tech-card p {
	font-size: .82rem;
	color: rgba(255,255,255,.6);
	line-height: 1.55;
}


/* ── Process Steps ─────────────────────────────────────────────── */
.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	position: relative;
}
.process-grid::before {
	content: '';
	position: absolute; top: 32px;
	left: calc(12.5% + 16px);
	right: calc(12.5% + 16px);
	height: 2px;
	background: linear-gradient(90deg, var(--accent), var(--neon), var(--accent));
	background-size: 200% auto;
	animation: gradientShift 4s ease infinite;
	z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-number {
	width: 64px; height: 64px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 20px;
	background: rgba(255,255,255,.04);
	border: 2px solid rgba(255,255,255,.1);
	transition: all var(--transition);
	position: relative;
}
.process-number::after {
	content: '';
	position: absolute; inset: -4px;
	border-radius: 50%;
	border: 2px solid transparent;
	background: var(--gradient-2) border-box;
	-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0; transition: opacity .4s;
}
.process-step:hover .process-number::after { opacity: 1; }
.process-number span {
	font-family: var(--font-heading);
	font-size: 1.2rem; font-weight: 700;
	background: var(--gradient-1);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.process-step:hover .process-number {
	border-color: var(--accent);
	transform: scale(1.1);
	box-shadow: var(--shadow-glow);
}
.process-step h3 {
	font-family: var(--font-heading);
	font-size: 1.1rem; font-weight: 600;
	color: #fff; margin-bottom: 10px;
}
.process-step p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.6; }


/* ── Pricing ───────────────────────────────────────────────────── */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: start;
}
.pricing-card {
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: var(--radius-lg);
	padding: 40px 32px;
	text-align: center;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(10px);
}
.pricing-card::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--accent-rgb), .05), transparent 50%);
	opacity: 0; transition: opacity .4s;
}
.pricing-card:hover::before { opacity: 1; }
.pricing-card:hover { border-color: rgba(var(--accent-rgb), .15); transform: translateY(-8px); }
.pricing-card.featured {
	border-color: rgba(var(--accent-rgb), .3);
	background: rgba(var(--accent-rgb), .06);
	transform: scale(1.05);
}
.pricing-card.featured:hover { transform: scale(1.05) translateY(-8px); }
.pricing-badge {
	position: absolute;
	top: 0; left: 50%; transform: translateX(-50%);
	background: var(--gradient-2);
	color: #fff; font-size: .7rem; font-weight: 700;
	padding: 6px 20px;
	border-radius: 0 0 12px 12px;
	letter-spacing: .05em;
}
.pricing-name {
	font-family: var(--font-heading);
	font-size: 1.1rem; font-weight: 600;
	color: rgba(255,255,255,.7);
	margin-bottom: 8px; margin-top: 10px;
}
.pricing-price {
	font-family: var(--font-heading);
	font-size: 2.4rem; font-weight: 700;
	background: var(--gradient-text);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gradientShift 4s ease infinite;
	margin-bottom: 8px;
}
.pricing-desc { color: rgba(255,255,255,.5); font-size: .9rem; margin-bottom: 28px; line-height: 1.6; }
.pricing-features { margin-bottom: 32px; }
.pricing-feature {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 0;
	color: rgba(255,255,255,.65); font-size: .9rem; text-align: left;
}
.pricing-feature svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }


/* ── Testimonials ──────────────────────────────────────────────── */
.testimonials-slider { max-width: 700px; margin: 0 auto; position: relative; }
.testimonial { display: none; text-align: center; padding: 40px; animation: fadeIn .5s ease; }
.testimonial.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.testimonial-stars { font-size: 1rem; color: #fbbf24; margin-bottom: 20px; letter-spacing: 4px; }
.testimonial-quote {
	font-size: 1.1rem; line-height: 1.8;
	color: var(--text-light); font-style: italic;
	margin-bottom: 28px; position: relative;
}
.testimonial-quote::before {
	content: '\201C';
	font-family: Georgia, serif;
	font-size: 4rem;
	color: rgba(var(--accent-rgb), .15);
	position: absolute; top: -20px; left: 50%;
	transform: translateX(-50%); line-height: 1;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.testimonial-avatar {
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--gradient-1); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: .85rem;
}
.testimonial-name { font-weight: 600; color: var(--primary); font-size: .95rem; }
.testimonial-role { font-size: .8rem; color: var(--text-muted); }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.testimonial-dot {
	width: 10px; height: 10px; border-radius: 50%;
	background: var(--border); transition: all var(--transition);
}
.testimonial-dot.active {
	background: var(--accent);
	transform: scale(1.3);
	box-shadow: 0 0 10px rgba(var(--accent-rgb), .4);
}


/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
	border: 1px solid rgba(255,255,255,.08);
	border-radius: var(--radius);
	margin-bottom: 12px;
	overflow: hidden;
	transition: all var(--transition);
}
.faq-item:hover { border-color: rgba(var(--accent-rgb), .2); }
.faq-item.active {
	border-color: rgba(var(--accent-rgb), .3);
	box-shadow: 0 4px 20px rgba(var(--accent-rgb), .08);
}
.faq-question {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 24px;
	font-size: .95rem; font-weight: 600;
	color: #fff; text-align: left;
	transition: color var(--transition);
}
.faq-item.active .faq-question { color: var(--accent); }
.faq-chevron { width: 20px; height: 20px; transition: transform .3s; flex-shrink: 0; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out-expo); }
.faq-answer-inner {
	padding: 0 24px 20px;
	color: rgba(255,255,255,.6); line-height: 1.7; font-size: .925rem;
}


/* ── CTA Section (legacy) ──────────────────────────────────────── */
.cta-section {
	padding: 100px 24px;
	background: transparent;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section::before {
	content: '';
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(var(--accent-rgb), .12), transparent 60%),
		radial-gradient(ellipse at 80% 50%, rgba(var(--neon-rgb), .08), transparent 60%);
}
.cta-orb {
	position: absolute; border-radius: 50%;
	filter: blur(60px);
	animation: auroraFloat 10s ease-in-out infinite alternate;
}
.cta-orb-1 { width: 300px; height: 300px; background: rgba(var(--accent-rgb), .12); top: -20%; left: -5%; }
.cta-orb-2 { width: 250px; height: 250px; background: rgba(var(--neon-rgb), .08); bottom: -20%; right: -5%; animation-delay: -5s; }
.cta-section h2 {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
	color: #fff; margin-bottom: 16px; position: relative;
}
.cta-section p {
	color: rgba(255,255,255,.6); font-size: 1.1rem;
	margin-bottom: 36px; position: relative;
}
.cta-section .btn { position: relative; }


/* ── Contact & Booking — Tab Switcher ──────────────────────────── */

/* Toggle */
.ct-toggle-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 56px;
}
.ct-toggle {
	position: relative;
	display: inline-flex;
	gap: 0;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.ct-tab {
	position: relative;
	z-index: 1;
	padding: 14px 32px;
	border: none;
	background: none;
	color: rgba(255,255,255,.35);
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: color .3s;
	white-space: nowrap;
	letter-spacing: -.01em;
}
.ct-tab.active {
	color: #fff;
}
.ct-tab:hover:not(.active) {
	color: rgba(255,255,255,.6);
}
.ct-indicator {
	position: absolute;
	bottom: -1px;
	left: 0;
	height: 2px;
	background: var(--accent);
	border-radius: 2px 2px 0 0;
	transition: left .4s cubic-bezier(.4, 0, .2, 1), width .4s cubic-bezier(.4, 0, .2, 1);
	box-shadow: 0 0 12px rgba(var(--accent-rgb),.4);
}

/* Panels */
.ct-panels {
	position: relative;
	overflow: hidden;
	max-width: 780px;
	margin: 0 auto;
	transition: height .4s cubic-bezier(.4, 0, .2, 1);
}
.ct-track {
	display: flex;
	width: 200%;
	transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.ct-track.slide-right {
	transform: translateX(-50%);
}
.ct-panel {
	width: 50%;
	flex-shrink: 0;
}
.ct-panel-inner {
	padding: 0 16px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { position: relative; }
.form-group input,
.form-group textarea,
.form-group select {
	width: 100%; padding: 16px 20px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--radius);
	font-family: var(--font-body); font-size: .925rem;
	color: #fff; background: rgba(255,255,255,.05);
	transition: all var(--transition); outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .08);
}
.form-group label {
	position: absolute; left: 20px; top: 50%;
	transform: translateY(-50%);
	font-size: .9rem; color: rgba(255,255,255,.4);
	pointer-events: none;
	transition: all var(--transition);
	background: var(--bg-dark); padding: 0 6px;
}
.form-group textarea ~ label { top: 20px; transform: none; }
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
	top: 0; transform: translateY(-50%);
	font-size: .75rem; color: var(--accent);
}
.form-group select { appearance: none; cursor: pointer; color: rgba(255,255,255,.4); }

.contact-info-title {
	font-family: var(--font-heading);
	font-size: 1.4rem; font-weight: 700;
	color: #fff; margin-bottom: 12px;
}
.contact-info-text { color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item-icon {
	width: 44px; height: 44px;
	border-radius: var(--radius);
	background: rgba(var(--accent-rgb), .08);
	color: var(--accent);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item h4 { font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.contact-item a, .contact-item p { font-size: .9rem; color: rgba(255,255,255,.6); }
.contact-item a:hover { color: var(--accent); }

/* Contact Info Row (compact, below form) */
.contact-info-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.06);
}
.contact-item-mini {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .85rem;
	color: rgba(255,255,255,.5);
}
.contact-item-mini svg {
	color: var(--accent);
	flex-shrink: 0;
	opacity: .7;
}
.contact-item-mini a {
	color: rgba(255,255,255,.5);
	text-decoration: none;
	transition: color var(--transition);
}
.contact-item-mini a:hover { color: var(--accent); }

/* Booking subtitle */
.booking-subtitle {
	color: rgba(255,255,255,.6);
	font-size: .9rem;
	line-height: 1.6;
	margin-bottom: 24px;
}

/* ── Booking Steps ─────────────────────────────────────────────── */
.bk-step {
	animation: bkFadeIn .4s ease;
}
@keyframes bkFadeIn {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}
.bk-step + .bk-step { margin-top: 36px; }

.bk-step-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}
.bk-step-num {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: .8rem;
	color: var(--accent);
	border: 1.5px solid rgba(var(--accent-rgb),.5);
	border-radius: 50%;
	flex-shrink: 0;
}
.bk-step-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1rem;
	color: #fff;
}
.bk-step-info {
	margin-left: auto;
	font-size: .85rem;
	color: var(--accent);
	font-weight: 500;
}

/* ── Date Strip ────────────────────────────────────────────────── */
.bk-dates-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}
.bk-dates-arrow {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: none;
	color: rgba(255,255,255,.5);
	font-size: 1.4rem;
	cursor: pointer;
	transition: color .2s;
}
.bk-dates-arrow:hover { color: var(--accent); }
.bk-dates-arrow:disabled { opacity: .25; cursor: default; }

.bk-dates-track {
	display: flex;
	gap: 6px;
	overflow: hidden;
	flex: 1;
}
.bk-date {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 14px 4px;
	cursor: pointer;
	border: none;
	background: none;
	transition: all .25s;
	position: relative;
}
.bk-date::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 20%;
	right: 20%;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.bk-date:hover::after { transform: scaleX(.6); }
.bk-date.active::after { transform: scaleX(1); }

.bk-date-weekday {
	font-size: .72rem;
	font-family: var(--font-heading);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: rgba(255,255,255,.5);
	transition: color .25s;
}
.bk-date-day {
	font-size: 1.25rem;
	font-weight: 700;
	font-family: var(--font-heading);
	color: rgba(255,255,255,.75);
	transition: color .25s;
}
.bk-date-month {
	font-size: .65rem;
	color: rgba(255,255,255,.35);
	font-family: var(--font-heading);
	transition: color .25s;
}
.bk-date:hover .bk-date-weekday { color: rgba(255,255,255,.7); }
.bk-date:hover .bk-date-day { color: #fff; }
.bk-date:hover .bk-date-month { color: rgba(255,255,255,.5); }

.bk-date.active .bk-date-weekday { color: var(--accent); }
.bk-date.active .bk-date-day { color: #fff; }
.bk-date.active .bk-date-month { color: rgba(255,255,255,.5); }

.bk-date.today .bk-date-day { color: var(--accent); }

/* ── Time Picker ───────────────────────────────────────────────── */
.bk-times {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 8px;
}
.bk-time {
	padding: 12px 6px;
	text-align: center;
	font-family: var(--font-heading);
	font-size: .9rem;
	font-weight: 500;
	color: rgba(255,255,255,.7);
	border: 1px solid rgba(255,255,255,.1);
	background: none;
	cursor: pointer;
	transition: all .2s;
}
.bk-time:hover {
	color: #fff;
	border-color: var(--accent);
	background: rgba(var(--accent-rgb),.06);
}
.bk-time.active {
	color: #fff;
	background: var(--accent);
	border-color: var(--accent);
}

/* ── Booking Form (step 3) ─────────────────────────────────────── */
.bk-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ── Success Scene ─────────────────────────────────────────────── */
.bk-success {
	text-align: center;
	padding: 20px 0 32px;
}
.bk-scene {
	max-width: 420px;
	margin: 0 auto 28px;
}
.bk-scene-svg {
	width: 100%;
	height: auto;
}
.bk-success h4 {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
	opacity: 0;
	animation: bkTextReveal .6s ease .6s forwards;
}
.bk-success p {
	color: rgba(255,255,255,.55);
	margin-bottom: 0;
	opacity: 0;
	animation: bkTextReveal .6s ease .8s forwards;
}
@keyframes bkTextReveal {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Scene: Browser ────────────────────────────────────────────── */
.bk-anim-browser {
	opacity: 0;
	animation: bkBrowserIn .6s cubic-bezier(.34,1.56,.64,1) .1s forwards;
}
@keyframes bkBrowserIn {
	from { opacity: 0; transform: translateY(16px) scale(.88); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Content lines pulse endlessly */
.bk-pulse-line {
	animation: bkPulse 2.4s ease-in-out infinite;
}
.bk-pulse-line.bk-d1 { animation-delay: .3s; }
.bk-pulse-line.bk-d2 { animation-delay: .6s; }
.bk-pulse-line.bk-d3 { animation-delay: .9s; }
.bk-pulse-line.bk-d4 { animation-delay: 1.2s; }
@keyframes bkPulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: .35; }
}

/* Checkmark draws once then stays */
.bk-anim-checkmark {
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: bkCheckDraw .6s ease .8s forwards;
}
@keyframes bkCheckDraw { to { stroke-dashoffset: 0; } }

/* ── Scene: Figuren Eingang ────────────────────────────────────── */
.bk-fig { opacity: 0; }
.bk-fig-builder  { animation: bkSlideL .5s ease .15s forwards; }
.bk-fig-painter  { animation: bkSlideL .5s ease .25s forwards; }
.bk-fig-coder    { animation: bkSlideR .5s ease .3s forwards; }
.bk-fig-cheerer  { animation: bkSlideR .5s ease .4s forwards; }
@keyframes bkSlideL {
	from { opacity: 0; transform: translateX(-24px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes bkSlideR {
	from { opacity: 0; transform: translateX(24px); }
	to   { opacity: 1; transform: translateX(0); }
}

/* ── Scene: Hammer (endlos) ────────────────────────────────────── */
.bk-anim-hammer {
	transform-origin: 52px 150px;
	animation: bkHammer .6s ease-in-out .7s infinite;
}
@keyframes bkHammer {
	0%, 100% { transform: rotate(0); }
	30%      { transform: rotate(-30deg); }
	45%      { transform: rotate(5deg); }
}

/* ── Scene: Maler-Pinsel (endlos) ──────────────────────────────── */
.bk-anim-paint {
	transform-origin: 106px 162px;
	animation: bkPaint 1.4s ease-in-out .8s infinite;
}
@keyframes bkPaint {
	0%, 100% { transform: rotate(0); }
	25%      { transform: rotate(-15deg) translateY(-4px); }
	50%      { transform: rotate(8deg); }
	75%      { transform: rotate(-10deg) translateY(-2px); }
}

/* ── Scene: Coder tippt (endlos) ───────────────────────────────── */
.bk-anim-type-l {
	transform-origin: 300px 160px;
	animation: bkTypeL .3s ease-in-out .6s infinite alternate;
}
.bk-anim-type-r {
	transform-origin: 300px 160px;
	animation: bkTypeR .25s ease-in-out .75s infinite alternate;
}
@keyframes bkTypeL {
	from { transform: rotate(0); }
	to   { transform: rotate(-3deg); }
}
@keyframes bkTypeR {
	from { transform: rotate(0); }
	to   { transform: rotate(2deg); }
}

/* Code blinks */
.bk-code-blink {
	animation: bkCodeBlink .8s steps(1) infinite;
}
.bk-code-blink.bk-d1 { animation-delay: .2s; }
.bk-code-blink.bk-d2 { animation-delay: .5s; }
@keyframes bkCodeBlink {
	0%, 50% { opacity: .5; }
	51%, 100% { opacity: .15; }
}

/* ── Scene: Jubel-Figur (endlos) ───────────────────────────────── */
/* Hüpft leicht */
.bk-fig-cheerer {
	animation: bkSlideR .5s ease .4s forwards, bkBounce 1s ease-in-out .9s infinite;
}
@keyframes bkBounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-6px); }
}

/* Arme winken endlos */
.bk-wave-l {
	transform-origin: 360px 150px;
	animation: bkWaveL .5s ease-in-out .9s infinite alternate;
}
.bk-wave-r {
	transform-origin: 360px 150px;
	animation: bkWaveR .5s ease-in-out 1.1s infinite alternate;
}
@keyframes bkWaveL {
	from { transform: rotate(0); }
	to   { transform: rotate(-15deg); }
}
@keyframes bkWaveR {
	from { transform: rotate(0); }
	to   { transform: rotate(15deg); }
}

/* Stern pulsiert + dreht */
.bk-anim-star {
	transform-origin: 360px 116px;
	animation: bkStar 2s ease-in-out 1s infinite;
}
@keyframes bkStar {
	0%, 100% { transform: scale(1) rotate(0); opacity: .6; }
	50%      { transform: scale(1.3) rotate(180deg); opacity: 1; }
}

/* Builder Beine wackeln leicht */
.bk-leg-l {
	transform-origin: 52px 168px;
	animation: bkLegL 1.2s ease-in-out .7s infinite;
}
.bk-leg-r {
	transform-origin: 52px 168px;
	animation: bkLegR 1.2s ease-in-out .7s infinite;
}
@keyframes bkLegL {
	0%, 100% { transform: rotate(0); }
	50%      { transform: rotate(-4deg); }
}
@keyframes bkLegR {
	0%, 100% { transform: rotate(0); }
	50%      { transform: rotate(4deg); }
}

/* Jubel-Figur Beine */
.bk-jump-l {
	transform-origin: 360px 168px;
	animation: bkJumpL 1s ease-in-out .9s infinite;
}
.bk-jump-r {
	transform-origin: 360px 168px;
	animation: bkJumpR 1s ease-in-out .9s infinite;
}
@keyframes bkJumpL {
	0%, 100% { transform: rotate(0); }
	50%      { transform: rotate(5deg); }
}
@keyframes bkJumpR {
	0%, 100% { transform: rotate(0); }
	50%      { transform: rotate(-5deg); }
}

/* ── Endlos-Konfetti (fällt von oben nach unten, loops) ────────── */
.bk-confetti-loop > * {
	animation: bkConfettiLoop var(--bk-cf-dur, 3s) linear var(--bk-cf-del, 0s) infinite;
}
.bk-confetti-loop > *:nth-child(1) { --bk-cf-dur: 2.8s; --bk-cf-del: 0s;   --bk-cf-sway: -12px; --bk-cf-rot: 360deg; }
.bk-confetti-loop > *:nth-child(2) { --bk-cf-dur: 3.2s; --bk-cf-del: .4s;  --bk-cf-sway: 8px;   --bk-cf-rot: -270deg; }
.bk-confetti-loop > *:nth-child(3) { --bk-cf-dur: 2.6s; --bk-cf-del: .8s;  --bk-cf-sway: -6px;  --bk-cf-rot: 420deg; }
.bk-confetti-loop > *:nth-child(4) { --bk-cf-dur: 3.5s; --bk-cf-del: .2s;  --bk-cf-sway: 10px;  --bk-cf-rot: -300deg; }
.bk-confetti-loop > *:nth-child(5) { --bk-cf-dur: 2.4s; --bk-cf-del: 1.2s; --bk-cf-sway: -15px; --bk-cf-rot: 540deg; }
.bk-confetti-loop > *:nth-child(6) { --bk-cf-dur: 3.1s; --bk-cf-del: .6s;  --bk-cf-sway: 5px;   --bk-cf-rot: -390deg; }
.bk-confetti-loop > *:nth-child(7) { --bk-cf-dur: 2.9s; --bk-cf-del: 1s;   --bk-cf-sway: -9px;  --bk-cf-rot: 320deg; }
.bk-confetti-loop > *:nth-child(8) { --bk-cf-dur: 3.4s; --bk-cf-del: .3s;  --bk-cf-sway: 14px;  --bk-cf-rot: -450deg; }
.bk-confetti-loop > *:nth-child(9) { --bk-cf-dur: 2.7s; --bk-cf-del: .9s;  --bk-cf-sway: -7px;  --bk-cf-rot: 280deg; }
@keyframes bkConfettiLoop {
	0%   { transform: translateY(-20px) translateX(0) rotate(0); opacity: 0; }
	10%  { opacity: .8; }
	90%  { opacity: .6; }
	100% { transform: translateY(200px) translateX(var(--bk-cf-sway, 0px)) rotate(var(--bk-cf-rot, 360deg)); opacity: 0; }
}

/* Loading */
.bk-loading {
	text-align: center;
	padding: 30px;
	color: rgba(255,255,255,.45);
	font-size: .85rem;
}
.bk-loading::after {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255,255,255,.1);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: spin .6s linear infinite;
	margin-left: 8px;
	vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
	background: linear-gradient(180deg, transparent 0%, rgba(10,15,28,.6) 100%);
	padding: 80px 0 0;
	color: rgba(255,255,255,.7);
	position: relative;
	z-index: 1;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-logo {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	display: inline-block;
	margin-bottom: 16px;
}
.footer-logo span { color: var(--accent); }
.footer-brand p {
	font-size: .9rem;
	line-height: 1.7;
	color: rgba(255,255,255,.5);
	margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
	width: 40px; height: 40px;
	border-radius: 10px;
	background: rgba(255,255,255,.05);
	display: flex; align-items: center; justify-content: center;
	transition: all var(--transition);
}
.footer-social a svg { width: 18px; height: 18px; fill: rgba(255,255,255,.5); stroke: none; }
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-social a:hover svg { fill: #fff; }

.footer-column h4 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: .95rem;
	color: #fff;
	margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
	font-size: .875rem;
	color: rgba(255,255,255,.45);
	transition: all var(--transition);
	display: inline-block;
}
.footer-links a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 0;
	font-size: .8rem;
	color: rgba(255,255,255,.3);
}


/* ── Back to Top ───────────────────────────────────────────────── */
.back-to-top {
	position: fixed;
	bottom: 30px; right: 30px;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--gradient-1);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	z-index: 999;
	opacity: 0; visibility: hidden;
	transform: translateY(20px);
	transition: all var(--transition);
	box-shadow: 0 4px 20px rgba(var(--primary-rgb), .3);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(var(--primary-rgb), .45); }
.back-to-top svg { width: 20px; height: 20px; }


/* ── Cookie Banner ─────────────────────────────────────────────── */
.cookie-banner {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	z-index: 10000;
	transform: translateY(100%);
	transition: transform .5s var(--ease-out-expo);
	padding: 0 24px;
	padding-bottom: env(safe-area-inset-bottom, 0);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 20px 28px;
	background: rgba(10,15,28,.95);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	border: 1px solid rgba(255,255,255,.06); border-bottom: none;
	backdrop-filter: blur(20px);
	max-height: 80vh;
	overflow-y: auto;
}
.cookie-inner p { font-size: .85rem; color: rgba(255,255,255,.6); margin: 0; }
.cookie-inner p + p { margin-top: 4px; }
.cookie-inner a { color: var(--accent); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
	padding: 12px 24px; font-size: .85rem; font-weight: 600;
	border-radius: 8px; transition: all var(--transition);
	cursor: pointer; border: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}
.cookie-btn-accept { background: var(--accent); color: #fff; }
.cookie-btn-accept:hover { background: var(--primary); }
.cookie-btn-decline { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.cookie-btn-decline:hover { background: rgba(255,255,255,.12); }


/* ── Scroll Reveal ─────────────────────────────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal-right {
	opacity: 0;
	transform: translateX(50px);
	transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal-scale {
	opacity: 0;
	transform: scale(0.9);
	transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.revealed { opacity: 1 !important; transform: none !important; }
.stagger-children .reveal { transition-delay: calc(var(--i, 0) * 0.1s); }


/* ══════════════════════════════════════════════════════════════════
   ANIMATION ENGINE — Mouse Glow, Spotlight, Ripple, Text Reveal,
   Floating Dots, Section Glow, Card Entrance, Animated Gradients
   ══════════════════════════════════════════════════════════════════ */

.section-dark, .cta-section { position: relative; overflow: hidden; }

/* ── Card Spotlight Effect ───────────────────────────────────── */
.service-card,
.portfolio-card,
.pricing-card,
.tech-card,
.stat-card,
.process-step { --spotlight-x: 50%; --spotlight-y: 50%; }

.service-card::after,
.tech-card::after,
.stat-card::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(
		350px circle at var(--spotlight-x) var(--spotlight-y),
		rgba(var(--accent-rgb), .08),
		transparent 100%
	);
	opacity: 0;
	transition: opacity .4s;
	pointer-events: none;
	z-index: 0;
}
.service-card:hover::after,
.tech-card:hover::after,
.stat-card:hover::after { opacity: 1; }

/* ── Button Ripple ───────────────────────────────────────────── */
.btn { position: relative; overflow: hidden; }
.ripple-effect {
	position: absolute;
	border-radius: 50%;
	background: rgba(255,255,255,.25);
	transform: scale(0);
	animation: rippleExpand .7s ease-out forwards;
	pointer-events: none;
}
@keyframes rippleExpand {
	to { transform: scale(2.5); opacity: 0; }
}

/* ── Text Character Reveal ───────────────────────────────────── */
.text-reveal .char {
	display: inline-block;
	opacity: 0;
	transform: translateY(50px) rotateX(-40deg);
	transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.text-revealed .char {
	opacity: 1;
	transform: translateY(0) rotateX(0);
}

/* ── Section Tag Animated Line ───────────────────────────────── */
.section-tag {
	position: relative;
	display: inline-block;
	padding-left: 16px;
	color: var(--accent);
	font-weight: 600;
}
.section-tag::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--gradient-2);
	border-radius: 3px;
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform .6s var(--ease-out-expo);
}
.tag-revealed::before {
	transform: scaleY(1);
}



/* ── Portfolio Card Entrance ─────────────────────────────────── */
.portfolio-card {
	opacity: 0;
	transform: translateY(60px) rotateX(-5deg);
	transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.portfolio-card.card-entered {
	opacity: 1;
	transform: translateY(0) rotateX(0);
}

/* ── Section Glow on Scroll ──────────────────────────────────── */
.section.in-view .section-title,
.cta-section.in-view h2 {
	text-shadow: 0 0 40px rgba(var(--accent-rgb), .08);
}

/* ── Animated Gradient Backgrounds ───────────────────────────── */
@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.section-dark {
	background: transparent !important;
}

/* ── Enhanced Blue Accents ───────────────────────────────────── */
.service-card { position: relative; overflow: hidden; }
.service-card:hover {
	border-color: rgba(var(--accent-rgb), .25);
	box-shadow: 0 20px 50px rgba(var(--accent-rgb), .1);
}
.service-icon {
	transition: all .4s var(--ease-out-expo);
}
.service-card:hover .service-icon {
	background: var(--gradient-1);
	color: #fff;
	transform: scale(1.1) rotate(-5deg);
	box-shadow: 0 8px 25px rgba(var(--accent-rgb), .25);
}

.stat-card:hover {
	box-shadow: 0 0 30px rgba(var(--accent-rgb), .15);
	border-color: rgba(var(--accent-rgb), .3);
}

.process-step:hover .process-number {
	box-shadow: 0 0 30px rgba(var(--accent-rgb), .3);
}

/* Blue glow on portfolio card hover */
.portfolio-card:hover .browser-mockup {
	box-shadow: 0 20px 60px rgba(var(--accent-rgb), .12);
}

/* Counter done glow */
.counter-done {
	text-shadow: 0 0 20px rgba(var(--accent-rgb), .3);
}

/* ── Enhanced Hero Glow Animation ────────────────────────────── */


/* ── Subpage Styles ────────────────────────────────────────────── */
.page-hero {
	padding: 160px 24px 80px;
	background: transparent;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.page-hero::before {
	content: '';
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 30% 50%, rgba(var(--accent-rgb), .08), transparent 50%),
		radial-gradient(ellipse at 70% 50%, rgba(var(--neon-rgb), .05), transparent 50%);
}
.page-hero h1 {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700; color: #fff; position: relative;
}
.page-hero p { color: rgba(255,255,255,.5); font-size: 1.05rem; margin-top: 12px; position: relative; }
.page-content { padding: 80px 24px; }
.page-content h2 {
	font-family: var(--font-heading);
	font-size: 1.6rem; font-weight: 700;
	color: #fff; margin-bottom: 16px; margin-top: 40px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content li { color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 12px; }
.page-content ul, .page-content ol { padding-left: 24px; }
.page-content a { color: var(--accent); text-decoration: underline; }
.page-content strong { color: #fff; }


/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.portfolio-grid { grid-template-columns: repeat(2, 1fr); }
	.process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.process-grid::before { display: none; }
	.pricing-grid { grid-template-columns: repeat(2, 1fr); }
	.pricing-card.featured { grid-column: span 2; max-width: 400px; justify-self: center; }
	.about-grid { grid-template-columns: 1fr; gap: 48px; }
	.contact-grid { grid-template-columns: 1fr; gap: 48px; }
	.kpr-slots-grid { flex-direction: row; flex-wrap: wrap; max-height: none; }
	.kpr-slot { flex: 0 0 auto; }
	.ct-tab { padding: 12px 24px; font-size: .9rem; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
	.footer-brand { grid-column: span 2; }
	.tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.section { padding: 80px 0; }
	.nav-toggle { display: flex; z-index: 1002; position: relative; }
	.nav-links {
		position: fixed; inset: 0;
		background: var(--bg-dark);
		flex-direction: column; align-items: center; justify-content: center; gap: 20px;
		transform: translateX(100%);
		transition: transform .4s var(--ease-out-expo);
		z-index: 1001;
	}
	.nav-links.open { transform: translateX(0); }
	.nav-link { color: rgba(255,255,255,.7) !important; font-size: 1.1rem; }
	.nav-link.active { color: #fff !important; }
	.nav-cta { margin: 16px 0 0; }
	.services-grid { grid-template-columns: 1fr; }
	.portfolio-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
	.pricing-grid { grid-template-columns: 1fr; }
	.pricing-card.featured { grid-column: span 1; max-width: none; transform: none; }
	.pricing-card.featured:hover { transform: translateY(-8px); }
	.process-grid { grid-template-columns: 1fr 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.contact-info-row { flex-direction: column; gap: 12px; }
	.ct-tab { padding: 10px 16px; font-size: .85rem; }
	.ct-panel-inner { padding: 0; }
	.bk-dates-arrow { width: 28px; height: 28px; font-size: 1.1rem; }
	.bk-date-day { font-size: 1rem; }
	.bk-times { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
	.hero-buttons { flex-direction: column; align-items: center; }
	.cookie-inner { flex-direction: column; text-align: center; gap: 16px; }
	.cookie-buttons { flex-direction: column; width: 100%; }
	.cookie-btn { width: 100%; padding: 14px 22px; font-size: .9rem; }
	.cookie-banner { padding: 0 16px calc(8px + env(safe-area-inset-bottom)); }
	.marquee-section { display: none; }
	.tech-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
	.mock-stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
	.container { padding: 0 16px; }
	.hero { padding: 100px 16px 60px; }
	.section { padding: 60px 0; }
	.section-header { margin-bottom: 40px; }
	.process-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr 1fr; }
}


/* ── Print ──────────────────────────────────────────────────────── */
@media print {
	.navbar, .loader, .back-to-top, .cookie-banner, .cursor-dot, .cursor-outline,
	.scroll-progress, .noise-overlay, .wave-divider,
	#global-particles, .marquee-section, .cta-section { display: none !important; }
	.hero { min-height: auto; background: #fff; color: var(--text); padding: 40px 0; }
	.hero h1 { color: var(--primary); }
	.section-dark { background: #fff; color: var(--text); }
	body { font-size: 12pt; }
}

/* ── Reduced Motion (WCAG 2.1 AA) ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.loader, .cursor-dot, .cursor-outline, .noise-overlay,
	#global-particles, .scroll-progress { display: none !important; }
	.marquee-track { animation: none !important; }
}
