    @font-face {
      font-family: 'Edo SZ';
      src: url('/fonts/edosz.ttf') format('truetype'),
        url('/fonts/EdoSZ.woff2') format('woff2'),
        url('/fonts/EdoSZ.woff') format('woff');
      font-weight: normal;
      font-style: normal;
    }

    :root {
      --accent-yellow: #f6ff00;
      /* z. B. Goldgelb */
    }

    html,
    body {
      margin: 0;
      background-color: #121212;
      color: #e0e0e0;
      display: flex;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    .header {
      height: 60vh;
      position: relative;
      background: url('../img/start3.jpg') no-repeat center center fixed;
      background-size: cover;
      background-position: center;
      width: 100%;
    }

    .header::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.5);
      /* 50% schwarz – Stärke anpassbar */
      z-index: 1;
    }

    .aktuelles-header {
      position: relative;
      height: 30vh;
      background: url('../img/start1.jpg') no-repeat center center;
      background-size: cover;
      overflow: hidden;
    }

    .aktuelles-header .overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      /* dunkler Verlauf */
      z-index: 0;
    }

    .aktuelles-header .container {
      z-index: 1;
    }

    .sidebar {
      width: 60px;
      background-color: #1a1a1a;
      border-right: 3px solid #f6ff00;
      transition: width 0.3s ease;
      overflow: hidden;
      height: 100vh;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
    }

    .sidebar:hover {
      width: 200px;
    }

    .sidebar .nav-link {
      display: flex;
      align-items: center;
      padding: 1rem;
      color: #e0e0e0;
      text-decoration: none;
      white-space: nowrap;
    }

    .sidebar .nav-link:hover {
      background-color: #2a2a2a;
      color: #f6ff00;
    }

    .sidebar .nav-link active {
      background-color: #2a2a2a;
      color: #f6ff00;
    }

    .sidebar i {
      font-size: 1.2rem;
      width: 24px;
    }

    .sidebar .link-text {
      opacity: 0;
      transition: opacity 0.3s ease;
      margin-left: 1rem;
    }

    .sidebar:hover .link-text {
      opacity: 1;
    }

    .sidebar:hover~.content {
      margin-left: 200px;
    }

    /* Offenes Menü (mobile): direkt ausgeklappt + Text sichtbar */
    .sidebar.open {
      width: 200px;
      right: 0;
    }

    /* Beim Hover oder geöffneter Sidebar: Text sichtbar */
    .sidebar.open .link-text,
    .sidebar:hover .link-text {
      opacity: 1;
    }

    .sidebar.expanded .link-text {
      display: inline;
      opacity: 1;
    }

    .nav-pills .nav-link {
      color: #f6ff00;
      background-color: transparent;
      font-weight: bold;
      border-radius: 2rem !important;
      padding: 0.5rem 1.2rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      /* Abstand zwischen Icon und Text */

    }

    .nav-pills .nav-link i {
      font-size: 1.1rem;
      line-height: 1;
    }

    .nav-pills .nav-link.active {
      background-color: #f6ff00;
      color: #000;

    }

    .navbar-toggler {
      display: none !important;
    }

    .navbar {
      background: transparent !important;
    }

    .content {
      margin-left: 30px;
      padding: 1rem;
      transition: margin-left 0.3s ease;
      min-width: 100vw;
    }


    .card {
      background-color: #2c2c2c;
      border: none;
    }

    .card-img-top {
      height: 220px;
      object-fit: cover;
      object-position: center;
      transition: transform 0.3s ease;
    }

    .card:hover .card-img-top {
      transform: scale(1.03);
    }

    .card-text {
      color: #f8f9fa;
    }


    a {
      color: #0d6efd;
    }

    a:hover {
      color: #66b2ff;
    }

    .graffiti-title {
      font-family: 'Edo SZ', sans-serif;
      font-size: 3rem;
      color: #f6ff00;
      text-shadow: 1px 1px 0 #000;
    }

    .graffiti-card-header {
      font-family: 'Edo SZ', sans-serif;
      font-size: 2rem;
      color: #f6ff00;
      text-shadow: 1px 1px 0 #000;
    }

    .graffiti-text {
      font-family: 'Edo SZ', sans-serif;
      font-size: 1rem;
      color: #f6ff00;
      text-shadow: 1px 1px 0 #000;
    }

    .graffiti-card-header-w {
      font-family: 'Edo SZ', sans-serif;
      font-size: 2rem;
      color: #ffffff;
      text-shadow: 1px 1px 0 #000;
    }

    .graffiti-text-w {
      font-family: 'Edo SZ', sans-serif;
      font-size: 1rem;
      color: #ffffff;
      text-shadow: 1px 1px 0 #000;
    }

    .graffiti-card-header-s {
      font-family: 'Edo SZ', sans-serif;
      font-size: 2rem;
      color: #323030;
      text-shadow: 1px 1px 0 #f6ff00;
    }

    .graffiti-text-s {
      font-family: 'Edo SZ', sans-serif;
      font-size: 1rem;
      color: #323030;
      text-shadow: 1px 1px 0 #f6ff00;
    }


    .headline {
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      text-transform: uppercase;
      color: #f3f3f3;
    }

    .logo-container {
      animation: slideDown 1.2s ease-out forwards;
      opacity: 0;
      transform: translateY(-200px);
      z-index: 2;
    }

    .logo {
      max-width: 250px;

    }

    @keyframes slideDown {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Burger Menu (Mobile) */
    .burger {
      position: fixed;
      top: 1rem;
      right: 1rem;
      z-index: 1050;
      width: 30px;
      height: 24px;
      display: none;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
    }

    .burger span {
      display: block;
      height: 3px;
      margin: 3px;
      background-color: #f6ff00;
      border-radius: 2px;
      transition: 0.4s ease;
    }

    /* Animation zum "X" */
    .burger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
      opacity: 0;
    }

    .burger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

    @media (max-width: 768px) {
      .header {
        height: 100vh;
      }

      .sidebar {
        position: absolute;
        /* statt fixed */
        left: -200px;
        top: 0;
        width: 200px;
        height: 100%;
        transition: left 0.3s ease;
      }

      .sidebar.open {
        left: 0;
      }

      .burger {
        display: block;
      }

      .content {
        margin-left: 0 !important;
        /* Kein Platz für Sidebar reservieren */
      }

      h2.headline {
        display: none;
      }
    }

    .sidebar.open~.content {
      margin-left: 200px;
    }

    /* Startseite */

    .section {
      padding: 4rem 1rem;
    }

    .section-dark {
      background-color: #111;
    }

    .section-medium {
      background-color: #222;
    }

    .section-light {
      background-color: #333;
    }

    .section-header {
      font-size: 2.5rem;
      margin-bottom: 40px;
      text-align: center;
    }

    .section-divider {
      height: 10px;
      background: linear-gradient(to right, #d62828, #f77f00, #003049);
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.1) inset;
    }

    .parallax-bg {
      background-image: url('bilder/hintergrund.jpg');
      /* eigenes Bild einsetzen */
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 130%;
      background-size: cover;
      background-attachment: fixed;
      background-position: center;
      z-index: -1;
      opacity: 0.1;
    }

    #aktuelles .card {
      transition: transform 0.3s ease, box-shadow 0.3s;
    }

    #aktuelles .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    }

    .btn-outline-light {
      border-color: #f6ff00;
      color: #f6ff00;
    }

    .btn-outline-light:hover {
      background-color: #f6ff00;
      color: #000;
    }

    .link-toggle {
      color: #ffc107;
      font-size: 0.9rem;
      text-decoration: none;
      transition: color 0.2s;
    }

    .link-toggle:hover {
      text-decoration: underline;
    }

    .link-toggle .bi {
      transition: transform 0.3s ease;
    }

    .link-toggle.expanded .bi {
      transform: rotate(180deg);
    }

    #lastEinsatzCard {
      position: relative;
      overflow: hidden;
      background-size: cover;
      background-position: center;
    }

    #lastEinsatzCard .card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.55);
      /* Abdunkelung */
      z-index: 1;
    }

    #lastEinsatzCard .card-body {
      position: relative;
      z-index: 2;
      /* Text über Overlay */
    }

    /* Einsätze */
    .einsatz-tabelle {
      background-color: #121212 !important;
      color: #f1f1f1 !important;
      border-collapse: collapse;
      box-shadow: 0 0 15px rgba(255, 255, 0, 0.1);
      width: 100%;
    }


    .einsatz-tabelle thead {
      background-color: #1a1a1a;
      color: #f6ff00;
      text-transform: uppercase;
      font-size: 0.85rem;
      border-bottom: 2px solid #f6ff00;
    }

    .einsatz-tabelle tbody tr:nth-child(even) {
      background-color: #1e1e1e;
    }

    .einsatz-tabelle tbody tr:nth-child(odd) {
      background-color: #2a2a2a;
    }


    .einsatz-tabelle .badge {
      font-size: 0.9rem;
      margin-bottom: 0.3rem;
    }

    .einsatz-tabelle i.bi {
      vertical-align: middle;
    }

    .text-pink {
      color: #ff66b2;
    }

    .einsatz-tabelle th,
    .einsatz-tabelle td {
      padding: 1rem;
      border: none;
      vertical-align: middle;
    }

    .einsatz-row {
      border-left: 6px solid transparent;
      transition: background 0.3s ease, transform 0.3s ease;
    }

    .einsatz-row:hover {
      background-color: #1f1f1f;
      transform: scale(1.01);
    }

    .einsatz-row.brand {
      border-left-color: #ff4444;
    }

    .einsatz-row.unwetter {
      border-left-color: #00c3ff;
    }

    .einsatz-row.verkehr {
      border-left-color: #ffc107;
    }

    .einsatz-art {
      font-weight: bold;
      display: inline-block;
      margin-left: 0.3rem;
      color: #f6ff00;
    }

    .bi-fire,
    .bi-tree-fill,
    .bi-heart-pulse-fill,
    .bi-car-front-fill {
      font-size: 1.4rem;
      margin-right: 0.4rem;
    }

    .text-pink {
      color: #ff66b2;
    }

    @media (max-width: 768px) {

      .einsatz-tabelle td,
      .einsatz-tabelle th {
        padding: 0.6rem;
        font-size: 0.85rem;
      }

      .einsatz-art {
        display: block;
        margin-top: 0.3rem;
      }
    }

    .einsatz-tabelle tbody tr {
      opacity: 0;
      transform: translateY(10px);
      animation: fadeInUp 0.6s ease forwards;
      animation-delay: calc(0.05s * var(--i));
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    #warnstufe.stufe-1 {
      color: #28a745;
    }

    /* grün */
    #warnstufe.stufe-2 {
      color: #ffc107;
    }

    /* gelb */
    #warnstufe.stufe-3 {
      color: #fd7e14;
    }

    /* orange */
    #warnstufe.stufe-4 {
      color: #dc3545;
    }

    /* rot */
    #warnstufe.stufe-5 {
      color: #b30000;
      font-weight: bold;
    }

    .footer-logo {
      height: 36px;
      transition: transform 0.6s ease;
    }

    .footer-logo:hover {
      transform: rotate(360deg);
    }

    footer {
      border-top: 4px solid #f6ff00;
      /* Gelber Rand */
    }

    .text-accent {
      color: var(--accent-yellow) !important;
    }

    .border-accent {
      border-color: var(--accent-yellow) !important;
    }

    .termin-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: #1e1e1e;
      border-left: 4px solid #ffc107;
      border-radius: 0.5rem;
      padding: 0.75rem 1rem;
      margin-bottom: 0.5rem;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .termin-card:hover {
      background-color: #2a2a2a;
      transform: translateY(-2px);
    }

    .termin-datum-uhrzeit {
      font-size: 1.2rem;
      font-weight: bold;
      color: #f6ff00;
      white-space: nowrap;
      min-width: 170px;
    }

    .termin-titel {
      flex: 1;
      font-size: 1.1rem;
      color: #f8f9fa;
      margin-left: 1rem;
      display: flex;
      align-items: center;
    }

    .termin-ort {
      flex: 1;
      font-size: 1rem;
      font-style: italic;
      color: #f8f9fa;
      margin-left: 1rem;
      display: flex;
      align-items: center;
      margin-left: 20px;
    }

    .termin-badge {
      font-size: 0.8rem;
      white-space: nowrap;
    }

    /* Animation */
    .termin-icon {
      display: inline-block;
      transition: transform 0.3s ease;
      margin-right: 0.5rem;
    }

    /* Icon animiert sich, wenn über übergeordnete .termin-card gehovert wird */
    .termin-card:hover .termin-icon {
      transform: rotate(15deg) scale(1.2);
    }

    /* MOBILE: stapeln */
    @media (max-width: 768px) {
      .termin-card {
        flex-direction: column;
        align-items: flex-start;
      }

      .termin-datum-uhrzeit {
        margin-right: 0;
        margin-bottom: 0.5rem;
      }

      .termin-titel {
        margin-bottom: 0.5rem;
      }

      .termin-ort {
        margin-bottom: 0.5rem;
      }

      .termin-badge {
        margin-left: 0;
        align-self: flex-start;
      }
    }

    .teamfoto-wrapper {
      max-width: 90%;
      transition: transform 0.4s ease;
    }

    .teamfoto-wrapper:hover {
      transform: scale(1.02);
    }

    .teamfoto {
      transition: transform 0.4s ease;
    }

    .teamfoto:hover {
      transform: scale(1.04);
    }

    .team-img {
      max-width: 90%;
      border-radius: 12px;
      margin: 2rem 0;
      transition: transform 0.3s ease;
    }

    .team-img:hover {
      transform: scale(1.03);
    }

    .btn-yellow {
      background-color: #ffc107;
      color: #000;
    }

    .icon-large {
      font-size: 3rem;
    }

    .gallery-item {
      border-radius: 12px;
      overflow: hidden;
      /* verhindert, dass Hover über den Rand geht */
      position: relative;
    }

    .gallery-item img {
      width: 100%;
      height: 220px;
      /* einheitliche Höhe */
      object-fit: cover;
      /* Bild bleibt proportional */
      transition: transform 0.3s ease, filter 0.3s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.05);
      filter: brightness(0.9);
    }

    .image-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 6px 10px;
      font-size: 0.9rem;
      text-align: center;
      color: #fff;
      background: rgba(0, 0, 0, 0.6);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .gallery-item:hover .image-caption {
      opacity: 1;
    }

    .gallery-preview img {
      max-width: 100%;
      height: 400px;
      border-radius: 1rem;
      transition: transform 0.3s ease;
    }

    .gallery-preview img:hover {
      transform: scale(1.05);
    }

    .gallery img {
      height: 180px;
      object-fit: cover;
      border: 2px solid #ffc107;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .gallery img:hover {
      transform: scale(1.05) rotate(-0.5deg);
      box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
    }

    .galerie-card img {
      object-fit: cover;
      height: 320px;
      width: 100%;
      border-radius: 0.5rem;
      transition: transform 0.3s ease;
    }

    .galerie-card:hover img {
      transform: rotate(-1deg) scale(1.03);
    }

    .gallery .caption {
      font-size: 0.9rem;
      color: #ccc;
      margin-top: 0.5rem;
      font-style: italic;
    }


    .image-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.6);
      color: #ffc107;
      text-align: center;
      padding: 0.4rem;
      font-size: 0.85rem;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .gallery-item:hover .image-caption {
      opacity: 1;
    }

    .bg-jugend {
      background: url('../img/jugendfeuerwehr.jpg') center/cover no-repeat;
      position: relative;
      padding: 4rem 1rem;
    }

    .bg-jugend::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      /* dunkelt das Bild leicht ab */
    }

    .bg-jugend>.container {
      position: relative;
      z-index: 2;
    }

    .bg-warning.text-dark {
      font-size: 0.875rem;
      font-weight: 600;
    }

    .carousel-item {
      opacity: 0;
      transform: translateX(50px);
      transition: all 0.6s ease-in-out;
    }

    .carousel-item.active {
      opacity: 1;
      transform: translateX(0);
    }

    .galerie-img {
      border: 3px solid #f6ff00;
      border-radius: 12px;
      height: 350px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .galerie-card:hover .galerie-img {
      transform: rotate(-1.5deg) scale(1.03);
      box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
    }

    #fotos .card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-title {
      font-family: 'Edo SZ', sans-serif;
      color: #f6ff00;
      text-shadow: 1px 1px 0 #000;
    }

    .zoom-on-hover img {
      transition: transform 0.3s ease;
    }

    .zoom-on-hover:hover img {
      transform: scale(1.05) rotate(1deg);
    }

    .hover-shadow:hover {
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .graffiti-title:hover {
      text-shadow: 0 0 10px #f6ff00;
      transition: text-shadow 0.3s ease;
    }

    /* Grundlegende Styling für den gesamten Bereich */
    .section-foerderverein-erfolge {
      max-width: 100%;
      /* Oder eine Breite, die zu deinem Layout passt */
      margin: 40px auto;
      /* Zentriert den Bereich und gibt etwas Abstand */
      padding: 20px;
    }



    /* Styling für das Akkordeon selbst */
    .accordion {
      border: 1px solid #ddd;
      border-radius: 5px;
      margin-bottom: 20px;
      overflow: hidden;
      /* Wichtig, um die Ränder der Inhalte zu kontrollieren */
    }

    /* Styling für die Überschriften/Buttons */
    .accordion-header {
      background-color: #eee;
      color: #333;
      cursor: pointer;
      padding: 15px 20px;
      width: 100%;
      border: none;
      text-align: left;
      outline: none;
      font-size: 1.1em;
      transition: background-color 0.3s ease;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #ddd;
      /* Trennlinie zwischen den Headern */
    }

    .accordion-header:hover {
      background-color: #e0e0e0;
    }

    /* Letzter Header ohne untere Linie */
    .accordion-header:last-of-type {
      border-bottom: none;
    }

    /* Symbol für den Auf-/Zuklapp-Zustand */
    .accordion-header .icon {
      font-size: 1.5em;
      font-weight: bold;
      transition: transform 0.3s ease;
    }

    /* Wenn das Akkordeon geöffnet ist (mithilfe von JavaScript gesetzt) */
    .accordion-header[aria-expanded="true"] .icon {
      transform: rotate(45deg);
      /* Ändert das '+' in ein 'X' oder '45 Grad gedrehtes Plus' */
    }

    /* Styling für den Inhalt der Akkordeon-Elemente */
    .accordion-content {
      padding: 0 20px;
      background-color: rgb(15, 15, 15);
      max-height: 0;
      /* Standardmäßig ausgeblendet */
      overflow: hidden;
      transition: max-height 0.3s ease-out, padding 0.3s ease-out;
      /* Weiche Übergänge */
    }

    .accordion-content ul {
      list-style: none;
      /* Entfernt die Standard-Aufzählungspunkte */
      padding: 0;
      margin: 15px 0;
      /* Abstand nach oben und unten */
    }

    .accordion-content ul li {
      padding: 8px 0;
      border-bottom: 1px dotted #fdfcfc;
      /* Leichte Trennlinie zwischen Listenelementen */
    }

    .accordion-content ul li:last-child {
      border-bottom: none;
      /* Letztes Listenelement ohne Trennlinie */
    }

    /* Zustand, wenn der Inhalt sichtbar ist */
    .accordion-content.active {
      max-height: 500px;
      /* Großer Wert, damit der Inhalt passt. Pass ihn an, wenn der Inhalt länger ist */
      padding: 15px 20px;
      /* Fügt den Padding wieder hinzu, wenn sichtbar */
    }

    /* Styling für den zusätzlichen Text */
    .section-foerderverein-erfolge p,
    .section-foerderverein-erfolge ul {
      margin-top: 25px;
      line-height: 1.6;
      color: #e1e1e1;
    }

    .section-foerderverein-erfolge ul {
      list-style: disc inside;
      /* Standard-Punkte für diese Liste */
    }

    .timeline {
      position: relative;
      padding: 2rem 0;
    }

    .timeline::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 4px;
      background: #ffc107;
      transform: translateX(-50%);
    }

    .timeline-item {
      position: relative;
      width: 50%;
      padding: 1.5rem;
    }

    .timeline-item.left {
      left: 0;
      text-align: right;
    }

    .timeline-item.right {
      left: 50%;
      text-align: left;
    }

    .timeline-item::before {
      content: "";
      position: absolute;
      top: 1.5rem;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #ffc107;
      border: 3px solid #111;
      z-index: 2;
    }

    .timeline-item.left::before {
      right: -10px;
    }

    .timeline-item.right::before {
      left: -10px;
    }

    .card-img-preview {
      width: 100%;
      max-height: 280px;
      /* Vorschau-Höhe */
      object-fit: cover;
      /* schneidet Bild */
      object-position: top;
      /* zeigt oberen Bereich */
      display: block;
    }

    /* Vollansicht: Bild darf höher werden */
    .card-img-full {
      width: 100%;
      max-height: 500px;
      /* oder 'none', wenn es beliebig groß werden soll */
      object-fit: contain;
      /* ganzes Bild zeigen */
    }