:root {
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:
    ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', 'DejaVu Sans Mono', Consolas,
    'Liberation Mono', monospace;
  --ink: #1c1f1d;
  --paper: #f1efe6;
  --paper-raised: #ffffff;
  --alarm: #c4122f;
  --alarm-dark: #9c0e25;
  --signal: #0e6e63;
  --line: #d8d3c4;
  --steel: #565f5a;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

header {
  padding: 28px 20px 10px;
  max-width: 640px;
  margin: 0 auto;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--steel);
  margin: 0;
}
h1 {
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.12;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lede {
  font-size: 16.5px;
  color: #3a3f3b;
  margin: 0 0 12px;
}
.hero-question {
  font-size: 19px;
  font-weight: 700;
  margin: 4px 0 14px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 6px 11px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--steel);
  border-radius: 3px;
  cursor: pointer;
}
.btn-share:active {
  background: rgba(0, 0, 0, 0.06);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
  line-height: 1.25;
}
.section-title:first-child {
  margin-top: 0;
}
.section-note {
  font-size: 13.5px;
  color: var(--steel);
  margin: 10px 0 0;
}

.chart-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 14px 14px 6px;
}
.chart-card svg {
  width: 100%;
  height: auto;
  display: block;
}

.roadmap {
  --rm-red: #c4122f;
  --rm-orange: #e8850c;
  --rm-green: #2f9e58;
}
.roadmap-hint {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--steel);
}
.roadmap-track {
  position: relative;
  height: 104px;
  margin: 10px 10px 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.roadmap-track.dragging {
  cursor: grabbing;
}
.roadmap-track:focus-visible {
  outline: 2px solid #1d5fa8;
  outline-offset: 4px;
}
.roadmap-axis {
  position: absolute;
  left: 0;
  right: 0;
  top: 82px;
  border-top: 1px solid var(--line);
}
.roadmap-tick {
  position: absolute;
  top: 0;
  width: 1px;
  height: 5px;
  background: var(--steel);
}
.roadmap-tick em {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-style: normal;
  color: var(--steel);
}
.roadmap-goal {
  position: absolute;
  top: 0;
  bottom: 40px;
  border-left: 1px dashed var(--steel);
}
.roadmap-goal em {
  position: absolute;
  top: 0;
  left: 5px;
  font-size: 11px;
  font-style: normal;
  color: var(--steel);
  white-space: nowrap;
  line-height: 1.25;
}
.roadmap-seg {
  position: absolute;
  top: 36px;
}
.roadmap-seg-pre,
.roadmap-seg-lead {
  height: 3px;
  margin-top: -1px;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0, #000 6px, transparent 6px, transparent 10px);
  mask-image: repeating-linear-gradient(90deg, #000 0, #000 6px, transparent 6px, transparent 10px);
}
.roadmap-seg-pre {
  background: var(--rm-red);
}
.roadmap-seg-lead {
  background: linear-gradient(to right, var(--rm-red), var(--rm-orange));
}
.roadmap-seg-post {
  height: 4px;
  margin-top: -1px;
  background: var(--rm-green);
}
.roadmap-seg-build {
  height: 4px;
  margin-top: -1px;
  background: linear-gradient(to right, var(--rm-orange) 80%, var(--rm-green));
}
.roadmap-dot {
  position: absolute;
  top: 29px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  box-sizing: border-box;
  border: 3px solid var(--rm-orange);
  border-radius: 50%;
  background: var(--paper-raised);
}
#rm-dot-1 {
  border-color: var(--rm-red);
}
.roadmap-dot-live {
  border-color: var(--rm-green);
  background: var(--rm-green);
}
.roadmap-dot span {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}
.roadmap-steps {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.roadmap-steps li {
  padding: 3px 0;
}
.roadmap-steps li {
  display: flex;
  align-items: baseline;
}
.roadmap-steps li::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--rm-orange);
}
.roadmap-steps li:first-child::before {
  background: var(--rm-red);
}
.roadmap-steps li:last-child::before {
  background: var(--rm-green);
}
.roadmap-steps strong {
  flex: none;
  min-width: 7.2em;
  font-family: var(--font-mono);
}
.roadmap-result {
  margin: 10px 0 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  font-weight: 600;
}

.info-details {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  margin-top: 10px;
  padding: 0;
}
.info-details summary {
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.info-details summary::-webkit-details-marker {
  display: none;
}
.info-details summary::after {
  content: '+';
  float: right;
  color: var(--steel);
  font-weight: 400;
}
.info-details[open] summary::after {
  content: '–';
}
.info-details p {
  margin: 0;
  padding: 0 16px 10px;
  font-size: 14px;
  color: #3a3f3b;
}

.info-details > :last-child {
  padding-bottom: 15px;
}
.info-details ul {
  margin: 0;
  padding: 0 16px 6px 34px;
  font-size: 14px;
  color: #3a3f3b;
}
.info-details li {
  margin-bottom: 6px;
}
.faq-source {
  display: block;
  margin: 10px 16px 15px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--steel);
}
.faq-source a {
  color: var(--steel);
}
.faq-source a + a {
  margin-left: 10px;
}






.closing-cta {
  margin-top: 30px;
  padding: 22px 18px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  text-align: left;
}
.closing-cta .hero-question {
  margin-top: 0;
}

.tab-nav {
  display: flex;
  gap: 0;
  margin: 0 0 18px;
  border-bottom: 2px solid var(--line);
}
.tab-btn {
  flex: 1;
  padding: 12px 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--steel);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
}
.tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--alarm);
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

