/* =========================================================
   Success Webdesign – Startseite
   Konzept: technisch und ruhig. Weißer Grund, tiefes Schwarz,
   ein einziges Blau als Akzent, Monospace für technische Details.
   Schrift: Arial (keine externen Schriftarten, DSGVO-freundlich).
   ========================================================= */

:root {
  --ink: #0F1115;
  --ink-2: #1A1D24;
  --text: #2B2F38;
  --muted: #5A606C;
  --line: #E1E4EA;
  --bg: #FFFFFF;
  --bg-soft: #F4F6FA;
  --blue: #2F62FF;
  --blue-dark: #1F4AD6;
  --blue-soft: #E8EEFF;
  --green: #12A150;

  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --wrap: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 14px;
  color-scheme: light;
}

html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 88px; }
html, body { margin: 0; padding: 0; } /* nur Browser-Standardabstand entfernen */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }

.sx-page {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.sx-page img { max-width: 100%; display: block; }
:where(.sx-page) a { color: inherit; }
.sx-page :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sx-label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--blue);
  margin: 0 0 14px;
}
.sx-label::before { content: "// "; color: var(--muted); }
.sx-label-inv::before { color: #7D8494; }
.sx-h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: var(--blue-dark); }
/* Weiße Buttons: Farbe füllt den Button beim Hover von der Mitte aus */
.btn-ghost {
  position: relative; isolation: isolate; overflow: hidden;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink) !important;
  transition: color .45s cubic-bezier(.65,0,.35,1), border-color .45s cubic-bezier(.65,0,.35,1);
}
.btn-ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path .55s cubic-bezier(.65,0,.35,1);
}
.btn-ghost:hover, .btn-ghost:focus-visible { color: #fff !important; border-color: var(--ink); }
.btn-ghost:hover::before, .btn-ghost:focus-visible::before { clip-path: circle(75% at 50% 50%); }

/* ================= HEADER ================= */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
  transition: border-color .25s;
}
.hd.is-scrolled { border-bottom-color: var(--line); }
.hd-in {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  height: 76px; display: flex; align-items: center; gap: 32px;
}
.hd-logo img { height: 42px; width: auto; }
.hd-nav { display: flex; gap: 30px; margin-left: auto; }
.hd-nav a { text-decoration: none; font-size: 15px; color: var(--text); padding: 10px 0; position: relative; }
.hd-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.hd-nav a:hover { color: var(--ink); }
.hd-nav a:hover::after { transform: scaleX(1); }
.hd-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.hd-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd-cta-m { display: none; }
.hd-cta {
  text-decoration: none; font-weight: 700; font-size: 14px; color: #fff;
  background: var(--ink); border-radius: 9px; padding: 0 18px; min-height: 44px;
  display: inline-flex; align-items: center; transition: background-color .2s;
}
.hd-cta:hover { background: var(--blue); }
.hd-burger {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: transparent;
  cursor: pointer; position: relative; border-radius: 10px;
}
.hd-burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, top .25s;
}
.hd-burger span:first-child { top: 18px; }
.hd-burger span:last-child { top: 26px; }
.hd-burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.hd-burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ================= HERO ================= */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); }

