/* ==========================================================================
   Manus Bäckerei – Design „Klar“ (v2) + „Mit Herz“ (v3: mehr Bild, Wärme, Bewegung, Handschrift)
   Angelehnt an den bisherigen Auftritt: Fotos der Backstube, warmes Dunkelbraun,
   Weiß, das Rot aus dem Herz-Logo als einziger Akzent. Ruhig, klar, gut lesbar.
   Schrift selbst gehostet (DSGVO): Nunito Sans (OFL). Klassen-Präfix „m-“.
   ========================================================================== */

@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --braun: #34241c;        /* Hauptfarbe: Kruste, Kopf- und Fußbereich */
  --braun-2: #4a3529;
  --text: #2f2a27;
  --text-2: #5b524c;
  --muted: #8a7f77;
  --rot: #c8102e;          /* Herz aus dem Logo */
  --rot-2: #a50d26;
  --creme: #f7f3ee;        /* ruhiger Hintergrund für Abschnitte */
  --creme-2: #efe8df;
  --weiss: #ffffff;
  --line: #e6ded5;
  --ok: #3f7a3a;
  --err: #b3261e;

  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --gold: #e9b44c;         /* warmer Krustenton für kleine Akzente */
  --shadow-lg: 0 2px 4px rgba(40, 25, 15, .06), 0 22px 44px -18px rgba(40, 25, 15, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --r: 10px;
  --shadow: 0 1px 2px rgba(40, 25, 15, .06), 0 8px 24px -12px rgba(40, 25, 15, .18);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--text); background: var(--weiss); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
a { color: var(--rot); text-underline-offset: 3px; }
a:hover { color: var(--rot-2); }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; color: var(--braun); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }
[hidden] { display: none !important; }
.ico { flex: none; vertical-align: -.2em; }
.m-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.m-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--braun); color: #fff; padding: 10px 16px; border-radius: 6px; }
.m-skip:focus { left: 10px; }
.m-wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.m-muted { color: var(--muted); font-size: .95rem; }
.m-kicker { font: 700 .8rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--rot); margin: 0 0 .8em; }
.m-lead { font-size: 1.15rem; color: var(--text-2); max-width: 62ch; }
.m-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.m-row--between { justify-content: space-between; }
.m-hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
/* Rote Linie unter Überschriften – wie auf der bisherigen Seite */
.m-rule { display: block; width: 64px; height: 3px; background: var(--rot); border-radius: 2px; margin: 14px 0 22px; }
.m-center { text-align: center; }
.m-mt { margin-top: 28px; }
.m-center .m-rule { margin-inline: auto; }
.m-center .m-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 6px; border: 2px solid var(--rot); background: var(--rot); color: #fff; font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.m-btn:hover { background: var(--rot-2); border-color: var(--rot-2); color: #fff; }
.m-btn--crust { background: var(--rot); border-color: var(--rot); }
.m-btn--line { background: transparent; color: var(--braun); border-color: var(--braun); }
.m-btn--line:hover { background: var(--braun); color: #fff; border-color: var(--braun); }
.m-btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.m-btn--light:hover { background: #fff; color: var(--braun); border-color: #fff; }
.m-btn--chalk { background: #fff; color: var(--braun); border-color: #fff; }
.m-btn--chalk:hover { background: var(--creme); color: var(--braun); border-color: var(--creme); }
.m-btn--small { padding: .5em .9em; font-size: .9rem; }
.m-btn--block { width: 100%; }
.m-btn--big { padding: 1em 1.5em; font-size: 1.05rem; }
.m-btn--grow { flex: 1; }
.m-btn.is-busy { opacity: .7; pointer-events: none; }
.m-link { display: inline-flex; gap: .4em; align-items: center; font-weight: 700; text-decoration: none; color: var(--rot); }
.m-link:hover { text-decoration: underline; }
.m-link--btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; color: var(--rot); }
.m-iconbtn { background: none; border: 0; padding: 8px; border-radius: 6px; color: var(--muted); cursor: pointer; }
.m-iconbtn:hover { color: var(--err); background: #fbeceb; }
.m-pill { display: inline-flex; align-items: center; gap: .4em; padding: .3em .7em; border-radius: 999px; background: var(--creme); color: var(--text-2); font-size: .82rem; font-weight: 700; white-space: nowrap; }

/* ---------- Kopfbereich ---------- */
.m-topbar { background: var(--braun); color: #eadfd5; font-size: .85rem; }
.m-topbar__in { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 36px; }
.m-topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.m-topbar .ico { color: #fff; opacity: .8; }
.m-topbar__in > * { display: inline-flex; gap: .45em; align-items: center; }
.m-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.m-head__bar { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.m-brand { display: block; flex: none; }
.m-brand img { width: 190px; height: auto; }
.m-nav { margin-left: auto; }
.m-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.m-nav__item { position: relative; }
.m-nav__item > a { display: block; padding: 10px 12px; color: var(--braun); text-decoration: none; font-weight: 700; font-size: .98rem; border-bottom: 2px solid transparent; }
.m-nav__item > a:hover { color: var(--rot); }
.m-nav__item > a.is-active { border-bottom-color: var(--rot); }
.m-nav__drop { position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s ease; z-index: 30; }
.m-nav__item--sub:hover .m-nav__drop, .m-nav__item--sub:focus-within .m-nav__drop { opacity: 1; visibility: visible; transform: none; }
.m-nav__drop a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 6px; color: var(--text); text-decoration: none; font-weight: 600; }
.m-nav__drop a:hover { background: var(--creme); color: var(--rot); }
.m-nav__drop .ico { color: var(--muted); }
.m-tools { display: flex; gap: 2px; }
.m-tool { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--braun); background: none; border: 0; cursor: pointer; text-decoration: none; }
.m-tool:hover { background: var(--creme); color: var(--rot); }
.m-tool__count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--rot); color: #fff; font: 800 .72rem/20px var(--font); text-align: center; }
.m-tool__count.bump { animation: m-bump .4s ease; }
@keyframes m-bump { 50% { transform: scale(1.3); } }
.m-nav-toggle { display: none; }
.m-nav-toggle .ico-close, .m-nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.m-nav-toggle[aria-expanded="true"] .ico-close { display: block; }
@media (max-width: 980px) {
  .m-head__bar { flex-wrap: wrap; min-height: 68px; }
  .m-brand img { width: 150px; }
  .m-tools { margin-left: auto; }
  .m-nav-toggle { display: grid; }
  .m-nav { display: none; order: 3; width: 100%; margin: 0 0 12px; }
  .m-nav.is-open { display: block; }
  .m-nav__list { flex-direction: column; align-items: stretch; }
  .m-nav__item > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .m-nav__drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  .m-hide-sm { display: none !important; }
}

/* ---------- Abschnitte ---------- */
.m-section { padding: clamp(56px, 7vw, 96px) 0; }
.m-section--creme { background: var(--creme); }
.m-section--braun { background: var(--braun); color: #eadfd5; }
.m-section--braun h2, .m-section--braun h3 { color: #fff; }
.m-sechead { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.m-sechead--row { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: none; flex-wrap: wrap; }

/* ---------- Startseite: Foto-Held wie bisher ---------- */
.m-hero { position: relative; color: #fff; background: var(--braun) url("../images/hero-brot.jpg") center / cover no-repeat; }
.m-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 20, 10, .62), rgba(40, 20, 10, .72)); }
.m-hero__in { position: relative; min-height: clamp(460px, 68vh, 640px); display: grid; place-items: center; text-align: center; padding: 60px 0; }
.m-hero__logo { width: min(340px, 70vw); margin: 0 auto 22px; }
.m-hero h1 { color: #fff; margin-bottom: .35em; }
.m-hero p { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); max-width: 720px; margin: 0 auto 1em; color: rgba(255, 255, 255, .92); }
.m-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* Einleitung + Fotoraster */
.m-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.m-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / .85; }
.m-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.m-mosaic img:first-child { grid-row: 1 / 3; }
@media (max-width: 860px) { .m-intro-grid { grid-template-columns: 1fr; } }

/* Kategorien als Fotokacheln */
.m-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.m-cat { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; background: var(--braun); }
.m-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.m-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 15, 8, 0) 35%, rgba(30, 15, 8, .82)); }
.m-cat:hover img { transform: scale(1.04); }
.m-cat__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; }
.m-cat__title { display: block; font-size: 1.3rem; font-weight: 800; }
.m-cat__meta { display: block; font-size: .9rem; opacity: .9; }

