/* Familienkompass+ Rezepte (Schwangerschaft und Stillzeit), v6.0.2, gemeinsame Basis fuer Beikost (fk-beikost.css)
   Gefuellte Kopfzeile wie die Rechner, keine Icons, Karten in Bloecken, Dialoge mit Rollen. */
.fz-rz, .fz-rz *, .fz-rz-modal, .fz-rz-modal * { box-sizing: border-box; }
.fz-rz { max-width: 1100px; margin: 0 auto; font-family: "DM Sans", -apple-system, "Segoe UI", Roboto, sans-serif; color: #3f3330; line-height: 1.6; }
.fz-rz [hidden], .fz-rz-modal[hidden] { display: none !important; }

/* Kopfzeile */
.fz-rz__kopf { background: #b89a9a; color: #fff; border-radius: 18px; padding: 28px 24px 24px; text-align: center; }
.fz-rz__eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .9; }
.fz-rz__titel, .fz-rz__kopf .fz-rz__titel, .page-content .fz-rz__kopf h1.fz-rz__titel { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.6rem, 4.4vw, 2.1rem); font-weight: 600; line-height: 1.15; color: #fff; margin: 6px 0 8px; }
.fz-rz__kopf .fz-rz__lead { color: rgba(255,255,255,.94); }
.fz-rz__lead { margin: 0 auto; max-width: 56ch; color: rgba(255,255,255,.94); font-size: .98rem; }
.fz-rz__werte { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.fz-rz__wert { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); border-radius: 12px; padding: 10px 16px; min-width: 120px; }
.fz-rz__wert-zahl { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.fz-rz__wert-label { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; margin-top: 2px; }

/* Profil */
.fz-rz__profil { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; padding: 16px 18px; background: #faf7f6; border: 1px solid #eadfd9; border-radius: 14px; margin: 12px 0; }
.fz-rz__profil-feld { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.fz-rz__profil-hinweis { flex-basis: 100%; margin: 0; font-size: .82rem; color: #8a7d78; }
.fz-rz__profil-feld--fest { justify-content: flex-start; }
.fz-rz__profil-wert { font-size: .97rem; font-weight: 600; color: #3f3330; }
.fz-rz__profil-link { align-self: flex-start; font-size: .82rem; font-weight: 600; color: #7a5555; text-decoration: none; border-bottom: 1px solid #d9c7c2; }
.fz-rz__profil-link:hover, .fz-rz__profil-link:focus-visible { border-bottom-color: #7a5555; }
.fz-rz__profil-feld--fest input[hidden] { display: none !important; }
.fz-rz__label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5a4d48; margin-bottom: 4px; }
.fz-rz__select, .fz-rz__input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #d9c7c2; border-radius: 10px; font: inherit; font-size: .92rem; color: #3f3330; background: #fff; min-height: 44px; -webkit-appearance: none; appearance: none; }
.fz-rz__select { background-image: linear-gradient(45deg, transparent 50%, #ab8d8d 50%), linear-gradient(135deg, #ab8d8d 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.fz-rz__select:focus, .fz-rz__input:focus { outline: none; border-color: #ab8d8d; box-shadow: 0 0 0 3px rgba(202,169,169,.25); }

/* Sicherheitsbox */
.fz-rz__sicher { background: #fff; border: 1px solid #eadfd9; border-left: 4px solid #ab8d8d; border-radius: 0 12px 12px 0; padding: 12px 16px; margin: 12px 0 16px; }
.fz-rz__sicher summary { cursor: pointer; font-weight: 600; color: #3f3330; }
.fz-rz__sicher ul { margin: 10px 0 6px; padding-left: 20px; font-size: .9rem; color: #5a4d48; }
.fz-rz__sicher li { margin-bottom: 5px; }
.fz-rz__quelle { margin: 0; font-size: .8rem; color: #8a7d78; }

/* Tabs */
.fz-rz__tabs { display: flex; border-bottom: 1px solid #eadfd9; margin-bottom: 18px; }
.fz-rz__tab { flex: 1; min-width: 0; padding: 13px 8px; background: none; border: none; border-bottom: 3px solid transparent; font: inherit; font-size: clamp(.82rem, 2.3vw, .95rem); font-weight: 500; color: #5a4d48; cursor: pointer; }
.fz-rz__tab[aria-selected="true"] { color: #ab8d8d; border-bottom-color: #ab8d8d; font-weight: 600; }
.fz-rz__tab:focus-visible { outline: 2px solid #ab8d8d; outline-offset: -2px; }
.fz-rz__pane { display: none; }
.fz-rz__pane--aktiv { display: block; }

/* Filter */
.fz-rz__filter { background: #faf7f6; border: 1px solid #eadfd9; border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.fz-rz__filter-zeile { display: flex; flex-wrap: wrap; gap: 12px; }
.fz-rz__feld { flex: 1; min-width: 150px; }
.fz-rz__feld--breit { flex: 2; min-width: 220px; }
.fz-rz__filter-zeile2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.fz-rz__link-btn { background: none; border: none; padding: 6px 0; font: inherit; font-size: .88rem; font-weight: 600; color: #7a5555; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fz-rz__link-btn[aria-expanded="true"]::after { content: " (offen)"; font-weight: 400; }
.fz-rz__filter-mehr { border-top: 1px solid #eadfd9; margin-top: 12px; padding-top: 12px; }
.fz-rz__gruppe { margin-bottom: 12px; }
.fz-rz__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fz-rz__chip { padding: 8px 14px; border-radius: 20px; border: 1px solid #d9c7c2; background: #fff; font: inherit; font-size: .8rem; color: #5a4d48; cursor: pointer; min-height: 38px; }
.fz-rz__chip[aria-pressed="true"] { background: #ab8d8d; border-color: #ab8d8d; color: #fff; }
.fz-rz__chip--aus[aria-pressed="true"] { background: #fdf0f0; border-color: #c49090; color: #7a5555; text-decoration: line-through; }
.fz-rz__chip:focus-visible, .fz-rz__btn:focus-visible, .fz-rz__karte-btn:focus-visible, .fz-rz__fav:focus-visible, .fz-rz-modal__close:focus-visible, .fz-rz__link-btn:focus-visible, .fz-rz__el-item:focus-within { outline: 2px solid #ab8d8d; outline-offset: 2px; }
.fz-rz__ergebnis { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #5a4d48; margin-bottom: 12px; }
.fz-rz__profilhinweis { font-size: .84rem; color: #7a5555; }
.fz-rz__profilhinweis button { margin-left: 6px; }

/* Buttons */
.fz-rz__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 16px; min-height: 44px; border-radius: 10px; border: 1px solid #d9c7c2; background: #fff; font: inherit; font-size: .88rem; font-weight: 500; color: #5a4d48; cursor: pointer; }
.fz-rz__btn:hover { border-color: #ab8d8d; background: #faf7f6; }
.fz-rz__btn:disabled { opacity: .55; cursor: default; }
.fz-rz__btn--primaer { background: #ab8d8d; border-color: #ab8d8d; color: #fff; }
.fz-rz__btn--primaer:hover { background: #967a7a; border-color: #967a7a; }
.fz-rz__btn--klein { padding: 8px 12px; min-height: 38px; font-size: .82rem; }
.fz-rz__mehr { text-align: center; margin: 18px 0 6px; }

/* Karten */
.fz-rz__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.fz-rz__karte { position: relative; background: #fff; border: 1px solid #eadfd9; border-radius: 14px; }
.fz-rz__karte:hover { border-color: #ab8d8d; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.fz-rz__karte-btn { display: block; width: 100%; text-align: left; background: none; border: none; padding: 16px 52px 14px 16px; font: inherit; color: inherit; cursor: pointer; border-radius: 14px; }
.fz-rz__karte-kat { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #ab8d8d; font-weight: 600; margin-bottom: 4px; }
.fz-rz__karte-titel { display: block; font-size: 1rem; font-weight: 600; color: #3f3330; line-height: 1.3; margin-bottom: 6px; }
.fz-rz__karte-meta { display: block; font-size: .8rem; color: #8a7d78; margin-bottom: 8px; }
.fz-rz__badges { display: flex; flex-wrap: wrap; gap: 5px; }
.fz-rz__badge { font-size: .68rem; padding: 3px 8px; border-radius: 8px; background: #faf7f6; color: #5a4d48; }
.fz-rz__badge--alg { background: #fdf0f0; color: #7a5555; }
.fz-rz__fav { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #eadfd9; background: #fff; font-size: 1.15rem; line-height: 1; color: #b8a7a3; cursor: pointer; }
.fz-rz__fav[aria-pressed="true"] { color: #c9605a; border-color: #ecc7c4; }
.fz-rz__fav:hover { color: #c9605a; }
.fz-rz__leer { text-align: center; padding: 40px 16px; color: #8a7d78; }
.fz-rz__hinweis { font-size: .88rem; color: #5a4d48; margin: 0 0 14px; }

/* Wochenplan */
.fz-rz__wp-kopf { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.fz-rz__h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; font-weight: 600; color: #3f3330; }
.fz-rz__h3 { margin: 0; font-size: 1rem; font-weight: 600; color: #3f3330; }
.fz-rz__aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
.fz-rz__wp-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 2px 12px; scrollbar-width: none; }
.fz-rz__wp-track::-webkit-scrollbar { display: none; }
.fz-rz__tag { min-width: 250px; max-width: 320px; flex-shrink: 0; scroll-snap-align: start; background: #fff; border: 1px solid #eadfd9; border-radius: 14px; overflow: hidden; }
.fz-rz__tag-kopf { background: #f5eded; padding: 9px 12px; text-align: center; font-weight: 600; font-size: .85rem; color: #ab8d8d; }
.fz-rz__tag-body { padding: 10px; }
.fz-rz__slot { position: relative; margin-bottom: 8px; }
.fz-rz__slot:last-child { margin-bottom: 0; }
.fz-rz__slot-btn { display: block; width: 100%; text-align: left; background: #faf7f6; border: 1px solid transparent; border-radius: 10px; padding: 9px 36px 9px 12px; font: inherit; color: inherit; cursor: pointer; min-height: 44px; }
.fz-rz__slot-btn:hover { background: #f5eded; }
.fz-rz__slot-btn--leer { background: transparent; border: 1.5px dashed #d9c7c2; color: #8a7d78; font-size: .8rem; text-align: center; padding: 10px 12px; }
.fz-rz__slot-btn--leer:hover { border-color: #ab8d8d; color: #7a5555; background: #faf7f6; }
.fz-rz__slot-label { display: block; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: #8a7d78; margin-bottom: 2px; }
.fz-rz__slot-name { display: block; font-size: .84rem; font-weight: 500; color: #3f3330; line-height: 1.3; }
.fz-rz__slot-rm { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: none; background: transparent; color: #8a7d78; font-size: 1rem; cursor: pointer; }
.fz-rz__slot-rm:hover { background: #fdf0f0; color: #7a5555; }
.fz-rz__wp-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.fz-rz__wp-dot { width: 8px; height: 8px; border-radius: 50%; background: #eadfd9; }
.fz-rz__wp-dot--aktiv { background: #ab8d8d; }
.fz-rz__wp-wisch { text-align: center; font-size: .76rem; color: #8a7d78; margin-top: 4px; }

/* Einkaufsliste */
.fz-rz__el { background: #fff; border: 1px solid #eadfd9; border-radius: 14px; padding: 18px; margin-top: 18px; }
.fz-rz__el-kopf { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fz-rz__el-sub { font-weight: 400; color: #8a7d78; font-size: .84rem; }
.fz-rz__el-gruppe { margin-bottom: 16px; }
.fz-rz__el-gruppe-titel { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #ab8d8d; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid #eadfd9; }
.fz-rz__el-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.fz-rz__el-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #faf7f6; border-radius: 10px; font-size: .88rem; color: #5a4d48; cursor: pointer; min-height: 42px; }
.fz-rz__el-item input { width: 18px; height: 18px; accent-color: #ab8d8d; flex-shrink: 0; margin: 0; }
.fz-rz__el-item--ok { opacity: .5; text-decoration: line-through; }
.fz-rz__el-menge { font-weight: 600; color: #7a5555; min-width: 56px; flex-shrink: 0; }
.fz-rz__vorrat { margin-top: 10px; border-top: 1px solid #eadfd9; padding-top: 10px; }
.fz-rz__vorrat summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: #5a4d48; }
.fz-rz__vorrat .fz-rz__el-items { margin-top: 10px; }

/* Fuss */
.fz-rz__fuss { margin-top: 26px; padding: 16px 18px; background: #f5eded; border-left: 4px solid #ab8d8d; border-radius: 0 12px 12px 0; font-size: .82rem; color: #7a6a67; line-height: 1.6; }
.fz-rz__fuss p { margin: 0 0 8px; }
.fz-rz__fuss p:last-child { margin: 0; }

/* Login-Hinweis */
.fz-rz-login { max-width: 560px; margin: 20px auto; background: #fff; border: 1px solid #eadfd9; border-radius: 16px; padding: 28px; text-align: center; color: #3f3330; }
.fz-rz-login__btn { display: inline-block; margin-top: 10px; padding: 12px 24px; border-radius: 10px; background: #ab8d8d; color: #fff; text-decoration: none; font-weight: 600; }

/* Dialoge */
.fz-rz-modal { position: fixed; inset: 0; background: rgba(63,51,48,.45); z-index: 999999; overflow-y: auto; padding: 20px; display: flex; align-items: flex-start; justify-content: center; font-family: "DM Sans", -apple-system, "Segoe UI", Roboto, sans-serif; color: #3f3330; line-height: 1.6; }
.fz-rz-modal__box { background: #fff; border-radius: 18px; width: 100%; max-width: 680px; margin: 20px auto; position: relative; max-height: calc(100vh - 40px); overflow-y: auto; }
.fz-rz-modal__box--breit { max-width: 900px; }
.fz-rz-modal__box--schmal { max-width: 520px; }
.fz-rz-modal__close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; width: 44px; height: 44px; border-radius: 50%; border: none; background: #faf7f6; font-size: 1.4rem; line-height: 1; color: #5a4d48; cursor: pointer; }
.fz-rz-modal__close:hover { background: #f5eded; }
.fz-rz-modal__kopf { padding: 22px 24px 14px; border-bottom: 1px solid #eadfd9; clear: both; }
.fz-rz-modal__kat { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #ab8d8d; font-weight: 600; margin-bottom: 4px; }
.fz-rz-modal__titel { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.3rem, 3.5vw, 1.6rem); font-weight: 600; color: #3f3330; margin: 0 0 8px; padding-right: 44px; }
.fz-rz-modal__sub { margin: 6px 0 0; font-size: .88rem; color: #5a4d48; }
.fz-rz-modal__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: #5a4d48; }
.fz-rz-modal__body { padding: 18px 24px; }
.fz-rz-modal__abschnitt { margin-bottom: 18px; }
.fz-rz-modal__abschnitt h3 { font-size: .9rem; font-weight: 600; color: #3f3330; margin: 0 0 8px; }
.fz-rz-modal__abschnitt ul, .fz-rz-modal__abschnitt ol { margin: 0; padding-left: 20px; color: #5a4d48; font-size: .92rem; line-height: 1.65; }
.fz-rz-modal__abschnitt li { margin-bottom: 4px; }
.fz-rz__nw { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.fz-rz__nw-kachel { background: #faf7f6; border-radius: 10px; padding: 10px 8px; text-align: center; }
.fz-rz__nw-zahl { display: block; font-weight: 600; color: #3f3330; font-variant-numeric: tabular-nums; }
.fz-rz__nw-label { display: block; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: #8a7d78; }
.fz-rz__nw-hinweis { margin: 8px 0 0; font-size: .78rem; color: #8a7d78; }
.fz-rz__tipp { background: #f5eded; border-left: 4px solid #ab8d8d; border-radius: 0 10px 10px 0; padding: 12px 14px; font-size: .9rem; color: #5a4d48; }
.fz-rz-modal__aktionen { padding: 14px 24px 20px; border-top: 1px solid #eadfd9; display: flex; gap: 8px; flex-wrap: wrap; }
.fz-rz__pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; max-height: 420px; overflow-y: auto; margin-top: 12px; padding: 2px; }
.fz-rz__pick { text-align: left; background: #faf7f6; border: 1.5px solid #eadfd9; border-radius: 10px; padding: 10px 12px; font: inherit; color: inherit; cursor: pointer; min-height: 44px; }
.fz-rz__pick:hover { border-color: #ab8d8d; background: #fff; }
.fz-rz__pick-kat { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: #ab8d8d; }
.fz-rz__pick-titel { display: block; font-size: .86rem; font-weight: 600; color: #3f3330; }
.fz-rz__pick-meta { display: block; font-size: .74rem; color: #8a7d78; }
.fz-rz__tage { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 14px; }
.fz-rz__mahlzeiten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fz-rz__wahl { padding: 10px 6px; border: 1.5px solid #d9c7c2; border-radius: 10px; background: #fff; font: inherit; font-size: .82rem; color: #5a4d48; cursor: pointer; min-height: 44px; }
.fz-rz__wahl[aria-pressed="true"] { background: #ab8d8d; border-color: #ab8d8d; color: #fff; }
.fz-rz__wahl small { display: block; font-size: .68rem; opacity: .8; }
.fz-rz__alg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fz-rz__alg-opt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #d9c7c2; border-radius: 10px; background: #fff; cursor: pointer; min-height: 44px; font-size: .88rem; }
.fz-rz__alg-opt input { width: 18px; height: 18px; accent-color: #ab8d8d; margin: 0; }

/* Toast */
.fz-rz-toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background: #3f3330; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: .88rem; z-index: 9999999; max-width: calc(100vw - 32px); text-align: center; }
.fz-rz-toast--fehler { background: #8a3f38; }

@media (max-width: 600px) {
  .fz-rz__kopf { padding: 22px 16px 20px; border-radius: 14px; }
  .fz-rz__wert { min-width: 0; flex: 1; padding: 8px 10px; }
  .fz-rz__profil-feld { min-width: 100%; }
  .fz-rz__grid { grid-template-columns: 1fr; }
  .fz-rz__tag { min-width: 85vw; max-width: 85vw; }
  .fz-rz__el-items { grid-template-columns: 1fr; }
  .fz-rz-modal { padding: 0; align-items: flex-end; }
  .fz-rz-modal__box { margin: 0; border-radius: 18px 18px 0 0; max-height: 100vh; min-height: 60vh; }
  .fz-rz-modal__kopf, .fz-rz-modal__body, .fz-rz-modal__aktionen { padding-left: 16px; padding-right: 16px; }
  .fz-rz__tage { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 601px) and (max-width: 900px) {
  .fz-rz__tag { min-width: 45vw; max-width: 45vw; }
}
@media (min-width: 901px) {
  .fz-rz__tag { min-width: 130px; max-width: none; flex: 1; }
  .fz-rz__wp-dots, .fz-rz__wp-wisch { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .fz-rz__karte, .fz-rz__btn { transition: border-color .15s, box-shadow .15s, background .15s; }
}
