/* Sidebar-Module */
.container-sidebar-right .moduletable {
  max-width: 320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Einsatzboxen */
.einsatz-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.5;
}
.einsatz-box strong { color: #000; }
.einsatz-box em { color: #444; font-style: italic; }
.einsatz-box span { display: block; }

.einsatz-meta,
.einsatz-fahrzeuge,
.einsatz-bereitstellung,
.einsatz-einheiten,
.einsatz-kurzbeschreibung {
  margin-top: 10px;
}

/* Fahrzeugseite */
.fahrzeug-seite {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: sans-serif;
}
.fahrzeug-header h1 {
  margin-top: 0;
  font-size: 1.8rem;
  color: #b30000;
}
.fahrzeug-header p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.fahrzeug-inhalt {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.fahrzeug-bild img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.fahrzeug-daten {
  flex: 1;
  min-width: 280px;
}
.fahrzeug-daten h2 {
  margin-top: 0;
  color: #333;
}
.fahrzeug-daten ul {
  padding-left: 1.2rem;
}
.fahrzeug-daten li {
  margin-bottom: 0.5rem;
}
.fahrzeug-daten p {
  margin-top: 1rem;
  font-weight: bold;
}

/* Fahrzeugbilder-Zusatz */
.fahrzeug-zusatzbilder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem auto;
  max-width: 900px;
  padding: 0 1rem;
}
.fahrzeug-zusatzbilder img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  display: block;
}

/* Letzter Einsatz */
.letzter-einsatz-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  padding: 16px;
  font-size: 0.95rem;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}
.letzter-einsatz-box .einsatz-kopf {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
.letzter-einsatz-box .einsatz-meta {
  line-height: 1.6;
}
.letzter-einsatz-box .einsatz-link {
  margin-top: 10px;
}
.letzter-einsatz-box .einsatz-link a {
  text-decoration: none;
  color: #005aa7;
  font-weight: bold;
}
.letzter-einsatz-box .einsatz-link a:hover {
  text-decoration: underline;
}

/* Team Cards */
.team-section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: sans-serif;
}
.team-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #b30000;
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}
.team-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.team-card {
  flex: 1 1 250px;
  max-width: 280px;
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding-bottom: 1rem;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.team-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}
.team-card h3 {
  margin: 0.8rem 0 0.2rem;
  font-size: 1.2rem;
  color: #222;
}
.team-card .title {
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.team-card .contact {
  font-size: 0.9rem;
  color: #0077cc;
  text-decoration: none;
}
.team-card .contact:hover {
  text-decoration: underline;
}

/* Mail-Link */
.mail-link {
  color: #0077cc;
  text-decoration: none;
  font-weight: normal;
}
.mail-link::before {
  content: "\2709\FE0F ";
  display: inline-block;
  margin-right: 0.25em;
}
.mail-link:hover {
  text-decoration: underline;
}

/* Öffentlichkeitsarbeit */
.oeffentlichkeit-seite {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: sans-serif;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.oeffentlichkeit-intro {
  text-align: center;
  margin-bottom: 2rem;
}
.oeffentlichkeit-intro h1 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 0.5rem;
}
.oeffentlichkeit-intro p {
  font-size: 1.1rem;
  color: #444;
  margin: 0;
}
.oeffentlichkeit-seite h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: #222;
}
.oeffentlichkeit-seite p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.oeffentlichkeit-seite a {
  color: #0077cc;
  text-decoration: none;
}
.oeffentlichkeit-seite a:hover {
  text-decoration: underline;
}

/* Zitat */
.oeffentlichkeit-zitat {
  margin-top: 2rem;
  font-style: italic;
  font-size: 1rem;
  color: #333;
  text-align: center;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* Galerie */
.oeffentlichkeits-bildergalerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 2rem;
}
.oeffentlichkeits-bildergalerie img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

