/* ==========================================================================
   RHEIN RUHR ENERGIEBERATUNG — TYPOGRAPHY v4 (ARCHITECTURAL SANS-SERIF)
   Hakan Kilinc, M.Sc. | High-End Engineering Office Aesthetics
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--rre-bg);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--rre-bg);
  color: var(--rre-ink);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Headlines */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-sans);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--rre-ink);
  font-weight: 700;
}

h1 {
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  word-break: normal;
}

h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h4 {
  font-size: 19px;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: var(--rre-green);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

a:hover {
  color: var(--rre-green-hover);
}

/* Lead text */
.lead {
  font-size: clamp(16.5px, 1.7vw, 20px);
  color: var(--rre-muted);
  font-weight: 400;
  line-height: 1.65;
  max-width: var(--max-w-text);
}

.lead-lg {
  font-size: clamp(18px, 2.1vw, 24px);
  color: var(--rre-muted);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* Category kicker & labels (Refined Architectural Sans-Serif) */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rre-green);
  margin-bottom: 14px;
}

.kicker::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rre-green);
}

.kicker-lime,
.kicker-green,
.kicker-cyan {
  color: var(--rre-green);
}

.kicker-lime::before,
.kicker-green::before,
.kicker-cyan::before {
  background: var(--rre-green);
}

/* Highlight helpers */
.text-ink    { color: var(--rre-ink); }
.text-muted  { color: var(--rre-muted); }
.text-green  { color: var(--rre-green); }
.text-sage   { color: var(--rre-sage); }
.text-lime   { color: var(--rre-green); }
.text-cyan   { color: var(--rre-green); }
.text-orange { color: var(--rre-green); }

/* Monospace telemetry / data labels mapped cleanly to Sans-Serif */
.font-mono {
  font-family: var(--font-sans);
}
