/*
Theme Name: Kelira
Theme URI: https://kelira.de
Author: Kelira
Description: Maßgeschneidertes Theme für Kelira – KI-Entwicklung und Software-Dienstleistungen in Web- und Applikationsentwicklung. Dark-Tech-Design mit Lime-Akzent.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kelira
*/

/* =========================================================
   Fonts (Satoshi, selbst gehostet)
   ========================================================= */
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Light.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Light.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Regular.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Medium.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Bold.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Black.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Black.woff") format("woff");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* =========================================================
   Design-Tokens
   ========================================================= */
:root {
	--color-bg: #0d0e12;
	--color-bg-elev: #14161c;
	--color-bg-card: #181b22;
	--color-border: #262a33;
	--color-accent: #ccff22;
	--color-accent-dim: #b6e61e;
	--color-text: #f2f3f5;
	--color-text-muted: #b2b8c2;
	--color-text-faint: #8a909c;

	--font-sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--maxw: 1200px;
	--radius: 14px;
	--radius-lg: 22px;
	--space: clamp(4rem, 9vw, 8rem);

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Reset / Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

::selection { background: var(--color-accent); color: #0d0e12; }

:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: var(--space); position: relative; }

.section--alt { background: var(--color-bg-elev); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 1rem;
}
.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--color-accent);
}

.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.section-head p { color: var(--color-text-muted); font-size: 1.1rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.95rem 1.6rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
	will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-accent); color: #0d0e12; }
.btn--primary:hover { background: #d9ff52; }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(13, 14, 18, 0.8);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom-color: var(--color-border);
}
/* Offset the fixed header below the WordPress admin bar (logged-in users only). */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: 84px;
	transition: height 0.3s var(--ease);
}
/* Subtle shrink when scrolled for a polished sticky header. */
.site-header.is-scrolled .site-header__inner { height: 68px; }
.site-header.is-scrolled .brand__mark { width: 36px; height: 36px; }
.brand__mark { width: 42px; height: 42px; }
.site-brand { display: inline-flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark {
	flex: 0 0 auto;
	border-radius: 11px;
	transition: transform 0.3s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
}
.site-brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__name {
	font-weight: 900;
	font-size: 1.65rem;
	letter-spacing: -0.03em;
	line-height: 1;
}
.brand__name span { color: var(--color-accent); }

/* Footer brand: a touch larger, stacked spacing handled by footer grid. */
.footer__brand .brand__name { font-size: 1.5rem; }
.footer__brand .brand__mark { width: 38px; height: 38px; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.main-nav .btn { padding: 0.6rem 1.3rem; font-size: 0.95rem; }
.main-nav a {
	font-weight: 500;
	font-size: 0.98rem;
	color: var(--color-text-muted);
	position: relative;
}
.main-nav a:hover { color: var(--color-text); }
.main-nav .current-menu-item a { color: var(--color-text); }
/* Buttons inside the nav must keep their own (high-contrast) text colour. */
.main-nav a.btn--primary,
.main-nav a.btn--primary:hover { color: #0d0e12; }
.main-nav a.btn--ghost { color: var(--color-text); }
.main-nav a.btn--ghost:hover { color: var(--color-accent); }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	width: 44px;
	height: 44px;
	padding: 10px;
}
.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--color-text);
	margin: 5px 0;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
	position: relative;
	padding-top: clamp(9rem, 16vh, 12rem);
	padding-bottom: var(--space);
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	top: -20%;
	left: 50%;
	transform: translateX(-50%);
	width: 70vw;
	height: 70vw;
	max-width: 900px;
	max-height: 900px;
	background: radial-gradient(circle, rgba(204, 255, 34, 0.14), transparent 60%);
	pointer-events: none;
	z-index: 0;
}
.hero__grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(var(--color-border) 1px, transparent 1px),
		linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
	opacity: 0.25;
	z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
	font-size: clamp(2.6rem, 7vw, 5.25rem);
	max-width: 16ch;
}
.hero h1 em { color: var(--color-accent); font-style: normal; }
.hero__lead {
	max-width: 56ch;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: var(--color-text-muted);
	margin-bottom: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 5vw, 3.5rem);
	margin-top: 3rem;
	padding-top: 2.25rem;
	border-top: 1px solid var(--color-border);
}

