
body {
	font-family: 'Noto Sans', sans-serif !important;
	font-size:16px; 
	
}
html {  scroll-padding-top: 200px;}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

	
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
}

/* ==========================================
   SEITENTITEL
========================================== */

/* mmenu Fix */
.mm-page .site-header,
.mm-wrapper .site-header {
  position: sticky;
  top: 0;
	z-index: 10000;
}




.blau {background:#17365d;}
.grau {background: linear-gradient( 180deg, #f7f9fb 0%, #ffffff 100% );}
/* Obertitel */





/* ==========================================
   LISTEN
========================================== */

ul:not(.navilo):not(.sub2),
ol {

    margin: 1.5rem 0;
    padding-left: 1.4rem;
}

ul:not(.navilo):not(.sub2) li,
ol li {

    margin-bottom: .7rem;

    color: #4b5563;
}

/* ==========================================
   LINKS
========================================== */
main 
a {

    color: #294a70;

    text-decoration: none;

    transition: .25s;
}

main a:hover {

    color: #c7a76a;
}

/* ==========================================
   CONTENT
========================================== */



/* ==========================================
   MOBIL
========================================== */

@media (max-width:991px){

    .page-header,
    .frame-type-header,
    .ce-header{

        padding-left:22px;
        margin-bottom:2.8rem;
    }

    .page-header::before,
    .frame-type-header::before,
    .ce-header::before{

        width:3px;
    }

    h1{

        font-size:2.4rem;
    }

    h2{

        font-size:1.8rem;
    }

    p{

        font-size:1rem;
        line-height:1.75;
    }

}

main a {
  color: var(--primary);
}

main a:hover {
  color: var(--primary-dark);
}

strong {
  font-weight: 700;
}

small {
  color: var(--text-light);
}


.carousel-header {display: none;}

/* Navigation */
nav,
.mainnav,
.navbar,
.navigation {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
}

/* ==========================================================
   Buttons
========================================================== */

.btn,
.button,
.more,
input[type="submit"],
button{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.75rem;

    min-height:44px;
    padding:0 1.4rem;

    background:var(--primary);
    border:2px solid var(--primary);
    border-radius:3px;

    color:#fff !important;

    font-size:.75rem;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    text-decoration:none !important;

    cursor:pointer;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

/* Hover */

.btn:hover,
.button:hover,
.more:hover,
input[type="submit"]:hover,
button:hover,

.btn:focus-visible,
.button:focus-visible,
.more:focus-visible,
input[type="submit"]:focus-visible,
button:focus-visible{

    background:#1f3e60;
    border-color:#c7a76a;
    color:#fff !important;

    transform:translateY(-2px);

    box-shadow:
        0 10px 25px rgba(24,58,93,.22);
}

/* Active */

.btn:active,
.button:active,
.more:active,
button:active{

    transform:translateY(0);

    box-shadow:none;
}

/* Icon */

.btn i,
.button i,
.more i{

    transition:transform .25s ease;
}

.btn:hover i,
.button:hover i,
.more:hover i{

    transform:translateX(4px);
}

/* Textauswahl */
::selection {
  background: var(--primary);
  color: var(--white);
}


header .textmedia {gap:0;}



main {margin-top: 100px;}
/* mmenu Fix */
.mm-page .site-header,
.mm-wrapper .site-header {
  position: sticky;
  top: 0;
	z-index: 10000;
}

.back-button-wrap {
  display: flex;
  justify-content: center;
  padding-top: 55px;
  padding-bottom: 65px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 25px;
  border: 1px solid #bb0000;
  border-radius: 2px;
  background: #fff;
  color: #bb0000;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.back-button i {
  font-size: 18px;
  transition: transform .25s ease;
}

.back-button:hover,
.back-button:focus-visible {
  background: #bb0000;
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(187, 0, 0, .18);
}

.back-button:hover i,
.back-button:focus-visible i {
  transform: translateX(-5px);
}

.back-button:focus-visible {
  outline: 2px solid #090909;
  outline-offset: 4px;
}

@media (max-width: 767.98px) {
  .back-button-wrap {
    padding-top: 35px;
    padding-bottom: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-button,
  .back-button i {
    transition: none;
  }
}

footer p  {    margin-bottom: 0;}

.footer-menu {background: #dddcd6; line-height: 3rem;}



.hunderter .megazeil,
.hunderter .ce-outer,
.hunderter .ce-row,
.hunderter .ce-gallery,
.hunderter .ce-textpic,
.hunderter .image { width: 100% !important;}
.hunderter .container {padding: 0 !important;}
.hunderter .frame {width: 100%; height: auto; margin: 0;
padding: 0;}

.hunderter .ce-gallery[data-ce-columns="3"] .ce-column {
    width: 33.33333% !important;}

.hunderter {max-width: 100% !important; padding: 0 !important; z-index: 0;}
.hunderter .ce-gallery img {padding: 0;width: 100%; }
.hunderter .ce-column {padding: 0 !important ;}
.hunderter .textmedia {gap:0;}
.hunderter hr {height: 0; padding: 2% 0; background:none !important;}
.hunderter .frame-container-default {
  max-width: 100%; padding: 0; margin:0;
}





.frame-space-before-extra-small {
    margin-top: 0.5rem !important;
}

.frame-space-before-small {
    margin-top: 1rem !important;
}

.frame-space-before-medium {
    margin-top: 2rem !important;
}

.frame-space-before-large {
    margin-top: 3rem !important;
}

.frame-space-after-extra-small {
    margin-bottom: 0.5rem !important;
}

.frame-space-after-small {
    margin-bottom: 1rem !important;
}

.frame-space-after-medium {
    margin-bottom: 2rem !important;
    padding-left: 5%;
}

.frame-space-after-large {
    margin-bottom: 3rem !important;
}




.frame-custom-22 .gallery-item img {  width: 80%;}
.frame-custom-23 .gallery-item img {  width: 60%;}
.frame-custom-24 .gallery-item img {  width: 40%;}
.frame-custom-25 .gallery-item img {  width: 20%;}
.frame-custom-26 .gallery-item img {  width: 10%;}

/* Linksbündig */
.frame-custom-27 .gallery-item img {
    display: block;
    width: 80%;
    margin-right: auto;
}

.frame-custom-28 .gallery-item img {
    display: block;
    width: 60%;
    margin-right: auto;
}

.frame-custom-29 .gallery-item img {
    display: block;
    width: 40%;
    margin-right: auto;
}

.frame-custom-30 .gallery-item img {
    display: block;
    width: 20%;
    margin-right: auto;
}

.frame-custom-31 .gallery-item img {
    display: block;
    width: 10%;
    margin-right: auto;
}

.frame-custom-27 .gallery-item img,
.frame-custom-28 .gallery-item img,
.frame-custom-29 .gallery-item img,
.frame-custom-30 .gallery-item img,
.frame-custom-31 .gallery-item img {
    margin-left: 0;
    margin-right: 0;
}





#pageid1 .back-button {display: none;}


/* Headerbild: vollständiges Bild ohne Beschnitt */
.kopfbild,
.kopfbild .textmedia {
  position: relative;
  overflow: hidden;
}

.kopfbild .textmedia-gallery,
.kopfbild .gallery-row,
.kopfbild .gallery-item,
.kopfbild figure,
.kopfbild picture {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.kopfbild picture img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: initial;
}

/* Text im oberen Drittel des Bildes */
.kopfbild .textmedia-text {
  position: absolute;
  z-index: 2;
  bottom: 18%;
  right: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  text-align: center;
}

.kopfbild .textmedia-text p {
  display: none;
}

.kopfbild .textmedia-text h3,
.kopfbild .textmedia-text h4 {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-family: var(--font-headline, "Source Sans 3", sans-serif);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

/* Schmaler roter Balken */
.kopfbild .textmedia-text h3 {
  padding: 5px 18px 8px;
  background: rgba(187, 0, 0, .94);
  font-size: clamp(22px, 2.1vw, 40px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
}

/* Schwarzer Balken */
.kopfbild .textmedia-text h4 {
  padding: 5px 16px 7px;
  background: rgba(9, 9, 9, .9);
  font-size: clamp(18px, 1.45vw, 28px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
}

/* TYPO3-Frame im Header ohne Abstände */
.kopfbild .frame,
.kopfbild .frame-group-container,
.kopfbild .frame-group-inner,
.kopfbild .frame-container,
.kopfbild .frame-inner {
  max-width: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 767.98px) {
  .kopfbild .textmedia-text {
    bottom: 5%;
    right: 12px;
    left: 12px;
    gap: 6px;
  }

  .kopfbild .textmedia-text h3 {
    padding: 5px 10px 6px;
    font-size: clamp(17px, 3.8vw, 28px);
  }

  .kopfbild .textmedia-text h4 {
    padding: 5px 10px 6px;
    font-size: clamp(15px, 3vw, 22px);
  }
}

.footer-social {
  padding: 12px 0 25px;
  text-align: center;
}

.footer-social h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.2;
}

.footer-social p {
  margin: 0 0 24px;
  color: #bdbdbd;
  font-size: 15px;
}

.footer-social .socialbuttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer .footer-social .socialbuttons a {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: #181818;
  color: #fff;
  font-size: 21px;
  text-decoration: none;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.site-footer .footer-social .socialbuttons a:hover,
.site-footer .footer-social .socialbuttons a:focus-visible {
  border-color: #bb0000;
  background: #bb0000;
  color: #fff;
  transform: translateY(-4px);
}

.site-footer .footer-social .socialbuttons a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .footer-social .socialbuttons a {
    transition: none;
  }
}

/* Seitenüberschriften */
#inhalt .frame-header h1.element-header {
  position: relative;
  width: fit-content;
  max-width: calc(100% - 30px);
  margin: 0 auto 45px;
  padding: 0 0 25px;
  color: #151515;
  font-family: var(--font-headline, "Source Sans 3", sans-serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: balance;
}

/* Roter Strich unter der Überschrift */
#inhalt .frame-header h1.element-header::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100px;
  height: 5px;
  background: #bb0000;
  content: "";
  transform: translateX(-50%);
}

/* Kleiner schwarzer Akzent im Strich */
#inhalt .frame-header h1.element-header::before {
  position: absolute;
  bottom: 0;
  left: calc(50% + 38px);
  z-index: 1;
  width: 12px;
  height: 5px;
  background: #151515;
  content: "";
}

/* Abstand zwischen Titel und folgendem Inhalt */
#inhalt .frame-header + h2 {
  margin-top: 0;
}

@media (max-width: 767.98px) {
  #inhalt .frame-header h1.element-header {
    margin-bottom: 32px;
    padding-bottom: 19px;
  }

  #inhalt .frame-header h1.element-header::after {
    width: 76px;
    height: 4px;
  }

  #inhalt .frame-header h1.element-header::before {
    left: calc(50% + 27px);
    width: 11px;
    height: 4px;
  }
}


.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}



/* ==========================================
   SPONSOREN – WEISSER BEREICH
========================================== */

.sponsoren-section {
    width: 100%;
    background: #ffffff;
    padding: 35px 0;
}

/* TYPO3 Standardabstände entfernen */
.sponsoren .frame,
.sponsoren .frame-container,
.sponsoren .frame-inner,
.sponsoren .textmedia,
.sponsoren .textmedia-gallery {
    margin: 0;
    padding: 0;
}

/* Alle Logos nebeneinander */
.sponsoren .gallery-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

/* Einzelne Logos */
.sponsoren .gallery-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* Figure */
.sponsoren figure.image {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsoren figure.image a,
.sponsoren picture {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logos einheitlich */
.sponsoren img {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 75px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Hover-Effekt */
.sponsoren a:hover img {
    transform: scale(1.08);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .sponsoren .gallery-row {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 25px;
    }

    .sponsoren .gallery-item {
        flex: 0 1 calc(25% - 25px);
    }

    .sponsoren img {
        max-height: 65px;
    }
}

/* ==========================================
   SMARTPHONE
========================================== */

@media (max-width: 575px) {

    .sponsoren-section {
        padding: 25px 0;
    }

    .sponsoren .gallery-row {
        gap: 20px;
    }

    .sponsoren .gallery-item {
        flex: 0 1 calc(33.333% - 20px);
    }

    .sponsoren img {
        max-height: 55px;
    }
}



.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Ticket-Link */
.header-tickets {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  z-index: 5;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0;
}

/* alles weg, was eine Kontur erzeugen könnte */
.header-tickets::before,
.header-tickets::after {
  display: none !important;
  content: none !important;
}

/* Bild */
.header-tickets img {
  display: block;
  width: 150px;
  height: auto;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;

  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  animation: ticketPulse 2.2s ease-in-out infinite;
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
  transform: translateZ(0);
}

/* Hover: kein Weiß, nur leicht lebendiger */
.header-tickets:hover,
.header-tickets:focus,
.header-tickets:active {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.header-tickets:hover img,
.header-tickets:focus img {
  opacity: 0.92;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
  transform: scale(1.04);
}

/* Pulsieren statt Drehen */
@keyframes ticketPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .header-tickets img {
    width: 120px;
  }
}

@media (max-width: 575px) {
  .header-tickets img {
    width: 95px;
  }
}


/* =========================================
   TYPO3 TEXTMEDIA – ALLE POSITIONEN
   frame-custom-22 bis frame-custom-26
========================================= */

/* Bildgrößen */
.frame-custom-22 { --img-ratio: .8; --img-width: 80%; }
.frame-custom-23 { --img-ratio: .6; --img-width: 60%; }
.frame-custom-24 { --img-ratio: .4; --img-width: 40%; }
.frame-custom-25 { --img-ratio: .2; --img-width: 20%; }
.frame-custom-26 { --img-ratio: .1; --img-width: 10%; }


/* Gemeinsamer Selektor */
:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia {
    display: flex !important;
    gap: 30px;
    width: 100%;
    align-items: flex-start;
}


/* =========================================
   BILD LINKS
========================================= */

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia.textmedia-left {
    flex-direction: row !important;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-left > .textmedia-gallery {
    order: 1;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-left > .textmedia-text {
    order: 2;
}


/* =========================================
   BILD RECHTS
========================================= */

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia.textmedia-right {
    flex-direction: row !important;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-right > .textmedia-gallery {
    order: 2;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-right > .textmedia-text {
    order: 1;
}


/* =========================================
   BILD LINKS/RECHTS – BREITEN
========================================= */

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia:is(
.textmedia-left,
.textmedia-right
) > .textmedia-gallery {
    flex: 0 0 calc(
        (100% - 30px) * var(--img-ratio)
    ) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia:is(
.textmedia-left,
.textmedia-right
) > .textmedia-text {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
}


/* =========================================
   VERTIKALE AUSRICHTUNG
========================================= */

/* Mittig – TYPO3-Einstellung */
:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-centered:is(
.textmedia-left,
.textmedia-right
) {
    align-items: center !important;
}


/* =========================================
   BILD OBERHALB
========================================= */

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia.textmedia-above {
    flex-direction: column !important;
    align-items: stretch !important;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-above > .textmedia-gallery {
    order: 1 !important;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-above > .textmedia-text {
    order: 2 !important;
}


/* =========================================
   BILD UNTERHALB
========================================= */

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia.textmedia-below {
    flex-direction: column !important;
    align-items: stretch !important;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-below > .textmedia-gallery {
    order: 2 !important;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-below > .textmedia-text {
    order: 1 !important;
}


/* =========================================
   BILD OBEN/UNTEN – BREITEN
========================================= */

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia:is(
.textmedia-above,
.textmedia-below
) > .textmedia-gallery {
    flex: none !important;
    width: var(--img-width) !important;
    max-width: 100% !important;
    margin: 0 !important;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia:is(
.textmedia-above,
.textmedia-below
) > .textmedia-text {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}


/* =========================================
   GALERIE / BILDER
========================================= */

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-gallery :is(
.gallery-row,
.gallery-item,
figure,
picture
) {
    max-width: 100%;
}

:is(
.frame-custom-22,
.frame-custom-23,
.frame-custom-24,
.frame-custom-25,
.frame-custom-26
) .textmedia-gallery img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    :is(
    .frame-custom-22,
    .frame-custom-23,
    .frame-custom-24,
    .frame-custom-25,
    .frame-custom-26
    ) .textmedia {
        gap: 20px;
    }

    /* Links/rechts wird untereinander */
    :is(
    .frame-custom-22,
    .frame-custom-23,
    .frame-custom-24,
    .frame-custom-25,
    .frame-custom-26
    ) .textmedia:is(
    .textmedia-left,
    .textmedia-right
    ) {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    :is(
    .frame-custom-22,
    .frame-custom-23,
    .frame-custom-24,
    .frame-custom-25,
    .frame-custom-26
    ) .textmedia:is(
    .textmedia-left,
    .textmedia-right
    ) > .textmedia-gallery {
        order: 1 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    :is(
    .frame-custom-22,
    .frame-custom-23,
    .frame-custom-24,
    .frame-custom-25,
    .frame-custom-26
    ) .textmedia:is(
    .textmedia-left,
    .textmedia-right
    ) > .textmedia-text {
        order: 2 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Oben/unten bleibt wie gewählt */
    :is(
    .frame-custom-22,
    .frame-custom-23,
    .frame-custom-24,
    .frame-custom-25,
    .frame-custom-26
    ) .textmedia:is(
    .textmedia-above,
    .textmedia-below
    ) > .textmedia-gallery {
        width: var(--img-width) !important;
        max-width: 100% !important;
    }

    /* Bilder mobil begrenzen */
    :is(
    .frame-custom-22,
    .frame-custom-23,
    .frame-custom-24,
    .frame-custom-25,
    .frame-custom-26
    ) .textmedia-gallery img {
        max-height: 350px;
        object-fit: contain;
    }
}


/* ==========================================
   MITGLIEDER – RESPONSIVE KARTEN FIX
   TYPO3 News #c127
========================================== */

/* Gesamter Mitgliederbereich */
#c127,
#c127 .frame-container,
#c127 .frame-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Raster */
#c127 .news-list-view {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 25px 15px 50px !important;
}

/* Karten volle Spaltenbreite */
#c127 .news-list-view > .article {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9e9e9;
    box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

/* Bildcontainer */
#c127 .article .news-img-wrap,
#c127 .article .news-img-wrap .outer,
#c127 .article .news-img-wrap .mediaelement,
#c127 .article .news-img-wrap a,
#c127 .article .no-media-element {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Bilder */
#c127 .article .news-img-wrap img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 25%;
}

/* Name */
#c127 .article > .header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 105px;
    padding: 20px 15px !important;
    text-align: center;
}

#c127 .article > .header h3 {
    width: 100%;
    margin: 0;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.3;
    overflow-wrap: break-word;
}

/* ==========================================
   TABLET – 2 SPALTEN
========================================== */

@media (max-width: 991.98px) {

    #c127 .news-list-view {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 25px !important;
    }

    #c127 .article > .header h3 {
        font-size: 21px;
    }
}

/* ==========================================
   SMARTPHONE – 1 SPALTE
========================================== */

@media (max-width: 575.98px) {

    #c127 .news-list-view {
        grid-template-columns: 1fr !important;
        max-width: 420px !important;
        gap: 25px !important;
        padding: 15px 15px 35px !important;
    }

    #c127 .article > .header {
        min-height: 85px;
        padding: 18px 12px !important;
    }

    #c127 .article > .header h3 {
        font-size: 22px;
    }
}


/* Desktop */
main {
    margin-top: 50px;
}

/* Tablet */
@media (max-width: 991.98px) {
    main {
        margin-top: 30px;
    }
}

/* Smartphone */
@media (max-width: 575.98px) {
    main {
        margin-top: 15px;
    }
}
.news .footer span   {border-right: 0 !important;}
.news-list-date {display: none !important;}
.news-single .footer{border-top:0 !important;} 

