/* Governify – bold minimal
   Near-monochrome, teal #45b8c4 as the single accent. */

/* ---------- tokens ---------- */
:root {
  --paper: #f7f8f8;
  --ink: #10181d;
  --muted: #5c6b73;
  --line: #dde3e6;
  --accent: #45b8c4;          /* logo teal — the only accent */
  --accent-ink: #06222e;      /* text on teal */
  --band: #0d1519;            /* dark contact band (both themes) */
  --band-ink: #e8edf0;
  --band-muted: #9db0b8;
  --band-line: #223038;       /* hairline between stacked dark bands */
  --maxw: 72rem;

  --fs-display: clamp(2.6rem, 7vw, 5rem);
  --fs-h2: clamp(1.9rem, 4vw, 2.8rem);
  --fs-statement: clamp(1.35rem, 2.6vw, 1.9rem);
  --fs-index: clamp(1.25rem, 2.2vw, 1.6rem);
  --fs-lead: clamp(1.15rem, 2vw, 1.35rem);

  --sect: clamp(3rem, 7vh, 5rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1114;
    --ink: #e8edf0;
    --muted: #93a5ad;
    --line: #1f2c33;
    --accent: #4cc4d0;
    --band: #101b21;
  }
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.1rem/1.7 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* short teal rule + small tracked label above each section */
.label {
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.label::before {
  content: ""; display: block;
  width: 3rem; height: 3px; background: var(--accent);
  margin-bottom: 0.9rem;
}

/* ---------- header (dark, merges with the hero into one block) ---------- */
header {
  position: sticky; top: 0; z-index: 10;
  background: var(--band);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 1.1rem 1.5rem;
  display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap;
}
.brand {
  font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em;
  text-decoration: none; color: var(--band-ink);
}
.brand span { color: var(--accent); }
.nav nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav nav a {
  font-size: 0.95rem; color: var(--band-muted); text-decoration: none;
}
.nav nav a:hover { color: var(--band-ink); }

/* ---------- sections ---------- */
section { padding: var(--sect) 0; }

/* ---------- hero: dark statement block (continues the header) ---------- */
.hero {
  background: var(--band); color: var(--band-ink);
  padding: calc(var(--sect) * 1.1) 0 calc(var(--sect) * 1.2);
}
.hero .rule {
  width: 4.5rem; height: 4px; background: var(--accent);
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: balance;
}
.hero .lead {
  font-size: var(--fs-lead); line-height: 1.6;
  color: var(--band-muted);
  max-width: 52ch;
  margin-top: 2rem;
}

/* Purpose/Vision/Mission form one group: tight internal spacing,
   normal spacing only at the group's outer edges */
#purpose { padding-bottom: calc(var(--sect) * 0.8); }
#vision  { padding-top: 0; padding-bottom: calc(var(--sect) * 0.8); }
#mission { padding-top: 0; }

/* ---------- statements (Purpose, Vision) ---------- */
.statement {
  font-size: var(--fs-lead);
  font-weight: 500; line-height: 1.55;
  max-width: 56ch;
}

/* ---------- mission: ruled list ---------- */
ul.ruled { list-style: none; padding: 0; }
ul.ruled li {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 1.1rem 2.6rem;
  position: relative;
  font-size: var(--fs-lead); line-height: 1.5; font-weight: 500;
}
ul.ruled li:last-child { border-bottom: 1px solid var(--line); }
ul.ruled li::before {
  content: ""; position: absolute; left: 0; top: 1.95rem;
  width: 1.4rem; height: 3px; background: var(--accent);
}
.ruled + p { margin-top: 2.5rem; max-width: 60ch; color: var(--muted); }

/* ---------- leistungen: numbered index ---------- */
ol.index { list-style: none; padding: 0; counter-reset: idx; }
ol.index li {
  counter-increment: idx;
  display: grid;
  grid-template-columns: 5rem minmax(16rem, 22rem) 1fr;
  gap: 1rem 2.5rem;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}
ol.index li:last-child { border-bottom: 1px solid var(--line); }
ol.index li::before {
  content: "0" counter(idx);
  font-size: 1rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
ol.index h3 {
  font-size: var(--fs-index); font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.25;
}
ol.index p { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }

/* ---------- ansatz ---------- */
.phases {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.75rem 1.25rem;
  font-size: var(--fs-statement); font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}
.phases span { color: var(--accent); font-weight: 400; }
#ansatz > .wrap > p:not(.phases):not(.label) { max-width: 60ch; }

/* ---------- team: dark band ---------- */
.band .label { color: var(--band-muted); }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; }
.person {
  display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem;
  align-items: start;
}
.person img {
  width: 100%; height: auto;
  filter: grayscale(1); border-radius: 1.25rem;
}
.person h3 {
  font-size: var(--fs-index); font-weight: 700; letter-spacing: -0.01em;
}
.person .role {
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); margin: 0.35rem 0 0.75rem;
}
.person p.bio { color: var(--band-muted); font-size: 1rem; max-width: 44ch; }
.person .plink { margin-top: 0.75rem; font-size: 0.9rem; }
.person .plink a { color: var(--band-ink); }

/* ---------- kontakt: dark band ---------- */
.band {
  background: var(--band); color: var(--band-ink);
  padding: calc(var(--sect) * 1.1) 0;
}
.band + .band { border-top: 1px solid var(--band-line); }
.band-grid {
  display: grid; align-items: center; gap: 3rem;
  grid-template-columns: minmax(0, 2fr) minmax(12rem, 1fr);
}
.band h2 {
  font-size: var(--fs-h2); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em;
  max-width: 22ch; text-wrap: balance;
}
.band p { color: var(--band-muted); max-width: 44ch; margin: 1.5rem 0 2.5rem; }
.band .glow { width: 100%; height: auto; border-radius: 1.25rem; display: block; }
.btn {
  display: inline-block; padding: 0.9rem 1.9rem; border-radius: 0.5rem;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3.5rem; }
footer .wrap {
  display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem;
  font-size: 0.9rem; color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 45rem) {
  .nav nav { width: 100%; margin-left: 0; gap: 0.75rem 1rem; flex-wrap: wrap; }
  .hero h1 { font-size: 2.4rem; }
  ol.index li { grid-template-columns: 3rem 1fr; }
  ol.index li p { grid-column: 2; }
  .band-grid { grid-template-columns: 1fr; }
  .band .glow { max-width: 11rem; }
  .team { grid-template-columns: 1fr; }
  .person { grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; }
}

/* ---------- legal pages (Impressum, Datenschutz) ---------- */
body.legal { font-size: 1rem; }
body.legal .wrap { max-width: 46rem; padding: 2.5rem 1.5rem 4rem; }
body.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
body.legal h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.75rem; }
body.legal h3 { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 0.5rem; }
body.legal p + p { margin-top: 0.75rem; }
body.legal ul { padding-left: 1.25rem; margin: 0.5rem 0; }
.back { display: inline-block; margin-bottom: 2rem; font-size: 0.9rem; }
.stand { margin-top: 2.5rem; color: var(--muted); font-size: 0.9rem; }
