/* =========================
   SPD – Mobile & Tablet
   Datei: css/spd-index-mobile.css
   ========================= */

@media (max-width: 1100px){

  .spd-page .layout{
    grid-template-columns: 1fr;
    padding: 0;
    gap: 14px;
  }

  /* Sidebar auf Handy/Tablet aus */
  .spd-page .sidebar{
    display: none;
  }

  .spd-page .content{
    max-width: none;
    margin: 0;
    padding: 12px;
  }

  /* Mobile Titel (wenn du ihn auf manchen Seiten nicht willst,
     unten gibt es Extra-Regeln pro Seite) */
  .spd-page .mobile-title{
    display: block;
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px;
  }

  /* ===== Hero ===== */
  .spd-page .hero{
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .spd-page .hero img{
    width: 100%;
    height: auto;
    max-height: 75vh;
    margin: 0 auto;
  }

  /* ===== Mobile Grid ===== */
  .spd-page .mobile-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .spd-page .mobile-nav a,
  .spd-page .mobile-actions a{
    display: block;
    padding: 7px 10px;
    margin-bottom: 5px;
    border-radius: 10px;
    text-decoration: none;
    background: #eaf4ff;
    border: 1px solid #9bbce0;
    font-size: 14px;
    color: inherit;
  }

  .spd-page .mobile-actions{
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  /* ===== Möllmann-Box am Handy: hellblau, groß, KEIN rot ===== */
  .spd-page .moellmann-card--mobile{
    grid-column: 1 / -1;     /* über beide Spalten */
    display: grid;
    gap: 10px;
    justify-items: center;

    padding: 14px 14px;
    border-radius: 14px;

    background: #eaf4ff;
    border: 1px solid #9bbce0;
    text-decoration: none;
    color: #111;
  }

  .spd-page .moellmann-card--mobile .moellmann-text{
    text-align: left;
    width: 100%;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
  }

  .spd-page .moellmann-card--mobile .moellmann-img{
    width: 110px;
    height: 110px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(0,0,0,0.1);
  }
}

/* ===== Tablet-Feinschliff (601–900px): Bild nicht mehr full-bleed ===== */
@media (min-width: 601px) and (max-width: 900px){
  .spd-page .hero{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .spd-page .hero img{
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* ===== Optional: Mobile-Titel auf bestimmten Seiten ausblenden =====
   (weil du "SPD-Ortsverein Aßling" am Handy dort nicht willst) */
@media (max-width: 1100px){
  .spd-page.kreistag-page .mobile-title,
  .spd-page.gemeinde-page .mobile-title{
    display: none;
  }
}
