/* Shared consent behavior, with each site's own visual language. */
.statistics-banner {
  --statistics-bg: #fff;
  --statistics-ink: #00234d;
  --statistics-muted: #47607a;
  --statistics-line: #dde8f2;
  --statistics-option: #f6f9fc;
  --statistics-accent: #017a80;
  --statistics-button: #00234d;
  --statistics-button-hover: #0a3364;
  --statistics-button-ink: #fff;
  --statistics-radius: 16px;
  --statistics-option-radius: 10px;
  --statistics-button-radius: 999px;
  position: fixed;
  z-index: 1000;
  inset: auto 24px 24px;
  max-width: 1140px;
  margin: auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px 32px;
  padding: 26px 30px;
  background: var(--statistics-bg);
  color: var(--statistics-ink);
  border: 1px solid var(--statistics-line);
  border-radius: var(--statistics-radius);
  box-shadow: 0 16px 64px -16px rgb(0 23 49 / .3);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  max-height: 85svh;
  overflow-y: auto;
}
.statistics-banner * { box-sizing: border-box; }
.statistics-banner h2 {
  font-family: inherit;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 8px 0 12px;
  color: var(--statistics-ink);
}
.statistics-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--statistics-accent); }
.statistics-banner p { margin: 0 0 10px; color: var(--statistics-muted); }
.statistics-banner a { text-decoration: underline; text-underline-offset: 4px; font-size: 13px; font-weight: 600; color: var(--statistics-accent); }
.statistics-options label { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--statistics-line); border-radius: var(--statistics-option-radius); cursor: pointer; background: var(--statistics-option); }
.statistics-options input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--statistics-button); margin: 0; }
.statistics-options strong { display: block; font-size: 15px; }
.statistics-options small { display: block; color: var(--statistics-muted); font-size: 12px; margin-top: 3px; }
.statistics-options p { font-size: 12px; margin-top: 12px; }
.statistics-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 18px; border-top: 1px solid var(--statistics-line); }
/* Equal styling and order for rejection, selection and acceptance. */
.statistics-actions button { appearance: none; cursor: pointer; min-height: 46px; padding: 11px 16px; border: 1px solid var(--statistics-button); border-radius: var(--statistics-button-radius); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; background: var(--statistics-button); color: var(--statistics-button-ink); text-align: center; transition: background-color .18s, border-color .18s; }
.statistics-actions button:hover { background: var(--statistics-button-hover); border-color: var(--statistics-button-hover); }
.statistics-banner button:focus-visible, .statistics-banner a:focus-visible, .statistics-banner input:focus-visible { outline: 3px solid var(--statistics-accent); outline-offset: 3px; }

/* RZ Trockenbau: sharp architectural edges, Geist and warm orange on navy. */
.statistics-banner[data-brand=trockenbau] {
  --statistics-bg: #070b14;
  --statistics-ink: #fff;
  --statistics-muted: #aab5c5;
  --statistics-line: #2b3547;
  --statistics-option: #0d1526;
  --statistics-accent: #ffa65b;
  --statistics-button: #ffa65b;
  --statistics-button-hover: #ffbb80;
  --statistics-button-ink: #070b14;
  --statistics-radius: 0;
  --statistics-option-radius: 0;
  --statistics-button-radius: 0;
  font-family: var(--font, 'Geist Variable', system-ui, sans-serif);
  border-top: 3px solid var(--statistics-accent);
}
.statistics-banner[data-brand=trockenbau] .statistics-eyebrow { font-family: var(--mono, 'Geist Mono Variable', monospace); }
.statistics-banner[data-brand=trockenbau] .statistics-actions button { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 700; }

/* Hintzen: warm paper, Barlow Semi Condensed headings and coral buttons. */
.statistics-banner[data-brand=heizung] {
  --statistics-bg: #f6f4ee;
  --statistics-ink: #101c33;
  --statistics-muted: #59627a;
  --statistics-line: #ddd8cc;
  --statistics-option: #ede9df;
  --statistics-accent: #1a428a;
  --statistics-button: #d4491a;
  --statistics-button-hover: #b93d16;
  --statistics-radius: 12px;
  --statistics-option-radius: 8px;
  --statistics-button-radius: 8px;
  font-family: var(--font-barlow), system-ui, sans-serif;
  border-top: 4px solid #f05820;
  box-shadow: 0 16px 64px -16px rgb(16 28 51 / .3);
}
.statistics-banner[data-brand=heizung] h2 { font-family: var(--font-barlow-semi), var(--font-barlow), system-ui, sans-serif; font-size: 29px; letter-spacing: -.015em; }
.statistics-banner[data-brand=heizung] .statistics-options input { accent-color: #2050a0; }

/* Configlane: white mosaic surfaces, Archivo, Plex Mono and cyan details. */
.statistics-banner[data-brand=configlane] { font-family: var(--font-plex-sans), system-ui, sans-serif; border-top: 3px solid #00c0c8; }
.statistics-banner[data-brand=configlane] h2 { font-family: var(--font-archivo), system-ui, sans-serif; }
.statistics-banner[data-brand=configlane] .statistics-eyebrow { font-family: var(--font-plex-mono), monospace; }
.statistics-banner[data-brand=configlane] .statistics-options label { border-left: 3px solid #00c0c8; }

@media (max-width: 640px) {
  .statistics-banner { inset: auto 12px 12px; padding: 20px; grid-template-columns: 1fr; gap: 15px; max-height: 90svh; }
  .statistics-banner h2 { font-size: 22px; }
  .statistics-banner[data-brand=heizung] h2 { font-size: 26px; }
  .statistics-banner p { font-size: 13px; }
  .statistics-options label { padding: 12px; }
  .statistics-options p { font-size: 11px; margin-bottom: 0; }
  .statistics-actions { grid-template-columns: 1fr; gap: 7px; padding-top: 14px; }
  .statistics-actions button { min-height: 42px; padding: 8px; font-size: 13px; }
  .statistics-banner[data-brand=trockenbau] .statistics-actions button { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .statistics-actions button { transition: none; } }
