/* Homepage sections. */

/* =============================================================== STAGE */
.stage {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46vw 56vh at 71.5% 50%, rgb(28 60 150 / 0.22) 0%, rgb(var(--bg-rgb) / 0) 100%);
}
.stage canvas { width: 100%; height: 100%; display: block; }
.stage.is-hidden { visibility: hidden; }
/* the still of the mark: same mark, same place (the image centre sits on the mark's core, the shadow hangs below) */
.stage-fallback {
  display: none; position: absolute; left: 71.5%; top: 45%; width: min(41.2vw, 628px); height: auto;
  transform: translate(-51.7%, -41.1%); transition: opacity .7s ease;
}
.still .stage-fallback, .no-webgl .stage-fallback, .stage.is-swapping .stage-fallback { display: block; }
.stage.is-swapping.is-ready .stage-fallback { opacity: 0; }
.still .stage canvas, .no-webgl .stage canvas { display: none; }
/* the live mark fades in over the still once three.js is ready */
.stage canvas { transition: opacity .7s ease; }
.stage:not(.is-ready) canvas { opacity: 0; }
.still .stage, .no-webgl .stage { position: absolute; height: 100vh; height: 100svh; }
.rm .stage { position: absolute; height: 100vh; height: 100svh; }
.alerts { display: none; }
main, .foot { position: relative; z-index: 1; }

/* ================================================================ HERO */
.hero { min-height: min(100svh, 940px); display: flex; flex-direction: column; }
.hero-in { flex: 1; display: flex; align-items: center; padding: 140px 0 64px; }
.hero-copy { width: min(640px, 52%); }
.hero .lead { margin-top: 28px; }
.hero-act { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 36px; margin-top: 40px; }

.hero-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); padding: 34px 0 40px;
}
.hs { display: flex; gap: 22px; padding: 0 32px; min-width: 0; }
.hs + .hs { border-left: 1px solid var(--line); }
.hs:first-child { padding-left: 0; }
.hs-ic { width: 40px; height: 40px; flex: none; fill: none; stroke: #e9ebef; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hs-ic .b { stroke: var(--core-hi); filter: drop-shadow(0 0 4px rgb(var(--core-rgb) / .9)); }
.hs-t { font: 700 18px/1.3 var(--f-display); letter-spacing: -0.01em; }
.hs p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--mute); max-width: 30ch; }

