/* Local copy of the production styles, slimmed to what the UI kit actually uses.
   Mirrors Homepage/css/style.css exactly where it counts — values are not invented.
   Tokens live in colors_and_type.css and are re-imported here. */

@import url('colors_and_type.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(27, 42, 69, 0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-nav); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-logo-img { height: 44px; width: auto; filter: brightness(1.1); }
.nav-logo-text { font-family: var(--font-head); font-size: 0.8rem; color: var(--white); line-height: 1.3; letter-spacing: 0.02em; }
.nav-logo-text strong { display: block; color: var(--gold); font-size: 0.95rem; }
.nav-list { display: flex; align-items: center; gap: 0.5rem; }
.nav-link {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.85); padding: 0.5rem 0.9rem; border-radius: var(--radius-sm);
  letter-spacing: 0.03em; transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); background: var(--accent-soft); }
.nav-item { position: relative; }
.nav-item.has-dropdown .nav-link { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: none; cursor: pointer; }
.nav-caret { width: 12px; height: 12px; transition: transform var(--transition); }
.nav-item.has-dropdown .nav-link[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 0; min-width: 340px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md);
  border: 1px solid var(--border); padding: 0.5rem; list-style: none;
  max-height: 60vh; overflow-y: auto; z-index: 1001;
}
.nav-dropdown li + li { border-top: 1px solid var(--border); }
.nav-dropdown a {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.65rem 0.75rem; border-radius: var(--radius-sm);
  text-decoration: none; transition: background var(--transition);
}
.nav-dropdown a:hover { background: var(--gray-50); }
.nav-dropdown-date { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; color: var(--gold-dark); }
.nav-dropdown-date strong { font-weight: 800; color: var(--navy); }
.nav-dropdown-title { font-family: var(--font-body); font-size: 0.92rem; color: var(--navy); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  letter-spacing: var(--track-button); padding: 0.8rem 2rem;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: all var(--transition); text-transform: uppercase;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: var(--lift); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(17,29,48,0.92) 0%, rgba(27,42,69,0.85) 100%), linear-gradient(180deg, #2e4570 0%, #1B2A45 100%);
  display: flex; align-items: center; padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--white), transparent); z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 5rem 1.5rem; }
.hero-hashtag {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.35em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 1.25rem; margin-right: -0.35em;
}
.hero-title {
  font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  color: var(--white); line-height: 1.2; margin-bottom: 1.25rem;
}
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; scroll-margin-top: var(--nav-h); }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--gold-dark); display: block; margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--navy); margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: var(--text-light); max-width: 640px; margin: 0 auto; }

/* ---------- Über uns ---------- */
.about-intro { max-width: 720px; margin: 0 auto 3rem; text-align: center; font-size: 1.05rem; color: var(--text-light); line-height: 1.8; }
.priorities-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 2rem; }
.priorities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.priority-card-image { padding: 0; overflow: hidden; }
.priority-card-image img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Wofür steht die FBS (positioning carousel) ---------- */
.positioning-carousel { max-width: 380px; margin: 0 auto; }
.positioning-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border); aspect-ratio: 4 / 5;
}
.positioning-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.positioning-nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.5rem; }
.positioning-arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gray-300);
  background: var(--white); color: var(--navy); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: 0.25s ease;
}
.positioning-arrow:hover { border-color: var(--gold); color: var(--gold-dark); }
.positioning-dots { display: flex; gap: 0.5rem; }
.positioning-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: var(--gray-300); cursor: pointer; transition: 0.25s ease; }
.positioning-dot.active { background: var(--gold); }

