/* Header – taken unchanged from the original template (layout.css) */
/* - Header */
.header {
	padding: 0 0 0 50px;
	position: fixed;
	left: 50px;
	right: 50px;
	top: 40px;
	height: 80px;
	z-index: 100;
	background: #585d65;
	border-radius: 80px;
	-moz-border-radius: 80px;
	-webkit-border-radius: 80px;
	-khtml-border-radius: 80px;
	transition: all 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
	-moz-transition: all 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
	-webkit-transition: all 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
	-o-transition: all 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
}

.header .logo {
	position: relative;
	float: left;
	width: 200px;
	height: 80px;
	display: flex;
	font-size: 0;
	line-height: 1.2;
	font-weight: 800;
	color: #FFF;
	align-items: center;
}

.header .logo a {
	color: #FFF;
}

.header .logo img {
	max-width: 100%;
}

.header .logo img.logo-img {
	margin-right: 30px;
	width: auto;
	height: auto;
	max-width: 36px;
	display: inline-block;
}

.header .logo .logo-lnk {
	font-size: 18px;
	text-decoration: none;
	display: inline-block;
	max-width: 100px;
}

.header .download-cv-btn {
	float: right;
	margin-top: 8px;
	margin-right: 8px;
	border-color: #FFF;
}

.header .download-cv-btn:hover .icon {
	transform: translateY(0);
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-o-transform: translateY(0);
}

.header .top-menu {
	margin-right: 50px;
	float: right;
}

.header .top-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	height: 80px;
	display: flex;
	align-items: center;
}

.header .top-menu ul li {
	margin-left: 40px;
	display: inline-block;
	vertical-align: top;
	position: relative;
}

.header .top-menu ul li a {
	position: relative;
	overflow: hidden;
	display: block;
	font-size: 12px;
	line-height: 50px;
	color: #FFF;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
	-moz-transition: color 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
	-webkit-transition: color 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
	-o-transition: color 0.7s cubic-bezier(0.165, 0.85, 0.45, 1);
}

.header .top-menu ul li:first-child {
	margin-left: 0;
}

.header .top-menu ul li:hover > .sub-menu, .header .top-menu ul li:hover > .children {
	opacity: 1;
	pointer-events: auto;
}

.header .top-menu ul li.current-menu-item > a {
	color: #68e0cf;
}

.header .top-menu ul li:hover > a:hover .animated-button em {
	transform: translateY(calc(16px * -1));
}

.header .top-menu ul li.menu-item-has-children > a:after {
	content: "\f078";
	margin-left: 5px;
	position: relative;
	top: 0;
	display: inline-block;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 1em;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
}

.header .top-menu-nav .sub-menu,
.header .top-menu-nav .children {
	position: absolute;
	left: 0;
	top: 50px;
	padding: 10px 0;
	width: 190px;
	height: auto;
	display: block;
	background: #585d65;
	z-index: 50;
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	box-shadow: 0 5px 50px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 5px 50px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 5px 50px rgba(0, 0, 0, 0.3);
	-khtml-box-shadow: 0 5px 50px rgba(0, 0, 0, 0.3);
}

.header .top-menu ul li:last-child .sub-menu,
.header .top-menu-nav .children {
	right: 0;
	left: auto;
}

.header .top-menu-nav .sub-menu:before,
.header .top-menu-nav .children:before {
	content: '';
	position: absolute;
	left: 10px;
	top: -12px;
	border: 6px solid transparent;
	border-bottom: 6px solid #585d65;
}

.header .top-menu ul li:last-child .sub-menu:before,
.header .top-menu-nav .children:before {
	right: 10px;
	left: auto;
}

.header .top-menu-nav .sub-menu li,
.header .top-menu-nav .children li {
	margin-left: 0;
	padding: 10px 20px;
	display: block;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	height: auto;
}

.header .top-menu-nav .sub-menu li:last-child,
.header .top-menu-nav .children li:last-child {
	border-bottom: none;
}

