/* ════════════════════════════════════════════════════════════
   homelabguide.de — Custom CSS (DSGVO-konform, lokale Fonts)

   VORAUSSETZUNG: Fonts-Ordner hochgeladen nach:
   /wp-content/uploads/fonts/

   EINFÜGEN IN:
   Divi → Theme Options → General → Custom CSS
   ════════════════════════════════════════════════════════════ */

/* ── @font-face: DM Sans (lokal) ── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/dm-sans-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/dm-sans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/dm-sans-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/dm-sans-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/dm-sans-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── @font-face: IBM Plex Mono (lokal) ── */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/ibm-plex-mono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/ibm-plex-mono-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════
   CSS-VARIABLEN / DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
  --bg-base:        #0a0f1a;
  --bg-surface:     #0d1525;
  --bg-deep:        #070e1c;
  --bg-darkest:     #040a12;
  --accent-blue:    #3d7fff;
  --accent-purple:  #7c3aed;
  --accent-green:   #22c55e;
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;
  --text-dim:       #475569;
  --text-ghost:     #334155;
  --text-invisible: #1e3a5f;
  --border-subtle:  rgba(255,255,255,0.06);
  --border-soft:    rgba(255,255,255,0.1);
  --font-sans:      'DM Sans', sans-serif;
  --font-mono:      'IBM Plex Mono', monospace;
  --radius-sm:      6px;
  --radius-md:      8px;
  --radius-lg:      10px;
  --radius-xl:      12px;
}

/* ── Globale Basis ── */
body {
  background: #0a0f1a !important;
  color: #e2e8f0 !important;
  font-family: 'DM Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

#hl-page {
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
}

#hl-page *, #hl-page *::before, #hl-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#hl-page a { text-decoration: none; color: inherit; }
#hl-page ul { list-style: none; }
#hl-page input { outline: none; font-family: var(--font-sans); }
#hl-page button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* ── Navigation ── */
.hl-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px; border-bottom: 0.5px solid var(--border-subtle);
  position: sticky; top: 0; background: rgba(10,15,26,0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 100;
}
.hl-nav-logo { display: flex; align-items: center; gap: 10px; }
.hl-nav-logo-mark {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hl-nav-logo-mark svg { width: 15px; height: 15px; fill: #fff; }
.hl-nav-logo-text { font-size: 14px; font-weight: 600; color: var(--text-primary); letter-spacing: -0.02em; }
.hl-nav-logo-text span { color: var(--accent-blue); }
.hl-nav-links { display: flex; gap: 28px; }
.hl-nav-links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.hl-nav-links a:hover { color: var(--text-primary); }
.hl-nav-cta {
  background: var(--accent-blue); color: #fff; font-size: 12px; font-weight: 600;
  padding: 8px 16px; border-radius: var(--radius-sm); transition: opacity 0.2s, transform 0.15s; cursor: pointer;
}
.hl-nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Hero ── */
.hl-hero {
  padding: 60px 40px 52px; display: flex; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.hl-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,127,255,0.07) 0%, transparent 70%); pointer-events: none;
}
.hl-hero::after {
  content: ''; position: absolute; bottom: -60px; left: 8%;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 70%); pointer-events: none;
}
.hl-hero-left { flex: 1; position: relative; z-index: 1; }
.hl-hero-right { flex: 0 0 300px; position: relative; z-index: 1; }

.hl-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(61,127,255,0.08); border: 0.5px solid rgba(61,127,255,0.25);
  border-radius: 20px; padding: 5px 12px; margin-bottom: 20px;
}
.hl-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-blue);
  animation: hl-pulse 2s ease-in-out infinite;
}
@keyframes hl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hl-eyebrow-txt { font-size: 11px; color: var(--accent-blue); font-weight: 500; font-family: var(--font-mono); letter-spacing: 0.02em; }

.hl-hero-h1 { font-size: 36px; font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; color: var(--text-primary); margin-bottom: 16px; }
.hl-hero-h1 span { color: var(--accent-blue); }
.hl-hero-sub { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; max-width: 420px; }

