/* ANFANG CLUSTER ANFANG CLUSTER ANFANG CLUSTER ANFANG CLUSTER */

/* Banner Fuchsia */

.cluster-banner-fuchsia {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  background-color: #b51558;
  border-radius: 8px;
  padding: 2rem 2rem;
  color: #ffffff;
  box-sizing: border-box;
}

.cluster-banner-fuchsia__left {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.3;
  flex: 1;
}

.cluster-banner-fuchsia__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: 300;
  font-size: 2.2rem;
  line-height: 1.4;
  margin-left: 2rem;
}

.cluster-banner-fuchsia__date {
  margin: 0;
}

.cluster-banner-fuchsia__button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  background-color: #ffffff;
  color: #b51558;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.cluster-banner-fuchsia__button:hover {
  background-color: #f2f2f7;
}

/* Mobile: rechte Seite unter die linke schieben */

@media (max-width: 767px) {
  .cluster-banner-fuchsia {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .cluster-banner-fuchsia__right {
    align-items: center;
    margin: 1rem 0 0;
  }
}

/* Desktop: 50/50-Spalten und Mindesthöhe */

@media (min-width: 768px) {
  .cluster-banner-fuchsia {
    /* hier kannst du die 200px noch anpassen, je nach gewünschter Banner-Höhe */
    min-height: 150px;
  }

  /* Beide Bereiche bekommen exakt 50% Breite */

  .cluster-banner-fuchsia__left,
  .cluster-banner-fuchsia__right {
    flex: 0 0 50%;
  }

  /* Entferne den linken Margin nur in der Desktop-Ansicht */

  .cluster-banner-fuchsia__right {
    margin-left: 0;
  }
}

/* WEITERBILDUNG DER DGQ */

/* ---- Basis für das Modul ---- */

.dgq-weiterbildung {
  display: flex;
  flex-wrap: nowrap;
  /* keine Umbrüche auf Desktop */
  background: #b5064c;
  color: #fff;
  border-radius: 8px;
  padding: 2rem;
  gap: 2rem;
  padding-bottom: 75px;
}

/* linke Spalte: 50% Breite */

.dgq-weiterbildung .weiterbildung-left {
  flex: 0 0 50%;
  font-size: 2.2rem;
  line-height: 2em;
  font-weight: 300;
}

/* rechte Spalte: 50% Breite */

.dgq-weiterbildung .weiterbildung-right {
  flex: 0 0 50%;
  padding-right: 2rem;
  font-size: 2.2rem;
  line-height: 2.5em;
}

/* ---- Inhalt linke Spalte ---- */

.dgq-weiterbildung h2 {
  padding-top: 1.rem;
  margin-bottom: 30px;
  font-size: 26px;
  color: #fff;
}

.dgq-weiterbildung p {
  line-height: 1.5;
}

/* ---- Link-Liste rechts ---- */

.weiterbildung-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.weiterbildung-links li {
  border-bottom: 2px solid rgba(255,255,255,0.5);
}

.weiterbildung-links li:last-child {
  border-bottom: none;
}

.weiterbildung-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  color: #fff;
  text-decoration: none;
  transition: color .2s;
}

.weiterbildung-links a:hover {
  color: #000;
}

.arrow {
  margin-left: 1rem;
  font-size: 1.2em;
  line-height: 1;
}

/* ---- Responsiv ---- */

@media (max-width: 768px) {
  .dgq-weiterbildung {
    flex-wrap: wrap;
    /* erlaubt Umbruch auf Mobil */
  }

  .dgq-weiterbildung .weiterbildung-left,
  .dgq-weiterbildung .weiterbildung-right {
    flex: 0 0 100%;
    /* je 100% Breite */
  }

  .dgq-weiterbildung {
    gap: 1.5rem;
  }
}

/* KOSTENFREIE DGQ-VERANSTALTUNGEN */

/* 1) Container */

