/* =============================================================
   KITSUNE STUDIO – Design-System
   Dark Luxury × Neo-Tokyo × Japanese Minimalism
   ============================================================= */

:root {
	/* Farben (Brief) */
	--ks-bg: #0b0b0b;
	--ks-panel: #151515;
	--ks-red: #e63946;
	--ks-white: #ffffff;
	--ks-gray: #bfbfbf;
	--ks-line: rgba(255, 255, 255, 0.08);
	--ks-neon-cyan: #4cc9f0;
	--ks-neon-purple: #b388ff;

	/* Semantik */
	--ks-accent: var(--ks-red);
	--ks-glow: rgba(230, 57, 70, 0.35);

	/* Typografie */
	--font-display: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
	--font-body: "Inter", "Zen Kaku Gothic New", sans-serif;

	/* Layout */
	--container: 1240px;
	--radius: 14px;
	--radius-sm: 8px;
	--header-h: 76px;

	/* Motion */
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--dur: 0.55s;
}

/* ---------- Night of Tokyo (Mond-Klick) ---------- */
body.mode-tokyo-night {
	--ks-bg: #06070d;
	--ks-panel: #0d1020;
	--ks-accent: var(--ks-neon-purple);
	--ks-glow: rgba(179, 136, 255, 0.35);
}

/* ---------- Neo Tokyo Mode (Konami-Code) ---------- */
body.mode-neo-tokyo {
	--ks-accent: var(--ks-neon-cyan);
	--ks-glow: rgba(76, 201, 240, 0.4);
}
body.mode-neo-tokyo .site-header,
body.mode-neo-tokyo .btn--red {
	box-shadow: 0 0 24px var(--ks-glow);
}

/* =============================================================
   BASIS
   ============================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--ks-bg);
	color: var(--ks-gray);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background 0.6s ease;
}

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

a { color: var(--ks-white); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--ks-accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 900;
	color: var(--ks-white);
	line-height: 1.15;
	letter-spacing: 0.01em;
	margin: 0 0 0.6em;
}

p { margin: 0 0 1.2em; }

.container {
	width: min(var(--container), 92vw);
	margin-inline: auto;
}
.container--narrow { width: min(760px, 92vw); }

.site-main--pad { padding: calc(var(--header-h) + 56px) 0 96px; }
.site-main--narrow .entry-content { max-width: 720px; }

::selection { background: var(--ks-accent); color: var(--ks-white); }

/* Fokus sichtbar */
:focus-visible {
	outline: 2px solid var(--ks-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px;
	width: auto; height: auto; clip: auto;
	background: var(--ks-panel); color: var(--ks-white);
	padding: 10px 18px; z-index: 9999; border-radius: var(--radius-sm);
}

/* =============================================================
   BUTTONS
   ============================================================= */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--red {
	background: var(--ks-accent);
	color: var(--ks-white);
	box-shadow: 0 8px 30px var(--ks-glow);
}
.btn--red:hover { color: var(--ks-white); box-shadow: 0 12px 40px var(--ks-glow); }

.btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--ks-line);
	color: var(--ks-white);
	backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--ks-accent); color: var(--ks-accent); }

/* Ripple (per JS gesetzt) */
.btn .ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	transform: scale(0);
	animation: ks-ripple 0.6s ease-out forwards;
	pointer-events: none;
}
@keyframes ks-ripple { to { transform: scale(3); opacity: 0; } }

/* =============================================================
   LOADING SCREEN & SCROLL PROGRESS
   ============================================================= */

.kitsune-loader {
	position: fixed; inset: 0; z-index: 10000;
	background: var(--ks-bg);
	display: grid; place-items: center;
	transition: opacity 0.6s ease, visibility 0.6s;
}
.kitsune-loader.is-done { opacity: 0; visibility: hidden; }
.kitsune-loader__brush { width: min(320px, 70vw); position: absolute; }
.brush-path {
	stroke-dasharray: 600;
	stroke-dashoffset: 600;
	animation: ks-brush 1.1s var(--ease-out) forwards;
}
@keyframes ks-brush { to { stroke-dashoffset: 0; } }
.kitsune-loader__logo {
	font-family: var(--font-display);
	font-size: clamp(3rem, 8vw, 5rem);
	color: var(--ks-white);
	opacity: 0;
	transform: scale(0.85);
	animation: ks-logo-in 0.6s var(--ease-out) 0.9s forwards;
}
@keyframes ks-logo-in { to { opacity: 1; transform: scale(1); } }

