/* peterwildhaber.ch — Stylesheet
   DNA: Inter, Präzision, Ruhe
   Atmosphäre: hell, reduziert, intellektuell
*/

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

:root {
  --color-bg:       #f9f8f6;
  --color-surface:  #ffffff;
  --color-border:   #e8e4df;
  --color-text:     #1a1814;
  --color-muted:    #6b6560;
  --color-accent:   #2c5f8a;
  --color-accent2:  #1a3d5c;
  --radius:         6px;
  --max-w:          720px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Nav ---- */
.nav {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav__name span { color: var(--color-accent); }
.nav__cta {
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding: 0 0 2px;
  transition: opacity .15s;
}
.nav__cta:hover { opacity: .7; }

/* ---- Hero ---- */
.hero {
  padding: 120px 0 96px;
}
.hero__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--color-text);
  margin-bottom: 28px;
}
.hero__lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 580px;
}

/* ---- Section ---- */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}
.section:last-of-type { border-bottom: none; }

.section__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.section__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  color: var(--color-text);
}
.section__body {
  color: var(--color-muted);
  line-height: 1.8;
}
.section__body p + p { margin-top: 14px; }

/* ---- Themenfelder ---- */
.themes {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
.theme-item {
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
}
.theme-item:last-child { border-bottom: 1px solid var(--color-border); }
.theme-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.theme-item__text {
  font-size: .95rem;
  color: var(--color-muted);
  line-height: 1.75;
}

/* ---- Pullquote ---- */
.pullquote {
  border-left: 2px solid var(--color-accent);
  padding: 4px 0 4px 24px;
  margin: 40px 0;
}
.pullquote p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
}

/* ---- CTA Box ---- */
.cta-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 40px;
}
.cta-box__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.cta-box__text {
  color: var(--color-muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.cta-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.cta-link:hover { opacity: .7; }

/* ---- Footer ---- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
}
.footer__name span { color: var(--color-accent); }
.footer__copy {
  font-size: .8rem;
  color: var(--color-muted);
  margin-top: 4px;
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  font-size: .8rem;
  color: var(--color-muted);
  text-decoration: none;
}
.footer__links a:hover { color: var(--color-text); }

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 72px 0 56px; }
  .section { padding: 56px 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .cta-box { padding: 28px 24px; }
}
