/* ======================================================
   REINGEBLICKT — MAIN STYLESHEET v1.0
   ====================================================== */

/* ── Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700&family=Lora:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@400&display=swap');

/* ── Design Tokens ───────────────────────────────────── */
:root {
  --bg:           #0C1117;
  --bg-alt:       #0F161E;
  --surface:      #131C27;
  --surface2:     #1A2636;
  --surface3:     #22304A;
  --border:       rgba(255,255,255,0.06);
  --border-md:    rgba(255,255,255,0.11);
  --border-lg:    rgba(255,255,255,0.18);
  --accent:       #E07B3A;
  --accent-dim:   rgba(224,123,58,0.10);
  --green:        #4CAF82;
  --blue:         #4A9EDB;
  --txt:          #EDF2F8;
  --txt-body:     #C4D4DF;   /* long-form reading text — ~8:1 on --bg */
  --txt-dim:      #96B2C8;   /* UI chrome, card excerpts — ~5.8:1 */
  --txt-muted:    #577A91;   /* timestamps, labels */
  --f-head:       'Syne', Georgia, serif;
  --f-body:       'Lora', Georgia, serif;
  --f-mono:       'JetBrains Mono', 'Courier New', monospace;
  --r-sm:         6px;
  --r-md:         10px;
  --r-lg:         14px;
  --nav-h:        64px;
  --max-w:        1120px;
  --text-max:     720px;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--txt);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(28px, 5vw, 52px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); }
h4 { font-size: 17px; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

strong, b { font-weight: 600; color: var(--txt); }
em, i { font-style: italic; }

code, kbd {
  font-family: var(--f-mono);
  font-size: 0.85em;
  background: var(--surface2);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: var(--r-sm);
}

pre {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
pre code {
  background: none;
  padding: 0;
  font-size: 13.5px;
  color: var(--txt);
  line-height: 1.7;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 20px;
  margin: 1.75rem 0;
}
blockquote p { color: var(--txt-dim); font-style: italic; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1.25rem; }
li { margin-bottom: 0.4rem; color: var(--txt-dim); line-height: 1.85; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--r-md); }

table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
th {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--txt-muted);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-md);
  text-align: left;
}
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--txt-dim);
}

