/* Liberaler Kompass – Redesign 2 – Entwurf B „Stimmzettel“ (kampagnig-aktivierend) */

@font-face { font-family: "LK Grotesk"; src: url(../../shared/fonts/archivo-latin-wdth-normal.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  --yellow: #FFD400;
  --yellow-soft: #FFF6C7;
  --blue: #1F3FB8;
  --blue-deep: #172F8C;
  --ink: #0F1638;
  --ink-2: #3A3F55;
  --white: #FFFFFF;
  --grey: #EEF0F5;
  --font: "LK Grotesk", "Arial Narrow", Arial, sans-serif;
  --narrow: 72%;
  --b: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.55 var(--font); overflow-wrap: break-word; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sec-blue :focus-visible, .sec-ink :focus-visible, .foot :focus-visible { outline-color: var(--yellow); }
h1, h2, h3 { margin: 0; font-family: var(--font); font-weight: 800; font-stretch: var(--narrow); text-transform: uppercase; letter-spacing: -.005em; line-height: .95; text-wrap: balance; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * clamp(20px, 4vw, 56px), 1280px); margin: 0 auto; }

.draftnote { background: var(--ink); color: #C9CEE0; font-size: 13px; text-align: center; padding: 7px 16px; }
.draftnote a { color: var(--yellow); margin-left: .4em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border: var(--b) solid var(--ink); font: 800 18px/1.1 var(--font); font-stretch: 80%; text-transform: uppercase; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--yellow); }
.btn-line, .btn-line-dark { background: transparent; color: var(--ink); }
.btn-big { min-height: 64px; padding: 18px 30px; font-size: 21px; }
.btn-small { min-height: 44px; padding: 9px 16px; font-size: 16px; }

/* Kopfleiste */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--yellow); border-bottom: var(--b) solid var(--ink); }
.topbar-inner { width: min(100% - 2 * clamp(20px, 4vw, 56px), 1280px); margin: 0 auto; height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.stamp { width: 44px; height: 44px; }
.wordmark { display: flex; flex-direction: column; font: 800 19px/.9 var(--font); font-stretch: 68%; text-transform: uppercase; letter-spacing: .01em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; font: 700 16px var(--font); font-stretch: 85%; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.nav a:hover { background: var(--ink); color: var(--yellow); }
.menu-btn { display: none; width: 48px; height: 48px; border: var(--b) solid var(--ink); background: transparent; cursor: pointer; margin-left: 4px; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 3px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.menu-btn[aria-expanded="true"] .burger { background: transparent; }
.menu-btn[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: var(--yellow); padding: clamp(40px, 6vw, 88px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sticker { display: inline-block; background: var(--ink); color: var(--yellow); font: 700 14px/1.2 var(--font); font-stretch: 85%; letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; transform: rotate(-1.5deg); margin-bottom: 26px; }
.hero h1 { font-size: clamp(60px, 9.6vw, 150px); line-height: .86; margin-bottom: 30px; font-stretch: 66%; }
.hero h1 span { display: block; }
.h1-blue { color: var(--blue); }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; max-width: 34em; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.ballot-mini { background: var(--white); border: var(--b) solid var(--ink); box-shadow: 12px 12px 0 var(--ink); padding: 24px 24px 26px; transform: rotate(2.5deg); }
.ballot-mini-head { font: 800 14px var(--font); font-stretch: 85%; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px dashed var(--ink); padding-bottom: 12px; margin-bottom: 16px; }
.ballot-mini-q { font: 700 21px/1.25 var(--font); font-stretch: 85%; margin-bottom: 22px; }
.boxes { display: flex; gap: 28px; }
.box { display: inline-flex; align-items: center; gap: 12px; font: 800 26px var(--font); font-stretch: 75%; text-transform: uppercase; }
.box::before { content: ""; width: 44px; height: 44px; border: var(--b) solid var(--ink); background: var(--white); flex: none; }
.box-yes { position: relative; }
.cross { position: absolute; left: 0; top: 50%; width: 44px; height: 44px; transform: translateY(-50%); }
.cross::before, .cross::after { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 7px; margin: -3.5px 0 0 -27px; background: var(--blue); border-radius: 4px; transform: rotate(45deg); animation: crossA .3s .5s ease-out backwards; }
.cross::after { transform: rotate(-45deg); animation-name: crossB; animation-delay: .8s; }
@keyframes crossA { from { transform: rotate(45deg) scaleX(0); } }
@keyframes crossB { from { transform: rotate(-45deg) scaleX(0); } }

.goal { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); margin-top: clamp(32px, 4vw, 56px); border-top: var(--b) solid var(--ink); }
.tally { display: flex; flex-wrap: wrap; gap: 14px; }
.tally span { position: relative; width: 46px; height: 46px; background: repeating-linear-gradient(90deg, var(--blue) 0 5px, transparent 5px 11px); clip-path: inset(0 2px 0 0); }
.tally span::after { content: ""; position: absolute; left: -6px; top: 20px; width: 60px; height: 5px; background: var(--ink); transform: rotate(-28deg); }
.js-reveal .goal .tally span { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.js-reveal .goal.is-in .tally span { opacity: 1; transform: none; }
.goal.is-in .tally span:nth-child(2) { transition-delay: .06s; } .goal.is-in .tally span:nth-child(3) { transition-delay: .12s; }
.goal.is-in .tally span:nth-child(4) { transition-delay: .18s; } .goal.is-in .tally span:nth-child(5) { transition-delay: .24s; }
.goal.is-in .tally span:nth-child(6) { transition-delay: .3s; } .goal.is-in .tally span:nth-child(7) { transition-delay: .36s; }
.goal.is-in .tally span:nth-child(8) { transition-delay: .42s; } .goal.is-in .tally span:nth-child(9) { transition-delay: .48s; }
.goal.is-in .tally span:nth-child(10) { transition-delay: .54s; }
.goal-text { margin: 0; font: 600 20px/1.3 var(--font); max-width: 26em; }
.goal-text b { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 28px; }

/* Laufband */
.ticker { background: var(--ink); color: var(--yellow); overflow: hidden; border-block: var(--b) solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font: 800 24px/1 var(--font); font-stretch: 70%; text-transform: uppercase; padding: 16px 0; white-space: nowrap; }
.ticker span::after { content: "✕"; color: var(--white); margin: 0 26px; font-size: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Abschnitte */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec-blue { background: var(--blue); color: var(--white); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-yellow { background: var(--yellow); }
.sec-soft { background: var(--yellow-soft); }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 52em; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; max-width: none; }
.kicker { display: inline-block; font: 800 15px var(--font); font-stretch: 85%; text-transform: uppercase; letter-spacing: .1em; padding: 6px 10px; background: var(--ink); color: var(--yellow); margin-bottom: 20px; }
.sec-blue .kicker, .sec-ink .kicker { background: var(--yellow); color: var(--ink); }
.sec h2 { font-size: clamp(46px, 6.6vw, 96px); margin-bottom: 20px; }
.sec h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 12px; }
.intro, .sec-head > p:not(.kicker) { font-size: 20px; line-height: 1.5; max-width: 40em; }
.small { font-size: 14px; line-height: 1.5; }
mark { background: var(--yellow); color: var(--ink); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Frage */
.frage-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.frage-grid .sec-head { position: sticky; top: 110px; }
.ballot { background: var(--white); color: var(--ink); border: var(--b) solid var(--ink); box-shadow: 14px 14px 0 var(--ink); padding: clamp(22px, 3vw, 40px); }
.ballot-head { display: flex; justify-content: space-between; font: 800 14px var(--font); font-stretch: 85%; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px dashed var(--ink); padding-bottom: 12px; margin-bottom: 20px; }
.ballot-text { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.boxes-lg { padding: 18px 0 6px; border-top: 2px dashed var(--ink); margin-top: 10px; }
.more { margin-top: 18px; border-top: var(--b) solid var(--ink); }
.more summary, .faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 48px 16px 0; font: 800 20px/1.2 var(--font); font-stretch: 80%; text-transform: uppercase; }
.more summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.more summary::after, .faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); font: 800 24px/1 var(--font); }
details[open] > summary::after { content: "–"; }

/* Schritte */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 6px solid var(--ink); padding-top: 12px; }
.steps li::before { content: counter(s); display: block; font: 800 clamp(110px, 13vw, 180px)/.85 var(--font); font-stretch: 62%; color: var(--blue); margin-bottom: 14px; }
.steps a { color: var(--blue); font-weight: 700; }
.label-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; background: var(--yellow); border: var(--b) solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: 26px 30px; position: relative; }
.label-small { font: 800 14px var(--font); font-stretch: 85%; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.label-card address { font: 700 26px/1.2 var(--font); font-stretch: 85%; font-style: normal; }
.label-card-note { margin: 0; font-size: 19px; border-left: var(--b) solid var(--ink); padding-left: 28px; }

/* Haltung */
.statement { font-size: clamp(56px, 9vw, 140px) !important; line-height: .88 !important; max-width: 11em; }
.statement span { color: var(--yellow); display: block; }
.statement-sub { font-size: clamp(19px, 1.7vw, 23px); max-width: 34em; color: #DCE0EF; margin-bottom: clamp(48px, 6vw, 80px); }
.lines { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: l; }
.lines li { counter-increment: l; border-top: 6px solid var(--yellow); padding-top: 16px; }
.lines li::before { content: "0" counter(l); display: block; font: 800 22px var(--font); color: var(--yellow); margin-bottom: 10px; }
.lines h3 { color: var(--white); }
.lines p { color: #DCE0EF; }
.kompromiss { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .25); }
.kompromiss h3 { font-size: clamp(34px, 4vw, 56px); color: var(--yellow); }
.kompromiss p { color: #DCE0EF; font-size: 19px; }

/* Warum */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.reasons article { background: var(--white); border: var(--b) solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 26px; }

/* Vergleich */
.versus { border: var(--b) solid var(--ink); margin-bottom: 18px; }
.versus-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); border-top: 2px solid var(--ink); }
.versus-row:first-child { border-top: 0; }
.versus-row > * { margin: 0; padding: 18px 20px; }
.versus-row h3 { font-size: 22px; line-height: 1.05; align-self: start; }
.versus .them { background: var(--grey); color: var(--ink-2); }
.versus .us { background: var(--yellow); color: var(--ink); font-weight: 600; }
.versus-head > span { font: 800 20px/1.1 var(--font); font-stretch: 75%; text-transform: uppercase; padding: 16px 20px; }
.versus-head .us { background: var(--blue); color: var(--white); }
.tag { display: none; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { border-top: var(--b) solid var(--ink); }
.faq details { border-bottom: var(--b) solid var(--ink); }
.faq details p { padding-bottom: 14px; font-size: 18px; }
.faq a { color: var(--blue); }

/* Teilen */
.share { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.panel { background: var(--white); color: var(--ink); border: var(--b) solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: clamp(20px, 2.5vw, 32px); }
.panel h3 { font-size: 30px; margin-bottom: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tabs button { font: 800 16px var(--font); font-stretch: 85%; text-transform: uppercase; padding: 8px 14px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }
textarea, input[type="text"], select { width: 100%; font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 0; padding: 12px 14px; }
textarea { resize: vertical; }
.share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.status { font-weight: 700; color: var(--blue); }
.tile-preview { background: var(--grey); border: 2px solid var(--ink); padding: 18px; display: flex; justify-content: center; margin-bottom: 18px; }
.tile-preview canvas { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.tile-preview canvas[data-format="story"] { width: auto; }
.tile-form { display: grid; gap: 8px; }
.tile-form label { font-weight: 700; }
.tile-form label span { font-weight: 400; color: var(--ink-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two > div { display: grid; gap: 8px; }
fieldset { border: 0; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; width: 100%; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; padding: 8px 16px; border: 2px solid var(--ink); font: 800 16px var(--font); font-stretch: 85%; text-transform: uppercase; }
.pill input:checked + span { background: var(--ink); color: var(--yellow); }
.pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.tile-form .btn { margin-top: 14px; }

/* Fuß */
.foot { background: var(--ink); color: var(--white); padding: 64px 0 56px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 36px; align-items: start; font-size: 16px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand .stamp { width: 52px; height: 52px; }
.foot-title { margin: 0; font: 800 24px/.95 var(--font); font-stretch: 70%; text-transform: uppercase; color: var(--yellow); }
.foot-text p { color: #C9CEE0; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.sticky-cta { display: none; }

/* Einblenden */
.js-reveal [data-reveal]:not(.goal) { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* Rechtstexte */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(48px, 7vw, 88px); margin-bottom: 28px; }
.legal h2 { font-size: 28px; margin: 36px 0 10px; }
.legal a { color: var(--blue); }
.legal mark.ph { background: var(--yellow-soft); }

/* Responsiv */
@media (max-width: 1000px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--yellow); border-bottom: var(--b) solid var(--ink); padding: 8px clamp(20px, 4vw, 56px) 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 22px; border-bottom: 2px solid rgba(15, 22, 56, .15); }
  .menu-btn { display: block; }
  .topbar-cta { margin-left: auto; }
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero-grid, .frage-grid, .faq-grid, .share, .kompromiss { grid-template-columns: minmax(0, 1fr); }
  .frage-grid .sec-head { position: static; }
  .ballot-mini { max-width: 420px; transform: rotate(1.5deg); margin: 0 12px 12px 0; }
  .steps, .reasons { grid-template-columns: minmax(0, 1fr); }
  .label-card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .label-card-note { border-left: 0; padding-left: 0; border-top: var(--b) solid var(--ink); padding-top: 16px; }
  .versus-head { display: none; }
  .versus-row { grid-template-columns: minmax(0, 1fr); }
  .tag { display: block; font: 800 12px var(--font); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; opacity: .8; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .sticky-cta { display: flex; justify-content: center; align-items: center; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 56px; background: var(--blue); color: var(--white); border: var(--b) solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font: 800 18px var(--font); font-stretch: 80%; text-transform: uppercase; text-decoration: none; }
  body { padding-bottom: 84px; }
}
@media (max-width: 560px) {
  .topbar-inner { height: 66px; gap: 10px; }
  .topbar-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .wordmark { font-size: 17px; }
  .stamp { width: 40px; height: 40px; }
  .actions .btn { width: 100%; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .lines { grid-template-columns: minmax(0, 1fr); }
  .tally span { width: 36px; height: 38px; }
  .tally { gap: 10px; }
}
.legal-cta { margin-left: auto; }
.frage-grid h2, .faq-grid h2 { font-size: clamp(42px, 4.8vw, 72px); }
@media (max-width: 820px) { .sticky-cta { transform: translateY(140%); transition: transform .25s; } .sticky-cta.is-shown { transform: none; } }
