/*
Theme Name: Klejna Eventtechnik
Theme URI: https://klejna.at
Author: Michael Klejna
Author URI: https://klejna.at
Description: Schlankes, individuelles WordPress-Theme für Klejna Eventtechnik. Helles, editoriales Design (wie der Equipmentlisten-Block): Jura, Orange-Akzent, scharfe Kanten, nummerierte Sektionen. Enthält Referenzen, Blog und eine einfache Equipment-Übersicht.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: klejna
*/

/* ==========================================================================
   1. CSS-Variablen / Farbschema
   Übernommen aus dem Equipmentlisten-Design (--apw-* Variablen dort).
   ========================================================================== */
:root {
	--color-bg: #f5f4f1;
	--color-surface: #ffffff;
	--color-surface-2: #ede9e3;
	--color-border: #ddd9d2;
	--color-primary: #f46a01;
	--color-primary-dark: #c05400;
	--color-text: #1a1a1a;
	--color-muted: #888888;
	--color-white: #ffffff;
	--color-dark: #1a1a1a;
	--color-panel-gray: #52555c;

	--font-heading: "Jura", "Arial", sans-serif;
	--font-body: "Jura", "Arial", sans-serif;

	--max-width: 1200px;
	--radius: 0;
	--transition: 0.2s ease;
}

/* ==========================================================================
   2. Fonts (lokal, kein externer Aufruf an Google -> DSGVO-konform)
   ========================================================================== */
@font-face {
	font-family: "Jura";
	src: url("assets/fonts/jura-latin-300-normal.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Jura";
	src: url("assets/fonts/jura-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Jura";
	src: url("assets/fonts/jura-latin-500-normal.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Jura";
	src: url("assets/fonts/jura-latin-600-normal.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Jura";
	src: url("assets/fonts/jura-latin-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   3. Reset & Basis
   ========================================================================== */
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	/* Basis-Schriftgröße etwas angehoben -> skaliert alle rem-Werte
	   (Überschriften, Fließtext) im ganzen Theme gleichmäßig mit. */
	font-size: 17px;
}
body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition);
}
a:hover {
	text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--color-text);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; font-weight: 500; }
p { margin: 0 0 1em; font-size: 0.95rem; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.2em; }
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}
@media (max-width: 768px) {
	.container { padding: 0 20px; }
}
/* Etwas großzügigerer Seitenabstand für die Referenzen-Übersicht – die
   Kachel-Bilder sitzen sonst zu knapp an der Kante des Containers. */
.container--roomy {
	padding: 0 56px;
}
@media (max-width: 768px) {
	.container--roomy { padding: 0 28px; }
}

/* Kicker / Eyebrow – kleine orange Zeile mit Strich davor */
.kicker {
	font-size: 13px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.kicker::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--color-primary);
	display: inline-block;
}

.btn {
	display: inline-block;
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 600;
	font-size: 13px;
	padding: 16px 30px;
	background: var(--color-primary);
	color: var(--color-white);
	border: none;
	cursor: pointer;
	transition: opacity var(--transition);
}
.btn:hover {
	opacity: 0.85;
	text-decoration: none;
}
.btn-outline {
	background: transparent;
	color: var(--color-text);
	border: 1px solid var(--color-text);
}
.btn-outline:hover {
	background: var(--color-text);
	color: var(--color-white);
}
.btn-dark {
	background: var(--color-dark);
	color: var(--color-white);
}
.btn-white {
	background: var(--color-white);
	color: var(--color-primary);
}
.section {
	/* max-width/margin/width hier bewusst explizit gesetzt (statt einfach
	   wegzulassen): Blogbeiträge werden oft als eigenständiges HTML/CSS
	   eingefügt und bringen dabei häufig einen simplen, nicht spezifischen
	   Selektor wie "article { max-width: 900px; }" mit (sehr gebräuchliches
	   Boilerplate-Pattern). Ohne diese Zeilen würde so ein Selektor die
	   äußere Artikel-Hülle des Themes (<article class="section">) unbemerkt
	   auf 900px einschränken und – mangels margin:auto – linksbündig statt
	   mittig darstellen. Die Werte hier entsprechen 1:1 dem bisherigen
	   Standardverhalten, machen es aber robust gegen genau dieses Szenario. */
	max-width: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 70px 0;
}
.section-alt {
	background: var(--color-surface);
}
.section-header {
	display: flex;
	align-items: baseline;
	margin-bottom: 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--color-border);
}

