/* ═══════════════════════════════════════════════════════════════
   Meierei Heute im Ausschank – Frontend
   Farben: #003B8D · Weiß · Schwarz
   ═══════════════════════════════════════════════════════════════ */

/* ── Abschnitts-Header ──────────────────────────────────────────── */
.mas-section {
    font-family: inherit;
    box-sizing: border-box;
}
.mas-section-header {
    margin-bottom: 24px;
}
.mas-section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #003B8D !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    line-height: 1.2;
}
.mas-section-subtitle {
    font-size: .9rem;
    color: #555555;
    margin: 0 !important;
    line-height: 1.5;
}

/* ── 2-Spalten-Grid ─────────────────────────────────────────────── */
.mas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
/* Tablet: bleibt 2-spaltig */
@media (max-width: 900px) {
    .mas-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
/* Smartphone: 1-spaltig */
@media (max-width: 600px) {
    .mas-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Bier-Karte ─────────────────────────────────────────────────── */
.mas-card {
    background: #ffffff;
    border: 1.5px solid #e0e6ef;
    border-top: 3px solid #003B8D;
    border-radius: 6px;
    padding: 20px 18px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: box-shadow .2s, transform .2s;
    box-shadow: 0 2px 10px rgba(0,59,141,.06);
}
.mas-card:hover {
    box-shadow: 0 6px 24px rgba(0,59,141,.13);
    transform: translateY(-2px);
}

/* ── Bierglas-Container ─────────────────────────────────────────── */
.mas-glass-wrap {
    flex-shrink: 0;
    width: 64px;
}
.mas-bierglas {
    width: 64px;
    height: auto;
    display: block;
    overflow: visible;
}

/* ── Blasen-Animation ───────────────────────────────────────────── */
.mas-bub {
    animation: mas-steige 3s ease-in infinite;
    transform-box:    fill-box;
    transform-origin: center bottom;
}
.mas-bub--a { animation-duration: 2.9s; animation-delay: 0.0s; }
.mas-bub--b { animation-duration: 2.4s; animation-delay: 1.1s; }
.mas-bub--c { animation-duration: 3.3s; animation-delay: 2.0s; }
.mas-bub--d { animation-duration: 2.7s; animation-delay: 0.6s; }

@keyframes mas-steige {
    0%   { transform: translateY(0);      opacity: 0.65; }
    15%  { opacity: 0.55; }
    85%  { opacity: 0.25; }
    100% { transform: translateY(-44px);  opacity: 0; }
}

/* Schaum-Puls (sanftes Pulsieren der Bierblume) */
.mas-bierglas:hover .mas-bub {
    animation-duration: 1.8s;
}

/* ── Karten-Inhalt ──────────────────────────────────────────────── */
.mas-card-body {
    flex: 1;
    min-width: 0;
}

/* Bier-Name */
.mas-bier-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #003B8D;
    line-height: 1.3;
    margin-bottom: 5px;
    text-decoration: none !important;
    word-break: break-word;
}
a.mas-bier-name:hover {
    color: #0050c0;
    text-decoration: underline !important;
}

/* Meta-Zeile (Stw. · Alk.) */
.mas-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}
.mas-meta-item {
    font-size: .78rem;
    color: #555555;
    font-weight: 500;
    background: #e8eef9;
    color: #003B8D;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: .02em;
    white-space: nowrap;
}
.mas-meta-sep {
    color: #bbbbbb;
    font-size: .85rem;
}

/* Beschreibung */
.mas-beschreibung {
    font-size: .88rem;
    color: #111111;
    line-height: 1.55;
    margin: 0 0 5px !important;
}

/* Zusatz */
.mas-zusatz {
    font-size: .8rem;
    color: #666666;
    font-style: italic;
    margin: 0 !important;
    line-height: 1.4;
}

/* Leer-State */
.mas-empty {
    text-align: center;
    color: #888888;
    font-style: italic;
    padding: 30px 0;
    font-size: .9rem;
}

/* ── Responsive Karten-Layout ───────────────────────────────────── */
@media (max-width: 480px) {
    .mas-card          { padding: 16px 14px; gap: 13px; }
    .mas-glass-wrap    { width: 52px; }
    .mas-bierglas      { width: 52px; }
    .mas-bier-name     { font-size: .93rem; }
    .mas-beschreibung  { font-size: .84rem; }
    .mas-section-title { font-size: 1.3rem; }
}
