/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */
:root {
  /* Farben basierend auf dem Design */
  --primary-teal: #4ca6a8;     /* Helles Türkis/Teal für Highlights & Buttons */
  --dark-blue: #163e4a;        /* Dunkles Blau/Türkis für Hintergründe & Text */
  --orange: #f39200;           /* Orange für CTA Button & Akzente */
  --light-bg: #f8f9fa;         /* Sehr helles Grau für den Team-Bereich */
  --white: #ffffff;
  --segment-max-width: 1600px;
  
  --font-main: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark-blue);
  background-color: var(--white);
  overflow-x: hidden;
  font-size: 16px; /* Prevents iOS from zooming on input focus */
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--segment-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Keep all major content segments on a shared maximum width */
.hero .container,
.hero-team .container,
.team-teaser .container,
.topics .container,
.cta-banner .container,
.team-tabs .container,
.candidate-detail .container,
.main-footer .container {
  width: 100%;
  max-width: var(--segment-max-width);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--dark-blue);
}

a {
  color: var(--white);
}

.highlight {
  color: var(--primary-teal);
}

.eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   BUTTONS - TOUCH FRIENDLY
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 1rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  outline: none;
}

.btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   HEADER & NAVIGATION (Im Bild verlaufend)
   ========================================================================== */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
  display: block;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: 1rem;
}

.hamburger-menu span {
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
  display: block;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-and-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 767px) {
  .nav-and-cta {
    display: none !important;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(22, 62, 74, 0.98), rgba(22, 62, 74, 0.95));
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-and-cta.active {
    display: flex !important;
  }
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  padding: 8px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--primary-teal);
  outline: none;
}

.btn-contact {
  background-color: var(--primary-teal);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Mobile Navigation Menu */
@media (max-width: 767px) {
  .hamburger-menu {
    display: flex;
  }

  .main-nav {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    list-style: none;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-nav a {
    padding: 1rem 1.5rem;
    display: flex;
    min-height: 50px;
    align-items: center;
    font-size: 0.95rem;
  }

  .main-nav a:active {
    background-color: rgba(76, 166, 168, 0.1);
  }

  .btn-contact {
    margin: 1rem;
    width: calc(100% - 2rem);
  }
}

/* ==========================================================================
   HERO SECTION (Volles Bild & Schweif am Boden)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 70px;
}

.hero-team {
  position: relative;
  min-height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 70px;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  /* Dezenterer Overlay-Verlauf:
    Links etwas dunkler für die Lesbarkeit des Textes, 
    nach rechts hin komplett transparent, damit das Bild strahlt.
  */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text-block {
  max-width: 800px;
  padding: 2rem 0;
  color: var(--white);
}

.hero-text-block h1 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1.1;
}

.hero-team-text-block h1 {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12rem;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1.1;
}

.hero-text-block h2 {
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.hero-text-block p {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.election-badge {
  display: inline-flex;
  flex-direction: column;
  background-color: var(--white);
  padding: 1rem 2rem;
  border-radius: 4px;
  position: relative;
}

.election-badge .eyebrow {
  color: var(--dark-blue);
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}

.election-badge strong {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--primary-teal);
}

/* ==========================================================================
   WERTE SECTION (MITEINANDER, LEBENSWERT...)
   ========================================================================== */
.values {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 5rem 0;
}

.values h3 {
  color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-icon {
  font-size: 4rem;
  color: var(--primary-teal);
  margin-bottom: 1.5rem;
}

.value-item h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.8rem;
}

/* Der kleine orange Strich unter der Überschrift */
.value-item h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--orange);
}

.value-item p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ==========================================================================
   TEAM TEASER SECTION
   ========================================================================== */
.team-teaser {
  background-color: var(--light-bg);
  padding: 3rem 0;
  overflow: hidden;
}

.team-teaser-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  max-width: 100%;
}

.teaser-text {
  flex: 1;
  padding: 2rem 1rem;
  width: 100%;
}

.teaser-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.teaser-text p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.btn-more-team {
  background-color: var(--primary-teal);
  color: var(--white);
}

.teaser-image-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  height: 300px;
  clip-path: none;
}

.teaser-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.election-badge-compact {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: var(--white);
  padding: 0.8rem 1rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  font-size: 0.9rem;
}