/* Seitenkopf (Blog-Archiv, Referenzen-Archiv, Einzelansichten): Kicker über
   dem Titel gestapelt, statt nebeneinander wie beim section-header/-id. */
.page-header {
	margin-bottom: 40px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--color-border);
}
.page-header .kicker {
	margin-bottom: 14px;
}
.page-header h1 {
	margin-bottom: 8px;
}
.page-header p {
	color: var(--color-muted);
	max-width: 640px;
}
.screen-reader-text {
	position: absolute;
	left: -9999px;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(245, 244, 241, 0.95);
	border-bottom: 1px solid var(--color-border);
	backdrop-filter: saturate(140%) blur(4px);
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	padding-bottom: 18px;
}
.site-branding img.custom-logo {
	max-height: 96px;
	width: auto;
}
@media (max-width: 600px) {
	.site-branding img.custom-logo {
		max-height: 68px;
	}
}
.brand-lockup {
	display: flex;
	align-items: baseline;
	gap: 8px;
	color: var(--color-text);
}
.brand-lockup:hover {
	text-decoration: none;
}
.brand-name {
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-text);
	font-weight: 600;
}
.brand-tagline {
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.main-navigation {
	display: flex;
	align-items: center;
}
.main-navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}
.main-navigation li {
	position: relative;
}
.main-navigation a {
	display: block;
	padding: 10px 14px;
	color: var(--color-text);
	font-family: var(--font-heading);
	font-weight: 500;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.1em;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--color-primary);
	text-decoration: none;
}
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--color-text);
	margin: 5px 0;
	transition: var(--transition);
}

@media (max-width: 860px) {
	.menu-toggle {
		display: block;
	}
	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-bg);
		border-bottom: 1px solid var(--color-border);
		display: none;
	}
	.main-navigation.is-open {
		display: block;
	}
	.main-navigation ul {
		flex-direction: column;
		gap: 0;
	}
	.main-navigation a {
		padding: 14px 24px;
		border-top: 1px solid var(--color-border);
	}
}

/* ==========================================================================
   5. Hero (Kicker + H1 + Lead, linksbündig, ohne Foto)
   ========================================================================== */
.hero {
	padding: 90px 0 50px;
}
.hero-inner {
	max-width: 900px;
}
.hero h1 {
	margin-bottom: 20px;
}
.hero .lead {
	font-size: 17px;
	color: var(--color-muted);
	font-weight: 400;
	max-width: 720px;
	margin-bottom: 32px;
}
.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* Optionale Video-Variante (nur aktiv, wenn unter Design → Anpassen →
   Startseite ein Hero-Video hochgeladen wurde). Ohne Video bleibt der Hero
   wie oben: hell, ohne Medien. */
.hero--video {
	position: relative;
	overflow: hidden;
	min-height: 560px;
	display: flex;
	align-items: center;
	color: var(--color-white);
}
.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.hero-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 100%);
	z-index: 1;
}
.hero--video .hero-inner {
	position: relative;
	z-index: 2;
}
.hero--video .kicker {
	color: var(--color-primary);
}
.hero--video h1,
.hero--video .lead {
	color: var(--color-white);
}
.hero--video .lead {
	color: rgba(255,255,255,0.85);
}

/* ==========================================================================
   6. Items-Grid / Item-Card – Standardbaustein für Leistungen, Equipment,
      Projekte usw. (wie im Equipmentlisten-Block)
   ========================================================================== */
.items-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 10px;
}
.items-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 780px) {
	.items-grid--3 { grid-template-columns: 1fr; }
}
.item-card {
	background: var(--color-surface);
	padding: 24px;
	position: relative;
	transition: background var(--transition), transform var(--transition);
	overflow: hidden;
}
.item-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--color-primary);
	transform: scaleY(0);
	transition: transform var(--transition);
	transform-origin: bottom;
}
.item-card:hover {
	background: var(--color-surface-2);
	transform: translateX(4px);
}
.item-card:hover::before {
	transform: scaleY(1);
}
.item-tag {
	font-size: 13px;
	color: var(--color-primary);
	letter-spacing: 0.1em;
	opacity: 0.9;
	margin-bottom: 6px;
	display: block;
	text-transform: uppercase;
}
.item-name {
	font-size: 18px;
	font-weight: 500;
	color: var(--color-text);
	margin-bottom: 8px;
}
.item-desc {
	font-size: 14px;
	color: var(--color-muted);
	line-height: 1.55;
	font-weight: 400;
	margin: 0;
}
.item-card--media {
	padding: 0;
}
.item-card--media .thumb {
	aspect-ratio: 4/3;
	overflow: hidden;
	background: var(--color-surface-2);
}
.item-card--media .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.item-card--media .body {
	padding: 20px 24px;
}
.item-card--media:hover .thumb img {
	transform: scale(1.04);
}
.item-card--media .thumb img {
	transition: transform 0.4s ease;
}