/* ── Accessibility ──────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-md);
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ── Layout ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.text-container {
  max-width: var(--text-max);
  margin: 0 auto;
  padding: 0 28px;
}
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* ── Buttons ────────────────────────────────────────── */
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
  text-decoration: none;
  border: none;
}
.btn-primary, button.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; color: #fff; }
.btn-ghost, button.btn-ghost {
  background: transparent;
  color: var(--txt);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover {
  border-color: var(--border-lg);
  background: var(--surface);
  text-decoration: none;
  color: var(--txt);
}

/* ── TOP ANNOUNCE BAR ──────────────────────────────── */
#site-topbar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 9px 48px;
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
}
#site-topbar a { color: #fff; text-decoration: underline; }
#site-topbar a:hover { text-decoration: none; }
.topbar-close {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0 6px;
}
.topbar-close:hover { color: #fff; }

/* ── NAVIGATION ─────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(12,17,23,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-branding {
  flex-shrink: 0;
}
.site-branding a {
  font-family: var(--f-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.025em;
  text-decoration: none;
}
.site-branding a:hover { text-decoration: none; }
.site-branding .accent { color: var(--accent); }

/* WordPress custom logo */
.custom-logo-link img { height: 36px; width: auto; }

#primary-navigation { flex: 1; }
#primary-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
#primary-menu li a {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--txt-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item > a,
#primary-menu li.current-page-ancestor > a {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
/* Dropdown */
#primary-menu li { position: relative; }
#primary-menu li ul {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  min-width: 180px;
  padding: 8px 0;
  list-style: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
#primary-menu li:hover > ul { display: block; }
#primary-menu li ul li { padding: 0; }
#primary-menu li ul li a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-transform: none;
  border-bottom: none;
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  border: none;
  padding: 9px 20px;
  border-radius: var(--r-md);
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-md);
  color: var(--txt);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  margin-left: auto;
}
.mobile-menu {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 28px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu ul li a {
  display: block;
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--txt-dim);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu ul li a:hover { color: var(--accent); }

/* ── PAGE HEADER ────────────────────────────────────── */
.page-header {
  padding: 60px 0 44px;
  border-bottom: 1px solid var(--border);
}
.page-header-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-header-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.page-header h1 {
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 14px;
}
.page-header .lead {
  color: var(--txt-dim);
  font-size: 17px;
  max-width: 600px;
  line-height: 1.85;
}

/* ── HERO — FRONT PAGE ──────────────────────────────── */
.hero {
  padding: 84px 0 68px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -140px; right: -220px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(224,123,58,0.055) 0%, transparent 68%);
  pointer-events: none;
}
.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--accent);
}
.hero-title {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero-title em { color: var(--accent); font-style: normal; }
.hero-lead {
  color: var(--txt-dim);
  font-size: 17px;
  line-height: 1.85;
  max-width: 510px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Terminal Widget */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.terminal-titlebar {
  background: var(--surface2);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red   { background: #FF5F57; }
.terminal-dot.amber { background: #FEBC2E; }
.terminal-dot.green { background: #28C840; }
.terminal-title {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
  margin-left: 6px;
}
.terminal-body {
  padding: 18px 20px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.65;
}
.t-prompt { color: var(--txt-muted); }
.t-cmd    { color: var(--accent); }
.t-sep    { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
.t-row    { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; }
.t-label  { color: var(--txt-dim); }
.t-bar    { color: var(--accent); margin: 0 8px; font-size: 11px; }
.t-pct    { color: var(--txt); font-size: 12px; }
.t-live   { color: var(--green); }
.t-soon   { color: var(--txt-muted); }

/* ── SECTION GENERIC ────────────────────────────────── */
.section { padding: 64px 0; border-bottom: 1px solid var(--border); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.section-title {
  font-family: var(--f-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-link {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ── CARD GRIDS ─────────────────────────────────────── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.card:hover { border-color: var(--border-md); transform: translateY(-2px); text-decoration: none; }
.card-cat {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3, .card .card-title {
  font-family: var(--f-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.35;
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}
.card p, .card .card-excerpt {
  font-size: 14px;
  color: var(--txt-dim);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0;
}
.card-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.card-meta-item {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--txt-muted);
}

/* Level badges */
.level-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 4px;
}
.level-easy { background: rgba(76,175,130,0.1);  color: var(--green); }
.level-mid  { background: rgba(74,158,219,0.1);  color: var(--blue); }
.level-hard { background: var(--accent-dim);      color: var(--accent); }

/* Tags */
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--surface2);
  color: var(--txt-muted);
  border: 1px solid var(--border);
}

/* ── BLOG LIST ──────────────────────────────────────── */
.blog-list { display: flex; flex-direction: column; }
.blog-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.15s;
}
.blog-row:last-child { border-bottom: none; }
.blog-row:hover .blog-row-title { color: var(--accent); }
.blog-row:hover { text-decoration: none; }
.post-category {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.blog-row-title {
  font-family: var(--f-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.3;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.blog-row-excerpt {
  font-size: 15px;
  color: var(--txt-dim);
  line-height: 1.72;
  margin-bottom: 0;
}
.blog-row-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
  margin-top: 9px;
}
.blog-date-aside {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
  padding-top: 4px;
  white-space: nowrap;
}

/* ── FILTER BAR ─────────────────────────────────────── */
.filter-bar {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.filter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
  margin-right: 4px;
}
.pill {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-md);
  background: transparent;
  color: var(--txt-dim);
  cursor: pointer;
  transition: all 0.15s;
}
.pill:hover { color: var(--txt); background: var(--surface); }
.pill.active { background: var(--accent-dim); color: var(--accent); border-color: var(--accent); }

/* ── SINGLE POST / ARTICLE ──────────────────────────── */
.article-header {
  padding: 60px 0 44px;
  border-bottom: 1px solid var(--border);
}
.article-header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px;
}
.breadcrumb {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--txt-dim); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--txt-muted); }

.article-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.author-chip { display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.author-name {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--txt);
}
.meta-sep { color: var(--txt-muted); }
.meta-item {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
}

/* Article body */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 28px 88px;
}
.entry-content > * + * { margin-top: 1.55rem; }
.entry-content h2 {
  font-size: 26px;
  margin-top: 3.2rem;
  margin-bottom: 0.8rem;
  color: var(--txt);
}
.entry-content h3 {
  font-size: 20px;
  margin-top: 2.4rem;
  margin-bottom: 0.6rem;
  color: var(--txt);
}
.entry-content h4 { margin-top: 2rem; color: var(--txt); }

/* ↓ THE KEY CHANGE: long-form reading text is bright, not dimmed */
.entry-content p {
  color: var(--txt-body);
  font-size: 17px;
  line-height: 1.95;
  margin-bottom: 1.4rem;
}
.entry-content li {
  color: var(--txt-body);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 0.5rem;
}
.entry-content strong, .entry-content b { color: var(--txt); }
.entry-content a { color: var(--accent); }
.entry-content a:hover { text-decoration: underline; }
.entry-content img {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  margin: 1.8rem 0;
}
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 24px;
  margin: 2rem 0;
}
.entry-content blockquote p {
  color: var(--txt-dim);
  font-style: italic;
  font-size: 17px;
  line-height: 1.9;
}
.entry-content pre {
  margin: 1.8rem 0;
  padding: 22px 26px;
}
.entry-content pre code {
  font-size: 14px;
  line-height: 1.75;
  color: var(--txt);
}
.entry-content .wp-caption { max-width: 100%; }
.entry-content figcaption, .entry-content .wp-caption-text {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
  text-align: center;
  margin-top: 6px;
}

/* Step box */
.step-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(224,123,58,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-size: 14px; font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.step-content h4 {
  font-size: 15px;
  margin-bottom: 6px;
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--txt);
}
.step-content p { font-size: 14.5px; color: var(--txt-dim); line-height: 1.72; margin: 0; }

/* Info / warning boxes */
.info-box, .warning-box, .success-box {
  border-radius: var(--r-md);
  padding: 16px 20px;
}
.info-box {
  background: rgba(74,158,219,0.07);
  border: 1px solid rgba(74,158,219,0.2);
}
.info-box strong { color: var(--blue); }
.warning-box {
  background: var(--accent-dim);
  border: 1px solid rgba(224,123,58,0.25);
}
.warning-box strong { color: var(--accent); }
.success-box {
  background: rgba(76,175,130,0.07);
  border: 1px solid rgba(76,175,130,0.2);
}
.success-box strong { color: var(--green); }

/* Post navigation */
.post-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px 64px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── PROJEKTE PAGE ──────────────────────────────────── */
.projekt-tabs-bar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}
.projekt-tabs {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 0;
}
.projekt-tab {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  padding: 16px 24px;
  border: none;
  background: none;
  color: var(--txt-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
  letter-spacing: 0.03em;
}
.projekt-tab:hover { color: var(--txt); }
.projekt-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.projekt-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 44px 28px 80px;
}
.projekt-overview {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  margin-bottom: 52px;
}
.projekt-info h2 { margin-bottom: 14px; }
.projekt-info p { color: var(--txt-dim); font-size: 16px; line-height: 1.88; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.status-active { background: rgba(76,175,130,0.1); color: var(--green); border: 1px solid rgba(76,175,130,0.25); }
.status-wip    { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(224,123,58,0.25); }
.dot-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.projekt-stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stat-block {}
.stat-label-sm {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.stat-number {
  font-family: var(--f-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--txt);
}
.stat-sub-label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
  margin-top: 2px;
}
.progress-track {
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  margin-top: 7px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
}
.progress-fill.green { background: var(--green); }

.milestone-list { display: flex; flex-direction: column; gap: 12px; }
.milestone {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.m-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.m-title {
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 4px;
}
.m-desc { font-size: 13.5px; color: var(--txt-dim); line-height: 1.6; }

/* ── PRODUKTE PAGE ──────────────────────────────────── */
.produkte-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 28px 80px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.produkt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.produkt-card.featured {
  border-color: rgba(224,123,58,0.30);
}
.produkt-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid rgba(224,123,58,0.2);
}
.produkt-icon { font-size: 36px; margin-bottom: 14px; }
.produkt-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.produkt-card .desc {
  font-size: 14.5px;
  color: var(--txt-dim);
  line-height: 1.75;
  flex: 1;
}
.produkt-includes {
  list-style: none;
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.produkt-includes li {
  font-size: 13.5px;
  color: var(--txt-dim);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.produkt-includes li::before {
  content: '✓';
  color: var(--green);
  font-family: var(--f-mono);
  font-size: 11px;
  flex-shrink: 0;
}
.produkt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price {
  font-family: var(--f-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--txt);
}
.price-note {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
  margin-top: 2px;
}
.coming-soon-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
  padding: 5px 12px;
  border: 1px solid var(--border-md);
  border-radius: 20px;
}

/* ── ÜBER MICH PAGE ────────────────────────────────── */
.ueber-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 52px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.profile-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-size: 30px; font-weight: 700;
  color: var(--accent);
}
.profile-name { font-size: 28px; margin-bottom: 6px; }
.profile-sub {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
}
.profile-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--surface2);
  color: var(--txt-dim);
  border: 1px solid var(--border);
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  margin: 20px 0;
}
.gear-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.gear-name {
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 3px;
}
.gear-note { font-size: 12.5px; color: var(--txt-muted); }

/* ── BLOG ARCHIVE PAGE ──────────────────────────────── */
.blog-archive-featured {
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--border);
}
.blog-archive-featured a { text-decoration: none; display: block; }
.blog-archive-featured a:hover .featured-title { color: var(--accent); }
.featured-label {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.featured-title {
  font-family: var(--f-head);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--txt);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  transition: color 0.15s;
}
.featured-excerpt {
  font-size: 17px;
  color: var(--txt-dim);
  line-height: 1.85;
  max-width: var(--text-max);
  margin-bottom: 14px;
}
.featured-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
}

