/* Frischmarkt Angebote – alles unter .fma, nimmt Schrift und Textfarbe vom Theme */
.fma {
    --fma-akzent-std: #1f4fa3;
    --fma-rot: #d9381e;
    --fma-rand: #e4e7ec;
    --fma-grau: #5b6472;
    --fma-flaeche: #ffffff;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: inherit;
    font-family: inherit;
}
.fma *, .fma *::before, .fma *::after { box-sizing: border-box; }

.fma__kopf { text-align: center; margin: 0 0 1.75rem; }
.fma__titel { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; }
.fma__unter { margin: .5rem 0 0; color: var(--fma-grau); font-size: 1.05rem; }
.fma__leer { text-align: center; color: var(--fma-grau); }

.fma__gruppe + .fma__gruppe { margin-top: 2.25rem; }
.fma__gruppenname {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--fma-grau);
    display: flex;
    align-items: center;
    gap: .9rem;
}
.fma__gruppenname::after { content: ""; flex: 1; height: 1px; background: var(--fma-rand); }

.fma__raster {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.1rem;
}

.fma__karte {
    --fma-akzent: var(--fma-akzent-std);
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.1rem 1.1rem 1.2rem;
    background: var(--fma-flaeche);
    border: 1px solid var(--fma-rand);
    border-top: 5px solid var(--fma-akzent);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .06);
    color: #1b2430;
}

.fma__oben { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 44px; }
.fma__pikto {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef2f9;
    background: color-mix(in srgb, var(--fma-akzent) 14%, #fff);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.fma__pikto img { width: 28px; height: 28px; display: block; object-fit: contain; }
.fma__pikto--leer { visibility: hidden; }
.fma__gueltig {
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.2;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: #fff4e5;
    color: #9a4a00;
    text-align: center;
    margin-left: auto;
}

.fma__gueltig--bald { background: #e8f0fd; color: #1d4a8a; }

.fma__siegel { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.fma__s { font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: #eef2f6; color: #344054; }
.fma__s { display: inline-flex; align-items: center; gap: .4rem; }
.fma__s--regional { background: #fdecc8; color: #7a4a00; padding: .15rem .65rem .15rem .45rem; font-size: .78rem; }
.fma__anker { display: block; width: auto; height: 2.1rem; margin: -.45rem 0; flex: none; }
.fma__s--bio { background: #dff3e4; color: #1d6b36; }
.fma__s--bayern { background: #dbe9fb; color: #1d4a8a; }
.fma__s--hessen { background: #f9dcdc; color: #8a1f1f; }

.fma__name { margin: .8rem 0 0; font-size: 1.15rem; line-height: 1.25; font-weight: 700; color: inherit; }
.fma__details { margin: .3rem 0 0; font-size: .88rem; color: var(--fma-grau); }
.fma__extra { list-style: none; margin: .45rem 0 0; padding: 0; font-size: .82rem; color: var(--fma-grau); }
.fma__extra li { margin: .1rem 0; padding: 0; }

.fma__fuss { margin-top: auto; padding-top: 1rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.fma__preisblock { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; min-width: 0; }
.fma__alt { font-size: .88rem; color: var(--fma-grau); }
.fma__preis { display: inline-flex; align-items: flex-start; line-height: 1; color: #111; font-weight: 800; }
.fma__euro { font-size: 2.9rem; letter-spacing: -.02em; }
.fma__cent { font-size: 1.45rem; margin-top: .25rem; margin-left: .08rem; }
.fma__waehrung { font-size: 1.45rem; margin-top: .25rem; margin-left: .3rem; font-weight: 700; }
.fma__einheit { font-size: .92rem; font-weight: 600; }
.fma__grund { font-size: .8rem; color: var(--fma-grau); }
.fma__rabattgross { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--fma-rot); }

.fma__abzeichen {
    flex: none;
    margin-left: auto;
    min-width: 3.4rem;
    padding: .55rem .4rem;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: var(--fma-rot);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    transform: rotate(-8deg);
    box-shadow: 0 2px 6px rgba(217, 56, 30, .35);
}

@media (max-width: 520px) {
    .fma { padding: 1.25rem .75rem; }
    .fma__raster { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .75rem; }
    .fma__karte { padding: .9rem .85rem 1rem; }
    .fma__euro { font-size: 2.3rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .fma__karte { transition: transform .18s ease, box-shadow .18s ease; }
    .fma__karte:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 10px 24px rgba(16, 24, 40, .10); }
}

/* Angebotsformat "mit Punktekarte" */
.fma__karte-band { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; padding: .5rem .75rem .5rem .55rem; border-radius: 12px; background: #111; color: #ffd23f; align-self: flex-start; }
.fma__kartenicon { flex: none; width: 2.4rem; height: auto; display: block; }
.fma__karte-band span { display: block; line-height: 1.15; }
.fma__karte-band strong { display: block; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; }
.fma__karte-band small { display: block; font-size: .78rem; color: #fff; opacity: .9; }
