:root {
  color-scheme: dark;
  --page: #020617;
  --surface: #0f172a;
  --surface-raised: #111c34;
  --line: rgb(148 163 184 / 23%);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --sky: #38bdf8;
  --sky-bright: #7dd3fc;
  --indigo: #312e81;
  --content-width: 70rem;
  --page-gutter: 1.5rem;
  --copy-width: 60ch;
  --nav-height: 4.75rem;
  --nav-compact-height: 3.85rem;
  --radius-control: .72rem;
  --radius-card: .82rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-compact-height) + 1.5rem);
}
body.bg-slate-950 {
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgb(56 189 248 / 34%); color: #fff; }
a { text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--sky-bright);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 10001;
  top: .75rem;
  left: .75rem;
  transform: translateY(-160%);
  background: var(--sky);
  color: var(--page);
  padding: .7rem 1rem;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  min-height: var(--nav-height);
  transition: min-height .28s ease, background-color .28s ease, border-color .28s ease, backdrop-filter .28s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
}
.site-nav-inner {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width));
  min-height: var(--nav-height);
  transition: min-height .28s ease;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
  transition: font-size .28s ease, gap .28s ease;
}
.brand-mark img { display: block; width: 2.5rem; height: 2rem; object-fit: contain; transition: width .28s ease, height .28s ease; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.85rem); }
.nav-links a {
  color: #cbd5e1;
  font-size: .875rem;
  text-decoration: none;
  transition: color .18s ease, padding .28s ease, font-size .28s ease;
}
.nav-links a:hover { color: var(--sky-bright); }
.nav-links .nav-cta {
  color: #03131d;
  background: var(--sky);
  border: 1px solid var(--sky);
  border-radius: var(--radius-control);
  padding: .72rem 1rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, padding .28s ease, font-size .28s ease;
}
.nav-links .nav-cta:hover { background: var(--sky-bright); transform: translateY(-1px); }
.site-nav.is-scrolled { --nav-height: var(--nav-compact-height); background: rgb(2 6 23 / 96%); border-color: rgb(56 189 248 / 18%); backdrop-filter: blur(18px); }
.site-nav.is-scrolled .brand-mark { gap: .5rem; font-size: .92rem; }
.site-nav.is-scrolled .brand-mark img { width: 2.05rem; height: 1.65rem; }
.site-nav.is-scrolled .nav-links .nav-cta { padding-block: .56rem; font-size: .82rem; }
.menu-toggle { display: none; }