/* Chat mockup (used on the Chatbots page) */
.chat-card {
	width: 100%;
	max-width: 420px;
	background: rgba(20, 22, 28, 0.85);
	backdrop-filter: blur(8px);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
	overflow: hidden;
	animation: chat-float 6s ease-in-out infinite;
}
@keyframes chat-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}
.chat-card__head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--color-border);
	background: rgba(255, 255, 255, 0.02);
}
.chat-card__avatar {
	width: 34px; height: 34px;
	border-radius: 10px;
	display: grid; place-items: center;
	font-weight: 900; color: #0d0e12;
	background: linear-gradient(135deg, var(--color-accent), #8fbf12);
}
.chat-card__name { font-weight: 700; font-size: 0.95rem; }
.chat-card__status {
	margin-left: auto;
	display: inline-flex; align-items: center; gap: 0.4rem;
	font-size: 0.8rem; color: var(--color-text-faint);
}
.chat-card__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 0 0 0 rgba(204, 255, 34, 0.6);
	animation: chat-pulse 2s infinite;
}
@keyframes chat-pulse {
	0% { box-shadow: 0 0 0 0 rgba(204, 255, 34, 0.5); }
	70% { box-shadow: 0 0 0 7px rgba(204, 255, 34, 0); }
	100% { box-shadow: 0 0 0 0 rgba(204, 255, 34, 0); }
}
.chat-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.7rem; }
.chat-bubble {
	max-width: 85%;
	padding: 0.7rem 1rem;
	border-radius: 16px;
	font-size: 0.92rem;
	line-height: 1.45;
}
.chat-bubble--user {
	align-self: flex-end;
	background: var(--color-bg-elev);
	border: 1px solid var(--color-border);
	border-bottom-right-radius: 4px;
	color: var(--color-text);
}
.chat-bubble--bot {
	align-self: flex-start;
	background: rgba(204, 255, 34, 0.12);
	border: 1px solid rgba(204, 255, 34, 0.25);
	border-bottom-left-radius: 4px;
	color: var(--color-text);
}
.chat-bubble--typing {
	align-self: flex-start;
	display: inline-flex;
	gap: 4px;
	padding: 0.9rem 1rem;
	background: rgba(204, 255, 34, 0.12);
	border: 1px solid rgba(204, 255, 34, 0.25);
	border-bottom-left-radius: 4px;
}
.chat-bubble--typing span {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--color-accent);
	opacity: 0.6;
	animation: chat-typing 1.2s infinite;
}
.chat-bubble--typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chat-typing {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
	30% { transform: translateY(-4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.chat-card, .chat-card__dot, .chat-bubble--typing span { animation: none; }
}

/* Themed mockup placed centered within a service page's content */
.page-visual {
	display: flex;
	justify-content: center;
	margin: 2.5rem 0 3rem;
}

/* Code editor mockup (Softwareentwicklung) */
.code-card {
	width: 100%;
	max-width: 460px;
	background: rgba(16, 18, 23, 0.95);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}
.code-card__bar {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.7rem 1rem;
	border-bottom: 1px solid var(--color-border);
	background: rgba(255, 255, 255, 0.02);
}
.code-card__dots { display: inline-flex; gap: 6px; }
.code-card__dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a4150; }
.code-card__dots i:nth-child(1) { background: #ff5f57; }
.code-card__dots i:nth-child(2) { background: #febc2e; }
.code-card__dots i:nth-child(3) { background: #28c840; }
.code-card__file { font-size: 0.85rem; color: var(--color-text-faint); }
.code-card__body {
	margin: 0;
	padding: 1.25rem;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 0.85rem;
	line-height: 1.7;
	color: var(--color-text);
	white-space: pre;
	overflow-x: auto;
}
.tok-key { color: var(--color-accent); }
.tok-str { color: #7fd1b9; }
.tok-fn { color: #e6e8eb; }
.tok-prop { color: #b9a7ff; }
.tok-com { color: var(--color-text-faint); font-style: italic; }
.code-caret {
	display: inline-block;
	color: var(--color-accent);
	animation: code-blink 1.1s steps(1) infinite;
}
@keyframes code-blink { 50% { opacity: 0; } }

/* Neural-network / AI mockup (KI-Entwicklung) */
.ai-card {
	width: 100%;
	max-width: 460px;
	background: rgba(20, 22, 28, 0.9);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}
.ai-card__bar {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.9rem 1.25rem;
	border-bottom: 1px solid var(--color-border);
	font-size: 0.9rem;
}
.ai-card__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--color-accent);
	animation: chat-pulse 2s infinite;
}
.ai-card__title { font-weight: 700; }
.ai-card__pct { margin-left: auto; color: var(--color-accent); font-weight: 700; }
.ai-card__viz { padding: 1.25rem 1rem 0.5rem; }
.ai-card__viz svg { width: 100%; height: auto; display: block; }
.nn-active circle { animation: nn-pulse 1.8s ease-in-out infinite; }
.nn-active circle:nth-child(2) { animation-delay: 0.4s; }
.nn-active circle:nth-child(3) { animation-delay: 0.8s; }
@keyframes nn-pulse {
	0%, 100% { opacity: 0.4; transform: scale(0.8); transform-origin: center; }
	50% { opacity: 1; }
}
.nn-flow path { animation: nn-dash 1.4s linear infinite; }
@keyframes nn-dash { to { stroke-dashoffset: -16; } }
.ai-card__foot {
	display: flex; align-items: center; gap: 0.75rem;
	padding: 0.5rem 1.25rem 1.25rem;
	font-size: 0.82rem; color: var(--color-text-faint);
}
.ai-card__bar-track { flex: 1; height: 6px; border-radius: 3px; background: var(--color-bg-elev); overflow: hidden; }
.ai-card__bar-fill { display: block; height: 100%; width: 98%; border-radius: 3px; background: linear-gradient(90deg, #8fbf12, var(--color-accent)); animation: ai-fill 2.4s ease-out both; }
@keyframes ai-fill { from { width: 0; } to { width: 98%; } }
@media (prefers-reduced-motion: reduce) {
	.code-caret, .nn-active circle, .nn-flow path, .ai-card__bar-fill, .ai-card__dot { animation: none; }
}
.hero__stat {
	position: relative;
	padding-left: 1.1rem;
}
.hero__stat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35rem;
	bottom: 0.35rem;
	width: 3px;
	border-radius: 2px;
	background: var(--color-accent);
}
.hero__stat strong {
	display: block;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 900;
	line-height: 1.05;
	margin-bottom: 0.35rem;
}
.hero__stat span { color: var(--color-text-muted); font-size: 0.95rem; }

/* =========================================================
   Services
   ========================================================= */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
}
.card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
	position: relative;
	overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--color-accent); }
.card__icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: rgba(204, 255, 34, 0.1);
	color: var(--color-accent);
	margin-bottom: 1.5rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--color-text-muted); margin-bottom: 0; }
.card ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.card li {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	padding-left: 1.4rem;
	position: relative;
	margin-bottom: 0.4rem;
}
.card li::before { content: "→"; position: absolute; left: 0; color: var(--color-accent); }
.card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--color-accent);
}
.card__link svg { transition: transform 0.25s var(--ease); }
.card:hover .card__link svg,
.card__link:hover svg { transform: translateX(4px); }

