/* ==========================================================================
   guentherschoder.de / westmc002.de – v5 „Gaming-HUD“
   Design & Layout: Günther Schoder
   Schriften: Chakra Petch, IBM Plex Sans, JetBrains Mono (SIL OFL, lokal)
   ========================================================================== */

/* ---------- Schriften (lokal, keine externen Anbieter) ---------- */
@font-face { font-family: 'Chakra Petch'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/chakra-petch-500.woff') format('woff'); }
@font-face { font-family: 'Chakra Petch'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/chakra-petch-600.woff') format('woff'); }
@font-face { font-family: 'Chakra Petch'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/chakra-petch-700.woff') format('woff'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400 600; font-style: normal; font-display: swap; src: url('../fonts/ibm-plex-sans-var.woff') format('woff'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 500; font-style: normal; font-display: swap; src: url('../fonts/jetbrains-mono-var.woff') format('woff'); }

/* ---------- Design-Tokens ---------- */
:root {
	--bg: #07090C;
	--panel: #0D1117;
	--panel-2: #111821;
	--line: #1E2630;
	--line-2: #2A333F;
	--line-3: #3A4552;
	--text: #E6EDF3;
	--text-2: #C4CDD8;
	--text-3: #A9B4C2;
	--muted: #8B97A6;
	--accent: #3DDC97;
	--accent-ink: #07090C;
	--accent-glow: rgba(61, 220, 151, .55);

	--f-disp: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
	--f-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
	--f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

	--wrap: 1280px;
	--gutter: 32px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background-color: var(--bg);
	background-image:
		linear-gradient(#111821 1px, transparent 1px),
		linear-gradient(90deg, #111821 1px, transparent 1px);
	background-size: 48px 48px;
	background-attachment: fixed;
}
main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
p a, .prose a, .link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a:hover, .prose a:hover, .link:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-disp); font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); }
.disp { font-family: var(--f-disp); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: none; vertical-align: middle; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--accent-ink); }

/* ---------- Header / Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 12, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--f-disp); font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.brand__prompt { color: var(--accent); }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 26px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--f-disp); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .2s, box-shadow .2s; }
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: transparent; border: 1px solid var(--line-2); cursor: pointer; }

@media (max-width: 960px) {
	.js .nav-toggle { display: inline-flex; }
	.js .main-nav { display: none; flex-basis: 100%; padding-bottom: 12px; }
	.js .main-nav.is-open { display: block; }
	.js .main-nav ul { flex-direction: column; gap: 0; }
	.js .main-nav a { width: 100%; border-top: 1px solid var(--line); }
	.js .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
	.site-header__inner { flex-wrap: wrap; }
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow { font-family: var(--f-mono); font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.eyebrow--accent { color: var(--accent); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.h-hero { font-size: clamp(44px, 6.5vw, 92px); line-height: .95; }
.h-page { font-size: clamp(44px, 6vw, 80px); line-height: .95; }
.h-section { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: .02em; }
.h-sub { font-size: 24px; letter-spacing: .04em; }
.lead { max-width: 560px; color: var(--text-3); font-size: 18px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 24px; }

/* ---------- Abschnitte ---------- */
.section { padding: 40px 0 72px; }
.section--tight { padding: 24px 0 48px; }
.page-head { padding: 56px 0 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.page-head__title { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Panels ---------- */
.panel { position: relative; background: var(--panel); border: 1px solid var(--line); }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel__title { font-size: 16px; letter-spacing: .08em; color: var(--accent); }
.panel__title--muted { color: var(--muted); }
.brk { position: relative; }
.brk::before, .brk::after { content: ""; position: absolute; z-index: 2; width: 16px; height: 16px; border: 0 solid var(--accent); pointer-events: none; }
.brk::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.brk::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); font-family: var(--f-disp); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: box-shadow .25s, transform .25s; }
.btn:hover { color: var(--accent-ink); box-shadow: 0 0 0 1px var(--accent), 0 12px 30px -12px var(--accent-glow); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-3); }
.btn--ghost:hover { color: #fff; border-color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.text-link:hover { color: #fff; }

/* ---------- Badges / Chips ---------- */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; font-family: var(--f-mono); font-size: 12px; border: 1px solid var(--line-3); color: var(--text-3); white-space: nowrap; }
.badge--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; font-family: var(--f-mono); font-size: 13px; color: var(--text-2); background: transparent; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ==========================================================================
   Startseite
   ========================================================================== */
