/* Nur Schwarz- und Grautöne: Tiefe entsteht aus Flächenstufen, nicht aus Farbe */
:root {
  --deep: #050506;
  --bg: #0a0a0b;
  --band: #0f0f11;
  --card: #131315;
  --raised: #1c1c1f;
  --text: #ededee;
  --muted: #a1a1a6;
  --line: color-mix(in srgb, var(--text) 8%, transparent);
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body { overflow-x: clip; background: var(--bg); color: var(--text); font: 400 16px/1.55 "Geist", system-ui, sans-serif; }
a { color: inherit; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 32px; background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: block; line-height: 0; }
.logo img { height: 22px; width: auto; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { text-decoration: none; font-size: 14px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; background: var(--raised);
  border: 1px solid var(--line); text-decoration: none; font-weight: 500; transition: background-color .15s; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.btn:hover { background: color-mix(in srgb, var(--raised) 88%, var(--text)); }
.btn-small { padding: 8px 16px; font-size: 13px; }
.btn-primary { background: var(--text); color: var(--bg); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.btn-primary:hover { background: #fff; }
.btn-primary .muted { color: inherit; opacity: .65; }
.btn-block { width: 100%; justify-content: center; }

/* Layout */
main > section { max-width: 1200px; margin: 0 auto; padding: 96px 32px; }
h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 500; line-height: 1.02; letter-spacing: -.03em; margin: 0 0 24px; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 16px; }
h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.sub, .lead { color: var(--muted); max-width: 620px; margin-bottom: 40px; }
.lead { font-size: 19px; }
.grid { display: grid; gap: 16px; margin-top: 40px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
/* Abschnitt auf etwas hellerem Band über die ganze Fensterbreite */
.band { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.card p { color: var(--muted); font-size: 14px; }

/* Hero */
.hero { min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  position: relative; isolation: isolate; }
/* Canvas über die volle Fensterbreite, Verlauf darüber für lesbaren Text */
.hero canvas, .hero::after { position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 100%; z-index: -1; display: block; }
.hero::after { content: ""; background: linear-gradient(to top, var(--bg) 5%, transparent 55%), linear-gradient(to right, color-mix(in srgb, var(--bg) 70%, transparent), transparent 60%); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Problem-Orbit */
.problem { text-align: center; }
.orbit { position: relative; height: 560px; display: grid; place-items: center; }
.orbit h2 { max-width: 440px; margin: 0; position: relative; z-index: 1; }
.ring { position: absolute; left: 50%; top: 50%; width: 84%; height: 72%; transform: translate(-50%, -50%); border: 1px solid var(--line); border-radius: 50%; }
.pill { position: absolute; left: 50%; top: 50%; padding: 10px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; white-space: nowrap; will-change: transform; }
.pill::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 2px; background: var(--muted); vertical-align: middle; }

/* Leistungen: Text bleibt stehen, Karten stapeln sich */
.services { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.services-intro { position: sticky; top: 120px; }
.stack { display: grid; gap: 24px; }
.service { position: sticky; top: calc(100px + var(--i) * 24px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; min-height: 320px;
  box-shadow: 0 -20px 40px color-mix(in srgb, var(--bg) 80%, transparent); }
.service .shot { margin: 0; aspect-ratio: auto; }

/* Kunden */
.logos { text-align: center; padding-top: 40px !important; padding-bottom: 40px !important; }
.logos > p { margin-bottom: 20px; }
.logo-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; color: var(--muted); font-weight: 600; }

/* Projekte */
.shot { aspect-ratio: 4/3; border-radius: 10px; background: linear-gradient(135deg, var(--raised), var(--deep)); display: grid; place-items: center;
  color: var(--muted); font-size: 12px; margin-bottom: 16px; }
.kpis { display: flex; gap: 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.kpis div { display: flex; flex-direction: column; }
.kpis b { font-size: 22px; font-weight: 500; }
.kpis span { color: var(--muted); font-size: 12px; }

/* Preise */
.toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 8px 0 24px; }
.toggle button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; padding: 8px 18px; border-radius: 9px; cursor: pointer; }
.toggle button.active { background: var(--text); color: var(--bg); }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--raised); color: var(--text); }
.price .badge { position: absolute; top: 20px; right: 20px; background: color-mix(in srgb, var(--text) 12%, transparent); }
.price.featured { border-color: color-mix(in srgb, var(--text) 22%, transparent); background: var(--raised); }
.amount { font-size: 34px !important; color: var(--text) !important; font-weight: 500; margin: 20px 0; }
.amount small { font-size: 14px; color: var(--muted); }
.price ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; font-size: 14px; }
.price li::before { content: "✓"; margin-right: 10px; color: var(--muted); }
.faq-inline { max-width: 720px; margin: 24px 0; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.faq { display: grid; gap: 10px; max-width: 820px; margin-top: 40px; }

/* Leistungen */
.card ul.small { list-style: none; margin-top: 20px; display: grid; gap: 8px; color: var(--muted); }
.step h3 { margin-top: 24px; }

/* Schnittstellen */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; }

/* Vergleich */
.table-wrap { overflow-x: auto; margin-top: 40px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); font-weight: 500; }
tbody th { color: var(--muted); font-weight: 400; }
.us { background: var(--card); color: var(--text) !important; }
thead .us { box-shadow: inset 0 2px 0 var(--text); }

/* Kundenstimmen */
blockquote { font-size: 17px; margin-bottom: 24px; }
figcaption { display: flex; flex-direction: column; gap: 4px; }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats b { display: block; font-size: 48px; font-weight: 500; letter-spacing: -.02em; }

/* Blog */
.post { text-decoration: none; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .2s; }
.post:hover { border-color: color-mix(in srgb, var(--text) 24%, transparent); }

/* Impressum / Datenschutz */
.legal { max-width: 760px; margin: 0 auto; padding: 96px 32px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 32px; }
.legal h2 { font-size: 20px; margin: 40px 0 10px; letter-spacing: 0; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal a { color: var(--text); text-decoration-color: var(--muted); text-underline-offset: 3px; }

/* CTA + Footer */
.cta { text-align: center; }
.cta .sub { margin-left: auto; margin-right: auto; }
.cta .small { margin-top: 24px; }
footer { max-width: 1200px; margin: 0 auto; padding: 40px 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between;
  align-items: flex-end; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
footer b { color: var(--text); }

/* Mobile */
@media (max-width: 960px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .nav nav { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; gap: 0; }
  .services-intro { position: static; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  main > section { padding: 64px 20px; }
  .nav { padding: 12px 20px; }
  .orbit { height: 460px; }
  .hero .btn .mono { display: none; }
  .pill { font-size: 12px; padding: 8px 12px; }
  .service { grid-template-columns: 1fr; top: calc(80px + var(--i) * 16px); }
  .service .shot { aspect-ratio: 16/9; }
}