.hl-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hl-btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-blue); color: #fff; padding: 11px 20px;
  border-radius: var(--radius-md); font-size: 13px; font-weight: 600;
  letter-spacing: -0.01em; transition: opacity 0.2s, transform 0.15s; cursor: pointer;
}
.hl-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }
.hl-btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04); color: var(--text-secondary);
  border: 0.5px solid var(--border-soft); padding: 11px 20px;
  border-radius: var(--radius-md); font-size: 13px;
  transition: background 0.2s, border-color 0.2s; cursor: pointer;
}
.hl-btn-secondary:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.2); color: var(--text-secondary); }

/* ── Terminal Widget ── */
.hl-terminal {
  background: var(--bg-deep); border: 0.5px solid var(--border-subtle);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 0.5px rgba(255,255,255,0.04);
}
.hl-term-topbar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 0.5px solid var(--border-subtle); }
.hl-term-dot { width: 9px; height: 9px; border-radius: 50%; }
.hl-term-dot.r { background: #ef4444; } .hl-term-dot.y { background: #f59e0b; } .hl-term-dot.g { background: #22c55e; }
.hl-term-title { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); margin-left: 4px; }
.hl-term-body { padding: 16px; }
.hl-term-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.hl-term-row:last-child { margin-bottom: 0; }
.hl-svc-badge { width: 26px; height: 26px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; font-family: var(--font-mono); }
.hl-svc-info { flex: 1; }
.hl-svc-name { font-size: 11px; font-weight: 500; color: var(--text-primary); font-family: var(--font-mono); line-height: 1.2; }
.hl-svc-addr { font-size: 10px; color: var(--text-dim); font-family: var(--font-mono); }
.hl-svc-status { font-size: 9px; padding: 2px 8px; border-radius: 10px; font-family: var(--font-mono); background: rgba(34,197,94,0.1); color: var(--accent-green); border: 0.5px solid rgba(34,197,94,0.2); }
.hl-term-stats { display: flex; border-top: 0.5px solid var(--border-subtle); margin-top: 4px; }
.hl-term-stat { flex: 1; padding: 12px 8px; text-align: center; border-right: 0.5px solid var(--border-subtle); }
.hl-term-stat:last-child { border-right: none; }
.hl-term-stat-val { font-size: 16px; font-weight: 600; color: var(--text-primary); font-family: var(--font-mono); line-height: 1.2; }
.hl-term-stat-val em { font-style: normal; font-size: 11px; color: var(--accent-green); }
.hl-term-stat-lbl { font-size: 9px; color: var(--text-dim); font-family: var(--font-mono); margin-top: 3px; }

/* ── Section Header ── */
.hl-section-header { padding: 14px 40px 6px; display: flex; align-items: center; gap: 12px; }
.hl-section-label { font-size: 10px; color: var(--text-ghost); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; white-space: nowrap; font-family: var(--font-mono); }
.hl-section-line { flex: 1; height: 0.5px; background: var(--border-subtle); }