.kitsune-scroll-progress {
	position: fixed; top: 0; left: 0; right: 0;
	height: 2px; z-index: 9500; pointer-events: none;
}
.kitsune-scroll-progress span {
	display: block; height: 100%; width: 0;
	background: linear-gradient(90deg, var(--ks-accent), var(--ks-neon-purple));
}

/* =============================================================
   TOPBAR / HEADER
   ============================================================= */

.kitsune-topbar {
	background: var(--ks-accent);
	color: var(--ks-white);
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 8px 16px;
	position: relative; z-index: 1002;
}
.kitsune-topbar a { color: var(--ks-white); display: inline-flex; align-items: center; gap: 6px; }

.site-header {
	position: fixed; top: 0; left: 0; right: 0;
	z-index: 1000;
	background: rgba(11, 11, 11, 0);
	backdrop-filter: blur(0px);
	transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease-out);
}
body:has(.kitsune-topbar) .site-header { position: sticky; }
.site-header.is-scrolled {
	background: rgba(11, 11, 11, 0.72);
	backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	border-bottom: 1px solid var(--ks-line);
}
.site-header.is-hidden { transform: translateY(-110%); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--header-h);
}

.site-branding { display: flex; align-items: center; }
.site-logo-text { display: inline-flex; align-items: center; gap: 10px; }
.site-logo-kanji {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.7rem;
	color: var(--ks-accent);
	line-height: 1;
	transition: transform 0.4s var(--ease-out);
}
.site-logo-text:hover .site-logo-kanji { transform: rotate(-8deg) scale(1.08); }
.site-logo-name {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.95rem;
	color: var(--ks-white);
}
.custom-logo { max-height: 44px; width: auto; }

/* Navigation + Mega-Menü-Gefühl für Untermenüs */
.site-nav { margin-left: auto; }
.primary-menu {
	display: flex; gap: 6px;
	list-style: none; margin: 0; padding: 0;
}
.primary-menu > li { position: relative; }
.primary-menu a {
	display: block;
	padding: 12px 16px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.92rem;
	letter-spacing: 0.05em;
	color: var(--ks-gray);
	position: relative;
}
.primary-menu > li > a::after {
	content: "";
	position: absolute; left: 16px; right: 16px; bottom: 6px;
	height: 2px;
	background: var(--ks-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease-out);
}
.primary-menu > li > a:hover::after,
.primary-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.primary-menu a:hover,
.primary-menu .current-menu-item > a { color: var(--ks-white); }

.primary-menu .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 240px;
	list-style: none; margin: 0; padding: 14px;
	background: rgba(21, 21, 21, 0.85);
	backdrop-filter: blur(18px);
	border: 1px solid var(--ks-line);
	border-radius: var(--radius);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.35s var(--ease-out), visibility 0.3s;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(4px);
}
.primary-menu .sub-menu a { padding: 10px 12px; border-radius: var(--radius-sm); }
.primary-menu .sub-menu a:hover { background: rgba(255, 255, 255, 0.05); }

/* Header-Aktionen */
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-action {
	display: inline-grid; place-items: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	color: var(--ks-gray);
	background: transparent;
	border: none;
	cursor: pointer;
	position: relative;
	transition: color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease-out);
}
.header-action:hover { color: var(--ks-white); background: rgba(255, 255, 255, 0.06); transform: translateY(-1px); }

.kitsune-cart-count {
	position: absolute; top: 2px; right: 0;
	min-width: 17px; height: 17px;
	padding: 0 4px;
	display: grid; place-items: center;
	background: var(--ks-accent);
	color: var(--ks-white);
	font-size: 0.65rem;
	font-weight: 700;
	border-radius: 999px;
	transition: transform 0.3s var(--ease-out);
}
.kitsune-cart-count.is-bumped { transform: scale(1.4); }
.kitsune-cart-count[data-count="0"] { opacity: 0; }

/* Suche */
.header-search {
	border-top: 1px solid var(--ks-line);
	background: rgba(11, 11, 11, 0.85);
	backdrop-filter: blur(16px);
	padding: 20px 0;
}
.kitsune-searchform {
	display: flex; gap: 10px;
	max-width: 640px;
}
.kitsune-searchform input[type="search"] {
	flex: 1;
	background: var(--ks-panel);
	border: 1px solid var(--ks-line);
	border-radius: 999px;
	color: var(--ks-white);
	padding: 13px 22px;
	font-size: 1rem;
	transition: border-color 0.25s ease;
}
.kitsune-searchform input[type="search"]:focus { border-color: var(--ks-accent); outline: none; }
.kitsune-searchform button {
	background: var(--ks-accent);
	color: var(--ks-white);
	border: none; border-radius: 50%;
	width: 50px; height: 50px;
	display: grid; place-items: center;
	cursor: pointer;
}

