/* Panes – an app-like one-screen site. Wide screens: a fixed-height shell whose tabs switch panels via :target.
   Phones, short screens and the legal pages: ordinary scrolling sections. No JavaScript. */

:root {
  --bg: #e8ecf4;
  --surface: #ffffff;
  --ink: #141b34;
  --ink-2: #4c5672;
  --line: #d8deea;
  --accent: #4338ca;
  --indigo: #4338ca;
  --indigo-d: #312a9c;
  --indigo-l: #eef0ff;
  --indigo-m: #c9cdfb;
  --amber: #f5a524;
  --amber-l: #fff3dc;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 22px;
}

body { font-size: 1rem; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--indigo-m); }

/* ---------- shared controls ---------- */
.pn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .65em 1.35em;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  background: var(--indigo);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -10px rgba(67, 56, 202, .8);
  transition: background-color .15s ease, transform .15s ease;
}
.pn-btn:hover { background: var(--indigo-d); }
.pn-btn:active { transform: translateY(1px); }
.pn-btn--ghost { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
.pn-btn--ghost:hover { background: var(--indigo-l); }
.pn-btn--small { min-height: 2.6rem; font-size: .95rem; padding: .5em 1.1em; }
.pn-btn--amber { color: var(--ink); background: var(--amber); box-shadow: 0 8px 20px -10px rgba(245, 165, 36, .9); }
.pn-btn--amber:hover { background: #ffb940; }
.pn-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .8rem .35rem .45rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--indigo-d);
  background: var(--indigo-l);
  border-radius: 999px;
}
.pn-chip span { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--amber); box-shadow: inset 0 0 0 4px var(--amber-l); }
.pn-kbd { display: inline-block; margin-right: .35rem; padding: .05rem .45rem; font-family: var(--font-mono); font-size: .78rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; }

/* ---------- toolbar ---------- */
.pn-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: .75rem 1.5rem;
  padding: .7rem var(--gutter);
  background: rgba(232, 236, 244, .92);
}
@supports (backdrop-filter: blur(4px)) { .pn-top { background: rgba(232, 236, 244, .78); backdrop-filter: blur(10px); } }
.pn-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1.1; }
.pn-brand__icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 2.4rem;
  height: 2.4rem;
  padding: 6px;
  background: var(--indigo);
  border-radius: 11px;
  box-shadow: 0 6px 14px -6px rgba(67, 56, 202, .8);
}
.pn-brand__icon i { border-radius: 3px; background: #fff; }
.pn-brand__icon i:nth-child(2) { background: var(--amber); border-radius: 50%; }
.pn-brand__icon i:nth-child(3) { opacity: .55; }
.pn-brand__text { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.pn-brand__text span { display: block; font-weight: 500; font-size: .74rem; letter-spacing: 0; color: var(--ink-2); }
.pn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-inline: auto;
  padding: 4px;
  background: #d9dfeb;
  border-radius: 14px;
}
.pn-tab {
  padding: .5rem 1rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 10px;
  transition: background-color .15s, color .15s;
}
.pn-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.pn-top__end { display: flex; align-items: center; gap: .75rem; }
.pn-top__phone { font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink-2); }
.pn-top__phone:hover { color: var(--indigo); }
.pn-lang {
  display: grid; place-items: center;
  min-width: 2.6rem; height: 2.4rem;
  padding: 0 .6rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.pn-lang:hover { box-shadow: inset 0 0 0 1.5px var(--indigo); color: var(--indigo); }

/* active tab: follows the targeted panel */
.pn-tab[aria-current],
body.page-home:not(:has(.pn-panel:not(.pn-home):target)):not(:has(.pn-panel:not(.pn-home) :target)) .pn-tab--home,
body:has(.pn-services:target) .pn-tab--services, body:has(.pn-services :target) .pn-tab--services,
body:has(.pn-approach:target) .pn-tab--approach, body:has(.pn-approach :target) .pn-tab--approach,
body:has(.pn-products:target) .pn-tab--products, body:has(.pn-products :target) .pn-tab--products,
body:has(.pn-contact:target) .pn-tab--contact, body:has(.pn-contact :target) .pn-tab--contact {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(20, 27, 52, .12);
}

/* ---------- panels: base (scrolling) layout ---------- */
.pn-main { display: block; }
.pn-panel { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); max-width: 1320px; margin: 0 auto; }
.pn-panel + .pn-panel { border-top: 1px solid var(--line); }
.pn-panel__head { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: .75rem 3rem; align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.pn-h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.pn-panel__intro { max-width: 60ch; color: var(--ink-2); font-size: 1.05rem; }

/* overview */
.pn-home { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.pn-home__title { margin-top: 1.25rem; font-size: clamp(2.6rem, 5.2vw, 4.75rem); line-height: 1; letter-spacing: -0.035em; font-weight: 800; }
.pn-home__lead { margin-top: 1.25rem; max-width: 52ch; color: var(--ink-2); font-size: clamp(1.02rem, 1.2vw, 1.15rem); }
.pn-home__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.pn-launch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pn-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-height: 8.5rem;
  padding: 1.1rem;
  text-decoration: none;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.pn-tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--indigo), 0 14px 30px -18px rgba(67, 56, 202, .6); }
