h1 {
  color: var(--bs-primary);
  font-family: 'Ysabeau SC';
  font-weight: 700;
  font-size: 40px;
  padding-bottom: 2rem;
}

h2 {
  color: var(--bs-primary);
  font-family: 'Ysabeau SC';
  font-weight: 700;
  font-size: 40px;
}

h3 {
  font-family: 'Ysabeau';
  font-weight: 700;
  font-size: 30px;
}

h4 {
  font-family: 'Ysabeau SC';
  font-weight: 700;
  font-size: 26px;
}

h5 {
  color: var(--bs-primary);
  font-family: 'Ysabeau';
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
}

p, li {
  font-family: 'Ysabeau';
  font-weight: 200;
  font-size:  28px;
  line-height: 42px;
}

blockquote p {
  font-family: 'Ysabeau SC';
  font-size: 70px;
  text-align: center;
}

.blockquote-footer {
  margin-top: 2rem;
  font-size: 28px;
  color: initial;
  font-family: 'Ysabeau SC';
  text-align: center;
}

.blockquote-footer::before {
  content: none;
}

.col-news p, .col-news2 p, .col-news li {
  font-size: 22px;
  text-align: left;
  line-height: 28px;
}

.col-news2 p {
    max-width: 515px;
}

.beitragsdate {
    font-size: 16px !important;
    text-align: center !important;
}

.col-news h4 {
  text-align: center;
  margin-top: 20px;
}

.col-news a, .col-news2 a {
  text-transform: none;
  color: var(--bs-gray-500);
  font-family: 'Ysabeau';
  font-weight: 700;
  font-size: 22px;
}

.readmore-box {
    border: 1px solid rgba(68, 68, 68, 0.25);
}

.accordion-item {
    background-color: transparent;
}

.accordion-button {
  font-size: 20px;
  color: #000 !important;
  background-color: transparent !important;
  font-family: 'Ysabeau';
  font-weight: 700;
}
.accordion-body p {
    font-size: 20px;
    line-height: 28px;
}

.btn {
  --bs-btn-padding-x: 1.3rem;
  --bs-btn-padding-y: 0rem;
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: var(--bs-border-radius);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-disabled-opacity: 1;
  --bs-btn-focus-box-shadow: 0 0 0 0 rgba(var(--bs-btn-focus-shadow-rgb), 0);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: 'Ysabeau SC';
  font-size: 24px;
  font-weight: 500;
  line-height: 45px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: 25px; /*var(--bs-btn-border-radius);*/
  background-color: var(--bs-primary);
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  --bs-btn-box-shadow: none;
  --bs-btn-boder-width: 0;
}
.btn:hover {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
}

a.yform-news {
    color: #fff !important;
    font-family: 'Ysabeau SC';
    font-weight: 500;
    text-decoration: none;
}



.footer-links {
  font-family: 'Ysabeau SC';
  font-size: 19px;
  font-weight: 500;
}

.datasize {
    font-size: 16px !important;
    color: rgba(119, 119, 119, 0.7) !important;
    font-variant: normal;
    text-transform: capitalize;
}

.col-news .news-detail-text figure, .col-news .news-detail-text img {
    margin: 0 0 15px 0;
    width: 100%;
    max-width: 600px;
    float: left;
    clear: left;
    margin-right: 15px;
    height: auto !important;
    aspect-ratio: auto;
}

.col-news .news-detail-text figure:nth-of-type(even), .col-news .news-detail-text img:nth-of-type(even) {
    float: right;
    clear: right;
    margin-right: 0;
    margin-left: 15px;
}

.col-news .news-detail-text figure img {
    width: 100%;
    max-width: 600px;
    display: block;
}

.riaclogo img {
    max-width: 150px;
}

figure.img-medium img { max-width: 600px; }
figure.img-large img { max-width: 900px; }
figure.img-full img { width: 100%; }

.accordion-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.accordion {
    margin-top: 25px;
    margin-bottom: 25px;
}

.accordion-item {
    border: none;
}

.accordion-item h5 button {
    padding: 0;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.news-section {
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.news-year {
    text-align: center;
}

.news-year.btn {
    cursor: default !important;
}


.footer {
    padding-top: 5rem;
    margin-top: 8rem;
}

.news-section li.nav-item {
    font-size: 22px;
    line-height: 28px;
}
.news-section .nav-link.active {
    background-color: rgba(119, 119, 119, 1);
}

.article-video {
    max-height: 600px;
    max-width: 500px;
    text-align: center;
}

.news-media-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;   /* macht das Element immer quadratisch */
  overflow: hidden;      /* alles außerhalb des Quadrats abschneiden */
}

.news-media-wrap .news-media {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* Motiv füllt das Quadrat, wird ggf. beschnitten */
  object-position: center;     /* Bild-/Videomitte im Fokus */
  display: block;
}


.imgright figure img {
    width: 100%;
    max-width: 500px;
    float: right;
    margin-left: 15px;
    margin-bottom: 10px;
}
.imgcenter {
    text-align: center;
}

.imgcenter figure img {
    width: 100%;
    max-width: 500px;
    margin-left: 15px;
    margin-bottom: 10px;
}

.imgleft figure img {
    width: 100%;
    max-width: 500px;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

blockquote {
    font-family: 'Ysabeau SC';
    font-size: 30px;
}

.news-detail-links {
    clear: both;
}


.form-check-label {
  font-weight: 400;
  font-family: 'Fira Sans';
}

.form-control::placeholder, .form-control option {
  opacity: 0.7;
}
.form-control {
    background-image: url(/assets/img/banik_slice_22.png);
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100%;
    margin-bottom: 15px;
}
.control-label {
    display: none;
}

.form-control:hover,
.form-control:focus,
.form-control:active {
    background-color: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
    box-shadow: none !important;
}

/* ========== TRENNER ================================*/

/* Basis */
.trenner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;            /* Abstand zwischen Text/Grafik und Linien */
  clear: both;
  text-align: center;
  white-space: nowrap;
}

/* Standard: keine Linie (wie vorher: #fff -> quasi unsichtbar auf weiß) */
.trenner::before,
.trenner::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: transparent;
}

