/**
 * Rezept ansehen: Layout/Typo angelehnt an index.htm + Page 4 (Nicepage).
 * Ziel: Editorial 2-Spalten-Layout (Main + "Mehr Rezepte" Sidebar).
 */

/* Wenn wir auf Nicepage-Markup setzen, nur minimale Fixes. */

body.home-landing-page {
  --mm-accent: var(--home-accent, #eeb16d);
  --mm-accent-dark: var(--home-accent-dark, #c98a45);
  --mm-ink: #1a1a1a;
  --mm-muted: rgba(26, 26, 26, 0.65);
  --mm-line: rgba(0, 0, 0, 0.18);
  --mm-bg: #f2f2f2;
}

/* Viewport: unter „xl“ volle Breite ohne Außenrand; ab 1200px (groß/sehr groß) wie Layout mit Rand */
@media (max-width: 1199px) {
  .row:has(#site-content-column .mm-rezept-ansehen-section) {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #site-content-column:has(.mm-rezept-ansehen-section) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .mm-rezept-ansehen-section.u-section-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .mm-rezept-ansehen-section.u-section-4 > .u-sheet.u-sheet-1 {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  min-height: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

/* Kein vertikales Zentrieren im Seiten-Wrapper (verursacht große Lücke unter dem Menü auf Tablet/Mobile) */
.mm-rezept-ansehen-section.u-section-4 > .u-sheet.u-sheet-1.u-valign-middle {
  justify-content: flex-start !important;
}
}

@media (min-width: 1200px) {
  .mm-rezept-ansehen-section.u-section-4 > .u-sheet.u-sheet-1 {
    padding-left: 24px !important;
    padding-right: 24px !important;
  min-height: 0 !important;
    box-sizing: border-box;
  }
}

@media (min-width: 1400px) {
  .mm-rezept-ansehen-section.u-section-4 > .u-sheet.u-sheet-1 {
    padding-left: 32px !important;
    padding-right: 32px !important;
  min-height: 0 !important;
  }
}

.mm-rezept-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0.25rem 0 0.5rem;
}

.mm-rezept-back {
  text-decoration: none;
  color: var(--mm-ink);
  font-weight: 800;
}

.mm-rezept-back:hover,
.mm-rezept-back:focus {
  text-decoration: underline;
}

/* Rezeptbild: Nicepage-card kompatibel */
.mm-u-rezeptimg {
  display: block;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mm-u-rezeptimg--placeholder {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(238, 177, 109, 0.55), transparent 60%),
    radial-gradient(circle at 75% 35%, rgba(0, 0, 0, 0.07), transparent 55%),
    linear-gradient(135deg, rgba(242, 242, 242, 1), rgba(255, 255, 255, 1));
}

/* --- Cooking-layout (Editorial-Referenz: klare Typo-Hierarchie + vertikaler Rhythmus) --- */
.mm-cook-card {
  padding: 24px 28px;
  border-radius: 20px;
}

.mm-p9-hero {
  padding: 0 !important;
}

/* Header ohne Background-Image */
.mm-p9-hero,
.mm-p9-hero .u-sheet-1,
.mm-p9-hero .u-layout-wrap-1,
.mm-p9-hero .u-layout-cell-1,
.mm-p9-hero .u-container-layout-1 {
  background-image: none !important;
  background: transparent !important;
}

/* Page-9 (.u-section-1) hat sehr große fixed min-heights/height -> wir überschreiben für dieses Seite kompakt */
.mm-p9-hero .u-sheet-1 {
  min-height: unset !important;
}

/* Nicepage: .u-valign-middle = flex column + justify-content:center -> Inhalt würde im Sheet vertikal zentriert (Bild wirkt tiefer als die Überschrift) */
.mm-p9-hero .u-sheet-1.u-valign-middle {
  justify-content: flex-start !important;
}

.mm-p9-hero .u-layout-wrap-1 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Layout-Zelle: min-height aus Page-9 entfernen; Kinder oben ausrichten */
.mm-p9-hero .u-layout-cell-1 {
  align-items: flex-start !important;
  min-height: unset !important;
}

.mm-p9-hero .u-layout-cell-2 {
  min-height: unset !important;
}

.mm-p9-hero .u-container-layout-1 {
  padding: 0 !important;
}

.mm-p9-hero .u-image-1 {
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Kopf: links Titel+Tags, rechts Bild; Beschreibung beginnt darunter über volle Breite */
.mm-p9-hero .u-container-layout-1 {
  justify-content: flex-start !important;
}

/* Nicepage: .u-valign-middle zentriert Kinder vertikal -> wir wollen oben bündig */
.mm-p9-hero .u-container-layout-1.u-valign-middle {
  justify-content: flex-start !important;
}

.mm-p9-hero-top {
  display: grid;
  /* Bildspalte ~20 % größer als zuvor (Faktoren 1,2 auf min/%-/max-Breite) */
  grid-template-columns: minmax(192px, min(50.4%, 408px)) minmax(0, 1fr);
  grid-template-areas: "media lead";
  column-gap: 28px;
  row-gap: 0;
  align-items: start;
  width: 100%;
}

.mm-p9-hero-top__lead {
  min-width: 0;
  grid-area: lead;
  padding-top: 0;
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mm-ink);
}

/* Hauptüberschrift: groß, eng, ~ wie Referenz „Baked fresh daily…“ */
/* !important: globale Nicepage/Foundation-Regeln (z. B. h1:not(.u-title) → 3rem) überschreiben */
.mm-p9-hero-unique-title {
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-align: left;
  margin-top: 0 !important;
  margin-right: 0;
  margin-bottom: 1.25rem;
  margin-left: 0;
  padding: 0;
  font-weight: 800;
  font-size: clamp(1.875rem, 4.2vw, 2.625rem) !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--mm-ink);
}

/* Mit Tags: etwas weniger Abstand Titel → Tags; ohne Tags: voller Abstand bis Fließtext/Zeiten */
.mm-p9-hero-top__lead:has(.mm-p9-hero-floattaxo) .mm-p9-hero-unique-title {
  margin-top: 0 !important;
  margin-bottom: 0.5rem;
}

.mm-p9-hero-top__lead:not(:has(.mm-p9-hero-floattaxo)) .mm-p9-hero-unique-title {
  margin-top: 0 !important;
  margin-bottom: 1.25rem;
}

.mm-p9-hero-top__media {
  justify-self: start;
  width: 100%;
  grid-area: media;
  padding-top: 0;
  margin-top: 5px;
  position: relative;
}

.mm-rezept-privacy-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  width: 50px;
  height: 50px;
  pointer-events: auto;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--color-neutral);
}

.mm-rezept-privacy-badge:disabled {
  opacity: 0.7;
  cursor: default;
}

