:root {
  --bg: #f5f3ef;
  --bg-2: #ebe7e0;
  --ink: #161514;
  --ink-2: #5c5852;
  --line: #d8d3ca;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --max: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(16px, 1.05vw, 18px); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; font-weight: 500; }
::selection { background: var(--ink); color: var(--bg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h2, h3 { font-weight: 500; font-stretch: 85%; line-height: 1.1; letter-spacing: -.015em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: clamp(21px, 1.8vw, 25px); }

.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 20px;
}
.prose { color: var(--ink-2); max-width: 560px; }
.prose p + p { margin-top: 1em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  background: rgba(245, 243, 239, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 17px; width: auto; }
.nav { display: flex; gap: 32px; font-size: 14px; }
.nav a { color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav-toggle, .nav-burger { display: none; }

/* ---------- layout ---------- */
.section, .hero { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vh, 136px) var(--gutter); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 56px; }
.section-head .intro { margin-top: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.btn {
  display: inline-block; padding: 14px 28px;
  background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  transition: background .2s;
}
.btn:hover { background: #3b3935; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: border-color .2s;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(96px, 20vh, 220px); padding-bottom: clamp(96px, 16vh, 180px); }
.hero-logo { width: 100%; height: auto; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  margin-top: clamp(48px, 8vh, 88px); padding-top: 28px; border-top: 1px solid var(--ink);
}
.hero .lead { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.5; max-width: 620px; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 0; }
.section + .pillars { border-top: 0; }
.pillars article { border-top: 1px solid var(--ink); padding-top: 24px; }
.pillars .num { font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }
.pillars h3 { margin: 12px 0 10px; }
.pillars p { color: var(--ink-2); font-size: .95em; }

/* ---------- projects ---------- */
.project { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.project-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); background: var(--bg-2); }
.meta { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.project-text h3 { font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 20px; }
.project-text > p { color: var(--ink-2); }
.facts { margin: 32px 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--ink-2); }
.project-placeholder {
  margin-top: 64px; padding: 36px; text-align: center;
  border: 1px dashed var(--line); color: var(--ink-2);
}

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.person .ph { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
.credit { margin: 7px 0 0; font-size: 11px; letter-spacing: .02em; color: #9a958c; text-align: right; }
.person .credit { margin-bottom: 14px; }
.person img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.person .role { display: block; font-size: 13px; color: var(--ink-2); }
.person .name { display: block; font-size: 21px; font-weight: 500; font-stretch: 85%; }

/* ---------- placeholders (vor Livegang ersetzen) ---------- */
.todo { background: #ece4cf; padding: 0 .3em; border-bottom: 1px dotted #9c8a5c; }

/* ---------- fact sheet ---------- */
.glance { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.factsheet { border-top: 1px solid var(--ink); }
.factsheet div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.factsheet dt { color: var(--ink-2); font-size: 14px; padding-top: 2px; }
.factsheet .link-arrow { font-size: inherit; }

/* ---------- support ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.way { padding: 32px; border: 1px solid var(--line); background: #faf9f6; display: flex; flex-direction: column; gap: 14px; }
.way p { color: var(--ink-2); font-size: .95em; }
.way strong { color: var(--ink); font-weight: 500; }
.way .link-arrow { margin-top: auto; align-self: flex-start; }
.small { font-size: 14px; color: var(--ink-2); }
.bank { margin-top: auto; font-size: 14px; border-top: 1px solid var(--line); }
.bank div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bank dt { color: var(--ink-2); }

/* ---------- partners ---------- */
.partners { padding-top: 64px; padding-bottom: 64px; }
.partner-row { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
.partner-slot { width: 140px; height: 56px; display: grid; place-items: center; border: 1px dashed var(--line); color: #a39e95; font-size: 12px; }

/* ---------- legal page ---------- */
.legal { max-width: 860px; }
.legal h2 { margin-bottom: 12px; }
.legal .factsheet { margin: 40px 0 56px; }
.legal h3 { margin: 40px 0 12px; }
.nav-simple { display: flex; }

/* ---------- contact ---------- */
.contact-mail { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; font-stretch: 85%; color: var(--ink); }
.contact-mail a { border-bottom: 1px solid var(--line); }
.contact-mail a:hover { border-color: var(--ink); }
address { font-style: normal; margin-top: 28px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: #b5b0a8;
  padding: 64px var(--gutter); font-size: 14px;
  display: grid; gap: 14px; justify-items: center; text-align: center;
}
.footer-logo { height: 22px; width: auto; filter: invert(1); margin-bottom: 12px; }
.site-footer a { border-bottom: 1px solid #4a4741; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.site-footer .todo { background: #3a3730; border-color: #807b73; }
.site-footer .fine { font-size: 12px; color: #807b73; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .two-col, .project, .ways, .glance, .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 32px; }
  .factsheet div { grid-template-columns: 1fr; gap: 2px; }
  .nav-simple { position: static; max-height: none; border: 0; background: none; }
  .nav-simple a { border: 0; padding: 0; }
  .people { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nav-burger { display: grid; gap: 6px; cursor: pointer; padding: 8px; }
  .nav-burger span { width: 22px; height: 1px; background: var(--ink); transition: transform .25s; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav a { padding: 14px var(--gutter); border-top: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav { max-height: 400px; }
  .nav-toggle:checked + .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}