.cluster-kostenfreie {
  background: #f2f2f7;
  border-radius: 8px;
  padding: 1.8rem;
}

.cluster-kostenfreie h2 {
  font-size: 26px;
}

/* 2) Liste einspaltig */

.cluster-kostenfreie .cluster-events {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 3) Einzelnes Event per Grid: Zeit volle Breite, dann Titel + Button nebeneinander */

.cluster-kostenfreie .cluster-events li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-column-gap: 1rem;
  padding: 2.2rem 0 2.5rem;
  border-bottom: 4px solid #fff !important;
}

.cluster-kostenfreie .cluster-events li:last-child {
  border-bottom: none !important;
}

/* 4) Datum & Ort auf eigene Zeile */

.cluster-kostenfreie .cluster-events li time {
  grid-column: 1 / -1;
  /* nimmt beide Spalten */
  font-size: 1.6rem;
  color: #333;
  font-weight: 300;
  margin: 0;
}

/* 5) Titel in die erste Spalte der 2. Zeile */

.cluster-kostenfreie .cluster-events li h3 {
  grid-column: 1 / 2;
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

/* 6) Button in die zweite Spalte der 2. Zeile */

.cluster-kostenfreie .cluster-events li p {
  grid-column: 2 / 3;
  margin: 0;
  display: flex;
  /* damit der Link vertikal zentriert */
  align-items: center;
}

/* 7) Button selbst */

.cluster-kostenfreie .cluster-events a.btn-dgq {
  background: #b51551;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5em 1em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.cluster-kostenfreie .cluster-events a.btn-dgq:hover {
  background: #991f37;
}

/* AKTUELLE IMPULSE - FACHBEITRÄGE */

/* Grund-Reset für Liste */

.cluster-fachbeitraege {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  /* Abstand zwischen den Cards */
}

/* Desktop: zwei- bis vier-spaltig */

@media (min-width: 768px) {
  .cluster-fachbeitraege {
    grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
  }
}

/* Einzelne Card */

.cluster-fachbeitraege li {
  background: #f2f2f7;
  border: 3px solid #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Überschrift */

.cluster-fachbeitraege h3 {
  margin: 0;
  font-size: 2.0rem;
  line-height: 1.3;
  font-weight: 400;
  color: #222;
}

/* Datum */

.cluster-fachbeitraege time {
  display: block;
  margin: .75rem 0;
  font-size: 1.2em;
  color: #444;
}

/* „weiter lesen“-Link */

.cluster-fachbeitraege a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #b51551;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2em;
  margin-top: auto;
  /* Link unten andocken */
}

/* Hover-Effekt */

.cluster-fachbeitraege a:hover {
  text-decoration: underline;
}

.cluster-fachbeitraege a:hover::after {
  transform: translateX(3px);
}

/* LISTE MIT FRAGEN */

/* --------------------------------------------
   ORIGINAL-CSS – nicht ändern!
---------------------------------------------*/

/* LISTE MIT FRAGEN */

.link-module {
  background: #f2f2f7;
  border-radius: 8px;
  padding: 1.8rem;
}

.link-items {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1.75rem;
  column-gap: 2.5rem;
  font-size: 2.2rem;
  margin-bottom: 2.4rem;
}

@media (min-width: 768px) {
  .link-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.link-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.0rem;
  padding-bottom: 2.5rem;
  padding-left: 0;
  padding-right: 0;
  color: #000;
  text-decoration: none;
  border-bottom: 4px solid #fff;
  transition: color .2s;
}

/* Hier wird für das letzte Item auch nur eine weiße Linie gezogen –
   dadurch war die letzte Linie unsichtbar und hat „geflattert“ */

.link-item:last-child a {
  border-bottom: 4px solid #fff;
}

.link-item a:hover {
  color: #b51551;
}

/* --------------------------------------------
   HIER KOMMT DER NEUE OVERRIDE
   (Erweitert das Original, ohne es zu ändern)
---------------------------------------------*/

/*
  1) Die .link-item(s) in einem Grid-Row werden automatisch auf die
     gleiche Höhe „gestreckt“ (grid-items align-self: stretch).
  2) Wir sorgen dafür, dass das  in jedem .link-item sich über
     die volle Höhe seiner Zelle erstreckt (height:100%).
  3) Damit sitzt die border-bottom von  immer exakt unten in der Zelle.
  4) Weil wir align-items: flex-start setzen, bleibt der Text oben.
*/

.link-item a {
  /* Link über volle Höhe der .link-item-Cell ausdehnen */
  height: 100%;
  /* Erzwinge, dass Inhalt (Text + Pfeil) oben beginnt (nicht zentriert) */
  /* Das !important überschreibt das align-items: center aus dem Original */
  align-items: flex-start !important;
}

/* Cluster Seiten Whitepaper Formular */

/* ===== Layout & Spalten ===== */

.wp-whitepaper-download {
  display: flex;
  flex-wrap: wrap;
  background: #0066cc;
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.wp-whitepaper-left {
  flex: 0 0 70%;
  max-width: 70%;
  padding: 20px;
  box-sizing: border-box;
}

.wp-whitepaper-right {
  flex: 0 0 30%;
  max-width: 30%;
  padding: 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .wp-whitepaper-download {
    flex-direction: column;
  }

  .wp-whitepaper-left,
  .wp-whitepaper-right {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ===== Titel & Text ===== */

.wp-whitepaper-left .title {
  font-size: 26px;
  font-weight: 600;
}

.wp-whitepaper-left .subtitle {
  font-size: 1.8em;
  font-weight: 200;
}

.wp-whitepaper-left .tiny {
  font-size: 0.8em;
  font-weight: 500;
}

/* ===== Broschüren-Vorschau ===== */

.wp-whitepaper-left .brochure {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1em 0;
}

.wp-whitepaper-left .brochure-img {
  width: 200px;
  border-radius: 4px;
  flex-shrink: 0;
}

.wp-whitepaper-left .brochure-text {
  margin: 0;
  line-height: 1.4;
  font-size: 1em;
}

/* ===== Radio-Buttons: weißer Ring + blauer Punkt ===== */

.brevo-formular_wrapper .gfield--type-radio .ginput_container_radio .gchoice input.gfield-choice-input {
  /* native Radio unsichtbar, behält Größe */
  position: static;
  opacity: 0;
  width: 1.6em;
  height: 1.6em;
  margin: 0;
  cursor: pointer;
}

.brevo-formular_wrapper .gfield--type-radio .ginput_container_radio .gchoice label.gform-field-label--type-inline {
  /* Label als flex-Container, um Text & Indicator zu zentrieren */
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  margin: 0 1em 1em 0;
}

/* Weißer Ring */

.brevo-formular_wrapper .gfield--type-radio .ginput_container_radio .gchoice label.gform-field-label--type-inline::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1.6em;
  height: 1.6em;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  margin-right: .5em;
  box-sizing: border-box;
}

/* Blauer Punkt (versteckt) */

.brevo-formular_wrapper .gfield--type-radio .ginput_container_radio .gchoice label.gform-field-label--type-inline::after {
  content: "";
  position: absolute;
  top: 50%;
  left: .8em;
  /* Zentrum des Rings (1.6em/2 + 0.5em margin) */
  width: .8em;
  height: .8em;
  background: #007AFF;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .2s ease;
}

/* Nur den Punkt ausfahren */

.brevo-formular_wrapper .gfield--type-radio .ginput_container_radio .gchoice input.gfield-choice-input:checked + label.gform-field-label--type-inline::after {
  transform: translate(-50%, -50%) scale(1);
}

/* ===== Checkbox: weißes Kästchen + blaues Quadrat ===== */

.brevo-formular_wrapper .gfield--type-consent .ginput_container_consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1.8em;
  height: 1.8em;
  margin: 0;
  cursor: pointer;
}

.brevo-formular_wrapper .gfield--type-consent .ginput_container_consent label.gfield_consent_label {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-bottom: 1em;
  margin-left: 2.4em;
  /* Platz fürs Kästchen */
  cursor: pointer;
}

/* Weißes Kästchen */

.brevo-formular_wrapper .gfield--type-consent .ginput_container_consent label.gfield_consent_label::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1.8em;
  height: 1.8em;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 3px;
  box-sizing: border-box;
  position: absolute;
  left: -2.4em;
}

/* Blaues Quadrat (versteckt) */

.brevo-formular_wrapper .gfield--type-consent .ginput_container_consent label.gfield_consent_label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.9em;
  width: .8em;
  height: .8em;
  background: #007AFF;
  border-radius: 2px;
  transform: translate(0, -50%) scale(0);
  transition: transform .2s ease;
}

