/* GRUNDDESIGN */
:root {
  --cassiopeia-color-primary: #b10e20;
  --cassiopeia-color-link: #df3547;
  --cassiopeia-color-hover: #ff5362;
}

body.site {
  background: #111111;
  color: #f1f1f1;
  font-family: Arial, sans-serif;
}

/* HEADER */
.container-header {
  background: #181818;
  background-image: none;
  border-bottom: 4px solid #b10e20;
}

/* GRUPPENNAME */
.container-header .navbar-brand a {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* NAVIGATION */
.container-header .mod-menu a {
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.container-header .mod-menu a:hover {
  color: #ff5362;
}

/* ÜBERSCHRIFTEN */
h1, h2, h3 {
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
}

/* INHALTE */
.container-component {
  padding-top: 2rem;
}

/* HEADER OPTIMIERUNG */

.container-header {
  padding: 10px 0;
}

.container-header .navbar-brand a,
.container-header a.brand-logo {
  text-decoration: none !important;
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
}

.container-header .mod-menu a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.container-header .mod-menu a:hover,
.container-header .mod-menu .active > a {
  color: #ff4050;
}

.container-header .container-nav {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* STARTSEITE HERO */

.mb-hero {
  display: flex;
  align-items: center;
  min-height: 60vh;
  padding: clamp(30px, 7vw, 100px);
  background: linear-gradient(
    120deg,
    #1c1c1c 0%,
    #101010 55%,
    #400811 100%
  );
  border-left: 5px solid #b10e20;
}

.mb-hero h1 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 20px 0;
}

.mb-hero h1 span {
  color: #e1263c;
}

.mb-kicker {
  color: #e85666;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 3px;
}

.mb-description {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: #dddddd;
  max-width: 650px;
  line-height: 1.6;
}


/* STADIONFOTO STARTSEITE */

.mb-hero {
  min-height: 75vh;

  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.80) 0%,
      rgba(0,0,0,0.45) 60%,
      rgba(0,0,0,0.20) 100%
    ),
    url('/images/Mittelblock/kurve.jpg') !important;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* STARTSEITE IN VOLLER BREITE */

body:has(.mb-hero) .site-grid > .container-component {
  grid-column: full-start / full-end !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body:has(.mb-hero) .com-content-article,
body:has(.mb-hero) .item-page {
  margin: 0;
  padding: 0;
}

/* GROSSES STADIONBILD */

.mb-hero {
  width: 100%;
  min-height: 80vh;
  margin: 0;
  border-left: none;
  padding: clamp(40px, 8vw, 120px);

  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.55) 45%,
      rgba(0,0,0,0.20) 100%
    ),
    url('/images/Mittelblock/kurve.jpg') !important;

  background-size: cover;
  background-position: center;
}

/* MOBILE ANPASSUNG */

@media (max-width: 768px) {
  .mb-hero {
    min-height: 65vh;
    padding: 40px 24px;
  }
}

/* KOMPAKTER HEADER */

@media (min-width: 1024px) {
  .container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 30px;
    padding: 18px 3%;
  }

  .container-header > .grid-child {
    width: auto;
    max-width: none;
    margin: 0;
  }

  .container-header .navbar-brand {
    margin: 0;
  }

  .container-header .container-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    padding: 0;
  }

  .container-header .mod-menu {
    gap: 16px;
  }
}

/* HEADER AUF EINER HÖHE */