/* Mobile Nav */
.nav-toggle { display: none; }

@media (max-width: 1020px) {
	.nav-toggle {
		display: inline-grid; place-items: center;
		width: 42px; height: 42px;
		background: transparent; border: none;
		color: var(--ks-white); cursor: pointer;
	}
	.site-nav {
		position: fixed;
		inset: 0;
		top: var(--header-h);
		background: rgba(11, 11, 11, 0.96);
		backdrop-filter: blur(20px);
		padding: 32px 6vw;
		transform: translateX(-100%);
		transition: transform 0.45s var(--ease-out);
		overflow-y: auto;
		margin-left: 0;
	}
	body.nav-open .site-nav { transform: translateX(0); }
	.primary-menu { flex-direction: column; gap: 0; }
	.primary-menu a { font-size: 1.3rem; padding: 14px 0; }
	.primary-menu .sub-menu {
		position: static;
		opacity: 1; visibility: visible; transform: none;
		background: transparent; border: none; box-shadow: none;
		padding: 0 0 0 18px;
	}
	.primary-menu .sub-menu a { font-size: 1rem; color: var(--ks-gray); }
}

/* =============================================================
   HERO
   ============================================================= */

.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: radial-gradient(120% 90% at 70% 10%, #1a1420 0%, var(--ks-bg) 55%);
	background-size: cover;
	background-position: center;
}
.hero--image { background-size: cover; background-position: center; }

.hero__overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(11, 11, 11, 0.55) 0%, rgba(11, 11, 11, 0.2) 40%, var(--ks-bg) 100%);
	pointer-events: none;
}

.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-art__skyline {
	position: absolute; bottom: 0; left: 0; right: 0;
	width: 100%; height: 55%;
	object-fit: cover; object-position: bottom;
	opacity: 0.9;
}
.hero-art__torii {
	position: absolute; bottom: 6%; right: 8%;
	width: clamp(140px, 22vw, 320px);
	opacity: 0.85;
	filter: drop-shadow(0 0 40px var(--ks-glow));
}
.hero-art__fuji {
	position: absolute; bottom: 18%; left: 4%;
	width: clamp(180px, 30vw, 460px);
	opacity: 0.35;
}

.kanji-watermark {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -52%);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(18rem, 42vw, 34rem);
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
	pointer-events: none;
	user-select: none;
	z-index: 0;
}

.jp-rail {
	position: absolute;
	top: 50%; right: 28px;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	font-family: var(--font-display);
	font-size: 0.8rem;
	letter-spacing: 0.5em;
	color: rgba(255, 255, 255, 0.28);
	z-index: 2;
	pointer-events: none;
}
.section .jp-rail { right: 14px; }

.hero__content {
	position: relative; z-index: 3;
	padding-top: var(--header-h);
	max-width: 720px;
}
.hero__eyebrow {
	display: inline-block;
	font-family: var(--font-display);
	color: var(--ks-accent);
	letter-spacing: 0.35em;
	font-size: 0.9rem;
	margin-bottom: 20px;
	border-left: 2px solid var(--ks-accent);
	padding-left: 14px;
}
.hero__title {
	font-size: clamp(2.8rem, 7.5vw, 5.6rem);
	margin-bottom: 24px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; transform: translateY(110%); }
.hero.is-in .hero__line > span {
	animation: ks-line-up 0.9s var(--ease-out) forwards;
}
.hero.is-in .hero__line:nth-child(2) > span { animation-delay: 0.12s; }
.hero.is-in .hero__line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes ks-line-up { to { transform: translateY(0); } }

.hero__text { max-width: 480px; font-size: 1.05rem; color: var(--ks-gray); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__scrollhint {
	position: absolute; bottom: 26px; left: 50%;
	transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.75rem; letter-spacing: 0.3em;
	z-index: 3;
}
.hero__scrollhint i {
	width: 1px; height: 44px;
	background: linear-gradient(var(--ks-accent), transparent);
	animation: ks-drip 1.8s ease-in-out infinite;
}
@keyframes ks-drip {
	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; }
}

