/* =========================
   SPD – Mobile & Tablet
   Ziel: wie altes Layout in Bild 2
   ========================= */

@media (max-width: 1100px){

  /* Gesamtlayout auf 1 Spalte */
  .spd-page .layout{
    display: block;
    padding: 0;
    gap: 0;
    min-height: auto;
  }

  /* GANZ wichtig:
     sowohl den geladenen Container als auch echte Sidebar ausblenden */
  #sidebar,
  .sidebar,
  .spd-page .sidebar{
    display: none !important;
  }

  /* Inhalt */
  .spd-page .content{
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 12px;
  }

  /* Überschrift oben */
  .spd-page .mobile-title{
    display: block;
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px 0;
  }

  /* Bildbereich */
  .spd-page .hero{
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .spd-page .hero img,
  .spd-page #titelbild{
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  /* mobiler Bereich sichtbar */
  .spd-page .mobile-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
    align-items: start;
  }  

  .spd-page .mobile-nav a:hover,
  .spd-page .mobile-actions a:hover{
    background: #f4f7fd;
  }
}

/* Tablet fein */
@media (min-width: 601px) and (max-width: 900px){
  .spd-page .hero img,
  .spd-page #titelbild{
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* kleinere Handys */
@media (max-width: 600px){

  .spd-page .content{
    padding: 10px;
  }

  .spd-page .mobile-title{
    font-size: 22px;
    margin-bottom: 8px;
  }

  .spd-page .mobile-grid{
    gap: 10px;
  }

  .spd-page .mobile-actions h2{
    font-size: 22px;
    margin-bottom: 10px;
  }

  .spd-page .mobile-nav a,
  .spd-page .mobile-actions a{
    font-size: 13px;
    padding: 8px 8px;
    margin-bottom: 7px;
    border-radius: 10px;
  }
}
@media (max-width: 1100px){

  #mobile-nav2{
    display: block;
    width: 100%;
    margin-top: 14px;
  }

  .spd-page .mobile-grid--navonly{
    display: block;
    margin-top: 0;
  }

  .spd-page .mobile-nav--2col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1cm;
    align-items: stretch;
  }

  .spd-page .mobile-nav--2col > a{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin: 0;
    text-align: center;
  }
}
   @media (max-width: 900px){

  .kreistag-page .kreistag-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1cm !important;
  }

  .kreistag-page .kreistag-card-wrap{
    margin: 0 !important;
  }
}