.urgent-block {
  margin-top: 16px;
  padding: 18px;
  background: #fbeaea;
  border: 1px solid var(--alarm);
  border-left: 4px solid var(--alarm);
}
.urgent-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.urgent-block p {
  font-size: 14.5px;
  color: #3a3f3b;
  margin: 0 0 10px;
}

.map-card {
  margin: 26px 0 0;
  background: var(--paper-raised);
  border: 1px solid var(--line);
}
.map-card svg {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}
.muni-shape {
  stroke-width: 2;
  transition:
    fill-opacity 0.15s ease,
    filter 0.15s ease;
}
.muni-shape.active {
  fill-opacity: 0.62;
}

@media (hover: hover) {
  .muni-shape.active:hover,
  .muni-shape.active.is-hover {
    fill-opacity: 0.78;
    filter: brightness(0.84);
  }
}
.muni-shape.active:active {
  fill-opacity: 0.8;
}

.map-card svg line,
.map-card svg g {
  pointer-events: none;
}
.muni-badge {
  fill: #ffffff;
  stroke-width: 2.5;
  cursor: pointer;
}
.muni-icon {
  cursor: pointer;
  pointer-events: none;
}
.map-note {
  padding: 2px 16px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 10px 16px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  border-top: 1px solid var(--line);
}
.map-legend span.item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.map-legend span.line {
  display: inline-block;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  flex: none;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(var(--chip-cols, 3), 1fr);
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 430px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat-chip {
  min-width: 0;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-top: 3px solid var(--chip-color, var(--ink));
  padding: 10px 10px 11px;
  cursor: pointer;
}
.stat-chip .chip-name {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-chip .chip-pct {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
}
.stat-chip .chip-pct strong {
  font-size: 15px;
  font-weight: 600;
}
.stat-chip .chip-pct .chip-unit {
  font-size: 11px;
  font-weight: 400;
  color: var(--steel);
}
.stat-chip .chip-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  margin: 3px 0 0;
}
.stat-chip-celebrate {
  background: #eaf4f2;
}
.stat-chip-celebrate .chip-pct {
  color: var(--signal);
}

.gemeinden {
  margin-top: 8px;
}
.card {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  margin-top: 14px;
  overflow: hidden;
  scroll-margin-top: 16px;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  width: 100%;
  background: none;
  border: none;
  border-top: 3px solid var(--chip-color, transparent);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.card-head img {
  width: 44px;
  height: auto;
  flex: none;
}
.card-head .meta {
  flex: 1;
  min-width: 0;
}
.card-head .g-name {
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}
.card-head .g-status {
  font-size: 13px;
  color: #3a3f3b;
  margin: 4px 0 0;
}
.card-head .g-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
  margin: 3px 0 0;
}
.chevron {
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  flex: none;
  margin-right: 2px;
}
.card.open .chevron {
  transform: rotate(45deg);
}

.panel {
  display: none;
  border-top: 1px solid var(--line);
}
.card.open .panel {
  display: block;
}

.panel-inner {
  padding: 18px;
}

.swisscom-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.celebrate-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
}
.celebrate p {
  font-size: 15px;
  color: #3a3f3b;
  margin: 0 0 10px;
}
.celebrate-sub {
  font-size: 13px;
  color: var(--steel);
}
.swisscom-label {
  font-size: 13px;
  color: var(--steel);
  margin: 0 0 10px;
}
.swisscom-sub {
  font-size: 12.5px;
  color: var(--steel);
  margin: 8px 0 10px;
}

.to-line {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
  margin: 0 0 14px;
  word-break: break-all;
}
.to-line span {
  display: block;
}
.cc-note {
  font-family: var(--font-sans);
  color: var(--steel);
  font-size: 12px;
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.btn + .btn {
  margin-top: 10px;
}
.btn-primary {
  background: var(--alarm);
  color: #fff;
}
.btn-primary:active {
  background: var(--alarm-dark);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:active {
  background: rgba(0, 0, 0, 0.05);
}
.btn-confirm {
  background: var(--signal);
  color: #fff;
}
.btn-confirm.done {
  background: transparent;
  color: var(--signal);
  border-color: var(--signal);
}

.divider-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  text-align: center;
  margin: 14px 0 6px;
}

.copy-box {
  margin-top: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px;
  font-size: 13.5px;
  color: #3a3f3b;
  white-space: pre-wrap;
  display: none;
}
.copy-box.show {
  display: block;
}

.check-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--steel);
  text-decoration: underline;
}

.confirm-row {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.confirm-label {
  font-size: 13.5px;
  color: var(--steel);
  margin: 0 0 8px;
}

footer {
  max-width: 640px;
  margin: 34px auto 0;
  padding: 18px 20px 0;
  border-top: 1px solid var(--line);
}
footer p {
  font-size: 12.5px;
  color: var(--steel);
  max-width: 60ch;
  margin: 0 0 8px;
}
footer a {
  color: var(--steel);
}

@media (prefers-reduced-motion: reduce) {
  .panel,
  .chevron,
  .muni-shape {
    transition: none;
  }
}

a[target='_blank']::before {
  content: '';
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-right: 0.32em;
  vertical-align: -0.05em;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14L21 3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14L21 3'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

@media (max-width: 480px) {
  .roadmap-dot span {
    font-size: 10px;
  }
}

.auskunft {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--signal);
  background: var(--paper);
  font-size: 14px;
}
.auskunft p {
  margin: 0 0 8px;
}
.auskunft p:last-child {
  margin: 0;
  color: var(--steel);
}