.header .top-menu-nav .sub-menu li a,
.header .top-menu-nav .children li a {
	margin: 0;
	display: block;
	font-size: 11px;
	line-height: 1.4;
	color: #FFF;
}

.header .top-menu-nav .sub-menu li a:hover,
.header .top-menu-nav .children li a:hover,
.header .top-menu-nav .sub-menu li.active a,
.header .top-menu-nav .children li.active a {
	color: #68e0cf;
}

.header .menu-btn {
	padding: 20px;
	position: relative;
	margin: 0 auto;
	margin-top: 8px;
	width: 64px;
	height: 64px;
	line-height: 62px;
	display: none;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 64px;
	-moz-border-radius: 64px;
	-webkit-border-radius: 64px;
	-khtml-border-radius: 64px;
}

.header .menu-btn:before, .header .menu-btn:after {
	content: '';
	position: absolute;
	top: 22px;
	left: 20px;
	right: 20px;
	height: 2px;
	background: #FFF;
	transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
}

.header .menu-btn:after {
	top: auto;
	bottom: 22px;
}

.header .menu-btn span {
	position: absolute;
	top: 50%;
	left: 25px;
	right: 25px;
	height: 2px;
	background: #FFF;
	margin-top: -1px;
	transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
}


/* header active */
.header.active {
	top: 0;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	height: 100%;
	background: #373b40;
}

.header.active .menu-btn:before {
	opacity: 0;
}

.header.active .menu-btn:after {
	bottom: 30px;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
}

.header.active .menu-btn span {
	left: 20px;
	right: 20px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
}

.header.active .top-menu {
	height: auto;
	opacity: 1;
	visibility: visible;
}

.header.active .top-menu ul li .sub-menu,
.header.active .top-menu ul li .children {
	display: block;
}


@media (max-width: 1199px) {
	.header {
		padding: 0 30px;
		left: 0;
		right: 0;
		top: 20px;
		height: 80px;
		background: none;
		border-radius: 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		-khtml-border-radius: 0;
	}


	.header.fixed {
		top: 0;
		background: #3a3e44;
	}


	.header .download-cv-btn {
		display: none;
	}


	.header .top-menu-nav {
		display: block;
	}


	.header .top-menu {
		position: relative;
		top: 0;
		left: 0;
		margin-top: 0;
		margin-left: 0;
		margin-right: 0;
		float: none;
		width: auto;
		height: 0px;
		text-align: center;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.35s cubic-bezier(0.165, 0.85, 0.45, 1);
		-moz-transition: opacity 0.35s cubic-bezier(0.165, 0.85, 0.45, 1);
		-webkit-transition: opacity 0.35s cubic-bezier(0.165, 0.85, 0.45, 1);
		-o-transition: opacity 0.35s cubic-bezier(0.165, 0.85, 0.45, 1);
	}


	.header.active .top-menu {
		padding-top: 30px;
		clear: both;
	}


	.header .top-menu .menu-top-menu-container {
		display: block;
	}


	.header .top-menu ul {
		display: block;
	}


	.header .top-menu ul li {
		margin-left: 0;
		display: block;
	}


	.header .top-menu ul li a {
		font-size: 20px;
	}


	.header .top-menu-nav .sub-menu, .header .top-menu-nav .children {
		position: relative;
		left: 0;
		top: 0;
		margin: 20px 0;
		width: auto;
		text-align: center;
		pointer-events: none;
		display: block;
		opacity: 0;
		visibility: hidden;
	}


	.header.active .top-menu-nav .sub-menu, .header.active .top-menu-nav .children {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}


	.header .top-menu-nav .sub-menu:before, .header .top-menu-nav .children:before {
		margin-left: -6px;
		left: 50%;
	}


	.header .top-menu-nav .sub-menu li .sub-menu, .header .top-menu-nav .children li .children {
		left: 0;
		top: 0;
		margin: 0 -20px;
		background: #f4f4f4;
		box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		-khtml-box-shadow: none;
	}


	.header .top-menu-nav .sub-menu li .sub-menu:before, .header .top-menu-nav .children li .children:before {
		left: 50%;
		top: -12px;
		border: 6px solid transparent;
		border-right: 6px solid transparent;
		border-bottom: 6px solid #FFF;
	}


	.header .top-menu ul li:last-child .sub-menu:before, .header .top-menu-nav .children:before {
		right: 50%;
		left: auto;
		margin-left: 0;
		margin-right: -6px;
	}


	.header .menu-btn {
		display: block;
		float: right;
	}

}