.mm-rezept-privacy-badge:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.45);
  outline-offset: 3px;
  border-radius: 999px;
}

.mm-rezept-privacy-badge__img {
  width: 100%;
  height: 100%;
  display: block;
}

.mm-rezept-fav-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mm-rezept-fav-badge.is-active {
  opacity: 1;
}

.mm-rezept-fav-badge:not(.is-active) {
  opacity: 0.35;
}

.mm-rezept-fav-badge:disabled {
  opacity: 0.72;
  cursor: default;
}

.mm-rezept-fav-badge:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.45);
  outline-offset: 3px;
  border-radius: 999px;
}

.mm-rezept-fav-badge__img {
  width: 100%;
  height: 100%;
  display: block;
}

.mm-u-rezeptimg.mm-u-rezeptimg--hero-top {
  width: 100%;
  height: auto;
  display: block;
}

.mm-p9-hero-top__media .mm-u-rezeptimg--hero-top,
.mm-p9-hero-top__media .mm-u-rezeptimg--placeholder {
  margin: 0 !important;
  padding: 0 !important;
}

.mm-p9-hero-floathead {
  margin-top: 0;
}

.mm-p9-hero-top__lead .mm-taxo.mm-p9-hero-floattaxo {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

/* Tags → Zubereitungszeit */
.mm-p9-hero-top__lead .mm-p9-hero-floattaxo + .mm-prep {
  margin-top: 5px !important;
}

.mm-p9-hero-top__lead .mm-p9-hero-floattaxo:has(+ .mm-prep) {
  margin-bottom: 0.5rem;
}

/* Kompakter Abstand: Linie direkt zwischen Tags und Beschreibung (Beschreibung in linker Spalte) */
.mm-p9-hero-taxo-desc-sep {
  height: 1px;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  margin-top: 4px;
  margin-bottom: 4px;
}

.mm-p9-hero-floattext {
  margin-top: 0;
}

.mm-p9-hero-floathead + .mm-p9-hero-floattext {
  margin-top: 6px;
}

.mm-p9-hero-taxo-desc-sep + .mm-p9-hero-floattext {
  margin-top: 0;
}

/* Fließtext im Kopf: 16px, luftige Zeilenhöhe (wie Referenz-Absatz) */
/* Page-4.css: .u-section-4 .u-text-3 ist kursiv — Beschreibung soll normaler Fließtext sein */
.mm-p9-hero-top__lead .mm-p9-hero-floattext {
  font-size: 1rem !important;
  font-style: normal !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.6 !important;
  margin: 0 0 1.25rem !important;
  color: var(--mm-ink);
}

/* Nicepage Page-9: .u-text-3 bringt margin:20px 0 0 — im Lead neutralisieren */
.mm-p9-hero-top__lead .u-text-3 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mm-p9-hero-top__lead .mm-prep.u-text-3 {
  margin-top: 5px !important;
  margin-bottom: 1rem !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--mm-ink);
}

/* Letzte Kochung: klein unter der Zubereitungszeit, ohne andere Blöcke zu verschieben */
.mm-p9-hero-top__lead .mm-prep.mm-prep--gekocht.u-text-3 {
  margin-top: -0.5rem !important;
  margin-bottom: 1rem !important;
  font-size: 0.8125rem !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: rgba(26, 26, 26, 0.68);
}

body.mm-theme-dark .mm-p9-hero-top__lead .mm-prep.mm-prep--gekocht.u-text-3 {
  color: rgba(231, 236, 246, 0.72);
}

.mm-rezept-public-autor a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.mm-theme-dark .mm-rezept-public-autor {
  color: rgba(231, 236, 246, 0.78) !important;
}

.mm-p9-hero-top__lead .mm-quelle {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Tags im Kopf: etwas ruhiger, näher an „kleine Bold-Zeile“ */
.mm-p9-hero-top__lead .mm-tags.mm-tags--taxo + .mm-tags.mm-tags--taxo {
  margin-top: 0.5rem;
}

.mm-p9-hero-top__lead .mm-tags.mm-tags--taxo .mm-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
}

@media (max-width: 767px) {
  .mm-p9-hero-top {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "lead";
  }

  .mm-p9-hero-top__media {
    justify-self: stretch;
    order: -1;
  }
}

/* Zubereitung: normaler Text (keine Versalien/keine Kursivschrift) */
.mm-prep,
.mm-prep * {
  text-transform: none !important;
  font-style: normal !important;
  letter-spacing: normal !important;
}

/* Vertikal komprimieren (Inline-style sonst sehr dominant) */
.mm-prep {
  margin-top: 0 !important;
  margin-bottom: 0;
}

/* Nährwerte-Table (wie Screenshot) */
.mm-nw {
  margin-top: 0;
}

.mm-nw__title {
  font-weight: 800;
  margin-bottom: 6px;
}

