/* ==========================================================================
   Miel Speisekarten – Frontend Styles
   Version: 1.0.0
   ========================================================================== */

/* ---------- Google Font (Cinzel) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ---------- Variablen ---------- */
:root {
    --msk-grey:       #494948;
    --msk-gold:       #C8956C;
    --msk-gold-light: #D4A87D;
    --msk-bg:         transparent;
    --msk-border:     #E8E0D4;
    --msk-text-light: #777;
    --msk-text-muted: #999;
    --msk-max-width:  800px;
}

/* ---------- Wrapper ---------- */
.msk-wrapper {
    max-width: var(--msk-max-width);
    margin: 0 auto;
    padding: 20px 0;
    color: var(--msk-grey);
}

/* ---------- Titel (optional) ---------- */
.msk-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--msk-grey);
    margin: 0 0 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.msk-title-divider {
    text-align: center;
    margin-bottom: 40px;
}

.msk-title-divider span {
    display: inline-block;
    width: 80px;
    height: 2px;
    background: var(--msk-gold);
}

/* ---------- Bereich ---------- */
.msk-bereich {
    margin-bottom: 50px;
    padding: 0 20px;
}

.msk-bereich:last-child {
    margin-bottom: 20px;
}

.msk-bereich-titel {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--msk-grey);
    margin: 0 0 8px;
    letter-spacing: 2px;
}

.msk-bereich-divider {
    text-align: center;
    margin-bottom: 25px;
}

.msk-bereich-divider span {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: var(--msk-gold);
}

.msk-bereich-beschreibung {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-style: italic;
    color: var(--msk-text-light);
    margin: 0 0 30px;
    line-height: 1.6;
}

.msk-keine-gerichte {
    text-align: center;
    color: var(--msk-text-muted);
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
}

/* ---------- Gericht (Standard & Wine) ---------- */
.msk-gericht {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--msk-border);
}

.msk-gericht:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.msk-gericht-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.msk-gericht-name-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.msk-gericht-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--msk-grey);
    margin: 0;
    line-height: 1.4;
}

.msk-gericht-preis {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--msk-gold);
    white-space: nowrap;
    flex-shrink: 0;
}

.msk-gericht-beschreibung {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-style: italic;
    color: var(--msk-text-light);
    margin: 6px 0 0;
    line-height: 1.5;
}

.msk-gericht-zusatz {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    color: var(--msk-text-muted);
    margin: 5px 0 0;
    line-height: 1.4;
}

/* ---------- Labels / Badges ---------- */
.msk-label {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--msk-gold);
    border: 1px solid var(--msk-gold);
    border-radius: 12px;
    padding: 2px 10px;
    white-space: nowrap;
    line-height: 1.6;
}

.msk-label-inline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    color: var(--msk-gold);
    font-style: italic;
}

.msk-label-vegetarisch { border-color: #6B8E23; color: #6B8E23; }
.msk-label-vegan       { border-color: #228B22; color: #228B22; }
.msk-label-glutenfrei  { border-color: #B8860B; color: #B8860B; }
.msk-label-empfehlung  { border-color: var(--msk-gold); color: var(--msk-gold); }

/* ---------- Layout: Wine ---------- */
.msk-layout-wine .msk-bereich {
    margin-bottom: 60px;
}

.msk-layout-wine .msk-gericht {
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.msk-layout-wine .msk-gericht-header {
    margin-bottom: 4px;
}

.msk-layout-wine .msk-gericht-name {
    font-size: 17px;
    font-weight: 500;
}

.msk-layout-wine .msk-gericht-beschreibung {
    font-size: 15px;
    margin-top: 4px;
}

.msk-layout-wine .msk-label {
    margin-top: 8px;
}

/* ---------- Layout: Compact ---------- */
.msk-layout-compact .msk-bereich {
    margin-bottom: 35px;
}

.msk-layout-compact .msk-gericht {
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.msk-layout-compact .msk-gericht-header {
    align-items: baseline;
}

.msk-layout-compact .msk-gericht-name {
    font-size: 16px;
    font-weight: 500;
}

.msk-layout-compact .msk-gericht-preis {
    font-size: 16px;
    font-weight: 500;
}

.msk-layout-compact .msk-gericht-dots {
    flex: 1;
    border-bottom: 1px dotted var(--msk-border);
    margin: 0 8px;
    min-width: 20px;
    align-self: baseline;
    position: relative;
    top: -4px;
}

.msk-layout-compact .msk-gericht-zusatz {
    font-size: 13px;
    margin-left: 0;
    padding-left: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .msk-wrapper {
        padding: 10px 0;
    }

    .msk-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .msk-bereich {
        padding: 0 15px;
        margin-bottom: 35px;
    }

    .msk-bereich-titel {
        font-size: 21px;
    }

    .msk-gericht-name {
        font-size: 16px;
    }

    .msk-gericht-preis {
        font-size: 16px;
    }

    .msk-gericht-beschreibung {
        font-size: 14px;
    }

    .msk-gericht-header {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .msk-title {
        font-size: 20px;
    }

    .msk-bereich-titel {
        font-size: 18px;
    }

    .msk-bereich {
        padding: 0 10px;
    }

    .msk-gericht-name {
        font-size: 15px;
    }

    .msk-gericht-preis {
        font-size: 15px;
    }
}