@media (min-width: 992px) {

  .container-header {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    grid-template-areas: "brand nav";
    align-items: center;
    gap: 20px;
    padding: 15px 3%;
  }

  .container-header .grid-child:has(.navbar-brand) {
    grid-area: brand;
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
  }

  .container-header .container-nav {
    grid-area: nav;
    display: flex;
    flex: initial;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .container-header .navbar-brand {
    margin: 0;
  }

  .container-header .navbar-brand a {
    font-size: clamp(1.1rem, 2vw, 1.7rem);
  }

  .container-header .mod-menu {
    gap: 10px;
    flex-wrap: nowrap;
  }

  .container-header .mod-menu a {
    font-size: 0.85rem;
    white-space: nowrap;
  }
}

/* ABSTAND ZUM TITELBILD ENTFERNEN */

body:has(.mb-hero) .site-grid {
  row-gap: 0;
}

body:has(.mb-hero) .container-component {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* STARTSEITE - WEITERE BEREICHE */

.mb-sections {
  background: #101010;
  padding: 90px 5%;
  color: #ffffff;
}

.mb-section-heading {
  max-width: 1200px;
  margin: 0 auto 45px;
}

.mb-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin: 12px 0;
}

.mb-section-heading > p:last-child {
  color: #aaaaaa;
  font-size: 1.1rem;
}

/* KARTEN */

.mb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.mb-card {
  display: flex;
  flex-direction: column;
  background: #1d1d1d;
  border-top: 4px solid #b10e20;
  padding: 35px;
  min-height: 290px;
  transition: background 0.3s ease;
}

.mb-card:hover {
  background: #292929;
}

.mb-card-number {
  color: #e22940;
  font-weight: bold;
  letter-spacing: 2px;
}

.mb-card h3 {
  font-size: 1.8rem;
  margin: 25px 0 12px;
}

.mb-card p {
  color: #bbbbbb;
  line-height: 1.7;
}

.mb-card-label {
  margin-top: auto;
  padding-top: 24px;
  color: #e22940;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* RESPONSIVES DESIGN */

@media (max-width: 800px) {
  .mb-card-grid {
    grid-template-columns: 1fr;
  }

  .mb-sections {
    padding: 55px 24px;
  }

  .mb-card {
    min-height: 220px;
    padding: 25px;
  }
}

/* AKTUELLES - NEWS DESIGN */

.com-content-category-blog {
  padding: 50px max(24px, 5vw);
}

.com-content-category-blog .blog-item {
  background: #202020;
  border-top: 4px solid #b10e20;
  padding: 30px;
  margin-bottom: 24px;
}

.com-content-category-blog .blog-item h2 a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

.com-content-category-blog .blog-item h2 a:hover {
  color: #e22940;
}

.com-content-category-blog .article-info {
  color: #e22940;
  font-size: 0.85rem;
}

.com-content-category-blog .blog-item p {
  color: #cccccc;
  line-height: 1.7;
}

.com-content-category-blog .readmore a {
  color: #e22940;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-width: 768px) {
  .com-content-category-blog {
    padding: 30px 20px;
  }

  .com-content-category-blog .blog-item {
    padding: 22px;
  }
}

/* AKTUELLES: SEITENÜBERSCHRIFT */

.com-content-category-blog > .page-header h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* DATUM GUT LESBAR MACHEN */

.com-content-category-blog .article-info,
.com-content-category-blog .article-info * {
  color: #bbbbbb !important;
  opacity: 1;
}

/* WEITERLESEN BUTTON */

.com-content-category-blog .readmore a {
  display: inline-block;
  background: #b10e20 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0;
  padding: 12px 24px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease;
}

.com-content-category-blog .readmore a:hover {
  background: #e22940 !important;
  color: #ffffff !important;
}

/* AKTUELLES - BEITRAGSBILDER */

.com-content-category-blog .blog-item .item-image {
  float: none !important;
  width: 100%;
  max-width: none;
  margin: 0 0 24px !important;
}

.com-content-category-blog .blog-item .item-image img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

/* MOBILE ANSICHT */

@media (max-width: 768px) {
  .com-content-category-blog .blog-item .item-image img {
    height: 190px;
  }
}

/* ÜBER UNS - VOLLE BREITE */

body:has(.mb-about) .site-grid >
.container-component {
  grid-column: full-start / full-end !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* HAUPTBEREICH */

.mb-about {
  background: #101010;
  color: #ffffff;
  padding: 90px 5%;
}

.mb-about-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* TITELBEREICH */

.mb-about-hero {
  border-left: 5px solid #b10e20;
  padding: 40px 0 55px 35px;
}

.mb-about-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 25px 0;
}

.mb-about-hero h1 span {
  color: #e22940;
}

.mb-about-lead {
  font-size: 1.3rem;
  color: #cccccc;
  max-width: 650px;
  line-height: 1.7;
}

/* VORSTELLUNG */

.mb-about-story {
  padding: 60px 0;
  max-width: 800px;
}

.mb-about-story h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.mb-about-story p {
  color: #bbbbbb;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* DREI WERTE */

.mb-about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mb-about-value {
  background: #202020;
  padding: 35px;
  border-top: 4px solid #b10e20;
}

.mb-about-value span {
  color: #e22940;
  font-weight: bold;
}

.mb-about-value h3 {
  font-size: 1.5rem;
  margin: 25px 0 15px;
}

.mb-about-value p {
  color: #bbbbbb;
  line-height: 1.7;
}

/* HANDY ANSICHT */

@media (max-width: 800px) {
  .mb-about {
    padding: 45px 24px;
  }

  .mb-about-hero {
    padding: 25px 0 35px 20px;
  }

  .mb-about-values {
    grid-template-columns: 1fr;
  }
}

/* BILDERGALERIE - VOLLE BREITE */

body:has(.mb-gallery) .site-grid >
.container-component {
  grid-column: full-start / full-end !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* GALERIE HAUPTBEREICH */

.mb-gallery {
  background: #101010;
  padding: 80px 5% 100px;
  color: #ffffff;
}

.mb-gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.mb-gallery-header {
  margin-bottom: 55px;
}

.mb-gallery-header h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  margin: 18px 0;
}

.mb-gallery-header h1 span {
  color: #e22940;
}

.mb-gallery-header > p:last-child {
  color: #bbbbbb;
  font-size: 1.2rem;
}

/* FOTORASTER */

.mb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mb-gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-top: 4px solid #b10e20;
  background: #222222;
}

.mb-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mb-gallery-item:hover img {
  transform: scale(1.05);
}

.mb-gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 35px 15px 15px;
  background: linear-gradient(
    transparent,
    rgba(0,0,0,0.85)
  );
  color: white;
  font-weight: 900;
  letter-spacing: 1px;
}

/* TABLET UND HANDY */

@media (max-width: 900px) {
  .mb-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mb-gallery-grid {
    grid-template-columns: 1fr;
  }

  .mb-gallery {
    padding: 45px 24px;
  }
}

/* GROSSBILDANSICHT */

.mb-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.mb-lightbox:target {
  display: flex;
}

.mb-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.mb-lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: 100%;
  text-align: center;
}