/* ── Use Cases ── */
.hl-usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 12px 40px 28px; }
.hl-uc-card { background: var(--bg-surface); border: 0.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 22px; transition: border-color 0.25s, transform 0.2s; }
.hl-uc-card:hover { border-color: rgba(61,127,255,0.3); transform: translateY(-2px); }
.hl-uc-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-invisible); font-weight: 500; margin-bottom: 14px; }
.hl-uc-iconbox { width: 36px; height: 36px; border-radius: var(--radius-md); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.hl-uc-iconbox.blue { background: rgba(61,127,255,0.1); border: 0.5px solid rgba(61,127,255,0.2); }
.hl-uc-iconbox.purple { background: rgba(124,58,237,0.1); border: 0.5px solid rgba(124,58,237,0.2); }
.hl-uc-iconbox.green { background: rgba(34,197,94,0.08); border: 0.5px solid rgba(34,197,94,0.2); }
.hl-uc-iconbox svg { width: 17px; height: 17px; }
.hl-uc-title { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 7px; letter-spacing: -0.01em; }
.hl-uc-desc { font-size: 12px; color: var(--text-dim); line-height: 1.65; margin-bottom: 12px; }
.hl-uc-link { font-size: 11px; color: var(--accent-blue); display: inline-flex; align-items: center; gap: 4px; }

/* ── Guides ── */
.hl-guides { padding: 12px 40px 28px; }
.hl-guides-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 14px; }
.hl-guide-card { background: var(--bg-surface); border: 0.5px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.25s, transform 0.2s; }
.hl-guide-card:hover { border-color: rgba(61,127,255,0.2); transform: translateY(-2px); }
.hl-guide-thumb { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hl-guide-thumb.main { height: 110px; } .hl-guide-thumb.sm { height: 72px; }
.hl-guide-thumb.blue { background: linear-gradient(135deg, #0d2240 0%, #1a0a3d 100%); }
.hl-guide-thumb.teal { background: linear-gradient(135deg, #0a1c2e 0%, #061822 100%); }
.hl-guide-thumb.dark { background: linear-gradient(135deg, #0d1f35 0%, #07101c 100%); }
.hl-guide-thumb-deco { display: flex; gap: 3px; opacity: 0.25; align-items: flex-end; }
.hl-guide-thumb-deco span { width: 8px; border-radius: 2px 2px 0 0; display: block; }
.hl-guide-body { padding: 14px; }
.hl-guide-cat { font-size: 10px; font-weight: 600; color: var(--accent-blue); background: rgba(61,127,255,0.08); padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; letter-spacing: 0.04em; font-family: var(--font-mono); }
.hl-guide-title { font-size: 12px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; line-height: 1.45; letter-spacing: -0.01em; }
.hl-guide-teaser { font-size: 11px; color: var(--text-dim); line-height: 1.55; margin-bottom: 10px; }
.hl-guide-meta { font-size: 10px; color: var(--text-ghost); display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); }
.hl-guide-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-ghost); }

/* ── Setup ── */
.hl-setup { padding: 12px 40px 28px; }
.hl-setup-inner { background: var(--bg-surface); border: 0.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 26px; display: flex; gap: 32px; }
.hl-setup-left { flex: 1; } .hl-setup-right { flex: 0 0 220px; }
.hl-setup-h { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; letter-spacing: -0.02em; }
.hl-setup-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.hl-setup-list li { font-size: 12px; color: var(--text-muted); padding-left: 18px; position: relative; line-height: 1.5; }
.hl-setup-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-blue); }
.hl-setup-list li strong { color: var(--text-secondary); font-weight: 500; }
.hl-stack-label { font-size: 9px; color: var(--text-ghost); text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-mono); margin-bottom: 12px; }
.hl-stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hl-stack-item { background: var(--bg-deep); border: 0.5px solid var(--border-subtle); border-radius: var(--radius-md); padding: 12px 6px; text-align: center; }
.hl-stack-icon { width: 30px; height: 30px; border-radius: var(--radius-sm); margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; font-family: var(--font-mono); }
.hl-stack-name { font-size: 9px; color: var(--text-dim); font-family: var(--font-mono); }

/* ── Für wen ── */
.hl-forwhom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 12px 40px 28px; }
.hl-fw-card { background: var(--bg-surface); border: 0.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 22px; }
.hl-fw-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hl-fw-pip { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.hl-fw-title { font-size: 13px; font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; }
.hl-fw-desc { font-size: 12px; color: var(--text-dim); line-height: 1.65; }

/* ── Newsletter ── */
.hl-newsletter {
  margin: 12px 40px 28px; background: var(--bg-surface);
  border: 0.5px solid rgba(61,127,255,0.15); border-radius: var(--radius-lg);
  padding: 36px 40px; text-align: center; position: relative; overflow: hidden;
}
.hl-newsletter::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,127,255,0.05) 0%, transparent 70%); pointer-events: none;
}
.hl-nl-heading { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; letter-spacing: -0.025em; position: relative; }
.hl-nl-sub { font-size: 12px; color: var(--text-muted); line-height: 1.75; margin-bottom: 22px; position: relative; }
.hl-nl-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; position: relative; }
.hl-nl-input { background: var(--bg-deep); border: 0.5px solid var(--border-soft); border-radius: var(--radius-md); padding: 10px 16px; font-size: 12px; color: var(--text-secondary); width: 220px; transition: border-color 0.2s; font-family: var(--font-sans); }
.hl-nl-input:focus { border-color: rgba(61,127,255,0.4); }
.hl-nl-input::placeholder { color: var(--text-dim); }
.hl-nl-btn { background: var(--accent-blue); color: #fff; padding: 10px 20px; border-radius: var(--radius-md); font-size: 12px; font-weight: 600; cursor: pointer; transition: opacity 0.2s, transform 0.15s; }
.hl-nl-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.hl-nl-note { font-size: 10px; color: var(--text-invisible); margin-top: 12px; font-family: var(--font-mono); position: relative; }

/* ── Footer ── */
.hl-footer { background: var(--bg-deep); padding: 32px 40px; display: grid; grid-template-columns: 1.4fr 1fr 0.9fr; gap: 32px; border-top: 0.5px solid var(--border-subtle); }
.hl-footer-col h4 { font-size: 10px; font-weight: 600; color: var(--text-secondary); margin-bottom: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-mono); }
.hl-footer-col p { font-size: 11px; color: var(--text-ghost); line-height: 1.75; }
.hl-footer-links { display: flex; flex-direction: column; gap: 7px; }
.hl-footer-links a { font-size: 12px; color: var(--text-ghost); transition: color 0.2s; }
.hl-footer-links a:hover { color: var(--text-secondary); }
.hl-social-row { display: flex; gap: 8px; }
.hl-social-btn { background: rgba(255,255,255,0.04); border: 0.5px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 6px 12px; color: var(--text-dim); font-size: 11px; transition: background 0.2s, color 0.2s; cursor: pointer; display: inline-block; }
.hl-social-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-secondary); }
.hl-copyright { background: var(--bg-darkest); padding: 12px 40px; text-align: center; }
.hl-copyright span { font-size: 10px; color: var(--text-invisible); font-family: var(--font-mono); }