/* ==========================================================================
   Paul Czerwenka Solutions – page layout
   ========================================================================== */

:root {
	--bg: #373b40;
	--bg-deep: #2f3237;
	--surface: #41464d;
	--surface-2: #4a5058;
	--line: #585d65;
	--accent: #FB8122;
	--accent-soft: rgba(251, 129, 34, 0.12);
	--text: #ffffff;
	--muted: rgba(255, 255, 255, 0.68);
	--radius: 28px;
	--ease: cubic-bezier(0.165, 0.85, 0.45, 1);
	--gutter: 100px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
}

h1, h2, h3, h4 {
	color: var(--text);
	margin: 0;
	line-height: 1.15;
}

p {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--muted);
}

.wrap {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* --- section scaffolding --- */
.section {
	position: relative;
	padding: 130px 0;
}

.section--deep {
	background: var(--bg-deep);
}

.section-head {
	max-width: 720px;
	margin-bottom: 64px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.eyebrow:before {
	content: '';
	width: 28px;
	height: 2px;
	background: var(--accent);
}

.section-title {
	font-size: clamp(32px, 4.2vw, 52px);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.section-lead {
	margin-top: 22px;
	font-size: 17px;
}

/* --- buttons (extend template .btn) --- */
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 44px;
}

a.btn.btn--solid {
	background: var(--accent);
	border-color: var(--accent);
}

a.btn.btn--solid .animated-button span {
	text-shadow: 0 16px 0 #fff;
}

a.btn.btn--solid:hover {
	border-color: var(--accent);
}

a.btn.btn--solid:hover .icon {
	color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	padding: 220px 0 110px;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero:before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
	pointer-events: none;
}

.hero:after {
	content: '';
	position: absolute;
	width: 720px;
	height: 720px;
	right: -160px;
	top: 0;
	background: radial-gradient(circle, rgba(251, 129, 34, 0.22) 0%, rgba(251, 129, 34, 0) 65%);
	pointer-events: none;
}

.hero .wrap {
	position: relative;
	z-index: 1;
	width: 100%;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: 70px;
}

.hero-title {
	font-size: clamp(40px, 5.6vw, 76px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.hero-title strong {
	color: var(--accent);
	font-weight: 800;
}

.hero-typed {
	margin-top: 28px;
	min-height: 30px;
	font-size: 18px;
	font-weight: 600;
	color: var(--text);
}

.hero-typed .typed-text {
	color: var(--accent);
}

.hero-typed .typed-caret {
	display: inline-block;
	width: 2px;
	height: 1.1em;
	margin-left: 3px;
	vertical-align: -3px;
	background: var(--accent);
	animation: caret 1s steps(1) infinite;
}

@keyframes caret {
	50% { opacity: 0; }
}

.hero-text {
	margin-top: 20px;
	max-width: 560px;
	font-size: 17px;
}

/* code window visual */
.hero-visual {
	position: relative;
	padding: 40px 0;
}

.code-window {
	position: relative;
	background: #2a2d31;
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	transform: rotate(-1.5deg);
}

.code-window-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(255, 255, 255, 0.03);
}

.code-window-bar span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #585d65;
}

.code-window-bar span:first-child {
	background: var(--accent);
}

.code-window-bar em {
	margin-left: 12px;
	font-style: normal;
	font-size: 12px;
	color: var(--muted);
}

.code-window pre {
	margin: 0;
	padding: 26px 28px 30px;
	overflow-x: auto;
	background: transparent;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 14px;
	line-height: 1.85;
	color: #d6d9de;
}

.code-window code {
	display: block;
	padding: 0;
	overflow: visible;
	max-width: none;
	white-space: pre;
	font: inherit;
	font-style: normal;
	color: inherit;
}

.code-window .k { color: var(--accent); }
.code-window .s { color: #9fd8a4; }
.code-window .f { color: #8cc4ff; }
.code-window .c { color: #7a7f88; }

.float-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	white-space: nowrap;
}

.float-card i {
	color: var(--accent);
}

.float-card--a {
	left: -34px;
	bottom: 6px;
	animation: float 6s ease-in-out infinite;
}

.float-card--b {
	right: -18px;
	top: 0;
	animation: float 6s ease-in-out -3s infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* stats */
.stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 100px;
	border-top: 1px solid var(--line);
}

.stat {
	padding: 34px 30px 0 0;
}

.stat + .stat {
	padding-left: 30px;
	border-left: 1px solid var(--line);
}

.stat-value {
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
	color: var(--text);
}

.stat-value span {
	color: var(--accent);
}

.stat-label {
	margin-top: 12px;
	font-size: 14px;
	color: var(--muted);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 38px 32px 36px;
	background: var(--surface);
	border: 1px solid transparent;
	border-radius: var(--radius);
	transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), background 0.6s var(--ease);
}

.service-card:hover {
	transform: translateY(-6px);
	border-color: var(--accent);
	background: var(--surface-2);
}

.service-num {
	position: absolute;
	top: 34px;
	right: 32px;
	font-size: 13px;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.25);
}

.service-icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 34px;
	font-size: 22px;
	color: var(--accent);
	background: var(--accent-soft);
	border-radius: 18px;
}

.service-card h3 {
	margin-bottom: 14px;
	font-size: 21px;
	font-weight: 800;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
	counter-reset: step;
	list-style: none;
	margin: 0;
	padding: 0;
}

.process-step {
	position: relative;
	padding-top: 76px;
}

.process-step:before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	font-size: 14px;
	font-weight: 800;
	color: var(--accent);
	background: var(--bg-deep);
	border: 1px solid var(--accent);
	border-radius: 50%;
	z-index: 1;
}