.mb-lightbox-panel img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mb-lightbox-close {
  display: inline-block;
  margin-bottom: 20px;
  background: #b10e20;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
}

.mb-lightbox-close:hover {
  background: #e22940;
  color: white;
}

.mb-lightbox-panel p {
  color: white;
  font-weight: bold;
  margin-top: 15px;
}

/* LIGHTBOX SCHLIESSEN-BUTTON */

.mb-lightbox-close {
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 10001;
  margin: 0;
  padding: 12px 20px;
  background: #b10e20;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 3px;
}

/* PLATZ FÜR DEN BUTTON */

.mb-lightbox-panel img {
  max-height: calc(100dvh - 145px);
}

/* KONTAKTSEITE */

body:has(.mb-contact) .site-grid >
.container-component {
  grid-column: full-start / full-end !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.mb-contact {
  background: #101010;
  min-height: 75vh;
  padding: 80px 5% 110px;
  color: #ffffff;
}

.mb-contact-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ÜBERSCHRIFT */

.mb-contact-header {
  margin-bottom: 55px;
}

.mb-contact-header h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  margin: 20px 0;
}

.mb-contact-header h1 span {
  color: #e22940;
}

.mb-contact-header > p:last-child {
  color: #bbbbbb;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* KONTAKTKARTEN */

.mb-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mb-contact-card {
  display: flex;
  flex-direction: column;
  background: #202020;
  border-top: 4px solid #b10e20;
  padding: 40px;
  min-width: 0;
  min-height: 270px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.mb-contact-card:hover {
  background: #2b2b2b;
}

.mb-contact-number {
  color: #e22940;
  font-weight: bold;
}

.mb-contact-card h2 {
  color: #ffffff;
  font-size: 1.8rem;
  margin: 25px 0 10px;
}

.mb-contact-card p {
  color: #cccccc;
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.mb-contact-card strong {
  color: #e22940;
  font-size: 0.9rem;
  margin-top: auto;
  padding-top: 25px;
}

.mb-contact-card:hover strong {
  color: #ffffff;
}

/* MOBILE ANSICHT */

@media (max-width: 768px) {
  .mb-contact {
    padding: 45px 24px 70px;
  }

  .mb-contact-grid {
    grid-template-columns: 1fr;
  }

  .mb-contact-card {
    padding: 25px;
    min-height: 220px;
  }
}

/* FOOTER - MITTELBLOCK WEHEN */

.container-footer {
  background: #171717;
  background-image: none;
  border-top: 4px solid #b10e20;
  color: #ffffff;
  padding: 0;
}

.container-footer .grid-child {
  width: 100%;
  max-width: none;
  display: block;
  padding: 0;
}

.container-footer .mod-custom {
  width: 100%;
}

.mb-site-footer {
  width: 100%;
  padding: 45px 5% 25px;
}

/* OBERER BEREICH */

.mb-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.mb-footer-brand strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.mb-footer-brand p {
  color: #aaaaaa;
  margin-top: 12px;
}

/* KONTAKTLINKS */

.mb-footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.mb-footer-links a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
}

.mb-footer-links a:hover {
  color: #e22940;
}

/* UNTERER BEREICH */

.mb-footer-bottom {
  max-width: 1200px;
  margin: 35px auto 0;
  padding-top: 20px;
  border-top: 1px solid #444444;
  color: #999999;
  font-size: 0.85rem;
}

/* HANDY ANSICHT */

@media (max-width: 768px) {
  .mb-footer-top {
    flex-direction: column;
    gap: 25px;
  }

  .mb-site-footer {
    padding: 35px 24px 25px;
  }

  .mb-footer-links {
    gap: 20px;
  }

  .mb-footer-brand strong {
    font-size: 1.25rem;
  }
}

/* FOOTER - RECHTLICHE LINKS */

.mb-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.mb-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.mb-footer-legal a {
  color: #aaaaaa;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.mb-footer-legal a:hover {
  color: #e22940;
}

/* IMPRESSUM */

.mb-legal {
  max-width: 1050px;
  margin: 0 auto;
  padding: 65px 30px 100px;
  color: #cccccc;
}

.mb-legal h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 60px;
}

.mb-legal h1 span {
  color: #e22940;
}

.mb-legal h2 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 900;
  border-left: 4px solid #b10e20;
  padding-left: 20px;
  margin: 45px 0 20px;
}

