/*
Theme Name: Seb's Lab
Theme URI: https://sebs-lab.de
Author: Sebastian Geschwill
Description: Persönliches Theme für Seb's Lab. Laut im Kopf, still an der Linie. Entwurf v0.1.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: sebs-lab
*/
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("assets/fonts/jetbrains-mono.woff2") format("woff2"); }

:root {
	--bg: #0d0e11;
	--bg-2: #15171c;
	--bg-3: #1d2027;
	--line: #2a2e37;
	--text: #ece8e1;
	--muted: #9b9ca5;
	--copper: #00ff41;
	--copper-2: #7dff9b;
	--bone: #c9c4b8;
	--neon: #00ff41;
	--neon-dim: #008f11;
	--gold: #f4c430;
	--radius: 14px;
	--max: 1160px;
	--font: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
	--font-head: var(--font);
	--mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; }

a { color: var(--copper-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--neon); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.01em;
	margin: 0 0 .6em;
}

::selection { background: var(--neon); color: var(--bg); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--neon); color: var(--bg); padding: .5rem 1rem; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.mono { font-family: var(--mono); font-weight: 600; font-size: .82rem; letter-spacing: .04em; color: var(--muted); }
.kicker { font-family: var(--mono); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--neon); margin-bottom: 1rem; display: inline-block; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(13, 14, 17, .85);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.brand { display: flex; align-items: center; gap: .8rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); transition: transform .2s ease; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.brand-text small { display: block; font-family: var(--font); font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: 0; text-transform: none; margin-top: .15rem; }

.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; flex-wrap: wrap; }
.primary-nav a {
	display: block; padding: .45rem .8rem; border-radius: 999px;
	color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
}
.primary-nav a:hover, .primary-nav .current-menu-item a, .primary-nav .current_page_item a { background: var(--bg-3); color: var(--neon); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: .45rem .7rem; font-family: var(--mono); cursor: pointer; }

@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: .8rem 1.25rem 1.2rem; }
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(800px 400px at 85% 20%, rgba(0, 255, 65, .09), transparent 60%),
		radial-gradient(600px 300px at 10% 90%, rgba(0, 255, 65, .07), transparent 60%),
		var(--bg);
}
.matrix-rain { position: absolute; inset: 0; z-index: 0; opacity: .16; pointer-events: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { overflow-wrap: break-word; font-size: clamp(2.8rem, 7.5vw, 6rem); text-transform: uppercase; margin-bottom: .35em; }
.hero h1 .loud { color: var(--copper); display: block; }
.hero h1 .still { color: var(--text); display: block; }
.hero p.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 34rem; margin: 0 0 2rem; }

.btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .85rem 1.4rem; border-radius: 999px;
	font-family: var(--font-head); font-weight: 700; text-decoration: none; font-size: 1.02rem; letter-spacing: .02em;
	border: 2px solid var(--copper); color: var(--bg); background: var(--copper);
	transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--neon); border-color: var(--neon); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--neon); color: var(--neon); background: transparent; }

/* Scheibe (rein CSS) – pumpt im Beat, Schallwellen laufen nach außen */
.target-wrap { display: grid; place-items: center; }
.target-stage { position: relative; width: min(100%, 380px); aspect-ratio: 1; }
.target {
	position: absolute; inset: 0; border-radius: 50%;
	background: radial-gradient(circle,
		var(--gold) 0 10%, #e8b81f 10% 20%,
		#d9372b 20% 30%, #c22f25 30% 40%,
		#2f7fd1 40% 50%, #2669b0 50% 60%,
		#16181d 60% 70%, #111317 70% 80%,
		#f2efe9 80% 90%, #dcd8d0 90% 100%);
	box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.55);
	animation: kick 1.38s cubic-bezier(.2,.8,.3,1) infinite;
}
.arrow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: kick 1.38s cubic-bezier(.2,.8,.3,1) infinite; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.ripple {
	position: absolute; inset: 0; border-radius: 50%;
	border: 2px solid var(--neon); opacity: 0;
	animation: ripple 2.76s ease-out infinite;
}
.ripple.r2 { border-color: var(--copper); animation-delay: .92s; }
.ripple.r3 { animation-delay: 1.84s; }

/* 174 BPM: Kick auf jedem 4. Schlag (1,38 s) */
@keyframes kick {
	0% { transform: scale(1); }
	8% { transform: scale(1.025); }
	30%, 100% { transform: scale(1); }
}
@keyframes ripple {
	0% { transform: scale(1); opacity: .55; }
	100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.target, .arrow-svg, .ripple { animation: none; }
}