/* Sakura-Blüten (per JS befüllt) */
.sakura-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.sakura-petal {
	position: absolute; top: -30px;
	width: 14px; height: 14px;
	background: radial-gradient(circle at 30% 30%, #ffd9e2, #f2a7b8);
	border-radius: 80% 0 60% 60%;
	opacity: 0.85;
	animation: ks-petal linear forwards;
}
@keyframes ks-petal {
	0% { transform: translate(0, -30px) rotate(0deg); }
	100% { transform: translate(var(--sway, 60px), 105vh) rotate(340deg); opacity: 0.3; }
}

/* =============================================================
   SEKTIONEN
   ============================================================= */

.section { position: relative; padding: 96px 0; }
.section--alt { background: var(--ks-panel); }

.section-head { margin-bottom: 44px; }
.section-eyebrow {
	display: inline-block;
	font-family: var(--font-display);
	color: var(--ks-accent);
	letter-spacing: 0.3em;
	font-size: 0.85rem;
	margin-bottom: 10px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); text-transform: uppercase; }
.section-sub { color: var(--ks-gray); max-width: 560px; }
.section-cta { margin-top: 36px; text-align: center; }
.section-empty { color: var(--ks-gray); border: 1px dashed var(--ks-line); border-radius: var(--radius); padding: 32px; text-align: center; }

.page-head { padding-bottom: 30px; }

/* Reveal-Animation (per JS/GSAP getriggert) */
.reveal { opacity: 0; transform: translateY(34px); }
.reveal.is-visible {
	opacity: 1; transform: none;
	transition: opacity 0.8s ease, transform 0.9s var(--ease-out);
}
body.no-anim .reveal { opacity: 1; transform: none; }

/* =============================================================
   KATEGORIEN
   ============================================================= */

.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}
.category-card {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ks-panel);
	border: 1px solid var(--ks-line);
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 22px;
	isolation: isolate;
	transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.3s ease;
}
.category-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--ks-accent);
}
.category-card__img,
.category-card__placeholder {
	position: absolute; inset: 0; z-index: -1;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease-out);
}
.category-card:hover .category-card__img { transform: scale(1.06); }
.category-card__placeholder {
	display: grid; place-items: center;
	font-family: var(--font-display);
	font-size: 5rem;
	color: rgba(255, 255, 255, 0.07);
	background:
		radial-gradient(80% 60% at 70% 20%, rgba(230, 57, 70, 0.18), transparent 70%),
		var(--ks-panel);
}
.category-card::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 11, 0.9));
}
.category-card__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--ks-white);
}
.category-card__count { font-size: 0.8rem; color: var(--ks-gray); }

/* =============================================================
   LOOKBOOK / CLAIM
   ============================================================= */

.section--lookbook { overflow: hidden; }
.section--lookbook .kanji-watermark { font-size: clamp(12rem, 26vw, 22rem); top: 40%; }

.lookbook-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 20px;
}
.lookbook-item {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--ks-line);
	background: var(--ks-panel);
}
.lookbook-item img {
	width: 100%; height: 100%;
	min-height: 380px;
	object-fit: cover;
	transition: transform 0.7s var(--ease-out), filter 0.5s ease;
}
.lookbook-item:hover img { transform: scale(1.05); filter: saturate(1.15); }
.lookbook-item:first-child { grid-row: span 1; }

@media (max-width: 860px) {
	.lookbook-grid { grid-template-columns: 1fr; }
	.lookbook-item img { min-height: 260px; }
}

.section--claim { padding: 120px 0; text-align: center; }
.claim-jp {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 3.4vw, 2.2rem);
	color: var(--ks-white);
	letter-spacing: 0.3em;
	margin-bottom: 18px;
}
.claim-de { max-width: 560px; margin-inline: auto; color: var(--ks-gray); }