/* Leistungen */
.m-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.m-service { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.m-service .ico { color: var(--rot); margin-bottom: 12px; }
.m-service h3 { margin-bottom: .4em; }
.m-service p { color: var(--text-2); margin: 0; font-size: .98rem; }

/* Über Manu */
.m-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.m-about img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.m-about__sign { font-weight: 800; color: var(--braun); margin-top: 1.2em; }
.m-about__sign span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .m-about { grid-template-columns: 1fr; } }

/* ---------- Filialen & Öffnungszeiten ---------- */
.m-locs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.m-loc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 20px; box-shadow: var(--shadow); color: var(--text); }
.m-loc h3 { margin-bottom: .2em; color: var(--braun); }
.m-loc__addr { color: var(--text-2); margin-bottom: 10px; }
.m-loc__phone { display: inline-flex; gap: .45em; align-items: center; font-weight: 700; text-decoration: none; margin-bottom: 14px; }
.m-loc__status { font-weight: 700; font-size: .92rem; margin: 0 0 8px; color: var(--muted); }
.m-loc__status.is-open { color: var(--ok); }
.m-hours { margin: 0; }
.m-hours__row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.m-hours__row dt { font-weight: 600; }
.m-hours__row dd { margin: 0; text-align: right; color: var(--text-2); }
.m-hours__row.is-today dt, .m-hours__row.is-today dd { color: var(--rot); font-weight: 800; }
.m-hours__row.is-today dt::after { content: " · heute"; font-weight: 600; }
.m-loc--compact { box-shadow: none; padding: 0; border: 0; background: none; color: inherit; }
.m-loc--compact h3 { color: #fff; font-size: 1rem; }
.m-loc--compact .m-loc__addr, .m-loc--compact .m-hours__row dd { color: #d9ccc0; }
.m-loc--compact .m-hours__row { border-color: rgba(255, 255, 255, .12); font-size: .88rem; padding: 4px 0; }
.m-loc--compact .m-loc__phone { color: #fff; margin-bottom: 6px; }
.m-loc--compact .m-hours__row.is-today dt, .m-loc--compact .m-hours__row.is-today dd { color: #fff; }

/* ---------- Seitenköpfe & Brotkrumen ---------- */
.m-pagehead { background: var(--creme); padding: clamp(28px, 4vw, 48px) 0 clamp(24px, 3vw, 36px); margin-bottom: clamp(28px, 4vw, 44px); }
.m-pagehead h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); margin-bottom: .2em; }
.m-pagehead .m-lead { margin: .4em 0 0; }
.m-crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.m-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.m-crumbs a { color: var(--muted); text-decoration: none; }
.m-crumbs a:hover { color: var(--rot); }
.m-product-top { padding-top: 22px; }

/* ---------- Sortiment ---------- */
.m-intro { background: var(--creme); padding: clamp(28px, 4vw, 48px) 0; margin-bottom: 26px; }
.m-intro__in { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: center; }
.m-intro__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.m-intro__text { margin-top: 8px; }
@media (max-width: 760px) { .m-intro__in { grid-template-columns: 1fr; } .m-intro__img { display: none; } }
.m-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; }
.m-tab { display: inline-flex; gap: .45em; align-items: center; white-space: nowrap; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-weight: 700; font-size: .95rem; }
.m-tab:hover { border-color: var(--braun); color: var(--braun); }
.m-tab.is-active { background: var(--braun); border-color: var(--braun); color: #fff; }
.m-tab .ico { opacity: .7; }
.m-shop { padding-bottom: 30px; }
.m-shop__bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 8px 0 24px; }
.m-search { flex: 1 1 320px; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #d8cdc2; border-radius: 6px; padding: 0 12px; }
.m-search .ico { color: var(--muted); }
.m-search input { border: 0; outline: 0; background: none; padding: 11px 0; width: 100%; font: inherit; color: inherit; }
.m-search:focus-within { border-color: var(--braun); }
.m-select select { font: inherit; padding: 11px 12px; border-radius: 6px; border: 1px solid #d8cdc2; background: #fff; color: var(--text); }
.m-shop__count { margin: 0 0 0 auto; color: var(--muted); font-size: .95rem; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.m-empty { padding: 30px; text-align: center; color: var(--muted); }
.m-hintbar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 10px 0 70px; }
.m-hintbar p { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 16px 18px; border-radius: var(--r); background: var(--creme); }
.m-hintbar .ico { color: var(--rot); margin-top: 2px; }
@media (max-width: 760px) { .m-hintbar { grid-template-columns: 1fr; } }

/* Produktkarte */
.m-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.m-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.m-card__img { position: relative; display: block; aspect-ratio: 1; background: var(--creme); }
.m-card__img img { width: 100%; height: 100%; object-fit: cover; }
.m-card__ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.m-card__body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; flex: 1; }
.m-card__cat { margin: 0; font: 700 .72rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.m-card__title { margin: 0; font-size: 1.1rem; }
.m-card__title a { color: var(--braun); text-decoration: none; }
.m-card__title a::after { content: ""; position: absolute; inset: 0; }
.m-card__meta { margin: 0; color: var(--muted); font-size: .9rem; }
.m-card__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.m-card__foot form, .m-card__foot .m-pill { position: relative; z-index: 2; }
.m-card__price { font-size: 1.2rem; font-weight: 800; color: var(--braun); }
.m-stamp { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--rot); color: #fff; font: 800 .72rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; }
.m-stamp--lg { top: 16px; left: 16px; font-size: .8rem; }

/* ---------- Produktseite ---------- */
.m-product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: 12px 0 60px; align-items: start; }
.m-product__stage { position: relative; border-radius: var(--r); overflow: hidden; background: var(--creme); aspect-ratio: 1; }
.m-product__stage img { width: 100%; height: 100%; object-fit: cover; }
.m-thumbs { list-style: none; display: flex; gap: 10px; margin: 14px 0 0; padding: 0; }
.m-thumb { padding: 2px; border: 2px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; }
.m-thumb img { border-radius: 6px; }
.m-thumb.is-active, .m-thumb:hover { border-color: var(--rot); }
.m-product__info h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); margin-bottom: .2em; }
.m-product__weight { font-weight: 700; color: var(--muted); margin-bottom: 1.1em; }
.m-product__desc { font-size: 1.05rem; color: var(--text-2); }
.m-tipnote { margin: 22px 0; padding: 14px 18px; background: var(--creme); border-left: 4px solid var(--rot); border-radius: 0 var(--r) var(--r) 0; }
.m-tipnote p { margin: 0; }
.m-tipnote .m-tipnote__head { font-weight: 800; color: var(--braun); margin-bottom: 2px; }
.m-buy { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin: 22px 0; }
.m-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.m-price__value { font-size: 2rem; font-weight: 800; color: var(--braun); }
.m-price__tax { color: var(--muted); }
.m-buy__note { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--text-2); margin: 8px 0 16px; }
.m-buy__note .ico { color: var(--ok); }
.m-buy__small { font-size: .95rem; color: var(--muted); margin: 0; }
.m-buy__form { display: flex; gap: 12px; flex-wrap: wrap; }
.m-qty { display: inline-flex; align-items: center; border: 1px solid #d8cdc2; border-radius: 6px; overflow: hidden; background: #fff; }
.m-qty button { background: none; border: 0; width: 42px; height: 48px; cursor: pointer; color: var(--braun); }
.m-qty button:hover { background: var(--creme); }
.m-qty input { width: 48px; border: 0; text-align: center; font: 700 1rem var(--font); color: var(--text); -moz-appearance: textfield; background: none; }
.m-qty input::-webkit-outer-spin-button, .m-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.m-facts { border-top: 1px solid var(--line); padding-top: 14px; }
.m-facts summary { cursor: pointer; font-weight: 800; color: var(--braun); }
.m-facts dl { margin: 12px 0; }
.m-facts dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.m-facts dt { font-weight: 700; }
.m-facts dd { margin: 0; color: var(--text-2); }
.m-facts__hint { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .m-product { grid-template-columns: 1fr; } }

/* ---------- Inhaltsseiten ---------- */
.m-page { padding-bottom: 80px; }
.m-prose { max-width: 72ch; font-size: 1.05rem; }
.m-prose h2 { margin-top: 1.5em; font-size: 1.6rem; }
.m-prose h3 { margin-top: 1.3em; }
.m-prose ul, .m-prose ol { padding-left: 1.3em; }
.m-prose li { margin: .3em 0; }
.m-prose li::marker { color: var(--rot); }
.m-prose blockquote { margin: 1.4em 0; padding: 12px 18px; background: var(--creme); border-left: 4px solid var(--rot); font-size: 1.1rem; }
.m-prose blockquote p { margin: 0; }
.m-prose img { border-radius: var(--r); }
.m-prose table { border-collapse: collapse; width: 100%; }
.m-prose th, .m-prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); padding-bottom: 80px; align-items: start; }
.m-split .m-locs { margin-top: 26px; grid-template-columns: 1fr; }
@media (max-width: 900px) { .m-split { grid-template-columns: 1fr; } }
.m-ideas { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.m-ideas li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--creme); border-radius: var(--r); }
.m-ideas .ico { color: var(--rot); }
.m-ideas strong { display: block; color: var(--braun); }
.m-404 { text-align: center; padding: 60px 0 100px; max-width: 700px; }
.m-404 img { width: 260px; margin: 0 auto 20px; }
.m-404 .m-row { justify-content: center; }