/* Nur das Quadrat ausfahren */

.brevo-formular_wrapper .gfield--type-consent .ginput_container_consent input[type="checkbox"]:checked + label.gfield_consent_label::after {
  transform: translate(0, -50%) scale(1);
}

/* 1. Anrede-Radios in einer Zeile anordnen */

.brevo-formular_wrapper .gfield--type-radio .ginput_container_radio {
  display: flex;
  flex-wrap: wrap;
}

.brevo-formular_wrapper legend {
  color: #fff;
  border-bottom: 0px;
}

/* Optional: etwas Abstand zwischen den einzelnen Choices */

.brevo-formular_wrapper .gfield--type-radio .ginput_container_radio .gchoice {
  margin-right: 1em;
  margin-bottom: 0;
}

/* 2. Legend-Schrift in Weiß */

.brevo-formular_wrapper legend.gfield_label {
  color: #fff;
}

/* 3. Submit-Button stylen */

.brevo-formular_wrapper .gform_footer input[type="submit"],
.brevo-formular_wrapper .gform_button.button {
  padding: .6em 0;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
}

/* Radios nebeneinander */

.brevo-formular_wrapper .ginput_container_radio .gfield_radio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.brevo-formular_wrapper .ginput_container_radio .gfield_radio .gchoice {
  margin: 0 1em 0 0;
  /* nur rechts Abstand */
}