.hero { display: flex; flex-wrap: wrap; gap: 28px; padding: 72px 0 40px; }
.terminal { flex: 999 1 560px; min-width: 0; overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.terminal__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.terminal__path { margin-left: 10px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.terminal__body { padding: 32px 32px 8px; font-family: var(--f-mono); font-size: 16px; line-height: 1.9; display: flex; flex-direction: column; }
.terminal__body .ok { color: var(--muted); }
.terminal__body .ok b { color: var(--accent); font-weight: 500; }
.terminal__copy { padding: 16px 32px 40px; display: flex; flex-direction: column; gap: 20px; }
.terminal__copy .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); opacity: .35; pointer-events: none; animation: scan 4s linear infinite; }
.type { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; width: 0; animation: typing 1.8s steps(34) 1.4s forwards; }
.cursor { display: inline-block; width: 10px; height: 1.1em; vertical-align: text-bottom; background: var(--accent); animation: blink 1s step-end infinite; }
.boot { opacity: 0; animation: boot .01s forwards; }
.boot--1 { animation-delay: .2s; } .boot--2 { animation-delay: .5s; } .boot--3 { animation-delay: .8s; } .boot--4 { animation-delay: 1.1s; }

.profile { flex: 1 1 320px; display: flex; flex-direction: column; gap: 22px; padding: 28px; }
.profile__top { display: flex; justify-content: space-between; align-items: center; }
.online { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--accent); }
.online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.profile__id { display: flex; align-items: center; gap: 16px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 64px; height: 64px; border: 2px solid var(--accent); color: var(--accent); font-family: var(--f-disp); font-size: 26px; font-weight: 700; }
.clan-logo { flex: none; width: 88px; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.profile__name { font-family: var(--f-disp); font-size: 22px; font-weight: 700; line-height: 1.2; }
.profile__role { font-size: 14px; color: var(--muted); line-height: 1.4; }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--panel); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.stat__value { font-family: var(--f-disp); font-size: 36px; font-weight: 700; line-height: 1; color: var(--accent); }
.stat__label { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.mode-grid + .mode-grid { margin-top: 20px; }
.mode-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.mode-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -18px var(--accent-glow); }
.mode-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--panel-2); }
.mode-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.8); transition: filter .4s, transform .6s var(--ease); }
.mode-card:hover .mode-card__media img { filter: none; transform: scale(1.05); }
.mode-card__body { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
.mode-card__title { display: block; font-family: var(--f-disp); font-size: 26px; font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.mode-card__desc { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.mode-card__no { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.mode-card--small { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 0 20px; }
.mode-card--small .mode-card__title { font-size: 20px; }

/* Patch Notes / News */
.patch-list { list-style: none; font-family: var(--f-mono); font-size: 14px; }
.patch-list li { display: grid; grid-template-columns: 110px 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 24px; border-bottom: 1px solid #161D26; }
.patch-list li:last-child { border-bottom: 0; }
.patch-list time { color: var(--muted); }
.patch-list .tag { justify-self: start; padding: 2px 8px; border: 1px solid var(--line-2); color: var(--accent); font-size: 12px; }
.patch-list .txt { color: #D2DAE3; }
.year-label { padding: 10px 24px; font-family: var(--f-disp); font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--accent); background: var(--panel-2); border-bottom: 1px solid var(--line); }

/* ==========================================================================
   Hobbys
   ========================================================================== */
.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; font-family: var(--f-disp); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tabs a:hover { color: #fff; border-color: var(--line-3); }
.tabs a[aria-current="page"] { color: #fff; border-color: var(--accent); }
.tabs .is-archive { color: #6B7787; }
.tabs .is-archive span { font-family: var(--f-mono); font-size: 11px; }
.hobby-intro { max-width: 820px; margin: 28px 0 8px; color: var(--text-3); }

.group-title { margin: 48px 0 20px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }

.item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 28px; padding: 28px; align-items: start; }
@media (min-width: 961px) {
	.item { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	.item--compact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}
.item__media { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.item__info { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.item__name { font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.item__text { display: flex; flex-direction: column; gap: 10px; color: var(--text-2); }

.gallery__main { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel-2); border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__main:hover img { transform: scale(1.03); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.gallery__thumb { display: block; padding: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel-2); border: 1px solid var(--line); cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover, .gallery__thumb[aria-current="true"] { opacity: 1; border-color: var(--accent); }

.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.spec-table { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 13px; }
.spec-table th, .spec-table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #161D26; }
.spec-table th { width: 46%; font-weight: 400; color: var(--muted); }
.spec-table tr:hover td, .spec-table tr:hover th { background: var(--panel-2); }
.spec-table tr.sep td { padding: 0; height: 10px; border-bottom-color: var(--line-2); }
.spec-wrap { border: 1px solid var(--line); max-height: 460px; overflow: auto; }
.spec-wrap--short { max-height: none; }

.list-block h4 { font-size: 14px; letter-spacing: .1em; color: var(--accent); margin-bottom: 8px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { padding: 4px 10px; font-family: var(--f-mono); font-size: 12px; color: var(--text-2); border: 1px solid var(--line-2); background: var(--bg); }

/* ==========================================================================
   Galerie
   ========================================================================== */
.stat-inline { display: flex; gap: 32px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.stat-inline b { display: block; font-family: var(--f-disp); font-size: 36px; font-weight: 700; line-height: 1; color: var(--accent); }

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.album-card { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.album-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.75); transition: transform .6s, filter .4s; }
.album-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -18px var(--accent-glow); }
.album-card:hover img { transform: scale(1.06); filter: none; }
.album-card__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: rgba(7, 9, 12, .84); display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.album-card__title { display: block; font-family: var(--f-disp); font-size: 18px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.album-card__date { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--text-3); }
.album-card__count { font-family: var(--f-mono); font-size: 12px; color: var(--accent); white-space: nowrap; }

.album-list { list-style: none; }
.album-list li { border-bottom: 1px solid #161D26; }
.album-list li:last-child { border-bottom: 0; }
.album-list a { display: grid; grid-template-columns: 90px minmax(0, 1fr) 120px 90px; gap: 16px; align-items: center; padding: 14px 20px; transition: background .2s, padding .25s; }
.album-list a:hover { background: var(--panel-2); padding-left: 26px; }
.album-list .date, .album-list .cat { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.album-list .name { font-weight: 500; }
.album-list .count { font-family: var(--f-mono); font-size: 13px; color: var(--accent); text-align: right; }
.album-list li[hidden] { display: none; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.photo-grid a { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, box-shadow .3s; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-grid a:hover { border-color: var(--accent); box-shadow: 0 14px 30px -16px var(--accent-glow); }
.photo-grid a:hover img { transform: scale(1.05); }

/* ==========================================================================
   Projekte
   ========================================================================== */
.quest { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-bottom: 96px; }
.quest__list { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.quest__detail { flex: 999 1 560px; min-width: 0; }
.quest-row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 18px; border-bottom: 1px solid #161D26; border-left: 3px solid transparent; transition: background .2s; }
.quest-row:last-child { border-bottom: 0; }
.quest-row:hover { background: var(--panel-2); }
.quest-row[aria-current="true"] { background: var(--panel-2); border-left-color: var(--accent); }
.quest-row__dot { flex: none; width: 8px; height: 8px; background: var(--line-3); }
.quest-row--aktiv .quest-row__dot { background: var(--accent); }
.quest-row__name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.quest-row__name b { font-weight: 600; }
.quest-row__name span, .quest-row__meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

.detail__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.detail__body { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.detail__title { font-size: clamp(28px, 3.4vw, 40px); }
.detail__text { display: flex; flex-direction: column; gap: 12px; color: var(--text-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 13px; }
.facts div { background: var(--panel); padding: 12px 14px; display: flex; flex-direction: column; }
.facts span { color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.shots a { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--panel-2); }
.shots img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.shots a:hover { border-color: var(--accent); }
.shots a:hover img { transform: scale(1.06); }
.shots .v { position: absolute; left: 6px; top: 6px; padding: 1px 6px; font-family: var(--f-mono); font-size: 11px; background: rgba(7, 9, 12, .85); color: var(--accent); }

/* Homepage-History */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.timeline__item { display: flex; flex-direction: column; }
.timeline__item .shot { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.timeline__item .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.timeline__item .shot:hover img { transform: scale(1.04); }
.timeline__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.timeline__v { font-family: var(--f-disp); font-size: 40px; font-weight: 700; line-height: 1; }
.timeline__item--now { border-color: var(--accent); }
.timeline__item--now .timeline__v { color: var(--accent); }
.shot--now { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; font-family: var(--f-mono); font-size: 14px; color: var(--accent); border-bottom: 1px solid var(--line); }

/* ==========================================================================
   PC-Support & Downloads
   ========================================================================== */
.support-hero { display: flex; flex-wrap: wrap; gap: 28px; padding: 56px 0 40px; align-items: stretch; }
.support-hero__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.connection { flex: 1 1 380px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.connection__line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.connection__node { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--f-disp); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.connection__node--me { color: var(--accent); }
.connection__link { height: 2px; background-image: linear-gradient(90deg, var(--accent) 50%, transparent 50%); background-size: 12px 2px; animation: dash .6s linear infinite; }
.connection__log { font-family: var(--f-mono); font-size: 13px; line-height: 1.9; display: flex; flex-direction: column; color: var(--muted); }
.connection__log b { color: var(--accent); font-weight: 500; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.step { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.step__no { font-family: var(--f-disp); font-size: 44px; font-weight: 700; line-height: 1; color: var(--accent); }
.step p { font-size: 15px; color: var(--text-3); }
.contact-list { list-style: none; display: flex; flex-direction: column; font-size: 15px; }
.contact-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); }
.contact-list li:last-child a { border-bottom: 0; }
.contact-list span { font-family: var(--f-mono); font-size: 13px; color: var(--muted); overflow-wrap: anywhere; text-align: right; }
.dl-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 16px; background: var(--bg); border: 1px solid var(--line-2); transition: border-color .25s, transform .25s, box-shadow .25s; }
.dl-btn:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 32px -16px var(--accent-glow); }
.dl-btn__txt { display: flex; flex-direction: column; line-height: 1.3; }
.dl-btn__txt b { font-weight: 600; }
.dl-btn__txt span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

.table-wrap { position: relative; overflow-x: auto; }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-family: var(--f-mono); font-size: 14px; }
.data-table th { padding: 14px 20px; text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--line); }
.data-table th a { color: var(--muted); display: inline-flex; gap: 6px; }
.data-table th a:hover, .data-table th a.is-sorted { color: var(--accent); }
.data-table td { padding: 10px 20px; border-bottom: 1px solid #161D26; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--panel-2); }
.data-table .num { text-align: right; white-space: nowrap; }
.data-table td a.dl { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--accent); }

/* ==========================================================================
   Textseiten (Impressum, Datenschutz, Disclaimer)
   ========================================================================== */
.prose-wrap { padding-bottom: 96px; }
.prose { max-width: 820px; padding: 32px; color: var(--text-2); }
.prose h2 { font-size: 20px; letter-spacing: .06em; color: var(--accent); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--accent); }
.prose address { font-style: normal; font-family: var(--f-mono); font-size: 15px; line-height: 1.8; color: var(--text); }
.prose .stand { margin-top: 36px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.site-footer__inner { padding: 20px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.site-footer a:hover { color: #fff; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--panel); border: 1px solid var(--line-3); color: var(--accent); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s, border-color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 72px 24px; background: rgba(4, 6, 8, .94); opacity: 0; transition: opacity .25s; }
.lb.is-open { opacity: 1; }
.lb[hidden] { display: none; }
.lb__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lb__img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px #000; }
.lb__cap { display: flex; gap: 16px; font-family: var(--f-mono); font-size: 13px; color: var(--text-3); text-align: center; }
.lb__count { color: var(--accent); }
.lb__btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; background: var(--panel); border: 1px solid var(--line-3); color: var(--text); cursor: pointer; transition: border-color .2s, color .2s; }
.lb__btn:hover { border-color: var(--accent); color: var(--accent); }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- Scroll-Animationen (nur mit JavaScript) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }

/* ---------- Keyframes ---------- */
@keyframes typing { from { width: 0; } to { width: 34ch; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes boot { to { opacity: 1; } }
@keyframes scan { from { top: 0; } to { top: 100%; } }
@keyframes dash { to { background-position: 24px 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

/* ---------- Responsiv ---------- */
@media (max-width: 760px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.hero { padding-top: 32px; }
	.terminal__body { padding: 20px 18px 4px; font-size: 13px; }
	.terminal__copy { padding: 12px 18px 28px; }
	.type { animation-name: typing-sm; }
	.profile, .item, .detail__body, .prose { padding: 20px; }
	.patch-list li { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 16px; }
	.patch-list .txt { grid-column: 1 / -1; }
	.album-list a { grid-template-columns: 72px minmax(0, 1fr) auto; }
	.album-list .cat { display: none; }
	.page-head { padding-top: 32px; }
	.lb { padding: 64px 12px 84px; }
	.lb__prev, .lb__next { top: auto; bottom: 16px; transform: none; }
	.lb__prev { left: calc(50% - 60px); } .lb__next { right: calc(50% - 60px); }
	.lb__img { max-height: calc(100vh - 190px); }
}
@keyframes typing-sm { from { width: 0; } to { width: 34ch; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.boot { opacity: 1; }
	.type { width: 34ch; }
	.scan { display: none; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */
@media print {
	body { background: #fff; color: #000; }
	.site-header, .site-footer, .to-top, .scan { display: none; }
	.panel { border-color: #ccc; background: #fff; }
}