/* Wenn du optional einen Text/Icon im span hast */
.trenner > span {
  display: inline-flex;
  align-items: center;
}

/* Variante: Linie sichtbar */
.trenner.trennerlinie::before,
.trenner.trennerlinie::after {
  background: #ccc;
}

/* Variante: Linie + Grafik/Element (30px hoch) */
.trenner.trennerliniemitgrafik {
  min-height: 30px;
}

.trenner.trennerliniemitgrafik > span {
  height: 30px;
  display: inline-flex;
  align-items: center;
}

/* ========== ENDE TRENNER ===========================*/

/* Detailbild: kein Textumlauf */
.col-news figure.news-detail-image {
  float: none;
  clear: both;
  margin: 1.5rem 0;
}

.col-news figure.news-detail-image img {
  display: block;
  float: none;
  max-width: 600px;
  height: auto;
}

.img-fluid--small{
  max-width: 360px !important;
}


/* ========== Breakpoints (bereinigt & reduziert) ========== */

/* <= 1200px */
@media (max-width: 1200px) {
  h1, h2 { font-size: 36px; }
  h3 { font-size: 28px; }
  h4 { font-size: 24px; }

  p, li { font-size: 24px; line-height: 38px; }

  blockquote p { font-size: 60px; }

  .col-news p, .col-news2 p { font-size: 20px; line-height: 30px; text-align: left; }
  .col-news h4 { text-align: center; margin-top: 20px; }

  .col-news a, .col-news2 a {
    font-family: "Ysabeau";
    font-weight: 700;
    color: var(--bs-gray-500);
    text-transform: none;
    font-size: 20px;
  }

  .beitragsdate { font-size: 16px !important; text-align: center !important; }
}

/* <= 992px */
@media (max-width: 992px) {
  h1, h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }

  p, li { font-size: 22px; line-height: 36px; }

  blockquote p { font-size: 50px; }

  .col-news p, .col-news2 p { font-size: 18px; line-height: 28px; }
  .col-news a, .col-news2 a { font-size: 18px; }

  .beitragsdate { font-size: 16px !important; text-align: center !important; }
  .col-news h4 { text-align: center; margin-top: 20px; }
}

/* <= 768px */
@media (max-width: 768px) {
  h1, h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }

  p, li { font-size: 20px; line-height: 30px; }

  blockquote p { font-size: 45px; }

  .col-news p, .col-news2 p { font-size: 20px; line-height: 30px; }
  .col-news a, .col-news2 a { font-size: 17px; }
  .col-news h4 { margin-top: 19px; }

  figure img {
    width: 100%;
    max-width: 400px;
    float: none;
    text-align: center;
    clear: both;
  }

  .beitragsdate { font-size: 16px !important; text-align: center !important; }
}

/* <= 576px */
@media (max-width: 576px) {
  h1, h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  h4 { font-size: 20px; }

  p, li { font-size: 20px; line-height: 30px; }

  blockquote p { font-size: 45px; }

  .col-news p, .col-news2 p { font-size: 20px; line-height: 30px; }
  .col-news a, .col-news2 a { font-size: 20px; }
  .col-news h4 { margin-top: 20px; }

  figure img {
    width: 100%;
    max-width: 400px;
    float: none;
    text-align: center;
    clear: both;
  }

  .accordion-button { font-size: 18px; }
  .accordion-body p { font-size: 18px; line-height: 24px; }
  .sm-drawer-list li { font-size: 18px; line-height: 22px; }

  .beitragsdate { font-size: 16px !important; text-align: center !important; }
}

/* <= 360px */
@media (max-width: 360px) {
  /* h1/h2/h3/h4/p/li bleiben wie <=576px */

  .col-news p, .col-news2 p { font-size: 18px; line-height: 28px; }
  .col-news a, .col-news2 a { font-size: 18px; }

  .accordion-button { font-size: 16px; }
  .accordion-body p { font-size: 16px; line-height: 22px; }
  .sm-drawer-list li { line-height: 18px; }

  .beitragsdate { font-size: 16px !important; text-align: center !important; }
}