:root {
  --ground: #F4F4F1;
  --ink: #111111;
  --muted: #555555;
  --accent: #FF5A1F;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: #C2410C; }

/* Language switching: show only the spans for the current <html lang>. */
html[lang="en"] .de, html[lang="de"] .en { display: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px; padding: 28px 0; border-bottom: 2px solid var(--ink);
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; font-size: 15px; }
.top nav > a { text-decoration: none; }
.lang { display: flex; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 700; }
.lang button {
  font: inherit; padding: 8px 12px; min-height: 36px; border: 0; cursor: pointer;
  background: transparent; color: var(--ink);
}
html[lang="en"] .lang [data-lang="en"],
html[lang="de"] .lang [data-lang="de"] { background: var(--ink); color: var(--ground); }

.hero {
  padding: 120px 0 96px; display: grid; gap: 48px; align-items: end;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.hero h1 {
  margin: 0; font-size: clamp(48px, 8vw, 104px); line-height: 0.92;
  font-weight: 800; letter-spacing: -0.045em;
}
.hero-side { display: flex; flex-direction: column; gap: 32px; padding-bottom: 8px; }
.lead { margin: 0; font-size: 22px; line-height: 1.4; max-width: 440px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block; font-weight: 700; text-decoration: none;
  padding: 16px 24px; min-height: 44px;
}
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { color: var(--ink); background: #FF7A45; }
.btn-line { border: 2px solid var(--ink); padding: 14px 22px; }
.btn-dark { background: var(--ink); color: var(--ground); margin-top: 48px; }
.btn-dark:hover { color: var(--ground); background: #333333; }

.block { padding: 64px 0; border-top: 2px solid var(--ink); }
.label {
  margin: 0 0 40px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}

.projects {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px; background: var(--ink); border: 2px solid var(--ink);
}
.projects article {
  background: var(--ground); padding: 40px; min-height: 320px;
  display: flex; flex-direction: column; gap: 20px;
}
.tag { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.projects h3 { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.projects p { margin: 0; font-size: 18px; line-height: 1.5; max-width: 420px; }

.statement {
  margin: -16px 0 48px; font-size: 36px; line-height: 1.15; font-weight: 700;
  letter-spacing: -0.02em; max-width: 760px;
}
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.service { border-top: 6px solid var(--ink); padding-top: 20px; }
.service.first { border-top-color: var(--accent); }
.service h3 { margin: 0 0 12px; font-size: 24px; font-weight: 800; }
.service p { margin: 0; font-size: 17px; line-height: 1.5; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; padding-bottom: 96px; }
.two .label { margin-bottom: 16px; }
.about { margin: 0; font-size: 20px; line-height: 1.5; max-width: 480px; }
.email { font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -0.02em; word-break: break-all; }

.bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 24px 0 40px; border-top: 2px solid var(--ink); font-size: 14px;
}
.bottom .links { display: flex; gap: 24px; }

/* Legal pages */
.legal { padding: 64px 0 96px; max-width: 720px; line-height: 1.6; }
.legal h1 { font-size: 48px; letter-spacing: -0.03em; margin: 0 0 32px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.todo { background: #FFE8DC; padding: 2px 6px; }
