/* ============================================================
   paperghost.de — corporate SaaS landing
   ============================================================ */

:root {
  --pg-accent: #1e5fd9;
  --pg-bg: #f6f8fc;
  --pg-surface: #ffffff;
  --pg-text: #0a2540;
  --pg-muted: #5b6b85;
  --pg-subtle: #eef2f8;
  --pg-border: rgba(10, 37, 64, 0.10);
  --pg-brand: #0a2540;
  --pg-density: 1;

  --pg-font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --pg-font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --pg-font-mono: "JetBrains Mono", ui-monospace, monospace;

  --pg-radius: 14px;
  --pg-radius-sm: 8px;
  --pg-shadow-sm: 0 1px 0 rgba(10, 37, 64, 0.04), 0 1px 2px rgba(10, 37, 64, 0.06);
  --pg-shadow-md: 0 12px 32px -16px rgba(10, 37, 64, 0.20), 0 4px 12px -4px rgba(10, 37, 64, 0.08);
  --pg-shadow-lg: 0 40px 80px -40px rgba(10, 37, 64, 0.30), 0 12px 32px -16px rgba(10, 37, 64, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--pg-font-sans);
  color: var(--pg-text);
  background: var(--pg-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
  transition: background 240ms ease, color 240ms ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ---------- Layout ---------- */
.pg-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .pg-container { padding: 0 20px; }
}

.pg-section {
  padding: calc(120px * var(--pg-density)) 0;
  position: relative;
}
@media (max-width: 720px) {
  .pg-section { padding: 72px 0; }
}

/* ---------- Typography ---------- */
.pg-h1, .pg-h2, .pg-h3 {
  font-family: var(--pg-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--pg-text);
  line-height: 1.04;
}
.pg-h1 {
  font-size: clamp(48px, 6.8vw, 88px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.pg-h1 em {
  font-style: italic;
  font-family: "Bricolage Grotesque", serif;
  font-weight: 500;
}
.pg-h1-xl { font-size: clamp(64px, 10vw, 140px); letter-spacing: -0.045em; line-height: 0.95; }
.pg-h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  margin-bottom: 56px;
  max-width: 920px;
  letter-spacing: -0.025em;
}
.pg-h2-white { color: white; }
.pg-lede {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--pg-muted);
  line-height: 1.55;
  max-width: 540px;
  margin: 24px 0 36px;
}
.pg-lede-center { margin-left: auto; margin-right: auto; text-align: center; }
.pg-accent-text { color: var(--pg-accent); }

/* eyebrow */
.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pg-font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pg-muted);
  margin-bottom: 28px;
}
.pg-eyebrow .pg-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  display: inline-block;
}

/* section label (numbered) */
.pg-sec-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--pg-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pg-muted);
  margin-bottom: 32px;
}
.pg-sec-num { color: var(--pg-accent); font-weight: 600; }
.pg-sec-line {
  flex: 0 0 56px;
  height: 1px;
  background: var(--pg-border);
}

/* ---------- Buttons ---------- */
.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--pg-radius-sm);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}
.pg-btn-lg { padding: 14px 22px; font-size: 16px; }
.pg-btn-wide { width: 100%; justify-content: center; }
.pg-btn-primary {
  background: var(--pg-accent);
  color: white;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 6px 18px -6px color-mix(in oklab, var(--pg-accent) 70%, transparent);
}
.pg-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 10px 24px -8px color-mix(in oklab, var(--pg-accent) 70%, transparent);
}
.pg-btn-ghost {
  background: transparent;
  color: var(--pg-text);
  border-color: var(--pg-border);
}
.pg-btn-ghost:hover { background: var(--pg-subtle); }
.pg-btn-outline {
  background: var(--pg-surface);
  color: var(--pg-text);
  border-color: var(--pg-border);
}
.pg-btn-outline:hover { border-color: var(--pg-accent); color: var(--pg-accent); }
.pg-btn-white {
  background: white;
  color: var(--pg-brand);
}
.pg-btn-white:hover { transform: translateY(-1px); }
.pg-btn-ghost-on-dark {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.30);
}
.pg-btn-ghost-on-dark:hover { background: rgba(255, 255, 255, 0.08); }