.election-badge-compact .eyebrow {
  color: var(--dark-blue);
  margin-bottom: 0;
  font-size: 0.6rem;
}

.election-badge-compact strong {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--dark-blue);
}

@media (max-width: 767px) {
  .election-badge-compact {
    display: none;
  }
}


/* ==========================================================================
Themen
   ========================================================================== */

.topics {
  padding: 3.5rem 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  color: var(--dark-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: rgba(22, 62, 74, 0.8);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

.section-header .eyebrow {
  color: var(--orange);
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.topics-intro {
  display: none;
}

.topic-card {
  background: #fff;
  padding: 1.35rem 1.4rem;
  border-radius: 10px;
  border: 1px solid rgba(22, 62, 74, 0.08);
  box-shadow: 0 4px 12px rgba(22, 62, 74, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 62, 74, 0.12);
}

.topic-label {
  display: inline-block;
}

.topic-label {
  margin-bottom: 0.6rem;
  color: var(--primary-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topic-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: var(--dark-blue);
}

.topic-points {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(22, 62, 74, 0.86);
}

.topic-points li + li {
  margin-top: 0.6rem;
}

.topic-points li {
  line-height: 1.55;
  font-size: 0.94rem;
}


/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.cta-banner {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 3rem 0;
  background-image: url('assets/background_2.jpg');
  background-blend-mode: soft-light;
  background-size: cover;
  background-position: center;
}

.cta-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta-text {
  flex: 1;
  position: relative;
  width: 100%;
}

.quote-graphic {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-left: 2.5rem;
}

.quote-graphic::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -15px;
  font-size: 4rem;
  color: var(--orange);
  line-height: 1;
  font-family: serif;
}

.cta-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: none;
  padding-left: 0;
}

.ballot-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.icon-ballot {
  font-size: 2.5rem;
  color: var(--primary-teal);
  flex-shrink: 0;
}

.ballot-info p {
  font-size: 1rem;
  font-weight: 500;
}

.ballot-crosses {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.ballot-cross-image {
  max-width: 300px;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .ballot-crosses {
    gap: 1rem;
  }

  .ballot-cross-image {
    max-width: 250px;
  }
}

.btn-action {
  background-color: var(--orange);
  color: var(--white);
}

.cta-highlight {
  color: var(--orange)
}

/* ==========================================================================
   Teams
   ========================================================================== */

.team-section {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
  flex-direction: column;
}

.team-section.reverse {
  flex-direction: column-reverse;
}

.team-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  object-fit: cover;
}

.team-text {
  flex: 1;
  width: 100%;
}

.districts-info {
  font-size: 0.95rem;
  color: #666;
  margin: 1rem 0 1.5rem 0;
  line-height: 1.6;
}

.districts-info strong {
  color: var(--dark-blue);
  font-weight: 600;
}

.team-image {
  flex: 1;
  width: 100%;
}

.team-section.group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-direction: column;
}

.team-section.grid-block {
  margin-top: 3rem;
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  --grid-columns-mobile: auto-fill;
  --grid-columns-tablet: 3;
  --grid-columns-desktop: 4;
}

/* Modifier für unterschiedliche Größen */
.candidate-grid--compact {
  --grid-columns-mobile: auto-fill;
  --grid-columns-tablet: 2;
  --grid-columns-desktop: 3;
}

.candidate-grid--large {
  --grid-columns-mobile: auto-fill;
  --grid-columns-tablet: 4;
  --grid-columns-desktop: 5;
}

.candidate-grid--small {
  --grid-columns-mobile: 1;
  --grid-columns-tablet: 2;
  --grid-columns-desktop: 3;
}

.candidate-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.candidate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.candidate-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
}

.candidate-card h4 {
  margin: 0.8rem 0 0.3rem;
  font-size: 0.95rem;
}

.candidate-card .location {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0.8rem;
  padding: 0 0.5rem;
}