.hero-section {
  box-sizing: border-box;
  height: 100svh;
  min-height: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-height) + clamp(.75rem, 2.8svh, 2rem)) 1.5rem clamp(3.75rem, 7svh, 4.5rem);
  background: #030817;
  text-align: center;
}
.hero-section::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -18%;
  background:
    radial-gradient(ellipse at 79% 59%, rgb(14 165 233 / 61%), transparent 42%),
    radial-gradient(ellipse at 77% 76%, rgb(56 189 248 / 38%), transparent 38%),
    radial-gradient(ellipse at 64% 30%, rgb(49 46 129 / 57%), transparent 52%),
    radial-gradient(ellipse at 31% 70%, rgb(30 64 175 / 28%), transparent 45%),
    linear-gradient(127deg, #030611 4%, #07152e 53%, #020617 100%);
  background-size: 130% 130%;
  animation: mesh-drift 26s ease-in-out infinite alternate;
}
.hero-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgb(125 211 252 / 48%) 0 1px, transparent 1.6px);
  background-size: 68px 68px;
  opacity: .16;
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}
.hero-glow {
  position: absolute;
  z-index: -2;
  width: min(58rem, 68vw);
  height: min(48rem, 82svh);
  right: -10vw;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse, rgb(14 165 233 / 32%), rgb(56 189 248 / 22%) 34%, rgb(49 46 129 / 16%) 48%, transparent 72%);
  filter: blur(34px);
  pointer-events: none;
  animation: glow-breathe 9s ease-in-out infinite alternate;
}
.hero-mesh {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .3;
  pointer-events: none;
}
.hero-mesh-lines path { fill: none; stroke: rgb(125 211 252 / 21%); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-mesh-nodes circle { fill: #38bdf8; opacity: .42; filter: drop-shadow(0 0 5px rgb(56 189 248 / 50%)); }
.network-lines path {
  fill: none;
  stroke: url(#hero-network-gradient);
  stroke-width: 1.25;
  stroke-dasharray: 4 13;
  animation: network-travel 44s linear infinite;
}
.network-lines path:nth-child(even) { animation-duration: 58s; animation-direction: reverse; }
.network-nodes circle {
  fill: var(--sky-bright);
  filter: drop-shadow(0 0 7px rgb(56 189 248 / 80%));
  opacity: .62;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 4.8s ease-in-out infinite;
}
.network-nodes circle:nth-child(3n) { animation-delay: -1.4s; }
.network-nodes circle:nth-child(3n + 1) { animation-delay: -2.7s; }

.hero-layout {
  width: min(100%, 82rem);
  margin-inline: auto;
  display: block;
}
.hero-content { width: min(100%, 82rem); position: relative; z-index: 2; margin-inline: auto; text-align: center; }
.hero-kicker {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.35rem;
  padding: .72rem 1rem;
  border: 1px solid rgb(125 211 252 / 24%);
  border-radius: 999px;
  background: rgb(2 6 23 / 42%);
  color: #bae6fd;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .04em;
  line-height: 1.3;
  text-transform: uppercase;
  animation: hero-enter .8s .05s both;
}
.hero-kicker span { color: var(--sky); padding-inline: .45rem; }
.hero-content h1 {
  max-width: 82rem;
  margin: 0;
  color: var(--text);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 820;
  text-wrap: balance;
}
.hero-line { display: block; animation: hero-enter .92s both; }
.hero-line:nth-child(1) { color: #b6c4d8; animation-delay: .16s; }
.hero-line:nth-child(2) {
  color: var(--sky-bright);
  text-shadow: 0 0 42px rgb(56 189 248 / 20%);
  animation-delay: .3s;
}
.hero-content > p:not(.hero-services):not(.hero-kicker) {
  max-width: 64ch;
  margin: clamp(1rem, 2svh, 1.4rem) auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.72;
  text-wrap: pretty;
  animation: hero-enter .85s .56s both;
}
.hero-actions {
  margin-top: clamp(.9rem, 2.4svh, 1.55rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .85rem 2.5rem;
  flex-wrap: wrap;
  animation: hero-enter .85s .68s both;
}
.button-primary, .button-secondary {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .95rem 1.35rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button-primary {
  border: 1px solid var(--sky);
  border-radius: var(--radius-control);
  color: #03131d;
  background: var(--sky);
  box-shadow: 0 9px 36px rgb(14 165 233 / 16%);
  cursor: pointer;
}
.button-primary:hover {
  background: var(--sky-bright);
  border-color: var(--sky-bright);
  box-shadow: 0 12px 42px rgb(14 165 233 / 28%);
  transform: translateY(-2px);
}
.button-secondary { color: #f1f5f9; border-bottom: 1px solid transparent; }
.button-secondary:hover { color: var(--sky-bright); border-color: var(--sky); }
.hero-services { margin: 2rem 0 0; color: #94a3b8; font-size: .8rem; letter-spacing: .03em; }
.hero-services span { color: var(--sky); padding-inline: .6rem; }
.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: clamp(.7rem, 2svh, 1.35rem);
  left: 50%;
  width: 1.5rem;
  height: 2.5rem;
  border: 1px solid rgb(148 163 184 / 45%);
  border-radius: 1rem;
  transform: translateX(-50%);
  display: grid;
  place-items: start center;
  padding-top: .45rem;
}
.scroll-cue span { width: 2px; height: .55rem; background: var(--sky); animation: cue-drop 1.8s ease-in-out infinite; }

.problem-section {
  position: relative;
  overflow: hidden;
  background: #000;
  --section-inset: clamp(4.5rem, 7vw, 6.5rem); padding: var(--section-inset) 1.5rem;
}
.problem-section::after {
  content: "";
  position: absolute;
  width: 35rem;
  height: 35rem;
  top: -18rem;
  right: -11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(49 46 129 / 27%), transparent 69%);
  pointer-events: none;
}
.section-wrap { position: relative; z-index: 1; max-width: var(--content-width); margin-inline: auto; }
.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(22rem, 1.1fr);
  align-items: center;
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: 1.25rem;
}
.problem-intro { min-width: 0; }
.problem-eyebrow {
  margin: 0 0 1.25rem;
  color: var(--sky-bright);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.problem-section h2 {
  max-width: 12ch;
  margin: 0 0 1.2rem;
  color: var(--text);
  font-size: clamp(2.6rem, 4.6vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 820;
}
.problem-title-accent { color: var(--sky); }
.problem-lead { max-width: 48ch; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.problem-visual { min-width: 0; display: grid; place-items: center; }
.problem-particle-art { display: block; width: 100%; height: auto; opacity: 1; pointer-events: none; }
.problem-orbit { fill: none; stroke: rgb(125 211 252 / 15%); stroke-width: 1; stroke-dasharray: 3 9; transform-origin: center; animation: orbit-turn 58s linear infinite; }
.problem-orbit-two { stroke: rgb(99 102 241 / 22%); animation-direction: reverse; animation-duration: 76s; }
.problem-flow-path { fill: none; stroke: url(#problem-flow-gradient); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 2 13; animation: network-travel 34s linear infinite; }
.problem-flow-path-secondary { opacity: .58; animation-duration: 46s; animation-direction: reverse; }
.problem-link { fill: none; stroke: rgb(125 211 252 / 30%); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.problem-points > circle:not(.problem-core-halo):not(.problem-core):not(.problem-core-center) { fill: var(--sky-bright); filter: drop-shadow(0 0 8px rgb(56 189 248 / 80%)); transform-box: fill-box; transform-origin: center; animation: node-pulse 4.6s ease-in-out infinite; }
.problem-points > circle:nth-child(2n) { animation-delay: -2s; }
.problem-core-halo { fill: url(#problem-core-gradient); }
.problem-core { fill: rgb(15 23 42 / 86%); stroke: rgb(125 211 252 / 76%); stroke-width: 1.2; filter: drop-shadow(0 0 18px rgb(56 189 248 / 38%)); }
.problem-core-center { fill: rgb(56 189 248 / 24%); stroke: rgb(125 211 252 / 72%); stroke-width: 1; }
.problem-core-mark { fill: var(--sky-bright); stroke: var(--sky-bright); stroke-width: 1.5; stroke-linecap: round; filter: drop-shadow(0 0 5px rgb(56 189 248 / 75%)); }
.problem-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.problem-list > div {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  align-items: start;
  gap: .9rem;
  min-height: 6.1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgb(148 163 184 / 17%);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgb(15 23 42 / 64%), rgb(2 6 23 / 32%));
  transition: border-color .22s ease, background-color .22s ease, transform .22s ease;
}
.problem-list > div:hover { border-color: rgb(56 189 248 / 42%); background-color: rgb(15 23 42 / 72%); transform: translateY(-2px); }
.problem-list span { color: var(--sky-bright); font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.problem-list p { max-width: 38ch; margin: 0; color: #e2e8f0; font-size: 1rem; line-height: 1.55; }
.problem-diagnostic {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 2rem;
  padding: .7rem 0;
  border: 0;
  border-bottom: 1px solid rgb(56 189 248 / 50%);
  background: transparent;
  color: var(--sky-bright);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.problem-diagnostic:hover { color: #fff; border-color: var(--sky-bright); }

@keyframes orbit-turn { to { rotate: 1turn; } }

.redesign-section { position: relative; --section-inset: clamp(5rem, 8.5vw, 7.5rem); padding: var(--section-inset) 1.5rem; overflow: hidden; }
.services-section, .process-section { background: var(--page); }
.cases-section, .cooperation-section { background: var(--surface); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(18rem, .75fr);
  align-items: start;
  gap: 2.5rem;
  max-width: var(--content-width);
  margin: 0 0 3rem;
}
.section-heading h2, .diagnostic-inner h2, .aftercare-inner h2, #kontakt h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.section-heading p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}
/* Reference icon silhouettes, inherited MaxStrategy accent. */
.site-icon { display: inline-block; width: 1.5rem; height: 1.5rem; flex: none; vertical-align: middle; }
.card-icon { width: 2rem; height: 2rem; color: var(--sky); }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.section-title-with-icon { display: flex; align-items: center; gap: .85rem; }
.section-title-with-icon > .site-icon { width: 1.9rem; height: 1.9rem; color: var(--sky); }
.section-title-with-icon > span { min-width: 0; }
.cooperation-grid .card-icon { margin-bottom: 1.25rem; }
.link-icon { width: 1.15rem; height: 1.15rem; transition: transform .2s ease; }
.text-link:hover .link-icon, .button-secondary:hover .link-icon { transform: translateX(4px); }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-item {
  position: relative;
  min-width: 0;
  min-height: 23rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1.55rem;
  overflow: hidden;
  border: 1px solid rgb(148 163 184 / 22%);
  border-radius: 10px;
  background: #111e2e;
  transition: border-color .24s ease, transform .24s ease, box-shadow .24s ease;
}
.service-item:hover {
  border-color: rgb(56 189 248 / 56%);
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgb(2 6 23 / 40%);
}
.service-index {
  position: relative;
  z-index: 1;
  color: var(--sky-bright);
  font-size: .78rem;
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
}
.service-item > div:first-of-type { position: relative; z-index: 1; }
.service-item h3, .case-grid h3, .process-list h3, .cooperation-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.service-item > div p, .case-grid p, .process-list p, .cooperation-grid p { color: var(--muted); line-height: 1.7; }
.service-item > div p { max-width: 40ch; margin: .75rem 0 0; }
.service-price { margin: auto 0 0; color: #e0f2fe; font-weight: 700; }
.service-price small { display: block; margin-top: .35rem; color: #94a3b8; font-size: .76rem; font-weight: 400; }
.service-suboffers { display: grid; gap: .7rem; margin-top: auto; }
.service-suboffers .service-price { margin: 0; }
.text-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .5rem;
  margin-top: .2rem;
  padding: .35rem 0;
  border: 0;
  background: transparent;
  color: var(--sky-bright);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover { color: #fff; }
.text-link:hover span { transform: translateX(4px); }
.section-note { max-width: 60ch; margin: 1.3rem 0 0 auto; color: #94a3b8; font-size: .88rem; line-height: 1.6; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.case-grid article {
  position: relative;
  min-width: 0;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgb(148 163 184 / 22%);
  border-radius: 10px;
  background: #111e2e;
  transition: border-color .24s ease, transform .24s ease, background-color .24s ease;
}
.case-grid article:hover { border-color: rgb(56 189 248 / 52%); transform: translateY(-4px); }
.case-grid article > * { position: relative; z-index: 1; }
.case-type { margin: 0 0 .85rem; color: var(--sky-bright) !important; font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.case-grid h3 { max-width: 20ch; font-size: clamp(1.45rem, 2.3vw, 1.95rem); }
.case-grid p:not(.case-type) { max-width: 55ch; margin: .8rem 0 0; }
.case-flow { display: flex; align-items: stretch; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; color: #cbd5e1; font-size: .82rem; }
.case-flow span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .56rem .68rem;
  border: 1px solid rgb(148 163 184 / 22%);
  border-radius: .45rem;
  background: rgb(2 6 23 / 33%);
}
.case-flow span + span::before { content: "→"; color: var(--sky); }
.case-grid .case-result { margin-top: 1.3rem; color: #e0f2fe; font-weight: 650; }
.diagnostic-section {
  position: relative;
  overflow: hidden;
  --section-inset: 3.5rem; padding: var(--section-inset) 1.5rem;
  background: linear-gradient(100deg, #0b1530, #101a36 55%, #0b1530);
  border-block: 1px solid rgb(56 189 248 / 20%);
}
.diagnostic-section::after {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  top: -20rem;
  right: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(14 165 233 / 22%), transparent 70%);
  pointer-events: none;
}
.diagnostic-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.diagnostic-inner h2 { max-width: 15ch; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.diagnostic-inner p { max-width: 50ch; margin: .8rem 0 0; color: var(--muted); line-height: 1.65; }
.button-primary { cursor: pointer; }
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  position: relative;
  min-width: 0;
  padding: 1.35rem 1.2rem 1.5rem;
  border: 1px solid rgb(148 163 184 / 21%);
  border-radius: 10px;
  background: #111e2e;
}
.process-list li > span {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  margin-bottom: 2.2rem;
  border: 1px solid rgb(56 189 248 / 42%);
  border-radius: 50%;
  color: var(--sky-bright);
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
}
.process-list h3 { font-size: 1.12rem; }
.process-list p { max-width: 32ch; margin: .7rem 0 0; font-size: .9rem; }
.cooperation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cooperation-grid article {
  min-width: 0;
  min-height: 21rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid rgb(148 163 184 / 23%);
  border-radius: 10px;
  background: #111e2e;
  transition: border-color .22s ease, transform .22s ease;
}
.cooperation-grid article:hover { border-color: rgb(56 189 248 / 50%); transform: translateY(-4px); }
.cooperation-grid h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); }
.cooperation-grid article > p:not(.case-type) { max-width: 42ch; }
.cooperation-grid ul { padding-left: 1.2rem; color: var(--muted); line-height: 1.8; }
.cooperation-price { margin: auto 0 1rem; color: #e0f2fe !important; font-weight: 700; }
.cooperation-grid .button-primary { margin-top: auto; width: 100%; }
.aftercare-section {
  position: relative;
  overflow: hidden;
  --section-inset: clamp(4rem, 7.5vw, 6.5rem); padding: var(--section-inset) 1.5rem;
  background: linear-gradient(105deg, #080f20, #0c1630 56%, #070d1c);
  border-top: 1px solid rgb(148 163 184 / 16%);
}
.aftercare-section::before {
  content: "";
  position: absolute;
  width: 25rem;
  height: 25rem;
  left: 48%;
  top: -17rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(56 189 248 / 14%), transparent 70%);
}
.aftercare-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(20rem, 1fr); gap: 2.5rem; align-items: start; }
.aftercare-inner h2 { max-width: 13ch; font-size: clamp(2rem, 4vw, 3.15rem); }
.aftercare-inner p { max-width: 58ch; margin: 0 0 .9rem; color: var(--muted); line-height: 1.75; }
#kontakt {
  position: relative;
  overflow: hidden;
  --section-inset: clamp(5rem, 9vw, 8rem); padding: var(--section-inset) 1.5rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgb(49 46 129 / 38%), transparent 59%),
    radial-gradient(ellipse at 74% 78%, rgb(14 165 233 / 13%), transparent 38%),
    var(--page);
}
#kontakt > div { position: relative; max-width: var(--content-width); }
#kontakt h2 { max-width: 15ch; margin-inline: auto; }
#kontakt p { max-width: 56ch; margin: 1.3rem auto 0; color: var(--muted); line-height: 1.75; }
#kontakt .mt-8 { justify-content: center; }
#faq { --section-inset: clamp(4rem, 8vw, 6.5rem); padding: var(--section-inset) 1.5rem; background: var(--surface); }
#faq > div { max-width: var(--content-width); }
#faq h2 { margin: 0; color: var(--text); font-size: clamp(2.35rem, 4.4vw, 3.6rem); letter-spacing: -.05em; }
#faq details { padding: 1.25rem 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
#faq details:last-child { border-bottom: 1px solid var(--line); }
#faq summary { font-size: 1.05rem; line-height: 1.45; cursor: pointer; }
#faq details > p { max-width: 64ch; color: var(--muted); font-size: .95rem; line-height: 1.75; }
footer { border-top: 1px solid var(--line); background: #020617 !important; }
body > [data-modal] { z-index: 1100; }
.glow:hover { box-shadow: 0 10px 24px rgb(56 189 248 / 30%); }

/* Shared dialog surfaces: reference proportions, MaxStrategy blue accents. */
body {
  --dialog-ground: #0b1421;
  --dialog-field: #111e2e;
  --dialog-line: rgb(255 255 255 / 16%);
  --dialog-muted: #bdc9d8;
}
body #quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgb(0 3 10 / 80%);
  backdrop-filter: blur(6px);
}
body > [data-modal] > button[data-close-modal] {
  background: rgb(0 3 10 / 80%);
  backdrop-filter: blur(6px);
}
body #quiz-overlay.active { display: flex; }
body #quiz-box, body > [data-modal] .ms-dialog {
  background: var(--dialog-ground);
  border: 1px solid var(--dialog-line);
  border-radius: 12px;
  box-shadow: 0 28px 80px rgb(0 0 0 / 55%);
  color: #fff;
}
body #quiz-box {
  position: relative;
  width: 100%;
  overflow-y: auto;
  max-width: 46rem;
  max-height: calc(100svh - 2rem);
  padding: clamp(1.5rem, 4vw, 3rem);
}
body > [data-modal] > .fixed.inset-0.flex > div { max-width: 48rem; }
body > [data-modal] .ms-dialog { max-height: calc(100svh - 2rem); }
body > [data-modal] .ms-dialog-header { padding: clamp(1.5rem, 4vw, 3rem); padding-bottom: 1.5rem; gap: 1rem; }
body > [data-modal] .js-scroll-body { padding-inline: clamp(1.5rem, 4vw, 3rem); padding-bottom: 1.75rem; min-height: 0; }
body > [data-modal] .ms-dialog-footer { background: var(--dialog-ground); border-color: var(--dialog-line); padding: 1.25rem clamp(1.5rem, 4vw, 3rem); }
body #quiz-title, body > [data-modal] #modal-title, body #quiz-step-result > .flex > h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
  color: #fff;
}
body > [data-modal] #modal-subtitle { margin-top: 1rem; font-size: 1rem; line-height: 1.65; color: var(--dialog-muted); }
body #quiz-step-questions .quiz-eyebrow { display: none; }
body #quiz-step-questions > .flex.items-center.justify-between { align-items: flex-start; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--dialog-line); }
body #quiz-box h2, body #quiz-box h3 { letter-spacing: -.025em; }
body #quiz-question-container > p, body #quiz-result-title { margin-bottom: 1.25rem; font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; line-height: 1.4; color: #fff; }
body #quiz-question-container { counter-reset: quiz-option; }
body #quiz-question-container button {
  display: flex; gap: .75rem; align-items: center; min-height: 3.5rem;
  padding: 1rem 1.25rem; border: 1px solid var(--dialog-line); border-radius: 8px;
  background: var(--dialog-field); color: #dce5ef; text-align: left; font-size: .95rem;
  transition: border-color .18s ease, background-color .18s ease;
}
body #quiz-question-container button::before { counter-increment: quiz-option; content: counter(quiz-option, decimal-leading-zero); flex: 0 0 1.5rem; color: var(--sky); font-size: .75rem; font-variant-numeric: tabular-nums; }
body #quiz-question-container button:hover { border-color: var(--sky); background: #152a3d; }
body #quiz-question-container button[class*="bg-sky"] { background: #103148; border-color: var(--sky); color: #fff; box-shadow: none; }
body #quiz-box input, body > [data-modal] input:not([type="checkbox"]), body > [data-modal] textarea, body > [data-modal] select {
  min-height: 3rem; border: 1px solid var(--dialog-line); border-radius: 6px;
  background: var(--dialog-field); color: #fff; padding: .8rem 1rem; font-size: 1rem;
  caret-color: var(--sky); transition: border-color .18s ease;
}
body #quiz-box input::placeholder, body > [data-modal] input::placeholder, body > [data-modal] textarea::placeholder { color: #8fa3b9; }
body > [data-modal] input[type="checkbox"] { accent-color: var(--sky); flex-shrink: 0; }
body #quiz-box input:focus, body > [data-modal] input:focus, body > [data-modal] textarea:focus, body > [data-modal] select:focus { border-color: var(--sky); outline: 2px solid rgb(56 189 248 / 35%); outline-offset: 2px; box-shadow: none; }
body #quiz-btn-next, body #quiz-submit-email, body > [data-modal] .js-submit, body #cookie-accept {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3rem; padding: .85rem 1.5rem; border: 1px solid transparent; border-radius: 8px;
  background: var(--sky); color: #020617; font-size: .95rem; font-weight: 750; box-shadow: none;
  transition: background-color .18s ease;
}
body #quiz-btn-next:hover:not(:disabled), body #quiz-submit-email:hover, body > [data-modal] .js-submit:hover, body #cookie-accept:hover { background: var(--sky-bright); }
body #quiz-btn-next:disabled { background: #22374a; color: #a7b8ca; cursor: not-allowed; opacity: 1; }
body #quiz-btn-prev, body > [data-modal] .ms-dialog-footer [data-close-modal], body #cookie-decline { min-height: 3rem; padding: .85rem 1.25rem; border: 1px solid var(--dialog-line); border-radius: 8px; background: transparent; color: #dce5ef; font-size: .95rem; }
body #quiz-btn-prev:hover, body > [data-modal] .ms-dialog-footer [data-close-modal]:hover, body #cookie-decline:hover { background: var(--dialog-field); border-color: #8fa3b9; }
body #quiz-close, body #quiz-box .quiz-close-btn, body > [data-modal] .ms-dialog-header [data-close-modal] { display: grid; place-items: center; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; padding: .6rem; margin: 0; border: 1px solid var(--dialog-line); border-radius: 50%; background: transparent; color: #bdc9d8; }
body #quiz-close:hover, body #quiz-box .quiz-close-btn:hover, body > [data-modal] .ms-dialog-header [data-close-modal]:hover { color: #fff; border-color: var(--sky); background: var(--dialog-field); }
body #quiz-box .text-slate-400, body #quiz-box .text-slate-500, body > [data-modal] .text-slate-300 { color: var(--dialog-muted); }
body #quiz-box .border-slate-800, body > [data-modal] .border-slate-700 { border-color: var(--dialog-line); }
body #quiz-result-card { padding: 1.5rem; border: 1px solid var(--dialog-line); border-radius: 8px; background: var(--dialog-field); }
body #quiz-result-text { color: var(--dialog-muted); line-height: 1.7; }
body #cookie-consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 10000;
  max-width: 70rem;
  margin-inline: auto;
  padding: 1.5rem 1.75rem;
  background: var(--dialog-ground);
  border: 1px solid var(--dialog-line);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgb(0 0 0 / 45%);
  backdrop-filter: none;
}
body #cookie-consent.hidden { display: none; }
body #cookie-consent p { max-width: 54ch; margin: 0; color: var(--dialog-muted); line-height: 1.6; }
body #cookie-consent .cookie-content { gap: 2rem; }
body #cookie-consent .cookie-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
@media (min-width: 768px) {
  body #cookie-consent .cookie-content { display: flex; align-items: center; justify-content: space-between; }
  body #cookie-consent .cookie-actions { margin-top: 0; justify-content: flex-end; flex: 0 0 auto; }
}
@media (max-width: 620px) {
  body #quiz-overlay { padding: .75rem; }
  body #quiz-box { max-height: calc(100svh - 1.5rem); padding: 1.5rem; }
  body > [data-modal] > .fixed.inset-0.flex { padding: .75rem; }
  body > [data-modal] .ms-dialog { max-height: calc(100svh - 1.5rem); }
  body #cookie-consent { left: .75rem; right: .75rem; bottom: .75rem; padding: 1.25rem; }
  body #cookie-consent .cookie-actions { display: grid; grid-template-columns: 1fr; }
}

[data-reveal] { --reveal-delay: 0ms; }
[data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay);
}
[data-reveal].reveal-pending.is-visible { opacity: 1; transform: translateY(0); }

@keyframes mesh-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); background-position: 0% 50%; }
  to { transform: translate3d(1.5%, 1.2%, 0) scale(1.06); background-position: 100% 50%; }
}
@keyframes glow-breathe { from { opacity: .6; scale: .94; } to { opacity: 1; scale: 1.05; } }
@keyframes network-travel { to { stroke-dashoffset: -700; } }
@keyframes node-pulse { 0%, 100% { opacity: .38; scale: .82; } 50% { opacity: .9; scale: 1.15; } }
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(1.2rem); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes cue-drop { 0%, 100% { transform: translateY(0); opacity: .65; } 52% { transform: translateY(.65rem); opacity: 1; } }

@media (max-width: 960px) {
  :root { --nav-height: 4.25rem; --nav-compact-height: 3.6rem; }
  :root { --page-gutter: 1.25rem; }
  .brand-mark img { width: 2.35rem; height: 1.9rem; }
  .site-nav.is-scrolled .brand-mark img { width: 1.9rem; height: 1.55rem; }
  .site-nav.is-scrolled .menu-toggle { width: 2.5rem; height: 2.5rem; }
  .menu-toggle {
    display: flex;
    width: 2.8rem;
    height: 2.8rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 1px solid rgb(148 163 184 / 32%);
    background: transparent;
    color: #fff;
  }
  .menu-toggle span { display: block; width: 1.15rem; height: 1px; background: currentColor; transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(.22rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-.22rem) rotate(-45deg); }
  .nav-links { position: absolute; inset: var(--nav-height) 0 auto; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: .4rem 1rem 1rem; background: #020617; border-bottom: 1px solid var(--line); }
  .site-nav.nav-ready:not(.nav-open) .nav-links { display: none; }
  .site-nav.nav-open .nav-links { display: flex; }
  .nav-links a { padding: .95rem .4rem; font-size: 1rem; }
  .nav-links .nav-cta { margin-top: .5rem; padding: .85rem 1rem; text-align: center; }
  .hero-section { height: 100svh; min-height: 0; padding: calc(var(--nav-height) + clamp(.75rem, 2.5svh, 1.5rem)) 1.25rem clamp(3.6rem, 6svh, 4.2rem); }
  .hero-layout { width: min(100%, 44rem); display: block; }
  .hero-content { width: min(100%, 40rem); margin-inline: auto; text-align: center; }
  .hero-content h1 { max-width: none; margin-inline: auto; font-size: clamp(2.8rem, 6.6vw, 4rem); line-height: 1.12; }
  .hero-kicker { margin-inline: auto; }
  .hero-content > p:not(.hero-services):not(.hero-kicker) { max-width: 54ch; margin: clamp(1rem, 2svh, 1.35rem) auto 0; font-size: 1.05rem; line-height: 1.62; }
  .hero-actions { justify-content: center; margin-top: clamp(1rem, 2.2svh, 1.45rem); }
  .hero-glow { width: 68vw; right: -18%; }
  .problem-section { padding-inline: 1.25rem; }
  .problem-layout { column-gap: 1.5rem; }
  .problem-list > div { grid-template-columns: 2rem minmax(0, 1fr); gap: .7rem; padding: 1rem; }
  .problem-list p { font-size: .96rem; }
  .redesign-section { padding-inline: 1.25rem; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
  .section-heading p { max-width: 56ch; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-item { min-height: 21rem; }
  .service-item:last-child { grid-column: 1 / -1; min-height: auto; }
  .service-item:last-child > div p { max-width: 52ch; }
  .case-grid { gap: .8rem; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cooperation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cooperation-grid article:last-child { grid-column: 1 / -1; min-height: auto; }
  .aftercare-inner { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 620px) {
  :root { --page-gutter: 1.15rem; }
  .hero-section { height: 100svh; min-height: 0; padding: calc(var(--nav-height) + clamp(.55rem, 1.8svh, 1.15rem)) 1.1rem clamp(3.1rem, 5svh, 3.8rem); }
  .hero-content h1 { max-width: none; font-size: clamp(2.3rem, 9.2vw, 3.3rem); line-height: 1.13; letter-spacing: -.035em; }
  .hero-line { text-wrap: balance; }
  .hero-kicker { margin-bottom: clamp(.85rem, 2.2svh, 1.35rem); padding: .62rem .76rem; font-size: .75rem; letter-spacing: .025em; }
  .hero-kicker span { padding-inline: .2rem; }
  .hero-content > p:not(.hero-services):not(.hero-kicker) { max-width: 34ch; margin-top: clamp(.7rem, 1.8svh, 1.1rem); font-size: 1rem; line-height: 1.55; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .55rem; margin-top: clamp(.75rem, 2svh, 1.15rem); }
  .button-primary, .button-secondary { width: 100%; }
  .hero-actions .button-primary, .hero-actions .button-secondary { min-height: 3.05rem; padding-block: .7rem; }
  .hero-glow { width: 100vw; height: 27rem; right: -32%; top: 58%; }
  .scroll-cue { bottom: 1.25rem; }
  .problem-section, .redesign-section, #kontakt, #faq, .aftercare-section { padding-inline: 1.15rem; }
  .problem-layout { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
  .problem-section h2 { max-width: 13ch; font-size: clamp(2.55rem, 10vw, 3.65rem); }
  .problem-eyebrow { margin-bottom: .85rem; }
  .problem-lead { max-width: 42ch; font-size: 1rem; }
  .problem-visual { max-height: 16rem; overflow: hidden; }
  .problem-particle-art { width: min(100%, 28rem); }
  .problem-list { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .problem-list > div { grid-template-columns: 1.8rem minmax(0, 1fr); gap: .7rem; min-height: auto; padding: .95rem 1rem; }
  .problem-list p { font-size: .96rem; }
  .problem-diagnostic { grid-column: auto; margin-top: .6rem; }
  .section-heading { margin-bottom: 2rem; }
  .service-list, .case-grid, .cooperation-grid { grid-template-columns: minmax(0, 1fr); }
  .service-item, .service-item:last-child { grid-column: auto; min-height: 0; padding: 1.3rem; }
  .service-price, .service-suboffers { margin-top: .2rem; }
  .service-suboffers { gap: .55rem; }
  .service-item > div p { max-width: 44ch; }
  .section-note { margin-left: 0; }
  .case-grid article { padding: 1.35rem; }
  .case-flow { align-items: flex-start; flex-direction: column; }
  .case-flow span { max-width: 100%; }
  .diagnostic-section { padding: 2.75rem 1.15rem; }
  .diagnostic-inner { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .diagnostic-inner .button-primary { width: 100%; }
  .process-list, .cooperation-grid { grid-template-columns: minmax(0, 1fr); }
  .process-list li { padding: 1.2rem 1.1rem; }
  .process-list li > span { margin-bottom: 1.2rem; }
  .cooperation-grid article, .cooperation-grid article:last-child { grid-column: auto; min-height: 0; padding: 1.3rem; }
  .cooperation-grid .button-primary { width: 100%; }
  .aftercare-inner { gap: .8rem; }
  #kontakt .mt-8 { flex-direction: column; }
}
@media (max-width: 380px) {
  .hero-content h1 { font-size: 2.3rem; }
  .hero-kicker { font-size: .75rem; }
}
@media (max-height: 780px) {
  .hero-content h1 { font-size: clamp(3rem, 6vw, 5.8rem); line-height: 1.12; }
  .hero-kicker { margin-bottom: clamp(.65rem, 1.5svh, 1rem); padding-block: .55rem; }
  .hero-content > p:not(.hero-services):not(.hero-kicker) { margin-top: clamp(.6rem, 1.4svh, .95rem); line-height: 1.5; }
  .hero-actions { margin-top: clamp(.65rem, 1.8svh, 1rem); }
  .hero-actions .button-primary, .hero-actions .button-secondary { min-height: 3.15rem; padding-block: .72rem; }
}
@media (max-height: 680px) {
  .hero-section { padding-top: calc(var(--nav-height) + .35rem); padding-bottom: 2.25rem; }
  .hero-content h1 { font-size: clamp(2.2rem, 4.1vw, 3.75rem); line-height: 1.08; }
  .hero-content > p:not(.hero-services):not(.hero-kicker) { max-width: 58ch; font-size: .95rem; line-height: 1.45; }
  .hero-kicker { margin-bottom: .7rem; padding-block: .48rem; }
  .hero-actions { margin-top: .75rem; }
  .hero-actions .button-primary, .hero-actions .button-secondary { min-height: 2.65rem; padding-block: .45rem; }
  .hero-services { margin-top: .8rem; }
  .scroll-cue { display: grid; width: 1.1rem; height: 1.65rem; bottom: .35rem; padding-top: .25rem; }
  .scroll-cue span { height: .35rem; }
}
@media (min-width: 621px) and (max-height: 780px) {
  .hero-content h1 { font-size: clamp(5.25rem, 6.6vw, 5.5rem); line-height: 1.18; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal].reveal-pending { opacity: 1; transform: none; }
}


.button-primary .cta-arrow { display: grid; place-items: center; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #020617; color: var(--sky); }
.button-primary .cta-arrow .site-icon { width: 1.1rem; height: 1.1rem; }

/* Shared page grid: full-bleed section backgrounds, aligned content edges. */
.problem-section, .redesign-section, .diagnostic-section, .aftercare-section, #kontakt, #faq, footer {
  padding-inline: var(--page-gutter);
}
footer > div[class] { max-width: var(--content-width); padding-inline: 0; }

/* Anchor the content edge, accounting for the fixed compact navigation. */
section[id] { scroll-margin-top: calc(-1 * var(--section-inset, 0px)); }
#top { scroll-margin-top: 0; }
/* Leave enough document below the last heading for the same anchor position. */
#kontakt { min-height: 0; }

/* Contact and mentoring: a branded introduction beside the working form. */
.ms-dialog-brand, .ms-dialog-art { display: none; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) > .fixed.inset-0.flex > div { max-width: 66rem; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog {
  position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-rows: minmax(0, 1fr) auto; height: min(48rem, calc(100svh - 2rem));
  border-radius: 12px; background: #0b1421;
}
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-header {
  grid-column: 1; grid-row: 1 / 3; display: block; padding: 3rem 2.5rem;
  background: #000; border-right: 1px solid var(--dialog-line); overflow: hidden;
}
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-intro { position: relative; height: 100%; display: flex; flex-direction: column; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-brand { display: flex; gap: .65rem; align-items: center; margin-bottom: 3rem; font-size: 1rem; font-weight: 700; color: #fff; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) #modal-title { max-width: 10ch; font-size: clamp(2.25rem, 3.5vw, 3.2rem); line-height: 1.04; letter-spacing: -.035em; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) #modal-subtitle { margin-top: 1.5rem; line-height: 1.7; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-art { display: block; width: calc(100% + 3rem); max-width: none; height: auto; margin: auto -1.5rem 0; padding-top: 2rem; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-header [data-close-modal] { position: absolute; z-index: 2; top: 1rem; right: 1rem; border: 0; border-radius: 6px; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .js-scroll-body { grid-column: 2; grid-row: 1; padding: 4.5rem 2.5rem 1.5rem; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-footer { grid-column: 2; grid-row: 2; padding: 1.25rem 2.5rem; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-footer > div { display: flex; flex-direction: row; }
body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .js-submit { flex: 1; }
@media (max-width: 760px) {
  body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; height: calc(100svh - 1.5rem); }
  body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-header { grid-column: 1; grid-row: 1; padding: 1.5rem; padding-right: 4rem; border-right: 0; border-bottom: 1px solid var(--dialog-line); }
  body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-brand { margin-bottom: 1.25rem; font-size: .85rem; }
  body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) #modal-title { max-width: 15ch; font-size: 1.9rem; }
  body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) #modal-subtitle { margin-top: .85rem; font-size: .9rem; line-height: 1.5; }
  body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-art { display: none; }
  body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .js-scroll-body { grid-column: 1; grid-row: 2; padding: 1.5rem; }
  body > [data-modal]:is([data-purpose="contact"], [data-purpose="mentoring"]) .ms-dialog-footer { grid-column: 1; grid-row: 3; padding: 1rem 1.5rem; }
}

/* Reference-style pointer spotlight; a visual layer never intercepts clicks. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-spotlight { position: relative; isolation: isolate; }
  .cursor-spotlight::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(340px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgb(56 189 248 / 19%), transparent 65%);
    transition: opacity .25s ease;
  }
  .cursor-spotlight.spotlight-active::after { opacity: 1; }
}
a[href], button:not(:disabled), summary, [role="button"] { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a:focus-visible, button:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