@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; }
	.target-wrap { order: -1; }
	.target-stage { width: min(70%, 280px); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.tile {
	background: linear-gradient(160deg, #1c1f25 0%, #121418 55%, #0f1114 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 -1px 0 rgba(0,0,0,.6); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.5rem; position: relative; overflow: hidden;
	transition: transform .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-4px); border-color: var(--copper); }
.tile .icon { font-size: 1.8rem; line-height: 1; margin-bottom: 1rem; display: block; }
.tile h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.tile p { color: var(--muted); margin: 0; font-size: .97rem; }
.tile .tag { font-family: var(--mono); font-weight: 600; font-size: .74rem; color: var(--neon); letter-spacing: .1em; text-transform: uppercase; display: block; margin-top: 1rem; }

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

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.split p { color: var(--muted); }
.quote {
	border-left: 4px solid var(--copper); padding: 1rem 0 1rem 1.5rem;
	font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.3; margin: 0;
}
.quote small { display: block; font-family: var(--mono); font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.post-card {
	background: linear-gradient(160deg, #1c1f25 0%, #121418 60%, #0f1114 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
}
.post-card .thumb { aspect-ratio: 16/9; background: var(--bg-3); display: block; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a:hover { color: var(--neon); }
.post-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.post-card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

.empty {
	border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem;
	color: var(--muted); font-family: var(--mono); font-size: .9rem;
}

/* ---------- Content pages ---------- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 2rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); text-transform: uppercase; margin: 0; }
.page-hero h1::after { content: ""; display: block; width: 70px; height: 5px; background: var(--copper); margin-top: 1rem; border-radius: 3px; }

.content { padding: 3rem 0 5rem; }
.entry { max-width: 72ch; }
.entry h2 { font-size: 1.9rem; margin-top: 2.2em; }
.entry h3 { font-size: 1.35rem; margin-top: 1.8em; }
.entry blockquote { border-left: 4px solid var(--neon); margin: 2rem 0; padding: .2rem 0 .2rem 1.3rem; color: var(--text); font-size: 1.2rem; font-weight: 600; }
.entry code, .entry pre { font-family: var(--mono); background: var(--bg-3); border-radius: 6px; }
.entry code { padding: .1em .4em; font-size: .9em; }
.entry pre { padding: 1rem 1.2rem; overflow: auto; border: 1px solid var(--line); }
.entry img { border-radius: var(--radius); }
.entry .wp-block-embed, .entry iframe { border-radius: var(--radius); overflow: hidden; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
.meta { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-top: 1rem; }

.pagination { margin-top: 2.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); }
.pagination .current { background: var(--copper); color: var(--bg); border-color: var(--copper); }

/* ---------- Footer ---------- */
.site-footer { padding: 3rem 0 2.5rem; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
.footer-claim { font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 1.1rem; }
.footer-claim span { color: var(--copper); }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--neon); }

/* ---------- Kontaktformular ---------- */
.contact-form { max-width: 640px; margin-top: 1.5rem; }
.contact-form label { display: block; font-weight: 700; margin-bottom: .35rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
	width: 100%; padding: .8rem 1rem; border-radius: 10px;
	background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
	font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0, 255, 65, .15); }
.contact-form .check label { font-weight: 400; color: var(--muted); font-size: .92rem; display: flex; gap: .6rem; align-items: flex-start; }
.contact-form .check input { margin-top: .3rem; accent-color: var(--copper); }
.contact-form .btn { cursor: pointer; }
.contact-form .hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: 10px; margin: 1rem 0; font-weight: 600; }
.notice.ok { background: rgba(0, 255, 65, .1); border: 1px solid var(--neon); }
.notice.err { background: rgba(0, 255, 65, .08); border: 1px solid var(--copper); }

/* ---------- Fotos ---------- */
.photo-quote { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); max-width: 460px; justify-self: end; }
.photo-quote img { display: block; width: 100%; height: auto; }
.photo-quote figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.4rem 1.3rem;
	background: linear-gradient(180deg, transparent, rgba(13,14,17,.92) 55%);
	border-left: 4px solid var(--copper);
}
.photo-quote figcaption span { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.25; color: var(--text); }
.photo-quote figcaption small { display: block; font-family: var(--mono); font-weight: 600; font-size: .78rem; color: var(--muted); margin-top: .6rem; }
@media (max-width: 860px) { .photo-quote { justify-self: stretch; max-width: none; } }

.setup-band { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); min-height: 520px; display: flex; align-items: center; }
.setup-band .setup-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: none; }
.setup-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,14,17,.94) 0%, rgba(13,14,17,.78) 36%, rgba(13,14,17,0) 70%); }
.setup-inner { position: relative; z-index: 2; padding: 4rem 0; }
.setup-inner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 16ch; }
.specs { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .5rem; max-width: 380px; }
.specs li { display: flex; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.specs b { font-family: var(--mono); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--neon); min-width: 70px; padding-top: .15rem; }
@media (max-width: 760px) { .setup-band::before { background: linear-gradient(180deg, rgba(13,14,17,.55), rgba(13,14,17,.95) 60%); } }

