/* ═══════════════════════════════════════════════════════════════
   silosophia.com — Personenseite Heinz-Georg Geissler
   Gemeinsames Stylesheet für alle Seiten (index, impressum, datenschutz)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #fbf8f1;
  --ink: #1a1a1a;
  --muted: #6a6a6a;
  --rule: #e6e0d2;
  --accent: #f2b824;        /* das Gelb aus dem Sessel */
  --accent-soft: #fdf3d2;
  --max: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* ──────────────── Seiten-Header (alle Seiten) ──────────────── */
.pagehead {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.pagehead a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--muted);
  text-decoration: none;
}

.pagehead a:hover { color: var(--ink); background: none; }

/* ──────────────── Hero (nur Startseite) ──────────────── */
.hero { margin: 0 0 48px; }

.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  background: #e8e6df;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 25%;
}

.hero-text { margin-top: 32px; }

/* ──────────────── Typografie ──────────────── */
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

h1 .nick {
  color: var(--muted);
  font-style: italic;
  font-size: 0.7em;
}

.claim {
  font-size: 19px;
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

.claim strong {
  color: var(--ink);
  font-weight: 600;
}

section { margin: 64px 0; }

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  margin: 28px 0 8px;
}

p { margin: 0 0 16px; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: background .15s;
}

a:hover { background: var(--accent-soft); }

/* ──────────────── Werk-Liste (Startseite) ──────────────── */
.werk {
  list-style: none;
  padding: 0;
  margin: 0;
}

.werk li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.werk li:last-child { border-bottom: none; }

.werk .jahr {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.werk .titel {
  font-size: 16px;
  line-height: 1.45;
}

.werk .typ {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 8px;
}

.werk .geplant {
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b4d00;
  margin-left: 8px;
  vertical-align: middle;
}

/* ──────────────── Ökosystem (Startseite) ──────────────── */
.eco {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.eco li {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #fff;
  transition: border-color .15s;
}

.eco li:hover { border-color: var(--accent); }

.eco a {
  display: block;
  padding: 18px 18px 20px;
  text-decoration: none;
  color: var(--ink);
  background: none !important;
}

.eco .name {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 6px;
}

.eco .desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* ──────────────── Rechtsseiten (Impressum, Datenschutz) ──────────────── */
.legal h1 {
  font-size: 28px;
  margin-bottom: 24px;
}

.legal h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 16px;
  margin: 20px 0 6px;
}

.legal dl {
  margin: 0 0 24px;
}

.legal dt {
  font-weight: 600;
  margin-top: 12px;
}

.legal dd {
  margin: 0;
  color: var(--muted);
}

.legal .note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.5;
}

.legal .placeholder {
  background: #fff3cd;
  color: #6b4d00;
  padding: 1px 6px;
  border-radius: 2px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
}

/* ──────────────── Kontakt ──────────────── */
.kontakt p { font-size: 16px; }

/* ──────────────── Footer ──────────────── */
footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
}

footer p { margin: 0 0 6px; }

footer a {
  color: var(--muted);
  text-decoration-color: var(--rule);
}

/* ──────────────── Mobile ──────────────── */
@media (max-width: 520px) {
  .container { padding: 24px 18px 60px; }
  h1 { font-size: 28px; }
  .claim { font-size: 17px; }
  .eco { grid-template-columns: 1fr; }
  .werk li {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }
  .legal h1 { font-size: 24px; }
}
