/* PAAM product landing — page styles (P-004) */
:root {
  --bg: #091826;
  --bg-2: #0d2235;
  --panel: #10263a;
  --line: rgba(255, 255, 255, 0.1);
  --text: #e8eef4;
  --muted: #a8b6c4;
  --gold: #c9a24d;
  --gold-2: #e8d08b;
  --ok: #7dcea0;
  --warn: #e8b86d;
  --content: 1320px;
  --text-max: 700px;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap {
  width: min(var(--content), calc(100% - 64px));
  margin-inline: auto;
}
@media (max-width: 1024px) {
  .wrap { width: calc(100% - 48px); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
}

.lang-en { display: none !important; }
html[lang="en"] .lang-de { display: none !important; }
html[lang="en"] .lang-en { display: inline !important; }
html[lang="en"] .lang-en-block { display: block !important; }
.lang-en-block { display: none !important; }
html[lang="en"] .lang-de-block { display: none !important; }

/* Hero schema: .gov-node span { display:block } must not force both languages */
.gov-node .lang-en,
.gov-step .lang-en {
  display: none !important;
}
.gov-node .lang-de,
.gov-step .lang-de {
  display: block !important;
}
html[lang="en"] .gov-node .lang-de,
html[lang="en"] .gov-step .lang-de {
  display: none !important;
}
html[lang="en"] .gov-node .lang-en,
html[lang="en"] .gov-step .lang-en {
  display: block !important;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
  margin-bottom: 12px;
}
h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
h1 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); max-width: 18ch; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h3 { font-size: 1.1rem; }
.lede {
  color: var(--muted);
  max-width: var(--text-max);
  font-size: 1.05rem;
}
.prose {
  color: var(--muted);
  max-width: var(--text-max);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 12px 0 0;
}
.module-copy {
  max-width: var(--text-max);
}
.module-copy .checklist,
.module-copy .result-line {
  max-width: var(--text-max);
}

/* P-008: wide two-column modules (reality / architecture / contact) */
.module-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px 40px;
  align-items: start;
  margin-top: 24px;
}
.module-wide > .module-copy {
  max-width: none;
}
@media (max-width: 1024px) {
  .module-wide { grid-template-columns: 1fr; }
}
.flow-sketch,
.arch-sketch,
.contact-agenda {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 18px;
}
.flow-sketch h3,
.arch-sketch h3,
.contact-agenda h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--gold-2);
}
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.flow-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.flow-steps .arrow {
  color: var(--gold-2);
  font-weight: 700;
  min-width: 1.1rem;
}
.flow-questions {
  margin: 16px 0 0;
  padding: 12px 12px 4px;
  border-top: 1px solid var(--line);
}
.flow-questions ul {
  margin: 8px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.arch-layers {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.arch-layers li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.93rem;
}
.arch-layers strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
  font-size: 0.92rem;
}
.arch-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 640px) {
  .arch-modes { grid-template-columns: 1fr; }
}
.arch-modes div {
  border: 1px dashed rgba(201, 162, 39, 0.35);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.arch-modes strong { color: var(--gold-2); display: block; margin-bottom: 4px; }
/* Narrow reading column centered in the full-width wrap */
.band--centered > .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.band--centered > .wrap > * {
  width: 100%;
  max-width: 840px;
}
.band--centered-wide > .wrap > * {
  max-width: 1100px;
}
.band--centered .module-copy,
.band--centered .contact-box,
.band--centered .faq-shell {
  max-width: 840px;
}
.band--centered-wide .module-copy {
  max-width: 1100px;
}
.band--centered .module-copy .checklist,
.band--centered .module-copy .result-line,
.band--centered .module-copy .lede,
.band--centered .module-copy .prose {
  max-width: none;
}
.faq-shell {
  max-width: 840px;
  margin: 0 auto;
}
.faq-shell details { margin-top: 10px; }
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 20px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
}
.contact-split .contact-box { max-width: none; height: 100%; }
.contact-agenda ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: grid;
  gap: 8px;
}
.module-details {
  margin-top: 16px;
  max-width: var(--text-max);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
}
.module-details summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--gold-2);
  list-style-position: outside;
}
.module-details summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.module-details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.muted { color: var(--muted); }
.band {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.band--soft { background: linear-gradient(180deg, rgba(16, 38, 58, 0.55), transparent); }
.band--panel { background: var(--bg-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 14px;
}
.btn-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  color: #141414;
}
.btn-line {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: transparent;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Hero */
.hero {
  padding: 56px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: 40px;
  align-items: center;
}
.hero-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: var(--text-max);
}
.hero-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Governance viz (not a product UI) */
.gov-viz {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 162, 77, 0.12), transparent 50%),
    linear-gradient(160deg, #10263a, #0a1a2b 70%);
  padding: 22px;
  min-height: 360px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.gov-viz[aria-hidden="true"] { pointer-events: none; }
.gov-viz__title {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
  font-weight: 700;
}
.gov-viz__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px;
}
.gov-node {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
}
.gov-node strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.gov-node span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.gov-flow {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.gov-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.gov-step i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  background: rgba(201, 162, 77, 0.2);
  color: var(--gold-2);
  flex-shrink: 0;
}
.gov-badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  width: 100%;
}

