/*
Theme Name: Noir Gold Safe
Author: ChatGPT
Description: Robustes WordPress-Theme in Schwarz und Gold mit dauerhaft sichtbaren Rechtstext-Links.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: noir-gold-safe
*/

:root {
  --ng-bg: #080808;
  --ng-bg-soft: #111;
  --ng-card: #171717;
  --ng-text: #f7f3e8;
  --ng-muted: #b9b2a4;
  --ng-gold: #d4af37;
  --ng-gold-light: #f2d77c;
  --ng-border: rgba(212,175,55,.25);
  --ng-max: 1120px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(212,175,55,.13), transparent 32rem), var(--ng-bg);
  color: var(--ng-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--ng-gold-light); text-decoration: none; }
a:hover { color: #fff3c2; }
img { max-width: 100%; height: auto; }

.ng-container { width: min(calc(100% - 2rem), var(--ng-max)); margin-inline: auto; }

.ng-header {
  border-bottom: 1px solid var(--ng-border);
  background: rgba(8,8,8,.92);
}
.ng-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ng-brand { color: var(--ng-text); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ng-menu ul { display: flex; gap: .75rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.ng-menu a { color: var(--ng-muted); padding: .5rem .7rem; border-radius: 999px; }
.ng-menu a:hover { color: #080808; background: var(--ng-gold); }

.ng-hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(1.5rem, 4vw, 3rem); }
.ng-eyebrow { color: var(--ng-gold-light); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .82rem; }
.ng-title { margin: 1rem 0; font-size: clamp(2.5rem, 7vw, 5.7rem); line-height: .98; letter-spacing: -.06em; }
.ng-gradient { background: linear-gradient(135deg, #fff4bd, var(--ng-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ng-lead { max-width: 760px; color: var(--ng-muted); font-size: 1.15rem; }

.ng-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border-radius: 999px;
  padding: .85rem 1.15rem;
  background: linear-gradient(135deg, var(--ng-gold), var(--ng-gold-light));
  color: #080808;
  font-weight: 800;
}

.ng-card, .ng-post-card {
  border: 1px solid var(--ng-border);
  border-radius: 22px;
  background: rgba(23,23,23,.82);
  box-shadow: 0 20px 60px rgba(0,0,0,.32);
}
.ng-card { padding: 1.5rem; }
.ng-section, .ng-content { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.ng-front-posts { padding-top: clamp(1.5rem, 4vw, 3rem); }
.ng-section-title { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.05em; margin-top: 0; }

.ng-grid, .ng-post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.ng-post-card { overflow: hidden; }
.ng-post-card-content { padding: 1.2rem; }
.ng-meta, .ng-content p, .ng-content li { color: var(--ng-muted); }
.ng-page-title { font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.055em; }

.ng-footer {
  border-top: 1px solid var(--ng-border);
  padding: 2rem 0;
  color: var(--ng-muted);
  background: #050505;
}
.ng-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ng-legal-links {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}
.ng-legal-links a {
  color: var(--ng-muted);
  border-bottom: 1px solid transparent;
}
.ng-legal-links a:hover {
  color: var(--ng-gold-light);
  border-bottom-color: var(--ng-gold);
}

@media (max-width: 850px) {
  .ng-header-inner { flex-direction: column; align-items: flex-start; padding: 1rem 0; }
  .ng-grid, .ng-post-list { grid-template-columns: 1fr; }
}
