/* =========================================================
   STARTSEITE: ALLGEMEINE BASIS
   ========================================================= */

/* Etwas mehr Luft nach oben/unten im Hauptbereich */
#t4-main-body {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

/* Hero näher an das Menü schieben */
#t4-hero {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Falls der Header Abstand nach unten hat */
#t4-header {
  margin-bottom: 0 !important;
}

/* =========================================================
   1) FEATURED-ARTIKEL OBEN
   ========================================================= */

/* Karte für den oberen Featured-Artikel */
.blog-featured .items-leading .blog-item .blog-item-content {
  background: #fffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

/* Hover-Effekt für Featured-Artikel */
.blog-featured .items-leading .blog-item:hover .blog-item-content {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

/* Optionales Bild im Featured-Artikel */
.blog-featured .items-leading .blog-item .blog-item-content img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  transition: transform 0.35s ease;
}

.blog-featured .items-leading .blog-item:hover img {
  transform: scale(1.05);
}


/* =========================================================
   2) DREI-SPALTEN-ARTIKEL (MASONRY-GRID)
   ========================================================= */

/* Grundlegende Karten-Optik für alle Artikel-Karten unten */
.blog-featured .blog-items .item .item-inner {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Hover-Effekt für Karten unten */
.blog-featured .blog-items .item:hover .item-inner {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

/* Bild in den Karten unten */
.blog-featured .blog-items .item .item-inner figure.item-image img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  transition: transform 0.35s ease;
}

.blog-featured .blog-items .item:hover figure.item-image img {
  transform: scale(1.05);
}

/* -------- Flex-Layout in den Karten für möglichst gleiche Optik -------- */

/* Jede .item als Flex-Container (hilft bei gleicher Höhe) */
.blog-featured .blog-items .item {
  display: flex;
}

/* gesamte Karte als Flex-Spalte */
.blog-featured .blog-items .item-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}

/* Bild oben normal im Fluss (falls Template float verwendet) */
.blog-featured .blog-items .item-inner figure.item-image {
  float: none;
  width: 100%;
  margin: 0 0 10px 0;
}

/* Textbereich nimmt den verfügbaren Platz ein */
.blog-featured .blog-items .item-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Intro-Text darf sich strecken */
.blog-featured .blog-items .item-intro {
  flex: 1;
}

/* Weiterlesen-Link nach unten drücken */
.blog-featured .blog-items .readmore {
  margin-top: auto;
}

/* Optionale, einheitliche Mindesthöhe der Karten – bei Bedarf anpassen */
@media (min-width: 992px) {
  .blog-featured .blog-items .item-inner {
    min-height: 520px; /* bei Bedarf höher/niedriger stellen */
  }
}

/* Auf kleineren Bildschirmen weniger Höhe erforderlich */
@media (max-width: 991.98px) {
  .blog-featured .blog-items .item-inner {
    min-height: 0; /* Mobil ruhig dynamisch nach Inhalt */
  }
}


/* =========================================================
   3) EINHEITLICHER READ-MORE BUTTON (OBEN + UNTEN)
   ========================================================= */

/* Alle Varianten abdecken: Featured + Masonry */
.blog-featured .readmore a,
.blog-items .readmore a,
.blog-featured .btn-readmore,
.blog-items .btn-readmore {
  background: #4a4aff !important;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

/* Hover */
.blog-featured .readmore a:hover,
.blog-items .readmore a:hover,
.blog-featured .btn-readmore:hover,
.blog-items .btn-readmore:hover {
  background: #2a2adf !important;
  transform: translateY(-2px);
}


/* =========================================================
   4) BUTTON "MEHR LADEN…" (INFINITE SCROLL)
   ========================================================= */

#infinity-next.btn.btn-more.btn-outline-dark {
  background-color: #2a2adf !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  text-align: center !important;
  cursor: pointer !important;
}

/* Hover-Effekt für den Button */
#infinity-next.btn.btn-more.btn-outline-dark:hover {
  background-color: #1a1acf !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 255, 0.3) !important;
}

