/* ==========================================================================
   Yozakura 夜桜 – Design-Tokens
   sumi  = Tuscheschwarz (Hintergrund)
   yoru  = Nachtblau (Flächen)
   aka   = Zinnoberrot (Akzent, Torii)
   sakura= Kirschblütenrosa (sekundärer Akzent)
   kumo  = Wolkenweiß (Text)
   ========================================================================== */
:root {
	--sumi:   #14141b;
	--yoru:   #1d1d28;
	--yoru-2: #24242f;
	--aka:    #e34234;
	--sakura: #f2b3c0;
	--kumo:   #ece8df;
	--hai:    #8d8a96;
	--board:  #ffb547;
	--line:   rgba(236, 232, 223, 0.1);

	--font-display: "Zen Dots", sans-serif;
	--font-body:    "Zen Kaku Gothic New", sans-serif;
	--font-board:   "DotGothic16", monospace;

	--radius: 6px;
	--maxw: 1100px;
}
/* hidden-Attribut muss immer gewinnen (sonst überschreibt display:flex das Ausblenden) */
[hidden] { display: none !important; }


* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--sumi);
	color: var(--kumo);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sakura); text-decoration: none; }
a:hover { color: var(--aka); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sakura); outline-offset: 3px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 9999;
	width: auto; height: auto; clip: auto;
	background: var(--aka); color: #fff; padding: 8px 14px; border-radius: var(--radius);
}

/* ==========================================================================
   Ladebildschirm – Torii mit aufgehender Sonne
   ========================================================================== */
#yz-loader {
	position: fixed; inset: 0; z-index: 10000;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 20px;
	background: var(--sumi);
	transition: opacity 0.6s ease, visibility 0.6s ease;
}
#yz-loader.is-done { opacity: 0; visibility: hidden; }

.yz-loader-torii { position: relative; color: var(--aka); }
.yz-loader-torii svg { position: relative; z-index: 1; filter: drop-shadow(0 0 18px rgba(227, 66, 52, 0.35)); }
.yz-loader-sun {
	position: absolute; left: 50%; bottom: 4px; z-index: 0;
	width: 46px; height: 46px; border-radius: 50%;
	background: radial-gradient(circle, var(--sakura), rgba(242, 179, 192, 0));
	transform: translateX(-50%);
	animation: yz-sunrise 2.4s ease-in-out infinite alternate;
}
@keyframes yz-sunrise {
	from { bottom: 0;    opacity: 0.4; }
	to   { bottom: 38px; opacity: 1; }
}

.yz-loader-text {
	font-family: var(--font-board);
	letter-spacing: 0.3em;
	color: var(--hai);
	margin: 0;
}

.yz-loader-bar {
	width: 180px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px;
}
.yz-loader-bar span {
	display: block; width: 40%; height: 100%; background: var(--aka);
	animation: yz-loadbar 1.1s ease-in-out infinite;
}
@keyframes yz-loadbar {
	from { transform: translateX(-100%); }
	to   { transform: translateX(450%); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.yz-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(20, 20, 27, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.yz-header-inner {
	max-width: var(--maxw); margin: 0 auto; padding: 14px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.yz-brand { display: flex; align-items: center; gap: 12px; }
.yz-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.yz-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.yz-brand-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--kumo); letter-spacing: 0.04em; }
.yz-brand-jp { color: var(--aka); font-size: 0.8rem; letter-spacing: 0.4em; }

.yz-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.yz-nav a {
	color: var(--kumo); font-weight: 500; font-size: 0.95rem;
	padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.yz-nav a:hover, .yz-nav .current-menu-item > a { color: var(--sakura); border-bottom-color: var(--aka); }

.yz-nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.yz-nav-toggle span { display: block; width: 24px; height: 2px; background: var(--kumo); margin: 5px 0; transition: transform 0.25s, opacity 0.25s; }

/* ==========================================================================
   Countdown – Abfahrtstafel (Signature-Element)
   ========================================================================== */
.yz-departure {
	display: flex; align-items: center; justify-content: center; gap: 16px;
	padding: 8px 20px;
	background: #0d0d12;
	border-top: 1px solid var(--line);
	font-family: var(--font-board);
	overflow: hidden;
}
.yz-departure-label {
	color: var(--aka); font-size: 0.9rem; letter-spacing: 0.15em; white-space: nowrap;
	display: flex; align-items: baseline; gap: 10px;
}
.yz-departure-de { color: var(--hai); font-size: 0.72rem; letter-spacing: 0.1em; }

.yz-departure-board { color: var(--board); font-size: 1.05rem; letter-spacing: 0.12em; text-shadow: 0 0 12px color-mix(in srgb, var(--board) 45%, transparent); }
.yz-departure-board .yz-cd-unit { color: var(--hai); font-size: 0.75rem; margin: 0 8px 0 3px; text-shadow: none; }
.yz-departure-board.is-live { color: var(--aka); text-shadow: 0 0 12px rgba(227, 66, 52, 0.6); animation: yz-blink 1.2s steps(2) infinite; }
@keyframes yz-blink { 50% { opacity: 0.45; } }

/* ==========================================================================
   Layout-Grundlagen
   ========================================================================== */
.yz-main { min-height: 60vh; }
.yz-section { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px; }
.yz-section + .yz-section { padding-top: 0; }

.yz-section-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	margin-bottom: 28px; border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.yz-section-head h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 0; letter-spacing: 0.03em; }
.yz-jp { color: var(--aka); margin-right: 10px; font-family: var(--font-body); font-weight: 700; }
.yz-section-link { font-size: 0.9rem; color: var(--hai); white-space: nowrap; }
.yz-section-link:hover { color: var(--sakura); }

.yz-empty { color: var(--hai); }

/* ==========================================================================
   Hero
   ========================================================================== */
.yz-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.yz-hero-inner {
	position: relative; z-index: 1;
	max-width: var(--maxw); margin: 0 auto; padding: 90px 20px 70px; text-align: center;
}
.yz-hero-eyebrow { color: var(--aka); letter-spacing: 0.45em; font-size: 0.85rem; margin: 0 0 14px; }
.yz-hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 7vw, 4.2rem);
	margin: 0 0 10px; letter-spacing: 0.02em;
	text-shadow: 0 0 40px rgba(242, 179, 192, 0.25);
}
.yz-hero-sub { color: var(--hai); margin: 0 0 34px; font-size: 1.05rem; }