.topic-intro { max-width: 680px; margin: 2rem auto 0; text-align: center; color: var(--text); font-size: 1.05rem; line-height: 1.6; }
.topic-updates {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
  max-width: 1100px; margin: 0 auto 2.5rem;
}
.topic-updates img {
  width: 340px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.topic-caption { max-width: 680px; margin: 0 auto; text-align: center; }
.topic-caption p { color: var(--text); font-size: 1.05rem; line-height: 1.6; margin-bottom: 0.9rem; }
.topic-caption p:last-child { margin-bottom: 0; }
#aktuelles .section-header { margin-bottom: 1.25rem; }
#aktuelles { padding-top: 6.5rem; }
@media (max-width: 768px) {
  #aktuelles { padding-top: 5rem; }
}

.topic-highlight { display: flex; justify-content: center; margin-top: 1rem; margin-bottom: 2.5rem; }
.topic-highlight img {
  width: 100%; max-width: 380px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.priority-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--gold);
}
.priority-card:hover { transform: var(--lift-card); box-shadow: var(--shadow-md); }
.priority-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.35);
  transition: var(--transition);
}
.priority-icon svg { width: 26px; height: 26px; }
.priority-card:hover .priority-icon { background: var(--gold); color: var(--white); border-color: var(--gold); }
.priority-card h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.priority-card p { font-size: 0.9rem; color: var(--text-light); }

/* ---------- Candidates ---------- */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  gap: 1.5rem;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}
.candidates-grid > .candidate-detail { max-width: none; }

/* On roomy screens, let the expanded detail panels breathe past the 1140px
   container — they hold long-form article text and benefit from more width
   than the compact card grid above them. */
@media (min-width: 900px) {
  .candidate-detail {
    width: 100vw;
    max-width: 1600px;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

.candidate-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  /* button reset so it stays a card */
  padding: 0;
  font: inherit; color: inherit; text-align: left; width: 100%;
  font-family: var(--font-body);
}
button.candidate-card { cursor: pointer; }
.candidate-card.is-clickable:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.candidate-card.is-expanded { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.candidate-card.candidate-reserve { border-top-color: var(--gray-300); background: var(--gray-50); }

/* Photo block — full-width portrait at the top of the card */
.candidate-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gray-50);
  position: relative;
}
.candidate-photo > img,
.candidate-photo > .candidate-photo-placeholder {
  width: 100%; height: 100%; display: block;
}
.candidate-photo > img {
  object-fit: cover;
  transition: transform 0.6s ease;
}
.candidate-card.is-clickable:hover .candidate-photo > img,
.candidate-card.is-expanded .candidate-photo > img {
  transform: scale(1.04);
}
.candidate-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300);
  background: var(--gray-50);
}
.candidate-photo-placeholder svg { width: 48px; height: 48px; opacity: 0.6; }

/* Content block */
.candidate-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex; flex-direction: column;
}
.candidate-name {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.candidate-facts {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  border-top: 1px solid var(--gray-100);
  padding-top: 0.9rem;
}
.candidate-facts li {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--text-light); line-height: 1.4;
}
.candidate-facts li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.candidate-facts li.is-bold {
  font-weight: 700;
  color: var(--navy);
}
.candidate-facts li.is-bold::before {
  width: 7px; height: 7px;
}
.candidate-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.1rem;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-dark);
  transition: color var(--transition), gap var(--transition);
}
.candidate-more svg { width: 14px; height: 14px; transition: transform var(--transition); }
.candidate-card.is-clickable:hover .candidate-more { color: var(--gold); gap: 0.55rem; }
.candidate-card.is-expanded .candidate-more svg { transform: rotate(180deg); }
.candidate-card.is-expanded .candidate-more { color: var(--gold); }

/* Detail panel — opens inline beneath the clicked card, spanning the full grid row */
.candidate-detail {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
  animation: candidate-detail-in 0.3s ease;
}
@keyframes candidate-detail-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.candidate-detail-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--gray-100);
  border-radius: 50%; cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}
