:root {
  color-scheme: dark;
  --vote-bg: #11121a;
  --vote-panel: #191b27;
  --vote-panel-soft: #202332;
  --vote-line: #ffffff16;
  --vote-text: #f3f2fb;
  --vote-muted: #a4a6b6;
  --vote-purple: #a592ff;
  --vote-green: #6ce0ad;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: radial-gradient(ellipse at 14% 0%, #5541a228, transparent 38rem), radial-gradient(ellipse at 100% 42%, #343d7620, transparent 34rem), var(--vote-bg); color: var(--vote-text); font-family: "DM Sans", Inter, system-ui, sans-serif; }
a { color: inherit; }
.voting-shell { width: min(1180px, 100% - 40px); margin: 0 auto; }
.voting-topbar { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--vote-line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #b4a4ff58; border-radius: 12px; background: linear-gradient(145deg, #8e72f0, #536bd0); color: white; font: 700 14px "Space Grotesk", sans-serif; }
.brand b, .brand small { display: block; }
.brand b { font: 700 13px "Space Grotesk", sans-serif; letter-spacing: .08em; }
.brand small { margin-top: 4px; color: var(--vote-muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.voting-topbar nav { display: flex; align-items: center; gap: 22px; }
.voting-topbar nav a { color: #c2c3cf; font-size: 12px; font-weight: 600; text-decoration: none; }
.voting-topbar nav a:hover { color: white; }
.voting-topbar nav .login-link { padding: 10px 14px; border: 1px solid #8d7bff55; border-radius: 9px; background: #8170ed18; color: #e2ddff; }
.voting-hero { max-width: 790px; padding: 74px 0 46px; }
.eyebrow { margin: 0 0 15px; color: #b6a8ff; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--vote-green); box-shadow: 0 0 12px #6ce0ad88; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 18px; font: 700 clamp(42px, 7vw, 74px)/.99 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
h1 em { color: var(--vote-purple); font-style: normal; }
.hero-copy { max-width: 650px; margin-bottom: 22px; color: #b3b5c4; font-size: 16px; line-height: 1.7; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-meta span { padding: 7px 10px; border: 1px solid var(--vote-line); border-radius: 999px; background: #ffffff06; color: #c3c4d0; font-size: 10px; font-weight: 700; }
.howto { padding: 24px; margin: 0 0 22px; }
.howto-heading .eyebrow { margin-bottom: 8px; }
.howto-heading h2 { margin-bottom: 19px; }
.howto-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.howto-steps li { display: flex; gap: 12px; padding: 15px; border: 1px solid var(--vote-line); border-radius: 12px; background: #11131c80; }
.step-number { flex: 0 0 auto; color: #b6a8ff; font: 700 12px "Space Grotesk", sans-serif; }
.howto-steps b { display: block; margin-bottom: 7px; color: #ededf6; font-size: 11px; }
.howto-steps p { margin: 0; color: var(--vote-muted); font-size: 10px; line-height: 1.55; }
.voting-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); align-items: start; gap: 24px; padding: 10px 0 70px; }
.panel, .idea-card, .login-prompt { border: 1px solid var(--vote-line); border-radius: 16px; background: linear-gradient(145deg, #1b1d29, #171923); box-shadow: 0 18px 55px #00000018; }
.suggestion-panel { position: sticky; top: 22px; padding: 24px; }
h2 { margin-bottom: 10px; font: 650 clamp(22px, 3vw, 30px)/1.15 "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.panel-copy { margin-bottom: 22px; color: var(--vote-muted); font-size: 12px; line-height: 1.65; }
form label { display: block; margin: 15px 0 7px; color: #dad9e5; font-size: 11px; font-weight: 700; }
input, textarea { width: 100%; padding: 12px 13px; border: 1px solid #ffffff20; border-radius: 9px; outline: 0; background: #11131c; color: var(--vote-text); font: 500 13px "DM Sans", sans-serif; }
input:focus, textarea:focus { border-color: #a592ff9a; box-shadow: 0 0 0 3px #a592ff1c; }
textarea { resize: vertical; line-height: 1.55; }
.form-bottom { display: grid; gap: 14px; margin-top: 16px; }
.form-bottom small { color: var(--vote-muted); font-size: 10px; line-height: 1.5; }
.button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid transparent; border-radius: 9px; font: 700 11px "DM Sans", sans-serif; cursor: pointer; transition: .16s ease; }
.button:disabled { opacity: .55; cursor: wait; }
.button-primary { background: linear-gradient(135deg, #a38eff, #7e6de1); color: #171421; }
.button-primary:hover { filter: brightness(1.09); transform: translateY(-1px); }
.button-quiet { border-color: var(--vote-line); background: #ffffff08; color: #d7d7e2; }
.button-quiet:hover { border-color: #a592ff66; background: #a592ff12; }
.notice { min-height: 1.4em; margin: 12px 0 0; color: #c9c4ff; font-size: 12px; line-height: 1.5; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; }
.ideas-list { display: grid; gap: 13px; }
.idea-card { padding: 21px; }
.idea-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.idea-card h3 { margin: 0 0 9px; font: 650 17px/1.35 "Space Grotesk", sans-serif; letter-spacing: -.02em; }
.idea-description { margin: 0 0 17px; color: #b4b6c5; font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.status-pill { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #a592ff3b; border-radius: 999px; background: #a592ff12; color: #d6ceff; font-size: 9px; font-weight: 800; }
.status-pill[data-status="Umgesetzt"] { border-color: #6ce0ad48; background: #6ce0ad12; color: #aaf1d0; }
.status-pill[data-status="Abgelehnt"] { border-color: #fa718044; background: #fa718012; color: #ffb0be; }
.status-pill[data-status="Geplant"] { border-color: #69a8ff55; background: #69a8ff14; color: #b4d5ff; }
.idea-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.vote-meter { display: flex; align-items: center; gap: 10px; color: #bfc0ce; font-size: 10px; font-weight: 700; }
.vote-track { height: 5px; flex: 1; overflow: hidden; border-radius: 99px; background: #ffffff10; }
.vote-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7866dd, #b49fff); }
.idea-vote { min-width: 124px; }
.live-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: #858898; font-size: 10px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--vote-green); box-shadow: 0 0 9px #6ce0ad88; }
.login-prompt { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; margin-bottom: 20px; }
.login-prompt h2 { margin-bottom: 7px; }
.login-prompt p:not(.eyebrow) { margin-bottom: 0; color: var(--vote-muted); font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid var(--vote-line); color: #8f91a0; font-size: 10px; }
footer a { color: #cfcbef; font-weight: 700; text-decoration: none; }
[hidden] { display: none !important; }

@media (max-width: 800px) {
  .voting-layout { grid-template-columns: 1fr; }
  .suggestion-panel { position: static; }
  .howto-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .voting-shell { width: min(100% - 28px, 1180px); }
  .voting-topbar { min-height: 70px; }
  .voting-topbar nav { gap: 11px; }
  .voting-topbar nav a { font-size: 10px; }
  .voting-topbar nav a:first-child { display: none; }
  .voting-topbar nav .login-link { padding: 8px 10px; }
  .voting-hero { padding: 54px 0 30px; }
  .hero-copy { font-size: 14px; }
  .section-heading { align-items: flex-start; }
  .idea-footer { grid-template-columns: 1fr; }
  .idea-vote { width: 100%; }
  .login-prompt, footer { align-items: flex-start; flex-direction: column; }
  .howto { padding: 19px; }
  .howto-steps { grid-template-columns: 1fr; }
}