.mm-nw__table {
  width: auto;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: transparent;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.mm-nw__wrap {
  display: inline-block;
  max-width: 100%;
}

.mm-nw__table th,
.mm-nw__table td {
  padding: 4px 10px 4px 0;
  border: 0;
  text-align: left;
  vertical-align: top;
  background: transparent;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.mm-nw__table thead th {
  font-weight: 400;
  border: 0;
  white-space: nowrap;
}

.mm-nw__table thead,
.mm-nw__table tbody,
.mm-nw__table tr {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.mm-nw__table td:first-child {
  padding-right: 16px;
  white-space: nowrap;
}

.mm-nw__table td:nth-child(2),
.mm-nw__table td:nth-child(3) {
  white-space: nowrap;
}

.mm-quelle {
  margin-top: 0;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* KI-Bild erzeugen: Ladebalken */
.mm-gen-image-panel {
  margin-top: 10px;
  max-width: 280px;
}

.mm-gen-image-panel[hidden] {
  display: none !important;
}

.mm-gen-image-msg {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.78);
}

.mm-gen-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.mm-gen-bar__indet {
  height: 100%;
  width: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c98a45, #eeb16d, #f5c896);
  animation: mm-gen-bar-slide 1.35s ease-in-out infinite;
}

@keyframes mm-gen-bar-slide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

.mm-danger-zone {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.mm-btn-edit {
  background: linear-gradient(180deg, #6b6f76 0%, #4a4e54 100%);
  color: #f4f4f5 !important;
  border: 0;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 14px 18px; /* gleiche Größe wie Löschen */
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: filter 0.12s ease, box-shadow 0.12s ease;
}

.mm-btn-edit:hover,
.mm-btn-edit:focus {
  background: linear-gradient(180deg, #787c84 0%, #555a62 100%);
  color: #f4f4f5 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.mm-btn-danger {
  background: linear-gradient(180deg, #6b6f76 0%, #4a4e54 100%);
  color: #f4f4f5 !important;
  border: 0;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: filter 0.12s ease, box-shadow 0.12s ease;
}

.mm-btn-danger:hover,
.mm-btn-danger:focus {
  background: linear-gradient(180deg, #787c84 0%, #555a62 100%);
  color: #f4f4f5 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.mm-btn-edit:focus-visible,
.mm-btn-danger:focus-visible {
  outline: 2px solid rgba(90, 95, 105, 0.65);
  outline-offset: 2px;
}

.mm-export-overlay {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(18, 18, 18, 0.18);
  backdrop-filter: blur(4px);
}

.mm-export-overlay[hidden] {
  display: none !important;
}

.mm-export-overlay__panel {
  width: min(320px, calc(100vw - 32px));
  min-height: 140px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(43, 48, 56, 0.62);
  color: #f4f4f5;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.mm-export-overlay__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.mm-export-overlay__bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.mm-export-overlay__bar-indet {
  height: 100%;
  width: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c98a45, #eeb16d, #f5c896);
  animation: mm-export-overlay-bar-slide 1.35s ease-in-out infinite;
}

@keyframes mm-export-overlay-bar-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

body.mm-theme-dark .mm-export-overlay__panel {
  background: rgba(20, 24, 31, 0.66);
  color: #e7ecf6;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}

.mm-pdf-export-host {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 720px;
  padding: 0;
  margin: 0;
  background: #fff;
  z-index: -1;
}

.mm-pdf-export-clone {
  width: 720px;
  background: #fff !important;
  color: #000 !important;
  font-size: 88%;
}

.mm-pdf-export-clone .mm-cook-card,
.mm-pdf-export-clone .mm-cook-box,
.mm-pdf-export-clone .mm-cook-grid,
.mm-pdf-export-clone .mm-cook-ing-nw,
.mm-pdf-export-clone .mm-p9-hero,
.mm-pdf-export-clone .u-sheet,
.mm-pdf-export-clone .u-layout,
.mm-pdf-export-clone .u-layout-row,
.mm-pdf-export-clone .u-layout-cell-1,
.mm-pdf-export-clone .u-container-layout {
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
  max-width: none !important;
}

.mm-pdf-export-clone .mm-cook-card {
  margin: 0 !important;
  border: 0 !important;
}

.mm-pdf-export-clone .mm-p9-hero-top {
  grid-template-columns: 220px minmax(0, 1fr) !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
}

.mm-pdf-export-clone .mm-p9-hero-top__media {
  width: 220px !important;
  margin-top: 0 !important;
}

.mm-pdf-export-clone .mm-p9-hero-top__lead {
  font-size: 0.82rem !important;
  line-height: 1.28 !important;
  min-width: 0 !important;
}

.mm-pdf-export-clone .mm-p9-hero-unique-title {
  font-size: 1.55rem !important;
  line-height: 1.1 !important;
  margin-bottom: 0.7rem !important;
}

.mm-pdf-export-clone .mm-p9-hero-floattext,
.mm-pdf-export-clone .mm-prep,
.mm-pdf-export-clone .mm-quelle,
.mm-pdf-export-clone .u-text {
  font-size: 0.8rem !important;
  line-height: 1.24 !important;
}

.mm-pdf-export-clone .mm-p9-hero-floattext {
  display: block !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  overflow: visible !important;
  word-break: break-word !important;
  hyphens: auto !important;
  max-width: 100% !important;
  margin: 0 0 10px !important;
  color: #000 !important;
}

.mm-pdf-export-clone .mm-cook-h3 {
  font-size: 0.96rem !important;
}

.mm-pdf-export-clone .mm-u-rezeptimg--hero-top,
.mm-pdf-export-clone .mm-u-rezeptimg--placeholder {
  width: 220px !important;
  max-width: 220px !important;
  max-height: 220px !important;
  object-fit: cover !important;
}

.mm-pdf-export-clone .mm-tag,
.mm-pdf-export-clone .mm-tags.mm-tags--taxo .mm-tag {
  font-size: 0.72rem !important;
  padding: 3px 7px !important;
}

.mm-pdf-export-clone .mm-cook-box {
  margin-top: 12px !important;
}

.mm-pdf-export-clone .mm-cook-ingredients__item,
.mm-pdf-export-clone .mm-cook-step {
  margin-bottom: 4px !important;
}

.mm-pdf-export-clone .mm-nw__table th,
.mm-pdf-export-clone .mm-nw__table td,
.mm-pdf-export-clone .mm-cook-step__text,
.mm-pdf-export-clone .mm-cook-ingredients {
  font-size: 0.8rem !important;
  line-height: 1.22 !important;
}

.mm-pdf-export-clone .mm-cook-ingredients,
.mm-pdf-export-clone .mm-cook-ingredients__item,
.mm-pdf-export-clone .mm-ing-line,
.mm-pdf-export-clone .mm-ing-row,
.mm-pdf-export-clone .mm-ing-row__cols,
.mm-pdf-export-clone .mm-ing-col,
.mm-pdf-export-clone .mm-ing-col--qty,
.mm-pdf-export-clone .mm-ing-col--name,
.mm-pdf-export-clone .mm-ing-amt,
.mm-pdf-export-clone .mm-ing-unit,
.mm-pdf-export-clone .mm-ing-kcal-wrap {
  font-size: 0.74rem !important;
  line-height: 1.18 !important;
}

/* Zubereitung: Nummern-Kreis grau */
.mm-cook-step__num::before {
  background: rgba(0, 0, 0, 0.10) !important;
  color: rgba(0, 0, 0, 0.70) !important;
}

/* Nährwerttabelle: keine alternierenden Zeilenfarben */
.mm-nw__table,
.mm-nw__table thead tr,
.mm-nw__table tbody tr,
.mm-nw__table th,
.mm-nw__table td {
  background: transparent !important;
}

.mm-nw__table tbody tr:nth-child(odd),
.mm-nw__table tbody tr:nth-child(even) {
  background: transparent !important;
}

.mm-cook-title {
  margin: 0 0 6px;
  font-weight: 800;
}

.mm-cook-rating {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(26, 26, 26, 0.78);
  margin-bottom: 10px;
}

.mm-cook-rating__hint {
  font-size: 0.95rem;
  opacity: 0.85;
}

.mm-cook-lead {
  margin: 0 0 14px;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.78);
}

.mm-cook-hero__img .mm-u-rezeptimg {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.mm-cook-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.mm-cook-cta {
  flex: 1 1 auto;
  border: 0;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(224, 96, 112, 0.85);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.mm-cook-cta:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.mm-cook-iconbar {
  display: flex;
  gap: 8px;
}

.mm-cook-icbtn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  cursor: not-allowed;
  font-size: 16px;
  line-height: 1;
}

.mm-cook-share {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(31, 63, 143, 0.06);
  border: 1px solid rgba(31, 63, 143, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.mm-cook-share__icons {
  display: flex;
  gap: 10px;
}

.mm-share-ico {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  font-weight: 800;
  color: rgba(26, 26, 26, 0.75);
}

.mm-cook-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mm-cook-stat {
  text-align: center;
  padding: 12px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.mm-cook-stat__label {
  font-weight: 800;
  color: rgba(26, 26, 26, 0.72);
  font-size: 0.9rem;
}

.mm-cook-stat__value {
  margin-top: 2px;
  font-weight: 900;
  color: rgba(26, 26, 26, 0.9);
}

.mm-cook-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Zutaten links, Nährwerte rechts daneben */
.mm-cook-ing-nw {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 20px 28px;
  align-items: start;
  width: 100%;
}

/* Rezept bearbeiten: zweite Spalte = Schritte (nicht max-content), sonst bleiben Zutaten-Chips in einer Zeile */
@media (min-width: 768px) {
  .mm-cook-ing-nw:has(> .mm-cook-steps) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.mm-cook-ing-nw > .mm-cook-steps {
  min-width: 0;
  max-width: 100%;
}

.mm-cook-ing-nw > .mm-cook-steps #mm-steps .mm-edit-step__zutaten {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Nährwerttabelle + Kochmodus-Button: gleiche Spaltenbreite, Button direkt unter der Box */
.mm-cook-nw-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  justify-self: end;
}

.mm-cook-box--naehrwerte {
  justify-self: auto;
  min-width: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mm-nw--beside-ingredients .mm-nw__wrap {
  display: block;
}

.mm-nw--beside-ingredients .mm-nw__table {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.mm-nw--beside-ingredients .mm-nw__table th:nth-child(2),
.mm-nw--beside-ingredients .mm-nw__table th:nth-child(3),
.mm-nw--beside-ingredients .mm-nw__table td:nth-child(2),
.mm-nw--beside-ingredients .mm-nw__table td:nth-child(3) {
  text-align: right;
}

@media (max-width: 767px) {
  .mm-cook-ing-nw {
    grid-template-columns: 1fr;
  }

  .mm-cook-nw-column {
    justify-self: stretch;
    width: 100%;
  }

  .mm-cook-box--naehrwerte {
    justify-self: stretch;
  }

  .mm-nw--beside-ingredients .mm-nw__table {
    margin-left: 0;
    width: 100%;
  }
}

.mm-cook-box {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 14px;
}

.mm-cook-ingredients-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 12px;
  min-width: 0;
  overflow-x: visible;
}

.mm-cook-ingredients-head__lead {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.mm-cook-ingredients-head__lead .mm-cook-h3--zutaten {
  flex: 0 1 auto;
  min-width: 0;
}

.mm-cook-ingredients-head .mm-cook-ing-sort {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 10px;
  flex: 0 0 auto;
  margin-left: auto;
  max-width: 100%;
}

@media (max-width: 520px) {
  .mm-cook-ingredients-head .mm-cook-ing-sort {
    width: auto;
    max-width: 100%;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  /* Reihenfolge fix: SVG immer links, Select immer rechts */
  .mm-cook-ing-sort__label {
    order: 1;
  }
  .mm-cook-ing-sort__select {
    order: 2;
    min-width: 0;
    width: clamp(120px, 46vw, 160px) !important;
    max-width: 160px !important;
    flex: 0 0 auto;
    display: inline-block;
  }
}

/* Zutatenzeilen: nie umbrechen (stattdessen horizontal scrollen, falls nötig) */
.mm-cook-ingredients__list {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mm-cook-ingredients__item,
.mm-cook-ingredients__item * {
  white-space: nowrap;
}

.mm-cook-ingredients__item {
  font-size: 0.98rem;
}

.mm-nw__table {
  font-size: 0.85rem;
}

@media (max-width: 520px) {
  .mm-cook-box {
    padding: 12px 12px;
  }

  .mm-cook-h3--zutaten {
    font-size: 0.92rem;
  }

  .mm-cook-ingredients__item {
    font-size: 0.9rem;
  }

  .mm-nw__table {
    font-size: 0.78rem;
  }

  .mm-nw__table th,
  .mm-nw__table td {
    padding: 3px 8px 3px 0;
  }
}
.mm-cook-ing-sort__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  margin: 0;
  color: rgba(26, 26, 26, 0.62);
  flex: 0 0 auto;
}

.mm-cook-ing-sort__icon {
  display: block;
  width: 21px;
  height: 21px;
}

.mm-cook-ing-sort__select {
  margin: 0;
  min-width: 140px;
  width: clamp(130px, 32vw, 170px);
  max-width: 170px;
  padding: 8px 32px 8px 10px;
  font-size: 1rem;
  line-height: 1.35;
  color: #1a1a1a;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  cursor: pointer;
}

.mm-cook-ing-sort__select:hover {
  border-color: rgba(0, 0, 0, 0.22);
}

.mm-cook-ing-sort__select:focus {
  outline: 2px solid rgba(224, 96, 112, 0.45);
  outline-offset: 2px;
}

.mm-cook-h3 {
  font-weight: 900;
  margin: 0 0 10px;
}

.mm-cook-h3--zutaten {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.92);
}

.mm-cook-portionen-hinweis {
  margin: 8px 0 0;
  font-size: 0.9rem;
  opacity: 0.82;
}

.mm-cook-ingredients-sep {
  height: 1px;
  margin: 12px 0 4px;
  background: rgba(0, 0, 0, 0.1);
}

.mm-cook-ingredients-empty {
  margin: 10px 0 0;
}

.mm-cook-ingredients {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.mm-cook-ingredients__item {
  padding: 8px 0;
  font-size: 1.03rem;
}

.mm-ing-row {
  width: 100%;
}

.mm-ing-row__cols {
  display: grid;
  grid-template-columns: var(--mm-qty-col, max-content) minmax(0, 1fr);
  gap: 8px 18px;
  align-items: start;
  width: 100%;
  font-size: 1.03rem;
}

@media (max-width: 420px) {
  .mm-ing-row__cols {
    /* nicht umbrechen: bleibt 2-spaltig, aber kompakter */
    grid-template-columns: var(--mm-qty-col, max-content) minmax(0, 1fr);
    gap: 6px 10px;
    font-size: clamp(0.78rem, 3.6vw, 0.9rem);
  }

  .mm-ing-col--name {
    padding-left: 0;
  }
}

.mm-ing-col--qty {
  font-weight: 700;
  color: rgba(26, 26, 26, 0.95);
  text-align: right;
  justify-self: end;
}

.mm-ing-col--name {
  font-weight: 400;
  color: rgba(26, 26, 26, 0.92);
}

.mm-ing-line--fixed {
  display: block;
  flex: 1;
  font-weight: 400;
}

/* Portionen-Widget: in der Kopfzeile rechts neben „Zutaten“, vor der Sortierung */
.mm-cook-servings {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  padding: 2px 4px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.mm-serv-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #c4c4c4;
  color: rgba(26, 26, 26, 0.92);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.05s ease, border-color 0.15s ease;
}

.mm-serv-btn:hover {
  background: #b4b4b4;
}

.mm-serv-btn:active {
  transform: scale(0.96);
}

.mm-serv-btn:focus-visible {
  outline: 2px solid rgba(26, 26, 26, 0.35);
  outline-offset: 2px;
}

.mm-serv-val-wrap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0 3px;
  padding: 1px 8px;
  min-height: 24px;
  border-radius: 5px;
  background: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  color: rgba(26, 26, 26, 0.92);
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.mm-serv-val {
  font-weight: 800;
}

.mm-cook-steps {
  margin-top: 14px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 14px;
}

.mm-cook-steps__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.mm-cook-steps__toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 20px;
  margin-left: auto;
}

.mm-cook-steps__toggles .mm-cook-step-ing-toggle {
  margin-left: 0;
}

.mm-cook-step-ing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  cursor: pointer;
  user-select: none;
  flex: 0 0 auto;
  white-space: nowrap;
}

.mm-cook-step-ing-toggle__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.mm-cook-step-ing-toggle__track {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  transition: background-color 0.2s ease;
  flex: 0 0 auto;
}

.mm-cook-step-ing-toggle__track::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.mm-cook-step-ing-toggle__input:checked + .mm-cook-step-ing-toggle__track {
  background: rgba(26, 26, 26, 0.46);
}

.mm-cook-step-ing-toggle__input:checked + .mm-cook-step-ing-toggle__track::before {
  transform: translateX(18px);
}

.mm-cook-step-ing-toggle__input:focus-visible + .mm-cook-step-ing-toggle__track {
  outline: 2px solid rgba(26, 26, 26, 0.28);
  outline-offset: 2px;
}

.mm-cook-step-ing-toggle__text {
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(26, 26, 26, 0.7);
  white-space: nowrap;
}

.mm-cook-step-ing-toggle--inline {
  margin-left: 0;
}

.mm-cook-stepList {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  counter-reset: step;
}

.mm-cook-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mm-cook-step:last-child {
  border-bottom: 0;
}

.mm-cook-step__num::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(224, 96, 112, 0.20);
  color: rgba(224, 96, 112, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.mm-cook-step__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.mm-cook-step__text {
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.88);
}

.mm-cook-step__zutaten {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.62);
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
}

.mm-cook-step__zutaten-label {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.48);
  margin-bottom: 4px;
}

.mm-cook-step__zutaten-list {
  margin: 0;
  padding-left: 1.15em;
}

.mm-cook-step__zutaten-list li {
  margin: 2px 0;
}

.mm-cook-steps.is-step-zutaten-hidden .mm-cook-step__zutaten {
  display: none;
}

.mm-cook-step__kochmodus {
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(224, 96, 112, 0.07);
  border: 1px solid rgba(224, 96, 112, 0.18);
}

.mm-cook-step__kochmodus .mm-kochmodus-km {
  margin: 0 0 0.5em;
  font-size: 0.88em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(26, 26, 26, 0.62);
}

.mm-cook-step__kochmodus .mm-kochmodus-anweisung {
  margin: 0 0 0.35em;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.9);
}

.mm-cook-step__kochmodus .mm-kochmodus-anweisung:last-child {
  margin-bottom: 0;
}

.mm-cook-steps.is-step-kochmodus-hidden .mm-cook-step__kochmodus {
  display: none;
}

.mm-cook-notes {
  margin-top: 14px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 14px;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.88);
}

/* Outer wrapper: no "boxed callout" feeling */
body.home-landing-page .callout.page-leistungen {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.mm-rezept-page {
  color: var(--mm-ink);
}

.mm-rezept-headcard {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.10);
  margin-bottom: 1rem;
}

.mm-rezept-photo {
  padding: 0.95rem 0.95rem 0.75rem;
}

.mm-rezept-photo__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #ffffff;
  display: block;
}

.mm-rezept-photo__img--placeholder {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(238, 177, 109, 0.55), transparent 60%),
    radial-gradient(circle at 75% 35%, rgba(0, 0, 0, 0.07), transparent 55%),
    linear-gradient(135deg, rgba(242, 242, 242, 1), rgba(255, 255, 255, 1));
}

.mm-rezept-title {
  font-family: "Roboto Condensed", Montserrat, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0.85rem 0 0.25rem;
  line-height: 1.05;
}

.mm-rezept-rating {
  margin: 0.15rem 0 0.35rem;
  color: #caa84a;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}

.mm-rezept-author {
  color: var(--mm-muted);
  margin-bottom: 0.6rem;
}

.mm-rezept-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.25rem 0 0.9rem;
}

.mm-rezept-action {
  border-radius: 999px;
  margin: 0;
  background: rgba(238, 177, 109, 0.18);
  color: var(--mm-ink);
  border: 1px solid rgba(0, 0, 0, 0.14);
  font-weight: 700;
}

.mm-rezept-action:hover,
.mm-rezept-action:focus {
  background: rgba(238, 177, 109, 0.28);
}

.mm-rezept-status {
  font-size: 0.9rem;
  color: var(--mm-muted);
}

.mm-rezept-status--err {
  color: #b00020;
}

.mm-rezept-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--mm-line);
  border-bottom: 1px solid var(--mm-line);
  padding: 0.55rem 0.95rem;
}

.mm-rezept-time {
  text-align: center;
}

.mm-rezept-time__label {
  font-size: 0.9rem;
  color: var(--mm-muted);
  font-weight: 800;
}

.mm-rezept-time__value {
  font-size: 0.95rem;
  color: rgba(26, 26, 26, 0.86);
}

.mm-rezept-portionbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0.95rem 1rem;
  background: var(--mm-bg);
}

.mm-rezept-portionbar__label {
  font-weight: 900;
}

.mm-portion-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.mm-portion-input {
  width: 58px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  text-align: center;
  background: #ffffff;
}

.mm-rezept-portionbar__hint {
  color: var(--mm-muted);
  font-weight: 700;
}

.mm-rezept-content {
  background: var(--mm-bg);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  padding: 1.1rem 1rem 0.85rem;
}

.mm-h2 {
  font-family: "Roboto Condensed", Montserrat, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.15rem 0 0.35rem;
}

.mm-ingredients {
  list-style: none;
  margin: 0.35rem 0 0.75rem;
  padding: 0;
}

.mm-ingredients__item {
  padding: 0.4rem 0.1rem;
  border-bottom: 1px solid var(--mm-line);
}

.mm-ingredients__item:last-child {
  border-bottom: 0;
}

.mm-steps {
  margin: 0.35rem 0 0.75rem;
}

.mm-notes {
  padding: 0.25rem 0.1rem 0.65rem;
  color: rgba(26, 26, 26, 0.88);
  line-height: 1.65;
}

.mm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--mm-line);
}

.mm-taxo {
  margin-top: 8px;
  font-size: 0.85rem;
}

/* In Header: keine Trennlinie, kompakter */
.mm-tags.mm-tags--taxo {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  gap: 0.35rem;
}

.mm-tags__label {
  font-weight: 900;
  color: var(--mm-muted);
  margin-right: 0.25rem;
}

.mm-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--mm-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(26, 26, 26, 0.92);
  font-weight: 800;
  font-size: 0.8rem;
}

.mm-sep {
  height: 1px;
  width: 100%;
  background: rgba(0, 0, 0, 0.10);
  margin-top: 0;
}

/* Sidebar */
.mm-sidebar {
  margin-top: 0.25rem;
}

.mm-sidebar__title {
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin: 0.25rem 0 0.75rem;
  color: rgba(26, 26, 26, 0.85);
  border-top: 1px solid var(--mm-line);
  padding-top: 0.85rem;
}

.mm-sidebar-card {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.25rem;
}

.mm-sidebar-card__imgwrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #ffffff;
}

.mm-sidebar-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.mm-sidebar-card__img--placeholder {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(238, 177, 109, 0.55), transparent 60%),
    radial-gradient(circle at 75% 35%, rgba(0, 0, 0, 0.07), transparent 55%),
    linear-gradient(135deg, rgba(242, 242, 242, 1), rgba(255, 255, 255, 1));
}