.pg-link-quiet {
  font-size: 15px;
  color: var(--pg-muted);
  padding: 8px 12px;
}
.pg-link-quiet:hover { color: var(--pg-text); }

/* ============================================================
   NAV
   ============================================================ */
.pg-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--pg-bg) 78%, transparent);
}
.pg-nav-divider {
  height: 1px;
  background: var(--pg-border);
}
.pg-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.pg-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pg-font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--pg-brand);
}
.pg-brand-mark { display: inline-flex; }
.pg-brand-tld { color: var(--pg-muted); font-weight: 400; }
.pg-nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.pg-nav-links a {
  font-size: 15px;
  color: var(--pg-text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 160ms ease;
}
.pg-nav-links a:hover { background: var(--pg-subtle); }
.pg-nav-cta {
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 980px) {
  .pg-nav-links { display: none; }
}
@media (max-width: 560px) {
  .pg-nav-cta .pg-link-quiet { display: none; }
}

/* ============================================================
   HERO — SPLIT (variant A)
   ============================================================ */
.pg-hero { padding: calc(80px * var(--pg-density)) 0 calc(120px * var(--pg-density)); position: relative; overflow: hidden; }
.pg-hero-split { padding-top: calc(72px * var(--pg-density)); }
.pg-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1024px) {
  .pg-hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.pg-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pg-hero-ctas-center { justify-content: center; }
.pg-hero-trust {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  flex-wrap: wrap;
  color: var(--pg-muted);
  font-size: 14px;
}
.pg-hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.pg-hero-trust svg { color: var(--pg-accent); }

/* product mock */
.pg-hero-visual { position: relative; }
.pg-mock {
  position: relative;
  border-radius: 18px;
}
.pg-mock-bg {
  position: absolute;
  inset: -24px -8px -32px -8px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at top right, color-mix(in oklab, var(--pg-accent) 18%, transparent), transparent 60%),
    radial-gradient(ellipse at bottom left, color-mix(in oklab, var(--pg-accent) 8%, transparent), transparent 50%);
  z-index: 0;
}
.pg-mock-window {
  position: relative;
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--pg-shadow-lg);
  z-index: 1;
}
.pg-mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--pg-border);
  background: var(--pg-bg);
}
.pg-mock-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--pg-text) 12%, transparent);
}
.pg-mock-url {
  margin-left: 16px;
  font-family: var(--pg-font-mono);
  font-size: 12px;
  color: var(--pg-muted);
}
.pg-mock-body {
  display: grid;
  grid-template-columns: 180px 1fr;
}
.pg-mock-sidebar {
  background: var(--pg-bg);
  border-right: 1px solid var(--pg-border);
  padding: 12px 0;
  font-size: 13px;
}
.pg-mock-sb, .pg-mock-sb-active {
  padding: 8px 16px;
  color: var(--pg-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 2px solid transparent;
}
.pg-mock-sb-active {
  color: var(--pg-text);
  font-weight: 500;
  background: var(--pg-surface);
  border-left-color: var(--pg-accent);
}
.pg-mock-badge {
  font-size: 11px;
  color: white;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}
.pg-mock-sb-section {
  padding: 14px 16px 6px;
  font-family: var(--pg-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pg-muted);
}
.pg-mock-main { padding: 18px 22px; }
.pg-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 16px;
}
.pg-mock-pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.pg-mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pg-mock-table th {
  text-align: left;
  padding: 8px 10px;
  color: var(--pg-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--pg-border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pg-mock-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--pg-border);
}
.pg-mock-table tr.pg-row-new {
  background: color-mix(in oklab, var(--pg-accent) 5%, transparent);
}
.pg-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
}
.pg-tag-ok { background: rgba(16, 122, 80, 0.10); color: #107a50; }
.pg-tag-warn { background: rgba(196, 121, 0, 0.12); color: #b06a00; }

.pg-conf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.pg-conf-bar {
  width: 52px;
  height: 5px;
  border-radius: 4px;
  background: var(--pg-subtle);
  overflow: hidden;
  display: inline-block;
}
.pg-conf-fill { display: block; height: 100%; border-radius: 4px; }
.pg-conf-num { color: var(--pg-muted); }

.pg-mock-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--pg-border);
  font-size: 13px;
  color: var(--pg-muted);
}
.pg-mock-export {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* floating cards */
.pg-mock-float {
  position: absolute;
  z-index: 2;
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--pg-shadow-md);
  font-size: 13px;
  min-width: 200px;
  animation: pg-float 6s ease-in-out infinite;
}
.pg-mock-float-1 { top: -16px; left: -28px; animation-delay: -2s; }
.pg-mock-float-2 { bottom: -22px; right: -14px; animation-delay: -4s; }
.pg-mock-float-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
}
.pg-mock-float-title { font-weight: 500; color: var(--pg-text); }
.pg-mock-float-sub { color: var(--pg-muted); font-size: 12px; }