/* ── PAGINATION ─────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}
.pagination .page-numbers {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-md);
  color: var(--txt-dim);
  text-decoration: none;
  transition: all 0.15s;
}
.pagination .page-numbers:hover { color: var(--txt); background: var(--surface); }
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── SEARCH FORM ────────────────────────────────────── */
.search-form {
  display: flex;
  gap: 0;
  max-width: 480px;
}
.search-field {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-right: none;
  border-radius: var(--r-md) 0 0 var(--r-md);
  color: var(--txt);
  font-family: var(--f-body);
  font-size: 14px;
  padding: 10px 16px;
  outline: none;
}
.search-field::placeholder { color: var(--txt-muted); }
.search-field:focus { border-color: var(--accent); }
.search-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 10px 18px;
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ── WIDGETS / SIDEBAR ──────────────────────────────── */
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.widget-title {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.widget ul { list-style: none; padding: 0; }
.widget ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--txt-dim); }
.widget ul li a:hover { color: var(--accent); }

/* ── COMMENTS ───────────────────────────────────────── */
.comments-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px 64px;
  border-top: 1px solid var(--border);
}
.comments-title {
  font-family: var(--f-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--txt);
  margin: 32px 0 24px;
}
.comment {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.comment-author { font-family: var(--f-head); font-size: 14px; font-weight: 700; color: var(--txt); }
.comment-date { font-family: var(--f-mono); font-size: 11px; color: var(--txt-muted); margin-bottom: 8px; }
.comment-content { font-size: 15px; color: var(--txt-dim); line-height: 1.78; }
.comment-respond { margin-top: 32px; }
.comment-respond h3 { font-family: var(--f-head); font-size: 18px; font-weight: 700; color: var(--txt); margin-bottom: 20px; }
.comment-form input, .comment-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  color: var(--txt);
  font-family: var(--f-body);
  font-size: 14px;
  padding: 10px 16px;
  margin-bottom: 12px;
  outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); }