.process-step:after {
	content: '';
	position: absolute;
	top: 26px;
	left: 52px;
	right: -40px;
	height: 1px;
	background: var(--line);
}

.process-step:last-child:after {
	display: none;
}

.process-step h3 {
	margin-bottom: 12px;
	font-size: 19px;
	font-weight: 800;
}

/* ==========================================================================
   Projects
   ========================================================================== */
.projects {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.project-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: var(--text);
	text-decoration: none;
	background: var(--surface);
	border: 1px solid transparent;
	border-radius: var(--radius);
	transition: transform 0.6s var(--ease), border-color 0.6s var(--ease);
}

.project-card:hover {
	color: var(--text);
	transform: translateY(-6px);
	border-color: var(--accent);
}

.project-media {
	display: grid;
	place-items: center;
	height: 220px;
	margin: 10px 10px 0;
	background: #fff;
	border-radius: calc(var(--radius) - 8px);
}

.project-media img {
	width: 150px;
	height: 150px;
	object-fit: contain;
	transition: transform 0.6s var(--ease);
}

.project-card:hover .project-media img {
	transform: scale(1.06);
}

.project-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px 30px 32px;
}

.project-tag {
	align-self: flex-start;
	margin-bottom: 16px;
	padding: 5px 14px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	background: var(--accent-soft);
	border-radius: 999px;
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.project-tags .project-tag {
	margin-bottom: 0;
}

.project-card h3 {
	margin-bottom: 12px;
	font-size: 22px;
	font-weight: 800;
}

.project-link {
	margin-top: auto;
	padding-top: 24px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.project-link i {
	margin-left: 8px;
	color: var(--accent);
	transition: transform 0.6s var(--ease);
}

.project-card:hover .project-link i {
	transform: translateX(6px);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 80px;
	align-items: start;
}

.about-text p + p {
	margin-top: 20px;
}

.signature {
	margin-top: 36px;
	font-family: "Mr Dafoe", cursive;
	font-size: 46px;
	line-height: 1;
	color: var(--accent);
}

.signature-role {
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted);
}

.tech-card {
	padding: 40px;
	background: var(--surface);
	border-radius: var(--radius);
}

.tech-card h3 {
	margin-bottom: 8px;
	font-size: 20px;
	font-weight: 800;
}

.tech-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.tech-list li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid var(--line);
	border-radius: 999px;
	transition: border-color 0.4s var(--ease);
}

