:root {
  color-scheme: dark;
  --bg: #0d0d0d; --panel: #111; --hover: #1b1b1b;
  --text: #d6d6d6; --muted: #9a9a9a; --line: #2a2a2a;
  --accent: #00bfff; --radius: 6px;
  --mono: "JetBrains Mono", monospace;
  font: 16px/1.6 system-ui, sans-serif;
  background: var(--bg); color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
a:hover { color: var(--accent); }
.wrap { max-width: 1120px; margin: auto; padding: 0 32px; }
.wordmark { font: 500 17px var(--mono); color: var(--accent); text-decoration: none; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.topbar nav { display: flex; gap: 24px; }
.topbar nav a { font-size: 14px; text-decoration: none; padding: 8px 0; }
.intro { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 64px; padding: 72px 0; align-items: center; }
.eyebrow, .project-type { font-size: 12px; font-weight: 500; color: var(--muted); }
.eyebrow { margin: 0 0 16px; }
h1 { font-size: clamp(32px,4vw,48px); line-height: 1.15; letter-spacing: -.04em; font-weight: 600; margin: 0; text-wrap: balance; }
.cursor { color: var(--accent); }
.intro-text { max-width: 48ch; color: var(--muted); margin: 24px 0 32px; }
.primary { display: inline-flex; gap: 20px; align-items: center; background: var(--accent); color: #0d0d0d; padding: 12px 18px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 14px; }
.primary:hover { background: #65d8ff; color: #0d0d0d; }
.profile { border-left: 1px solid var(--line); padding-left: 32px; }
.social { display: flex; gap: 24px; margin-bottom: 24px; }
.social a { font-size: 14px; }
.thm { display: block; text-decoration: none; }
.thm img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.thm>span { display: flex; justify-content: space-between; margin-top: 12px; font-size: 14px; }
.caption { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
section { scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
h2 { font-size: 22px; font-weight: 500; margin: 0; letter-spacing: -.02em; }
.section-heading p { color: var(--muted); font-size: 14px; margin: 0; }
.projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.project { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: border-color 120ms, background 120ms; }
.project:hover { background: var(--hover); color: var(--text); border-color: #666; }
.project h3 { font-size: 22px; font-weight: 500; margin: 8px 0 12px; display: flex; justify-content: space-between; gap: 16px; }
.project h3 span { color: var(--accent); }
.project p { color: var(--muted); font-size: 14px; margin: 0 0 24px; max-width: 52ch; }
.domain { font: 12px var(--mono); color: var(--accent); margin-top: auto; }
#dienste { padding-top: 64px; }
.services { border-top: 1px solid var(--line); }
.services a { display: grid; grid-template-columns: 160px 1fr 24px; gap: 16px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.services strong { font-weight: 500; }
.services a>span:nth-child(2) { color: var(--muted); }
.services a>span:last-child { color: var(--accent); }
.services a:hover { background: var(--panel); }
footer { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 40px 0; margin-top: 32px; font-size: 12px; color: var(--muted); }
.skip { position: fixed; top: -100px; left: 16px; background: var(--accent); color: var(--bg); padding: 12px; z-index: 10; }
.skip:focus { top: 12px; }
@media (max-width: 800px) { .intro { gap: 32px; grid-template-columns: 1fr; padding: 48px 0; } .profile { max-width: 360px; border-left: 0; padding: 0; } }
@media (max-width: 540px) {
  .wrap { padding: 0 20px; }
  .topbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .topbar nav { gap: 24px; }
  .section-heading { display: block; } .section-heading p { margin-top: 8px; }
  .projects { grid-template-columns: 1fr; }
  .services a { grid-template-columns: 1fr 24px; gap: 4px 8px; }
  .services a>span:nth-child(2) { grid-row: 2; }
  .services a>span:last-child { grid-column: 2; grid-row: 1 / 3; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