/* =========================================================
   About / Team
   ========================================================= */
.about__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}
.about__text h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.about__text p { color: var(--color-text-muted); font-size: 1.08rem; }
.about__values { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.about__values li { display: flex; gap: 0.75rem; align-items: flex-start; }
.about__values strong { color: var(--color-text); }
.check {
	flex: 0 0 auto;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--color-accent);
	color: #0d0e12;
	display: grid; place-items: center;
	font-size: 0.75rem; font-weight: 900;
	margin-top: 3px;
}
.team {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
.team__member {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.5rem;
}
.team__avatar {
	width: 56px; height: 56px;
	border-radius: 50%;
	display: grid; place-items: center;
	font-weight: 900; font-size: 1.2rem;
	background: linear-gradient(135deg, var(--color-accent), #7ea30f);
	color: #0d0e12;
	margin-bottom: 1rem;
}
.team__member h4 { margin-bottom: 0.15rem; font-size: 1.1rem; }
.team__member span { color: var(--color-text-faint); font-size: 0.9rem; }

/* =========================================================
   Process
   ========================================================= */
.process {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
	counter-reset: step;
}
.process__step {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	position: relative;
	background: var(--color-bg-card);
}
.process__step::before {
	counter-increment: step;
	content: "0" counter(step);
	font-size: 2.6rem;
	font-weight: 900;
	color: var(--color-accent);
	opacity: 0.25;
	line-height: 1;
	display: block;
	margin-bottom: 1rem;
}
.process__step h3 { font-size: 1.2rem; }
.process__step p { color: var(--color-text-muted); font-size: 0.96rem; margin-bottom: 0; }

/* Referenzen / Logos */
.refs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	margin-top: 3rem;
}
.ref-chip {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.5rem 1rem;
	text-align: center;
	color: var(--color-text-muted);
	font-weight: 700;
	letter-spacing: 0.04em;
	background: var(--color-bg-elev);
}

/* =========================================================
   Contact
   ========================================================= */
.contact__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(2rem, 6vw, 4rem);
	align-items: start;
}
.contact__info h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.contact__info p { color: var(--color-text-muted); }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__list .ico {
	width: 44px; height: 44px; flex: 0 0 auto;
	border-radius: 12px;
	background: rgba(204,255,34,0.1);
	color: var(--color-accent);
	display: grid; place-items: center;
}
.contact__list small { display: block; color: var(--color-text-faint); }