/* Button volle Breite */

.brevo-formular_wrapper .gform_footer input[type="submit"],
.brevo-formular_wrapper .gform_button.button {
  display: block;
  width: 100%;
}

/* ── Prevent squashing of radio/checkbox indicators ── */

/* 1) Stop flex items from shrinking */

.brevo-formular_wrapper .ginput_container_radio .gchoice,
.brevo-formular_wrapper .ginput_container_radio .gchoice label.gform-field-label--type-inline,
.brevo-formular_wrapper .ginput_container_consent .gfield_consent_label {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

/* 2) Ensure the white ring/box never shrinks */

.brevo-formular_wrapper .gfield--type-radio .gchoice label.gform-field-label--type-inline::before,
.brevo-formular_wrapper .gfield--type-consent label.gfield_consent_label::before {
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* 3) Add a little gap between indicator and label text */

.brevo-formular_wrapper .gfield--type-radio .gchoice label.gform-field-label--type-inline::before,
.brevo-formular_wrapper .gfield--type-consent label.gfield_consent_label::before {
  margin-right: .5em;
}

/* ===== Inputs: runde Ecken, kein Rahmen ===== */

.brevo-formular_wrapper .ginput_container_text input,
.brevo-formular_wrapper .ginput_container_email input {
  border: none;
  border-radius: 10px;
  background: #fff;
  padding: .6em;
  width: 100%;
  box-sizing: border-box;
  color: #000;
}

/* ===== Inputs: runde Ecken, kein Rahmen ===== */

.brevo-formular_wrapper .ginput_container_text input,
.brevo-formular_wrapper .ginput_container_email input {
  border: none;
  border-radius: 10px;
  background: #fff;
  padding: .6em;
  width: 100%;
  box-sizing: border-box;
  color: #000;
}

/* „(erforderlich)“-Text immer weiß */

.brevo-formular_wrapper span.gfield_required,
.brevo-formular_wrapper span.gfield_required .gfield_required_text,
.brevo-formular_wrapper .gfield_required_text {
  color: #fff !important;
}

/* Links in .tiny immer weiß und unterstrichen */

.wp-whitepaper-download .tiny a,
.wp-whitepaper-download .tiny a:link,
.wp-whitepaper-download .tiny a:visited,
.wp-whitepaper-download .tiny a:hover,
.wp-whitepaper-download .tiny a:active,
.wp-whitepaper-download .tiny a:focus {
  color: #fff !important;
  text-decoration: underline !important;
}

/* ENDE CLUSTER ENDE CLUSTER ENDE CLUSTER ENDE CLUSTER */

/* Beispiel: CSS nur für Seite mit der ID 123 */

.page-id-48622 .panel-grid {
  padding-bottom: 0 !important;
}

/* NORMUNG TIMELINE*/

/* timeline.css */

#timeline {
  display: flex;
  background-color: #031625;
}

