/**
 * Fischer Bestellmail: Hinweisbox "Öffnungszeiten an Feiertagen"
 * oben im Bestellformular. Nur CSS, keine Abhängigkeit von JavaScript.
 * Kein Flexbox-gap (iOS < 14.5), stattdessen Margins.
 */
.fbm-hn {
    position: relative;
    margin: 0 0 28px;
    padding: 20px 22px 18px 24px;
    background: #fff;
    border: 1px dashed #bb1e10;
    border-left: 6px solid #bb1e10;
    border-radius: 12px;
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .10);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .10);
    color: #333;
    line-height: 1.5;
}
.fbm-hn > :last-child {
    margin-bottom: 0;
}
.fbm-hn .fbm-hn-title {
    margin: 0 0 10px;
    padding: 0;
    color: #bb1e10;
    font-size: 1.3rem;
    line-height: 1.3;
}
.fbm-hn .fbm-hn-intro,
.fbm-hn .fbm-hn-note {
    margin: 0 0 10px;
}
.fbm-hn .fbm-hn-note {
    color: #555;
    font-size: .95em;
}
.fbm-hn .fbm-hn-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}
.fbm-hn .fbm-hn-list li {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    align-items: baseline;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #f0dcd9;
}
.fbm-hn .fbm-hn-list li:last-child {
    border-bottom: 0;
}
.fbm-hn .fbm-hn-day {
    margin-right: 16px;
    font-weight: 600;
}
.fbm-hn .fbm-hn-time {
    color: #bb1e10;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
/* Abstände: Luft zur Seitenüberschrift, kein doppelter Abstand nach unten,
   unten gleich viel Innenabstand wie oben. */
.ff-el-group.fbm-hn-wrap {
    margin-top: 28px;
    margin-bottom: 0;
}
.ff-el-group.fbm-hn-wrap .fbm-hn {
    margin-bottom: 0;
}
/* Desktop: schmaler und mittig, damit Tag und Uhrzeit nah beieinander stehen */
@media (min-width: 1025px) {
    .ff-el-group.fbm-hn-wrap .fbm-hn {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
}
.ff-el-group.fbm-hn-wrap .fbm-hn .fbm-hn-list {
    margin-bottom: 0;
}
.ff-el-group.fbm-hn-wrap .fbm-hn .fbm-hn-list li:last-child {
    padding-bottom: 2px;
}
@media (max-width: 480px) {
    .ff-el-group.fbm-hn-wrap {
        margin-top: 20px;
    }
    .fbm-hn {
        padding: 16px 16px 14px 18px;
    }
    .fbm-hn .fbm-hn-title {
        font-size: 16px;
        line-height: 1.3;
    }
    /* Tage und Uhrzeiten am Handy kleiner (vorher 17 px wie der Fliesstext) */
    .fbm-hn .fbm-hn-list li {
        display: block;
        padding: 7px 0;
        font-size: 15px;
        line-height: 1.4;
    }
    /* einheitlich: Uhrzeit immer unter dem Tag */
    .fbm-hn .fbm-hn-day,
    .fbm-hn .fbm-hn-time {
        display: block;
        margin-right: 0;
    }
}

/* Dekorationen je Anlass, Auswahl im Backend unter "Hinweis Bestellseite"
   (Weihnachten, Silvester / Neujahr, Ostern). Nur CSS-Hintergrundgrafiken:
   für Screenreader unsichtbar, keine Animation, auch für alte iOS-Versionen. */
.fbm-hn--weihnachten,
.fbm-hn--silvester,
.fbm-hn--ostern {
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right 18px top 10px;
    background-size: 120px 44px;
}
.fbm-hn--weihnachten {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 44' fill='none' stroke='%23efd0ca' stroke-linecap='round'%3E%3Cpath d='M16.0 26.0L16.0 16.0M16.0 20.5L13.9 18.0M16.0 20.5L18.1 18.0M16.0 26.0L24.7 21.0M20.8 23.2L21.9 20.2M20.8 23.2L23.9 23.8M16.0 26.0L24.7 31.0M20.8 28.8L23.9 28.2M20.8 28.8L21.9 31.8M16.0 26.0L16.0 36.0M16.0 31.5L18.1 34.0M16.0 31.5L13.9 34.0M16.0 26.0L7.3 31.0M11.2 28.8L10.1 31.8M11.2 28.8L8.1 28.2M16.0 26.0L7.3 21.0M11.2 23.2L8.1 23.8M11.2 23.2L10.1 20.2' stroke-width='1.8'/%3E%3Cpath d='M58.0 22.0L58.0 4.0M58.0 12.1L54.3 7.7M58.0 12.1L61.7 7.7M58.0 22.0L73.6 13.0M66.6 17.1L68.5 11.6M66.6 17.1L72.2 18.1M58.0 22.0L73.6 31.0M66.6 26.9L72.2 25.9M66.6 26.9L68.5 32.4M58.0 22.0L58.0 40.0M58.0 31.9L61.7 36.3M58.0 31.9L54.3 36.3M58.0 22.0L42.4 31.0M49.4 26.9L47.5 32.4M49.4 26.9L43.8 25.9M58.0 22.0L42.4 13.0M49.4 17.0L43.8 18.1M49.4 17.0L47.5 11.6' stroke-width='2.4'/%3E%3Cpath d='M102.0 25.0L102.0 13.0M102.0 18.4L99.5 15.5M102.0 18.4L104.5 15.5M102.0 25.0L112.4 19.0M107.7 21.7L109.0 18.1M107.7 21.7L111.5 22.4M102.0 25.0L112.4 31.0M107.7 28.3L111.5 27.6M107.7 28.3L109.0 31.9M102.0 25.0L102.0 37.0M102.0 31.6L104.5 34.5M102.0 31.6L99.5 34.5M102.0 25.0L91.6 31.0M96.3 28.3L95.0 31.9M96.3 28.3L92.5 27.6M102.0 25.0L91.6 19.0M96.3 21.7L92.5 22.4M96.3 21.7L95.0 18.1' stroke-width='2'/%3E%3C/svg%3E");
}
.fbm-hn--silvester {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 44' fill='none' stroke='%23ead7a0' stroke-linecap='round'%3E%3Cpath d='M18.0 22.5L18.0 16.0M20.1 23.2L23.9 17.9M21.3 24.9L27.5 22.9M21.3 27.1L27.5 29.1M20.1 28.8L23.9 34.1M18.0 29.5L18.0 36.0M15.9 28.8L12.1 34.1M14.7 27.1L8.5 29.1M14.7 24.9L8.5 22.9M15.9 23.2L12.1 17.9' stroke-width='1.8'/%3E%3Ccircle cx='22.0' cy='13.6' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='31.0' cy='26.0' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='22.0' cy='38.4' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='7.5' cy='33.6' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='7.5' cy='18.4' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Cpath d='M60.0 15.1L60.0 4.0M63.0 15.8L68.5 6.3M65.2 18.0L74.7 12.5M66.0 21.0L77.0 21.0M65.2 24.0L74.7 29.5M63.0 26.2L68.5 35.7M60.0 26.9L60.0 38.0M57.0 26.2L51.5 35.7M54.8 24.0L45.3 29.5M54.0 21.0L43.0 21.0M54.8 18.0L45.3 12.5M57.0 15.8L51.5 6.3' stroke-width='2.2'/%3E%3Ccircle cx='65.2' cy='1.7' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='79.3' cy='15.8' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='74.1' cy='35.1' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='54.8' cy='40.3' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='40.7' cy='26.2' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='45.9' cy='6.9' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Cpath d='M102.0 20.8L102.0 13.0M104.5 21.6L109.1 15.3M106.0 23.7L113.4 21.3M106.0 26.3L113.4 28.7M104.5 28.4L109.1 34.7M102.0 29.2L102.0 37.0M99.5 28.4L94.9 34.7M98.0 26.3L90.6 28.7M98.0 23.7L90.6 21.3M99.5 21.6L94.9 15.3' stroke-width='1.9'/%3E%3Ccircle cx='106.6' cy='10.7' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='117.0' cy='25.0' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='106.6' cy='39.3' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='89.9' cy='33.8' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3Ccircle cx='89.9' cy='16.2' r='1.1' fill='%23e6cd8a' stroke='none'/%3E%3C/svg%3E");
}
.fbm-hn--ostern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 44'%3E%3Cpath d='M20 15C25.58 15 29 25.8 29 31.2C29 36.6 24.95 39 20 39C15.05 39 11 36.6 11 31.2C11 25.8 14.42 15 20 15Z' fill='%23e2eed7'/%3E%3Cpolyline points='11.5,26.8 14.3,29.2 17.1,26.8 20.0,29.2 22.9,26.8 25.7,29.2 28.5,26.8' fill='none' stroke='%23c5ddb2' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M60 7C67.44 7 72 21.4 72 28.6C72 35.8 66.6 39 60 39C53.4 39 48 35.8 48 28.6C48 21.4 52.56 7 60 7Z' fill='%23f6ecc4'/%3E%3Cpolyline points='48.6,22.7 52.4,25.9 56.2,22.7 60.0,25.9 63.8,22.7 67.6,25.9 71.4,22.7' fill='none' stroke='%23e6d48f' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M100 15C105.58 15 109 25.8 109 31.2C109 36.6 104.95 39 100 39C95.05 39 91 36.6 91 31.2C91 25.8 94.42 15 100 15Z' fill='%23f4dcd8'/%3E%3Cpolyline points='91.5,26.8 94.3,29.2 97.2,26.8 100.0,29.2 102.8,26.8 105.7,29.2 108.5,26.8' fill='none' stroke='%23e8bdb6' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fbm-hn--weihnachten .fbm-hn-title,
.fbm-hn--silvester .fbm-hn-title,
.fbm-hn--ostern .fbm-hn-title {
    position: relative;
    padding-left: 28px;
    padding-right: 130px;
}
.fbm-hn--weihnachten .fbm-hn-title:before,
.fbm-hn--silvester .fbm-hn-title:before,
.fbm-hn--ostern .fbm-hn-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: .65em;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}
.fbm-hn--weihnachten .fbm-hn-title:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bb1e10' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2.8l2.8 5.7 6.3.9-4.55 4.45 1.07 6.27L12 17.15l-5.62 2.97 1.07-6.27L2.9 9.4l6.3-.9z'/%3E%3C/svg%3E");
}
.fbm-hn--silvester .fbm-hn-title:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bb1e10' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M10 3l1.6 5.4L17 10l-5.4 1.6L10 17l-1.6-5.4L3 10l5.4-1.6z'/%3E%3Cpath d='M18.5 14.5v5M16 17h5'/%3E%3C/svg%3E");
}
.fbm-hn--ostern .fbm-hn-title:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bb1e10' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 2.5C8 2.5 5 9 5 14c0 4 3 7.5 7 7.5s7-3.5 7-7.5c0-5-3-11.5-7-11.5z'/%3E%3Cpath d='M5.4 12.5l2.3-1.6 2.1 1.6 2.2-1.6 2.2 1.6 2.1-1.6 2.3 1.6'/%3E%3C/svg%3E");
}
@media (max-width: 480px) {
    .fbm-hn--weihnachten,
    .fbm-hn--silvester,
    .fbm-hn--ostern {
        background-position: right 10px bottom 10px; /* Deko unten rechts: Ueberschrift bekommt die volle Breite */
        background-size: 60px 22px;
    }
    .fbm-hn--weihnachten .fbm-hn-title,
    .fbm-hn--silvester .fbm-hn-title,
    .fbm-hn--ostern .fbm-hn-title {
        padding-left: 24px;
        padding-right: 0;
    }
    .fbm-hn--weihnachten .fbm-hn-title:before,
    .fbm-hn--silvester .fbm-hn-title:before,
    .fbm-hn--ostern .fbm-hn-title:before {
        width: 17px;
        height: 17px;
        margin-top: -9px;
        background-size: 17px 17px;
    }
}