.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--color-text-muted); margin-bottom: 0.4rem; }
.field input, .field textarea {
	width: 100%;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	color: var(--color-text);
	font: inherit;
	padding: 0.85rem 1rem;
	transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); }
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { justify-content: center; }
.form-note { font-size: 0.85rem; color: var(--color-text-faint); }
/* Honeypot – hidden from users, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Consent checkbox row */
.field-check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.88rem;
	color: var(--color-text-muted);
	line-height: 1.5;
	cursor: pointer;
}
.field-check input { margin-top: 0.2rem; flex: 0 0 auto; accent-color: var(--color-accent); width: 17px; height: 17px; }
.field-check a { color: var(--color-accent); text-decoration: underline; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	border-top: 1px solid var(--color-border);
	background: var(--color-bg-elev);
	padding-block: 4rem 2rem;
}
.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 3rem;
}
.footer__brand { font-weight: 900; font-size: 1.3rem; margin-bottom: 1rem; }
.footer__brand span { color: var(--color-accent); }
.site-footer p { color: var(--color-text-muted); font-size: 0.95rem; max-width: 32ch; }
.footer__col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-text-faint); font-weight: 700; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer__col a { color: var(--color-text-muted); font-size: 0.95rem; }
.footer__col a:hover { color: var(--color-accent); }
.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
	color: var(--color-text-faint);
	font-size: 0.9rem;
}

/* =========================================================
   Generic page content
   ========================================================= */