#timeline:hover .tl-item {
  width: 20%;
}

.tl-item {
  position: relative;
  width: 20%;
  height: 60vh;
  min-height: 700px;
  color: #fff;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: width 0.5s ease;
}

.tl-item::before,
.tl-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
}

.tl-item::after {
  background: rgba(3, 22, 37, 0.15);
  opacity: 1;
  transition: opacity 0.5s ease;
}

.tl-item::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 75%
  );
  z-index: 1;
  opacity: 0;
  transform: translateY(50%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl-item:hover {
  width: 30% !important;
}

.tl-item:hover::after {
  opacity: 0;
}

.tl-item:hover::before {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease 0.25s;
}

.tl-item:hover .tl-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.75s ease 0.5s;
}

.tl-item:hover .tl-bg {
  filter: grayscale(0);
}

.tl-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.tl-content {
  position: relative;
  z-index: 1;
  margin: 0 1.618em;
  text-align: center;
  top: 45%;
  opacity: 0;
  transform: translateY(25px);
}

.tl-content h1 {
  text-transform: uppercase;
  color: #1779cf;
  font-size: 1.9rem;
  font-weight: normal;
  margin: 0;
}

.tl-year {
  position: absolute;
  top: 25%;
  left: 40%;
  transform: translate(-25%, -30%);
  z-index: 1;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  text-align: center;
  width: calc(100% - 2rem);
}

.tl-year p {
  font-size: 2.5em;
  line-height: 1.6;
  margin: 0.5em 0;
}

/* Barrierefreiheit Boxen */

.info-item {
  display: flex;
  align-items: center;
  /* Bild & Text vertikal mittig ausrichten */
  border: 1px solid #a3a3a3;
  background-color: #f6f6f6;
  /* Hellgrau IN der Box */
  margin-bottom: 15px;
  box-sizing: border-box;
}

.info-image {
  width: 17%;
  text-align: center;
  flex-shrink: 0;
}

.info-image img {
  display: block;
  margin: 0 auto;
}

.info-content {
  width: 83%;
}

.info-title {
  color: #b5064c;
  display: block;
  margin-bottom: 8px;
}

.info-content p {
  margin: 0 0 10px;
}

.info-content a {
  color: #b5064c;
  text-decoration: none;
  font-weight: 600;
}

.info-content a:hover {
  text-decoration: underline;
}

/* ✅ Responsive Verhalten */

@media (max-width: 768px) {
  .info-item {
    flex-direction: column;
    text-align: center;
  }

  .info-image,
  .info-content {
    width: 100%;
  }

  .info-image {
    margin-bottom: 15px;
  }
}