/* ── Animationen ── */
@keyframes hl-fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hl-hero-left  { animation: hl-fadeInUp 0.6s ease both; }
.hl-hero-right { animation: hl-fadeInUp 0.6s ease 0.15s both; }
.hl-uc-card:nth-child(1) { animation: hl-fadeInUp 0.5s ease 0.00s both; }
.hl-uc-card:nth-child(2) { animation: hl-fadeInUp 0.5s ease 0.08s both; }
.hl-uc-card:nth-child(3) { animation: hl-fadeInUp 0.5s ease 0.16s both; }

/* ── Responsive Tablet ── */
@media (max-width: 900px) {
  .hl-hero { flex-direction: column; padding: 40px 24px 36px; gap: 32px; }
  .hl-hero-right { flex: 0 0 auto; width: 100%; }
  .hl-hero-h1 { font-size: 28px; }
  .hl-nav { padding: 14px 24px; }
  .hl-nav-links { gap: 18px; }
  .hl-usecases { padding: 12px 24px 24px; grid-template-columns: 1fr; }
  .hl-guides { padding: 12px 24px 24px; }
  .hl-guides-grid { grid-template-columns: 1fr; }
  .hl-setup { padding: 12px 24px 24px; }
  .hl-setup-inner { flex-direction: column; }
  .hl-setup-right { flex: 0 0 auto; }
  .hl-forwhom { padding: 12px 24px 24px; grid-template-columns: 1fr; }
  .hl-newsletter { margin: 12px 24px 24px; padding: 28px 24px; }
  .hl-footer { padding: 28px 24px; grid-template-columns: 1fr 1fr; }
  .hl-section-header { padding: 14px 24px 6px; }
  .hl-copyright { padding: 12px 24px; }
}