/* Einzelbilder zentriert */
.oeffentlichkeit-bild.zentriert {
  text-align: center;
  margin: 2rem 0;
}
.oeffentlichkeit-bild.zentriert img {
  display: inline-block;
  width: 50%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Hero-Bild Startseite */
.hero-gruppe {
  position: relative;
  text-align: center;
  overflow: hidden;
  max-height: 60vh;
}
.hero-gruppe img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5);
}
.hero-gruppe .hero-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.hero-gruppe .hero-text h1 {
  font-size: 3rem;
  margin: 0;
  padding: 0 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Abstand unter dem Hero-Bild */
.hero-spacer {
  height: 4rem;
}

/* Startseite Galerie mit Links */
.start-galerie-themen {
  max-width: 1000px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.start-galerie-themen .themen-box {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.start-galerie-themen .themen-box:hover {
  transform: translateY(-4px);
}
.start-galerie-themen .themen-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
}
.start-galerie-themen .themen-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

/* Footer */
.oeffentlichkeits-footer {
  margin-top: 2rem;
  text-align: center;
}
.oeffentlichkeits-footer p {
  font-weight: bold;
  margin-bottom: 1rem;
}
.social.facebook {
  color: #4267B2;
  text-decoration: none;
  margin-right: 1rem;
}

/* CTA Button */
.cta {
  background-color: #b30000;
  color: #fff !important;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.2s ease;
}
.cta:hover {
  background-color: #990000;
}
.cta:visited {
  color: #fff !important;
}

/* Jugendfeuerwehr – Überschrift + Einstieg */
.jugend-einstieg {
  text-align: center;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Jugendfeuerwehr – Erste Kachel-Reihe */
.jugend-kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Allgemeine Kachel */
.kachel {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s ease;
}
.kachel:hover {
  transform: translateY(-4px);
}
.kachel .icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}
.kachel h2 {
  font-size: 1.2rem;
  color: #b30000;
  margin-bottom: 0.5rem;
}
.kachel p {
  font-size: 0.95rem;
  color: #444;
}

/* Mittlerer Bereich mit Bildern links/rechts */
.jugend-bild-kombiniert {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Bilder links und rechts der "Interesse"-Kachel */
.jugend-foto {
  flex: 1 1 240px;
  max-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  object-fit: cover;
  display: block;
}

/* Interesse-Kachel mit Link */
.kachel.interesse {
  flex: 1 1 240px;
  max-width: 300px;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.kachel.interesse:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.kachel.interesse .icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}
.kachel.interesse h2 {
  color: #b30000;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.kachel.interesse p {
  font-size: 0.95rem;
  color: #444;
}







/* Responsive */
@media (max-width: 768px) {
 .fahrzeug-zusatzbilder {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .fahrzeug-zusatzbilder img {
    max-width: 100%;
  }

  .oeffentlichkeits-bildergalerie {
    grid-template-columns: 1fr;
  }

  .oeffentlichkeit-intro h1 {
    font-size: 1.5rem;
  }

  .oeffentlichkeit-intro p {
    font-size: 1rem;
  }

  .oeffentlichkeit-zitat {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .hero-gruppe {
    max-height: 40vh;
  }

  .hero-gruppe .hero-text {
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 1rem;
    text-align: center;
    box-sizing: border-box;
  }

  .hero-gruppe .hero-text h1 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    word-break: break-word;
    max-width: 100%;
    white-space: normal;
  }

  .start-galerie-themen {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .start-galerie-themen .themen-box {
    aspect-ratio: 1 / 1;
  }

  .start-galerie-themen .themen-text {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
  }
   .jugend-mitte {
    flex-direction: column;
    align-items: center;
  }
  /* Jugendfeuerwehr – Überschrift + Einstieg */
.jugend-einstieg {
  text-align: center;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Jugendfeuerwehr – Erste Kachel-Reihe */
.jugend-kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Allgemeine Kachel */
.kachel {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s ease;
}
.kachel:hover {
  transform: translateY(-4px);
}
.kachel .icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}
.kachel h2 {
  font-size: 1.2rem;
  color: #b30000;
  margin-bottom: 0.5rem;
}
.kachel p {
  font-size: 0.95rem;
  color: #444;
}

/* Mittlerer Bereich mit Bildern links/rechts */
.jugend-bild-kombiniert {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Bilder links und rechts der "Interesse"-Kachel */
.jugend-foto {
  flex: 1 1 240px;
  max-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  object-fit: cover;
  display: block;
}

/* Interesse-Kachel mit Link */
.kachel.interesse {
  flex: 1 1 240px;
  max-width: 300px;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.kachel.interesse:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.kachel.interesse .icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}
.kachel.interesse h2 {
  color: #b30000;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.kachel.interesse p {
  font-size: 0.95rem;
  color: #444;
}
}