.mb-legal p {
  line-height: 1.9;
  font-size: 1rem;
}

.mb-legal a {
  color: #e22940;
  overflow-wrap: anywhere;
}

/* MOBILE OPTIMIERUNG */

@media (max-width: 991px) {

  .container-header {
    display: block;
    padding: 15px 20px;
  }

  .container-header .navbar-brand a {
    font-size: 1.3rem;
  }

  .container-header .container-nav {
    width: 100%;
    padding: 10px 0;
  }

  .mb-hero h1 {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .mb-about-hero h1 {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .mb-legal h1 {
    font-size: clamp(2.1rem, 9vw, 4rem);
    overflow-wrap: break-word;
  }

  .mb-contact-header h1,
  .mb-gallery-header h1 {
    font-size: clamp(2.1rem, 9vw, 4rem);
  }
}

/* MOBILER HEADER - MITTELBLOCK WEHEN */

@media (max-width: 991.98px) {

  .container-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px !important;
    position: relative;
  }

  /* GRUPPENNAME LINKS */

  .container-header > .grid-child:has(.navbar-brand) {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .container-header .navbar-brand {
    margin: 0;
  }

  .container-header .navbar-brand a {
    font-size: clamp(0.95rem, 4.3vw, 1.3rem) !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  /* HAMBURGER RECHTS */

  .container-header > .container-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: auto !important;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    position: static;
  }

  .container-header .container-nav nav.navbar {
    position: static;
    padding: 0;
    margin: 0;
  }

  .container-header .navbar-toggler {
    position: static;
    margin: 0 !important;
    width: 44px;
    height: 44px;
    border: 1px solid #555555;
    border-radius: 3px;
  }

  /* AUSKLAPPBARES MENÜ */

  .container-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 20px;
    background: #181818;
    border-bottom: 3px solid #b10e20;
  }

  .container-header .navbar-collapse .mod-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .container-header .navbar-collapse .mod-menu a {
    display: block;
    padding: 12px 4px;
    font-size: 0.95rem;
  }
}

/* MOBILES MENÜ KOMPAKTER */

@media (max-width: 991.98px) {

  .container-header .navbar-collapse {
    padding: 10px 18px 14px !important;
    background: #181818;
  }

  .container-header .navbar-collapse .mod-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: stretch;
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container-header .navbar-collapse
  .mod-menu > li {
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container-header .navbar-collapse
  .mod-menu > li > a {
    display: block;
    padding: 13px 10px !important;
    line-height: 1.3 !important;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .container-header .navbar-collapse
  .mod-menu > li + li {
    border-top: 1px solid #303030;
  }

}

/* FEINSCHLIFF MOBILES MENÜ */

@media (max-width: 991.98px) {

  .container-header .navbar-collapse {
    padding: 0 16px 10px !important;
  }

  .container-header .navbar-collapse
  .mod-menu > li > a {
    padding: 10px 8px !important;
    line-height: 1.3 !important;
  }

  .container-header .navbar-collapse
  .mod-menu > li + li {
    border-top: 1px solid #333333;
  }
}

/* MOBILE INHALTE OPTIMIEREN */

@media (max-width: 767px) {

  /* STARTSEITENKARTEN */

  .mb-sections {
    padding: 45px 20px 60px;
  }

  .mb-section-heading h2 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .mb-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .mb-card {
    min-height: 220px;
    padding: 25px;
  }

  /* BILDERGALERIE */

  .mb-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .mb-gallery-item {
    aspect-ratio: 4 / 3;
  }

  /* KONTAKT */

  .mb-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* ÜBER UNS */

  .mb-about-values {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* MITTELBLOCK WEHEN – SPIELTAGSKARTEN */

.saison-karten .blog-item {
    background: #202020;
    border-top: 4px solid #c8102e;
    padding: 18px;
    height: 100%;
    box-sizing: border-box;
    transition: transform .2s ease;
}

.saison-karten .blog-item:hover {
    transform: translateY(-5px);
}

/* Große, gleichmäßige Bilder */
.saison-karten .blog-item .item-image {
    float: none !important;
    width: 100%;
    margin: 0 0 16px !important;
}

.saison-karten .blog-item .item-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Kleinere Spielbegegnungen */
.saison-karten .blog-item h2,
.saison-karten .blog-item .item-title {
    font-size: 23px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    margin: 0 !important;
}

.saison-karten .blog-item h2 a {
    color: white !important;
    text-decoration: none;
}

.saison-karten .blog-item h2 a:hover {
    color: #e21b36 !important;
}

/* Weiterlesen ausblenden */
.saison-karten .blog-item .readmore {
    display: none !important;
}

/* Smartphones */
@media (max-width: 767px) {
    .saison-karten .blog-item {
        padding: 14px;
    }

    .saison-karten .blog-item h2,
    .saison-karten .blog-item .item-title {
        font-size: 20px !important;
    }
}

/* SPIELTAGSÜBERSICHT */

.com-content-category-blog .blog-item {
  padding: 20px;
}

.com-content-category-blog .blog-item
.item-image {
  width: 100%;
  margin: 0 0 18px !important;
}

.com-content-category-blog .blog-item
.item-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.com-content-category-blog .blog-item h2 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
  overflow-wrap: break-word;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .com-content-category-blog .blog-item
  .item-image img {
    height: 210px;
  }
}

/* SAISONÜBERSICHT KARTEN KORRIGIEREN */

.com-content-category-blog .blog-item {
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

.com-content-category-blog .blog-item h2,
.com-content-category-blog .blog-item h2 a {
  font-size: 1.35rem !important;
  line-height: 1.3;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.com-content-category-blog .blog-item
.item-image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.com-content-category-blog .blog-item
.item-image {
  margin-bottom: 18px !important;
}

/* ZURÜCK ZUR SAISON */

.mb-gallery-back {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid #333333;
}

.mb-gallery-back a {
  display: inline-block;
  background: #b10e20;
  color: #ffffff !important;
  padding: 14px 24px;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 0.2s ease;
}

.mb-gallery-back a:hover {
  background: #e22940;
}

/* GRUPPENLOGO IM HEADER */

.container-header .navbar-brand a {
  display: inline-flex;
  align-items: center;

  min-height: 68px;
  padding-left: 78px;

  background-image:
    url('/images/Mittelblock/mittelblock-logo.jpg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 66px 66px;

  text-decoration: none !important;
}

/* GRUPPENLOGO MOBIL */

@media (max-width: 991.98px) {

  .container-header .navbar-brand a {
    min-height: 46px;
    padding-left: 54px;

    background-size: 46px 46px;

    font-size: clamp(
      0.85rem, 3.7vw, 1.1rem
    ) !important;

    letter-spacing: 0 !important;
  }

}

/* GRUPPENLOGO STARTSEITE */

.mb-logo-intro {
  background: #101010;
  padding: 55px 20px 10px;
  text-align: center;
}

.mb-logo-intro img {
  display: block;
  width: min(310px, 70vw);
  height: auto;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .mb-logo-intro {
    padding-top: 35px;
  }

  .mb-logo-intro img {
    width: min(220px, 65vw);
  }
}

/* GRUPPENLOGO GRÖSSE OPTIMIEREN */

@media (min-width: 992px) {
  .container-header .navbar-brand a {
    min-height: 90px;
    padding-left: 105px;
    background-size: 90px 90px;
    background-position: left center;
  }
}

/* SMARTPHONE */

@media (max-width: 991.98px) {
  .container-header .navbar-brand a {
    min-height: 52px;
    padding-left: 60px;
    background-size: 52px 52px;
  }
}

/* ANKLICKBARE STARTSEITENKARTEN */

.mb-card-grid > a.mb-card,
.mb-card-grid > a.mb-card:visited {
  display: flex;
  flex-direction: column;
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer;
}

.mb-card-grid > a.mb-card h3 {
  color: #ffffff;
}

.mb-card-grid > a.mb-card p {
  color: #bbbbbb;
}

.mb-card-grid > a.mb-card:hover {
  background: #2a2a2a;
  border-top-color: #e22940;
}

.mb-card-grid > a.mb-card:hover
.mb-card-label {
  color: #ffffff;
}

.mb-card-grid > a.mb-card:focus-visible {
  outline: 3px solid #e22940;
  outline-offset: 4px;
}

/* UNTERSTREICHUNGEN IN KARTEN ENTFERNEN */

body.site .mb-card-grid > a.mb-card,
body.site .mb-card-grid > a.mb-card:visited,
body.site .mb-card-grid > a.mb-card:hover,
body.site .mb-card-grid > a.mb-card * {
  text-decoration: none !important;
}

/* KARTEN WEITERHIN ANKLICKBAR */

.mb-card-grid > a.mb-card {
  cursor: pointer;
}

.mb-card-grid > a.mb-card:hover {
  background: #292929;
}

/* ROTEN LINKTEXT BEIBEHALTEN */

.mb-card-grid .mb-card-label {
  color: #e22940 !important;
  font-weight: 800;
}

/* STARTSEITENKARTEN OHNE UNTERSTREICHUNG */

body.site .mb-card-grid a.mb-card,
body.site .mb-card-grid a.mb-card:link,
body.site .mb-card-grid a.mb-card:visited,
body.site .mb-card-grid a.mb-card:hover,
body.site .mb-card-grid a.mb-card *,
body.site .mb-card-grid a.mb-card:hover * {
  text-decoration: none !important;
}

/* SCHRIFTFARBEN BEIBEHALTEN */

.mb-card-grid a.mb-card h3 {
  color: #ffffff !important;
}

.mb-card-grid a.mb-card p {
  color: #bbbbbb !important;
}

.mb-card-grid a.mb-card .mb-card-label,
.mb-card-grid a.mb-card .mb-card-number {
  color: #e22940 !important;
}

/* FRONTEND-BEARBEITUNG AUSBLENDEN */

body.site .icons,
body.site .com-content-article__edit,
body.site .com-content-category-blog .icons,
body.site .edit-icon {
  display: none !important;
}

/* NEUER BEITRAG BUTTON AUSBLENDEN */

.com-content-category-blog > a.btn.btn-primary {
  display: none !important;
}

/* MITTELBLOCK WEHEN - HEADER SCHRIFT */

.container-header .navbar-brand a {
  font-family: Impact, "Arial Narrow",
               "Arial Black", sans-serif !important;

  font-size: clamp(1.5rem, 2.2vw, 2.1rem) !important;
  font-weight: 900 !important;
  font-style: normal;
  text-transform: uppercase;

  letter-spacing: 1.4px !important;
  line-height: 1.1;

  color: #ffffff !important;
  text-shadow: 1px 1px 0 #333333;

  text-decoration: none !important;
  white-space: nowrap;
}

/* SMARTPHONE */

@media (max-width: 991.98px) {
  .container-header .navbar-brand a {
    font-size: clamp(0.95rem, 3.7vw, 1.2rem)
      !important;
    letter-spacing: 0.5px !important;
  }
}

/* HEADER SCHRIFTZUG VERGRÖSSERN */

@media (min-width: 992px) {

  .container-header .navbar-brand a {
    font-size: clamp(1.7rem, 2.5vw, 2.35rem) !important;
    letter-spacing: 1.8px !important;
    font-weight: 900 !important;
    line-height: 1.1;
    white-space: nowrap;
  }

}