/* Hintergrund: großes Logo-Zeichen als Linienzeichnung, zeichnet sich beim Laden selbst */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(15,17,21,.09) 1px, transparent 1.4px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 30% 45%, #000 0%, transparent 75%);
}
.hero-mark {
  position: absolute; top: 50%; left: 50%; height: 138%; width: auto;
  transform: translate(-50%, -50%) translate(var(--mx, 0px), var(--my, 0px));
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
  overflow: visible;
}
.hm-line { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hm-a { stroke: rgba(15,17,21,.12); animation: hm-draw 2.2s cubic-bezier(.65,0,.35,1) .2s forwards; }
.hm-b { stroke: rgba(47,98,255,.45); animation: hm-draw 2.2s cubic-bezier(.65,0,.35,1) .7s forwards; }
.hm-fill { fill: url(#hmFill); opacity: 0; animation: hm-fade 1.6s ease 2s forwards; }
@keyframes hm-draw { to { stroke-dashoffset: 0; } }
@keyframes hm-fade { to { opacity: 1; } }
.hero-in {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin: 0 0 28px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,161,80,.15); }
.hero-title {
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.0; letter-spacing: -.045em; font-weight: 700;
  color: var(--ink); margin: 0 0 26px;
}
.hero-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 33em; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-split { margin: 0; }
.hero-frame {
  border-radius: var(--radius); overflow: hidden; background: #0B0D12;
  box-shadow: 0 1px 2px rgba(15,17,21,.06), 0 30px 60px -20px rgba(15,17,21,.35);
  border: 1px solid #1E222B;
}
.hero-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #151821; border-bottom: 1px solid #232835; }
.hero-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #2E3442; }
.hero-url {
  margin-left: 14px; flex: 1; max-width: 260px; height: 24px; border-radius: 6px; background: #0B0D12;
  font-family: var(--mono); font-size: 12px; color: #8A91A0; display: flex; align-items: center; padding: 0 10px;
}
.hero-stage { position: relative; aspect-ratio: 16 / 11; touch-action: pan-y; user-select: none; -webkit-user-select: none; }

.hero-code {
  position: absolute; inset: 0; margin: 0; padding: 22px 22px 22px 0; overflow: hidden;
  font-family: var(--mono); font-size: clamp(10.5px, 1.05vw, 13px); line-height: 1.75; color: #C9D1E0; white-space: pre;
}
.hero-code .c-ln { display: inline-block; width: 44px; padding-right: 16px; text-align: right; color: #464D5C; }
.hero-code .c-t { color: #7AA2FF; }
.hero-code .c-a { color: #E5C07B; }
.hero-code .c-s { color: #98C379; }

.hero-design {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% 10%, #22252C 0%, #0A0A0C 60%);
  color: #fff; display: flex; flex-direction: column;
  clip-path: inset(0 calc(100% - var(--pos, 58%)) 0 0);
}
.mk-nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mk-logo { font-weight: 700; letter-spacing: .22em; font-size: 13px; background: linear-gradient(180deg, #F4F5F7, #9EA3AD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-links { font-size: 11px; color: #9AA0AA; white-space: nowrap; }
.mk-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 24px 22px; gap: 10px; }
.mk-kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #A9AEB8; }
.mk-h1 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; color: #F4F5F7; }
.mk-form { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 8px; }
.mk-in { border: 1px solid rgba(255,255,255,.16); border-radius: 7px; padding: 9px 10px; font-size: 11px; color: #8E949E; background: rgba(255,255,255,.03); }
.mk-btn { border-radius: 7px; padding: 9px 12px; font-size: 11px; font-weight: 700; color: #0A0A0C; background: linear-gradient(180deg, #F4F5F7, #B7BCC5); white-space: nowrap; }

.hero-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 58%); width: 2px; margin-left: -1px;
  background: var(--blue); pointer-events: none;
}
.hero-grip {
  position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(47,98,255,.25);
}
.hero-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.hero-stage:has(.hero-range:focus-visible) .hero-grip { box-shadow: 0 0 0 6px rgba(47,98,255,.25), 0 0 0 9px #fff, 0 0 0 11px var(--blue); }
.hero-cap {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 14px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
}
.hero-cap b { color: var(--ink); font-weight: 700; }

/* ================= STANDARD (Bento-Raster) ================= */
.bn { position: relative; isolation: isolate; padding-block: clamp(72px, 9vw, 128px); background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bn-in { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.bn-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.bn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.bn-tile {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 18px;
  padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.bn-tile:hover { transform: translateY(-5px); border-color: rgba(47,98,255,.4); box-shadow: 0 30px 60px -34px rgba(47,98,255,.45); }
.bn-k { font-family: var(--mono); font-size: 12.5px; color: var(--blue); }
.bn-tile h3 { margin: 6px 0 6px; font-size: clamp(20px, 1.9vw, 24px); letter-spacing: -.025em; line-height: 1.15; color: var(--ink); }
.bn-tile p { margin: 0; color: var(--muted); font-size: 15px; }
.bn-text { display: flex; flex-direction: column; }

/* 1: Code – groß und dunkel */
.bn-code { grid-column: 1 / 3; grid-row: 1 / 3; background: var(--ink); border-color: var(--ink); justify-content: space-between; }
.bn-code::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(47,98,255,.35), transparent 65%); }
.bn-code .bn-k { color: #7AA2FF; }
.bn-code h3 { color: #fff; font-size: clamp(28px, 3vw, 40px); }
.bn-code p { color: #A9AFBB; max-width: 26em; }
.bn-snippet { margin: 0; padding: 20px 22px; border-radius: 18px; background: #0A0C10; border: 1px solid #232835; font-family: var(--mono); font-size: clamp(12px, 1.1vw, 14px); line-height: 1.8; color: #C9D1E0; white-space: pre; overflow: hidden; }
.bn-snippet .c-t { color: #7AA2FF; } .bn-snippet .c-a { color: #E5C07B; } .bn-snippet .c-s { color: #98C379; }
.bn-cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; margin-left: 3px; background: var(--blue); animation: bn-blink 1s steps(1) infinite; }
@keyframes bn-blink { 50% { opacity: 0; } }
.bn-tags { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.bn-tags li { font-family: var(--mono); font-size: 12.5px; color: #fff; border: 1px solid #2F3542; border-radius: 999px; padding: 6px 12px; }

/* 2: Geräte */
.bn-dev { grid-column: 3 / 5; flex-direction: row; align-items: flex-end; justify-content: space-between; }
.bn-dev .bn-text { align-self: flex-start; max-width: 15em; }
.bn-devices { display: flex; align-items: flex-end; gap: 10px; flex: none; }
.bn-d { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bn-d i { display: block; border: 2px solid var(--ink); border-radius: 6px; background: linear-gradient(180deg, var(--blue-soft), #fff); transition: background-color .3s, border-color .3s; }
.bn-d b { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--muted); }
.bn-d-phone i { width: 22px; height: 40px; border-radius: 6px; }
.bn-d-tab i { width: 38px; height: 52px; }
.bn-d-lap i { width: 64px; height: 42px; border-radius: 5px 5px 2px 2px; }
.bn-d-mon i { width: 84px; height: 56px; }
.bn-dev:hover .bn-d i { border-color: var(--blue); }

/* 3: Google-Suche */
.bn-seo { grid-column: 3 / 5; flex-direction: row; align-items: center; justify-content: space-between; }
.bn-seo .bn-text { max-width: 15em; }
.bn-serp { display: flex; flex-direction: column; gap: 10px; width: min(56%, 290px); flex: none; }
.bn-serp-bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(15,17,21,.3); }
.bn-serp-bar svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.bn-serp-res { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); }
.bn-serp-res small { font-size: 11.5px; color: var(--muted); }
.bn-serp-res b { font-size: 14px; color: #1A0DAB; font-weight: 400; }
.bn-serp-res em { font-style: normal; font-size: 12px; color: var(--muted); }

/* 4: Einrichtung */
.bn-setup { grid-column: 1 / 3; flex-direction: row; align-items: flex-end; justify-content: space-between; }
.bn-setup .bn-text { align-self: flex-start; }
.bn-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.bn-checks li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }
.bn-checks i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); position: relative; flex: none; }
.bn-checks i::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 5: Vor Ort – blau */
.bn-onsite { grid-column: 3 / 5; background: var(--blue); border-color: var(--blue); }
.bn-onsite .bn-k { color: #DDE6FF; }
.bn-onsite h3 { color: #fff; }
.bn-onsite p { color: #DDE6FF; }
.bn-pin { width: 48px; height: 48px; border-radius: 15px; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-bottom: auto; }
.bn-pin svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bn-onsite:hover { border-color: var(--blue); }

/* ================= ARBEITEN ================= */
.work { padding-block: clamp(72px, 9vw, 128px); }
.work-in { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.work-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.work-sub { color: var(--muted); margin: 16px 0 0; font-size: 17px; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.work-note { margin: 28px 0 0; font-size: 13.5px; color: var(--muted); }

/* Liste */
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-item { border-bottom: 1px solid var(--line); }
.work-trigger {
  width: 100%; border: 0; background: transparent; cursor: pointer; text-align: left;
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap;
  padding: 24px 0; font: inherit; color: inherit;
}
.work-name { position: relative; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.03em; color: #9AA0AB; transition: color .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.work-name::after { content: ""; position: absolute; left: calc(100% + 12px); top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.work-meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.work-trigger:hover .work-name { color: var(--ink); }
.work-item.is-active .work-name { color: var(--ink); transform: translateX(6px); }
.work-item.is-active .work-name::after { transform: scale(1); }

/* Details: weiches Auf- und Zuklappen (keine Sprünge in der Liste) */
.work-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.work-detail-in { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.work-item.is-active .work-detail { grid-template-rows: 1fr; }
.work-item.is-active .work-detail-in { opacity: 1; transform: none; transition-delay: .08s; }
.work-detail-in > :last-child { margin-bottom: 26px; }
.work-tags { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags li { font-family: var(--mono); font-size: 12px; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.work-text { margin: 0 0 16px; color: var(--muted); max-width: 34em; }
.work-link { display: inline-block; font-weight: 700; color: var(--blue) !important; text-decoration: none; border-bottom: 1.5px solid var(--blue-soft); padding-bottom: 2px; }
.work-link:hover { border-bottom-color: var(--blue); }

/* Vorschau rechts: Bühne mit Überblendung */
.work-stage { position: sticky; top: 110px; aspect-ratio: 4 / 3; }
.work-stage .work-pv { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.work-stage .work-pv.is-in { opacity: 1; transform: none; }
.work-stage .work-pv.is-out { opacity: 0; transform: translateY(-10px) scale(.985); z-index: 0; }
.work-stage .work-pv.is-in { z-index: 1; }

/* Vorschau-Rahmen (wird per JavaScript aus den data-Angaben gebaut) */
.work-pv { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -28px rgba(15,17,21,.35); }
.work-pv.in-row { display: none; aspect-ratio: 4 / 3; margin-bottom: 26px; }
.pv-bar { height: 36px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #F1F3F7; border-bottom: 1px solid var(--line); }
.pv-bar span { width: 9px; height: 9px; border-radius: 50%; background: #D3D7DF; }
.pv-bar em { font-style: normal; margin-left: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); background: #fff; border-radius: 5px; padding: 3px 10px; }
.pv-view { position: relative; flex: 1; overflow: hidden; background: #fff; }
.pv-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 8% 9%; background: var(--pv-bg, var(--ink)); }
.pv-body b { font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: var(--pv-track, .04em); color: var(--pv-title, #fff); }
.pv-body i { font-style: normal; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--pv-text, #A9AFBB); }
.pv-body s { text-decoration: none; align-self: flex-start; margin-top: 18px; font-size: 13px; font-weight: 700; padding: 11px 18px; border-radius: 8px; background: var(--pv-btn, #fff); color: var(--pv-btn-text, #000); }
.pv-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pv-frame { position: absolute; top: 0; left: 0; width: 1440px; border: 0; transform-origin: 0 0; background: #fff; }
.pv-live {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  min-height: 40px; padding: 0 16px; border-radius: 8px; border: 0; cursor: pointer;
  font: 700 13px/1 var(--font); color: #fff; background: rgba(15,17,21,.88);
  box-shadow: 0 6px 18px rgba(15,17,21,.25); transition: background-color .2s;
}
.pv-live:hover, .work-pv.is-live .pv-live { background: var(--blue); }

/* ================= LEISTUNGEN ================= */
.svc { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 136px); background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); isolation: isolate; }
.svc-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 360px at 88% 0%, rgba(47,98,255,.16), transparent 70%),
    radial-gradient(420px 320px at 0% 100%, rgba(47,98,255,.10), transparent 70%),
    radial-gradient(circle, rgba(15,17,21,.10) 1px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}
.svc-in { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.svc-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc-item {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 30px;
  box-shadow: 0 1px 2px rgba(15,17,21,.04), 0 18px 40px -28px rgba(15,17,21,.25);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.svc-item:hover { transform: translateY(-6px); border-color: rgba(47,98,255,.45); box-shadow: 0 1px 2px rgba(15,17,21,.04), 0 28px 50px -26px rgba(47,98,255,.45); }
.svc-tile { width: 52px; height: 52px; border-radius: 15px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 26px; transition: background-color .3s; }
.svc-item:hover .svc-tile { background: var(--blue); }
.svc-ic { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.svc-item:hover .svc-ic { stroke: #fff; }
.svc-item:first-child { background: var(--ink); border-color: var(--ink); }
.svc-item:first-child .svc-tile { background: var(--blue); }
.svc-item:first-child .svc-ic { stroke: #fff; }
.svc-item:first-child h3 { color: #fff; }
.svc-item:first-child p { color: #A9AFBB; }
.svc-item h3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); margin: 0 0 10px; }
.svc-item p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ================= RESPONSIVE-DEMO ================= */
.rsp { padding-block: clamp(80px, 10vw, 136px); }
.rsp-in { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.rsp-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.rsp-lead { margin: 0; color: var(--muted); font-size: 17px; }
.rsp-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 20px; }
.rsp-devices { display: flex; gap: 4px; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; }
.rsp-dev { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 700 14px var(--font); cursor: pointer; transition: background-color .2s, color .2s; }
.rsp-dev svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rsp-dev:hover { color: var(--ink); }
.rsp-dev[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rsp-slider { display: flex; align-items: center; gap: 14px; flex: 1 1 280px; max-width: 460px; }
.rsp-slider input { flex: 1; accent-color: var(--blue); height: 28px; }
.rsp-px { font-family: var(--mono); font-size: 13.5px; color: var(--ink); background: var(--blue-soft); border-radius: 8px; padding: 6px 10px; min-width: 86px; text-align: center; }
.rsp-stage {
  border-radius: 28px; padding: clamp(14px, 3vw, 36px); background: var(--ink);
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 32px 32px; overflow: hidden;
}
.rsp-scaler { position: relative; margin: 0 auto; max-width: 100%; transition: width .45s cubic-bezier(.2,.8,.2,1), height .45s cubic-bezier(.2,.8,.2,1); }
.rsp-frame { position: absolute; top: 0; left: 0; width: 1280px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transform-origin: 0 0; transition: width .45s cubic-bezier(.2,.8,.2,1), transform .45s cubic-bezier(.2,.8,.2,1); }
.rsp-stage.is-dragging .rsp-scaler, .rsp-stage.is-dragging .rsp-frame { transition: none; }
.rsp-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #F1F3F7; border-bottom: 1px solid var(--line); }
.rsp-bar span { width: 9px; height: 9px; border-radius: 50%; background: #D3D7DF; flex: none; }
.rsp-bar em { font-style: normal; margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: #fff; border-radius: 5px; padding: 3px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Beispielseite: reagiert auf die Breite des Rahmens (Container Queries) */
.rsp-site { container-type: inline-size; container-name: site; color: #fff; font-size: 14px; background: #F6F1EA; }
.rs-hero { position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; }
.rs-sky { position: absolute; inset: 0; z-index: -6; background: linear-gradient(180deg, #2B2F6B 0%, #6C4E9B 30%, #E0738A 58%, #FFB37A 78%, #FFD9A0 100%); }
.rs-sun { position: absolute; z-index: -5; width: 22%; aspect-ratio: 1; left: 58%; top: 46%; border-radius: 50%; background: radial-gradient(circle, #FFF4D6 0%, #FFD38A 45%, rgba(255,190,120,0) 72%); }
.rs-mtn { position: absolute; left: 0; right: 0; bottom: 0; }
.rs-mtn-1 { z-index: -4; height: 58%; background: linear-gradient(180deg, #8E5C8F, #6A4778); clip-path: polygon(0 55%, 12% 30%, 22% 48%, 34% 12%, 46% 44%, 55% 30%, 66% 52%, 78% 22%, 90% 46%, 100% 28%, 100% 100%, 0 100%); opacity: .85; }
.rs-mtn-2 { z-index: -3; height: 44%; background: linear-gradient(180deg, #4E3566, #36264C); clip-path: polygon(0 40%, 10% 58%, 24% 26%, 38% 60%, 50% 36%, 62% 64%, 74% 30%, 88% 58%, 100% 40%, 100% 100%, 0 100%); }
.rs-mtn-3 { z-index: -2; height: 30%; background: linear-gradient(180deg, #24193A, #170F26); clip-path: polygon(0 30%, 16% 62%, 30% 40%, 46% 70%, 60% 44%, 76% 72%, 90% 48%, 100% 64%, 100% 100%, 0 100%); }
.rs-mist { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(20,14,34,.35) 0%, rgba(20,14,34,0) 30%, rgba(20,14,34,0) 50%, rgba(20,14,34,.75) 100%); }
.rs-nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; }
.rs-logo { font-weight: 400; letter-spacing: .3em; font-size: 14px; color: #fff; }
.rs-logo b { font-weight: 700; }
.rs-links { display: flex; align-items: center; gap: 24px; }
.rs-links i { font-style: normal; font-size: 13px; color: rgba(255,255,255,.88); }
.rs-links .rs-btn { color: #2B1E3F; background: #fff; padding: 8px 15px; border-radius: 999px; font-weight: 700; }
.rs-burger { display: none; flex-direction: column; gap: 4px; }
.rs-burger i { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.rs-copy { position: relative; margin-top: auto; padding: 0 32px 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rs-kick { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #FFD9A0; font-weight: 700; }
.rs-h { font-size: 60px; line-height: .98; font-weight: 700; letter-spacing: -.04em; color: #fff; }
.rs-p { font-size: 15px; color: rgba(255,255,255,.85); max-width: 30em; }
.rs-book { display: flex; align-items: stretch; margin-top: 8px; background: rgba(255,255,255,.95); border-radius: 14px; padding: 6px; gap: 4px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.rs-book > span:not(.rs-book-btn) { display: flex; flex-direction: column; padding: 8px 18px; color: #2B1E3F; font-weight: 700; font-size: 13px; border-right: 1px solid #ECE4F0; }
.rs-book small { font-size: 10.5px; font-weight: 400; color: #8B7F95; letter-spacing: .06em; text-transform: uppercase; }
.rs-book-btn { display: flex; align-items: center; padding: 0 18px; border-radius: 10px; background: #E0738A; color: #fff; font-weight: 700; font-size: 13px; }
.rs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 22px 32px 28px; }
.rs-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 16px; padding: 16px 18px; }
.rs-card b { font-size: 15px; color: #2B1E3F; }
.rs-card i { font-style: normal; font-size: 12.5px; color: #8B7F95; }
.rs-card .rs-ic { font-family: var(--mono); font-size: 11px; color: #E0738A; margin-bottom: 6px; }

@container site (max-width: 900px) {
  .rs-h { font-size: 46px; }
  .rs-links i:not(.rs-btn) { display: none; }
  .rs-book > span:nth-child(3) { display: none; }
}
@container site (max-width: 560px) {
  .rs-hero { aspect-ratio: 4 / 5.6; }
  .rs-sun { width: 40%; left: 50%; top: 38%; }
  .rs-nav { padding: 16px 20px; }
  .rs-links { display: none; }
  .rs-burger { display: flex; }
  .rs-copy { padding: 0 20px 22px; }
  .rs-h { font-size: 40px; }
  .rs-p { font-size: 14px; }
  .rs-book { flex-direction: column; width: 100%; }
  .rs-book > span:not(.rs-book-btn) { border-right: 0; border-bottom: 1px solid #ECE4F0; padding: 8px 12px; }
  .rs-book > span:nth-child(2), .rs-book > span:nth-child(3) { display: none; }
  .rs-book-btn { justify-content: center; padding: 12px; }
  .rs-cards { grid-template-columns: minmax(0, 1fr); padding: 16px 20px 22px; gap: 10px; }
}

/* ================= PROJEKT-KONFIGURATOR ================= */
.cfg { padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); }
.cfg-panel { max-width: 1440px; margin: 0 auto; background: var(--ink); color: #C3C8D2; border-radius: 40px; }
.cfg-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 8vw, 104px) max(20px, calc(var(--gutter-r) - 12px)) clamp(56px, 8vw, 104px) max(20px, calc(var(--gutter-l) - 12px)); }
.cfg .sx-h2 { color: #fff; }
.cfg-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.cfg-lead { margin: 16px 0 0; font-size: 17px; color: #A9AFBB; }
.cfg-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cfg-form { display: flex; flex-direction: column; gap: 26px; }
.cfg-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.cfg-set legend { padding: 0; margin-bottom: 12px; font-family: var(--mono); font-size: 13px; color: #7D8494; }
.cfg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-chip { position: relative; cursor: pointer; }
.cfg-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cfg-chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid #2F3542; color: #D5D9E1; font-size: 15px; transition: background-color .2s, border-color .2s, color .2s;
}
.cfg-chip:hover span { border-color: #5A6273; }
.cfg-chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.cfg-chip input[type="checkbox"]:checked + span::before { content: "✓"; margin-right: 8px; font-weight: 700; }
.cfg-chip input:focus-visible + span { outline: 2px solid #7AA2FF; outline-offset: 3px; }
.cfg-out { background: #0A0C10; border: 1px solid #232835; border-radius: 22px; overflow: hidden; position: sticky; top: 110px; }
.cfg-file { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid #232835; background: #12151C; }
.cfg-file span { width: 10px; height: 10px; border-radius: 50%; background: #2E3442; }
.cfg-file em { font-style: normal; margin-left: 10px; font-family: var(--mono); font-size: 12.5px; color: #8A91A0; }
.cfg-code { margin: 0; padding: 22px 22px 8px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #C9D1E0; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 250px; }
.cfg-code .k { color: #7AA2FF; } .cfg-code .s { color: #98C379; } .cfg-code .p { color: #6B7385; }
.cfg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 22px 22px; border-top: 1px solid #232833; }
.cfg-send {
  position: relative; isolation: isolate; overflow: hidden; flex: 1 1 240px;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 56px; padding: 6px 6px 6px 24px; border-radius: 999px;
  background: #fff; color: var(--ink) !important; text-decoration: none;
  font: 700 16px/1.2 var(--font); letter-spacing: -.01em;
  box-shadow: 0 10px 30px -12px rgba(47,98,255,.55);
  transition: color .35s ease, box-shadow .35s ease;
}
.cfg-send::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue);
  clip-path: circle(0% at 50% 50%); transition: clip-path .5s cubic-bezier(.2,.8,.2,1);
}
.cfg-send-ico {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s ease, color .35s ease;
}
.cfg-send:hover, .cfg-send:focus-visible { color: #fff !important; box-shadow: 0 14px 36px -10px rgba(47,98,255,.75); }
.cfg-send:hover::before, .cfg-send:focus-visible::before { clip-path: circle(75% at 50% 50%); }
.cfg-send:hover .cfg-send-ico, .cfg-send:focus-visible .cfg-send-ico { background: #fff; color: var(--blue); transform: translateX(2px) rotate(-45deg); }
.cfg-send:focus-visible { outline: 2px solid #7AA2FF; outline-offset: 3px; }
.cfg-copy {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  min-height: 56px; padding: 0 20px; border-radius: 999px;
  border: 1px solid #2F3542; background: transparent; color: #C3C8D2;
  font: 700 15px var(--font); cursor: pointer; transition: border-color .25s, color .25s, background .25s;
}
.cfg-copy:hover, .cfg-copy:focus-visible { border-color: #7AA2FF; color: #fff; background: rgba(122,162,255,.08); }
@media (max-width: 480px) { .cfg-copy { flex: 1 1 100%; justify-content: center; } }
.cfg-msg { margin: 0; padding: 0 22px 18px; font-size: 13.5px; color: #8FD3A8; min-height: 1em; }
.cfg-msg:empty { padding: 0; }

/* ================= KONTAKT ================= */
.cta { padding-block: clamp(72px, 9vw, 128px); }
.cta-in {
  max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
.cta-title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.04em; color: var(--ink); margin: 0 0 20px; text-wrap: balance; }
.cta-lead { color: var(--muted); font-size: 18px; margin: 0; max-width: 30em; }
.cta-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 28px 28px; background: var(--bg); box-shadow: 0 30px 60px -36px rgba(15,17,21,.3); }
.cta-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cta-k { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.cta-v { color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
a.cta-v:hover { color: var(--blue); }
.cta-btn { width: 100%; margin-top: 24px; }

/* ================= FOOTER ================= */
.ft { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #8A91A0; border-radius: 40px 40px 0 0; margin-top: clamp(24px, 4vw, 48px); }
.ft::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -360px; border-radius: 50%; background: radial-gradient(circle, rgba(47,98,255,.28), transparent 65%); pointer-events: none; }
.ft-mark { position: absolute; z-index: -1; right: -40px; bottom: -70px; width: 380px; height: auto; fill: #fff; opacity: .035; pointer-events: none; }
.ft-in {
  max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  padding-block: clamp(56px, 7vw, 96px) calc(28px + env(safe-area-inset-bottom, 0px));
}
.ft-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid #232835; }
.ft-big { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; color: #fff; }
.ft-hero-actions { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; }
.ft-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; background: var(--blue); color: #fff !important; font-weight: 700; font-size: 15.5px; text-decoration: none; transition: background-color .2s; }
.ft-cta:hover { background: var(--blue-dark); }
.ft-mail { color: #C3C8D2; text-decoration: none; font-weight: 700; border-bottom: 1.5px solid #2F3542; padding: 6px 0 4px; }
.ft-mail:hover { color: #fff; border-bottom-color: var(--blue); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(40px, 5vw, 56px); border-bottom: 1px solid #232835; }
.ft-logo { height: 40px; width: auto; margin-bottom: 18px; }
.ft-brand p { margin: 0; max-width: 26em; font-size: 15px; color: #A9AFBB; }
.ft-col h3 { margin: 6px 0 16px; font-family: var(--mono); font-size: 13px; font-weight: 400; color: #7AA2FF; letter-spacing: .02em; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: #C3C8D2; }
.ft-col li { padding: 6px 0; overflow-wrap: anywhere; }
.ft-col a { color: #C3C8D2; text-decoration: none; }
.ft-col a:hover { color: #fff; }
.ft-col .ft-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ft-cities li { padding: 4px 0; font-size: 14.5px; }
.ft-note { margin: 12px 0 0; font-size: 13px; color: #7D8494; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; }
.ft-bottom p { margin: 0; }
.ft-legal { display: flex; gap: 22px; }
.ft-legal a { color: #C3C8D2; text-decoration: none; padding: 8px 0; }
.ft-legal a:hover { color: #fff; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .bn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-code { grid-column: 1 / -1; grid-row: auto; }
  .bn-dev, .bn-seo { grid-column: 1 / -1; }
  .bn-setup { grid-column: 1 / 2; flex-direction: column; align-items: stretch; } .bn-onsite { grid-column: 2 / 3; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-stage { display: none; }
  .work-pv.in-row { display: flex; }
  .work-item.is-active .work-name { transform: none; }
  .cta-in { grid-template-columns: minmax(0, 1fr); }
  .cfg-grid { grid-template-columns: minmax(0, 1fr); }
  .rsp-head { grid-template-columns: minmax(0, 1fr); }
  .cfg-out { position: static; }
}
@media (max-width: 860px) {
  .hd-cta { display: none; }
  .hd-burger { display: block; }
  .hd-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter-r) 20px var(--gutter-l);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility 0s .2s;
    box-shadow: 0 20px 30px -20px rgba(15,17,21,.25);
  }
  .hd-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .2s; }
  .hd-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hd-nav a::after { display: none; }
  .hd-cta-m { display: flex; justify-content: center; margin-top: 16px; background: var(--blue); color: #fff !important; border-radius: 10px; border-bottom: 0 !important; font-weight: 700; }
}
@media (max-width: 600px) {
  .hd-in { height: 66px; }
  .hd-logo img { height: 36px; }
  .hero-stage { aspect-ratio: 4 / 5; }
  .hero-mark { height: 52%; top: 22%; left: 92%; }
  .mk-form { grid-template-columns: minmax(0, 1fr); }
  .hero-cap { flex-direction: column; gap: 4px; }
  .bn-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .bn-setup, .bn-onsite { grid-column: 1 / -1; }
  .bn-dev, .bn-seo { flex-direction: column; align-items: flex-start; }
  .bn-serp { width: 100%; }
  .bn-devices { align-self: center; }
  .bn-snippet { font-size: 11.5px; padding: 16px; }
  .bn-tile { padding: 22px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .rsp-devices { width: 100%; }
  .rsp-dev { flex: 1 1 0; min-width: 0; justify-content: center; gap: 6px; padding: 0 6px; font-size: 13px; }
  .rsp-dev svg { width: 16px; height: 16px; flex: none; }
  .rsp-stage { border-radius: 22px; padding: 12px; }
  .rsp-slider { max-width: none; }
  .cfg-panel { border-radius: 28px; }
  .ft { border-radius: 28px 28px 0 0; }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { padding: 6px 20px 22px; }
  .ft-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cfg-chip span { min-height: 42px; padding: 0 15px; font-size: 14.5px; }
  .cta-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sx-page *, .sx-page *::before, .sx-page *::after { transition: none !important; animation: none !important; }
  .hm-line { stroke-dashoffset: 0; }
  .hm-fill { opacity: 1; }
}
