/* file: www/style/mobil.css */
/* ==========================================================================
   Mobile-Feinanpassungen (bis 1100px, via <link media>)
   ========================================================================== */

/* Planliste mobil lesbarer darstellen */
.today.card{
  margin-top: 8px;
}

.list-plan{
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-plan li{
  display: grid;
  grid-template-columns: 36px 56px 1fr auto auto;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.list-plan .day{
  font-weight: 700;
}

/* Icons in Kacheln etwas größer */
.tile i{
  font-size: 24px;
}

/* Admin-Bar: Mobile kompakt (bis 1100px) */
@media (max-width: 1100px){
  .admin-bar{
    gap: 6px;
    padding: 4px 6px;
  }

  /* Texte ausblenden: "Admin", Link-Beschriftungen, Debug-Pill, Stats-Button */
  .admin-bar .ab-title,
  .admin-bar .ab-link span,
  .admin-bar .ab-pill,
  .admin-bar .ab-stats{
    display: none !important;
  }

  /* Separatoren weg, nur Icons lassen */
  .admin-bar .ab-sep{
    display: none !important;
  }

  /* Touch-Ziel ausreichend groß halten */
  .admin-bar .ab-link{
    padding: 6px;
  }
  .admin-bar .ab-link i{
    font-size: 14px;
    width: auto;
  }
}



.ref-teaser {
    margin: 1.5rem 0;
}

.ref-teaser-inner {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem 1.2rem;
    background: #fafafa;
}

.ref-teaser-header {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.4rem;
}

.ref-teaser-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: #df2334;
    color: #fff;
}

.ref-teaser-category {
    font-size: 0.8rem;
    color: #666;
}

.ref-teaser-title {
    font-size: 1.1rem;
    margin: 0.2rem 0 0.4rem;
}

.ref-teaser-title a {
    text-decoration: none;
}

.ref-teaser-title a:hover {
    text-decoration: underline;
}

.ref-teaser-text {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
}

.ref-teaser-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: #666;
}

.ref-teaser-link {
    margin-left: auto;
    font-size: 0.85rem;
    text-decoration: none;
}

/* Liste */
.ref-list {
    margin: 2rem 0;
}

.ref-list-header h2 {
    margin-bottom: 0.2rem;
}

.ref-list-subtitle {
    margin-top: 0;
    font-size: 0.9rem;
    color: #666;
}

.ref-list-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.ref-list-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem 1.2rem;
    background: #fff;
}

.ref-list-title {
    margin: 0 0 0.3rem;
}

.ref-list-title a {
    text-decoration: none;
}

.ref-list-title a:hover {
    text-decoration: underline;
}

.ref-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.4rem;
}

.ref-list-teaser {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
}

.ref-list-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.ref-list-link {
    font-size: 0.85rem;
    text-decoration: none;
}