/* ==========================================================================
   Stempel-Optik wie das Aktionsangebot: roter Rahmen, innere gestrichelte
   Linie, leicht schraeg, Ueberschrift mittig. Ueberschreibt die Box oben.
   Nur transform und Rahmen, laeuft auch auf alten iOS-Versionen.
   ========================================================================== */
.ff-el-group.fbm-hn-wrap .fbm-hn {
    padding: 26px 30px 20px;
    border: 3px solid #bb1e10;
    border-radius: 16px;
    background-color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transform: rotate(-1deg);
    transform: rotate(-1deg);
}
.ff-el-group.fbm-hn-wrap .fbm-hn:after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    border: 1.5px dashed #bb1e10;
    border-radius: 11px;
    pointer-events: none;
}
/* Deko (Schneeflocken usw.) oben rechts neben der mittigen Ueberschrift; am Handy unten rechts */
.ff-el-group.fbm-hn-wrap .fbm-hn--weihnachten,
.ff-el-group.fbm-hn-wrap .fbm-hn--silvester,
.ff-el-group.fbm-hn-wrap .fbm-hn--ostern {
    background-position: right 20px top 16px;
    background-size: 84px 31px;
}
.ff-el-group.fbm-hn-wrap .fbm-hn .fbm-hn-title {
    margin: 0 0 12px;
    padding: 0 0 10px !important;
    border-bottom: 1.5px solid #bb1e10;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-align: center;
}
/* Stern-Symbol steht im Textfluss vor der mittigen Ueberschrift */
.ff-el-group.fbm-hn-wrap .fbm-hn .fbm-hn-title:before {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
    margin: 0 8px 0 0;
    vertical-align: -2px;
}
.ff-el-group.fbm-hn-wrap .fbm-hn .fbm-hn-list li {
    border-bottom: 1px dashed rgba(187, 30, 16, 0.3);
}
.ff-el-group.fbm-hn-wrap .fbm-hn .fbm-hn-list li:last-child {
    border-bottom: 0;
}
.ff-el-group.fbm-hn-wrap .fbm-hn .fbm-hn-time {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
/* Tablet: Ueberschrift ist fast so breit wie die Box, Deko daher unten mittig */
@media (min-width: 481px) and (max-width: 1024px) {
    .ff-el-group.fbm-hn-wrap .fbm-hn--weihnachten,
    .ff-el-group.fbm-hn-wrap .fbm-hn--silvester,
    .ff-el-group.fbm-hn-wrap .fbm-hn--ostern {
        padding-bottom: 44px;
        background-position: center bottom 12px;
        background-size: 72px 26px;
    }
}
/* Platz fuer die schraege Box nach oben und unten */
.ff-el-group.fbm-hn-wrap {
    padding: 6px 4px 12px;
}
@media (max-width: 480px) {
    /* weniger Abstand zur Seitenueberschrift (vorher 47px, jetzt ca. 28px) */
    .ff-el-group.fbm-hn-wrap {
        margin-top: 0;
    }
    .ff-el-group.fbm-hn-wrap .fbm-hn {
        padding: 22px 20px 34px;
    }
    .ff-el-group.fbm-hn-wrap .fbm-hn--weihnachten,
    .ff-el-group.fbm-hn-wrap .fbm-hn--silvester,
    .ff-el-group.fbm-hn-wrap .fbm-hn--ostern {
        background-position: right 14px bottom 10px;
        background-size: 60px 22px;
    }
    .ff-el-group.fbm-hn-wrap .fbm-hn .fbm-hn-list li {
        text-align: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-el-group.fbm-hn-wrap .fbm-hn {
        -webkit-transform: none;
        transform: none;
    }
}

/* ==========================================================================
   Kleine Stempel-Version [fbm_feiertage] im Hero der Startseite.
   Gespiegelt zum runden Aktions-Button: links unten, nach links geneigt.
   Position absolut im .fw-hero (der ist position: relative).
   ========================================================================== */
.fbm-hn-mini {
    position: absolute;
    left: 10px;
    /* Handy und Tablet: haengt unter dem Bild, beruehrt es nur an der Kante,
       damit der Folientext frei bleibt */
    top: 100%;
    bottom: auto;
    margin-top: -48px; /* ragt etwas ins Bild, unter dem Folientext bleibt Luft */
    z-index: 10;
    width: 150px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 12px 10px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 3px solid #bb1e10;
    border-radius: 14px;
    background: #fff;
    color: #333;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
    -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.fbm-hn-mini:after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    left: 4px;
    border: 1.5px dashed #bb1e10;
    border-radius: 10px;
    pointer-events: none;
}
.fbm-hn-mini .fbm-hn-mini-title {
    margin: 0 0 6px;
    padding: 0 0 5px;
    border-bottom: 1.5px solid #bb1e10;
    color: #bb1e10;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.fbm-hn-mini .fbm-hn-mini-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fbm-hn-mini .fbm-hn-mini-list li {
    margin: 0;
    padding: 1px 0;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}
.fbm-hn-mini .fbm-hn-mini-day {
    font-weight: 600;
}
.fbm-hn-mini .fbm-hn-mini-time {
    color: #bb1e10;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.fbm-hn-mini .fbm-hn-mini-link {
    display: inline-block;
    margin-top: 4px;
    color: #bb1e10;
    font-size: 11px;
    font-weight: 600;
}
/* Platz unter dem Hero fuer den haengenden Stempel (nur solange er sichtbar ist) */
@media (max-width: 767px) {
    body.fbm-hn-mini-aktiv .fw-hero {
        margin-bottom: 96px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    body.fbm-hn-mini-aktiv .fw-hero {
        margin-bottom: 90px;
    }
}
/* sehr schmale Handys (z. B. iPhone SE): neben dem runden Button Platz lassen */
@media (max-width: 359px) {
    .fbm-hn-mini {
        left: 6px;
        margin-top: -26px; /* Bild ist hier niedrig, weniger weit hinein */
        width: 128px;
        padding: 10px 6px 8px;
    }
    .fbm-hn-mini .fbm-hn-mini-title,
    .fbm-hn-mini .fbm-hn-mini-list li {
        font-size: 11px;
    }
}
/* Tablet */
@media (min-width: 768px) {
    .fbm-hn-mini {
        left: 16px;
        margin-top: -85px;
        width: 180px;
        padding: 14px 12px 12px;
    }
    .fbm-hn-mini .fbm-hn-mini-title,
    .fbm-hn-mini .fbm-hn-mini-list li {
        font-size: 13px;
    }
}
/* Desktop: ragt links ueber das Bild hinaus, wie der runde Button rechts */
@media (min-width: 1025px) {
    .fbm-hn-mini {
        left: -45px;
        top: auto;
        bottom: 30px;
        margin-top: 0;
        width: 200px;
        padding: 16px 14px 14px;
    }
    .fbm-hn-mini .fbm-hn-mini-title {
        font-size: 13px;
    }
    .fbm-hn-mini .fbm-hn-mini-list li {
        font-size: 14px;
    }
}
