/* Slow Bakin' Sylt: Bausteine Tagesliste, Rettertüten, Push. Farben kommen aus dem Theme (Fallbacks hier). */
.sb-heute, .sb-retter, .sb-push {
  --_g: var(--sb-gruen, #455a39);
  --_k: var(--sb-kruste, #9a5b22);
  --_t: var(--sb-text, #1d1f1b);
  --_m: var(--sb-muted, #5b5e55);
  --_l: var(--sb-linie, #e3d9c7);
  --_p: var(--sb-papier, #fffdf8);
  --_r: var(--sb-radius, 14px);
  color: var(--_t);
}

.sb-hinweis {
  margin: 0 0 1.25rem; padding: .85rem 1rem; border-radius: var(--_r);
  background: #fff4d6; border: 1px solid #ecd796; font-weight: 600;
}
.sb-leer { color: var(--_m); }

/* Empfehlung */
.sb-tipp {
  display: grid; gap: 0; margin: 0 0 1.5rem; overflow: hidden;
  background: var(--_g); color: #f7f1e6; border-radius: calc(var(--_r) + 4px);
}
.sb-tipp-bild { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.sb-tipp-text { padding: clamp(1.25rem, 4vw, 2.25rem); }
.sb-tipp .sb-label { margin: 0 0 .35rem; font-size: .95rem; font-weight: 600; color: #e9c67a; }
.sb-tipp h3 { margin: 0 0 .5rem; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }
.sb-tipp-satz { margin: 0 0 .9rem; font-size: 1.1rem; line-height: 1.45; max-width: 40ch; }
.sb-tipp .sb-zutaten, .sb-tipp .sb-meta span { color: #d9d3c6; }
.sb-tipp .sb-preis { color: #fff; }
@media (min-width: 760px) {
  .sb-tipp:has(.sb-tipp-bild) { grid-template-columns: 1.1fr 1fr; }
}

/* Liste */
.sb-brote { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.sb-brot {
  background: var(--_p); border: 1px solid var(--_l); border-radius: var(--_r);
  overflow: hidden; display: flex; flex-direction: column;
}
.sb-brot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sb-brot-text { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.sb-brot h3 { margin: 0; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; }
.sb-zutaten { margin: 0; color: var(--_m); font-size: .95rem; line-height: 1.4; }
.sb-meta { margin: auto 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding-top: .35rem; }
.sb-meta span { color: var(--_m); font-size: .95rem; }
.sb-preis { font-size: 1.2rem; font-weight: 700; color: var(--_k); white-space: nowrap; }
.sb-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.sb-tags li { font-size: .8rem; font-weight: 600; padding: .15rem .5rem; border-radius: 6px; background: #efe7d7; color: #5a4526; }
.is-aus { opacity: .55; }
.is-aus h3 { text-decoration: line-through; text-decoration-thickness: 2px; }
.sb-aus { margin: 0; font-weight: 700; color: #8a2f1d; }
.sb-tipp.is-aus .sb-aus { color: #ffb4a3; }
.sb-stand { margin: 1rem 0 0; font-size: .9rem; color: var(--_m); }

/* Rettertüten */
.sb-retter-zahl { margin: 0 0 .4rem; font-size: 1.35rem; font-weight: 600; }
.sb-retter-zahl strong { font-size: 2.4rem; line-height: 1; color: var(--_k); }
.sb-retter-info { margin: 0 0 1rem; line-height: 1.5; max-width: 52ch; }
.sb-ok { padding: 1rem 1.1rem; border-radius: var(--_r); background: #e5f0e3; border: 1px solid #b9d3b3; line-height: 1.5; outline: none; }
.sb-code { font-size: 1.5rem; letter-spacing: .08em; }

/* Formulare */
.sb-form { display: grid; gap: .8rem; max-width: 460px; }
.sb-form label { display: grid; gap: .3rem; font-weight: 600; }
.sb-opt { font-weight: 400; color: var(--_m); font-size: .9rem; }
.sb-form input[type=text], .sb-form input:not([type]), .sb-form input[type=tel] {
  font: inherit; font-size: 1.05rem; padding: .8rem .9rem; border-radius: 10px;
  border: 1.5px solid #cbbfa9; background: #fff; color: var(--_t); width: 100%; box-sizing: border-box;
}
.sb-form input:focus-visible { outline: 3px solid #e9c67a; outline-offset: 1px; border-color: var(--_g); }
.sb-anzahl { border: 0; padding: 0; margin: 0; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.sb-anzahl legend { font-weight: 600; margin-bottom: .3rem; float: left; width: 100%; }
.sb-anzahl label { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .9rem; border: 1.5px solid #cbbfa9; border-radius: 10px; background: #fff; cursor: pointer; }
.sb-anzahl label:has(input:checked) { border-color: var(--_g); background: #eef3ec; }
.sb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sb-form-msg, .sb-push-msg { margin: 0; min-height: 1.4em; font-weight: 600; }

.sb-btn {
  font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer;
  padding: .9rem 1.3rem; border-radius: 12px; border: 0; min-height: 48px;
  background: var(--_g); color: #fff; transition: transform .1s ease, background .15s ease;
}
a.sb-btn { display: inline-flex; align-items: center; text-decoration: none; }
.sb-btn:hover { background: #34452b; }
.sb-btn:active { transform: scale(.98); }
.sb-btn:disabled { opacity: .6; cursor: wait; }
.sb-btn:focus-visible { outline: 3px solid #e9c67a; outline-offset: 2px; }

/* Push */
.sb-push { display: grid; gap: .8rem; }
.sb-push-themen { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; }
.sb-push-themen legend { font-weight: 700; margin-bottom: .4rem; }
.sb-push-themen label { display: flex; gap: .6rem; align-items: center; font-size: 1.02rem; }
.sb-push-themen input { width: 1.25rem; height: 1.25rem; accent-color: var(--_g); }
.sb-push .sb-btn { justify-self: start; }
.sb-push.is-on .sb-btn { background: transparent; color: var(--_t); border: 1.5px solid currentColor; }
.sb-push-ios { margin: 0; padding: .8rem 1rem; background: #fff; border: 1px solid var(--_l); border-radius: 10px; line-height: 1.45; }
.sb-push-klein { margin: 0; font-size: .9rem; color: var(--_m); }

/* Öffnungszeiten */
.sb-zeiten { margin: 0; display: grid; gap: .1rem; }
.sb-zeiten div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--sb-linie, #e3d9c7); }
.sb-zeiten dt { font-weight: 600; }
.sb-zeiten dd { margin: 0; }
.sb-zeiten .is-heute { font-weight: 700; }
.sb-zeiten .is-heute dt::after { content: " (heute)"; font-weight: 400; color: var(--sb-muted, #5b5e55); }
.sb-zeiten-hinweis { margin: .6rem 0 0; color: var(--sb-muted, #5b5e55); }

.sb-status { margin: 0; font-weight: 600; }
.sb-status .sb-auf { color: #2f7a3a; }
.sb-status .sb-zu { color: #8a2f1d; }
.sb-status a { color: inherit; }

/* Rettertueten nur ueber die App mit Mitteilungen */
.sb-gate { background: #fffdf8; color: #1d1f1b; border-radius: 14px; padding: 1.2rem 1.3rem; margin: 1rem 0; }
.sb-gate h3 { margin: 0 0 .6em; font-size: 1.2rem; color: #1d1f1b; }
.sb-gate ol { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .8rem; }
.sb-gate li { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; align-items: start; }
.sb-gate-nr { width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid #455a39; display: grid; place-items: center; font-weight: 800; color: #455a39; }
.sb-gate li.ok .sb-gate-nr { background: #455a39; color: #fff; }
.sb-gate li p { margin: .15rem 0 0; font-size: .95rem; color: #5b5e55; }
.sb-gate .sb-btn { margin-top: .5rem; }
.sb-gate-klein { font-size: .9rem; color: #5b5e55; margin: 0; }
.sb-form[hidden] { display: none !important; }

/* App installieren: Anleitung */
.sb-dlg { border: 0; border-radius: 18px; padding: 0; width: min(92vw, 420px); background: #fffdf8; color: #1d1f1b; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); overflow: visible; }
.sb-dlg::backdrop { background: rgba(20, 28, 18, .65); }
.sb-dlg-in { padding: 1.4rem 1.3rem 1.2rem; }
.sb-dlg h2 { font-size: 1.9rem; line-height: 1; margin: 0 0 1rem; color: #455a39; }
.sb-dlg p { font-size: .98rem; margin: 0 0 .9rem; }
.sb-dlg ol { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .85rem; counter-reset: d; }
.sb-dlg li { display: grid; grid-template-columns: 2.8rem 1fr; gap: .85rem; align-items: center; }
.sb-dlg-ico { width: 2.8rem; height: 2.8rem; border-radius: 12px; background: #eef0ec; color: #0a7aff; display: grid; place-items: center; position: relative; }
.sb-dlg-ico svg { width: 1.6rem; height: 1.6rem; }
.sb-dlg li strong { display: block; font-size: 1.02rem; line-height: 1.25; }
.sb-dlg li .k { display: block; font-size: .88rem; color: #5b5e55; margin-top: .1rem; }
.sb-dlg-klein { font-size: .9rem !important; color: #5b5e55; }
.sb-dlg .sb-btn { width: 100%; }
.sb-dlg-pfeil { position: fixed; font-size: 3rem; line-height: 1; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); font-weight: 700; animation: sb-hupf 1s ease-in-out infinite; pointer-events: none; }
.sb-dlg-pfeil.unten-mitte { left: 50%; bottom: 4px; margin-left: -.5em; }
.sb-dlg-pfeil.unten-rechts { right: 18px; bottom: 4px; }
.sb-dlg-pfeil.oben-rechts { right: 18px; top: 4px; animation-name: sb-hupf-hoch; }
@keyframes sb-hupf { 50% { transform: translateY(10px); } }
@keyframes sb-hupf-hoch { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .sb-dlg-pfeil { animation: none; } }
.sb-app-btn { margin-bottom: 1rem; }
.sb-dlg .sb-btn, .sb-dlg .sb-btn:hover { background: #455a39 !important; color: #fff !important; border: 0; }