/* =============================================================
   BLOG
   ============================================================= */

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 26px;
}
.blog-card {
	background: var(--ks-panel);
	border: 1px solid var(--ks-line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.blog-card__link { display: block; color: inherit; }
.blog-card__thumb { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #101010; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }
.blog-card__placeholder {
	display: grid; place-items: center; height: 100%;
	font-family: var(--font-display);
	font-size: 4rem; color: rgba(255, 255, 255, 0.07);
}
.blog-card__body { padding: 22px; }
.blog-card__date { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--ks-accent); text-transform: uppercase; }
.blog-card__title { font-size: 1.2rem; margin: 8px 0 10px; }
.blog-card__excerpt { font-size: 0.92rem; color: var(--ks-gray); }
.blog-card__more { font-size: 0.85rem; font-weight: 600; color: var(--ks-white); }

/* Magazin-Einzelbeitrag */
.entry-hero { position: relative; margin-bottom: 48px; }
.entry-hero__img { margin: 0 0 36px; max-height: 62vh; overflow: hidden; }
.entry-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.entry-title { font-size: clamp(2rem, 5vw, 3.4rem); }
.entry-meta { color: var(--ks-gray); font-size: 0.9rem; letter-spacing: 0.05em; }

.entry-content { font-size: 1.08rem; }
.entry-content h2, .entry-content h3 { margin-top: 2em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
	margin: 2em 0;
	padding: 6px 0 6px 26px;
	border-left: 3px solid var(--ks-accent);
	color: var(--ks-white);
	font-family: var(--font-display);
	font-size: 1.2rem;
}
.entry-content a { color: var(--ks-accent); border-bottom: 1px solid transparent; }
.entry-content a:hover { border-bottom-color: var(--ks-accent); }

.reading-progress {
	position: fixed; top: 0; left: 0; right: 0;
	height: 3px; z-index: 9600;
}
.reading-progress span { display: block; height: 100%; width: 0; background: var(--ks-accent); }

.entry-share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 26px 0; border-top: 1px solid var(--ks-line); }
.entry-share a, .copy-link {
	font-size: 0.88rem; font-weight: 600;
	padding: 8px 16px;
	border: 1px solid var(--ks-line);
	border-radius: 999px;
	background: transparent; color: var(--ks-white);
	cursor: pointer;
	transition: border-color 0.25s ease, color 0.25s ease;
}
.entry-share a:hover, .copy-link:hover { border-color: var(--ks-accent); color: var(--ks-accent); }

.entry-thumb { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }

.pagination-wrap { margin-top: 48px; }
.pagination-wrap .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination-wrap .page-numbers {
	min-width: 42px; height: 42px;
	display: inline-grid; place-items: center;
	padding: 0 12px;
	border: 1px solid var(--ks-line);
	border-radius: 999px;
	color: var(--ks-gray);
}
.pagination-wrap .page-numbers.current { background: var(--ks-accent); color: var(--ks-white); border-color: var(--ks-accent); }

/* Kommentare */
.comments-area { margin-top: 64px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--ks-line); }
.comment-form input, .comment-form textarea {
	width: 100%;
	background: var(--ks-panel);
	border: 1px solid var(--ks-line);
	border-radius: var(--radius-sm);
	color: var(--ks-white);
	padding: 12px 16px;
	margin-bottom: 14px;
	font-family: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--ks-accent); outline: none; }
.comment-form .submit { background: var(--ks-accent); color: #fff; border: none; border-radius: 999px; padding: 13px 28px; cursor: pointer; font-weight: 700; }

/* =============================================================
   FOOTER
   ============================================================= */

.site-footer {
	position: relative;
	background: #090909;
	border-top: 1px solid var(--ks-line);
	padding: 80px 0 36px;
	overflow: hidden;
}
.site-footer__pattern {
	position: absolute; inset: 0;
	background-image: url("../img/pattern-seigaiha.svg");
	background-size: 140px;
	opacity: 0.05;
	pointer-events: none;
}
.site-footer .container { position: relative; }

.footer-newsletter {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 40px;
	margin-bottom: 64px;
	border-radius: var(--radius);
	background: rgba(21, 21, 21, 0.7);
	backdrop-filter: blur(14px);
	border: 1px solid var(--ks-line);
}
.footer-newsletter__title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.kitsune-newsletter-placeholder { display: flex; gap: 10px; }
.kitsune-newsletter-placeholder input {
	flex: 1;
	background: var(--ks-bg);
	border: 1px solid var(--ks-line);
	border-radius: 999px;
	color: var(--ks-white);
	padding: 14px 22px;
}
.footer-newsletter__hint { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 10px; }

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 40px;
	padding-bottom: 48px;
}
.footer-col--brand .site-logo-kanji { font-size: 2.4rem; }
.footer-brand-name {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ks-white);
	margin: 10px 0 6px;
}
.footer-tagline { font-size: 0.9rem; max-width: 280px; }
.footer-social { display: flex; gap: 16px; margin-top: 14px; }
.footer-social a { font-size: 0.88rem; color: var(--ks-gray); }
.footer-social a:hover { color: var(--ks-accent); }

.widget-title {
	font-size: 0.85rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ks-white);
	margin-bottom: 16px;
}
.footer-menu, .legal-menu, .footer-col .menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .footer-col .menu li { margin-bottom: 10px; }
.footer-menu a, .footer-col a { color: var(--ks-gray); font-size: 0.92rem; }
.footer-menu a:hover, .footer-col a:hover { color: var(--ks-white); }