/* ── Responsive Mobile ── */
@media (max-width: 600px) {
  .hl-nav-links { display: none; }
  .hl-hero-h1 { font-size: 24px; }
  .hl-footer { grid-template-columns: 1fr; }
  .hl-nl-input { width: 100%; }
  .hl-nl-form { flex-direction: column; align-items: center; }
}


/* ═══════════════════════════════════════
   ERWEITERUNGEN FÜR CHILD THEME TEMPLATES
   ═══════════════════════════════════════ */

/* ── Nav: Scrolled State ── */
.hl-nav--scrolled {
  background: rgba(10,15,26,0.95) !important;
  box-shadow: 0 1px 0 var(--border-subtle);
}
.hl-nav a { text-decoration: none; color: inherit; }

/* ── Mobile Nav Toggle ── */
.hl-nav-mobile-toggle {
  display: none;
  flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px;
}
.hl-nav-mobile-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--text-muted);
  transition: all 0.25s; border-radius: 2px;
}
.hl-nav-mobile-toggle--open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hl-nav-mobile-toggle--open span:nth-child(2) { opacity: 0; }
.hl-nav-mobile-toggle--open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ── Mobile Nav Overlay ── */
.hl-mobile-nav {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0; bottom: 0; z-index: 99;
  background: rgba(10,15,26,0.98); backdrop-filter: blur(16px);
  padding: 32px 24px;
  flex-direction: column; gap: 4px;
}
.hl-mobile-nav--open { display: flex; }
.hl-mobile-nav a {
  font-size: 20px; font-weight: 500; color: var(--text-muted);
  padding: 12px 0; border-bottom: 1px solid var(--border-subtle);
  text-decoration: none; transition: color 0.2s;
}
.hl-mobile-nav a:hover { color: var(--text-primary); }

/* ── Hero Stats ── */
.hl-hero-stats {
  display: flex; gap: 28px; margin-top: 40px;
  padding-top: 24px; border-top: 0.5px solid var(--border-subtle);
}
.hl-hero-stat-num {
  font-size: 22px; font-weight: 600; font-family: var(--font-mono);
  color: var(--text-primary); line-height: 1.2;
}
.hl-hero-stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── Guides Header ── */
.hl-guides-header {
  display: flex; justify-content: flex-end; margin-bottom: 16px;
}
.hl-guides-all-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.hl-guides-all-link:hover { color: var(--text-primary); }

/* ── Service Status Warning ── */
.hl-svc-status--warn { background: rgba(245,158,11,0.1) !important; color: #f59e0b !important; border-color: rgba(245,158,11,0.25) !important; }

/* ── Single Post ── */
.hl-single-wrap {
  max-width: 760px; margin: 0 auto; padding: 40px 24px 80px;
}
.hl-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-dim); font-family: var(--font-mono);
  margin-bottom: 32px;
}
.hl-breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.hl-breadcrumb a:hover { color: var(--accent-blue); }
.hl-breadcrumb-sep { color: var(--border-soft); }

.hl-article-header { margin-bottom: 40px; }
.hl-article-title {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.18; color: var(--text-primary);
  margin: 14px 0 20px;
}
.hl-article-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-dim); font-family: var(--font-mono);
  margin-bottom: 28px;
}
.hl-article-meta-item { display: flex; align-items: center; gap: 5px; }
.hl-article-meta-dot { color: var(--border-soft); }
.hl-article-thumb {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 0.5px solid var(--border-subtle); margin-bottom: 40px;
}
.hl-article-thumb img { width: 100%; height: auto; display: block; }

