/* Campaign overview, campaign page and signing sheet (PRP-PIR-025).
   Layout after svp.jetzt, colours from the Politiq CI 1.1. Every class carries the
   prefix `cx-` so nothing collides with initiq.css or perspektiven.css. Colours are
   taken from the shared variables (--bg, --surface, --text, ...): locally they are
   dark, live perspektiven.css switches them between light and dark. Only the navy
   sections (hero, signing band) keep their own fixed ground in both worlds. */

:root {
  /* One set of values for both colour worlds: everything that must differ is
     mixed from the shared --text / --bg / --surface, which initiq.css (dark,
     local) and perspektiven.css (light by default, dark on request) set. No
     rule depends on the theme attribute being present. */
  --cx-navy-a: #16244a;
  --cx-navy-b: #1d3063;
  --cx-on-navy: #ffffff;
  --cx-on-navy-muted: rgba(255, 255, 255, 0.8);
  --cx-on-navy-dim: rgba(255, 255, 255, 0.64);
  --cx-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 30px rgba(0, 0, 0, 0.08);
  --cx-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.3);
  --cx-card: var(--surface, rgba(255, 255, 255, 0.05));
  --cx-solid: var(--bg, #0c111d);
  --cx-cta: color-mix(in srgb, #e30613 78%, var(--text, #eef0f4));
  --cx-track: color-mix(in srgb, var(--text, #eef0f4) 14%, transparent);
  --cx-invert-bg: var(--text, #eef0f4);
  --cx-invert-fg: var(--bg, #0c111d);
  --cx-radius: 10px;
}

.cx-page { overflow-x: clip; }
.cx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.cx-ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cx-ico.sm { width: 16px; height: 16px; }

/* ---------- navy ground with the dot grid of the logo ---------- */
.cx-navy {
  position: relative;
  color: var(--cx-on-navy);
  background:
    radial-gradient(circle at 88% 80%, rgba(227, 6, 19, 0.22), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(138, 180, 232, 0.16), transparent 42%),
    linear-gradient(160deg, var(--cx-navy-a), var(--cx-navy-b));
  isolation: isolate;
}
.cx-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.3px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.cx-navy a:not(.cx-btn) { color: #fff; }
.cx-eyebrow-pill {
  display: inline-block;
  line-height: 1.55;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cx-on-navy-muted);
}
.cx-eyebrow-pill strong { color: #fff; letter-spacing: 0.04em; text-transform: none; font-size: 0.9rem; margin-left: 0.35em; }
.cx-eyebrow { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }

/* ---------- buttons ---------- */
.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--cx-radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}
.cx-btn:hover { text-decoration: none; }
.cx-btn.sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
.cx-btn-primary { background: var(--red, #e30613); color: #fff; box-shadow: 0 6px 18px rgba(227, 6, 19, 0.28); }
.cx-btn-primary:hover { background: #c30510; color: #fff; }
.cx-btn-light { background: #fff; color: #16244a; }
.cx-btn-light:hover { background: #eef0f4; color: #16244a; }
.cx-btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.04); }
.cx-btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cx-btn-outline { border-color: var(--border-strong); color: var(--text); background: var(--cx-card); }
.cx-btn-outline:hover { border-color: var(--text-muted); color: var(--text); }
.cx-btn-navy { background: var(--cx-invert-bg); color: var(--cx-invert-fg); }
.cx-btn-ghost { background: transparent; color: var(--text); }
.cx-btn.block { width: 100%; }
.cx-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 800;
  color: var(--cx-cta);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.cx-link-cta:hover { text-decoration: underline; color: var(--cx-cta); }

/* ---------- badges (the instrument colours come from initiq.css .badge.*) ---------- */
.cx-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cx-badges .badge { margin: 0; }
.badge.cx-badge-live { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, transparent); background: color-mix(in srgb, var(--green) 10%, transparent); }
.badge.cx-badge-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.cx-on-navy .badge { background-color: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.cx-on-navy .badge.petition { color: #e8c79a; border-color: rgba(232, 199, 154, 0.55); }
.cx-on-navy .badge.initiative { color: #8ab4e8; border-color: rgba(138, 180, 232, 0.55); }
.cx-on-navy .badge.referendum { color: #ff8a8f; border-color: rgba(227, 6, 19, 0.6); }
.cx-on-navy .badge.political_campaign { color: #aab6cf; border-color: rgba(170, 182, 207, 0.55); }
.cx-on-navy .badge.state { color: var(--cx-on-navy-muted); border-color: rgba(255, 255, 255, 0.3); }
.cx-on-navy .badge.cx-badge-live { color: #7fc8a9; border-color: rgba(127, 200, 169, 0.55); }

/* ---------- overview hero ---------- */
.cx-list-hero { padding: 76px 0 92px; text-align: center; }
.cx-list-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 22px auto 18px;
  max-width: 16ch;
  color: #fff;
}
.cx-list-hero .cx-lead { font-size: 1.22rem; color: var(--cx-on-navy-muted); max-width: 44ch; margin: 0 auto; }
.cx-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cx-list-hero .cx-ctas { justify-content: center; }
.cx-hero-facts { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; padding: 0; list-style: none; }
.cx-hero-facts li { font-size: 0.88rem; color: var(--cx-on-navy-muted); padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; }
.cx-hero-facts b { color: #fff; }

/* neutrality notice lifted onto the hero edge */
.cx-lift { margin-top: -44px; position: relative; z-index: 2; }
.cx-lift > * { margin: 0; box-shadow: var(--cx-shadow); }
.cx-lift .platform-neutrality { max-width: none; padding: 0; margin: 0; }
.cx-lift .platform-neutrality .notice { margin: 0; background: linear-gradient(var(--cx-card), var(--cx-card)), var(--cx-solid); border-color: var(--border); box-shadow: var(--cx-shadow); padding: 16px 20px; }
.cx-lift .platform-neutrality .hint { color: var(--text-secondary); }

/* ---------- filter (plain GET form) ---------- */
.cx-filters { margin: 26px 0 8px; background: var(--cx-card); border: 1px solid var(--border); border-radius: var(--cx-radius); padding: 18px 20px; box-shadow: var(--cx-shadow); }
.cx-filters .cx-row1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.cx-seg { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.cx-seg label { position: relative; font-size: 0.88rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-secondary); background: var(--surface-strong, rgba(255, 255, 255, 0.04)); cursor: pointer; margin: 0; }
.cx-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cx-seg label:has(input:checked) { background: var(--cx-invert-bg); color: var(--cx-invert-fg); border-color: var(--cx-invert-bg); }
.cx-seg label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.cx-filters .cx-count { margin-left: auto; font-size: 0.88rem; color: var(--text-secondary); font-weight: 600; }
.cx-filters .cx-row2 { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr auto auto; gap: 10px; margin-top: 14px; align-items: end; }
.cx-mini { margin: 0; }
.cx-mini label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 5px; letter-spacing: 0.02em; }
.cx-mini select, .cx-mini input { width: 100%; min-height: 44px; }
.cx-filters .cx-row2 .cx-btn { min-height: 44px; }

/* ---------- campaign cards ---------- */
.cx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 28px 0 72px; }
.cx-card { display: flex; flex-direction: column; background: var(--cx-card); border: 1px solid var(--border); border-radius: var(--cx-radius); overflow: hidden; box-shadow: var(--cx-shadow); }
.cx-card .cx-media { display: block; aspect-ratio: 4 / 3; background: #0c111d; overflow: hidden; }
.cx-card .cx-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.cx-card .cx-media.cx-fallback { display: grid; place-items: center; position: relative; background:
  radial-gradient(circle at 88% 80%, rgba(227, 6, 19, 0.22), transparent 40%),
  linear-gradient(160deg, var(--cx-navy-a), var(--cx-navy-b)); }
.cx-card .cx-media.cx-fallback span { position: relative; z-index: 1; font-weight: 800; font-size: 1.3rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.cx-card .cx-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cx-card .cx-badges { margin-bottom: 14px; }
.cx-card h3 { font-size: 1.28rem; line-height: 1.22; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.cx-card h3 a { color: var(--text); text-decoration: none; }
.cx-card h3 a:hover { text-decoration: underline; }
.cx-card .cx-meta { margin: 8px 0 18px; font-size: 0.9rem; color: var(--text-secondary); }
.cx-card .cx-meta span { display: block; }
.cx-support { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.cx-support .cx-num { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.cx-support .cx-num small { font-size: 0.94rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0; margin-left: 6px; }
.cx-support .cx-kind { font-size: 0.8rem; color: var(--text-secondary); margin-top: 6px; }
.cx-support .progress { margin: 0; }
.cx-bar { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 10px; border: 0; border-radius: 999px; background: var(--cx-track); overflow: hidden; color: #e30613; }
.cx-bar::-webkit-progress-bar { background: var(--cx-track); border-radius: 999px; }
.cx-bar::-webkit-progress-value { background: linear-gradient(90deg, #e30613, #ff3b45); border-radius: 999px; }
.cx-bar::-moz-progress-bar { background: linear-gradient(90deg, #e30613, #ff3b45); border-radius: 999px; }
.cx-progress .meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 0.86rem; color: var(--text-secondary); }
.cx-progress .meta strong { color: var(--cx-cta); }
.cx-support .progress .meta { font-size: 0.82rem; }
.cx-support .countdown { display: inline-block; margin-top: 8px; font-size: 0.82rem; }
.cx-card .cx-actions { padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cx-card .cx-actions .cx-more { font-size: 0.9rem; font-weight: 700; color: var(--text-secondary); }
.cx-card .cx-closed { font-size: 0.9rem; font-weight: 700; color: var(--text-secondary); }

/* start tile */
.cx-start-tile { border-radius: var(--cx-radius); padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; box-shadow: var(--cx-shadow); }
.cx-start-tile h3 { font-size: 1.85rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 18px 0 12px; color: #fff; }
.cx-start-tile p { color: var(--cx-on-navy-muted); }
.cx-start-tile ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.cx-start-tile li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--cx-on-navy-muted); }
.cx-start-tile li .cx-ico { color: #7fc8a9; margin-top: 2px; }

.cx-pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin: -40px 0 72px; }

/* ---------- campaign page hero ---------- */
.cx-c-hero { padding: 60px 0 84px; }
.cx-c-hero .cx-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.cx-c-hero.cx-no-poster .cx-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.cx-c-hero .cx-badges { margin-top: 18px; }
.cx-title { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.025em; margin: 22px 0 18px; color: #fff; }
.cx-c-hero .cx-lead { font-size: 1.28rem; color: var(--cx-on-navy-muted); max-width: 40ch; white-space: pre-line; }
.cx-c-hero .cx-committee { color: var(--cx-on-navy-muted); margin-top: 10px; }
.cx-c-hero .sponsor-label { margin-top: 20px; }
.cx-c-hero .sponsor-label, .cx-c-hero .sponsor-label * { color: var(--cx-on-navy-muted); }
.cx-c-hero .sponsor-label strong { color: #fff; }
.cx-poster-stack { justify-self: end; width: min(100%, 380px); display: flex; flex-direction: column; gap: 16px; }
.cx-poster-stack .campaign-header-image { margin: 0; }
.cx-poster-stack .campaign-header-image img,
.cx-poster-stack .cx-hero-media { width: 100%; height: auto; border-radius: var(--cx-radius); box-shadow: var(--cx-shadow-lg); display: block; }
.cx-stat-card { background: var(--cx-card); color: var(--text); border-radius: var(--cx-radius); padding: 22px 24px; box-shadow: var(--cx-shadow-lg); border: 1px solid var(--border); }
.cx-stat-card .cx-label { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-secondary); font-weight: 600; }
.cx-stat-card .cx-big { font-size: 3.4rem; line-height: 1; font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 4px; }
.cx-stat-card .cx-big small { font-size: 1rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0; margin-left: 6px; }
.cx-stat-card .cx-kind { font-size: 0.82rem; color: var(--text-secondary); }
.cx-stat-card .cx-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--text-secondary); flex-wrap: wrap; }
.cx-stat-card .progress { margin: 10px 0 0; }
.cx-stat-card .cx-hidden-note { font-size: 0.88rem; color: var(--text-secondary); margin-top: 8px; }

/* ---------- sections below the hero ---------- */
.cx-section { padding: 64px 0; }
.cx-read { max-width: 780px; margin: 0 auto; }
.cx-read > .cx-eyebrow { display: block; margin-bottom: 4px; }
.cx-read .content-blocks { margin: 10px 0 0; }
.cx-read .content-blocks h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 18px; }
.cx-read .content-blocks h3 { font-size: 1.25rem; font-weight: 800; margin: 26px 0 10px; }
.cx-read .content-blocks p { font-size: 1.1rem; line-height: 1.72; color: var(--text); }
.cx-read .content-blocks blockquote { border-left: 4px solid var(--accent, var(--red, #e30613)); padding: 6px 0 6px 18px; margin: 20px 0; font-size: 1.15rem; font-weight: 600; color: var(--text); }
.cx-read .notice { margin-top: 18px; }
.cx-infocards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.cx-icard { background: var(--cx-card); border: 1px solid var(--border); border-radius: var(--cx-radius); padding: 22px 24px; box-shadow: var(--cx-shadow); }
.cx-icard .cx-eyebrow { font-size: 0.74rem; }
.cx-icard h2, .cx-icard h3 { font-size: 1.2rem; font-weight: 800; margin: 8px 0 0; line-height: 1.3; }
.cx-icard p { font-size: 0.94rem; color: var(--text-secondary); margin-top: 6px; }
.cx-icard.cx-wide { grid-column: 1 / -1; }
.cx-doc-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.cx-doc-list li { display: flex; align-items: center; gap: 14px; }
.cx-doc-list .cx-file { width: 42px; height: 52px; border-radius: 6px; background: var(--surface-strong, rgba(255, 255, 255, 0.08)); display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; color: var(--red, #e30613); letter-spacing: 0.06em; flex: none; }
.cx-doc-list a { font-weight: 700; }

/* ---------- signing band ---------- */
.cx-sign-band { padding: 84px 0; scroll-margin-top: 20px; }
.cx-sign-band .cx-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.cx-sign-band h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; margin: 18px 0 16px; color: #fff; }
.cx-sign-band .cx-lead { color: var(--cx-on-navy-muted); font-size: 1.12rem; }
.cx-counter { margin-top: 28px; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--cx-radius); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); }
.cx-counter b { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.cx-counter span { color: var(--cx-on-navy-muted); font-size: 0.94rem; line-height: 1.4; }
.cx-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.cx-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; color: var(--cx-on-navy-muted); font-size: 0.97rem; line-height: 1.5; }
.cx-steps li b { color: #fff; display: block; }
.cx-steps .cx-n { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 0.94rem; }
.cx-steps li.cx-now .cx-n { background: #fff; color: #16244a; border-color: #fff; }
.cx-promise-navy { margin-top: 26px; display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: 0.9rem; color: var(--cx-on-navy-muted); line-height: 1.55; }
.cx-promise-navy .cx-ico { color: #7fc8a9; margin-top: 2px; }
.cx-promise-navy b { color: #fff; display: block; }
.cx-sign-band .notice { margin-top: 18px; }

/* the form card: identical markup on the page and in the sheet. Opaque, so
   neither the navy band nor its dot grid shows through the fields (AA contrast). */
.cx-form-card { background: linear-gradient(var(--cx-card), var(--cx-card)), var(--cx-solid); color: var(--text); border-radius: var(--cx-radius); padding: 32px 32px 26px; box-shadow: var(--cx-shadow-lg); border: 1px solid var(--border); }
.cx-form-card h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.cx-form-card .cx-sub { font-size: 0.9rem; color: var(--text-secondary); margin: 4px 0 6px; }
.cx-form-card .field { margin: 16px 0 0; }
.cx-form-card .field-row { gap: 16px; }
.cx-form-card .field label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.cx-form-card .field input, .cx-form-card .field select { width: 100%; min-height: 50px; border-radius: var(--cx-radius); font-size: 1rem; }
.cx-form-card .cx-req { color: var(--red, #e30613); margin-left: 2px; }
.cx-form-card #sign-swiss-location { margin-top: 16px; padding: 2px 16px 16px; border-radius: var(--cx-radius); background: var(--surface-strong, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border); }
.cx-form-card .cx-swiss-tag { display: block; margin-top: 12px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); }
.cx-form-card #sign-canton { display: flex; align-items: center; min-height: 50px; padding: 0 14px; border-radius: var(--cx-radius); border: 1px dashed var(--border-strong); font-weight: 700; color: var(--text); }
/* The canton is two letters; the municipality needs the room for its names. */
@media (min-width: 641px) {
  .cx-form-card #sign-swiss-location .field-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
.cx-form-card .check { margin: 14px 0 0; }
.cx-form-card .check label, .cx-form-card label.checkbox { color: var(--text); font-size: 0.94rem; line-height: 1.5; }
.cx-form-card input[type="checkbox"] { accent-color: var(--red, #e30613); width: 20px; height: 20px; flex: none; }
.cx-form-card .notice.promise { margin-top: 18px; font-size: 0.86rem; line-height: 1.55; }
.cx-form-card .math-challenge { margin-top: 18px; }
.cx-form-card .hint { color: var(--text-secondary); }
.cx-form-card .math-challenge-question { font-size: 1.25rem; font-weight: 800; padding: 10px 16px; border-radius: var(--cx-radius); background: var(--surface-strong, rgba(255, 255, 255, 0.06)); }
.cx-form-card .math-challenge-row input { width: 120px; min-height: 50px; text-align: center; font-size: 1.1rem; }
.cx-form-card .btn-row { margin-top: 22px; }
.cx-form-card .btn-row .btn.primary { width: 100%; min-height: 52px; font-size: 1.05rem; font-weight: 700; border-radius: var(--cx-radius); box-shadow: 0 6px 18px rgba(227, 6, 19, 0.28); }
.cx-submit-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 0.86rem; color: var(--text-secondary); line-height: 1.5; }
.cx-submit-note .cx-ico { color: var(--blue); margin-top: 1px; }
.cx-form-error { margin: 14px 0 0; }

/* ---------- supporters and sharing ---------- */
.cx-two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cx-two > #teilen { position: sticky; top: 20px; }
.cx-panel { background: var(--cx-card); border: 1px solid var(--border); border-radius: var(--cx-radius); padding: 28px; box-shadow: var(--cx-shadow); }
.cx-panel h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.cx-panel h3 { font-size: 1.06rem; font-weight: 800; margin: 24px 0 4px; }
.cx-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cx-people { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; margin: 18px 0 0; padding: 0; }
.cx-people li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.cx-people .cx-av { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-strong, rgba(255, 255, 255, 0.08)); flex: none; display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; color: var(--text-secondary); }
.cx-people .cx-who { min-width: 0; }
.cx-people .cx-who b { display: block; font-size: 0.94rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-people .cx-who span { display: block; font-size: 0.8rem; color: var(--text-secondary); }
.cx-panel .field { margin-top: 16px; }
.cx-panel .share-social { margin-top: 14px; }

/* ---------- mobile action bar ---------- */
.cx-mbar { display: none; }

/* ---------- signing sheet (dialog) ---------- */
.cx-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(560px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--cx-shadow-lg);
}
.cx-dialog[open] { display: flex; flex-direction: column; }
.cx-dialog::backdrop { background: rgba(12, 17, 29, 0.55); backdrop-filter: blur(2px); }
.cx-dialog-head { background: var(--cx-card); border-bottom: 1px solid var(--border); padding: 16px 20px; display: grid; grid-template-columns: 64px 1fr 40px; gap: 16px; align-items: center; }
.cx-dialog-head.cx-no-thumb { grid-template-columns: 1fr 40px; }
.cx-dialog-head img { width: 64px; height: 90px; object-fit: cover; object-position: top; border-radius: 6px; }
.cx-dialog-head h2 { font-size: 1.05rem; line-height: 1.3; font-weight: 800; margin: 6px 0 0; }
.cx-dialog-head .cx-cnt { font-size: 0.84rem; color: var(--text-secondary); margin-top: 4px; }
.cx-dialog-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text); background: transparent; cursor: pointer; align-self: start; }
.cx-dialog-body { overflow: auto; padding: 20px; flex: 1; overscroll-behavior: contain; }
.cx-dialog-body .cx-form-card { box-shadow: none; padding: 24px 22px 20px; }
.cx-dialog-body > .cx-intro { font-size: 0.86rem; color: var(--text-secondary); margin: 0 2px 14px; }
.cx-dialog-foot { padding: 12px 20px; border-top: 1px solid var(--border); background: var(--cx-card); font-size: 0.84rem; color: var(--text-secondary); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cx-dialog-status { padding: 40px 20px; text-align: center; color: var(--text-secondary); }
.cx-success { text-align: center; padding: 34px 24px 28px; }
.cx-success .cx-ok { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.cx-success .cx-ok .cx-ico { width: 36px; height: 36px; stroke-width: 2.4; }
.cx-success h3 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.cx-success p { color: var(--text-secondary); margin-top: 10px; }
.cx-steps-light { list-style: none; text-align: left; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.cx-steps-light li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: 0.94rem; color: var(--text-secondary); align-items: center; }
.cx-steps-light .cx-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; border: 1px solid var(--border-strong); color: var(--text); font-size: 0.88rem; }
.cx-steps-light li.cx-done .cx-n { background: var(--green); border-color: var(--green); color: #fff; }
.cx-steps-light li.cx-now .cx-n { background: var(--red, #e30613); border-color: var(--red, #e30613); color: #fff; }
.cx-steps-light li.cx-now { color: var(--text); font-weight: 700; }
.cx-success .cx-ctas { justify-content: center; }
html.cx-dialog-open { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cx-wrap { padding: 0 20px; }
  .cx-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .cx-filters .cx-row2 { grid-template-columns: 1fr 1fr; }
  .cx-filters .cx-row2 .cx-search { grid-column: 1 / -1; }
  .cx-c-hero .cx-wrap, .cx-c-hero.cx-no-poster .cx-wrap, .cx-sign-band .cx-wrap { grid-template-columns: 1fr; gap: 36px; }
  .cx-poster-stack { justify-self: center; width: min(100%, 380px); }
  .cx-infocards, .cx-two { grid-template-columns: 1fr; }
  .cx-two > #teilen { position: static; }
  .cx-people { grid-template-columns: 1fr 1fr; }
  .cx-mbar.cx-visible {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--cx-solid);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(12, 17, 29, 0.12);
  }
  .cx-mbar .cx-btn-primary { flex: 1; }
  body.cx-mbar-on { padding-bottom: 84px; }
}
@media (max-width: 640px) {
  .cx-grid { grid-template-columns: 1fr; }
  .cx-list-hero { padding: 54px 0 72px; }
  .cx-list-hero .cx-lead, .cx-c-hero .cx-lead { font-size: 1.1rem; }
  .cx-filters .cx-row2 { grid-template-columns: 1fr; }
  .cx-seg { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .cx-form-card { padding: 24px 18px 22px; }
  .cx-form-card .field-row { grid-template-columns: 1fr; gap: 0; }
  .cx-people { grid-template-columns: 1fr; }
  .cx-c-hero .cx-ctas .cx-btn { flex: 1 1 auto; }
  .cx-dialog { width: 100vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