.candidate-detail-close:hover { background: var(--accent-soft); color: var(--gold-dark); border-color: var(--gold); }
.candidate-detail-close svg { width: 16px; height: 16px; }
.candidate-detail-photo {
  width: 100%; aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: var(--gray-50);
  overflow: hidden;
}
.candidate-detail-photo > img,
.candidate-detail-photo > .candidate-photo-placeholder {
  width: 100%; height: 100%; display: block;
}
.candidate-detail-photo > img { object-fit: cover; }
.candidate-detail-photo > .candidate-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed var(--gray-300);
  border-radius: 12px;
}
.candidate-detail-photo > .candidate-photo-placeholder svg { width: 56px; height: 56px; opacity: 0.55; }
.candidate-detail-body { display: flex; flex-direction: column; gap: 0.85rem; padding-right: 2.5rem; }
.candidate-detail-eyebrow {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark);
}
.candidate-detail-body h3 {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800;
  color: var(--navy); line-height: 1.25;
}
.candidate-detail-body p {
  font-family: var(--font-body); font-size: 0.95rem; line-height: 1.7;
  color: var(--text);
}
@media (max-width: 720px) {
  .candidate-detail { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; }
  .candidate-detail-photo { aspect-ratio: 4 / 3; max-width: 280px; }
  .candidate-detail-body { padding-right: 0; }
}

/* ---------- Events ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 1rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.event-card {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow);
}
.event-card.event-past { opacity: 0.65; }
.event-date {
  display: flex; flex-direction: column; align-items: center; min-width: 3rem;
  background: var(--navy); color: var(--white); border-radius: 8px;
  padding: 0.5rem 0.75rem; text-align: center; line-height: 1;
}
.event-day { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; line-height: 1; }
.event-month { font-family: var(--font-head); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.event-year { font-family: var(--font-body); font-size: 0.65rem; font-weight: 400; color: rgba(255,255,255,0.55); margin-top: 4px; }
.event-info h4 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.event-info p { font-size: 0.85rem; color: var(--text-light); }
.event-time { font-weight: 600; color: var(--navy); }

/* ---------- News / Sitzungsberichte — one row per Sitzung, click to expand ---------- */
.news-list {
  display: flex; flex-direction: column;
  max-width: 900px; margin: 0 auto;
  border-top: 1px solid var(--border);
}
.news-card {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 1.15rem 0.75rem;
  box-shadow: none;
  transition: background var(--transition);
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  background: var(--gray-50);
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}
.news-date {
  display: flex; flex-shrink: 0; min-width: 8.5rem;
  align-items: baseline; gap: 0.3rem;
  background: none; color: var(--navy);
  border-radius: 0; padding: 0; text-align: left;
  line-height: 1.2;
}
.news-day {
  font-family: var(--font-head); font-size: 1rem; font-weight: 800;
  line-height: 1.2; color: var(--navy);
}
.news-month {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  letter-spacing: normal; text-transform: none;
  color: var(--navy); margin-top: 0;
}
.news-year {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 800;
  color: var(--navy); margin-top: 0;
}
.news-info { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; min-width: 0; }
.news-category {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--gold-dark);
}
.news-info h3 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: var(--navy); line-height: 1.35;
}
.news-info p {
  font-size: 0.88rem; color: var(--text-light); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-link {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold-dark); flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: gap var(--transition);
}
.news-card:hover .news-link { gap: 0.6rem; }
@media (max-width: 640px) {
  .news-card { flex-wrap: wrap; align-items: flex-start; }
  .news-info p { white-space: normal; }
  .news-link { margin-left: auto; }
}

/* ===== "Wie wir arbeiten" note — clickable card + inline essay, above the events grid ===== */
.worknote-card {
  display: block; width: 100%; text-align: left; cursor: pointer;
  font: inherit; color: inherit; font-family: var(--font-body);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.worknote-card:hover, .worknote-card.is-expanded { transform: var(--lift-card); box-shadow: var(--shadow-md); border-color: var(--gold); }
.worknote-card h3 {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800;
  color: var(--navy); margin-bottom: 0.4rem;
}
.worknote-card p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 0.9rem; }
.worknote-card .news-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.worknote-card.is-expanded .news-link { color: var(--gold); }
.worknote-card.is-expanded .news-link svg { transform: rotate(180deg); }