@keyframes pg-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 720px) {
  .pg-mock-float-1, .pg-mock-float-2 { display: none; }
  .pg-mock-body { grid-template-columns: 1fr; }
  .pg-mock-sidebar { display: none; }
}

/* ============================================================
   HERO — CENTERED (variant B)
   ============================================================ */
.pg-hero-centered { padding-top: calc(56px * var(--pg-density)); padding-bottom: 0; }
.pg-hero-center-inner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 0 48px;
}
.pg-hero-center-inner .pg-eyebrow { justify-content: center; }
.pg-hero-center-art {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(360px, 56vh, 620px);
  overflow: hidden;
  margin: 0 -32px;
}
.pg-ghost-art {
  width: clamp(280px, 38vw, 460px);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 20px 50px rgba(30, 95, 217, 0.30));
  mix-blend-mode: multiply;
  animation: pg-bob 5s ease-in-out infinite;
}
[data-palette="midnight"] .pg-ghost-art { mix-blend-mode: normal; }

@keyframes pg-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.pg-orbit { position: absolute; inset: 0; pointer-events: none; }
.pg-orbit-card {
  position: absolute;
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--pg-shadow-md);
  font-size: 13px;
  min-width: 200px;
  animation: pg-float 6s ease-in-out infinite;
}
.pg-orbit-1 { top: 10%; left: 6%; animation-delay: -1s; }
.pg-orbit-2 { bottom: 18%; left: 4%; animation-delay: -3s; }
.pg-orbit-3 { top: 30%; right: 6%; animation-delay: -5s; }
@media (max-width: 720px) {
  .pg-orbit-card { display: none; }
}

/* ============================================================
   HERO — EDITORIAL (variant C)
   ============================================================ */
.pg-hero-editorial { padding-top: calc(48px * var(--pg-density)); }
.pg-edit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--pg-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pg-muted);
  padding-bottom: 24px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--pg-border);
}
.pg-edit-meta { white-space: nowrap; }

.pg-h1-edit {
  font-size: clamp(60px, 11vw, 180px);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin-bottom: 64px;
}
.pg-edit-line { display: block; }
.pg-edit-line-italic {
  font-style: italic;
  padding-left: clamp(40px, 8vw, 140px);
  color: var(--pg-muted);
  font-weight: 400;
}