a.pn-tile::after { content: ""; position: absolute; right: 1rem; top: 1.1rem; width: .55rem; height: .55rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .5; }
.pn-tile__icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: auto; color: var(--indigo); background: var(--indigo-l); border-radius: 10px; }
.pn-tile__icon svg { width: 1.3rem; height: 1.3rem; }
.pn-tile__label { margin-top: 1rem; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.pn-tile__meta { font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
.pn-tile__big { margin-top: auto; font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.4rem); letter-spacing: -0.04em; line-height: 1; color: var(--indigo); }
.pn-tile--services { grid-column: span 2; color: #fff; background: var(--indigo); box-shadow: none; }
.pn-tile--services .pn-tile__icon { color: #fff; background: rgba(255, 255, 255, .16); }
.pn-tile--services .pn-tile__meta { color: #dcdffd; }
.pn-tile--fact { background: var(--indigo-l); box-shadow: none; }
.pn-tile--contact { grid-column: span 3; min-height: 0; flex-direction: row; align-items: center; gap: 1rem; background: var(--amber); box-shadow: none; }
.pn-tile--contact .pn-tile__icon { margin: 0; color: var(--ink); background: rgba(255, 255, 255, .5); }
.pn-tile--contact .pn-tile__label { margin: 0; }
.pn-tile--contact .pn-tile__meta { color: var(--ink); }
.pn-tile--contact::after { top: 50% !important; margin-top: -.3rem; }

/* services: split detail view */
.pn-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.pn-detail { padding: clamp(1.5rem, 2.6vw, 2.25rem); background: var(--indigo-l); border-radius: 20px; }
.pn-detail__head { display: flex; align-items: center; gap: .9rem; }
.pn-badge { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; color: #fff; background: var(--indigo); border-radius: 12px; }
.pn-badge svg { width: 1.4rem; height: 1.4rem; }
.pn-detail h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); hyphens: auto; }
.pn-detail__text { margin-top: 1rem; max-width: 62ch; color: var(--ink-2); }
.pn-focus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 1.4rem; }
.pn-focus li { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; background: var(--surface); border-radius: 14px; box-shadow: 0 1px 2px rgba(20, 27, 52, .06); }
.pn-focus strong { font-size: 1rem; hyphens: auto; }
.pn-focus span { font-size: .88rem; color: var(--ink-2); hyphens: auto; }
.pn-detail__note { margin-top: 1.25rem; font-size: .92rem; color: var(--ink-2); }
.pn-split__side { display: grid; gap: 14px; }
.pn-side { padding: clamp(1.25rem, 2.2vw, 1.75rem); background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.pn-side h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.pn-side > p { color: var(--ink-2); font-size: .95rem; }
.pn-checks { display: grid; gap: .45rem; margin-top: .9rem; }
.pn-checks li { position: relative; padding-left: 1.6rem; font-size: .95rem; font-weight: 500; }
.pn-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--amber); }
.pn-checks li::after { content: ""; position: absolute; left: .34rem; top: .42em; width: .34rem; height: .55rem; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* approach: stepper */
.pn-stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.pn-stepper__step { position: relative; padding: 1.4rem 1.25rem 1.5rem; background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.pn-stepper__step::before { content: ""; position: absolute; left: 4.2rem; right: -14px; top: 2.65rem; height: 2px; background: repeating-linear-gradient(90deg, var(--indigo-m) 0 6px, transparent 6px 10px); }
.pn-stepper__step:last-child::before { display: none; }
.pn-stepper__dot { position: relative; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; font-family: var(--font-mono); font-weight: 500; color: #fff; background: var(--indigo); border-radius: 50%; box-shadow: 0 0 0 5px var(--indigo-l); }
.pn-stepper__step:first-child .pn-stepper__dot { color: var(--ink); background: var(--amber); box-shadow: 0 0 0 5px var(--amber-l); }
.pn-stepper__step h3 { margin: 1.1rem 0 .35rem; font-size: 1.25rem; }
.pn-stepper__step p { font-size: .93rem; color: var(--ink-2); hyphens: auto; }
.pn-approach__lower { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; margin-top: 14px; }
.pn-small { padding: clamp(1.4rem, 2.4vw, 2rem); color: #fff; background: var(--indigo); border-radius: 20px; }
.pn-small h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.pn-small p { color: #e2e4fd; font-size: .96rem; max-width: 58ch; }
.pn-small p + p { margin-top: .6rem; }
.pn-faq { padding: clamp(1.2rem, 2vw, 1.6rem) clamp(1.2rem, 2.2vw, 1.75rem); background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.pn-faq__title { font-size: 1.15rem; margin-bottom: .4rem; }
.pn-faq details + details { border-top: 1px solid var(--line); }
.pn-faq summary { position: relative; padding: .85rem 2.25rem .85rem 0; font-weight: 600; font-size: .96rem; cursor: pointer; list-style: none; }
.pn-faq summary::-webkit-details-marker { display: none; }
.pn-faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .5rem; height: .5rem; margin-top: -.35rem; border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); transform: rotate(45deg); transition: transform .15s; }
.pn-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.pn-faq summary:hover { color: var(--indigo); }
.pn-faq details p { padding: 0 0 .9rem; font-size: .93rem; color: var(--ink-2); }

/* products: master–detail */
.pn-md { display: grid; grid-template-columns: minmax(15rem, 21rem) minmax(0, 1fr); gap: 14px; align-items: start; }
.pn-master { display: grid; gap: 6px; padding: 6px; background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.pn-master__item { display: flex; gap: .85rem; align-items: center; padding: .8rem .85rem; text-decoration: none; border-radius: 14px; transition: background-color .15s; }
.pn-master__item:hover { background: #f4f6fb; }
.pn-master__item strong { display: block; font-size: .98rem; hyphens: auto; }
.pn-master__item small { display: block; font-size: .78rem; color: var(--ink-2); line-height: 1.35; }
.pn-master__icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; font-weight: 800; border-radius: 12px; }
.pn-master__icon--1 { color: #fff; background: #2f6fdf; }
.pn-master__icon--2 { color: var(--ink); background: var(--amber); }
.pn-master__icon--3 { color: #fff; background: var(--indigo); }
.pn-details { display: grid; gap: 14px; }
.pn-prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(1.5rem, 3vw, 2.5rem); padding: 14px; background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.pn-prod__visual { grid-row: 1 / 5; display: grid; place-items: center; min-height: 17rem; border-radius: 14px; }
.pn-prod__visual--1 { background: linear-gradient(160deg, #dbe8ff, #eef0ff); }
.pn-prod__visual--2 { background: linear-gradient(160deg, var(--amber-l), #ffe4b0); }
.pn-prod__visual--3 { background: linear-gradient(160deg, #e7e5ff, #d4d1fb); }
.pn-prod h3 { margin-top: 1rem; font-size: clamp(1.5rem, 2.2vw, 1.9rem); hyphens: auto; }
.pn-prod > p { margin-top: .6rem; color: var(--ink-2); max-width: 54ch; padding-right: .5rem; }
.pn-prod .pn-prod__meta { font-family: var(--font-mono); font-size: .8rem; color: var(--indigo-d); }
.pn-prod .pn-btn { justify-self: start; align-self: end; margin: 1.25rem 0 .5rem; }
/* mini UIs */
.pn-mock { width: min(80%, 18rem); background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(20, 27, 52, .45); overflow: hidden; }
.pn-mock__bar { display: flex; align-items: center; gap: 4px; padding: .5rem .7rem; font-size: .7rem; font-weight: 700; background: #f2f4f9; }
.pn-mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: #c7cede; }
.pn-mock__bar span { margin-left: .4rem; }
.pn-mock__form { display: grid; grid-template-columns: auto 1fr; gap: .4rem .6rem; align-items: center; padding: .8rem .9rem; font-family: var(--font-mono); font-size: .72rem; }
.pn-mock__form b { height: .9rem; border-radius: 4px; background: #eef1f7; box-shadow: inset 0 0 0 1px #dfe4ee; }
.pn-mock__result { display: flex; justify-content: space-between; align-items: center; margin: 0 .9rem .9rem; padding: .55rem .7rem; color: #fff; background: #2f6fdf; border-radius: 8px; font-weight: 700; font-size: .85rem; }
.pn-mock__result em { font-style: normal; font-family: var(--font-mono); font-size: .65rem; font-weight: 400; opacity: .85; }
.pn-phone { display: grid; gap: .45rem; align-content: start; width: 9.5rem; height: 15rem; padding: .8rem .65rem; background: #fff; border-radius: 22px; box-shadow: 0 0 0 5px var(--ink), 0 22px 40px -20px rgba(20, 27, 52, .6); }
.pn-phone__search { height: 1.15rem; border-radius: 999px; background: #eef1f7; }
.pn-phone__chips { display: flex; gap: .3rem; }
.pn-phone__chips i { height: .8rem; flex: 1; border-radius: 999px; background: var(--amber-l); box-shadow: inset 0 0 0 1px #f3d79b; }
.pn-phone__card { display: grid; grid-template-columns: 1.4rem 1fr; gap: .2rem .45rem; padding: .45rem; border-radius: 10px; background: #f6f7fb; }
.pn-phone__card b { grid-row: span 2; height: 1.4rem; border-radius: 6px; background: var(--indigo-m); }
.pn-phone__card i { height: .35rem; border-radius: 2px; background: #cdd3e1; }
.pn-phone__card i + i { width: 60%; }
.pn-phone__card--on { background: var(--amber-l); box-shadow: inset 0 0 0 1.5px var(--amber); }
.pn-order { display: grid; gap: .5rem; width: min(78%, 17rem); padding: .9rem; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(20, 27, 52, .5); }
.pn-order__row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding-bottom: .5rem; border-bottom: 1px dashed #d8deea; }
.pn-order__row b { flex: 1; max-width: 65%; height: .45rem; border-radius: 2px; background: #c9cfdf; }
.pn-order__row i { width: 1.5rem; height: 1.1rem; border-radius: 5px; background: var(--indigo-l); }
.pn-order__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; margin-top: .2rem; }
.pn-order__track i { height: .4rem; border-radius: 999px; background: var(--indigo); }
.pn-order__track i:last-child { background: #dfe3ee; }

/* contact: big card */
.pn-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden; background: var(--surface); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(20, 27, 52, .5); }
.pn-card__main { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: clamp(1.75rem, 4vw, 3.5rem); color: #fff; background: radial-gradient(circle at 100% 0, rgba(245, 165, 36, .35), transparent 45%), var(--indigo); }
.pn-card__title { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; max-width: 15ch; }
.pn-card__lead { color: #e2e4fd; max-width: 46ch; font-size: 1.05rem; }
.pn-card__main .pn-btn { margin-top: auto; }
.pn-card__list { display: grid; align-content: center; padding: clamp(1.5rem, 3.5vw, 3rem); }
.pn-card__list > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; }
.pn-card__list > div + div { border-top: 1px solid var(--line); }
.pn-card__list dt { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); padding-top: .15rem; }
.pn-card__list dd { font-weight: 600; overflow-wrap: anywhere; }
.pn-card__list a { color: var(--indigo); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- status bar ---------- */
.pn-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
  padding: 1rem var(--gutter);
  font-size: .85rem;
  color: var(--ink-2);
}
.pn-status__co { display: flex; align-items: center; gap: .5rem; margin-right: auto; font-weight: 600; color: var(--ink); }
.pn-status__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--amber); }
.pn-status__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.pn-status__links a { text-decoration: none; font-weight: 600; }
.pn-status__links a:hover { color: var(--indigo); text-decoration: underline; }
.pn-status__copy { font-family: var(--font-mono); font-size: .78rem; }

/* ---------- legal ---------- */
.legal__inner { max-width: 50rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.legal h1 { font-weight: 800; letter-spacing: -0.045em; hyphens: auto; }
.legal h2 { font-weight: 700; }
.legal a { color: var(--indigo); }

/* ---------- the app shell (wide and tall enough screens, home page only) ---------- */
@media (min-width: 1024px) and (min-height: 660px) {
  body.page-home {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
  .page-home .pn-top { position: relative; padding-top: 12px; padding-bottom: 12px; background: transparent; backdrop-filter: none; }
  .page-home .pn-main {
    position: relative;
    margin: 0 clamp(12px, 1.4vw, 20px);
    overflow: clip;
    background: radial-gradient(circle, #dde2ee 1px, transparent 1.5px) 0 0 / 22px 22px, #f6f8fc;
    border-radius: var(--r);
    box-shadow: inset 0 0 0 1px #d3d9e6, 0 30px 60px -40px rgba(20, 27, 52, .35);
  }
  .page-home .pn-panel {
    position: absolute;
    inset: 0;
    display: none;
    max-width: none;
    margin: 0;
    padding: clamp(1.75rem, 3.2vw, 3rem) clamp(1.75rem, 3.6vw, 3.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    scrollbar-width: thin;
  }
  .page-home .pn-panel > * { max-width: 1240px; margin-inline: auto; }
  .page-home .pn-home { display: grid; align-content: center; }
  .page-home .pn-home > * { margin-inline: 0; }
  .page-home .pn-panel:not(.pn-home):is(:target, :has(:target)) { display: block; }
  .page-home .pn-main:has(.pn-panel:not(.pn-home):target) .pn-home,
  .page-home .pn-main:has(.pn-panel:not(.pn-home) :target) .pn-home { display: none; }
  .page-home [id] { scroll-margin-top: 0; }
  .page-home .pn-status { padding-top: .7rem; padding-bottom: .7rem; }
  .page-home .pn-contact { align-content: center; }
  .page-home .pn-contact:is(:target, :has(:target)) { display: grid; }
  .page-home .pn-card { width: 100%; max-width: 1080px; }

  /* master–detail: one product at a time, Wasser2000 by default */
  .page-home .pn-prod { display: none; }
  .page-home .pn-prod:target,
  .page-home .pn-details:not(:has(.pn-prod:target)) .pn-prod:first-child { display: grid; min-height: 26rem; }
  .page-home .pn-md:has(#wasser2000:target) .pn-master__item--1,
  .page-home .pn-md:not(:has(.pn-prod:target)) .pn-master__item--1,
  .page-home .pn-md:has(#jobboerse:target) .pn-master__item--2,
  .page-home .pn-md:has(#lieferplattform:target) .pn-master__item--3 { background: var(--indigo-l); box-shadow: inset 3px 0 0 var(--indigo); }

  @media (prefers-reduced-motion: no-preference) {
    .page-home .pn-panel { animation: pn-in .35s cubic-bezier(.2, .7, .2, 1); }
    .page-home .pn-prod { animation: pn-in .3s cubic-bezier(.2, .7, .2, 1); }
    @keyframes pn-in { from { opacity: 0; transform: translateY(10px); } }
  }
}

/* ---------- smaller screens: ordinary scrolling sections ---------- */
@media (max-width: 1180px) {
  .pn-top__phone { display: none; }
}
@media (max-width: 1023px) {
  .pn-top { flex-wrap: wrap; }
  .pn-tabs { order: 3; width: 100%; margin: 0; }
  .pn-tab { flex: 1 1 auto; text-align: center; }
  .pn-top__end { margin-left: auto; }
  .pn-master { display: none; }
  .pn-md { grid-template-columns: 1fr; }
  .pn-home { grid-template-columns: 1fr; }
  .pn-split, .pn-approach__lower, .pn-card { grid-template-columns: 1fr; }
  .pn-stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn-stepper__step:nth-child(2)::before { display: none; }
}
@media (max-width: 640px) {
  .pn-brand__text { font-size: 1rem; }
  .pn-brand__text span { font-size: .68rem; }
  .pn-tab { padding: .45rem .55rem; font-size: .85rem; }
  .pn-tab--home { display: none; }
  .pn-panel__head { grid-template-columns: 1fr; }
  .pn-launch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn-tile--services, .pn-tile--contact { grid-column: span 2; }
  .pn-tile { min-height: 7.5rem; }
  .pn-focus, .pn-stepper { grid-template-columns: 1fr; }
  .pn-stepper__step::before { display: none; }
  .pn-prod { grid-template-columns: 1fr; }
  .pn-prod__visual { grid-row: auto; min-height: 13rem; }
  .pn-home__actions .pn-btn { flex: 1 1 100%; }
  .pn-card__list > div { grid-template-columns: 1fr; gap: .2rem; }
  .pn-status__co { margin-right: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pn-btn, .pn-tile, .pn-tab, .pn-faq summary::after { transition: none; }
}
