/* MH Software · Entwurf K2 · Startseite
   Design nach dem Vorbild cloudroom.dev, Akzent = MH-Blau aus dem Logo. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --panel-2: #141414;
  --line: #222222;
  --line-2: #2e2e2e;
  --text: #ffffff;
  --body: #a3a3a3;
  --muted: #8f8f8f;           /* 6.1:1 auf #0a0a0a */
  --accent: #5b9bff;          /* Akzent auf Schwarz, 7:1 */
  --accent-btn: #2563eb;      /* Button-Fläche, Weiß darauf 5.2:1 */
  --accent-btn-h: #1d4ed8;
  --accent-dim: rgba(91, 155, 255, .45);
  --w: 1200px;
  --pad: 24px;
  --sec: 176px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url("../img/grain.svg") repeat;
  background-size: 240px 240px;
  opacity: .05;
  transform: translateZ(0);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 600; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent-btn); color: #fff; padding: 10px 14px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--w) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- Entwurfsleiste ---------- */
.draftbar {
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: #d4d4d4; text-align: center; padding: 8px 12px;
  background: #121212; border-bottom: 1px solid var(--line);
}

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, .97); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo__icon { width: 30px; height: 30px; flex: none; }
.logo__word { font-weight: 600; font-size: 20px; letter-spacing: -.035em; white-space: nowrap; }
.dot { color: var(--accent); }
.nav__links { margin-left: auto; display: flex; gap: 28px; }
.nav__links a { color: #e5e5e5; text-decoration: none; font-size: 15px; }
.nav__links a:hover { color: #fff; }
.nav__cta { display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: #161616; border: 1px solid var(--line-2); color: #fff; cursor: pointer; position: relative; }
.burger__bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .2s; }
.burger__bar:nth-of-type(2) { top: 17px; }
.burger__bar:nth-of-type(3) { top: 25px; }
.burger[aria-expanded="true"] .burger__bar:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
.mobilnav { border-bottom: 1px solid var(--line); background: #0a0a0a; }
.mobilnav nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.mobilnav nav > a { color: #fff; text-decoration: none; font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobilnav__cta { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  padding: 0 20px; height: 44px; border: 1px solid transparent; border-radius: 0;
  transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap;
}
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 17px; }
.btn--accent { background: var(--accent-btn); color: #fff; }
.btn--accent:hover { background: var(--accent-btn-h); }
.btn--ghost { background: #1c1c1c; color: #fff; }
.btn--ghost:hover { background: #262626; }
.btn--outline { background: transparent; color: #fff; border-color: #4a4a4a; }
.btn--outline:hover { border-color: #8a8a8a; }
.link { color: var(--accent); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Typo ---------- */
.kicker, .label {
  font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.label { margin-bottom: 20px; }
.h1 {
  color: var(--text); font-weight: 550; font-size: 80px; line-height: 1.04; letter-spacing: -.05em;
  margin: 22px 0 28px;
}
.h1__line { display: block; }
.h2 {
  color: var(--text); font-weight: 550; font-size: 64px; line-height: 1.04; letter-spacing: -.045em;
  margin-bottom: 56px;
}
.lead { font-size: 18px; line-height: 1.55; color: #b5b5b5; max-width: 34em; }

/* ---------- Rotating Text ---------- */
.rotate { display: grid !important; justify-items: start; color: var(--text); }
.rotate > * { grid-area: 1 / 1; }
.rotate__sizer { visibility: hidden; }
.rotate__word { display: inline-flex; white-space: pre; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.rotate__char { display: inline-block; will-change: transform, opacity; }


/* ---------- K2: Typo-Rhythmus ---------- */
.h1 { font-size: 88px; font-weight: 550; letter-spacing: -.05em; }
@media (max-width: 1360px) { .h1 { font-size: min(88px, 6.3vw); } }
.h2 { font-size: 60px; }
.sub { color: #6b6b6b; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 40px; align-items: center; }
.h1__line { white-space: nowrap; }
.hero__btns { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Device-Bühne */
.stage { position: relative; display: flex; flex-direction: column; gap: 28px; }
.stage__glow {
  position: absolute; left: 50%; top: 44%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(59, 130, 246, .18), rgba(59, 130, 246, .06) 55%, transparent 100%);
  pointer-events: none;
}
.stage__grid {
  position: absolute; inset: -12% -20% -6% -12%; pointer-events: none;
  background-image: linear-gradient(#1a1a1a 1px, transparent 1px), linear-gradient(90deg, #1a1a1a 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.stage__deck { position: relative; aspect-ratio: 1 / .86; }
.stage__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .6s;
}
.stage__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.stage__browser { position: absolute; left: 0; top: 4%; width: 86%; }
.stage__phone { position: absolute; right: 0; bottom: -4%; --iw: clamp(150px, 15.5vw, 214px); }
.stage__slide--solo .stage__phone { right: auto; left: 50%; bottom: auto; top: 50%; margin: calc(var(--iw) * -1.03) 0 0 calc(var(--iw) * -.5); }
.stage__meta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.stage__cap { font-size: 13px; color: #d4d4d4; letter-spacing: .02em; min-height: 1.4em; }
.stage__segs { display: flex; gap: 6px; }
.stage__seg {
  position: relative; width: 44px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.stage__seg span { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: #2a2a2a; overflow: hidden; border-radius: 2px; }
.stage__seg span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.stage__seg:hover span { background: #3a3a3a; }
.stage__seg.is-done span::after, .stage__seg.is-active span::after { transform: scaleX(1); }
.stage.is-auto .stage__seg.is-playing span::after { animation: seg 3.5s linear both; }
@keyframes seg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Tech-Band (Logo Loop) ---------- */
.techband { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.loop { position: relative; overflow: hidden; }
.loop::before, .loop::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.loop::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.loop::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.loop__track { display: flex; width: max-content; will-change: transform; }
.loop__list { display: flex; flex: none; align-items: center; }
.loop:not(.is-live) .loop__list { flex-wrap: wrap; justify-content: center; }
.loop.is-static::before, .loop.is-static::after { display: none; }
.tech { display: inline-flex; align-items: center; gap: 10px; padding: 6px 28px; color: #8a8a8a; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.tech svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.tech:hover { color: #fff; }
.tech--react:hover svg { fill: #61DAFB; }
.tech--expo:hover svg { fill: #FFFFFF; }
.tech--swift:hover svg { fill: #F05138; }
.tech--nextdotjs:hover svg { fill: #FFFFFF; }
.tech--fastapi:hover svg { fill: #009688; }
.tech--postgresql:hover svg { fill: #4169E1; }
.tech--tailwindcss:hover svg { fill: #06B6D4; }
.tech--stripe:hover svg { fill: #635BFF; }
.tech--leaflet:hover svg { fill: #199900; }
.tech--docker:hover svg { fill: #2496ED; }
.tech--hetzner:hover svg { fill: #D50C2D; }
.tech--wordpress:hover svg { fill: #21759B; }

/* ---------- Sektionen ---------- */
.section { padding-top: var(--sec); }
.section--last { padding-bottom: 140px; }
.section--wall { padding-top: 140px; }
.section--show { padding-top: 200px; }
.section--leist { padding-top: 160px; }
.section--refs { padding-top: 200px; }
.section--ablauf { padding-top: 180px; }
.section--team { padding-top: 220px; }
.section--vgl { padding-top: 200px; }
.section--stimmen { padding-top: 160px; }
.section--faq { padding-top: 180px; }
.section--kontakt { padding-top: 200px; }
.section--narrow .wrap { max-width: calc(1040px + 2 * var(--pad)); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 2px; }

/* ---------- Live-Wand ---------- */
.wall { display: flex; flex-direction: column; gap: 20px; }
.loop--wall::before, .loop--wall::after { width: 8%; }
.loop--wall .loop__list { gap: 0; }
.loop--wall li { padding: 10px 10px 4px; }
.poster { display: flex; flex-direction: column; gap: 10px; width: 340px; text-decoration: none; }
.poster__img {
  position: relative; display: block; overflow: hidden; border-radius: 8px; border: 1px solid #262626;
  aspect-ratio: 16 / 9; background: #111; isolation: isolate;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}
.poster__img img { width: 100%; height: 100%; object-fit: cover; }
.poster:hover .poster__img, .poster:focus-visible .poster__img { transform: translateY(-6px); border-color: #3a3a3a; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); }
.poster__dom { font-size: 12px; color: #8f8f8f; }
.poster:hover .poster__dom { color: #fff; }
.loop--wall.is-static { overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; }
.loop--wall.is-static .loop__list { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 0 var(--pad); }
.loop--wall.is-static li { scroll-snap-align: start; }

/* ---------- Showcase: Scroll Expand + Tabs ---------- */
.section--show .h2 { margin-bottom: 48px; }
.expand { --se-p: 0; display: flex; justify-content: center; }
.expand__stage {
  --w0: min(1200px, calc(100vw - 48px));
  width: calc(var(--w0) + (96vw - var(--w0)) * var(--se-p));
  border-radius: calc(32px - 22px * var(--se-p));
  background: #0f0f0f; border: 1px solid #1f1f1f;
  padding: 28px clamp(20px, 4vw, 56px) 56px;
  position: relative; overflow: hidden;
  background-image: radial-gradient(60% 70% at 30% 60%, rgba(59, 130, 246, .08), transparent 70%);
}
.case__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.case { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.case[hidden] { display: none; }
.case__comp { position: relative; padding: 0 9% 7% 0; }
.case__browser { width: 100%; }
.case__phone { position: absolute; right: 0; bottom: 0; --iw: clamp(140px, 14vw, 230px); }
.case__comp--solo { padding: 0; display: flex; justify-content: center; }
.case__comp--solo .case__phone { position: relative; --iw: clamp(200px, 19vw, 290px); }
.case__title { color: var(--text); font-size: 34px; font-weight: 550; letter-spacing: -.035em; line-height: 1.1; margin: 12px 0 24px; }
.case__facts li { padding: 14px 0; border-top: 1px solid var(--line); color: #c4c4c4; font-size: 15px; }
.case__facts li:last-child { border-bottom: 1px solid var(--line); }
.case__tech { font-size: 12px; color: var(--muted); margin: 20px 0 16px; }

/* ---------- Leistungen ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__col { padding: 28px 32px 32px; }
.split__col + .split__col { border-left: 1px solid var(--line); }
.split__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.badge { display: inline-block; font: 600 11px/1 var(--mono); letter-spacing: .1em; padding: 6px 8px; background: #262626; color: #e5e5e5; }
.badge--accent { background: var(--accent-btn); color: #fff; }
.svc li { border-top: 1px solid var(--line); }
.svc__item { display: flex; align-items: center; gap: 24px; padding: 18px 0; text-decoration: none; color: inherit; }
.svc__txt { display: flex; flex-direction: column; gap: 4px; flex: 1; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.svc__h { color: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.svc__p { font-size: 14.5px; }
.svc__arrow { color: #6b6b6b; font-size: 18px; transition: transform .25s cubic-bezier(.2, .8, .2, 1), color .2s; }
a.svc__item:hover .svc__txt, a.svc__item:focus-visible .svc__txt { transform: translateX(8px); }
a.svc__item:hover .svc__arrow, a.svc__item:focus-visible .svc__arrow { transform: translateX(-4px); color: var(--accent); }

/* ---------- Referenzen: Index-Liste ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.chip {
  font: 500 14px/1 var(--sans); color: #e5e5e5; background: transparent; border: 1px solid var(--line-2);
  height: 38px; padding: 0 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; border-radius: 0;
}
.chip:hover { border-color: #5a5a5a; }
.chip.is-active { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.chip__n { font: 500 11px var(--mono); opacity: .75; }
.filters__status { margin-left: auto; }
.idx__table { width: 100%; border-collapse: collapse; }
.idx__table thead th { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 16px 12px 0; border-bottom: 1px solid var(--line); }
.idx__table tbody th, .idx__table td { height: 64px; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-weight: 400; }
.idx__row[hidden] { display: none; }
.idx__row { transition: background-color .2s; }
.idx__row:hover { background: #111; }
.idx__proj { display: flex; align-items: center; gap: 14px; }
.idx__thumb { display: none; width: 64px; height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); flex: none; }
.idx__name { display: block; color: var(--text); font-size: 17px; font-weight: 550; letter-spacing: -.02em; padding-left: 12px; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.idx__row:hover .idx__name { transform: translateX(6px); }
.idx__typ { display: block; color: var(--muted); font-size: 13px; padding-left: 12px; }
.idx__art { width: 130px; color: #d4d4d4; font-size: 14px; white-space: nowrap; }
.idx__art .sq { margin-right: 8px; }
.idx__tech { color: var(--muted); font-size: 12px; width: 30%; }
.idx__link { width: 230px; }
.idx__dom { display: block; color: #e5e5e5; text-decoration: none; font: 400 13px/1.5 var(--mono); }
.idx__cs { display: inline-block; color: var(--accent); text-decoration: none; font-size: 13px; margin-top: 2px; }
.idx__dom:hover, .idx__cs:hover { text-decoration: underline; text-underline-offset: 3px; }
.sq { display: inline-block; width: 9px; height: 9px; flex: none; vertical-align: 1px; }
.sq--app { background: var(--accent); }
.sq--website { background: #d4d4d4; }
.sq--plattform { background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent); }
/* Hover-Vorschau (Image Trail) */
.trail {
  position: fixed; left: 0; top: 0; z-index: 60; width: 360px; aspect-ratio: 16 / 9; pointer-events: none;
  border-radius: 8px; overflow: hidden; opacity: 0; transition: opacity .25s ease;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); border: 1px solid #2a2a2a; background: #111;
}
.trail.is-shown { opacity: 1; }
.trail__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; }
.trail__img.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .trail, .trail__img { transition: none; } }

.werk { margin-top: 96px; }
.werk__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: start; margin-bottom: 20px; }
.werk__title { color: var(--text); font-size: 22px; font-weight: 550; letter-spacing: -.025em; }
.werk__list { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.werk__item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.werk__thumb { grid-row: 1 / 3; width: 48px; height: 32px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.werk__thumb--none { border-style: dashed; border-color: #2e2e2e; }
.werk__name { color: var(--text); font-size: 15px; font-weight: 550; letter-spacing: -.01em; }
.werk__art { grid-column: 2; color: var(--muted); font-size: 13px; }
.werk__status { grid-column: 3; grid-row: 1 / 3; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #a3a3a3; text-align: right; }

/* Glare Hover */
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; overflow: hidden; }
.glare__band { position: absolute; top: 50%; left: 50%; will-change: transform; }

/* ---------- Ablauf ---------- */
.steps { --fill: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; }
.steps__line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-2); }
.steps__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--fill)); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps:not(.is-js) .steps__fill { animation: fill-line linear both; animation-timeline: view(); animation-range: entry 80% cover 55%; }
  }
}
@keyframes fill-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.step__n { display: block; color: var(--text); font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.step h3 { color: var(--text); font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 20px 0 8px; }
.step p { font-size: 14.5px; }

/* ---------- Team (Editorial) ---------- */
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.person__img { width: 100%; height: 560px; object-fit: cover; object-position: center 20%; border-radius: 12px; }
.person__text { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.person__name { color: var(--text); font-size: 56px; font-weight: 550; letter-spacing: -.045em; line-height: 1.02; }
.person__role { color: var(--accent); font-size: 13px; letter-spacing: .02em; }
.person__lead { color: #d4d4d4; font-size: 17px; line-height: 1.6; }
.crew { margin-top: 18px; border-top: 1px solid var(--line); }
.crew li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; }
.crew__n { color: var(--text); font-weight: 550; font-size: 16px; letter-spacing: -.015em; }
.crew .muted { font-size: 14px; }
.team__jobs { margin-top: 6px; }

/* ---------- Vergleich ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 16px 24px; font-size: 13px; color: var(--body); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.cmp__scroll { overflow-x: auto; }
.cmp__table { width: 100%; min-width: 560px; border-collapse: collapse; }
.cmp__table th, .cmp__table td { padding: 18px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cmp__table thead th { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp__table thead th.is-us { color: var(--accent); }
.cmp__table tbody th { color: var(--text); font-weight: 500; font-size: 15px; width: 56%; }
.cmp__table td { width: 22%; }
.cmp__table .is-us { background: rgba(91, 155, 255, .06); box-shadow: inset 1px 0 0 rgba(91, 155, 255, .35), inset -1px 0 0 rgba(91, 155, 255, .35); }
.cmp__note { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 4px; }
.box { display: inline-block; width: 18px; height: 18px; border: 1.5px solid var(--accent); vertical-align: middle; }
.box--full { background: var(--accent); }
.box--half { background: linear-gradient(135deg, var(--accent) 50%, transparent 50%); }
.box--empty { border-color: #6a6a6a; }
.legend--cmp { border-top: 0; }

/* ---------- Kundenstimmen ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; color: #e5e5e5; font-size: 23px; font-weight: 450; line-height: 1.45; letter-spacing: -.02em; }
.quote figcaption { display: flex; flex-direction: column; gap: 4px; }
.quote.panel { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.quote__name { color: var(--text); font-size: 13px; letter-spacing: .04em; }
.fine { margin-top: 40px; font-size: 12px; color: var(--muted); max-width: 70em; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; }
.faq__intro .h2 { margin-bottom: 20px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 0; color: var(--text); font-size: 17px; font-weight: 500; letter-spacing: -.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; font: 300 26px/1 var(--sans); color: var(--accent); flex: none; transition: transform .2s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 48px 24px 0; font-size: 15px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.form { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #d4d4d4; }
.field input, .field select, .field textarea {
  font: 400 15px/1.4 var(--sans); color: #fff; background: #0a0a0a; border: 1px solid var(--line-2);
  border-radius: 0; padding: 12px 14px; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__msg { color: var(--accent); }
.direct { display: flex; flex-direction: column; gap: 16px; }
.direct li { padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.direct .label { margin: 0; }
.direct a:not(.link) { color: var(--text); text-decoration: none; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.direct a:not(.link):hover { color: var(--accent); }
.direct address { color: #e5e5e5; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 16px; }
.footer .label { margin-bottom: 14px; }
.footer nav li + li { margin-top: 8px; }
.footer nav a { color: #d4d4d4; text-decoration: none; font-size: 14px; }
.footer nav a:hover { color: #fff; }
.footer__bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .h1 { font-size: 66px; }
  .h2 { font-size: 50px; }
  .nav__links { gap: 20px; }
  .idx__tech { display: none; }
  .person { gap: 40px; }
  .person__img { height: 480px; }
  .case { gap: 36px; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .stage { margin-top: 32px; max-width: 640px; width: 100%; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .case { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person__img { height: 520px; max-width: 560px; }
  .werk__list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  :root { --pad: 20px; }
  .hero { padding: 48px 0 56px; }
  .h1 { font-size: 44px; margin: 18px 0 22px; }
  .h2 { font-size: 38px; margin-bottom: 36px; }
  .lead { font-size: 16px; }
  .btn--lg { height: 54px; padding: 0 22px; font-size: 16px; }
  .hero__btns .btn { flex: 1 1 auto; }
  /* Bühne mobil: nur das iPhone, gerade, ~62 % Breite */
  .stage__deck { aspect-ratio: auto; height: calc(min(62vw, 280px) * 2.062); }
  .stage__browser { display: none; }
  .stage .stage__phone, .stage .stage__slide--solo .stage__phone {
    --iw: min(62vw, 280px); left: 50%; right: auto; top: 0; bottom: auto; margin: 0 0 0 calc(var(--iw) * -.5);
    transform: none;
  }
  .stage__meta { justify-content: center; text-align: center; flex-direction: column; gap: 12px; }
  .stage__glow { width: 140%; }
  .section--wall { padding-top: 112px; }
  .section--show, .section--refs, .section--team, .section--vgl, .section--kontakt { padding-top: 128px; }
  .section--leist, .section--ablauf, .section--stimmen, .section--faq { padding-top: 112px; }
  .poster { width: 240px; }
  .expand__stage { padding: 20px 16px 32px; width: calc(100vw - 24px); border-radius: 16px; }
  .case__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 4px; }
  .case__tabs .chip { flex: none; }
  .case__comp { padding: 0 14% 10% 0; }
  .case__phone { --iw: 30vw; }
  .case__comp--solo .case__phone { --iw: 56vw; }
  .case__title { font-size: 26px; }
  .split { grid-template-columns: 1fr; }
  .split__col + .split__col { border-left: 0; border-top: 1px solid var(--line); }
  .split__col { padding: 24px 20px; }
  .filters__status { margin-left: 0; width: 100%; }
  .idx__table thead { display: none; }
  .idx__table, .idx__table tbody { display: block; }
  .idx__row { display: grid; grid-template-columns: minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .idx__row[hidden] { display: none; }
  .idx__table tbody th, .idx__table td { display: block; height: auto; padding: 0; border: 0; }
  .idx__thumb { display: block; }
  .idx__name, .idx__typ { padding-left: 0; }
  .idx__table td.idx__art, .idx__table td.idx__tech { display: none; }
  .idx__table td.idx__link { width: auto; padding-left: 78px; margin-top: 6px; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
  .werk__head { grid-template-columns: 1fr; }
  .werk__item { grid-template-columns: 48px minmax(0, 1fr); }
  .werk__status { grid-column: 2; grid-row: auto; text-align: left; margin-top: 4px; }
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 28px; }
  .steps__line { left: 0; top: 0; bottom: 0; right: auto; width: 2px; height: auto; }
  .steps__fill { transform-origin: top; transform: scaleY(var(--fill)); }
  .steps:not(.is-js) .steps__fill { animation-name: fill-line-y; }
  .person__img { height: 420px; }
  .person__name { font-size: 40px; }
  .crew li { grid-template-columns: 1fr; gap: 4px; }
  .quotes { grid-template-columns: 1fr; gap: 40px; }
  .quote blockquote { font-size: 19px; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .faq__list details p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .cmp__table { min-width: 0; }
  .cmp__table th, .cmp__table td { padding: 14px 10px; }
  .cmp__table tbody th { width: auto; font-size: 14px; padding-left: 16px; }
  .cmp__table thead th:first-child { padding-left: 16px; }
  .cmp__table td, .cmp__table thead th + th { width: 76px; text-align: center; }
  .cmp__table thead th { font-size: 10px; letter-spacing: .06em; }
}
@keyframes fill-line-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 380px) {
  .h1 { font-size: 40px; }
  .h2 { font-size: 34px; }
  .logo__word { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage__slide, .stage__slide.is-active { transition: none; transform: none; }
  .poster__img, .svc__txt, .svc__arrow, .idx__name { transition: none; }
  .steps { --fill: 1; }
}
