:root {
  --bg: #f7f6f2; --surface: #ffffff; --ink: #121417; --muted: #5b6068; --line: #e3e1da;
  --accent: #2f6db5; --accent-ink: #ffffff; --soft: #eef2f8;
  --radius: 14px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111316; --surface: #181b20; --ink: #eceef1; --muted: #9aa1ab; --line: #2a2e35; --accent: #6aa1e6; --accent-ink: #0b0d10; --soft: #1b2230; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { font-weight: 700; text-decoration: none; color: var(--ink); letter-spacing: .2px; }
nav.main { display: flex; gap: 18px; font-size: 15px; }
nav.main a { color: var(--muted); text-decoration: none; }
nav.main a:hover { color: var(--ink); }
.lang { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 760px) { nav.main { display: none; } }

.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -.5px; }
.hero .rolle { color: var(--accent); font-weight: 600; margin: 0 0 18px; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 640px; }
.hero img.foto { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .hero img.foto { width: 140px; height: 140px; order: -1; } }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.fact b { display: block; font-size: 20px; }
.fact span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -.3px; }
section .intro { color: var(--muted); margin: 0 0 28px; max-width: 720px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

.projekt { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin-bottom: 40px; }
.projekt:nth-child(even) .bild { order: 2; }
.projekt .bild { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.projekt h3 { margin: 0 0 4px; font-size: 22px; }
.projekt .meta { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.projekt p { margin: 0 0 10px; }
.projekt ul { margin: 0 0 10px 18px; padding: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 13px; background: var(--soft); color: var(--ink); border-radius: 999px; padding: 3px 10px; }
.projekt.textonly { grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (max-width: 860px) { .projekt { grid-template-columns: 1fr; } .projekt:nth-child(even) .bild { order: 0; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 8px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }

.timeline { display: grid; grid-template-columns: 130px 1fr; gap: 6px 20px; }
.timeline div:nth-child(odd) { color: var(--muted); }
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kontakt .card a { font-weight: 600; }
@media (max-width: 760px) { .kontakt { grid-template-columns: 1fr; } .timeline { grid-template-columns: 1fr; } .timeline div:nth-child(odd) { margin-top: 10px; } }

footer { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer a { color: var(--muted); }
.legal { max-width: 760px; padding: 48px 0; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
.downloads { margin-top: 20px; }