.tech-list li:hover {
	border-color: var(--accent);
}

.tech-list li i {
	color: var(--accent);
}

.values {
	margin: 34px 0 0;
	padding: 30px 0 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.values li {
	position: relative;
	padding-left: 32px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

.values li + li {
	margin-top: 14px;
}

.values li:before {
	content: "\f00c";
	position: absolute;
	left: 0;
	top: 1px;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: var(--accent);
}

.values strong {
	color: var(--text);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 80px;
	align-items: start;
}

.contact-details {
	margin: 44px 0 0;
	padding: 0;
	list-style: none;
}

.contact-details li {
	display: flex;
	align-items: center;
	gap: 18px;
}

.contact-details li + li {
	margin-top: 22px;
}

.contact-details .ico {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	font-size: 17px;
	color: var(--accent);
	border: 1px solid var(--line);
	border-radius: 50%;
}

.contact-details small {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	color: var(--muted);
}

.contact-details span,
.contact-details a {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
}

.contact-details a:hover {
	color: var(--accent);
}

.contact-card {
	padding: 48px;
	background: var(--surface);
	border-radius: var(--radius);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-field {
	margin-bottom: 20px;
}

.form-field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}

.form-field label strong {
	color: var(--accent);
}

.contact-card input,
.contact-card textarea {
	background: var(--bg) !important;
	border-color: transparent;
}

.contact-card input:focus,
.contact-card textarea:focus {
	border-color: var(--accent);
}

.contact-card input.error,
.contact-card textarea.error {
	border: 1px solid #e5484d !important;
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-top: 10px;
}

.form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-note {
	margin-bottom: 18px;
	font-size: 13px;
	line-height: 1.6;
}

.form-note a {
	color: var(--accent);
}

.form-status {
	font-size: 14px;
	color: var(--muted);
}

.form-status.is-error {
	color: #ff8a8d;
}

.form-success {
	display: none;
	padding: 40px 0;
	text-align: center;
}

.form-success i {
	font-size: 42px;
	color: var(--accent);
}

.form-success h3 {
	margin: 20px 0 10px;
	font-size: 24px;
	font-weight: 800;
}

.contact-card.is-sent form {
	display: none;
}

.contact-card.is-sent .form-success {
	display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	padding: 50px 0;
	border-top: 1px solid var(--line);
	background: var(--bg-deep);
}

.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 15px;
	font-weight: 800;
	color: var(--text);
	text-decoration: none;
}

.footer-brand img {
	width: 32px;
}

.footer-copy {
	font-size: 13px;
	color: var(--muted);
}

.footer-legal {
	display: flex;
	gap: 22px;
}

.footer-legal a {
	font-size: 13px;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.3s var(--ease);
}

.footer-legal a:hover,
.footer-legal a[aria-current="page"] {
	color: var(--accent);
}

.footer-socials {
	display: flex;
	gap: 12px;
}

.footer-socials a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	color: var(--text);
	text-decoration: none;
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: all 0.6s var(--ease);
}

.footer-socials a:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* ==========================================================================
   Preloader + reveal (driven by js/site.js)
   ========================================================================== */
.preloader .box-1,
.preloader .box-2 {
	transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
}

.preloader .box-2 {
	transition-duration: 0.4s;
}

