@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); }

/* Layout: eine schmale Spalte, Porträt + Name oben, vier graue Leistungsboxen im 2er-Raster, Kontaktbox am Ende */
:root {
  --bg: #ffffff;
  --box: #f3f4f0;
  --line: #e3e6dc;
  --fg: #1d201a;
  --muted: #5d6357;
  --accent: #b6cb53;      /* Grün aus dem Avatar */
  --accent-ink: #4f6516;  /* dunkleres Grün für Text auf Weiß */
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141612; --box: #1e211b; --line: #2d3128; --fg: #eef0ea; --muted: #a3a99b;
    --accent: #b6cb53; --accent-ink: #c5d86a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141612; --box: #1e211b; --line: #2d3128; --fg: #eef0ea; --muted: #a3a99b;
  --accent: #b6cb53; --accent-ink: #c5d86a; color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }

/* Kopfzeile */
header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 28px;
}
.mark { font-family: var(--font-mono); font-weight: 500; font-size: 15px; text-decoration: none; letter-spacing: -0.01em; }
.mark span { color: var(--accent-ink); }
header nav { display: flex; gap: 24px; font-size: 15px; }
header nav a { text-decoration: none; color: var(--muted); }
header nav a:hover { color: var(--fg); }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
  padding-block: 56px 72px;
}
.portrait {
  width: 200px; height: 200px; border-radius: 50%;
  object-fit: cover; display: block;
  box-shadow: 0 0 0 8px var(--box);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05; font-weight: 700; letter-spacing: -0.025em;
  margin: 0 0 6px; text-wrap: balance;
}
.role {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 22px;
}
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--fg); margin: 0 0 28px; max-width: 34ch; text-wrap: pretty; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #1d201a;
  font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #a8bd44; transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

/* Leistungen */
section.services .wrap { padding-block: 24px 72px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 20px;
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  background: var(--box); border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.card .icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent);
  display: grid; place-items: center; color: #1d201a; margin-bottom: 6px;
}
.card .icon svg { width: 20px; height: 20px; }
.card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; padding: 0; list-style: none; }
.tags li {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); background: var(--bg); padding: 2px 8px; border-radius: 6px;
}

/* Kontakt */
section.contact .wrap { padding-block: 0 80px; }
.contact-box {
  background: var(--box); border-radius: 14px; padding: 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
}
.contact-box h2 { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; text-wrap: balance; }
.contact-box p { margin: 0; color: var(--muted); max-width: 44ch; }
.mail { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.mail a.addr {
  font-family: var(--font-mono); font-size: 17px; font-weight: 500; color: var(--accent-ink);
  text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; overflow-wrap: anywhere;
}
.copy {
  font: 500 13px var(--font-mono); color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; cursor: pointer;
}
.copy:hover { color: var(--fg); border-color: var(--muted); }

section.legal .wrap { padding-block: 0 56px; font-size: 15px; color: var(--muted); }
section.legal h2 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--fg); margin: 0 0 4px; }
section.legal .legal-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; margin: 0 0 12px; }
section.legal address { font-style: normal; margin: 0 0 8px; }
section.legal p { margin: 0; }

footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px 40px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 24px 48px; }
  .portrait { width: 140px; height: 140px; box-shadow: 0 0 0 6px var(--box); }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .contact-box { grid-template-columns: 1fr; padding: 28px 22px; }
  header nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Basis für die eigenständige Website (im Artifact übernimmt das der Rahmen) */
html, body { margin: 0; }
img { max-width: 100%; }

/* Datenschutzerklärung */
.policy .wrap { max-width: 760px; padding-block: 24px 72px; }
.policy .back { font-family: var(--font-mono); font-size: 14px; color: var(--muted); text-decoration: none; }
.policy .back:hover { color: var(--fg); }
.policy h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 2.6rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; margin: 24px 0 8px; text-wrap: balance; }
.policy .stand { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin: 0 0 32px; }
.policy h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 10px; scroll-margin-top: 24px; text-wrap: balance; }
.policy h3 { font-size: 1rem; font-weight: 600; margin: 20px 0 6px; }
.policy p, .policy li { font-size: 16px; color: var(--fg); overflow-wrap: anywhere; }
.policy p { margin: 0 0 12px; }
.policy ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.policy a { color: var(--accent-ink); }
.policy .toc { background: var(--box); border-radius: 14px; padding: 20px 24px; margin: 0 0 8px; }
.policy .toc ul { list-style: none; padding: 0; gap: 4px; }
.policy .toc a { text-decoration: none; }
.policy .toc a:hover { text-decoration: underline; }
.policy address { font-style: normal; margin: 0 0 12px; }
.policy .seal { margin-top: 40px; font-size: 13px; color: var(--muted); }

/* Decoy fragments inside e-mail and postal address: hidden for readers, noise for scrapers */
.o { display: none !important; }
.js-mail { cursor: pointer; }