.worknote-detail {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  animation: candidate-detail-in 0.3s ease;
  display: flex; flex-direction: column; gap: 0.9rem;
  max-width: 70ch;
}
.worknote-detail h3 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 800;
  color: var(--navy); margin-top: 0.4rem;
}
.worknote-detail.worknote-static { margin-bottom: 0; max-width: none; }

.worknote-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.worknote-gallery img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 12px; box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .worknote-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .worknote-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .worknote-card, .worknote-detail { padding: 1.4rem; }
}

/* ---------- Anträge — PDF-Liste, gleiche Kartenlogik wie News ---------- */
.antrag-list .news-card { align-items: flex-start; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.antrag-list .news-date { min-width: 7.5rem; padding-top: 0.15rem; }
.antrag-list .news-info { gap: 0.45rem; }
.antrag-list .news-info p {
  white-space: normal; overflow: visible; text-overflow: clip;
  line-height: 1.7; text-align: justify; text-wrap: pretty;
}
.antrag-list .news-link { margin-top: 0.35rem; }
.antrag-list .news-link svg { transform: rotate(-90deg); }
.antrag-list .news-card:hover { border-color: var(--gold); }
@media (max-width: 640px) {
  .antrag-list .news-date { min-width: 100%; }
  .antrag-list .news-link { margin-left: 0; }
}

/* ===== News-Detail — Vollbild-Modal (Overlay), funktioniert auf Desktop & Mobile ===== */
button.news-card {
  /* Button-Reset, damit die Karte optisch eine Karte bleibt */
  font: inherit; color: inherit; text-align: left; width: 100%;
  cursor: pointer; font-family: var(--font-body);
}
.news-card.is-clickable:hover { transform: var(--lift-card); box-shadow: var(--shadow-md); border-color: var(--gold); }
.news-card .news-link svg { width: 14px; height: 14px; transition: transform var(--transition); }

.news-detail-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15, 26, 46, 0.6);
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 4rem 1.5rem;
}
.news-detail {
  position: relative;
  background: var(--white);
  width: 100%; max-width: 900px; margin: auto;
  max-height: calc(100vh - 8rem); overflow-y: auto;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-md);
  animation: candidate-detail-in 0.3s ease;
}
@media (max-width: 720px) {
  .news-detail-overlay { padding: 0; align-items: stretch; }
  .news-detail { max-width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; margin: 0; }
}
.news-detail-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--gray-100);
  border-radius: 50%; cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}
.news-detail-close:hover { background: var(--accent-soft); color: var(--gold-dark); border-color: var(--gold); }
.news-detail-close svg { width: 16px; height: 16px; }
.news-detail-body {
  display: flex; flex-direction: column; gap: 0.85rem;
  max-width: 70ch; padding-right: 2.5rem;
}
.news-detail-eyebrow {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark);
}
.news-detail-body h3 {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800;
  color: var(--navy); line-height: 1.3;
}
.news-detail-body p {
  font-family: var(--font-body); font-size: 0.95rem; line-height: 1.7;
  color: var(--text);
}
@media (max-width: 720px) {
  .news-detail { padding: 1.5rem; }
  .news-detail-body { padding-right: 0; }
}

/* Inline "Weiterlesen" — expands the full text in place, no overlay/modal */
.news-detail-inline {
  border: 1px solid var(--gray-100); border-top: none; border-radius: 0 0 10px 10px;
  background: var(--white); margin: -0.5rem 0 0.5rem; padding: 1.5rem 2rem 1.75rem;
  box-shadow: var(--shadow); animation: candidate-detail-in 0.3s ease;
}
.news-detail-inline.has-photo { display: grid; grid-template-columns: 260px 1fr; gap: 1.75rem; align-items: start; padding-top: 1.5rem; }
.news-detail-inline .news-detail-photo { margin: 0; }
.news-detail-inline .news-detail-body { padding-right: 0; max-width: none; }
@media (max-width: 720px) {
  .news-detail-inline { padding: 1.25rem 1.25rem 1.5rem; }
  .news-detail-inline.has-photo { grid-template-columns: 1fr; }
}