.page-hero { padding-top: clamp(8rem, 14vh, 11rem); padding-bottom: 2rem; }
.breadcrumbs { font-size: 0.85rem; color: var(--color-text-faint); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-accent); }
.page-content { padding-bottom: var(--space); }
.page-content .container { max-width: 820px; }
.page-content.contact__grid, .page-content .contact__grid { max-width: var(--maxw); }
.entry-content a { color: var(--color-accent); text-decoration: underline; }
.entry-content > p.lead, .contact__info .lead {
	font-size: 1.2rem;
	color: var(--color-text);
	margin-bottom: 2rem;
}
.entry-content h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-top: 2.5rem;
}
.entry-content h3 { font-size: 1.25rem; margin-top: 1.75rem; }
.entry-content p { color: var(--color-text-muted); }
.entry-content ul { margin: 1rem 0 1.5rem; padding-left: 0; list-style: none; }
.entry-content ul li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.6rem;
	color: var(--color-text-muted);
}
.entry-content ul li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--color-accent);
	font-weight: 700;
}
.entry-content strong { color: var(--color-text); }

/* FAQ */
.faq { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.faq__item {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
}
.faq__item h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.faq__item p { margin: 0; color: var(--color-text-muted); }

/* =========================================================
   Cookie consent banner
   ========================================================= */
.kelira-consent {
	position: fixed;
	z-index: 200;
	left: 50%;
	bottom: 1.25rem;
	transform: translateX(-50%);
	width: min(680px, calc(100% - 2rem));
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	padding: 1.5rem;
}
.kelira-consent[hidden] { display: none; }
.kelira-consent__inner { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.kelira-consent__text { flex: 1 1 300px; }
.kelira-consent__text strong { display: block; margin-bottom: 0.35rem; font-size: 1.05rem; }
.kelira-consent__text p { margin: 0; font-size: 0.92rem; color: var(--color-text-muted); }
.kelira-consent__text a { color: var(--color-accent); text-decoration: underline; }
.kelira-consent__actions { display: flex; gap: 0.75rem; flex: 0 0 auto; }
.kelira-consent__actions .btn { padding: 0.65rem 1.3rem; }
@media (max-width: 560px) {
	.kelira-consent__actions { width: 100%; }
	.kelira-consent__actions .btn { flex: 1; justify-content: center; }
}

/* =========================================================
   404 page + search form
   ========================================================= */
.error404 .container { text-align: left; }
.error404__code {
	color: var(--color-accent);
	font-size: clamp(3.5rem, 12vw, 7rem);
	line-height: 1;
}
.error404__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--color-border);
}
.error404__links a { color: var(--color-text-muted); font-weight: 500; }
.error404__links a:hover { color: var(--color-accent); }

.search-form { display: flex; gap: 0.6rem; }
.search-form label { flex: 1; }
.search-field {
	width: 100%;
	background: var(--color-bg-elev);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	color: var(--color-text);
	font: inherit;
	padding: 0.8rem 1.25rem;
}
.search-field:focus { outline: none; border-color: var(--color-accent); }
.search-submit {
	background: var(--color-accent);
	color: #0d0e12;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	padding: 0.8rem 1.5rem;
	cursor: pointer;
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
	.about__grid, .contact__grid { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.chat-card { max-width: 460px; margin-inline: auto; }
}

@media (max-width: 768px) {
	.nav-toggle { display: block; }
	body.admin-bar .main-nav { top: calc(68px + 46px); }
	.main-nav {
		position: fixed;
		inset: 68px 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--color-bg-elev);
		border-bottom: 1px solid var(--color-border);
		padding: 1rem 1.5rem 1.5rem;
		transform: translateY(-120%);
		transition: transform 0.35s var(--ease);
		z-index: 99;
	}
	.main-nav.is-open { transform: translateY(0); }
	.main-nav ul { flex-direction: column; gap: 0; width: 100%; }
	.main-nav li { border-bottom: 1px solid var(--color-border); }
	.main-nav a { display: block; padding: 1rem 0; font-size: 1.1rem; }
	.main-nav .btn { margin-top: 1rem; justify-content: center; }
}

@media (max-width: 560px) {
	.form-row { grid-template-columns: 1fr; }
	.team { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr; }
}
