/* ==========================================================================
   Infernum Morum — Minimal Dark Brand Stylesheet
   - Reines CSS, keine Frameworks, keine Animationen, keine externen Fonts
   - EDIT HERE: Zentrale Variablen (Farben, Typo, Spacing)
   ========================================================================== */

/* =========================
   EDIT HERE — Design Tokens
   ========================= */
:root {
  /* Colors (dunkel, edel, kein Blau/Neon) */
  --bg: #0e0f12;          /* Hintergrund: fast schwarz mit leichtem Blau? -> NEIN: neutral dunkel */
  --surface: #12141a;     /* dezente Fläche für Header/Footer */
  --text: #e9e4db;        /* warmes Off-White (nicht reinweiß) */
  --muted: #b7afa2;       /* sekundärer Text */
  --line: #232635;        /* Trennlinien */
  --accent: #b08d57;      /* Akzent: gedecktes Gold/Bronze (edel, nicht grell) */
  --accent-2: #7a6442;    /* dunkler Akzent für Hover/Border */

  /* Typography (nur Systemfonts) */
  --font-sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", Times, serif;

  /* Type scale */
  --text-sm: 0.95rem;
  --text-base: 1.05rem;
  --text-lg: 1.2rem;
  --h1: clamp(2.1rem, 4.5vw, 3.2rem);
  --h2: clamp(1.4rem, 2.6vw, 1.8rem);

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.25rem;

  /* Layout */
  --max-width: 820px;
  --radius: 10px;
  --focus: 0 0 0 3px rgba(176, 141, 87, 0.35);
}

/* =========================
   Base
   ========================= */
* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  letter-spacing: 0.1px;
}

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

a:hover { border-bottom-color: var(--accent); }
a:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

p { margin: 0 0 var(--space-3) 0; color: var(--text); }
small, .muted { color: var(--muted); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-5) 0;
}

/* =========================
   Layout wrappers
   ========================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-5) var(--space-4);
}

header.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4);
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}
/* Brand: Monogramm + Textblock */
.brand {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
   color: var(--text); /* Monogramm in Bronze/Gold */
  line-height: 0;
}
.brand-mark .brand-svg {
  width: 34px;
  height: 34px;
  display: block;
}
.brand-mark svg {
  width: 34px;
  height: 34px;
}

.brand .logo {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.6px;
  font-size: 1.2rem;
  color: var(--text);
}

.brand .tagline {
  font-size: var(--text-sm);
  color: var(--muted);
}


/* Navigation: bewusst ruhig, minimal */
nav.site-nav {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav.site-nav a {
  font-size: var(--text-sm);
  color: var(--muted);
  padding: 0.15rem 0;
}

nav.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* =========================
   Page sections
   ========================= */
.hero {
  padding: var(--space-6) 0 var(--space-5) 0;
}

.hero h1 {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--h1);
  line-height: 1.12;
  font-family: var(--font-serif);
  letter-spacing: 0.6px;
}

.hero .claim {
  margin: 0 0 var(--space-4) 0;
  color: var(--muted);
  font-size: var(--text-lg);
  max-width: 60ch;
}

.section h2 {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--h2);
  font-family: var(--font-serif);
  letter-spacing: 0.3px;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
}

/* Link-List minimal */
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.link-row a {
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(176, 141, 87, 0.55); /* Akzentlinie */
}

.link-row a:hover {
  border-bottom-color: var(--accent);
}

.link-row a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

.project-meta {
  margin: 0 0 var(--space-2) 0;
  color: var(--muted);
  font-size: var(--text-sm);
}
/* =========================
   Projekte-Liste
   ========================= */
.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-item {
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.project-title {
  margin: 0 0 0.35rem 0;
  font-weight: 600;
  letter-spacing: 0.2px;
   font-size: 1.05rem;
}
.project-title a {
  color: var(--text);
  border-bottom: 1px solid rgba(176, 141, 87, 0.55);
}

.project-title a:hover {
  border-bottom-color: var(--accent);
}
/* Projekte: Introzeile stärker absetzen */
.project-intro {
  margin-bottom: var(--space-4);
}

/* =========================
   Footer
   ========================= */
footer.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.footer-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-links a { color: var(--muted); font-size: var(--text-sm); }
.footer-links a:hover { color: var(--text); }

/* =========================
   Responsive
   ========================= */
@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  nav.site-nav { justify-content: flex-start; }
  .container { padding: var(--space-4) var(--space-3); }
  .hero { padding: var(--space-5) 0 var(--space-4) 0; }
}