/* Tag-Liste (z.B. Einsatzbereiche) */
.taglist {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.taglist span {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-muted);
	border: 1px solid var(--color-border);
	padding: 7px 14px;
	background: var(--color-surface);
}

/* ==========================================================================
   7. Referenzen / Projekte
   ========================================================================== */
.referenzen-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
@media (max-width: 900px) {
	.referenzen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.referenzen-grid { grid-template-columns: 1fr; }
}
.referenz-card {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--color-surface-2);
	aspect-ratio: 4 / 3;
}
.referenz-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	transition: transform 0.4s ease;
}
.referenz-card:hover img {
	transform: scale(1.06);
}
.referenz-card .overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
	display: flex;
	align-items: flex-end;
	padding: 18px;
}
.referenz-card .overlay h3 {
	color: var(--color-white);
	font-size: 1rem;
	margin: 0;
	font-weight: 500;
}
.referenz-card .overlay span.cat {
	display: block;
	color: var(--color-primary);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 4px;
}
.referenz-single .featured-image {
	margin-bottom: 32px;
	overflow: hidden;
}
.referenz-meta {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 32px;
	padding: 20px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
}
.referenz-meta div strong {
	display: block;
	font-family: var(--font-heading);
	text-transform: uppercase;
	font-size: 0.8rem;
	color: var(--color-muted);
	margin-bottom: 4px;
}

/* Filter-Tabs (Referenzen-Archiv, Equipmentliste falls doch mit Kategorien) */
.equipment-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}
.equipment-tabs button {
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 12px;
	font-weight: 600;
	padding: 9px 18px;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	cursor: pointer;
	transition: var(--transition);
}
.equipment-tabs button.is-active,
.equipment-tabs button:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}
.equipment-empty {
	text-align: center;
	color: var(--color-muted);
	padding: 40px 0;
}

/* ==========================================================================
   8. Blog
   ========================================================================== */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
@media (max-width: 900px) {
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.blog-grid { grid-template-columns: 1fr; }
}
.post-card {
	background: var(--color-surface);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-border);
}
.post-card .thumb {
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--color-surface-2);
}
.post-card .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.post-card .body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.post-card .meta {
	font-size: 12px;
	color: var(--color-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
}
.post-card h3 {
	font-size: 1.05rem;
	margin-bottom: 10px;
}
.post-card .excerpt {
	color: var(--color-muted);
	flex: 1;
	font-size: 0.9rem;
}
.post-card .more-link {
	margin-top: 12px;
	font-family: var(--font-heading);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.08em;
	font-weight: 600;
}
.single-post-content {
	/* !important hier bewusst: Blogbeiträge werden oft als "Benutzerdefiniertes
	   HTML" eingefügt und bringen dabei häufig ein eigenes <style> mit, das
	   ebenfalls eine Klasse ".container" definiert (sehr gebräuchlicher Name).
	   Da dieses eingefügte <style> im Quelltext NACH dem Theme-Stylesheet
	   steht, würde es die Zentrierung sonst überschreiben und den Beitrag
	   linksbündig statt mittig darstellen. Die !important-Regeln stellen
	   sicher, dass Blogbeiträge immer zentriert bleiben, unabhängig davon,
	   was der eingefügte Beitragsinhalt an eigenem CSS mitbringt. */
	max-width: 900px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
}
.single-post-content .featured-image {
	margin-bottom: 32px;
	overflow: hidden;
}
.single-post-content .entry-meta {
	color: var(--color-muted);
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.08em;
	margin-bottom: 16px;
}
.single-post-content .entry-content {
	font-size: 1rem;
}
.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}
.pagination a, .pagination span {
	padding: 10px 16px;
	border: 1px solid var(--color-border);
	font-family: var(--font-heading);
	font-size: 0.85rem;
}
.pagination .current {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-white);
}

/* ==========================================================================
   9. FAQ-Akkordeon (optional wiederverwendbar, z.B. Leistungen/Blog)
   ========================================================================== */