.mm-sidebar-card__title {
  margin-top: 0.55rem;
  font-weight: 900;
  color: rgba(26, 26, 26, 0.92);
  line-height: 1.25;
}

@media print {
  .site-header-p4,
  #site-nav-overlay,
  #site-nav-offcanvas,
  .mm-page-footer-tone,
  .cc-window,
  .mm-danger-zone,
  .mm-kochmodus-start-wrap,
  .mm-kochmodus-overlay,
  .mm-rezept-privacy-badge,
  .mm-rezept-fav-badge,
  #btn-generate-image,
  #gen-image-panel,
  #gen-image-status,
  .mm-cook-card > section > .u-clearfix > .u-sheet > p.u-align-left,
  .u-btn,
  button,
  form {
    display: none !important;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
  }

  .row,
  #site-content-column,
  .mm-content-row,
  .mm-rezept-ansehen-section,
  .u-sheet,
  .mm-cook-card,
  .mm-cook-box,
  .mm-cook-grid,
  .mm-cook-ing-nw,
  .mm-p9-hero,
  .mm-p9-hero-top,
  .mm-p9-hero-top__lead,
  .mm-p9-hero-top__media {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
  }

  .mm-u-rezeptimg--hero-top,
  .mm-u-rezeptimg--placeholder {
    max-width: 320px !important;
    margin: 0 0 16px 0 !important;
    border-radius: 12px !important;
  }

  .mm-p9-hero-top {
    display: block !important;
  }

  .mm-cook-box {
    page-break-inside: avoid;
    break-inside: avoid;
    margin-top: 18px !important;
  }

  a,
  a:visited {
    color: #000 !important;
    text-decoration: none !important;
  }

  .mm-kochmodus-start-wrap,
  .mm-kochmodus-overlay {
    display: none !important;
  }

  .mm-rezept-head-actions,
  .mm-rezept-back,
  .mm-sidebar {
    display: none !important;
  }
  .mm-rezept-headcard,
  .mm-rezept-content {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

/* Kochmodus: Button unter Nährwert-Box (gleiche Breite wie Tabelle); Overlay Light/Dark wie Seitenthema */
.mm-kochmodus-start-wrap {
  width: 100%;
  max-width: 100%;
}

.mm-kochmodus-start {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  color: #f4f4f5;
  background: linear-gradient(180deg, #6b6f76 0%, #4a4e54 100%);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.mm-kochmodus-start:hover,
.mm-kochmodus-start:focus {
  filter: brightness(1.05);
  background: linear-gradient(180deg, #787c84 0%, #555a62 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  outline: none;
}

.mm-kochmodus-start:focus-visible {
  outline: 3px solid rgba(90, 95, 105, 0.65);
  outline-offset: 2px;
}

.mm-kochmodus-start:active {
  transform: translateY(1px);
}

body.mm-theme-dark .mm-kochmodus-start {
  color: #f4f4f5;
  background: linear-gradient(180deg, #7d828b 0%, #5c6068 100%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

body.mm-theme-dark .mm-kochmodus-start:hover,
body.mm-theme-dark .mm-kochmodus-start:focus {
  background: linear-gradient(180deg, #8b9099 0%, #686d76 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

body.mm-theme-dark .mm-kochmodus-start:focus-visible {
  outline-color: rgba(140, 146, 156, 0.75);
}

/* Overlay: Hellmodus (Standard) — breitflächig, große Leseschrift */
.mm-kochmodus-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  padding: env(safe-area-inset-top, 0) max(12px, env(safe-area-inset-right, 0)) env(safe-area-inset-bottom, 0) max(12px, env(safe-area-inset-left, 0));
  background: #eef0f4;
  color: #1a1a1a;
}

.mm-kochmodus-overlay[hidden] {
  display: none !important;
}

.mm-kochmodus-overlay:fullscreen,
.mm-kochmodus-overlay:-webkit-full-screen {
  background: #eef0f4;
}

.mm-kochmodus-overlay__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: min(1240px, calc(100vw - 24px));
  height: 100%;
  max-height: 100%;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 20px) clamp(14px, 3vw, 32px) clamp(16px, 2.5vw, 28px);
  box-sizing: border-box;
  min-height: 0;
}

.mm-kochmodus-overlay__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  flex-shrink: 0;
  margin-bottom: 10px;
}

.mm-kochmodus-overlay__headline-block {
  text-align: center;
  min-width: 0;
  justify-self: center;
  max-width: 100%;
}

.mm-kochmodus-overlay__nav--back {
  justify-self: start;
}

.mm-kochmodus-overlay__step-pos {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw + 0.5rem, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  line-height: 1.2;
}

.mm-kochmodus-overlay__recipe-title {
  margin: 6px 0 0;
  font-size: clamp(0.85rem, 1.2vw + 0.45rem, 1.05rem);
  font-weight: 600;
  color: rgba(26, 26, 26, 0.55);
  line-height: 1.35;
}

.mm-kochmodus-overlay__nav {
  flex: 0 0 auto;
  padding: 10px 16px;
  font-size: clamp(0.95rem, 1.2vw + 0.4rem, 1.05rem);
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  color: #1a1a1a;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mm-kochmodus-overlay__nav:hover:not(:disabled),
.mm-kochmodus-overlay__nav:focus {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}

.mm-kochmodus-overlay__nav:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.mm-kochmodus-overlay__nav--forward {
  border: 0;
  color: #f4f4f5;
  background: linear-gradient(180deg, #6b6f76 0%, #4a4e54 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  padding: 10px 20px;
}

.mm-kochmodus-overlay__nav--forward:hover:not(:disabled),
.mm-kochmodus-overlay__nav--forward:focus {
  filter: brightness(1.05);
  background: linear-gradient(180deg, #787c84 0%, #555a62 100%);
}

.mm-kochmodus-overlay__header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.mm-kochmodus-overlay__close-x {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  color: #1a1a1a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mm-kochmodus-overlay__close-x:hover,
.mm-kochmodus-overlay__close-x:focus {
  background: rgba(0, 0, 0, 0.1);
  outline: none;
}

.mm-kochmodus-overlay__close-x:focus-visible {
  outline: 2px solid rgba(45, 127, 249, 0.55);
  outline-offset: 2px;
}

.mm-kochmodus-overlay__progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: clamp(12px, 2vw, 20px);
}

.mm-kochmodus-overlay__progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7a7f87, #a8adb5);
  transition: width 0.25s ease;
}

.mm-kochmodus-overlay__body {
  flex: 1 1 0%;
  min-height: 0;
  overflow: hidden;
  padding: 0 0 4px;
}

.mm-kochmodus-overlay__body.mm-kochmodus-overlay__body--intro {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mm-kochmodus-overlay__body.mm-kochmodus-overlay__body--outro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mm-kochmodus-overlay--outro .mm-kochmodus-overlay__close-x {
  display: none;
}

.mm-kochmodus-overlay__footer {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: clamp(12px, 2vw, 20px) 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mm-kochmodus-overlay__footer-btn {
  margin: 0;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(26, 26, 26, 0.65);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mm-kochmodus-overlay__footer-btn:hover,
.mm-kochmodus-overlay__footer-btn:focus {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(26, 26, 26, 0.88);
  outline: none;
}

.mm-kochmodus-overlay__footer-btn:focus-visible {
  outline: 2px solid rgba(90, 95, 105, 0.65);
  outline-offset: 2px;
}

body.mm-theme-dark .mm-kochmodus-overlay__footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.mm-theme-dark .mm-kochmodus-overlay__footer-btn {
  color: rgba(231, 236, 246, 0.65);
}

body.mm-theme-dark .mm-kochmodus-overlay__footer-btn:hover,
body.mm-theme-dark .mm-kochmodus-overlay__footer-btn:focus {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(231, 236, 246, 0.88);
}

.mm-kochmodus-overlay__outro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(8px, 2vw, 20px) 0;
  gap: clamp(16px, 3vw, 28px);
}

.mm-kochmodus-overlay__outro-img {
  display: block;
  width: 100%;
  max-width: min(520px, 100%);
  height: auto;
  max-height: min(48vh, 440px);
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.mm-kochmodus-overlay__outro-img--placeholder {
  aspect-ratio: 4 / 3;
  min-height: 180px;
  width: 100%;
  max-width: min(520px, 100%);
  background-image:
    radial-gradient(circle at 22% 22%, rgba(120, 120, 128, 0.2), transparent 58%),
    radial-gradient(circle at 78% 38%, rgba(0, 0, 0, 0.05), transparent 52%),
    linear-gradient(145deg, #e4e6ea 0%, #f7f8fa 100%);
}

.mm-kochmodus-overlay__outro-msg {
  margin: 0;
  font-size: clamp(1.15rem, 2vw + 0.6rem, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  color: #2c3138;
  letter-spacing: 0.01em;
}

body.mm-theme-dark .mm-kochmodus-overlay__outro-msg {
  color: #e7ecf6;
}

body.mm-theme-dark .mm-kochmodus-overlay__outro-img {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

body.mm-theme-dark .mm-kochmodus-overlay__outro-img--placeholder {
  background-image:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(145deg, #252830 0%, #1a1d24 100%);
}

/* Schriftgröße der Schritte: Basis-Element für fitKochmodusBody */
.mm-kochmodus-overlay__step {
  box-sizing: border-box;
  width: 100%;
  font-size: clamp(13px, 2.2vw + 8px, 28px);
  min-width: 0;
}

.mm-kochmodus-overlay__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: stretch;
  min-height: min(52vh, 420px);
}

@media (max-width: 639px) {
  .mm-kochmodus-overlay__split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

.mm-kochmodus-overlay__tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(16px, 3vw, 28px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  min-height: 180px;
}

.mm-kochmodus-overlay__tool-label {
  font-size: 0.55em;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(60, 64, 72, 0.75);
  margin-bottom: 0.65em;
}

.mm-kochmodus-overlay__tool-text {
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(26, 26, 26, 0.88);
  word-break: break-word;
  max-width: 100%;
}

.mm-kochmodus-overlay__instruction {
  display: flex;
  align-items: center;
  padding: clamp(12px, 2vw, 20px) 0;
  min-width: 0;
}

.mm-kochmodus-overlay__instruction-text {
  font-size: 1.55em;
  line-height: 1.45;
  font-weight: 600;
  color: #243040;
  word-break: break-word;
}

/* Kochmodus-Overlay: Darkmode */
body.mm-theme-dark .mm-kochmodus-overlay {
  background: #0f1218;
  color: #e7ecf6;
}

body.mm-theme-dark .mm-kochmodus-overlay:fullscreen,
body.mm-theme-dark .mm-kochmodus-overlay:-webkit-full-screen {
  background: #0f1218;
}

body.mm-theme-dark .mm-kochmodus-overlay__close-x {
  background: rgba(255, 255, 255, 0.08);
  color: #e7ecf6;
}

body.mm-theme-dark .mm-kochmodus-overlay__close-x:hover,
body.mm-theme-dark .mm-kochmodus-overlay__close-x:focus {
  background: rgba(255, 255, 255, 0.14);
}

body.mm-theme-dark .mm-kochmodus-overlay__close-x:focus-visible {
  outline-color: rgba(120, 169, 255, 0.75);
}

body.mm-theme-dark .mm-kochmodus-overlay__step-pos {
  color: #e7ecf6;
}

body.mm-theme-dark .mm-kochmodus-overlay__recipe-title {
  color: rgba(231, 236, 246, 0.55);
}

body.mm-theme-dark .mm-kochmodus-overlay__nav.mm-kochmodus-overlay__nav--back {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #e7ecf6;
}

body.mm-theme-dark .mm-kochmodus-overlay__nav.mm-kochmodus-overlay__nav--back:hover:not(:disabled),
body.mm-theme-dark .mm-kochmodus-overlay__nav.mm-kochmodus-overlay__nav--back:focus {
  background: rgba(255, 255, 255, 0.1);
}

body.mm-theme-dark .mm-kochmodus-overlay__nav--forward {
  color: #f4f4f5;
  background: linear-gradient(180deg, #7d828b 0%, #5c6068 100%);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

body.mm-theme-dark .mm-kochmodus-overlay__nav--forward:hover:not(:disabled),
body.mm-theme-dark .mm-kochmodus-overlay__nav--forward:focus {
  background: linear-gradient(180deg, #8b9099 0%, #686d76 100%);
}

body.mm-theme-dark .mm-kochmodus-overlay__progress-track {
  background: rgba(255, 255, 255, 0.1);
}

body.mm-theme-dark .mm-kochmodus-overlay__progress-fill {
  background: linear-gradient(90deg, #8b919b, #b4bac4);
}

body.mm-theme-dark .mm-kochmodus-overlay__tool {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

body.mm-theme-dark .mm-kochmodus-overlay__tool-label {
  color: rgba(200, 206, 216, 0.85);
}

body.mm-theme-dark .mm-kochmodus-overlay__tool-text {
  color: #e7ecf6;
}

body.mm-theme-dark .mm-kochmodus-overlay__instruction-text {
  color: #e7ecf6;
}

/* Kochmodus: Zusammenfassung vor dem ersten Schritt */
.mm-kochmodus-overlay--intro .mm-kochmodus-overlay__progress-track {
  display: none;
}

.mm-kochmodus-overlay--intro .mm-kochmodus-overlay__nav--back,
.mm-kochmodus-overlay--intro .mm-kochmodus-overlay__nav--forward {
  visibility: hidden;
  pointer-events: none;
}

.mm-kochmodus-overlay__intro {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  max-width: 100%;
  width: 100%;
}

.mm-kochmodus-overlay__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  min-height: 0;
  flex: 1 1 auto;
}

.mm-kochmodus-overlay__intro-left {
  min-width: 0;
  font-size: clamp(0.9rem, 1.2vw + 0.55rem, 1.05rem);
  line-height: 1.5;
  color: #1a1a1a;
}

.mm-kochmodus-overlay__intro-section {
  margin: 0 0 clamp(14px, 2vw, 22px);
}

.mm-kochmodus-overlay__intro-section:last-of-type {
  margin-bottom: 0;
}

.mm-kochmodus-overlay__intro-h {
  margin: 0 0 8px;
  font-size: clamp(0.78rem, 0.9vw + 0.5rem, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
}

.mm-kochmodus-overlay__intro-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 6px;
  align-items: baseline;
}

.mm-kochmodus-overlay__intro-line:last-child {
  margin-bottom: 0;
}

.mm-kochmodus-overlay__intro-line--dauer {
  margin-bottom: 0;
}

.mm-kochmodus-overlay__intro-line--dauer .mm-kochmodus-overlay__intro-v {
  flex: 1 1 auto;
  min-width: 0;
}

.mm-kochmodus-overlay__intro-k {
  font-weight: 700;
  color: #1a1a1a;
}

.mm-kochmodus-overlay__intro-k::after {
  content: ":";
}

.mm-kochmodus-overlay__intro-v {
  font-weight: 600;
  color: rgba(26, 26, 26, 0.85);
}

.mm-kochmodus-overlay__intro-list {
  margin: 0;
  padding-left: 1.2em;
}

.mm-kochmodus-overlay__intro-list li {
  margin-bottom: 4px;
}

.mm-kochmodus-overlay__intro-empty {
  margin: 0;
  color: rgba(26, 26, 26, 0.45);
}

.mm-kochmodus-overlay__intro-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
  align-items: stretch;
}

.mm-kochmodus-overlay__intro-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 420px);
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.mm-kochmodus-overlay__intro-img--placeholder {
  aspect-ratio: 4 / 3;
  min-height: 160px;
  background-image:
    radial-gradient(circle at 22% 22%, rgba(120, 120, 128, 0.2), transparent 58%),
    radial-gradient(circle at 78% 38%, rgba(0, 0, 0, 0.05), transparent 52%),
    linear-gradient(145deg, #e4e6ea 0%, #f7f8fa 100%);
}

.mm-kochmodus-overlay__intro-actions {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.mm-kochmodus-overlay__start-flow {
  margin: 0;
  padding: 14px 28px;
  font-size: clamp(1rem, 1.2vw + 0.55rem, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  color: #f4f4f5;
  background: linear-gradient(180deg, #6b6f76 0%, #4a4e54 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.mm-kochmodus-overlay__start-flow:hover,
.mm-kochmodus-overlay__start-flow:focus {
  filter: brightness(1.05);
  outline: none;
}

.mm-kochmodus-overlay__start-flow:focus-visible {
  outline: 2px solid rgba(90, 95, 105, 0.65);
  outline-offset: 3px;
}

@media (max-width: 719px) {
  .mm-kochmodus-overlay__intro-grid {
    grid-template-columns: 1fr;
  }

  .mm-kochmodus-overlay__intro-right {
    position: static;
    order: -1;
  }

  .mm-kochmodus-overlay__intro-img {
    max-height: min(38vh, 280px);
  }
}

body.mm-theme-dark .mm-kochmodus-overlay__intro-left {
  color: #e7ecf6;
}

body.mm-theme-dark .mm-kochmodus-overlay__intro-h {
  color: rgba(231, 236, 246, 0.45);
}

body.mm-theme-dark .mm-kochmodus-overlay__intro-k {
  color: #e7ecf6;
}

body.mm-theme-dark .mm-kochmodus-overlay__intro-v {
  color: rgba(231, 236, 246, 0.88);
}

body.mm-theme-dark .mm-kochmodus-overlay__intro-empty {
  color: rgba(231, 236, 246, 0.4);
}

body.mm-theme-dark .mm-kochmodus-overlay__intro-img {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

body.mm-theme-dark .mm-kochmodus-overlay__start-flow {
  color: #f4f4f5;
  background: linear-gradient(180deg, #7d828b 0%, #5c6068 100%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

body.mm-theme-dark .mm-kochmodus-overlay__start-flow:hover,
body.mm-theme-dark .mm-kochmodus-overlay__start-flow:focus {
  background: linear-gradient(180deg, #8b9099 0%, #686d76 100%);
}

@media (max-width: 520px) {
  .mm-kochmodus-overlay__header {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .mm-kochmodus-overlay__headline-block {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .mm-kochmodus-overlay__nav--back {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .mm-kochmodus-overlay__header-right {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