.preloader .spinner {
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.preloader.is-loaded .spinner {
	opacity: 0;
	transform: translateY(-40px);
}

.preloader.is-loaded .box-1,
.preloader.is-loaded .box-2 {
	transform: translateY(-100%);
}

.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.float-card,
	.hero-typed .typed-caret {
		animation: none;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
	:root {
		--gutter: 30px;
	}

	.section {
		padding: 100px 0;
	}

	.hero {
		padding-top: 160px;
		min-height: 0;
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 50px;
	}

	.hero-visual {
		max-width: 560px;
	}

	.float-card--a {
		left: 10px;
	}

	.float-card--b {
		right: 10px;
	}

	.services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.process {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 50px;
	}

	.process-step:nth-child(2n):after {
		display: none;
	}

	.about-grid,
	.contact-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 60px;
	}
}

@media (max-width: 860px) {
	.projects {
		grid-template-columns: 1fr;
		max-width: 520px;
	}
}

@media (max-width: 720px) {
	:root {
		--gutter: 20px;
		--radius: 22px;
	}

	.section {
		padding: 80px 0;
	}

	.section-head {
		margin-bottom: 44px;
	}

	.hero {
		padding: 140px 0 70px;
	}

	.hero-text,
	.section-lead {
		font-size: 16px;
	}

	.code-window pre {
		font-size: 12px;
		padding: 20px;
	}

	.float-card {
		display: none;
	}

	.stats {
		grid-template-columns: 1fr;
		margin-top: 60px;
	}

	.stat,
	.stat + .stat {
		padding: 24px 0;
		border-left: none;
	}

	.stat + .stat {
		border-top: 1px solid var(--line);
	}

	.services,
	.process {
		grid-template-columns: minmax(0, 1fr);
	}

	.process-step:after {
		display: none;
	}

	.tech-card,
	.contact-card {
		padding: 30px 22px;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.btn-row a.btn {
		width: 100%;
	}
}

/* ==========================================================================
   Header logo: one line when there is room, otherwise
   "Paul Czerwenka" / "Solutions" on two lines
   ========================================================================== */
.header .logo {
	width: auto;
}

.header .logo a {
	display: flex;
	align-items: center;
	min-width: 0;
	text-decoration: none;
}

.header .logo img.logo-img {
	flex: none;
}

.header .logo .logo-lnk {
	max-width: none;
}

.header .logo .logo-lnk > span {
	white-space: nowrap;
}

@media (min-width: 1200px) {
	.header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 40px;
	}

	.header .logo {
		float: none;
		flex: 0 1 auto;
		min-width: 0;
	}

	.header .header-sidebar {
		flex: none;
	}

	.header .top-menu {
		float: none;
	}
}

@media (max-width: 1199px) {
	.header .logo {
		max-width: calc(100% - 72px);
	}
}

@media (max-width: 380px) {
	.header .logo img.logo-img {
		margin-right: 14px;
	}

	.header .logo .logo-lnk {
		font-size: 16px;
	}
}

/* ==========================================================================
   Legal pages (impressum.html, datenschutz.html)
   ========================================================================== */
/* top padding clears the fixed header (same offset as the hero) */
.legal {
	max-width: 820px;
	padding-top: 220px;
	padding-bottom: 110px;
}

.legal h1 {
	margin-bottom: 50px;
	font-size: clamp(32px, 4.2vw, 48px);
	font-weight: 800;
}

.legal h2 {
	margin: 48px 0 16px;
	font-size: 22px;
	font-weight: 700;
}

.legal h3 {
	margin: 28px 0 10px;
	font-size: 17px;
	font-weight: 700;
}

.legal p,
.legal li {
	font-size: 15px;
	line-height: 1.75;
	color: var(--muted);
}

.legal p + p {
	margin-top: 12px;
}

.legal ul {
	margin: 12px 0 0;
	padding-left: 22px;
}

.legal a {
	color: var(--accent);
	word-break: break-word;
}

.legal address {
	font-style: normal;
}

.legal .todo {
	padding: 1px 6px;
	color: #1d1f22;
	background: #ffd166;
	border-radius: 4px;
}

@media (max-width: 1199px) {
	.legal {
		padding-top: 160px;
	}
}

@media (max-width: 720px) {
	.legal {
		padding-bottom: 80px;
	}
}
