@font-face {
  font-family: 'DieFONT';
  src: url('/css/DieFONT-BoldCondensed.ttf') format('truetype');
}

@font-face {
  font-family: 'DieFONT-Extra';
  src: url('/css/DieFONT-ExtraBold.ttf') format('truetype');
}

body.modern-layout {
  font-family: system-ui, sans-serif;
  font-size: 1.125rem;
  background: #d3d3d3;
  margin: 0;
  padding: 0;
}

.page-container {
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header-white {
  background: white;
  padding: 1rem;
  border-bottom: 2px solid #e5e5e5;
}

.logo img {
  height: 60px;
}

.main-nav {
  background: #B91023;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.main-nav a:hover {
  text-decoration: underline;
}

main {
  padding: 2rem;
  flex-grow: 1;
}

.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: #B91023;
  font-family: 'DieFONT-Extra', sans-serif;
}

.cta-button {
  display: inline-block;
  background: #B91023;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0.375rem;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: #a10d1b;
}

section {
  margin-bottom: 2rem;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: #B91023;
}

a:hover {
  text-decoration: underline;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: auto;
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  main {
    padding: 1rem;
  }
}
.kandidatinnen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.kandidatin-card {
  background: white;
  border: 2px solid #B91023;
  padding: 1rem;
  text-align: center;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.kandidatin-card img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.kandidat:hover {
  transform: translateY(-5px);
}

.kandidat img {
  width: 100%;
  max-width: 200px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.kandidat h2 {
  font-size: 1.25rem;
  margin: 0.5rem 0 0.25rem;
  font-family: 'DieFONT-Extra', sans-serif;
  color: #B91023;
}

.kandidat p {
  margin: 0.25rem 0;
}
details {
  margin-bottom: 1.5rem;
  background: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 1rem;
}

summary {
  font-weight: bold;
  font-family: 'DieFONT-Extra', sans-serif;
  color: #B91023;
  cursor: pointer;
  font-size: 1.25rem;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] summary::after {
  content: " ▲";
}

summary::after {
  content: " ▼";
}

.wahlprogramm-inhalt {
  margin-top: 1rem;
  line-height: 1.6;
}
.termin {
  background: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.termin h3 {
  margin-top: 0;
  color: #B91023;
  font-family: 'DieFONT-Extra', sans-serif;
}

.termin time {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.termine-liste {
  list-style: none;
  padding: 0;
}

.termin-eintrag {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}
.termine-liste {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.termin-eintrag {
  display: flex;
  background: #fff;
  border: 1px solid #d1d5db;
  border-left: 5px solid #B91023;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  align-items: flex-start;
  gap: 1rem;
}

.termin-datum {
  min-width: 60px;
  text-align: center;
  font-weight: bold;
  color: #B91023;
  background: #f9f9f9;
  border-radius: 0.375rem;
  padding: 0.5rem;
  line-height: 1.2;
}

.termin-details {
  flex: 1;
}

.termin-details h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}

.termin-details p {
  margin: 0.25rem 0;
  line-height: 1.4;
  color: #333;
}

@media (max-width: 640px) {
  .termin-eintrag {
    flex-direction: column;
  }

  .termin-datum {
    align-self: flex-start;
  }
}
.linkliste {
  list-style: none;
  padding-left: 0;
}

.linkliste li {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.linkliste a {
  color: #B91023;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border 0.2s;
}

.linkliste a:hover {
  border-bottom: 1px solid #B91023;
}

.standard-section {
  padding: 2rem 1rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.wahlprogramm-accordion {
  margin-top: 2rem;
}

.wahlprogramm-accordion details {
  background: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.wahlprogramm-accordion summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
}

.programm-punkte details {
  margin-top: 1rem;
  padding-left: 1rem;
}

.programm-punkte summary {
  font-weight: normal;
  font-size: 1rem;
}
.termine-liste {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.termin-eintrag {
  display: flex;
  background: #fff;
  border: 1px solid #B91023;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.termin-datum {
  background-color: #B91023;
  color: white;
  padding: 1rem;
  text-align: center;
  flex-shrink: 0;
  width: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.termin-datum div:first-child {
  font-size: 1.5rem;
  font-weight: bold;
}

.termin-datum div:last-child {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.termin-details {
  padding: 1rem;
  flex-grow: 1;
}

.termin-details h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.linkliste {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.linkliste li {
  margin-bottom: 1rem;
}

.linkliste a {
  text-decoration: none;
  color: #B91023;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.linkliste a:hover {
  color: #7f0c18;
}
.kontaktliste {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.kontaktliste li {
  margin-bottom: 1rem;
}

.kontaktformular {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontaktformular input,
.kontaktformular textarea {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid #B91023;
  border-radius: 0.375rem;
  font-size: 1rem;
}
.termine-liste {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.termin-eintrag {
  display: flex;
  background: #fff;
  border: 1px solid #B91023;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.termin-datum {
  background-color: #B91023;
  color: white;
  padding: 1rem;
  text-align: center;
  flex-shrink: 0;
  width: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.termin-datum div:first-child {
  font-size: 1.4rem;
  font-weight: bold;
}

.termin-datum div:last-child {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.termin-details {
  padding: 1rem;
  flex-grow: 1;
}

.termin-details h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.profilbild {
  width: 100%;
  max-width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.profilbild:hover {
  transform: scale(1.05);
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.overlay.hidden {
  display: none;
}

.overlay-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.overlay-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
}

.overlay-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #B91023;
  color: white;
  border: none;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
}
.pdf-download {
  margin-top: 2rem;
  text-align: center;
}

.button-download {
  display: inline-block;
  background-color: #B91023;
  color: white;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.button-download:hover {
  background-color: #b00;
}
.event-image-container {
  text-align: center;
  margin: 1rem 0;
}
.event-details {
  text-align: center;
}
.event-thumb {
  max-width: 400px; /* oder 100% für responsive */
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.highlight-event{
text-align: center
}

