/* Homepage (consulting one-pager) — light editorial theme, scoped to index.html / en.html */

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

:root {
  --ink: #1f1d1a;
  --ink-soft: #5b5b57;
  --ink-faint: #8e8e8a;
  --bg: #f1f1ef;
  --bg-soft: #e8e8e5;
  --line: #d3d3cf;
  --accent: #7d7d78;
  --accent-ink: #3a3632;
  --max: 1040px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, Menlo, monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* header */
header { padding: 6px 0; }
nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--mono); font-size: 1rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: .9rem; }
.lang-switch { display: inline-flex; gap: 4px; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; }
.lang-switch a { padding: 4px 6px; color: var(--ink-faint); }
.lang-switch a.active { color: var(--ink); }
.lang-switch a + a::before { content: "/"; margin-right: 10px; color: var(--line); }

/* hero */
.hero {
  padding-block: 72px 56px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 64px;
}
.hero-text { min-width: 0; }
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero p.sub { margin-top: 26px; font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); max-width: 34em; text-wrap: balance; }
.hero p.sub-meta { margin-top: 14px; font-size: .95rem; color: var(--ink-faint); }
.avail { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(139,125,107,.2); }
.cta-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 6px; font-size: 1rem; }
.btn-primary { background: var(--accent-ink); color: #fff; }
.btn-primary:hover { background: #4a4540; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.hero-avatar {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  object-fit: cover;
  object-position: 50% 30%;
  justify-self: end;
  box-shadow: none;
  border-radius: 6px;
}

/* sections */
section { padding: 72px 0; }
section.alt { background: transparent; }
section.offer { padding-top: 0; }
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -.015em;
  line-height: 1.15;
  margin-bottom: 36px;
  text-wrap: balance;
}

/* offer: turn the boxed card into an editorial two-column block */
.offer-card { border-top: 2px solid var(--ink); padding-top: 40px; }
.offer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.offer-cols > div + div { border-left: none; }
.offer-card h3 { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 20px; }
.offer-card ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.offer-card li { padding-left: 24px; position: relative; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.offer-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.offer-card li strong { color: var(--ink); font-weight: 600; }
.offer-more { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); }

/* projects */
section#projekte, section#projects { border-top: 1px solid var(--line); background: var(--bg-soft); }
.project { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.project:last-of-type { border-bottom: none; }
.project h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.project p { color: var(--ink-soft); font-size: 1rem; max-width: 620px; grid-column: 2; }
.project a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.project a:hover { text-decoration-color: var(--ink); }
.project-link { grid-column: 2; display: inline-block; margin-top: 8px; font-size: .92rem; }
.stations { margin-top: 36px; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; color: var(--ink-faint); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--ink-faint); font-size: .88rem; }
.foot a { color: var(--ink-faint); text-decoration: none; margin-left: 18px; }
.foot a:first-child { margin-left: 0; }
.foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; padding-block: 36px 32px; gap: 22px; text-align: center; justify-items: center; }
  .hero-avatar {
    order: -1;
    width: 148px;
    height: 148px;
    max-width: none;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-position: 50% 38%;
    justify-self: center;
    border: 1px solid var(--line);
  }
  .hero p.sub { margin-inline: auto; }
  .cta-row { justify-content: center; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero p.sub { font-size: 1.05rem; }
  .offer-cols { grid-template-columns: 1fr; gap: 36px; }
  .project { grid-template-columns: 1fr; gap: 8px; }
  .project p, .project-link { grid-column: 1; }
  section { padding: 48px 0; }
}