.yz-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.yz-hero-moon {
	position: absolute; top: -80px; right: -60px;
	width: 320px; height: 320px; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #2e2e3d, var(--yoru) 60%, transparent 72%);
	opacity: 0.9;
}
/* Saison-Effekte: siehe Abschnitt „Saison & Modi" weiter unten */
.yz-season-fx { position: absolute; inset: 0; }

.yz-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.yz-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 26px; border-radius: var(--radius);
	font-family: var(--font-display); font-size: 0.95rem; color: #fff;
	border: 1px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.yz-btn:hover { transform: translateY(-2px); color: #fff; }
.yz-btn-twitch { background: #9146ff; box-shadow: 0 6px 22px rgba(145, 70, 255, 0.3); }
.yz-btn-youtube { background: #d4271c; box-shadow: 0 6px 22px rgba(212, 39, 28, 0.3); }

.yz-stats {
	display: inline-flex; align-items: center; gap: 26px;
	padding: 14px 30px;
	background: var(--yoru); border: 1px solid var(--line); border-radius: var(--radius);
}
.yz-stat { display: flex; flex-direction: column; }
.yz-stat-num { font-family: var(--font-board); font-size: 1.7rem; color: var(--sakura); line-height: 1.2; }
.yz-stat-label { color: var(--hai); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.yz-stat-divider { color: var(--aka); font-size: 1.6rem; }

/* ==========================================================================
   Twitch-Embed & Live-Badge
   ========================================================================== */
.yz-embed { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.yz-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.yz-live-badge {
	font-family: var(--font-board); color: #fff; background: var(--aka);
	padding: 4px 12px; border-radius: 99px; font-size: 0.8rem; letter-spacing: 0.1em;
	animation: yz-blink 1.4s steps(2) infinite;
}

/* ==========================================================================
   Video-/Clip-Grid
   ========================================================================== */
.yz-grid {
	display: grid; gap: 22px;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.yz-card {
	background: var(--yoru); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform 0.15s ease, border-color 0.15s ease;
}
.yz-card:hover { transform: translateY(-4px); border-color: var(--sakura); }
.yz-card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--yoru-2); }
.yz-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yz-card-thumb .yz-card-tag {
	position: absolute; top: 8px; left: 8px;
	font-family: var(--font-board); font-size: 0.7rem; color: #fff;
	background: rgba(13, 13, 18, 0.85); padding: 3px 8px; border-radius: 4px;
	border-left: 3px solid var(--aka);
}
.yz-card-body { padding: 14px 16px 16px; }
.yz-card-title { color: var(--kumo); font-weight: 500; font-size: 0.95rem; line-height: 1.45; display: block; }
.yz-card-meta { color: var(--hai); font-size: 0.8rem; margin-top: 6px; }

/* ==========================================================================
   Streamplan – Holztafel-Liste (Ema-Stil)
   ========================================================================== */
.yz-schedule { display: flex; flex-direction: column; gap: 14px; }
.yz-event {
	display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center;
	background: var(--yoru); border: 1px solid var(--line); border-left: 4px solid var(--aka);
	border-radius: var(--radius); padding: 18px 22px;
}
.yz-event-date { display: flex; flex-direction: column; }
.yz-event-day { font-family: var(--font-display); font-size: 1rem; color: var(--sakura); }
.yz-event-cal { color: var(--hai); font-size: 0.82rem; }
.yz-event-title { font-weight: 700; font-size: 1.05rem; }
.yz-event-desc { color: var(--hai); font-size: 0.9rem; margin-top: 4px; white-space: pre-line; }
.yz-event-time { font-family: var(--font-board); color: var(--board); font-size: 1rem; white-space: nowrap; }
.yz-event.is-next { border-left-color: var(--sakura); box-shadow: 0 0 24px rgba(242, 179, 192, 0.12); }
.yz-event.is-next .yz-event-day::after { content: " · als Nächstes"; color: var(--aka); font-family: var(--font-body); font-size: 0.75rem; }

/* ==========================================================================
   Über mich
   ========================================================================== */
.yz-about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; }
.yz-about-portrait { position: relative; }
.yz-about-portrait img { border-radius: var(--radius); border: 1px solid var(--line); }
.yz-about-stamp {
	position: absolute; right: -14px; bottom: -14px;
	min-width: 52px; padding: 14px 12px;
	display: flex; align-items: center; justify-content: center;
	background: var(--aka); color: #fff; border-radius: 8px;
	font-family: var(--font-display);
	font-weight: 700; font-size: 0.95rem;
	writing-mode: vertical-rl; letter-spacing: 0.12em; line-height: 1.1;
	white-space: nowrap; max-height: calc(100% - 28px);
	box-shadow: 0 8px 24px rgba(227, 66, 52, 0.4);
}

/* Seiten-Kopf */
.yz-page-head { padding-bottom: 10px; text-align: left; }
.yz-page-head h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 6px 0 8px; }
.yz-page-intro { color: var(--hai); max-width: 620px; }

/* Inhalt aus dem Editor */
.yz-content h2, .yz-content h3 { font-family: var(--font-display); letter-spacing: 0.02em; }
.yz-content a { border-bottom: 1px solid var(--aka); }
.yz-content blockquote { border-left: 3px solid var(--aka); margin: 0; padding: 4px 0 4px 18px; color: var(--hai); }

/* ==========================================================================
   Footer
   ========================================================================== */
.yz-footer { border-top: 1px solid var(--line); background: #101017; margin-top: 40px; }
.yz-footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 36px; text-align: center; }
.yz-footer-seal {
	font-size: 1.6rem; color: var(--aka); letter-spacing: 0.5em; margin-bottom: 24px;
	writing-mode: horizontal-tb;
}
.yz-socials { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 22px; padding: 0; }
.yz-socials a {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--kumo); font-size: 0.88rem;
	border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px;
	transition: border-color 0.15s, color 0.15s;
}
.yz-socials a:hover { border-color: var(--sakura); color: var(--sakura); }
.yz-footer-menu { list-style: none; display: flex; gap: 18px; justify-content: center; margin: 0 0 18px; padding: 0; }
.yz-footer-menu a { color: var(--hai); font-size: 0.85rem; }
.yz-footer-copy { color: var(--hai); font-size: 0.82rem; margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
	.yz-about-grid { grid-template-columns: 1fr; }
	.yz-about-portrait { max-width: 320px; }
}

@media (max-width: 720px) {
	.yz-nav-toggle { display: block; }
	.yz-nav ul {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; gap: 0;
		background: var(--sumi); border-bottom: 1px solid var(--line); padding: 10px 20px 18px;
	}
	.yz-nav.is-open ul { display: flex; }
	.yz-nav a { display: block; padding: 12px 0; }

	.yz-event { grid-template-columns: 1fr; gap: 8px; }
	.yz-event-time { justify-self: start; }

	.yz-departure { flex-direction: column; gap: 4px; padding: 10px 14px; }
	.yz-stats { gap: 18px; padding: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   v1.1 – Modi (Tag / Neon-Cyber)
   Standard ist Nacht; die Modi überschreiben nur die Tokens.
   ========================================================================== */
body.mode-day {
	--sumi:   #f3eee4;   /* Washi-Papier */
	--yoru:   #ffffff;
	--yoru-2: #ece6d8;
	--aka:    #c8321f;
	--sakura: #c2566e;
	--kumo:   #25232b;
	--hai:    #6e6a78;
	--board:  #a85b00;
	--line:   rgba(37, 35, 43, 0.12);
}
body.mode-day .yz-header { background: rgba(243, 238, 228, 0.92); }
body.mode-day .yz-departure { background: #e9e2d2; }
body.mode-day .yz-footer { background: #ebe5d7; }
body.mode-day .yz-hero-moon { opacity: 0.35; }

body.mode-neon {
	--sumi:   #0a0a14;
	--yoru:   #121222;
	--yoru-2: #1a1a30;
	--aka:    #ff2d78;   /* Neon-Pink */
	--sakura: #2de2ff;   /* Cyan */
	--kumo:   #eaf6ff;
	--hai:    #7d8bb0;
	--board:  #2de2ff;
	--line:   rgba(45, 226, 255, 0.16);
}
body.mode-neon .yz-hero-title { text-shadow: 0 0 14px var(--aka), 0 0 42px rgba(255, 45, 120, 0.5); }
body.mode-neon .yz-card:hover { box-shadow: 0 0 18px rgba(45, 226, 255, 0.25); }
body.mode-neon .yz-btn-twitch { box-shadow: 0 0 22px rgba(145, 70, 255, 0.55); }
body.mode-neon .yz-event { border-left-color: var(--sakura); }
body.mode-neon .yz-departure-board { text-shadow: 0 0 14px var(--board); }

/* Modus-Umschalter */
.yz-header-right { display: flex; align-items: center; gap: 14px; }
.yz-mode-toggle {
	background: var(--yoru); border: 1px solid var(--line); border-radius: 50%;
	width: 38px; height: 38px; cursor: pointer; color: var(--kumo);
	display: grid; place-items: center; font-size: 1rem;
	transition: border-color 0.15s, transform 0.15s;
}
.yz-mode-toggle:hover { border-color: var(--sakura); transform: rotate(20deg); }

/* ==========================================================================
   v1.1 – Saison-Akzente (CSS-only Partikel im Hero)
   ========================================================================== */
.yz-season-fx::before, .yz-season-fx::after,
.yz-season-fx span { content: ""; position: absolute; }

/* Sakura: fallende Blüten */
body.season-sakura .yz-season-fx::before,
body.season-sakura .yz-season-fx::after {
	top: -8%; width: 10px; height: 10px;
	background: var(--sakura); border-radius: 60% 0 60% 0; opacity: 0.55;
	animation: yz-fall 12s linear infinite;
}
body.season-sakura .yz-season-fx::before { left: 22%; }
body.season-sakura .yz-season-fx::after { left: 64%; animation-duration: 9s; animation-delay: 3s; transform: scale(0.7); }

/* Winter: Schnee */
body.season-snow .yz-season-fx::before,
body.season-snow .yz-season-fx::after {
	top: -8%; width: 7px; height: 7px;
	background: #fff; border-radius: 50%; opacity: 0.7;
	box-shadow: 80px 30px 0 -1px rgba(255,255,255,0.6), -120px 80px 0 0 rgba(255,255,255,0.5), 200px 140px 0 -2px rgba(255,255,255,0.4);
	animation: yz-fall 14s linear infinite;
}
body.season-snow .yz-season-fx::before { left: 28%; }
body.season-snow .yz-season-fx::after { left: 70%; animation-duration: 10s; animation-delay: 4s; }

/* Herbst: Momiji-Blätter */
body.season-autumn .yz-season-fx::before,
body.season-autumn .yz-season-fx::after {
	top: -8%; width: 11px; height: 11px;
	background: #d96a2b; border-radius: 0 60% 0 60%; opacity: 0.6;
	animation: yz-fall 11s linear infinite;
}
body.season-autumn .yz-season-fx::before { left: 30%; }
body.season-autumn .yz-season-fx::after { left: 60%; background: #b3402a; animation-duration: 8.5s; animation-delay: 2.5s; }

/* Sommer: Glühwürmchen (sanftes Pulsieren statt Fallen) */
body.season-summer .yz-season-fx::before,
body.season-summer .yz-season-fx::after {
	width: 5px; height: 5px; border-radius: 50%;
	background: #ffe9a3; box-shadow: 0 0 10px 3px rgba(255, 233, 163, 0.65);
	animation: yz-firefly 5s ease-in-out infinite alternate;
}
body.season-summer .yz-season-fx::before { left: 26%; top: 42%; }
body.season-summer .yz-season-fx::after { left: 68%; top: 26%; animation-delay: 2s; animation-duration: 7s; }

@keyframes yz-fall {
	to { transform: translateY(120vh) translateX(140px) rotate(540deg); opacity: 0; }
}
@keyframes yz-firefly {
	from { opacity: 0.15; transform: translate(0, 0); }
	to   { opacity: 1;    transform: translate(34px, -26px); }
}

/* ==========================================================================
   v1.1 – Lazy-Load-Facades
   ========================================================================== */
.yz-facade { display: grid; place-items: center; }
.yz-facade-btn {
	position: absolute; inset: 0; width: 100%; height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	background:
		radial-gradient(circle at 50% 45%, rgba(227, 66, 52, 0.18), transparent 55%),
		repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,0.015) 3px 4px),
		var(--yoru);
	border: 0; cursor: pointer; color: var(--kumo); padding: 20px;
}
.yz-facade-btn:hover .yz-facade-play { transform: scale(1.1); background: var(--aka); }
.yz-facade-play {
	width: 72px; height: 72px; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(227, 66, 52, 0.85); color: #fff;
	box-shadow: 0 0 0 8px rgba(227, 66, 52, 0.18);
	transition: transform 0.15s, background 0.15s;
}
.yz-facade-label { font-family: var(--font-display); font-size: 1rem; }
.yz-facade-note { color: var(--hai); font-size: 0.78rem; max-width: 440px; text-align: center; }
.yz-facade .yz-live-badge { position: absolute; top: 14px; left: 14px; }

.yz-facade-consent {
	position: absolute; inset: auto 0 0 0; z-index: 2;
	background: rgba(13, 13, 18, 0.95); border-top: 1px solid var(--line);
	padding: 14px 18px; text-align: center;
}
.yz-facade-consent p { margin: 0 0 10px; font-size: 0.88rem; }

/* Live-Hero */
.yz-hero-live .yz-hero-inner { padding-top: 56px; }
.yz-hero-player .yz-embed { box-shadow: 0 18px 60px rgba(227, 66, 52, 0.22); } /* Position: siehe v1.2.1 unten */

/* Game-Anzeige */
.yz-game {
	margin: 22px 0 0; font-size: 0.92rem;
	display: inline-flex; align-items: center; gap: 8px;
	border: 1px solid var(--line); border-radius: 99px; padding: 7px 18px;
	background: var(--yoru);
}
.yz-game::before { content: "🎮"; }
.yz-game-label { color: var(--hai); }
.yz-game-name { color: var(--sakura); font-weight: 700; }

/* ==========================================================================
   v1.1 – Cookie-Consent-Banner
   ========================================================================== */
.yz-consent {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9000;
	display: flex; justify-content: center;
}
.yz-consent-inner {
	max-width: 560px; width: 100%;
	background: var(--yoru); border: 1px solid var(--line); border-top: 3px solid var(--aka);
	border-radius: var(--radius); padding: 20px 22px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}
.yz-consent-title { font-family: var(--font-display); margin: 0 0 8px; font-size: 1rem; }
.yz-consent-text { color: var(--hai); font-size: 0.86rem; margin: 0 0 14px; }
.yz-consent-toggle { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; font-size: 0.88rem; }
.yz-consent-toggle input { accent-color: var(--aka); margin-right: 8px; }
.yz-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.yz-btn-small { padding: 9px 18px; font-size: 0.82rem; background: var(--aka); }
.yz-btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--kumo); box-shadow: none; }
.yz-btn-ghost:hover { border-color: var(--sakura); color: var(--sakura); }

.yz-consent-reopen {
	position: fixed; left: 16px; bottom: 16px; z-index: 8999;
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--yoru); border: 1px solid var(--line); cursor: pointer; font-size: 1.1rem;
}
.yz-consent-reopen:hover { border-color: var(--sakura); }

/* ==========================================================================
   v1.1 – Tabs (YouTube-Playlists)
   ========================================================================== */
.yz-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.yz-tab {
	background: var(--yoru); border: 1px solid var(--line); border-radius: 99px;
	color: var(--hai); font-family: var(--font-body); font-weight: 500; font-size: 0.88rem;
	padding: 8px 20px; cursor: pointer;
	transition: color 0.15s, border-color 0.15s;
}
.yz-tab:hover { color: var(--sakura); border-color: var(--sakura); }
.yz-tab.is-active { color: #fff; background: var(--aka); border-color: var(--aka); }

/* ==========================================================================
   v1.1 – 404
   ========================================================================== */
.yz-404 { text-align: center; padding-top: 80px; padding-bottom: 100px; }
.yz-404-lantern { color: var(--aka); display: flex; justify-content: center; margin-bottom: 18px; }
.yz-404-lantern svg { animation: yz-lantern-swing 4s ease-in-out infinite alternate; transform-origin: top center; filter: drop-shadow(0 0 22px rgba(227, 66, 52, 0.3)); }
@keyframes yz-lantern-swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.yz-404-code {
	font-family: var(--font-display); font-size: clamp(3rem, 12vw, 5.5rem);
	margin: 0 0 4px; letter-spacing: 0.05em;
}
.yz-404-code span { color: var(--aka); font-family: var(--font-body); font-size: 0.5em; vertical-align: middle; margin: 0 10px; }
/* Wenn keine 4er drumherum: span ist einziges Kind → groß & ohne Seitenrand */
.yz-404-code span:only-child { font-size: 1em; margin: 0; }
.yz-404 h1 { font-family: var(--font-display); font-size: clamp(1.3rem, 4vw, 1.9rem); margin: 0 0 12px; }
.yz-404-text { color: var(--hai); max-width: 460px; margin: 0 auto 28px; }
.yz-404-search { max-width: 420px; margin: 0 auto 26px; }
.yz-404-home { box-shadow: 0 6px 22px rgba(227, 66, 52, 0.3); background: var(--aka); }

/* ==========================================================================
   v1.1 – Suche
   ========================================================================== */
.yz-searchform { display: flex; gap: 0; }
.yz-searchform input[type="search"] {
	flex: 1; background: var(--yoru); border: 1px solid var(--line); border-right: 0;
	border-radius: var(--radius) 0 0 var(--radius);
	color: var(--kumo); font-family: var(--font-body); font-size: 0.95rem;
	padding: 12px 16px; outline: none;
}
.yz-searchform input[type="search"]:focus { border-color: var(--sakura); }
.yz-searchform button {
	background: var(--aka); color: #fff; border: 0; cursor: pointer;
	border-radius: 0 var(--radius) var(--radius) 0; padding: 0 18px;
}
.yz-searchform button:hover { filter: brightness(1.12); }

.yz-search-term { color: var(--sakura); }
.yz-search-again { max-width: 460px; margin-top: 18px; }

.yz-result-list { display: flex; flex-direction: column; gap: 14px; }
.yz-result {
	background: var(--yoru); border: 1px solid var(--line); border-left: 4px solid var(--aka);
	border-radius: var(--radius); transition: transform 0.15s, border-color 0.15s;
}
.yz-result:hover { transform: translateX(4px); border-left-color: var(--sakura); }
.yz-result-link { display: block; padding: 18px 22px; color: var(--kumo); }
.yz-result-type {
	font-family: var(--font-board); font-size: 0.72rem; color: var(--aka);
	text-transform: uppercase; letter-spacing: 0.14em;
}
.yz-result-title { font-size: 1.1rem; margin: 4px 0 6px; font-family: var(--font-display); }
.yz-result-excerpt { color: var(--hai); font-size: 0.9rem; margin: 0; }

.yz-pagination { margin-top: 30px; text-align: center; }
.yz-pagination .page-numbers {
	display: inline-block; min-width: 38px; padding: 8px 10px; margin: 0 3px;
	background: var(--yoru); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--kumo);
}
.yz-pagination .page-numbers.current { background: var(--aka); border-color: var(--aka); color: #fff; }

@media (max-width: 720px) {
	.yz-consent { left: 8px; right: 8px; bottom: 8px; }
	.yz-consent-actions .yz-btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   v1.2 – Blog
   ========================================================================== */
.yz-page-sub { color: var(--hai); margin-top: 6px; }

.yz-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.yz-post-card {
	background: var(--yoru); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.yz-post-card:hover { transform: translateY(-4px); border-color: var(--sakura); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35); }
.yz-post-card-link { display: flex; flex-direction: column; height: 100%; color: var(--kumo); }
.yz-post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2px solid var(--aka); }
.yz-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.yz-post-card:hover .yz-post-thumb img { transform: scale(1.04); }
.yz-post-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.yz-post-meta { display: flex; gap: 10px; align-items: center; font-family: var(--font-board); font-size: 0.74rem; color: var(--hai); text-transform: uppercase; letter-spacing: 0.1em; }
.yz-post-cat { color: var(--aka); }
.yz-post-title { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.4; }
.yz-post-excerpt { color: var(--hai); font-size: 0.88rem; flex: 1; }
.yz-post-more { color: var(--sakura); font-size: 0.84rem; font-weight: 700; }

/* Artikel & Rechtliches – Lese-Layout */
.yz-article {
	max-width: 760px; margin: 0 auto;
	background: var(--yoru); border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(24px, 5vw, 48px); line-height: 1.75;
}
.yz-article-hero { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; border-bottom: 3px solid var(--aka); }
.yz-article-hero img { width: 100%; height: auto; display: block; }
.yz-article h2 { font-family: var(--font-display); font-size: 1.3rem; margin: 1.8em 0 0.6em; padding-left: 14px; border-left: 4px solid var(--aka); }
.yz-article h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 1.5em 0 0.5em; color: var(--sakura); }
.yz-article p { margin: 0 0 1.1em; }
.yz-article a { color: var(--sakura); text-decoration: underline; text-underline-offset: 3px; }
.yz-article a:hover { color: var(--aka); }
.yz-article ul, .yz-article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.yz-article li { margin-bottom: 0.4em; }
.yz-article blockquote {
	margin: 1.4em 0; padding: 14px 20px;
	background: var(--sumi); border-left: 4px solid var(--sakura); border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--hai); font-style: italic;
}
.yz-article img { max-width: 100%; height: auto; border-radius: var(--radius); }
.yz-article code { background: var(--sumi); padding: 2px 7px; border-radius: 5px; font-size: 0.88em; }
.yz-article pre { background: var(--sumi); padding: 16px 20px; border-radius: var(--radius); overflow-x: auto; border: 1px solid var(--line); }
.yz-article hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.yz-article table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
.yz-article th, .yz-article td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.yz-article th { background: var(--sumi); font-family: var(--font-display); font-size: 0.85rem; }

