:root{
  --lbs-blue: #0b2a4a;
  --lbs-yellow: #f3c400;
}

/* Sticky Header */
#header.section{
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 4px solid var(--lbs-yellow);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

#header.scrolled{
    height: 3.5rem !important;
    padding-top: 5px;
}

#header nav.dropmenu > ul{
  display:flex;
  gap:28px;
  margin:0;
  padding:0;
  list-style:none;
}

#header nav.dropmenu a{
  color: var(--lbs-blue);
  font-weight: 700;
  text-decoration:none;
  padding: 8px 0;
}

#header nav.dropmenu a:hover{
  color: var(--lbs-yellow);
}

#header nav.dropmenu a.active{
  color: var(--lbs-yellow);
  border-bottom: 2px solid var(--lbs-yellow);
}

.lbs-footer{
  background: var(--lbs-blue);
  color: #fff;
  margin-top: 10px;
  padding-top: 12px;
}

.lbs-footer p{
    font-size: 10pt !important;
    margin: 0;
}

.lbs-footer-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:40px;
  padding-bottom: 10px;
}

.lbs-footer h4{
  margin-bottom: 12px;
  font-weight:600;
  color:#fff;
}

.lbs-footer a{
  color: var(--lbs-yellow);
  text-decoration:none;
}

.lbs-footer a:hover{
  text-decoration:underline;
}

.lbs-footer-bottom{
  border-top:1px solid rgba(255,255,255,.2);
  padding:5px 0;
  font-size:0.65rem;
  opacity:.8;
}

p.sponsoring {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

p.sponsoring img {
  max-height: 30px;
  object-fit: contain;
}
/* =========================
   Bundessommerspiele Home
   ========================= */

#body-wrapper .container {
  padding: 1rem 0 2rem;
}

.bssl-home .container {
    max-width: 1150px;
}

.header-fixed #body-wrapper {
  padding-top: 1rem;
}

.bssl-home .content {
    padding-top: 1rem;
}

.bssl-home h1,
.bssl-home > h1 {
    display: none;
}

/* Hero */
.bssl-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: center;
    margin: 1rem 0 3rem 0;
    padding: 2rem;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    border: 1px solid #dbe6f2;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 59, 120, 0.08);
}

.bssl-hero-logo {
    text-align: center;
}

.bssl-hero-logo img {
    max-width: 420px;
    width: 100%;
    height: auto;
}

.bssl-hero-text h1 {
    display: block;
    font-size: 2.6rem;
    line-height: 1.15;
    margin: 0 0 0.6rem 0;
    color: #0f3b78;
}

.bssl-claim {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #d4a300;
    margin-bottom: 1rem;
}

.bssl-hero-text p {
    font-size: 1.05rem;
    line-height: 1.75;
}

.bssl-intro-actions {
    margin-top: 1.5rem;
}

/* Buttons */
.bssl-home .button {
    background: #0f3b78;
    border: 1px solid #0f3b78;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bssl-home .button:hover {
    background: #124892;
    border-color: #124892;
    color: #fff;
}

.bssl-home .button.button-outline {
    background: transparent;
    color: #0f3b78;
    border: 1px solid #0f3b78;
}

.bssl-home .button.button-outline:hover {
    background: #0f3b78;
    color: #fff;
}

/* Section headings */
.bssl-home h2 {
    margin-top: 2.7rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 6px solid #0f3b78;
    color: #0f3b78;
    font-size: 1.7rem;
}

.bssl-home h3 {
    color: #0f3b78;
    margin-top: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Bewerbe */
.bssl-sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0 2.5rem 0;
}

.bssl-sport-card {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-top: 6px solid #0f3b78;
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 8px 22px rgba(15, 59, 120, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bssl-sport-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 59, 120, 0.1);
}

.bssl-sport-card img {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.bssl-sport-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.bssl-sport-card p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.98rem;
}

/* Text sections */
.bssl-home p {
    line-height: 1.75;
    font-size: 1.03rem;
}

.bssl-bottom-action {
    text-align: center;
    margin-top: 2.5rem;
}

/* Responsive */
@media (max-width: 840px) {
    .bssl-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bssl-sports-grid {
        grid-template-columns: 1fr;
    }

    .bssl-hero-text h1 {
        font-size: 2.1rem;
    }
    
    #header .navbar-section.desktop-menu {
        display: grid !important;
    }

    .dropmenu {
        display: grid !important;
  }

    p.sponsoring img {
    max-height: 20px;
    object-fit: contain;
    }
}


/* =========================
   Bundessommerspiele Programm
   ========================= */

.bssl-programm .container {
    max-width: 980px;
}

.bssl-programm h2 {
    margin-top: 2.4rem;
    margin-bottom: 0.8rem;
    padding: 0.7rem 1rem;
    background: linear-gradient(90deg, #0f3b78 0%, #1c5bb0 100%);
    color: #fff;
    border-radius: 10px;
    font-size: 1.45rem;
}

.bssl-programm h3 {
    color: #d4a300;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

.bssl-programm ul:not(.navigation) {
    background: #f8fbff;
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    padding: 1.2rem 1.4rem 1.2rem 2rem;
    margin-bottom: 1rem;
}

.bssl-programm li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.bssl-programm-sports {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 2rem 0;
}

.bssl-programm-sport {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    padding: 1rem;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(15, 59, 120, 0.06);
}

.bssl-programm-sport img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 0.5rem auto;
    display: block;
}

.bssl-programm-sport span {
    display: block;
    font-weight: 700;
    color: #0f3b78;
}
