/* ============================================================
   SPD Ortsverein Börger — Site Stylesheet
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: var(--fw-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0;
  color: var(--text-strong);
}
p { margin: 0; }
a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--red-600); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-versal);
  font-weight: var(--fw-extrabold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-size: 13px;
}

.section { padding: 72px 0; }
.section--tight { padding: 56px 0; }

/* ---------------------------------------------------------------- Icon */
.icon { display: inline-block; line-height: 0; }
.icon svg { width: 100%; height: 100%; display: block; }

/* ---------------------------------------------------------------- Brand / Logo */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 4px;
  text-decoration: none;
}
.brand__mark {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--spd-red);
  line-height: 0.85;
}
.brand--on-red .brand__mark,
.brand--on-black .brand__mark { color: var(--white); }
.brand__claim {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}
.brand--on-red .brand__claim,
.brand--on-black .brand__claim,
.brand--no-claim .brand__claim { display: none; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 22px;
  height: 44px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
  white-space: nowrap;
}
.btn--sm { height: 36px; padding: 6px 16px; font-size: 14px; }
.btn--lg { height: 50px; padding: 12px 28px; font-size: 16px; }
.btn--primary { background: var(--spd-red); border-color: var(--spd-red); color: #fff; }
.btn--primary:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.btn--secondary { background: #fff; border-color: #fff; color: var(--spd-red); }
.btn--secondary:hover { background: var(--gray-100); color: var(--spd-red); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------------------------------------------------------------- Störer (round campaign badge) */
.stoerer {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.15;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}
.stoerer--red { background: var(--spd-red); }
.stoerer--black { background: #0d0d0d; }
.stoerer--white { background: #fff; color: var(--spd-red); }

.footer-rich__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-rich__about p { font-size: 14px; color: rgba(255,255,255,.82); margin: 16px 0 0; max-width: 26ch; line-height: 1.6; }
.footer-rich__heading { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.footer-rich__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-rich__list a { color: rgba(255,255,255,.88); font-size: 14px; }
.footer-rich__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,.8); flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) { .footer-rich__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-rich__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Header / Nav */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform .25s ease;
}
.site-header--hidden { transform: translateY(-100%); }
.site-header__bar {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.site-header__divider {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-strong);
  border-left: 2px solid var(--border-subtle);
  padding-left: 18px;
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 20px;
  margin-left: 16px;
  flex-wrap: wrap;
}
.nav__link {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-strong);
}
.nav__link--active { color: var(--spd-red); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-strong); }

.mobile-menu { background: #fff; border-top: 1px solid var(--border-subtle); padding: 8px 0; }
.mobile-menu__link {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-strong);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu__link:last-child { border-bottom: none; }
.mobile-menu__link--active { color: var(--spd-red); }

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  .site-header__divider { display: none; }
  .site-header__bar { gap: 10px; padding: 0 16px; }
  .btn--sm { padding: 6px 12px; font-size: 13px; }
}

/* ---------------------------------------------------------------- Footer */
.site-footer {
  background: var(--spd-red);
  color: #fff;
  padding: 28px 24px;
}
.site-footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-lg);
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__legal { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.site-footer__legal small { font-size: 12px; opacity: .75; }
.site-footer__links { display: flex; gap: 20px; }
.site-footer__links a { color: #fff; }
.site-footer__links a--active,
.site-footer__links a.is-active { font-weight: 700; }

.site-footer--rich { padding: 40px 0 24px; }
.site-footer--mega { padding: 52px 0 24px; }
.site-footer--rich .site-footer__row { flex-wrap: wrap; gap: 16px; }
.site-footer__brand p { font-size: 13px; color: rgba(255,255,255,.8); margin: 10px 0 0; }

/* ---------------------------------------------------------------- Home hero */
.hero {
  background: var(--spd-red);
  color: #fff;
  overflow: hidden;
}
.hero__grid {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__balken {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.hero__balken span {
  background: #fff;
  color: var(--spd-red);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1;
  padding: 14px 21px;
  white-space: nowrap;
  display: block;
}
.hero__balken .balken--xl { font-size: 66px; }
.hero__balken .balken--md { font-size: 26px; padding: 8px 12px; letter-spacing: -0.01em; }
.hero__lede { font-size: 18px; line-height: 1.6; max-width: 46ch; margin: 28px 0 32px; color: rgba(255,255,255,.93); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__link { font-weight: 700; font-size: 15px; color: rgba(255,255,255,.9); border-bottom: 2px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.hero__media { position: relative; min-height: 420px; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.85); }
.hero__stoerer { position: absolute; right: 16px; bottom: 16px; z-index: 2; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; padding: 48px 20px; }
  .hero__media { display: none; }
  .hero__balken .balken--xl { font-size: 40px; padding: 10px 14px; }
  .hero__balken .balken--md { font-size: 18px; padding: 5px 9px; }
}
@media (max-width: 600px) {
  .hero__balken .balken--xl { font-size: 28px; padding: 8px 11px; }
  .hero__balken .balken--md { font-size: 15px; }
}

/* ---------------------------------------------------------------- Split section (Über uns) */
.split {
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.split__grid {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: stretch;
}
.split__text { padding: 88px 0; display: flex; flex-direction: column; gap: 20px; }
.split__title { font-size: 44px; margin: 12px 0 32px; max-width: 22ch; }
.split__text p { font-size: 17px; line-height: 1.75; color: var(--text-muted); }
.split__text p.is-strong { font-weight: 700; color: var(--text-strong); }
.split__photo-col { display: flex; flex-direction: column; margin-right: -24px; }
.split__photo {

  width: 80%;
  flex: 1;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.split__photo img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; object-position: center bottom; }
.split__photo-caption { background: var(--spd-red); padding: 14px 16px; }
.split__photo-caption strong { display: block; font-size: 14px; font-weight: 800; color: #fff; }
.split__photo-caption span { font-size: 12px; color: rgba(255,255,255,.8); }

@media (max-width: 900px) {
  .split__grid { grid-template-columns: 1fr; gap: 32px; }
  .split__text { padding: 48px 0 0; }
  .split__photo-col { margin-right: 0; }
  .split__photo {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4/5;
    align-items: stretch;
    justify-content: stretch;
  }
  .split__photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: top center; }
}

/* ---------------------------------------------------------------- Foto strip */
.photo-strip {
  background: #0d0d0d;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  height: 340px;
}
.photo-strip__item { position: relative; overflow: hidden; }
.photo-strip__item img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-strip__label {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--spd-red); color: #fff;
  font-family: var(--font-versal); font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: var(--tracking-caps);
  padding: 5px 12px;
}
@media (max-width: 700px) {
  .photo-strip { grid-template-columns: 1fr 1fr; height: auto; }
  .photo-strip__item { height: 160px; }
}

/* ---------------------------------------------------------------- Team */
.team { background: #fff; padding: 72px 0; border-top: 1px solid var(--border-subtle); }
.team__grid { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.team__title { font-size: 44px; margin: 0 0 20px; }
.team__text { font-size: 17px; line-height: 1.75; color: var(--text-muted); margin: 0 0 16px; }
.team__link { font-size: 15px; font-weight: 700; color: var(--spd-red); }
.team__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.team__photo { aspect-ratio: 3/4; position: relative; overflow: hidden; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team__photo-icon { position: absolute; top: 12px; left: 12px; width: 28px; height: 28px; }
.team__photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 14px 12px; background: var(--spd-red);
}
.team__photo-caption strong { display: block; font-size: 13px; font-weight: 800; color: #fff; }
.team__photo-caption span { font-size: 11px; color: rgba(255,255,255,.8); font-weight: 600; }

@media (max-width: 900px) {
  .team__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .team__photos { grid-template-columns: 1fr 1fr; }
  .team__photos .team__photo:last-child { display: none; }
}

/* ---------------------------------------------------------------- Werte (value cards) */
.values { background: var(--surface-sunken); padding: 72px 0; }
.values__grid { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.values__card { background: #fff; border: 1px solid var(--border-subtle); padding: 44px 36px; }
.values__card--accent { background: var(--spd-red); border: none; }
.values__card h3 { font-size: 32px; margin: 20px 0 12px; }
.values__card--accent h3 { color: #fff; }
.values__card p { font-size: 16px; line-height: 1.65; color: var(--text-muted); }
.values__card--accent p { color: rgba(255,255,255,.88); }
.values__icon { width: 40px; height: 40px; }

@media (max-width: 900px) {
  .values__grid { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------------------------------------------------------------- Ziele explorer */
.ziele { background: var(--surface-sunken); padding: 64px 0 80px; }
.ziele__container { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; }

.ziele__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.ziele__header .kicker { color: var(--spd-red); display: block; margin-bottom: 10px; }
.ziele__title { font-size: 44px; }
.ziele__hint { font-size: 12px; color: rgba(0,0,0,.35); white-space: nowrap; }

.ziele__stage { display: grid; grid-template-columns: 320px 1fr; background: #fff; border-radius: 6px; box-shadow: var(--shadow-card); overflow: hidden; }

/* ---- Sidebar: progress head + master list ---- */
.ziele__sidebar { display: flex; flex-direction: column; height: clamp(600px, 88vh, 860px); border-right: 1px solid var(--border-subtle); background: var(--surface-sunken); }

.ziele__sidebar-progress { flex: none; padding: 22px 26px 18px; border-bottom: 1px solid var(--border-subtle); }
.ziele__counter { display: block; font-family: var(--font-versal); font-weight: 800; font-size: 20px; letter-spacing: var(--tracking-caps); color: var(--text-strong); white-space: nowrap; }
.ziele__progress-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 2px 0 10px; }
.ziele__progress { height: 4px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.ziele__progress-fill { height: 100%; width: 0%; background: var(--spd-red); border-radius: 3px; transition: width .5s cubic-bezier(.4,0,.2,1); }

.ziele__list { flex: 1; overflow-y: auto; }
.ziele__item { cursor: pointer; }
.ziele__item-row {
  position: relative; margin: 6px 10px; border-radius: 8px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px; transition: background .2s;
}
.ziele__item:first-child .ziele__item-row { margin-top: 10px; }
.ziele__item:not(.ziele__item--active) .ziele__item-row:hover { background: rgba(0,0,0,.04); }
.ziele__item--active .ziele__item-row { background: var(--spd-red); }

.ziele__item-num { font-family: var(--font-versal); font-weight: 800; font-size: 11px; letter-spacing: var(--tracking-caps); color: rgba(0,0,0,.35); min-width: 24px; flex-shrink: 0; }
.ziele__item-icon { display: none; align-items: center; justify-content: center; width: 24px; height: 24px; color: #fff; flex-shrink: 0; }
.ziele__item-icon svg { width: 100%; height: 100%; }
.ziele__item--active .ziele__item-num { display: none; }
.ziele__item--active .ziele__item-icon { display: flex; }

.ziele__item-body { flex: 1; min-width: 0; }
.ziele__item-title { font-size: 15px; font-weight: 700; color: var(--text-strong); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.ziele__item--active .ziele__item-title { color: #fff; }
.ziele__item-tag { font-size: 11px; color: rgba(0,0,0,.45); margin-top: 3px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; transition: color .2s; }
.ziele__item--active .ziele__item-tag { color: rgba(255,255,255,.8); }
.ziele__item-arrow { font-size: 16px; color: rgba(0,0,0,.3); flex-shrink: 0; font-weight: 700; transition: color .2s, transform .2s; }
.ziele__item--active .ziele__item-arrow { color: #fff; transform: translateX(2px); }

/* Mobile-only accordion detail — hidden on desktop, the two-column detail panel is authoritative there */
.ziele__item-detail { display: none; }

/* ---- Shared "Konkrete Maßnahmen" checklist — used in the desktop detail card and the mobile accordion ---- */
.ziele__measures { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.ziele__measures li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 10px; font-size: 14.5px; line-height: 1.45; overflow-wrap: break-word; }
.ziele__measures-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--spd-red); color: #fff; }
.ziele__measures-check svg { width: 12px; height: 12px; }

/* ---- Detail panel (desktop): master-detail stage, swipeable track of full-content cards ---- */
.ziele__viewport { position: relative; overflow: hidden; height: clamp(600px, 88vh, 860px); background: #fff; }
.ziele__track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.ziele__card { flex: 0 0 100%; width: 100%; height: 100%; overflow-y: auto; box-sizing: border-box; padding: 40px 56px; display: flex; flex-direction: column; }

.ziele__card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.ziele__card-tag { border: 1.5px solid var(--spd-red); background: var(--red-50); color: var(--spd-red); font-family: var(--font-versal); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: var(--tracking-caps); padding: 4px 12px; border-radius: 3px; }
.ziele__card-count { font-family: var(--font-versal); font-weight: 800; font-size: 13px; color: var(--text-muted); letter-spacing: var(--tracking-caps); }

.ziele__card-icon { width: 56px; height: 56px; color: var(--spd-red); margin-bottom: 18px; }
.ziele__card-title { font-size: 34px; color: var(--text-strong); margin: 0 0 14px; max-width: 18ch; overflow-wrap: break-word; }
.ziele__card-text { font-size: 15.5px; line-height: 1.65; color: var(--text-body); margin: 0 0 22px; max-width: 54ch; overflow-wrap: break-word; }
.ziele__card-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; }
.ziele__card .ziele__measures li { background: var(--surface-sunken); border: 1px solid var(--border-subtle); color: var(--text-body); }
.ziele__card-cta { margin-top: auto; align-self: flex-start; font-weight: 700; font-size: 14px; color: var(--spd-red); border-bottom: 2px solid rgba(227,0,15,.35); padding-bottom: 2px; }

/* Staggered entrance animation for the active card's contents */
@keyframes zieleUpIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zieleIconIn { from { opacity: 0; transform: scale(.6) rotate(-10deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.ziele__card--active .ziele__card-icon { animation: zieleIconIn .55s cubic-bezier(.2,.8,.2,1) both; }
.ziele__card--active .ziele__card-top,
.ziele__card--active .ziele__card-title { animation: zieleUpIn .5s ease both; animation-delay: .04s; }
.ziele__card--active .ziele__card-text { animation: zieleUpIn .5s ease both; animation-delay: .1s; }
.ziele__card--active .ziele__card-label { animation: zieleUpIn .5s ease both; animation-delay: .15s; }
.ziele__card--active .ziele__measures li { animation: zieleUpIn .45s ease both; animation-delay: calc(.18s + var(--i, 0) * 60ms); }
.ziele__card--active .ziele__card-cta { animation: zieleUpIn .5s ease both; animation-delay: .5s; }

.ziele__edge {
  position: absolute; top: 78px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-default); background: #fff; box-shadow: var(--shadow-card);
  color: var(--spd-red); font-size: 18px; line-height: 1; display: flex;
  align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: background .2s, transform .2s;
}
.ziele__edge:hover { background: var(--red-50); }
.ziele__edge:active { transform: scale(.92); }
.ziele__edge--prev { left: 16px; }
.ziele__edge--next { right: 16px; }
.ziele__edge:disabled { opacity: .3; cursor: default; }
.ziele__edge:disabled:hover { background: #fff; }
.ziele__edge:disabled:active { transform: none; }

/* ---- Mobile: sidebar list becomes a single-column accordion, the swipeable detail track is dropped ---- */
@media (max-width: 860px) {
  .ziele__title { font-size: 34px; }
  .ziele__hint { display: none; }
  .ziele__stage { grid-template-columns: 1fr; border-radius: 10px; }
  .ziele__viewport { display: none; }

  .ziele__sidebar { height: auto; border-right: none; }
  .ziele__list { overflow: visible; }

  .ziele__item-row { margin: 8px 12px; padding: 14px 16px; }
  .ziele__item--active .ziele__item-row { border-radius: 8px 8px 0 0; }

  .ziele__item--active .ziele__item-detail {
    display: block; margin: 0 12px 12px; padding: 20px 18px 18px; background: var(--surface-page);
    border: 1px solid var(--border-subtle); border-top: none; border-radius: 0 0 8px 8px;
    animation: zieleUpIn .3s ease both;
  }
  .ziele__item-detail-text { font-size: 14.5px; line-height: 1.65; color: var(--text-body); margin: 0 0 18px; }
  .ziele__item-detail-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; }
  .ziele__item-detail .ziele__measures li { background: var(--surface-sunken); border: 1px solid var(--border-subtle); color: var(--text-body); }
  .ziele__item-detail-cta { display: block; text-align: center; font-weight: 700; font-size: 14px; color: #fff; background: var(--spd-red); border-radius: 8px; padding: 13px; }
}

@media (max-width: 420px) {
  .ziele__sidebar-progress { padding: 18px 20px 16px; }
  .ziele__item-row, .ziele__item-detail { margin-left: 8px; margin-right: 8px; }
}

/* ---------------------------------------------------------------- Kandidaten teaser (home) */
.kandidaten-teaser { background: #fff; padding: 80px 0; border-top: 1px solid var(--border-subtle); }
.kandidaten-teaser__grid { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.kandidaten-teaser__title { font-size: 44px; margin: 0 0 20px; }
.kandidaten-teaser__text { font-size: 17px; line-height: 1.7; color: var(--text-muted); margin: 0 0 32px; max-width: 44ch; }
.kandidaten-teaser__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kandidaten-teaser__card {
  display: block; text-decoration: none; position: relative; aspect-ratio: 3/4; overflow: hidden;
  background: #e8e8e8;
}
.kandidaten-teaser__card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.kandidaten-teaser__card-info {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 8px 12px;
  display: flex; align-items: center; gap: 8px; background-color: rgba(220,220,224,.3);
}
.kandidaten-teaser__card-num { background: #fff; color: var(--spd-red); font-weight: 800; font-size: 10px; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kandidaten-teaser__card-info > div { min-width: 0; }
.kandidaten-teaser__card-name { font-weight: 800; font-size: 13px; color: #fff; line-height: 1.2; overflow-wrap: break-word; min-width: 0; }
.kandidaten-teaser__card-role { font-size: 11px; color: rgba(255,255,255,.75); margin-top: 1px; overflow-wrap: break-word; }

@media (max-width: 900px) {
  .kandidaten-teaser__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 420px) {
  .kandidaten-teaser__photos { grid-template-columns: 1fr 1fr; }
  .kandidaten-teaser__photos .kandidaten-teaser__card:last-child { display: none; }
}

/* ---------------------------------------------------------------- Kandidat-Spotlight (Kreistag, Bürgermeister, ...) */
.kandidat-spotlight { background: var(--surface-sunken); padding: 80px 0; border-top: 1px solid var(--border-subtle); }
.kandidat-spotlight__grid { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.kandidat-spotlight__photo { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #e8e8e8; }
.kandidat-spotlight__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.kandidat-spotlight__badge { display: inline-block; background: var(--spd-red); color: #fff; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-caps); padding: 6px 12px; margin-bottom: 18px; }
.kandidat-spotlight__title { font-size: 38px; color: var(--text-strong); margin: 0 0 10px; line-height: 1.15; }
.kandidat-spotlight__claim { font-size: 15px; font-weight: 800; color: var(--spd-red); margin: 0 0 20px; text-transform: uppercase; letter-spacing: .04em; }
.kandidat-spotlight__text { font-size: 16px; line-height: 1.75; color: var(--text-muted); margin: 0 0 24px; max-width: 62ch; }
.kandidat-spotlight__points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 0 0 30px; }
.kandidat-spotlight__point strong { display: block; font-size: 14px; font-weight: 800; color: var(--text-strong); margin-bottom: 2px; }
.kandidat-spotlight__point span { font-size: 13px; color: var(--text-muted); }
.kandidat-spotlight__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.kandidat-spotlight--reverse .kandidat-spotlight__grid { grid-template-columns: 1fr 340px; }
.kandidat-spotlight--reverse .kandidat-spotlight__photo { order: 2; }

@media (max-width: 780px) {
  .kandidat-spotlight__grid,
  .kandidat-spotlight--reverse .kandidat-spotlight__grid { grid-template-columns: 1fr; gap: 32px; }
  .kandidat-spotlight--reverse .kandidat-spotlight__photo { order: 0; }
  .kandidat-spotlight__photo { max-width: 260px; margin: 0 auto; }
  .kandidat-spotlight__points { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Statement banner */
.statement { background: var(--spd-red); color: #fff; padding: 80px 24px; text-align: center; overflow: hidden; position: relative; }
.statement__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.statement__balken { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 32px; }
.statement__balken span { background: #fff; color: var(--spd-red); font-weight: 800; letter-spacing: -0.02em; line-height: 1; padding: 16px 28px; white-space: nowrap; display: block; font-size: 64px; }
.statement__text { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.92); max-width: 56ch; margin: 0 auto 36px; }
.statement__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) { .statement__balken span { font-size: 36px; padding: 10px 18px; white-space: normal; } }
@media (max-width: 600px) { .statement__balken span { font-size: 24px; padding: 8px 14px; } }

/* ---------------------------------------------------------------- Forms (Wünsche / Kontakt) */
.form-section { background: #fff; padding: 80px 0; border-top: 1px solid var(--border-subtle); }
.form-section__grid { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form-section__title { font-size: 42px; margin: 0 0 20px; }
.form-section__text { font-size: 17px; line-height: 1.7; color: var(--text-muted); margin: 0 0 16px; max-width: 44ch; }
.form-section__points { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-section__point { display: flex; gap: 14px; align-items: flex-start; }
.form-section__point .icon { width: 22px; height: 22px; flex-shrink: 0; }
.form-section__point span { font-size: 15px; line-height: 1.5; color: var(--text-strong); }

.form-card { background: var(--gray-50); padding: 36px; border-top: 6px solid var(--spd-red); }
.form-card h3 { font-size: 22px; margin: 0 0 6px; }
.form-card__hint { font-size: 14px; color: var(--text-muted); margin: 0 0 24px; }
.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--text-strong); }
.form-field .required { color: var(--spd-red); }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #ccc; font-family: var(--font-sans);
  font-size: 15px; outline: none; background: #fff; box-sizing: border-box;
}
.form-field textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { border: 1.5px solid var(--spd-red); padding: 12px 14px; font-size: 13px; font-weight: 700; color: var(--spd-red); margin-bottom: 14px; }
.form-submit {
  background: var(--spd-red); color: #fff; border: none; padding: 14px 24px; font-family: var(--font-sans);
  font-size: 15px; font-weight: 700; cursor: pointer; width: 100%; letter-spacing: .02em;
}
.form-submit:hover { background: var(--red-600); }
.form-submit:disabled { opacity: .6; cursor: default; }
.form-fineprint { font-size: 12px; color: var(--text-muted); margin: 12px 0 0; }
.form-success { background: #f0faf0; border: 1.5px solid #4caf50; border-radius: 4px; padding: 24px 28px; text-align: center; }
.form-success__title { font-size: 22px; font-weight: 800; margin-bottom: 6px; color: #1a7a1a; }
.form-success p { font-size: 15px; color: #2d6a2d; }

@media (max-width: 900px) {
  .form-section__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Mitmachen (CTA split) */
.mitmachen { background: var(--spd-red); color: #fff; padding: 80px 0; overflow: hidden; position: relative; }
.mitmachen__grid { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mitmachen__title { font-size: 42px; margin: 0 0 18px; color: #fff; }
.mitmachen__text { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.82); margin: 0 0 28px; max-width: 42ch; }
.mitmachen__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.mitmachen__card { background: rgba(0,0,0,.15); padding: 36px; }
.mitmachen__card h3 { font-size: 26px; color: #fff; margin: 0 0 12px; }
.mitmachen__card p { font-size: 16px; color: rgba(255,255,255,.88); line-height: 1.6; }
.mitmachen__card small { display: block; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.7); }

@media (max-width: 900px) { .mitmachen__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------------------------------------------------------- Blog */
.blog-section { background: var(--surface-sunken); padding: 80px 0; }
.blog-section__head { margin-bottom: 48px; }
.blog-section__head .kicker { color: var(--spd-red); }
.blog-section__head h2 { font-size: 48px; margin-top: 12px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; text-decoration: none; border-top: 4px solid var(--spd-red); transition: box-shadow .18s; }
.blog-card:hover { box-shadow: var(--shadow-card-hover); }
.blog-card__image { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-card__date { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--spd-red); }
.blog-card__title { font-size: 20px; margin: 0; color: var(--text-strong); }
.blog-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--text-muted); flex: 1; }
.blog-card__more { font-size: 14px; font-weight: 700; color: var(--spd-red); margin-top: 4px; }
.blog-empty { font-size: 17px; color: var(--text-muted); }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-post-hero { width: 100%; max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; box-sizing: border-box; overflow: hidden; }
.blog-post-hero img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-post { max-width: var(--container-sm); margin: 0 auto; padding: 56px 24px 80px; }
.blog-post__back { font-size: 14px; font-weight: 700; color: var(--spd-red); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 32px; }
.blog-post__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.blog-post__category { font-family: var(--font-versal); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-caps); background: var(--spd-red); color: #fff; padding: 3px 10px; }
.blog-post__date { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.blog-post__title { font-size: 48px; margin: 0 0 28px; line-height: 1.05; letter-spacing: -0.02em; }
.blog-post__excerpt { font-size: 20px; line-height: 1.65; color: var(--text-muted); margin: 0 0 36px; font-weight: 500; border-left: 4px solid var(--spd-red); padding-left: 20px; }
.blog-post__divider { height: 2px; background: var(--spd-red); width: 48px; margin-bottom: 36px; }
.blog-post__content { font-size: 18px; line-height: 1.75; }
.blog-post__content h2 { font-size: 28px; font-weight: 800; margin: 36px 0 12px; }
.blog-post__content h3 { font-size: 22px; font-weight: 700; margin: 28px 0 10px; }
.blog-post__content p { font-size: 18px; line-height: 1.75; color: #444; margin: 0 0 20px; }
.blog-post__content ul, .blog-post__content ol { font-size: 18px; line-height: 1.75; color: #444; padding-left: 24px; margin: 0 0 20px; }
.blog-post__content img { max-width: 100%; height: auto; }
.blog-post__media { margin-top: 48px; }
.blog-post__media-label { font-family: var(--font-versal); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-muted); margin-bottom: 16px; }
.blog-post__media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.blog-post__media-grid a { display: block; overflow: hidden; }
.blog-post__media-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .2s; }
.blog-post__media-grid a:hover img { transform: scale(1.03); }
.blog-post__tags { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-subtle); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.blog-post__tags-label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.blog-post__tag { font-size: 13px; font-weight: 600; color: var(--spd-red); border: 1.5px solid var(--spd-red); padding: 3px 10px; }
.blog-post__back-bottom { margin-top: 48px; }

.blog-empty-state { max-width: var(--container-sm); margin: 80px auto; padding: 0 24px; text-align: center; }
.blog-empty-state__code { font-size: 48px; font-weight: 800; color: #e0e0e0; margin-bottom: 16px; }

.skeleton { background: #f0f0f0; }

/* ---------------------------------------------------------------- Kandidaten grid page */
.kandidaten-hero { background: var(--spd-red); padding: 64px 24px 72px; }
.kandidaten-hero__inner { max-width: var(--container-lg); margin: 0 auto; }
.kandidaten-hero .kicker { color: rgba(255,255,255,.75); display: block; margin-bottom: 18px; }
.kandidaten-hero__balken { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 28px; }
.kandidaten-hero__balken span { background: #fff; color: var(--spd-red); font-weight: 800; font-size: 56px; letter-spacing: -0.015em; line-height: 1; padding: 12px 18px; display: block; }
.kandidaten-hero__text { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 52ch; }

@media (max-width: 900px) { .kandidaten-hero__balken span { font-size: 36px; padding: 9px 14px; } }
@media (max-width: 540px) { .kandidaten-hero__balken span { font-size: 26px; padding: 7px 10px; } }

.kandidaten-grid-section { background: var(--surface-sunken); padding: 72px 0; }
.kandidaten-grid { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kandidat-card {
  display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-card);
  text-decoration: none; overflow: hidden; transition: box-shadow .18s, transform .18s;
}
.kandidat-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.kandidat-card__photo { position: relative; height: 300px; overflow: hidden; flex-shrink: 0; background: #e8e8e8; }
.kandidat-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.kandidat-card__num { position: absolute; top: 14px; left: 14px; background: var(--spd-red); color: #fff; font-weight: 800; font-size: 17px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.kandidat-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.kandidat-card__name { font-size: 20px; font-weight: 800; color: #0d0d0d; line-height: 1.2; margin-bottom: 5px; }
.kandidat-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: auto; padding-bottom: 16px; }
.kandidat-card__role { font-size: 13px; color: rgba(0,0,0,.5); font-weight: 600; }
.kandidat-card__badge { background: var(--surface-sunken); border: 1.5px solid var(--spd-red); color: var(--spd-red); font-size: 10px; font-weight: 800; padding: 2px 7px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.kandidat-card__cta { font-size: 13px; font-weight: 700; color: var(--spd-red); border-top: 1px solid var(--border-subtle); padding-top: 14px; }

@media (max-width: 1180px) { .kandidaten-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .kandidaten-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .kandidaten-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Kandidat detail page */
.kandidat-hero { background: var(--surface-sunken); min-height: 520px; overflow: hidden; }
.kandidat-hero__inner { max-width: var(--container-lg); margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; min-height: 520px; }
.kandidat-hero__text { padding: 64px 48px 64px 40px; display: flex; flex-direction: column; justify-content: center; max-width: 660px; }
.kandidat-hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.kandidat-hero__num { background: var(--spd-red); color: #fff; font-weight: 800; font-size: 20px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kandidat-hero__party { font-family: var(--font-versal); font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-caps); font-size: 12px; color: rgba(0,0,0,.45); }
.kandidat-hero__name { font-size: 52px; font-weight: 800; color: #0d0d0d; margin: 0 0 8px; line-height: 1.05; letter-spacing: -0.02em; }
.kandidat-hero__role { font-size: 17px; color: rgba(0,0,0,.6); margin: 0 0 32px; font-weight: 600; }
.kandidat-hero__quote { font-size: 18px; font-weight: 700; color: var(--text-strong); margin: 0; line-height: 1.6; border-left: 4px solid var(--spd-red); padding-left: 20px; max-width: 44ch; }
.kandidat-hero__photo { position: relative; min-height: 400px; background-color: var(--surface-sunken); overflow: hidden; }
.kandidat-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@media (max-width: 860px) {
  .kandidat-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .kandidat-hero__photo { min-height: 300px; }
  .kandidat-hero__text { padding: 40px 20px; }
  .kandidat-hero__name { font-size: 36px; }
}

.kandidat-body { background: #fff; padding: 56px 0 80px; }
.kandidat-body__inner { max-width: var(--container-md); margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 48px; }
.kandidat-section .kicker { color: var(--spd-red); display: block; margin-bottom: 14px; }
.kandidat-section__text { font-size: 18px; line-height: 1.8; color: var(--text-muted); }
.kandidat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.kandidat-tag { border: 1.5px solid var(--spd-red); color: var(--spd-red); font-size: 13px; font-weight: 700; padding: 6px 14px; }
.kandidat-ziele { display: flex; flex-direction: column; gap: 0; }
.kandidat-ziel { padding: 24px 0; border-bottom: 1px solid var(--border-subtle); }
.kandidat-ziel h3 { font-size: 19px; font-weight: 800; margin: 0 0 10px; color: var(--text-strong); line-height: 1.25; }
.kandidat-ziel p { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin: 0 0 10px; }
.kandidat-ziel__nutzen { font-size: 14px; font-weight: 700; color: var(--spd-red); }
.kandidat-werdegang { font-size: 16px; line-height: 1.75; color: var(--text-muted); margin: 0 0 20px; }
.kandidat-engagement { font-size: 14px; font-weight: 700; color: var(--text-strong); border-left: 3px solid var(--spd-red); padding-left: 16px; line-height: 1.7; }
.kandidat-contact { padding: 28px; background: var(--surface-sunken); border-top: 4px solid var(--spd-red); }
.kandidat-contact a { font-size: 16px; font-weight: 700; color: var(--text-strong); }

.kandidat-pager { background: var(--surface-sunken); padding: 36px 0; border-top: 1px solid var(--border-subtle); }
.kandidat-pager__inner { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.kandidat-pager__link { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--text-strong); }
.kandidat-pager__arrow { width: 40px; height: 40px; background: var(--spd-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.kandidat-pager__all { font-weight: 700; font-size: 14px; color: var(--text-muted); }

/* ---------------------------------------------------------------- Legal pages */
.legal-header { background: #fff; border-bottom: 1px solid var(--border-subtle); position: sticky; top: 0; z-index: 20; }
.legal-back { font-weight: 700; font-size: 14px; color: var(--text-strong); margin-left: auto; }
.legal-content { max-width: var(--container-sm); margin: 0 auto; padding: 64px 24px 96px; }
.legal-content .kicker { background: var(--spd-red); color: #fff; padding: 4px 10px; margin-bottom: 24px; }
.legal-content h1 { font-size: 48px; line-height: 1.05; margin: 0 0 48px; color: #0d0d0d; }
.legal-content h2 { font-size: 20px; font-weight: 800; margin: 32px 0 8px; color: #0d0d0d; }
.legal-content p, .legal-content address, .legal-content ul { font-size: 16px; line-height: 1.7; color: var(--text-body); font-style: normal; margin: 0 0 8px; }
.legal-content ul { padding-left: 20px; }
.legal-content .fineprint { margin-top: 40px; font-size: 14px; color: var(--text-muted); }

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