.faq-item {
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
	padding: 18px 24px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.faq-item summary::-webkit-details-marker {
	display: none;
}
.faq-item summary::after {
	content: "+";
	color: var(--color-primary);
	font-size: 18px;
	flex-shrink: 0;
	transition: transform var(--transition);
}
.faq-item[open] summary::after {
	transform: rotate(45deg);
}
.faq-item .faq-answer {
	padding: 0 24px 20px;
	font-size: 15px;
	color: var(--color-muted);
}

/* ==========================================================================
   10. CTA-Block (voll orange, wie im Equipmentlisten-Beispiel)
   ========================================================================== */
.cta {
	background: var(--color-primary);
	color: var(--color-white);
	padding: 48px 50px;
	text-align: left;
}
.cta h2 {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 12px;
	color: var(--color-white);
}
.cta p {
	color: rgba(255,255,255,0.9);
	max-width: 560px;
	margin-bottom: 24px;
}
.cta .btn-white {
	margin-right: 12px;
}
.btn-outline-white {
	background: transparent;
	color: var(--color-white);
	border: 1px solid var(--color-white);
}
.btn-outline-white:hover {
	background: rgba(255,255,255,0.15);
}

/* ==========================================================================
   11. Leistungen-Seite
   ========================================================================== */
.leistungen-layout {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 56px;
	align-items: start;
}
@media (max-width: 900px) {
	.leistungen-layout { grid-template-columns: 1fr; }
}
.leistungen-intro p {
	color: var(--color-muted);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
	/* !important auch hier: Auf Seiten mit eingefügtem Custom-HTML (z. B.
	   Kontakt/Leistungen) bringt der Inhalt oft ein eigenes <style> mit
	   generischen Selektoren mit – dieselbe Ursache wie beim Blog-Fix weiter
	   oben. Der Footer-Abstand soll unabhängig davon immer gleich bleiben. */
	background: var(--color-panel-gray);
	color: rgba(255,255,255,0.7);
	margin-top: 130px !important;
}
@media (max-width: 600px) {
	.site-footer { margin-top: 72px !important; }
}
.site-footer a {
	color: rgba(255,255,255,0.85);
}
.site-footer a:hover {
	color: var(--color-white);
}
.footer-bottom {
	padding: 34px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.footer-legal a {
	margin-left: 18px;
}
.footer-legal a:first-child {
	margin-left: 0;
}
.social-links {
	display: flex;
	gap: 14px;
}
.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 50%;
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0;
}
@media (max-width: 600px) {
	.footer-bottom { justify-content: center; text-align: center; }
}

/* ==========================================================================
   13. 404 / Suche
   ========================================================================== */
.error-404 {
	text-align: center;
	padding: 100px 0;
}
.error-404 h1 {
	font-size: 5rem;
	color: var(--color-primary);
}
.search-form {
	display: flex;
	gap: 8px;
	max-width: 480px;
	margin: 0 auto;
}
.search-form input[type="search"] {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	font-size: 1rem;
	background: var(--color-surface);
	font-family: var(--font-body);
}

/* ==========================================================================
   14. Custom Maus (orange) – ersetzt den Standard-Mauszeiger auf Geräten mit
   echter Maus. Wird per JS erzeugt (assets/js/main.js), damit Touch-Geräte
   unberührt bleiben.
   ========================================================================== */
html.has-klejna-cursor,
html.has-klejna-cursor a,
html.has-klejna-cursor button,
html.has-klejna-cursor .btn,
html.has-klejna-cursor input,
html.has-klejna-cursor textarea,
html.has-klejna-cursor select,
html.has-klejna-cursor summary {
	cursor: none;
}
.klejna-cursor {
	position: fixed;
	top: 0;
	left: 0;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border-radius: 50%;
	background: var(--color-primary);
	pointer-events: none;
	z-index: 9999;
	/* Kein Transition auf "transform": die Position wird per requestAnimationFrame
	   in main.js gesetzt und soll der Maus 1:1 folgen. Eine Transition auf der
	   Position sorgte bisher dafür, dass der Punkt bei schnellen/unregelmäßigen
	   Bewegungen (z. B. Trackpad unter macOS) hinterherhinkt und springt. */
	transition: width 0.15s ease, height 0.15s ease, margin 0.15s ease, background 0.15s ease, opacity 0.15s ease;
	opacity: 0;
	will-change: transform;
	transform: translate3d(-100px, -100px, 0);
	backface-visibility: hidden;
}
html.has-klejna-cursor .klejna-cursor {
	opacity: 1;
}
.klejna-cursor.is-hover {
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	background: transparent;
	border: 2px solid var(--color-primary);
}
.klejna-cursor.is-clicking {
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
}
@media (prefers-reduced-motion: reduce) {
	.klejna-cursor {
		transition: none;
	}
}