/* Aktiver Zustand (Klick) */
#infinity-next.btn.btn-more.btn-outline-dark:active {
  transform: translateY(0) !important;
}

/* Fokus-Zustand (für Barrierefreiheit) */
#infinity-next.btn.btn-more.btn-outline-dark:focus {
  outline: 2px solid #1a1acf !important;
  outline-offset: 2px !important;
}

/* =========================================================
   5) HERO-BEREICH BLASKAPELLE SCHWEGE
   ========================================================= */

:root {
  --bks-rot:    #CC1F1F;
  --bks-gold:   #E8C027;
  --bks-lila:   #3D2B9E;
  --bks-dunkel: #1A1A1A;
  --bks-weiss:  #FFFFFF;
}

.hero-bks {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  color: var(--bks-weiss);
  text-align: left;
  padding: 5rem 1.5rem;
  box-sizing: border-box;
  background:
    linear-gradient(
      135deg,
      rgba(61, 43, 158, 0.45) 0%,
      rgba(26, 26, 26, 0.35) 100%
    ),
    url("/images/bks-ab18.jpg") center center / cover no-repeat;
  overflow: hidden;
}

/* Goldene Akzentlinie links */
.hero-bks::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(
    to bottom,
    var(--bks-gold),
    var(--bks-rot)
  );
}

.hero-bks-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-bks-text {
  max-width: 650px;
}

/* Kicker */
.hero-bks-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bks-gold);
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(232, 192, 39, 0.4);
  border-radius: 3px;
}

/* Headline */
.hero-bks-text h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem 0;
  color: var(--bks-weiss);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Akzent auf "verbindet" */
.hero-bks-text h1 span {
  color: var(--bks-gold);
}

/* Unterzeile */
.hero-bks-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}

/* Button-Gruppe */
.hero-bks-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Primär-Button */
.hero-btn-primary {
  display: inline-block;
  background: var(--bks-rot);
  color: var(--bks-weiss) !important;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-btn-primary:hover {
  background: #a81818;
  transform: translateY(-2px);
}

/* Sekundär-Button */
.hero-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--bks-weiss) !important;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  border: 2px solid rgba(255,255,255,0.6);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hero-btn-secondary:hover {
  border-color: var(--bks-gold);
  color: var(--bks-gold) !important;
  transform: translateY(-2px);
}

/* Mobil */
@media (max-width: 768px) {
  .hero-bks {
    min-height: 90vh;
    text-align: center;
    padding: 4rem 1.2rem;
  }
  .hero-bks-text {
    max-width: 100%;
  }
  .hero-bks-buttons {
    justify-content: center;
  }
}

/* Menüs */
._menu .nav {
    display: flex;
    flex-direction: row;
    list-style: none;
}
._menu .nav > li {
    display: inline-block;
    margin-right: 20px;
}

/* Masthead (der graue Bereich über dem Menü) */
.masthead {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}


#Mod1.top-large {
    padding-top: 0.5rem !important;
}

#Mod1.bottom-large {
    padding-bottom: 0.5rem !important;
}

#Mod1 .navbar .nav-link {
    padding: 0.1rem 1rem !important;
}

/* Dropdown on Hover */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
  .navbar .nav-item.dropdown > .dropdown-menu {
    margin-top: 0;
  }
}

/* Artikel linksbündig */
.item-page .article-content p,
.item-page h1,
.item-page p {
  text-align: left !important;
}

/* Topbar gelb einfärben */
#t4-topbar {
  background-color: #ffd500 !important; /* schönes, warmes Gelb */
  color: #000 !important;               /* Textfarbe anpassen */
}


.social-icon-btn {
  background: #2e2e2e;
  color: #fff !important;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.social-icon-btn:hover {
  background: #E1306C;
  color: #fff !important;
}

/* Abstand oben im Hero-Modul entfernen */
#Mod123.t4-mod-wrap {
    padding-top: 0 !important;
}