/* ── Article Content Typography ── */
.hl-article-content { color: var(--text-secondary); font-size: 16px; line-height: 1.8; }
.hl-article-content h2 {
  font-size: 22px; font-weight: 600; color: var(--text-primary);
  letter-spacing: -0.02em; margin: 40px 0 16px;
  padding-bottom: 10px; border-bottom: 0.5px solid var(--border-subtle);
}
.hl-article-content h3 {
  font-size: 18px; font-weight: 600; color: var(--text-primary);
  letter-spacing: -0.01em; margin: 28px 0 12px;
}
.hl-article-content h4 {
  font-size: 15px; font-weight: 600; color: var(--text-secondary);
  margin: 20px 0 8px;
}
.hl-article-content p { margin-bottom: 20px; }
.hl-article-content a { color: var(--accent-blue); text-decoration: underline; text-decoration-color: rgba(61,127,255,0.35); }
.hl-article-content a:hover { text-decoration-color: var(--accent-blue); }
.hl-article-content ul, .hl-article-content ol { margin: 0 0 20px 0; padding-left: 0; list-style: none; }
.hl-article-content ul li, .hl-article-content ol li {
  padding: 4px 0 4px 20px; position: relative; color: var(--text-muted);
}
.hl-article-content ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-blue);
}
.hl-article-content ol { counter-reset: hl-list; }
.hl-article-content ol li { counter-increment: hl-list; }
.hl-article-content ol li::before {
  content: counter(hl-list);
  position: absolute; left: 0; top: 4px;
  font-family: var(--font-mono); font-size: 11px; color: var(--accent-blue);
  font-weight: 600;
}
.hl-article-content blockquote {
  border-left: 3px solid var(--accent-blue);
  padding: 14px 20px; margin: 24px 0;
  background: rgba(61,127,255,0.04); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-muted); font-style: italic;
}
.hl-article-content code {
  font-family: var(--font-mono); font-size: 13px;
  background: var(--bg-deep); border: 0.5px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 2px 6px; color: var(--accent-green);
}
.hl-article-content pre {
  background: var(--bg-deep); border: 0.5px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 20px; overflow-x: auto;
  margin: 24px 0; font-family: var(--font-mono); font-size: 13px;
  line-height: 1.65; color: var(--text-secondary);
}
.hl-article-content pre code {
  background: none; border: none; padding: 0; color: inherit; font-size: inherit;
}
.hl-article-content img { max-width: 100%; border-radius: var(--radius-lg); }
.hl-article-content hr {
  border: none; border-top: 0.5px solid var(--border-subtle); margin: 40px 0;
}
.hl-article-content table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 14px;
}
.hl-article-content th {
  background: var(--bg-deep); color: var(--text-secondary);
  padding: 10px 14px; text-align: left; font-weight: 500;
  border-bottom: 0.5px solid var(--border-subtle);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
}
.hl-article-content td {
  padding: 10px 14px; border-bottom: 0.5px solid var(--border-subtle);
  color: var(--text-muted); vertical-align: top;
}
.hl-article-content tr:last-child td { border-bottom: none; }

/* ── Tags ── */
.hl-article-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0;
  padding-top: 24px; border-top: 0.5px solid var(--border-subtle);
}
.hl-tag {
  padding: 4px 12px; border-radius: 20px; font-size: 11px;
  font-family: var(--font-mono); color: var(--text-dim);
  background: var(--bg-surface); border: 0.5px solid var(--border-subtle);
  text-decoration: none; transition: all 0.2s;
}
.hl-tag:hover { border-color: rgba(61,127,255,0.35); color: var(--accent-blue); }

/* ── Post Navigation ── */
.hl-post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0;
}
.hl-post-nav-item {
  padding: 18px 20px; background: var(--bg-surface);
  border: 0.5px solid var(--border-subtle); border-radius: var(--radius-lg);
  text-decoration: none; transition: all 0.2s; display: flex; flex-direction: column; gap: 6px;
}
.hl-post-nav-item:hover { border-color: rgba(61,127,255,0.3); transform: translateY(-2px); }
.hl-post-nav-next { text-align: right; }
.hl-post-nav-dir {
  display: flex; align-items: center; gap: 5px; font-size: 11px;
  color: var(--text-dim); font-family: var(--font-mono); letter-spacing: 0.06em;
}
.hl-post-nav-next .hl-post-nav-dir { justify-content: flex-end; }
.hl-post-nav-title { font-size: 13px; font-weight: 500; color: var(--text-primary); line-height: 1.4; }

