body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    font-size: 18px;
    margin: 0px;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center center;
}

p {
    margin: 0px;
    padding: 0px;
}

/* Styles for the landing page */
.landing-page {
    text-align: left;
    padding: 50px 20px; /* Außenabstand der gesamten Landing-Page */
}

/* Neue Hilfsklasse für Inhalte, die explizit gepolstert werden sollen */
.padded-content {
    padding: 20px 25px;
    box-sizing: border-box;
    width: 100%;
    display: block;
}

/* Spezifische Regel für h1 und h2 in der Landing-Page */
.landing-page h1,
.landing-page h2 {
    padding: 20px 25px;
    box-sizing: border-box;
}

/* Überschriften mit Rahmen */
.landing-page h1 {
    border-top: rgb(181, 6, 76) solid 1px;
    border-bottom: rgb(181, 6, 76) solid 1px;
}

.landing-page h2 {
    border-top: rgb(189, 189, 189) solid 1px;
    border-bottom: rgb(189, 189, 189) solid 1px;
}

/* Styles for StreamField content */
.stream-content {
    margin: auto;
    border-width: 0px;
    border-style: solid;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center center;
    border-radius: 0px;
    max-width: 1280px;
    width: 100%;
}

.stream-content h2 {
    margin-bottom: 50px;
}

.stream-content p {
    margin-bottom: 20px;
}

.stream-content img {
    margin: 20px 0;
    max-width: 100%;
    height: auto;
}

.cta-button, .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.cta-button:hover, .btn:hover {
    background-color: #0056b3;
}