.pg-edit-bottom {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--pg-border);
}
.pg-edit-blurb {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--pg-text);
  max-width: 380px;
  margin: 0;
  line-height: 1.55;
}
.pg-edit-stats {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .pg-edit-bottom { grid-template-columns: 1fr; gap: 40px; }
  .pg-edit-stats { grid-column: auto; grid-template-columns: 1fr; gap: 24px; }
}
.pg-stat-num {
  font-family: var(--pg-font-display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.pg-stat-label {
  font-size: 13px;
  color: var(--pg-muted);
  line-height: 1.4;
  max-width: 220px;
}
.pg-edit-bottom .pg-hero-ctas { grid-column: 1 / -1; margin-top: 8px; }

/* ============================================================
   LOGOS BAR
   ============================================================ */
.pg-logos {
  padding: 56px 0;
  border-top: 1px solid var(--pg-border);
  border-bottom: 1px solid var(--pg-border);
  background: var(--pg-surface);
}
.pg-logos-eyebrow {
  text-align: center;
  font-family: var(--pg-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pg-muted);
  margin: 0 0 28px;
}
.pg-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  opacity: 0.75;
}
.pg-logo-fake {
  font-family: var(--pg-font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--pg-text);
  letter-spacing: -0.02em;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.7;
}

/* ============================================================
   WORKFLOW
   ============================================================ */
.pg-workflow { background: var(--pg-surface); border-top: 1px solid var(--pg-border); border-bottom: 1px solid var(--pg-border); }
.pg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 900px) {
  .pg-steps { grid-template-columns: 1fr; }
}
.pg-step {
  position: relative;
  padding: 0;
}
.pg-step-num {
  font-family: var(--pg-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  font-feature-settings: "tnum";
}
.pg-step-title {
  font-family: var(--pg-font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.pg-step-body {
  color: var(--pg-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 20px;
  max-width: 320px;
}
.pg-step-keys {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pg-step-keys li {
  font-family: var(--pg-font-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pg-subtle);
  color: var(--pg-text);
  border: 1px solid var(--pg-border);
}
.pg-step-connector {
  display: none;
}

/* ============================================================
   FEATURES
   ============================================================ */
.pg-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--pg-border);
  border-left: 1px solid var(--pg-border);
}
.pg-feat {
  padding: 36px 36px;
  border-right: 1px solid var(--pg-border);
  border-bottom: 1px solid var(--pg-border);
  background: var(--pg-surface);
  transition: background 200ms ease;
}
.pg-feat:hover { background: var(--pg-subtle); }
.pg-feat-num {
  font-family: var(--pg-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  font-weight: 500;
}
.pg-feat-title {
  font-family: var(--pg-font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.pg-feat-body {
  color: var(--pg-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .pg-feat-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.pg-industries { background: var(--pg-surface); border-top: 1px solid var(--pg-border); border-bottom: 1px solid var(--pg-border); }
.pg-ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .pg-ind-grid { grid-template-columns: 1fr; } }
.pg-ind {
  background: var(--pg-bg);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.pg-ind:hover { transform: translateY(-4px); box-shadow: var(--pg-shadow-md); }
.pg-ind-tag {
  align-self: flex-start;
  font-family: var(--pg-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid;
}
.pg-ind-title {
  font-family: var(--pg-font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
.pg-ind-body {
  color: var(--pg-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.pg-ind-kpi {
  border-top: 1px solid var(--pg-border);
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.pg-ind-kpi-v {
  font-family: var(--pg-font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pg-ind-kpi-l {
  font-size: 13px;
  color: var(--pg-muted);
}
.pg-ind-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pg-accent);
}
.pg-ind-link:hover { gap: 10px; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.pg-testimonial { background: var(--pg-bg); }
.pg-test-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .pg-test-grid { grid-template-columns: 1fr; gap: 40px; } }
.pg-test-quote { position: relative; }
.pg-test-mark {
  font-family: var(--pg-font-display);
  font-size: 100px;
  line-height: 0.5;
  margin-bottom: 16px;
  font-weight: 600;
}
.pg-test-quote blockquote {
  font-family: var(--pg-font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 32px;
  font-weight: 400;
}
.pg-test-author { display: flex; align-items: center; gap: 14px; }
.pg-test-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--pg-accent);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.pg-test-name { font-weight: 500; }
.pg-test-role { color: var(--pg-muted); font-size: 13px; }
.pg-test-side {
  border-left: 1px solid var(--pg-border);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pg-test-side-num {
  font-family: var(--pg-font-display);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.pg-test-side-l { font-size: 13px; color: var(--pg-muted); }

/* ============================================================
   PRICING
   ============================================================ */
.pg-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .pg-price-grid { grid-template-columns: 1fr; } }
.pg-price {
  position: relative;
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pg-price-hl {
  border-width: 2px;
  box-shadow: var(--pg-shadow-md);
  transform: scale(1.02);
}
.pg-price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  color: white;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.pg-price-name {
  font-family: var(--pg-font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--pg-muted);
}
.pg-price-row { display: flex; align-items: baseline; gap: 6px; }
.pg-price-num {
  font-family: var(--pg-font-display);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--pg-text);
}
.pg-price-unit { color: var(--pg-muted); font-size: 15px; }
.pg-price-desc { color: var(--pg-muted); font-size: 15px; margin: 0; }
.pg-price-feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--pg-border);
  padding-top: 20px;
}
.pg-price-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.pg-price-feats svg { color: var(--pg-accent); flex: 0 0 14px; }
.pg-price-foot {
  margin-top: 32px;
  text-align: center;
  color: var(--pg-muted);
  font-size: 14px;
}

/* ============================================================
   FAQ
   ============================================================ */
.pg-faq { background: var(--pg-surface); border-top: 1px solid var(--pg-border); border-bottom: 1px solid var(--pg-border); }
.pg-faq-list { border-top: 1px solid var(--pg-border); }
.pg-faq-item { border-bottom: 1px solid var(--pg-border); }
.pg-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  font-family: var(--pg-font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--pg-text);
}
.pg-faq-chev {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--pg-border);
  border-radius: 999px;
  color: var(--pg-muted);
  font-size: 16px;
  font-weight: 400;
}
.pg-faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--pg-muted);
  font-size: 16px;
  line-height: 1.55;
  transition: max-height 320ms ease, padding 320ms ease;
  max-width: 720px;
}
.pg-faq-open .pg-faq-a {
  max-height: 240px;
  padding: 0 0 24px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.pg-cta-band {
  background: var(--pg-brand);
  color: white;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.pg-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 20% 0%, color-mix(in oklab, var(--pg-accent) 40%, transparent), transparent),
    radial-gradient(ellipse 800px 600px at 100% 100%, color-mix(in oklab, var(--pg-accent) 30%, transparent), transparent);
  opacity: 0.6;
  pointer-events: none;
}
.pg-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .pg-cta-inner { grid-template-columns: 1fr; } }
.pg-cta-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  max-width: 560px;
  margin: 20px 0 0;
}
.pg-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 900px) { .pg-cta-buttons { justify-content: flex-start; } }

/* ============================================================
   FOOTER
   ============================================================ */
.pg-footer {
  background: var(--pg-surface);
  border-top: 1px solid var(--pg-border);
  padding: 80px 0 32px;
  font-size: 14px;
}
.pg-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2.4fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--pg-border);
}
@media (max-width: 900px) {
  .pg-footer-top { grid-template-columns: 1fr; gap: 40px; }
}
.pg-footer-tag {
  color: var(--pg-muted);
  margin: 20px 0 16px;
  max-width: 280px;
}
.pg-footer-addr {
  color: var(--pg-muted);
  margin: 0;
  line-height: 1.6;
}
.pg-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 720px) {
  .pg-footer-cols { grid-template-columns: repeat(2, 1fr); }
}
.pg-foot-col h4 {
  font-family: var(--pg-font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pg-text);
  margin: 0 0 14px;
}
.pg-foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pg-foot-col a {
  color: var(--pg-muted);
  transition: color 160ms ease;
}
.pg-foot-col a:hover { color: var(--pg-accent); }
.pg-footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--pg-muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.pg-footer-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-foot-pill {
  font-family: var(--pg-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pg-subtle);
  color: var(--pg-text);
  border: 1px solid var(--pg-border);
}

/* ============================================================
   Midnight palette refinements
   ============================================================ */
body[data-palette="midnight"] .pg-logos,
body[data-palette="midnight"] .pg-workflow,
body[data-palette="midnight"] .pg-industries,
body[data-palette="midnight"] .pg-faq,
body[data-palette="midnight"] .pg-footer { background: var(--pg-subtle); }
body[data-palette="midnight"] .pg-feat:hover { background: var(--pg-subtle); }
body[data-palette="midnight"] .pg-mock-bg { opacity: 0.6; }
body[data-palette="midnight"] .pg-cta-band { background: var(--pg-bg); }
body[data-palette="midnight"] .pg-mock-sb-active,
body[data-palette="midnight"] .pg-mock-window,
body[data-palette="midnight"] .pg-orbit-card,
body[data-palette="midnight"] .pg-mock-float { background: var(--pg-subtle); }
body[data-palette="midnight"] .pg-mock-chrome { background: var(--pg-surface); }
body[data-palette="midnight"] .pg-mock-sidebar { background: var(--pg-surface); }
body[data-palette="midnight"] .pg-tag-ok { background: rgba(34, 197, 94, 0.16); color: #4ade80; }
body[data-palette="midnight"] .pg-tag-warn { background: rgba(234, 179, 8, 0.16); color: #fbbf24; }

/* ============================================================
   Warm palette refinements
   ============================================================ */
body[data-palette="warm"] .pg-mock-bg {
  background:
    radial-gradient(ellipse at top right, color-mix(in oklab, #d4a574 40%, transparent), transparent 60%),
    radial-gradient(ellipse at bottom left, color-mix(in oklab, var(--pg-accent) 8%, transparent), transparent 50%);
}

/* ─── Theme-Toggle Button (Coming-Soon-Overlay) ─── */
.pg-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--pg-border);
  background: var(--pg-surface);
  color: var(--pg-text);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  margin-right: 4px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.pg-theme-toggle:hover {
  background: var(--pg-subtle);
  border-color: var(--pg-accent);
}
.pg-theme-toggle:active {
  transform: scale(0.95);
}
.pg-theme-toggle svg {
  display: block;
}

/* Smooth Theme-Transition für Hauptflächen */
body, .pg-app, .pg-nav, .pg-card, .pg-btn, main, section {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Mobile: Toggle bleibt sichtbar, Frühzugriff-Link versteckt */
@media (max-width: 720px) {
  .pg-nav-cta .pg-link-quiet { display: none; }
  .pg-theme-toggle { width: 34px; height: 34px; }
}

/* Sehr schmal (≤500px): Demo-Button aus Nav raus — CTA ist im Hero ohnehin prominent */
@media (max-width: 500px) {
  .pg-nav-cta .pg-btn-primary { display: none; }
  .pg-brand-text { font-size: 18px; }
}

/* Body never horizontal-scrolls (Sicherheit gegen overflow durch breite Sektionen) */
html, body { overflow-x: hidden; }

/* ─── Mobile-Polish: Hero + Mock (Coming-Soon-Patch) ─── */
@media (max-width: 720px) {
  /* Hero-Headline nicht zu groß */
  .pg-h1 { font-size: clamp(36px, 8.5vw, 48px); }
  .pg-h1-xl { font-size: clamp(40px, 10vw, 64px); }
  .pg-h2 { font-size: clamp(26px, 6vw, 34px); margin-bottom: 32px; }

  /* Hero-Grid sicher stacken + min-width=0 damit children schrumpfen */
  .pg-hero-grid > * { min-width: 0; }

  /* Product-Mock: Sidebar weg, Main scrollbar bei zu viel */
  .pg-mock,
  .pg-mock-window { max-width: 100%; }
  .pg-mock-body { grid-template-columns: 1fr; }
  .pg-mock-sidebar { display: none; }
  .pg-mock-main { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Trust-Items unter Hero: vertical statt 2-Spalten */
  .pg-hero-trust { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ─── Anmelden-Link inaktiv (Coming-Soon) ─── */
.pg-link-disabled {
  color: var(--pg-muted) !important;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}

/* ─── BETA-BANNER (ersetzt LogosBar) ─── */
.pg-betabar {
  padding: 28px 0;
  border-top: 1px solid var(--pg-border);
  border-bottom: 1px solid var(--pg-border);
  background: var(--pg-subtle);
}
.pg-betabar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.pg-betabar-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--pg-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pg-accent);
  color: white;
}
.pg-betabar-text {
  font-size: 15px;
  color: var(--pg-text);
  margin: 0;
  line-height: 1.5;
}
.pg-betabar-link {
  color: var(--pg-accent);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pg-betabar-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── BETA-CALLOUT (ersetzt Testimonial) ─── */
.pg-betacallout-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 32px;
  border: 1px dashed var(--pg-border);
  border-radius: 20px;
  background: var(--pg-subtle);
}
.pg-betacallout-tag {
  display: inline-block;
  font-family: var(--pg-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.pg-betacallout-h {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.pg-betacallout-p {
  color: var(--pg-muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 560px;
  margin-inline: auto;
}

/* ─── INDUSTRIES — Disclaimer & disabled-link ─── */
.pg-ind-disclaimer {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--pg-muted);
  font-style: italic;
}
.pg-ind-link-disabled {
  color: var(--pg-muted) !important;
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── PRICING — Yearly Toggle + 5-Spalten-Grid + Mehr-Details ─── */
.pg-price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--pg-subtle);
  border: 1px solid var(--pg-border);
  margin: 0 auto 48px;
  width: fit-content;
}
.pg-price-toggle-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--pg-muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pg-price-toggle-btn:hover {
  color: var(--pg-text);
}
.pg-price-toggle-on {
  background: var(--pg-surface);
  color: var(--pg-text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.pg-price-toggle-save {
  font-family: var(--pg-font-mono);
  font-size: 11px;
  font-weight: 600;
}

/* Pricing-Grid (5 Tiers) — 5 Spalten auf desktop, 2-3 auf medium, 1 auf mobile */
.pg-price-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1280px) {
  .pg-price-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pg-price-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pg-price-grid-5 { grid-template-columns: 1fr; }
}

.pg-price-num-custom {
  font-size: 36px !important;
  font-weight: 600;
}
.pg-price-yearly-note {
  font-size: 12px;
  color: var(--pg-muted);
  margin: -8px 0 16px;
}
.pg-price-yearly-hint {
  opacity: 0.65;
}
.pg-price-overage {
  font-size: 12px;
  color: var(--pg-muted);
  font-family: var(--pg-font-mono);
  padding: 8px 12px;
  background: var(--pg-subtle);
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Pricing badge — wenn nicht highlighted (Steuer-Paket), dunkel statt accent */
.pg-price-badge {
  color: white;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ─── FOOTER — disabled links + Adresse ─── */
.pg-foot-disabled {
  color: var(--pg-muted) !important;
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.pg-foot-mail {
  color: var(--pg-text);
  text-decoration: underline;
  text-decoration-color: var(--pg-border);
  text-underline-offset: 3px;
}
.pg-foot-mail:hover {
  text-decoration-color: var(--pg-accent);
  color: var(--pg-accent);
}

/* Mobile: Pricing-Toggle bleibt zentriert */
@media (max-width: 600px) {
  .pg-betacallout-inner { padding: 40px 20px; }
  .pg-betabar-text { font-size: 14px; }
}

/* ─── PRE-LAUNCH BAR (über der Nav, non-sticky) ─── */
.pg-prelaunch {
  background: var(--pg-text);
  color: var(--pg-bg);
  font-size: 14px;
  border-bottom: 1px solid color-mix(in oklab, var(--pg-text) 88%, transparent);
}
body[data-theme="dark"] .pg-prelaunch {
  background: var(--pg-accent);
  color: white;
}
.pg-prelaunch-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 20px;
  flex-wrap: wrap;
  text-align: center;
}
.pg-prelaunch-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--pg-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--pg-bg) 18%, transparent);
  color: var(--pg-bg);
  flex-shrink: 0;
}
body[data-theme="dark"] .pg-prelaunch-tag {
  background: rgba(255,255,255,0.18);
  color: white;
}
.pg-prelaunch-text {
  line-height: 1.45;
  opacity: 0.92;
  flex: 1 1 auto;
  max-width: 720px;
  text-align: left;
}
.pg-prelaunch-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--pg-bg);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid color-mix(in oklab, var(--pg-bg) 50%, transparent);
  padding-bottom: 1px;
  flex-shrink: 0;
}
body[data-theme="dark"] .pg-prelaunch-link {
  color: white;
  border-bottom-color: rgba(255,255,255,0.5);
}
.pg-prelaunch-link:hover {
  border-bottom-color: var(--pg-bg);
}

@media (max-width: 720px) {
  .pg-prelaunch-inner { padding: 12px 16px; gap: 8px; }
  .pg-prelaunch-text { font-size: 13px; text-align: center; }
}

/* ─── MARQUEE-STRIPE (Pre-Launch Laufschrift unter der Nav) ─── */
.pg-marquee {
  background: var(--pg-text);
  color: var(--pg-bg);
  border-bottom: 1px solid color-mix(in oklab, var(--pg-text) 88%, transparent);
  overflow: hidden;
}
body[data-theme="dark"] .pg-marquee {
  background: var(--pg-accent);
  color: white;
  border-bottom-color: color-mix(in oklab, var(--pg-accent) 70%, black);
}
.pg-marquee-viewport {
  display: flex;
  width: 100%;
  white-space: nowrap;
}
.pg-marquee-track {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 11px 0;
  animation: pg-marquee-run 60s linear infinite;
  font-family: var(--pg-font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pg-marquee:hover .pg-marquee-track {
  animation-play-state: paused;
}
.pg-marquee-item {
  padding: 0 18px;
  font-weight: 500;
  opacity: 0.92;
}
.pg-marquee-sep {
  opacity: 0.45;
  font-size: 11px;
}
@keyframes pg-marquee-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .pg-marquee-track { animation: none; }
}
@media (max-width: 720px) {
  .pg-marquee-track { font-size: 12px; padding: 10px 0; }
  .pg-marquee-item { padding: 0 14px; }
}

/* ─── NEWSLETTER-FORM ─── */
.pg-form-section {
  padding: 80px 0 !important;
  background: linear-gradient(180deg, var(--pg-bg) 0%, var(--pg-subtle) 100%);
}
.pg-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--pg-surface);
  border: 1px solid var(--pg-border);
  border-radius: 20px;
  padding: 48px 44px;
  box-shadow: var(--pg-shadow-md);
}
@media (max-width: 720px) {
  .pg-form-wrap { padding: 32px 24px; border-radius: 16px; }
  .pg-form-section { padding: 56px 0 !important; }
}

.pg-form-head { text-align: center; margin-bottom: 32px; }
.pg-form-tag {
  display: inline-block;
  font-family: var(--pg-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--pg-accent) 12%, transparent);
  color: var(--pg-accent);
  margin-bottom: 16px;
}
.pg-form-h {
  font-family: var(--pg-font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--pg-text);
}
.pg-form-sub {
  color: var(--pg-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
  margin-inline: auto;
}

.pg-form { display: flex; flex-direction: column; gap: 18px; }
.pg-form-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px; }
@media (max-width: 600px) { .pg-form-row { grid-template-columns: 1fr; } }

.pg-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pg-form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--pg-text);
}
.pg-form-opt {
  color: var(--pg-muted);
  font-weight: 400;
}
.pg-form input[type="text"],
.pg-form input[type="email"] {
  padding: 12px 14px;
  border: 1px solid var(--pg-border);
  border-radius: 10px;
  background: var(--pg-bg);
  color: var(--pg-text);
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, background 160ms ease;
  width: 100%;
}
.pg-form input:focus {
  outline: none;
  border-color: var(--pg-accent);
  background: var(--pg-surface);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--pg-accent) 18%, transparent);
}
.pg-form input:disabled { opacity: 0.6; cursor: not-allowed; }

/* Honeypot — visuell weg, für Bots zugänglich */
.pg-form-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}

.pg-form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 13px;
  color: var(--pg-muted);
  line-height: 1.5;
  align-items: start;
  cursor: pointer;
}
.pg-form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--pg-accent);
  cursor: pointer;
}
.pg-form-link {
  color: var(--pg-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in oklab, var(--pg-accent) 40%, transparent);
}
.pg-form-link:hover { text-decoration-color: var(--pg-accent); }

.pg-form-error {
  font-size: 14px;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: 8px;
}
body[data-theme="dark"] .pg-form-error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
}

.pg-form-note {
  font-size: 12px;
  color: var(--pg-muted);
  text-align: center;
  margin: 8px 0 0;
  line-height: 1.5;
}

/* Success-State */
.pg-form-success { text-align: center; padding: 56px 44px; }
.pg-form-success-mark {
  color: var(--pg-accent);
  margin: 0 auto 18px;
  display: inline-block;
}
.pg-form-success-h {
  font-family: var(--pg-font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--pg-text);
}
.pg-form-success-p {
  color: var(--pg-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 480px;
}

/* Success-Hint (für brevo-pending state) */
.pg-form-success-hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--pg-muted);
}