@media (max-width: 1000px) {
  .hero-strip { grid-template-columns: 1fr; gap: 0; padding: 12px 0 24px; }
  .hs { padding: 20px 0; }
  .hs + .hs { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  /* on phones the 3D mark sits at the top and the copy below it */
  .hero-in { padding: calc(64px + 32svh) 0 40px; align-items: flex-start; }
  .hero-copy { width: 100%; }
  .hero .lead { margin-top: 20px; }
  .hero-act { margin-top: 28px; gap: 16px 28px; }
  .stage { background: radial-gradient(90vw 36vh at 50% 30%, rgb(28 60 150 / 0.28) 0%, rgb(var(--bg-rgb) / 0) 100%); }
  .stage-fallback { width: min(76vw, 340px); left: 50%; top: calc(64px + 16svh); transform: translate(-50%, -44%); }
}

/* ========================================================== CO STAVÍME */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch;
  min-height: 272px; overflow: hidden; isolation: isolate;
}
.svc-frame {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 2;
  border: 1px solid rgb(var(--core-rgb) / 0); transition: border-color .35s, box-shadow .35s;
}
.svc-copy { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 34px 0 30px 34px; }
.svc-copy p { margin-top: 12px; color: #b7bec9; font-size: 16px; line-height: 1.5; max-width: 22ch; }
.svc-copy .go { margin-top: auto; }
.svc .viz { align-self: center; width: 100%; margin: 12px 0 12px -4%; }
.svc:hover .svc-frame, .svc:focus-visible .svc-frame { border-color: rgb(var(--core-rgb) / 0.55); box-shadow: 0 0 40px -10px rgb(var(--core-rgb) / 0.5), inset 0 0 60px -30px rgb(var(--core-rgb) / 0.5); }
.svc:hover .go, .svc:focus-visible .go { background: var(--ink); color: #0a0d12; border-color: var(--ink); transform: translateX(4px); }
.svc:hover .viz-scene { --ry: -16deg; --rx: 8deg; }
.svc[data-zoom="ai-automatizace"]:hover .viz-scene { --ry: -40deg; --rx: -18deg; }
.svc[data-zoom="interni-systemy"]:hover .viz-scene { --ry: -50deg; }
.svc:hover .viz-core:not(.cube) { box-shadow: 0 0 0 1px rgb(170 200 255 / 0.7) inset, 0 0 26px rgb(var(--core-rgb) / 0.9), 0 0 90px rgb(var(--core-rgb) / 0.5); }
.svc:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }

@media (max-width: 1080px) {
  .svc { grid-template-columns: 1fr; min-height: 0; }
  .svc .viz { order: -1; width: 78%; margin: 18px auto 0; }
  .svc-copy { padding: 8px 26px 26px; }
  .svc-copy p { max-width: none; }
  .svc-copy .go { margin-top: 22px; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc { grid-template-columns: minmax(0, 1fr) 46%; }
  .svc .viz { order: 0; width: 118%; margin: 0 0 0 -12%; align-self: center; }
  .svc-copy { padding: 22px 0 20px 20px; }
  .svc-copy p { font-size: 15px; margin-top: 8px; }
  .svc-copy .go { margin-top: 18px; width: 40px; height: 40px; }
}

/* =============================================================== POSTUP */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 11px; right: calc(25% - 11px); top: 11px; height: 2px;
}
.steps::before { background: rgb(var(--core-rgb) / 0.18); }
.steps::after {
  background: linear-gradient(90deg, var(--core), var(--core-hi)); box-shadow: 0 0 12px rgb(var(--core-rgb) / 0.9);
  transform-origin: left; transform: scaleX(var(--p, 1));
}
.js .steps:not(.is-in)::after { --p: 0; }
.js .steps::after { transition: transform 1.5s var(--ease-io) .1s; }
.step { position: relative; padding-right: 32px; }
.step + .step { padding-left: 0; }
.step-node {
  position: relative; display: block; width: 24px; height: 24px; border-radius: 50%; z-index: 1;
  background: var(--bg); border: 2px solid var(--core);
  box-shadow: 0 0 0 5px rgb(var(--core-rgb) / 0.14), 0 0 18px rgb(var(--core-rgb) / 0.8);
  transition: box-shadow .5s, border-color .5s; transition-delay: calc(var(--k, 0) * 380ms + 150ms);
}
.step-node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #8fb0ff; transition: transform .45s var(--ease); transition-delay: inherit; }
.js .steps:not(.is-in) .step-node { border-color: rgb(var(--core-rgb) / 0.35); box-shadow: none; }
.js .steps:not(.is-in) .step-node::after { transform: scale(0); }
.step:nth-child(2) { --k: 1; } .step:nth-child(3) { --k: 2; } .step:nth-child(4) { --k: 3; }
.step-n { display: block; margin-top: 30px; font: 500 15px/1 var(--f-text); color: var(--faint); font-variant-numeric: tabular-nums; }
.step .h3 { margin-top: 12px; font-size: clamp(22px, 2vw, 28px); }
.step p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: #b7bec9; max-width: 26ch; }
.step + .step::before { content: ""; position: absolute; left: -24px; top: 56px; bottom: 6px; width: 1px; background: var(--line); }
.step + .step { margin-left: 24px; }
.steps .step:first-child { margin-left: 0; }

.pay { display: flex; align-items: center; gap: 36px; margin-top: 56px; padding: 30px 40px; }
.pay-ic { width: 56px; height: 40px; flex: none; fill: none; stroke: #e9ebef; stroke-width: 1.6; stroke-linecap: round; }
.pay-ic .b { stroke: var(--core-hi); stroke-width: 2.4; filter: drop-shadow(0 0 4px rgb(var(--core-rgb) / .9)); }
.pay > div { padding-left: 36px; border-left: 1px solid var(--line-2); }
.pay p { margin-top: 6px; color: #b7bec9; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 34px; padding-left: 48px; }
  .steps::before, .steps::after { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .step { padding: 0; margin: 0 !important; }
  .step-node { position: absolute; left: -48px; top: 0; }
  .step-n { margin-top: 3px; }
  .step + .step::before { display: none; }
  .step p { max-width: 40ch; }
  .pay { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; margin-top: 44px; }
  .pay > div { padding: 0; border: 0; }
}

/* ======================================================= ČASTÉ PROBLÉMY */
.pb { position: relative; }
.pb-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.pb-wires path { fill: none; }
.pb-wires .w-base { stroke: rgb(150 175 230 / 0.16); stroke-width: 1; stroke-dasharray: 2 6; }
.pb-wires .w-line { stroke: rgb(91 140 255 / 0.55); stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .55s var(--ease-io); }
.pb-wires .w-pulse { stroke: #9dbaff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 100; stroke-dashoffset: 14; opacity: 0; filter: drop-shadow(0 0 4px #1a5cff) drop-shadow(0 0 10px #1a5cff); }
.pb-wires .is-on .w-line { stroke-dashoffset: 0; }
.pb-wires .is-on .w-pulse { opacity: 1; animation: wire-flow 1.25s linear .35s infinite; }
@keyframes wire-flow { from { stroke-dashoffset: 14; } to { stroke-dashoffset: -100; } }

.pb-grid { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pb-card {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: 26px 24px 22px; cursor: pointer; border-color: rgb(170 190 230 / 0.09);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.018), rgb(255 255 255 / 0)), var(--panel);
  transition: border-color .35s, background .35s, box-shadow .35s, transform .35s var(--ease);
}
.pb-card:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }
.pb-ic { width: 40px; height: 40px; fill: none; stroke: #7d8594; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.pb-ic .b { stroke: #5a6272; transition: stroke .35s, filter .35s; }
.pb-ic .d { fill: #7d8594; stroke: none; transition: fill .35s; }
.pb-t { margin-top: 22px; font: 700 19px/1.25 var(--f-display); letter-spacing: -0.015em; color: #aeb5c1; transition: color .35s; }
.pb-d { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: #7d8594; transition: color .35s; }
/* the impact: space is kept so nothing below jumps when it appears */
.pb-x { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid transparent; font-size: 14.5px; line-height: 1.5; color: #dfe6f5; min-height: calc(1.5em * 2 + 15px); transition: border-color .35s; }
.pb-x > span { display: block; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.pb-xl { display: inline-block; width: 14px; height: 2px; margin: 0 8px 0 0; vertical-align: 0.3em; background: var(--core-hi); box-shadow: 0 0 6px var(--core); }

.pb-card.is-on {
  border-color: rgb(var(--core-rgb) / 0.55);
  background: linear-gradient(180deg, rgb(var(--core-rgb) / 0.1), rgb(var(--core-rgb) / 0.02) 70%), var(--panel-2);
  box-shadow: 0 0 44px -14px rgb(var(--core-rgb) / 0.6);
}
.pb-card.is-on .pb-ic { stroke: #f2f1ee; }
.pb-card.is-on .pb-ic .b { stroke: var(--core-hi); filter: drop-shadow(0 0 4px rgb(var(--core-rgb) / .9)); }
.pb-card.is-on .pb-ic .d { fill: var(--core-hi); }
.pb-card.is-on .pb-t { color: #fff; }
.pb-card.is-on .pb-d { color: #c3cad5; }
.pb-card.is-on .pb-x { border-color: rgb(var(--core-rgb) / 0.3); }
.pb-card.is-on .pb-x > span { opacity: 1; transform: none; transition-delay: .08s; }

/* icon motion while a card is lit */
.pb-card.is-on .ic-chat .d { animation: typing 1.1s ease-in-out infinite; }
.pb-card.is-on .ic-chat .d:nth-of-type(2) { animation-delay: .15s; }
.pb-card.is-on .ic-chat .d:nth-of-type(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-2.2px); } }
.ic-sheet .r { transition: transform .5s var(--ease); }
.pb-card.is-on .ic-sheet .r1 { transform: translateX(3px); }
.pb-card.is-on .ic-sheet .r2 { transform: translateX(-3px); transition-delay: .06s; }
.pb-card.is-on .ic-sheet .r3 { transform: translateX(4px); transition-delay: .12s; }
.ic-gear .g { transform-origin: 20px 20px; transform-box: view-box; }
.pb-card.is-on .ic-gear .g { animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ic-bars .k { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.pb-card.is-on .ic-bars .k1 { transform: scaleY(1.35); }
.pb-card.is-on .ic-bars .k2 { transform: scaleY(1.15); transition-delay: .05s; }
.pb-card.is-on .ic-bars .k3 { transform: scaleY(1.25); transition-delay: .1s; }

/* the central object */
.pb-obj {
  position: relative; z-index: 1; container-type: inline-size;
  height: clamp(300px, 34vw, 470px); margin-top: 40px; perspective: 2200px; perspective-origin: 50% 30%;
  overflow: clip; overflow-clip-margin: 0;
}
.pb-plane { position: absolute; left: 50%; top: 58%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(60deg) rotateZ(-40deg); }
.pb-plane > * { position: absolute; }
.pb-grid-floor {
  left: -46cqi; top: -46cqi; width: 92cqi; height: 92cqi;
  background-image: linear-gradient(rgb(150 175 230 / 0.09) 1px, transparent 1px), linear-gradient(90deg, rgb(150 175 230 / 0.09) 1px, transparent 1px);
  background-size: 5cqi 5cqi; background-position: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side, #000 25%, transparent 100%);
}
.pb-glow { left: -26cqi; top: -26cqi; width: 52cqi; height: 52cqi; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--core-rgb) / 0.42), rgb(var(--core-rgb) / 0.08) 60%, transparent); transition: opacity .5s; opacity: .75; }
.pb.is-live .pb-glow { opacity: 1; }
.pb-rail {
  left: 0; top: -1px; width: var(--l); height: 2px; transform-origin: 0 50%; transform: rotateZ(var(--a));
  background: linear-gradient(90deg, rgb(91 140 255 / 0.9), rgb(91 140 255 / 0.25)); opacity: .22; transition: opacity .4s, box-shadow .4s;
}
.pb-rail.is-on { opacity: 1; box-shadow: 0 0 10px rgb(var(--core-rgb) / 0.9); }
.pb-p {
  width: 17cqi; height: 12.5cqi; left: -8.5cqi; top: -12.5cqi; padding: 1.6cqi;
  transform-origin: 50% 100%; transform: translate3d(var(--x), var(--y), 0) rotateZ(calc(40deg + var(--r, 0deg))) rotateX(-90deg);
  transition: border-color .4s, box-shadow .4s, opacity .4s; opacity: .8;
}
.pb-p.is-on { opacity: 1; border-color: rgb(120 160 255 / 0.75); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 0 3cqi rgb(var(--core-rgb) / 0.55); }
.pb-row { display: flex; align-items: center; gap: 1cqi; height: 3cqi; position: relative; }
.pb-row .bx { position: relative; width: 2cqi; height: 2cqi; flex: none; border-radius: 0.4cqi; }
.pb-row .sk { position: relative; flex: 1; }
.pb-p.is-on .pb-row .bx { border-color: var(--core-hi); background: rgb(var(--core-rgb) / 0.5); }
.pb-table { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.7cqi; height: 100%; }
.pb-table i { border-radius: 0.3cqi; background: rgb(220 228 245 / 0.12); }
.pb-table i:nth-child(-n+3) { background: rgb(220 228 245 / 0.28); }
.pb-p.is-on .pb-table i:nth-child(5) { background: var(--core); box-shadow: 0 0 1cqi var(--core); }
.pb-flow { display: flex; align-items: center; height: 100%; }
.pb-flow i { width: 3.2cqi; height: 3.2cqi; border-radius: 0.6cqi; border: 1px solid rgb(220 230 255 / 0.3); flex: none; }
.pb-flow b { flex: 1; height: 1px; background: rgb(220 230 255 / 0.3); }
.pb-p.is-on .pb-flow i:nth-of-type(2) { background: var(--core); border-color: var(--core-hi); box-shadow: 0 0 1cqi var(--core); }
.pb-chart { display: flex; align-items: flex-end; gap: 1cqi; height: 100%; }
.pb-chart i { flex: 1; border-radius: 0.3cqi 0.3cqi 0 0; background: rgb(220 228 245 / 0.26); }
.pb-p.is-on .pb-chart i:last-child { background: linear-gradient(#5b8cff, #1a5cff); box-shadow: 0 0 1.2cqi var(--core); }
.pb-core { --s: 10cqi; left: calc(var(--s) / -2); top: calc(var(--s) / -2); transform: translateZ(calc(var(--s) / 2)) rotateZ(0deg); }
.pb-core > i:nth-child(1) { background: linear-gradient(150deg, #9ab8ff, #3f78ff); }
.pb-core > i:nth-child(5), .pb-core > i:nth-child(6) { background: linear-gradient(150deg, #2a66ff, #0b37b8); }
.pb-core > i { box-shadow: inset 0 0 0 1px rgb(170 200 255 / 0.6), 0 0 2.4cqi rgb(var(--core-rgb) / 0.55); transition: box-shadow .5s; }
.pb.is-live .pb-core > i { box-shadow: inset 0 0 0 1px rgb(190 215 255 / 0.8), 0 0 4cqi rgb(var(--core-rgb) / 0.9); }
.pb-glow.hit { animation: hit .6s ease-out; }
@keyframes hit { 30% { opacity: 1; transform: scale(1.18); filter: brightness(1.5); } }
.pb-cap { position: relative; z-index: 1; margin-top: 8px; text-align: center; color: var(--mute); font-size: 16px; }

@media (max-width: 1000px) {
  .pb-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 560px) {
  .pb-card { padding: 18px 16px 16px; }
  .pb-ic { width: 32px; height: 32px; }
  .pb-t { margin-top: 14px; font-size: 16px; }
  .pb-d { font-size: 14px; }
  .pb-x { font-size: 13.5px; min-height: calc(1.5em * 3 + 15px); }
  .pb-obj { height: 290px; margin-top: 24px; }
  .pb-plane { transform: scale(1.5) rotateX(60deg) rotateZ(-40deg); }
}

/* ============================================================ REALIZACE */
.cases-head { grid-template-columns: 1fr auto; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; align-items: center;
  padding: 30px 30px 32px; text-align: left; cursor: pointer; transition: border-color .3s, background .3s;
}
.case-rule { grid-column: 1 / -1; width: 28px; height: 2px; background: var(--core); box-shadow: 0 0 8px var(--core); margin-bottom: 22px; transition: width .4s var(--ease); }
.case-t { grid-column: 1; font: 700 clamp(20px, 1.8vw, 25px)/1.2 var(--f-display); letter-spacing: -0.02em; }
.case-s { grid-column: 1; margin-top: 6px; color: var(--mute); font-size: 17px; }
.case .go { grid-column: 2; grid-row: 2 / 4; margin-left: 16px; }
.case:hover { border-color: rgb(var(--core-rgb) / 0.5); background: linear-gradient(180deg, rgb(var(--core-rgb) / 0.07), transparent), var(--panel); }
.case:hover .case-rule { width: 56px; }
.case:hover .go { background: var(--ink); color: #0a0d12; border-color: var(--ink); }
.case:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }
@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; gap: 12px; }
  .cases-head { grid-template-columns: 1fr; }
  .case { padding: 24px; }
}

.case-dlg {
  width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line-2); border-radius: 22px;
  background: linear-gradient(180deg, rgb(var(--core-rgb) / 0.08), rgb(var(--core-rgb) / 0) 40%), var(--panel-2); color: var(--ink);
  box-shadow: 0 40px 120px -20px rgb(0 0 0 / 0.8), 0 0 80px -30px rgb(var(--core-rgb) / 0.6);
}
.case-dlg::backdrop { background: rgb(3 4 8 / 0.7); backdrop-filter: blur(6px); }
.case-dlg[open] { animation: dlg-in .45s var(--ease); }
.case-dlg[open]::backdrop { animation: fade-in .3s ease-out; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
.cd-in { position: relative; padding: 40px 40px 36px; }
.cd-x { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.06); cursor: pointer; }
.cd-x:hover { background: rgb(255 255 255 / 0.12); }
.cd-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cd-s { color: var(--core-hi); font-weight: 600; font-size: 15px; }
.cd-t { margin-top: 8px; font-size: clamp(30px, 4vw, 42px); }
.cd-dl { margin: 28px 0 32px; display: grid; gap: 0; }
.cd-dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.cd-dl dt { color: var(--mute); font-size: 15px; }
.cd-dl dd { font-size: 16px; line-height: 1.55; }
@media (max-width: 560px) {
  .cd-in { padding: 32px 22px 24px; }
  .cd-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .case-dlg .btn { width: 100%; }
}

/* ============================================================== KONTAKT */
.ct-sec { overflow: hidden; padding-bottom: clamp(160px, 20vw, 300px); }
.ct-land { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* the render sits on the bottom edge at its own ratio, so the lit peak stays under the copy */
.ct-photo { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 1916 / 821; object-fit: cover; object-position: 27% 100%; }
.ct-land::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgb(var(--bg-rgb) / 0) 30%, rgb(var(--bg-rgb) / 0) 80%, var(--bg) 100%); }
.ct-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px 80px; align-items: start; }
.ct-copy .h2 { margin-top: 14px; }
.ct-copy .lead { margin-top: 24px; max-width: 30em; }
.ct-direct { margin-top: 28px; color: var(--mute); }
.ct-direct .link { color: var(--ink); margin-left: 6px; }
.ct-box { padding: 24px; background: rgb(11 15 22 / 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 900px) {
  .ct-in { grid-template-columns: 1fr; }
  .ct-photo { height: 44%; aspect-ratio: auto; }
  .ct-box { padding: 16px; }
}

/* phones: no reserved space for the impact; it opens under the text on tap */
@media (max-width: 560px) {
  .pb-x { display: grid; grid-template-rows: 0fr; min-height: 0; margin-top: 0; padding-top: 0; transition: grid-template-rows .4s var(--ease), margin .4s var(--ease), padding .4s var(--ease), border-color .35s; }
  .pb-x > span { overflow: hidden; min-height: 0; }
  .pb-card.is-on .pb-x { grid-template-rows: 1fr; margin-top: 12px; padding-top: 12px; }
}

.ct-photo { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }

/* lite tier: no blur behind glass panels, no endless pulse on the problem wires */
.lite .ct-box { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(11 15 22 / 0.96); }
.lite .case-dlg::backdrop { backdrop-filter: none; background: rgb(3 4 8 / 0.86); }
.lite .pb-wires .is-on .w-pulse { animation: none; opacity: 0; }