/* ---------- Formulare ---------- */
.m-formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.m-formcard h2 { font-size: 1.5rem; }
.m-stack { display: grid; gap: 14px; }
.m-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.m-field { display: grid; gap: 6px; font-weight: 700; font-size: .94rem; }
.m-field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .m-fields { grid-template-columns: 1fr; } }
.m-field__err { color: var(--err); font-weight: 700; font-size: .88rem; }
.m-main input[type="text"], .m-main input[type="email"], .m-main input[type="tel"], .m-main input[type="password"], .m-main input:not([type]), .m-main select, .m-main textarea, .m-line__qty input {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--text); background: #fff; border: 1px solid #d8cdc2; border-radius: 6px; padding: 11px 12px;
}
.m-main input:focus, .m-main select:focus, .m-main textarea:focus { outline: 0; border-color: var(--braun); box-shadow: 0 0 0 3px rgba(200, 16, 46, .12); }
.m-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .96rem; cursor: pointer; }
.m-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--rot); flex: none; }
.form-honeybear { display: none !important; }
.m-formcard .form-field { margin-bottom: 14px; }
.m-formcard .form-label label, .m-formcard .form-data > label { display: block; font-weight: 700; font-size: .94rem; margin-bottom: 6px; }
.m-formcard .form-input-wrapper label { display: inline; }
.m-formcard .form-input-wrapper input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--rot); margin-right: 8px; vertical-align: -3px; }
.m-formcard button.button, .m-formcard .button, .m-formcard input[type=submit] { display: inline-flex; padding: .8em 1.4em; border-radius: 6px; border: 2px solid var(--rot); background: var(--rot); color: #fff; font: 700 1rem var(--font); cursor: pointer; }
.m-formcard .notices { padding: 12px 16px; border-radius: 6px; margin-bottom: 14px; background: var(--creme); }
.m-formcard .notices.green { background: #e7f1e4; }
.m-formcard .notices.red, .m-formcard .form-errors { background: #fbeceb; color: var(--err); }

/* Meldungen */
.m-flashes { display: grid; gap: 10px; margin-bottom: 20px; }
.m-flash { margin: 0; padding: 12px 16px; border-radius: 6px; font-weight: 700; background: var(--creme); border-left: 4px solid var(--muted); }
.m-flash--success { background: #e7f1e4; border-color: var(--ok); }
.m-flash--error { background: #fbeceb; border-color: var(--err); color: #7d2219; }

/* ---------- Warenkorb & Kasse ---------- */
.m-cart, .m-checkout, .m-thanks { padding-bottom: 90px; }
.m-cart__grid, .m-checkout__grid { display: grid; grid-template-columns: 1fr 370px; gap: 30px; align-items: start; }
@media (max-width: 960px) { .m-cart__grid, .m-checkout__grid { grid-template-columns: 1fr; } }
.m-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.m-line { display: grid; grid-template-columns: 76px 1fr 80px 100px 44px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.m-line__img img { border-radius: 6px; width: 76px; height: 76px; object-fit: cover; }
.m-line__name a { font-weight: 800; color: var(--braun); text-decoration: none; }
.m-line__name small { display: block; color: var(--muted); }
.m-line__qty input { text-align: center; font-weight: 700; }
.m-line__sum { text-align: right; font-weight: 800; color: var(--braun); }
@media (max-width: 600px) { .m-line { grid-template-columns: 60px 1fr 70px; } .m-line__img img { width: 60px; height: 60px; } .m-line__sum { grid-column: 2; text-align: left; } .m-iconbtn { grid-column: 3; justify-self: end; } }
.m-summary { background: var(--creme); border-radius: var(--r); padding: 22px; display: grid; gap: 14px; }
.m-summary h2 { font-size: 1.35rem; margin: 0; }
.m-summary--sticky { position: sticky; top: 100px; }
.m-summary__note { font-size: .88rem; color: var(--muted); margin: 0; }
.m-totals { margin: 0; display: grid; gap: 8px; }
.m-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.m-totals dt, .m-totals dd { margin: 0; }
.m-totals dd { font-weight: 700; }
.m-totals__grand { border-top: 1px solid #d8cdc2; padding-top: 10px; font-size: 1.15rem; }
.m-totals__grand dd { font-weight: 800; color: var(--braun); }
.m-totals__small { font-size: .86rem; color: var(--muted); }
.m-totals__small dd { font-weight: 400; }
.m-minilines { list-style: none; margin: 0; padding: 0 0 10px; border-bottom: 1px solid #d8cdc2; display: grid; gap: 6px; font-size: .95rem; }
.m-minilines li { display: flex; justify-content: space-between; gap: 12px; }
.m-fs { margin: 0 0 16px; padding: 20px 22px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.m-fs legend { float: left; width: 100%; display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 1.15rem; color: var(--braun); margin-bottom: 14px; padding: 0; }
.m-fs legend + * { clear: both; }
.m-fs__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--braun); color: #fff; font-size: .95rem; flex: none; }
.m-pay { display: grid; gap: 10px; }
.m-pay__opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #d8cdc2; border-radius: 6px; cursor: pointer; }
.m-pay__opt:has(input:checked) { border-color: var(--rot); background: #fdf6f6; }
.m-pay__opt input { accent-color: var(--rot); width: 18px; height: 18px; margin-top: 4px; }
.m-pay__opt small { display: block; color: var(--muted); font-size: .9rem; }
.m-emptybox { text-align: center; padding: 40px 20px 60px; max-width: 560px; margin: 0 auto; }
.m-emptybox img { width: 220px; margin: 0 auto 16px; }
.m-thanks-head { padding: clamp(32px, 5vw, 60px) 0 30px; background: var(--creme); margin-bottom: 32px; border-top: 4px solid var(--ok); }
.m-thanks-head.is-warn { border-top-color: #c98a1c; }
.m-thanks-head__note { margin: 0; color: var(--text-2); }
.m-pill--paid, .m-pill--shipped { background: #e7f1e4; color: var(--ok); }
.m-pill--awaiting_prepayment, .m-pill--awaiting_payment { background: #fbf1dd; color: #8a5a0a; }
.m-pill--cancelled, .m-pill--payment_failed { background: #fbeceb; color: var(--err); }
.m-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin: 16px 0; }
.m-box h2 { font-size: 1.25rem; }
.m-box--bank { border-color: var(--braun); }
.m-kv { margin: 0; display: grid; gap: 6px; }
.m-kv > div { display: grid; grid-template-columns: 160px 1fr; gap: 10px; }
.m-kv dt { color: var(--muted); }
.m-kv dd { margin: 0; font-weight: 700; }
.m-kv code { font-size: 1rem; background: var(--creme); padding: 2px 6px; border-radius: 4px; }
.m-addr { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.m-addr h3 { font-size: 1rem; }
@media (max-width: 560px) { .m-kv > div, .m-addr { grid-template-columns: 1fr; } }

/* Hinweis-Toast (von erm.js gesteuert) */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90; display: flex; gap: 14px; align-items: center; padding: 14px 20px; border-radius: 8px; background: var(--braun); color: #fff; font-weight: 700; box-shadow: var(--shadow); opacity: 0; transition: .25s ease; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: #fff; white-space: nowrap; }
.toast.toast--error { background: var(--err); }

/* ---------- Fußbereich ---------- */
.m-foot { background: var(--braun); color: #d9ccc0; }
.m-foot__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr .8fr; gap: 36px; padding: 56px 0 36px; }
.m-foot__logo { width: 190px; margin-bottom: 16px; }
.m-foot p { font-size: .95rem; }
.m-foot a { color: #fff; text-decoration: none; }
.m-foot a:hover { color: #fff; text-decoration: underline; }
.m-foot h2 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.m-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.m-foot__social { display: flex; gap: 12px; margin-top: 14px; }
.m-foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0 26px; font-size: .84rem; color: #b8a99c; }
.m-foot__base p { margin: 0; display: flex; gap: .5em; align-items: center; }
@media (max-width: 980px) { .m-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .m-foot__grid { grid-template-columns: 1fr; } }

/* Anmeldung (Login-Plugin) */
.tpl-login .m-main, .tpl-forgot .m-main, .tpl-reset .m-main { width: min(100% - 32px, 460px); margin: 50px auto 90px; }
#grav-login { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
#grav-login .login-form { border: 0; box-shadow: none; padding: 0; }
#grav-login h1 { font-size: 1.6rem; }
#grav-login input { margin-bottom: 12px; }
#grav-login .button { padding: .7em 1.2em; border-radius: 6px; border: 2px solid var(--rot); background: var(--rot); color: #fff; font-weight: 700; cursor: pointer; }
#grav-login .button.secondary { background: transparent; color: var(--braun); border-color: var(--braun); }

.is-intern .m-main { padding: 20px 0 60px; }
.m-main { overflow-x: clip; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .m-topbar, .m-head, .m-foot, .toast, .m-buy__form { display: none !important; } }
.m-mt-s { margin-top: 16px; }
.m-pay__opt.is-disabled { opacity: .55; cursor: not-allowed; }
.m-fs legend small { font-weight: 400; font-size: .85rem; }
/* Konto */
.m-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 22px 0; }
.m-stat { background: var(--creme); border-radius: var(--r); padding: 16px 18px; }
.m-stat strong { display: block; font-size: 1.4rem; color: var(--braun); }
.m-stat span { color: var(--muted); font-size: .9rem; }
.m-tablewrap { overflow-x: auto; }
.m-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.m-table th, .m-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.m-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.m-table .num { text-align: right; }
.m-inline { display: inline; }
.m-dealerbar { background: var(--rot); color: #fff; }


/* ==========================================================================
   v3 „Mit Herz“ – aufgepeppt auf derselben Basis
   ========================================================================== */

/* ---------- Handschrift ---------- */
.m-hand { font-family: var(--hand); font-weight: 700; color: var(--rot); line-height: 1; letter-spacing: 0; }
.m-hand--inline { display: inline-block; font-size: .8em; margin-left: .35em; transform: rotate(-4deg) translateY(-.1em); }

/* ---------- Herz-Linie statt einfachem Strich ---------- */
.m-rule { position: relative; width: 132px; height: 16px; background: none; margin: 12px 0 22px; }
.m-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--rot) 0 40%, transparent 40% 60%, var(--rot) 60%); }
.m-rule::after { content: ""; position: absolute; left: 50%; top: 0; width: 18px; height: 16px; margin-left: -9px; background: var(--rot); -webkit-mask: url("../images/herz.svg") center / contain no-repeat; mask: url("../images/herz.svg") center / contain no-repeat; }
.m-section--braun .m-rule::before { background: linear-gradient(90deg, #fff 0 40%, transparent 40% 60%, #fff 60%); opacity: .5; }

/* ---------- Buttons mit etwas mehr Leben ---------- */
.m-btn { transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.m-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(200, 16, 46, .55); }
.m-btn .ico { transition: transform .2s var(--ease); }
.m-btn:hover .ico:last-child { transform: translateX(3px); }
.m-btn--line:hover, .m-btn--light:hover { box-shadow: 0 10px 20px -12px rgba(40, 25, 15, .5); }
.m-link .ico { transition: transform .2s var(--ease); }
.m-link:hover .ico { transform: translateX(4px); }

/* ---------- Kopf: Schatten beim Scrollen, Linie wächst ---------- */
.m-head { transition: box-shadow .25s; }
.m-head.is-scrolled { box-shadow: 0 8px 24px -16px rgba(40, 25, 15, .45); }
.m-nav__item > a { position: relative; border-bottom: 0; }
.m-nav__item > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--rot); transform: scaleX(0); transition: transform .25s var(--ease); }
.m-nav__item > a:hover::after, .m-nav__item > a.is-active::after { transform: scaleX(1); }
@media (max-width: 980px) { .m-nav__item > a::after { display: none; } }

/* ---------- Foto-Held ---------- */
.m-hero { background: var(--braun); overflow: hidden; isolation: isolate; }
.m-hero__bg { position: absolute; inset: -2%; z-index: -2; background: url("../images/hero-brot.jpg") center / cover no-repeat; animation: m-kenburns 26s ease-in-out infinite alternate; }
.m-hero::before { z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgba(40, 20, 10, .45), rgba(30, 14, 6, .82) 75%); }
.m-hero__in { min-height: clamp(520px, 82vh, 760px); padding: 70px 0 90px; }
.m-hero__content > * { animation: m-rise .9s var(--ease) both; }
.m-hero__content > :nth-child(2) { animation-delay: .12s; }
.m-hero__content > :nth-child(3) { animation-delay: .22s; }
.m-hero__content > :nth-child(4) { animation-delay: .32s; }
.m-hero__content > :nth-child(5) { animation-delay: .42s; }
.m-hero__content > :nth-child(6) { animation-delay: .52s; }
.m-hero .m-hero__hand { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); color: #fff; margin: -6px auto 12px; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.m-hero__hand::after { content: ""; display: inline-block; width: .7em; height: .62em; margin-left: .25em; background: var(--rot); -webkit-mask: url("../images/herz.svg") center / contain no-repeat; mask: url("../images/herz.svg") center / contain no-repeat; vertical-align: -.02em; animation: m-beat 2.4s ease-in-out infinite; }
.m-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.9rem); text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.m-hero__seal { position: absolute; right: max(0px, calc(50% - 590px)); bottom: 70px; width: clamp(110px, 12vw, 150px); animation: m-rise 1s .6s var(--ease) both; }
@media (max-width: 760px) { .m-hero__seal { right: 8px; bottom: 26px; width: 92px; } .m-hero__in { padding-bottom: 120px; } }
@keyframes m-kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes m-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes m-beat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.22); } 40% { transform: scale(.95); } }

/* Stempel */
.m-seal { display: block; overflow: visible; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .3)); }
.m-seal__bg { fill: var(--rot); }
.m-seal__ring { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; stroke-dasharray: 3 5; }
.m-seal__txt { fill: #fff; font: 800 17px/1 var(--font); letter-spacing: .12em; }
.m-seal__heart { fill: #fff; }
.m-seal__spin { transform-origin: 100px 100px; animation: m-spin 28s linear infinite; }
@keyframes m-spin { to { transform: rotate(360deg); } }

/* ---------- Rotes Laufband ---------- */
.m-band { position: relative; z-index: 3; background: var(--rot); color: #fff; overflow: hidden; margin: -26px -2% 0; padding: 14px 0; transform: rotate(-1.4deg); box-shadow: 0 12px 26px -14px rgba(120, 10, 25, .7); }
.m-band__track { display: flex; width: max-content; animation: m-marquee 38s linear infinite; }
.m-band:hover .m-band__track { animation-play-state: paused; }
.m-band__list { display: flex; list-style: none; margin: 0; padding: 0; }
.m-band__list li { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 800 1.05rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.m-band__list .ico { color: rgba(255, 255, 255, .75); }
@keyframes m-marquee { to { transform: translateX(-50%); } }

/* ---------- Wellen-Übergänge ---------- */
.m-section--wave, .m-section--wave-dark, .m-foot { position: relative; }
.m-section--wave::before, .m-section--wave-dark::before, .m-foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(22px, 3vw, 44px); background: inherit; -webkit-mask: url("../images/welle.svg") center bottom / 100% 100% no-repeat; mask: url("../images/welle.svg") center bottom / 100% 100% no-repeat; pointer-events: none; }
.m-section--creme.m-section--wave::before { background: var(--creme); }
.m-section--braun.m-section--wave-dark::before, .m-foot::before { background: var(--braun); }
.m-section--wave-dark + .m-foot::before { display: none; }
.m-section--wave-dark + .m-foot .m-foot__grid { border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---------- Einleitung: Fotos wie aufgelegte Abzüge ---------- */
.m-mosaic { position: relative; gap: 16px; }
.m-mosaic img { border: 6px solid #fff; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease); }
.m-mosaic img:nth-child(1) { transform: rotate(-2deg); }
.m-mosaic img:nth-child(2) { transform: rotate(2.2deg) translateY(-6px); }
.m-mosaic img:nth-child(3) { transform: rotate(-1.4deg) translate(4px, 6px); }
.m-mosaic img:hover { transform: rotate(0) scale(1.03); z-index: 2; }
.m-mosaic__note { position: absolute; left: -10px; bottom: -34px; margin: 0; font-size: 2rem; transform: rotate(-6deg); background: #fff; padding: 4px 14px 8px; border-radius: 6px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .m-mosaic__note { left: 8px; bottom: -22px; font-size: 1.7rem; } }

/* ---------- Sortiment: Kacheln im Bento-Raster ---------- */
.m-cats--bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, 25vw); gap: 18px; }
@media (min-width: 1180px) { .m-cats--bento { grid-auto-rows: 270px; } }
.m-cats--bento .m-cat { aspect-ratio: auto; box-shadow: var(--shadow); border-radius: 14px; transition: transform .35s var(--ease), box-shadow .35s; }
.m-cats--bento .m-cat:first-child { grid-column: span 2; grid-row: span 2; }
.m-cats--bento .m-cat:first-child .m-cat__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.m-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.m-cat img { transition: transform .8s var(--ease); }
.m-cat:hover img { transform: scale(1.08); }
.m-cat::after { background: linear-gradient(180deg, rgba(30, 15, 8, 0) 30%, rgba(30, 15, 8, .88)); }
.m-cat__body { padding: 20px 22px; }
.m-cat__kicker { display: block; font-family: var(--hand); font-size: 1.45rem; line-height: 1; color: #ffd6dc; margin-bottom: 4px; }
.m-cat__go { display: inline-flex; gap: .4em; align-items: center; margin-top: 8px; font-weight: 800; font-size: .92rem; opacity: 0; transform: translateY(6px); transition: .3s var(--ease); }
.m-cat:hover .m-cat__go, .m-cat:focus-visible .m-cat__go { opacity: 1; transform: none; }
.m-cat::before { content: ""; position: absolute; inset: 0; z-index: 1; border-bottom: 4px solid var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); pointer-events: none; }
.m-cat:hover::before { transform: scaleX(1); }
@media (max-width: 760px) {
  .m-cats--bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 12px; }
  .m-cats--bento .m-cat:first-child { grid-row: span 1; grid-auto-rows: 240px; }
  .m-cat__go { opacity: 1; transform: none; }
}

/* ---------- Zitat auf Foto ---------- */
.m-quote { position: relative; isolation: isolate; color: #fff; text-align: center; padding: clamp(80px, 11vw, 150px) 0; background: var(--braun) url("../images/backstube-teiglinge.jpg") center / cover no-repeat; }
@media (min-width: 900px) and (hover: hover) { .m-quote { background-attachment: fixed; } }
.m-quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40, 20, 10, .78), rgba(40, 20, 10, .62)); }
.m-quote__in > .ico { color: var(--rot); margin: 0 auto 10px; animation: m-beat 2.4s ease-in-out infinite; }
.m-quote blockquote { margin: 0 auto; max-width: 900px; }
.m-quote blockquote p { color: #fff; font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); margin: 0 0 .35em; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.m-quote footer { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: #f0e2d6; }

/* ---------- Produktkarten ---------- */
.m-card { border-radius: 14px; border-color: transparent; box-shadow: var(--shadow); transition: box-shadow .3s, transform .3s var(--ease); }
.m-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.m-card__img { overflow: hidden; }
.m-card__img img { transition: transform .7s var(--ease); }
.m-card:hover .m-card__img img { transform: scale(1.07); }
.m-stamp { top: 12px; left: 12px; padding: 7px 11px; border-radius: 999px; transform: rotate(-4deg); box-shadow: 0 6px 14px -6px rgba(120, 10, 25, .7); letter-spacing: .08em; }
.m-stamp--lg { top: 18px; left: 18px; font-size: .85rem; padding: 9px 14px; }
.m-card__price { font-size: 1.35rem; }
.m-card .m-btn--small { border-radius: 999px; }
.m-card .m-pill { background: var(--creme-2); }

/* ---------- Versand in 3 Schritten ---------- */
.m-ship { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.m-ship__img { position: relative; }
.m-ship__img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); }
.m-ship__img::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; z-index: -1; border-radius: 18px; background: var(--rot); opacity: .9; }
.m-ship__img { isolation: isolate; }
.m-ship__note { position: absolute; right: 14px; top: -22px; margin: 0; font-size: 2rem; background: #fff; padding: 4px 14px 8px; border-radius: 6px; transform: rotate(5deg); box-shadow: var(--shadow); }
.m-steps { list-style: none; counter-reset: st; margin: 22px 0 28px; padding: 0; display: grid; gap: 14px; }
.m-steps li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.m-steps__ico { position: relative; display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: #fdecee; color: var(--rot); }
.m-steps li:nth-child(1) .m-steps__ico::after { content: "1"; }
.m-steps li:nth-child(2) .m-steps__ico::after { content: "2"; }
.m-steps li:nth-child(3) .m-steps__ico::after { content: "3"; }
.m-steps__ico::after { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--braun); color: #fff; font: 800 .75rem/22px var(--font); text-align: center; }
.m-steps strong { display: block; color: var(--braun); font-size: 1.05rem; }
.m-steps li > span:last-child { color: var(--text-2); font-size: .98rem; }
@media (max-width: 860px) { .m-ship { grid-template-columns: 1fr; } .m-ship__img::before { inset: 14px -8px -10px 14px; } }

/* ---------- Leistungen ---------- */
.m-service { position: relative; border: 0; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.m-service::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.m-service:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.m-service:hover::before { transform: scaleX(1); }
.m-service__ico { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 14px; border-radius: 50%; background: #fdecee; color: var(--rot); transition: transform .4s var(--ease), background .3s, color .3s; }
.m-service__ico .ico { margin: 0; }
.m-service:hover .m-service__ico { transform: rotate(-8deg) scale(1.06); background: var(--rot); color: #fff; }

/* ---------- Persönlich ---------- */
.m-about__photo { position: relative; isolation: isolate; }
.m-about__photo::before { content: ""; position: absolute; inset: -18px 22px 22px -18px; z-index: -1; border-radius: 18px; background: var(--rot); }
.m-about__photo::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 70px; height: 62px; background: var(--braun); -webkit-mask: url("../images/herz.svg") center / contain no-repeat; mask: url("../images/herz.svg") center / contain no-repeat; transform: rotate(12deg); }
.m-about img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.m-about__sign .m-hand { display: block; font-size: 2.6rem; margin-bottom: 4px; transform: rotate(-3deg); transform-origin: left; }
.m-about__sign small { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .m-about__photo::before { inset: -10px 14px 14px -10px; } .m-about__photo::after { right: -4px; } }

/* ---------- Filialen / dunkle Flächen: Herz als Wasserzeichen ---------- */
.m-section--braun { overflow: hidden; }
.m-section--braun > .m-wrap { position: relative; }
.m-section--braun::after { content: ""; position: absolute; right: -80px; top: 40px; width: 420px; height: 380px; background: #fff; opacity: .035; -webkit-mask: url("../images/herz.svg") center / contain no-repeat; mask: url("../images/herz.svg") center / contain no-repeat; transform: rotate(14deg); pointer-events: none; }
.m-section--braun { position: relative; }
.m-loc { border-radius: 14px; transition: transform .3s var(--ease); }
.m-loc:hover { transform: translateY(-4px); }

/* ---------- Seitenköpfe ---------- */
.m-pagehead { position: relative; overflow: hidden; }
.m-pagehead::after { content: ""; position: absolute; right: 6%; top: 50%; width: clamp(140px, 18vw, 240px); height: clamp(128px, 16.5vw, 220px); background: var(--rot); opacity: .08; -webkit-mask: url("../images/herz.svg") center / contain no-repeat; mask: url("../images/herz.svg") center / contain no-repeat; transform: translateY(-50%) rotate(12deg); }
.m-pagehead .m-wrap { position: relative; z-index: 1; }
.m-intro { position: relative; overflow: hidden; }
.m-intro__img { border: 6px solid #fff; box-shadow: var(--shadow-lg); transform: rotate(2deg); border-radius: 12px; }
.m-tab { transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.m-tab:hover { transform: translateY(-2px); }
.m-hintbar p { border-radius: 14px; }

/* ---------- Produktseite ---------- */
.m-product__stage { border-radius: 18px; box-shadow: var(--shadow-lg); }
.m-buy { background: var(--creme); border: 0; border-top: 4px solid var(--rot); border-radius: 14px; }
.m-tipnote { border-radius: 14px; border-left: 0; background: #fff; box-shadow: var(--shadow); position: relative; padding: 16px 20px 16px 64px; }
.m-tipnote::before { content: ""; position: absolute; left: 20px; top: 18px; width: 28px; height: 25px; background: var(--rot); -webkit-mask: url("../images/herz.svg") center / contain no-repeat; mask: url("../images/herz.svg") center / contain no-repeat; }
.m-tipnote .m-tipnote__head { font-family: var(--hand); font-size: 1.7rem; line-height: 1; color: var(--rot); margin-bottom: 4px; }

/* ---------- Fuß ---------- */
.m-foot .m-foot__thanks { font-size: 1.9rem; color: #fff; margin: 18px 0 0; transform: rotate(-3deg); transform-origin: left; }

/* ---------- Sanftes Einblenden beim Scrollen (JS setzt .m-js) ---------- */
.m-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.m-js [data-reveal].is-in { opacity: 1; transform: none; }
.m-js .m-mosaic img[data-reveal]:nth-child(1).is-in { transform: rotate(-2deg); }
.m-js .m-mosaic img[data-reveal]:nth-child(2).is-in { transform: rotate(2.2deg) translateY(-6px); }
.m-js .m-mosaic img[data-reveal]:nth-child(3).is-in { transform: rotate(-1.4deg) translate(4px, 6px); }
.m-js .m-mosaic img[data-reveal].is-in:hover { transform: rotate(0) scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .m-js [data-reveal] { opacity: 1; transform: none; }
  .m-hero__bg, .m-band__track, .m-seal__spin { animation: none !important; }
}

/* ---------- Instagram-Kacheln (lokale Bilder, nur Links) ---------- */
.m-insta .m-kicker { display: inline-flex; gap: .45em; align-items: center; }
.m-insta__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.m-insta__item { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--creme); box-shadow: var(--shadow); color: #fff; text-decoration: none; }
.m-insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.m-insta__cap { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; padding: 16px; text-align: center; font-weight: 800; background: rgba(200, 16, 46, .82); opacity: 0; transition: opacity .3s; }
.m-insta__item:hover img, .m-insta__item:focus-visible img { transform: scale(1.08); }
.m-insta__item:hover .m-insta__cap, .m-insta__item:focus-visible .m-insta__cap { opacity: 1; }
.m-insta__grid li:nth-child(odd) .m-insta__item { transform: rotate(-1deg); }
.m-insta__grid li:nth-child(even) .m-insta__item { transform: rotate(1deg); }
@media (max-width: 760px) { .m-insta__grid { grid-template-columns: 1fr 1fr; gap: 10px; } .m-insta__cap { opacity: 1; inset: auto 0 0 0; flex-direction: row; justify-content: flex-start; padding: 8px 10px; font-size: .85rem; background: linear-gradient(180deg, transparent, rgba(30, 15, 8, .8)); } .m-insta__cap .ico { display: none; } }
@media (max-width: 760px) {
  .m-cats--bento .m-cat__body { padding: 12px 14px; }
  .m-cats--bento .m-cat:not(:first-child) .m-cat__kicker, .m-cats--bento .m-cat:not(:first-child) .m-cat__go { display: none; }
  .m-cats--bento .m-cat:not(:first-child) .m-cat__title { font-size: 1.05rem; }
  .m-cats--bento .m-cat__meta { font-size: .8rem; }
  .m-topbar__in > span { font-size: .78rem; }
}

/* ---------- Angebote (Sonderpreis) ---------- */
.m-price__was { color: var(--muted); font-weight: 700; font-size: 1.1rem; }
.m-price__value--special { color: var(--rot); }
.m-price__offer { display: inline-block; margin: 6px 0 0; padding: 4px 10px; border-radius: 999px; background: #fdecee; color: var(--rot); font-weight: 800; font-size: .85rem; }
.m-card__was { color: var(--muted); font-weight: 600; font-size: .95rem; margin-right: 4px; }
.m-card__special { color: var(--rot); }
.m-stamp--offer { background: var(--gold); color: var(--braun); box-shadow: 0 6px 14px -6px rgba(120, 80, 10, .6); }
.m-offers { padding-top: clamp(48px, 6vw, 80px); }

/* SEO-Text unter dem Sortiment */
.m-seotext { padding: 10px 0 30px; }
.m-seotext > * { max-width: 820px; }
.m-seotext h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.m-seotext .m-prose { color: var(--text-2); }

/* ---------- v7: Cookie-Hinweis, Widerrufsfunktion, Grundpreis, Wartungshinweis ---------- */
.m-cookie { position: fixed; inset: auto 12px 12px 12px; z-index: 90; display: flex; justify-content: center; pointer-events: none; }
.m-cookie__in { pointer-events: auto; width: min(100%, 720px); background: #fff; color: var(--text); border: 1px solid var(--line); border-top: 4px solid var(--rot); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 16px 18px; font-size: .95rem; }
.m-cookie__in p { margin: 0 0 .6em; }
.m-cookie__t { font-size: 1.05rem; color: var(--braun); }
.m-cookie__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 560px) { .m-cookie__btns .m-btn { width: 100%; } }
.m-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.m-foot__withdraw { margin-top: 14px; }
.m-price__base, .m-card__base { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; }
.m-price__base { margin: .2em 0 0; }
.m-price__tax a { color: inherit; }
.m-wdl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 18px; }
.m-wdl dt { font-weight: 700; color: var(--braun); }
.m-wdl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .m-wdl { grid-template-columns: 1fr; } .m-wdl dd { margin-bottom: 8px; } }
.m-downbar { position: sticky; bottom: 0; z-index: 80; margin: 0; padding: 10px 16px; background: var(--err); color: #fff; text-align: center; font-weight: 700; }

/* ==========================================================================
   v7 „Modern“ – gleiche Inhalte, gleiche Farben (Braun, Weiß, Herz-Rot),
   aber ruhiger und zeitgemäßer: weichere Rundungen, Pillen-Knöpfe, sanfte Schatten,
   mehr Luft, klarere Karten, Glas-Kopfzeile. Nur CSS – Templates bleiben gleich.
   ========================================================================== */
:root {
  --r: 18px;
  --r-s: 12px;
  --shadow: 0 1px 2px rgba(40, 25, 15, .05), 0 12px 32px -16px rgba(40, 25, 15, .22);
  --shadow-lg: 0 2px 6px rgba(40, 25, 15, .06), 0 30px 60px -24px rgba(40, 25, 15, .38);
  --line: #ece5dd;
}
body { font-size: 17px; }
h1, h2, h3 { letter-spacing: -.02em; }
h2 { font-weight: 850; }

/* Knöpfe: Pillenform, leichte Anhebung */
.m-btn { border-radius: 999px; padding: .85em 1.5em; box-shadow: 0 6px 16px -10px rgba(200, 16, 46, .7); transition: background .15s, border-color .15s, color .15s, transform .15s var(--ease), box-shadow .15s; }
.m-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(200, 16, 46, .75); }
.m-btn:active { transform: translateY(0); }
.m-btn--line, .m-btn--light, .m-btn--chalk { box-shadow: none; }
.m-btn--small { padding: .55em 1em; }
.m-formcard button.button, .m-formcard .button, .m-formcard input[type=submit] { border-radius: 999px; }

/* Kopfzeile: Glas-Effekt, Navigation mit Pillen-Hover */
.m-topbar { font-size: .82rem; letter-spacing: .01em; }
.m-head { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: rgba(52, 36, 28, .08); }
.m-head.is-scrolled { box-shadow: 0 10px 30px -22px rgba(40, 25, 15, .45); }
.m-nav__item > a { border-radius: 999px; border-bottom: 0; padding: 9px 14px; transition: background .15s, color .15s; }
.m-nav__item > a:hover { background: var(--creme); color: var(--braun); }
.m-nav__item > a.is-active { background: var(--braun); color: #fff; }
.m-nav__drop { border-radius: var(--r-s); border-color: var(--line); box-shadow: var(--shadow-lg); }

/* Rubrik-Zeile („Kicker“) als kleine Plakette */
.m-kicker { display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border-radius: 999px; background: #fbeaec; color: var(--rot-2); letter-spacing: .12em; font-size: .72rem; }
.m-section--braun .m-kicker, .m-hero .m-kicker { background: rgba(255, 255, 255, .12); color: #fff; }

/* Hero: kräftigerer Verlauf, abgerundeter Abschluss */
.m-hero::before { background: radial-gradient(120% 90% at 50% 30%, rgba(40, 20, 10, .45), rgba(28, 14, 8, .82)); }
.m-hero h1 { text-wrap: balance; }

/* Abschnitte & Kacheln */
.m-section { padding: clamp(64px, 8vw, 112px) 0; }
.m-cat { border-radius: var(--r); box-shadow: var(--shadow); }
.m-cat img { transition: transform .6s var(--ease); }
.m-cat:hover img { transform: scale(1.06); }
.m-service { border: 0; border-radius: var(--r); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.m-service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.m-service .ico { background: #fbeaec; border-radius: 14px; padding: 8px; width: 46px; height: 46px; }

/* Produktkarten: ohne Rahmen, weiche Schatten, Bild-Zoom */
.m-card { border: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.m-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.m-card__img { overflow: hidden; }
.m-card__img img { transition: transform .5s var(--ease); }
.m-card:hover .m-card__img img { transform: scale(1.05); }
.m-card__body { padding: 16px 18px 18px; }
.m-card__title { font-size: 1.12rem; }
.m-card__price { font-size: 1.3rem; }
.m-stamp { border-radius: 999px; padding: 6px 11px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.m-pill { background: var(--creme); }

/* Seitenkopf */
.m-pagehead { background: linear-gradient(180deg, var(--creme), #fff); }

/* Formulare */
.m-main input[type="text"], .m-main input[type="email"], .m-main input[type="tel"], .m-main input[type="password"], .m-main input:not([type]), .m-main select, .m-main textarea, .m-main input[type="search"], .m-main input[type="date"] { border-radius: var(--r-s); border-color: #e2d8cd; transition: border-color .15s, box-shadow .15s; }
.m-main input:focus, .m-main select:focus, .m-main textarea:focus { border-color: var(--braun); box-shadow: 0 0 0 4px rgba(52, 36, 28, .1); outline: none; }
.m-formcard, .m-fs { border: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.m-pay__opt { border-radius: var(--r-s); border-color: #e6ddd3; transition: border-color .15s, background .15s; }
.m-summary { border-radius: var(--r); }
.m-buy { border: 0; border-radius: var(--r); box-shadow: var(--shadow); background: #fff; }

/* Fußbereich: abgerundeter Übergang */
.m-foot .m-linkbtn { text-decoration: none; }
.m-foot .m-linkbtn:hover { text-decoration: underline; }
.m-foot__withdraw { box-shadow: none; }

/* Cookie-Hinweis passend */
.m-cookie__in { border-radius: var(--r); border-top-width: 0; box-shadow: var(--shadow-lg); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .m-card__body { padding: 12px 14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-btn, .m-card, .m-service, .m-cat img, .m-card__img img { transition: none !important; transform: none !important; }
}

/* ---------- Bildansicht (Lightbox) ---------- */
.m-lightbox { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; gap: 8px; padding: max(16px, 3vw); background: rgba(24, 14, 8, .92); backdrop-filter: blur(4px); }
.m-lightbox[hidden] { display: none; }
.m-lightbox__figure { margin: 0; max-width: min(1100px, 92vw); max-height: 88vh; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.m-lightbox__figure img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); background: #fff; }
.m-lightbox figcaption { color: rgba(255, 255, 255, .85); font-size: .92rem; text-align: center; }
.m-lightbox__close, .m-lightbox__nav { border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; border-radius: 999px; line-height: 1; transition: background .15s; }
.m-lightbox__close:hover, .m-lightbox__nav:hover { background: rgba(255, 255, 255, .3); }
.m-lightbox__close { position: absolute; top: 14px; right: 16px; width: 46px; height: 46px; font-size: 1.9rem; }
.m-lightbox__nav { width: 52px; height: 52px; font-size: 2.2rem; flex: none; }
.m-lightbox__nav[hidden] { display: none; }
.is-lb-open { overflow: hidden; }
[data-gallery-link] { cursor: zoom-in; display: block; }
@media (max-width: 640px) {
  .m-lightbox { padding: 8px; gap: 4px; }
  .m-lightbox__nav { position: absolute; bottom: 18px; width: 48px; height: 48px; }
  .m-lightbox__nav--prev { left: 16px; }
  .m-lightbox__nav--next { right: 16px; }
  .m-lightbox__figure img { max-height: 70vh; }
}
.m-cookie__more { align-self: center; margin-right: auto; font-size: .92rem; }

/* ==========================================================================
   Stellenangebote (Jobs) – öffentliche Seiten
   ========================================================================== */
.m-small { font-size: .88rem; }
.m-section--plain { padding: 40px 0 0; }

/* Häkchenlisten (Aufgaben, Profil, Vorteile) */
.m-ticks { list-style: none; margin: .6em 0 1.4em; padding: 0; display: grid; gap: 10px; }
.m-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.m-ticks .ico { flex: none; margin-top: 2px; color: var(--rot); }

/* Jobs im Hauptmenü: nie umbrechen */
.m-nav__jobs { white-space: nowrap; }

/* Übersicht der offenen Stellen */
.m-jobs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.m-job { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.m-job:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.m-job__head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; justify-content: space-between; }
.m-job__title { margin: 0; font-size: 1.35rem; }
.m-job__title a { color: var(--braun); text-decoration: none; }
.m-job__title a:hover { color: var(--rot); }
.m-job__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.m-job__intro { margin: .7em 0 1em; color: var(--text-2); max-width: 70ch; }
.m-job__more { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.m-jobs__note { margin-top: 36px; max-width: 80ch; font-size: .92rem; }

/* Einzelne Anzeige */
.m-jobpage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding-bottom: 80px; }
.m-jobpage__main h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.m-jobpage__side { position: sticky; top: 110px; }
@media (max-width: 960px) {
  .m-jobpage { grid-template-columns: 1fr; gap: 28px; }
  .m-jobpage__side { position: static; }
}

.m-jobfacts { list-style: none; margin: 18px 0 26px; padding: 16px 18px; background: var(--creme); border-radius: var(--r); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 20px; }
.m-jobfacts li { display: flex; gap: 10px; align-items: flex-start; }
.m-jobfacts .ico { flex: none; margin-top: 2px; color: var(--rot); }
.m-jobfacts strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }

.m-box--apply { border-color: var(--braun); background: linear-gradient(180deg, #fff, #fffaf6); }
.m-box--apply .m-fields { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .m-box--apply .m-fields { grid-template-columns: 1fr; } }
.m-jobcontact { margin: .8em 0 1.2em; line-height: 1.7; }
.m-jobcontact .ico { color: var(--rot); vertical-align: -2px; }

/* Navigation im internen Bereich (im Eltern-Theme definiert, hier im Manus-Stil) */
.intern-nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 22px; padding-bottom: 0; border-bottom: 2px solid var(--line); }
.intern-nav__item { padding: .6em 1.1em; border: 1px solid transparent; border-bottom: 0; border-radius: 10px 10px 0 0; color: var(--text-2); font-weight: 700; font-size: .94rem; text-decoration: none; }
.intern-nav__item:hover { background: var(--creme); color: var(--braun); }
.intern-nav__item.is-active { position: relative; top: 2px; background: #fff; border-color: var(--line); color: var(--braun); }
.intern-nav__logout { margin-left: auto; padding: .6em 1.1em; color: var(--muted); font-size: .88rem; font-weight: 700; text-decoration: none; }
.intern-nav__logout:hover { color: var(--rot); }
@media (max-width: 700px) {
  .intern-nav { gap: 2px; border-bottom: 0; }
  .intern-nav__item { flex: 1 1 auto; text-align: center; border-radius: 999px; background: var(--creme); font-size: .88rem; padding: .55em .9em; }
  .intern-nav__item.is-active { top: 0; background: var(--braun); color: #fff; border-color: var(--braun); }
  .intern-nav__logout { flex: 1 1 100%; margin: 4px 0 0; text-align: center; }
}

/* ==========================================================================
   Versandkostenfrei-Fortschritt, Versandplan und Zahlarten
   ========================================================================== */

/* Fortschritt bis zur Freigrenze */
.m-free { margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .94rem; }
.m-free p { margin: 0; line-height: 1.5; }
.m-free .ico { vertical-align: -3px; margin-right: 4px; color: var(--rot); }
.m-free.is-done { background: #e9f3e6; border-color: #cfe3ca; }
.m-free.is-done .ico { color: var(--ok); }
.m-free__bar { display: block; height: 7px; margin-top: 9px; border-radius: 99px; background: #e0d6ca; overflow: hidden; }
.m-free__fill { display: block; height: 100%; border-radius: 99px; background: var(--rot); transition: width .4s var(--ease); }
.m-w-0 { width: 2%; } .m-w-10 { width: 10%; } .m-w-20 { width: 20%; } .m-w-30 { width: 30%; }
.m-w-40 { width: 40%; } .m-w-50 { width: 50%; } .m-w-60 { width: 60%; } .m-w-70 { width: 70%; }
.m-w-80 { width: 80%; } .m-w-90 { width: 90%; } .m-w-100 { width: 100%; }

/* Hinweis auf der Artikelseite */
.m-buy__free { display: flex; gap: 8px; align-items: center; margin: 10px 0 0; font-size: .92rem; color: var(--text-2); }
.m-buy__free .ico { flex: none; color: var(--rot); }

/* Versandplan */
.m-plan { margin: 18px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.m-plan--compact { margin: 14px 0 0; padding: 12px 14px; background: var(--creme); border-color: transparent; }
.m-plan__title { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; font-size: 1rem; color: var(--braun); }
.m-plan__title .ico { flex: none; color: var(--rot); }
.m-plan__table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.m-plan__table th { text-align: left; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 0 8px 6px 0; font-weight: 800; }
.m-plan__table td { padding: 6px 8px 6px 0; border-top: 1px solid var(--line); }
.m-plan__table tr td:nth-child(2) { font-weight: 700; color: var(--braun); }
.m-plan__note { display: flex; gap: 7px; align-items: flex-start; margin: 9px 0 0; font-size: .85rem; color: var(--muted); }
.m-plan__note .ico { flex: none; margin-top: 1px; }
@media (max-width: 560px) {
  .m-plan__table thead { display: none; }
  .m-plan__table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line); }
  .m-plan__table td { border: 0; padding: 0; }
  .m-plan__table td:first-child { grid-column: 1 / -1; font-weight: 700; color: var(--braun); }
  .m-plan__table td::before { content: attr(data-l) ": "; color: var(--muted); font-size: .8rem; }
  .m-plan__table tr td:nth-child(2) { font-weight: 400; color: var(--text); }
}

/* Zahlarten */
.m-pay { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 16px 0 0; }
.m-pay__lbl { font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.m-pay__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.m-pay__item { display: flex; gap: 6px; align-items: center; padding: 5px 10px 5px 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text-2); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.m-pay__item svg { flex: none; }
.m-foot__pay { padding: 6px 0 2px; }
.m-foot .m-pay__list { display: flex; }   /* .m-foot ul setzt sonst display:grid */
.m-foot__pay .m-pay__lbl { color: #b3a598; }
.m-foot__pay .m-pay__item { background: transparent; border-color: rgba(255,255,255,.22); color: #e6dbd0; }
@media (max-width: 560px) { .m-pay__item span { display: none; } .m-pay__item { padding: 5px 6px; } }