.entry .wp-block-image img { max-height: 80vh; width: auto; }
.entry figcaption { font-family: var(--mono); font-weight: 600; font-size: .8rem; color: var(--muted); margin-top: .6rem; }

/* Runder Equalizer um die Scheibe */
.eq-ring { position: absolute; left: -20%; top: -20%; width: 140%; height: 140%; pointer-events: none; }
.target-stage { margin: 12% 0; }

/* ---------- Instagram-Embed ---------- */
.insta-embed { max-width: 420px; margin: 2rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
	background: linear-gradient(160deg, #1c1f25 0%, #121418 60%, #0f1114 100%); }
.insta-consent { aspect-ratio: 9 / 14; display: flex; flex-direction: column; justify-content: center; gap: .8rem; padding: 2rem 1.6rem;
	background: radial-gradient(400px 300px at 50% 30%, rgba(0, 255, 65, .08), transparent 70%); }
.insta-consent strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.15; }
.insta-consent p { color: var(--muted); font-size: .9rem; margin: 0; }
.insta-consent .btn { align-self: flex-start; cursor: pointer; }
.insta-direct { font-size: .85rem; color: var(--muted); }
.insta-embed.is-loaded { background: #fff; }
.insta-embed iframe { display: block; width: 100%; height: 760px; border: 0; }

/* Rave-Flyer */
.hero h1 { font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .loud { color: var(--neon); text-shadow: 0 0 28px rgba(0, 255, 65, .35); }
.hero h1 .still { color: transparent; -webkit-text-stroke: 2px var(--text); }
.section-head h2, .split h2, .setup-inner h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -0.02em; }
.page-hero h1 { font-weight: 800; }
.flyer-line { font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--bone);
	display: flex; gap: .9rem; flex-wrap: wrap; margin: -.8rem 0 1.8rem; opacity: .8; }
.flyer-line span + span::before { content: "✦"; color: var(--neon); margin-right: .9rem; }
.btn { color: var(--bg); }
.btn:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.quote, .photo-quote figcaption { border-left-color: var(--neon); }

/* Terminal-Logo */
.brand-text .prompt { font-weight: 800; text-transform: none; letter-spacing: -0.02em; font-size: 1.15rem; }
.brand-text .prompt .dim { color: var(--neon); }
.brand-text .cursor { display: inline-block; width: .6em; height: 1.05em; background: var(--neon); vertical-align: -0.15em; margin-left: .15em; animation: blink 1.06s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .brand-text .cursor { animation: none; } }

/* Footer: Social + Lasagne */
.social { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.social a { font-family: var(--mono); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-decoration: none; color: var(--text);
	border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; }
.social a:hover { border-color: var(--neon); color: var(--neon); }

/* Kommentare */
.comments { max-width: 72ch; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments h2 { font-size: 1.5rem; text-transform: uppercase; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list .children { list-style: none; padding-left: 1.5rem; border-left: 2px solid var(--line); }
.comment-body { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.comment-meta { font-size: .8rem; color: var(--muted); }
.comment-meta .fn { color: var(--neon); font-style: normal; font-weight: 700; }
.comment-meta a { color: var(--muted); text-decoration: none; }
.comment-awaiting-moderation { color: var(--bone); font-size: .85rem; }
.reply a { font-size: .85rem; font-weight: 700; }
.comment-respond label { display: block; font-weight: 700; margin-bottom: .3rem; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
	width: 100%; padding: .8rem 1rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: inherit; }
.comment-respond input:focus, .comment-respond textarea:focus { outline: none; border-color: var(--neon); }
.comment-form-cookies-consent { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-respond .submit { cursor: pointer; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid var(--neon); background: var(--neon); color: var(--bg); font: inherit; font-weight: 800; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: .9rem; }

/* Linien-Icons */
.tile .icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 1.1rem;
	background: radial-gradient(circle at 50% 40%, rgba(0, 255, 65, .14), rgba(0, 255, 65, .02) 70%); border: 1px solid rgba(0, 255, 65, .25); }
.tile .icon svg { width: 30px; height: 30px; fill: none; stroke: var(--neon); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
	filter: drop-shadow(0 0 4px rgba(0, 255, 65, .45)); transition: transform .25s ease; }
.tile .icon svg .fill { fill: var(--neon); stroke: none; }
.tile:hover .icon svg { transform: scale(1.12) rotate(-4deg); }