.yz-article-tags { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.yz-tag-pill {
	font-size: 0.8rem; color: var(--hai); border: 1px solid var(--line); border-radius: 99px; padding: 4px 14px;
}
.yz-tag-pill:hover { color: var(--sakura); border-color: var(--sakura); }

.yz-post-nav { max-width: 760px; margin: 26px auto 0; display: flex; justify-content: space-between; gap: 16px; }
.yz-post-nav a {
	display: inline-block; color: var(--kumo); background: var(--yoru);
	border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; font-size: 0.88rem;
	max-width: 320px;
}
.yz-post-nav a:hover { border-color: var(--sakura); color: var(--sakura); }
.yz-post-nav-next { margin-left: auto; text-align: right; }

/* Rechtliches: ruhiger, ohne Karten-Hover */
.yz-legal-article { font-size: 0.95rem; }
.yz-legal-article h2 { font-size: 1.12rem; }

@media (max-width: 720px) {
	.yz-post-nav { flex-direction: column; }
	.yz-post-nav-next { margin-left: 0; text-align: left; }
}

/* ==========================================================================
   v1.2.1 – Hero-Bild & eigenes Loader-Bild
   ========================================================================== */
/* Hero-Bild als Hintergrund der gesamten Hero-Sektion.
   Dunkler Verlauf darüber hält Titel/Stats lesbar; unten weicher
   Übergang in den Seitenhintergrund. */
.yz-hero-has-img {
	background-image:
		linear-gradient(rgba(20, 20, 27, 0.72), rgba(20, 20, 27, 0.55) 45%, var(--sumi) 96%),
		var(--yz-hero-img);
	background-size: cover;
	background-position: center;
}
.yz-hero-has-img .yz-hero-moon { opacity: 0.25; }
body.mode-day .yz-hero-has-img {
	background-image:
		linear-gradient(rgba(243, 238, 228, 0.78), rgba(243, 238, 228, 0.6) 45%, var(--sumi) 96%),
		var(--yz-hero-img);
}

/* Live-Player sitzt im selben Slot und überlagert das Hero-Bild:
   das Bild dient als Hintergrund der Facade, bis der Stream geladen ist */
.yz-hero-player { max-width: 860px; margin: 34px auto 0; }
.yz-hero-player .yz-facade-btn {
	background-image:
		linear-gradient(rgba(13, 13, 18, 0.55), rgba(13, 13, 18, 0.75)),
		var(--yz-hero-img, none);
	background-size: cover;
	background-position: center;
}

.yz-loader-custom img {
	max-height: 160px; max-width: min(70vw, 320px); width: auto; height: auto;
	animation: yz-loader-pulse 1.6s ease-in-out infinite;
	filter: drop-shadow(0 0 26px rgba(227, 66, 52, 0.35));
}
@keyframes yz-loader-pulse {
	0%, 100% { transform: scale(1); opacity: 0.92; }
	50%      { transform: scale(1.05); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.yz-loader-custom img { animation: none; }
}

/* ==========================================================================
   v1.2.2 – Gear / Setup (Über mich)
   ========================================================================== */
.yz-gear { margin-top: 36px; }
.yz-gear-head {
	font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 18px;
	display: flex; align-items: baseline;
}
.yz-gear-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.yz-gear-card {
	display: flex; align-items: center; gap: 14px;
	background: var(--yoru); border: 1px solid var(--line); border-radius: var(--radius);
	border-left: 3px solid var(--aka); padding: 14px 16px;
	transition: transform 0.15s, border-color 0.15s;
}
.yz-gear-card:hover { transform: translateY(-2px); border-left-color: var(--sakura); }
.yz-gear-icon {
	font-size: 1.4rem; line-height: 1; flex-shrink: 0;
	width: 38px; height: 38px; display: grid; place-items: center;
	background: var(--sumi); border-radius: 9px;
}
.yz-gear-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yz-gear-label {
	font-family: var(--font-board); font-size: 0.68rem; color: var(--hai);
	text-transform: uppercase; letter-spacing: 0.14em;
}
.yz-gear-value {
	font-size: 0.95rem; color: var(--kumo); font-weight: 500;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 560px) {
	.yz-gear-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1.3 – KI-Chatbot
   ========================================================================== */
.yz-chat-launcher{
	position:fixed; right:22px; bottom:22px; z-index:8998;
	width:60px; height:60px; border-radius:50%; border:0; cursor:pointer;
	background:linear-gradient(145deg, var(--aka), #b5291d);
	box-shadow:0 10px 30px rgba(227,66,52,0.45); color:#fff;
	display:grid; place-items:center;
	transition:transform 0.2s, box-shadow 0.2s;
}
.yz-chat-launcher:hover{ transform:translateY(-3px) scale(1.05); box-shadow:0 14px 38px rgba(227,66,52,0.6); }
.yz-chat-launcher-icon{ font-size:1.7rem; line-height:1; }
.yz-chat-launcher.is-open{ opacity:0; pointer-events:none; }

.yz-chat-window{
	position:fixed; right:22px; bottom:22px; z-index:8999;
	width:min(380px, calc(100vw - 44px)); height:min(560px, calc(100vh - 100px));
	background:var(--yoru); border:1px solid var(--line); border-radius:var(--radius);
	box-shadow:0 24px 70px rgba(0,0,0,0.6); display:flex; flex-direction:column;
	overflow:hidden; opacity:0; transform:translateY(16px) scale(0.98); pointer-events:none;
	transition:opacity 0.22s, transform 0.22s;
}
.yz-chat-window.is-open{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }

.yz-chat-header{
	display:flex; align-items:center; gap:12px; padding:14px 16px;
	background:linear-gradient(180deg, rgba(227,66,52,0.16), transparent), var(--yoru);
	border-bottom:1px solid var(--line);
}
.yz-chat-avatar{
	width:40px; height:40px; border-radius:50%; flex-shrink:0;
	background:radial-gradient(circle at 50% 40%, var(--sakura), var(--aka));
	display:grid; place-items:center; font-size:1.2rem;
	box-shadow:0 0 0 3px rgba(242,179,192,0.2);
}
.yz-chat-title{ flex:1; min-width:0; line-height:1.2; }
.yz-chat-title strong{ font-family:var(--font-display); font-size:0.92rem; display:block; }
.yz-chat-title span{ font-size:0.68rem; color:var(--sakura); font-family:var(--font-board); letter-spacing:0.08em; }
.yz-chat-dot{ width:8px; height:8px; border-radius:50%; background:#38d16a; box-shadow:0 0 8px #38d16a; flex-shrink:0; }
.yz-chat-close{ background:none; border:0; color:var(--hai); cursor:pointer; font-size:1.5rem; line-height:1; padding:2px 6px; }
.yz-chat-close:hover{ color:var(--kumo); }

.yz-chat-messages{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:12px; }
.yz-chat-messages::-webkit-scrollbar{ width:6px; }
.yz-chat-messages::-webkit-scrollbar-thumb{ background:var(--line); border-radius:3px; }

.yz-chat-msg{ max-width:82%; padding:10px 14px; border-radius:14px; font-size:0.9rem; line-height:1.5; white-space:pre-wrap; word-wrap:break-word; }
.yz-chat-msg.bot{ align-self:flex-start; background:var(--sumi); border:1px solid var(--line); border-bottom-left-radius:4px; }
.yz-chat-msg.user{ align-self:flex-end; background:linear-gradient(145deg, var(--aka), #b5291d); color:#fff; border-bottom-right-radius:4px; }

.yz-chat-typing{ align-self:flex-start; display:flex; gap:4px; padding:12px 16px; background:var(--sumi); border:1px solid var(--line); border-radius:14px; border-bottom-left-radius:4px; }
.yz-chat-typing span{ width:7px; height:7px; border-radius:50%; background:var(--hai); animation:yz-chat-bounce 1.2s infinite; }
.yz-chat-typing span:nth-child(2){ animation-delay:0.15s; }
.yz-chat-typing span:nth-child(3){ animation-delay:0.3s; }
@keyframes yz-chat-bounce{ 0%,60%,100%{ transform:translateY(0); opacity:0.4; } 30%{ transform:translateY(-6px); opacity:1; } }

.yz-chat-quick{ display:flex; flex-wrap:wrap; gap:6px; padding:0 16px 10px; }
.yz-chat-quick button{
	background:var(--sumi); border:1px solid var(--line); color:var(--sakura);
	font-family:var(--font-body); font-size:0.76rem; padding:6px 12px; border-radius:99px; cursor:pointer;
	transition:border-color 0.15s, color 0.15s;
}
.yz-chat-quick button:hover{ border-color:var(--sakura); color:var(--kumo); }

.yz-chat-input{ display:flex; gap:8px; padding:12px 14px; border-top:1px solid var(--line); background:var(--yoru); }
.yz-chat-input input{
	flex:1; background:var(--sumi); border:1px solid var(--line); border-radius:99px;
	color:var(--kumo); font-family:var(--font-body); font-size:0.9rem; padding:10px 16px; outline:none;
}
.yz-chat-input input:focus{ border-color:var(--sakura); }
.yz-chat-input button{
	background:var(--aka); border:0; border-radius:50%; width:40px; height:40px; flex-shrink:0;
	color:#fff; cursor:pointer; display:grid; place-items:center; transition:filter 0.15s;
}
.yz-chat-input button:hover{ filter:brightness(1.15); }
.yz-chat-input button:disabled{ opacity:0.4; cursor:not-allowed; }

/* Reopen-Cookie-Button nach oben schieben, wenn Chat aktiv (sonst überlappen sie) */
.yz-chat-launcher ~ .yz-consent-reopen,
body:has(.yz-chat-launcher) .yz-consent-reopen{ bottom:auto; top:16px; }

@media (max-width: 480px){
	.yz-chat-window{ right:8px; bottom:8px; width:calc(100vw - 16px); height:calc(100vh - 90px); }
	.yz-chat-launcher{ right:14px; bottom:14px; }
}