/* Ortsräte Grid */
.ortsraete-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.ortsrat-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.ortsrat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.ortsrat-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ortsrat-card h4 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.ortsrat-candidates {
  padding: 0 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ortsrat-candidate {
  font-size: 0.75rem;
  opacity: 0.8;
  line-height: 1.3;
}

/* Tablet - Ortsräte 2 Spalten */
@media (max-width: 1023px) and (min-width: 768px) {
  .ortsraete-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile - Ortsräte 1 Spalte */
@media (max-width: 767px) {
  .ortsraete-grid {
    grid-template-columns: 1fr;
  }
}

/* ================ 
  Team Content 
=================== */

.team-tabs {
  padding: 2rem 0;
}

.tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  padding: 0.8rem 1rem;
  border: 2px solid #ddd;
  background: #fff;
  color: var(--dark-blue);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.tab-btn:hover {
  background: #f0f0f0;
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.tab-btn.active {
  background: var(--primary-teal);
  color: #fff;
  border-color: var(--primary-teal);
}

.tab-btn.active:hover {
  background: #3a8a8c;
  border-color: #3a8a8c;
}

.tab-btn:focus-visible {
  outline: 2px solid var(--primary-teal);
  outline-offset: 2px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.team-group {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-direction: column;
}

.team-group img {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--primary-teal);
  color: var(--white);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-left h3 {
  color: var(--white);
  font-size: 0.8rem;
  margin: 0;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
    color: var(--white);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--dark-blue);
}

.website-url {
  font-weight: 600;
  letter-spacing: 1px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES - Mobile First
   ========================================================================== */

/* Small devices - Tablets (768px and up) */
@media (min-width: 768px) {
  .hamburger-menu {
    display: none;
  }

  .nav-and-cta {
    display: flex;
  }

  .hero-text-block h1 {
    font-size: 3.2rem;
  }

  .hero-team-text-block h1 {
    font-size: 3.6rem;
    margin-bottom: 16rem;
  }

  .hero-text-block h2 {
    font-size: 1.5rem;
  }

  .teaser-text {
    padding: 3rem 2rem;
  }

  .teaser-text h2 {
    font-size: 2.2rem;
  }

  .team-teaser-content {
    flex-direction: row;
  }

  .teaser-image-wrapper {
    min-height: 400px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  }

  .quote-graphic {
    font-size: 2.2rem;
    padding-left: 3rem;
  }

  .quote-graphic::before {
    font-size: 5rem;
    top: -20px;
  }

  .cta-banner-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .cta-info {
    border-left: 1px solid rgba(255,255,255,0.2);
    border-top: none;
    padding-left: 3rem;
    padding-top: 0;
  }

  .team-section {
    flex-direction: row;
    gap: 4rem;
    margin: 3rem 0;
  }

  .team-section.reverse {
    flex-direction: row-reverse;
  }

  .team-section.group {
    flex-direction: row;
    gap: 3rem;
  }

  .candidate-grid {
    grid-template-columns: repeat(var(--grid-columns-tablet, 3), 1fr);
    gap: 1.5rem;
  }

  .ortsraete-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .candidate-card img {
    aspect-ratio: 3 / 4;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 0;
  }

  .footer-left h3 {
    font-size: 0.9rem;
  }

  .main-nav ul {
    gap: 2rem;
  }

  
}

/* Medium devices - Desktop (1024px and up) */
@media (min-width: 1024px) {
  .hero {
    min-height: 80vh;
  }

  .hero-text-block h1 {
    font-size: 4rem;
  }

  .hero-team-text-block h1 {
    font-size: 4rem;
    margin-bottom: 18rem;
  }

  .hero-text-block h2 {
    font-size: 2rem;
  }

  .teaser-text {
    padding: 4rem 3rem;
  }

  .teaser-text h2 {
    font-size: 3rem;
  }

  .teaser-image-wrapper {
    min-height: 500px;
  }

  .quote-graphic {
    font-size: 2.5rem;
    padding-left: 4rem;
  }

  .quote-graphic::before {
    font-size: 6rem;
  }

  .candidate-grid {
    grid-template-columns: repeat(var(--grid-columns-desktop, 4), 1fr);
  }

  .ortsraete-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .topics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav ul {
    gap: 2.5rem;
  }
}

/* Large devices (1440px and up) */
@media (min-width: 1440px) {
  .hero-text-block h1 {
    font-size: 4.5rem;
  }

  .teaser-text h2 {
    font-size: 3.2rem;
  }
}