blockquote {
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.raw-html {
    text-align: left;
}

.embed {
    margin: 20px 0;
    text-align: center;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.table th {
    background-color: #f2f2f2;
}

.two-columns, .three-columns {
    display: flex;
}

.two-columns {
    gap: 20px;
}

.three-columns {
    gap: 20px;
}

.two-columns .left-column, .two-columns .right-column,
.three-columns .left-column, .three-columns .middle-column, .three-columns .right-column {
    flex: 1;
}

@media (max-width: 768px) {
    .two-columns, .three-columns {
        flex-direction: column;
    }
}

/* Basic Styles */
h1 {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 300;
    line-height: 1.4;
    word-wrap: break-word;
}

h2 {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
    font-size: 1.5555em;
    font-weight: 300;
    line-height: 1.4;
}

h3 {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.4;
}

h4 {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.ul {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    list-style-type: disc;
    padding-left: 20px;
}

.li {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

/* MISC */
.intro-block p {
    /* Falls das Intro-Bereich Padding benötigt, kannst du es explizit hier definieren */
    padding: 0px 25px;
    font-size: 1.75em;
}

/* DOWNLOAD BUTTON */
.document-download {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.document-download:hover {
    background-color: #0056b3;
}

/* AKKORDEON */
.collapsible {
  background-color: #e3e3e3;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: solid;
  text-align: left;
  outline: none;
  font-size: 18px;
}

.active, .collapsible:hover {
  background-color: #c3c3c3;
}

.collapsible:after {
  content: '\002B';
  color: #b5064c;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
}

/* FLIP CARD */
.flip-card4 {
    -webkit-perspective: 1000;
            perspective: 1000;
    border: 0;
    background: transparent;
}
  
.flip-card4:hover .flip-card-inner4,
.flip-card4.hover .flip-card-inner4 {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
}
  
.flip-card4 {
    background-color: transparent;
    width: 401px;
    height: 294px;
    perspective: 1000px;
}
  
.flip-card-inner-front4 {
    width: 390px;
    height: 294px;
    border-radius: 10px;
}
  
.flip-card-inner-back4 {
    width: 370px;
    height: 265px;
    border-radius: 10px;
}
  
.flip-card-inner4 {
    transition: 0.5s;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    position: relative;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
}
  
.flip-card-inner-front4,
.flip-card-inner-back4 {
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
  
.flip-card-inner-front4 {
    background: url(https://info.dgq.de/cdnr/201/acton/attachment/23495/f-5d6747a0-312a-4978-ab6c-50e0d3d992f7/1/-/-/-/-/Regionalkreise.jpg) 0 0 no-repeat;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.flip-card-inner-front4 span {
    width: 100%;
    text-align: center;
    background: rgba(254, 254, 254, 0.8);
    padding: 0.25rem 0;
    font-size: 1.25rem;
}
  
.flip-card-inner-back4 {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    background: #d3d3d3;
    padding: 1rem;
}
  
.flip-card-inner-back-title4 {
    font-weight: medium;
    text-align: left;
}
  
.flip-card-inner-back-text4 {
    line-height: 1.3;
}

/* HERO IMAGE */
.hero-image {
    width: calc(100% + 40px);
    margin-left: -20px;
}
.hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* HEADER IMAGE FIXED */
.header-image-fixed {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}
.header-image-fixed img {
    display: block;
    width: 100%;
    height: auto;
}

/* TEASER BLOCK */
.teaser-block {
    display: flex;
    flex-wrap: wrap;
    /* Statt center nun flex-start, damit Oberkanten ausgerichtet sind */
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background-color: #f1f1f1;
    width: 100%;
    box-sizing: border-box;
}

.teaser-block__image {
    flex: 0 0 auto;
    max-width: 200px;
    width: 100%;
    box-sizing: border-box;
}

.teaser-block__image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0; /* Überschreibt z.B. "margin: 20px 0" aus .stream-content img */
}

.teaser-block__content {
    flex: 1;
    /* Falls die Überschrift standardmäßig oben einen Rand hat, setzen wir ihn auf 0 */
}

.teaser-block__content h3 {
    margin-top: 0;
}

.teaser-block__link {
    color: #b5064c;
    text-decoration: none;
    font-weight: bold;
}

.teaser-block__link:hover {
    text-decoration: underline;
}

/* Auf Mobilgeräten wird das Layout gestapelt */
@media (max-width: 768px) {
    .teaser-block {
        flex-direction: column;
        align-items: flex-start; /* optional, damit es konsistent bleibt */
    }
    .teaser-block__image,
    .teaser-block__content {
        width: 100%;
        max-width: 100%;
    }
}

/* Dreispaltiger Text (grau) */
.three-col-text-block {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.three-col-text-block__col {
    flex: 1;
    background-color: #bdbdbd; /* Grauer Hintergrund */
    padding: 20px;
    box-sizing: border-box;
}

/* Listen anpassen: Pfeile statt normaler Bullets */
.three-col-text-block__col ul {
    list-style-type: none;   /* Standard-Bullet ausschalten */
    margin: 0;
    padding-left: 0;         /* Keine Einrückung */
}

/* Pseudo-Element für den Pfeil */
.three-col-text-block__col ul li {
    position: relative;
    padding-left: 28px;      /* Platz für den Pfeil */
    margin-bottom: 10px;     /* Kleiner Abstand zwischen den Listeneinträgen */
}

.three-col-text-block__col a,
.three-col-text-block__col a {
  text-decoration: none;
  color: #b5064c;
}
.three-col-text-block__col a:hover,
.three-col-text-block__col a:hover {
  text-decoration: underline;
}

/* Du kannst statt '→' auch '»' oder ein Icon (via Font) verwenden */
.three-col-text-block__col ul li::before {
    content: "→";
    color: #b5064c;          /* DGQ-Farbe z. B. */
    font-weight: bold;
    position: absolute;
    left: 0; 
}

/* Responsive Breakpoint */
@media (max-width: 768px) {
    .three-col-text-block {
        flex-direction: column;
    }
    .three-col-text-block__col {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* 2-Spalten (Überschrift + Pfeil-Liste) */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    /* Nur horizontaler Abstand zwischen den Spalten */
    column-gap: 20px;
    /* Vertikaler Abstand = 0 */
    row-gap: 0;
    grid-template-areas:
      "top-left top-right"
      "bottom-left bottom-right";
    margin: 20px 0; /* Optionaler Außenabstand zur Umgebung */
    box-sizing: border-box;
  }
  
  /* Zuweisung der Grid-Bereiche */
  .two-col-grid__top-left {
    grid-area: top-left;
    background-color: #e3e3e3;
    border-top: 2px solid #b5064c;
    border-bottom: 2px solid #b5064c;
    padding: 15px;
  }
  .two-col-grid__top-right {
    grid-area: top-right;
    background-color: #e3e3e3;
    border-top: 2px solid #b5064c;
    border-bottom: 2px solid #b5064c;
    padding: 15px;
  }
  .two-col-grid__bottom-left {
    grid-area: bottom-left;
    background-color: #bdbdbd;
    padding: 15px;
  }
  .two-col-grid__bottom-right {
    grid-area: bottom-right;
    background-color: #bdbdbd;
    padding: 15px;
  }
  
  /* Überschriften-Stil */
  .two-col-grid__top-left h4,
  .two-col-grid__top-right h4 {
    margin: 0; 
    font-size: 1.1em; 
    font-weight: 200;
    line-height: 1.4;
    color: #b5064c;
  }
  .two-col-grid__top-left a,
  .two-col-grid__top-right a {
    text-decoration: none;
    color: #b5064c;
  }
  .two-col-grid__top-left a:hover,
  .two-col-grid__top-right a:hover {
    text-decoration: underline;
  }
  
  /* Pfeile in den unteren Listen */
  .two-col-grid__bottom-left ul,
  .two-col-grid__bottom-right ul {
    list-style-type: none; 
    margin: 0;
    padding-left: 0;
  }
  .two-col-grid__bottom-left li,
  .two-col-grid__bottom-right li {
    position: relative;
    padding-left: 28px; 
    margin-bottom: 10px;
  }
  .two-col-grid__bottom-left li::before,
  .two-col-grid__bottom-right li::before {
    content: "→";
    color: #b5064c;
    font-weight: bold;
    position: absolute;
    left: 0;
  }
  
  /* Mobile: 1 Spalte, 4 Zeilen
     => linke Überschrift + Text, dann rechte Überschrift + Text
  */
  @media (max-width: 768px) {
    .two-col-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto;
      column-gap: 0;
      row-gap: 0;
      grid-template-areas:
        "top-left"
        "bottom-left"
        "top-right"
        "bottom-right";
    }
  }


/* BLOCK 3xn */

/* Container für den gesamten Block */
.block-3xn-container {
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f7f7f7;
    color: #4a4a4a;
    font-family: Arial, sans-serif;
  }
  
  /* Hauptüberschrift (H2) */
  .block-3xn-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
  }
  
  /* Zeile: Standardmäßig 3 Spalten */
  .block-3xn-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
  }
  
  /* Bei kleineren Bildschirmen: 1 Spalte */
  @media (max-width: 768px) {
    .block-3xn-row {
      grid-template-columns: 1fr;
    }
  }
  
  /* Spalte */
  .block-3xn-column {
    padding: 16px;
    box-sizing: border-box;
  }
  
  /* Spaltenüberschriften (H3) */
  .block-3xn-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  /* RichText-Inhalt */
  .block-3xn-content {
    line-height: 1.6;
  }


/* DGQ-Netzwerkveranstaltungen */
.netzwerk-header {
    background-color: rgba(181, 6, 76, 0.8);
    padding: 15px 10px 15px 20px;
    border-top: 2px solid #bdbdbd;
}

.netzwerk-header h3 {
    color: white;
    margin: 0;
    font-size: 1.2em;
}

.netzwerk-container {
    background-color: #bdbdbd;
    padding: 10px 20px;
}

.netzwerk-event {
    margin-bottom: 1.5em;
}

.event-title {
    font-weight: bold;
    margin-bottom: 5px !important;
}

.event-description {
    margin-bottom: 5px !important;
}

.event-link a {
    color: #b5064c;
    font-weight: bold;
    text-decoration: none;
}

.event-link a:hover {
    text-decoration: underline;
}

.netzwerk-additional {
    margin-top: 2em;
}

/* DGQ-Mitgliedschaft */
  /* Grundlegende Link-Stile */
a {
    color: #b51551;
    text-decoration: none;
    }
a:hover {
    font-weight: bold;
    }

    /* Hintergrundfarbe für den Abschnitt */
.background {
    background-color: #b51551;
    padding-top: 20px;
    padding-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    /* Container für das zweispaltige Layout */
.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    }

    /* Linke Spalte: Text */
.text {
    max-width: 550px;
    color: white;
    }

    /* h2-Stil */
.h2 {
    margin-bottom: 30px;
    font-size: 1.7em;
    font-weight: 300;
    line-height: 1.5;
    color: white;
    text-align: left;
    }

    /* h1-Stil */
    .h1 {
      margin-bottom: 30px;
      font-size: 2.9em;
      font-weight: 400;
      line-height: 1.5;
      text-align: left;
      color: white;
    }

    /* Rechte Spalte: Bild */
    .image img {
      width: 100%;
      max-width: 600px;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    /* -----------------------------
       Mobile Anpassungen (<768px)
       ----------------------------- */
    @media (max-width: 600px) {
      .container {
        flex-direction: column;
        text-align: center;
        padding: 0 16px;
      }

      .text {
        width: 100%;
        max-width: none;
        text-align: center;
        padding: 0;
      }

      .h2 {
        font-size: 1.2rem;    /* verkleinert für mobile */
        margin-bottom: 1rem;
        line-height: 1.4;
      }

      .h1 {
        font-size: 2.0rem;    /* verkleinert für mobile */
        margin-bottom: 0.1rem;
        line-height: 1.3;
      }

      .image {
        width: 100%;
        margin-top: 10px;
      }

      .image img {
        max-width: 100%;
        height: auto;
      }
    }

    div.intro, div.intro2 {
  font-size: 1.9em;
  font-weight: 300;
  line-height: 1.4;
  padding-left: 20px;
  padding-right: 20px;
}

div.intro {
  color: #000000;
  margin-bottom: 75px;
}

div.intro2 {
  color: #b51551;
}

/* Mobile Variante */
@media (max-width: 600px) {
  div.intro, div.intro2 {
    font-size: 1.3em;      /* Etwas kleiner auf dem Handy */
    padding-left: 10px;    /* Weniger Rand */
    padding-right: 10px;
    line-height: 1.3;      /* Weniger Zeilenhöhe nötig */
  }
  div.intro {
    margin-bottom: 40px;   /* Weniger Abstand */
  }
}

section {
  padding: 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.feature-section-left-image {
  flex-direction: row;
}

.feature-section-right-image {
  flex-direction: row-reverse;
}

.feature-text, .feature-image {
  flex: 1;
  min-width: 300px;
}

.feature-text .h2 {
  font-size: 1.9rem;
  font-weight: 400;
  margin-top: 5px;
  margin-bottom: 20px;
  color: #111;
}

.feature-list .item {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000;
}

.feature-list .item strong {
  font-size: 1.3rem;
  color: #b51551;
  margin-bottom: 5px;
}

.feature-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* CTA */
.cta {
  margin-top: 40px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background-color: #b51551;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

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

.cta-button .icon {
  margin-right: 10px;
  fill: currentColor;
}

/* Responsives Verhalten */
@media (max-width: 768px) {
  .feature-section-left-image,
  .feature-section-right-image {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta {
    text-align: center;
  }

  .cta-button {
    justify-content: center;
  }
}

 /* ------------------------------------
       Grundlayout & Akkordeon-Styling
       ------------------------------------ */
    .accordion-wrapper2 {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .accordion-toggle2 {
      width: 100%;
      padding: 18px 20px;
      font-size: 1.7rem;
      background-color: #eaeaea;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 300;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background-color 0.3s ease;
    }

    .accordion-toggle2:hover {
      background-color: #dcdcdc;
    }

    .accordion-icon2 {
      transition: transform 0.3s ease;
    }

    .accordion-toggle2[aria-expanded="true"] .accordion-icon2 {
      transform: rotate(180deg);
    }

    .accordion-content2 {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .accordion-content2.open {
      padding-top: 20px;
      max-height: 2500px; /* groß genug für den Inhalt */
    }

    /* ------------------------------------
       Mitglieds-Sektion & Tabelle
       ------------------------------------ */
    .membership-section {
      padding: 20px 20px;
      background-color: #f9f9f9;
      text-align: center;
    }

    .membership-box {
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      max-width: 1200px;
      margin: 0 auto;
    }

    .membership-box table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }

    .membership-box th,
    .membership-box td {
      padding: 12px 8px;
      font-size: 1rem;
      vertical-align: top;
      word-wrap: break-word;
    }

    .membership-box th {
      font-weight: 600;
      text-align: center;
    }

    .membership-box td {
      text-align: center;
    }

    .membership-box td:first-child {
      text-align: left;
    }

    /* Hervorhebung Überschriften in Tabelle */
    .membership-box strong span {
      color: #b51551;
    }

     /* --- Hinweistext erstmal ausblenden --- */
    .table-mobile-hint {
      display: none;
    }

    /* --- Responsive: Akkordeon & Tabelle ausblenden, Hinweis einblenden --- */
    @media (max-width: 600px) {
      .accordion-wrapper2 {
        display: none !important;
      }
      .table-mobile-hint {
        display: block;
        color: #b51551;
        background: #f9f9f9;
        margin: 32px auto 24px auto;
        padding: 18px 12px;
        border-radius: 10px;
        max-width: 500px;
        font-size: 1.1em;
        text-align: center;
        box-shadow: 0 2px 8px rgba(181,6,76,0.08);
      }
    }

    /* ------------------------------------
       Grundlayout & Akkordeon-Styling
       ------------------------------------ */
    .accordion-wrapper {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .accordion-toggle {
      width: 100%;
      padding: 18px 20px;
      font-size: 1.7rem;
      background-color: #eaeaea;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 300;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background-color 0.3s ease;
    }

    .accordion-toggle:hover {
      background-color: #dcdcdc;
    }

    .accordion-icon {
      transition: transform 0.3s ease;
    }

    .accordion-toggle[aria-expanded="true"] .accordion-icon {
      transform: rotate(180deg);
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .accordion-content.open {
      padding-top: 20px;
      max-height: 2000px; /* ausreichend hoch für den Inhalt */
    }

    /* ------------------------------------
       Mitgliedsbeiträge-Section
       ------------------------------------ */
    .membership-section {
      padding: 20px 20px;
      background-color: #f9f9f9;
      text-align: center;
    }

    .membership-box {
      display: flex;
      flex-direction: row;
      justify-content: center;
      gap: 40px;
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      max-width: 1200px;
      margin: 0 auto;
      flex-wrap: wrap;
    }

    .column {
      flex: 1;
      min-width: 300px;
      text-align: left;
    }

    .column h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 15px;
    }

    .column p {
      margin-bottom: 20px;
      line-height: 1.6;
    }

    .column ul {
      padding-left: 20px;
      margin: 0;
    }

    .column ul li {
      margin-bottom: 10px;
    }

    /* ------------------------------------
       Responsive Anpassungen (<768px)
       ------------------------------------ */
    @media (max-width: 768px) {
      /* Akkordeon: kompakter */
      .accordion-toggle {
        font-size: 1.2rem;
        padding: 10px 10px;
      }
      .accordion-icon {
        width: 20px;
        height: 20px;
      }

      /* Sektion: weniger Padding */
      .membership-section {
        padding: 10px 10px;
      }

      /* Box: Spalten untereinander */
      .membership-box {
        flex-direction: column;
        gap: 20px;
        padding: 10px 10px;
      }

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

      .column h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
      }

      .column p,
      .column ul li {
        font-size: 0.9rem;
        line-height: 1.4;
      }

      .column ul {
        display: inline-block;
        text-align: left;
      }
    }

    .membership-section {
  padding: 20px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

div.section-title {
  font-size: 2rem;
  display: block;
  width: 100%;
  text-align: center;
}

* {box-sizing: border-box}
div.body {font-family:'Roboto', sans-serif; font-size: 18px; line-height: 1.5; margin:0}

/* Slideshow container */
.slideshow-container {
  position: relative;
  background: white;
}

/* Slides */
.mySlides {
  display: none;
  padding: 50px;
  text-align: center;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* zentriert an der Mitte */
  padding: 16px;
  color: #b51551;
  font-weight: bold;
  font-size: 20px;
  border-radius: 3px;
  user-select: none;
  z-index: 10;
}

/* Pfeile korrekt seitlich anordnen */
.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color: white;
}

/* The dot/bullet/indicator container */
.dot-container {
    text-align: center;
    padding: 20px;
    background: #ddd;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.active, .dot:hover {
  background-color: #717171;
}

/* Add an italic font style to all quotes */
q {font-style: italic; font-size: 18px; line-height: 1.5;}

/* Add a red color to the author */
.author {color: #b51551;}

.person-card2 {
  max-width: 800px;
  margin: 2rem auto;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-color: #fff;
  overflow: hidden;
}
.card-container2 {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* Bild bleibt so hoch wie nötig, Text läuft daneben */
}
.card-image2-wrapper {
  flex: 0 0 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 0 2rem 2rem;
  background: #fff;
}
.card-image2 {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 400px; /* optional: Bild nicht höher als 400px */
  object-fit: contain; /* Bild immer komplett anzeigen */
  border-radius: 4px;
  box-shadow: none;
  background: #fff;
}
.card-text {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.person-name {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.person-description {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.card-text a {
  color: #b51551;
  text-decoration: none;
}
.card-text a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .card-container2 {
    flex-direction: column;
    align-items: stretch;
  }
  .card-image2-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-height: 320px;
    min-height: 180px;
    padding: 1.2rem 1.2rem 0 1.2rem;
  }
  .card-image2 {
    width: 100%;
    height: auto;
    max-height: 320px;
    min-height: 180px;
    object-fit: contain;
  }
  .card-text {
    padding: 1.2rem;
  }
}
