/* Daniel Lehnhardt – Persönliche Seite */
:root {
  --bg: #f3f2ec;
  --paper: #fbfaf6;
  --ink: #1d211c;
  --muted: #5b6157;
  --sage: #d3dbbd;
  --sage-soft: #e6ebd8;
  --deep: #46542f;
  --line: rgba(29, 33, 28, .12);
  --max: 1120px;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--deep); }
::selection { background: var(--sage); color: var(--ink); }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
section { padding: 100px 0; scroll-margin-top: 70px; }
section.alt { background: var(--paper); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 18px; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4vw, 46px); }
h3 { font-size: 24px; }
h1 em, h2 em { font-style: italic; color: var(--deep); }
p { margin: 0 0 18px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); font-weight: 600; margin-bottom: 18px; }
.lead { font-size: 21px; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(243, 242, 236, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--serif); font-size: 22px; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 16px; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); background: var(--deep); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--sage-soft); }
.nav .btn { padding: 9px 18px; font-size: 14px; color: var(--paper); }

/* Hero */
.hero { padding: 90px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.hero .lead { max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.photo { position: relative; margin: 0; }
.photo img { border-radius: 4px; filter: grayscale(1) contrast(1.02); }
.photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--sage); z-index: -1; border-radius: 4px; }
.photo figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Werdegang */
.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.story .photo { position: sticky; top: 100px; }
.path { list-style: none; margin: 40px 0 0; padding: 0; border-left: 1px solid var(--line); }
.path li { position: relative; padding: 0 0 30px 30px; }
.path li::before { content: ""; position: absolute; left: -6px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--deep); }
.path li.now::before { background: var(--deep); }
.path .when { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); font-weight: 600; }
.path b { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 2px 0 4px; }
.path p { margin: 0; color: var(--muted); font-size: 16px; }

/* Haltung */
.quote { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; max-width: 860px; margin: 0 0 14px; }
.quote-src { color: var(--muted); font-size: 15px; margin-bottom: 56px; display: block; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
section.alt .card { background: var(--bg); }
.card .num { display: block; font-family: var(--serif); font-style: italic; color: var(--deep); font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }

/* Projekte */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.project { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 36px; }
.project .tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); font-weight: 600; margin-bottom: 14px; }
.project h3 { font-size: 28px; }
.project p { color: var(--muted); font-size: 16px; }
.project .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 10px; }
.project .links a { font-weight: 600; text-decoration: none; font-size: 15px; }
.project .links a:hover { text-decoration: underline; }
.project.book { background: var(--sage-soft); border-color: transparent; }
.project.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 32px; }
.project.wide > div { flex: 1; }
.project.wide .links { margin-top: 0; padding-top: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.contact-grid .photo { max-width: 380px; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.contact-item:hover { border-color: var(--deep); }
.contact-item svg { width: 24px; height: 24px; color: var(--deep); flex: none; }
.contact-item span { display: block; font-size: 13px; color: var(--muted); }
.contact-item b { font-weight: 600; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink); color: #c9cdc2; padding: 64px 0 40px; font-size: 15px; }
.site-footer a { color: #eef0e8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-grid span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9aa190; margin-bottom: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; }
.foot-bottom nav { display: flex; gap: 22px; }

/* Rechtstexte */
.legal { padding: 80px 0; }
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); }
.prose h2 { font-size: 26px; margin-top: 44px; hyphens: auto; }
.prose h3 { font-size: 20px; margin-top: 28px; hyphens: auto; }
.prose p { color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-grid, .story, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .photo, .story .photo { max-width: 420px; }
  .story .photo { position: static; }
  .grid-3, .projects { grid-template-columns: 1fr; }
  .project.wide { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; width: 100%; }
  .nav .btn { margin-top: 10px; width: auto; padding: 11px 22px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .photo::after { inset: 12px -10px -12px 12px; }
  .card, .project { padding: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* Hero: Kernaussage */
.insight { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 27px); line-height: 1.4; margin: 26px 0 0; padding-left: 22px; border-left: 3px solid var(--sage); max-width: 600px; }
.insight em { color: var(--deep); }
.hero .lead { font-size: 19px; }

html, body { overflow-x: clip; }

/* Der Weg nach innen */
.deep-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; margin: 28px 0 56px; }
.deep-grid aside { background: var(--sage-soft); border-radius: 6px; padding: 36px; }
.deep-grid .quote { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 10px; }
.deep-grid .quote-src { margin-bottom: 24px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.facts b { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .deep-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .deep-grid aside { padding: 26px; } }

/* Buch als Hauptkarte mit beiden Covern */
.project.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 48px; align-items: center; }
.covers { position: relative; aspect-ratio: 1 / 1.05; }
.covers img { position: absolute; width: 64%; border-radius: 3px; box-shadow: 0 18px 40px -18px rgba(29, 33, 28, .45); }
.covers img:first-child { left: 0; top: 0; z-index: 2; }
.covers img:last-child { right: 0; bottom: 0; transform: rotate(3deg); }
.alt-title { color: var(--muted); font-style: italic; font-size: .8em; }
@media (max-width: 960px) { .project.feature { grid-template-columns: 1fr; gap: 32px; } .covers { max-width: 340px; width: 100%; } }

/* Fotos: nur die Konzernjahre in Schwarz-Weiß, heute in Farbe */
.photo img { filter: none; }
.photo.bw img { filter: grayscale(1) contrast(1.02); }
.hero-photo { max-width: 440px; justify-self: end; }
.change { position: sticky; top: 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: end; }
.change .photo::after { inset: 12px -12px -12px 12px; }
.change .photo:last-of-type { margin-bottom: 36px; }
.change figcaption { font-size: 14px; line-height: 1.45; }
.change figcaption b { display: block; color: var(--ink); font-weight: 600; }
.change-note { grid-column: 1 / -1; margin: 0; font-family: var(--serif); font-style: italic; color: var(--deep); }

/* Stärken */
.sub { font-size: 22px; margin-top: 36px; }
.strengths { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.strengths li { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.strengths b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 2px; }
@media (max-width: 960px) { .change { position: static; max-width: 520px; } .hero-photo { justify-self: start; max-width: 380px; } }
@media (max-width: 560px) { .strengths { grid-template-columns: 1fr; } }

/* Roter Faden: Business & Mental Development */
.thread { max-width: 860px; margin: 8px 0 8px; }
.thread-title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 10px; }
.thread-title em { color: var(--deep); }
.thread p { color: var(--muted); }
.thread-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.thread-pair span { display: block; border-left: 3px solid var(--sage); padding: 4px 0 4px 16px; font-size: 15px; color: var(--muted); }
.thread-pair b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }
.projects { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .projects { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .thread-pair { grid-template-columns: 1fr; } }