/* ── Related Posts ── */
.hl-related { margin-top: 48px; }

/* ── Archive / Blog ── */
.hl-archive-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; }
.hl-archive-header { margin-bottom: 40px; }
.hl-archive-title {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 600;
  letter-spacing: -0.03em; color: var(--text-primary); margin: 12px 0 20px;
}
.hl-archive-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; max-width: 520px; }
.hl-archive-count {
  display: inline-flex; align-items: baseline; gap: 6px; margin-top: 8px;
}
.hl-archive-count-num {
  font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--accent-blue);
}
.hl-archive-count-lbl { font-size: 13px; color: var(--text-muted); }

/* ── Category Filter Pills ── */
.hl-cat-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
}
.hl-cat-pill {
  padding: 5px 14px; border-radius: 20px; font-size: 12px;
  font-family: var(--font-mono); letter-spacing: 0.04em;
  color: var(--text-dim); background: var(--bg-surface);
  border: 0.5px solid var(--border-subtle); text-decoration: none;
  transition: all 0.2s;
}
.hl-cat-pill:hover { border-color: rgba(61,127,255,0.35); color: var(--accent-blue); }
.hl-cat-pill--active {
  background: rgba(61,127,255,0.1); border-color: rgba(61,127,255,0.35);
  color: var(--accent-blue);
}

/* ── Archive Grid override ── */
.hl-guides-grid--archive {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .hl-guides-grid--archive { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hl-guides-grid--archive { grid-template-columns: 1fr; }
}

/* ── Pagination ── */
.hl-pagination {
  display: flex; justify-content: center; gap: 6px; margin-top: 48px;
  flex-wrap: wrap;
}
.hl-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  background: var(--bg-surface); border: 0.5px solid var(--border-subtle);
  border-radius: var(--radius-md); font-size: 13px; color: var(--text-muted);
  text-decoration: none; font-family: var(--font-mono); transition: all 0.2s;
}
.hl-pagination .page-numbers:hover { border-color: rgba(61,127,255,0.35); color: var(--accent-blue); }
.hl-pagination .page-numbers.current {
  background: rgba(61,127,255,0.12); border-color: rgba(61,127,255,0.35);
  color: var(--accent-blue);
}
.hl-pagination .prev, .hl-pagination .next { font-size: 12px; letter-spacing: 0.04em; }

/* ── Empty State ── */
.hl-empty-state {
  text-align: center; padding: 80px 20px;
}
.hl-empty-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-surface); border: 0.5px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); margin: 0 auto 16px;
}
.hl-empty-text { font-size: 15px; color: var(--text-muted); }

/* ── Static Page ── */
.hl-page-wrap { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
.hl-static-page {}
.hl-page-header { margin-bottom: 32px; }
.hl-divi-page { padding-top: 20px; }

/* ── Divi Override: entfernt unerwünschte Standardabstände ── */
.et_pb_section { padding-top: 0 !important; padding-bottom: 0 !important; }
.et_pb_row { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.et_pb_column { padding: 0 !important; }
.et_pb_code_inner { padding: 0 !important; }
#hl-page * { box-sizing: border-box; }

/* ── Responsive Ergänzungen ── */
@media (max-width: 900px) {
  .hl-nav-links { display: none; }
  .hl-nav-mobile-toggle { display: flex; }
  .hl-nav-cta { display: none; }
  .hl-single-wrap { padding: 24px 16px 60px; }
  .hl-archive-wrap { padding: 24px 16px 60px; }
  .hl-post-nav { grid-template-columns: 1fr; }
  .hl-guides-grid { grid-template-columns: 1fr !important; }
  .hl-hero-stats { gap: 16px; }
}
@media (max-width: 600px) {
  .hl-article-title { font-size: 24px; }
  .hl-archive-title { font-size: 24px; }
}