/* Two-col sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.split--narrow-text > :first-child,
.split--text-right > :last-child {
  max-width: var(--text-max);
}
.checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}
.result-line {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.98rem;
  max-width: var(--text-max);
}
.q-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.q-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.98rem;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.benefit {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
}
.benefit h3 { margin-bottom: 8px; }
.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.role {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  min-width: 0;
}
.role h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.role ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}
.role li + li { margin-top: 4px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.step {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.step .n {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-2);
  margin-bottom: 8px;
}
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
}
.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: var(--text-max);
}

.contact-box {
  max-width: var(--text-max);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
}
.contact-box p { color: var(--muted); }
.contact-mail {
  display: block;
  margin: 12px 0 4px;
  font-weight: 700;
  color: var(--gold-2);
  text-decoration: none;
}
.contact-mail:hover { text-decoration: underline; }

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  background: #071420;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer a {
  text-decoration: none;
  color: var(--muted);
  display: inline-block;
  margin-top: 6px;
}
.footer a:hover { color: #fff; }
.footer h4 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.ext::after { content: " ↗"; font-size: 0.9em; opacity: 0.75; }

@media (max-width: 1100px) {
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gov-viz__grid { grid-template-columns: 1fr; }
  h1 { max-width: none; }
}
@media (max-width: 640px) {
  .band { padding: 56px 0; }
  .benefit-grid,
  .role-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}

/* —— Product screenshot galleries (P-007 visual closure) —— */
.shot-note {
  margin: 8px auto 28px;
  width: min(var(--content), calc(100% - 64px));
  max-width: var(--content);
  box-sizing: border-box;
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px solid rgba(201, 162, 77, 0.28);
  border-left: 3px solid rgba(201, 162, 77, 0.7);
  border-radius: 10px;
  background: rgba(16, 38, 58, 0.55);
  padding: 12px 16px 12px 18px;
}
@media (max-width: 1024px) {
  .shot-note { width: calc(100% - 48px); }
}
@media (max-width: 640px) {
  .shot-note { width: calc(100% - 36px); }
}
.product-gallery {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.product-gallery__stage {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #071420;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: min(420px, 52vh);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #071420;
}
.product-gallery__meta {
  margin-top: 14px;
}
.product-gallery__meta strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.product-gallery__meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.product-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.product-gallery__thumbs[hidden] {
  display: none !important;
}
/* Hard-reset UA button face (Chrome file:// often paints white otherwise). */
.product-gallery button[data-gallery-thumb],
.product-gallery__thumb {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a1520;
  background-color: #0a1520;
  background-image: none;
  border-radius: 10px;
  padding: 0;
  color: #d7e0e9;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  display: flex;
  flex-direction: column;
  width: 118px;
  min-width: 118px;
  min-height: 44px;
  max-width: 132px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  text-align: left;
  box-shadow: none;
  color-scheme: dark;
}
.product-gallery button[data-gallery-thumb] img,
.product-gallery__thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  object-position: center top;
  background: #071420;
  border-radius: 0;
  flex-shrink: 0;
  display: block;
}
.product-gallery__thumb-label {
  display: block;
  padding: 7px 8px 8px;
  line-height: 1.25;
  color: #d7e0e9;
  background: #0a1520;
}
.product-gallery__thumb-marker {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #091826;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(9, 24, 38, 0.35);
}
.product-gallery__thumb-marker[hidden] {
  display: none !important;
}
.product-gallery button[data-gallery-thumb]:hover,
.product-gallery__thumb:hover {
  border-color: rgba(232, 208, 139, 0.45);
  background: #0a1520;
  background-color: #0a1520;
}
.product-gallery button[data-gallery-thumb][aria-current="true"],
.product-gallery button[data-gallery-thumb][aria-selected="true"],
.product-gallery__thumb[aria-current="true"],
.product-gallery__thumb[aria-selected="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 77, 0.55);
  color: #fff;
  background: #0d1c2a;
  background-color: #0d1c2a;
}
.product-gallery button[data-gallery-thumb][aria-current="true"] .product-gallery__thumb-label,
.product-gallery button[data-gallery-thumb][aria-selected="true"] .product-gallery__thumb-label,
.product-gallery__thumb[aria-current="true"] .product-gallery__thumb-label,
.product-gallery__thumb[aria-selected="true"] .product-gallery__thumb-label {
  color: #fff;
  background: #0d1c2a;
}
.product-gallery button[data-gallery-thumb]:focus-visible,
.product-gallery__thumb:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.product-gallery__actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-gallery__expand {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(201, 162, 77, 0.45);
  background: rgba(201, 162, 77, 0.08);
  color: var(--gold-2);
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 44px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.product-gallery__expand:hover {
  background: rgba(201, 162, 77, 0.16);
}
.product-gallery__expand:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.product-gallery__dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  max-width: min(1100px, calc(100vw - 32px));
  width: 100%;
  background: #071420;
  color: var(--text);
}
.product-gallery__dialog::backdrop {
  background: rgba(4, 10, 18, 0.82);
}
.product-gallery__dialog-inner {
  padding: 16px;
}
.product-gallery__dialog img {
  width: 100%;
  height: auto;
  max-height: min(78vh, 820px);
  object-fit: contain;
  background: #071420;
  border-radius: 8px;
}
.product-gallery__dialog-close {
  margin-top: 12px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 44px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.product-gallery__dialog-close:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.product-gallery__noscript {
  display: none;
}
noscript .product-gallery__noscript {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
noscript .product-gallery__noscript figure {
  margin: 0;
}
noscript .product-gallery__noscript img {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #071420;
}
.split--gallery {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 36px;
}
.split--gallery-flip {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.module-copy .result-line {
  margin-top: 18px;
}
.band--overview .product-gallery__stage {
  aspect-ratio: 21 / 9;
  max-height: min(480px, 48vh);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0 16px;
  margin: 0 0 10px;
  max-width: 820px;
}
.faq details summary {
  cursor: pointer;
  font-weight: 650;
  padding: 14px 0;
  list-style: none;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary:hover { color: var(--gold-2); }
.faq details summary:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.faq details[open] summary { color: #fff; }
.faq details p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 68ch;
}

@media (max-width: 900px) {
  .split--gallery,
  .split--gallery-flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-gallery__stage {
    max-height: min(360px, 48vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