.comment-form textarea { min-height: 120px; resize: vertical; }

/* ── 404 PAGE ───────────────────────────────────────── */
.error-404 {
  padding: 100px 0;
  text-align: center;
}
.error-404 .error-code {
  font-family: var(--f-mono);
  font-size: 96px;
  font-weight: 700;
  color: var(--surface2);
  line-height: 1;
  margin-bottom: 16px;
}
.error-404 h1 { font-size: 28px; margin-bottom: 14px; }
.error-404 p { color: var(--txt-dim); max-width: 420px; margin: 0 auto 32px; }

/* ── FOOTER ─────────────────────────────────────────── */
#colophon {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 52px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-family: var(--f-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
}
.footer-brand-name:hover { text-decoration: none; color: var(--txt); }
.footer-brand-name .accent { color: var(--accent); }
.footer-desc { font-size: 13.5px; color: var(--txt-dim); line-height: 1.78; max-width: 240px; }
.footer-col-title {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-menu { list-style: none; padding: 0; }
.footer-menu li { margin-bottom: 9px; }
.footer-menu li a { font-size: 13.5px; color: var(--txt-dim); text-decoration: none; transition: color 0.15s; }
.footer-menu li a:hover { color: var(--accent); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy, .footer-credit {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--txt-muted);
}

/* ── WP ADMIN BAR OFFSET ────────────────────────────── */
.admin-bar #site-header { top: 32px; }
.admin-bar .projekt-tabs-bar { top: calc(var(--nav-h) + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}

/* ── ALIGNMENTS (WordPress core) ────────────────────── */
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { text-align: center; margin: 1.5rem auto; }
.alignwide  { max-width: calc(var(--max-w) + 80px); margin-left: auto; margin-right: auto; }
.alignfull  { max-width: none; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .terminal  { display: none; }
  .card-grid-3 { grid-template-columns: repeat(2,1fr); }
  .produkte-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .projekt-overview { grid-template-columns: 1fr; }
  .ueber-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 58px; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .produkte-grid { grid-template-columns: 1fr; }
  .gear-grid { grid-template-columns: 1fr; }
  .blog-row { grid-template-columns: 1fr; }
  .blog-date-aside { display: none; }
  #primary-navigation { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .text-container { padding: 0 18px; }
  .filter-inner { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .entry-content { padding: 40px 18px 60px; }
  .article-header-inner { padding: 0 18px; }
  .hero-grid { padding: 0 18px; }
  .hero { padding: 56px 0 48px; }
}