/* News-Detail mit Foto — Grid (Foto links, Text rechts) wie das Kandidaten-Detail */
.news-detail.has-photo {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.25rem;
  align-items: start;
}
.news-detail-photo {
  margin: 0;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.news-detail-photo img {
  width: 100%; display: block;
  border-radius: 12px;
  background: var(--gray-50);
  object-fit: cover;
}
.news-detail-photo figcaption {
  font-family: var(--font-body);
  font-size: 0.78rem; line-height: 1.5;
  color: var(--text-light);
}
.news-detail.has-photo .news-detail-body { padding-right: 2.5rem; }
@media (max-width: 720px) {
  .news-detail.has-photo { grid-template-columns: 1fr; gap: 1.4rem; }
  .news-detail.has-photo .news-detail-body { padding-right: 0; }
  .news-detail-photo img { max-width: 340px; }
}

/* ---------- Kontakt ---------- */
.contact-channels {
  max-width: 480px;
  margin: 0 auto;
}
.contact-social { display: flex; flex-direction: column; gap: 0.75rem; }
.social-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--white); box-shadow: var(--shadow);
  transition: all var(--transition); font-size: 0.9rem; font-weight: 600;
}
.social-link:hover { transform: translateX(4px); border-color: var(--gold); }
.social-link:hover .social-icon { background: var(--gold); color: var(--white); border-color: var(--gold); }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.35);
  transition: var(--transition);
}
.social-icon svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo img { height: 36px; width: auto; }
.footer-logo span { font-family: var(--font-head); font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 0.8rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--gold); transition: opacity var(--transition); }
.footer-links a:hover { opacity: 0.7; }

/* ---------- Form submit feedback ---------- */
.form-feedback {
  background: var(--accent-soft); border: 1px solid var(--gold);
  color: var(--gold-dark); border-radius: var(--radius);
  padding: 0.85rem 1rem; font-family: var(--font-body); font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-channels { padding: 0 1rem; }
}
@media (max-width: 768px) {
  .nav-list {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy-dark); padding: 1rem; gap: 0.25rem;
    border-bottom: 2px solid var(--gold);
  }
  .nav-list.open { display: flex; }
  .nav-link { padding: 0.75rem 1rem; border-radius: 6px; }
  .nav-burger { display: flex; }
  .nav-dropdown { position: static; box-shadow: none; margin-top: 0.35rem; }
  .hero-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .section { padding: 4rem 0; }
  .candidates-grid, .events-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .priorities-grid { grid-template-columns: 1fr; }
}

/* ---- Nav: collapse to burger earlier so long DE labels never wrap ---- */
@media (max-width: 1100px){
  .nav-list{ display:none; flex-direction:column; align-items:stretch; position:absolute; top:var(--nav-h); left:0; right:0; background:var(--navy-dark); padding:1rem; gap:0.25rem; border-bottom:2px solid var(--gold); box-shadow:var(--shadow-nav); }
  .nav-list.open{ display:flex; }
  .nav-link{ padding:0.75rem 1rem; border-radius:6px; }
  .nav-burger{ display:flex; }
}

/* ---- Hero: subtle gold flourish ---- */
.hero-content{ z-index:2; }
.hero::after{ content:""; position:absolute; top:-12%; left:50%; transform:translateX(-50%); width:min(960px,120%); height:560px; background:radial-gradient(ellipse at center, rgba(201,168,76,0.16), rgba(201,168,76,0) 68%); pointer-events:none; z-index:1; }
.hero-hashtag{ display:flex; align-items:center; justify-content:center; gap:1.1rem; margin-right:0 !important; }
.hero-hashtag::before, .hero-hashtag::after{ content:""; display:block; height:1px; width:clamp(28px,8vw,64px); background:linear-gradient(90deg, transparent, var(--gold)); opacity:0.8; }
.hero-hashtag::after{ background:linear-gradient(90deg, var(--gold), transparent); }