.footer-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	padding-top: 28px;
	border-top: 1px solid var(--ks-line);
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.4);
}
.footer-bottom p { margin: 0; }
.legal-menu { display: flex; gap: 20px; }
.legal-menu a { color: rgba(255, 255, 255, 0.45); font-size: 0.82rem; }

/* Easter Eggs */
.kitsune-ramen-egg {
	background: transparent; border: none;
	color: rgba(255, 255, 255, 0.12);
	cursor: pointer;
	transition: color 0.3s ease, transform 0.3s ease;
}
.kitsune-ramen-egg:hover { color: var(--ks-accent); transform: rotate(-10deg); }

.kitsune-fox-run {
	position: fixed; bottom: 8px; left: -80px;
	z-index: 9000; pointer-events: none;
}
.kitsune-fox-run.is-running { animation: ks-fox 7s linear forwards; }
@keyframes ks-fox {
	from { transform: translateX(0); }
	to { transform: translateX(calc(100vw + 160px)); }
}
.kitsune-fox-run img { animation: ks-fox-bob 0.35s ease-in-out infinite alternate; }
@keyframes ks-fox-bob { from { transform: translateY(0); } to { transform: translateY(-4px); } }

.kitsune-toast {
	position: fixed; bottom: 28px; left: 50%;
	transform: translate(-50%, 20px);
	background: rgba(21, 21, 21, 0.9);
	backdrop-filter: blur(14px);
	border: 1px solid var(--ks-line);
	color: var(--ks-white);
	padding: 14px 24px;
	border-radius: 999px;
	z-index: 9700;
	opacity: 0;
	transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
	font-size: 0.92rem;
}
.kitsune-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Cursor-Glow */
.kitsune-cursor-glow {
	position: fixed; top: 0; left: 0;
	width: 340px; height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--ks-glow) 0%, transparent 65%);
	pointer-events: none;
	z-index: 1;
	opacity: 0.5;
	transform: translate(-50%, -50%);
	transition: opacity 0.4s ease;
}
@media (hover: none) { .kitsune-cursor-glow { display: none; } }

/* =============================================================
   404
   ============================================================= */

.error-404 {
	position: relative;
	min-height: 100svh;
	display: grid; place-items: center;
	text-align: center;
	overflow: hidden;
	padding: calc(var(--header-h) + 40px) 0 60px;
}
.error-404__scene { position: absolute; inset: 0; }
.error-404__temple {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0.5;
}
.error-404__ghost {
	position: absolute; top: 24%; left: 12%;
	font-family: var(--font-display);
	font-size: 3rem;
	color: rgba(179, 136, 255, 0.5);
	animation: ks-ghost 5s ease-in-out infinite;
	text-shadow: 0 0 30px rgba(179, 136, 255, 0.6);
}
@keyframes ks-ghost {
	0%, 100% { transform: translate(0, 0); opacity: 0.5; }
	50% { transform: translate(30px, -24px); opacity: 0.9; }
}
.error-404__content { position: relative; z-index: 2; }
.error-404__code {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(5rem, 16vw, 11rem);
	color: var(--ks-white);
	display: flex; align-items: center; justify-content: center; gap: 0.05em;
	margin: 0;
	line-height: 1;
}
.error-404__torii { display: inline-flex; width: 0.85em; }
.error-404 .btn { margin-top: 28px; }
.sakura-layer--always { z-index: 1; }

/* =============================================================
   REDUZIERTE BEWEGUNG
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
	.kitsune-loader { display: none; }
	.hero__line > span { transform: none; }
}

/* =============================================================
   GUTENBERG-BASICS
   ============================================================= */

.wp-block-quote { border-left: 3px solid var(--ks-accent); padding-left: 24px; }
.alignwide { width: min(1400px, 96vw); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* Elementor-Startseite: randlos, ohne Theme-Padding */
.site-main--flush { padding: 0; }
.site-main--flush > .elementor { min-height: 40vh; }

/* Elementor-Pro-Header/-Footer (Theme Builder) */
.elementor-location-header .site-header { display: block; }
.elementor-location-header .header-search {
	position: absolute;
	left: 0; right: 0; top: 100%;
	z-index: 60;
}
.elementor-location-header .site-branding .site-logo-text { display: inline-flex; align-items: center; gap: 10px; }
.elementor-location-footer { background: var(--ks-bg); }
